blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f935506e289c9f8660fcfa3112670e5a02895f78 | e69198f43d3fd9d3272028ea253bcfe30e9698d6 | /cafe/cafe/RunController.hpp | 231406cdd4ac4e2207e8fe2f05ad42b84f91ff65 | [] | no_license | hengne/d0wmass | a8514dfb01db7d9a60aa517e49bb6bc980c8cd24 | f25d5ddb4616b00ca1e9ab83c02657844b778c3b | refs/heads/master | 2021-01-20T18:20:06.573869 | 2016-06-05T13:30:24 | 2016-06-05T13:30:24 | 60,460,795 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,504 | hpp | #ifndef CAFE_RUNCONTROLLER_HPP__
#define CAFE_RUNCONTROLLER_HPP__
#include <string>
#include <set>
#include "cafe/Controller.hpp"
class TTree;
class TFile;
namespace cafe {
class Processor;
/**
* A special version of a Controller.
*
* This opens the input files and loops over the events.
... | [
"Hengne.Li@cern.ch"
] | Hengne.Li@cern.ch |
43fb6f314dd91ea9efc60064aa388716d3228fee | 560090526e32e009e2e9331e8a2b4f1e7861a5e8 | /Compiled/blaze-3.2/blazetest/src/mathtest/smatdmatmult/DCbSLDa.cpp | 7240c76abb95956963b102cda813066efd88d194 | [
"BSD-3-Clause"
] | permissive | jcd1994/MatlabTools | 9a4c1f8190b5ceda102201799cc6c483c0a7b6f7 | 2cc7eac920b8c066338b1a0ac495f0dbdb4c75c1 | refs/heads/master | 2021-01-18T03:05:19.351404 | 2018-02-14T02:17:07 | 2018-02-14T02:17:07 | 84,264,330 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,505 | cpp | //=================================================================================================
/*!
// \file src/mathtest/smatdmatmult/DCbSLDa.cpp
// \brief Source file for the DCbSLDa sparse matrix/dense matrix multiplication math test
//
// Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved
//
// T... | [
"jonathan.doucette@alumni.ubc.ca"
] | jonathan.doucette@alumni.ubc.ca |
5419d13c511d1321b02f83081546f13f134858b1 | a73f24bf1302bebd56f5d376cb54e36fb284e43d | /Buffers/Buffer.h | 596e99f45fe7035496c8cc109321fa4f066dc94f | [] | no_license | harimohanraj89/Thesis | f04e25624e9dc50d33aaac97e62b6b9d4e8aea62 | 9ce4ce457d0ac5936969f5f253c10a18366a3c67 | refs/heads/master | 2021-01-18T13:58:31.849690 | 2013-09-24T17:44:11 | 2013-09-24T17:44:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,123 | h | //
// Buffer.h
// SoniScan_2_0
//
// Created by Hariharan Mohanraj on 12/6/12.
// Copyright (c) 2012 Hariharan Mohanraj. All rights reserved.
//
#ifndef __SoniScan_2_0__Buffer__
#define __SoniScan_2_0__Buffer__
#include <iostream>
#include "../Constants.h"
class Buffer
{
private:
sample* bufferContents;
... | [
"hari.mohanraj89@gmail.com"
] | hari.mohanraj89@gmail.com |
9eb93a68692b89d489a7bf00a31efc62c79ec044 | 0f0238a2c2210fcd797f32a3a724a97ac5294e45 | /cheatBox/miscsetup.ino | 266cf4f7904065547eb9ab3e47f91bb65dc40422 | [] | no_license | underminedsk/kaleidoscope | 2a9a8a7ec7220a21afbcc933a9da9b4509ce3b35 | bffd72caf07479d020758abe7fa1d431657215d1 | refs/heads/master | 2020-04-06T07:02:21.902922 | 2016-08-21T00:43:02 | 2016-08-21T00:43:02 | 59,241,432 | 0 | 4 | null | 2016-06-14T06:23:39 | 2016-05-19T20:44:06 | Arduino | UTF-8 | C++ | false | false | 5,232 | ino | #include <Wire.h>
#include <LiquidCrystal_I2C.h>
// Addr: 0x3F, 20 chars & 4 lines. Sometimes display boards use address 0x27
LiquidCrystal_I2C lcd(0x3F, 16, 2); //Frentally display, use 0x3F if not working try 0x27
#include "pitches.h"
// notes in the melody:
int melody[] = {
NOTE_C4, NOTE_G3, NOTE_G3, NOTE_A3, NO... | [
"noreply@github.com"
] | noreply@github.com |
2c7bc6d1844417368c29c4f6d747edaba3f6a84a | d08744a8cc972c39d2b9e039a922a032ef75f1ef | /src/rpcrawtransaction.cpp | f1da9e890a69adfb4375062be68ba746d2267b01 | [] | no_license | Geckoin/Giarcoin | ab1c0eb5da9e96a06ad6aa31d37335b985412a80 | a7c3b4a74965b68815479650267d435e6d4420d1 | refs/heads/master | 2020-06-02T09:30:32.427321 | 2014-04-04T13:33:55 | 2014-04-04T13:33:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,118 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/assign/list_of.hpp>
#include "base58.h"
#include "bitcoinrpc.h"
#inclu... | [
"acunzomarco@live.it"
] | acunzomarco@live.it |
b36376c952f41e39ef7ed4cee7fc3218a70ddc34 | c01e34827cc944b1250418a083ce2c7162d81b63 | /Masters/Programming Parallel Computers/is4/is.cc | cfc7eb0361ca02c03989d7913f03ae80415c30d4 | [] | no_license | wessamKoraim/University-Projects | e49d088d9bef17248e262c83d096708b0894d38a | f40690e1b159835c72ce4b5766d81d9b099f4c12 | refs/heads/master | 2021-07-14T03:02:09.888294 | 2019-12-14T00:00:44 | 2019-12-14T00:00:44 | 137,661,115 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,441 | cc | #include "is.h"
#include <iostream>
#include <cstring>
#include <cstdint>
#include <omp.h>
using namespace std;
typedef double double4_t __attribute__ ((vector_size (4 * sizeof(double))));
typedef struct
{
double h;
Result r;
}HelperStruct;
Result segment(int ny, int nx, const float* data)
{
Result resul... | [
"wesam.koraim@aalto.fi"
] | wesam.koraim@aalto.fi |
9c514bb35c1ac7a80e422ea5aa71cefd9395ee84 | db6472f1fb7f91aabf3dbc070ca102cd62819232 | /P126/ABCBank-0.3.2/ABCBank/BankServer/CMD/Transfer.cpp | 6f7cff0f38edab895ad447dbbe40bc6cab5d3dfe | [] | no_license | Jiwangreal/learn_cpp_with_me | 4d73c6948ab661a25e679fb28aa2fe23846a021b | 2aaf71899fbd1e1ea4bdc472133f7df41e8ab63b | refs/heads/main | 2023-05-05T22:46:13.528739 | 2021-05-30T10:49:31 | 2021-05-30T10:49:31 | 311,383,491 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,951 | cpp | #include "Transfer.h"
#include "../DAL/BankService.h"
#include "../../Public/Logging.h"
#include "../../Public/JUtil.h"
#include "../../Public/JInStream.h"
#include "../../Public/JOutStream.h"
using namespace PUBLIC;
using namespace CMD;
using namespace DAL;
void Transfer::Execute(BankSession& session)
{
JInStream... | [
"jiwangreal@163.com"
] | jiwangreal@163.com |
96fd8c1e1a0934cfd3d18c277d6acc8db03fd468 | deff4e4c4cd5888b35e8994c6aeb37e3affa863b | /!!6439_cross.cc | 5c859a77ebb8a51cdcf721defbdc21d427689a04 | [] | no_license | sonyy789/algospot | e3748ddba5392fcd7b4c6da4c7fc5f4a2c1c5b7d | 8ab295e01d7b576141530a7bd44438e112697249 | refs/heads/master | 2020-05-21T23:41:39.542936 | 2019-04-16T07:44:54 | 2019-04-16T07:44:54 | 48,023,987 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,787 | cc | #include <cstdio>
#include <algorithm>
using namespace std;
struct POINT{
int x, y;
bool operator <(const POINT &A)const{
return x == A.x?y<A.y:x<A.x;
}
};
POINT A,B,R[4];
int ccw(POINT P1, POINT P2, POINT P3){
int t = P1.x*P2.y+P2.x*P3.y+P3.x*P1.y-P1.y*P2.x-P2.y*P3.x-P3.y*P1.x;
return t<0?-... | [
"sonyy453@naver.com"
] | sonyy453@naver.com |
da452681b3201885062a008d184e7a3b45c60e93 | 83716a38c589e8bfccd7046daebb0227118c846c | /sscom_test1/widget.h | 05ade34a3649aefcc8c54c08567f24da370b4daa | [] | no_license | misc-song/QTPro | e3a5474d2a5174be1cb963daea7284d285ff8e1f | f988c919e8f02cb7816eabded1eea14f278c625b | refs/heads/master | 2021-07-21T09:14:55.735709 | 2017-10-31T19:10:14 | 2017-10-31T19:10:14 | 109,042,004 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 484 | h | #ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
#include <QtSerialPort/QSerialPort>
#include <QtSerialPort/QSerialPortInfo>
namespace Ui {
class Widget;
}
class Widget : public QWidget
{
Q_OBJECT
public:
explicit Widget(QWidget *parent = 0);
~Widget();
private slots:
void on_clearBtn_clicked();... | [
"wqshj@126.com"
] | wqshj@126.com |
c54c40581e3ae45b8c2e7b6e191dc9f2caf9694e | 07c61596c1fba2e2a7034fe5af9707794ea2e2c1 | /Leetcode/61/61.cpp | 012618d8279bb63ee47cfd9a48b09911241c1b32 | [] | no_license | H-Shen/Collection_of_my_coding_practice | 2fcb2f8fef9451ad4a3a9c063bbf6a34ea5966b4 | 6415552d38a756c9c89de0c774799654c73073a6 | refs/heads/master | 2023-08-24T21:19:08.886667 | 2023-08-22T03:47:39 | 2023-08-22T03:47:39 | 180,731,825 | 8 | 1 | null | 2021-08-13T18:25:25 | 2019-04-11T06:48:09 | C++ | UTF-8 | C++ | false | false | 957 | cpp | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode() : val(0), next(nullptr) {}
* ListNode(int x) : val(x), next(nullptr) {}
* ListNode(int x, ListNode *next) : val(x), next(next) {}
* };
*/
class Solution {
public:
ListNode* rotateRight... | [
"haohu3991@gmail.com"
] | haohu3991@gmail.com |
f35c1b8e60be1eeae8794d97b15857d777ff6886 | 043eb9b100070cef1a522ffea1c48f8f8d969ac7 | /ios_proj/wwj/Classes/Native/mscorlib_System_Array_InternalEnumerator_1_gen3404931059.h | b6f5e45343dd0f6009762d19d703a942b2fd0222 | [] | no_license | spidermandl/wawaji | 658076fcac0c0f5975eb332a52310a61a5396c25 | 209ef57c14f7ddd1b8309fc808501729dda58071 | refs/heads/master | 2021-01-18T16:38:07.528225 | 2017-10-19T09:57:00 | 2017-10-19T09:57:00 | 100,465,677 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,442 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_ValueType3507792607.h"
// System.Array
struct Il2CppArray;
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-of... | [
"Desmond@Desmonds-MacBook-Pro.local"
] | Desmond@Desmonds-MacBook-Pro.local |
c90f08e74636a8e22679dadedecf5f028ce73e1d | d29a3d35c2484e84743f1557c209e934880d2e74 | /src/122BestTimeToBuyAndSellStockII/122BestTimeToBuyAndSellStockII.cpp | 72a83b29bb0412013e21638d5d2575eec82021e8 | [] | no_license | rainliu/leetcode | 2e68dd4839ac55b1f16f519c67b526c7b773874c | 5b31ebcbdbe0caffce0a9b4833170eb040396066 | refs/heads/master | 2022-07-21T05:41:23.838958 | 2022-07-15T20:39:59 | 2022-07-15T20:39:59 | 30,811,637 | 12 | 1 | null | 2022-07-15T20:40:00 | 2015-02-14T23:06:26 | C++ | UTF-8 | C++ | false | false | 1,516 | cpp | #include <sstream>
#include <iostream>
#include <string>
#include <vector>
#include <stack>
#include <unordered_map>
#include <algorithm>
#include <limits>
using namespace std;
/*
https://oj.leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/
Say you have an array for which the ith element is the price of a gi... | [
"yliu@live.com"
] | yliu@live.com |
a5c808d01356be61495df2866776ef00ab77d6ed | 536656cd89e4fa3a92b5dcab28657d60d1d244bd | /third_party/blink/renderer/core/paint/inline_text_box_painter.cc | 97265da0b0ca358b3385c36c1fbc58489cf48947 | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | ECS-251-W2020/chromium | 79caebf50443f297557d9510620bf8d44a68399a | ac814e85cb870a6b569e184c7a60a70ff3cb19f9 | refs/heads/master | 2022-08-19T17:42:46.887573 | 2020-03-18T06:08:44 | 2020-03-18T06:08:44 | 248,141,336 | 7 | 8 | BSD-3-Clause | 2022-07-06T20:32:48 | 2020-03-18T04:52:18 | null | UTF-8 | C++ | false | false | 38,567 | 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.
#include "third_party/blink/renderer/core/paint/inline_text_box_painter.h"
#include "base/optional.h"
#include "third_party/blink/renderer/core/content_c... | [
"pcding@ucdavis.edu"
] | pcding@ucdavis.edu |
29bae16ee555ea839c08d1f88108e184dfa0dfc3 | 1cf71a114fc68752034582a5d4ea9330cd9b7ace | /SP4 GDT Team 10/AI/Source/UIMessagePopup.h | 40a88ae1ecaedaad73d1dbf8424e378b15d257de | [] | no_license | Tynk3r/2019sp4gdt | 19af09673f1ab468331d1ebd93061b13cc1caeec | 8889a96d66a8cd4bfd7f3b34b0976bdb61d34830 | refs/heads/master | 2020-04-22T02:51:27.359357 | 2019-02-28T13:03:25 | 2019-02-28T13:03:25 | 170,065,462 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 389 | h | #include "UIBase.h"
class UIMessagePopup : public UIBase
{
public:
UIMessagePopup(const std::string& text, float duration = 4);
~UIMessagePopup();
float fElapsedTime;
float fDuration;
virtual void Update(float dt);
private:
//Order of ui components matter
enum UI_STARTBUTTON_COMPONENTS {
COMPONENT_OUTLINEB... | [
"valencoen222@gmail.com"
] | valencoen222@gmail.com |
031a9b7325446f441bf0c58299c1a2fd3b81748e | 44aa39e7b0bf6216a7bdcb77a652eaf23d2fb178 | /05. Trees and graphs/06. Find Repeat, Space Edition BEAST MODE/findRepeat01.cpp | e9b5a982e24f54c99299a8a239056ddf3079cb95 | [] | no_license | cesar-magana/Interview-Cake | 8df9fa7fb994f40ea550e237669d228f0d75f4c6 | 64fa403b99944fab6c15433e8fff0a2307192e63 | refs/heads/master | 2022-07-31T14:29:25.304800 | 2020-05-19T22:57:57 | 2020-05-19T22:57:57 | 263,289,977 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,662 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <unordered_set>
// C++11 lest unit testing framework
#include "lest.hpp"
using namespace std;
unsigned int findRepeat(const vector<unsigned int>& numbers)
{
// find a number that appears more than once
unordered_set<unsigned int> seen;
... | [
"cesar.cpp@gmail.com"
] | cesar.cpp@gmail.com |
1eb2c164285102abbbc22438e4d268f1b65795c2 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /net/nqe/network_quality_observation.h | 9c5f954127996e034b1e0b1021658626ec59aa97 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 2,614 | h | // 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.
#ifndef NET_NQE_NETWORK_QUALITY_OBSERVATION_H_
#define NET_NQE_NETWORK_QUALITY_OBSERVATION_H_
#include <stdint.h>
#include <vector>
#include "base/opti... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
9a11660a58fa9bec5299f6bb78cd6540f55a4305 | 6a63a3b241e161d1e69f1521077617ad86f31eab | /cpp/include/ray/api/function_manager.h | 324b6539277c68aab3065800fdbe6a69205ceb32 | [
"MIT",
"BSD-3-Clause",
"Apache-2.0"
] | permissive | jovany-wang/ray | 47a9df67e8ea26337517d625df50eb0b8b892135 | 227aef381a605cb1ebccbba4e84b840634196a35 | refs/heads/master | 2023-09-03T23:53:00.050619 | 2022-08-20T21:50:52 | 2022-08-20T21:50:52 | 240,190,407 | 1 | 1 | Apache-2.0 | 2023-03-04T08:57:04 | 2020-02-13T06:13:19 | Python | UTF-8 | C++ | false | false | 11,783 | h | // Copyright 2017 The Ray Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | [
"noreply@github.com"
] | noreply@github.com |
394c280ca95ec8f792c1c515a275ceded5c43b27 | 6035e4b4bc25e5f87a2b5a44593b6fd7648a5794 | /ins_1.cpp | d1a6b8aebe85c8d6631b2515cca8d352d496638c | [] | no_license | pravgcet/progr_practice | 3e17ac08e08ce8ca2e47b2ed487bfd406ef56a5d | 5144514d1f14698f4f3d7bf1739d8760a896b530 | refs/heads/master | 2021-01-13T10:14:04.043798 | 2017-02-11T01:19:46 | 2017-02-11T01:19:46 | 81,659,326 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 870 | cpp | #include <map>
#include <set>
#include <list>
#include <cmath>
#include <ctime>
#include <deque>
#include <queue>
#include <stack>
#include <bitset>
#include <cstdio>
#include <vector>
#include <cstdlib>
#include <numeric>
#include <sstream>
#include <iostream>
#include <algorithm>
using namespace std;
void insertionSo... | [
"pravgcet@gmail.com"
] | pravgcet@gmail.com |
87cd86d12a64d2eb99ed8cc0d7e747ef5b562b62 | 9595d7ecb5422f0e5f3bb7c58f6ec39525484eda | /main.cpp | 45517a17205bd8d7481ee00ae0650ea6ecfabf1c | [] | no_license | flrl/basique | 2a2491778e91cbf76d7334675d5442f5116faeef | 939cd40b335592ce57d0d14418498cf52ca8989f | refs/heads/master | 2021-01-01T18:34:49.977836 | 2016-01-17T01:08:57 | 2016-01-17T01:08:57 | 955,656 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 392 | cpp | #include "interpreter.h"
basic::SymbolTable g_symbol_table;
int main (int argc, char * const argv[]) {
basic::Interpreter *interpreter = NULL;
if (argc > 1) {
// FIXME loop over input files
interpreter = new basic::Interpreter(argv[1]);
}
else {
interpreter = new basic::Interp... | [
"flrl@users.noreply.github.com"
] | flrl@users.noreply.github.com |
cd2b278a72cec4ef27ef2c8024159c474bbdfff5 | aa271b2ce9590aab3395b8a92c04af79519e34a3 | /src/test/writer/merlin_writer_unittest.cpp | af7cddfacb10d816206917df9030a9308d5f60aa | [] | no_license | comaniac/TheIR | 02244c51034662fe3e72be8a65e759a6b609d000 | 8023cce040193318395babb850bdd8e380b711f7 | refs/heads/master | 2021-01-19T07:57:32.152699 | 2017-04-10T06:16:51 | 2017-04-10T06:16:51 | 87,585,988 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,401 | cpp | #include <limits.h>
#include <fstream>
#include "../../../src/main/ds/DesignSpaceBase.h"
#include "../../../src/main/ds/DesignSpaceCont.h"
#include "../../../src/main/ir/schedule/Parallel.h"
#include "../../../src/main/writer/MerlinWriter.h"
#include "../../../src/main/writer/WriterBase.h"
#include "gtest/gtest.h"
usi... | [
"comaniac0422@gmail.com"
] | comaniac0422@gmail.com |
525af3dd98bbf4422712a164e499a8bcc9412fbf | 817ffc7318bb6c2bc3e08b5035641fe168ccd8a7 | /src/LookatCommand.cpp | 27d4403fe92f0d1c488e694912556a1c461a9eb5 | [] | no_license | JChang10-bit/graphics | a69d54d48adbc50f8ae18b72413fcc839a1902ec | 58073495119152f21902c3f5f1bf51a5b26ae182 | refs/heads/master | 2021-06-20T00:26:12.276569 | 2017-04-26T20:22:24 | 2017-04-26T20:22:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,610 | cpp | #include "LookatCommand.h"
#include "Matrix44.h"
#include "global.h"
#include "Vector3.h"
#include "Matrix44.h"
#include <iostream>
#include <cmath>
LookatCommand::LookatCommand(float fX, float fY, float fZ, float atX, float atY, float atZ, float upX, float upY, float upZ, CLI& mainCLI):
name("lookat"), fx(fX... | [
"davidyangrocs@gmail.com"
] | davidyangrocs@gmail.com |
c8422828a6cdc18da8012b65d7b27f9dcc9b4f07 | 38e6ff2865a460887921b7a23e6807f571e3611d | /5.Concurrency/1.Intro/LamdasThread.cpp | dea6874e68b175f7b807134025e8e80cc172595c | [] | no_license | ChrisProgramming2018/cppCourse | 437582422d5ef50bafe352168a97f165c5ed7864 | 5e44416ba15c7d081a274ab90d2cf342bf4403da | refs/heads/master | 2020-12-26T06:12:09.882412 | 2020-03-24T09:18:14 | 2020-03-24T09:18:14 | 237,413,076 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 860 | cpp | // Copyright 2020
// cpp course
// Author: Christian Leininger <info2016frei@gmail.com>
#include <iostream>
#include <thread>
int main() {
int id = 0; // Define an integer variable
// starting a first thread (by reference)
auto f0 = [&id]() {
std::this_thread::sleep_for(std::chrono::milliseconds(1... | [
"noreply@github.com"
] | noreply@github.com |
a5f227ae9ba37c80fd17662e003142b376420ca2 | 63c1ec9c41cf26122b79c7465d21c796d2497520 | /cpp/vector-example/examination.cpp | 8d5662fd3664a332cd6a068a9a9e75814dc0a72f | [] | no_license | xaratustrah/misc_code | 17870d70d8bcbdc568f6efb6e03752f83c58dc9b | ec2c3b8505543215e55dfc721be32a31943e46e0 | refs/heads/main | 2021-06-08T13:54:51.822401 | 2018-06-11T14:18:31 | 2018-06-11T14:18:31 | 25,710,112 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 544 | cpp | #include <string>
#include<iostream>
using namespace std;
#include "examination.h"
Examination::Examination()
{
title = "";
grade = 0;
}
Examination::Examination( string title )
{
this->title = title;
grade = 0;
}
string Examination::GetTitle()
{
return title;
}
void Examination:... | [
"shahab@zamail.de"
] | shahab@zamail.de |
bebf7aab255bc92c5dec18c70b68a9525f5c50de | a88aabedcb08fbce60906343d4993f8d32dda49c | /src/rsafactorize.cc | 3b924ef708d3a81e88ba5d23cb44a783eb618e75 | [] | no_license | cran/bigIntegerAlgos | 982ef7ba8895caaca45a15dcf744144e81200a67 | 6c0a251452a017c2d1c30464fc0243e6ddc8f8b7 | refs/heads/master | 2020-03-10T03:12:50.400889 | 2018-04-30T16:09:30 | 2018-04-30T16:09:30 | 129,158,317 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 16,677 | cc | /*!
* \file rsafactorize.cc
*
* \version 1
*
* \date Created: 10/06/17
* \date Last modified: Time-stamp: <2018-04-07 12:30:00 EDT jwood000>
*
* \author Joseph Wood
*
* \note Licence: GPL (>=) 2
*/
#include "quadraticsieve.h"
#include "rsafactorize.h"
#include "importExportMPZ.h"
#include <vector... | [
"csardi.gabor+cran@gmail.com"
] | csardi.gabor+cran@gmail.com |
b06c22ae3f34d4e0bfc34e8a5cd9a42b378aa7bf | d09945668f19bb4bc17087c0cb8ccbab2b2dd688 | /leetcode/biweekly/081-120/100/2594.cpp | 0003ac89a893582a08474963b94559f4bc464712 | [] | no_license | kmjp/procon | 27270f605f3ae5d80fbdb28708318a6557273a57 | 8083028ece4be1460150aa3f0e69bdb57e510b53 | refs/heads/master | 2023-09-04T11:01:09.452170 | 2023-09-03T15:25:21 | 2023-09-03T15:25:21 | 30,825,508 | 23 | 2 | null | 2023-08-18T14:02:07 | 2015-02-15T11:25:23 | C++ | UTF-8 | C++ | false | false | 1,007 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef signed long long ll;
#undef _P
#define _P(...) (void)printf(__VA_ARGS__)
#define FOR(x,to) for(x=0;x<(to);x++)
#define FORR(x,arr) for(auto& x:arr)
#define FORR2(x,y,arr) for(auto& [x,y]:arr)
#define ALL(a) (a.begin()),(a.end())
#define ZERO(a) memset(a,0... | [
"kmjp@users.noreply.github.com"
] | kmjp@users.noreply.github.com |
c950689bef05d8bde2aaa9303ade469d134e88f3 | ec8c4f8494f2248141daa3bdc59b657919907da8 | /Src/EBAMRElliptic/AMReX_NeumannConductivityDomainBC.H | 541e0ca7cf183ff8fa32a89dcc11dad7cfeb6eb4 | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | shashankNREL/amrex | a16cc19349115312b87c6a6af224b606fa2a352e | b50104b6c9e184129ddce1186266ba811da379b3 | refs/heads/master | 2021-04-15T03:53:24.704414 | 2018-03-01T16:45:32 | 2018-03-01T16:45:32 | 126,224,399 | 0 | 0 | null | 2018-03-21T18:36:41 | 2018-03-21T18:36:40 | null | UTF-8 | C++ | false | false | 2,365 | h | /*
* {_ {__ {__{_______ {__ {__
* {_ __ {_ {__ {___{__ {__ {__ {__
* {_ {__ {__ {__ { {__{__ {__ {__ {__ {__
* {__ {__ {__ {__ {__{_ {__ {_ {__ {__
* {______ {__ {__ {_ {__{__ {__ {_____ {__... | [
"dtgraves@lbl.gov"
] | dtgraves@lbl.gov |
ecd92db1b6d49f890e55b2d9d23c6cf761887dfa | 9d86667eb14bc51cc67f7747a1e6eab557f7f7d1 | /NMP/SegmentTree/2357_find_maxvalue_minvalue.cpp | 296b83ffe41a777b61db761886e69fa4f040830e | [] | no_license | kyc113212/BOJ | d84fbdf04a6412478cd10524828b4cc0b48a6c12 | 1aba37d08723c217049360ff3a6507a240624f68 | refs/heads/master | 2023-08-16T10:23:59.872869 | 2023-08-16T09:28:05 | 2023-08-16T09:28:05 | 198,989,751 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,650 | cpp | #include <iostream>
#include <cmath>
#include <vector>
#include <algorithm>
using namespace std;
int N, M;
vector<int> v;
vector<int> min_t, max_t;
void init_t(int start, int end, int node) {
if (start == end) {
min_t[node] = max_t[node] = v[start];
return;
}
int mid = (start + end) / 2;
init_t(start, mid,... | [
"noreply@github.com"
] | noreply@github.com |
87aa657334b721b7bbd49ad700c037f5a2110bed | 01310f3f4d3dfb427108c7582ee5288c30ca7da8 | /src/raspicam_test.cpp | d1a9a77c5c11e79a3216856f30c2a2e8afa01751 | [] | no_license | biswesh/planogram-integrity | 2517a335ff27478f8c7b132f63616da3252ce80f | d8add0c7d48ea7ea0eb0f6e4cf14fd32186e719c | refs/heads/master | 2021-01-19T23:24:55.644988 | 2017-04-18T15:46:34 | 2017-04-18T15:46:34 | 88,976,054 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,218 | cpp | #include <ctime>
#include <iostream>
#include <raspicam/raspicam_cv.h>
using namespace std;
int main ( int argc,char **argv ) {
time_t timer_begin,timer_end;
raspicam::RaspiCam_Cv Camera;
cv::Mat image;
int nCount=1;
//set camera params
Camera.set( CV_CAP_PROP_FORMAT, CV_8UC1 );
//Ope... | [
"biswesh@aimonk.com"
] | biswesh@aimonk.com |
711053ecc5a63722afd483f22443e3d855af444d | 54b66f71a0a9031ac9b09ae4d92fe3767e175f07 | /src/VertexBuffer.cpp | 600e6c64aeb16ad51c2b62379c643be12b16e9ca | [] | no_license | bindingofisaac/pix | fd63d32c22473a061153bd7b0f99a1badf298827 | 32896ed7bde980560d8136691ddd05fa5c40c135 | refs/heads/master | 2016-09-05T22:11:23.704876 | 2015-07-30T20:39:59 | 2015-07-30T20:39:59 | 38,706,922 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 583 | cpp | #include <VertexBuffer.hpp>
namespace Pix{
VertexBuffer::VertexBuffer(GLfloat *data, GLsizei count, GLuint componentCount) : m_ComponentCount(componentCount){
glGenBuffers(1, &m_VBO);
bind();
glBufferData(GL_ARRAY_BUFFER, count * sizeof(GLfloat), data, GL_STATIC_DRAW);
unbind();
... | [
"bindingofisaacs@gmail.com"
] | bindingofisaacs@gmail.com |
947260e515d87fcb55f529bf1ae377df38243e66 | d2361a5dddb1f5a4332ffc13eef6bed4f6b66ca1 | /cpp_piscine/day06/ex01/main.cpp | c05fe5bfc9c7b27b769bcf687253893967fd528e | [] | no_license | costae/42_first_projects | b00fee7a684a247628671ce412f18c405c04eb2c | 309460972822582f5606190412650a34735fcc28 | refs/heads/master | 2021-03-22T00:11:51.018365 | 2017-12-12T16:23:09 | 2017-12-12T16:23:09 | 114,004,753 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 809 | cpp | #include <iostream>
#include <ctime>
#include <cstdlib>
#include <string>
struct Data
{
std::string s1;
int n;
std::string s2;
};
void *serialize(void)
{
static char list[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890";
Data *ret = new Data();
for(int i=0; i<8; i++)
ret->s1 += list[rand()... | [
"cmiron@e1p47.chisinau.42.fr"
] | cmiron@e1p47.chisinau.42.fr |
f8516547d88ea461430a1a267d8e86c7feac96b4 | ed86c63aa8bad7ebc2eb39da851b013617683edc | /Code/Warrior.hpp | 570d05a98f3b208c7b846f96977a35e5dbd35d0b | [] | no_license | emilysteiner71/character_build | 04808e787bb1c0ff7d1aa6bf090a221eaf4bf594 | f0cb406b9a4d5c0196aa34cc688ae3aa7193fa3d | refs/heads/master | 2023-01-19T15:29:09.138330 | 2020-11-28T01:49:00 | 2020-11-28T01:49:00 | 296,502,994 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 444 | hpp | #ifndef WARRIOR_HPP_
#define WARRIOR_HPP_
#include "Person.hpp"
#include <string>
#include <vector>
class Warrior: public Person {
private:
int warriorScore;
public:
Warrior(const std::string &name, int age);
virtual characterBuild getCharacterBuild() const;
void setWarriorDefa... | [
"emilysteiner@Bert-The-Turtles-macbook-pro.local"
] | emilysteiner@Bert-The-Turtles-macbook-pro.local |
c0804e7d8ad6ad85827bafca2d44d20267def98b | 7198abd2110f631653dc1ac3ed569b0d8136fe2e | /video_player/videowidget.h | aeb45f5ec522d9dc110cb08a51049d2c000263d3 | [] | no_license | xuqingjia1/audio_video | f5a5945959fec5c60b8b5a2080b41404ebca64bb | 85486d5ce46ad158720979e6ebd660ec26e5d380 | refs/heads/main | 2023-07-29T14:43:34.608090 | 2021-09-19T14:49:17 | 2021-09-19T14:49:17 | 368,381,795 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 575 | h | #ifndef VIDEOWIDGET_H
#define VIDEOWIDGET_H
#include <QWidget>
#include <QImage>
#include "videoplayer.h"
class VideoWidget : public QWidget
{
Q_OBJECT
public:
explicit VideoWidget(QWidget *parent = nullptr);
~VideoWidget();
public slots:
void onPlayerFrameDecoded(VideoPlayer *player,uint8_t *data... | [
"xuqingjia@xuqingjiadeMacBook-Pro.local"
] | xuqingjia@xuqingjiadeMacBook-Pro.local |
21932d07b899137bda86e07a8307683135495678 | 4c6fd789ede23abb32f4aa3a59a1c8b87f3a3511 | /BojaySFIS/BojaySFISDlg.cpp | e2238f2c0b9daff7958d75f87d68d714b9cffb7f | [] | no_license | HanoiGuo/BoJay-SFIS | b8db03303ce37ce43ecc3a81cee572325656ff50 | e36776347b604cecc2df8657f1cd0d0d4588224c | refs/heads/master | 2021-01-17T06:12:17.941445 | 2016-04-05T01:41:19 | 2016-04-05T01:41:19 | 49,415,307 | 0 | 0 | null | 2016-04-05T01:41:20 | 2016-01-11T09:23:10 | C++ | GB18030 | C++ | false | false | 9,288 | cpp |
// BojaySFISDlg.cpp : implementation file
//
#include "stdafx.h"
#include "Resource.h"
#include "BojaySFIS.h"
#include "BojaySFISDlg.h"
#include "afxdialogex.h"
#include <fstream>
#include "DBAdo.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
CDBAdo m_dbDemo;
string itemName[32];
vector<CString>customer;
vector<stri... | [
"guoruishigood@163.com"
] | guoruishigood@163.com |
b7ea5a51819d0bf80c513745e3f2b345295468d0 | 65549d29e1595c26a57b2137c0c1c77ac4ae142b | /B-BOS Backup/backup/OSV 8/OSV/kernel.cpp | d1b753f35b29bca7a8536ee495a0a0ccb34e2035 | [] | no_license | Bradon-Barfuss/B-BOS-Bradon-Barfuss-Operating-System | 05bfb42ad044ca4a30b45a4478d8d7f883c5f6cf | 9556266fd85782bbc64fa4a05dae30f9b9a9aa26 | refs/heads/master | 2023-03-05T18:12:25.656689 | 2023-02-24T19:10:55 | 2023-02-24T19:10:55 | 262,191,622 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,293 | cpp | #include "types.h"
#include "gdt.h"
#include "std/print.h"
#include "std/len.h"
#include "Interrupts/interrupt.h"
#include "drivers/driver.h"
#include "drivers/keyboard.h"
#include "drivers/mouse.h"
void printf(char* str){ // This is a printf function, taking the pointer or position of the current char
uint16_t*... | [
"bradonbarfuss@gmail.com"
] | bradonbarfuss@gmail.com |
c62ec5041980430cd3c6b4ac7d1d64dc2932dff6 | 8a6f96f2c86292699109db3b624f38e29953d69f | /src/masternodeman.h | 94f4a9a9252e0a185731962e98fddabec2b88469 | [
"MIT"
] | permissive | Dgikar/MN-Browsing-Coin | 485cace82b2fe80b8827033d245d4325edc47106 | a7b5a647c34481ff15a37eaede44a2c463b6d189 | refs/heads/master | 2020-04-28T17:01:42.221304 | 2019-02-07T15:56:34 | 2019-02-07T15:56:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,669 | h | // Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017-2018 The MN Browsing Coin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef MASTERNODEMAN_H... | [
"46704511+MNBrowsing@users.noreply.github.com"
] | 46704511+MNBrowsing@users.noreply.github.com |
92eaceec6b4ca2de078e59a68780741c2fb75817 | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/chromium_org/third_party/WebKit/Source/web/default/WebRenderTheme.cpp | 0ffd2c9249f772a83adeac4d0c266e56c182f55d | [
"MIT",
"GPL-1.0-or-later",
"LGPL-2.0-or-later",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 1,918 | cpp | /*
* Copyright (C) 2010 Joel Stanley. 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 condit... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
446e131658cd545fe11e81bc992dae99b2647c0a | 86609148aee683f1a2f92f9ab5c073b4c29380e4 | /utils/dnp3_src/cpp/libs/src/opendnp3/app/IINValue.h | cf85bc094fd7ce9b903583e570920d60f6404773 | [
"Apache-2.0"
] | permissive | thiagoralves/OpenPLC_v3 | 16ba73585ab6b4aff7fb3e0f6388cf31f7aa2fce | cf139121bc15cb960a8fad62c02f34532b36a7c7 | refs/heads/master | 2023-08-07T06:55:19.533734 | 2023-07-19T15:33:35 | 2023-07-19T15:33:35 | 137,387,519 | 817 | 370 | null | 2023-09-14T03:09:01 | 2018-06-14T17:15:49 | C++ | UTF-8 | C++ | false | false | 1,283 | h | /*
* Licensed to Green Energy Corp (www.greenenergycorp.com) under one or
* more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
* Green Energy Corp licenses this file to you under the Apache License,
* Version 2.0 (the "Lic... | [
"thiagoralves@gmail.com"
] | thiagoralves@gmail.com |
a517936c4df615a69dd766bfdc660f1955bc4f39 | f626dbd0d37ea81a703830ab406e8e6a5abd4b0a | /Gunz/ZGameInput.cpp | 1fe44a5eea8c368ff4c92869f9665812fdb10be4 | [] | no_license | celestialkey/SRC | 074be88320324b6b799a7b1af19f7a89e7708d90 | c286d588604e6d987e22a302cc02dd2293fa7a2f | refs/heads/main | 2023-04-30T09:40:28.430868 | 2021-05-28T10:16:23 | 2021-05-28T10:16:23 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 23,640 | cpp | #include "stdafx.h"
#include "ZGameInput.h"
#include "ZApplication.h"
#include "ZGameInterface.h"
#include "ZGame.h"
#include "ZConfiguration.h"
#include "ZActionDef.h"
#include "Mint.h"
#include "MEvent.h"
#include "MWidget.h"
#include "ZGameClient.h"
#include "ZCombatInterface.h"
#include "ZConsole.h"
//#include "MA... | [
"justintinblake@gmail.com"
] | justintinblake@gmail.com |
b283ca8e36979536fa2cdbee7b0ac2b68226c1ab | 6c1d7976b43be4de8b3fe472fea8ef50f461ce44 | /aieBootstrap-master/PhysicsProject/Box.h | 8376b90a60f1b607d4bc0bce562478ce945c40ec | [
"MIT"
] | permissive | JustinKatic/PhysicsProject | 4b1ed92429522c3949899e91512eb2aadb9c993a | 29c84a07adcb90ad538b5b141cd8c5088bc7c6e1 | refs/heads/main | 2023-03-04T01:31:00.589052 | 2021-02-17T01:43:48 | 2021-02-17T01:43:48 | 335,802,354 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 936 | h | #pragma once
#include "RigidBody.h"
class Box : public RigidBody
{
public:
Box(glm::vec2 a_position, glm::vec2 a_velocity, float a_rotation, float a_mass, float a_width, float a_height);
Box(glm::vec2 a_position, glm::vec2 a_velocity, float a_rotation, float a_mass, float a_width, float a_height, glm::vec4 a_color);
... | [
"justinkatic4@gmail.com"
] | justinkatic4@gmail.com |
05bf6b96d230704fa18dc5306cf2dbf61a56109c | 3c8cf4de6c08e21b2c10094ef20488e93d7a34be | /TktkUtilityLib/Tktk3dCollisionLib/inc/Tktk3dCollision/BoundingSphere.h | 19db665b287e8f24b33a26514b67074d10987bb3 | [] | no_license | tktk2104/TktkLib | 07762028c8a3a7378d7e82be8f1ed8c6a0cdc97c | 2af549bfb8448ace9f9fee6c2225ea7d2e6329b8 | refs/heads/master | 2022-11-30T12:26:33.290941 | 2020-08-11T17:50:14 | 2020-08-11T17:50:14 | 213,307,835 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 675 | h | #ifndef BOUNDING_SPHERE_H_
#define BOUNDING_SPHERE_H_
#include "Body3dBase/Body3dBase.h"
class AxisAlignedBoundingBox;
// 球体
// ※楕円体ではない
class BoundingSphere
: public Body3dBase
{
public:
BoundingSphere(
float radius,
const Vector3 & localPosition = Vector3::zero
);
// 衝突判定
bool isCollide(const Body3dBase... | [
"taka.lalpedhuez@2104.gmail.com"
] | taka.lalpedhuez@2104.gmail.com |
61bfc9963ace444872b5b648f563c172d164123f | ca9cac516d14f27ecbdeffd23f7d6fbd581558b9 | /Blackjack/Dealer.cpp | 40dfa781de156d85c0be1a1a39f36363f8b321e7 | [] | no_license | srepper/Blackjack | 7e2f75df7d7dee82a7381d4c182f1dcfeb52fc2d | bc6e14a1d6c1466119fa2f190a7feab9626b8093 | refs/heads/master | 2020-04-02T19:43:30.451776 | 2016-07-03T03:50:45 | 2016-07-03T03:50:45 | 62,480,386 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,005 | cpp | #include "Dealer.h"
Dealer::Dealer(SDL_Surface *surface)
{
pot = 0;
score = 0;
handPos = 0;
busted = false;
dealerLabel = new MyLabel("Dealer:", 20, 130);
lblScore = new MyLabel("", 105, 130);
lblPot = new MyLabel("", SCREEN_WIDTH/2 - 50, 185);
lblBust = new MyLabel("BUST", 25, 50);
lblBust->setColorRed();
... | [
"s.repper@yahoo.com"
] | s.repper@yahoo.com |
6a99b2d8f4e9bfef9969b914b2e87f102c55b6e5 | 6cabb3a28013758e71c3cfab530762d49b89785b | /Offline contest (36)/river/river.cpp | 4fcec536502ab7b9b0dcee09372608a236f0c216 | [] | no_license | TreeYD/Code | 2caeccbebd1330fd51373fc46aafd6804c9446bf | 1e16ccc80cf36af3728f3ca172e4ab86402e4d8e | refs/heads/master | 2020-04-01T22:47:06.318221 | 2018-10-31T11:37:19 | 2018-10-31T11:37:19 | 153,726,191 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 823 | cpp | #include<bits/stdc++.h>
using namespace std;
#define MaxL 10003005
int A[105],m;
bool mark[MaxL];
int S,T,Len;
template<typename T>void Min(T &x,T y){if(x>y)x=y;}
struct P70{
int dp[MaxL],Q[MaxL];
void solve(){
int L=0,R=0;
Q[++R]=0;
memset(dp,63,sizeof(dp));
dp[0]=0;
for(int i=1;i<=m;i++)
mark[A[i]]=1;
... | [
"672713702@qq.com"
] | 672713702@qq.com |
34f9e7bad711e916565e932653f8ae0ef3a0e922 | 45a8ea04a90c26b93df3d7b6af5b2b67ad09bfac | /wrappers/lazy_ptr.hpp | 9410c4208c6f33b86f7e1b8ea75623e3da3478b8 | [] | no_license | runouw-dev/util.wrapperscpp | 9ec6741c43ef0ea6aab1b92eec1706310845c8f1 | f4bd66faa7f6658a40257975375d8f5532c715c5 | refs/heads/master | 2021-01-23T10:56:20.230468 | 2017-06-02T00:31:42 | 2017-06-02T00:31:42 | 93,111,051 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,178 | hpp | #pragma once
#include <functional>
#include <memory>
namespace wrappers {
template <class T>
class lazy_ptr {
private:
std::unique_ptr<T> _instance;
std::function<T()> _constructor;
bool _init;
public:
lazy_ptr(const std::function<T()>& constructor) :
_instance(nullptr),
_constructor(constructor),
... | [
"zmichaels11@gmail.com"
] | zmichaels11@gmail.com |
b210d2b50bcca30d7ff01e7af6114c6999af0b1e | c0ea9dfd2ac29b9756bbc78679c5a90b469a6d7e | /pwnable_kr/uaf/my_uaf.cpp | a6707e39fb97491810deda7b4c4e65989e306ce1 | [] | no_license | ssdemajia/writeup | a6c98a926ffdfa31193e4e31c1ee9563dbff6f31 | c574a38c69fd10f90bbd02f80134c91730a37e3f | refs/heads/master | 2020-08-12T17:41:34.802823 | 2019-10-18T06:21:37 | 2019-10-18T06:21:37 | 214,811,593 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 216 | cpp | #include <stdio.h>
#include <string>
class Test {
int age;
std::string name;
};
int main() {
Test* t = new Test();
delete t;
Test* t2 = new Test();
printf("%p - %p\n", t, t2);
delete t2;
} | [
"2chashao@gmail.com"
] | 2chashao@gmail.com |
7beb760c4a1d54d9f041383a3f941a6047b1310a | eac24fbc91fcd353c8996346972639f27bc3197c | /rei/rei_recognition_nodes/include/rei_recognition_nodes/filter/filter_block.hpp | 8d02b7c88ecd321681eb066012e12f73961ba63a | [
"BSD-3-Clause"
] | permissive | Forrest-Z/hotaru_planner | 3e05ae864d6dc6f46b5b23b3441a4de4dcbdd149 | 04070d58e72bd9d94c50c15ef3447ffdb40ce383 | refs/heads/master | 2023-01-10T01:43:29.113939 | 2020-10-01T14:22:11 | 2020-10-01T14:22:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 287 | hpp | /*
* filter_block.hpp
*
* Created on: Sep 9, 2020
* Author: kyberszittya
*/
#ifndef INCLUDE_REI_RECOGNITION_NODES_FILTER_FILTER_BLOCK_HPP_
#define INCLUDE_REI_RECOGNITION_NODES_FILTER_FILTER_BLOCK_HPP_
#endif /* INCLUDE_REI_RECOGNITION_NODES_FILTER_FILTER_BLOCK_HPP_ */
| [
"noreply@github.com"
] | noreply@github.com |
665c0d7ec2ca15197e415acf46855aedd201ceed | 2cfc8e8694e2115995e259151e320ad8bc64ed08 | /Robot_ws/devel/include/more_custom_msgs/Hve_Write_Params.h | 94c370a64d2f62db9ad69ef4d9f2d18901c7580c | [] | no_license | thilina-thilakarathna/robot_ws | d31e6ea82758b91dbf3a8045faedcf0e8a283ca1 | 094854a54b88eb3690f77710739dc2fe7d22b6f8 | refs/heads/master | 2023-01-10T15:17:51.400625 | 2019-08-28T18:59:21 | 2019-08-28T18:59:21 | 187,395,119 | 0 | 0 | null | 2023-01-07T09:10:06 | 2019-05-18T19:00:30 | Makefile | UTF-8 | C++ | false | false | 7,049 | h | // Generated by gencpp from file more_custom_msgs/Hve_Write_Params.msg
// DO NOT EDIT!
#ifndef MORE_CUSTOM_MSGS_MESSAGE_HVE_WRITE_PARAMS_H
#define MORE_CUSTOM_MSGS_MESSAGE_HVE_WRITE_PARAMS_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/built... | [
"ltjt.thilina@gmail.com"
] | ltjt.thilina@gmail.com |
3c992e9ff8c157a396b4707c68f16752ce1e2a36 | 06988b0d37e030b91b13b24774017a12ac8f09fb | /MQWeb/include/MQ/Web/Dictionary.h | 7b60cc811547546b04952895aba220adf36c3a68 | [
"MIT"
] | permissive | fbraem/mqweb | d28b7b2791054217087a7625e77b108e31985673 | a8aefb129ec08b3e408b6bd93a871c2a8bf36169 | refs/heads/master | 2021-12-24T18:51:22.154241 | 2019-03-25T09:08:32 | 2019-03-25T09:08:32 | 6,764,663 | 19 | 8 | null | 2013-11-27T13:30:16 | 2012-11-19T17:54:14 | C++ | UTF-8 | C++ | false | false | 5,203 | h | /*
* Copyright 2017 - KBC Group NV - Franky Braem - The MIT license
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy... | [
"franky.braem@gmail.com"
] | franky.braem@gmail.com |
867ec01915736b4db56183e0ed25014eb5a66340 | c3e9f2f91b2c02cee249aa5948ea0f6ef899db7c | /libraries/AdaDHT11/DHT.cpp | 4e5582e42bf7dc7171dfe060599fa057c2219964 | [] | no_license | VincentGijsen/all_energia_stuff | 42fae3efded2e76caf6ebc743d871698debc15d0 | a4a0154663259aff437fdca3ede1b01a3c2f9ddf | refs/heads/master | 2021-01-15T18:09:11.498451 | 2013-08-08T17:51:48 | 2013-08-08T17:51:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,174 | cpp | /* DHT library
MIT license
written by Adafruit Industries
*/
#include "DHT.h"
DHT::DHT(uint8_t pin, uint8_t type) {
_pin = pin;
_type = type;
firstreading = true;
}
void DHT::begin(void) {
// set up the pins!
pinMode(_pin, INPUT);
digitalWrite(_pin, HIGH);
_lastreadtime = 0;
}
//boolean S == Scale. ... | [
"vincent@sciencerockstars.com"
] | vincent@sciencerockstars.com |
f36914dd174cd826aba3ea29c13da5e6df3beb7f | 31b6a4c30aa02652658a8499c0202ddb226cf36d | /main_resize.cpp | 9829047a767efed31112545a7056ba8d2752252b | [] | no_license | myxxxsquared/totalpreprocess | c59c36ee32ed91356e165d29663118aafa5a9687 | 18ae41af01f52e60a9730c1257687a40221ba176 | refs/heads/master | 2021-05-06T13:55:21.776141 | 2018-01-13T12:57:09 | 2018-01-13T12:57:09 | 113,293,752 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 550 | cpp |
#include "data.hpp"
#include "process.hpp"
#include "resize.hpp"
int main_resize(int argc, char* argv[])
{
if(argc != 7)
throw "useage: totalpreprocess resize size image polygon output beginid";
int size = atoi(argv[2]);
const char* imagefile = argv[3];
const char* polyfile = argv[4];
con... | [
"zhang_a_a_a@outlook.com"
] | zhang_a_a_a@outlook.com |
d472b9ed24ac43c2da35a8d097249aedbd235e8a | bc6da89a05bacaae60d951379452c9f987bb47ba | /plugins/Dfusion/src/OutFile.cpp | 5617175f8257b6b043c12d4f7db2230ba0195235 | [
"Zlib",
"MIT",
"BSD-2-Clause",
"LicenseRef-scancode-public-domain"
] | permissive | quietust/dfhack-23a | fb351d05515c6e6d0542fb04759d2af2aaa68119 | dcd03430fb3b3beba4b7ffd8ae6ae35f4bf0ec9a | refs/heads/master | 2023-01-31T03:54:23.314605 | 2023-01-10T02:54:36 | 2023-01-10T02:54:36 | 6,946,231 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,484 | cpp | #include "OutFile.h"
#include <stdexcept>
using namespace OutFile;
File::File(std::string path)
{
//mystream.exceptions ( std::fstream::eofbit | std::fstream::failbit | std::fstream::badbit );
mystream.open(path.c_str(),std::fstream::binary|std::ios::in|std::ios::out);
if(mystream)
{
mystr... | [
"Warmist@gmail.com"
] | Warmist@gmail.com |
887ee36f90cc486f27b3088e2ea62da4047689b8 | 22624712561a9e4d687f46368af83ab70b3c4584 | /glGame2/TexturedModle.cpp | d503ec0b94df221d21152792478313bf740637bc | [] | no_license | JakeI/PlaneteSimulator | 6554325b66fff44765c999a50d59f40a8ff49ec6 | 5a5cafe7a76fd575e4dadc6cc8a9088982561c04 | refs/heads/master | 2020-12-13T22:36:27.724900 | 2016-09-27T17:41:26 | 2016-09-27T17:41:26 | 68,303,422 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,769 | cpp | #include "TexturedModle.h"
void TexturedShaderProg::LoadUniformID() {
matrixID = glGetUniformLocation(ProgrammID, "MVP");
}
void TexturedShaderProg::start(GLuint vao, GLuint vboXYZ, GLuint vboUV, GLuint tbo) {
glBindTexture(GL_TEXTURE_2D, tbo);
glBindVertexArray(vao);
glEnableVertexAttribArray(0);
glBindBuffe... | [
"j.illerhaus@live.de"
] | j.illerhaus@live.de |
65c89dfb43775d13cf7144df41f0d8353dab0e92 | 610dfa590d5863e9465cc5a07a2045c9ee0c9385 | /src/Externals/tinyxml/tinystr.h | 275e76a9a18f0b28075c0a619d84da749b12dd14 | [
"Zlib"
] | permissive | SCI-ElVis/ElVis | f275322dea593ed39c4771b072399573819624c0 | 7978b5898ef7d0a0f7711c77dda0e69167716efa | refs/heads/master | 2021-01-01T06:18:45.390678 | 2015-10-19T09:00:23 | 2015-10-19T09:00:23 | 8,036,991 | 14 | 4 | null | 2020-10-13T00:43:47 | 2013-02-05T20:11:59 | C++ | UTF-8 | C++ | false | false | 8,776 | h | /*
www.sourceforge.net/projects/tinyxml
Original file by Yves Berquin.
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any
damages arising from the use of this software.
Permission is granted to anyone to use this software for any
purpose, in... | [
"dillonl@sdcenter.utah.edu"
] | dillonl@sdcenter.utah.edu |
dbd6a5695ca2a9dd0263978438258c109c6d8cd7 | 9da899bf6541c6a0514219377fea97df9907f0ae | /Developer/MaterialUtilities/Private/MeshRendering.cpp | 2c49156abafe86552f145835a1343bc889cdad9d | [] | no_license | peichangliang123/UE4 | 1aa4df3418c077dd8f82439ecc808cd2e6de4551 | 20e38f42edc251ee96905ed8e96e1be667bc14a5 | refs/heads/master | 2023-08-17T11:31:53.304431 | 2021-09-15T00:31:03 | 2021-09-15T00:31:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,014 | cpp | // Copyright Epic Games, Inc. All Rights Reserved.
/*=============================================================================
MeshRendering.cpp: Mesh rendering implementation.
=============================================================================*/
#include "MeshRendering.h"
#include "EngineDefines.h"
#i... | [
"ouczbs@qq.com"
] | ouczbs@qq.com |
8c716bda74a77db828e6e365cb348553dc060e11 | a4bc6065ab865ca85750f86a2055ecd55b5f493f | /football/main.cpp | 3b62050db79f664b76f53cb384cbab9fb45c35de | [] | no_license | fmrafi/graphic | 9f8e1ba1aa6e7e8187ebb890d72e1a3e9b201a61 | b32c46eb72b391d0eeb492f6f282fd77cce79a40 | refs/heads/master | 2020-04-21T15:54:59.218697 | 2019-02-08T04:15:04 | 2019-02-08T04:15:04 | 169,683,260 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,935 | cpp | /*
* GLUT Shapes Demo
*
* Written by Nigel Stewart November 2003
*
* This program is test harness for the sphere, cone
* and torus shapes in GLUT.
*
* Spinning wireframe and smooth shaded shapes are
* displayed until the ESC or q key is pressed. The
* number of geometry stacks and slices can be adjusted
* u... | [
"FMRafi.vu51@gmail.com"
] | FMRafi.vu51@gmail.com |
a85998c52df39a84ab8c0c43e2c76c6032432e71 | 0e4de7b8dc768e39c051a006e18bfcf90008d502 | /DKApps/SDL2RendererRml/GifAnimate.h | dfed79d22afb2043896fc220a3df3e4c0b429b42 | [] | no_license | aquawicket/DKTestApps | a35e2f391e80f53e2d431a05904882e97d7d9d00 | 813ceb3504569ce0f672d7fab465adbc5ed3009c | refs/heads/master | 2023-03-05T13:29:08.102269 | 2022-06-02T14:51:55 | 2022-06-02T14:51:55 | 83,649,975 | 1 | 0 | null | 2022-06-02T14:51:56 | 2017-03-02T07:48:46 | C++ | UTF-8 | C++ | false | false | 1,828 | h | /*
* This source file is part of RmlUi, the HTML/CSS Interface Middleware
*
* For the latest information, see http://github.com/mikke89/RmlUi
*
* Copyright (c) 2008-2010 Nuno Silva
* Copyright (c) 2019 The RmlUi Team, and contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a c... | [
"aquawicket@hotmail.com"
] | aquawicket@hotmail.com |
f8d1a2f8718205739c53aeb257ee250bea58f395 | 58c9c52e545f748304f20a4dd9a81d0047f1991a | /Project/Dev_class11_handout/Motor2D/GuiWindow.h | 781841ae9ee803390c1f5fdfb5a2b7bbc9b0efe6 | [
"Apache-2.0"
] | permissive | cleancoindev/The-Legend-of-Zelda-Hyrule-Conquest | 8122c94386e90062672a0c1629969246e287e91c | af954426efce06937671f02ac0a5840e5faefb0e | refs/heads/master | 2021-06-27T13:44:45.120044 | 2017-09-16T14:54:46 | 2017-09-16T14:54:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 539 | h | #ifndef __GUIWINDOW_H__
#define __GUIWINDOW_H__
#include "Gui.h"
class GuiWindow : public Gui
{
public:
GuiWindow(iPoint position, SDL_Rect* rect, bool has_background, bool movable, AddGuiTo addto);
~GuiWindow();
void Update(const Gui* mouse_hover, const Gui* focus);
void Draw();
void push_back_item(Gui* newite... | [
"yotolivenza@gmail.com"
] | yotolivenza@gmail.com |
a138f2dc4b57524887b1e0c06a038c99f2974b14 | 9258eea7b49238df4bf69189e3b5dd9fd9c34633 | /mohfa_bearbeitbar/motor.cpp | 56270709d9122bd2d89f1ea7617f225365d2f359 | [] | no_license | flmiot/MoHFA | 103532533ed1e934954d5535333f8f97bd09de89 | d84e6a3923806355f83c8a9327888659014f3d32 | refs/heads/master | 2021-01-09T06:11:14.473155 | 2017-02-04T17:14:53 | 2017-02-04T17:14:53 | 80,934,084 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,049 | cpp | #include "motor.h"
Motor::Motor( int MAX_STEPS, int DirPin, int StepPin, int SleepPin, int ResetPin, int MS1Pin ) :
_MAX_STEPS(MAX_STEPS),
_set_point(_MAX_STEPS / 2),
_actual_value(_MAX_STEPS / 2),
_pin_dir(DirPin),
_pin_step(StepPin),
_pin_sleep(SleepPin),
_pin_reset(ResetPin),
_pin_ms1(MS1Pin),
_pi... | [
"noreply@github.com"
] | noreply@github.com |
520d2af23105bfd32ec1d67fa54a1990f022feb3 | 46f9f7f2595768ec48f8636e9b70ada23c6304ab | /4四、对象和类(基础)/2.对象拷贝以及分离声明与实现.cpp | 4627daabcf9ed3adfac99a67bcff3cf8919b4396 | [] | no_license | ChaselWu/CPP-Learning | 66acd173f427c468a3de8612f93e7dfd083b93f3 | e54bf403f35b78ec58385d23c074c32b8aa0c36c | refs/heads/master | 2023-04-02T01:02:39.976446 | 2021-04-10T10:09:48 | 2021-04-10T10:09:48 | 340,542,261 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,140 | cpp | //1.class is a type类是一种类型
//2.member copy
/*
1)use assignment operator =
2)默认情况下,每个数据域都被拷贝的对应部分
*/
//3.匿名对象
/*
有时需要创建一个只用一次的不命名对象,称之为匿名对象
*/
//4.结构体:C++中,结构体已被class取代
//5.局部类和嵌套类
/*
局部类是在一个函数中声明的类
嵌套类是在另一个类中声明的类
*/
//6.分离
/*
1)C++中类声明和类实现可以分离为两个文件:
.h:类声明
.cpp:类实现
??????????... | [
"2590549807@qq.com"
] | 2590549807@qq.com |
e5f89fcb0724137f4632a8d52e546e984ecaf0a0 | db6663b1fc2af0ca9290968deb4b23549f9dc1d2 | /solution/daal_lenet.h | 4ead90f387480e6ec4b643bacd0da041426c4151 | [] | no_license | daaltces/daal_lenet | 64ae9dc8f6de3e33d95f60ad8b457d350cb41afe | bae66c36d08635369d030c07d0f40999b42c980b | refs/heads/master | 2021-01-11T18:10:17.200075 | 2017-01-19T20:26:53 | 2017-01-19T20:26:53 | 79,491,434 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,241 | h | /* file: daal_lenet.h */
/*
// INTEL CORPORATION PROPRIETARY INFORMATION
// This software is supplied under the terms of a license agreement or
// nondisclosure agreement with Intel Corporation and may not be copied
// or disclosed except in accordance with the terms of that agreement.
// Copyright ... | [
"intel.daal@intel.com"
] | intel.daal@intel.com |
74a474c54c953e9bf61d5cf473a5673e8c43396f | f66a33f8cdd8286320da730be67c89ee00d83d8d | /src/arch/x86/pseudo_inst_abi.hh | 05bf66f5f24e8e88db7054065726ccc94c4305fa | [
"BSD-3-Clause",
"LicenseRef-scancode-proprietary-license",
"LGPL-2.0-or-later",
"MIT"
] | permissive | H2020-COSSIM/cgem5 | 0d5812632757e6146f7852c9bf4abe4e9628296a | 1222cc0c5618875e048f288e998187c236508a64 | refs/heads/main | 2023-05-13T14:08:01.665322 | 2023-05-08T08:39:50 | 2023-05-08T08:39:50 | 468,039,890 | 3 | 2 | BSD-3-Clause | 2022-10-12T14:29:33 | 2022-03-09T18:05:40 | C++ | UTF-8 | C++ | false | false | 3,352 | hh | /*
* Copyright (c) 2020 The Regents of the University of California.
* All rights reserved.
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to intellectual property relating
* to a ha... | [
"ntampouratzis@isc.tuc.gr"
] | ntampouratzis@isc.tuc.gr |
11c0affea5a22aba3b2ece1af263e4dd06a6ccc3 | 19b21d10eddf671e8575837cfd7194ce35a3b402 | /Renderium/src/Engine/EngineWindow/RenderiumWindow.h | fcdcec299b4031e232b27dbceebb6614001c90b1 | [] | no_license | mastari/Renderium | df6eb350945bb24368e4abab0d70e6cced99f91d | 5385a9a1acc03748850358a5905d854e5848094e | refs/heads/master | 2020-05-16T07:30:57.427672 | 2019-05-01T13:07:27 | 2019-05-01T13:07:27 | 182,881,014 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 456 | h | #pragma once
#include "../Engine.h"
#include <iostream>
#include "../../ContextDevice/ContextDevice.h"
class RenderiumWindow {
public:
RenderiumWindow(std::string name, GLint width, GLint height, bool resizable);
GLFWwindow* getContext();
GLint getWidth();
GLint getHeight();
std::string getTitle();
private:
GLi... | [
"arikatz.d@gmail.com"
] | arikatz.d@gmail.com |
270ac23c2ddd71e58b3053367f712be238905d6d | 06a6e2759828d4397956e65d17cec04f30470f51 | /src/basis/Renderer.cpp | 1347bdc935677035240118ed79b36d9b1ba1ba64 | [] | no_license | findorlolz/PhotonMaping | ff0e4262d425c21a997617606b1c66e793ecb7e0 | 3812dcb8f19c6db8b3d3caa572cd83cfab5185f9 | refs/heads/master | 2021-01-02T09:14:13.583713 | 2014-04-27T22:45:42 | 2014-04-27T22:45:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,630 | cpp | #include "Renderer.h"
#include "RayTracer.h"
#include "3d/Texture.hpp"
#include "Memory.h"
#include "Sampling.h"
void Renderer::startUp(FW::GLContext* gl, FW::CameraControls* camera, AssetManager* assetManager)
{
std::cout << "Starting up the Renderer..." << std::endl;
m_context = gl;
m_assetManager =... | [
"niklas.smal@aalto.fi"
] | niklas.smal@aalto.fi |
89c1f0bf75fd7ccb66b01a3ec57b3aabd6d92647 | ec8f839f1563e58cbbd6e14f60849943335183d1 | /Assets/StreamingAssets/Audio/GeneratedSoundBanks/Wwise_IDs.h | ee482d03c3d6b1a2ff896ee5a05f18d1b7f9fd2a | [] | no_license | jameskanCa/WezardRushMain | 3ec9e0114ca86ae3d4444e8fe9d9517c4a5a7b0a | 0befd46890b17561bdcf6fdf155f75beae267224 | refs/heads/master | 2020-04-14T09:38:44.507214 | 2019-01-01T20:58:44 | 2019-01-01T20:58:44 | 163,764,876 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,735 | h | /////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Audiokinetic Wwise generated include file. Do not edit.
//
/////////////////////////////////////////////////////////////////////////////////////////////////////
#ifndef __WWISE_IDS_H__
#define __WWISE_IDS_H__
#... | [
"james0077721@hotmail.com"
] | james0077721@hotmail.com |
10c9ed1d557ce884a96416b5fa042e2b17753a84 | bdfd435e25ca9496dcfce054b4be6636b5064bb2 | /src/DispatchThread.cpp | f7db1d7061526f1bbeb39ed303d6187819615434 | [] | no_license | KatekovAnton/DispatchCpp | 83baca62eb7b7944b4d6d9cd6466ed5072b3c301 | c98d8923af5bf416761cbcbd47e124c1da964a82 | refs/heads/master | 2023-04-15T01:40:53.330659 | 2021-04-15T13:25:52 | 2021-04-15T13:25:52 | 316,879,082 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,268 | cpp | //
// DispatchThread.cpp
// DispatchCpp
//
// Created by Katekov Anton on 24/10/20.
// Copyright © 2020 AntonKatekov. All rights reserved.
//
#include "DispatchThread.hpp"
DispatchThreadStatistic &DispatchThread::GetStatistic()
{
static DispatchThreadStatistic s;
return s;
}
DispatchThread::DispatchThre... | [
"void0main@gmail.com"
] | void0main@gmail.com |
a1766e4fb909d42ac08300abf0bdc5e899becb89 | e18075c755573e4718b88ff07795fe208202a4b0 | /Abhi_test1/Abhi_test1OLD.cpp | 64e1c018e7a5ffc1bac7073eec65e662d24d879d | [] | no_license | spagad7/CVLab | 19deb2010d2657d230f461af24dfeae783b8a05d | 49ba0de2bdbf4ff4237f0d9a0a4703acc2edeb77 | refs/heads/master | 2021-01-13T05:23:32.891082 | 2017-02-24T03:30:51 | 2017-02-24T03:30:51 | 81,402,308 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,420 | cpp | /**
* @example Acquisition.cpp
*
* @brief Acquisition.cpp shows how to acquire images. It relies on
* information provided in the Enumeration example. Also, check out the
* ExceptionHandling and NodeMapInfo examples if you haven't already.
* ExceptionHandling shows the handling of standard and Spinnaker excepti... | [
"shishir.pagad@gmail.com"
] | shishir.pagad@gmail.com |
7c523bedbb599cd3876022180a0ed3a798b69474 | 000729986ff4c193b5d1b5f9c10ba724e5462537 | /Game/Scripts/Block.h | 6bd6be4b32636f8bcd68f965608628f4f58b8666 | [
"Apache-2.0"
] | permissive | resul4e/Runtime-Recompiled-CPP | 62376440098f711252f123771ad3396b43c8e797 | ef0c8918782b67a431cf7dc0e9a2f2770f8bed67 | refs/heads/master | 2022-02-07T04:35:26.765359 | 2022-02-03T18:42:30 | 2022-02-03T18:42:30 | 248,596,599 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,218 | h | #pragma once
#define _SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING
#include "Core/Object.h"
#include "Transform/Vector.h"
class Block : public Object
{
public:
Block(){};
virtual ~Block(){};
virtual void Start() override;
virtual void Setup(glm::vec2 aPos) {};
virtual void Restart() override;
virtual vo... | [
"resul_celik@hotmail.com"
] | resul_celik@hotmail.com |
1a175b537d6cce4b6d3d22bb8c4f878b01764395 | a8a11d555d37c33dd1fbafc9cbf705728e6ec4f3 | /MFCA4-0323-0/MFCA4-0323-0/MFCA4-0323-0.h | 714988295a60788fa7e8e9d41ad170c20076967a | [] | no_license | youhavegot/Test | fe451b6a48afe52ceb51fe481bd74032807c35ce | 6eec3cec505bb76003c8c4ebadbf04188c499c84 | refs/heads/master | 2021-07-17T22:00:32.130183 | 2021-07-12T11:04:59 | 2021-07-12T11:04:59 | 244,651,749 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 545 | h |
// MFCA4-0323-0.h : MFCA4-0323-0 应用程序的主头文件
//
#pragma once
#ifndef __AFXWIN_H__
#error "在包含此文件之前包含“stdafx.h”以生成 PCH 文件"
#endif
#include "resource.h" // 主符号
// CMFCA403230App:
// 有关此类的实现,请参阅 MFCA4-0323-0.cpp
//
class CMFCA403230App : public CWinApp
{
public:
CMFCA403230App();
// 重写
public:
virtual BOOL ... | [
"gechentiande@qq.com"
] | gechentiande@qq.com |
6c8608d8d512e06c30e27e7af1a71097f54a3e2a | b71b8bd385c207dffda39d96c7bee5f2ccce946c | /testcases/CWE590_Free_Memory_Not_on_Heap/s01/CWE590_Free_Memory_Not_on_Heap__delete_array_int_declare_09.cpp | afbb12b6acbccd5328cf71117ebfdbe60bf1512b | [] | no_license | Sporknugget/Juliet_prep | e9bda84a30bdc7938bafe338b4ab2e361449eda5 | 97d8922244d3d79b62496ede4636199837e8b971 | refs/heads/master | 2023-05-05T14:41:30.243718 | 2021-05-25T16:18:13 | 2021-05-25T16:18:13 | 369,334,230 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,483 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE590_Free_Memory_Not_on_Heap__delete_array_int_declare_09.cpp
Label Definition File: CWE590_Free_Memory_Not_on_Heap__delete_array.label.xml
Template File: sources-sink-09.tmpl.cpp
*/
/*
* @description
* CWE: 590 Free Memory Not on Heap
* BadSource: declare Data buffer ... | [
"jaredzap@rams.colostate.edu"
] | jaredzap@rams.colostate.edu |
95553dc21e408d6723d54f350a1dd1e00ca69309 | b3b87531e4e23fe3bf7008169064d57950186235 | /PrototypeFightEngine/PrototypeFightEngine/prototypefightengine/GameManager.cpp | ec83602a55eb6eb24487d98c676cfc6b08e4489d | [] | no_license | MrChuckchucky/FightEngine_DEVIENNE_BRUN | fced705a438c9e69fb81971910b31e5fb47cff6f | 0d7f806ad3ac62633d9be364a2bb26d605a09997 | refs/heads/master | 2021-01-10T16:26:58.264941 | 2016-01-12T21:45:46 | 2016-01-12T21:45:46 | 49,530,901 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 977 | cpp | #include "stdafx.h"
#include "GameManager.h"
#include "PlayerManager.h"
#include "AbstractCharacter.h"
GameManager* GameManager::instance = nullptr;
GameManager::GameManager()
{
}
GameManager::~GameManager()
{
}
GameManager * GameManager::getInstance()
{
if (instance == nullptr)
{
instance = new GameManager();... | [
"b.devienne@rubika-edu.com"
] | b.devienne@rubika-edu.com |
acb9353fe69e4c4906e73a972d06faba79aff34b | 5814f77b77a24802773357a79838392da1102061 | /dep/include/mygui/MyGUI_OverlappedLayer.h | f0bd458b3c534f4ecd2310e39e7404e1d5602242 | [] | no_license | rudolf123/gibdd | 1080bd3e94c580ddde09256c93f7b64685504f11 | 947e667ace82b827a01d479afc729b0957b78647 | refs/heads/master | 2021-01-01T06:49:51.391362 | 2013-11-14T06:04:41 | 2013-11-14T06:04:41 | 32,856,697 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 2,061 | h | /*!
@file
@author Albert Semenov
@date 02/2008
@module
*/
/*
This file is part of MyGUI.
MyGUI 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 3 of the License, or
(at... | [
"rudolf123@narod.ru@6270124d-f72d-35ae-a914-af412bf1d36c"
] | rudolf123@narod.ru@6270124d-f72d-35ae-a914-af412bf1d36c |
45678f5916566e17128ecbc38ad059cd2b684456 | a81ad9fcba58121eb6c20bb6c2acc99f2b4c7874 | /src/controller/archive/cellmemento.cpp | 4cad2072111bad1b5bb52e0a1b65ffe1097a1677 | [] | no_license | dkamakin/OOP | 34cdef74ccfc1517b4b54f4444e9abae7cb58382 | 6e438a08c623533f6e6053b89604cc2f5f88f6a2 | refs/heads/main | 2023-02-08T16:18:57.996429 | 2020-12-23T05:49:26 | 2020-12-23T05:49:26 | 316,035,364 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 440 | cpp | #include "controller/archive/cellmemento.h"
CellMemento::CellMemento(Point2D coords, CellType type, size_t object, bool passable) :
coords_(coords), type_(type), object_(object), passable_(passable) {}
Point2D& CellMemento::getCoords() {
return coords_;
}
CellType& CellMemento::getType() {
return type_;
... | [
"cursedowguy@gmail.com"
] | cursedowguy@gmail.com |
864f43096333a68dd9e11482e62393c5445e7e00 | e159bf4dcc05fcbf4837f4b9aeeb0083c47f20ae | /include/unstruc/block.h | 7b106fddd10c1bab099e538bd0d89e3070bd4665 | [] | no_license | drewkett/unstruc | d0ccf9a36d4187da939f370af833b08df9e9dcb6 | 4d42cbc2693232a64988dde2a8c9f2f7414f0b5f | refs/heads/master | 2022-02-13T04:16:57.296595 | 2022-02-07T03:06:15 | 2022-02-07T03:06:15 | 27,942,404 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 537 | h | #ifndef BLOCK_H_17859E7C_9108_4D1B_8805_3FA4F71F11EF
#define BLOCK_H_17859E7C_9108_4D1B_8805_3FA4F71F11EF
#include <vector>
#include "point.h"
namespace unstruc {
struct Grid;
struct Block {
size_t size1, size2, size3;
std::vector <Point> points;
Block(size_t s1, size_t s2, size_t s3);
Point at(size_t i,... | [
"burkett.andrew@gmail.com"
] | burkett.andrew@gmail.com |
b9147329869d6496ef11c4789a382e058a5fa006 | f0207698f6b85cf4a5de59145629bdd6357bb1d0 | /example_cmake/frame2.cpp | eb5fc806cd8a9f3c17b43776e292d32a5ac60214 | [] | no_license | KimMJ/raspberryPi | d7930c8a7b549b118ba3e8d6745432122f67274c | 81e98244cd0a6263106bb8af7ee298aa4790cda2 | refs/heads/master | 2018-12-20T15:07:02.119639 | 2018-09-19T07:05:28 | 2018-09-19T07:05:28 | 125,629,894 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,141 | cpp | #include <highgui.h>
#include <cv.h>
int g_slider_position = 0;
CvCapture* g_capture = NULL;
void onTrackbarSlide(int pos)
{
cvSetCaptureProperty(
g_capture,
CV_CAP_PROP_POS_FRAMES,
pos
);
}
int main(int argc, char** argv)
{
cvNamedWindow("Example", CV_WINDOW_AUTOSIZE);
g_capture = cvCreateFileCapture(arg... | [
"ss59s@nate.com"
] | ss59s@nate.com |
56f54041f8e349114b7890d29581e06a87530e3b | af46c38cf1e425e46a34f8f74f0cacfad2030837 | /hxemu/src/ui/button.h | 4adee6d710fa9ce0d76f3cc9ea89061d2228996a | [
"MIT"
] | permissive | hx20er/HXEmu | 4b233bad42633386f7dfff5aef61801cfd557022 | 9764886879309d58cde125aeb0d3523a8983c17a | refs/heads/master | 2020-03-27T03:46:38.817915 | 2015-01-29T09:18:51 | 2015-01-29T09:18:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 515 | h | #ifndef __BUTTON_H__
#define __BUTTON_H__
#include "widget.h"
#include <functional>
class CButton : public CWidget {
public:
CButton(const char *c, int x, int y, int w, int h);
~CButton();
virtual bool update();
virtual void draw(SDL_Surface *dest);
virtual void mouseup(int x, int y);
void set_caption... | [
"frigolit@frigolit.net"
] | frigolit@frigolit.net |
411c84f59c5d9b2ddc9b687d797eff09888461f6 | 22a0106720df168e5d0f42df9d649cc5c4c098c6 | /aa.cpp | ae9a6ff934809343a7ac3af04bc8ced1309a1280 | [] | no_license | ledsar/lagi | 0faa536766aa10fc2f7859369a3352103b376f62 | 9cd2f6bcebb1514fa9a42c3e07e25e473a4e4912 | refs/heads/master | 2020-05-30T18:35:38.316896 | 2015-05-01T09:00:41 | 2015-05-01T09:00:41 | 34,893,504 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10 | cpp | class Aa;
| [
"desreverliamesserdda@yahoo.com"
] | desreverliamesserdda@yahoo.com |
19ccc1631d883309f867a606e5341cb236fe5866 | 9a3b9d80afd88e1fa9a24303877d6e130ce22702 | /src/Providers/UNIXProviders/BGPRoutingPolicy/tests/BGPRoutingPolicy.Tests/UNIX_BGPRoutingPolicyFixture.cpp | 6db55d49915aa6eb92911e04bd2725c044f9711d | [
"MIT"
] | permissive | brunolauze/openpegasus-providers | 3244b76d075bc66a77e4ed135893437a66dd769f | f24c56acab2c4c210a8d165bb499cd1b3a12f222 | refs/heads/master | 2020-04-17T04:27:14.970917 | 2015-01-04T22:08:09 | 2015-01-04T22:08:09 | 19,707,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,471 | 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... | [
"brunolauze@msn.com"
] | brunolauze@msn.com |
10076d9b1a2e5e023cfd7026bb7d593d2980bb16 | ab3e1070934f7e1f6011fda6ff3013aecbb7a04a | /BackToOrigin/origin_check.cpp | 23165f396d2ef5e0c7930dd6bab74bb15dd56108 | [] | no_license | Chubek/CodingChallenges | 43fe117aaa8143e5c7f693d5c76563e824f401ae | cd2cccde512b0ce7af05b5764f7e81e16d623ded | refs/heads/master | 2020-04-06T07:07:39.036746 | 2019-07-28T17:53:19 | 2019-07-28T17:53:19 | 62,030,561 | 8 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 604 | cpp | #include <iostream>
#include <string>
bool back_to_origin(const std::string &moves)
{
signed int vector[] = {0, 0};
for (auto &c : moves)
{
switch (c)
{
case 'U':
vector[1] += 1;
break;
case 'D':
vector[1] -= 1;
... | [
"noreply@github.com"
] | noreply@github.com |
c9199a46a381454bbb240ad10051931495bafd6f | 702e1a904dcc4b94696c5c972224e35a054d87f6 | /Client/Headers/MainApp.h | 18486fc15d3203791ad13a4608d3904552e1b4eb | [] | no_license | KFGD/Graduation_Project_DOD | e27dafa94204d85ff141f00cd7fdc02a440984de | 4386b492f1e7dce354585ed298e35de010b763dc | refs/heads/master | 2023-01-31T18:15:31.849603 | 2020-12-15T06:01:31 | 2020-12-15T06:01:31 | 285,205,998 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 855 | h | #pragma once
#include "Base.h"
#include "Defines.h"
#include "Client_Defines.h"
// System
class GraphicDevice;
class InputDevice;
class ModeController;
class CameraController;
class KeyManager;
class MainApp final :
public Base
{
private:
explicit MainApp();
virtual ~MainApp() = default;
private:
bool Initial... | [
"kky960105@naver.com"
] | kky960105@naver.com |
3f1ef80e7eca2c8b92e43bdda6868143548e42e4 | 794e7fb625ed41880f035360652347c5303e1319 | /StellarFay/StellarFay/SourceCode/ObjMeshShaderWrapper.cpp | f5abbc7ea508043cb75e3b4a25b145c0257712dc | [] | no_license | Rikuya-Matsuo/SF | 15c63045db883e127bcc591381a20613bb9157a1 | 20c61cc40547d4248fa1002d3bf46c748c332bfc | refs/heads/main | 2023-05-17T10:52:02.875239 | 2021-06-07T06:13:51 | 2021-06-07T06:13:51 | 357,021,501 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,056 | cpp | #include "ObjMeshShaderWrapper.h"
#include "GameSystem.h"
#include "Renderer.h"
Shader * ObjMeshShaderWrapper::mObjMeshShader = nullptr;
ObjMeshShaderWrapper::ObjMeshShaderWrapper(Shader * shader)
{
if (!mObjMeshShader)
{
mObjMeshShader = RENDERER_INSTANCE.GetShader("Shaders/ObjMesh.vert", "Shaders/ObjMesh.frag"... | [
"felid.codas@gmail.com"
] | felid.codas@gmail.com |
f6e985d3340df64ae56de6b68d8bd63c41be6ef6 | 3b8ce6f63eb7155851776832c8d427f03005d732 | /LineTracer.cpp | ee5906d05e3f845c9554dd64fc5ac169ceabfd64 | [] | no_license | nenikitov/RayCaster | 510ada77e32103814d5ee6bddb4d9c6040fc795f | d5e0111153295a3fab013e372425021a7c94885d | refs/heads/main | 2023-03-31T04:40:40.313768 | 2021-04-01T14:07:39 | 2021-04-01T14:07:39 | 350,783,437 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,479 | cpp | #include "LineTracer.h"
#include <corecrt_math_defines.h>
LineTracer::LineTracer(Level& level) : level(level)
{
}
Intersection LineTracer::findIntersection(double startX, double startY, double rotation)
{
const unsigned int tileSize = this->level.getTileSize();
const double tn = tan(-rotation * M_PI / 180);
const ... | [
"nenikitov@mail.ru"
] | nenikitov@mail.ru |
2182bb98522a32d8a8056f554e83cad116d5ddac | 46d4712c82816290417d611a75b604d51b046ecc | /Samples/Win7Samples/netds/winsock/rnr2/rnrcs.cpp | 05b55077597aaf65e93f6cca6dd2cb5c83e205a8 | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | ennoherr/Windows-classic-samples | 00edd65e4808c21ca73def0a9bb2af9fa78b4f77 | a26f029a1385c7bea1c500b7f182d41fb6bcf571 | refs/heads/master | 2022-12-09T20:11:56.456977 | 2022-12-04T16:46:55 | 2022-12-04T16:46:55 | 156,835,248 | 1 | 0 | NOASSERTION | 2022-12-04T16:46:55 | 2018-11-09T08:50:41 | null | UTF-8 | C++ | false | false | 50,763 | cpp | //----------------------------------------------------------------------------
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyri... | [
"chrisg@microsoft.com"
] | chrisg@microsoft.com |
0f8d3a450d0d9df578a53cc21a6a2e916d35ab4b | 086dd8c69ed54e534cc8665284e0dc2b75a1f3ac | /proj/zadatak1/src/Not.cpp | e63261d9ff76ea3bb9091e795b72c362e42c4346 | [] | no_license | uros117/system_software_project | bb9d7cc8cedbfd816045307af59d36c59bd65289 | e473f24e5387c095623933d0a8bb705621f135e4 | refs/heads/main | 2023-08-28T21:10:09.836837 | 2021-11-06T17:31:50 | 2021-11-06T17:31:50 | 425,303,355 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 214 | cpp | #include "Not.hpp"
Not::Not(unsigned int number, Argument* a1) : Instr(number, 2, "not", a1, nullptr) {
}
void Not::pass1() {
}
void Not::pass2() {
regRegInstrPass2(0b10000000, *this);
}
Not::~Not() {
}
| [
"uros@programmer.net"
] | uros@programmer.net |
bf3cf20d933ef62e7a118385e250fb7944122138 | dc29086e666691d3d1f1371708ca860c7393fd8f | /libWorld/src/libEngine/shaderManager.h | db9907d5976d5ac4f7df20850714fc43453fda07 | [] | no_license | preboy/9DayGame | acb9ee02500a7a6a8b3470d4c6adbfbd517c442a | 4947b402e5e9e9cd430ea178b8bf6debc05abbf4 | refs/heads/master | 2021-01-11T14:11:59.060933 | 2017-02-10T14:46:12 | 2017-02-10T14:46:12 | 81,573,914 | 0 | 0 | null | null | null | null | MacCentralEurope | C++ | false | false | 602 | h | #pragma once
#include "shader.h"
namespace LibEngine
{
class ShaderManager
{
public:
friend class VertexLayoutManager;
ShaderManager();
~ShaderManager();
bool Init(RenderDevice_DX11* pRenderDeviceDx11);
void Release();
public:
// š÷»ĺtexture;
VertexS... | [
"preboy@126.com"
] | preboy@126.com |
292263b28467b9fdf8fa2393bd03e0604d9362f5 | 01837a379a09f74f7ef43807533093fa716e71ac | /src/utils/xulrunner-sdk/nsIDOMHTMLTableCaptionElem.h | bac20819846a0c4423788e1f685738e9195e5a2e | [] | no_license | lasuax/jorhy-prj | ba2061d3faf4768cf2e12ee2484f8db51003bd3e | d22ded7ece50fb36aa032dad2cc01deac457b37f | refs/heads/master | 2021-05-05T08:06:01.954941 | 2014-01-13T14:03:30 | 2014-01-13T14:03:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,130 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/moz2_slave/rel-m-rel-xr_w32_bld-000000000/build/dom/interfaces/html/nsIDOMHTMLTableCaptionElem.idl
*/
#ifndef __gen_nsIDOMHTMLTableCaptionElem_h__
#define __gen_nsIDOMHTMLTableCaptionElem_h__
#ifndef __gen_nsIDOMHTMLElement_h__
#include "nsIDOMHTMLElement.h"... | [
"joorhy@gmail.com"
] | joorhy@gmail.com |
1e96aab2b501896458c5f7a6b63cc063b9f96310 | fa0a015d219472594f6e6a3b8692d2da0deeeb56 | /Game1.2/Player.h | 09beb684c94b89dc85f6b644229042890d01ed89 | [] | no_license | gabrielbuiar/TecProgGame | c80257b789010940671e8f8d96c0aaf3609a64c8 | efa4c4ca11580167c42c7d71562d5c6f387f85e3 | refs/heads/master | 2020-04-05T10:02:22.277027 | 2018-11-09T00:35:09 | 2018-11-09T00:35:09 | 156,785,537 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 318 | h | #pragma once
#include "Character.h"
class Player : public Character
{
public:
Player(const char* textureFile = NULL, float speed = 0, float jumpHeight = 0);
~Player();
void InitializePlayer(sf::Vector2f position, sf::Vector2f size, const char* textureFile, sf::Vector2u imgCount, float speed, float jumpHeight);
}; | [
"gabrielbuiar@gmail.com"
] | gabrielbuiar@gmail.com |
a7128b384539008395fc6fe31a16ae2a2c816f45 | 5bfe56b2b62a5496d07f3521bf34091a92c2ee75 | /todo/LocalStorage.h | a27bc959b9dbda7a3267a4878360648169fdc240 | [
"MIT"
] | permissive | AnotherFoxGuy/ogre-angelscript | d4dd0f09cfd111779ebd46691e9db14020862130 | 375d523dc3fa797a6df1ccd2814f1c8add121309 | refs/heads/master | 2021-01-20T18:20:48.665946 | 2016-06-18T15:01:32 | 2016-06-18T15:01:32 | 61,438,193 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,901 | h | /*
-----------------------------------------------------------------------------
This source file is part of OGRE-angelscript
For the latest info, see http://code.google.com/p/ogre-angelscript/
Copyright (c) 2006-2011 Thomas Fischer
Permission is hereby granted, free of charge, to any person obtaining a copy
of this... | [
"edgar@anotherfoxguy.com"
] | edgar@anotherfoxguy.com |
be74f66d1e64a2a09d5de6b59ce1b80dc4a10c8e | e641bd95bff4a447e25235c265a58df8e7e57c84 | /mojo/core/node_channel_unittest.cc | e89f5a13bb02a33c9243e1a3cdd83d98d583f2f1 | [
"BSD-3-Clause"
] | permissive | zaourzag/chromium | e50cb6553b4f30e42f452e666885d511f53604da | 2370de33e232b282bd45faa084e5a8660cb396ed | refs/heads/master | 2023-01-02T08:48:14.707555 | 2020-11-13T13:47:30 | 2020-11-13T13:47:30 | 312,600,463 | 0 | 0 | BSD-3-Clause | 2022-12-23T17:01:30 | 2020-11-13T14:39:10 | null | UTF-8 | C++ | false | false | 2,585 | cc | // Copyright 2020 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 "mojo/core/node_channel.h"
#include "base/callback_helpers.h"
#include "base/memory/scoped_refptr.h"
#include "base/message_loop/message_pump_ty... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
53829d4f635a6bca51b9378b9b7d19e087f4c1d8 | e663b38ddc5e2f42570e9a6c0f09fa0b624a71c1 | /Medium/UVa_10141_Inspection.cpp | 5764efb993ad26e0ad7f03b8f30b17eb9df98e3f | [] | no_license | alpharmike/competitive_programming | 8f615b5b80ab4d40a0a9ceed708d56d7b404cdcb | fa1ed06d6dc94b40473cf6289f4273ee93db0044 | refs/heads/master | 2022-11-26T11:23:14.136545 | 2020-08-01T14:19:52 | 2020-08-01T14:19:52 | 282,989,089 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 952 | cpp | #include <iostream>
using namespace std;
int main() {
int n, p, counter;
char proposal[100];
counter = 0;
char requirement[100];
while (scanf("%d %d", &n, &p) && n && p) {
printf("RFP #%d\n", counter + 1);
for (int i = 0; i < n; ++i) {
scanf("%s", requirement);
... | [
"ec.moeini01@gmail.com"
] | ec.moeini01@gmail.com |
488c7017b22991413c501adb2c8c4313efce5f70 | b1461525494f3cae26a7ea2f7dd4a665b92419cd | /ml/full_connected_layer.cpp | 13c21f1943c29dd006c72ef137638ed964b86f41 | [] | no_license | seaslee/rome | a9a19f0eade0831f5c93c9f87047f2c61682a178 | efcf55a0d5976361e4d7d249c81c26bddb2e9bd1 | refs/heads/master | 2021-01-21T05:21:27.826176 | 2017-04-23T02:49:09 | 2017-04-23T02:49:09 | 83,178,579 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,604 | cpp | #include "full_connected_layer.h"
#include "layer_factory.h"
#include "../matrix/random.h"
namespace snoopy {
namespace ml {
template<typename DataType>
void FCLayer<DataType>::init_spec_layer(const vector<Blob<DataType> *> & input_blob,
const vector<Blob<DataType> *> & output_blob) {
//check
siz... | [
"xxinchao@gmail.com"
] | xxinchao@gmail.com |
29dcb54acd403821e5ef4778f2175544ca7acd92 | 8c91366c2119e88d34ddb036b0fcce724038b986 | /reciever_with_gps.ino | e445bed6a981548ae8d6abe342bcda508c114256 | [
"MIT"
] | permissive | srijanshetty/arduino-sketches | f239d464edc7e1ce89b3ec83abb3819ffe477772 | 1d627700f8930f1f2bec250d7b59db4ce7ed6f6c | refs/heads/master | 2021-01-10T03:43:23.302429 | 2016-04-03T10:19:37 | 2016-04-03T10:19:37 | 55,341,093 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,438 | ino | #include <VirtualWire.h>
#include <TinyGPS.h>
#include <SoftwareSerial.h>
#define SENSOR_PIN 8
#define GARAGE "0"
#define FIRST "1"
#define SECOND "2"
#define THIRD "3"
#define RXPIN 2
#define TXPIN 3
TinyGPS gps;
SoftwareSerial nss( RXPIN, TXPIN );
cha... | [
"srijan.shetty@gmail.com"
] | srijan.shetty@gmail.com |
fa77e47f3e169747ebe4b3cb4f99e0f414b1c13a | 9ded4c4fc135c2154ea85bc6a8fb4dcf2ce84863 | /codejam/Rotate.cpp | 310df22672a847fe5cfc89b202da3ff1cea7ecc8 | [] | no_license | yanhuanwang/codekata | 5389a1e958c7c2d79582098b89a26648dcc188ba | 9369f7461ddcc731b318bc701b2f17ad2990f285 | refs/heads/master | 2016-09-06T01:17:37.255599 | 2014-06-19T12:31:06 | 2014-06-19T12:31:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,036 | cpp | //#include <cstdio>
//#include <cstdlib>
//#include <memory.h>
//#include <algorithm>
//#include <string>
//#include <map>
//#include <set>
//#include <vector>
//#include <cmath>
//#include <queue>
//#include <cassert>
//#include <iostream>
//using namespace std;
//#define PI 3.14159265358979323846264338327950288
//voi... | [
"martin.yan.seu@gmail.com"
] | martin.yan.seu@gmail.com |
8b19335714d9a27989a137491343b6643ee3282f | 7904a752a66bd5beda02e879ae1f1538adb7e15c | /modules/temporaltreemaps/src/processors/treemeshgeneratortopo.cpp | a839c5a93940cf17154da16bf9c0a519c50092fb | [] | no_license | Wiebke/TemporalTreeMaps | 8f9c595e9a36138031d06d08452886af4d4577b0 | 0a23b4f0f41481c64ccbbce0f9d13bdf3f8647b5 | refs/heads/master | 2021-06-27T06:13:19.998639 | 2020-10-26T19:20:50 | 2020-10-26T19:20:50 | 172,705,518 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,799 | cpp | /*********************************************************************
* Author : Tino Weinkauf and Wiebke Koepp
* Init : Monday, December 11, 2017 - 19:50:26
*
* Project : KTH Inviwo Modules
*
* License : Follows the Inviwo BSD license model
**************************************************************... | [
"wiebke.koepp@googlemail.com"
] | wiebke.koepp@googlemail.com |
8b874ec6204aa7ccb050397696439b895e61b76e | 47a509cfd0d669320a32e86d45485294d77380e0 | /ObjOrientedProgramming/Furniture/Furniture/Furniture.h | bd37d942abf7048e7f61c33a4b8d6f0004f8d9e2 | [
"MIT"
] | permissive | JinnnnH/LearningProgress-Cpp | de4ba401cd0ed830c24259fdffc8df1cd2afdb5f | de7b9d037aa0b5e1ec8199b4eabfcd1e24c73bcb | refs/heads/master | 2022-11-27T04:22:56.979272 | 2020-08-04T05:44:56 | 2020-08-04T05:44:56 | 276,496,543 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 586 | h | // Lab 7-1
// Furniture.h
#ifndef FURNITURE_H_
#define FURNITURE_H_
#include <iostream>
#include <iomanip>
using namespace std;
class Furniture
{
private:
string brand;
int yearMade;
public:
//constructors
Furniture()
{
brand = "";
yearMade = 0;
}
Furniture(string b, int y)
{
bran... | [
"noreply@github.com"
] | noreply@github.com |
cbd680695a1e78d797ae0a51937d13f133745270 | 2f10f807d3307b83293a521da600c02623cdda82 | /deps/boost/win/debug/include/boost/geometry/algorithms/detail/equals/collect_vectors.hpp | 7370baa381a07d73a4222523cdf4f733d2d84853 | [] | no_license | xpierrohk/dpt-rp1-cpp | 2ca4e377628363c3e9d41f88c8cbccc0fc2f1a1e | 643d053983fce3e6b099e2d3c9ab8387d0ea5a75 | refs/heads/master | 2021-05-23T08:19:48.823198 | 2019-07-26T17:35:28 | 2019-07-26T17:35:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 130 | hpp | version https://git-lfs.github.com/spec/v1
oid sha256:9b32952a226b5365bda5a98a020b66d61dd0f930aaa95ad24f3439cfea2f0d20
size 17346
| [
"YLiLarry@gmail.com"
] | YLiLarry@gmail.com |
b1f1586dd2ad3d4d212ecdbbaba08442b1623f32 | d8c149edd5b614afa1ca531eb1198aa143a5e049 | /src/ZcloudMsgPopup/ActivityWidget.cpp | 20af54bde7bee14770cdcfcd0b669aaa671bda6e | [] | no_license | gispda/ZcloudDesk | ecb9d08231373815107a082d2f6a517d668e8513 | c4a0c126c2261a6d087d96175a457783c2f43ebd | refs/heads/master | 2022-12-03T13:51:49.978571 | 2020-08-24T16:46:27 | 2020-08-24T16:46:27 | 283,679,013 | 1 | 1 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,559 | cpp | #include "ActivityWidget.h"
#include <QDesktopWidget>
#include <QApplication>
ActivityWidget::ActivityWidget(QString strUid, QString strToken, QString strCompId, QString strAvId, QString strTitle, QWidget *parent)
: QWidget(parent)
, m_strUid(strUid)
, m_strToken(strToken)
, m_strAvId(strAvId)
, m_strCompId(strCom... | [
"gispda@qq.com"
] | gispda@qq.com |
8882e24cc7cc79f374ca9041d2ea1139878ff28f | deaa518c6ba667f4fe2ab28b55de11d515ecc176 | /find Last element.cpp | 22072af910c31211e6dbfe1edb48ea0e1a6135f2 | [] | no_license | keshavjaiswal39/Coding-Block-Algo-plusplus | 1c154451c2aa44c73d45ebc05c4c2bbe1d4c9293 | 908351f12717942955afddc9dbe143fab7446784 | refs/heads/master | 2023-03-21T10:22:33.104054 | 2021-03-12T04:41:11 | 2021-03-12T04:41:11 | 346,939,743 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | cpp | #include<iostream>
using namespace std;
int LastElement(int arr[],int n,int key)
{
if(n==0)
{
return -1;
}
int index=LastElement(arr+1,n-1,key);
if(index==-1)
{
if(arr[0]==key)
{
return 0;
}
else
{
return -1;
}
}
return index+1;
}
int main()
{
int n;
cin>>n;
int arr[100005];
for(int i=... | [
"keshav.jaiswal39@gmail.com"
] | keshav.jaiswal39@gmail.com |
dd2c113aa2cf75257addb5e561d24246d237dd85 | 457449e0f3a079fbf39656bc21c2540c91ca4a44 | /Ch_14/14-8/14-8/14-8.cpp | 29fdc8d85d686f72d20625b8b6da504e84dc08a3 | [] | no_license | kth4540/c_study | 6c0a2f991c562f92ddae1c3da0ab703a4bba4690 | c9a321af9b6867482eb676064da43def8da2ba9c | refs/heads/main | 2023-03-16T06:55:03.545983 | 2021-03-04T15:21:39 | 2021-03-04T15:21:39 | 335,520,136 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,221 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <string.h>
#define NLEN 30
typedef struct
{
char first[NLEN];
char last[NLEN];
int num;
}name_count;
void receive_input(name_count*);
void count_characters(name_count*);
void show_result(const name_count*);
char* s_gets(char* st, int n);
int main()
{
n... | [
"harypoteck@naver.com"
] | harypoteck@naver.com |
1ea7b73a168528e048e0f85cc9d82a56123c73fc | b708f8ecb325ffa96877fba774d75b54041a5523 | /src/ZSynchronization.cpp | 9e3bfa3bc199bff70a0be038bfb51b9f7c67fcee | [] | no_license | 19317362/ZThreadControl | d29c256a62455d8fe3ea83efcfd16228af29ab55 | 0937a9ae72c1bd88068c077bb39b838ecd1aed28 | refs/heads/master | 2020-03-27T14:43:05.375895 | 2017-02-14T15:18:36 | 2017-02-14T15:18:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,053 | cpp | #include "ZSynchronization.h"
ZSynchronization::ZSynchronization(uint amount, error_t *err)
{
mAmount = amount;
int ret = sem_init(&mSem,0,mAmount);
if (ret == -1 && err != nullptr)
{
*err = errno;
}
else if (ret == 0 && err != nullptr)
{
*err = 0;
}
}
ZSynchronization:... | [
"1270504295@qq.com"
] | 1270504295@qq.com |
ffbc858cb3d0ea08401c6077ee48054e2a31c025 | 64aca0dda6624b956cac6d22d892d6416476e814 | /Binary Tree/Heightbalanced_tree.cpp | 57bfccdf32e4e35ae967f5c58bdafcf91a0ed8b0 | [] | no_license | Darkknight1299/C-plus-plus | c772331a87ab36fb01036703370b1108d8aff901 | 0255dfa1609401234eb627463f1e7d0a3058b684 | refs/heads/main | 2023-06-24T11:05:55.068853 | 2021-07-20T12:59:48 | 2021-07-20T12:59:48 | 344,157,787 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,698 | cpp | #include<bits/stdc++.h>
using namespace std;
class node{
public:
int data;
node* left;
node* right;
node(int d){
data=d;
left=NULL;
right=NULL;
}
};
node* buildtree(){
int d;
cin>>d;
if(d==-1){
return NULL;
}
node* root=new node(d);
root->left=buildtre... | [
"noreply@github.com"
] | noreply@github.com |
e96818645d6cb4c623216f762f66e94caa58b31b | 899774b7e97fb12cdd3585c9df6cfba04237f984 | /xsns_hlw8012.ino | 32ce62a4d33a309b6b70c30b4402b7675992f7a2 | [] | no_license | TuHuynhthanh/stu-01 | 8689471e844de36a7b60b281851029197f2ebc49 | 833c38b771353679540fe0485633be20503cf2f0 | refs/heads/master | 2021-01-02T08:31:23.598226 | 2017-08-02T02:58:39 | 2017-08-02T02:58:39 | 99,017,679 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,146 | ino |
/*********************************************************************************************\
* HLW8012 - Energy
*
* Based on Source: Shenzhen Heli Technology Co., Ltd
\*********************************************************************************************/
#define FEATURE_POWER_LIMIT true
/*************... | [
"tu.huynhthanh@stu.edu.vn"
] | tu.huynhthanh@stu.edu.vn |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.