blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2a8dbed6dc79310d1ef09dd3d496c60084ba3580 | 6701eae4550c7cd3d8703565c7be3a5e26248676 | /src/qt/transactionview.cpp | 9f35effafd14d73cd59bd7b57f10d3cf566fb181 | [
"MIT"
] | permissive | stochastic-thread/bootstrapping-ellocash | 91de56a330090c004af31d861e6d4cfb8d8b9e36 | 9495f1e3741c7f893457e4f6602d6ef0d84b7b3d | refs/heads/master | 2021-09-05T05:00:19.403780 | 2018-01-24T08:09:44 | 2018-01-24T08:09:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,485 | cpp | // Copyright (c) 2011-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "transactionview.h"
#include "addresstablemodel.h"
#include "ellocashunits.h"
#include "csvmodelwriter.h"
#include ... | [
"arthurcolle@Arthurs-MacBook-Pro.local"
] | arthurcolle@Arthurs-MacBook-Pro.local |
b45840a4db7129bc3605758e9a27f0628c37171b | 5270bd701facc1aff767822884580e0cd65fa4e9 | /Uabd.cpp | 92343847cc0cfcb264eea8f0afa1e5dfed3a2317 | [] | no_license | prasidha/programing | f9d4f0e2bf11d118c15c3a6fb6321215cf25e1b6 | 5ad5059cbb501dcd2c679f9c0dc7b056b674d96e | refs/heads/master | 2021-01-21T09:39:10.647076 | 2017-05-18T07:31:19 | 2017-05-18T07:31:19 | 91,662,550 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 322 | cpp | #include<stdio.h>
#include<string.h>
int main(){
FILE*fptr;
char str[50]=" LRIG DOOG YREV";
char rev[50];
fptr=fopen("file.txt","w");
if(fptr==NULL){
printf("file cannot be open");
}else{
fputs(str,fptr);
fclose(fptr);}
FILE*fptr2;
fptr2=fopen("file.txt","w");
fputs(strrev(str),fptr2);
fclose(fptr2);... | [
"pracedha@gmail.com"
] | pracedha@gmail.com |
5522104d4ece6a3f9a90f397fc1140a7f9504869 | 5a403bd5b2d6a9022d27f9920505c0c511f48cf9 | /codilityg.cpp | 5f68a263c2969b31b380eae28b8ca9113dcca410 | [] | no_license | dawno/Coding | c2762939993e28ce633886aa15f0bc74434ef163 | c712a729fb8c7919b5fe82b8cbee1d17ddd454b1 | refs/heads/master | 2021-04-15T08:28:34.851039 | 2019-07-01T06:15:56 | 2019-07-01T06:15:56 | 126,705,169 | 0 | 3 | null | 2018-10-30T15:47:26 | 2018-03-25T14:21:57 | C++ | UTF-8 | C++ | false | false | 614 | cpp | // you can use includes, for example:
// #include <algorithm>
// you can write to stdout for debugging purposes, e.g.
// cout << "this is a debug message" << endl;
int solution(int K, vector<int> &A) {
if(A.size()==1){
if(A[0]>=K){
return 1;
}
else{
return 0;
... | [
"utkarshsinghcs@gmail.com"
] | utkarshsinghcs@gmail.com |
cbf5eefbdc953da5a0a5cc73e87f6b02852e9c12 | 36184239a2d964ed5f587ad8e83f66355edb17aa | /lec5/booleanzen.cpp | c975b3e78f5ec65586a713962b061c410fdc58cb | [] | no_license | xich4932/csci3010 | 89c342dc445f5ec15ac7885cd7b7c26a225dae3e | 23f0124a99c4e8e44a28ff31ededc42d9f326ccc | refs/heads/master | 2023-08-24T04:03:12.748713 | 2021-10-22T08:22:58 | 2021-10-22T08:22:58 | 415,140,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 575 | cpp | #include <iostream>
#include <vector>
bool IsEven(const int num) {
if (num % 2 == 0) {
return true;
}
return false;
}
int AbsoluteValue(int num) {
if (num > 0 ) {
} else {
num = num * -1;
}
return num;
}
int main() {
std::cout << IsEven(7) << std::endl;
std::cou... | [
"70279863+xich4932@users.noreply.github.com"
] | 70279863+xich4932@users.noreply.github.com |
bc7131904b5db1e11a275d53a51d7ad70fcd27d6 | f5d87ed79a91f17cdf2aee7bea7c15f5b5258c05 | /cuts/utils/template/Template_Engine.inl | df0571f183895ce02982a01896ed0882032a01e6 | [] | no_license | SEDS/CUTS | a4449214a894e2b47bdea42090fa6cfc56befac8 | 0ad462fadcd3adefd91735aef6d87952022db2b7 | refs/heads/master | 2020-04-06T06:57:35.710601 | 2016-08-16T19:37:34 | 2016-08-16T19:37:34 | 25,653,522 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 259 | inl | // -*- C++ -*-
// $Id$
//
// CUTS_Template_Engine
//
CUTS_INLINE
CUTS_Template_Engine::
CUTS_Template_Engine (const CUTS_Property_Map & map)
: tp_ (map)
{
}
//
// ~CUTS_Template_Engine
//
CUTS_INLINE
CUTS_Template_Engine::~CUTS_Template_Engine (void)
{
}
| [
"hillj@cs.iupui.edu"
] | hillj@cs.iupui.edu |
acc9334624041053d6e329c73eba12e4e0fbd8bc | aa65ba6a02358421faedde247072447168905cb0 | /UmaCruise/Utility/CodeConvert.cpp | 7334cb631ad095f1a83ed52894eb1e0a190c59fd | [] | no_license | joon-won/UmaUmaCruise | c9ff7748f221363a8d40238449ec910af12fab9d | 9a1582fb48a62a6c04138c989dc4c11e2594b253 | refs/heads/master | 2023-08-29T17:10:43.651833 | 2021-11-08T20:11:15 | 2021-11-08T20:11:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,930 | cpp |
#include "stdafx.h"
#include "CodeConvert.h"
#include <Windows.h>
namespace CodeConvert
{
std::string ShiftJISfromUTF16(const std::wstring & utf16)
{
int requireBytes = ::WideCharToMultiByte(CP_ACP, 0, utf16.c_str(), utf16.length(), nullptr, 0, NULL, NULL);
if (requireBytes > 0) {
std::string sjis;
sjis.... | [
"frandre.test@gmail.com"
] | frandre.test@gmail.com |
186c040aac3b2595f9044096479a36ac7b7e239f | 9cb280bce37dc0c8b91ed271dc3fa7b9b06b39b0 | /practice/program4.3.cpp | bab0135cf2df97f1eb1f67ffe3094c1d73870e70 | [] | no_license | bhattathakur/ResearchStuff | 158d0039f05eb3d4a8c1f98943aa0821a543757c | 7d8fc4caff553bd69f31b8b89193b028c2bf19c7 | refs/heads/master | 2020-03-22T22:50:57.103338 | 2018-07-13T00:43:59 | 2018-07-13T00:43:59 | 140,773,885 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 261 | cpp | #include <iostream>
using namespace std;
long fact(int n)
{
if(n==0)
return 1;
return (n*fact(n-1));
}
int main()
{
int num;
cout<<"Enter a positive integer:";
cin>>num;
cout<<"Factorial of \t"<<num<<" is\t"<<fact(num);
cout<<endl;
return 0;
} | [
"bhattathakur2015@gmail.com"
] | bhattathakur2015@gmail.com |
cb7392bc196c1c442df0ce6335372bfb98fae12d | 59418b5794f251391650d8593704190606fa2b41 | /plugin_api/em5/em5/ai/em4Router/actor/base/EGenericObjectBase.h | 0d09ca4ff2d3e2b64d53e922b47d31cdee5705d8 | [] | no_license | JeveruBerry/emergency5_sdk | 8e5726f28123962541f7e9e4d70b2d8d5cc76cff | e5b23d905c356aab6f8b26432c72d18e5838ccf6 | refs/heads/master | 2023-08-25T12:25:19.117165 | 2018-12-18T16:55:16 | 2018-12-18T17:09:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,136 | h | // Copyright (C) 2012-2018 Promotion Software GmbH
//[-------------------------------------------------------]
//[ Header guard ]
//[-------------------------------------------------------]
#pragma once
//[-------------------------------------------------------]
//[ Includes... | [
"christian.ofenberg@promotion-software.de"
] | christian.ofenberg@promotion-software.de |
1972531dd15e9c780d815c8ccb0dbb56e8f9bdcd | c301c81f7560125e130a9eb67f5231b3d08a9d67 | /lc/lc/2021_target/core/arrays/lc_128_longest_consequtive_seq.cpp | 8ffb043712d0f49637ad7a821674b2f6794d11d4 | [] | no_license | vikashkumarjha/missionpeace | f55f593b52754c9681e6c32d46337e5e4b2d5f8b | 7d5db52486c55b48fe761e0616d550439584f199 | refs/heads/master | 2021-07-11T07:34:08.789819 | 2021-07-06T04:25:18 | 2021-07-06T04:25:18 | 241,745,271 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,533 | cpp | /*
Given an unsorted array of integers nums, return the length of the longest consecutive elements sequence.
Follow up: Could you implement the O(n) solution?
Example 1:
Input: nums = [100,4,200,1,3,2]
Output: 4
Explanation: The longest consecutive elements sequence is [1, 2, 3, 4]. Therefore its length is 4.
E... | [
"vjha2100@gmail.com"
] | vjha2100@gmail.com |
98da7225add12797c8f95b9ed8bc7012a3911301 | 7aa189c718f8a63c256685a435d027ace3833f6b | /include/ogonek/normalization_forms/nfkd.h++ | 51427ae50e97ef0a4c0139d0bc1b3ae6537dba0c | [
"CC0-1.0"
] | permissive | rmartinho/ogonek | d5523145108de1255298a17c1c25065beb19b82c | 0042f30c6c674effd21d379c53658c88054c58b9 | refs/heads/devel | 2020-05-21T15:17:39.490890 | 2019-09-29T10:58:31 | 2019-09-29T10:58:31 | 8,255,019 | 16 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,185 | // Ogonek
//
// Written in 2017 by Martinho Fernandes <ogonek@rmf.io>
//
// To the extent possible under law, the author(s) have dedicated all copyright and related
// and neighboring rights to this software to the public domain worldwide. This software is
// distributed without any warranty.
//
// You should have rece... | [
"rmf@rmf.io"
] | rmf@rmf.io | |
014bdc9e3913bb02c8df13e6275b744725633645 | 03a146294aee9187472fc89f6d58d08bcf7dccab | /end-2-term-projects/wcc2/load-geojson-test/src/SandLine.h | 1ff4a6a8091833dff5ac23a549adaca530009598 | [] | no_license | vvzen/MACA | c36f0113e1e65cd296769d2c60097c45039f61d6 | e7fb422939c7627e493fd95fa4d3a7fdb700af6f | refs/heads/master | 2021-10-08T15:04:48.061607 | 2018-12-13T19:56:36 | 2018-12-13T19:56:36 | 113,078,541 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,045 | h | #include "ofMain.h"
#include <random>
struct Grain {
ofPoint pos;
ofColor col;
float size;
};
class SandLine {
public:
void setup(float w, float h, float max_size, float max_alpha);
void update();
void add_point(ofVec3f p, int max_offset, int max_radius);
ofFbo * get_fbo_point... | [
"vv@Valerios-Air.eduroam.student"
] | vv@Valerios-Air.eduroam.student |
a6c133b13c4eb230f741e091e88ff4f10c305fb1 | db84bf6382c21920c3649b184f20ea48f54c3048 | /validation/AlphaInteractions/MaterialInteraction.cxx | 9ad81a0ff52752490d389ec20b189d13c1931d9a | [] | no_license | liebercanis/MaGeLAr | 85c540e3b4c5a48edea9bc0520c9d1a1dcbae73c | aa30b01f3c9c0f5de0f040d05681d358860a31b3 | refs/heads/master | 2020-09-20T12:48:38.106634 | 2020-03-06T18:43:19 | 2020-03-06T18:43:19 | 224,483,424 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,968 | cxx | /*
* MaterialInteraction.cxx
*
* Created on: Jun 9, 2011
* Author: fraenkle
*/
#include <iostream>
#include <sstream>
#include "TCanvas.h"
#include "TPad.h"
#include "TF1.h"
#include "MaterialInteraction.h"
#include "../VaLi/RComp.h"
MaterialInteraction::MaterialInteraction() {
token = "";
materialName ... | [
"mgold@unm.edu"
] | mgold@unm.edu |
cf52174c039a708cb46cdd51375decbf7b53411d | 8dfdc9e6c86e00a14fa1eaf3fc260e55a52831f6 | /node_modules/cordova-plugin-vibrate-intense/src/blackberry10/native/src/vibration_js.cpp | 25a9d8ca989db43720bc169b33f16c38e9d41df5 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | sarahbarretto/Barretto_Sarah-Midterm | 893eec2339910729cc381815c6e395bbac1454e7 | 8531927189ac06af7c210867c11ea1d1ae945eb8 | refs/heads/master | 2020-04-03T01:00:27.168079 | 2018-10-27T02:18:24 | 2018-10-27T02:18:24 | 154,828,383 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,769 | cpp | /*
* Copyright 2013-2014 Blackberry Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | [
"sarahpbarretto@gmail.com"
] | sarahpbarretto@gmail.com |
7aac4d7a7d754bdebdc1b3fb9fe1c9d7e331979c | 6e0b51a1442fcd2691a81db261a0586e95b8c103 | /main.cpp | 2820d1419e8c2fa077c10676adf6ee3de1b83560 | [] | no_license | rhedman32/GroupProject | 970482f5bae133b4d4944563533de0f203363d24 | 240014f3096245d2203b9c39df28f94a72d6c7a8 | refs/heads/master | 2021-01-18T07:31:04.573229 | 2015-04-19T15:46:15 | 2015-04-19T15:46:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,624 | cpp | //
// main.cpp
// ArenaLogic
//
// Created by Andrew Francis on 4/15/15.
// Copyright (c) 2015 Andrew Francis. All rights reserved.
//
#include <iostream>
#include "Arena.h"
#include "Player.h"
using namespace std;
// Main HELPER METHOD Definitions
void textSeparator() {
cout << "-------------------------\n";... | [
"s4ncin@gmail.com"
] | s4ncin@gmail.com |
95285a25e61ade5363989a711c8c6c17f7655b3d | 4f3ca870385f532dccff9602131d15bfdd2ea961 | /components/offline_pages/core/background/mark_attempt_completed_task_unittest.cc | e4585540eb0aca1e3a19266de398591af411bb73 | [
"BSD-3-Clause"
] | permissive | nmhung1210/chromium | 6090ef1b8812990ce5f437900a9951d67c577d26 | 67d0ec786c8fac2dfe4bd92851aa70c96aae9829 | refs/heads/master | 2023-01-07T02:47:49.751768 | 2018-11-25T06:52:39 | 2018-11-25T06:52:39 | 159,008,512 | 1 | 0 | NOASSERTION | 2018-11-25T07:31:29 | 2018-11-25T07:31:29 | null | UTF-8 | C++ | false | false | 3,646 | cc | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/offline_pages/core/background/mark_attempt_completed_task.h"
#include <memory>
#include <utility>
#include "base/bind.h"
#include "... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
48a528b8ab343ed9208be3cc7e5573ab29f6793b | a09400aa22a27c7859030ec470b5ddee93e0fdf0 | /stalkersoc/source/Level_Bullet_Manager.cpp | 4aef30ec9db4d08badebb9e699aa1859b7e1e80d | [] | no_license | BearIvan/Stalker | 4f1af7a9d6fc5ed1597ff13bd4a34382e7fdaab1 | c0008c5103049ce356793b37a9d5890a996eed23 | refs/heads/master | 2022-04-04T02:07:11.747666 | 2020-02-16T10:51:57 | 2020-02-16T10:51:57 | 160,668,112 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 15,879 | cpp | // Level_Bullet_Manager.cpp: ��� ����������� ������ ���� �� ����������
// ��� ���� � ������� ���������� ����
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Level.h"
#include "Level_Bullet_Manager.h"
#include "game_cl_base.h"
#include "Actor.h"
#include "game... | [
"i-sobolevskiy@mail.ru"
] | i-sobolevskiy@mail.ru |
8f12a9243eb2f1e6149b30ab8823cb75fa131caf | d43ca4dfa9c39707394e1831ffdb9978889a003b | /src/platform-windows.h | 0cb6f223eee238677fdbdc34ff7d81c72cb7fef5 | [
"MIT"
] | permissive | joshpeterson/fun-console | ecb70e5c7a63b4dd7bacbba9377e8b73742f65ef | 32f5d4573b6e05a0eda73716e45cde599199c35f | refs/heads/master | 2023-01-02T03:57:36.146757 | 2020-10-17T11:11:19 | 2020-10-17T11:11:19 | 272,185,010 | 1 | 0 | null | 2020-09-01T12:59:59 | 2020-06-14T11:06:34 | C++ | UTF-8 | C++ | false | false | 236 | h | #pragma once
#include "platform.h"
namespace fun
{
class PlatformWindows : public Platform
{
public:
PlatformWindows();
bool SupportsEmoji() const override;
bool SupportsControlCharacters() const override;
};
} // namespace fun
| [
"petersonjm1@gmail.com"
] | petersonjm1@gmail.com |
6889342df692d3c2d43ea269fccafd2a19c658f2 | d044d94f3af1f057c118a583ce3c05c597a6253d | /src/luabind/src/class.cpp | de1086575350e9a58d5ab0882cee3f9dec8dbc4f | [
"MIT"
] | permissive | lonski/amarlon_dependencies | 3e4c08f40cea0cf8263f7d5ead593f981591cf17 | 1e07f90ffa3bf1aeba92ad9a9203aae4df6103e3 | refs/heads/master | 2021-01-10T08:17:16.101370 | 2016-03-28T21:29:39 | 2016-03-28T21:29:39 | 43,238,474 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,359 | cpp | // Copyright (c) 2004 Daniel Wallin and Arvid Norberg
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, mo... | [
"michal@lonski.pl"
] | michal@lonski.pl |
9e70175c9bee5976bbc46d1b17c72449ff8a4e48 | 1d28a48f1e02f81a8abf5a33c233d9c38e339213 | /SVEngine/src/file/SVParseAniTrigger.cpp | 4cd6fcf8fc7cb91ee712ac4c47b9a514bdeefc48 | [
"MIT"
] | permissive | SVEChina/SVEngine | 4972bed081b858c39e5871c43fd39e80c527c2b1 | 56174f479a3096e57165448142c1822e7db8c02f | refs/heads/master | 2021-07-09T10:07:46.350906 | 2020-05-24T04:10:57 | 2020-05-24T04:10:57 | 150,706,405 | 34 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 457 | cpp | //
// SVParseAniTrigger.cpp
// SVEngine
// Copyright 2017-2020
// yizhou Fu,long Yin,longfei Lin,ziyu Xu,xiaofan Li,daming Li
//
#include "SVParseAniTrigger.h"
#include "../act/SVAniTrigger.h"
SVAniTriggerPtr SVParseAniTrigger::parseAniTrigger(SVInst *_app, RAPIDJSON_NAMESPACE::Value &item, s32 _resid, cptr8 _path) {
... | [
"lixiaofan@svengine.com"
] | lixiaofan@svengine.com |
ebe5fdc976abe467cc99784e444760b87ceace95 | 062e15bf0f33c9cde8027548f760a2b3c6839090 | /08/COMMON/DOTPRODC.CPP | 9297e67e5f44c994fae9a64b58e13c0a9eb23971 | [] | no_license | dumpinfo/DNNCudatest | 5098e994fff209c9cf95ac164fab025e9a829f6c | c1f3e1fb3a9e74870360143ee9b44d7a4d53cb66 | refs/heads/master | 2023-02-03T02:31:26.454713 | 2020-12-24T20:21:18 | 2020-12-24T20:21:18 | 324,229,439 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,991 | cpp | /******************************************************************************/
/* */
/* DOTPRODC - Compute dot product of two complex vectors */
/* ... | [
"ubuntu@localhost.localdomain"
] | ubuntu@localhost.localdomain |
1c27dfcf78627157a2d3727a177308b1adaa918e | 98ad7179c2bdecb7c428f1ab3aa34e430dbd2a50 | /Engine/Base/Resources/IResourceLoader.h | 36bb100d6ae257b5eb80edafde3d1e1fc596e03e | [
"BSD-3-Clause"
] | permissive | blizmax/GraphicsGenFramework | c7399efce254d5b5e6fa967a956c7adae8019cab | 89cb8cf95c105f12187ed3da999d16620a5b528a | refs/heads/master | 2021-09-24T03:39:26.403453 | 2018-10-02T20:02:03 | 2018-10-02T20:02:03 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,131 | h | // Copyright © 2014-2017 Zhirnov Andrey. All rights reserved.
#pragma once
#include "Resource.h"
namespace Engine
{
namespace Base
{
//
// Loader interface
//
class IResourceLoader : public BaseObject
{
// types
protected:
struct ResourceFileHeader : public CompileTime::PODStruct
{
typedef CompileT... | [
"zh1dron@gmail.com"
] | zh1dron@gmail.com |
fe672d2c45cfc06fb11eccbccd6718bde13ad4ff | e8b8c5d9510b267e41c496024f7f439d1aff1618 | /Platform/PlatformWindows.cpp | 4b2bfb23089cf8e5d78fb5eca5402248178820e8 | [] | no_license | Archetype/milkblocks | b80250cb5820188a16df73d528f80e3523d129b0 | 28ee5a44e5afc2440b77feec77202b310f395361 | refs/heads/master | 2021-01-19T21:29:05.453990 | 2011-07-12T02:44:59 | 2011-07-12T02:44:59 | 1,030,899 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,241 | cpp | #include "PlatformWindows.h"
#include <stdio.h>
#include <assert.h>
#include <GL/glew.h>
#include <GL/freeglut.h>
#ifndef __IPHONE_3_0
#include "mmgr.h"
#endif
static void display(void)
{
Platform::GetApplication()->Advance(glutGet( GLUT_ELAPSED_TIME ));
}
static void idle()
{
glutPostRedispl... | [
"robmanson@gmail.com"
] | robmanson@gmail.com |
b4877d4276a6cc282710540347c9083636d26178 | 1b09a3d48a767663ce79407c3560d18940a11f90 | /articles/index.re | 851897adc19f01593973b311e937755d9fb21705 | [
"MIT"
] | permissive | kubosho/review-boilerplate | ac800adfc43a2bb6eb5d5506105a419aa4365f4d | eb435c56bf65c3249a5d4601c832851ba6fdf3e8 | refs/heads/master | 2021-01-25T05:57:42.492335 | 2017-02-13T15:30:44 | 2017-02-13T15:30:44 | 29,169,196 | 5 | 0 | null | 2017-02-13T15:29:04 | 2015-01-13T02:40:48 | CSS | UTF-8 | C++ | false | false | 107 | re | = はじめに
ここにはなんでこの本を書くに至ったかなど熱い思いを書きます。
| [
"ta2@o2p.jp"
] | ta2@o2p.jp |
c663cfe933b1389b9498eb1155af23edd9de349d | 14f1edb4aee8f7b79d351344f8a6bc50a9428c65 | /8.Template/caffeineBeverage.h | de9c03d6b9fef6038aa07fa6fbc76831933aa71a | [] | no_license | facku24/DesignPatters | eaf2ba3b2ae5c1aef015633556d26ac2abf3987d | 7f290daa3dcfc1592571bf6219f7c55fbad1d471 | refs/heads/master | 2020-04-08T20:09:03.828762 | 2019-02-18T14:23:06 | 2019-02-18T14:23:06 | 159,685,735 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 473 | h | #ifndef _CAFFEINEBEVERAGE_H_
#define _CAFFEINEBEVERAGE_H_
class CaffeineBeverage
{
public:
virtual void prepareRecipe() final;
virtual void brew() = 0;
virtual void addCondiments() = 0;
void boilWater();
void pourInCup();
};
class TeaBeverage : public CaffeineBeverage
{
public:
void brew();
vo... | [
"facku24@gmail.com"
] | facku24@gmail.com |
e6b9b8a9c91410d86242d77e7dae040857bea7e9 | 5d07b105147d5f20ad67f8c15f2670e98ed4430c | /MakerbotFEMSim/MakerbotFEMSim/LineSearch.cpp | 51c4bf1adab8e339cffdef343f61579c9686d065 | [] | no_license | arjunnar/MakerbotFEMSim | da5bd11288aeb5abffd4311a4a04a8fc9f1d4b51 | 3a34537ae2eea8a2e3a505049e6de3d8e809404b | refs/heads/master | 2021-01-19T11:43:11.514497 | 2014-05-15T16:59:56 | 2014-05-15T16:59:56 | 18,683,982 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,673 | cpp | #include "LineSearch.h"
void LineSearch::advanceMesh(ElementMesh * mesh, Eigen::VectorXf &deltaX)
{
Quadrature quadrature;
float stepSize = 0.1f;
while (true)
{
std::cout << "line search step size: " << stepSize << std::endl;
// try advancing mesh
addDeltaX(mesh, deltaX, stepSize);
// assess stability o... | [
"arjunnar@mit.edu"
] | arjunnar@mit.edu |
295161fa00194e79012f8ebe500dd293b3480fe2 | 6f5a72debacfacab4adc1d26a11de06f9f898fda | /tvapp/Classes/PlayerStandingState.h | edc0172e55b7782f0356bdda75b395842bde34e0 | [
"MIT"
] | permissive | iacopocheccacci/cocos2dx-helloWorld-tvOS | 5c51b2aa098cc7997c54e53112e2d63477cdcaaf | ae08efb0b1a52e8b5fd0bbeea397f3c56c33f58e | refs/heads/master | 2021-01-09T06:59:17.063539 | 2015-10-20T17:03:16 | 2015-10-20T17:03:16 | 44,961,103 | 0 | 0 | null | 2015-10-26T10:20:38 | 2015-10-26T10:20:36 | null | UTF-8 | C++ | false | false | 1,032 | h | //
// PlayerStandingState.h
// SOP_Proto
//
// Created by Iacopo Checcacci on 16/12/14.
//
//
#ifndef __SOP_PLAYER_STANDING_STATE__
#define __SOP_PLAYER_STANDING_STATE__
#include "PlayerState.h"
class PlayerStandingState : public PlayerState
{
public:
PlayerStandingState(Player* player, bool fromJump);
vi... | [
"giuseppe@balzo.eu"
] | giuseppe@balzo.eu |
37cb419e8a9c0e7abcca33154d15d6b1b863be12 | bbfef6b5537e5a37725b3bdd3d4e8bb8cae7cac1 | /src/modules/BacklightPrinter.hpp | 13ea056d1b1a11f7c64763a32256abe139ae3f9a | [
"MIT"
] | permissive | NobodyXu/swaystatus | 6cd80a6888776ece62ceccca31d6650cad71ee9e | 18d131631ac25a92a78630e033e89d751ebe3306 | refs/heads/main | 2023-07-30T08:57:11.177598 | 2021-09-12T04:38:21 | 2021-09-12T04:38:21 | 337,929,801 | 25 | 2 | MIT | 2021-06-15T05:34:04 | 2021-02-11T04:34:03 | C++ | UTF-8 | C++ | false | false | 245 | hpp | #ifndef __swaystatus_BacklightPrinter_H__
# define __swaystatus_BacklightPrinter_H__
# include "Base.hpp"
namespace swaystatus::modules {
std::unique_ptr<Base> makeBacklightPrinter(void *config);
} /* namespace swaystatus::modules */
#endif
| [
"Jiahao_XU@outlook.com"
] | Jiahao_XU@outlook.com |
d04e0b63a15281a1813432f97046e56172bd6658 | 04fee3ff94cde55400ee67352d16234bb5e62712 | /11.12contest/source/Stu-56-STL/coal/coal.cpp | 63f9d7ced34b01440d6dddc6bc49fa0531e914a5 | [] | no_license | zsq001/oi-code | 0bc09c839c9a27c7329c38e490c14bff0177b96e | 56f4bfed78fb96ac5d4da50ccc2775489166e47a | refs/heads/master | 2023-08-31T06:14:49.709105 | 2021-09-14T02:28:28 | 2021-09-14T02:28:28 | 218,049,685 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 701 | cpp | #include<bits/stdc++.h>
using namespace std;
#define maxn 100010
#define ll long long
int n,type[maxn];
double k,c,w,a[maxn],dp[maxn];
int main(){
freopen("coal.in","r",stdin);
freopen("coal.out","w",stdout);
cin>>n>>k>>c>>w;
memset(dp,0,sizeof(dp));
k/=100;c/=100;
for(int i=1;i<=n;++i){
cin>>typ... | [
"15276671309@163.com"
] | 15276671309@163.com |
2c2ad35f3f60e6a2e90b35f33a890a7384a8d055 | 641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2 | /chrome/browser/android/chrome_backup_agent.h | 790f297a609b6723041ae574e0713d0af8f8a0c4 | [
"BSD-3-Clause"
] | permissive | massnetwork/mass-browser | 7de0dfc541cbac00ffa7308541394bac1e945b76 | 67526da9358734698c067b7775be491423884339 | refs/heads/master | 2022-12-07T09:01:31.027715 | 2017-01-19T14:29:18 | 2017-01-19T14:29:18 | 73,799,690 | 4 | 4 | BSD-3-Clause | 2022-11-26T11:53:23 | 2016-11-15T09:49:29 | null | UTF-8 | C++ | false | false | 1,225 | 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 CHROME_BROWSER_ANDROID_CHROME_BACKUP_AGENT_H_
#define CHROME_BROWSER_ANDROID_CHROME_BACKUP_AGENT_H_
#include <jni.h>
#include <string>
#include ... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
0f8cfc7c6a16fddef7b33a6dce59e4b54647cb6a | 23e3914567f5296107617f8c6b0129aa62326605 | /APIFramework/APIFramework/Include/Object/Stage.h | 7085e38f2645701934736ac9b883cebcc4bc4453 | [] | no_license | reverince/BCSD | 4e000edfb7680f6bb34f7512c27c9df2ae62468a | bf6d79481804504c4f780398f910e0e5cd5faf27 | refs/heads/master | 2020-04-24T15:29:51.420134 | 2019-09-19T13:42:39 | 2019-09-19T13:42:39 | 172,070,039 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 438 | h | #pragma once
#include "StaticObject.h"
class Stage : public StaticObject
{
friend class Scene;
friend class Object;
Stage();
Stage(const Stage & stage);
~Stage();
public:
virtual Stage * Clone();
virtual bool Init();
virtual void Input(float deltaTime);
virtual int Update(float deltaTime);
virtual int Late... | [
"reverince@gmail.com"
] | reverince@gmail.com |
9824132ea63f401f8f094024a7ecf66733162877 | 84809f9778f2a9067b47d3009b7bd0819a114d49 | /android/pytorch_android/src/main/cpp/pytorch_jni.cpp | d9d180204848a3736748810bac03a8fecacda17f | [
"BSD-2-Clause",
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"Apache-2.0"
] | permissive | funsilver76/pytorch | 3f3e8df3297a5e5a49c8c0cb1ffe015c97216e9a | d88edcc6cf554edd4abcf5041b57e36f18637bf9 | refs/heads/master | 2022-06-24T00:17:53.708231 | 2019-08-08T21:00:40 | 2019-08-08T21:28:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,050 | cpp | #include <pytorch_jni.h>
#include <cassert>
#include <iostream>
#include <memory>
#include <string.h>
#include <android/log.h>
#include <torch/script.h>
#define TAG "Pytorch_JNI"
#define __FILENAME__ \
(strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 :... | [
"ivankobzarev@fb.com"
] | ivankobzarev@fb.com |
0d5b4db854fc5caa37297e091b218b4fc9e8099e | de9dd76bd4c7d6b0c29ea871794628cb3967e90b | /due/Oscilloscope/Graphs/GraphRadar.cpp | 937e3bb482846acf1dfe6abb4aba1c44bfe10c3c | [
"MIT"
] | permissive | VictorTagayun/Arduino | c6bcaeb5fb6426b54fb4b69e2350bfe37c090169 | c66de663ae4ea9424d8281f2e23e03c30f50cacb | refs/heads/master | 2022-11-05T21:30:18.908354 | 2020-06-02T12:21:47 | 2020-06-02T12:21:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 284 | cpp | //
//
//
#include "GraphRadar.h"
#include "OsciCanvas.h"
void GraphRadar::init()
{
Canvas.init(-10, -10, 10, 10);
}
void GraphRadar::draw()
{
for (float t = 0; t < PI*2; t+= 0.01)
{
float x = 10 * cos(t);
float y = 10 * sin(t);
Canvas.line(0,0, x, y);
delay(5);
}
}
| [
"cazacov@gmail.com"
] | cazacov@gmail.com |
daa9876e34b9d9c2a34f0e4c910dcbffc2cd8db2 | 7985054c887810f37345f6508f1a7d4fdc65b81b | /Development/Shared/Threading/sync.h | fd2997ca24df2fc8a1f0696df8d3c18d3e9a00e6 | [] | no_license | ghostuser846/venicelight | 95e625a8e9cb8dd3d357318c931ee9247420c28d | cdc5dfac8fbaa82d3d5eeb7d21a64c3e206b7ee2 | refs/heads/master | 2021-01-01T06:44:51.163612 | 2009-06-01T02:09:27 | 2009-06-01T02:09:27 | 37,787,439 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,521 | h | /*
* Copyright (C) 2005-2008 SREmu <http://www.sremu.org/>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | [
"dayanfernandez@c3741f72-2d1a-11de-9401-6341fb89ae7c"
] | dayanfernandez@c3741f72-2d1a-11de-9401-6341fb89ae7c |
f8cdf07b4c508309db09433e21bd7a6995348e6c | a0370090e044e2817842b90a9559be41282072c5 | /DevExpress VCL/ExpressSkins Library/Packages/dxSkinOffice2010BlackC15.cpp | 26d8ec12fadc124f810a19f888acc0f19a9c0298 | [] | no_license | bravesoftdz/MyVCL-7 | 600a1c1be2ea71b198859b39b6da53c6b65601b3 | 197c1e284f9ac0791c15376bcf12c243400e7bcd | refs/heads/master | 2022-01-11T17:18:00.430191 | 2018-12-20T08:23:02 | 2018-12-20T08:23:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 813 | cpp | //---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
USERES("dxSkinOffice2010Black.res");
USEPACKAGE("rtl.bpi");
USEPACKAGE("dxCoreC15.bpi");
USEPACKAGE("vcl.bpi");
USEPACKAGE("dxGDIPlusC15.bpi");
USEPACKAGE("cxLibraryC15.bpi");
USEPACKAGE("dxSkinsCoreC15.bpi");... | [
"karaim@mail.ru"
] | karaim@mail.ru |
55e2ec0bca0a989949ec8286a7433bfb8ad2520e | deaf796d44d4619f21a29b90ef6f8937f6328528 | /section1.4/ariprog.cpp | c4323db60ef6e9dfa96ff9c0272c448d8bd59f49 | [] | no_license | lyyyuna/usaco_y | 5c1895480969d55282f84d2280fa4dbee27171cb | 5a5f1fe326c26f3f78ba42bae1558a1e2b5409d9 | refs/heads/master | 2021-01-18T12:17:28.177512 | 2014-02-08T01:22:26 | 2014-02-08T01:22:26 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,379 | cpp | /*
ID: lyyyuna
PROG: ariprog
LANG: C++
*/
#include <fstream>
using namespace::std;
const int N = 250*250*2+1;
int main(void)
{
ifstream ifile("ariprog.in");
ofstream ofile("ariprog.out");
int n, m;
ifile >> n >> m;
int max;
max = 2*m*m;
// 把所有的双平方数标记出来
// 这个数组的总数应该是 250*250*2
... | [
"lyyyuna@gmail.com"
] | lyyyuna@gmail.com |
e75d531b3b0098a4dc81ceff9a8afa88c4ee8116 | 39539987d11d1031f1c6ca56f85235a8355d8750 | /usr/bin/qtopia/demos/sub-attaq/textinformationitem.h | 75f4bdf3b791215ec385b3d57d58f70448a750ad | [] | no_license | sensarliar/zfcs_filesystem | dfe36b46c91eaa027940ec22f556dea6dabb08cf | fea119e8a5027cbef664414b7e44138a3bde7ce5 | refs/heads/master | 2021-01-25T10:29:28.515351 | 2014-08-29T13:27:46 | 2014-08-29T13:27:46 | 22,943,366 | 1 | 2 | null | 2018-02-23T15:05:27 | 2014-08-14T06:19:08 | C++ | UTF-8 | C++ | false | false | 1,981 | h | /****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** GNU Lesser General Public License ... | [
"sensarliar@gmail.com"
] | sensarliar@gmail.com |
c0bdcd242a684cf33d16e101669897278a27a825 | 422a0e7a01814d9b6843e08d1e3deb7f4ae24b23 | /MarketSimulation/marketindexwidget.cpp | 56227d87aa64a19500339c69a110e8b7dd7031e6 | [] | no_license | logworthy/marketsim | 876d4d15690f1447f5982a2a2309831d940f1dd8 | cbb84d5758e03ace21a58cde777db75ad6ada09e | refs/heads/master | 2020-04-05T23:46:49.624159 | 2013-09-03T11:01:30 | 2013-09-03T11:01:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,100 | cpp | #include "marketindexwidget.h"
#include "ui_marketindexwidget.h"
#include <QString>
MarketIndexWidget::MarketIndexWidget(QWidget *parent) :
QWidget(parent),
ui(new Ui::MarketIndexWidget)
{
ui->setupUi(this);
IndexChanged(100.0, 0.0);
}
MarketIndexWidget::~MarketIndexWidget()
{
delete... | [
"github-ben@axnick.com.au"
] | github-ben@axnick.com.au |
4aad6e8b5ed41e544422c50b12b2a3d9c53ff3cf | 9eee6f3d70570ecfdf470126aa9023a222f3877f | /lib-properties/include/propertiesbuilder.h | 29cb152b20a723327999682479dcf822e1900019 | [
"MIT"
] | permissive | rbarreiros/rpidmx512 | 2316b6c23b7db17d7ed35ddf622966267b623278 | 6e7eef3eaba35cc2eb7cdeb5bef906faea9366fd | refs/heads/master | 2023-05-07T06:52:36.652355 | 2021-04-26T16:50:29 | 2021-04-26T16:50:29 | 283,355,533 | 1 | 0 | null | 2020-07-29T00:10:21 | 2020-07-29T00:10:20 | null | UTF-8 | C++ | false | false | 4,113 | h | /**
* @file propertiesbuilder.h
*
*/
/* Copyright (C) 2019-2021 by Arjan van Vught mailto:info@orangepi-dmx.nl
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, in... | [
"Arjan.van.Vught@gmail.com"
] | Arjan.van.Vught@gmail.com |
ff8846e39ba108e4a481bab98fb059846f8c4deb | 18476e38d4f7b5183b02a489103188fc81ba27a3 | /readNas/readNas/MTriangle.h | e27b0abd1003c82516a59f69e0656bfa794817a6 | [] | no_license | chapman2014/ioNas | e1a0870aa66331f3bb14f335c05e229b29b26bb9 | 9fb0ee33c17debe6c7e863fdc2c1d456698ffa94 | refs/heads/master | 2020-12-14T13:25:00.912105 | 2015-08-29T03:54:17 | 2015-08-29T03:54:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 436 | h | #include "StdAfx.h"
#include "MVertex.h"
#include <stdio.h>
#include <iostream>
#include <vector>
using namespace std;
class MVertex;
class MTriangle
{
public:
int _num;
MVertex *_v0;
MVertex *_v1;
MVertex *_v2;
/*MTriangle(MVertex *v0, MVertex *v1, MVertex *v2)
{
_v0=v0;
_v1=v1;
_v2=v2;
}*/
MTrian... | [
"pointfly@163.com"
] | pointfly@163.com |
f8e3358b499ce2e1293eb4b1672aea4faf125911 | 10746961522a64d43c54acffad7df6c262631d56 | /components/wifi/wifi_service.cc | 2218ba0b0aeca9457d1dafd66fb621cfad580b6f | [
"BSD-3-Clause"
] | permissive | Nalic/chromium | bd004f13ce33e434b16509f5d1e3dcc3672ac188 | b2d69c8c268a9bf645d7ebda4ebab888c0e9d477 | refs/heads/master | 2021-01-18T02:38:04.715691 | 2013-12-06T07:56:24 | 2013-12-06T07:56:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,259 | cc | // Copyright 2013 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/wifi/wifi_service.h"
#include "base/json/json_reader.h"
#include "base/message_loop/message_loop.h"
#include "base/strings/stringpri... | [
"mef@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98"
] | mef@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98 |
ebcc9050eedbfd8f9abab06698f2624410f10cca | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14704/function14704_schedule_25/function14704_schedule_25.cpp | 2022f226b3f522694075cd276734254dc213dc2e | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 921 | cpp | #include <tiramisu/tiramisu.h>
using namespace tiramisu;
int main(int argc, char **argv){
tiramisu::init("function14704_schedule_25");
constant c0("c0", 64), c1("c1", 64), c2("c2", 64), c3("c3", 64);
var i0("i0", 0, c0), i1("i1", 0, c1), i2("i2", 0, c2), i3("i3", 0, c3), i01("i01"), i02("i02"), i03("i03... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
a8d9c41ff5f3a232492abd267c9e69f087aa4d8c | 53895a22c17633b2fcdf11e14a2509a30c72de4c | /DestructibleTerrain/DestructibleTerrain/Bazooka.h | 58fd37321ba47f14bb6d581b8bcb69c6e8923089 | [
"MIT"
] | permissive | tEFFx/DestructibleTerrain | 63681d04ba4b296a84a1e4d13d4897eeded33bec | 4a6ff3f83a324fa0f549a06a4646d79056aee299 | refs/heads/master | 2021-01-16T01:02:06.650915 | 2014-05-30T14:01:15 | 2014-05-30T14:01:15 | 17,801,256 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 180 | h | #pragma once
#include "weapon.h"
class Bazooka :
public Weapon
{
public:
static Entity* newBazooka(sf::Vector2f pos);
private:
Bazooka(sf::Vector2f pos);
~Bazooka(void);
};
| [
"erikkoii@gmail.com"
] | erikkoii@gmail.com |
3812ddc0a31a513d9fd2c1f7b6ed34a29afae3d2 | 917ddb1b4381ad59bb4c2899c2d17db2154be91f | /clientmock/client_mock_infohash.cpp | 55374539dfe39e8c5569e13cb1aa96362f0d4c2d | [] | no_license | phantom9999/torrent_suit | 490745f61f427ed15b29bdbdff15381feece0a17 | d2866c23e9fce9b99947d1d5a27676345bf00794 | refs/heads/master | 2021-06-26T10:22:17.938983 | 2020-10-08T11:22:52 | 2020-10-08T11:22:52 | 143,314,865 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,326 | cpp | #include <sys/socket.h>
#include <netinet/in.h>
#include <thrift/transport/TSocket.h>
#include <thrift/transport/TBufferTransports.h>
#include <thrift/protocol/TBinaryProtocol.h>
#include <boost/thread.hpp>
#include <boost/bind.hpp>
#include "tracker-protocol/Announce.h"
#include "common/encode.h"
using std::string;
u... | [
"1057369361@qq.com"
] | 1057369361@qq.com |
e93e94ffe4f6f03a40f3d0083ecb508a966a9396 | 57e57ca90536f740de7cb72452e730872d0c8dd9 | /flashgg_scripts/THQLeptonicTagProducer.cc | a6b07f42d7ccba792e20943460bca1e6f49c3dee | [] | no_license | ashishadscft/tHqCMSAnalysis | 497bfac382edb9397c795fae967ca4b584abba82 | 809930411faff5b65a9a7901d39e983fb55ba6db | refs/heads/master | 2022-04-06T19:42:01.578102 | 2020-03-03T23:06:11 | 2020-03-03T23:06:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 84,341 | cc | #include "FWCore/Framework/interface/EDProducer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/Utilities/interface/InputTag.h"
#include "DataFormats/Common/interface/Handle.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Parameter... | [
"jose.benitez@cern.ch"
] | jose.benitez@cern.ch |
067144f91bd466430d370184bb6267965973c590 | 124903acc416f5ea1d4451b2a9feef69d22cd8d8 | /HomeWork.16.02.21/ex.1.cpp | b48b9ed9ab2f0b535e6e0386b63adf7f4483feb5 | [] | no_license | sanyonk/Algorithms-and-data-structures | c8507dcc8632c34692163ebd52a6d995b4266ec0 | e5b40ad04e5c5377b88d6247a996416897490d3e | refs/heads/main | 2023-07-04T23:41:28.331091 | 2021-09-03T21:23:55 | 2021-09-03T21:23:55 | 340,674,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 473 | cpp | #include <iostream>
#include <ctime>
using namespace std;
int f_1(int* arr, int size, int* summ)
{
for (int i = 0; i < size; i++)
{
*summ += *(arr + i);
}
return *summ;
}
int main()
{
srand(time(NULL));
const int size = 5;
int arr[size];
int summ = 0;
int* summ_1 = &summ;
... | [
"sasha.kapr@gmaol.com"
] | sasha.kapr@gmaol.com |
3fc0868b4d4282bb6a2cfc221ad43cc1cda0d7b5 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /components/history/core/browser/history_match.cc | 6e252b9c4d25d60286516689dcf9c23b3e6ac1a4 | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 1,114 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/history/core/browser/history_match.h"
#include "base/logging.h"
namespace history {
HistoryMatch::HistoryMatch()
: url_info(),... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
d698340bb394f82178bdd7cb42fb21461d13b68c | 102375c73e7e2587cd08b2e595c0d5dab2066e7a | /UnitTest1/chap2unittest.cpp | 51dde391d521e473911fff5541e20572c6fb3f64 | [] | no_license | RodChen/CrackCodeInterview | 504e9c06c1302d01850282797db561932bea2e0e | d284a1f0986dca5b9c8127186c336cb918381b87 | refs/heads/master | 2021-01-10T16:14:12.701109 | 2016-03-16T06:44:50 | 2016-03-16T06:44:50 | 52,148,689 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,046 | cpp | #include "stdafx.h"
#include "CppUnitTest.h"
#include "..\CrackCodeInterviewDll\CrackCodeInterviewDll.h"
#include "..\CrackCodeInterviewDll\LinkedList.h"
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
namespace Chap2UnitTest
{
TEST_CLASS(Chap2)
{
public:
LinkedList emptyList, list1, list2, list3,... | [
"ozaki90@gmail.com"
] | ozaki90@gmail.com |
4ca4f4b216dd8a6a6c217c78203038a9c304209a | 0ab01bbedb1dc7f2554e59cd5451c8e806e994b8 | /dev/3rdParty/expat/expat_external.h | 0e57d57d0cf8a226330a1aa67229eee934515aae | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | jafetmorales/iremote | 98ff2c287c00afc827ad99e0e7a9861795c33361 | d6c8a858757f93bbccd9969c2f75a2a4901a95dd | refs/heads/master | 2020-05-19T03:58:56.594993 | 2019-05-06T19:14:16 | 2019-05-06T19:14:16 | 184,813,981 | 0 | 0 | null | 2019-05-03T20:04:32 | 2019-05-03T20:04:32 | null | UTF-8 | C++ | false | false | 3,367 | h | /* Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
See the file COPYING for copying permission.
*/
#ifndef Expat_External_INCLUDED
#define Expat_External_INCLUDED 1
/* External API definitions */
#if defined(_MSC_EXTENSIONS) && !defined(__BEOS__) && !defined(__CYGWIN__)
// #define XML_USE_MSC_... | [
"egor.pushkin@gmail.com"
] | egor.pushkin@gmail.com |
5d5c67c216ca431d03660cc341fed360499d0a55 | f944116a3b877d968a701d53c745c07877279977 | /VS2005/ArABB.OPC.DA.NET.Server/OPC.DA.Server.Wrapped/ArABB.OPC.DA.Common/OpcXmlType.cpp | 7fd1361f4b455655a866ba6aa97fba38d1f3eba3 | [] | no_license | simple555a/niko78csharp | c5d9b421fbbb2a288318a3b1d66e39e01ca86977 | 0ae5714664cbd957ba82d27d5568569b9fc26655 | refs/heads/master | 2021-05-29T07:08:41.989881 | 2012-06-12T15:35:54 | 2012-06-12T15:35:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,097 | cpp | //==============================================================================
// TITLE: OpcXmlType.cpp
//
// CONTENTS:
//
// Declarations for common XML constants, types and free functions.
//
// (c) Copyright 2002-2003 The OPC Foundation
// ALL RIGHTS RESERVED.
//
// DISCLAIMER:
// This code is provide... | [
"niko78@ab31eaa2-35d0-11de-8e0c-53a27eea117e"
] | niko78@ab31eaa2-35d0-11de-8e0c-53a27eea117e |
e8ff06ed3f1335dfea3a4317a073eeeadde2ff58 | 191c8a31295021505a01242a461efa78c8e5d712 | /chipyard.TestHarness.RocketConfig/chipyard.TestHarness.RocketConfig/VTestHarness__2__Slow.cpp | 9ad80443a58eab1349998245c0330d0c23a87018 | [
"BSD-3-Clause"
] | permissive | vargandhi/ime-congs | 4f485c6551ba725e2a11d57888341be65f841c01 | 963be79b7b319d8e74edae09df7bdf3330371401 | refs/heads/main | 2023-03-21T13:10:21.477493 | 2021-03-13T22:04:02 | 2021-03-13T22:04:02 | 334,827,027 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 386,791 | cpp | // Verilated -*- C++ -*-
// DESCRIPTION: Verilator output: Design implementation internals
// See VTestHarness.h for the primary calling header
#include "VTestHarness.h"
#include "VTestHarness__Syms.h"
#include "verilated_dpi.h"
void VTestHarness::_settle__TOP__117(VTestHarness__Syms* __restrict vlSymsp) {
VL_DE... | [
"centos@ip-192-168-0-190.ec2.internal"
] | centos@ip-192-168-0-190.ec2.internal |
8cfe9f7a6129450125146a3cacb069a178f1891b | f774cfee5cab777a6d30b6cca2caedb9de224c2c | /Homework2Q5/Homework2Q5/Homework2Q5/Set.cpp | 80321332b05cfb4751269308423fd3967a17a956 | [] | no_license | charliet2020/CS32HW2 | 7cc2a3144d27f7c999d1d2c12c756c72503bb9df | c64cd752ff60b4fd237afc255af9d8221d25fcff | refs/heads/master | 2022-11-20T00:44:17.045259 | 2020-07-20T20:34:48 | 2020-07-20T20:34:48 | 281,215,212 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,401 | cpp | // Set.cpp
#include "Set.h"
#include <cassert>
#include <iostream>
using namespace std;
Set::Set()
{
createEmpty();
}
bool Set::insert(const ItemType& value)
{
// Fail if value already present
Node* p = findFirstAtLeast(value);
if (p != m_head && p->m_value == value)
return false;
// Insert new Node prese... | [
"charlie2020@g.ucla.edu"
] | charlie2020@g.ucla.edu |
44d58647b652f517a6553a5b412e5a82459faac7 | dac93b4dbc3f8b6d50e31659a4bc7ce8faec7a84 | /SFMLBase/Collision.hpp | cb812d62b0e2277b1cbc8097c4ea417f5817e7c6 | [] | no_license | miguelfmlopes91/SFML-Flappy-bird | 186a9031a557cb608a3b0801d0c64a3c38c51685 | 0cc3211e8673268602d8e0bd7b00f53741430c02 | refs/heads/master | 2020-03-25T16:26:12.307090 | 2018-08-27T21:24:45 | 2018-08-27T21:24:45 | 143,930,519 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 295 | hpp | #pragma once
#include <SFML/Graphics.hpp>
namespace Bardo
{
class Collision
{
public:
Collision();
~Collision();
bool CheckSpriteCollision(sf::Sprite sprite1, sf::Sprite sprite2);
bool CheckSpriteCollision(sf::Sprite sprite1, float scale1, sf::Sprite sprite2, float scale2);
};
} | [
"miguelpvz@hotmail.com"
] | miguelpvz@hotmail.com |
91515ba580d474e880a7f580a501756441969b34 | 5544ab772b5220e1f5b9a1145eec1d001ba9a39f | /openssl_client/Maps.h | e2b8e471a524ad99402779b2137055d049ebd745 | [] | no_license | kapes316/tlsprofiler | a8d1ab7a37449cbc738f9c76c4ab64b9ff747d30 | 2cd2e0b533b6a9f5251761aec4be828b6d8c3918 | refs/heads/master | 2020-04-24T21:42:34.608029 | 2019-02-24T03:07:39 | 2019-02-24T03:07:39 | 172,287,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,849 | h | #ifndef _MAPS_H_
#define _MAPS_H_
/* Cipher suites */
static const std::map<uint32_t,std::string> ssl_ciphers_tbl =
{
{0x0000, "TLS_NULL_WITH_NULL_NULL"},
{0x0001, "TLS_RSA_WITH_NULL_MD5"},
{0x0002, "TLS_RSA_WITH_NULL_SHA"},
{0x0003, "TLS_RSA_EXPORT_WITH_RC4_40_MD5"},
{0x0004, "TLS_RSA_WITH_RC4_12... | [
"kpidugu@cisco.com"
] | kpidugu@cisco.com |
3f61bc7aa26a9f45dccd228ca904e449c9e53151 | a47a4401527abaffdc67afd8f774cdffc30a47cd | /RecommenderStandalone/DataModel.h | d3c8ecc0176e0ceb9c28882a8aad66fd4fe9c4bd | [] | no_license | Exlsunshine/RecommenderStandalone | 556b148909b6e171b76465dd103b5faefeee8386 | 37032ee31ad7f3371c89bb1fed82e1811bd97969 | refs/heads/master | 2021-01-13T01:44:40.309736 | 2015-02-28T07:11:59 | 2015-02-28T07:11:59 | 31,312,346 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,505 | h | #ifndef DATAMODEL_H
#define DATAMODEL_H
#include <vector>
#include "PreferenceArray.h"
namespace RS
{
/**
Implementations represent a repository of information about users and their associated {@link Preference}s
for items.
*/
class DataModel
{
private:
float maxPreference;
float minPreference;
public:... | [
"sunshine46582747@sina.com"
] | sunshine46582747@sina.com |
4985692ddaf7106f3a555af1d7f3ed29acb28d13 | 17a7b5893b986a9332bc6fa4188ce7bc553aa361 | /include/example/example.h | e8847b50a59b591b0258b2dd5cf145512422fc0b | [
"MIT"
] | permissive | rivergold/CMake-Demo | 3bd31629cebafae4d7228ce6ca9fe2fee19853c4 | 2acd20a682d45790da465f88d0e4a8bc7d376594 | refs/heads/master | 2022-11-25T10:07:09.292407 | 2020-08-04T13:03:04 | 2020-08-04T13:03:04 | 283,968,537 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 109 | h | #include <torch/script.h>
class Example {
public:
void run();
private:
torch::jit::Module model_;
};
| [
"hejing01@qiyi.com"
] | hejing01@qiyi.com |
b5e44bbef91314eead5d5792fbcaa35bd6a4ec38 | f406d9f94de326a287a0c1c2108c911a03345170 | /include/common/algine/core/InputLayout.h | 8c5d8a701e497ca1eb8b7ff84c90d4cb2f41af31 | [
"MIT"
] | permissive | congard/algine | 0b50aee47cf7f3b3074b8fa68a17d75111ec5018 | 2e69b6b21c282ddb8c6aa75e2d1273f8c2eabddf | refs/heads/master | 2023-08-29T07:26:03.362871 | 2023-08-27T22:30:00 | 2023-08-27T22:30:00 | 182,413,604 | 17 | 4 | MIT | 2020-05-13T09:37:54 | 2019-04-20T14:07:52 | C++ | UTF-8 | C++ | false | false | 704 | h | #ifndef ALGINE_INPUTLAYOUT_H
#define ALGINE_INPUTLAYOUT_H
#include <algine/core/buffers/ArrayBuffer.h>
#include <algine/core/buffers/IndexBuffer.h>
#include <algine/core/InputAttributeDescription.h>
#include <algine/core/context/ContextObject.h>
namespace algine {
AL_CONTEXT_OBJECT(InputLayout) {
AL_CONTEXT_OBJEC... | [
"dbcongard@gmail.com"
] | dbcongard@gmail.com |
eab1c75e1c5fecfeff4f36051007970abc1c43c7 | cc334e8369c0bee75db9873fe472fc930dec3e2f | /communication_node/src/send_robot_state.cpp | 2cd650198e12326923af9ec6c09bc6de81c562f4 | [] | no_license | JDR-neu/lab_car | 94f1fb58f829578c1a2e1030dc2872feb9ccb5a6 | 5793d3cce481f5ea801572ce7d97d6d65261764b | refs/heads/master | 2022-12-20T09:19:10.268646 | 2020-10-07T07:33:38 | 2020-10-07T07:33:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 937 | cpp | #include "zmq_test.h"
#include "iostream"
#include <vector>
#include "ros/ros.h"
#include "std_msgs/String.h"
#include "jsoncpp/json/json.h"
std::string state{"stand by"};
void DecisionSub(const std_msgs::StringConstPtr &msg){
state = msg->data;
}
int main(int argc,char **argv)
{
ros::init(argc,argv,"send_r... | [
"banchao22@126.com"
] | banchao22@126.com |
912cc69dccfd232952256e2c793b072f0fecd067 | 5999c514e121e79d2291846da97cb586db93cf62 | /include/cgeom/utility.h | 7da4e0dc6e3e9b89c26d583808be5c5523a13d92 | [] | no_license | euyuil/algorithm-libraries | c96374faa0481b8bb29b6ac4d068f2f37deb680f | e8ee4658158597460a45a8233e6c3035d4544c1d | refs/heads/master | 2016-09-06T12:30:18.783819 | 2013-04-07T13:07:44 | 2013-04-07T13:07:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,091 | h | #ifndef _CGEOM_UTILITY_H_
#define _CGEOM_UTILITY_H_
/**
* @brief Returns the cross product of two vectors.
* @param a One vector.
* @param b The other vector.
* @return The cross product of a and b.
* @date 2011-08-09
*/
inline double cross(const point &a, const point &b) {
return a.x * b.y - b.x *... | [
"euyuil@gmail.com"
] | euyuil@gmail.com |
fe1f51423f58c62e42595d2f04938d570bd8c90a | c49a7992e5e2e94f073690e1188e40fe271e395a | /uploads/Integer.cpp | 5e2bb735f8ade34aadb3f146b088aedb9a773d14 | [] | no_license | ipkCoder/sandbox | 735e2c93864fe1e19141fd4b5b301951df80b1d3 | 007e1f2a8533d6369dbc5219aae1dc158c15baac | refs/heads/master | 2020-05-17T17:59:54.235000 | 2014-05-31T19:24:51 | 2014-05-31T19:24:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,215 | cpp |
#include <iostream>
#include <string>
#include <cstdlib>
#include <cctype> // isdigit
using namespace std;
bool is_number(const string &sNumber)
{
int i;
for (i = 0; i < sNumber.length(); i++) {
if (!isdigit(sNumber[i])) {
return false;
}
}
return true;
}
class Integer
{
friend ostream& oper... | [
"iankane@example.com"
] | iankane@example.com |
997b7ac934b4259dcc13f5d7cb7fde049c9bf078 | 0f2ae9e7a6d542e2cc8b7b2b97ff97e467c7ce22 | /Helló, Mandelbrot!/Forward engineering UML osztálydiagram/c++/LZWBinFa.h | dea0ce7dec287443e2d025b855d18a1d0057e36b | [] | no_license | grestemayster/prog2 | 7d242ca2ae5fe5baf61215f27bac1468e164ca82 | 27099c3b927ac8e7ab1a6db1cf3fa396a8e5bbfd | refs/heads/master | 2023-01-24T16:51:29.017686 | 2020-12-06T16:52:01 | 2020-12-06T16:52:01 | 297,918,817 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 464 | h | #ifndef LZWBINFA_H
#define LZWBINFA_H
class LZWBinFa {
protected:
Csomopont _gyoker;
private:
int _melyseg;
int _atlagosszeg;
int _atlagdb;
double _szorasosszeg;
protected:
int _maxMelyseg;
double _atlag;
double _szoras;
public:
void _LZWBinFa();
void getMelyseg();
void getAtlag();
void getSzoras();
... | [
"71188237+grestemayster@users.noreply.github.com"
] | 71188237+grestemayster@users.noreply.github.com |
728d8bb90cedeb75930d22150a277ac0c06bd217 | 302f4bda84739593ab952f01c9e38d512b0a7d73 | /ext/Celero-2.0.7/experiments/ExperimentCompressBools/ExperimentCompressBools.cpp | 1af2297faccd11d4498234d8e9e9eca284411b01 | [
"Apache-2.0",
"ICU",
"BSD-3-Clause",
"BSL-1.0",
"X11",
"Beerware"
] | permissive | thomaskrause/graphANNIS | 649ae23dd74b57bcd8a699c1e309e74096be9db2 | 66d12bcfb0e0b9bfcdc2df8ffaa5ae8c84cc569c | refs/heads/develop | 2020-04-11T01:28:47.589724 | 2018-03-15T18:16:50 | 2018-03-15T18:16:50 | 40,169,698 | 9 | 3 | Apache-2.0 | 2018-07-28T20:18:41 | 2015-08-04T07:24:49 | C++ | UTF-8 | C++ | false | false | 13,801 | cpp | // Original code at: https://github.com/fenbf/benchmarkLibsTest
#pragma warning(push)
#pragma warning(disable : 4251) // warning C4251: celero::Result::pimpl': class 'celero::Pimpl<celero::Result::Impl>' needs to have dll-interface to
// be used by clients of class 'celero::Result'
#include <celero\Celero.h>
#... | [
"thomaskrause@posteo.de"
] | thomaskrause@posteo.de |
4f214d30bf68b990cad0585ebb11dce13174c57a | 32c6645f0110c5a650c7212d1f6050330d165a26 | /os/android/iahwc2.h | bd8c971c3717ff953194b1b446a58db692fc8557 | [] | no_license | XiaosongWei/IA-Hardware-Composer | de6c9f7fd2c6101f55ef41c462345a066764f3c8 | 8b5ec048013b78b45294d3ea336154b637a939ce | refs/heads/master | 2021-09-03T21:49:27.654679 | 2017-09-12T12:23:04 | 2017-09-12T12:33:13 | 103,377,960 | 0 | 0 | null | 2017-09-13T09:04:50 | 2017-09-13T09:04:50 | null | UTF-8 | C++ | false | false | 10,601 | h | /*
* Copyright (C) 2016 The Android Open Source Project
*
* 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... | [
"kalyan.kondapally@intel.com"
] | kalyan.kondapally@intel.com |
41924ea29aae6c73682c9c4ed9cd09e555cc12c2 | 58cc7a560ad992154edc61d1f290d0eaafe0c262 | /AODVsecond/AODVsecond.ino/tableRouting.ino | dc51687dfc84b27596d69c71c75a9b2a8136826f | [] | no_license | wahyuLittleSamurai/AODV-Arduino-With-NRF | 059ee9779179a991c925acb26d037bb3ab40ff9e | d3294ad099f00f560b279870b4cc91c07e91adbe | refs/heads/master | 2020-03-31T07:40:45.864642 | 2018-10-08T08:24:17 | 2018-10-08T08:24:17 | 152,030,592 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,318 | ino | void tableRouting()
{
int idNode = valSplitNode[banyakNodeYgDiLalui].toInt(); //dari id node X
int panjangString = valSplit[4].length(); //panjang Route Sekarang
int panjangRouteBefore = hasilRouting[idNode][0].length();//panjang Route Sebelumnya
if(panjangString < panjangRouteBefore || panjan... | [
"jamilwahyu53@gmail.com"
] | jamilwahyu53@gmail.com |
6f6bffba2664de554d9ea7f7c8d5b5c2363029ac | fb95534e8519acb3670ee9743ddb15bf09232e70 | /src/xtd.core/include/xtd/async_callback.h | 5729cdd7d59cfa8c551815139a73fc3c2698e462 | [
"MIT"
] | permissive | niansa/xtd | a5050e27fda1f092cea85db264820d6518994893 | 4d412ab046f51da2e5baf782f9f2f5bb23c49840 | refs/heads/master | 2023-09-01T01:13:25.592979 | 2021-10-28T14:30:05 | 2021-10-28T14:30:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 652 | h | /// @file
/// @brief Contains xtd::action delegate.
/// @copyright Copyright (c) 2021 Gammasoft. All rights reserved.
#pragma once
#include "delegate.h"
#include "iasync_result.h"
/// @brief The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
namespace xtd {
/// @b... | [
"gammasoft71@gmail.com"
] | gammasoft71@gmail.com |
228d8feed40a81a52b8451b2dfd9191348e7b796 | 2277375bd4a554d23da334dddd091a36138f5cae | /ThirdParty/Havok/Source/Physics2012/Collide/Shape/Convex/Capsule/hkpCapsuleShape.h | 0d0c93b37f303513f0e28df9b6f46ed2adb08dc9 | [] | no_license | kevinmore/Project-Nebula | 9a0553ccf8bdc1b4bb5e2588fc94516d9e3532bc | f6d284d4879ae1ea1bd30c5775ef8733cfafa71d | refs/heads/master | 2022-10-22T03:55:42.596618 | 2020-06-19T09:07:07 | 2020-06-19T09:07:07 | 25,372,691 | 6 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 4,876 | h | /*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Product and Trade Secret source code contains trade secrets ... | [
"dingfengyu@gmail.com"
] | dingfengyu@gmail.com |
bfdcf320b8b080bb69dc9c33a470d4e26914135d | 3236ab814706b0b21e8c70224eabc593ccb4e79d | /kody aplikacji/ri.h | 53d6273396f6044559ad5d8c5ad3762046c7b2ee | [] | no_license | krenciok12/repo-praca-magisterska | 88e94eafc28d0d9177a4539eab2d47d39cefb705 | eda553b1491f918334e4795c1adf6dd59d6cd0a9 | refs/heads/main | 2023-07-01T00:32:25.536547 | 2021-08-05T13:11:36 | 2021-08-05T13:11:36 | 393,044,408 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 632 | h | #ifndef RI_H
#define RI_H
#include <vector>
#include <iostream>
#include <map>
#include "graph.h"
#include <set>
#include <utility>
struct Rank{
Rank(int m, int i, int vis, int neig, int unv, int m_degree);
int m;
int i;
int vis;
int neig;
int unv;
int m_degree;
void clear();
int check(int sm, int... | [
"krenciok@gmail.com"
] | krenciok@gmail.com |
ef1c9eae8448c2645e7f532c7c1312a0390d2d8a | 4b02a9cb6d43492c8eaee1f79156a372e61ba2cc | /src/util.cpp | 6e9c3be3bad5b0efc7e1049689501b2885742917 | [
"MIT"
] | permissive | SamaritanProject/SamaritanCoin | 7073278e2602129424a1b625d239ddf9eb7535dd | 8abdf1784a8601593e56b3eb6c377731a2dac85e | refs/heads/master | 2021-05-07T08:53:27.420646 | 2017-11-10T17:14:54 | 2017-11-10T17:14:54 | 109,426,010 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,971 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "util.h"
#include "sync.h"
#include "strlcpy.h"
#include "version.h"
#inc... | [
"nsurleraux@gmail.com"
] | nsurleraux@gmail.com |
c4036201a1baa74f8dc180aeb91761b71ca900b5 | 5b926bf12340e03deced7495e818958b8866ada5 | /Users/Eric/IbeoSDK2.0.2/src/ibeosdk/datablocks/LogMessageBase.cpp | 159436d4573f38793e8285304541b115a3232e7f | [] | no_license | jpearkes/snowbots | 6514b19e24f246ee1d4291b18090135e2f4998e6 | 52bacd9f58524090e0ab421a47714629249ca273 | refs/heads/master | 2021-05-27T02:02:15.119679 | 2014-05-23T01:19:24 | 2014-05-23T01:19:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,045 | cpp | //======================================================================
/*! \file LogMessageBase.cpp
*
* \copydoc Copyright
* \author Jan Christian Dittmer (jcd)
* \date Sep 30, 2013
*///-------------------------------------------------------------------
#include <ibeosdk/datablocks/LogMessageBase.hpp>
#include ... | [
"bosung90@gmail.com"
] | bosung90@gmail.com |
161a9ae7e4b2ed1b028ae81b357c23477e6d045e | 8e9e8d1273438e38271b4b55e87be7b91a657c5f | /src/server/scripts/Spells/spell_warlock.cpp | ac07cf7e0662b791dde15550126d0b10713680db | [] | no_license | kmN666/Leroy | 43df8105252851e4e756cf36e02e0ffd674cce15 | 189c990d7227d0aa4ad21f20c319d49ccaeb262e | refs/heads/master | 2020-12-24T15:23:25.403594 | 2012-08-01T08:42:58 | 2012-08-01T08:42:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,153 | cpp | /*
* Copyright (C) 2012 DeadCore <https://bitbucket.org/jacobcore/deadcore>
*
* 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 lat... | [
"wowall@mail.com"
] | wowall@mail.com |
d78fb2511c839533a946687984a2572fbb0148fe | 00f930eacba4521fc249b00d96cb8a8b5db97764 | /day04/ex03/ICharacter.h | 8ec633b4ad5f1f501cb6b88f978ad8308d04c7a9 | [] | no_license | rmalkevy/Pool_CPP | c2c1e0734ac18b8b76b2d164616bab5fd64d96fb | f780ee32fa410a071cc747e8be144eb55a7200fd | refs/heads/master | 2020-12-02T19:22:25.165018 | 2017-07-12T16:34:22 | 2017-07-12T16:34:22 | 96,331,696 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 375 | h | //
// Created by Roman Malkevych on 7/12/17.
//
#ifndef ICHARACTER_H
#define ICHARACTER_H
#include <iostream>
#include "AMateria.h"
class ICharacter
{
public:
virtual ~ICharacter() {}
virtual std::string const & getName() const = 0;
virtual void equip(AMateria* m) = 0;
virtual void unequip(int idx) = 0;
virtual... | [
"rmalkevy@e1r4p5.unit.ua"
] | rmalkevy@e1r4p5.unit.ua |
2979d3c306103ad63b259d0741c4bccd0242cb59 | 53f3b9bfd50839a14118113749200ab769500817 | /Binary Tree/BST/dll_to_bst.cpp | 931658f8b3a4f27f23c558f976e58906d21bd263 | [] | no_license | ankitoscar/dsa-practice | cde0458ea1073b5843245b54dc13f0823315e1ae | 34ebd74a841ff210ef5b6b31a84e105a485bbcaf | refs/heads/main | 2023-08-11T03:58:54.988782 | 2021-10-16T14:53:00 | 2021-10-16T14:53:00 | 410,044,687 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,471 | cpp | #include<iostream>
using namespace std;
class DLL{
public:
int data;
DLL* left;
DLL* right;
DLL(int x){
data = x;
left = right = NULL;
}
};
int size(DLL* head, DLL* end){
if(head == NULL)
return 0;
DLL* temp = head;
int s = 0;
while(temp != end){
temp = temp->right;... | [
"ankitoscar911@gmail.com"
] | ankitoscar911@gmail.com |
cd47fd21486fb390153354a087b45d346ba3ca8a | 1e0f12cd4c682f5f50e34e827bbe2cded0c725d5 | /4922.cpp | 68080a92ea4e5c5e16adeec4e052d4b88522c537 | [] | no_license | kyun2024/ProgramSolve | 4f11d5ff67c799e867b6462c4da35edcca9a9d9d | ba2f8fdbe8342dd99de49cd00fd538075849dc53 | refs/heads/master | 2023-08-21T18:11:27.161772 | 2023-08-09T11:23:43 | 2023-08-09T11:23:43 | 209,213,217 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 293 | cpp | #include <iostream>
using namespace std;
int memo[1000];
int main(){
int n,i;
memo[0]=1;
for(i=1;i<1000;i++){
memo[i] = memo[i-1] + (i<<1);
}
while(1){
cin >> n;
if(!n)break;
cout << n << " => " << memo[n-1] << endl;
}
return 0;
} | [
"cune2024@gmail.com"
] | cune2024@gmail.com |
0d4aef6712d2011cfda4e0eb9e00c860b5253fda | b1fdeb29c93e4ef35bbb840fe192251855d3746c | /runtime/core/EASTL.cc | 7d75b71e70aad5f58f2a205c9ab3fe76a89b8914 | [] | no_license | WooZoo86/xEngine | b80e7fc2b64a30ed3d631fdd340c63a45f6e6566 | 0d9f7c262d04f53402d339bd815db0c50eaa9d24 | refs/heads/master | 2021-05-14T13:25:00.430222 | 2017-10-11T11:21:50 | 2017-10-11T11:21:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 674 | cc | #include <EASTL/allocator.h>
#include <cstdlib>
void *operator new[](size_t size,
const char * /*name*/,
int /*flags*/,
unsigned /*debugFlags*/,
const char * /*file*/,
int /*line*/) {
return malloc(size);
}
voi... | [
"xavierjiang@hotmail.com"
] | xavierjiang@hotmail.com |
3ab2bba580c8704cef077a8533eeaf8c98cdfef3 | 484ec4d1331b94fe9c19fd282009d6618e9a1eef | /Real-Time Corruptor/BizHawk_RTC/waterbox/ngp/mem.h | c467354d2c02bf00eb919126fbe3d3b144e1f939 | [
"GPL-1.0-or-later",
"MIT"
] | permissive | mguid65/RTC3 | a565303fdfd1807a2516be5752c7b30a8be3d909 | 4082eb302f8e6e20ba621ec70308dab94985fe7f | refs/heads/master | 2020-04-13T16:57:31.933643 | 2018-12-31T16:03:39 | 2018-12-31T16:03:39 | 161,684,492 | 0 | 0 | MIT | 2018-12-13T19:19:17 | 2018-12-13T19:19:17 | null | UTF-8 | C++ | false | false | 1,774 | h | //---------------------------------------------------------------------------
// NEOPOP : Emulator as in Dreamland
//
// Copyright (c) 2001-2002 by neopop_uk
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// Th... | [
"philtre@live.ca"
] | philtre@live.ca |
fa35a94b4363fd0d732dda51b7adce5b085bc3bc | 6226d6aed3629aa4069c46971ffe764bb6c743f6 | /MRenderPlugin/MWSSAO.cpp | 1d37faaa0d97cb6552fcaeec00bd0ba46680ce3d | [] | no_license | Myway3D/Myway3D | 83c30258f1e3eae90e619269406acd0ddeac7887 | 39cf569993f62fc648cbba49ebf74b3f8a64e46a | refs/heads/master | 2020-04-22T20:24:15.817427 | 2014-03-09T14:25:23 | 2014-03-09T14:25:23 | 170,640,096 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,100 | cpp | #include "MWSSAO.h"
#include "Engine.h"
#include "MWEnvironment.h"
namespace Myway {
SSAO::SSAO()
{
_init();
}
SSAO::~SSAO()
{
}
void SSAO::_init()
{
mRT_Ao = NULL;
mTex_Ao = NULL;
mRT_Quad = NULL;
mTex_Quad = NULL;
RenderScheme * scheme = Engine::Instance()->GetRenderSc... | [
"Myway3D@gmail.com@ff49bfeb-f889-bd78-9ae6-4dc862721fa0"
] | Myway3D@gmail.com@ff49bfeb-f889-bd78-9ae6-4dc862721fa0 |
4fd0193ba9f8d57c1da3f0eec6807814799eba04 | ff5b427352226fc308b8f10ebce3f563c51cf9bd | /Data Structures/Linked Lists/Delete a Node.cpp | 95bff6aee5f9d8488c4d21903e467b4586852be8 | [] | no_license | davidffa/HackerRank-Cpp | 622520cab05764abde301ce44e2a8730aa28e83c | 9bcbbcea8a66811d182915eedfb6965d7907ea01 | refs/heads/master | 2022-11-05T11:00:42.827861 | 2020-06-21T20:45:42 | 2020-06-21T20:45:42 | 272,500,629 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,434 | cpp | #include <bits/stdc++.h>
using namespace std;
class SinglyLinkedListNode {
public:
int data;
SinglyLinkedListNode *next;
SinglyLinkedListNode(int node_data) {
this->data = node_data;
this->next = nullptr;
}
};
class SinglyLinkedList {
public:
S... | [
"davidfilipeamorim@gmail.com"
] | davidfilipeamorim@gmail.com |
c1b0dc1f96a736b2dadc71a8e70d13896ce58cb4 | 9aee810d0d9d72d3dca7920447872216a3af49fe | /AtCoder/ABC/ABC301/abc301_e.cpp | 6f05af2e4dfbd595b9efdfd0a5820f0a6e1bbbb0 | [] | no_license | pulcherriman/Programming_Contest | 37d014a414d473607a11c2edcb25764040edd686 | 715308628fc19843b8231526ad95dbe0064597a8 | refs/heads/master | 2023-08-04T00:36:36.540090 | 2023-07-30T18:31:32 | 2023-07-30T18:31:32 | 163,375,122 | 3 | 0 | null | 2023-01-24T11:02:11 | 2018-12-28T06:33:16 | C++ | UTF-8 | C++ | false | false | 14,847 | cpp | #ifdef _DEBUG
// #define _GLIBCXX_DEBUG 1
#else
#pragma GCC optimize("Ofast")
#pragma GCC optimize("unroll-loops")
#pragma GCC optimize("inline")
#endif
/*
* Include Headers
*/
#if defined(EVAL) || defined(ONLINE_JUDGE) || defined(_DEBUG)
// #include <atcoder/all>
// using namespace atcoder;
#endif
#include<bits/st... | [
"tsukasawa_agu@yahoo.co.jp"
] | tsukasawa_agu@yahoo.co.jp |
ff6c3f051f1e2e04e95f92acad72edfad63e3df7 | fb95534e8519acb3670ee9743ddb15bf09232e70 | /examples/xtd.forms.examples/others/text_box_multiline/src/text_box_multiline.cpp | a7231c6114d91bf3275065566125661aa7bee2ab | [
"MIT"
] | permissive | niansa/xtd | a5050e27fda1f092cea85db264820d6518994893 | 4d412ab046f51da2e5baf782f9f2f5bb23c49840 | refs/heads/master | 2023-09-01T01:13:25.592979 | 2021-10-28T14:30:05 | 2021-10-28T14:30:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,496 | cpp | #include <xtd/xtd>
using namespace xtd::forms;
namespace examples {
class form1 : public form {
public:
form1() {
text("Text box multiline example");
client_size({480, 320});
controls().push_back(text_box);
text_box.dock(dock_style::fill);
text_box.multiline(true);
text_bo... | [
"gammasoft71@gmail.com"
] | gammasoft71@gmail.com |
306f7ae1ff0fc4ef312ea7d9389439dfefc45e94 | 9f04e27993784568035a4db808d34b633fba72da | /Hazel/src/Hazel/Core/Log.cpp | 28f09212d6b1cbca82ac0cf5ffcbd0699165f830 | [] | no_license | VictorNetto/Hazel-Clone | 22a99b2933b20f0229121670949c3df359814b15 | 2d9af36f9e501484db5642450f21778d7febcd7b | refs/heads/master | 2023-03-27T12:35:33.376550 | 2021-03-24T11:56:11 | 2021-03-24T11:56:11 | 351,063,472 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 507 | cpp | #include "Log.h"
#include "spdlog/sinks/stdout_color_sinks.h"
namespace Hazel {
std::shared_ptr<spdlog::logger> Log::s_CoreLogger;
std::shared_ptr<spdlog::logger> Log::s_ClientLogger;
void Log::Init()
{
spdlog::set_pattern("%^[%T] %n: %v%$");
s_CoreLogger = spdlog::stdout_color_mt("... | [
"vigonetto@gmail.com"
] | vigonetto@gmail.com |
656cde9dcb312170ef0460c50cf627ff7b7615fc | de7e771699065ec21a340ada1060a3cf0bec3091 | /core/src/java/org/apache/lucene/index/IndexWriter.h | 3918a0a139ea57e7229494e434f6da8d6648bec6 | [] | no_license | sraihan73/Lucene- | 0d7290bacba05c33b8d5762e0a2a30c1ec8cf110 | 1fe2b48428dcbd1feb3e10202ec991a5ca0d54f3 | refs/heads/master | 2020-03-31T07:23:46.505891 | 2018-12-08T14:57:54 | 2018-12-08T14:57:54 | 152,020,180 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 85,679 | h | #pragma once
#include "exceptionhelper.h"
#include "stringbuilder.h"
#include "stringhelper.h"
#include <algorithm>
#include <functional>
#include <limits>
#include <deque>
#include <memory>
#include <mutex>
#include <optional>
#include <stdexcept>
#include <string>
#include <unordered_map>
#include <unordered_set>
#in... | [
"smamunr@fedora.localdomain"
] | smamunr@fedora.localdomain |
0e7cb5bb11de856c402d64884629abc1ab3efd26 | d3e3cc3cb7b655af116555988f25f10e58658e9c | /BunnyEngine2/src/GAME_SPECIFIC_FILES/sHowtoPowerup.hpp | 6c007db8dfd99f511035d139adcf150d669937c9 | [] | no_license | SeraphinaMJ/MyLittleBunny | 0c6b7afb23fc63237282f07b72fef2a5d0512162 | c9cdc763a3f2056b3a2be5e5d0986c6ea66faecf | refs/heads/master | 2023-04-19T14:52:51.718358 | 2021-05-06T10:54:31 | 2021-05-06T10:54:31 | 364,579,774 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,711 | hpp | #pragma once
/* ---------------------------------------------------------------------------
Copyright (C) 2017 DigiPen Institute of Technology.
Reproduction or disclosure of this file or its contents without the prior
written consent of DigiPen Institute of Technology is prohibited.
File Name: sHowtoPowerup.hpp
Pur... | [
"minjiserak@gmail.com"
] | minjiserak@gmail.com |
283bb7b89a45134f4983ba591ebfbb906654e996 | c6c81a4953cc49016bda8ad863e27e029bfed052 | /wikioi/1014 装箱问题/Run_418857_Score_100_Date_2014-01-03.cpp | 0f73ad92914ff2cd66704406ac5f6542259fa6df | [] | no_license | jay2013/NOI_ACM | 50f8c9582946536f6050e1f645ae57cd19c8447b | 749d82a1e61a6cd2a34d13d6cc65fa87f91626e3 | refs/heads/master | 2016-09-10T10:00:33.747933 | 2014-07-07T02:19:07 | 2014-07-07T02:19:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 425 | cpp | #include<cstdio>
#include<cstring>
#include<algorithm>
using namespace std;
int main()
{
int V,n,a[33],i,j,dp[204800];
scanf("%d %d",&V,&n);
for(i=1;i<=n;i++)scanf("%d",&a[i]);
memset(dp,0,sizeof(dp));
for(i=1;i<=n;i++)
{
for(j=V;j>=a[i];j--)
{
if(dp[j-a... | [
"hdjay@mail.bnu.edu.cn"
] | hdjay@mail.bnu.edu.cn |
4464be4b62c2dfc957e08a14b232e26f5b95c89b | 384ed1770ef4fb26ceddd1f696f9bce645ec7203 | /main.build/module.youtube_dl.extractor.adobetv.cpp | f5bbbad2b13824f58c5d3f5720567dc7fe1220a9 | [
"Apache-2.0"
] | permissive | omarASC5/Download-Spotify-Playlists | 0bdc4d5c27704b869d346bb57127da401bb354bd | b768ddba33f52902c9276105099514f18f5c3f77 | refs/heads/master | 2022-11-06T09:32:38.264819 | 2020-06-21T14:31:01 | 2020-06-21T14:31:01 | 272,309,286 | 1 | 1 | null | 2020-06-16T21:02:37 | 2020-06-15T00:47:16 | HTML | UTF-8 | C++ | false | false | 586,116 | cpp | /* Generated code for Python module 'youtube_dl.extractor.adobetv'
* created by Nuitka version 0.6.8.4
*
* This code is in part copyright 2020 Kay Hayen.
*
* 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 ... | [
"omarlcobas@gmail.com"
] | omarlcobas@gmail.com |
fa0fcb080796c51b8532adbd30d206a83839ce8e | 7ccecdd795695cfac3857a8231375513bba6d190 | /include/rocker_switch.h | 207092dff08d3d453e83b7d36b41b9096bad38b8 | [] | no_license | project-march/input-device | 1df8d07afbeba5132a635f78f1a5eb6b264bd0df | 35531be2a1c02edbc5e3131cc1d3dc6549a99687 | refs/heads/master | 2021-06-24T05:26:49.572143 | 2020-12-01T10:48:23 | 2020-12-01T10:48:23 | 161,337,430 | 2 | 1 | null | 2020-10-22T11:12:57 | 2018-12-11T13:23:10 | C++ | UTF-8 | C++ | false | false | 668 | h | #ifndef ROCKER_SWITCH_H
#define ROCKER_SWITCH_H
#include "rocker_switch_state.h"
#include <Arduino.h>
class RockerSwitch
{
public:
explicit RockerSwitch(uint8_t up_pin, uint8_t down_pin);
RockerSwitchState getState();
private:
const uint8_t up_pin_;
const uint8_t down_pin_;
RockerSwitchState last_position... | [
"o.n.dehaas@student.tudelft.nl"
] | o.n.dehaas@student.tudelft.nl |
a282eb17e79f517108337761b6090384dc2cef5e | 9f546f7b3ccaa2864353fc472f227ade85634cda | /tools/doc/doc_data.cpp | c278662db21056d7ea4800bf20deee06fce77562 | [
"MIT"
] | permissive | AkshayaRaj/godot | 5bd1c89dcae7d9de0b1dd09ad9f27a6a1aeef5e6 | 70752f3e4bee88bd525285fb1fef7149a636b1b2 | refs/heads/master | 2021-01-12T20:55:10.381594 | 2015-04-20T23:51:52 | 2015-04-20T23:51:52 | 34,343,451 | 1 | 0 | null | 2015-04-21T18:00:47 | 2015-04-21T18:00:46 | null | UTF-8 | C++ | false | false | 28,131 | cpp | /*************************************************************************/
/* doc_data.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | [
"reduzio@gmail.com"
] | reduzio@gmail.com |
e9e5f0ec5d426b22ffd1aa87b9d45ba5c49e535e | a91796ab826878e54d91c32249f45bb919e0c149 | /modules/core/src/parallel/parallel.cpp | 29b482f5f35350160a9b5557d9883c89972cab2c | [
"Apache-2.0"
] | permissive | opencv/opencv | 8f1c8b5a16980f78de7c6e73a4340d302d1211cc | a308dfca9856574d37abe7628b965e29861fb105 | refs/heads/4.x | 2023-09-01T12:37:49.132527 | 2023-08-30T06:53:59 | 2023-08-30T06:53:59 | 5,108,051 | 68,495 | 62,910 | Apache-2.0 | 2023-09-14T17:37:48 | 2012-07-19T09:40:17 | C++ | UTF-8 | C++ | false | false | 5,374 | cpp | // This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
#include "../precomp.hpp"
#include "parallel.hpp"
#include <opencv2/core/utils/configuration.private.hpp>
#include <opencv2/c... | [
"alexander.a.alekhin@gmail.com"
] | alexander.a.alekhin@gmail.com |
b110e9c4c365284c2636e34ff25c9e2b4f317e69 | fbdd47467053ea9b8f091e1bed2f3bbeca0ee4b9 | /src/MpmSim/SquareMagnitudeTermination.cpp | f2725c55e75d1e755af44868d7a732058545a32f | [] | no_license | nyue/mpmsnow | 9c11f7c6173d70fcab873b116632bc5b3fe7aba4 | 805aa483e7ce59dc7c5c11b9f8e99ea78446083c | refs/heads/master | 2021-01-09T23:36:03.633920 | 2016-11-10T01:02:13 | 2016-11-10T01:02:13 | 73,213,071 | 0 | 0 | null | 2016-11-08T18:04:38 | 2016-11-08T18:04:38 | null | UTF-8 | C++ | false | false | 793 | cpp |
#include "MpmSim/SquareMagnitudeTermination.h"
#include <iostream>
using namespace MpmSim;
SquareMagnitudeTermination::SquareMagnitudeTermination( int maxIters, float tolError )
: m_maxIters( maxIters ), m_tolError( tolError )
{
}
void SquareMagnitudeTermination::init( const ProceduralMatrix& A, const Eigen::Vect... | [
"davidm@image-engine.com"
] | davidm@image-engine.com |
1522e55560e0e68907a141ab0a85eaccc16043f0 | 86faf524e69cb83846e9545d9c093379728e8fcc | /microBM/armSystem.h | c01fa6faaa21553279ec9565f93a1dfbefe31864 | [
"Apache-2.0",
"LLVM-exception"
] | permissive | zerous-nocebo/lomp | a50115997226180476019441d7afd59cdfeb3440 | 501addb72262b50c6c7736abfd21bc4de521b516 | refs/heads/main | 2023-08-14T06:01:58.841631 | 2021-08-30T10:58:15 | 2021-08-30T10:58:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,385 | h | //===------------------------------------------------------------*- C++ -*-===//
//
// Part of the LOMP project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"michael@dontknow.de"
] | michael@dontknow.de |
d57f3256f8ee1af1dd05fc00173e1c065933ea31 | db0da227137c5819bdff6da365c3dff7ad484092 | /2017-2018_ACM-ICPC_NEERC_ Southern_Subregional_Contest/ALL_CODE/M.cpp | 44d3a321b2079c9724d9f1925d7881289e2da077 | [] | no_license | hzy9819/ICPC-Problem-Code-Solution | 79351c4a86c113742ab4431ab3581691a87274eb | 7e6ffc0019cc40291456c129f0b541f7e58137a3 | refs/heads/main | 2023-03-30T05:26:55.686854 | 2021-04-10T09:52:56 | 2021-04-10T09:52:56 | 356,527,484 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 261 | cpp | #include <cstdio>
#include <algorithm>
int x1, y1, x2, y2;
int main() {
scanf("%d%d%d%d", &x1, &y1, &x2, &y2);
int t = 0;
if(x1 == x2) t += 2;
else t ++;
if(y1 == y2) t += 2;
else t ++;
printf("%d", (abs(x1 - x2) + abs(y1 - y2) + t) << 1);
return 0;
}
| [
"37647358+hzy9819@users.noreply.github.com"
] | 37647358+hzy9819@users.noreply.github.com |
89a5d1cc03df5caf8fcfe2e670e003ec4c44674b | 93b2e1abb38a10ee10863dcf1ca650559cb7b789 | /Source/SquadShips2/Protagonista.h | c9c7a948eacea0473fc53eaaa6b96dd851053d11 | [] | no_license | Trustday/SquadShips | 4318440b985bff69b5a2bd07783eb41f2ba204b3 | 64d5c9daae5315db33711bcfcc2f67dc8584747c | refs/heads/master | 2021-05-06T18:49:59.776193 | 2019-11-28T23:53:32 | 2019-11-28T23:53:32 | 112,042,989 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,400 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Character.h"
#include "Protagonista.generated.h"
UCLASS(Config = Game)
class AProtagonista : public ACharacter
{
GENERATED_BODY()
/** Spring arm that will offset the camera *... | [
"dark_pride_shadow@hotmail.com"
] | dark_pride_shadow@hotmail.com |
3d50c06d63cb910d11d232ff31560096c50c10b0 | cbaf03b608f2410abfac46354f069436fdf5fa73 | /src/devices/board/drivers/astro/astro-sdio.cc | e4d6e8211dc7ffff0a8e086449bf82f4d07dc3a6 | [
"BSD-2-Clause"
] | permissive | carbonatedcaffeine/zircon-rpi | d58f302bcd0bee9394c306133fd3b20156343844 | b09b1eb3aa7a127c65568229fe10edd251869283 | refs/heads/master | 2023-03-01T19:42:04.300854 | 2021-02-13T02:24:09 | 2021-02-13T02:24:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,076 | cc | // Copyright 2018 The Fuchsia 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 <lib/mmio/mmio.h>
#include <lib/zircon-internal/align.h>
#include <ddk/binding.h>
#include <ddk/debug.h>
#include <ddk/metadata.h>
#include <ddk/... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
6a258af2d4e33e4a72f96f6b6f9de59516b76f08 | 7d14d0d405ac06985dc373f353202734ed081b2d | /Models/Case/protectiveCase.hpp | 1250184994862a5aee76a90496b7e6cc7f2deb2a | [] | no_license | valdirsegadas/MRHSatellite | 12bfa367f34c1d2ceb962cfa5ab6550e42ede28d | f5235e8aa6b676a07afbb978a27b99a1f4173e6f | refs/heads/master | 2022-11-05T10:26:54.703505 | 2019-08-26T09:04:13 | 2019-08-26T09:04:13 | 273,993,432 | 0 | 0 | null | 2020-06-21T22:31:05 | 2020-06-21T22:31:04 | null | UTF-8 | C++ | false | false | 838 | hpp | #define mag_xx(a,b) class _xx_##a {magazine = a; count = b;}
#define weap_xx(a,b) class _xx_##a {weapon = a; count = b;}
#define item_xx(a,b) class _xx_##a {name = a; count = b;}
#define backPack_xx(a,b) class _xx_##a {backpack = a; count = b;}
class Box_NATO_Ammo_F;
class MRH_SAT_protectiveCase : Box_NATO_Ammo_F
{
... | [
"lunaticwraith@hotmail.com"
] | lunaticwraith@hotmail.com |
19569538de94c0d827a7550a0963b5af99accffc | 95f4b2830dd02d0653e339329c5a08f8ad19e1ff | /Actors/ScriptComponentInterface.h | d28d55f9dbaf465cbedd95e1860f46c7a8f1bc7b | [] | no_license | JDHDEV/AlphaEngine | d0459e760343f47b00d9e34be8f7e8d93d308c27 | 2c5602a4bbba966c7f31b06ce0c7eabaa97002ec | refs/heads/master | 2021-01-01T19:42:43.176631 | 2015-07-27T01:03:05 | 2015-07-27T01:03:05 | 39,701,364 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,173 | h | #pragma once
//========================================================================
// ScriptComponentInterface.h - Interface for script components
//
// Part of the Alpha Application
//
// Alpha is the sample application that encapsulates much of the source code
// discussed in "Game Coding Complete - 4th Edition"... | [
"JustinHunt@newagepavilions.com"
] | JustinHunt@newagepavilions.com |
17df1ec8310a6d09400552baa04dfb520ed042f7 | 35abdfb049c2c2c763713e05f4ad242d02fabd32 | /tools/GRAPHOS_GUI/NewCameraDialog.cpp | 3af5f9288e9ed18be9939a83705e6601c9849564 | [] | no_license | zhanshenman/GRAPHOS | a4d4e80bf1434ac268e6874a467e90e9b52c1982 | 44663fd2d02da679333566ef36b40a283a96fac4 | refs/heads/master | 2021-01-25T14:04:51.585435 | 2018-02-12T10:23:25 | 2018-02-12T10:23:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,273 | cpp | /**
*-------------------------------------------------
* Copyright 2016 by Tidop Research Group <daguilera@usal.se>
*
* This file is part of GRAPHOS - inteGRAted PHOtogrammetric Suite.
*
* GRAPHOS - inteGRAted PHOtogrammetric Suite is free software: you can redistribute
* it and/or modify it under the terms of the GNU... | [
"dguerrero@usal.es"
] | dguerrero@usal.es |
205b5738a7529aa361b7637e2fbe04a0367f6f31 | 0f19568208d224b6b094542cdc7078002ecf5c3a | /ivp/src/uPokeDB/PokeDB.h | 1e18a6a7ee5ba328a90b468997aa51e97be8b4ca | [] | no_license | scottsideleau/MOOS-IvP-releases | 5e875d506f123d793e2c1568de3f3733791f7062 | bda2fc46bb7e886f05ab487f72b747521420ce86 | refs/heads/master | 2021-01-11T04:05:38.824239 | 2016-10-21T02:16:11 | 2016-10-21T02:16:11 | 71,249,151 | 1 | 1 | null | 2016-10-18T13:06:30 | 2016-10-18T13:06:29 | null | UTF-8 | C++ | false | false | 2,689 | h | /*****************************************************************/
/* NAME: Michael Benjamin, Henrik Schmidt, and John Leonard */
/* ORGN: Dept of Mechanical Eng / CSAIL, MIT Cambridge MA */
/* FILE: PokeDB.h */
/* DATE: May 9th 2008 ... | [
"msis@mit.edu"
] | msis@mit.edu |
139904ab0d570bc184b3b5c4fdfdb052113e0db4 | c655c652e3a6148858fd65eb7034942b06430b28 | /src/elves.h | b987c58ec70bcef6fc8e44d69db35c73121fa9c0 | [] | no_license | LodePublishing/WarCraft-Calculator | ca0e22649d2401804aa161d6e067928a1e62c3d5 | 914c6dcfb8584d2fab4d76e5815c756c90672b1e | refs/heads/master | 2021-03-24T11:50:49.399431 | 2016-09-18T07:57:19 | 2016-09-18T07:57:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 227 | h | #include "race.h"
class Player_Elves: public RACE
{
public:
virtual void Set_Goals();
virtual void Calculate();
virtual void InitRaceSpecific();
virtual void readjust_goals();
Player_Elves();
virtual ~Player_Elves();
};
| [
"contact@lode.de"
] | contact@lode.de |
6c43b95dae0b60dccf16b04ee9186ae4faa4611a | eb3f48b054e75f029e7e21b0b3dee750265e9231 | /Doctor.h | 148f5af287aac8c164195d917034dc09e89c6345 | [] | no_license | JerryDGroom/FinalProject | 4e47fa63c085449f2ff6cdd371e1df811678a7f8 | a38fa2f62671eae85fe9810993d5d77833d6d156 | refs/heads/master | 2016-09-01T18:02:01.882061 | 2015-04-29T21:30:51 | 2015-04-29T21:30:51 | 33,801,217 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 361 | h | #ifndef Doctor_H
#define Doctor_H
/*
Doctor class stores the name, Specialty code, room no for a doctor
*/
#include <string>
using namespace std;
class Doctor
{
public:
Doctor(string nm, string sp, int no);
// get the information
string getName();
string getSpecialty();
int getRoom();
private:
string name;
... | [
"Jerry.groom@gmail.com"
] | Jerry.groom@gmail.com |
9c682b61186a17e94ad10630e14e62a35566454c | ccf7d19fa0ed0d2045dd3c804d6829863a3af785 | /HookInjector/runtime_error.h | 8ccc01d8a7833362f085abaf2847e4f9a14e8339 | [
"Apache-2.0",
"MIT"
] | permissive | raiti-chan/AudioTeapot | 9c28965c920c53c82e695a143c30fd82d10c054e | 39dab73f9ef258ac5fec8ab74bcf29791f9693f8 | refs/heads/master | 2023-08-21T14:33:33.619514 | 2021-09-08T14:23:41 | 2021-09-08T14:23:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 316 | h | #pragma once
#include <stdexcept>
#define THROW_ON_FAILURE(hr, message) \
if (FAILED(hr)) { \
throw runtime_error(message); \
}
class runtime_error : public std::runtime_error
{
public:
runtime_error(const std::wstring& message);
std::wstring get_message() const;
private:
std::wstring message;
};
| [
"tyounan.moti@gmail.com"
] | tyounan.moti@gmail.com |
80cf379db20b1302e220ff8f38f2ee1c9f0721e9 | becb83c217dfd906e89396ab546fa782988b2f69 | /Lab9/GameOfLife9.cpp | d5d1d2514dccbbea22d4f8b80f1f1219af507306 | [] | no_license | phillipchan124/Program-Design-Data-Structures | 6b04c8a25dfd57cd28271559acdba6ac0d3a0193 | a570f9230d73298fa6d44ece2c9622ade3cd42ea | refs/heads/master | 2021-01-10T06:15:04.507987 | 2015-12-12T00:05:10 | 2015-12-12T00:05:10 | 47,857,081 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,160 | cpp | #include <iostream>
using namespace std;
#include <cstdlib>
struct Cell
{
int row; // any +/0/- value
int col; // any +/0/- value
bool operator==(const Cell& c) const {return row == c.row && col == c.col;}
};
#include "AssociativeArray.h"
AssociativeArray<char, Cell> grid; // Older grid of life
... | [
"phillipchan124@hotmail.com"
] | phillipchan124@hotmail.com |
ecca362d45108730b09aac9d3393cafd80b3d7cf | b6118068b482077be56cc25143862a025a3ed10c | /d08/ex02/mutantstack.hpp | b1d7d6dc69a941ce6d286314507e7e56cbacd268 | [] | no_license | aisenn/CPP_Piscine | 25807f08857e34a26895fa4d3e377e4174296c46 | 7433d0139c19f6434db782e940ca269a54695ff1 | refs/heads/master | 2020-06-10T20:04:50.684325 | 2019-07-07T08:43:45 | 2019-07-07T08:43:45 | 193,731,829 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 594 | hpp | #ifndef MUTANTSTACK_HPP
#define MUTANTSTACK_HPP
#include <list>
#include <stack>
#include <iterator>
template<typename T>
class MutantStack : public std::stack<T>
{
public:
MutantStack() {}
MutantStack(MutantStack const &cp) {
*this = cp;
}
~MutantStack() {}
MutantStack &operator=(MutantStack const &rh... | [
"aabdulla@e1r5p7.unit.ua"
] | aabdulla@e1r5p7.unit.ua |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.