blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
38a6bd976eb9f1418b2cd8079713fbc9d3c37ba5 | 4b539c6c996323a8f7d6644c566c535906b2babe | /src/I2Cutils.cpp | e8aacc63dd62cd281e1ea7f062e1be293741d771 | [] | no_license | BigBobsky/mpala | 849e6c154a3ce7f79d822588e306c6b91ada6bc6 | 1e37ada6094fc133f6bc6b0f8fa6650efb6109db | refs/heads/master | 2023-07-23T02:37:51.913988 | 2021-09-05T12:44:06 | 2021-09-05T12:44:06 | 283,446,457 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,743 | cpp | /*
This file is part of MPALA.
MPALA is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
MPALA is distributed in the ho... | [
"jean-luc.tresset@luceor.com"
] | jean-luc.tresset@luceor.com |
47d245329e81e83ccb74d856ce2b4b415403a37d | 32e31aae6e1b06119636546287b76ad82f3a12e3 | /MegaManX3/IntroScene.cpp | 37c55d0849dacc060ba6a93fe9989eb59621b64f | [] | no_license | anhkhoa1704/MegaManX3 | b298d5fc4a266ac018737aaaca8f1d15914a7980 | 1152ed27a985fd28272fc60f6adb831b0093ceec | refs/heads/master | 2020-04-02T13:10:54.917119 | 2018-10-28T14:08:24 | 2018-10-28T14:08:24 | 154,470,817 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 543 | cpp | #include "IntroScene.h"
#include "Global.h"
#define SCALE 0.25
void IntroScene::Init()
{
tiledmap.Init("Assets/IntroStage-tile-map.json");
player.Init();
}
void IntroScene::Release()
{
}
void IntroScene::Update(float dt)
{
tiledmap.Update(dt);
player.Update(dt);
view_port->CalculateViewPortPos(player.GetPositio... | [
"14520421@gm.uit.edu.vn"
] | 14520421@gm.uit.edu.vn |
37dcd52bc0520d8d32ee626741b294663b7d8b92 | cd3fe6562c20ab7095d323984df4305769b67a6f | /TMMiniOS/UserLoopFun.cpp | 2e23ad1254d3810ae10826c4a2ebd46fdf219502 | [] | no_license | JegernOUTT/TMMiniOS | cc9727b1bb561a4d431a60d57dab89de35bd44f1 | 67d5f4c4e60a8cc941f4fdc71ac53dfd2d752c97 | refs/heads/master | 2020-12-24T14:36:36.471435 | 2015-09-25T12:16:42 | 2015-09-25T12:16:42 | 42,584,242 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,231 | cpp | #include "Model.h"
/*
//======= Begin of Modbus Kernel =======
if(mtModbusPort[iScanCOMPort].EnableMode==_ModbusRTU_Slave)
CheckModbusRTURequest(iScanCOMPort); // Is any request from Modbus/RTU Master ?
if(mtModbusPort[iScanCOMPort].EnableMode==_ModbusASCII_Slave)
CheckModb... | [
"Hellboysis666@gmail.com"
] | Hellboysis666@gmail.com |
73d26ac7ed9014e3563ad6ad3f5c0ce3dbb6b1ff | 3a3c0c6cf372bc08e1e084fdc557fceefc879606 | /Source/Sessions/Session2/SessionTwoDSP.cpp | f4b7719209be5f7200869696135476342895fedf | [] | no_license | shossa3/DSPExamples | 1893456f1d54adda8115ff4299db5fba7745ccc6 | 3afdcc1312be3ec5c943523f3861b5a19a443c88 | refs/heads/master | 2020-04-08T04:40:09.213044 | 2018-11-25T11:59:11 | 2018-11-25T11:59:11 | 158,836,762 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,970 | cpp | /*
==============================================================================
Shaikat Hossain DSPExamples
==============================================================================
*/
#include "SessionTwoDSP.h"
//==============================================================================
... | [
"shossa3@gmail.com"
] | shossa3@gmail.com |
6f075ec27ba519c06b1b3f140cf891a5092d4683 | fe6baf4e442ce54dd25772570c64badc44a4e7a7 | /recount/recount/stdafx.cpp | a6dd74c5495294e74893bad5615f40e0c6567e0d | [] | no_license | abarankab/competitive-programming | aef5e1adf97824db88ed12056be3d6194db91a79 | c1e23841aae4f18859dd23c4a34a5ed3c9662d4f | refs/heads/master | 2020-07-31T15:58:18.385851 | 2019-09-25T17:07:01 | 2019-09-25T17:07:01 | 210,660,950 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 286 | cpp | // stdafx.cpp : source file that includes just the standard includes
// recount.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"abarankab@gmail.com"
] | abarankab@gmail.com |
81994571c4e6d3f5cdf1f2316735856e1aef36e5 | 178e012558af3d51145e633dacb8de169477c247 | /Assignment2/framework/rasterizer.cpp | e7175a42c35a2d4f9401862542fc2c54764de4b0 | [] | no_license | TaKeTube/GAMES-101 | 776058a8ee92f720f65291ec32e8dc5c7ded3fbe | 3f3197abe5378c3c2b1ad6d756dbe4f2bbafde11 | refs/heads/master | 2023-03-24T06:29:30.474889 | 2021-03-26T18:52:34 | 2021-03-26T18:52:34 | 278,149,829 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,815 | cpp | // clang-format off
//
// Created by goksu on 4/6/19.
//
#include <algorithm>
#include <vector>
#include "rasterizer.hpp"
#include <opencv2/opencv.hpp>
#include <math.h>
rst::pos_buf_id rst::rasterizer::load_positions(const std::vector<Eigen::Vector3f> &positions)
{
auto id = get_next_id();
pos_buf.emplace(i... | [
"jamie.zimu.guan@gmail.com"
] | jamie.zimu.guan@gmail.com |
f6033bc51b2b73fb7db8851032a3c9c10d3645fc | 04ddbee5901062b97c67a661a5e471fdc74768d0 | /fits_data_model/tests/unit_test/src/TestCreateFitsFile.cxx | 085630790bd8ba7142eed076c439f86fcf369e17 | [] | no_license | davefutyan/common_sw | d0f643ca55488e7af810d8dd84f268f20330f958 | 1e45b3be84edd18a60e9a0ea8ef65444dfa2a254 | refs/heads/master | 2023-07-02T06:27:43.253219 | 2021-08-14T10:32:38 | 2021-08-14T10:32:38 | 395,084,522 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,950 | cxx | #define BOOST_TEST_MAIN
#include "boost/test/unit_test.hpp"
#include <string>
#include <stdexcept>
#include "ProgramParams.hxx"
#include "CreateFitsFile.hxx"
#include "SCI_PRW_SubArray.hxx"
#include "SCI_COR_Lightcurve.hxx"
using namespace boost;
using namespace boost::unit_test;
/** ****************************... | [
"bekkelie@c1f87a2b-ace2-4d72-87d5-b738fb7f7369"
] | bekkelie@c1f87a2b-ace2-4d72-87d5-b738fb7f7369 |
b54fed716eff5f6a1f7118ee3757dd5d4b08a2c7 | babef98a051ad56f1c0d4c18a2a09ae83b2def31 | /simplePython/simplePython/stdafx.cpp | 98d44f1872c2c6ff952b15318d6b35ee58e6de95 | [] | no_license | xjyDaddy/cplusplus_learn | 1af4ec314f0ccc887c17e0ef233e8366ce9e1688 | 84b1ac2527139c695cfd3a954d351e06090daaa0 | refs/heads/master | 2020-03-15T13:48:12.096220 | 2018-06-01T09:46:15 | 2018-06-01T09:46:15 | 132,175,548 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 265 | cpp | // stdafx.cpp : 只包括标准包含文件的源文件
// simplePython.pch 将作为预编译头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
// TODO: 在 STDAFX.H 中
// 引用任何所需的附加头文件,而不是在此文件中引用
| [
"xijiyuan@foxmail.com"
] | xijiyuan@foxmail.com |
ad7dec188702cec8ca19a4081da1494b65fe2ec7 | 5b5ffcd1541d59dfddc174961293c0c0a0923e24 | /src/platform/android/DnssdImpl.cpp | 8d5b5c4e2c81d21f06bb2499c5ad19e70d410d09 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | randyrossi/connectedhomeip | 218234d186719478398e9cd430c50c8ef6138eb4 | 1ec219d94a07f0e354574e8a9d7c82eb83a59d5d | refs/heads/master | 2023-09-01T05:05:22.796863 | 2021-10-28T19:01:35 | 2021-10-28T19:01:35 | 277,822,471 | 0 | 0 | Apache-2.0 | 2020-07-07T13:21:23 | 2020-07-07T13:21:22 | null | UTF-8 | C++ | false | false | 9,230 | cpp | /*
*
* Copyright (c) 2020-2021 Project CHIP 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 r... | [
"noreply@github.com"
] | randyrossi.noreply@github.com |
4c3e9274e37cf844c907a9e0d2f47ae95aa2ff3a | 78ddffce9b6ee052288c763f57c04a5352f9b8eb | /src/events/GetRecipeResultEvent.hpp | 7a21af5ddfd2fd835dd0d270d62f46be6eb542c9 | [] | no_license | vallism2000/Test | 655ba75a5059310c7990e93e3140a3b91e09a7de | 34f43114df8ccf4a36ee7740b8a0ccf90d5fec8d | refs/heads/master | 2021-01-10T02:03:57.015446 | 2013-04-03T11:55:33 | 2013-04-03T11:55:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 369 | hpp | /*
* GetRecipeResultEvent.hpp
*
*/
#ifndef GETRECIPERESULTEVENT_HPP_
#define GETRECIPERESULTEVENT_HPP_
#include "IEvent.hpp"
#include "drinkObjects/DrinkRecipe.hpp"
class GetRecipeResultEvent: public IEvent {
public:
GetRecipeResultEvent(DrinkRecipe * recipe);
virtual ~GetRecipeResultEvent();
DrinkRecipe * Re... | [
"nlutz91@gmail.com"
] | nlutz91@gmail.com |
e6bcf4ce1f1976134c771a1362a3bd51df9d74a0 | 37c33fe7fe6876c4cff3f7fda0719295277f250f | /src/main4.cpp | 1f281571d0f7e894b2628192cb94ef3840f544e8 | [] | no_license | Alsadi1982/C-lab-2 | 1814b5fc950fce4239b662487aabb8d38ff5fdd4 | 19ffec30ecb7ce918960671034f62c0327cfd41a | refs/heads/master | 2020-04-09T07:43:05.617214 | 2018-12-15T17:54:01 | 2018-12-15T17:54:01 | 160,167,717 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 167 | cpp | #include <stdio.h>
#include "task4.h"
int main()
{
char line[100] ;
puts("Enter a string please:");
fgets(line, 100, stdin);
printf(process(line));
return 0;
} | [
"sav1982@inbox.ru"
] | sav1982@inbox.ru |
d85e25c04e6308bec728c1d7861f72d553ad1281 | 07f3074fa979fc99577aeaa93ce22e9853bea3ca | /src/view/gtk/include/gtk_view.h | d3ed5c9514eaa5f4fbf6df53fe49c372f9885622 | [
"Apache-2.0"
] | permissive | GuardianRG/erebus | af34713d9650c7b4ab6d4e2e28fae7d187be9b09 | 37da546f9142b44829572621d328332394dd50ef | refs/heads/master | 2020-04-15T20:11:01.573571 | 2015-08-17T00:55:45 | 2015-08-17T00:55:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,157 | h | #pragma once
#include <gtkmm/builder.h>
#include <glibmm/refptr.h>
#include <gtkmm/viewport.h>
#include <gtkmm/menu.h>
#include <string>
#include <i_view.h>
namespace erebus {
class IGUIManager;
}
namespace erebus {
/**
* This is the base class for every widget that can be added to the gui.
* Every widget tha... | [
"johs.werner@googlemail.com"
] | johs.werner@googlemail.com |
8063e028fbfb61b84420d10e2f6546c9a210de0a | 6aa437b0c57f644029563206d04bd431edf3d0ac | /labs/lab1/part2/3_flash_string_in_morse/main.cpp | abc74ac0e21e2d76384d973e570b8d5ab779c45d | [] | no_license | canbax/bilkent-cs431 | 4726daecd21eb693a5518dabee30242bf5fc5a41 | 6681df30887de02f27eb3b07870b2419e3ccf3dd | refs/heads/master | 2020-06-13T09:33:43.970411 | 2019-08-19T14:59:44 | 2019-08-19T14:59:44 | 194,614,193 | 2 | 0 | null | 2020-04-30T11:07:25 | 2019-07-01T06:37:56 | C | UTF-8 | C++ | false | false | 2,303 | cpp | #include "mbed.h"
#include<string>
#include <ctype.h>
Serial pc(USBTX, USBRX); // tx, rx
DigitalOut myled(LED1);
bool hasInp = false;
char currChar;
char buffer[1024];
int charIdx = -1;
int bufferSize = 0;
string alphabet = "abcdefghijklmnopqrstuvwqyz1234567890";
string morseAlphabet[] = {".-","-...","-.-.","-..", "... | [
"yusufsaidcanbaz@gmail.comcd"
] | yusufsaidcanbaz@gmail.comcd |
d2c133c99b3da20bd6e28a1613d6a05fe16782b5 | b2a6264cbeb25129aa2f5910a308ddcaffe17ddd | /5.cpp | 05559bffea6ff238d449df6e956b77e40166d9a3 | [] | no_license | Raihanhaider/May-Challenge | dd660cdc3b64ba510caf885a385f14610de08eda | 3efa2115280145eb0ccd890f9282ea6308ef6ee8 | refs/heads/master | 2022-07-18T00:53:42.374975 | 2020-05-12T11:20:08 | 2020-05-12T11:20:08 | 260,705,116 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 367 | cpp | //First Non-Repeating character in a string
class Solution {
public:
int firstUniqChar(string s) {
int alpha[26]={0};
for(int i=0;i<s.size();i++)
alpha[(s[i]-'a')]++;
for(int i=0;i<s.size();i++)
if(alpha[s[i]-'a']==1)
ret... | [
"noreply@github.com"
] | Raihanhaider.noreply@github.com |
0250e1a0f52a1d5bc0a241f4c9b843c981dbbe2e | 2c5a193cb79c6eb86850a11892719a8989ac8591 | /searching/floor.cpp | 93a184850a4cd5e2c5b45714b8f132178195caa3 | [] | no_license | Anubhav2907/DSA | 0b9418f048e16e8bedbda709f5bdedcafeece44b | a2fa56a8e32002a1a77a498cd956d7256b327bf0 | refs/heads/master | 2023-08-15T19:31:18.723237 | 2021-09-25T17:58:00 | 2021-09-25T17:58:00 | 370,788,119 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 466 | cpp | #include <bits/stdc++.h>
using namespace std;
int floor(int arr[], int n, int k){
int low = 0;
int high = n-1;
int ans = -1;
while(low <= high){
int mid = (low + high)/2;
if(arr[mid]== k){
return mid;
}else if(arr[mid]>k){
high=mid-1;
}else{
... | [
"u19ec135@eced.svnit.ac.in"
] | u19ec135@eced.svnit.ac.in |
5165c06475388aee9364283ab7965af296ed27e1 | d9c062e84856bc5f75beb29c2321d0b18dcb87c6 | /components/segmentation_platform/internal/execution/feature_aggregator_impl.cc | aae9176f1ec04c381fc215cb65f7cedec6c6188e | [
"BSD-3-Clause"
] | permissive | Proby143/chromium | 785716f3e502e5d921e3ba4a32c66700d20e0e4f | dff2d8e4cbedc970e26fea96d440a7fcbe59e598 | refs/heads/master | 2023-05-11T17:56:52.720820 | 2021-06-21T08:31:58 | 2021-06-21T08:31:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,162 | cc | // Copyright 2021 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 "components/segmentation_platform/internal/execution/feature_aggregator_impl.h"
#include <algorithm>
#include <cstdint>
#include <vector>
#incl... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
7edd82f0902cb1b4aeda1ee15b5ba43148c533da | b8e93dd209a1288274d12dfb463766120353d650 | /BuyerServer/info/buyerinfo.h | b167595422942fa05ab4c67311ffabfbe404077e | [] | no_license | Llq-210120/buyer | 4108768beb94ad4ca27780492644d69a19e00a8b | a4a5d0d3b68c52385c786d51624507a9ad93f2ba | refs/heads/master | 2023-05-21T02:02:43.763010 | 2021-06-09T15:09:46 | 2021-06-09T15:09:46 | 375,379,487 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 561 | h | #ifndef BUYERINFO_H
#define BUYERINFO_H
#include <QString>
class BuyerInfo
{
public:
BuyerInfo();
BuyerInfo(const QString &id, const QString &name,const QString &sex);
void display(void) const;
void setID(const QString &id);
void setName(const QString &name);
void setSex(const QString &sex);... | [
"1037918484@qq.com"
] | 1037918484@qq.com |
2f1b7ba30c036ec29efd8041d472b1e4f5e19b83 | 7e62f0928681aaaecae7daf360bdd9166299b000 | /external/DirectXShaderCompiler/external/SPIRV-Tools/test/test_fixture.h | d26ac053cd27ea8acfc16ede7518769ca70ec691 | [
"NCSA",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-generic-cla",
"Apache-2.0"
] | permissive | yuri410/rpg | 949b001bd0aec47e2a046421da0ff2a1db62ce34 | 266282ed8cfc7cd82e8c853f6f01706903c24628 | refs/heads/master | 2020-08-03T09:39:42.253100 | 2020-06-16T15:38:03 | 2020-06-16T15:38:03 | 211,698,323 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,896 | h | // Copyright (c) 2015-2016 The Khronos Group Inc.
//
// 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 app... | [
"yuri410@users.noreply.github.com"
] | yuri410@users.noreply.github.com |
1a51c8dbe56f83e4c173f823dd0b6e07b708546b | cafb8c7c0891ac464255d20f148ec4e53ffb6611 | /projeto/pessoal/pista.h | a3e46d5eb29b763274e6fd155b5e9a1b641f7764 | [] | no_license | davidamurim7/projetoComputacaoGrafica | 2e22675cbf6b24b440aa6c21a9c0ee6599a31410 | 4ad9aee11329ee5e276fb7005f67eeacce29d319 | refs/heads/main | 2023-08-11T04:55:44.643998 | 2021-09-20T14:54:00 | 2021-09-20T14:54:00 | 408,483,468 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 239 | h | #ifndef PISTA_H
#define PISTA_H
#include <objeto.h>
class Pista : public Objeto
{
public:
Model3DS* model;
public:
Pista();
~Pista();
Pista( Vetor3D t, Vetor3D a, Vetor3D s );
void desenha();
};
#endif // PISTA_H
| [
"davidamurim7@gmail.com"
] | davidamurim7@gmail.com |
3ecce54a98db16ce2b16f2e13661774eeaa5701c | 52507f7928ba44b7266eddf0f1a9bf6fae7322a4 | /SDK/BP_KickWeapon_classes.h | e7fb66d30f6a2bab9ef10b28346e67a7d767bddb | [] | no_license | LuaFan2/mordhau-sdk | 7268c9c65745b7af511429cfd3bf16aa109bc20c | ab10ad70bc80512e51a0319c2f9b5effddd47249 | refs/heads/master | 2022-11-30T08:14:30.825803 | 2020-08-13T16:31:27 | 2020-08-13T16:31:27 | 287,329,560 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 619 | h | #pragma once
// Name: Mordhau, Version: 1.0.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass BP_KickWeapo... | [
"51294434+LuaFan2@users.noreply.github.com"
] | 51294434+LuaFan2@users.noreply.github.com |
dc4006f81d4821fbc676b578d955ff9aa55c0f4c | d084c38697d64f432288282c397d80630a0795c9 | /src/ESBServer/src/Renderer/MFC/Browsers/HierarchyBrowserRenderer.cpp | fc0ec9a9e553b03ab2e61a36964374e3ec4af78d | [
"MIT"
] | permissive | 124327288/BeSweet | 6e0d9dd863b8e5a0927eb693c4d1ec80c7e3f880 | fc58c24a32a96cc4026fdf2ff97c1a99b89ba86f | refs/heads/master | 2021-06-13T02:49:41.213640 | 2017-04-20T20:03:29 | 2017-04-20T20:03:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,099 | cpp | /**
/* Copyright (c) 2003by Marco Welti
/*
/* This document is bound by the QT Public License
/* (http://www.trolltech.com/licenses/qpl.html).
/* See License.txt for more information.
/*
/*
/*
/* ALL RIGHTS RESERVED.
/*
/* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
/* OR IMPLI... | [
"david.koch@9online.fr"
] | david.koch@9online.fr |
55825f9eccace895ebef97d0a9faf500a769a800 | 5456502f97627278cbd6e16d002d50f1de3da7bb | /ash/common/system/date/tray_system_info.h | 0e65f2e658315302f69d4af78aa993a8f00821a5 | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,181 | 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 ASH_COMMON_SYSTEM_DATE_TRAY_SYSTEM_INFO_H_
#define ASH_COMMON_SYSTEM_DATE_TRAY_SYSTEM_INFO_H_
#if defined(OS_CHROMEOS)
#include <memory>
... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
a457a6a8d3190065f6ff7de654dae5cf9f37d2ba | 7483b5c68bcbb23f30f3d849c5820c35b840088c | /GenerateParentheses.cpp | 996d349401815acf46beaecc142881027776129b | [] | no_license | Rahuldandotiya/LeetCode-Solutions | d639d52d9622e4b51c16c0fbeddce48a6e65f983 | 59293ac6c5a5e3a8418afd6f48eb8051a0053eb4 | refs/heads/master | 2022-10-02T08:57:40.530928 | 2020-06-01T08:15:00 | 2020-06-01T08:15:00 | 255,079,083 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 728 | cpp | class Solution {
public:
int s;
void generate(vector<string> &ans,int i,int n,int o,int c,string str){
if(c==n){
ans.push_back(str);
return;
}
else{
if(o>c){
str[i]=')';
generate(ans,i+1,n,o,c+1,str);
}
... | [
"noreply@github.com"
] | Rahuldandotiya.noreply@github.com |
1866c48945f65f7ee90a8a97151a4b45cbaf0cea | 9b0d4f3ea6a3c6992513ef9419887b476d0978f9 | /src/coreclr/jit/patchpoint.cpp | 15a37150326183eb1013069bc657dd9214b5564b | [
"MIT"
] | permissive | hnrqbaggio/runtime | 956f7da29e50db2e89cc9ac1335ab0df0d505f0b | 634dfa13d89800e629db86f0b947590fb0ffb077 | refs/heads/master | 2022-02-06T15:11:49.741909 | 2022-01-06T16:51:33 | 2022-01-06T16:51:33 | 224,325,178 | 1 | 0 | NOASSERTION | 2019-11-27T02:15:33 | 2019-11-27T02:15:33 | null | UTF-8 | C++ | false | false | 10,329 | cpp | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#include "jitpch.h"
#ifdef _MSC_VER
#pragma hdrstop
#endif
//------------------------------------------------------------------------
// PatchpointTransformer
//
// Insert patchpoin... | [
"noreply@github.com"
] | hnrqbaggio.noreply@github.com |
f0d60a1d7a0e36e04b874e8d95bef6000c4e5ba3 | 012b5915900e39c3182cbfa25ff9f61b6d0f0cbd | /Komputer.cpp | 5ecde49a3bd0fa7dbf47a6f52d28a16c74fbbd24 | [] | no_license | robwin311/Kolko-i-krzyzyk | 1d7f622257a8a8f49cce7c71fcba665df36e3011 | 675d2969484e1821b5b568d0202b5d832f9f64e0 | refs/heads/master | 2021-01-25T10:56:08.521266 | 2017-06-10T15:17:59 | 2017-06-10T15:17:59 | 93,893,163 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 4,160 | cpp | #include "Gracz.hh"
#include "Komputer.hh"
#include "stdlib.h"
#include "time.h"
#include <iostream>
#include <algorithm>
using namespace std;
/* --------------------------------------------------------------------------------- */
/* --------------------------- Konstruktory/Destruktory ---------------------... | [
"robertwinkler147@gmail.com"
] | robertwinkler147@gmail.com |
13f5a3a12db7dc307b656444ceb71143c599e648 | 224aa916e8a79497ba7290e4dd3a4712a9eb8217 | /airdcpp-webapi/api/TransferApi.cpp | f6c62a1dbe3cd01131c3d267293c64ead80256d2 | [] | no_license | roboirc/airdcpp-webclient | 54b202086aa21828cd6541c0975f0b9ab4a6bde4 | ae563ce2a763af982c9cd155e53a3eae90b13ca2 | refs/heads/master | 2021-03-17T16:15:30.279461 | 2019-11-16T17:04:14 | 2019-11-16T17:04:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,115 | cpp | /*
* Copyright (C) 2011-2019 AirDC++ Project
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distr... | [
"maksis@adrenaline-network.com"
] | maksis@adrenaline-network.com |
bb0f9bd3d38ac7cbe34840e38812144a9b5dff8b | a3d39c53b1abf4d35c9a9a1d8c8f226572f29bcd | /src/test/util_threadnames_tests.cpp | 9193516244481c25d2f5bf31bfd74f5b48b6dd65 | [
"MIT"
] | permissive | BakedInside/Beans-Core | afc3a55efa3e14e62a19f4bc4d5ae5a357f5f1de | daa9b2ddbfd3305881749bda7f32146738154260 | refs/heads/master | 2022-07-30T05:42:26.680123 | 2021-05-22T15:35:40 | 2021-05-22T15:35:40 | 369,584,373 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,915 | cpp | // Copyright (c) 2018-2020 The Beans Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <test/util/setup_common.h>
#include <util/string.h>
#include <util/threadnames.h>
#include <mutex>
#include <set>
#in... | [
"lanorlasystem@gmail.com"
] | lanorlasystem@gmail.com |
6e86729ebe7dd085dc6040a778cc418c854bfc14 | e716e98f78fe824f6f1a2bb06d3f8c4cc07d09b7 | /noi/动态规划/2985.cpp | 0fa344ed120fd8dbfda65f2603bdde48bb7ca4e7 | [] | no_license | mingsjtu/OJ_exercise | f4bac0c8964e0061e4108f76b1cdff76286a6d1e | 7837332b6c4c2d8eac327c6c7359cbb28b931d11 | refs/heads/master | 2020-08-18T18:32:11.264653 | 2019-10-19T06:08:22 | 2019-10-19T06:08:22 | 215,821,254 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 409 | cpp | #include<iostream>
#include<cstdio>
#include<cstring>
using namespace std;
int dp[1005];
int a[22];
int num;
int all;
int main()
{
int i,j,k;
cin>>num>>all;
for(i=0;i<num;i++)
cin>>a[i];
memset(dp,0,sizeof(dp));
dp[0]=1;
dp[a[0]]=1;
for(i=1;i<num;i++)
{
for(j=all;j>=a[i];... | [
"mingsjtu@163.com"
] | mingsjtu@163.com |
91ad3ba7930061ed90423e07ab102d35bc9dc133 | b30ddfaa661e6e65f7abc0d807f440ec8e71102d | /Sample1-Trace_the_memory/include/type_traits.h | c760512108570675ffeb8e002649eb9cd19ee7cb | [] | no_license | jiahao42/LambSTL | cd1c105e2b5b4a981ca72a0f03743829132a803d | 69d7680a00a83adca59920744f6656833750d99c | refs/heads/master | 2021-06-12T13:01:01.726308 | 2017-04-19T05:27:21 | 2017-04-19T05:27:21 | 75,935,219 | 5 | 1 | null | null | null | null | GB18030 | C++ | false | false | 1,035 | h | #ifndef __LAMB_STL_INTERNAL_TYPE_TRAITS_H_
#define __LAMB_STL_INTERNAL_TYPE_TRAITS_H_
struct __true_type{};
struct __false_type{};
/*
下列是最基础的traits,接受任何型别的参数,并将各属性都设置成__false_type
__true_type将在相应的特化版本中给出
*/
template <class type>
struct __type_traits{
typedef __true_type this_dummy_member_must_be_first;
typedef __fa... | [
"caterpillarous@yahoo.com"
] | caterpillarous@yahoo.com |
441f420efe2702f8ef39d05d54ec28254a0b472c | 6e73f2b775790c0027763eb208deb3d72191b90f | /archived/vs_solution/fluid_substrate/NWSimulation.h | 8525e325694bdf11ac79374bc10c17cfdf02704c | [] | no_license | mvarga6/Nematic-Worms | e850bf3c5354574ee9749f499683d47a0c7dbfc8 | ffbfbd3392b3147e4f941b3fcd27957ffada05f7 | refs/heads/master | 2023-07-20T08:25:53.012271 | 2021-10-11T00:09:12 | 2021-10-11T00:09:12 | 45,878,432 | 0 | 1 | null | 2023-07-06T22:22:45 | 2015-11-10T01:14:57 | C++ | UTF-8 | C++ | false | false | 6,792 | h | #ifndef __SIMULATION_H__
#define __SIMULATION_H__
// 2D
// -----------------------------------------
//////// NEMATIC WORMS PROJECT ////////
// -----------------------------------------
#include "NWmain.h"
#include "NWWorms.h"
#include "NWRandomNumberGenerator.h"
#include "NWWormsParameters.h"
#include "NWSimulationPar... | [
"mvarga6@kent.edu"
] | mvarga6@kent.edu |
5daa8f66806960b734716a93b56f0cdfd08efbb3 | ab039ca37f9540f37674aa1f6e75031ec9dcbbf3 | /giroscopio.cpp | 3e4f56ad28caefdcfbf8e542c3881b235d08994b | [] | no_license | lennedy/lib_giroscopio | 06a1284eb61e3b46dc79709ddf34e3144db40ffc | 314fff22f3ada669a77afd9ea477c6dd8ee08e20 | refs/heads/master | 2020-04-06T06:25:02.147069 | 2017-03-04T04:11:02 | 2017-03-04T04:11:02 | 82,891,456 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,146 | cpp | #include "giroscopio.h"
giroscopio * giroscopio::instance;
giroscopio::giroscopio(){
instance = this;
}
int giroscopio::init(){
Wire.begin();
//TWBR = 24; // 400kHz I2C clock (200kHz if CPU is 8MHz)
// initialize device
mpu.initialize();
if(!mpu.testConnection())
return ERR_M... | [
"lennedy@gmail.com"
] | lennedy@gmail.com |
4f36045cfc0b5a990b973ff09fc8dd38416441aa | 091b4208ec2d988da9d1939809999974d2232c3b | /node_modules/node-red-node-serialport/node_modules/serialport/src/win/stdstring.h | 2dd0bd8b2f450b4e92ded76f893b7f49d4c613a6 | [
"Apache-2.0",
"MIT"
] | permissive | albertisfu/smart | 386cceb787eb63a6176766bd87a061c79fb9dca9 | 0da65d79df15af85dec1df4411e78cd90d3b664c | refs/heads/master | 2020-12-25T19:15:34.751346 | 2019-12-10T15:41:02 | 2019-12-10T15:41:02 | 40,388,181 | 0 | 0 | Apache-2.0 | 2019-12-10T15:45:17 | 2015-08-08T02:04:47 | JavaScript | ISO-8859-1 | C++ | false | false | 136,424 | h | // =============================================================================
// FILE: StdString.h
// AUTHOR: Joe O'Leary (with outside help noted in comments)
//
// If you find any bugs in this code, please let me know:
//
// jmoleary@earthlink.net
// http://www.joeo.net/stdstring.htm (a bit outdated)
//
... | [
"albertisfu@gmail.com"
] | albertisfu@gmail.com |
cb5b1461e89430488fe50ff315e920f76974db1b | 45364deefe009a0df9e745a4dd4b680dcedea42b | /SDK/FSD_BP_BarGlass_PotsOGold_classes.hpp | 4208ddcb4f043f893f94dab9dc6dda5cc87deaf4 | [] | no_license | RussellJerome/DeepRockGalacticSDK | 5ae9b59c7324f2a97035f28545f92773526ed99e | f13d9d8879a645c3de89ad7dc6756f4a7a94607e | refs/heads/master | 2022-11-26T17:55:08.185666 | 2020-07-26T21:39:30 | 2020-07-26T21:39:30 | 277,796,048 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 711 | hpp | #pragma once
// DeepRockGalactic SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "FSD_BP_BarGlass_PotsOGold_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
... | [
"darkmanvoo@gmail.com"
] | darkmanvoo@gmail.com |
fafae3c8608223890bd6a61b99c49c21f3e69251 | b49a0837efa4977e1ae4657dd816f279af003c28 | /Calculator/CalculatorPro.cpp | ff8dbb33530a5ed93baffc11b1ded33c4be3a839 | [] | no_license | leungyukshing/DataStructure | 3cbc695534f52a62061fb62f798a785106583c60 | 5119c1b3cf421849d20902d3af5d67a5ce08dda2 | refs/heads/master | 2021-09-06T21:19:41.919296 | 2018-02-11T15:43:06 | 2018-02-11T15:43:06 | 117,672,052 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,865 | cpp | #include <iostream>
#include <cstring>
#include <stack>
#include <string>
#include <vector>
using namespace std;
class CalculatorPro {
public:
CalculatorPro();
private:
void read();
bool isoperator(char op);
int priority(char op);
void postfix();
double read_number(char str[], int *i);
... | [
"jacky14.liang@gmail.com"
] | jacky14.liang@gmail.com |
32dbd26cd99056a6a3d4909259b656564513c455 | 76e652e2ef2c5d57f8115eb4939e1fb460255549 | /Plugins/NetworkAbilityKit/Intermediate/Build/Win64/UE4Editor/Inc/NetworkAbilityKit/AbilityFrameworkStruct.gen.cpp | 128b24012ea483c79117853cec1976f9436794aa | [] | no_license | alcachofalaruz/NetworkAbilityKit | 00fc5a565cb9a73ec0b7a6e2a84ee11ce4663ada | 7a90a74a1dc27f617bc50bb27e9c085b5df5f7c4 | refs/heads/master | 2023-06-08T09:22:44.172313 | 2021-06-30T18:06:07 | 2021-06-30T18:06:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,346 | cpp | // Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
========================================================================... | [
"929509323@qq.com"
] | 929509323@qq.com |
6706cb9c4267ec0bdd26b467a70cfe897acac538 | 1f9b5c9a950b6df166085edf262ad063746c6d8b | /MAPEDITOR/main.cpp | 5714408a20e90f68a6785bdfc5935b3f638d9e0f | [
"MIT"
] | permissive | Parseus/pixfight | fb5b936939752333f67a54454f91f8e4904b07c9 | b1f134b5e969e2da9ae66653f9e29da77bb6f28f | refs/heads/master | 2021-06-03T23:45:53.310829 | 2018-07-23T09:52:22 | 2018-07-23T09:52:22 | 172,204,446 | 1 | 0 | MIT | 2019-02-23T11:05:58 | 2019-02-23T11:05:57 | null | UTF-8 | C++ | false | false | 6,998 | cpp | //
// main.m
// PixEditor
//
// Created by Marcin Małysz on 23/04/2018.
// Copyright © 2018 Marcin Małysz. All rights reserved.
//
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include "Core-pch.hpp"
#include "PFMapEditor.hpp"
#include <limits.h>
#include <unistd.h>
#include <chrono>
#include <thread>
#define W... | [
"marcin.malysz@explaineverything.com"
] | marcin.malysz@explaineverything.com |
8dc538fb29ed7d941c5c67c9aab8267f6c76b63c | fa274ec4f0c66c61d6acd476e024d8e7bdfdcf54 | /Tutoria OBI 2020/Aula-38/montagem-bad.cpp | 252c49bbee72e3bca91e74c15b92d207174e8b9b | [] | no_license | luanaamorim04/Competitive-Programming | 1c204b9c21e9c22b4d63ad425a98f4453987b879 | 265ad98ffecb304524ac805612dfb698d0a419d8 | refs/heads/master | 2023-07-13T03:04:51.447580 | 2021-08-11T00:28:57 | 2021-08-11T00:28:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 964 | cpp | #include<bits/stdc++.h>
#define _ ios_base::sync_with_stdio(0);
#define MAXN 15
#define INF 0x3f3f3f3f
#define vi vector<int>
#define eb emplace_back
using namespace std;
//obs: usar 0-indexado
int n, m;
int c[MAXN][MAXN];
int u, v, w;
vi vis;
int memo[MAXN][1<<MAXN];
//f(i, usd) = melhor resposta para preencher ... | [
"francisco.fepaf@gmail.com"
] | francisco.fepaf@gmail.com |
5d791efc44f234cf1ad070af855c4a8708676035 | 33a6c411c7a3a87f6ef03fb702801e65196e0ee9 | /a.cpp | 5ec6907444a9b64ac1e98eb2ff84ba5c9c422ea7 | [] | no_license | pwl-curry/maillist | f85195662f8753f0c3c03fc26355669b592c0276 | 42a799e4feed29b858db07c1f045a7d009d29811 | refs/heads/master | 2023-04-10T02:50:52.531082 | 2021-04-26T11:55:34 | 2021-04-26T11:55:34 | 361,715,509 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 10,182 | cpp |
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#define len sizeof(struct curry)
#include<iostream>
using namespace std;
typedef struct curry
{
int xuhao;
char name[50];
char xb[50];
char phone[50];
char year[5];
char jiguan[100];
char dz[100];
char jtdz[100];
char txdz[100];
char youbian[100];
stru... | [
"2154653723@qq.com"
] | 2154653723@qq.com |
1c6202e84cd485e43b539005f1eec65357d0d314 | c7117da45477e486ebefc20bae60b77f555fdf58 | /main/touch/ButtonDriver.cpp | 1f3b0c393a186745eff6bf795387d5f5520c48a7 | [
"MIT"
] | permissive | sascha78/Homepoint | 251a6e8d378916627cba77c785a5746759447f89 | a6483b7bf825dff0a4be276833353705c340dc31 | refs/heads/master | 2020-09-04T00:00:28.794025 | 2019-11-14T20:16:06 | 2019-11-14T20:16:06 | 219,610,368 | 0 | 0 | MIT | 2019-11-04T22:41:03 | 2019-11-04T22:41:03 | null | UTF-8 | C++ | false | false | 3,095 | cpp | #include <touch/ButtonDriver.h>
#include <config/Config.h>
// Specifically for M5Stack which uses Pull-Ups on buttons
namespace gfx
{
ButtonDriver::ButtonDriver(TFT_eSPI* tftDriver)
{
if (ButtonsArePullUp)
{
pinMode(BUTTON_A_PIN, INPUT_PULLUP);
pinMode(BUTTON_B_PIN, INPUT_PULLUP);
pinMo... | [
"matthias@s-r-n.de"
] | matthias@s-r-n.de |
a173289f613a86dc3d6d6074132835870088b862 | ec3a644fdf1a50fa8efade552bfac649ae9a9386 | /src/planner/binder/statement/bind_create_view.cpp | aea620a2dc23c51bcca99f2c20e9d824c750992b | [
"MIT"
] | permissive | Longi94/duckdb | 71c012fb00ee190f712c02da4a9a3d172d712705 | 2debf14528e408841a4bc6f43eb114275a096d4e | refs/heads/master | 2020-09-08T20:47:10.391723 | 2020-01-14T13:32:52 | 2020-01-14T13:32:52 | 221,237,347 | 0 | 0 | MIT | 2019-11-12T14:28:50 | 2019-11-12T14:28:49 | null | UTF-8 | C++ | false | false | 761 | cpp | #include "duckdb/planner/binder.hpp"
#include "duckdb/parser/statement/create_view_statement.hpp"
#include "duckdb/planner/statement/bound_simple_statement.hpp"
#include "duckdb/planner/bound_query_node.hpp"
using namespace duckdb;
using namespace std;
unique_ptr<BoundSQLStatement> Binder::Bind(CreateViewStatement &s... | [
"mark.raasveldt@gmail.com"
] | mark.raasveldt@gmail.com |
34c49c35d2f8e4ba37d036254f9edd2bf347bf82 | f8c59c335b0c1dc2e8ab2824de234850e0a4c045 | /modules/datastream_html_adapter/src/TextPair.cpp | 3fbf260d3ced093e68b1b702a195da82bad6601f | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | DeepBlue14/rqt_ide | 469d7ffb9a2fa244c68ceafe526baa24e89b1a7b | 853964dc429d61c9afb6f1fe827f2e3e83f92713 | refs/heads/master | 2020-12-31T06:57:33.789919 | 2016-09-07T05:04:54 | 2016-09-07T05:04:54 | 34,908,755 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 585 | cpp | #include "TextPair.h"
TextPair::TextPair()
{
unixElem = new QString();
htmlElem = new QString();
}
void TextPair::setUnixElem(QString& unixElem)
{
this->unixElem = &unixElem;
}
QString* TextPair::getUnixElem()
{
return unixElem;
}
void TextPair::setHtmlElem(QString& htmlElem)
{
this->htmlEle... | [
"james.perl12@gmail.com"
] | james.perl12@gmail.com |
7ecbaeb88d960bc4a0eb2a8c537cea75653b91ee | 916109bf168239202442498e568b2bfc9a8bc8a9 | /src/asiTestEngine/reportgen/asiTestEngine_DescriptionProc.cpp | 2878805f2f8705ae68990ff12b27ae41ee697eae | [
"BSD-3-Clause",
"MIT"
] | permissive | yeeeeeeti/3D_feature_extract | 35da69cd64cd6ed6c92fd4541da5de7bb96dc2b6 | 6297daa8afaac09aef9b44858e74fb2a95e1e7c5 | refs/heads/master | 2020-09-05T02:27:30.997017 | 2019-11-07T01:24:26 | 2019-11-07T01:24:26 | 219,956,109 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,242 | cpp | //-----------------------------------------------------------------------------
// Created on: November 2013
//-----------------------------------------------------------------------------
// Copyright (c) 2013-pesent, Sergey Slyadnev
// All rights reserved.
//
// Redistribution and use in source and binary forms, with... | [
"469345750@qq.com"
] | 469345750@qq.com |
a6fbb870ba4b965be4cb4669c5862dd77e881737 | 614389216f430a95a98b843dbce44cab81fece36 | /src/BulletC.cpp | 120f4b8ee1693b42a71c6548564081f66634dfce | [
"MIT"
] | permissive | NoVariableGlobal/mood | 6a38c6e967d7d198ef5696dc55853d07e0d282a0 | e3446857a1d309dfac71beaf6407bb905f02a912 | refs/heads/main | 2021-07-03T09:29:03.822692 | 2021-06-06T22:08:15 | 2021-06-06T22:08:15 | 241,330,458 | 0 | 1 | MIT | 2021-06-06T22:08:15 | 2020-02-18T10:14:55 | C++ | UTF-8 | C++ | false | false | 924 | cpp | #include "BulletC.h"
#include "ComponentsManager.h"
#include "Entity.h"
#include "FactoriesFactory.h"
#include "RigidbodyPC.h"
#include "Scene.h"
#include "TransformComponent.h"
#include <json.h>
#include <value.h>
BulletC::BulletC() {}
BulletC::~BulletC() {}
void BulletC::destroy() {
setActive(false);
scen... | [
"noreply@github.com"
] | NoVariableGlobal.noreply@github.com |
39555c91de446a2902e3caf2fa6babef9efddb4d | 429df0e93e69d72c06c8e1e62e9feaa2c3494a35 | /DemoEngine/src/Collision/CollisionInfo.h | 1ae991e9f575a8b3abec11250752301cef50ecb8 | [] | no_license | sdsmorris/DemoEngine | 7892068c4312eaa978235cd7b6f6f48e1a94e3a7 | c2ac76d8002279def01a592b3975cc666551bfe7 | refs/heads/master | 2022-12-22T23:21:04.702870 | 2020-09-26T01:33:25 | 2020-09-26T01:33:25 | 293,420,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 108 | h | #pragma once
class CollisionInfo
{
public:
bool collide;
CollisionInfo(bool collide);
void seperate();
}; | [
"57079358+sdsmorris@users.noreply.github.com"
] | 57079358+sdsmorris@users.noreply.github.com |
1ed195a3baeff7fe70e024dc4b27c023fe95c71b | 9315e24a9046cbde84a5106de6c9473c4197b4c0 | /explosive.cpp | 689b87450e6d5545a59fb4460f450a289df638e2 | [] | no_license | ristosip/clanky-game-engine | a7b0f6ed336191e2edce8fddc39dcbcc376e1296 | 2d2f40c018d981dd0e0db3bfb8d1eb9d0c8be5e0 | refs/heads/master | 2020-12-06T23:39:53.365750 | 2020-01-13T15:40:51 | 2020-01-13T15:40:51 | 232,581,181 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,705 | cpp | #include "explosive.h"
#include "gameobjectfactory.h"
#include "controller.h"
#include "gamescene.h"
#include "bargraphics.h"
#include "soundmanager.h"
Explosive::Explosive(const QString &shrapnel_graphics_path, GameObjectFactory *factory, SoundManager *soundmanager, qreal image_scale, QObject *parent) : Object... | [
"noreply@github.com"
] | ristosip.noreply@github.com |
56f72550b09aba3567f785bd48c69dee49c33301 | 00add89b1c9712db1a29a73f34864854a7738686 | /packages/monte_carlo/active_region/response/src/MonteCarlo_FullPhaseSpaceParticleResponseFunction.cpp | 9da314d7c75d35155c949c8909203831b414a0b3 | [
"BSD-3-Clause"
] | permissive | FRENSIE/FRENSIE | a4f533faa02e456ec641815886bc530a53f525f9 | 1735b1c8841f23d415a4998743515c56f980f654 | refs/heads/master | 2021-11-19T02:37:26.311426 | 2021-09-08T11:51:24 | 2021-09-08T11:51:24 | 7,826,404 | 11 | 6 | NOASSERTION | 2021-09-08T11:51:25 | 2013-01-25T19:03:09 | C++ | UTF-8 | C++ | false | false | 1,871 | cpp | //---------------------------------------------------------------------------//
//!
//! \file MonteCarlo_FullPhaseSpaceParticleResponseFunction.cpp
//! \author Alex Robinson
//! \brief Full phase-space particle response function class definition
//!
//-----------------------------------------------------------------... | [
"aprobinson@wisc.edu"
] | aprobinson@wisc.edu |
3d92f0008ee71f9a09abd1910a92119ef80d59cf | f3111dadf4db367239b80c2077d2bdfced1f29c4 | /torch/csrc/jit/passes/tensorexpr_fuser.cpp | 030d4b2aa14e7e2a19e399ca09c763ebff3080b2 | [
"BSD-2-Clause",
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"Apache-2.0"
] | permissive | Enolerobotti/pytorch | de746ea0b8a052bfdbf563a7ccc3c765d46b99d4 | 98ad5ff41f82086ce77d5519945aff288b030c6e | refs/heads/master | 2022-12-15T20:05:02.998839 | 2020-09-04T06:35:52 | 2020-09-04T06:37:45 | 292,785,956 | 0 | 0 | NOASSERTION | 2020-09-04T07:54:36 | 2020-09-04T07:54:36 | null | UTF-8 | C++ | false | false | 28,420 | cpp | #include <torch/csrc/jit/passes/tensorexpr_fuser.h>
#include <ATen/record_function.h>
#include <torch/csrc/jit/codegen/fuser/interface.h>
#include <torch/csrc/jit/ir/alias_analysis.h>
#include <torch/csrc/jit/jit_log.h>
#include <torch/csrc/jit/passes/common_subexpression_elimination.h>
#include <torch/csrc/jit/passes/... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
c71627c26dfba47073fc1503c4ec8fd87ac7e7f9 | b71136d14603e25a0637de413d2316f96272e148 | /nsaChallenge/R0.cpp | 7c74a7ffcbe1a537fd9904232cc6dcbe7d48c608 | [] | no_license | JSwidinsky/CompetitiveProgramming | 34df380b26fad53191a07c692298d68394b4fd48 | 3742a1c5f9b422f2957ad7d67fed4fbfb6981455 | refs/heads/master | 2020-09-24T07:48:34.797284 | 2020-05-21T17:45:29 | 2020-05-21T17:45:29 | 225,705,620 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 71 | cpp | #include <bits/stdc++.h>
using namespace std;
class
int main() {
} | [
"swidinjo@gmail.com"
] | swidinjo@gmail.com |
458b859244d5865bfeb9a212e34838daff871919 | 0003a8a7d0522f18a1f109c76399fa414d5429f5 | /src/Magnum/Implementation/maxTextureSize.cpp | 72ef0b76394a45f05b565343452d7921d7d1f260 | [
"MIT"
] | permissive | aroig/magnum | 62b29b6f9e3fe1ef0eb09e152ae20cfd36c0dc0a | 9ab2a1553c5de07e7a6083dc6369feaef897742a | refs/heads/master | 2021-01-11T18:10:30.240858 | 2017-01-17T14:47:59 | 2017-01-17T14:49:50 | 79,509,604 | 1 | 0 | null | 2017-01-20T00:33:44 | 2017-01-20T00:33:44 | null | UTF-8 | C++ | false | false | 2,416 | cpp | /*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016
Vladimír Vondruš <mosra@centrum.cz>
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 S... | [
"mosra@centrum.cz"
] | mosra@centrum.cz |
952b4db28ffce276f6e38ef707612b8601e0fe3b | bbc8a61169c0ff9a4d7fc2f4704d5ac280434a2c | /jiang_jason.assignment-1.08/character.h | ea68aa17d45909a0bc18dd58c8d89d776c41ebaa | [] | no_license | JJiang76/COMS327 | c0df3bf8af8d74f1abd5e04eb85731ae964e661e | 57682d68349c969eeae22b3a42664477769eaaa9 | refs/heads/master | 2023-05-27T23:42:12.276822 | 2021-06-02T19:03:06 | 2021-06-02T19:03:06 | 343,905,224 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,111 | h | #ifndef CHARACTER_H
# define CHARACTER_H
# include <stdint.h>
# include <vector>
# include <string>
# include "dims.h"
# include "dice.h"
typedef enum kill_type {
kill_direct,
kill_avenged,
num_kill_types
} kill_type_t;
class character {
public:
char symbol;
pair_t position;
int32_t speed;
int hitpoi... | [
"jasonjiang27@gmail.com"
] | jasonjiang27@gmail.com |
60b13fc9dfe10c5ab10aa996d4300c2dd3d1aebd | c4cd24e7da52a6b60b5c63ea76de1a1a97a0c31d | /chuck_allocator/Allocator.cpp | 40e3f8d571c57a4591c000a32423dc195308a836 | [] | no_license | shubinsa/made-cpp-2020-hw | 24c4e345803ab9cdb74ff6beaf7468d245cc453e | 6e9f7e0460901ea2a714e75ccb03ab31a24e3720 | refs/heads/master | 2023-01-21T18:48:25.769391 | 2020-12-04T10:06:52 | 2020-12-04T10:06:52 | 297,466,485 | 1 | 0 | null | 2020-12-04T10:06:53 | 2020-09-21T21:35:10 | C++ | UTF-8 | C++ | false | false | 5,254 | cpp | #include <iostream>
using namespace std;
template<typename T>
class Allocator {
public:
using value_type = T;
using pointer = T*;
using const_pointer = const T*;
using reference = T&;
using const_reference = const T&;
using size_type = std::size_t;
using difference_type = std::ptrdiff_t;
using propagate_on_co... | [
"shubinsa1@gmail.com"
] | shubinsa1@gmail.com |
e9bb3a68a62bc3ac3012ccc4e0f7a6b574b1224a | dca7c72b1e992a7ac8a9f2123185c3da1147a270 | /atcoder.jp/abc005/abc005_1/Main.cpp | d4fd04b1d7cca002b0d1ce099a90cbfbde0d9deb | [] | no_license | eTakazawa/procon-archive | 4182d3d65016414c124bd03d352c1363b3fe7e70 | 15ef2e892ed3bdbd86641ad88a9ccf64156b9cdb | refs/heads/master | 2021-04-21T04:36:13.418633 | 2020-08-31T14:18:28 | 2020-08-31T14:18:28 | 249,749,882 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 108 | cpp | #include<iostream>
using namespace std;
int main(){
int x,y;
cin >> x >> y;
cout << y/x << endl;
return 0;
} | [
"takazawa621@gmail.com"
] | takazawa621@gmail.com |
caca106de40564f0a48cb26bafb602ffab48993a | 3b8058f4962c945cee85d81401ae4f499aaede97 | /inc/arpterm/util/util.hpp | 5170f8caaa5fb79e4c7a4f07d0d37c37d074bf00 | [] | no_license | Arp-/arpterm | 1f2fcbcb5befce82906ed54a41ff37e95c2c2eba | 7a6d4ba971dce6ca6aa608b28b7323c4272d6e74 | refs/heads/master | 2021-01-24T18:47:31.545711 | 2017-06-17T19:08:07 | 2017-06-17T19:08:07 | 84,477,152 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 735 | hpp |
#ifndef ARPTERM_UTIL_HPP
#define ARPTERM_UTIL_HPP
namespace arpterm {
namespace util {
template <typename T, typename ...Args>
inline std::unique_ptr<T> make_unique(Args&& ...args) {
return std::unique_ptr<T>(new T(args...));
}
inline void print_hex(const char* buf, size_t len) {
printf("0x");
... | [
"irphathil@gmail.com"
] | irphathil@gmail.com |
5bc90c98b79f750a7a63c6250feeae4b7d620b35 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /media/formats/mp4/mp4_stream_parser.h | 86ef7467c528dd3d3800187a325ed2deb08bd135 | [
"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 | 5,388 | h | // 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.
#ifndef MEDIA_FORMATS_MP4_MP4_STREAM_PARSER_H_
#define MEDIA_FORMATS_MP4_MP4_STREAM_PARSER_H_
#include <stdint.h>
#include <memory>
#include <set>
#incl... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
f94d99144f1c05f463209079292d669bb8ee5366 | 3b698b8a7d2730605adc16cda2632d736db896e0 | /lib/RelayHandler/RelayHandler.hpp | 019eea7b4159490799709c772b5663af6e6ebcfa | [
"Apache-2.0"
] | permissive | thorsten-l/ESP8266-WiFi-Socket-II | a2f2447d42deb91ad1e186662398cd179290fb10 | 163840f52273ae85c9ea92e12db049c757763050 | refs/heads/master | 2020-04-13T16:07:30.828419 | 2020-03-20T16:24:08 | 2020-03-20T16:24:08 | 163,313,219 | 5 | 2 | Apache-2.0 | 2019-05-29T06:53:04 | 2018-12-27T16:04:24 | C++ | UTF-8 | C++ | false | false | 408 | hpp | #ifndef __RELAY_HANDLER_HPP__
#define __RELAY_HANDLER_HPP__
class RelayHandler
{
private:
volatile bool powerOn;
volatile bool delayState;
volatile bool delayAction;
void on();
void off();
public:
RelayHandler();
const bool isPowerOn();
const bool isDelayedPowerOn();
void toggle();
void delayedOn... | [
"th@l9g.de"
] | th@l9g.de |
8d34ee418ec69c6c685921954ea89f7941f6e4fe | 489616aed3f8453b807668c1777e4397c69c5a00 | /Problems/1176c.cpp | c50d4e4f86b8a8945d428e80d90032d2d4b8f6ae | [] | no_license | kunalvaswani123/Codeforces | a4f3a52f7883b87ba16402b8373430080a42ca6a | 71ce7910abec704282ea37f3117b46ad26104bef | refs/heads/master | 2020-06-03T10:54:56.288155 | 2019-08-16T12:34:59 | 2019-08-16T12:34:59 | 191,541,492 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,338 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
const ll mod = 1e9 + 7;
#define pival 3.14159265359
#define pii pair<int,int>
#define pll pair<ll,ll>
#define pb push_back
#define mp make_pair
#define fi first
#define se second
#define pqq priority_queue
#define all(a) a.begin(... | [
"kvaswani2012@gmail.com"
] | kvaswani2012@gmail.com |
d939fc8585527e931c243f4c3fcc982f7a66cb2f | 5c0ce7522d6cd8b9dfe7e6d577e4c61f50a13df7 | /include/cublas_result.h | 9cb6f8e69d1a1dea2a4eec00d78e97dc85917681 | [] | no_license | anax32/nvwrap | cd56988be81d9558c53b4f2144b80c5c23a508ec | 60b6730955892377c5c2773af9ec9e4fc0b31e20 | refs/heads/master | 2021-07-16T18:36:35.353780 | 2017-10-05T12:14:55 | 2017-10-05T12:14:55 | 105,268,038 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 234 | h | #ifndef CUBLAS_RESULT_H
#define CUBLAS_RESULT_H
class cublas_result
{
protected:
cublasStatus_t result_;
public:
cublas_result()
: result_(CUBLAS_STATUS_SUCCESS)
{}
cublasStatus_t result() const
{
return result_;
}
};
#endif | [
"anax@hotmail.co.uk"
] | anax@hotmail.co.uk |
5f471fc9a624d3068bb9889d2fde49e4dd63e71e | 889bd9e0965f4657335f4694de21c03403d190cb | /recepmod/solverC.cpp | 33bc2c38a47158fff04b6c2b2dda47440ca2aadf | [
"MIT"
] | permissive | cyrillustan/FcgR-binding | 6604d4863a604284f754a4c28f240b724385ee5c | 2a201e7bc41dee5a6d2245c7886efb49ef1e3227 | refs/heads/master | 2020-04-07T18:32:32.670905 | 2018-06-18T01:26:14 | 2018-06-18T01:26:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,813 | cpp | #include <iostream>
#include <cmath>
#include <tuple>
using namespace std;
tuple<double, double, double> diffFAnon(double x, double R, double viLika, double kx, int vi) {
// Mass balance for receptor species, to identify the amount of free receptor.
double b = 1+kx*x;
double aa = viLika*pow(b, vi-3);
return {R-x... | [
"noreply@github.com"
] | cyrillustan.noreply@github.com |
f8ba8caa58ac3595b429993dd3ebf8fdbd6f924d | 7c999c6a4b0bcc9fc114cdf253eeb32ba088eda1 | /Assn1/10_opengl3_3/10.) Skybox/source/10.) Skybox/shaders.h | 29de552cb26bf5e61e92fbbfd2f4a427af994e4b | [] | no_license | ycjungSubhuman/CrossTheRoad | d7923effc991894f96722a66ee37c219384516a6 | 81cfb64193b6a5acc3f6d07de4df293c64719b56 | refs/heads/master | 2021-01-21T12:59:11.800892 | 2016-05-17T05:31:35 | 2016-05-17T05:31:35 | 53,595,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,912 | h | #pragma once
/********************************
Class: CShader
Purpose: Wraps OpenGL shader loading
and compiling.
********************************/
class CShader
{
public:
bool loadShader(string sFile, int a_iType);
void deleteShader();
bool isLoaded();
UINT getShaderID();
CShader();
private:
UINT uiSh... | [
"jung3519@gmail.com"
] | jung3519@gmail.com |
66fc62db1a054cd43a9d4a4fb4cde38210f07ea6 | a23409a54d6ef8955e8aa890c583355cdb2b2d8f | /libstreetmap/GUI_Autocomplete.cpp | 498de16bd2e597a231c6a59316bde23f05a0a93c | [] | no_license | LiuKuen/CityMaps | a6f76e6d67732b436b50f13bdbdd16ca3b0fe7fa | 088cdb9a5e58d8e3927c47fac253fe2378db226d | refs/heads/master | 2021-06-01T05:45:25.236568 | 2016-09-07T03:01:53 | 2016-09-07T03:01:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,404 | cpp | #include "GUI_Autocomplete.h"
void AutoCompleteHandler::updateQueries(Trie& database, int keysym, string prefix){
if(keysym != XK_Tab){
autocompleteQueries.clear();
int startingRow = 0;
// prefix remains the same as the user types
TrieNode* prefixNode = database.findPrefixL... | [
"kuenjeffrey@hotmail.com"
] | kuenjeffrey@hotmail.com |
f8b7c75d5146ab60dbfa5d995cdf5dfbdff2cd24 | 37d7eb7ac7c5238bfd43900ac1a10ca601f2dcd2 | /Senior/CS475/GL-Examples/dijkstra.cpp | ffaac81ec8cd57aeca1b409d993a7b1474378f43 | [
"MIT"
] | permissive | kalaarentz/CollegeCode | 9cb493b1a8238ca9fb87a900d33a5cfc76232f40 | b906a85880d846c69d925c14859b873010e204cd | refs/heads/master | 2020-03-19T04:40:04.891795 | 2018-06-02T21:54:00 | 2018-06-02T21:54:00 | 135,852,084 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,683 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <float.h>
#include <string.h>
#include <stdbool.h>
#include "platformGL.h"
#include "modelVAO.h"
#include "minHeap.h"
#include "meshTables.h"
#include "dijkstra.h"
#define SQR(x) ((x) * (x))
// vertex attributes consist of Vector3 for coordinates, Ve... | [
"arentz.kala@uwlax.edu"
] | arentz.kala@uwlax.edu |
2c071b048b8374ba18e3bf112acdfce9e29424de | b11ee5504fe02b1b2e06c66565cebf9930935e36 | /pyotr-the-pig-journey/pyotr-the-pig-journey/ScoreInfo.h | 724b8cacec098c9849687c82bd4db9eec8473cde | [] | no_license | ivan-uskov/project-work-basics-labs | 58ab5e7dffc8e20c217cf50714c072c190b20542 | 9f57bdd43b9053f9056f7b44b4307fe38feb3391 | refs/heads/master | 2021-01-19T06:56:20.712337 | 2017-01-29T17:07:36 | 2017-01-29T17:07:36 | 68,512,614 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 553 | h | #pragma once
#include "ResourceIdentifiers.h"
#include "Component.h"
#include <SFML/Graphics/Sprite.hpp>
namespace GUI
{
class ScoreInfo : public Component
{
public:
ScoreInfo(const sf::Texture& texture, sf::IntRect const& textureRect);
void operator ++ ();
void setScore(unsigne... | [
"ivan.uskov@cpslabs.net"
] | ivan.uskov@cpslabs.net |
10ea4338dcabb61ee99e20e992d435bbb50d0c21 | 5f5bb4fe58ca6c9758e5ecd4f1acd7f3af7a41a4 | /codeforces/contests/educational/80-div2/c.cpp | 80538b3eb346cfa5e277777b3980d9e59a2f2eec | [
"MIT"
] | permissive | tysm/cpsols | 61a93de55dbeb2d92d92c80681d6615521d3d0ba | 262212646203e516d1706edf962290de93762611 | refs/heads/master | 2023-03-10T01:04:39.409948 | 2021-02-23T21:49:55 | 2021-02-23T21:49:55 | 202,269,911 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 217 | cpp | #include <cpplib/stdinc.hpp>
#include <cpplib/math/modc.hpp>
int32_t main(){
desync();
int n, m;
cin >> n >> m;
ModC<> mc;
cout << mc.C(2*m + n-1, 2*m) << endl; // stars and bars.
return 0;
}
| [
"ysm.thalles@gmail.com"
] | ysm.thalles@gmail.com |
739f175bcb2e0d0cf6746e851f5ef389512300ea | ce6fc44470dcb5fca78cdd3349a7be70d75f2e3a | /ORAC questions/Art Class/prog_orac.cpp | 46ea5a7e9adb41b7a09ac2798053eec217a40639 | [] | no_license | cormackikkert/competitive-programming | f3fa287fcb74248ba218ecd763f8f6df31d57424 | 3a1200b8ff9b6941c422371961a127d7be8f2e00 | refs/heads/master | 2022-12-17T02:02:40.892608 | 2020-09-20T11:47:15 | 2020-09-20T11:47:15 | 266,775,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,681 | cpp | #include <bits/stdc++.h>
using namespace std;
int H, W, c;
vector<vector<bool>> grid (1000, vector<bool> (1000));
vector<vector<bool>> visited (1000, vector<bool> (1000));
vector<int> minRow (1000);
vector<int> maxRow (1000);
void search(int x, int y) {
visited[y][x] = true;
++c;
minRow[y] = min(minRow[y]... | [
"u6427001@anu.edu.au"
] | u6427001@anu.edu.au |
3ef289630e0ca418b1b39e9cac87198c91318f7a | b69ce26a991a8fbfcd6ac1abe983648d71346d27 | /bridge/main.cc | efeaf5aa2c2a37c39d35e6a7794b8f6caae183a3 | [] | no_license | oooxxx996/patterncpp | c914a9a1653bdd64d0356150c254fd8f963db73d | c0e036ad0d064f3ee381e0783924ad0449faf2af | refs/heads/master | 2022-12-04T18:00:03.165901 | 2019-09-08T14:26:26 | 2019-09-08T14:26:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,471 | cc | #include<iostream>
#include<memory>
using namespace std;
//implementor
class IOS{
public:
virtual void run()=0;
~IOS(){
cout<<"IOS destructor"<<endl;
}
};
//concret implementor
class Ubuntu:public IOS{
public:
virtual void run() override{
cout<<"Ubuntu is running..."<<endl;
}
};
class Win10:public IOS{
pu... | [
"1902547475@qq.com"
] | 1902547475@qq.com |
85af6c5ff4bbb7b6a1d3b07800bd0fbd128c1a4e | d93daecc66d746411223e2bb4d4cfeac10ddc34f | /_Stack.h | e3480477a8da1d78fd7022cd286a7792f1b98fc3 | [] | no_license | ElliotVilhelm/Tokenizer | 809022c06ab308c6cbcecdf81d8a91324da7d1a5 | 1687a3a57be80f9b2efd7ee9600d8649095dc3fe | refs/heads/master | 2021-01-23T04:29:20.672573 | 2017-03-26T23:56:15 | 2017-03-26T23:56:15 | 86,201,809 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,484 | h | #ifndef _STACK_H
#define _STACK_H
#include "doublylinkedlist.h"
template<class T>
class _Stack
{
public:
_Stack();
_Stack(T item);
// BIG THREE
_Stack(_Stack<T>& CopyThis);
~_Stack();
_Stack<T> &operator =(const _Stack<T>& CopyMe);
ostream& operator<< (T item);
void Push(T item);
... | [
"elliot@pourmand.com"
] | elliot@pourmand.com |
a6d25a62e1a946ac498c7fcb5ee629b69b0c3b16 | 25c0aa423479567d219c51cad3522324e8c90a24 | /Subsystems/CompressorSys.cpp | 0878783ba703353b1c6dd9db15da73c8a38e49df | [] | no_license | jmglidden/Fluffy | 79b38ab9d7b093d31cc3bef1539c9f7cba066469 | 9c13fce30dad33a80b2ee96b35919e84d4699e78 | HEAD | 2016-09-05T22:02:51.641915 | 2014-07-19T16:33:46 | 2014-07-19T16:33:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,321 | cpp | // RobotBuilder Version: 0.0.2
//
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// C++ from RobotBuilder. Do not put any code or make any change in
// the block... | [
"jmglidden@gmail.com"
] | jmglidden@gmail.com |
95bf9eb196cb51b84dfc588d7a38337a75024dfd | ba4594763eb9cb707289144e89962b18519aa555 | /Data Structures/test.cpp | 3dd85ccb93fcc678b7dd18284e39195e98088b81 | [] | no_license | AnthonyG1371/College-Assignments | b03ab39dcccf9a1d67854c3904d40af7a84d46b6 | e129b38cf41acee7d9ad46b6db96c4ad6d5a33cd | refs/heads/master | 2020-03-12T12:55:25.335190 | 2018-05-28T16:57:34 | 2018-05-28T16:57:34 | 130,629,978 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 459 | cpp | // overload_date.cpp
// compile with: /EHsc
#include <iostream>
using namespace std;
class Date
{
int mo, da, yr;
public:
Date(int m, int d, int y)
{
mo = m; da = d; yr = y;
}
friend ostream& operator<<(ostream& os, const Date& dt);
};
ostream& operator<<(ostream& os, const Date& dt)
{
... | [
"Anthony.G1371@gmail.com"
] | Anthony.G1371@gmail.com |
9fb861272720d52905d5d90970b6979f5e1d5970 | 0b0cf9e1e4ff13fd485599f5b3a97e8c4891aa4e | /cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ipv4_dc_cfg.cpp | 9af684c810fc0b0c0fdbdfa80f955ad01127553f | [
"Apache-2.0"
] | permissive | juvenz/ydk-cpp | 92b537488c30b4ba7f47fc04f0f61ab0986764a9 | 214b4e49c4338b778306c9cd1d2f4514fe84c63c | refs/heads/master | 2020-07-02T06:30:40.258180 | 2019-05-31T22:20:28 | 2019-05-31T22:20:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 544 | cpp |
#include <sstream>
#include <iostream>
#include <ydk/entity_util.hpp>
#include "bundle_info.hpp"
#include "generated_entity_lookup.hpp"
#include "Cisco_IOS_XR_ipv4_dc_cfg.hpp"
using namespace ydk;
namespace cisco_ios_xr {
namespace Cisco_IOS_XR_ipv4_dc_cfg {
const Enum::YLeaf Opt61Sub::ascii {1, "ascii"};
const Enu... | [
"noreply@github.com"
] | juvenz.noreply@github.com |
3e644680727affdd983e8d7c1d0b23b88c8c0e53 | 84d6d5a193eca3a7a9b9d6159c30c560ca0344b1 | /test/linker.cc | cdfedd77425ce6b003d9a45aaae08a2700524381 | [
"MIT"
] | permissive | tttcn/Kluster | 2f81c775440d99bce9fb9088d4c8ce8744ee2124 | a12b450ebdd07b201481aea49375b5673ba278d4 | refs/heads/master | 2020-09-10T23:24:02.968900 | 2020-01-05T15:19:42 | 2020-01-05T15:19:42 | 221,864,084 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,080 | cc | /*
* 用于处理二进制的csv文件
* 数据格式:v1,...,vn 这样的连续向量
*/
#include "src/api.cuh"
#include "fstream"
#include "iostream"
#include <string>
#include <omp.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <sys/stat.h>
#include <algorithm>
void... | [
"tttang.cn@gmail.com"
] | tttang.cn@gmail.com |
91e984c9399da005efec152090f2d6cabb3a252b | b7cf5a0ec91b407cead7b77991e1d8e8f98a9eee | /2016/day8.h | 9109ccf05bc3b94760e63d3a0ee7968d0747a959 | [] | no_license | Kobzol/advent-of-code | 07d3737b3b415b41bf1cc1e870fd9717edbff5f8 | 6b3af9a37b21de738062fb41df3b3479f14d67bc | refs/heads/master | 2023-01-11T09:15:05.040074 | 2022-12-25T09:31:09 | 2022-12-25T09:31:09 | 159,705,336 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,777 | h | #pragma once
#include <fstream>
#include <string>
#include <iostream>
#include <sstream>
void day8()
{
std::fstream fs("input.txt", std::ios::in);
std::string display[6];
for (int i = 0; i < 6; i++)
{
display[i] = std::string(50, '.');
}
std::string row;
while (std::getline(fs, row))
{
std::stringstrea... | [
"berykubik@gmail.com"
] | berykubik@gmail.com |
363243544b4fa66d359fe2a964487f642493226a | cdf7aae463df69fe52d4e9dbdc63bde7f1df9801 | /performer-1.0/src/config/winpriority.cpp | 650a6eaa0a3abbb5fb8cfc812e0e67d70072dd76 | [] | no_license | iq-dot/performer | b2767c18988ecf5f1039ee64275b25bf8a7a1dac | 255fe4b881441dae359faecb2a216a7be3aedf6a | refs/heads/master | 2020-04-07T02:27:45.845208 | 2014-03-31T11:14:30 | 2014-03-31T11:14:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,005 | cpp | #include <windows.h>
#include "performer/data_collection/configfile.h"
bool changePriority(ConfigFile::ProcPriority priority)
{
BOOL chk;
if(priority == ConfigFile::NORMAL){
chk = SetPriorityClass(GetCurrentProcess(), NORMAL_PRIORITY_CLASS);
}
else if(priority == ConfigFile::HIGH){
chk ... | [
"iq.quit@gmail.com"
] | iq.quit@gmail.com |
5a9915b70d435488fe91695c7b8c906f114527a9 | af9dfcad721a1ecc185f791fa2da922b744a9d28 | /longest bitonic sequence.cpp | 179536d72dd7774824cc5bd26867739a175e4ee2 | [] | no_license | nishitm/c0de | eb58b1fab0d12d03e49906031086a7bb2636d08c | 8a12c85f914fa10fa87ed36a9915ee6ac04c6540 | refs/heads/master | 2021-01-12T13:09:27.628627 | 2016-11-23T08:13:59 | 2016-11-23T08:13:59 | 68,672,133 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 906 | cpp | #include<bits/stdc++.h>
using namespace std;
int bitonic( vector<int>v)
{
int n=v.size();
vector<int>lis(n);
for (int i = 0; i < n; i++)
lis[i] = 1;
vector<int> lis2(n);
for (int i = 0; i < n; i++)
lis2[i] = 1;
for (int i = 1; i < n; i++)
for (int j = 0; j < i; j++)
... | [
"nishitm@cse.iitk.ac.in"
] | nishitm@cse.iitk.ac.in |
e5d7464271c77d30b78bd6c20c71e575f1fbd5ab | 7096e9c7f583ed5dda3fa3bf4236344c5f739476 | /Software/INOs (Not most up to date)/Ex-Use/Old OG/Layers Example/Code-master-a0defba0c61197c4ce4dd460c3810c5a6583d279/Examples/arduino_cmps11_i2c/arduino_cmps11_i2c.ino | 6d4b104637b53bf3512b7afe1c74455e8ff51d2b | [
"WTFPL"
] | permissive | TomFraser/FG-B-2016 | 5fd66fda75ac3ff43132579e5c8b10e2cd4136d6 | e86ddbc886c32f80d94d5899c208abe8a7a0bfe5 | refs/heads/master | 2021-03-27T10:20:59.547840 | 2018-04-15T10:53:11 | 2018-04-15T10:53:11 | 82,669,457 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,797 | ino | /*****************************************
* CMPS11 I2C example for Arduino *
* By James Henderson, 2014 *
*****************************************/
#include <Wire.h>
#define CMPS11_ADDRESS 0x60 // Address of CMPS11 shifted right one bit for arduino wire library
#define ANGLE_8 1 /... | [
"18135@student.bbc.qld.edu.au"
] | 18135@student.bbc.qld.edu.au |
d4064dd55075f0bd7f59c50120797ad267d5dc93 | 50f8c138da0165fa140c3241291aa2b0a8a14f99 | /prefix flip.cpp | 8e1a463e54e44add24a07d9076030316b8ae3055 | [] | no_license | Priybhanu99/My-Codes | c5da0821348939d75498e2751bc6c63d5e572294 | 4dc2e93fb941c4166b3b687a76358a1f309cc976 | refs/heads/master | 2021-05-19T12:22:09.830851 | 2021-01-17T15:22:23 | 2021-01-17T15:22:23 | 251,694,773 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,178 | cpp | #include <bits/stdc++.h>
using namespace std;
#define int long long int
#define P pair<int,int>
#define pb push_back
#define F first
#define S second
void func(string &a,string &b,int index,int n){
string temp;
for (int i = 0; i <= index; ++i)
{
if(a[i]=='0'){
temp+='1';
}else{
temp+='0';
}
}
// co... | [
"bhanuyadav1999.by@gmail.com"
] | bhanuyadav1999.by@gmail.com |
23ced69fb4fc917a7bbfda39b939444fe8b9e63c | 0946e487af65df90143f05773eb146a8668fe7bd | /unity/native_src_ourv8/Src/JSEngine.cpp | d42eae376415922cde2f3908ceaa655c23c116f7 | [
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | liufujingwen/puerts | 1399650f02b783a9f50d9e8e83d8cf61578d57c4 | 7f53be186d6f335005f0b0aecd53ea446c8add9e | refs/heads/master | 2023-07-01T09:28:42.542727 | 2021-08-12T07:51:23 | 2021-08-12T07:51:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,006 | cpp | /*
* Tencent is pleased to support the open source community by making Puerts available.
* Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved.
* Puerts is licensed under the BSD 3-Clause License, except for the third-party components listed in the file 'LICENSE' which may be subject to their c... | [
"noreply@github.com"
] | liufujingwen.noreply@github.com |
67569b683e80ec2e5902c27c3b2c3e39d67eecd5 | e0e7c6ec2a65ddcae2f40f33aaecdf2aca372577 | /hackerrank/c++/classes/virtual-functions.cpp | 73ae9da004f1ea9e25b19017b45fd772fccc912e | [
"MIT"
] | permissive | ParinVachhani/coding-practice | c77349f603634031d68e1a3df60bef6a7ae801fb | 2268215b1e1f26bfe09d0dfb4f94366594a6ef37 | refs/heads/master | 2020-03-15T20:47:52.334115 | 2018-07-12T22:17:15 | 2018-07-12T22:17:15 | 132,341,183 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,917 | cpp | //Problem link - https://www.hackerrank.com/challenges/virtual-functions
//Code author - Parin Vachhani - https://github.com/parinvachhani
#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
class Person {
public:
int age;
string name;
virtual... | [
"vachhaniparin@gmail.com"
] | vachhaniparin@gmail.com |
9b783c225da1863ed1242a877fdbdd2498132f47 | 60bb67415a192d0c421719de7822c1819d5ba7ac | /blazetest/src/mathtest/dmatsmatmult/SLDaLCa.cpp | 61a98057092315dc8fad91764ef24e55b62dfac5 | [
"BSD-3-Clause"
] | permissive | rtohid/blaze | 48decd51395d912730add9bc0d19e617ecae8624 | 7852d9e22aeb89b907cb878c28d6ca75e5528431 | refs/heads/master | 2020-04-16T16:48:03.915504 | 2018-12-19T20:29:42 | 2018-12-19T20:29:42 | 165,750,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,475 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dmatsmatmult/SLDaLCa.cpp
// \brief Source file for the SLDaLCa dense matrix/sparse matrix multiplication math test
//
// Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved
//
// T... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
818b85768726a30cbbf0545e7658cc7d996ac8c4 | 8726841917e4999289451334c356e97f966ee776 | /C++/61 Rotate List.cpp | 3c0f727ffc6ee061e34105047727ae208c2ca3b2 | [] | no_license | weiho1122/LeetCode | cf890eaf3b8299897431564d811c52d1a95f6d94 | ac986cb0ccba053afbb21b7fe6ec8fa5f767da5e | refs/heads/master | 2021-01-11T02:04:40.560365 | 2016-09-13T00:09:04 | 2016-09-13T00:09:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 970 | cpp | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
ListNode* rotateRight(ListNode* head, int k) {//time O(N), space O(1), 12ms AC.
if(head == NULL) return NULL;
ListNo... | [
"zhangweiqi357@gmail.com"
] | zhangweiqi357@gmail.com |
64bf0727d0c3dbf26ecfd071a47d4654b4bf5c56 | 425df0659dce92ec507b4ec31b4e1fed30826882 | /Recursion I/checkSorted.cpp | 304256c26bbc2534f041b6f4d5db506006ed9f95 | [] | no_license | mohammadabdullahjawwad/DSAcpp | 646bf9a9a8176c05feb320e4926c881c6a29ea92 | b637778beb17fb2f632c75cbfc51f133d7e4d66a | refs/heads/master | 2023-07-23T17:54:30.967587 | 2021-09-05T18:39:01 | 2021-09-05T18:39:01 | 389,128,151 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 635 | cpp | #include <iostream>
using namespace std;
#define FIO \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); \
cout.tie(NULL);
#define OJ \
freopen("input.txt", "r", stdin); \
freopen("output.txt", "w", stdout);
bool isSorted(int* a, int n) {
if(n == 0 || n == 1) {
return true;
}
... | [
"mohammadabdullahjawwad.official@gmail.com"
] | mohammadabdullahjawwad.official@gmail.com |
1f657c03edd25bfa9f2bca1e13bd4a90f761b1e3 | ec7cc586344bb518a201f0eab7990ff91b54f054 | /lib/qa_baudot_decode_bb.cc | 5f76c2c9ed0a96497aa88665badf00a555aa0341 | [] | no_license | dl1ksv/gr-radioteletype | e9a426f1eeeeaaa64427d8aa524519c92b60a02a | 807960b3572680625c3e056bd6eeb965d15d9a7e | refs/heads/master | 2020-07-20T00:00:28.616051 | 2019-10-13T09:51:49 | 2019-10-13T09:51:49 | 206,535,597 | 2 | 0 | null | 2019-09-17T09:54:31 | 2019-09-05T10:20:51 | C++ | UTF-8 | C++ | false | false | 1,083 | cc | /* -*- c++ -*- */
/*
* Copyright 2019 dl1ksv.
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This software is distributed in the... | [
"3470424+dl1ksv@users.noreply.github.com"
] | 3470424+dl1ksv@users.noreply.github.com |
30d9450ff28689f0391eca399d22c2ff0cdf994d | 6e0609ae1c009e92501a9cc99d9b368065260b03 | /lab2/laba2_cpp/Text.h | 45649f42ae905b698c4cd545e83d0dadc89a8252 | [] | no_license | lososs244/OOP_labs_2sem | c0e46860ce0810f28189581ac760b09ff058f027 | fa70ed8b3d8b89874ec7a99dca73ee1c5d122d6d | refs/heads/master | 2022-10-08T22:48:31.609272 | 2020-06-08T11:46:32 | 2020-06-08T11:46:32 | 269,462,808 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 386 | h | #ifndef TEXT
#define TEXT
#include "String.h"
#include <vector>
using namespace std;
class Text {
private:
int size = 0;
vector<String> text;
public:
int get_length();
void output_text();
void add_line(char*);
double middle_length();
double vitsotok_holosnyh();
//void find_and_delete(stri... | [
"asdfqwerzxcv549@gmail.com"
] | asdfqwerzxcv549@gmail.com |
db8f026b2c5fe443c9aae3da5c58c076993164b7 | 6852c86d29ea45143de348a38944539e155e23fc | /020-sound-sensor-module/020-sound-sensor-module.ino | 6b84a28352ab1b7c627df294d3d63b5be629285c | [] | no_license | fallwall/workshop-intro-to-prototyping-with-arduino | cdd488de07a99e47a8fdd7d244b313ad850b8cb3 | 7fb811604f511fac370dc376193761bce20e8b89 | refs/heads/master | 2023-04-08T09:24:52.314018 | 2021-04-15T18:46:45 | 2021-04-15T18:46:45 | 333,990,704 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,536 | ino |
/*
LED1 should be lit, showing power. LED2 indicates sound input, and the sensitivity is adjusted by potentiometer.
There is a tiny screw on the blue potentiometer block that you can use for adjustment. Turning that
clockwise lowers the potentiometer value, while counter-clockwise raises the potentiometer value.... | [
"fallwall19@gmail.com"
] | fallwall19@gmail.com |
beb5df5b32ad5d67a7f15fb19ebf6652adfd3c18 | e32f44458c1117129be2c0287b4fcedf131b1f41 | /ASDasdsad.cpp | a92fe193d10564d2b6490195662bcd8c0d05690c | [
"MIT"
] | permissive | gchinmayvarma/C-Python-Batch-OldProjects | ee3159680b5989b545d21ab59a582024bab419b6 | 3b0fda35789f67a919752bf83928ae18e559fb8f | refs/heads/main | 2023-08-16T03:07:54.809501 | 2021-09-13T23:59:21 | 2021-09-13T23:59:21 | 406,162,718 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 578 | cpp | #include <iostream>
#include <conio.h>
using namespace std ;
int main()
{
char x[20] ;
cout << "Enter password :> " ;
for( int i = 0 ; i < 20 ; )
{
x[i] = getch() ;
if(x[i] == 13) break ;
if(x[i] == '\b')
{
if( i <= 0 ) continue ;
... | [
"noreply@github.com"
] | gchinmayvarma.noreply@github.com |
f2baf375c4c89230d6ade0d3ada6640fd42ba392 | 7d77854240f73e076b9c46ca5fe80d0aad38d134 | /Lab13_ex4/Lab13_ex4/Lab13_ex4.cpp | fa4a0eed6719cfcc3536fbf50a580321346310fd | [] | no_license | MightyThor-bruh/OS-2sem | 892f650fe5d732c8ab755e01a89808e652c27e55 | 9826b4acaf2eaaa042d0bbb3b51bd3f4e1853313 | refs/heads/main | 2023-08-19T12:49:02.842701 | 2021-10-31T13:58:29 | 2021-10-31T13:58:29 | 423,158,878 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,242 | cpp | // Lab13_ex4.cpp : Этот файл содержит функцию "main". Здесь начинается и заканчивается выполнение программы.
//
#include <windows.h>
#include <tchar.h>
struct threadParam {
PTCHAR string;
INT size;
};
DWORD WINAPI myThread(LPVOID lpParameter)
{
HANDLE hOut = CreateFile(TEXT("D:\\Стандартные папки\\Р... | [
"noreply@github.com"
] | MightyThor-bruh.noreply@github.com |
c1df7e882849bb311aff38f5e33d7ed4c699e06e | 0858a74e7699c814845d3757a66a908ce5902289 | /examples/10_IoT/BulutLedKontrol/src/BulutLedKontrol.cpp | b35a995256bced821a4fb71d5762ea5b2c663e15 | [
"Apache-2.0"
] | permissive | MelihOzbk/deneyapkart-platformio-core | e1e980b8c43dacccf05eaaea2745e6191fbb029a | c0fbc8ffa181ee22e597569b24bde5a011ccaaa4 | refs/heads/master | 2023-09-02T16:44:47.698167 | 2021-10-10T09:02:25 | 2021-10-10T09:02:25 | 415,533,253 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,200 | cpp | // Adafruit IO kullanarak IoT tabanli uzaktan led kontrol uygulamasi
#include <Arduino.h>
#include "deneyap.h"
#include "WiFiESP32.h"
#include <Adafruit_MQTT.h>
#include <Adafruit_MQTT_Client.h>
#define WLAN_SSID "***********" // Baglanti kurulacak Wi-Fi agi adi
#define WLAN_PASS "***********" ... | [
"ozgur.bostan@rftek.com.tr"
] | ozgur.bostan@rftek.com.tr |
e1da8aa1680584e241031c509124f28a3e334ab2 | a0f040e88a59df2312f05744e1d9ce9650aed54b | /original/Database.cpp | 9100de229f96f3711e8ecb7698a583e2c0325ff5 | [] | no_license | JaredEzz/RelationalDatabase | 989eb1d51d510340736211b8640951230f895677 | bda3995b1bcd5d06cc222e04282934f44d6c6816 | refs/heads/master | 2020-12-03T08:19:37.814756 | 2020-01-01T18:21:34 | 2020-01-01T18:21:34 | 231,249,305 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,027 | cpp | #include "Database.h"
using namespace std;
string printd(vector<string> vec)
{
stringstream out;
for (unsigned int i = 0; i < vec.size(); i++)
{
out << "(" << vec.at(i) << ")" << " ";
}
return out.str();
}
Database::Database(char* arg1, char* arg2) : p(arg1, arg2)
{
schemes = p.getDatalog().getSchemes();
... | [
"jhasson@simplifile.com"
] | jhasson@simplifile.com |
d6490f8a095c3f88aad3c0a3b45f4b81b92e5f74 | 7ff2354c647253c9d63831d6c7b46100c05a7bb3 | /win32/tinnysprite/ggtest/simplewin/WinTest.cpp | 03d2c12ac7fde4715d4deae3af0e53a33fba072b | [] | no_license | Omgan/code4me | d28143c1aac5ff097cc50fab820c1a2706bc1eb7 | 19b2bd1a06780f29e93745a1dee89932a65b9c76 | refs/heads/master | 2020-12-28T21:06:36.220571 | 2013-06-19T02:20:14 | 2013-06-19T02:20:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,774 | cpp | // WinTest.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#include "WinTest.h"
#include "..\simpledll\interface.h"
#define MAX_LOADSTRING 100
// Global Variables:
HINSTANCE hInst; // current instance
TCHAR szTitle[MAX_LOADSTRING]; // The title bar text
TCHAR szWindowClass[MAX_LO... | [
"hikerlive@gmail.com"
] | hikerlive@gmail.com |
28caf13e0f4bd43c19ec76e69c9fb1a1c7aea473 | ab0b60a1426754e8e22ee5541b54e20675816541 | /BatteryCollector/Intermediate/Build/Win64/UE4Editor/Inc/BatteryCollector/SpawnVolume.gen.cpp | a41febba127eb27f12350b56e5405bceda53af0a | [] | no_license | RikuH/GameProgrammingNow | 33a6809057fe51c859130041720cc858a4b86e88 | 5125a322f0cedf8b090eb355ee824928a857aa82 | refs/heads/master | 2022-03-24T00:01:19.176664 | 2019-11-28T08:24:25 | 2019-11-28T08:24:25 | 223,348,681 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,700 | cpp | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
==============================================================... | [
"riku_hei@hotmail.com"
] | riku_hei@hotmail.com |
264e2d09aa9c5bd71a61eca33e3394cc3b21e1a8 | 4f9ba865d38cd4079f8d50ab1d0646ff651c060d | /ddnsloop.h | b0f446cd450c4824191ec9368e9ac2f72c518b7b | [] | no_license | ink19/ddns_qt | e05963fca75e7ecccfe60bc75007e023b72bf09b | b63812bb99abbd011621ff15d77ac160aba5a3fe | refs/heads/master | 2020-08-05T13:51:51.655619 | 2019-11-04T08:35:52 | 2019-11-04T08:35:52 | 212,567,782 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 562 | h | #ifndef DDNSLOOP_H
#define DDNSLOOP_H
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QNetworkRequest>
#include <QThread>
#include "ddnssetting.h"
#include <QObject>
#include <QNetworkInterface>
#include <QDebug>
class DDnsLoop: public QThread
{
Q_OBJECT
public:
DDnsLoop(DDnsSetting *settin... | [
"ink19@qq.com"
] | ink19@qq.com |
12e299c73f1224e0aed2671401d1e1595ce92310 | ae87ec7d1f9aaccaeaba3f22e2f45927ee23da21 | /cons1.cpp | 73fe00a7cdac08b87950075f3b7953c17e739d29 | [] | no_license | tanjina-3ni/C-CPP | b29ac2d6d9ca0ee2554bf3e7f664f7de257c37d0 | 3cdc0f28f1617fdf885232a8dd1884ccaa3e31da | refs/heads/master | 2022-03-28T12:57:43.928563 | 2020-01-16T09:05:40 | 2020-01-16T09:05:40 | 103,186,762 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 275 | cpp | #include<iostream>
using namespace std;
class myclass{
int a;
public:
myclass();
void show();
};
myclass::myclass(){
cout<<"In construction a = ";
a=10;
}
void myclass::show()
{
cout<<a;
}
int main(){
myclass obj;
obj.show();
return 0;
}
| [
"noreply@github.com"
] | tanjina-3ni.noreply@github.com |
90f9f29cfd944e19e416a2db67da64601168866b | 07b30b07f3ef2fc2734c6a7226aee9b5cba04851 | /engine/common/SimpleNavMesh.cpp | b6437075d284afb2613d19fdcc367b6dcf119e70 | [
"Apache-2.0"
] | permissive | Endofunctor/noobwerkz-engine | 3ba001e97bdf56e52f3baaa263ed9cea0e79cec2 | 2f35b4cd8724e59e2a442f0697db5cb5897d0b7c | refs/heads/master | 2020-12-25T11:16:07.669537 | 2016-01-13T03:09:50 | 2016-01-13T03:09:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,591 | cpp | /*#define _USE_MATH_DEFINES
#include <math.h>
#include <stdio.h>
#include <string.h>
#include "SDL.h"
#include "SDL_opengl.h"
#include "imgui.h"
#include "InputGeom.h"
#include "Sample.h"
*/
#include <vector>
#include "Logger.hpp"
#include "SimpleNavMesh.hpp"
#include "Recast.h"
//#include "Sample.h"
#include "RecastD... | [
"colingilbert86@gmail.com"
] | colingilbert86@gmail.com |
7ed54e1a26588fe8fe9b1bafe4bb190b02670669 | 8bcbb1cb5ed7af3c1d4da4588da8814fab358ff1 | /Colors/ColorRGB.hpp | 517633806fb919ecfe2110b89c92f720102ac38f | [] | no_license | viltit/VulkanRenderer | 9c5eef02706fccbf4aadf8f90d071aa454684500 | e4befcab81ee33a859102bd55809695ebf20c0e0 | refs/heads/master | 2020-11-30T22:08:09.629687 | 2020-09-07T17:28:21 | 2020-09-07T17:28:21 | 230,491,078 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 338 | hpp | #pragma once
namespace moe {
struct ColorRGB {
ColorRGB(float r, float g, float b)
: r{r}, g{g}, b{b} {}
ColorRGB()
: r{0}, g{0}, b{0} {}
float r;
float g;
float b;
static ColorRGB black() { return ColorRGB{ 0, 0, 0 }; }
static ColorRGB white() { return ColorRGB{... | [
"villiger.titus@bluewin.ch"
] | villiger.titus@bluewin.ch |
5240156bf7a2fbf5dd6ee139b496c630a8079e0d | 41575c498b7197e97b12a8ce2a880047df363cc3 | /src/local/phys/Node.hpp | f5d875b3df4c920e2a4674a7219d54febe423741 | [] | no_license | gongfuPanada/page | f00a6f9015b4aad79398f0df041613ab28be405b | fa2ccdef4b33480c2ac5f872d717323f45618a34 | refs/heads/master | 2021-01-15T22:09:34.836791 | 2013-03-23T18:54:13 | 2013-03-23T18:54:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,692 | hpp | /**
* @section license
*
* Copyright (c) 2006-2013 David Osborn
*
* Permission is granted to use and redistribute this software in source and
* binary form, with or without modification, subject to the following
* conditions:
*
* 1. Redistributions in source form must retain the above copyright notice,
* t... | [
"davidcosborn@gmail.com"
] | davidcosborn@gmail.com |
7628f3dc24b46a73cfd2d02f3b03e30e48130c7c | a533d4198ee1237df55c94ee8ae3df4aefdc55bd | /dp/HeadFirstDesignPatterns/c_plusplus/Silver/Interpreter/MiniDuckSimulator/DisplayCommand.hpp | 217f420595d37f44003bfa69246ae4db630ac904 | [] | no_license | jufenghua596/book | c15aeb9b96e5fbb2e998286ef50bc5f569fa31a5 | 8b7d2db6b91268b3dcca39da4b067630768afdb6 | refs/heads/master | 2021-05-06T16:44:30.339828 | 2017-12-10T06:57:50 | 2017-12-10T06:57:50 | 113,723,089 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 572 | hpp | #ifndef _HFDP_CPP_INTERPRETER_MINI_DUCK_SIMULATOR_DISPLAY_COMMAND_HPP_
#define _HFDP_CPP_INTERPRETER_MINI_DUCK_SIMULATOR_DISPLAY_COMMAND_HPP_
#include "MiniDuckSimulator.hpp"
namespace HeadFirstDesignPatterns {
namespace Interpreter {
namespace MiniDuckSimulator {
class DisplayCommand : public Expression {
private:... | [
"jufenghua596@163.com"
] | jufenghua596@163.com |
5ea44aab59075cfd254dd7f3ef8d9c087199f761 | cc3b200a956e69279783d8f31e3a78fbf08ca13c | /src/rx/render/model.cpp | c2a34c9c7948c61792df67eb83a1aac9b68a6047 | [
"MIT"
] | permissive | Moneyl/rex | 14c94645085c77674b582644df92d5b34661bf61 | 0f7b3894862f66c71b2af2175b275a1d421b13a0 | refs/heads/main | 2023-02-02T17:20:58.283072 | 2020-12-25T20:53:05 | 2020-12-25T20:53:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,598 | cpp | #include <stddef.h> // offsetof
#include <string.h> // memcpy
#include "rx/render/model.h"
#include "rx/render/image_based_lighting.h"
#include "rx/render/immediate3D.h"
#include "rx/render/frontend/context.h"
#include "rx/render/frontend/technique.h"
#include "rx/render/frontend/target.h"
#include "rx/render/fronten... | [
"weilercdale@gmail.com"
] | weilercdale@gmail.com |
9152b653ef64c50aeca122bfb90d211ebb70fa0a | 6adfc6ccff3781ba852d5bee8e16be67fe272e41 | /Source/CryptolensUE/Private/CryptolensUE.cpp | 8d06227ac1acf3992b7724bf7ed266c6a1e70aae | [
"MIT"
] | permissive | trdwll/CryptolensUE | 9f7a0484c3ea857d279ec303c644995eddaf830b | c4bdb001e74a54bf57c98ed18fc78eb17b26e538 | refs/heads/main | 2023-05-27T23:02:13.589920 | 2021-06-08T19:18:09 | 2021-06-08T19:18:09 | 366,830,254 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,941 | cpp | // Russ 'trdwll' Treadwell <trdwll.com> - 2021
#include "CryptolensUE.h"
#include "Core.h"
#include "Engine/Engine.h"
#include "Interfaces/IPluginManager.h"
#include "Modules/ModuleManager.h"
#define LOCTEXT_NAMESPACE "FCryptolensUEModule"
void FCryptolensUEModule::StartupModule()
{
// This code will execute after... | [
"git@trdwll.com"
] | git@trdwll.com |
14250307ebc1bedd317409f3ef77307e05ee6c0d | 1970e7a25704834502153d0f8b851fe8dd89aae2 | /Contests/December Easy 2020/Programs/Non Great Equations.cpp | ed26f3577873c099952cd9213c67b922988603ca | [] | no_license | MathProgrammer/Hacker-Earth | 6a5eb4e1e15b140ead0105d1a00db505f7334660 | e72d88e72caedffefbdb5c47ef6f447c1a8cbc42 | refs/heads/master | 2023-07-11T05:50:44.382305 | 2023-07-01T10:36:01 | 2023-07-01T10:36:01 | 88,396,435 | 53 | 54 | null | 2022-07-08T14:32:30 | 2017-04-16T06:49:03 | C++ | UTF-8 | C++ | false | false | 170 | cpp | #include <iostream>
using namespace std;
int main()
{
long long a, b, c;
cin >> b;
c = (b*b + b)/2;
a = (b*b - b)/2;
cout << a << " " << c << "\n";
return 0;
}
| [
"noreply@github.com"
] | MathProgrammer.noreply@github.com |
97f114c6642592ae200984fb6038d74beb0c47da | 1cc17e9f4c3b6fba21aef3af5e900c80cfa98051 | /chrome/common/extensions/api/extension_api.cc | 6d41b3f94adee7e612f9a3ff00e57ba5ca5590a3 | [
"BSD-3-Clause"
] | permissive | sharpglasses/BitPop | 2643a39b76ab71d1a2ed5b9840217b0e9817be06 | 1fae4ecfb965e163f6ce154b3988b3181678742a | refs/heads/master | 2021-01-21T16:04:02.854428 | 2013-03-22T02:12:27 | 2013-03-22T02:12:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,891 | 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 "chrome/common/extensions/api/extension_api.h"
#include <algorithm>
#include <string>
#include <vector>
#include "base/json/json_reader.h"
... | [
"vgachkaylo@crystalnix.com"
] | vgachkaylo@crystalnix.com |
731ab02e082580d07231cae83644b3edd217db1e | 04251e142abab46720229970dab4f7060456d361 | /lib/rosetta/source/src/protocols/carbohydrates/GlycanSampler.hh | 449e2562b47b08fc01797d97c842a36376c47b6d | [] | no_license | sailfish009/binding_affinity_calculator | 216257449a627d196709f9743ca58d8764043f12 | 7af9ce221519e373aa823dadc2005de7a377670d | refs/heads/master | 2022-12-29T11:15:45.164881 | 2020-10-22T09:35:32 | 2020-10-22T09:35:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,624 | hh | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"lzhangbk@connect.ust.hk"
] | lzhangbk@connect.ust.hk |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.