blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e066977e861878f6c8b7dd833dfaf0a05a43be8e | 568c9ec7b41c75868db423d1d680d718af0a0e73 | /src/Gallina2.h | ccc5c3c1fa70b9a6249136888e1c7128c6ac99d7 | [] | no_license | lydiavega/Trabajo_informatica | 9ed05426ef9d738752d002b740614e6b55558f89 | 6cbd49d2fc60fffe5b0c28ea5de8f42a58bce8c6 | refs/heads/master | 2020-06-03T11:07:49.100642 | 2019-06-14T09:56:48 | 2019-06-14T09:56:48 | 191,544,855 | 0 | 0 | null | 2019-06-14T09:56:49 | 2019-06-12T09:55:30 | C | UTF-8 | C++ | false | false | 490 | h | #pragma once
#include <stdlib.h>
#include "ETSIDI.h"
#include <stdio.h>
#include "glut.h"
#include "Vector2D.h"
using ETSIDI::SpriteSequence;
class Gallina2
{
friend class Interaccion;
private:
float ancho, alto;
Vector2D posicion;
Vector2D velocidad;
SpriteSequence* animacion;
public:
Gallina2(void);
~Ga... | [
"lydiavegaochoa@gmail.com"
] | lydiavegaochoa@gmail.com |
90a001e210e13887af3003ade1e17825d58d0dca | 1b5087f0263d03c8b541cc9563c5081b45e218c0 | /cudatetris/HitableList.h | f239f0629f79ab4a8fe7375541704a78c747f468 | [] | no_license | TuckerBMorgan/CudaTetris | 578d54ba380814fd00b682e22c9cc74ce04d75a6 | 3a9fc1ef44250caa308fa4f0275e1cb381c84ed4 | refs/heads/master | 2020-04-02T00:45:35.579902 | 2018-10-19T17:52:47 | 2018-10-19T17:52:47 | 153,820,523 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 685 | h | #pragma once
#include "Hitable.h"
class HitableList : public Hitable {
public :
HitableList() {};
HitableList(Hitable** l, int n) { list = l; list_size = n; };
virtual bool hit(const Ray& ray, float tmin, float tmax, hit_record& rec) const;
Hitable** list;
int list_size;
};
bool HitableList::hit(co... | [
"tucker_morgan@apple.com"
] | tucker_morgan@apple.com |
4dfa12ac554a9a0066bb7678312157e6a910c470 | 85ec0860a0a9f5c0c0f0d81ce3cc0baf4b2a812e | /sngcpp20/test/source/0_preprocessor/include_locale.cpp | 3899395da250dd1b6383ca813af37a0d691a73c0 | [] | no_license | slaakko/soulng | 3218185dc808fba63e2574b3a158fa1a9f0b2661 | a128a1190ccf71794f1bcbd420357f2c85fd75f1 | refs/heads/master | 2022-07-27T07:30:20.813581 | 2022-04-30T14:22:44 | 2022-04-30T14:22:44 | 197,632,580 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18 | cpp | #include <locale>
| [
"slaakko@gmail.com"
] | slaakko@gmail.com |
8ac8bbbb4f2f8ec127630665fc07bf0b899fc89b | cf163adcec62cc637ae17fcfa1acafede2436d60 | /OFtemplate/0/include/frontBackUpperPatches | 4ce0e6a773251040313fe44d2a09e53be175e868 | [] | no_license | TianliHao/OFrunner | 033c535b14127d46aaf1034235885fec8a4ff18e | 00737f7aac204caffa97abde9deba1dbd73e8993 | refs/heads/master | 2020-08-25T07:15:15.138838 | 2019-12-17T03:30:56 | 2019-12-17T03:30:56 | 216,980,195 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 535 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"tianlihao0420@gmail.com"
] | tianlihao0420@gmail.com | |
872c4c6360d0957a72c01899d94239398aa79d3a | f1bc5fda1cc7ca5ce0338a02eac8d3a316227346 | /src/UniverseAdvanced/EclipsePlus/EclipseAddin.cpp | 862b578fef4c43923c757a10a0227a787a257a1e | [] | no_license | CycCoder/OpenUniverse | bd489d2be99665ce702c31b1aae74c66f8ab7490 | 75a92d5d5ad46e06566deb272b433863473a894a | refs/heads/main | 2023-04-03T00:43:09.523448 | 2021-02-04T00:21:41 | 2021-02-04T00:21:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 38,983 | cpp | /********************************************************************************
* Web Runtime for Application - Version 1.0.0.202102030023 *
********************************************************************************
* Copyright (C) 2002-2021 by Tangram Team. All Rights Reserved.
* Ther... | [
"sunhuizlz@yeah.net"
] | sunhuizlz@yeah.net |
1a4bf1512a29473c968448dc28768c77e652b8ce | d62d179f9ad43ed22cee561a97c589c90c178cec | /modules/core/linalg/unit/functions/orthog.cpp | 5401aec5769135adc274403a0887d7d9d0e970f5 | [
"BSL-1.0"
] | permissive | timblechmann/nt2 | 89385373c14add7e2df48c9114a93e37a8e6e0cf | 6c71f7063ca4e5975c9c019877e6b2fe07c9e4ce | refs/heads/master | 2021-01-16T23:49:00.220699 | 2013-03-11T09:31:23 | 2013-03-11T09:31:23 | 8,702,183 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,367 | cpp | //==============================================================================
// Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II
// Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI
//
// Distributed under the Boost Software License, Version 1.0.
// ... | [
"jtlapreste@gmail.com"
] | jtlapreste@gmail.com |
88f7253f8e33e093cea52e4f4847cec7208cd521 | 2b72d0a3cae37935841f4737c696f02b29d5650b | /pa1.h | e0e44604ec7b7974b63fab84ecd5aec411b60e5b | [] | no_license | kevdaci/cop3502 | 495ca350307bf17f4bd788a229b3516bce19678d | 0488e689ebcaebf9b4ee5345656ba67b78c1ec19 | refs/heads/master | 2020-04-01T15:18:00.757646 | 2018-10-16T18:05:57 | 2018-10-16T18:05:57 | 153,330,658 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,038 | h | #include <iostream>
#include <cstdio>
#include <string>
#include <vector>
#include <cstdlib>
#ifndef PA1_H
#define PA1_H
using namespace std;
class MagicSquare{
private:
int square_dimension;
vector<vector<int> > magic_square;
void produce_numbers()
{
vector<int> one_d;
bool if_dec = false;
int ... | [
"bayas@lin113-00.cise.ufl.edu"
] | bayas@lin113-00.cise.ufl.edu |
0d9ef7b0f000e4c9c7d38c1a92a5e31a625e6e56 | 37d08c745caee39da991debb54635065df1a8e2a | /src/dgetrs_nopiv_gpu.cpp | fb95b2da30626256c3fc11cf235238e03f28dc26 | [] | no_license | kjbartel/magma | c936cd4838523779f31df418303c6bebb063aecd | 3f0dd347d2e230c8474d1e22e05b550fa233c7a3 | refs/heads/master | 2020-06-06T18:12:56.286615 | 2015-06-04T17:20:40 | 2015-06-04T17:20:40 | 36,885,326 | 23 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 3,720 | cpp | /*
-- MAGMA (version 1.6.1) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date January 2015
@author Adrien REMY
@generated from zgetrs_nopiv_gpu.cpp normal z -> d, Fri Jan 30 19:00:14 2015
*/
#include "common_magma.h"
/**
P... | [
"kjbartel@users.noreply.github.com"
] | kjbartel@users.noreply.github.com |
329b94f868d6b6f9a7cbd303d5f46bb289885c84 | 42c193448118f9db1aa460ab099f3d7e179b4aa3 | /Interactive_Application/Interactive_Application/Source/Lab3Model.cpp | 400d82aacaf4a6648681001627aa82e6444419c7 | [] | no_license | NavneethRaj/CS7033-Real-Time-Animation | 939f4fdb7e0bc0f5aeef241d4ea9b66019eb6d66 | 548e373992f35e87d8c179d28f49509e66171173 | refs/heads/master | 2016-09-13T15:46:37.745844 | 2016-04-22T14:01:39 | 2016-04-22T14:01:39 | 56,593,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,458 | cpp | #include "Lab3Model.h"
Lab3Model::Lab3Model(void)
{
m_setup = new Setup();
m_shader = new Shader();
m_shader_loader = new Shader();
m_objectBuffer = new ObjectBuffer(36);
m_camera = new Camera(m_setup);
point_count = 0;
humanSkeleton = new HumanSkeleton(m_setup);
plane = new Cylinder();
armSkeleton = new Arm... | [
"nn10@ITSERV.SCSS.TCD.IE"
] | nn10@ITSERV.SCSS.TCD.IE |
f500869db2154eb2fbdb320b93c4b20e780c8450 | d16347eb621e1688418ff3e2dfb30a73e99c7a1a | /origin_question/ini_parser/ini_parser.cc | aea97f34042a208519682ec18eab299cd927e7e4 | [] | no_license | YinWenForInterview/360Search | ac9964243fb70ec4ccbd37e5c80ba5fe1fcc938c | bedc51f974da5982ea448fe18700559b40a3f89f | refs/heads/master | 2021-01-20T04:30:00.830418 | 2015-09-05T19:17:26 | 2015-09-05T19:17:26 | 41,811,523 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 43 | cc | #include "ini_parser.h"
namespace qh
{
} | [
"240083998@qq.com"
] | 240083998@qq.com |
fdedb294efc7fd3130399a87aa7abe100371b351 | 6be45665a98a5dd1d78ea56d6d67068d819f9127 | /CH02_Polygons/Polygons_6_3.cpp | 5bbc3329b38a313e3f2016e1bea286066ced05b7 | [] | no_license | YeeYoungHan/Math-and-Physics-in-Moving-3D-Games | ea167abb734a76eb4e705173980fcb076efbd061 | ebe314859e45d8eaa73edbf69158a6214e3e34ee | refs/heads/master | 2021-06-18T10:11:26.199195 | 2021-05-18T04:44:06 | 2021-05-18T04:44:06 | 207,729,806 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 21,127 | cpp | //------------------------------------------------------------
// Polygons_6_3.cpp
// 정점 인덱스로 구 그리기
//
//------------------------------------------------------------
#include <D3DX11.h>
#include <D3Dcompiler.h>
#include <xnamath.h>
#define VIEW_WIDTH 800 // 화면너비
#define VIEW_HEIGHT 600 // 화면높이
#define PI 3.1415927f ... | [
"websearch@naver.com"
] | websearch@naver.com |
ebb64a7272d7e8e2ea15cb116db987441ac51d5a | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/net/tapi/skywalker/tapi3/hash.h | e5daf4c340dce8cf73d1dd128f129777469cefdf | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 9,449 | h | /*++
Copyright (c) 1998-1999 Microsoft Corporation
Module Name:
hash.h
Abstract:
Declaration of the CHashTable class
Author:
mquinton 04-28-98
Notes:
Revision History:
--*/
#ifndef __HASH_H__
#define __HASH_H__
typedef struct _TABLEENTRY
{
ULONG_PTR HashKe... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
34806718af0ae57c6dca93d3bc3c8d1a82cbd84e | 5562c602016e51e2f1949875b6bbeb9e33ef0b1c | /RLModding/Controllers/XboxController.cpp | bd33343526ce111d6f0039d3cbb0c39765b609fb | [] | no_license | TaylorSasser/RLModding | e6331cd02baa9d93b63934944d3ddf082357ac9e | ddb71d0fe386edf609778f26f45b0717133f445d | refs/heads/master | 2019-07-14T03:55:15.176463 | 2017-11-09T04:18:42 | 2017-11-09T04:18:42 | 92,780,260 | 3 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 911 | cpp | #include "XboxController.h"
XboxController::XboxController() {}
XboxController::XboxController(int playerNum) {
_controllerNum = playerNum;
}
XINPUT_STATE XboxController::GetState() {
ZeroMemory(&_controllerNum, sizeof(XINPUT_STATE));
XInputGetState(_controllerNum, &_controllerState);
return _controllerState;
}... | [
"mitchsco@sonoma.edu"
] | mitchsco@sonoma.edu |
65adc9880ef068e83a0dece99b6b26c2de85d5cf | 1942a0d16bd48962e72aa21fad8d034fa9521a6c | /aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/StreamSpecification.h | 1a0d765b23d7d3b8ceddeac72c190c0a0d66c5e6 | [
"Apache-2.0",
"JSON",
"MIT"
] | permissive | yecol/aws-sdk-cpp | 1aff09a21cfe618e272c2c06d358cfa0fb07cecf | 0b1ea31e593d23b5db49ee39d0a11e5b98ab991e | refs/heads/master | 2021-01-20T02:53:53.557861 | 2018-02-11T11:14:58 | 2018-02-11T11:14:58 | 83,822,910 | 0 | 1 | null | 2017-03-03T17:17:00 | 2017-03-03T17:17:00 | null | UTF-8 | C++ | false | false | 6,753 | h | /*
* Copyright 2010-2016 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 |
cd6c8b344aabea8b19229db05123371a02233ce5 | 9afb07f448fb492a5b862b23902abf350657bd3e | /DSA_ass3/prm2.cpp | 477e66a520c766fd23962730e5a416f7350e95a2 | [] | no_license | saru-d2/DSA_asses | e4fba08c6dfb78bcebe7a316b0470124189f82ff | 0629ef1adc60af878577c628e013655b448e7642 | refs/heads/master | 2022-12-29T06:17:32.748786 | 2020-04-28T05:36:01 | 2020-04-28T05:36:01 | 259,540,635 | 1 | 1 | null | 2020-10-06T04:52:33 | 2020-04-28T05:30:21 | C++ | UTF-8 | C++ | false | false | 3,253 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long int lint;
lint n, m, x, y, z;
int flag[2000], flag2[2000];
vector<pair<lint, pair<lint, lint>>> edges;
pair<lint, lint> dis[1005];
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
lint t;
cin >> t;
whi... | [
"saru.d.gr8@gmail.com"
] | saru.d.gr8@gmail.com |
abc6b0d199fb52a35d257118040939c1076373d5 | 89da35b3e856143de6ad83da8b38dbf6c2911694 | /MpcDlg_chl_ruanzhu/MpcDlg_chl_ruanzhu/IMC_Generic/IMC_GenericDlg.cpp | 3c977fd93e855eba086762677f01bc5a284914af | [] | no_license | chenhuili1/test1Repository | e2e5d08710eab7af6ea38955d2a84ef201297f73 | afc20d18e6fcea4625cd14cf20a9c74e391dbe51 | refs/heads/master | 2023-03-16T19:55:03.446014 | 2021-03-03T10:08:48 | 2021-03-03T10:08:48 | 331,535,955 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 36,774 | cpp | // IMC_GenericDlg.cpp : 实现文件
//
#include "stdafx.h"
#include "IMC_Generic.h"
#include "IMC_GenericDlg.h"
#include "MyPassWord.h"
#include "math.h"
#if defined(WINCE)
#include "sip.h"
#include "SIPAPI.H"
#endif
#include "LogoInfo.h"
CLogoInfo *g_pinfodlg = NULL;
enum{
MACHIN_STEP,
MACHIN_SINGLE,
MACHIN_LOOP,
};... | [
"chl_pro@atlab.com"
] | chl_pro@atlab.com |
6b86a34e79cd0f344935b8938b8403debff5479e | 863f94592b40965a10893fa14ee35037160c3c1f | /IML/Operations/OperationParam.cpp | 9264e44924d5cddc78b19f277388c261b88bcbe2 | [] | no_license | ihristova11/IML | 9fa5cb339841d1f8dc5f684cf435538dbd454b1f | ae6594ff22aad31d1ca116542fd91eccc1ccc060 | refs/heads/main | 2023-02-13T22:21:20.237106 | 2021-01-09T16:43:44 | 2021-01-09T16:43:44 | 324,556,678 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 589 | cpp | #include "OperationParam.h"
OperationParam::OperationParam()
: arguments(), attributes() { }
OperationParam::OperationParam(std::vector<double> args, std::vector<std::string> attributes)
:arguments(args), attributes(attributes) { }
std::vector<double> OperationParam::getArguments() const
{
return this->arguments;... | [
"hristova119@gmail.com"
] | hristova119@gmail.com |
f38f5f0153a8af78027d698edbdcae9a6d0e20d5 | d25ce8e431af70e699ca420dd6f0968cf82afea0 | /Programmers/Level1/Gym_suit.cpp | cdf029e7004c98d7d1bd3a73b290ef061bc65db0 | [] | no_license | taehee-kim-dev/Problem-solving | d30fe67673056ba75cdb14ae4ec68be040afeea7 | c0fb94500a0a43fafcf0a5878ae4e6e3f362ec27 | refs/heads/master | 2021-09-28T10:47:43.286288 | 2021-09-14T17:05:09 | 2021-09-14T17:05:09 | 203,376,052 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,113 | cpp | #include <string>
#include <vector>
using namespace std;
int solution(int n, vector<int> lost, vector<int> reserve) {
int answer = 0;
// 전체 학생 크기 + 1 만큼 lost, reserve에 관한 bool 벡터를 모두 false로 초기화하여 만든다.
vector<bool> lost_vec(n + 1, false);
vector<bool> reserve_vec(n + 1, false);
// lost vector, re... | [
"taehee.kim.dev@gmail.com"
] | taehee.kim.dev@gmail.com |
c67115edbdbd31e3f8f386dca3ad00742ef3d2db | 61e0508243e8bec1a4bfd420b724df0b99e9779e | /Day2/4.24choices.cpp | eb6eec2f914a78e36f5b3b874e799b438ceeda5e | [] | no_license | zyrainy/New | 014f6b24f8bcd25ac4112ff8337229774f96eb53 | 2d4ff9a05fc96f492d0175b407ed5fe432f555bd | refs/heads/master | 2022-11-22T01:38:32.860725 | 2020-07-28T09:35:56 | 2020-07-28T09:35:56 | 275,969,941 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 789 | cpp | //choices.cpp -- array variations
#include <iostream>
#include<vector>
#include<array>
int main()
{
using namespace std;
double a1[4] = { 1.2,2.4,3.6,4.8 };
vector<double>a2(4);
a2[0] = 1.0 / 3.0;
a2[1] = 1.0 / 5.0;
a2[2] = 1.0 / 7.0;
a2[3] = 1.0 / 9.0;
array<double, 4> a3 = { 3.14,2.72,1.62,1.41 };
array<doub... | [
"2275822195@qq.com"
] | 2275822195@qq.com |
7e53d8005624c1878954f78543efdd966857b33a | 8c8a8af67076b2b7ac9808d614be8e40728d7854 | /jni/Graphics/Camera/Camera2D.hpp | 7f2be70d01afd35a81f214610af20984bab5a1c9 | [] | no_license | MihaiBabiac/Framework | 694d5185c6a394c0a453f9812db327550612eb67 | ad97160286a7fb69d9f3667e2ed736c0a2a0dbfe | refs/heads/master | 2021-05-28T10:14:12.218635 | 2013-07-25T09:51:31 | 2013-07-25T09:51:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,085 | hpp | #ifndef CAMERA2D_HPP
#define CAMERA2D_HPP
#include "Object.hpp"
#include "Maths.hpp"
#include <vector>
using namespace std;
using namespace Math;
class Camera2D
{
public:
Camera2D();
~Camera2D();
void Update(GLfloat delta);
void Transform(Vector2f &vertex) const;
void Link(Object *target=NULL);
void SetIde... | [
"murtaza_alexandru73@yahoo.com"
] | murtaza_alexandru73@yahoo.com |
acada27d1ace88c439e8ca6c153c3d4aea3969f8 | 49f88ff91aa582e1a9d5ae5a7014f5c07eab7503 | /gen/third_party/blink/renderer/bindings/modules/v8/v8_input_device_info.cc | fa848353287879b162e31caf1bacb97567d45e53 | [] | no_license | AoEiuV020/kiwibrowser-arm64 | b6c719b5f35d65906ae08503ec32f6775c9bb048 | ae7383776e0978b945e85e54242b4e3f7b930284 | refs/heads/main | 2023-06-01T21:09:33.928929 | 2021-06-22T15:56:53 | 2021-06-22T15:56:53 | 379,186,747 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,818 | cc | // Copyright 2014 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.
// This file has been auto-generated from the Jinja2 template
// third_party/blink/renderer/bindings/templates/interface.cpp.tmpl
// by the script code_ge... | [
"aoeiuv020@gmail.com"
] | aoeiuv020@gmail.com |
ac56c28990aa115e4afb65f1fb70da7687aa67d8 | 6d7f2381b8f1c5c0e0d96156ae36cac12be3017b | /atcoder/abc112/D/main.cpp | 7c2cbeba7b988107b4d038ee44064d841fe74834 | [
"Unlicense"
] | permissive | Johniel/contests | 708ccf944d6aeb0ef0404eec47e8ff7819ea00f0 | 15d465b08cac56e394509bcf8f24764e3dc6ca7d | refs/heads/master | 2023-09-04T07:32:49.822786 | 2023-09-02T13:44:28 | 2023-09-02T13:44:50 | 48,701,889 | 0 | 0 | null | 2019-10-25T09:21:20 | 2015-12-28T16:38:38 | C++ | UTF-8 | C++ | false | false | 996 | cpp | #include <bits/stdc++.h>
#define each(i, c) for (auto& i : c)
#define unless(cond) if (!(cond))
using namespace std;
typedef long long int lli;
typedef unsigned long long ull;
typedef complex<double> point;
template<typename P, typename Q>
ostream& operator << (ostream& os, pair<P, Q> p)
{
os << "(" << p.first <<... | [
"johniel.s.m@gmail.com"
] | johniel.s.m@gmail.com |
0539f21914da3f29cddd311cd4a5a00fc0937964 | d939ea588d1b215261b92013e050993b21651f9a | /bda/src/v20200324/model/SegmentCustomizedPortraitPicRequest.cpp | 34814e87710e043b2f5524df90adfaa299fbaa7e | [
"Apache-2.0"
] | permissive | chenxx98/tencentcloud-sdk-cpp | 374e6d1349f8992893ded7aa08f911dd281f1bda | a9e75d321d96504bc3437300d26e371f5f4580a0 | refs/heads/master | 2023-03-27T05:35:50.158432 | 2021-03-26T05:18:10 | 2021-03-26T05:18:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,331 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"tencentcloudapi@tenent.com"
] | tencentcloudapi@tenent.com |
1f6df1f784762929ce8172de05850556ac3832a5 | 207d550014d763922f35240601230644032abba8 | /src/RotatableToolBar.cpp | 08bac296e1bbcf472d07638c8d967fe2ee504f30 | [
"BSD-3-Clause"
] | permissive | neurocod/Qqt | 2101dcb6d7e36ef56844cdecbc5024f256bc77df | 41a73880b2e86114a35e29927549d7503a1c3732 | refs/heads/master | 2022-02-10T22:10:06.693162 | 2022-01-26T21:11:17 | 2022-01-26T21:11:17 | 7,391,315 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,406 | cpp | //RotatableToolBar.cpp by Kostya Kozachuck as neurocod
//BSD license https://github.com/neurocod/Qqt
#include "pch.h"
#include "RotatableToolBar.h"
#ifdef USE_QXT
#include <qxtlabel.h>
#endif
RotatableToolBar::RotatableToolBar(const QString & title, QWidget * parent): QToolBar(title, parent) {
init();
}
Ro... | [
"neurocod@gmail.com"
] | neurocod@gmail.com |
15cb4855d1245776be3f065ff6a6a36e7054f193 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/git/hunk_6934.cpp | c03f096e852feb89fc40656d5cc315a30c8fd196 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 591 | cpp | args[i++] = path;
args[i] = NULL;
- if (run_command_v_opt_cd_env(args, 0, NULL, env))
- die("There was a problem with the editor %s.", editor);
+ failed = run_command_v_opt_cd_env(args, 0, NULL, env);
strbuf_release(&arg0);
+ if (failed)
+ return error("There was a problem with the editor '%s'.",
+ ... | [
"993273596@qq.com"
] | 993273596@qq.com |
7125178bfcabe84ec659a54efddd88b4a57436e3 | a4b50a3cb08a6b88cd6415c805101df344b1b365 | /download.cpp | a5fccdd7ae5f19deab5a08ef1ce12d19700f8192 | [] | no_license | akw0088/openssl | 30b9ba7132a117b85fca6168f780847419a880fd | 9212b9de3da978da69222b0ed9444025f881b70d | refs/heads/master | 2020-11-27T14:51:38.345150 | 2020-01-02T04:07:45 | 2020-01-02T04:07:45 | 229,498,688 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,534 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <errno.h>
#ifdef WIN32
#include <windows.h>
#include <winsock.h>
#pragma comment(lib, "wsock32.lib")
typedef int socklen_t;
#else
#include <unistd.h>
#include <fcntl.h>
#include <dlfcn.h>
#include <sys/select.h>
#include <... | [
"akw0088@unt.edu"
] | akw0088@unt.edu |
dfd59dd73bfaa3c6c7b71e6b7c8fd2b76543008f | 8dee139b732fd1ac1f7299211d89508d9485c962 | /Lab1/Lab1PartB/Lab1PartB/Main.cpp | cb1bc9dc121f14e40398d67c7bd8089db3aa260c | [] | no_license | DylanNelson99/Algorithim-Computation4thYear | 95a0cc137c44c14e05daf627eb5de9e0ff2c669a | d6f3ec70c0a409474458c7b9d667679bd53647b4 | refs/heads/master | 2023-05-08T18:24:05.161416 | 2021-06-02T21:15:24 | 2021-06-02T21:15:24 | 350,771,228 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,879 | cpp | //Dylan Nelson - X00144862
//No.8 When you remove virtual in Person class and re-run it ,
//uses the base class printName function.
#include "Customer.h"
#include "Employee.h"
#include <iostream>
void printArray(Person* []);
int main() {
Employee* employee = new Employee("Tom", 34000.00);
cout << employee->pr... | [
"dylad141@gmail.com"
] | dylad141@gmail.com |
3a581a660f01acc898798d22d1cde2e419fe39ce | b9575b7d4299110e663a7432381ce7534c234b40 | /4_ExtLib/4.4_GuiFrameworks/4.4.2_HaxeUI/4.4.2.1_SimpleGui/4.4.2.1.1_HaxeuiBackends/4.4.2.1.1.2_haxeui-hxwidgets/4.4.2.1.1.2.3_Dialogs/SimpleMessageDialog/Export/cpp/debug/include/haxe/ui/components/ButtonDefaultTextBehaviour.h | 7b06f5e33ad50adb6ca725be6437c0afb161e646 | [] | no_license | R3D9477/haxe-basics | dc912670731ac891f359c73db68f1a683af03f6a | cd12a1cb250447afa877fc30cf671f00e62717ef | refs/heads/master | 2021-09-02T12:22:55.398965 | 2018-01-02T15:29:40 | 2018-01-02T15:29:40 | 72,667,406 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,280 | h | // GeneratedByHaxe
#ifndef INCLUDED_haxe_ui_components_ButtonDefaultTextBehaviour
#define INCLUDED_haxe_ui_components_ButtonDefaultTextBehaviour
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_haxe_ui_core_Behaviour
#include <haxe/ui/core/Behaviour.h>
#endif
HX_DECLARE_CLASS3(haxe,ui,backend,ComponentBase)... | [
"r3d9u11@gmail.com"
] | r3d9u11@gmail.com |
7580f0e4479ed15e452716463c113b02d0c81442 | aecf7d390dea95e2d5dbf16c0d84b0ae88f774bb | /mockcpp/tests/3rdparty/testngpp/src/runner/win32/GetLastError.cpp | 355eb5893b5273dac468b69ebde6bd673caa6a37 | [
"Apache-2.0"
] | permissive | AllenWang0217/Testngpp | d92dab8f52db6eb487a27a2b28fe6d34002feedb | c5e809cf5601064d5b15e4a219dce365233400c1 | refs/heads/master | 2020-12-02T23:55:03.133027 | 2017-07-01T11:41:34 | 2017-07-01T11:41:34 | 95,960,251 | 6 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 568 | cpp |
#if defined(_MSC_VER)
#include <windows.h>
#include <testngpp/internal/Error.h>
TESTNGPP_NS_START
void throwLastError()
{
LPVOID lpMsgBuf;
DWORD dw = GetLastError();
FormatMessage(
FORMAT_MESSAGE_ALLOCATE_BUFFER |
FORMAT_MESSAGE_FROM_SYSTEM |
FORMAT_MESSAGE_IGNORE_INSERTS,
... | [
"allen_wang0217@sina.com"
] | allen_wang0217@sina.com |
cb99a4dae8dd652fff95fcdab04b3fa50ad1aabd | b66fa1937db01c5246f38eaeb8415f19f7c87585 | /reverseCLL.cpp | 5599bfe4a466c92ef400d60ebbf51ba68fbe4a3c | [] | no_license | greatsharma/Cpp-Mess | a3db8f0424f1adf1878a84b26ffef372df241a31 | a1c1d084d8d487ee3e6e25590b2fdfd0d2397ffc | refs/heads/master | 2022-11-21T03:28:09.609082 | 2020-07-22T12:31:26 | 2020-07-22T12:31:26 | 281,670,555 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,833 | cpp | #include <iostream>
using namespace std;
class Node
{
private:
int data;
Node *next;
friend class CLL;
public:
Node(int data, Node *next = 0) : data(data), next(next) {}
~Node() {}
};
class CLL
{
private:
static Node *head;
Node *tail;
public:
CLL() : ta... | [
"gsharma81999@gmail.com"
] | gsharma81999@gmail.com |
ab243dbf060cbcd1b88b9e2f18549242e9265e93 | 0e0ce609f762168b37cbf19e40438393ee50e907 | /3D_Demo/Box.h | 3826e4f05899fe80b29cd51c44ab9225d4fc558e | [] | no_license | Vampire-Z-V/D3D11_Demo | 9d37c4571398a482d29ee04f19eb164cf2d96ebe | 54fda29a324ab90a7c5185c83a8ad1c9fe77b797 | refs/heads/master | 2021-01-17T06:28:53.473114 | 2016-08-06T19:18:05 | 2016-08-06T19:18:05 | 64,775,632 | 0 | 0 | null | 2016-08-05T11:30:03 | 2016-08-02T16:58:35 | C++ | UTF-8 | C++ | false | false | 787 | h | #pragma once
#include "D3DApplication.h"
#include "MathHelper.h"
class Box :
public D3DApplication
{
public:
Box(HINSTANCE hInstance);
~Box();
bool Init();
void OnResize();
void UpdateScence(float dt);
void DrawScence();
void OnMouseDown(WPARAM btnState, int x, int y);
void OnMouseUp(WPARAM btnState, int x,... | [
"846827137@qq.com"
] | 846827137@qq.com |
1664aab9758e858380b8d23d24b91b361c586a3f | e8d19f6754fd4c3a1506c96ace3015e8c562e23e | /xmas_star_to_and_fro/xmas_star_to_and_fro.ino | f2a976b0047a57565c8dd981fe7f8a0614992a04 | [
"Apache-2.0"
] | permissive | benejo/arduino_stepper_A4988 | 7f326a295ce9113b989e58cd6de875ddec874e64 | 166013845e7fbdd849eab929ffe12c651a3ded1e | refs/heads/master | 2021-08-30T19:19:12.401503 | 2017-12-19T04:46:30 | 2017-12-19T04:46:30 | 114,361,908 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,193 | ino |
// User variables
int revs = 10;
int _fast = 200;
int index_value = 800;
// Constants
int i = 0;
int index;
int motion = 0;
int count = 0;
int halfrevs = revs / 2;
int _slow = _fast * 2;
int delay_speed;
char cw_dir = HIGH;
char acw_dir = LOW;
char set_dir;
char previous_motion = digitalRead(10);
void setup()
{
p... | [
"bene.joseph@impelsys.com"
] | bene.joseph@impelsys.com |
2d8e83f2dfcb45c31a62f8c99ca8f8429c3f8f2e | 814fecb981bd3939c44be7d8e66f8a3ea0b90364 | /freeglut project 3D/Malla.cpp | 87c7a10734e5985c02c300b73420e3a6722270a9 | [] | no_license | DavidGonzalezJ/PhysxD | 31ee87ce91348ca44cfb0bd4679088a44b07015b | fd0c862c46b45337cdfb02a5624293f36a8778de | refs/heads/master | 2020-05-16T07:11:04.976490 | 2018-01-19T08:51:35 | 2018-01-19T08:51:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 515 | cpp |
#include "Malla.h"
void Malla::dibuja() {
glMatrixMode(GL_MODELVIEW);
for (int i = 0; i<numeroCaras; i++) {
if (mode)
glBegin(GL_POLYGON);
else
glBegin(GL_LINE_STRIP);
for (int j = 0; j<cara->at(i).getNumeroVertices(); j++) {
int iN = cara->at(i).getIndiceNormalK(j);
int iV = cara->at(i).g... | [
"franlbc97@gmail.com"
] | franlbc97@gmail.com |
18c26ab0c60053986ef88759886738ec797d4fc1 | a8fae6cd526b3e63608eed2f11c3b6c07249049e | /torch/csrc/jit/python_ir.cpp | 534297aa3f174adb053a6ebaf36034ab252a10de | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | HYU-GradProj/pytorch-run-length-impl-cpp | e6c37f5b461ee677bdc4f4d5ae5b5ac601cdeedc | 07e018e225b9b86ad7e0ec0faabb4541cf6e9841 | refs/heads/master | 2022-11-22T08:01:12.797987 | 2018-09-27T08:21:14 | 2018-09-27T08:21:14 | 150,549,634 | 1 | 1 | NOASSERTION | 2022-11-04T01:27:01 | 2018-09-27T07:50:52 | C++ | UTF-8 | C++ | false | false | 16,730 | cpp | #include "torch/csrc/python_headers.h"
#include "torch/csrc/jit/ir.h"
#include "torch/csrc/jit/import.h"
#include "torch/csrc/jit/pybind.h"
#include "torch/csrc/jit/python_tracer.h"
#include "torch/csrc/utils/pybind.h"
#include "torch/csrc/jit/export.h"
#include "torch/csrc/jit/passes/shape_analysis.h"
#include "torch... | [
"shie44167@naver.com"
] | shie44167@naver.com |
337f80dfb114755a6b5a61d8844dd23e88a24254 | 86acd48da71f0faa0642c99173b9cf31b51ca5e5 | /examples/A. Modul IO Aktif High/10. Monitor Data/O3_Monitor_Variabel_Counter/O3_Monitor_Variabel_Counter.ino | 0a7df985dc3381d7459613083a2a1a8ceebcf7aa | [] | no_license | dianartanto/PLCArduinoku | 3b48af462f567247a768d72cf544f5637c12649d | 968e515f429659de1d180aaea2cb3348b87d8893 | refs/heads/master | 2021-01-19T08:59:28.804031 | 2015-04-14T05:52:40 | 2015-04-14T05:52:40 | 33,913,346 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,196 | ino | /*
1.Rangkaian:
Modul Input Output Aktif High.
Kaki Input : X1, X2, X3, X4 (kaki A0, A1, A2 dan A3 Arduino)
Kaki Output : Y1, Y2 (kaki D2 dan D3 Arduino)
Alat Input : Tombol 4x
Alat Output : Relay 2x
2.Program:
Program berikut ini sangat diperlukan untuk mengetahui
apa yang terjadi pada program, khus... | [
"dian.artanto@gmail.com"
] | dian.artanto@gmail.com |
3759989d14706f747abbc16c9f74f2ca60f80264 | 05c97a6eca0627dbfae004dd407e71c2d6a2ea46 | /src/database/kernels/pad/pad_16.hpp | 521da15b6ff63764a7771c788b24e6a0cfdca0dc | [
"Apache-2.0"
] | permissive | honggui/CLBlast | 45ae0c2e6b6e1b26c5efdc218c9b49a44fda68f4 | 1573f7d3040ddb6005e71bf4f770566f627236d2 | refs/heads/master | 2023-05-10T18:23:51.581234 | 2023-03-25T20:25:41 | 2023-03-25T20:25:41 | 78,117,601 | 0 | 0 | null | 2017-01-05T14:00:10 | 2017-01-05T14:00:09 | null | UTF-8 | C++ | false | false | 4,516 | hpp |
// =================================================================================================
// This file is part of the CLBlast project. The project is licensed under Apache Version 2.0. It
// is auto-generated by the 'scripts/database/database.py' Python script.
//
// This file populates the database with be... | [
"web@cedricnugteren.nl"
] | web@cedricnugteren.nl |
0d7458e1b9efd5f44e72821fe22f5b060e7d037d | 3b1d08997d0dc9c444f2bdaaab55a8606c60d332 | /IOCMain/Share/JumpMon.cpp | 4a9f3612636a12532edf0df11d86aa4e5fdba094 | [] | no_license | zjsaisi/sm2000 | 8303ece373516c871694d382bb3daef9f5129d1a | 0fa74cdb7566621162e1845dd4558723182a49ac | refs/heads/master | 2020-04-16T09:22:12.797424 | 2019-01-23T10:31:07 | 2019-01-23T10:31:07 | 165,461,667 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,553 | cpp | /* JumpMon.cpp
* Author: Zheng Miao
* $Header: JumpMon.cpp 1.1 2008/06/02 15:37:18PDT Zheng Miao (zmiao) Exp $
*/
#include "JumpMon.h"
#include "comm.h"
#include <stdio.h>
#define MIN_VALUE -2147483648L
#define MAX_VALUE 2147483647L
CJumpMon::CJumpMon(int size)
{
m_size = size;
m_pMin = new int32[size];
m_pMa... | [
"you@example.com"
] | you@example.com |
656b31d155c2f635f8d5b4e4274238918cd0f937 | bd4288a7931a5416553a813f86e431f383337c1f | /Code/IO/src/sitkImageReaderBase.cxx | ff38c8e0838c748e9f6b1a6d8fadb97ef7142190 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | aihardman/SimpleElastix | 698b52d9e6a4b5d514df1b88670c012936c230e6 | 9dfa8cb7c99e78b36f64bb6600b084b70960f166 | refs/heads/master | 2020-03-15T00:27:15.715690 | 2017-11-08T17:23:19 | 2017-11-08T17:23:19 | 131,868,751 | 1 | 0 | null | 2018-05-02T15:14:49 | 2018-05-02T15:14:49 | null | UTF-8 | C++ | false | false | 9,620 | cxx | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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://ww... | [
"blowekamp@mail.nih.gov"
] | blowekamp@mail.nih.gov |
918a8563b131386f6b4cddfdf860f873a439b4c9 | 8567438779e6af0754620a25d379c348e4cd5a5d | /net/spdy/spdy_protocol_test_utils.cc | a91a55f0c6b52e0c4cac020283d1ce66741a7b61 | [
"BSD-3-Clause"
] | permissive | thngkaiyuan/chromium | c389ac4b50ccba28ee077cbf6115c41b547955ae | dab56a4a71f87f64ecc0044e97b4a8f247787a68 | refs/heads/master | 2022-11-10T02:50:29.326119 | 2017-04-08T12:28:57 | 2017-04-08T12:28:57 | 84,073,924 | 0 | 1 | BSD-3-Clause | 2022-10-25T19:47:15 | 2017-03-06T13:04:15 | null | UTF-8 | C++ | false | false | 7,192 | cc | // Copyright 2016 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 <stdint.h>
#include "net/spdy/spdy_protocol_test_utils.h"
namespace net {
namespace test {
// TODO(jamessynge): Where it makes sense in these ... | [
"hedonist.ky@gmail.com"
] | hedonist.ky@gmail.com |
93129b7dcbbc78ca5c574142ba9ae677b8534a0b | dc2385d0e3f06f762fd949e3f8bb4821d8ce9480 | /Tools/Pan_tilt_controller/structs.h | 0776551d045fc03c4be9561b32577498b0d6f2a6 | [] | no_license | yisea123/PanTilt | 8a3f0b4927fcc04649ee265a3d9e4c4f2bc70e16 | 5e89df3ba610817715c8cfcd9ad8937e14b9af82 | refs/heads/master | 2020-12-04T18:41:12.851921 | 2015-05-21T15:56:47 | 2015-05-21T15:56:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 97 | h | #pragma once
#include <cstdint>
struct coordinate
{
int16_t x;
int16_t y;
bool reset;
};
| [
"stefan@stefanrvo.dk"
] | stefan@stefanrvo.dk |
56e54ae669ce19083afd4f096c0f8875a54bccc4 | 6e99d81cfbcb84c1757b806693c47ab18b9f75ff | /Tetris/Classes/I_TetrisBlockType.h | 702e2beef565c27740816f6c00b61eddbb0207d5 | [] | no_license | kidchen2012/cocos2dx | 8ad7f5903729935868a1493622fc9fa62847f93b | 930cc521603de7aedfc17c60beeb3189e90555ce | refs/heads/master | 2021-01-19T00:08:36.607150 | 2013-09-02T08:20:13 | 2013-09-02T08:20:13 | 12,533,709 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 458 | h | #ifndef _I_TETRIS_BLOCK_TYPE_H_
#define _I_TETRIS_BLOCK_TYPE_H_
#include "TetrisBlockType.h"
class I_TetrisBlockType : public TetrisBlockType
{
public:
virtual void init();
virtual bool T_checkLeftMove();
virtual void T_leftMove();
virtual bool T_checkRightMove();
virtual void T_rightMove();
virtual bool ... | [
"kidchen2012@gmail.com"
] | kidchen2012@gmail.com |
fe6e3d62375cd53cc2360771d96e5c0cc498217f | 6635e36036c8942acfc5eed03f57ff2cab4d068a | /computer_graphics/glengine2/ge2compositor.cpp | 199c9ae939d38d3317319300825f86d9b988dada | [] | no_license | asgeir/old-school-projects | c30d302a72898cb3d30a5c5f5ca44e70a34c5754 | 96a502589c627e4556f9ee14fc1dc21ed53ce28a | refs/heads/master | 2022-03-08T14:00:41.541988 | 2022-02-11T12:11:16 | 2022-02-11T12:11:16 | 46,489,074 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,992 | cpp | #include "ge2compositor.h"
#include "ge2common.h"
#include "ge2framebuffer.h"
#include "ge2fsquad.h"
#include "ge2material.h"
#include "ge2resourcemgr.h"
#include "ge2shader.h"
#include "ge2texture2d.h"
#include <iostream>
using namespace ge2;
namespace {
const std::string kAdditiveBlendShader = R"(
#version 150
... | [
"asgeir@fundinn.org"
] | asgeir@fundinn.org |
29b228439f7645711e04c13903eb812ecb61bb8b | c5602d4032c2fbcb8c66b793264ee9e81e3ac9de | /01Bag/c++/src/BagDPBuilder.h | e4d3b87d42c070319c4d97bc230e6dcd6ade0ef1 | [] | no_license | rwbzx/algorithm | 58a44e6d622a51a952fce63734339fc4c8447839 | ca035924eb618ae86810e4afb3189329fe365de5 | refs/heads/master | 2021-01-20T12:29:21.828900 | 2017-05-24T16:07:28 | 2017-05-24T16:10:56 | 90,371,513 | 0 | 0 | null | 2017-05-24T16:10:58 | 2017-05-05T12:04:02 | C++ | UTF-8 | C++ | false | false | 292 | h | #pragma once
#include "ExportHeader.h"
class BagInput;
class DLL_API BagDPBuilder : public BagBuilder
{
public:
BagDPBuilder();
virtual ~BagDPBuilder();
virtual void StartBag();
private:
int * m_transform_state;
int * m_current_state;
int * m_last_state;
void DoBag(BagInput *);
};
| [
"zhang_x_029@yahoo.com"
] | zhang_x_029@yahoo.com |
c1a5a71b756b5b26e3d9d3aeb36ad24b2fe5e29e | 490d1d88ff793ecaf8a26c5c577c72cc1eb93c0a | /nodes/Node_v10/Sound.h | 2aae32aa0208119ff488a3d6f254825d742fe6ef | [] | no_license | shannongatta1/GetALife | 9d371f0429e4f46cf48fe7fd6bd923db594e54d6 | d052b440840694a558b7761a61464288c1c57401 | refs/heads/master | 2023-03-12T18:29:47.105939 | 2021-03-04T06:43:54 | 2021-03-04T06:43:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 583 | h | #ifndef Sound_h
#define Sound_h
#include <Arduino.h>
#include <NonBlockingRtttl.h>
#include <Streaming.h>
// https://www.wemos.cc/en/latest/d1_mini_shiled/buzzer.html
#define PIN_BUZZER D5
enum songList {
// OS-level
boot,
// better not go there
morningTrain,
AxelF,
RickRoll,
CrazyTrain,
... | [
"magister@the-magister.com"
] | magister@the-magister.com |
852f8864ff4c1b3c7a5e2af57503a76063bb0f57 | 94b6f593d16c0d691806b76b44b7e9be4501d9eb | /flat_world/grid_world.h | ab33d913998016d24e6c4836d7c4b0574a980b11 | [] | no_license | leol15/oreo3d | e0c711ef966cc7280d71d1a8a12ab2ffb94eeedf | ef5f7c22ddc0af441c076dcefd1be21e6da2f580 | refs/heads/master | 2023-03-27T21:18:11.346750 | 2021-04-03T06:30:31 | 2021-04-03T06:30:31 | 351,677,471 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,004 | h | #ifndef GRID_WORLD_H_
#define GRID_WORLD_H_
#include <glm/glm.hpp>
#include <vector>
#include <map>
enum CellType {
SAND,
WATER,
STONE,
EMPTY
};
struct Cell {
CellType type;
};
class GridWorld {
public:
GridWorld(int width, int height);
~GridWorld();
// interaction
void addCell(int row, int column, int ... | [
"leol15@uw.edu"
] | leol15@uw.edu |
49c03e25e41209107fa1b423f4e0f77d04fd4864 | 58ac7ce414dcbe875e26bb6fae692e3c74f39c4e | /net/socket/transport_client_socket_unittest.cc | d40d569a27d5b23255e51b422e985a524248999c | [] | no_license | markthomas93/tempwork | f4ba7b4620c1cb806aef40a66692115140b42c90 | 93c852f3d14c95b2d73077b00e7284ea6f416d84 | refs/heads/master | 2021-12-10T10:35:39.230466 | 2016-08-11T12:00:33 | 2016-08-11T12:00:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,406 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <memory>
#include <string>
#include "base/bind.h"
#include "base/memory/ref_counted.h"
#include "base/run_loop.h"
#include "net/ba... | [
"gaoxiaojun@gmail.com"
] | gaoxiaojun@gmail.com |
29c38297f3f47e4f49605cb84d9b60a9eed692d3 | 40525c30da6c26a1cbbc46c7cd64977bb1e25233 | /desktop/src/utility/omPrimeNumbers.cpp | f4e3f01752b50e364e08b60899034a9d98e29113 | [] | no_license | seung-lab/omni.play | e17f5c977c9458a71062c1383d63baedf8ef6458 | a4f1220e9df499f05457aaaee5bc68c2b66d4d54 | refs/heads/master | 2021-03-24T12:36:23.997379 | 2016-08-11T15:09:01 | 2016-08-11T15:09:01 | 3,678,095 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 384 | cpp | #include "utility/omPrimeNumbers.hpp"
#include "common/exception.h"
int om::constants::getNextBiggestPrime(const int num) {
const int* nextBiggestPrime =
std::lower_bound(first1000Primes.begin(), first1000Primes.end(), num);
if (nextBiggestPrime == first1000Primes.end()) {
throw om::IoException("couldn'... | [
"purcaro@gmail.com"
] | purcaro@gmail.com |
200287a4c70e207f790faf141b5f2bac486e57e3 | cae0243512e1614fc9ef945713c9499d1a56d389 | /src/expressions/singleton_expression.cpp | 425ef055ab3d4425fdf96f33ff4ab64444e78e87 | [] | no_license | alejandro-reyesamaro/POSL | 15b5b58a9649234fa9bedbca4393550d38a69e7d | 0b3b7cf01a0392fc76394bbc04c52070637b3009 | refs/heads/master | 2021-04-15T11:10:24.998562 | 2016-09-06T15:10:54 | 2016-09-06T15:10:54 | 33,991,084 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 432 | cpp | #include "singleton_expression.h"
#include "../tools/tools.h"
#include "../tools/tokens_definition.h"
using namespace std;
SingletonExpression::SingletonExpression()
: executed(false)
{}
bool SingletonExpression::evaluate(shared_ptr<PSP>)
{
if(!executed)
{
executed = true;
return true;
... | [
"alejandro-reyesamaro@univ-nantes.fr"
] | alejandro-reyesamaro@univ-nantes.fr |
9f675bde49723e7919b3340d28b28166e4e8d790 | 66213c48da0b752dc6c350789935fe2b2b9ef5ca | /abc/273/d.cpp | 993ca47714f3c12d9788a2cf2df5b713f5139a85 | [] | no_license | taketakeyyy/atcoder | 28c58ae52606ba85852687f9e726581ab2539b91 | a57067be27b27db3fee008cbcfe639f5309103cc | refs/heads/master | 2023-09-04T16:53:55.172945 | 2023-09-04T07:25:59 | 2023-09-04T07:25:59 | 123,848,306 | 0 | 0 | null | 2019-04-21T07:39:45 | 2018-03-05T01:37:20 | Python | UTF-8 | C++ | false | false | 2,948 | cpp | #define _USE_MATH_DEFINES // M_PI等のフラグ
#include <bits/stdc++.h>
#define MOD 1000000007
#define COUNTOF(array) (sizeof(array)/sizeof(array[0]))
#define rep(i,n) for (int i = 0; i < (n); ++i)
#define intceil(a,b) ((a+(b-1))/b)
using namespace std;
using ll = long long;
using pii = pair<int,int>;
using pll = pai... | [
"taketakeyyy@gmail.com"
] | taketakeyyy@gmail.com |
4733584e1a294d753d17f3066c8100b11a59ca0e | 46eb609f59289b65b9480d7b1e2c482f416bb355 | /Algo Notes/DP/MinNoOFSquares.cpp | 8e36da3b80c1f85e5d3d63e235b0be3032c425dc | [] | no_license | sivagirish81/Algorithms | af15be52db79ba7fb2dd687ed7ebc14686c74b19 | 03f64ba8c93da8f29cb08dc36f00c5e8124529e7 | refs/heads/master | 2021-07-12T20:05:51.202204 | 2020-05-22T07:42:09 | 2020-05-22T07:42:09 | 134,872,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 545 | cpp | #include <iostream>
#include <bits/stdc++.h>
using namespace std;
int mini(int a,int b)
{
return (a>b)?b:a;
}
int getMinSquares(int N)
{
int DP[N+1];
DP[0]=0;
DP[1]=1;
DP[2]=2;
DP[3]=3;
int Min;
for (int i=4;i<=N;i++)
{
DP[i]=i;
for (int j=1;j<=sqrt(i);j++)
... | [
"sivagirish81@gmail.com"
] | sivagirish81@gmail.com |
dff96983e6b692e0f7b7bc267874f18aa2f76294 | 9bdadc7121dd035f3612324a5db20515e9c48440 | /Hand.cpp | 1ea2ad5a4308bf524adbd55085add34178cc2901 | [] | no_license | keselme90/PokerHomeAssignment | e0f7c6a6e0329b47a7db48786d988795bd04c9cd | 99f47bd6ea255edf03aad422445d2342bfe6cdc1 | refs/heads/master | 2021-08-23T21:51:48.358933 | 2017-12-06T18:20:06 | 2017-12-06T18:20:06 | 110,849,158 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 806 | cpp | #include "Hand.h"
/*
Constructor
Receives a string that represents the Cards.
Parse the string and creates a vector of cards.
*/
Hand::Hand(std::string cards) {
cards = cards.substr(cards.find(":") + 1);
while (cards.size() != 2) {
Card card(cards.substr(0, cards.find("-")));
myCards.push_back(card);
card... | [
"keselme90@gmail.com"
] | keselme90@gmail.com |
d154812310df0a2189dee4eee45bf7af968ac571 | e45ffa7500070ceae1a92847195077b960323e48 | /StealthGame/Source/FPSGame/Private/FPSObjectiveActor.cpp | 93e855d6b8071322f55143eef9d67a410d8337bd | [] | no_license | luvtin/UE_Training | eaf18e2a5703147a24af269886ce4b4f39583dd4 | dd9f311dd86f8d6f624fae3223aea41df7f8235d | refs/heads/main | 2023-01-20T20:42:55.472071 | 2020-12-03T07:49:43 | 2020-12-03T07:49:43 | 317,104,131 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,458 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "FPSObjectiveActor.h"
#include "Components/StaticMeshComponent.h"
#include "Components/SphereComponent.h"
#include "Kismet/GameplayStatics.h"
#include "FPSCharacter.h"
// Sets default values
AFPSObjectiveActor::AFPSObjectiveActor... | [
"mrwangjianchun@outlook.com"
] | mrwangjianchun@outlook.com |
8b9c5ee56c1c4714e70d03007736ff9950f20401 | efd7adff589e37ca98d2e3eb245aaeb23f64496e | /src/plugins/coreplugin/fancyactionbar.cpp | a5afc6d78a7b530ab1246441bb126116c0cacce0 | [] | no_license | Andersbakken/CPlusPlus | 3cf03c28968243587fa1d4661e7e5a388e62eb43 | 400f0b8f19de1c3fc9b794228c7aeec2259fce81 | refs/heads/master | 2021-01-10T20:24:54.067140 | 2013-05-28T03:46:50 | 2013-05-28T03:46:50 | 9,491,173 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,501 | cpp | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this f... | [
"jhanssen@gmail.com"
] | jhanssen@gmail.com |
b1dff3574b2f4b576f97a4243ca683e040320c90 | 228fcc5b80d7c76330b9093dac1af5fdce22c68f | /ch07/ex-7.12.h | 0e0925c7b806620d06fe3e349b39af0d215d698d | [] | no_license | carrordeng/Cpp | e5b61e712c4d8fbde04d295635b67025430cec91 | 7a04445f3529901d4c5d6f6b5737b6a25dfe5818 | refs/heads/master | 2020-05-24T07:01:50.089485 | 2019-09-14T09:19:12 | 2019-09-14T09:19:12 | 163,169,407 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,587 | h | #ifndef EX_7_12_H
#define EX_7_12_H
#include <iostream>
#include <string>
struct Sales_data;
std::istream &read(std::istream &is, Sales_data &data);
struct Sales_data
{
std::string bookNo;
std::string bookName;
unsigned units_sold = 0;
double price = 0.0;
double revenue = 0.0;
//add construc... | [
"carror1994@gmail.com"
] | carror1994@gmail.com |
15677e37058403c3588ce0c51921e3c7792e1d92 | 06f0b4758414e058ac66b87c959651d3d087aee6 | /JuceLibraryCode/modules/juce_events/messages/juce_ApplicationBase.cpp | ac6e8e164521ed3a30026318531654e9a94be844 | [] | no_license | nllve/SimpleScope | 404c2a21f342b8282c5a2bf54656fcb6eb8d87fc | 4fbb5edc97c6de65c50f0e51cbef29f720c81cf7 | refs/heads/master | 2021-01-19T20:47:50.044467 | 2017-04-17T19:06:08 | 2017-04-17T19:06:08 | 88,554,327 | 0 | 1 | null | 2017-04-17T21:57:28 | 2017-04-17T21:57:28 | null | UTF-8 | C++ | false | false | 9,525 | cpp | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2016 - ROLI Ltd.
Permission is granted to use this software under the terms of the ISC license
http://www.isc.org/downloads/software-support-policy/isc-license/
... | [
"jonathantcrawford@icloud.com"
] | jonathantcrawford@icloud.com |
7b68ab553578b04f767dad87ea12b366bae9e1d3 | 57c3f826d8943d448aefe05f464ac50e2642e2bf | /desctable.hpp | 00721462f6c8e9bb2fbee81203f2098d8f5fe0a9 | [] | no_license | uchan-nos/seccamp-os | 36ddc9e8c9d1b7e9678a331e9adaf7207d4744cb | da14bdce4b306c7fbbaf1771733618b7d687faf6 | refs/heads/master | 2021-01-16T19:37:07.661160 | 2017-08-13T14:36:18 | 2017-08-13T14:36:18 | 100,182,107 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 774 | hpp | #ifndef DESCTABLE_HPP_
#define DESCTABLE_HPP_
#include <stddef.h>
#include <stdint.h>
#include "errorcode.hpp"
namespace bitnos
{
struct DescriptorTableRegister
{
uint16_t limit;
uint64_t base;
};
DescriptorTableRegister GetGDTR();
DescriptorTableRegister GetIDTR... | [
"uchan0@gmail.com"
] | uchan0@gmail.com |
326ece91b3acb6a7051c203a67b037e8776f49fd | fe3bc924e354ea2f8ccf4dc166ae2cd2ad151fd3 | /src/THcScintillatorPlane.h | ce546684471fefb9bc8a518b01ef22f4a7bba198 | [] | no_license | jonstelz/hcana | 40ccff65a01a11dbc9b1a3e9f6e64a39f2b93285 | 49b16a642f1cb1d9adf1a12dbb33620b7ad1cddb | refs/heads/master | 2021-01-16T21:49:30.373046 | 2012-05-03T22:09:49 | 2012-05-03T22:09:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 995 | h | #ifndef ROOT_THcScintillatorPlane
#define ROOT_THcScintillatorPlane
//////////////////////////////////////////////////////////////////////////////
//
// THcScintillatorPlane
//
// A Hall C scintillator plane
//
// May want to later inherit from a THcPlane class if there are similarities
// in ... | [
"saw@jlab.org"
] | saw@jlab.org |
9d84611dd9bb646560f300404cb0cc807c1a87e8 | 831a587acc73b3a4a3b5c09db4f6ecd11acfb3a4 | /Pacman/pacman/InputManager.h | cd101205e2b9daf8cb22dbb17ed47158ae35504b | [
"MIT"
] | permissive | Pocoder/arduino-pacman | 4b342d31fc9b8481a573b67051dade95256c2b90 | c56376b9b9a0ea6139231d7e158f230707449fce | refs/heads/master | 2022-04-08T18:01:23.908950 | 2020-03-02T13:15:49 | 2020-03-02T13:15:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 435 | h | #pragma once
#include <TouchScreen.h>
#include "Adafruit_GFX.h"
#include <MCUFRIEND_kbv.h>
#define MINPRESSURE 200
#define MAXPRESSURE 1000
class InputManager {
public:
InputManager(MCUFRIEND_kbv* p, TouchScreen* tscreen);
TSPoint get();
private:
const int TS_LEFT = 919, TS_RT = 194, TS_TOP = 185, TS_BOT = 915;... | [
"44253480+DenisMakarov@users.noreply.github.com"
] | 44253480+DenisMakarov@users.noreply.github.com |
697d770019b3a64b74368e75139caaf6f94233d3 | 941ddcb9a01de873e51a253c68dcaa7b35544c52 | /inferui/inferui/model/syn_helper.h | a319c0058d90f5dd3fbe787e5cbc19c63839d27c | [] | no_license | eth-sri/inferui | b3ace5155483685876a413afa5b27e8d3b3c99b1 | 2e74a37547360a3571c005a10bbdd41e8805bf19 | refs/heads/master | 2023-03-07T05:27:55.602093 | 2021-02-14T21:21:17 | 2021-02-14T21:21:17 | 338,894,697 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,106 | h | /*
Copyright 2018 Software Reliability Lab, ETH Zurich
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 applicabl... | [
"pavol.bielik@inf.ethz.ch"
] | pavol.bielik@inf.ethz.ch |
fb4665dd063416f124d8ad847fbe5d8aeacdaca2 | 25245cdad68304c439d7bb15f6efc80dc431df54 | /Learn_Game/GameState.h | 14ae4c2f7d1a1559ffb942c1d6b393f29adf4f83 | [] | no_license | ArturKnopik/Game | f25dc52f7d5b4e3c99bab9a5c02f53f9c00c4c24 | a6e49532097523acbd39bba967a81c9eaed3aafc | refs/heads/master | 2023-02-24T17:26:13.255822 | 2021-02-02T17:49:37 | 2021-02-02T17:49:37 | 166,843,827 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 303 | h | #pragma once
#include "Game.h"
//#include <memory>
class GameState {
protected :
std::shared_ptr<sf::Event> event;
std::shared_ptr<Game> game;
public:
GameState();
virtual void draw() = 0;
virtual void update(const double dt) = 0;
virtual void input() = 0;
virtual ~GameState()=default;
};
| [
"krecikondexin@gmail.com"
] | krecikondexin@gmail.com |
d8f919f95bd5876363eb9de6d8331327231574a5 | c5fed927a7c40520c4c1a7e4064332781709a611 | /EmployeeManagement/Manager_main.cpp | 91f074b84f76463aa875248a8ebc6bf8d3a378bc | [] | no_license | BomengBomeng/WorkSpace | 1123019d376056bfd8fef641edcaf287c4c6cadf | d37499074ac66a98bc2b8a030080779d7e710991 | refs/heads/master | 2023-07-30T14:17:57.719410 | 2021-09-29T07:42:07 | 2021-09-29T07:42:07 | 340,826,273 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,325 | cpp | #include<iostream>
#include"WorkerManager.h"
#include"Worker.h"
#include"Employee.h"
#include"Manager.h"
#include"Boss.h"
using namespace std;
void test01(WorkerManager mv){
Worker *w = new Employee(128,"zhangsan",0);
w->ShowInfo();
Worker *x = new Manager(127,"zgsan",1);
x->ShowInfo();
Worker *y = new Boss(126... | [
"bomeng@git.com"
] | bomeng@git.com |
a0300e55e039d8480b3c8c26e29bfb8a5b892e8e | 99cac5c821d967bcb6e2d5cc186b72117ee3a22c | /C++/NetEngine/Mutex.h | fed24901727281681c848d4cd5836bcb3c0e4c14 | [] | no_license | jbluepolarbear/Misc | 194578efb5a4fec2ae497403cd0873aad4c01d43 | 130ce090c0775e54c5449b75a8f877a012edabb1 | refs/heads/master | 2020-04-30T10:56:01.338334 | 2011-05-25T04:16:41 | 2011-05-25T04:16:41 | 1,796,450 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 228 | h | #pragma once
#ifndef HANDLE
typedef void *HANDLE;
#endif
class Mutex
{
public:
Mutex( bool Owned = false );
~Mutex();
bool Synchronize();
bool Release();
private:
HANDLE mutex;
bool owned;
};
| [
"jbluepolarbear@gmail.com"
] | jbluepolarbear@gmail.com |
fa8fd947090d71534abbeb192ba22cea97352a4e | 2e5be7a7292596400c11f125d221fe59bca51fcb | /mainwindow.cpp | 48c530524dc980ea5c8b7e85ad0d894d44ebdf94 | [] | no_license | SenaliSiriwardhana/CheckMath | 357c583328deb3cced5a58bc41a57b3c7e866089 | cea514e39a7990e2c70c4608c893c8344a7adc08 | refs/heads/main | 2023-06-21T14:25:58.612691 | 2021-07-25T07:08:10 | 2021-07-25T07:08:10 | 389,284,911 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 377 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow)
{
ui->setupUi(this);
}
MainWindow::~MainWindow()
{
delete ui;
}
void MainWindow::on_Start_clicked()
{
hide();
cmg=new CheckMathGame(this);
cmg->show()... | [
"46793076+SenaliSiriwardhana@users.noreply.github.com"
] | 46793076+SenaliSiriwardhana@users.noreply.github.com |
a758a5722dded5ed1b1f22c65cb844e9d3aa868e | 03b20afd312ba32e375d8a2619a070971f3e31f5 | /Coursera/Art of Development in Modern C++ Specialization/Red Belt/Week3/tasks/object_pool.cpp | ad06d67bd334df1c0c3a022a41a8934ae5a8c64e | [] | no_license | AndrewShkrob/Courses | 9c368e107786ba7c19a1744072d6f50bc332efbb | c5d95e468ac8ee0d38a6af7119c1d9c1962c4941 | refs/heads/master | 2022-10-05T02:48:38.388577 | 2020-06-06T14:25:27 | 2020-06-06T14:25:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,091 | cpp | #include <bits/stdc++.h>
using namespace std;
template<class T>
class ObjectPool {
public:
T *Allocate() {
if (deallocated.empty()) {
auto it = allocated.insert(new T);
return *(it.first);
}
return alloc();
}
T *TryAllocate() {
if (deallocated.empty... | [
"andrei5709978@gmail.com"
] | andrei5709978@gmail.com |
0b2e7e5a79412ad53f1d6cb48007e6603ea00192 | a5c8941d7f8face4962f506a584edb0efbd16ca6 | /develop/uvplus/uvbook-examples/lib-hello/hello.cpp | bb44b17f2c3f4b13ea6ac11c414ef9192e2d1568 | [
"MIT"
] | permissive | motoyang/sf315 | 3e365bc1c9dd91d7913a65aaeccf2594e95c3eae | 9ed5affd2c815068793e24932af877cc4aad86c1 | refs/heads/master | 2023-06-27T09:10:27.821676 | 2020-01-04T15:20:22 | 2020-01-04T15:20:22 | 119,141,655 | 1 | 1 | MIT | 2023-06-14T16:07:58 | 2018-01-27T07:02:33 | C++ | UTF-8 | C++ | false | false | 113 | cpp | #include <iostream>
extern "C" void initialize() {
std::cout << "initialize libhello plugin." << std::endl;
}
| [
"motoyang@163.com"
] | motoyang@163.com |
ef7cc9ec0ef7abd2dd8393f464cb343d2f4df766 | 8104232777587882d47c45289040978787e727cc | /Math/Mod64.cpp | 56c67031a1bb689e6dbb1bd95d821a67cc9c2ce5 | [] | no_license | transcompany/chemthan | 1eea96be1498c81812dab4bcc6c6da4f37a904a5 | 15d9cb49d44011802c9f757d73a22e65a958ea02 | refs/heads/master | 2021-01-12T20:40:38.075394 | 2016-05-16T14:08:58 | 2016-05-16T14:08:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 669 | cpp | #include <bits/stdc++.h>
using namespace std;
#define T long long
T mulmod64(T a, T b, T p) {
a %= p; b %= p;
T r = 0;
int block = 1;
T base = 1LL << block;
for (; b; b >>= block) {
r = (r + a * (b & (base - 1))) % p;
a = a * base % p;
}
return r;
}
T powmod64(T n, T k, T p) {
if (!n) retur... | [
"chemthan@gmail.com"
] | chemthan@gmail.com |
ba5d49085facaffd29816dc52ef015f0fcba3866 | da6d0c83c02032b041ddf748457c8c30baea68a4 | /Lista LLPI 1/Pessoa/Pessoa.cpp | 99d802b2a97a958c2a47c1918cda06d4e31998d6 | [] | no_license | Kcardas/Programing-Language-I | ef842279b567418db950e55409bbe85a685a8111 | bff31056a5b98eb47b3606920df4e81f0f272c4e | refs/heads/master | 2020-06-17T22:55:18.096965 | 2019-12-05T13:18:48 | 2019-12-05T13:18:48 | 196,089,684 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 564 | cpp | #include <iostream>
#include "Pessoa.h"
using namespace std;
Pessoa::Pessoa(){};
Pessoa::Pessoa(string name){
this->name = name;
}
Pessoa::Pessoa(string name, int age, string phone){
this->name = name;
this->age = age;
this->phone = phone;
};
string Pessoa::getName(){
return name;
};
string Pessoa::getP... | [
"iogosadrack2013@gmail.com"
] | iogosadrack2013@gmail.com |
e6dc36d0f1c106845a6b2a5ac8892714075c17fd | 3cc72e2d2c348a883ea9fedbd9be23c7ff5d9ffa | /CellAuto_Engine_V2/src/Shader.cpp | 5598bd4fe7a7f164c287612d1c1850f5105a3896 | [] | no_license | Qlala/Engine | 4d73a14153dfeb2a10b3b026ea1d9af990c1552e | edeac381fb7ecbd6c5451158854809c6608dc36d | refs/heads/master | 2021-01-20T19:39:30.957902 | 2017-08-28T12:23:07 | 2017-08-28T12:23:07 | 63,822,190 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 28,273 | cpp | #include "Header.h"
ShaderHandler::ShaderHandler(){
ShaderReady=false;
ShaderEnableCheck=true;
//AsyncMode=false;
ShaderDemandAnswered=CreateEvent(NULL, 0, 0, GenStrWithUniqueCode("ShaderDemandAnswered",false));
ShaderDemandSent=CreateEvent(NULL, 0, 0, GenStrWithUniqueCode("ShaderDemandSent"));
}
void ShaderHandler::Cr... | [
"rafale_feu@msn.com"
] | rafale_feu@msn.com |
ba5ae7396b43057132ca34519ad63a314dcc916e | 099f2524dd5bd1ac4951fdca72045f99183c0b70 | /src/qt/bitcoingui.cpp | 8786724726c490f450252b6fc7bf3197567916d7 | [
"MIT"
] | permissive | zhenzhengy/ETHERCOINPAY | 176de6f16c6129f188a893b8923b3a65210ed4c7 | ef86f943a6898311c945c51bcdc0f250210dfbdb | refs/heads/master | 2021-01-01T10:41:02.253546 | 2017-07-18T08:06:59 | 2017-07-18T08:06:59 | 97,541,382 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,049 | cpp | /*
* Qt4 bitcoin GUI.
*
* W.J. van der Laan 2011-2012
* The Bitcoin Developers 2011-2012
*/
#include "bitcoingui.h"
#include "transactiontablemodel.h"
#include "addressbookpage.h"
#include "sendcoinsdialog.h"
#include "signverifymessagedialog.h"
#include "optionsdialog.h"
#include "aboutdialog.h"
#include "clientm... | [
"mfwlwzh@163.com"
] | mfwlwzh@163.com |
764b7dc4956b6c22151334c5adf983b21d668af3 | 47ebc7c4de25bb798f328b2be2fd02382ab0daaf | /OpenCLSpy/OpenCLSpy.cpp | abeddbb6495d7b83f36b6333057d8f427857313b | [] | no_license | GabrieleCocco/OpenCLMonitor | c7412803d61a0efa7afc988ba9498c939e143bb6 | af26dc28192c2036313130d31caa2310a960e8cd | refs/heads/master | 2021-01-10T00:53:28.177545 | 2012-06-05T17:44:48 | 2012-06-05T17:44:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,413 | cpp | // OpenCLSpy.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "OpenCLSpy.h"
#ifdef NO_PRINT
#define printf(A) printf("")
#endif
NTSTATUS (NTAPI *pNtQueryInformationProcess)(HANDLE, DWORD, PVOID, ULONG, PULONG) = NULL;
int enable_debug_privilege() {
LPCTSTR psz_privilege = S... | [
"gabriele@gabrielecocco.it"
] | gabriele@gabrielecocco.it |
7f1a3cfde07a2e730d6e2587c6985cc4260d8dac | cfc4e219d7c0c3fceb3bc032b79b2d45f90e7efd | /abc041/a/a.cpp | 2d3eb7c8a67f8d4424046a620d0152c71d4d0346 | [] | no_license | nuts3745/atcoder | 4f756ff7a1ee9747e086bf67aa8e9c75daabb4e1 | 854f26fa73524b0bf30d3ebe73cc3e8e9c8e6fa5 | refs/heads/master | 2023-04-02T04:00:30.441384 | 2021-04-11T14:00:57 | 2021-04-11T14:00:57 | 298,011,025 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 244 | cpp | #include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int,int>;
int main() {
string s;
int i;
cin >> s >> i;
cout << s.at(i-1) << endl;
return 0;
} | [
"kohji_suzuki@me.com"
] | kohji_suzuki@me.com |
068bff418270d7c5b31d4597a221b37816635def | f67629586414cfe28929c10f30e09ce82ea342bc | /Benchmark Engineering Tool/example/BenchmarkLib/src-gen/benchmark_experiment.cpp | 5f3c24b2be96a7ece846c820049c4ddbd78fdf52 | [] | no_license | Mohamedgalil/plug-and-bench | cb259258fbb9a09a7ed084d395ca5a49d17c8a6b | 44d02a6eb0eb7de289364e2dffe5dc0d63cc9516 | refs/heads/master | 2020-04-25T15:31:23.868541 | 2019-04-16T07:20:24 | 2019-04-16T07:20:24 | 172,881,559 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 370 | cpp | // -*- mode: c++; c-basic-style: "bsd"; c-basic-offset: 4; -*-
/*
* benchmark_experiment.cpp
* This file was created by EMF4CPP 2.0.0 and is copyrighted by the
* respective user and/or provider of the processed ECORE model.
*
* EMF4CPP is free software. You can obtain it from
* https://github.com/catedrasaes-umu/... | [
"mohamed.el-shamouty@ipa.fraunhofer.de"
] | mohamed.el-shamouty@ipa.fraunhofer.de |
cf831f119f9790357c76657ca8a064aac7a206fb | 0b15c7a046d703e153b6e6054cb57a0664a2d4df | /RobWork/ext/fcl/fcl/include/fcl/narrowphase/gjk.h | 3c9e14173b588691cf2034b865cca21da5e3bbe2 | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | skyellen/robwork-mirror | bf5d97ce19775c2928432854a93fb87ab2f7cd26 | 5a74a49d9ef98eff7c75f48fe48c2e655480e9b3 | refs/heads/master | 2020-04-16T06:10:11.359979 | 2018-09-06T09:26:01 | 2018-09-06T09:26:01 | 165,335,340 | 4 | 0 | null | 2019-01-12T02:01:40 | 2019-01-12T02:01:40 | null | UTF-8 | C++ | false | false | 8,690 | h | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2011-2014, Willow Garage, Inc.
* Copyright (c) 2014-2016, Open Source Robotics Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following c... | [
"tnt@mmmi.sdu.dk"
] | tnt@mmmi.sdu.dk |
a1715febd581f3ef5c50ad293fb0c29bd7e8dcf9 | a28685167ce3f9ea86288891667a1afe824b3b8e | /Coronet/include/Coronet/AssetStore.hpp | d54dc5e46fd4b981afa816f76f16f63ebc1d721a | [] | no_license | aoki-marika/coronet | 237acefea8a1727623a7c3f6ce4006df2baaa877 | 8173e79b2495e6aadae8b4e6b10a7e137138dd3e | refs/heads/master | 2020-03-13T03:53:21.562729 | 2018-05-06T01:20:20 | 2018-05-06T01:20:20 | 130,952,597 | 0 | 0 | null | 2018-05-06T01:00:37 | 2018-04-25T04:54:59 | C++ | UTF-8 | C++ | false | false | 1,675 | hpp | #pragma once
#include <string>
#include <sstream>
#include <physfs.h>
#include "Bitmap.hpp"
#include "BitmapSheet.hpp"
#include "TTFFont.hpp"
#include "Utilities.hpp"
namespace Coronet
{
class AssetStore
{
public:
AssetStore();
~AssetStore();
void Mount(std::strin... | [
"marika@waifu.club"
] | marika@waifu.club |
0e35a8dc50ce8b45a9124760956b4ad2c7be5eed | 6aeccfb60568a360d2d143e0271f0def40747d73 | /sandbox/assign_v2/boost/assign/v2/ref/aux_/convert_traits/const.hpp | 52b056e5be321b308b4e504a68ac363a9579024a | [] | no_license | ttyang/sandbox | 1066b324a13813cb1113beca75cdaf518e952276 | e1d6fde18ced644bb63e231829b2fe0664e51fac | refs/heads/trunk | 2021-01-19T17:17:47.452557 | 2013-06-07T14:19:55 | 2013-06-07T14:19:55 | 13,488,698 | 1 | 3 | null | 2023-03-20T11:52:19 | 2013-10-11T03:08:51 | C++ | UTF-8 | C++ | false | false | 1,742 | hpp | //////////////////////////////////////////////////////////////////////////////
// Boost.Assign v2 //
// //
// Copyright (C) 2003-2004 Thorsten Ottosen //
// ... | [
"erwann.rogard@gmail.com"
] | erwann.rogard@gmail.com |
07894ca5e9633258925fb33282af95d0bfbe468f | 86e3367acf81c30825670ad6b16056056e60cf48 | /ls/Scene/ConfigScene.cpp | 858125a62656b2699e5b6df617159bb1d2b80083 | [
"BSD-3-Clause"
] | permissive | sorcery-p5/Asteraiser | 0bb3e4a2e620f68764ee4e346e99440d1e7818b8 | f27da9e3e262772686245f7e83b800e41c909f0f | refs/heads/master | 2020-03-19T06:25:38.820721 | 2020-02-12T14:15:05 | 2020-02-12T14:15:05 | 136,018,491 | 6 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 23,371 | cpp | #include "stdafx.h"
#include "ConfigScene.h"
#include "TitleScene.h"
#include "App/App.h"
#include "Config/Config.h"
#include "Resource/ResourceManager.h"
#include "Controller/SystemController.h"
#include "Menu/Menu.h"
#include "Menu/MenuData.h"
#include "Menu/MenuLayer.h"
#include "Menu/Object/MenuObject.h"
namespa... | [
"sorcery_port5@hotmail.com"
] | sorcery_port5@hotmail.com |
dc7464dc66f354f80a0c7bd1c81c735c87752871 | 7252ca0228705a1cfd47c6437fa45eec9b19565e | /kimug2145/11729/11729.cpp14.cpp | 8223cf37d0cff976b6c139417750a84d5aedd27e | [] | no_license | seungjae-yu/Algorithm-Solving-BOJ | 1acf12668dc803413af28f8c0dc61f923d6e2e17 | e294d631b2808fdcfc80317bd2b0bccccc7fc065 | refs/heads/main | 2023-08-19T00:30:13.832180 | 2021-10-06T14:49:12 | 2021-10-06T14:49:12 | 414,241,010 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 314 | cpp | #include <iostream>
int N;
void Ha(int n, int from, int mid, int to) {
if (n == 1) printf("%d %d\n", from, to);
else {
Ha(n - 1, from, to, mid);
printf("%d %d\n", from, to);
Ha(n - 1, mid, from, to);
}
}
int main() {
scanf("%d", &N);
printf("%d\n", (1 << N) - 1);
Ha(N, 1, 2, 3);
} | [
"kimug2145@gmail.com"
] | kimug2145@gmail.com |
59d2856e2a38fc30facc1da1ec3a7f679a1765cb | 349d0eb99c6294e40162e8a07871dbb56666977a | /Assignment2/Q1/hello_world.cc | 4038f2bca6252be65b5e3723e603fe63e2a8e4d8 | [
"MIT"
] | permissive | Gurupradeep/Parallel-Programming | f2b75736463ad9983b43efe43b6aced2a2389387 | fe54eb921f8895518c9d041075a92a5bd1499737 | refs/heads/master | 2021-05-14T03:57:59.428518 | 2018-02-14T04:40:46 | 2018-02-14T04:40:46 | 116,630,568 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 881 | cc | /*
* Basic Hello world program
* Run the program as follows
* (Compilation) mpicxx hello_world.cc
* (Execution) mpirun -n NO_OF_PROCESSES ./a.out
* Arguments
* 1) NO_OF_PROCESES. (Optional Parameter) : no of processes to be created.
*/
#include <stdio.h>
#include <mpi.h>
int main(int argc, char *argv[]) {
//... | [
"gurupradeept@gmail.com"
] | gurupradeept@gmail.com |
007fe45e414462020b9d5de4464363e0d5c4879b | 0762bd15b382b5322c51967a707151c749122198 | /inc/config_parser.h | 22eeb513230eb0c686d6833278557556c1b0a2aa | [] | no_license | lumovan/UWB_location | 8a665d85e1d9e0b4333680d43fe419febcae00c0 | 9281e54dcd556ad644513dab2099ea5ac71e70b2 | refs/heads/master | 2022-01-10T01:47:37.864018 | 2019-06-05T00:30:37 | 2019-06-05T00:30:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 759 | h | #pragma once
#include <iostream>
#include <iomanip>
#include <cstdlib>
#include <libconfig.h++>
using namespace std;
using namespace libconfig;
class UWBConfigParser{
public:
UWBConfigParser();
bool set_boostar_config_file(const string cfg_file);
void get_boostar_anchor_pos(string *anchor_pos){*anchor_pos=_boosta... | [
"jiyingliang369@126.com"
] | jiyingliang369@126.com |
5a2c8bd5a3fa4909ce2ccb645514a4aeeb18cad0 | 85b9ce4fb88972d9b86dce594ae4fb3acfcd0a4b | /build/iOS/Release/include/Fuse.Scripting.JavaScriptCore.JSClassRef.h | 3904cae6dec46a68b478d71d14eb87771d646810 | [] | no_license | bgirr/Global-Pot_App | 16431a99e26f1c60dc16223fb388d9fd525cb5fa | c96c5a8fb95acde66fc286bcd9a5cdf160ba8b1b | refs/heads/master | 2021-01-09T06:29:18.255583 | 2017-02-21T23:27:47 | 2017-02-21T23:27:47 | 80,985,681 | 0 | 0 | null | 2017-02-21T23:27:48 | 2017-02-05T10:29:14 | C++ | UTF-8 | C++ | false | false | 923 | h | // This file was generated based on C:\Users\EliteBook-User\AppData\Local\Fusetools\Packages\Fuse.Scripting.JavaScriptCore\0.44.1\$.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.IDisposable.h>
#include <Uno.Object.h>
namespace g{
namespace Fuse{
namespace Scripting{... | [
"girr.benjamin@gmail.com"
] | girr.benjamin@gmail.com |
c4735dac7049f656c820117e7da8b439c38b8248 | fcdea24e6466d4ec8d7798555358a9af8acf9b35 | /Engine/mrayEngine/src/DeviceCapabilites.cpp | eac38da7a78fbacd60f8cadbbc3de2daa05c0b51 | [] | no_license | yingzhang536/mrayy-Game-Engine | 6634afecefcb79c2117cecf3e4e635d3089c9590 | 6b6fcbab8674a6169e26f0f20356d0708620b828 | refs/heads/master | 2021-01-17T07:59:30.135446 | 2014-11-30T16:10:54 | 2014-11-30T16:10:54 | 27,630,181 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,995 | cpp | #include "stdafx.h"
#include "DeviceCapabilites.h"
#include "mraySystem.h"
#include "ILogManager.h"
#include "StringConverter.h"
namespace mray{
namespace video{
std::vector<core::string> DeviceCapabilites::m_vendors;
bool DeviceCapabilites::m_inited=0;
DeviceCapabilites:: DeviceCapabilites(){
mray... | [
"mrayyamen@gmail.com"
] | mrayyamen@gmail.com |
c3254d46d070e89679ee9ef7268f98e2305493ec | da86d9f9cf875db42fd912e3366cfe9e0aa392c6 | /2020/solutions/B/DKV-Plovdiv/DKV/brackets.cpp | 039d54141c33569a855972eb342885abcb886c1e | [] | no_license | Alaxe/noi2-ranking | 0c98ea9af9fc3bd22798cab523f38fd75ed97634 | bb671bacd369b0924a1bfa313acb259f97947d05 | refs/heads/master | 2021-01-22T23:33:43.481107 | 2020-02-15T17:33:25 | 2020-02-15T17:33:25 | 85,631,202 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,036 | cpp | #include <iostream>
#include <string>
#include <stack>
#include <vector>
#include <algorithm>
struct commands{
commands(){}
bool multiplication = false;
bool sum = false;
int first = 0;
int last = 0;
bool minusInFront = false;
};
void findbrackets(std::string& text, int index){
int opperand... | [
"aleks.tcr@gmail.com"
] | aleks.tcr@gmail.com |
466d1d341c0280187fbef650bed6a6f0f374fc03 | c4c4a47362bdf2f0c2c977ce3a1bdcee78adb659 | /opencv4.1/opencv-bulild/modules/rapid/opencv_rapid_main.cpp | b3ea219360b4aa46578db453626a26c54026c6be | [] | no_license | TJSlovecoding/myc_plus | d05e6fd94506663ea8d8e62491c8a7e23d4da1a4 | d7ed36b830fed2dbc090f0e731f8134a901adf78 | refs/heads/master | 2022-12-11T01:15:09.086120 | 2020-09-14T13:28:00 | 2020-09-14T13:28:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 953 | cpp | // This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
#ifndef _WIN32
#error "Build configuration error"
#endif
#ifndef CVAPI_EXPORTS
#error "Build configuration error"
#endif
#de... | [
"a1123845350@163.com"
] | a1123845350@163.com |
2cfb3c1c8f05b8311a0146a621e02c1a69804890 | 7b20ec08c98b7aaf7096533df014692cc61242ec | /11-container-with-most-water/11-container-with-most-water.cpp | 3e3ea533752a2106bf6dd6bb60259d9f2ca6ca42 | [] | no_license | hareeshreddi/Algorithms-Famous-Questions | 2e5d5805a4bd0b6f095bac5ff1834039d177dcc5 | 53625a6b07614f58dc2fe37300a004e87bcbd9a3 | refs/heads/master | 2022-05-19T10:39:47.638272 | 2022-04-05T03:54:34 | 2022-04-05T03:54:34 | 84,583,427 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 296 | cpp | class Solution {
public:
int maxArea(vector<int>& height) {
int ans=0,i=0,j=height.size()-1;
while(i<j){
if(height[i]<height[j])
ans=max((j-i)*height[i++],ans);
else ans=max((j-i)*height[j--],ans);
}
return ans;
}
}; | [
"hareeshreddi16161616@gmail.com"
] | hareeshreddi16161616@gmail.com |
5f30ad1a8015785ec5653359fb6abb4a695fa300 | 26d3688d1839717de6edec3aa6fa60fb1fe3483d | /external/boost_1_60_0/qsboost/phoenix/core/detail/preprocessed/call.hpp | a6f68b9b4e22d36d8203e895d99b931009b742aa | [
"MIT"
] | permissive | wouterboomsma/quickstep | 7d91c8070dca9f0d1d5ac30a38a9e159224a5e13 | a33447562eca1350c626883f21c68125bd9f776c | refs/heads/master | 2021-01-22T19:25:45.689105 | 2017-04-19T09:25:23 | 2017-04-19T09:25:23 | 88,726,115 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,025 | hpp | /*==============================================================================
Copyright (c) 2011 Hartmut Kaiser
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)
=============================================... | [
"wb@di.ku.dk"
] | wb@di.ku.dk |
e75c74d9571fe77317f11dc4d276bb5b22ac21ce | f82a47fb66163fd9ab83ff5e9f4f5ef4e52171c7 | /src/main/native/periDevice/I2CCtrl.cpp | 4283e134484caa77027c6e0206b35596206fe210 | [] | no_license | ruby-github/09001color | ffc4afc30a187bcbb5528bd0143976840909d489 | 0c637efced23df8dfde1b0a97d61b51cac0a10a0 | refs/heads/master | 2021-01-18T03:31:19.785131 | 2017-04-01T10:28:03 | 2017-04-01T10:28:03 | 85,908,115 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,868 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <linux/i2c.h>
#include <linux/i2c-dev.h>
#include "Def.h"
#include "periDevice/I2CCtrl.h"
I2CInterface::I2CInterface() {
m_fd = open("/dev/i2c-1",O_RDWR);
if (m_fd < 0) {
PRINTF("open i2c devic... | [
"admin@git.com"
] | admin@git.com |
e3c602d3098b8477975d1bfd7991fda1c45fab8f | 1a93a3b56dc2d54ffe3ee344716654888b0af777 | /env/Library/include/qt/QtDesigner/5.12.9/QtDesigner/private/layout_p.h | 2b97fb8232e7deee7d5033a60ee17b4429d0247a | [
"Python-2.0",
"LicenseRef-scancode-python-cwi",
"GPL-1.0-or-later",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause",
"0BSD",
"LicenseRef-scancode-free-unknown",
"GPL-3.0-only",
"GPL-2.0-only"
] | permissive | h4vlik/TF2_OD_BRE | ecdf6b49b0016407007a1a049f0fdb952d58cbac | 54643b6e8e9d76847329b1dbda69efa1c7ae3e72 | refs/heads/master | 2023-04-09T16:05:27.658169 | 2021-02-22T14:59:07 | 2021-02-22T14:59:07 | 327,001,911 | 0 | 0 | BSD-3-Clause | 2021-02-22T14:59:08 | 2021-01-05T13:08:03 | null | UTF-8 | C++ | false | false | 4,156 | h | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Designer of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:GPL-EXCEPT$
** Commercial License Usage
** Licensees holding valid com... | [
"martin.cernil@ysoft.com"
] | martin.cernil@ysoft.com |
9223d1fb91801260f17e905720531982acfeca5c | 712f44b319108bb540629ced364ad70b463f456a | /TP1/metodos.h | 32419d5a3b30a1c99c76b88fda9b21e826f5ad84 | [] | no_license | sizcovich/TPs-MetodosNumericos | e03325b2a4ac4f37dbdda3210d9b8beee189a09a | a21ef1a7604813360af92d8edb2ce6f19cfae796 | refs/heads/master | 2020-05-18T05:05:21.150553 | 2015-03-02T00:45:30 | 2015-03-02T00:45:30 | 29,919,702 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 950 | h | #ifndef METODOS_
#define METODOS_
#include <cmath>
#include <iostream>
#include <list>
#include "formulas.h"
#include "TFloat.h"
using namespace std;
/*tipoError
* 1 => |f(c)|< error
* 2 => |an - an-1|< error
* 3 => |an - an-1|/|an-1| < error
* 4 => |f(an) - f(an-1)| < error
* 5 => |f(an) - f(an-1)|/|f(an-1)|< ... | [
"sizcovich@dc.uba.ar"
] | sizcovich@dc.uba.ar |
2844ac4cc42222f410f9098ca864bb9d74080769 | 0fecb324be8e41cf324c58c0c5c3600976706a27 | /src/qt/bitcoinaddressvalidator.cpp | 15aa74113e4dd2eef3ce4c6a4c41468c43a3990f | [
"MIT"
] | permissive | Stogniev/Tarraf | e0598392cf2ffcdd73dc4457524aac0aa706fc4a | ace0c284a3bbb54a16d7bf3fc9764ea4dc462e91 | refs/heads/master | 2020-03-08T03:03:54.041721 | 2018-08-06T07:23:59 | 2018-08-06T07:23:59 | 126,369,916 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,649 | cpp | // Copyright (c) 2011-2014 The Bitcoin Core developers
// Copyright (c) 2014-2017 The TRF Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bitcoinaddressvalidator.h"
#include "base58.h"
/* Base58 chara... | [
"boris11001@gmail.com"
] | boris11001@gmail.com |
e1e61c792f116719719d459ceb2cec04d462815f | 515d821349bc0cbf72f3d252b9dda42d36033bd3 | /_2_Sensor_to_LCD/_2_Sensor_to_LCD.ino | c655b8a8bf50538a6d472e14cc515564bd4d3049 | [] | no_license | kalopilato/healthy-home-sensor | a356f09bdfdbfda6ff132b89c11621c12e737b2a | 88a8c782288521dbf447ef03273f2b9857500a28 | refs/heads/master | 2021-03-27T16:14:58.496595 | 2016-02-08T09:32:10 | 2016-02-08T09:32:10 | 51,289,430 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,914 | ino | // Example testing sketch for various DHT humidity/temperature sensors
// Written by ladyada, public domain
#include "DHT.h"
#include <LiquidCrystal.h>
#define DHTPIN1 8 // what pin we're connected to
#define DHTPIN2 9 // what pin we're connected to
// initialize the library with the numbers of the interface... | [
"mista.kay@gmail.com"
] | mista.kay@gmail.com |
bf401bff190460f83dda4cd7a189b41b71553b9c | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_patch_hunk_2059.cpp | 4e91a6d98385142d6fd680b28864a8b8b1506a5d | [] | 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 | 3,152 | cpp | ap_log_error(APLOG_MARK, APLOG_DEBUG, status, r->server,
"proxy: APR_BUCKET_IS_EOS");
} else {
status = ap_get_brigade(r->input_filters, input_brigade,
AP_MODE_RE... | [
"993273596@qq.com"
] | 993273596@qq.com |
31418248041604633a83ef0e5cf7358f51b4882a | 691d74ae7d6b6769fead7d2a95f94b8453a4acd2 | /Learn Advanced C++ Programming/Passing Functions to Functions/Functors/Functors.cpp | f0228611f2b3cc5721fea8876f36a245f5c99d30 | [] | no_license | karlit0/Learn-Advanced-C-Programming---John-Purcell | fc91dc95e87b6fd318b2d60b8e148b00c40a410a | 3319810e2207e127182619015675df8b19b8fc14 | refs/heads/master | 2023-01-20T04:32:20.584933 | 2020-11-25T19:44:41 | 2020-11-25T19:44:41 | 305,679,747 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 465 | cpp | #include <iostream>
using namespace std;
struct Test
{
virtual bool operator()(string& Text) = 0;
};
struct MatchTest : public Test
{
virtual bool operator()(string& Text) override
{
return Text == "lion";
}
};
void Check(string Text, Test& test)
{
if (test(Text))
{
cout << "Text matches!" << endl;
}
els... | [
"astipanovic23@gmail.com"
] | astipanovic23@gmail.com |
a4587d4ccf6064446d438535d1aad2ddf33ceeaa | 84c9664add913cbd7b64dbcff85b5fb44513d9b4 | /src/spork.h | b5468c57ab2c96050e199256eef25abf5f069cd7 | [
"MIT"
] | permissive | NaniteCurrency/Nanite | cbf3affcb44f1f0475052670049a3e5bef7a2ad9 | f30178931f922d088e5317f95522dfdf02c02116 | refs/heads/master | 2021-04-06T01:54:59.218615 | 2018-04-27T07:39:29 | 2018-04-27T07:39:29 | 125,361,873 | 0 | 2 | MIT | 2018-04-10T22:14:18 | 2018-03-15T12:09:36 | C++ | UTF-8 | C++ | false | false | 3,784 | h | // Copyright (c) 2014-2016 The Dash developers
// Copyright (c) 2016-2017 The NANITE developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef SPORK_H
#define SPORK_H
#include "base58.h"
#include "key.h"
#include "... | [
"gabrielemf@hotmail.com"
] | gabrielemf@hotmail.com |
65416b1514d97359f707ff1e10b99f97c7c93b0b | 95c743ec9826ef301028797795214a306031a352 | / cf-B - Saving the City.cpp | aea5d6a88a534fbf245685a60c3d0c8f590d0334 | [] | no_license | kkb-10/Code-Library | eb776ffe0293cb757f4f35753a733c9916794f0d | b1651832057b3f3af11b4b6b6a20812aca761e90 | refs/heads/master | 2023-08-25T02:47:05.081479 | 2021-10-19T17:31:31 | 2021-10-19T17:31:31 | 358,805,482 | 0 | 1 | null | 2021-10-19T17:31:32 | 2021-04-17T06:42:43 | C++ | UTF-8 | C++ | false | false | 1,809 | cpp | #include<bits/stdc++.h>
using namespace std;
#define fastIO ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
#define ll long long int
#define fi first
#define se second
#define pb push_back
#define pi pair<int,int>
#define all(v) (v).begin(), (v).end()
#define rep(i, l, r) for(int i=(int)(l);i<(int)(r);i+... | [
"kkbajpai.kk@gmail.com"
] | kkbajpai.kk@gmail.com |
05bd01c2d24182e60a0a529e4cb795a9a3031b5e | a7266159d1324e0012dfeab5126c9e945880f3ec | /LearningOpenGL/LearningOpenGL/main.cpp | a2871a321c27b273d4b7dc210555845b64963411 | [] | no_license | Drakon0168/OpenGL | cb91c416bbfc3d6a5356cafa0a925e5ddd13a4ab | cdc1bb057bc0d2db01b3682a23a91d7c2d3cf8d0 | refs/heads/master | 2020-05-09T12:11:12.266158 | 2019-04-25T19:28:12 | 2019-04-25T19:28:12 | 166,296,356 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,553 | cpp | #include "pch.h"
#include "Helper.h"
#include "Point2D.h"
#include "Point3D.h"
#include "loadShader.h"
//typedef basic_ios<char> ios;
//Following a Tutorial, http://www.opengl-tutorial.org/beginners-tutorials/
int main()
{
vector<Point3D> triangle;
triangle.push_back(Point3D(0, 0.5, 0));
triangle.push_back(Point... | [
"jxd8037@g.rit.edu"
] | jxd8037@g.rit.edu |
845af8d078ff1e45d6621617017d20730eb5858b | 348a12c66a5e18d11813936f89256ca32a892f6e | /models/channleadapter.h | 75512026790e2dd61ae76f1c36c03c394d61253d | [] | no_license | fassnacht/LivePad | 7d6076facd3516ee0c419163d97bf05c06c2b2e7 | b6a24c3aab8f6f5ea999bd770f4b2502a8fcd2e5 | refs/heads/master | 2020-05-21T16:44:48.348504 | 2016-09-24T22:05:09 | 2016-09-24T22:05:09 | 63,352,247 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 960 | h | #ifndef CHANNLEADAPTER_H
#define CHANNLEADAPTER_H
#include "bases/ListModelBase.h"
#include "channleitem.h"
class ChannleAdapter : public ListModelBase<ChannleItem>
{
Q_OBJECT
Q_PROPERTY(QStringList colorGroups READ colorGroups NOTIFY colorGroupsChanged)
public:
explicit ChannleAdapter(QObject *parent =... | [
"florian.fassnacht@ergosign.de"
] | florian.fassnacht@ergosign.de |
b72b2c37613bd448e2574789f7b2f9b59b42998e | 9dac8aa93b8dfca0aecbff4402fa67a99d051d9a | /Hemsleya/base/async_net/writebuff.h | ee8d7161336d8c7d8e6a2a4e1bfd9abe52789863 | [
"MIT"
] | permissive | qianqians/discard | 8678d62ae17850ff1f451a9487688df22eff1bec | d746c2550e967359d249748a737feaa29e9a3c3b | refs/heads/master | 2023-04-13T16:23:34.683015 | 2023-03-30T08:06:56 | 2023-03-30T08:06:56 | 88,745,277 | 2 | 2 | null | 2022-09-27T08:52:29 | 2017-04-19T12:56:33 | Python | UTF-8 | C++ | false | false | 1,157 | h | /*
* writebuff.h
* Created on: 2013-10-2
* Author: qianqians
* async_service
*/
#ifndef _WRITEBUFF_H
#define _WRITEBUFF_H
#include "buffstruct.h"
#include <boost/thread.hpp>
#include <Hemsleya/base/concurrent/abstract_factory/abstract_factory.h>
namespace Hemsleya {
namespace async_net {
class write... | [
"anxiangqq@gmail.com"
] | anxiangqq@gmail.com |
57c91dab3cdc893ebef18896fa5b37632894b1aa | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir7941/dir7942/dir8062/dir8063/dir12766/dir12767/dir13029/dir15097/dir15260/dir15321/dir17628/file17634.cpp | b84aa9693741c62396b94e0120e8da73681cc9a7 | [] | no_license | tgeng/HugeProject | 829c3bdfb7cbaf57727c41263212d4a67e3eb93d | 4488d3b765e8827636ce5e878baacdf388710ef2 | refs/heads/master | 2022-08-21T16:58:54.161627 | 2020-05-28T01:54:03 | 2020-05-28T01:54:03 | 267,468,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cpp | #ifndef file17634
#error "macro file17634 must be defined"
#endif
static const char* file17634String = "file17634"; | [
"tgeng@google.com"
] | tgeng@google.com |
ebf5ee86ccad51162176c45d9a652112dbc12326 | 75933a7ef9c77ffb3a06a1cecde79205c2b327ab | /util/test/demos/vk/vk_shader_isa.cpp | 45c523e978ef2fd550c472ba3169b77aebbdb883 | [
"BSD-3-Clause",
"MIT",
"Apache-2.0",
"CC-BY-3.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gvvynplaine/renderdoc | 983aac678006942e938aa9599cc4d58b48e04e21 | efafd0b766ea88b8563c7911dd111cbd0c6ffd65 | refs/heads/v1.x | 2023-01-01T19:32:13.183376 | 2020-07-07T14:40:55 | 2020-07-07T17:15:09 | 278,307,900 | 0 | 0 | MIT | 2020-10-30T12:17:30 | 2020-07-09T08:30:17 | null | UTF-8 | C++ | false | false | 5,454 | cpp | /******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2019-2020 Baldur Karlsson
*
* 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... | [
"baldurk@baldurk.org"
] | baldurk@baldurk.org |
89aa7b57ab2773e7916f408c7e8024e15f311778 | 9c7a0296af07bf6c475f665fcccb855ccf7a526e | /core/modules/replica/SqlResultSet.cc | ed96046d6e53d1cf462410558dfb3faf0ee4f8cb | [] | no_license | provingground-moe/qserv | 6ecbf227442d335d26dc2238c5e4142a6ae2ea25 | 97016932a752c0e641571538912d309cd3dd461b | refs/heads/master | 2020-06-10T20:45:10.955752 | 2019-05-22T19:59:19 | 2019-05-22T19:59:19 | 136,348,562 | 0 | 0 | null | 2018-06-06T15:27:00 | 2018-06-06T15:26:59 | null | UTF-8 | C++ | false | false | 8,062 | cc | /*
* LSST Data Management System
*
* This product includes software developed by the
* LSST Project (http://www.lsst.org/).
*
* 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 versi... | [
"gapon@slac.stanford.edu"
] | gapon@slac.stanford.edu |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.