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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e39853dfe874d4b2333ebf6d5d33c6b52df5eeaf | 7150de89552eb732d3791ea698cfcfa2762ec569 | /COMPI/functor.hpp | 0304db635f31e88e5402b53f6161f9e94b241e9c | [] | no_license | tenkjm/optimisation | 1b6434a4872e3ce79994ed84c6e815bd140d2fd4 | 0398401e02c33d4d4d217bafdb901ead459ea230 | refs/heads/master | 2021-01-13T11:09:22.633957 | 2017-02-08T07:54:44 | 2017-02-08T07:54:44 | 81,301,633 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,012 | hpp | /*
* File: functor.hpp
* Author: medved
*
* Created on February 17, 2016, 3:51 PM
*/
#ifndef FUNCTOR_HPP
#define FUNCTOR_HPP
#include <common/sgerrcheck.hpp>
namespace COMPI {
/**
* Abstract class for storing functional objectives and constraints
*/
template <class FT> class Functor {
... | [
"atour07@yandex.ru"
] | atour07@yandex.ru |
427f10adef92603cfb1de2c8116718fbbce6d425 | d4254d0a4206a6b15a670d94d0f554b26dc67487 | /year2/COS2614/Assignment 2/question1/conferencepaper.cpp | 31eeb0ff048defced0cb68cba79dadfdb9747e42 | [] | no_license | luyandamncube/UNISA | 0c0378bedc2de72f4e478b8c4635b204ee3cc1e4 | 770647e583f6c786449729bb7ed096206136f346 | refs/heads/master | 2022-02-12T02:20:11.762040 | 2022-01-31T02:27:29 | 2022-01-31T02:27:29 | 244,408,008 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 444 | cpp | #include "conferencepaper.h"
//QString Reference::refType = "Conference";
//ConferencePaper::ConferencePaper(
// QString _title, QStringList _authors, int _year, QString _refID, QString _confName, int _month):
// Reference(_title, _authors, _year, _refID),
// confName(_confName),
// month(_month)
//{
... | [
"luyanda.mncube@britehouse.co.za"
] | luyanda.mncube@britehouse.co.za |
2817fe53f4c7df37ba073940ac1d2a6ae9fd68db | f9de594b762b68bd7d5045d46efc92b87a743361 | /step4_bi/4.2_fastsensing/4.2.2/4.2.2.ino | 8f77096ad592898ef21eb21b356e02b1f3584212 | [] | no_license | n0bisuke/20180307_tokyo | e7772e7f82e770cb8868eb0b46d2df60a0f44891 | cadb9ebbea1914f6acd1643fa324b4096b618329 | refs/heads/master | 2021-04-26T23:28:25.521132 | 2018-03-13T07:40:38 | 2018-03-13T07:40:38 | 124,000,583 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,550 | ino | #include <WiFiClientSecure.h> // HTTPS通信のために必要
#define LIGHT_SIG A1
String TARGET_HOST = "f-io.net"; //ファストセンシングのホスト名
String DEVICE_TOKEN = "metjeb44meqxgz6d"; //デバイストークンを指定
String CHANNEL = "5o2bc524"; //利用するチャンネルを指定
void setup() {
Serial.begin(115200);
}
void loop() {
int analog = analogRead(LIGHT_SIG);
Str... | [
"rsksound@gmail.com"
] | rsksound@gmail.com |
2811a582407e36307c4422ce831cf83e961c41a9 | 0e4cbcbf444f70e864c463f28be4f9f9b60de12b | /d05/ex05/RobotomyRequestForm.cpp | 0592a9c8f1e88e15148278948626e1e4a34fc643 | [] | no_license | ibotha/cpp_bootcamp | 25c7552f6fe0755f87b1d6465ef0ff1b95c3665b | 909b4dd4e457b55367f35e789d5655230f5f2376 | refs/heads/master | 2020-05-17T23:19:35.013238 | 2019-06-13T12:02:17 | 2019-06-13T12:02:17 | 184,027,924 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 919 | cpp | #include "RobotomyRequestForm.hpp"
#include <string>
#include <iostream>
#include <random>
RobotomyRequestForm::RobotomyRequestForm(std::string target)
:Form("Robotomy Request Form", target, 72, 45)
{
}
RobotomyRequestForm::RobotomyRequestForm(RobotomyRequestForm const &f)
:Form(f)
{
}
RobotomyRequestForm::~Robot... | [
"ibotha@c4r5s7.wethinkcode.co.za"
] | ibotha@c4r5s7.wethinkcode.co.za |
ea4f41a2e337c46c6aa69ae8098bb46adfa26ead | 82646fb7fe40db6dcdf238548128f7b633de94c0 | /akoj/1020.cpp | 9a435fe5e446f1c57603ae71207dd05f8c898bb0 | [] | no_license | jtahstu/iCode | a7873618fe98e502c1e0e2fd0769d71b3adac756 | 42d0899945dbc1bab98092d21a1d946137a1795e | refs/heads/master | 2021-01-10T22:55:47.677615 | 2016-10-23T12:42:38 | 2016-10-23T12:42:38 | 70,316,051 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 305 | cpp | #include<iostream>
using namespace std;
int t()
int main()
{
int n,t;
cin>>n;
string a;
while(n--)
{
cin>>a;
t=a[0]-'0';
for(int i=1;i<a.length();i++)
{
s=a[i]-'0';
tt(s,t);
}
}
return 0;
}
| [
"root@jtahstu.com"
] | root@jtahstu.com |
1257e01919f4d56c25938ffc19b8673d0cc907e4 | c9b02ab1612c8b436c1de94069b139137657899b | /server/app/data/DBCSimpleTemplate.h | 98eb60df409cb38ff9102b2f6c56c72feb6b7748 | [] | no_license | colinblack/game_server | a7ee95ec4e1def0220ab71f5f4501c9a26ab61ab | a7724f93e0be5c43e323972da30e738e5fbef54f | refs/heads/master | 2020-03-21T19:25:02.879552 | 2020-03-01T08:57:07 | 2020-03-01T08:57:07 | 138,948,382 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,635 | h | /*
* DBCSimpleTemplate.h
*
* Created on: 2016-11-22
* Author: dawx62fac
*/
#ifndef DBCSIMPLETEMPLATE_H_
#define DBCSIMPLETEMPLATE_H_
/**
* 适用于每个用户对应一条记录,且以uid为主键的表
*/
#include "Kernel.h"
template<class _DBC, int _ID, class _HANDLE>
class DBCSimpleTemplate
: public DataSingleton<_DBC, _ID , DB_BASE_BU... | [
"178370407@qq.com"
] | 178370407@qq.com |
07775371fb6da2143f354f70fecccf70f635e972 | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_PrimalItemConsumable_Soup_ShadowSteak_functions.cpp | c325c5d4128fb8210b2f8a9f7508f42a2d714030 | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,236 | cpp | // ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_PrimalItemConsumable_Soup_ShadowSteak_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//--------------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
c3ace9630f624753d9e46b85f49a25da5838a7b5 | bc7651210ee5a59ba79f95e038185fe235418c4f | /interaction+hyunjeong.cpp | a920fba24d7aac0c34291f7b6a4522d05bd37a2d | [] | no_license | seoyh0812/TeamLaunge2 | 3f81b2eed4ee32c771d979e77c84fdd6b9e6080f | e1498ee31dde3cfc8e853ca97f273b390551f009 | refs/heads/master | 2023-03-21T09:38:27.688056 | 2021-03-22T01:11:02 | 2021-03-22T01:11:02 | 332,584,817 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 165 | cpp | #include "stdafx.h"
#include "interaction.h"
void interaction::hyunjeongInit()
{
}
void interaction::hyunjeongUpdate()
{
}
void interaction::hyunjeongRender()
{
} | [
"seoyh0812@gmail.com"
] | seoyh0812@gmail.com |
5b9692b1721096d47840eee0c874b4064b114320 | f16204094cef905fd2f314adbe199b04b04c6dbc | /src/Player.cpp | 9357f49d3f38f2185f2e34830a9a94a2f91e38d1 | [] | no_license | danielaz1/sgd_game | 11cb50d86e251919c1d45600d232f29d60ef63e3 | ce97069cf94ec09538fa6be2b2c473979a0b8a2b | refs/heads/master | 2020-05-17T16:16:22.030006 | 2019-05-04T21:50:50 | 2019-05-04T21:50:50 | 183,813,134 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,889 | cpp | //
// Created by daniela on 15.04.19.
//
#include "Player.h"
std::shared_ptr<SDL_Texture> Player::loadTexture(SDL_Renderer *renderer, const std::string fname) {
std::vector<unsigned char> image;
unsigned width=20, height=20;
errcheck(lodepng::decode(image, width, height, fname));
SDL_Surface *bitmap... | [
"daniela.zolnowska@gmail.com"
] | daniela.zolnowska@gmail.com |
2adcda15ae14156174a844109851e885153e9250 | 1e28cdcb4c96ce4afecffcb2683e59bbd6c5afaf | /Stacks/946. Validate Stack Sequences.cpp | 5def179b2efb287e7df0a5acba6ac01ec27cb4e3 | [] | no_license | ankitsharma1530/Sliding-window_leetcode | 3c32e1a7e75b89157c9f74816a1c1c710a8b74d1 | 66183b47f96f8bf96251c1c4e620d251894d42cf | refs/heads/main | 2023-06-30T20:03:18.439449 | 2021-08-07T06:56:53 | 2021-08-07T06:56:53 | 330,183,370 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 451 | cpp | class Solution {
public:
bool validateStackSequences(vector<int>& pushed, vector<int>& popped) {
int j=0;
int size = pushed.size();
stack<int>s;
int i = 0;
while(j<size)
{
s.push(pushed[j]);
while(!s.empty() && i<size && s.top()==popped[i])
... | [
"noreply@github.com"
] | ankitsharma1530.noreply@github.com |
878d36bd734d7bed24b99f8d1af2d099427b8273 | 46990b0e1570284b17bc413665e0f19594aeb473 | /racetrack/a.cpp | ad8889685692596ef68e74139a2925e50e196352 | [] | no_license | varunragu23/USACO-CF-Varun | 878ee68e6268c509766deebf1a1c0af505010669 | 2a9646f919ca2af2432f73a85e6d1578259e8ad2 | refs/heads/master | 2020-09-03T01:26:16.838307 | 2019-11-03T18:50:39 | 2019-11-03T18:50:39 | 219,350,285 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,227 | cpp | /*
ID: varunra2
LANG: C++
TASK: racetrack
*/
#pragma region Headers, define, typedef
#include<bits/stdc++.h>
using namespace std;
#ifdef DEBUG
#include <debug.h>
#endif
#define EPS 1e-9
#define IN(A, B, C) assert(B <= A && A <= C)
#define INF (int)1e9
#define MEM(a, b) memset(a, (b), sizeof(a))
#defi... | [
"varunragu23@gmail.com"
] | varunragu23@gmail.com |
4b58ac99ec9a21b39646a176df8f6a23cbeba875 | dd0cafca11c990626b55d3460b225ac5acf1619d | /Strings/PrettyJson.cpp | 72c0dd1dad1be9142e9ab77bd563240fc936ac96 | [] | no_license | VenkataAnilKumar/InterviewBit-CPlusPlus | 5439642fd316f06879f992c2f57de1ce5be8be4f | 65cba3a7c9844a84547c1a6faa327d5614a2d234 | refs/heads/master | 2022-01-29T15:17:41.994010 | 2019-07-20T18:34:18 | 2019-07-20T18:34:18 | 197,962,915 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,709 | cpp | vector<string> kirp(string str){
vector<string> result;
if (str.length() == 0) return result;
str.erase(remove(str.begin(), str.end(), ' '), str.end());
string indent = "";
string curr = "";
int i = 0, len = str.length();
while (i < len){
curr.push_back(str[i]);
sw... | [
"25908037+VenkataAnilKumar@users.noreply.github.com"
] | 25908037+VenkataAnilKumar@users.noreply.github.com |
301fd8f3fbb2d15522422dc4f72f77e1192e14d0 | 6f376bd4f5755539a19a20fdd2cbd4cb9e6ab0f9 | /CtpTraderApi/CtpTrader.h | c7337db4d926d4bf4937bce8b6b595ce7285af27 | [
"MIT"
] | permissive | alexfordc/InterPlatformTradingMaster | d40f6f1bf392ed8b435601c0ab92d78b9843e34a | ab09fd0d53e53103b8ddb56b1e295d193b1c909e | refs/heads/master | 2022-01-10T12:01:04.512994 | 2019-07-08T03:26:04 | 2019-07-08T03:26:04 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 46,689 | h |
#pragma once
#define TRADEAPI_API __declspec(dllexport)
#define WINAPI __stdcall
#define WIN32_LEAN_AND_MEAN // 从 Windows 头文件中排除极少使用的信息
#include "stdafx.h"
#include ".\api\ThostFtdcTraderApi.h"
#include ".\api\ThostFtdcUserApiDataType.h"
#include ".\api\ThostFtdcUserApiStruct.h"
// UserApi对象
CThost... | [
"707340493@qq.com"
] | 707340493@qq.com |
9a156b97ae7226278c39c347f1702a157db3dc9a | 9ab3f1c2c44cd8221dddd0261296a3860fee4649 | /src/lifish/GameContext.cpp | bc08dfa51eade2e86df25ee31ca3f1a9f77f57ad | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive"
] | permissive | DrSh4dow/lifish | 42d020a6751509fc6159e66fee12fe7f214209e1 | 8bffe917306ab5c1029f81eea6a8d24e4d6c721c | refs/heads/master | 2022-11-17T14:19:03.474089 | 2020-07-09T05:46:02 | 2020-07-09T05:46:02 | 278,274,696 | 1 | 0 | NOASSERTION | 2020-07-09T05:48:38 | 2020-07-09T05:48:37 | null | UTF-8 | C++ | false | false | 9,530 | cpp | #include "GameContext.hpp"
#include "BaseEventHandler.hpp"
#include "Bonusable.hpp"
#include "Controllable.hpp"
#include "Killable.hpp"
#include "Music.hpp"
#include "MusicManager.hpp"
#include "Options.hpp"
#include "Player.hpp"
#include "SHCollisionDetector.hpp"
#include "save_load.hpp"
#include "bonus_type.hpp"
#inc... | [
"silverweed1991@gmail.com"
] | silverweed1991@gmail.com |
819668f71fda1570dcc30cfc02f068efcfc333ae | 9f97c42310f47505eda2b5d6be28294dee7f0f15 | /src/qt/csvmodelwriter.cpp | 400e94fecab236f39b4c14231ed673d9077609d7 | [
"MIT"
] | permissive | Madurajaya/cicoin | b7bc3cd65ef665e8c23d6787bb732d211b46e4f3 | b48b11574ae38ae063670a755b9d50ef6960e1e8 | refs/heads/master | 2022-04-13T21:04:57.846103 | 2020-04-01T05:30:32 | 2020-04-01T05:30:32 | 296,742,986 | 1 | 0 | MIT | 2020-09-18T22:37:12 | 2020-09-18T22:37:12 | null | UTF-8 | C++ | false | false | 1,888 | cpp | // Copyright (c) 2011-2018 The Cicoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <qt/csvmodelwriter.h>
#include <QAbstractItemModel>
#include <QFile>
#include <QTextStream>
CSVModelWriter::CSVMode... | [
"cicxcoin2@gmail.com"
] | cicxcoin2@gmail.com |
3b085f00a83ff9c0cb08098ebf0f6d0b4274aad5 | 1cfb67f9b6e885fdcf80d555dde3fd373a1e4643 | /Finding-Frequent-Items/CM/Sketchpheap.h | d0f184d3121b49e4804a4273e8cbe98855d2f8f6 | [] | no_license | Finding-Significant-Items/Finding-Significant-Items | 464303ed4ab8dae5ce55ed8bc4308ff0aada7cf7 | b9510d751964b5a6f9f6733851ed9ad0dfd60451 | refs/heads/master | 2020-03-19T03:13:59.127175 | 2018-10-31T02:04:53 | 2018-10-31T02:04:53 | 135,707,633 | 4 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 3,246 | h | #ifndef _Sketchpheap_H
#define _Sketchpheap_H
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <algorithm>
#include <string>
#include <cstring>
#include "params.h"
#include "BOBHASH32.h"
#define Total 10000005
#define Count 4
using namespace std;
class Sketchpheap
{
private:
BOBHa... | [
"33336120+alpq654321@users.noreply.github.com"
] | 33336120+alpq654321@users.noreply.github.com |
ea14c14e3de66ab68701a2b7ceddec9e6c113b81 | 9b45098814220b1b9be2abc687c36a941a88d29d | /game_engine/camera.cpp | 3c9e75fb2834774d4b0d2b05455beb227c41fad1 | [] | no_license | chiquanhuo/game_engine | 62c10636fd4f60490c38e7198820f4845ca3c5e4 | 8fa5eb512bddb35baa4a623f096f6704511c1620 | refs/heads/master | 2020-03-19T06:31:00.209193 | 2018-07-12T03:09:43 | 2018-07-12T03:09:43 | 136,027,852 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,049 | cpp | //
// camera.cpp
// game_engine
//
// Created by 霍志权 on 2018/7/12.
// Copyright © 2018年 霍志权. All rights reserved.
//
#include <stdio.h>
#include "camera.hpp"
mat4 Camera::GetViewMatrix()
{
return lookAt(this->Position, this->Position + this->Front, this->Up);
}
void Camera::ProcessKeyboard(Camera_Movement di... | [
"chiquanhuo@gmail.com"
] | chiquanhuo@gmail.com |
423ff264b2019e3dd7c92553cd98a46c48a47cac | e99304acf642cdcf258c87a79b49362d3135b296 | /PenguinV/example_function_pool/example_function_pool.cpp | 91e2be7ae2e98a08d7202d6b6a3e815546e617de | [
"BSD-3-Clause"
] | permissive | bryonglodencissp/penguinV | 022b1d34dbf9ddbf088d14b811b51cabd24e5d80 | 964c1881059bbb5266929a96ba2236f4c6476b1f | refs/heads/master | 2021-06-14T17:06:59.570550 | 2016-09-30T01:08:29 | 2016-09-30T01:08:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,260 | cpp | // Example application of library's function pool utilization
#include <iostream>
#include "../Library/image_exception.h"
#include "../Library/image_function.h"
#include "../Library/function_pool.h"
#include "../Library/thread_pool.h"
void basic(const std::vector < Bitmap_Image::Image > & frame);
void multithreaded(co... | [
"ihar.hubchyk@gmail.com"
] | ihar.hubchyk@gmail.com |
618ca3bb25d00c47fbe76aef8d1bf479709a4b35 | 013caff69e41c36c4efe9359c8ce2ecfb5f659ab | /To the Max-dp.cpp | 4dbb1cf4d36c4d4e60d01adc07eee5681b9082bd | [] | no_license | iamsile/ACM | cbe5754bed56b1abb3cfaed6b25b9bffa1ec04a5 | d51e43780e33b51c70007ba0702448909f9d0553 | refs/heads/master | 2016-08-04T02:31:51.523885 | 2013-09-09T05:36:35 | 2013-09-09T05:36:35 | 12,693,702 | 9 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 3,737 | cpp | #include<iostream>
using namespace::std;
int MaxSum(int *a,int n)
{
int i,sum,b;
sum=a[0];
b=0;
for(i=0;i<n;i++)
{
if(b>0)
b+=a[i];
else
b=a[i];
if(b>sum)
sum=b;
}
return sum;
}
int main()
{
int n;
int a[100][100];
int... | [
"iamsai007@sina.com"
] | iamsai007@sina.com |
a58c0b29986c262b59432ce79146d3b01f57c576 | 78918391a7809832dc486f68b90455c72e95cdda | /boost_lib/boost/python/detail/msvc_typeinfo.hpp | 529258a63d4ecc65234fb98e1a43854851f7a4b8 | [
"BSL-1.0",
"MIT"
] | permissive | kyx0r/FA_Patcher | 50681e3e8bb04745bba44a71b5fd04e1004c3845 | 3f539686955249004b4483001a9e49e63c4856ff | refs/heads/master | 2022-03-28T10:03:28.419352 | 2020-01-02T09:16:30 | 2020-01-02T09:16:30 | 141,066,396 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,207 | hpp | // Copyright David Abrahams 2002.
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef MSVC_TYPEINFO_DWA200222_HPP
# define MSVC_TYPEINFO_DWA200222_HPP
#include <typeinfo>
#include <boost/type.hpp>
//
// Fix... | [
"k.melekhin@gmail.com"
] | k.melekhin@gmail.com |
f09ebcb7efe79064c9148e56667be89020b543ef | 3c78677066d2dba7be0478acf8cd8562bc9a4f86 | /src/inspur_cmds.cpp | d0feb4eeef4527612d0e445088d2be29374050ee | [
"Apache-2.0"
] | permissive | zhuysh1988/inspur-ipmi-oem | 41fa25426a14c0eb3bbf948466bd344b622c605b | 9e76053414a9cb3eb516efc5b7826829da609369 | refs/heads/master | 2020-04-16T09:48:36.587046 | 2019-04-07T13:20:31 | 2019-04-07T13:20:31 | 165,477,774 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,870 | cpp | #include <ipmid/api.h>
#include "inspur_cmds.hpp"
#include <string>
#include <stdio.h>
#include<iostream>
#include<fstream>
#include <phosphor-logging/elog-errors.hpp>
#include <phosphor-logging/log.hpp>
#include <sdbusplus/message/types.hpp>
#include <set>
#include <xyz/openbmc_project/Common/error.hpp>
#in... | [
"zhuysh1988@163.com"
] | zhuysh1988@163.com |
8a0a3e54f37f5faad8d135dba1a6cabbf5cb9217 | a7764174fb0351ea666faa9f3b5dfe304390a011 | /inc/WNT_ListOfMFTFonts.hxx | 0ea4ae52c0681ff6442e4493cce8c28662b5a93d | [] | no_license | uel-dataexchange/Opencascade_uel | f7123943e9d8124f4fa67579e3cd3f85cfe52d91 | 06ec93d238d3e3ea2881ff44ba8c21cf870435cd | refs/heads/master | 2022-11-16T07:40:30.837854 | 2020-07-08T01:56:37 | 2020-07-08T01:56:37 | 276,290,778 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,251 | hxx | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _WNT_ListOfMFTFonts_HeaderFile
#defin... | [
"shoka.sho2@excel.co.jp"
] | shoka.sho2@excel.co.jp |
bb191a5ed49b78bd6c03925fb35bf57b69e732c2 | 3cae667175b2d6aac6d7f3d8189e9a02c38ea1cf | /AtCoder/ABC0/ABC026/A.cpp | 43437fe44cba9bd71ecad1737ab52228a1257f6b | [] | no_license | kokorinosoba/contests | 3ee14acf729eda872ebec9ec7fe3431f50ae23c2 | 6e0dcd7c8ee086650d89fc65616981361b9b20b9 | refs/heads/master | 2022-08-04T13:45:29.722075 | 2022-07-24T08:50:11 | 2022-07-24T08:50:11 | 149,092,111 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 110 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int a; cin >> a;
cout << a * a / 4 << endl;
}
| [
"34607448+kokorinosoba@users.noreply.github.com"
] | 34607448+kokorinosoba@users.noreply.github.com |
f498193c50c8819939e4933604db1d33f0bfebc6 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /alikafka/src/model/DeleteAclResult.cc | 4ca85ad8fea7f117bda72f37c3fc4aba9c5cf31d | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 1,601 | cc | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
9823cfdd57e961bcc4aed95e0f04aab223d54415 | dc66632dac12081000da3c8fe551431e4239c413 | /viewer-development/indra/llcommon/llindexedqueue.h | f30656510794a89ad806aabed624c8cf4ef57d64 | [] | no_license | MAPSWorks/GIS | ea115b1d4f68fefe42aef91482d440f6c6407d7f | 6bd74a125a35d33a763046a7cc506bdd7a629919 | refs/heads/master | 2020-04-07T16:34:38.952498 | 2012-02-06T20:25:34 | 2012-02-06T20:25:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,452 | h | /**
* @file llindexedqueue.h
* @brief An indexed FIFO queue, where only one element with each key
* can be in the queue.
*
* $LicenseInfo:firstyear=2003&license=viewerlgpl$
* GIS Viewer Source Code
* Copyright (C) 2010, Linden Research, Inc.
*
* This library is free software; you can redistribute it and/or
... | [
"hiz.wylder@gmail.com"
] | hiz.wylder@gmail.com |
a33819af1c811ac88fe3ed7db7c274fe8c22d54c | ba96d7f21540bd7504e61954f01a6d77f88dea6f | /build/Android/Preview/app/src/main/include/_root.fa_truck.h | f72e71ee7ee2a149b6e9f73db54c11ccf0b3c8f7 | [] | no_license | GetSomefi/haslaamispaivakirja | 096ff35fe55e3155293e0030c91b4bbeafd512c7 | 9ba6766987da4af3b662e33835231b5b88a452b3 | refs/heads/master | 2020-03-21T19:54:24.148074 | 2018-11-09T06:44:18 | 2018-11-09T06:44:18 | 138,976,977 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,371 | h | // This file was generated based on '/Users/petervirtanen/OneDrive/Fuse projektit/Häsläämispäiväkirja/build/Android/Preview/cache/ux15/fa_truck.g.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Animations.IResize.h>
#include <Fuse.Binding.h>
#include <Fuse.Contr... | [
"peyte.com@gmail.com"
] | peyte.com@gmail.com |
d17c56fa2f2330169fd8ecc22880597bdccbd845 | cc0b7d50a3c6e6b329aab5b0aa0a349580bddbdd | /constant/cs9/polyMesh/pointRegionAddressing | 6e78a115ae46fbd5d7c2685aded24e5ad6661cfe | [] | no_license | AndrewLindsay/OpenFoamFieldJoint | 32eede3593516b550358673a01b7b442f69eb706 | 7940373dcc021225f2a7ff88e850a1dd51c62e36 | refs/heads/master | 2020-09-25T16:59:18.478368 | 2019-12-05T08:16:14 | 2019-12-05T08:16:14 | 226,048,923 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,109 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1906 |
... | [
"andrew.lindsay@westnet.com.au"
] | andrew.lindsay@westnet.com.au | |
15d82feb6f1f1227c6b18f5473ced0c601f66673 | 96d04ae54bc636669d0ce663e7f9777478548104 | /TP3/Juego/Main.cpp | 997f6b1c938d63f018c6126bcd5e51d5416ee0f7 | [] | no_license | DiegoFioretti/Graficos-TP3-Parte2 | 015b312b79bd6d72add55fe84eb1eb5a6f14d421 | 2ba4536747a81171f14c0a8ed4dc5e30bbc40b12 | refs/heads/master | 2020-03-18T22:24:38.513843 | 2018-05-22T20:46:51 | 2018-05-22T20:46:51 | 135,343,772 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 484 | cpp | #include <stdio.h>
#include <allegro5\allegro.h>
int main(int argc, char **argv) {
ALLEGRO_DISPLAY *display = NULL;
if (!al_init()) {
fprintf(stderr, "failed to initialize allegro!\n");
return -1;
}
display = al_create_display(640, 480);
if (!display) {
fprintf(stderr, "failed to create dis... | [
"julianifb@gmail.com"
] | julianifb@gmail.com |
acd414beb335f4eb2bf5ae7dff35fed879d8f92d | be824dfd115590f7840d26bdcea4ca88e6e178b3 | /src/ResourceManger/Resources.h | 4cc7e29891dca8290e7ccb97edf5d955d3006ebb | [] | no_license | Brankec/Super-mario | 674e1be2d4cb90c55773760018703242c0fff09b | c6cb1441d5bd7aa37c7a3f744cbc9ba73edad7dc | refs/heads/master | 2021-09-16T03:59:02.298858 | 2018-06-15T18:40:37 | 2018-06-15T18:40:37 | 119,116,414 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 228 | h | #pragma once
#include <SFML/Graphics/Texture.hpp>
namespace res
{
void loadResources();
sf::Texture getPlayerTexture();
sf::Texture getNPCTexture();
sf::Texture getTilesTexture();
static sf::Texture NPC, Player, Tiles;
} | [
"branimir.kobescak@gmail.com"
] | branimir.kobescak@gmail.com |
eaf6f67fb00e2a432aeaabf621e50d1fcbf0dbf3 | 36c2ee16365ac3501ef3b7ff0e811e2398ffa641 | /src/glog/src/logging.cc | 47b09360ebf3bd68885e7ecddd204bd9ace294ea | [
"BSD-3-Clause"
] | permissive | AndThenYou/JZLog | fa99cb2e10c23d84a816feeba885b9244bcad6d6 | 069a9170b8438240c485d12b9658fc5df088a466 | refs/heads/master | 2023-08-22T05:48:35.124872 | 2021-09-10T08:05:19 | 2021-09-10T08:05:19 | 298,715,634 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 87,074 | cc | // Copyright (c) 1999, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of condit... | [
"1033693541@qq.com"
] | 1033693541@qq.com |
5b5c03fbe7b75a87b7b8189e24f1b96bd9825f7c | d92304badb95993099633c5989f6cd8af57f9b1f | /Rough/Naima.cpp | 1508216129fe2d91695c4a2fbcd47d1da48a2201 | [] | no_license | tajirhas9/Problem-Solving-and-Programming-Practice | c5e2b77c7ac69982a53d5320cebe874a7adec750 | 00c298233a9cde21a1cdca1f4a2b6146d0107e73 | refs/heads/master | 2020-09-25T22:52:00.716014 | 2019-12-05T13:04:40 | 2019-12-05T13:04:40 | 226,103,342 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 240 | cpp | #include <stdio.h>
#include <math.h>
int main ()
{
double x1,y1,d,d1;
double x2,y2;
scanf("%lf %lf %lf %lf",&x1,&y1,&x2,&y2);
d1 = (((x2 - x1) * (x2 - x1)) + ((y2 - y1) * (y2 - y1)));
d = sqrt(d1);
printf("%0.4lf\n",d);
return 0;
}
| [
"tajircuet@gmail.com"
] | tajircuet@gmail.com |
a111f95da6e8b1097c6027de2757510dc17e61db | 6fdda77279d92ab2562a61635f8de170ae7af689 | /nplus1/include/np1/rel/unique.hpp | be058c6fd09a29c1acb23c30984464fd681ee692 | [
"Apache-2.0"
] | permissive | ppayne/r17 | fe60ccfe5d2de33d0c1acffdaa29fcfa3d365cd1 | ba8dba10a74e60e105a5538d66426754d443d1b4 | refs/heads/master | 2021-01-24T02:06:38.724594 | 2012-05-18T21:09:53 | 2012-05-18T21:09:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,723 | hpp | // Copyright 2012 Matthew Nourse and n plus 1 computing pty limited unless otherwise noted.
// Please see LICENSE file for details.
#ifndef NP1_REL_UNIQUE_HPP
#define NP1_REL_UNIQUE_HPP
namespace np1 {
namespace rel {
class unique {
public:
template <typename Input_Stream, typename Output_Stream>
void operator()... | [
"matthew@nplus1.com.au"
] | matthew@nplus1.com.au |
7bbf9d0233d87bc18336a362b8f7701bbd019f7c | 8e84ad1b1e00ee8526b682e73a786ea82445df4f | /archive/Demo_File_IO.cpp | 7bfad2ce7c003a0b4c2b114221455376aa3bcb97 | [
"CC-BY-4.0",
"CC-BY-3.0"
] | permissive | dbraunsc/programming-fundamentals | 74c28a51319d267d3a001f3bde348711f13c2211 | 0c8cb6e2f0c8881d23df6794da7b2a1356a947db | refs/heads/master | 2020-03-20T22:52:52.406577 | 2019-06-08T13:52:32 | 2019-06-08T13:52:32 | 137,819,400 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 3,308 | cpp | //******************************************************
// Filename: Demo_File_IO.cpp
// Purpose: File I/O - text file
// Comments: The input file contains several integer and
// floating-point values. This program will
// open the input file, read the values and
// ... | [
"dbraunsc@harpercollege.edu"
] | dbraunsc@harpercollege.edu |
3cbf3a8af31eaee850a695cb49f1d4b04d7b9796 | 03cc93dd20f1ebd1e41f61bdeb9c3b87deea1e80 | /src/Magnum/MeshTools/sceneconverter.cpp | 379d59325d75e8cc48b150c2d76e2c9767efd8f9 | [
"MIT"
] | permissive | Tubbz-alt/magnum | 497333251f4d4a0e457c7c89942aaae806703ae6 | c74e49b3f4ffb97816bc0c96df607714c1dac126 | refs/heads/master | 2022-11-11T17:03:41.993849 | 2020-06-24T09:08:40 | 2020-06-24T09:09:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,149 | cpp | /*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019,
2020 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 "Softwa... | [
"mosra@centrum.cz"
] | mosra@centrum.cz |
fc9eb38dfe83a2dcad2151014bc92d35869c0201 | e5a75731bf787d83db939eba8b13f859fd7c8cd4 | /cppDay00/ex01/PhoneBook.cpp | 0b66e0477dc3feef4cf9ada052882e930a0e6aaf | [] | no_license | ekiriche/cppPool | cf74f15534f82e86ad13e4287910e83f0a14535b | 6ed66d1be410320aaedf420f04f722624fdbecad | refs/heads/master | 2020-07-25T20:22:42.742159 | 2019-11-07T08:23:33 | 2019-11-07T08:23:33 | 208,412,631 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 299 | cpp | //
// Created by Evgeniy KIRICHENKO on 2019-06-24.
//
#include "PhoneBook.hpp"
PhoneBook::PhoneBook() {
contactsLength = 0;
return ;
}
PhoneBook::~PhoneBook() {
return ;
}
void PhoneBook::addContact(Contact *contact) {
contacts[contactsLength] = *contact;
contactsLength++;
} | [
"zheniakk@gmail.com"
] | zheniakk@gmail.com |
559936d3866ba1ad3e14b06f226e2e54f7e1b562 | f620b7174435d91cd8785062122a89b1882d1e49 | /liczby/main.cpp | d0a1515012ff1f9ad2a732ede6904b0d1e91bc79 | [] | no_license | Michal2002/gitrepo1a | f853bc3e0b9602355f3296237c3c63849aa2ddc0 | c279cb415fb7fc0f10207d8e37f34d60c0c03cf1 | refs/heads/master | 2020-03-28T12:29:55.136878 | 2020-03-04T08:29:03 | 2020-03-04T08:29:03 | 148,304,208 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 851 | cpp | #include <iostream>
using namespace std;
int main()
{
float a, b, c;
cout<<"podaj pierwsza:";
cin>>a;
cout<<"podaj druga:";
cin>>b;
cout<<"podaj trzecia:";
cin>>c;
if(a<b);{
if(b<c);{
cout<<'najmniejsza jest',a ;}
if(c<a);{
cout<<'najmniejsza je... | [
"mariamazur.2000@wp.pl"
] | mariamazur.2000@wp.pl |
07c2debf64dccd4d5ba1cf7d5a40752c9f389870 | 0c58ff601d765bd4b6ca64f00bdf864a3d26b080 | /src/math/FixedPoint.h | f1fd44d50db4c04acc7426e345a2e1841dad86e3 | [
"MIT"
] | permissive | leetnz/Bittleet | 0174f98bc96be15943a4da35a42cb9193c7a337a | 08e38e78cbc9ace83e494b53a7dba0979d2107e1 | refs/heads/main | 2023-09-04T19:42:42.297679 | 2021-11-12T04:25:40 | 2021-11-12T04:25:40 | 405,613,253 | 1 | 0 | NOASSERTION | 2021-11-12T04:25:42 | 2021-09-12T10:39:14 | C++ | UTF-8 | C++ | false | false | 443 | h | #ifndef _BITTLEET_FIXEDPOINT_H_
#define _BITTLEET_FIXEDPOINT_H_
#include <stdint.h>
template <typename T, int BITS>
class FixedPoint {
public:
FixedPoint() = default;
FixedPoint(float value) : _value(value * _denominator) {}
float toF32() { return ((float)_value)/_denominator;}
private:
... | [
"hoani.bryson@gmail.com"
] | hoani.bryson@gmail.com |
744f879ccfddf3c56ae14b1147071579066a59f4 | 50aa142ec35e6764bf012d9dc67c4fd70d570b5b | /Nodo.cpp | c5a05c648bf4753c9d8a310406926cacf8573ce8 | [] | no_license | DavidEdgardon/ArbolB_ED2 | c4e32da93cd7a45949ca0bef0be6ca65849536db | de6416d7730a1d073734a809d9ec115f66bf050f | refs/heads/master | 2020-04-30T20:49:24.066915 | 2019-03-22T05:54:50 | 2019-03-22T05:54:50 | 177,079,046 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 792 | cpp | //
// Created by ASUS on 3/14/2019.
//
#include "Nodo.h"
Nodo::Nodo() : mes(-1), siguiente(0)
{
}
Nodo::Nodo(int d, int m) : mes{m}, dia(d), siguiente(0)
{
}
/*
void Nodo::setValor(int v) {
this->valor=v;
}
void Nodo::setSiguiente(Nodo *sig) {
this->siguiente=sig;
}
int Nodo::getV... | [
"noreply@github.com"
] | DavidEdgardon.noreply@github.com |
c190a86630fe30c01bcc4c39541f2852a2c8656d | 565a1a95a343a01e43aa3026a46da677cb05b4a1 | /2016_fall_semester/windows_programing/Ch09_1122/KYGImageToolDoc.h | 7bbf8f0d22fbdc771ca02250493ca0f8a9aab18a | [] | no_license | younggyu0906/koreatech_class_projects | af31ed35eaa14a1a4977a39cf00603265acaa049 | b97dedcb0bf4a459bbe0b6bb9cf9828552951921 | refs/heads/master | 2021-07-11T07:13:08.184777 | 2019-02-26T09:14:55 | 2019-02-26T09:14:55 | 102,804,792 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,300 | h | // KYGImageToolDoc.h : CKYGImageToolDoc 클래스의 인터페이스
//
#pragma once
#include "dib.h"
class CKYGImageToolDoc : public CDocument
{
protected: // serialization에서만 만들어집니다.
CKYGImageToolDoc();
DECLARE_DYNCREATE(CKYGImageToolDoc)
// 특성입니다.
public:
// 작업입니다.
public:
// 재정의입니다.
public:
virtual BOOL OnNewDocument();
v... | [
"younggyu0906@naver.com"
] | younggyu0906@naver.com |
8b653331790e1a6301446b955ee1e9758d21179c | 18160bde2a220ede76608d4ebdcdddd212f3199e | /caravoidance.cpp | 05ef65bd7f32c0ef519dbd16f6bb57c506a1b231 | [] | no_license | bluejazzCHN/STMduino-smartCar | d12db68f92e9e82a275343fd39248d0bb9f312be | 37b131eb9c5dc29826efd7dc7b2730a13e55f528 | refs/heads/master | 2023-07-30T14:55:59.969427 | 2020-03-11T05:57:58 | 2020-03-11T05:57:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,782 | cpp | /*
* @文件: \caravoidance.cpp
* @作者:零知实验室
* -^^- 零知开源,让电子制作变得更简单! -^^-
* @时间: 2019-12-05 15:46:50
* @说明:
*/
#include "caravoidance.h"
CarAvoidance::CarAvoidance()
{
//超声波
pinMode(UltraEchoPin, INPUT);
pinMode(UltraTrigPin, OUTPUT);
//超声波舵机
UltraServo.attach(ServoPWM1);
UltraServo.write(Ser... | [
"noreply@github.com"
] | bluejazzCHN.noreply@github.com |
c80f07639ab075123528d6ce4f3007862c03b196 | 7581db0625dfe7ca8b7e829c7f95dfc2503e5e00 | /fboss/agent/MacTableUtils.cpp | aa6fd6205d6b64d29fae89ed294729b966de9cef | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | midopooler/fboss | 53e8e33693116356b1ac35bc3ff0d87d3e378dd3 | c8d08dd4255e97e5977f53712e7c91a7d045a0cb | refs/heads/master | 2022-09-22T13:54:44.231859 | 2020-05-31T18:56:46 | 2020-05-31T18:58:34 | 268,364,523 | 0 | 0 | NOASSERTION | 2020-05-31T21:08:39 | 2020-05-31T21:08:39 | null | UTF-8 | C++ | false | false | 3,331 | cpp | /*
* Copyright (c) 2004-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#inc... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
f08b318c331edc57ba4177793716aa5365be1fc5 | 0934782cc900ef32616d3c5204bca05b2aa34032 | /SDK/RC_ReloadOnDodgeRollModInst_parameters.hpp | 3d5bd6471346054c2297844aa6e515d783943645 | [] | no_license | igromanru/RogueCompany-SDK-9-24-2020 | da959376e5464e505486cf0df01fff71dde212cf | fcab8fd45cf256c6f521d94f295e2a76701c411d | refs/heads/master | 2022-12-18T05:30:30.039119 | 2020-09-25T01:12:25 | 2020-09-25T01:12:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,131 | hpp | #pragma once
// RogueCompany (4.24) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//---------------------------------------------------------------------------
// Function ReloadOn... | [
"60810131+frankie-11@users.noreply.github.com"
] | 60810131+frankie-11@users.noreply.github.com |
5e12365c892338ab91e0c929e19fd6f9dcad7fd1 | d0cc94c5c10ee77f41b190a605d3f120679e7c24 | /inc/Task.hpp | 39222de8b552f237f1d0b5946a5b736692d575b7 | [] | no_license | TinfoilPancakes/DD | 5874f812357227c17cfc17ef0f14a2b1707e3990 | 8d7817d91dfce516d34ae0d101b039acc4c203b2 | refs/heads/master | 2021-01-06T04:05:48.842430 | 2017-08-07T00:46:25 | 2017-08-07T00:46:25 | 99,522,008 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,301 | hpp | /* ************************************************************************** */
/* */
/* __ */
/* Task.hpp <(o )___ ... | [
"prateek.patil@gmail.com"
] | prateek.patil@gmail.com |
5186ac3c84d66a0b9afb7dc8001612056bd46f7d | 012af030d3de64ae7f2ce257be592a9c7114c4d5 | /core.h | 285c65bd8f55eb0d6bfca3b7a0983bd2392243f6 | [] | no_license | jordelucas/ARQ-Simulador-Multicore | 6633296591008f84b11ded770ab6271e2ec2cee2 | dc8f41a575849543fa32208ec903e61912a70639 | refs/heads/master | 2020-06-03T02:04:16.764512 | 2019-06-21T13:07:10 | 2019-06-21T13:07:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 444 | h | #ifndef CORE_H
#define CORE_H
#include "cache.h"
#include "dado.h"
class Core {
private:
Cache cache;
Cache * nivelInferior;
public:
Core();
Core(Cache * nivelInferior);
bool leitura(int endereco);
bool escrita(int endereco, int novoValor);
void set... | [
"jordevalucas@hotmail.com"
] | jordevalucas@hotmail.com |
117d6798dc542aa9a8718ac754cda4ec5d3596c6 | d1dc30ab429eec50de00f6d41c81fa5a4c7301e0 | /tcpserveur.cpp | 2429a6834194ca417643b6754bb5a2a593476394 | [] | no_license | lehouxouelleta/cll12-GestionnaireAgile-Serveur | 4a01d81cf15d5a29857ca402e42cf8d32304bd50 | bf376a0be056c8b7e493dc58429543076bf4fc19 | refs/heads/master | 2020-06-01T00:41:18.232169 | 2012-05-16T18:30:14 | 2012-05-16T18:30:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,839 | cpp | #include "tcpserveur.h"
TCPServeur::TCPServeur(QObject *parent) :
QTcpServer(parent)
{
}
void TCPServeur::incomingConnection(int socketDescriptor)
{
ThreadServeur *thServeur =new ThreadServeur(socketDescriptor);
connect(thServeur,SIGNAL(siRecoieConnection(QString)),this,SLOT(slRecoieConnection(QString)))... | [
"admin@fedora-patry.lan"
] | admin@fedora-patry.lan |
6a3c50234cb791093c0332221aade2f6259605bd | bcb99ebc90b2d3edff1ed3da15bac7c34c36c483 | /following/src/myPoint.cpp | 86f984ce3d31f97b13df4007c5a59b18b8ada6f0 | [] | no_license | cuili259291/rosintrodution | 843f3e214c4cb011f521bf8f1566ac45ef3c72ac | 0a50f47c37290621ec565ec43353b27a561e521b | refs/heads/master | 2020-05-19T12:09:45.607015 | 2017-11-27T11:18:22 | 2017-11-27T11:18:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 750 | cpp | #include "myPoint.h"
MyPoint::MyPoint(double xPos, double yPos)
{
x = xPos;
y = yPos;
}
MyPoint::~MyPoint()
{
}
double MyPoint::getAngle(MyPoint* target)
{
return atan2((target->y - y),(target->x - x));
}
double MyPoint::getDistance(MyPoint* target)
{
return sqrt((pow(target->y - y,2.0)) + (pow(target->x - ... | [
"tomwill1991@outlook.com"
] | tomwill1991@outlook.com |
813713164191434f1894c1719eb633b4bd3c9512 | 4114a7a685fab1857534da0885320c6724ba35d7 | /libraries/led/led.h | 6013075d11e1147f743244bbb825f2f53f71026d | [] | no_license | mz1951/Arduino | 387a3859bbd00291f13af1e96871e845d4ae1a32 | 57d3911d4b0152e562a394bb6f727abdf66528f1 | refs/heads/master | 2022-03-31T08:22:12.324066 | 2015-12-27T15:38:44 | 2015-12-27T15:38:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 257 | h | #ifndef LED_H
#define LED_H
#include "Arduino.h"
class Led
{
public:
Led(int pinNr);
~Led();
void init();
void setOn();
void setOff();
void toggle();
boolean isOn();
private:
int pin;
boolean ledIsOn;
};
#endif // LED_H
| [
"frehnerp@gmail.com"
] | frehnerp@gmail.com |
784b55abeb92f326c35f4b9f22c5e80e31484636 | a69995a1e8894db6fc3217a4b47929b923b9f5d0 | /stable/0.4/xmcml/xmcmlLauncher/xmcmlLauncher/launcher_omp.cpp | 49140d7eda59f8efaa8de5e8734e87b2f2c4f79c | [] | no_license | avgorshk/xmcml | f81d3a5849d350b76bbac17ef26ec52b4488f070 | 3b0f981bb2e8a7472a29dbd00f1906c53fed9926 | refs/heads/master | 2021-01-17T10:09:00.805481 | 2016-04-29T16:28:01 | 2016-04-29T16:28:01 | 32,270,361 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,999 | cpp | #include "launcher_omp.h"
#include <memory.h>
#include <omp.h>
#include "..\..\xmcml\xmcml\mcml_kernel.h"
void InitOutput(InputInfo* input, OutputInfo* output)
{
int gridSize = input->area->partitionNumber.x *
input->area->partitionNumber.y * input->area->partitionNumber.z;
output->gridSi... | [
"avgorshk@users.noreply.github.com"
] | avgorshk@users.noreply.github.com |
1dacbfbe27c9d6e15bf12fa5eb7418759288a3c2 | b8bd6677cca02eaeb55c5399bb64114e45b16d4d | /headers/jni_helper.cpp | 4ddd42288811368b5263d8a537c24ba1549386b4 | [
"BSD-3-Clause"
] | permissive | Laxen/object_identification_localization | 510e67ab2fb1e67b3ccbe57588f1420542aab412 | 658aad68c6e93386a6c49a810bd8620215a54440 | refs/heads/master | 2021-05-09T13:00:04.687994 | 2018-03-07T14:32:35 | 2018-03-07T14:32:35 | 119,023,703 | 6 | 2 | null | 2019-04-03T12:32:56 | 2018-01-26T08:05:24 | C++ | UTF-8 | C++ | false | false | 1,882 | cpp | #include "jni_helper.hpp"
JNI_Helper::JNI_Helper() {
}
/**
Initialize the class_path to the VM
@param class_path The class path
*/
JNI_Helper::JNI_Helper(std::string class_path) {
initialize(class_path);
}
void
JNI_Helper::initialize(std::string class_path) {
std::string jvm_command = "-Djava.class.path=" + cla... | [
"elt12aga@student.lu.se"
] | elt12aga@student.lu.se |
37dd2b5ba991d79a59515321393120c4c0642b58 | c5b93a9b23b4ddec0913ae41e60223877c0b65a0 | /code/swc_addnoisesaltandpepper.h | 82ccc5dcfb0f281ccae13cdc6f64397d24e936b8 | [] | no_license | PamirGhimire/seeWithCpp | 593f276a63382335fe9a7c9f27c313149894baa2 | c9d8088e72af5aa534367b94e928f6f564279aa4 | refs/heads/master | 2021-01-19T23:14:25.068259 | 2017-06-07T17:53:33 | 2017-06-07T17:53:33 | 88,941,638 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 689 | h | #ifndef SWC_ADDNOISESALTANDPEPPER_H
#define SWC_ADDNOISESALTANDPEPPER_H
// opencv headers
#include<opencv2/core/core.hpp>
#include<opencv2/imgproc/imgproc.hpp>
class swc_addNoiseSaltAndPepper
{
private:
// number of pixels to which salt and pepper noise is to be added
int mv_nPixels2Corrupt;
public:
// d... | [
"pamirghimire@gmail.com"
] | pamirghimire@gmail.com |
b82c98c5de48935b7dc0d847877151d581b76722 | 21ae20bd54b92d9f6a7d2771949524b50b3648dc | /src/sound/OpenALAudioSource.h | b26db2133ef9c7e5050f9b02790ffd21193534d9 | [
"MIT"
] | permissive | pjohalloran/gameframework | a94b981bdeb94427e55c50c57cfc265ed2472f2a | b3ad64dc8f9a8129c1ee5b4d1a797150f0216682 | refs/heads/master | 2021-01-25T10:29:17.629501 | 2013-09-01T21:44:12 | 2013-09-01T21:44:12 | 5,521,387 | 5 | 2 | null | 2013-09-01T21:44:02 | 2012-08-23T08:01:19 | C | UTF-8 | C++ | false | false | 27,430 | h | #pragma once
#ifndef __GF_OPEN_AL_AUDIO_SOURCE_H
#define __GF_OPEN_AL_AUDIO_SOURCE_H
// ////////////////////////////////////////////////////////////////////
// @file OpenALAudioSource.h
// @author PJ O Halloran
// @date 12/10/2010
//
// File contains the header for the OpenALAudioSource class.
//
// //////////////////... | [
"pjohalloran@gmail.com"
] | pjohalloran@gmail.com |
8d608e4b57c69dcbf53c2c901227d4c07c76a29d | 23c90f4f7879974404acaed76ada7b0b65210c3d | /My-ACM-Template/05_Computational Geometry/02_Convex_hull.cpp | f71b03cc3be9ce9d6b5697026324b63e6f9759a6 | [] | no_license | superkunn/qy | 77275a1d0ca1391fde60b0a09f28bffe9a227bcf | b96675186e650e4cb8ef0b85cab01649c8ec2038 | refs/heads/master | 2020-04-03T21:10:43.634920 | 2018-10-31T14:06:30 | 2018-10-31T14:06:30 | 155,565,437 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,555 | cpp | const double eps=1e-8;
struct point
{
double x,y;
point(){}
point(double a,double b){x=a;y=b;}
point operator -(const point &a)const{return point(x-a.x,y-a.y);}
double operator ^(const point &a)const{return x*a.y-y*a.x;}
double operator *(const point &a)const{return x*a.x+y*a.y;}
}p[MAX... | [
"1150527505@qq.com"
] | 1150527505@qq.com |
b2df27e8e04956f034a8f1800fa6dd24dddd2016 | 53941182efdc9905526afed5aa516943b8263fcb | /cpp/open3d/ml/PyTorch/Misc/FixedRadiusSearchOpKernel.cpp | ae19b16077140087beba640381181f95f4786597 | [
"MIT"
] | permissive | wwll/Open3D | c67988cefdf562b75ba36d1392747d6e896b8300 | 39ca2a926dfcf401deb600bae876a1eff004552b | refs/heads/master | 2022-12-06T23:46:24.223073 | 2020-08-26T01:48:41 | 2020-08-26T01:48:41 | 290,524,830 | 0 | 1 | NOASSERTION | 2020-08-26T14:50:46 | 2020-08-26T14:50:45 | null | UTF-8 | C++ | false | false | 4,430 | cpp | // ----------------------------------------------------------------------------
// - Open3D: www.open3d.org -
// ----------------------------------------------------------------------------
// The MIT License (MIT)
//
// Copyright (c) 2020 www.open3d.org
//
// Permissio... | [
"noreply@github.com"
] | wwll.noreply@github.com |
a5f5d5066a64ac82d95954661f5995cbbe5b0bf3 | 1c41afe53cc0ceb58e8a3ae409a7b8abb9a7071e | /modules/demonblade.hpp | 29e550c5b239e26aa4688bd1da178c7732ea3743 | [
"LicenseRef-scancode-happy-bunny",
"LicenseRef-scancode-warranty-disclaimer",
"MIT",
"Apache-2.0"
] | permissive | rubot813/demonblade_engine | 645b11dd1f11442934a93f8bfb0d430fc0b30e7d | c09f93b0170da0f0ab8f3425f3c64b79a2c1cbfa | refs/heads/main | 2023-02-12T13:04:22.605439 | 2021-01-05T18:00:25 | 2021-01-05T18:00:41 | 310,410,531 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 345 | hpp | /*
Хэдер для подключения модулей движка demonblade
*/
#ifndef DEMONBLADE_HPP_INCLUDED
#define DEMONBLADE_HPP_INCLUDED
// modules
#include "./core/core.hpp"
#include "./render/render.hpp"
#include "./utils/utils.hpp"
// live fast, die young! |:>
namespace db = demonblade;
#endif // DEMONBLADE_HPP_INCLUDED
| [
"soganov.sasha@yandex.ru"
] | soganov.sasha@yandex.ru |
b829fe492bef19bfab14ccfdbd9b8929f17bdab1 | 693d93174f43a81d8a65041553282a8872e3a6ff | /src/index/txindex.cpp | 8cb188cd698646730335e61ab488cd5366b6d03e | [
"MIT"
] | permissive | eleccoin/eleccoin | c075719d5ee676fc2bb9a21f3711d75d673655bd | 963f6d4a069e40ab2e46217e5d49bc94adda2c5c | refs/heads/master | 2022-11-13T02:38:36.662655 | 2022-10-30T08:56:57 | 2022-10-30T08:56:57 | 238,475,897 | 3 | 7 | MIT | 2022-01-10T07:29:19 | 2020-02-05T14:56:34 | C++ | UTF-8 | C++ | false | false | 3,209 | cpp | // Copyright (c) 2020-2022 The Eleccoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <index/txindex.h>
#include <index/disktxpos.h>
#include <node/blockstorage.h>
#include <util/system.h>
#include <v... | [
"unify@eleccoin.org"
] | unify@eleccoin.org |
0bebdb89df77be53a013a7846fb3a758a53a166c | 71e1fa4ba9826eba88d0e452b7e73ec8e600147c | /Examen2Clase/Album.cpp | e82635c1aa15aa4384aad70e88a93e3d3c87aef7 | [] | no_license | edwincabrera2001/EjerciciosProgramacion3-P42020 | 3354550ecc9ef521f61b38ca610ca168fc6f59d9 | 6cd21eee49a090dd9fa56c523cfb6d41c328a7e5 | refs/heads/master | 2023-02-02T09:23:09.542710 | 2020-12-18T22:16:54 | 2020-12-18T22:16:54 | 307,506,102 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,851 | cpp | #include "Album.h"
Album::Album() : nombreAlbum(nullptr), anioPublicacion(0), genero(nullptr), primerSencillo(nullptr), siguienteAlbum(nullptr) {
}
Album::Album(const char* _nombre, int _anio, const char* _genero) : nombreAlbum(_nombre), anioPublicacion(_anio), genero(_genero) {
}
void Album::setNombre(char* _nomb... | [
"edwin@DESKTOP-B8EJJCG"
] | edwin@DESKTOP-B8EJJCG |
07a0e9d5cc7b3b3c377e10e5a0cfa8b4c6223ab3 | 1fe69a9c7870d258cf27e784c129bb7b697e7fbb | /src/qt/test/moc_trafficgraphdatatests.cpp | 5e79ffe12d985998d7ae350b35334733dbdf2e42 | [
"MIT"
] | permissive | defland/aither | 465084f03cc31608d2ea1dde5a86645a87a328b2 | 35c7cef0aef09253bec92ce961463533cbf22fc1 | refs/heads/master | 2020-03-27T10:44:26.100722 | 2018-08-28T13:07:26 | 2018-08-28T13:07:26 | 146,441,645 | 0 | 0 | MIT | 2018-08-28T13:17:11 | 2018-08-28T12:06:51 | C++ | UTF-8 | C++ | false | false | 4,759 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'trafficgraphdatatests.h'
**
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "qt/test/trafficgraphda... | [
"flus38765@gmail.com"
] | flus38765@gmail.com |
c5353f6de4006432d3af3ada2c58f35bf13c826a | 7a36a0652fe0704b4b27f644653e7b0f7e72060f | /TianShan/StreamService/StreamPumper/SsStreamEventCenter.cpp | ead59cc000b12b93bcbda44f4c9d42715d68d550 | [] | no_license | darcyg/CXX | 1ee13c1765f1987e293c15b9cbc51ae625ac3a2e | ef288ad0e1624ed0582839f2a5a0ef66073d415e | refs/heads/master | 2020-04-06T04:27:11.940141 | 2016-12-29T03:49:56 | 2016-12-29T03:49:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,135 | cpp |
#include <math.h>
#include <TianShanIceHelper.h>
#include "SsStreamImpl.h"
#include "EventSender.h"
#include "SsServiceImpl.h"
#ifdef ZQ_OS_MSWIN
#include "memoryDebug.h"
#endif
#if defined ZQ_OS_MSWIN
#define PLFMT(x,y) "%s/%08X/SsPlaylist[%16s]\t"##y,ident.name.c_str(),GetCurrentThreadId(),#x
#else
#define P... | [
"jjz@example.com"
] | jjz@example.com |
9f2b1408637748cb7e737e077653dcd181c4c1d3 | 13f78c34e80a52442d72e0aa609666163233e7e0 | /Codeforces/Practice/1466 - Goodbye 2020/E.cpp | 325980f24ffb7dcb55703ce0a9e53e1084939454 | [] | no_license | Giantpizzahead/comp-programming | 0d16babe49064aee525d78a70641ca154927af20 | 232a19fdd06ecef7be845c92db38772240a33e41 | refs/heads/master | 2023-08-17T20:23:28.693280 | 2023-08-11T22:18:26 | 2023-08-11T22:18:26 | 252,904,746 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,402 | cpp | #include <bits/stdc++.h>
#define rep(i, a, b) for (int i = (a); i < (b); i++)
#define all(x) x.begin(), x.end()
#define sz(x) (int) (x.size())
using namespace std;
using ll = long long;
using vi = vector<int>;
const int MAXN = 5e5+5;
const int MAXB = 61;
const ll MOD = 1e9+7;
int N;
int onBits[MAXB];
ll X[MAXN];
voi... | [
"43867185+Giantpizzahead@users.noreply.github.com"
] | 43867185+Giantpizzahead@users.noreply.github.com |
88588468273c5a6cded249c2cde6d2f058427301 | f3548c394c87e21167c25d66add239b48ad71236 | /N64 Programs/BTImageMods/AssemblyInfo.cpp | 58c8c526dd80d89182c1facbdb9b52cabe1ff570 | [] | no_license | petermuller/old-google-code-projects | 10248ab69f56565174f7a7e9e586c68a5256b57b | 995dbc1080ec5951c5ca4a58bbd5ada62c2f2883 | refs/heads/master | 2021-01-16T18:30:41.152202 | 2015-04-17T14:20:16 | 2015-04-17T14:20:16 | 34,120,159 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,362 | cpp | #include "stdafx.h"
using namespace System;
using namespace System::Reflection;
using namespace System::Runtime::CompilerServices;
using namespace System::Runtime::InteropServices;
using namespace System::Security::Permissions;
//
// General Information about an assembly is controlled through the following
... | [
"petermuller@users.noreply.github.com"
] | petermuller@users.noreply.github.com |
986480275851d5f00ec3e5c32b7770f2facba622 | ccecc4b46f6e678be6dade0755c26a5cabe68691 | /baseOOP.cpp | add1360da02f1505ef0112709d648ccfcbbfea3e | [] | no_license | macovv/basicOOP | f20ebb24ee34686e70ea65548660f6d9b75dc9a9 | 52f5cc56a16769538dc2ff9d7c38c9ab7398a264 | refs/heads/master | 2021-09-01T20:19:13.796054 | 2017-12-28T15:26:27 | 2017-12-28T15:26:27 | 115,634,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 482 | cpp | //============================================================================
// Name : heloCPP.cpp
// Author : szymon
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#inc... | [
"szymonwojtala122@gmail.com"
] | szymonwojtala122@gmail.com |
70704fbaa3529b33d85eb2184be2ff21983834bc | e897d4e94cbb3a982ee249422950a3f6926f433c | /Lab/Lab 1 - June 20, 2016/HelloWorld/main.cpp | 78a3d91f84e08c35e7a65d5c17299a489965c68a | [] | no_license | L-Elyse/csc5_2016 | 61344a201378deacd98ccd7a40061d11517a173a | 10ec3627142d8b4a650c1c90faf08ede8a434759 | refs/heads/master | 2021-01-20T18:28:50.706767 | 2016-07-31T06:36:04 | 2016-07-31T06:36:04 | 61,777,500 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 547 | cpp | /*
* File: main.cpp
* Author: Laurie Guimont
* Created on June 20, 2016, 12:27 PM
* Purpose: First Program
*/
//System Libraries
#include <iostream>//Input/Output Stream Library
using namespace std;//Iostream uses the standard namespace
//User Libraries
//Global Constants
//Function Prototypes
//Execution ... | [
"lguimont@student.rcc.edu"
] | lguimont@student.rcc.edu |
651525cf265c6ff438063a2a4cec8dbf55d0c8f9 | e52e582103083884bbb4df04ebe93662dd68f754 | /src/integral.h | f37c9bbfc010c8ee226fb3d7dfc017f27073c349 | [] | no_license | vanever/mainode | 07fbb51d88897be282d765f994a2e247f2b2b4ba | 4e5194fa51de8e3676ef2cd273c45eefbc35873f | refs/heads/master | 2020-06-02T01:02:15.766757 | 2013-12-15T13:30:06 | 2013-12-15T13:30:06 | 15,203,223 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,270 | h | /***********************************************************
* --- OpenSURF --- *
* This library is distributed under the GNU GPL. Please *
* use the contact form at http://www.chrisevansdev.com *
* for more information. *
* ... | [
"fudan@n047.(none)"
] | fudan@n047.(none) |
a7700aa085122fd73113924730e182f3b654083d | 24ce9871325e27a64e2abb1de59b433a5d5a84f9 | /Palindrome.cpp | 35033cf8231f5b61a7a81a1b95c3fb6a528fea1a | [] | no_license | s0gek1ng/Recursion_Practice | f67b29adaf4423909954477e6168f9e4826b5c62 | 770c6a44edade49fa6e04316e27911a416361171 | refs/heads/master | 2020-08-27T21:09:28.197392 | 2019-11-15T10:24:45 | 2019-11-15T10:24:45 | 217,488,628 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 726 | cpp | #include<bits/stdc++.h>
using namespace std;
int pow(int a,int b){
int x;
if(b==1)
return a;
if(b==0)
return 1;
if(b%2==0){
int x=pow(a,b/2);
return x*x;
}
else{
x=pow(a,b/2);
return a*x*x;
}
}
int length(int n){
int r=n,len=... | [
"54336940+s0gek1ng@users.noreply.github.com"
] | 54336940+s0gek1ng@users.noreply.github.com |
036e2361f313a3a0a3fa37a674c72259437c1e74 | c9182868337b71d3d4a7eb9726ff729cdc95be9c | /Mines/tests/main.cpp | 46d427f7e2dc7fe480463e6bf26676c9d6898c39 | [] | no_license | mtripsky/Mines-commandLine | dbb951d4d93ca7cc61379cae99841d50598b9499 | f14adfb9ef9c8708074ae6968b71a884accc590c | refs/heads/master | 2020-05-05T12:09:36.405029 | 2019-04-20T08:55:56 | 2019-04-20T08:55:56 | 180,016,266 | 0 | 0 | null | 2019-04-20T08:55:57 | 2019-04-07T19:55:40 | C++ | UTF-8 | C++ | false | false | 425 | cpp | //
// main.cpp
// MinesTests
//
// Created by Matej Tripsky on 06/04/2019.
// Copyright © 2019 Matej Tripsky. All rights reserved.
//
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file
#include "libs/catch.hpp"
#include "Board/BoardStateTests.cpp"
#include "Board/Mine... | [
"m.tripsky@gmail.com"
] | m.tripsky@gmail.com |
523d2bf148acfbee42f99b1b437e87a651fe05d6 | 474ca3fbc2b3513d92ed9531a9a99a2248ec7f63 | /ThirdParty/boost_1_63_0/libs/hana/example/not_equal.cpp | 9499730bced6fdd831f6d1a9c6237de6612ac35f | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | LazyPlanet/MX-Architecture | 17b7b2e6c730409b22b7f38633e7b1f16359d250 | 732a867a5db3ba0c716752bffaeb675ebdc13a60 | refs/heads/master | 2020-12-30T15:41:18.664826 | 2018-03-02T00:59:12 | 2018-03-02T00:59:12 | 91,156,170 | 4 | 0 | null | 2018-02-04T03:29:46 | 2017-05-13T07:05:52 | C++ | UTF-8 | C++ | false | false | 680 | cpp | // Copyright Louis Dionne 2013-2016
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
#include <boost/hana/all_of.hpp>
#include <boost/hana/assert.hpp>
#include <boost/hana/not_equal.hpp>
#include <boost/hana/tuple.hpp... | [
"1211618464@qq.com"
] | 1211618464@qq.com |
4d5e59f5c73dbd8e16971b1060ec99e37c453961 | fae79bd82acc883def6505b1bbc1c6ccae7a5114 | /main.cpp | c16be246f09d81ea1112ecbf53391ca02479ae52 | [] | no_license | ITCarlow-ElecEng-CompProg/assignment-14-tyglik | 550fb9015f47cb519b006d388bee6823480ba517 | c01d94306c9a8378f294ac6194d50c9fe12f0490 | refs/heads/master | 2021-09-05T06:28:22.349266 | 2018-01-24T20:15:27 | 2018-01-24T20:15:27 | 112,204,240 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,646 | cpp | /** Lab 14 - File Processing
* Martina Nunvarova
* 24/01/2018
*
*
* To process input file, calculate and display min,max,avg,sdev to user
* To allow user to specify to sort data in ascending or descending order (not specified how)
* To save sorted data in a file.
*
* User input through command line ... | [
"noreply@github.com"
] | ITCarlow-ElecEng-CompProg.noreply@github.com |
3d7087facb607b6085df7ed4fb656437378fd2c7 | 394b3d93cfa9c17fd6f63b2a7e9e5e7b5d7da006 | /Range Queries/Sparse Table/lcm_of_array.cpp | 13a955ac6eac05071ab3fad1c51967f5a8e7ef97 | [] | no_license | RavinderChoudhary/Practice | 8daa2205b05dbf31c518f1812e7673a97529171d | 535e31d2854b675d03160779fd145f76c7b74835 | refs/heads/main | 2023-02-27T14:42:13.002571 | 2021-01-24T10:28:37 | 2021-01-24T10:28:37 | 324,501,875 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 929 | cpp | #include <bits/stdc++.h>
using namespace std;
const int k = 16;
const int N = 1e5;
long long table[N][k + 1];
int lcm(int a,int b){
return (a*b)/__gcd(a,b);
}
void buildSparseTable(vector<int> arr, int n)
{
for (int j = 0; j < n; j++)
table[0][j] = arr[j];
for (int ws = 1; ws <= k; ws++) {
for (i... | [
"noreply@github.com"
] | RavinderChoudhary.noreply@github.com |
f5618efc4d15fe4530af7300380590f5615adbbf | 7902ccb347ede9ca064eb35aa6685a1eb23cc50e | /mainwindow.h | 5f081dd46ae4971c904afeca17bfb89fb2a61659 | [] | no_license | rubencg195/TecsysImportacion | 2a560ec765b8e15ee16e1bf53e7f6adeb2797daf | 9de5f4f2034b5949360618dcf0612cdf87239e07 | refs/heads/master | 2021-01-17T07:40:04.444611 | 2017-06-24T17:31:22 | 2017-06-24T17:31:22 | 95,312,821 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,859 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QMessageBox>
#include <QDebug>
#include <QDir>
#include <QFile>
#include <QStringList>
#include <QGroupBox>
#include <QHBoxLayout>
#include <QList>
#include <QTextEdit>
#include <QLabel>
#include <QListView>
#include <QStringListModel>
#include... | [
"ruben_chevez_195@unitec.edu"
] | ruben_chevez_195@unitec.edu |
459204e4b920e56248fa39581d370b81dedc9033 | 72ca3c783d4946c361c7adc1ee0e728a46337d5b | /configs/RscTrafficLight.cpp | 1eda14f5ff8d212e353220071f731a59fb1ae9ae | [] | no_license | pennyworth12345/ContactConfigCompare | bedad3c99a097509aa2fe676a07f6e3850b62aec | e871366e36c80ad339aaab512b87b69bfe323040 | refs/heads/master | 2020-07-03T17:49:12.394661 | 2019-08-12T19:15:33 | 2019-08-12T19:15:33 | 201,992,619 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 681 | cpp | class RscTrafficLight: RscActiveText
{
color[] = {1, 1, 1, 0.7};
colorActive[] = {1, 1, 1, 1};
colorText[] = {1, 1, 1, 0.7};
h = "1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
style = 48;
text = "\A3\Ui_f\data\GUI\RscCommon\RscTrafficLight\TrafficLight_ca.paa";
tooltip = "You are running a modd... | [
"pennyworth12345@gmail.com"
] | pennyworth12345@gmail.com |
6df2296c6357984a4a91c7c8c1f3bd182e6a9cd6 | c74da5fcb9ca1460752078375e48a4ce8562e7d1 | /src/utils/SkShadowUtils.cpp | 8374aef68f164843f48a8ee3adb6c2663f5c092c | [
"BSD-3-Clause"
] | permissive | rikxqd/skia | 850c86c7cad93789bdbe518e45fe036afe83ce60 | ef653b86b2a9cf9e0793a647e5990806bdbd6934 | refs/heads/master | 2021-01-20T14:10:27.421143 | 2017-02-21T18:50:00 | 2017-02-21T22:56:00 | 82,746,385 | 1 | 0 | null | 2017-02-22T01:30:45 | 2017-02-22T01:30:45 | null | UTF-8 | C++ | false | false | 20,785 | cpp | /*
* Copyright 2017 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkShadowUtils.h"
#include "SkCanvas.h"
#include "SkColorFilter.h"
#include "SkPath.h"
#include "SkRandom.h"
#include "SkResourceCache.h"
#include "SkShadowTessellator.h"
... | [
"skia-commit-bot@chromium.org"
] | skia-commit-bot@chromium.org |
644992a30b7591f976f3c46d6f7bf54dbbb696ef | 51cafea84e0e2c2e6c28ac5fe80f2f6e5154f86c | /Classes/MiscSupport.h | 3388db9d6f83d03f185850789d295b50e1fc12e7 | [] | no_license | khibong/Tech4_StickHeroGo | 3468ac6248a253435290489c0ba0bcba3290f840 | e68a83f4e2cd98f0087b132979e44c4ecb6d4156 | refs/heads/master | 2020-07-10T22:34:49.551766 | 2019-07-31T10:38:31 | 2019-07-31T10:38:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 266 | h | #pragma once
#include"cocos2d.h"
USING_NS_CC;
class MiscSupport {
protected:
Size m_visibleSize;
Vec2 m_origin;
public:
MiscSupport() {
m_visibleSize = Director::getInstance()->getVisibleSize();
m_origin = Director::getInstance()->getVisibleOrigin();
}
}; | [
"vuduydu1997@gmail.com"
] | vuduydu1997@gmail.com |
5d402e53803f2c4d09071f413249b5a7ca80577f | f30c0e27de2a45621d4e7dd9432c64923eaf3775 | /src/core/SkLiteRecorder.cpp | 93251f9e627c72cefc32e8e693f7f0a46abca6ea | [
"BSD-3-Clause"
] | permissive | ruscur/skia | b4892c5ddd2ed42fd94c732168954c28efa69a4f | af1d050dcd74aed9c96428d8b37a2a5c38107883 | refs/heads/master | 2021-01-17T20:56:00.387119 | 2016-09-08T04:12:02 | 2016-09-12T05:07:26 | 67,666,849 | 0 | 0 | null | 2016-09-08T03:57:48 | 2016-09-08T03:57:47 | null | UTF-8 | C++ | false | false | 8,927 | cpp | /*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkLiteDL.h"
#include "SkLiteRecorder.h"
#include "SkSurface.h"
SkLiteRecorder::SkLiteRecorder()
: SkCanvas({0,0,1,1}, SkCanvas::kConservativeRasterClip_InitFlag... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
fa6e03d93bba42bca2229377c95283491f17e52b | 27fbce7c075cd9f4cee7e1250e82cd56a7699c02 | /tao/x11/object_loader.cpp | 49adc1e6f7e5f6a6e4bc6cdbf0607ad05556b9bb | [
"MIT"
] | permissive | jwillemsen/taox11 | fe11af6a7185c25d0f236b80c608becbdbf3c8c3 | f16805cfdd5124d93d2426094191f15e10f53123 | refs/heads/master | 2023-09-04T18:23:46.570811 | 2023-08-14T19:50:01 | 2023-08-14T19:50:01 | 221,247,177 | 0 | 0 | MIT | 2023-09-04T14:53:28 | 2019-11-12T15:14:26 | C++ | UTF-8 | C++ | false | false | 262 | cpp | /**
* @file object_loader.cpp
* @author Marcel Smit
*
* @brief CORBA C++11 ORB core
*
* @copyright Copyright (c) Remedy IT Expertise BV
*/
#include "tao/x11/object_loader.h"
namespace TAOX11_NAMESPACE
{
Object_Loader::~Object_Loader ()
{
}
}
| [
"jwillemsen@remedy.nl"
] | jwillemsen@remedy.nl |
3fbd82e7dafcc08cb845f31ca3b8af572840685e | f6f0f87647e23507dca538760ab70e26415b8313 | /6.3.1/msvc2022_64/include/QtCore/6.3.1/QtCore/private/qwindowspipewriter_p.h | 3d0cf264e30fb64553db24ee66d79c5302270ff4 | [] | no_license | stenzek/duckstation-ext-qt-minimal | a942c62adc5654c03d90731a8266dc711546b268 | e5c412efffa3926f7a4d5bf0ae0333e1d6784f30 | refs/heads/master | 2023-08-17T16:50:21.478373 | 2023-08-15T14:53:43 | 2023-08-15T14:53:43 | 233,179,313 | 3 | 1 | null | 2021-11-16T15:34:28 | 2020-01-11T05:05:34 | C++ | UTF-8 | C++ | false | false | 4,206 | h | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Copyright (C) 2021 Alex Trotsenko <alex1973tr@gmail.com>
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:... | [
"stenzek@gmail.com"
] | stenzek@gmail.com |
55e72bf7bec5a79b8cbfb8a5d78821c873c9deed | e0aeb17e0f04857509b251fe5075f45010383a96 | /daemon/daemon-main.hpp | 02231258b660ba0a7013cdeee171e0f453083132 | [
"MIT"
] | permissive | skatsaounis/dht-chord-simulator | 7ddb029ef743ea7c5b2a6926ce542835a51d021c | b8ebcbc58a7e5c39d54c5aaff97f621a90114c2d | refs/heads/master | 2021-01-21T07:10:17.630268 | 2017-03-13T20:49:31 | 2017-03-13T20:49:31 | 83,327,286 | 0 | 0 | null | 2017-03-12T15:00:25 | 2017-02-27T15:46:38 | C++ | UTF-8 | C++ | false | false | 133 | hpp | #ifndef _DSEMU_DAEMON_MAIN_HPP_
#define _DSEMU_DAEMON_MAIN_HPP_
void daemon_main(bool verbose);
#endif // _DSEMU_DAEMON_MAIN_HPP_
| [
"pwnzorbot4000@gmail.com"
] | pwnzorbot4000@gmail.com |
91400ce5ff9349b8e77193a72cc54b0ea45363f2 | 082eac8933b1ce8a2e35410226a1a54505a0ca9e | /TriggerBoxSpecificActor/TriggerBoxSpecificActor.h | 46c7564674a912b52143012d3b9a01d0be28e2cb | [
"MIT"
] | permissive | CEPBEP/unrealcpp | 3926c2ffe19f2f69507f0c812ac96204dde90d3e | 9a9829637cf80e0e52f7eb6661615ff3fdefa8d0 | refs/heads/master | 2020-03-16T17:32:03.590373 | 2018-05-09T10:06:00 | 2018-05-09T10:06:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 886 | h | // Harrison McGuire
// UE4 Version 4.19.0
// https://github.com/Harrison1/unrealcpp
// https://severallevels.io
// https://harrisonmcguire.com
#pragma once
#include "CoreMinimal.h"
#include "Engine/TriggerBox.h"
#include "TriggerBoxSpecificActor.generated.h"
UCLASS()
class UNREALCPP_API ATriggerBoxSpecificActor : p... | [
"hmcguire13@gmail.com"
] | hmcguire13@gmail.com |
5b17c789bdf350ef1ee017dcb883533e3e544bfa | 1b8b93d4489cf852481de79a26807d38c8e08cd6 | /Modelowanie/Modelowanie/Particle.h | fd9f704fafd61bfc225bff965c5566dc2e093c27 | [] | no_license | alexx1307/MUFB_Projekt | 1b9624a5a195da4f635d0afee6e433d5986e820e | 2bf384dd366e5e11e3909917ff78b4eaf3e91020 | refs/heads/master | 2016-09-06T03:10:03.586730 | 2013-05-28T21:38:53 | 2013-05-28T21:38:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 480 | h | #pragma once
#include "Vector.h"
class IPhysics;
class Particle
{
static IPhysics physics;
double mass;
Vector position;
Vector force;
public:
Particle(void);
~Particle(void);
static void setPhysics(IPhysics physics);
//metoda sluzaca do dodania nowej sily(wypadkowa)
void addForce(Vector force);
//ustalenie s... | [
"alexx1307@gmail.com"
] | alexx1307@gmail.com |
2f9238aa2b045af6e242cabb3a7601b48f264aa8 | f4d715360146080fcb06f3c78c6fa2a3efc179e1 | /23_new2/GPIO.h | 3c5bd967bfda96210e765c614d120fb44da7446a | [] | no_license | slonegd/cppmcu_example | 4e1d058b0cecdc54323a121bc1a03e014cb33dd8 | d954987fdba33b54e1c4c98b24df73ac2296366d | refs/heads/master | 2020-03-26T11:01:14.203753 | 2019-03-13T13:17:44 | 2019-03-13T13:17:44 | 144,824,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,202 | h | #pragma once
#include "registr.h"
#include "stm32f0xx.h"
namespace GPIO {
struct MODER_t {
enum Mode { Input = 0b00, Output, Alternate, Analog };
Mode MODER0 :2;
Mode MODER1 :2;
Mode MODER2 :2;
Mode MODER3 :2;
Mode MODER4 :2;
Mode MODER5 :2;
Mode MODER6 :2;
Mode MODER7 :2;
Mode ... | [
"dvk@phobos.factory.alexplus.ru"
] | dvk@phobos.factory.alexplus.ru |
cfaafe01e9a9a58468f11e6a32738d8d12672d8e | b454e81927970ea26ce565fb7a5f51ac17ad6c5b | /src/engine/PulsecountEngine.cpp | c5318fd66101ddcb3156cc1c9985a87121f8fbf3 | [
"BSL-1.0"
] | permissive | aiiyansin/cpp.react | e9d39deeaa705c70c4a31ad48e3d0bb3a2f33ba8 | d3b5faa260398105a89580f15c1d752e7d4e9373 | refs/heads/master | 2022-12-18T06:14:50.152335 | 2020-10-01T08:14:09 | 2020-10-01T08:14:09 | 300,200,154 | 1 | 0 | BSL-1.0 | 2020-10-01T08:13:02 | 2020-10-01T08:13:01 | null | UTF-8 | C++ | false | false | 8,355 | cpp |
// Copyright Sebastian Jeckel 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#if 0
#include "react/engine/PulsecountEngine.h"
#include <cstdint>
#include <utility>
#include "react... | [
"schlangster@gmail.com"
] | schlangster@gmail.com |
9c88a3ea305f5764e5d426ce14a7d024998857cc | 6ced41da926682548df646099662e79d7a6022c5 | /aws-cpp-sdk-securityhub/include/aws/securityhub/model/AwsRedshiftClusterIamRole.h | 1aff1e2ac0132a12c6873691238fd1f3a956defe | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | irods/aws-sdk-cpp | 139104843de529f615defa4f6b8e20bc95a6be05 | 2c7fb1a048c96713a28b730e1f48096bd231e932 | refs/heads/main | 2023-07-25T12:12:04.363757 | 2022-08-26T15:33:31 | 2022-08-26T15:33:31 | 141,315,346 | 0 | 1 | Apache-2.0 | 2022-08-26T17:45:09 | 2018-07-17T16:24:06 | C++ | UTF-8 | C++ | false | false | 4,871 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/securityhub/SecurityHub_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
56616a1cb246c128b82bbbfc574e82b8ba64e958 | b005e76d8f20308335dadc9fd0a5a64e3813d777 | /DP/DP_longest_common_subsequence.cpp | ceca4a08edee0044d6ae7a7e0082b93cee85a9da | [] | no_license | saa27/Data-Structures | 7951ab0e2cfdb4ff9afb8386f25dcd26570fb49f | 8823680b3654917ca637700dd060715815567819 | refs/heads/master | 2023-06-22T13:30:03.479668 | 2021-07-10T05:07:48 | 2021-07-10T05:07:48 | 280,473,117 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 607 | cpp | #include <bits/stdc++.h>
using namespace std;
int max(int a, int b)
{
return (a > b)? a : b;
}
int lcs(string x, string y, int a, int b){
int l[a+1][b+1];
int i,j;
for(i=0;i<=a;i++){
for(j =0;j<=b;j++){
if(i==0 || j==0)
l[i][j] = 0;
else if(x[i-1] ... | [
"saakshi27050@gmail.com"
] | saakshi27050@gmail.com |
28fe4338149ad201090e162a7a40cf7f99765c8b | 0add5dd73742d371fb8c2fd0575bde1c9717822d | /Source/GUAO_EveryThing/Private/Characters/GamePawns/Football/FootballSkin.cpp | 1b90338533ff1b25dd0a9009f02a141b19a18f78 | [] | no_license | GuAoDiao/GUAO_EveryThing | ff56a01085fab74104a92a2ce33928083b268c9d | 5dd6415e9649ac0f18b6c2c9e76a9405818e5d8b | refs/heads/master | 2020-03-12T13:29:44.860723 | 2018-06-07T09:45:22 | 2018-06-07T09:45:22 | 130,643,541 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 394 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "FootballSkin.h"
IMPLEMENT_GAMEPAWNSKIN_CLASS("FootballSkin", FFootballSkin);
FFootballSkin::FFootballSkin(UStaticMeshComponent* StaticMeshComp) : FRoleSkin(StaticMeshComp)
{
MaterialNames.Add(TEXT("FootballBlack"));
M... | [
"714896324@qq.com"
] | 714896324@qq.com |
9f1c29f018c529dd3668af52e517b5a3777dbadb | 2f13cf37f1e63c8f564976cc45d5ebe6a3030baa | /IpFilter.h | 53554dc2083e0a1efaa352993908e56303fefa2e | [] | no_license | Pavel-Alyukaev/Otus_ip | 544ffd82b2a9d1e005d5ec66444ec6e0ae450b64 | 51eee6af9f8031ffc7adc68e6162bb917652ca7f | refs/heads/master | 2020-12-14T21:40:37.451525 | 2020-01-29T16:13:01 | 2020-01-29T16:13:01 | 234,876,768 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 670 | h | #pragma once
#include <vector>
#include <string>
typedef std::vector<std::vector<short> > Pool;
class IpFilter
{
private:
Pool m_ipPool;
public:
IpFilter() {};
~IpFilter() {};
//Чтение ip адресов
void setIpPool();
void loadIpPool(std::istream&& stream);
//Печать ip адресов
void print... | [
"pavel-alyukaev@yandex.ru"
] | pavel-alyukaev@yandex.ru |
5c32cd3ae1550a44fb593867ad54bba10ebc8c99 | ff0116e624284d382dca4bb896078b0c1f34fb76 | /mainwindow.cpp | c55b870ebf9d645566662ed75170575d2508a031 | [] | no_license | RobHSmith/Qt-Based-Traffic-Light-GUI | 2a82e0729843e9735e9e2ae3c03b239ec9714821 | 86fecaf216ca8c455ec4e441b59fe62aec3d8af2 | refs/heads/main | 2023-08-16T14:04:52.819531 | 2021-10-18T15:42:25 | 2021-10-18T15:42:25 | 416,798,211 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,738 | cpp | #include <QTimer>
#include <iostream>
#include "mainwindow.h"
#include "D:\Graduate\Code Development\build-Combined_UI_v6-Desktop_Qt_6_1_2_MinGW_64_bit-Debug\ui_mainwindow.h"
#define NUMTLIGHT 6 //number of traffic lights
#define SENSVIEW 200 //distance sensor can see (m)
std::vector<int> ptime = {5,6,8,4,4,8... | [
"noreply@github.com"
] | RobHSmith.noreply@github.com |
b82220bc54047a1a07cb61b35127e50c9eeb7ddd | fc6d835bc3125052721c66f5302fbff71ae3454d | /leetcode/58_最后一个单词的长度.cpp | 53855cd4eaf8af754fdac2a804cd68137d4fa317 | [] | no_license | Scofyyy/leetcode | c1b0a6af9acd10a39f4548b0761af7bff7980b72 | edac9340d117f47799bef3cbafa75ff3fc5f3def | refs/heads/master | 2020-08-24T09:17:28.451782 | 2019-12-26T08:11:29 | 2019-12-26T08:11:29 | 216,801,451 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 826 | cpp | #include <string>
#include <algorithm>
using namespace std;
class Solution
{
int lengthOfLastWord(string s)
{
int size = s.size()-1;
int ans = 0;
int flag = 0;
for(int i=size-1;i>=0;i--)
{
if(s[i]!=' ')
{
ans++;
fla... | [
"gongj18@mails.tsinghua.edu.cn"
] | gongj18@mails.tsinghua.edu.cn |
116165c831e7a095261054ce5254abdfaa3354ff | 0d7886bd7e7625e935b1d55a55f3b5c056ecb67b | /Learn/程序清单 6-4.cpp | a3b05ffb74028d526db7386a2ae3fdb03db2c7db | [] | no_license | MasterWangdaoyong/My-C--Primer-Plus | ad1c06ff56f2a575c43a7d4dd1666dac83cf2704 | a204a87ce6fb387d487d9157c17e787306118c1b | refs/heads/master | 2021-04-06T02:29:16.293949 | 2021-01-17T14:00:06 | 2021-01-17T14:00:06 | 124,376,847 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 700 | cpp | // or
// 程序清单 6-4.cpp
// C++ Primer Plus
//
// Created by 王道勇 on 2017/5/29.
// Copyright © 2017年 王道勇. All rights reserved.
//
#include <iostream>
int main()
{
using namespace std;
cout << "This program may reformat your hard disk.\n"
"and destroy all your data.\nDo you wish to continue? <y/n> ";
... | [
"noreply@github.com"
] | MasterWangdaoyong.noreply@github.com |
7aa36796026e5aedf28c9934248dfd5698f9c0c5 | f950882940764ace71e51a1512c16a5ac3bc47bc | /src/GisEngine/GisGeometry/Geometry.h | eb1132618facb140b5b4bb4b6d87b98ca0df7a9c | [] | no_license | ViacheslavN/GIS | 3291a5685b171dc98f6e82595dccc9f235e67bdf | e81b964b866954de9db6ee6977bbdf6635e79200 | refs/heads/master | 2021-01-23T19:45:24.548502 | 2018-03-12T09:55:02 | 2018-03-12T09:55:02 | 22,220,159 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,032 | h | #ifndef GIS_ENGINE_GEOMETRY_I_GEOMETRY_H_
#define GIS_ENGINE_GEOMETRY_I_GEOMETRY_H_
#include <set>
#include "Common/Common.h"
#include "Common/Units.h"
#include "CommonLibrary/IRefCnt.h"
#include "Common/GisEngineCommon.h"
#include "CommonLibrary/stream.h"
namespace GisEngine
{
namespace GisGeometry
{
... | [
"nk.viacheslav@gmail.com"
] | nk.viacheslav@gmail.com |
2e4db8e2ab5ee83e7904e9c3c8f7a7d8079e8751 | 038df27dfb74a68f7b2fef2f63e5cc6bfe720962 | /helpers/generator/generator.hpp | 9b1d32d7bbcfdfbf15cce7edf3dc4e1232c21941 | [
"MIT"
] | permissive | klmr/fast_io | 6226db934bbda0b78ae1fac80d20c635106db2c1 | 1393ef01b82dffa87f3008ec0898431865870a1f | refs/heads/master | 2022-07-28T12:34:10.173427 | 2020-05-25T11:25:38 | 2020-05-25T11:25:38 | 266,780,867 | 2 | 0 | NOASSERTION | 2020-05-25T13:03:19 | 2020-05-25T13:03:19 | null | UTF-8 | C++ | false | false | 5,640 | hpp | ///////////////////////////////////////////////////////////////////////////////
// Copyright (c) Lewis Baker
// Licenced under MIT license. See LICENSE.txt for details.
///////////////////////////////////////////////////////////////////////////////
#ifndef CPPCORO_GENERATOR_HPP_INCLUDED
#define CPPCORO_GENERATOR_HPP_IN... | [
"euloanty@live.com"
] | euloanty@live.com |
ed1055e7f74b52ea178ddf4864080d9cd3033246 | 7573e25f68f7cc4a38c3306c3888840788c7e74e | /@hstlife/addons/hst_life_phone/cfgPatches.hpp | 9b8a4225518d2bb2c09d1548934ea303a91dc4df | [] | no_license | Kruk939/Hastati-HardRP-Kelly-Island | adb9639e469a73c8eef84a2fa90c648410e81a7f | 1ec8bf2c989d13275d03791275d8ab5d9cd69d70 | refs/heads/master | 2021-01-13T09:22:05.711557 | 2016-11-15T17:07:01 | 2016-11-15T17:07:01 | 69,752,492 | 3 | 2 | null | 2016-11-13T19:53:33 | 2016-10-01T17:23:29 | SQF | UTF-8 | C++ | false | false | 134 | hpp | class CfgPatches
{
class hst_life_phone
{
units[] = {};
weapons[] = {};
requiredVersion = 0.1;
requiredAddons[] = {};
};
}; | [
"kajetan@smsnet.pl"
] | kajetan@smsnet.pl |
0ef3a14de3b17119d9778f38630d96bcb2b42a83 | e35e71086793ff18e213fd291cd3c0cbdac16940 | /Fireplanet/main.cpp | 6b3bd91f990241e039b7b7003f585c5287097993 | [] | no_license | betelge/fireplanet | 09ed3ec8617a56b2d451955f1b3a6a72470b5a4b | d37c0a7a964a3fc29303a10afb5ecb4de51dc76f | refs/heads/master | 2020-06-28T11:27:08.076199 | 2016-09-09T01:31:29 | 2016-09-09T01:31:29 | 67,696,776 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,851 | cpp | // @jasminko
#include <fstream>
#include <iostream>
#include <GL/glew.h>
#include <GL/freeglut.h>
#include "shader.h"
#include "lodepng.h"
#define VERTEX_SOURCE "vertex.glsl"
#define FRAGMENT_SOURCE "fragment.glsl"
#define NOISE_SOURCE "noise3D.glsl" // The noise function called from the fragent shader
#define TEX... | [
"betelge@gmail.com"
] | betelge@gmail.com |
bfcb0c30d90b314c9775bbf54e4bc7cadd7f2b78 | 317956c4f20290e81feb799f870cc329a767b305 | /app/src/main/cpp/TvFilter.cpp | 66415226ba6e40499010f5bbafc926e7f80cef75 | [] | no_license | boksha/nativeTestApp | acda9116202fad0acdd38f11aa497fb4ada7c4ee | fcc2c0e8f4da0249b750e7a8aa3982ad047ac776 | refs/heads/master | 2021-09-11T06:46:44.065089 | 2018-01-16T16:00:24 | 2018-01-16T16:00:24 | 115,346,317 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,519 | cpp | //
// Created by miodrag.milosevic on 12/29/2017.
//
#include "TvFilter.h"
#include "color.h"
void TvFilter::transformPixels(jint *pixelArray, jint imageWidth, jint imageHeight) {
jint R, G, B, A;
for (jint x = 0; x < imageWidth; x++) {
for (jint y = 0; y < imageHeight; y += GAP) {
A = R... | [
"miodrag.milosevic@endava.com"
] | miodrag.milosevic@endava.com |
f7b73c7e809acf62f14a1ce37e920f7bbfa15407 | fafaa4cd9bc46e8426af6e173e976c9c74098030 | /my_server/MapGroupKernel/LeaveWord.h | 11f920f28221f1b24727421bbf007ec523fd9764 | [] | no_license | XinJiangQingMang/fight | 2c7cf0af9a3f027eda7b355c193041160053d4a0 | 41846b583064f2c576d3f238aebcebcbb3bafd17 | refs/heads/master | 2021-06-12T05:31:38.338725 | 2016-12-11T05:08:17 | 2016-12-11T05:08:17 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,088 | h |
//**********************************************************
// 代码编辑器
//**********************************************************
// PlayerLeaveWord.h: interface for the CLeaveWord class.
// 仙剑修, 2002.10.11
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PLAYERLEAVEW... | [
"337918198@qq.com"
] | 337918198@qq.com |
23cc862e056a302369b7cd4f018d44ccfa8223f8 | dfca502b5d88e3c67054b617399dc30a757e1eea | /src/main.cpp | fc8a1860b98b5a2a21f6e203dd4f946ed35f86ae | [] | no_license | chen0510566/CarND-P8-Kidnapped-Vehicle-Project | e625f3a02d2bc46c9dc4078e22d3dbc0f7d689ac | eafba075e89a8a093f9d62d7bcce0746a6c07018 | refs/heads/master | 2021-01-21T20:06:42.579542 | 2017-07-01T12:38:28 | 2017-07-01T12:38:28 | 92,187,795 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,531 | cpp | /*
* main.cpp
* Reads in data and runs 2D particle filter.
* Created on: Dec 13, 2016
* Author: Tiffany Huang
*/
#include <iostream>
#include <ctime>
#include <iomanip>
#include <random>
#include "particle_filter.h"
#include "helper_functions.h"
using namespace std;
//#define DEBUG_OUTPUT
int main()
{
... | [
"chen0510566@163.com"
] | chen0510566@163.com |
faac417b85492f633129ec284259e982c4c8ae11 | 7c7ba64a2f18eb0f8713185e5491ef4557f996fe | /EndGame/EndGame/Src/SubSystems/RenderSubSystem/RendererApi.cpp | 8304d24d56aaaacab102ae365dfb156fc4240426 | [
"MIT"
] | permissive | siddharthgarg4/EndGame | f86963b5776984c26d2203ea3d8537a680b13a80 | ba608714b3eacb5dc05d0c852db573231c867d8b | refs/heads/master | 2022-11-27T03:21:53.787321 | 2020-07-30T21:12:02 | 2020-07-30T21:12:02 | 266,642,356 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 240 | cpp | //
// RendererApi.cpp
//
//
// Created by Siddharth on 19/06/20.
//
#include "RendererApi.hpp"
namespace EndGame {
//temporary setting rendererapi->api to OpenGl
RendererApi::Api RendererApi::api = RendererApi::Api::OpenGl;
}
| [
"30897961+coder004@users.noreply.github.com"
] | 30897961+coder004@users.noreply.github.com |
0ec8b21e759003af7b453d55d966d2131df27444 | ea401c3e792a50364fe11f7cea0f35f99e8f4bde | /released_plugins/v3d_plugins/bigneuron_AmosSironi_PrzemyslawGlowacki_SQBTree_plugin/libs/boost_1_58_0/boost/asio/ssl/detail/openssl_init.hpp | 221709aa03bf0091973842040da738bbd078c858 | [
"MIT"
] | permissive | Vaa3D/vaa3d_tools | edb696aa3b9b59acaf83d6d27c6ae0a14bf75fe9 | e6974d5223ae70474efaa85e1253f5df1814fae8 | refs/heads/master | 2023-08-03T06:12:01.013752 | 2023-08-02T07:26:01 | 2023-08-02T07:26:01 | 50,527,925 | 107 | 86 | MIT | 2023-05-22T23:43:48 | 2016-01-27T18:19:17 | C++ | UTF-8 | C++ | false | false | 3,063 | hpp | //
// ssl/detail/openssl_init.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef BOOST... | [
"amos.sironi@gmail.com"
] | amos.sironi@gmail.com |
ed1f1d697df82dccd2ea89bce27af20863a1a1c3 | 1c57e996dbbb390a2e4654de855e7f3fd04b69c5 | /test/GenomeTest/QualityTest.cpp | 161da295cd4970266fda96c6f68bbaa0603d80ed | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | BrainTwister/GeneHunter | 20a906e6607a6058acd4f72fbfccb7d6d8f13578 | c8990fac4ef48c4a3322053b34095e70ae591dd8 | refs/heads/master | 2020-05-30T06:38:35.699017 | 2017-01-31T14:35:34 | 2017-01-31T14:35:34 | 19,794,742 | 4 | 1 | null | 2016-09-23T15:47:57 | 2014-05-14T20:18:32 | C++ | UTF-8 | C++ | false | false | 270 | cpp | #include "GenomeLib/Quality.h"
#include <gtest/gtest.h>
using namespace GeneHunter;
TEST(QualityTest, Default)
{
EXPECT_NEAR(1.0, static_cast<double>(FastqSanger::data[33]), 1e-4);
EXPECT_NEAR(5.01187e-10, static_cast<double>(FastqSanger::data[126]), 1e-4);
}
| [
"bernd.doser@braintwister.eu"
] | bernd.doser@braintwister.eu |
b9c6b0d13b1bf74410efa2f530a87b73db92aea0 | 07ee17f9fb57c0ccc9e4fe2c18410bd3f3eeec34 | /darkstar/SimObjects/Inc/cdPlayerDlg.h | 30ce11b470169deebf32ffff687478b7b6a21d71 | [] | no_license | AlexHuck/TribesRebirth | 1ea6ba27bc2af10527259d4d6cd4561a1793bccd | cf52c2e8c63f3da79e38cb3c153288d12003b123 | refs/heads/master | 2021-09-11T00:35:45.407177 | 2021-08-29T14:36:56 | 2021-08-29T14:36:56 | 226,741,338 | 0 | 0 | null | 2019-12-08T22:30:13 | 2019-12-08T22:30:12 | null | UTF-8 | C++ | false | false | 763 | h | //------------------------------------------------------------------------------
// Description
//
// $Workfile$
// $Revision$
// $Author $
// $Modtime $
//
//------------------------------------------------------------------------------
#ifndef _CDPLAYERDLG_H_
#define _CDPLAYERDLG_H_
#include <types.h>
#includ... | [
"altimormc@gmail.com"
] | altimormc@gmail.com |
954fb06cb1f4ca049ac66394f287c1e7f91265d5 | 6c35f94aba4acd56c2e2ac594d7eaa41412509b6 | /src/game/content/ennemis/Ennemi009.h | df5c1fe719c90cb466d03819a5f309f8ea864f77 | [] | no_license | NicolasR/ZeldaNSQ | ce250a873e5781f7add45ca68d113f4eec53b8b8 | 875db791576c709660e372b87e1f6a2db1c77111 | refs/heads/master | 2021-07-21T10:37:51.007267 | 2017-11-10T14:30:17 | 2017-11-10T14:30:17 | 141,019,856 | 2 | 0 | null | 2018-07-15T10:56:40 | 2018-07-15T10:56:39 | null | UTF-8 | C++ | false | false | 780 | h | /*
Zelda Navi's Quest
Copyright (C) 2013-2014 Vincent Jouillat
Please send bugreports with examples or suggestions to www.zeldaroth.fr
*/
#ifndef __ENNEMI009_H__
#define __ENNEMI009_H__
#include "../../../engine/resources/WImage.h"
#include "../../../engine/util/time/Chrono.h"
#include "../types/En... | [
"usineur0@gmail.com"
] | usineur0@gmail.com |
fd953869396fdace5594e94152da61011c3a7c2b | 46a5d6e94017324b4b88c8c827cb2c62bee167ce | /excelformat/BasicExcel.cpp | 49aa4cbe5ca41f62598dfd6f1cd1a551747a33be | [] | no_license | Roflincopter/massspec-convert | e7b1b93adff43e29fbc689a15a8cafd3a649ac75 | a7cf68daf4565f4b58157f9933ca7e81c58e4d92 | refs/heads/master | 2020-12-30T09:58:02.769803 | 2014-04-09T11:50:44 | 2014-04-09T11:50:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 207,821 | cpp | #include "ExcelFormat.hpp"
#ifdef _MSC_VER
#include <malloc.h> // for alloca()
#endif
#ifdef _WIN32
namespace WinCompFiles
{
CompoundFile::CompoundFile()
{
_pStg = NULL;
}
CompoundFile::~CompoundFile()
{
Close();
}
// Compound File functions
bool CompoundFile::Create(const wchar_t* filen... | [
"d.brentjes@gmail.com"
] | d.brentjes@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.