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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
661c9adf9040c4604f5b74ee65d875e54f8beb51 | aa7173d1d5c5cbc668f539df60eb2c158c667a2e | /ch4-computation/trythis/06-bleep/main.cpp | 34dc0ef902ce1aebac64de23c771dd175687f99d | [] | no_license | fjp/ppp | 1c89a916b300cf61f93b99ccb1cecc42dfd12cd9 | 63ddad721ea3f714a07948974fa7141eac1ce57d | refs/heads/master | 2020-06-13T02:58:53.593079 | 2019-10-24T15:35:21 | 2019-10-24T15:35:21 | 194,509,763 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 267 | cpp | #include "std_lib_facilities.h"
int main()
{
string disliked = "Broccoli";
for (string temp; cin>>temp; ) // read
{
if (disliked != temp)
cout << temp << '\n';
else
cout << "BLEEP" << '\n';
}
return 0;
}
| [
"franz.pucher@gmail.com"
] | franz.pucher@gmail.com |
c648b20b2a6112b3af3905c6fa80e2fabca4bf89 | 6c59e8ac5a6c0eb50bf55fbd60f3e974e586c2b7 | /282A.cpp | 9ef044b2af7342675b9cd54ef59b644d427714a2 | [] | no_license | Amrutha26/A2OJ | 16f128e10aee9b76061bfcb72753102652dd2fb7 | 103b2ed814557ca11ac9d904df4b64ca5d35dacf | refs/heads/master | 2023-05-11T05:46:40.892423 | 2021-06-02T16:16:18 | 2021-06-02T16:16:18 | 325,904,904 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 291 | cpp | //Bit++
#include <bits/stdc++.h>
using namespace std;
int main() {
int n;
int x = 0;
cin >> n;
string s;
while(n--) {
cin >> s;
if(s[1] == '+') {
x++;
} else {
x--;
}
}
cout << x << endl;
return 0;
} | [
"amrutha261001@gmail.com"
] | amrutha261001@gmail.com |
941bf5eea494bbad0d113c70ff95fcfd8a4bc697 | cb51269f05ea1299154c8e8d54612ff4b6eb0382 | /libsrc/7z934-src/CPP/7zip/Archive/ZHandler.cpp | 459f3e35496dffee623340f36d3302dd15431f0b | [] | no_license | jinseungim/jmw | d752be358a78aba8e7a78f2357bf48a320c4021d | a41908dd0589d71ebc448ec2272ddb9ad7203d9d | refs/heads/master | 2021-01-22T09:04:32.883313 | 2015-03-13T02:16:28 | 2015-03-13T02:16:28 | 32,123,096 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,888 | cpp | // ZHandler.cpp
#include "StdAfx.h"
#include "../../Common/ComTry.h"
#include "../../Windows/PropVariant.h"
#include "../Common/ProgressUtils.h"
#include "../Common/RegisterArc.h"
#include "../Common/StreamUtils.h"
#include "../Compress/ZDecoder.h"
#include "Common/DummyOutStream.h"
namespace NArchive {
namespac... | [
"jinseungim@gmail.com"
] | jinseungim@gmail.com |
338534b54436b60c626445e11520ebb0d71c9f67 | 69b893784d78ae88c6fe843a9b0a2e8790664192 | /export/android/obj/include/nape/geom/MatMN.h | 61d5a90176604439ec8d464a93a2d5cd088a9f2c | [] | no_license | RubenCardos/TestFuerzas | 222c938f8c7d370d7e5a6fd7703fdbc928ac0e9d | 4749a3fe7d5e82069d84e020d1febf09f5b22c12 | refs/heads/master | 2021-01-10T15:34:32.165338 | 2015-05-22T13:18:28 | 2015-05-22T13:18:28 | 36,072,321 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,483 | h | #ifndef INCLUDED_nape_geom_MatMN
#define INCLUDED_nape_geom_MatMN
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(nape,geom,MatMN)
HX_DECLARE_CLASS2(zpp_nape,geom,ZPP_MatMN)
namespace nape{
namespace geom{
class HXCPP_CLASS_ATTRIBUTES MatMN_obj : public hx::Object{
public:
typedef hx::Object super;
... | [
"elcaraescombro@gmail.com"
] | elcaraescombro@gmail.com |
4675677edf012b9dacca9c7f4f1d47c45e5ea286 | 80fb5f870f480b6bdbe7a3882bb428534957cb29 | /folly/io/async/ssl/OpenSSLTransportCertificate.h | d36f7825fd2fb81a9fe34ba014d1804ff0bc9cf4 | [
"MIT",
"Apache-2.0"
] | permissive | Mu-L/folly | 92adf0f1712ba16de7e0ac87bc6cb556bc1b74d2 | 5bbfb175cb8fc7edab442f06105d4681654732e9 | refs/heads/master | 2023-08-24T11:14:41.586260 | 2021-10-19T22:35:05 | 2021-10-19T22:36:10 | 334,090,201 | 0 | 0 | Apache-2.0 | 2021-10-19T23:43:26 | 2021-01-29T09:01:14 | C++ | UTF-8 | C++ | false | false | 1,229 | h | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
0ec90836117d1e1357ade793a3f43579e31323a2 | 0133bf8d8eceab360180136d558eb46f334d31e4 | /lib/HMC5883L/HMC5883L.h | 411d79f6e31df545ee675c951cdd4f65493e4525 | [] | no_license | XSmile2008/BigTrackArduino | cca8263e04b71f73e1fe4f9a401b40d1aa1247c7 | 052ae255d9379ae70137f4c8543dc31315f9cb72 | refs/heads/master | 2021-01-18T21:18:47.727059 | 2017-02-20T19:04:30 | 2017-02-20T19:04:30 | 50,679,174 | 0 | 0 | null | 2016-05-10T18:28:42 | 2016-01-29T17:37:12 | C++ | UTF-8 | C++ | false | false | 1,024 | h | #ifndef HMC5883L_h
#define HMC5883L_h
#include <Arduino.h>
#include <Wire.h>
#define HMC5883L_Address 0x1E
#define ConfigurationRegisterA 0x00
#define ConfigurationRegisterB 0x01
#define ModeRegister 0x02
#define DataRegisterBegin 0x03
#define Measurement_Continuous 0x00
#define Measurement_SingleShot 0x01
#define M... | [
"XSmile2008@gmail.com"
] | XSmile2008@gmail.com |
583f5c77ee242ffe990d8ecb70e14202376b07f0 | 9eabc94501d24f3c7407a786d3b35205fda64e7b | /src/crypto/tests/sha256_kat.cc | 7505341b6ab82eb01bc4e5faa2f0088240e9d2e5 | [
"Apache-2.0"
] | permissive | iij/s3fuse-fvs | 3474c54104f51e4300b5f23ba1f41a9bb18bca2b | f305e4ada73c0da480df8a0228293e402bc3fbe8 | refs/heads/master | 2023-09-03T13:35:12.518425 | 2015-09-10T07:10:11 | 2015-09-10T07:10:11 | 7,237,298 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 436,391 | cc | #include <gtest/gtest.h>
#include "crypto/encoder.h"
#include "crypto/hash.h"
#include "crypto/hex.h"
#include "crypto/sha256.h"
using std::string;
using std::vector;
using s3::crypto::encoder;
using s3::crypto::hash;
using s3::crypto::hex;
using s3::crypto::sha256;
namespace
{
struct known_answer
{
const c... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
2235e4c7998a89998af88cda37284b638dd42fea | 79cdb2b878e1ebb916d08a60d17e475221a487d2 | /lab8_bmr.cpp | cf454f67cecfe8d7863c611892af699cfd2e940c | [] | no_license | ChristopherJones72521/cPlusPlusTutorial | 5d6e280f317a4575f4b5e95be517e3c798550b52 | e7f39ae339cf380e0fb9a3fcc727b1bd8cbea39c | refs/heads/master | 2021-01-22T16:53:40.327148 | 2016-04-15T13:20:53 | 2016-04-15T13:20:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,287 | cpp | /*
* Name: lab8_bmr.cpp
* Description: This program calculates your basal metabolic rate
* Author: Christopher Jones
* Date: 9/16/2014
*/
// Pretty straight forward program here
#include <iostream> // and this
#include <string> // and this
using namespace std;
int main(){
// Declare your variab... | [
"christopherjones72521@gmail.com"
] | christopherjones72521@gmail.com |
054719a905f8cbfeaa00933492c5bd920ad3d759 | a7764174fb0351ea666faa9f3b5dfe304390a011 | /inc/Handle_PBRep_TVertex.hxx | 57702cf15f8a0390ffcd6756c29cf62030594227 | [] | 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 | 860 | 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 _Handle_PBRep_TVertex_HeaderFile
#def... | [
"shoka.sho2@excel.co.jp"
] | shoka.sho2@excel.co.jp |
0e8d87a1f896c8fdc60b427d07e37a093fefa652 | 30b67fd9fabda5c1350dcd2fb29973b8fd1c518f | /nyoj/NYOJ 654/NYOJ 654/main.cpp | 95547751c3fe0d68df84e1502a6281b0daad5e17 | [] | no_license | Joey-Liu/online-judge | 97bd3025a38117de33547fdaf0382356d22b2047 | 2c48d9b7aa981d6c98cf92d80d69b0ac8f2b2aa1 | refs/heads/master | 2021-08-01T13:29:58.631190 | 2021-07-26T06:29:26 | 2021-07-26T06:29:26 | 132,420,744 | 2 | 0 | null | 2020-01-18T13:18:31 | 2018-05-07T07:05:21 | C++ | UTF-8 | C++ | false | false | 840 | cpp | #include <iostream>
#include <stdio.h>
#include <algorithm>
#include <memory.h>
using namespace std;
const int maxn = 1e+6 + 10;
int f[maxn];
int N, M;
int c[maxn], v[maxn], prefix[maxn];
int main()
{
freopen("in.txt", "r", stdin);
freopen("out.txt", "w", stdout);
ios::sync_with_stdio(false);
cin.tie(0); cout.t... | [
"joey_liucoder@163.com"
] | joey_liucoder@163.com |
2157c5ff528c124a948edaa21281f588e98443de | ec7002ba79e9f38ab71ba19b5a3e1503a61d91d6 | /include/godot_cpp/VScrollBar.hpp | 44d94a7923bd912bc66a6f32eb276c44d5b86612 | [] | no_license | triptych/Godot-Webrtc-test-project | a7e2615e098d6c1f329ed16c3b0c6414b0cb6070 | 0a7aa5e8b386a1a397ecde23689ad8ce7d87ae5c | refs/heads/master | 2020-05-02T09:17:45.170566 | 2018-08-07T06:49:23 | 2018-08-07T06:49:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 462 | hpp | #ifndef VSCROLLBAR_H
#define VSCROLLBAR_H
#if defined(_WIN32) && defined(_GD_CPP_BINDING_IMPL)
# define GD_CPP_BINDING_API __declspec(dllexport)
#elif defined(_WIN32)
# define GD_CPP_BINDING_API __declspec(dllimport)
#else
# define GD_CPP_BINDING_API
#endif
#include "core/CoreTypes.hpp"
#include <godot.h>
#in... | [
"bmicmak@gmail.com"
] | bmicmak@gmail.com |
125bf54261ac64f0992972db750cf3e909976093 | 5e8d200078e64b97e3bbd1e61f83cb5bae99ab6e | /main/source/external/dummy.cc | 0f7d59fe3331cdffb40348bcab3dc37e98555c36 | [] | no_license | MedicaicloudLink/Rosetta | 3ee2d79d48b31bd8ca898036ad32fe910c9a7a28 | 01affdf77abb773ed375b83cdbbf58439edd8719 | refs/heads/master | 2020-12-07T17:52:01.350906 | 2020-01-10T08:24:09 | 2020-01-10T08:24:09 | 232,757,729 | 2 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 209 | cc | // This is a dummy (empty) file to be used with only_with_extras, to avoid issues with empty libraries.
namespace { // An anonymous namespace to limit name clashes between multiple uses
void _dummy_() {}
}
| [
"36790013+MedicaicloudLink@users.noreply.github.com"
] | 36790013+MedicaicloudLink@users.noreply.github.com |
306dd74216c620192ddd3cab9fbadd443f810e03 | f27e8c87509cce117af122d5d3b21de9ddfc4003 | /src/include/CosmoInterface/initializers/su2initializer.h | 6dfce85f3ed401e4ccdbbd22a23526040abb14fd | [
"MIT"
] | permissive | Sprachspiel/cosmolattice | 44b9e19319d6c89831f5dc4d730c549032544dda | bd9a31a026c0b47d53ff486db23448797dbe2fe0 | refs/heads/master | 2023-03-02T12:55:51.810029 | 2021-02-02T13:27:24 | 2021-02-02T13:27:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,013 | h | #ifndef COSMOINTERFACE_INITIALIZERS_SU2INITIALIZER_H
#define COSMOINTERFACE_INITIALIZERS_SU2INITIALIZER_H
/* This file is part of CosmoLattice, available at www.cosmolattice.net .
Copyright Daniel G. Figueroa, Adrien Florio, Francisco Torrenti and Wessel Valkenburg.
Released under the MIT license, see LICENSE.m... | [
"adrien.florio@epfl.ch"
] | adrien.florio@epfl.ch |
d2ea15d402a4a49617f00ae968ecc0b8fd0fd338 | 7c1128e7b295b81a80d4ab35b34ef96becc9b923 | /proc/app.h | 0e5ecf747d9c192d183f53b3dc7dfc7e7c129442 | [
"BSD-2-Clause"
] | permissive | yang123vc/vr | 3a621ddb184c6b96808be107fe9cd515154e306a | e2f9802ecbd9ee4a4b6047ef7d17662e4898fd1c | refs/heads/master | 2020-04-06T06:48:00.567864 | 2016-08-24T03:19:33 | 2016-08-24T03:21:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 654 | h | #pragma once
#include "framework.h"
#include <random>
namespace proc {
using namespace framework;
struct app {
app() : window("proc", { 4, 5, gl::profile::core }), vr(), display(vr) {}
~app() {}
void run();
sdl::window window; // must come before anything that needs opengl suppo... | [
"ekmett@gmail.com"
] | ekmett@gmail.com |
fe14444caadbd68fccb921ac83a9343e0a8a38ec | 34d87cb07f04e0831328b9f3299a905797ac4408 | /backends/hxSDL_shared/project/include/SDLMouse.h | 822da974e6a31d83840fa12f97a2107faa42ccf3 | [
"BSD-2-Clause"
] | permissive | Khaledgarbaya/hxSDL | 0e2966c48854b77070940448d0e57f775e14e042 | b49daceb784134c958efbf9d595ae39f406d1fcb | refs/heads/master | 2021-01-15T19:40:16.697881 | 2015-06-26T08:44:14 | 2015-06-26T08:44:14 | 37,014,629 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,972 | h | // Copyright (c) 2015, Khaled Garbaya
// 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 condition... | [
"khaledgarbaya@gmail.com"
] | khaledgarbaya@gmail.com |
e796b7cefe4e0ddc43c34b5b7795d2ef7eeb0fb6 | fafcd549ca55ee718a57ff547cc2b2cde69d7f5f | /factions/BLU_F_ammoBox.hpp | 042b79094a4f4d6a02a0d54625152054bd074f80 | [] | no_license | TacBF/tb_rhs.kunduz | 6d5f9c2712128008d4b9c8abdd55dcfc70ad85a5 | 0b4b1e8a2590d38d37932f0941f8cbd6ea89f438 | refs/heads/master | 2021-01-19T20:31:18.206801 | 2017-04-17T14:42:14 | 2017-04-17T14:42:14 | 88,517,526 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,256 | hpp | // USA - Marines (MARPAT-WD)
// Author: Cole
class TB_BLUBasicAmmunitionBox
{
transportClear = 1;
proxyObject = "TB_BLUBasicAmmunitionBox";
class transportCargo
{
transportMagazines[] = {
{"rhs_mag_30Rnd_556x45_M855A1_Stanag", 20},
{"rhsusf_20Rnd_762x51_m118_special_Mag", 5},
{"rhsusf_100Rnd... | [
"ballista.milsim@gmail.com"
] | ballista.milsim@gmail.com |
f727fbc15954a2684e23b6f45e955d10c448354f | ce394f79a006ac827d3d30344190f74830c22840 | /Programming_Lab/Greedy/Uva 10340/project_nov24a.cpp | 375fc9a56e2477b181a03f1a4ff2ee0db6d929c4 | [] | no_license | momor666/Academic-LabWork | 3b42b62cf0970917f4750e80c8da8ba062d8f2ba | 116cc1144cfc6d02a3b42ff64791d886b2f168e2 | refs/heads/master | 2020-03-30T01:53:34.884486 | 2018-09-26T13:50:50 | 2018-09-26T13:50:50 | 150,600,462 | 1 | 0 | null | 2018-09-27T14:30:20 | 2018-09-27T14:30:20 | null | UTF-8 | C++ | false | false | 402 | cpp | #include<iostream>
#include<string>
using namespace std;
int main()
{
string s1,s2;
int count=0,n;
while (cin>>s1>>s2)
{
n=s1.size();
count=0;
for(int i=0; i<s2.size()&& count<n; i++)
{
if(s2[i]==s1[count])
{
count++;
}
... | [
"bikash11roy@gmail.com"
] | bikash11roy@gmail.com |
ee5bce65613c5778f47636628836bbdcbcc01a28 | d9f6c8aab1aea97eb5c0eb45a1f7c8bc2cafdba8 | /comlib/src/Socket/Client/TCPClient.cpp | a78f0e0e28cff6b2eb9876b56cc18f714640325c | [] | no_license | clubrobot/team-2015 | 1551e37475678f91b63e234896db8663806a5eb4 | c6ba0624db3a204cbfa629f1c2cb4cf8a44a6d71 | refs/heads/master | 2020-04-10T03:56:05.136148 | 2016-09-13T16:54:14 | 2016-09-13T16:54:14 | 68,121,449 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,152 | cpp | /*
* TCPClient.cpp
*
* Created on: Sep 8, 2015
* Author: gabriel
*/
#include "TCPClient.h"
TCPClient::TCPClient() {
mrunning = false;
mthread = nullptr;
mevents = nullptr;
addFD(this);
}
TCPClient::~TCPClient() {
if(mrunning) {
close();
mthread->join();
}
delete(mthread);
}
void TCPClient::lau... | [
"gabriel.lucas8502@gmail.com"
] | gabriel.lucas8502@gmail.com |
fe461844bd2c25492fb47b7507857d10abc41a51 | 349fe789ab1e4e46aae6812cf60ada9423c0b632 | /Forms/SprNacenka/UFormaSpiskaSprNacenkaCF.cpp | d7a4f4640b3c2cb263cd9cd3d0ab1f6bc4880da9 | [] | no_license | presscad/ERP | a6acdaeb97b3a53f776677c3a585ca860d4de980 | 18ecc6c8664ed7fc3f01397d587cce91fc3ac78b | refs/heads/master | 2020-08-22T05:24:15.449666 | 2019-07-12T12:59:13 | 2019-07-12T12:59:13 | 216,326,440 | 1 | 0 | null | 2019-10-20T07:52:26 | 2019-10-20T07:52:26 | null | UTF-8 | C++ | false | false | 1,828 | cpp | #include "vcl.h"
#pragma hdrstop
#include "UFormaSpiskaSprNacenkaCF.h"
#include "UFormaSpiskaSprNacenkaImpl.h"
#include "IFormaSpiskaSprNacenka.h"
#pragma package(smart_init)
extern int NumObject;
//---------------------------------------------------------------
TFormaSpiskaSprNacenkaCF::TFormaSpiskaSprNac... | [
"sasha@kaserv.ru"
] | sasha@kaserv.ru |
df8d2f4fcef2ffb1389bd0f119770192fd1905fa | b5083d036d1e03067291fe9dac760bed917cda2e | /src/receive.cpp | 43a3f4a1ffba36d11a51e9b1360ec7ee06333498 | [] | no_license | Marcus-Davi/Cpp-Socket | 982766366bbfd9c710a1c9bc9318bd4d65f166db | 672697fd1735fa07dbfbb0dd14aa5e1b81cac690 | refs/heads/master | 2023-04-04T13:07:50.194310 | 2021-04-08T15:37:52 | 2021-04-08T15:37:52 | 260,393,801 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,683 | cpp |
// Server side C/C++ program to demonstrate Socket programming
#include <iostream>
#include <unistd.h>
#include <stdio.h>
#include <sys/socket.h>
#include <stdlib.h>
#include <netinet/in.h>
#include <string.h>
#define PORT 5005
int main(int argc, char const *argv[])
{
int server_fd, new_socket, valread;
... | [
"davi2812@dee.ufc.br"
] | davi2812@dee.ufc.br |
646de47e6f52c0b7b7fdf31f94a8bcd125a245e7 | 494f743dca7469475ca6dac923633f9ee94998ee | /gllight.h | ff9cacd1bd5d60acb1c19031263d67927db1d7e4 | [] | no_license | zzdever/heaven-gate | 907f164138ffbec2a821fd91e219f201693df8c6 | 42a8da16e2babb4be0bfb30adc5759691ce18689 | refs/heads/master | 2016-08-08T05:02:47.232164 | 2014-12-07T08:42:04 | 2014-12-07T08:42:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 964 | h | #ifndef GLLIGHT_H
#define GLLIGHT_H
#include <GLUT/glut.h>
#include "misc.h"
class GlLight
{
public:
static int lightCount;
GlLight();
~GlLight(){}
// turn on/off
void Switch();
// draw the light sphere
void DrawLight();
// set the absolute position
void SetPosition(float x, floa... | [
"zzdever@gmail.com"
] | zzdever@gmail.com |
0348acbc4700946b5e85ed4b228555e81546ba9a | 272a19ed481d3d321c457f806cdcc9410d06aaca | /src/TrueRandom.hpp | 6e08f4489735903003ed1c85bd2048eb4b20fca2 | [
"MIT"
] | permissive | finnff/IPASS-19 | 488606fe16a6a57ed0951746170f548844d5a6d2 | b65ad79282a63c1f0db3addfaf865e99677ecd2c | refs/heads/master | 2020-06-14T14:15:05.378144 | 2019-07-03T14:22:02 | 2019-07-03T14:22:02 | 195,023,697 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,433 | hpp | #ifndef TRUERANDOM_HPP
#define TRUERANDOM_HPP
// #include "sam3.h"
#include "hwlib.hpp" //No need to include sam3.h if using hwlib.
/** trueRandom(); checks if trng is already enabled, if not it will enable on
the TRNG peripheral, disabling the interupt register and enabling the TRNG
chip with the "RNG" key
... | [
"finnf@protonmail.com"
] | finnf@protonmail.com |
1d657f046d74c4da3ce1ad285bb4352ed813c196 | 5167f77d96d1dc5412a8a0a91c95e3086acd05dc | /src/pubkey.h | 3f38b4aa2371543db5f2a9bf711b34c86b69d028 | [
"MIT"
] | permissive | ocvcoin/ocvcoin | 04fb0cea7c11bf52e07ea06ddf9df89631eced5f | 79c3803e330f32ed50c02ae657ff9aded6297b9d | refs/heads/master | 2023-04-30T10:42:05.457630 | 2023-04-15T11:49:40 | 2023-04-15T11:49:40 | 406,011,904 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 10,346 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2020 The Ocvcoin Core developers
// Copyright (c) 2017 The Zcash developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef OCVCOIN_PUBKEY_H
#define OCVCO... | [
"contact@ocvcoin.com"
] | contact@ocvcoin.com |
745959d66548f7423d287139fd4c34cd4809124f | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /contest/1542561467.cpp | 8e9c1f5208aee582db216fa54149b89d2956335c | [] | no_license | thegamer1907/Code_Analysis | 0a2bb97a9fb5faf01d983c223d9715eb419b7519 | 48079e399321b585efc8a2c6a84c25e2e7a22a61 | refs/heads/master | 2020-05-27T01:20:55.921937 | 2019-11-20T11:15:11 | 2019-11-20T11:15:11 | 188,403,594 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 616 | cpp | #include <bits/stdc++.h>
#define ll long long
using namespace std;
ll h,m,s,t1,t2;
int main() {
scanf("%lld %lld %lld %lld %lld", &h, &m,&s, &t1, &t2);
if (t1 > t2)
swap(t1, t2);
h = (h % 12) * 5;
t1 = (t1 % 12) * 5;
t2 = (t2 % 12) * 5;
ll tt1 = t1, tt2 = t2, cnt = 0;
while (t1!=t2) {
... | [
"harshitagar1907@gmail.com"
] | harshitagar1907@gmail.com |
836e8ff5bd26043b6bd59b20229d7a41b75ed709 | e413e4020617f2645f7f3ed89ec698183c17e919 | /Tracking/remove_small_components.cpp | 0e1e2a42b4f94ec804016b099a75ab6740697ad6 | [] | no_license | YanXuHappygela/Farsight-latest | 5c349421b75262f89352cc05093c04d3d6dfb9b0 | 021b1766dc69138dcd64a5f834fdb558bc558a27 | refs/heads/master | 2020-04-24T13:28:25.601628 | 2014-09-30T18:51:29 | 2014-09-30T18:51:29 | 24,650,739 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,675 | cpp | #include "helpers.h"
using namespace helpers;
template <typename T>
typename T::Pointer readImage(const char *filename)
{
printf("Reading %s ... \n",filename);
typedef typename itk::ImageFileReader<T> ReaderType;
typename ReaderType::Pointer reader = ReaderType::New();
ReaderType::GlobalWarningDisplayOff();
read... | [
"xy198908@gmail.com"
] | xy198908@gmail.com |
1ce863c41a38a3b0da859d2148a8c78cbbcd06fe | c9c3ffc259e4451fc359c064ce9daf2783961b77 | /OSG/src/YZModelCore/ZoomModel.cpp | e3478f2f49ac18797a69f9ef5ea100c1dca8e1e9 | [] | no_license | whztt1989/RefactoringOSG | f4cf04017c1adc1d02adfd6e45f3b2a3ac61e6c5 | 677c4496df04a8167d592620cfb3115be93ee2c8 | refs/heads/master | 2021-05-03T22:34:29.242289 | 2015-10-30T06:00:34 | 2015-10-30T06:00:34 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 12,241 | cpp | #include "ZoomModel.h"
#include "YZModelCoreInternal.h"
#include "BIMCameraManipulator.h"
bimWorld::ZoomModel::ZoomModel(YZModelCoreInternal* host) :YZModelCoreModule(host)
{
}
bool bimWorld::ZoomModel::zoomTo(void* node, bool withoutAnimation /*= true*/, ViewDirection direction/* = Front*/)
{
#pragma region Calcula... | [
"54fengyi@sohu.com"
] | 54fengyi@sohu.com |
2e0081dd0af9db510244f150645558fecb5fcc96 | 39c092ee3cdc0142d883ed33ace0bcb53a5b474f | /Automation/OpticalCam_Automation/OpticalCamDocumentation/Source/uEyeCrosshair/uEyeCrosshairDlg.h | a89bae2ead441dbc2fd63df4e6755b0184a77ffa | [] | no_license | hesitationer/VANTAGE | b000082d34d34bdf923d94fa9a7ea91c605beec1 | c81fa81f5909b6c3f3285250380460c16591c58f | refs/heads/master | 2020-04-26T21:35:39.084428 | 2019-03-04T20:28:03 | 2019-03-04T20:28:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,847 | h | //==========================================================================//
// //
// Copyright (C) 2009 - 2018 //
// IDS - Imaging Development Systems GmbH //
// Dimbacherstr. 6-8 //
// D-74182... | [
"Sean.p.downs@colorado.edu"
] | Sean.p.downs@colorado.edu |
bcc531725bbfef29cd341beedfcb72ebade6f1e7 | 3da7c1cd3ec52ba1a8fb060808fb492f0d8ac1fd | /src/system/Periodic_sample.h | 207eba789c4b5cc7310a965cbea9fe7fc28f42a8 | [] | no_license | guoshi1984/qwalk_spin | afb1cfc5bf0c2c255a66feb44c2ce8114d5ab7de | 837f8e3ad5d0ce1f0f98487b3c319f44959b81be | refs/heads/master | 2020-04-25T17:29:43.937755 | 2019-02-27T22:19:22 | 2019-02-27T22:19:22 | 172,950,136 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,448 | h | /*
Copyright (C) 2007 Lucas K. Wagner
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hop... | [
"shiguo@Shi-Guos-MacBook-Air.local"
] | shiguo@Shi-Guos-MacBook-Air.local |
36be8432f1ad7603868859424bd2ef60c5e63992 | 6fc4f7c1f9ab41026449e9b331621095923b2c8e | /primitives.h | 7ed2fca0294d38e2525c1cf177d9bdfb20b76289 | [
"BSD-3-Clause"
] | permissive | lettuRL/libcacc | 3f0d93d6358de7f7f9970e473aa56d956f600737 | b9fdcd39bd13ec7ad1a29802d884b68c1ea6b3d7 | refs/heads/master | 2023-06-11T11:38:27.832174 | 2018-12-17T21:25:54 | 2018-12-17T21:25:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,931 | h | /*
* Copyright (C) 2015-2018, Nils Moehrle, Patrick Seemann
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD 3-Clause license. See the LICENSE.txt file for details.
*/
#ifndef CACC_PRIMITIVES_HEADER
#define CACC_PRIMITIVES_HEADER
#include "acc/primitives.h"
... | [
"nils@kuenstle-moehrle.de"
] | nils@kuenstle-moehrle.de |
16daff2a5f784ba345cc2e754f0c192ad0f57c57 | 6cc7a5ea75cfb23615a10e2ce5b9ea570e04948a | /lotto441.cpp | 7b52d91adb4aa02640ecce2dfd950cab4c8dfc5b | [] | no_license | nammi31/allMyCode | 330c5fd34b96f90a5019351028d530524a1bf6bc | 4bc34d73e43d4c34ad7ff410ff358aa7ef0a8df9 | refs/heads/master | 2020-06-27T00:18:40.354868 | 2019-07-31T06:58:45 | 2019-07-31T06:58:45 | 199,796,594 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 877 | cpp | #include<bits/stdc++.h>
using namespace std;
vector<int>ans;
bool choosed[15];
int ar[15],k;
using namespace std;
void backtrack(int index)
{
int i;
if(ans.size()==6)
{
for(i=0; i<5; i++)
cout<<ans[i]<<" ";
cout<<ans[5]<<endl;
return;
}
for(i=i... | [
"sustnammi31@gmail.com"
] | sustnammi31@gmail.com |
bcc021ce8c4f6e19f4769faf6f8990382ee2dc66 | 736a4cea9a13e7a6ccc76252af1820c3746c4e23 | /Externals/Boost/boost/numeric/odeint/algebra/operations_dispatcher.hpp | 562a353ed5a47184eff5be8e160e9c9d484a0435 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | NTForked/packing-generation | baee1d04ef5aab8baeb5570b8511914c85bf3fcb | 831b74f1a529271ee3080b6e4b63436cfd858891 | refs/heads/master | 2022-12-07T22:01:13.603781 | 2022-11-27T15:54:01 | 2022-11-27T15:54:01 | 44,219,703 | 0 | 0 | MIT | 2022-11-27T23:35:42 | 2015-10-14T02:43:15 | C++ | UTF-8 | C++ | false | false | 924 | hpp | /*
[auto_generated]
boost/numeric/odeint/algebra/operations_dispatcher.hpp
[begin_description]
Operations dispatcher to automatically chose suitable operations.
[end_description]
Copyright 2009-2013 Karsten Ahnert
Copyright 2009-2013 Mario Mulansky
Distributed under the Boost Software License, Version 1.0.
... | [
"vasili.baranov@gmail.com"
] | vasili.baranov@gmail.com |
356fbbf4aba478d574e7bc8d8c49e68305b56018 | c6a877fb5eb035f0821abd559db1d7a1ba71b63d | /Tools/PCAP/Source/PCAP/PCAP_SectionHeader.cpp | 480f5020ecc2c2187ac03b81365020ec7209f148 | [
"Zlib",
"MIT",
"ISC",
"BSL-1.0",
"BSD-2-Clause"
] | permissive | AutomotiveDevOps/mdf4-converters | 8f4e11ee5703db5196c30c5b70be7a3986b1937e | 5c6624ca0a56317ce296233cb3fc80362b07a175 | refs/heads/master | 2022-12-03T20:34:43.940888 | 2020-08-14T22:31:39 | 2020-08-14T22:31:39 | 287,635,711 | 0 | 0 | MIT | 2020-08-14T22:30:37 | 2020-08-14T22:30:36 | null | UTF-8 | C++ | false | false | 1,189 | cpp | #include "PCAP_SectionHeader.h"
#include "PCAP_OptionString.h"
namespace mdf::tools::pcap {
uint16_t const shb_hardware = 2;
uint16_t const shb_os = 3;
uint16_t const shb_userappl = 4;
PCAP_SectionHeader::PCAP_SectionHeader() :
PCAP_Block(0x0A0D0D0A),
byteOrderMagic(0x1A2B3C4D),
... | [
"mf@csselectronics.com"
] | mf@csselectronics.com |
6bc61ba452cb14fcd69749e60a4f8d9534fb35d2 | d489276e3aa2cad631c1cce08319bb5e6bf98ff5 | /proj05/main.cpp | 09c86e970dd4a82c83928caf444b4dbdf39e6af0 | [] | no_license | gregstula/parallel | b7c485ca7fc9119a052628eb24f462c07cb64334 | cd8215cc9baccfa65012fddf8e2252f4d2e8b5c8 | refs/heads/master | 2022-09-05T12:45:39.642276 | 2020-05-31T04:50:54 | 2020-05-31T04:50:54 | 256,359,661 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,214 | cpp | #define _USE_MATH_DEFINES
#include <iostream>
#include <math.h>
#include <omp.h>
#include <stdlib.h>
#include <string>
#include <time.h>
// setting the number of threads:
#ifndef NUMT
#define NUMT 1
#endif
// setting the number of trials in the monte carlo simulation:
#ifndef NUMTRIALS
#define NUMTRIALS 1000000
#endi... | [
"gregstula@me.com"
] | gregstula@me.com |
14ffbb44c92c590eade69b09057bfc247cef1115 | 89c5509983fefa6b7a66d7d6386aff11c391b899 | /CPUT/CPUT/CPUTAssetLibrary.cpp | 9c9b87a9f80874bfa0197a40f6791b7217bcfebd | [] | no_license | mattfife/pcawareness | 8c2dfdd3a4f800b054818c917c355b1d578fc303 | cb00761b5f09133790f628c2c16c309c413596c5 | refs/heads/master | 2020-05-01T12:12:34.120951 | 2019-03-24T23:35:42 | 2019-03-24T23:35:42 | 177,460,632 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,207 | cpp | //--------------------------------------------------------------------------------------
// Copyright 2013 Intel Corporation
// All Rights Reserved
//
// Permission is granted to use, copy, distribute and prepare derivative works of this
// software for any purpose and without fee, provided, that the above copyright no... | [
"mattfife@gmail.com"
] | mattfife@gmail.com |
61c30b698c9e129ee90636017a0880b35f0192ec | f3bf71161bb1625e7999d098d09f3b001da1a78d | /footstep_planner/include/footstep_planner/Footstep.h | 5ebf7d0b74c150b22d678db0645af91f17a630c9 | [] | no_license | tavu/nao_footsteps | 47bdceebfdae71a603134a449c955e9d00252733 | c6d340ac5e2f3d904014cd9e6613c3b1dc3614f0 | refs/heads/master | 2020-08-03T20:44:29.292215 | 2019-09-30T15:31:17 | 2019-09-30T15:31:17 | 211,881,093 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,841 | h | /*
* A footstep planner for humanoid robots
*
* Copyright 2010-2011 Johannes Garimort, Armin Hornung, University of Freiburg
* http://www.ros.org/wiki/footstep_planner
*
*
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publishe... | [
"nik.tavu@gmail.com"
] | nik.tavu@gmail.com |
6853aa081d1165ec4273ff49f57813c8ea796e50 | c6cd3cf77943e7beeaedf13bbe64b2fa74b74116 | /Esplora_RGB_labVIEW/Esplora_RGB_labVIEW.ino | 966793334af736ef52bdcf35ca31d774b4afb717 | [] | no_license | NOCTLJRNE/Arduino_Projects | 548e36d5eda00c258b82f91dea8f8cef29e3fd77 | a8c9f499eef6aa2f163aca316935e941f538ca5d | refs/heads/master | 2022-07-19T11:15:16.202599 | 2022-07-11T10:38:47 | 2022-07-11T10:38:47 | 78,840,322 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,382 | ino | /*
Esplora Led/Microphone
This simple sketch reads the microphone, light sensor, and slider.
Then it uses those readings to set the brightness of red, green and blue
channels of the RGB LED. The red channel will change with the loudness
"heared" by the microphone, the green channel changes as the
amount of... | [
"baoan1602@gmail.com"
] | baoan1602@gmail.com |
3d88d7df086792b9200891b48b901e7dac7096a3 | fd9e8ffee5e501e599dfab6472fa308cf1d342d5 | /PO/VirtualWorld/Plant.cpp | ad3b7a8b653d8a7515db1fdf69756ecfae82a639 | [] | no_license | cubuspl42/ETI_private | a9b94b9b55ee14d3dad73e5b4115f4b6aafeb243 | 292b21d5c9f73c3b498b4edd7b9f670dcff6633e | refs/heads/master | 2021-03-24T10:24:50.077553 | 2017-01-05T20:07:36 | 2017-01-05T20:07:36 | 24,997,357 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 336 | cpp | #include "Plant.h"
#include <cstdlib>
#include "World.h"
void Plant::performAction(World &world)
{
trySpread(world);
}
void Plant::trySpread(World &world)
{
if(rand() % 256 == 0) {
spawnChild(world);
}
}
void Plant::onKill(World &world, Organism &killer)
{
world.addEvent(killer.repr() + " eat... | [
"cubuspl42@stgn.pl"
] | cubuspl42@stgn.pl |
becd20fea7c65f7a9f6e2b55d86914639a45fba0 | ecdf23a4df816a6a77db2681bbbe67d2f0b1955d | /lw1-7/warehouse/Shapes.cpp | c3deb907edfc504e0688ca604254c8e2cf53f981 | [] | no_license | ivan-uskov/combinatorial-math | a0edf63f595e8cebbe92c61a14b1e906126b5b70 | 68e9ba0a53882a82043e61787e63d2db6cd8deaa | refs/heads/master | 2021-01-19T00:46:57.956032 | 2015-07-05T19:18:16 | 2015-07-05T19:18:16 | 31,540,031 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 668 | cpp | #include "stdafx.h"
#include "Shapes.h"
using namespace std;
namespace Shapes
{
namespace
{
double ToD(unsigned num)
{
return static_cast<double>(num);
}
double GetLineKCoef(Point const& p1, Point const& p2)
{
if (p1.x == p2.x)
{
... | [
"ivan.uskov@cpslabs.net"
] | ivan.uskov@cpslabs.net |
8e96dcc3a9b7a3485e2a6e20eb70af7c53e988e6 | 1877a90e113f737725df2008f754e2e1b9c66cac | /maerklin/can.cpp | e86dc8a4188ccea1f804d097390d4217c8a74820 | [] | no_license | adi64/maerklinspass | a364eb8b0884e7cefd2480fc59b92f168406657f | 852794dcfe91a41800c15ebc2e14089f0c2049ca | refs/heads/master | 2021-01-10T14:50:35.253311 | 2017-12-07T15:46:23 | 2017-12-07T15:46:23 | 55,231,909 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,641 | cpp | #include "can.h"
const SPISettings CAN::SPIConfig(10000000, MSBFIRST, SPI_MODE0);
void CAN::start(CAN::MessageHandler * msgHandler, CAN::ErrorHandler * errorHandler)
{
cli();
s_sendQueueFree = 0;
s_sendQueueNext = 0;
s_sendPending = false;
s_receiveQueueFree = 0;
s_receiveQueueNext = 0;
s_handlingMess... | [
"lukas.durdel@student.hpi.uni-potsdam.de"
] | lukas.durdel@student.hpi.uni-potsdam.de |
73cb610c21d045ca1950bb46984a73a53295f579 | 6152d9c1db3a5b6b62f58587ab157989632f60df | /c++ programs/Assignment_Operator_Overloading.cpp | 0ec1f11de59c4fd7e62418df2ceefb7066a64cb7 | [] | no_license | kunal-Khulbay/My-programming-practice-works | ed0413e9f38ac6ed2b764687435a59b88b669b67 | b466639ee3f6543f7a04750ac810adb023096ac9 | refs/heads/master | 2023-02-28T02:30:01.403362 | 2021-02-03T08:57:05 | 2021-02-03T08:57:05 | 332,428,251 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 825 | cpp | /*Author: ALOK KHULBAY.
Date:17-09-2020.
Purpose:To self learn.
Program to illustrate the concept of Assignment Operator Overloading
*/
#include <iostream>
using namespace std;
class A
{
public:
A &operator=(char)
{
cout << "A& A:: operator=(char)" << endl;
return *this;
}
virtual A &ope... | [
"khulbay5@gmail.com"
] | khulbay5@gmail.com |
c7b969bfde1fe70c25df87768fa6ee2b73c5d019 | f12600620d7fa831a789b8cf8a4cfcfce418d1a5 | /exercises/pe82.hpp | 637b3cd477103fbeca030fa37437034bdd9db52d | [] | no_license | evilquinn/projeul | 1fb688e3471f41516e83041346fcbbe75eb76840 | be1c62aa23becc07b46c55fb343f4ceadfd9d3bd | refs/heads/master | 2023-02-07T00:45:33.630379 | 2023-01-26T22:30:35 | 2023-01-26T22:30:35 | 96,466,000 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 415 | hpp | /*
* pe82.h
*
* Created on: 13 Jun 2015
* Author: evilquinn
*/
#ifndef PE82_HPP_
#define PE82_HPP_
#include <pe.hpp>
#include <pe_register.hpp>
class pe82 : public pe
{
public:
pe82() : name_( "pe82" ){};
~pe82() override = default;
std::string& name() override;
int number() override { ret... | [
"evilquinn@gmail.com"
] | evilquinn@gmail.com |
e1f08db3d19747f92e69f709e87f1ae45e789cdc | d3b2d0432a4f488128c2798829d017a1a2377318 | /caffe/include/caffe/layers/lstm_layer.hpp | 1c6483be2faef4d85a3bb2f688a01eb680f8f0dd | [
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | openvinotoolkit/training_toolbox_caffe | 94b65290724e839cdb50e4accf6a79776190402d | 5e543a49c73190a091fe6ff364444a9714962ec0 | refs/heads/develop | 2023-01-05T17:07:42.279772 | 2022-12-21T06:50:52 | 2022-12-21T06:50:52 | 165,683,591 | 4 | 3 | Apache-2.0 | 2022-12-21T06:50:53 | 2019-01-14T15:19:52 | Jupyter Notebook | UTF-8 | C++ | false | false | 7,925 | hpp | /*
All modification made by Intel Corporation: © 2016 Intel Corporation
All contributions by the University of California:
Copyright (c) 2014, 2015, The Regents of the University of California (Regents)
All rights reserved.
All other contributions:
Copyright (c) 2014, 2015, the respective contributors
All rights rese... | [
"evgeny.izutov@intel.com"
] | evgeny.izutov@intel.com |
b66b5e908480be498801aba050082085e7b3fe03 | 0fc70b83e9297e3d0985250a8187f41a6ff059ae | /dash/test/TeamLocalityTest.h | 5bcc783a2a8a8470b1b3d7eb9ea5fce33ddd01cc | [
"BSD-2-Clause"
] | permissive | dhinf/dash | a1a94701cb58aa64a8dddb7316aceb2d6d7b7780 | f238aeb6446ebbb64eb94252ed5a4c8b5814c7d5 | refs/heads/development | 2021-01-11T02:54:15.139921 | 2017-02-13T12:21:25 | 2017-02-13T12:21:25 | 70,886,118 | 0 | 0 | null | 2016-10-14T07:39:16 | 2016-10-14T07:39:15 | null | UTF-8 | C++ | false | false | 454 | h | #ifndef DASH__TEST__TEAM_LOCALITY_TEST_H_
#define DASH__TEST__TEAM_LOCALITY_TEST_H_
#include "TestBase.h"
/**
* Test fixture for class dash::TeamLocality
*/
class TeamLocalityTest : public dash::test::TestBase {
protected:
TeamLocalityTest() {
LOG_MESSAGE(">>> Test suite: TeamLocalityTest");
}
virtual ~... | [
"fuchst@nm.ifi.lmu.de"
] | fuchst@nm.ifi.lmu.de |
93d7ec1259b59a59a314ca2397a98964409f7387 | 775acebaa6559bb12365c930330a62365afb0d98 | /source/public/interfaces/graphics/IGradFillGraphicStateData.h | 31ab823d21ce3e1b4587fbd66f79d59bbba28bf8 | [] | no_license | Al-ain-Developers/indesing_plugin | 3d22c32d3d547fa3a4b1fc469498de57643e9ee3 | 36a09796b390e28afea25456b5d61597b20de850 | refs/heads/main | 2023-08-14T13:34:47.867890 | 2021-10-05T07:57:35 | 2021-10-05T07:57:35 | 339,970,603 | 1 | 1 | null | 2021-10-05T07:57:36 | 2021-02-18T07:33:40 | C++ | UTF-8 | C++ | false | false | 2,186 | h | //========================================================================================
//
// $File: //depot/devtech/16.0.x/plugin/source/public/interfaces/graphics/IGradFillGraphicStateData.h $
//
// Owner: Thanh Nguyen
//
// $Author: pmbuilder $
//
// $DateTime: 2020/11/06 13:08:29 $
//
// $Revision... | [
"75730278+Tarekhesham10@users.noreply.github.com"
] | 75730278+Tarekhesham10@users.noreply.github.com |
a08206dd92c72e92fd692eafa33b96f4f112a237 | 97c5690ab63c3f610aee479d2023062ad917a822 | /src/rpc/budget.cpp | 84f8ba6212933cc7c82187261678fded7e70a121 | [
"MIT"
] | permissive | MNTracker/MNT | 79ee23fa52807296ac939187c9a5206166ca30d7 | c37348a51d997fdcb9fac0c42a4751c0a3f91de7 | refs/heads/master | 2020-04-18T08:34:20.018806 | 2019-02-18T03:16:30 | 2019-02-18T03:16:30 | 167,401,201 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 45,435 | cpp | // Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2018 The PIVX developers
// Copyright (c) 2018-2019 The MNT developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "activemasternode.h"
#inclu... | [
"33366277+risingstar2018@users.noreply.github.com"
] | 33366277+risingstar2018@users.noreply.github.com |
d0239a85fd0f0ad5c68e33632e58b0e1b64338d5 | 5e5a98262f57f7c1a79025e452cfb449fa81ade8 | /Day_5/shakz/gpterm.cpp | 629b16da19c13376455626534b137e238e982eb7 | [] | no_license | shakira20/60daysOfDsAndAlgo | 0c13f01eb8186bced856bfae21f4760d52318ee6 | cf97a20ef73cbc87398cc9cc886c16fc75caeb32 | refs/heads/master | 2022-11-23T18:53:43.815762 | 2020-08-03T17:46:26 | 2020-08-03T17:46:26 | 283,391,910 | 0 | 0 | null | 2020-08-03T17:46:27 | 2020-07-29T03:49:46 | Python | UTF-8 | C++ | false | false | 411 | cpp | #include <bits/stdc++.h>
using namespace std;
void gpterm(int a,int r,int n);
int main()
{
int a,b,n;
std::cout << "enter the first term "<< std::endl;
cin >> a;
cout<<"enter the ratio";
cin >> b;
std::cout << "enter the position" << std::endl;
cin >> n;
gpterm(a,b,n);
return 0;
}
vo... | [
"shakirapp23@gmail.com"
] | shakirapp23@gmail.com |
afbf784dbf918640d945752d300f69f709811c11 | 41df197fd0458619c7cbba2fd27f2eef9411702b | /projects/libhttp/src/httprequesthandler_file.cpp | 33bb6a41a660a26d10032671e3f78696548f29c3 | [
"Apache-2.0"
] | permissive | xwpcom/CoreLooper | 80c0883cd10d2997c6a526ea6d7c70cd1a6e6915 | b6764cc8eed7a616ff8be0ee84e3fe42968188df | refs/heads/master | 2023-08-29T13:46:40.168936 | 2023-08-24T07:27:30 | 2023-08-24T07:27:30 | 138,360,379 | 41 | 11 | null | null | null | null | UTF-8 | C++ | false | false | 9,980 | cpp | #include "stdafx.h"
#include "httprequesthandler_file.h"
#include "file/virtualfolder.h"
#include "httptool.h"
#include "string/utf8tool.h"
using namespace Bear::Core;
namespace Bear {
namespace Core {
using namespace FileSystem;
namespace Net {
namespace Http {
NameValue *HttpRequestHandler_File::m_m... | [
"xwpcom@163.com"
] | xwpcom@163.com |
f589134fdf7b0eb6e4b9f069d8d7200f892bb403 | aff0c3bb37574b1031e603b94e4a2e1b4461ba65 | /src/main.cpp | f6187de33eb7854c733f6f7b52a6744430961119 | [] | no_license | glennib/getting-started | 888b7f516f70177bebde572dfa354433b78519da | d2bfa18993f327d4a962cebc0b705d98c249b8e9 | refs/heads/master | 2021-01-10T20:33:55.805399 | 2014-05-04T03:33:20 | 2014-05-04T03:33:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 238 | cpp | #include <iostream>
#include <iomanip>
using namespace std;
int main() {
cout << setiosflags(ios::left);
for (int i = 0; i < 6; i++) {
for (int j = 0; j < 4; j++)
cout << setw(17) << "Hello World!";
cout << endl;
}
return 0;
}
| [
"glennbitar@gmail.com"
] | glennbitar@gmail.com |
841e93c7a00e047bd7a5ad2da6511a5d6cc0a57d | 6b63cf9971d73f47a891e7536df6fd40c3169911 | /IAR/PLC/Src/cpp/Wdog.cpp | 92678abc3fad401e76fb8442932238f151c5917b | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | chxb1987/PTZ | e83ceadb1a1a870aa8b56c97fd7b6a450beb516d | 456c7c942c490befc325bbb16433c517104e798e | refs/heads/master | 2020-11-28T18:16:19.820568 | 2016-10-13T15:26:39 | 2016-10-13T15:26:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 310 | cpp | #include "Wdog.h"
namespace RGsystem
{
void WDinit(void)
{
DBGMCU->APB1FZ |= DBGMCU_APB1_FZ_DBG_IWDG_STOP;// Debug WD stop
IWDG->KR=0x5555;// Enter protection
IWDG->PR=0x02;// Precaler = 16
IWDG->RLR=0x7D;// Reload value
IWDG->KR=0xAAAA;// Refresh to RLR val
IWDG->KR=0xCCCC;// Start timer
}
}
| [
"cqdx@list.ru"
] | cqdx@list.ru |
001cbff7093182647abef090763a90c0d7b088e2 | 4c7c50889ff34f6f6376f3b8c24a835fedab7c8a | /aoj/icpc2015asia/c.cpp | bc0eb7c9077d47d6302bd18ba68680c70de3e2b0 | [] | no_license | kojingharang/algorithm_contest | 590d4f2854a1bbed7d70ed16276bcc5e800b57a7 | 3578334ab590671d8cd9f8d97db6ceb3d7a5d3dc | refs/heads/master | 2021-01-16T23:11:50.808394 | 2020-08-19T03:45:36 | 2020-08-19T03:45:36 | 61,990,571 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,413 | cpp | #include <vector>
#include <map>
#include <set>
#include <queue>
#include <algorithm>
#include <numeric>
#include <sstream>
#include <iostream>
#include <iomanip>
#define _USE_MATH_DEFINES
#include <cmath>
#include <climits>
#include <cstdlib>
#include <cstring>
#include <cfloat>
#include <cmath>
#include <ctime>
#incl... | [
"kojingharang@gmail.com"
] | kojingharang@gmail.com |
a431afde9276879159ab4c571790a65bd380e7ed | 334374695eda8800c7f3c2d5c868f7272f655485 | /src/TimerCall.cpp | a0caecb96bda8aaa0764a7d95830e8c2f63a27b5 | [
"Apache-2.0"
] | permissive | yakumo-saki/TimerCall | 1df5bc219a11e46f0eb5d902d2a862a4782b5dda | 8cab0982284ad22dc72fcbe8575582d42396f73d | refs/heads/master | 2023-06-11T00:56:31.864118 | 2021-06-30T14:35:23 | 2021-06-30T14:35:23 | 327,044,838 | 1 | 0 | null | 2021-01-14T16:03:23 | 2021-01-05T15:46:36 | C++ | UTF-8 | C++ | false | false | 3,520 | cpp | #include <Arduino.h>
#include "TimerCall.h"
void TimerCall::add(TimerCall::TimerCallFunction f, String name, unsigned long intervalMs) {
TimerCallTask task;
task.func = f;
task.info.interval = intervalMs;
task.info.name = name;
task.info.callCount = 0;
task.info.lastElapsedMills = 0;
task.... | [
"yakumo@ziomatrix.org"
] | yakumo@ziomatrix.org |
9dc99181de5c2823e1b97f9d154dc2b7cdf81164 | 20b6539b85cf5990438dbe3aaddbfef5b06b2711 | /Classes/MainScene.cpp | 5d55d6993674c2a6c86d35561a93ee8d1dc37731 | [] | no_license | sburavtsov/SushiNeko-Cpp | 656084b9a54c8892a1c680824f1f950f9731d1b9 | a6bb3da896ff7dbf990f7e79f8adac7e727e2614 | refs/heads/master | 2021-01-20T00:33:46.227617 | 2015-08-01T18:03:17 | 2015-08-01T18:03:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,625 | cpp | #include "MainScene.h"
#include "cocostudio/CocoStudio.h"
#include "ui/CocosGUI.h"
#include "Character.h"
#include "CharacterReader.h"
#include "Piece.h"
#include "PieceReader.h"
#include "Constants.h"
USING_NS_CC;
using namespace cocostudio::timeline;
#pragma mark -
#pragma mark Lifecycle
Scene* MainScene::createS... | [
"thedapperdan@gmail.com"
] | thedapperdan@gmail.com |
cf1e93a56a5b9f18b0c5ad29c89493df7c5a6b09 | ef32448968b376fb935c1e0f8c262856be51bd0c | /rtbkit/plugins/adserver/standard_win_source.cc | 94ae4b3323fba1ec61e60e692957da4309782c24 | [
"Apache-2.0"
] | permissive | chinnurtb/rtbkit | 27fb10d6574586b71c488ccdceaeef82b4cf59c6 | 739eb60ac597de85711e48bfa6297b3be0b277b9 | refs/heads/master | 2020-12-07T15:35:56.054766 | 2014-05-04T14:55:07 | 2014-05-04T14:55:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,553 | cc | /** standard_win_source.cc -*- C++ -*-
Eric Robert, 20 Aug 2013
Copyright (c) 2013 Datacratic. All rights reserved.
*/
#include "standard_win_source.h"
using namespace RTBKIT;
StandardWinSource::
StandardWinSource(NetworkAddress address) :
WinSource(std::move(address)) {... | [
"eric@datacratic.com"
] | eric@datacratic.com |
60268e76e8a773d543029f70fcb0aee649814172 | e2e9205dfa900e49ad87adcca7440e8c37a099cb | /Classes/Scenes/LogoScene.h | 7f7994278f467c162963e6c284b76013bc89f3f8 | [
"MIT"
] | permissive | irfanf/Galvighas3D | 3b23f541ff69dc6114038960d3cbad2060c400b9 | b180b18f840efbeac9c5b84b9901f30d7889e123 | refs/heads/master | 2021-01-11T04:56:16.081959 | 2017-02-17T12:55:25 | 2017-02-17T12:55:25 | 76,841,836 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,130 | h | //_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
//!
//! IRFAN FAHMI RAMADHAN
//!
//! 2016/5/24
//!
//! LogoScene.h
//!
//! Copyright ©2016 IrGame All Right Reserved
//_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
//---------------------------------------------------------------------
#ifndef __LOGOSCENE_H... | [
"lamperouge2702@gmail.com"
] | lamperouge2702@gmail.com |
035f43d1a4764bbf5608a4298b87de748a5b12c8 | 893a481b4fc880befd58e4d2e580fd09bf67e07e | /src/Common/Geometry/Geometry.cpp | a5880469b5f97ea7dd95d71ba9e35ca3e8ede5a3 | [] | no_license | jumpinjackie/mgserver-next | 5633c7f6c5526e5685641fbfa593582be1b91b1c | 2575ba951f6eeb51f45ebcaed7ca047081617091 | refs/heads/master | 2021-01-21T10:46:05.169480 | 2017-04-08T07:55:18 | 2017-04-08T07:55:18 | 83,483,035 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,404 | cpp | //
// Copyright (C) 2004-2011 by Autodesk, Inc.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of version 2.1 of the GNU Lesser
// General Public License as published by the Free Software Foundation.
//
// This library is distributed in the hope that it will be use... | [
"jumpinjackie@gmail.com"
] | jumpinjackie@gmail.com |
fe417da764977649cd5367c3d2c3bd5299002397 | abe368495116213ab56e0583e1903564b5857131 | /physical_operator/exchange_sender.cpp | 44ed3b3023e241bdcbd6459fa14822632f23522c | [] | no_license | Jackson1992/CLAIMS | 56c630d2a6e74e16e42bb9ee96b1f5257da73371 | f9409a99bd75654c78091c25f0d79350693126bb | refs/heads/master | 2020-05-25T11:33:16.565631 | 2015-11-08T13:03:15 | 2015-11-08T13:03:15 | 35,158,070 | 2 | 0 | null | 2015-05-06T12:48:48 | 2015-05-06T12:48:46 | null | UTF-8 | C++ | false | false | 4,101 | cpp | #include "../common/Schema/Schema.h"
/*
* Copyright [2012-2015] DaSE@ECNU
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this fi... | [
"fzhedu@gmail.com"
] | fzhedu@gmail.com |
a56930aaadde31c57259516261b046f787aca3da | ed49cab9ea0de115991dab2df29655e11c81b61e | /ITStepWorks/DesignPatterns/ChainOfResponsibility/CEO.h | 7a5b6fb5ecf0211f7f96f4132345f416cd906aa3 | [] | no_license | vergilium/itstep | c804a35a3c5942a84d475bf2db162fdccc964e97 | fbebf8029ef303045898acd3b0800c9b5242366f | refs/heads/master | 2021-08-02T13:52:05.996864 | 2021-07-17T16:11:27 | 2021-07-17T16:11:27 | 230,157,890 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 468 | h | #pragma once
#include "Manager.h"
#include <iostream>
class CEO :
public Manager
{
public:
CEO()
{
}
~CEO()
{
}
void Process(const Claim& request)
{
if (request.GetAmount()<100000.0)
{
cout << "\nYour request was approved by CEO. Here is information about it\n";
cout << request.GetTypeOfClaim() <... | [
"vergilium2@gmail.com"
] | vergilium2@gmail.com |
800c31e3c3633ea3719b8ecdf27b0ba0d6e38cf2 | 64595cf9a39bb9289013add25710889264845328 | /virtualkeyboard/trace.h | 4bc85d43f93a46dc584b98c5a347d29416246775 | [] | no_license | dorinbotan/QtJapanese | 7bff5a2a5cca19671e377cde9555542ff3926933 | 81010b5d928afb8ac2dadc8f452ce14aad9bb12f | refs/heads/master | 2021-06-20T00:08:40.558868 | 2017-07-06T08:35:48 | 2017-07-06T08:35:48 | 96,406,812 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,356 | h | /******************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the Qt Virtual Keyboard module.
**
** $QT_BEGIN_LICENSE:COMM$
**
** Commercial License Usage
** Licensees holding valid commerci... | [
"dorinbotan@mail.ru"
] | dorinbotan@mail.ru |
156d7fa432d496beba028f9552bbf92ffa3304e8 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_2751486_1/C++/cegprakash/gcj1.cpp | 083336cd613932a8bafe208412880df601e25473 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,818 | cpp | #include<iostream>
#include<stdio.h>
#include<vector>
#include<queue>
#include<algorithm>
#include<stdlib.h>
#include<string.h>
#include<cstring>
#include<cmath>
#include<sstream>
using namespace std;
long long pos[1000005],minn,n;
bool isVowel(char a){
if(a=='a'||a=='e'||a=='i'||a=='o'||a=='u')
... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
14b8ad22cb6c5c0095c9a4a42dae9fc06446aa8a | a62342d6359a88b0aee911e549a4973fa38de9ea | /0.6.0.3/Internal/SDK/BTTask_Homecoming_classes.h | de737e70c9bbf8d328bcbf89d5963071e938abc4 | [] | no_license | zanzo420/Medieval-Dynasty-SDK | d020ad634328ee8ee612ba4bd7e36b36dab740ce | d720e49ae1505e087790b2743506921afb28fc18 | refs/heads/main | 2023-06-20T03:00:17.986041 | 2021-07-15T04:51:34 | 2021-07-15T04:51:34 | 386,165,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,757 | h | #pragma once
// Name: Medieval Dynasty, Version: 0.6.0.3
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//-----------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
07284048533a21abfa093056a0517505ff782709 | 17073fb12e7a4b2ecba915d626220c61b1037baf | /cpp/src/dp/op/factories.cpp | e360563191241717005259ad9b8caa9203dcfbd4 | [
"MIT"
] | permissive | robotalks/think | a83f42974042f7a37cc4eba1cf823f3197fe2f44 | a734a6496b796e4e4435cc9214e6ede9847dc3c3 | refs/heads/master | 2020-03-16T18:03:49.438250 | 2018-09-15T05:08:30 | 2018-09-15T05:08:30 | 132,858,130 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,002 | cpp | #include "dp/types.h"
#include "dp/operators.h"
#include "dp/graph_def.h"
namespace dp::op {
using namespace std;
struct wrap_factory : public dp::graph_def::op_factory {
function<dp::graph::op_func(
const string&, const string&,
const dp::graph_def::params&)> func;
w... | [
"easeway@gmail.com"
] | easeway@gmail.com |
d0fc9993c2346d1532131ffa35de57d6cf59245b | 3c89528fa43ccd6bd22e593eac571aefa00766e0 | /src/main/cpp/Balau/Util/Files.hpp | bcaee21fb5e60a73a24800f5031c0b5996e75f5e | [
"BSL-1.0"
] | permissive | pylot/balau | f371e54ec94e7ebc08d973105bd17e052e8a7157 | 079a7ad4dfa35f179454b543af9d3f10c870f271 | refs/heads/master | 2020-09-21T15:58:18.897256 | 2019-11-24T09:00:21 | 2019-11-24T09:00:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,894 | hpp | // @formatter:off
//
// Balau core C++ library
//
// Copyright (C) 2008 Bora Software (contact@borasoftware.com)
//
// Licensed under the Boost Software License - Version 1.0 - August 17th, 2003.
// See the LICENSE file for the full license text.
//
///
/// @file Files.hpp
///
/// Utilities for files.
///
#ifndef COM... | [
"contact@borasoftware.com"
] | contact@borasoftware.com |
de630193e7afb5157c7d8912e8ea07f982c4e921 | 340ab26f31878192f83e9616ef704cd9a380e79d | /Linux.C/src/xsock.cc | e7d7a94ba55ce51cfbc4aafbeecba41a8a43bc20 | [
"MIT"
] | permissive | Akasakar/0O0O0o0 | 22a9f6083f20f8ec83807b6d6fa8ef4fd1f854c8 | ba9689adf185d4d9412cdfaad51a0ecba2c7839e | refs/heads/master | 2021-08-06T13:09:51.622299 | 2020-08-08T13:59:18 | 2020-08-08T13:59:18 | 207,205,831 | 0 | 0 | null | 2019-12-10T10:16:24 | 2019-09-09T02:17:09 | C++ | UTF-8 | C++ | false | false | 1,639 | cc | #include <cstdint>
#include <cstring>
#include <cstdio>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <unistd.h>
// #ifndef _LOG_MACROS_
// #define _LOG_MACROS_
// #endif // _LOG_MACROS_
#include "../inc/xlog.h"
#include "../inc/xsock.h"
namespace test_socket
{
xsock::xsock()
{
socket_add... | [
"Akasaka@qq.com"
] | Akasaka@qq.com |
0bbd9d8a17b21a0314bfb2e15b45e5192869bc10 | 36d20a2c232b39b08a64262f5d99ffa331aabe01 | /Userland/Libraries/LibWeb/Layout/FrameBox.cpp | 092aa61d377f937dd77543bb335ef51b8406d29e | [
"BSD-2-Clause"
] | permissive | ReasonablePanic/serenity | c7e8c9f6a3020392fe46c192b3a36ed13388b41a | 6048e245ee807f5520685d0e4751059676e24ed1 | refs/heads/master | 2023-05-01T09:34:42.605849 | 2021-05-21T14:14:40 | 2021-05-21T14:14:40 | 358,444,795 | 0 | 0 | BSD-2-Clause | 2021-04-27T19:15:46 | 2021-04-16T01:51:03 | null | UTF-8 | C++ | false | false | 2,296 | cpp | /*
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <AK/Debug.h>
#include <LibGfx/Painter.h>
#include <LibWeb/DOM/Document.h>
#include <LibWeb/InProcessWebView.h>
#include <LibWeb/Layout/FrameBox.h>
#include <LibWeb/Layout/InitialContainingBlockB... | [
"kling@serenityos.org"
] | kling@serenityos.org |
fa40687da126dc00e2ef083a0876d03f2acf026c | f384a1644e0f50fe35134df7ded44abdf2177666 | /198.House Robber/solution.h | f22655665b81710eb439886a0271c9e8b9f1ac2e | [] | no_license | linmaoxige/LeetCode | 9a2ee1d84042169f3964ae1018fe3642d148c44c | c7adf1c8251e0b056b461ba984551fdf8ed84799 | refs/heads/master | 2023-01-09T01:55:52.202494 | 2020-11-09T07:48:44 | 2020-11-09T07:48:44 | 267,604,585 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 483 | h | class Solution {
public:
int rob(vector<int>& nums) {
int n = nums.size();
if (nums.empty()) return 0;
if (nums.size() == 1) return nums[0];
if (nums.size() == 2) return max(nums[0], nums[1]);
for (int i = 2; i < n; i++) {
if (i == 2) nums[i] += nums[i - 2];
... | [
"748893439@qq.com"
] | 748893439@qq.com |
1a8532170f0678f72a919fbdd973a3b36c1d31e5 | b60802c0acd1d1eb6a42b3640426ffb635423c76 | /panel/todoitem.cpp | da2b0a18b783b3cc3dca161cb4b217545c3feba9 | [] | no_license | Qt-Widgets/FloatingUniverse-quickly-store-folders-files-clipboards-open-URLs-files-Desktop-Manager | 11d50fe438fc39a1f21e9ebf9d2134f45003ca78 | 1e456f2164037756850b4ee5226b7513f51cb6e5 | refs/heads/master | 2023-07-15T03:12:10.908962 | 2021-09-01T02:41:30 | 2021-09-01T02:41:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,224 | cpp | #include <QVBoxLayout>
#include <QClipboard>
#include "todoitem.h"
#include "usettings.h"
#include "facilemenu.h"
TodoItem::TodoItem(QWidget *parent) : ResizeableItemBase(parent)
{
setType(TodoList);
// 列表
listWidget = new QListWidget(this);
listWidget->setObjectName("ListWidget");
auto layout = n... | [
"wxy19980615@gmail.com"
] | wxy19980615@gmail.com |
64885b3146fbfabe77a967d4d68f84ca9baf08a6 | 7a272b5567b529b02ba3f3e74b8986fd4f787f61 | /module/src/QmlPlugin.h | 7cbbc1dfd7e298c03fdff7cc60fc678280ea4573 | [] | no_license | wendouzi/DC | 4f7e7c39e8608c71e3a473716f207334d85e3281 | 35596e001f24c2de77c0e4000feeb97f4a399790 | refs/heads/master | 2021-01-11T04:59:51.104977 | 2016-11-27T13:54:44 | 2016-11-27T13:54:44 | 71,857,234 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 418 | h | #ifndef QMLPLUGIN_H
#define QMLPLUGIN_H
#endif // QMLPLUGIN_H
#include <QObject>
#include "CCBaseTypeDefine.h"
class QmlPlugin : public QObject
{
Q_OBJECT
public:
/// constructor.
explicit QmlPlugin(AppId appId, QObject * parent);
/// destructor.
~QmlPlugin();
/// register some infomation at ... | [
"735196447@qq.com"
] | 735196447@qq.com |
e3b0d791fd0756ca20bc8df30ceb1be23fd783ae | e7bd308a4105adf807fb5392445c4aa828d761ff | /src/util.cpp | 1a3cfca1fe13c70ddd8ca29fa89870f5eb2aad1e | [
"MIT"
] | permissive | nuggetbram/apples | 0e47a025fd22656896cc73ffc1ab7dde9167ba06 | 0ed028fd6c902cb1ef5ea28a0a067decc3f92e59 | refs/heads/master | 2016-09-06T00:17:04.791662 | 2014-06-05T11:21:09 | 2014-06-05T11:21:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,897 | 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... | [
"Nuggetbram"
] | Nuggetbram |
3799f2dca785fa359285a3035dfa038438da9d0e | c1acaeb6d287e53316903f9c228a3350f67aa2d6 | /Engine/Include/Engine/MeshGeneration.h | f42f2956113e83f0ccca2da9f484da79e1a38af4 | [] | no_license | larso0/inf319 | eae82530629152fd154a945af5ce5a59787877ec | 9ef7f6990ce920e7823b84d563c389b8e07f3efd | refs/heads/master | 2021-06-20T04:14:42.599557 | 2017-08-15T12:37:01 | 2017-08-15T12:37:01 | 79,217,035 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 282 | h | #ifndef ENGINE_MESHGENERATION_H
#define ENGINE_MESHGENERATION_H
#include "IndexedMesh.h"
#include "Mesh.h"
#include <string>
namespace Engine {
Mesh generateCube();
IndexedMesh generateSphere(unsigned subdivisions);
IndexedMesh loadMesh(const std::string& filePath);
}
#endif
| [
"lars.olav.tolo@gmail.com"
] | lars.olav.tolo@gmail.com |
ddf2db035e4f993e8d54419e133ff9a9f9148646 | 74fee39dbe852461ccee6b6a5093d41759c68879 | /Logic Simulator/InputSocket.cpp | 766b23cd078bea2ebdb6fa5dd0f637426055f5dd | [] | no_license | GeneralKenobi/Logic-Simulator | 1242315207aabc2f583fc8fed71403658ea7f062 | 0ecea3fd934e3b1aa458918a254c8b824848a808 | refs/heads/master | 2021-10-22T11:45:14.264811 | 2019-03-10T15:06:01 | 2019-03-10T15:06:01 | 119,529,372 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,922 | cpp | #include "stdafx.h"
// Method called whenever the Event this object is subscribed to is raised.
void InputSocket::Callback()
{
// Propagate the change of state
InternalStateChanged();
}
// Setter of this Socket's node
void InputSocket::AssignedNode(std::weak_ptr<Node> value)
{
// If we already had an input assi... | [
"szymek.655@gmail.com"
] | szymek.655@gmail.com |
4c56d917d6078d9514f8cb8b29f4bb05573a3fbc | fc48f0e26df0a006f4f24db8d246bcb563c929de | /psychological_test_VS/psychological_test_VS/psychological_test_VS.cpp | 64f920cd4ce3cc5dfa29590ef2d86877beaf8099 | [] | no_license | Saroko-dnd/My_DZ | d7c03b50f178e158fb960342aad8b40799464a4c | efa7e4f4797dec2028c37b9aef9becfd36d25efd | refs/heads/master | 2020-04-04T07:41:47.976042 | 2017-05-27T13:47:05 | 2017-05-27T13:47:05 | 50,512,763 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 614 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <fstream>
#include "answer.h"
#include "addiction.h"
#include "profession.h"
#include "question.h"
#include "subject.h"
#include "test.h"
#include "init_questions_answers.h"
#include <cstdio>
using namespace std;
int main()
{
ifstream file("my_data... | [
"isaroko@mail.ru"
] | isaroko@mail.ru |
e36b57ce6c4b9b6f700c4bd87faeca91e1c5d8be | 09cbd3eb63b290115682c72d529087ae0a56fc71 | /runtime/interpreter/interpreter_impl.cpp | a58558f26beb011c39a018d54c49ff28ed92a80c | [
"Apache-2.0"
] | permissive | openharmony-gitee-mirror/ark_runtime_core | ac3c512a58fd6b52315da0c6f099edf827cd88e6 | 2e6f195caf482dc9607efda7cfb5cc5f98da5598 | refs/heads/master | 2022-07-28T07:38:29.271322 | 2021-11-25T11:45:47 | 2021-11-25T11:45:47 | 410,627,949 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,237 | cpp | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* 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 a... | [
"wanyanglan1@huawei.com"
] | wanyanglan1@huawei.com |
7b0070884719ad02ffcb2dc5448bf48300f99c95 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5631572862566400_1/C++/skyxuan/C.cpp | f911632154ebae816bdb15e108e8200662597333 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,815 | cpp | #include <cstdio>
#include <algorithm>
#include <set>
#include <map>
#include <cstring>
#include <vector>
#include <stack>
using namespace std;
const int N = 2048;
/* vis[N]记录该点是否被访问到 dfn[N]记录该点的时序
* low[N]记录该点可追溯到的最小时序 now作为时间戳
* num记录强连通分量的个数 size[N]记录每个强连通分量中包含的点的个数
* index[N]记录每个点属于哪个强连通分量
* gra... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
63c08c2d95a03e0a3e8e88d36ad4e838256fa62f | 450b9a859ad1bbcb71dc523f4f1cff176e914450 | /lib_underground/Stretch.h | c779d9d1bc0480dd52ac61fffc37779491c9ac8f | [] | no_license | vixryawa/lib_underground | 8fc312918901b69a8a3366f6da26f62d3e2fb6f9 | 3ebf99c1b5b52486f8e9b68fc2b0de979251efc8 | refs/heads/master | 2022-06-06T18:28:46.651135 | 2020-05-06T10:46:29 | 2020-05-06T10:46:29 | 261,469,701 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 913 | h | #pragma once
#include <string.h>
#include<iostream>
#include"CasStation.h"
using std::string;
class Stretch {
CasStation st1;
CasStation st2;
int time; //! время прохождения перегона
public:
Stretch(CasStation& st1, CasStation& st2, int time);
void print() const;
const CasStation& get_stat1();
const CasSt... | [
"vixryawa@ya.ru"
] | vixryawa@ya.ru |
79d77415843fb515514b8cce035b50570aef015e | dbf69b64d7067378a18377908d028910ac2ac86e | /Connectivity/multistep/scc_fwbw.cpp | e1d54f417a7c60d0da257d0bc932856edf3a2a19 | [
"BSD-3-Clause"
] | permissive | suds12/Distributed-SCC | 49d0db52b0afd0b9f5364c6eee5251e0213c6eeb | 725b249ea26e82fc4d34c08b41df48ba3e797e64 | refs/heads/master | 2023-04-12T07:30:50.030622 | 2020-05-26T00:56:10 | 2020-05-26T00:56:10 | 254,989,580 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,717 | cpp | /*
//@HEADER
// *****************************************************************************
//
// Multistep: (Strongly) Connected Components Algorithms
// Copyright (2016) Sandia Corporation
//
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
// the U.S. Government retains ... | [
"sriram882017@gmail.com"
] | sriram882017@gmail.com |
e3c0d2676b3126de34091054fb33eed9bdd6fae8 | ea4ca4a1003aeac5a71fdc1f8d965841470f8879 | /C++/B_5596.cpp | f1479fa5f211e089c03c524057781f2205daa647 | [] | no_license | SeMin4/AlgorithmStudy | e2aba3bf1d369943bf2f745c79b6e4f8f6f82a1d | f698482126362b9e95055b39d48fda7fb0758d73 | refs/heads/master | 2023-05-28T17:27:16.986157 | 2021-06-19T13:11:26 | 2021-06-19T13:11:26 | 237,901,891 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 445 | cpp | //
// Created by SeMin on 2020-03-07.
//
#include <iostream>
using namespace std;
int main(){
ios_base::sync_with_stdio(0);
cin.tie(0);
int maxNum;
int sum_a = 0;
int sum_b = 0;
int tmp;
for(int i = 0; i< 4; ++i){
cin >> tmp;
sum_a += tmp;
}
for(int i = 0; i< 4; ++i)... | [
"ohsemin4@gmail.com"
] | ohsemin4@gmail.com |
873b1214ac1dcaf05103e3ef0cb398e7e3865bc6 | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /ui/views/layout/animating_layout_manager.h | 70561ebe5c72e40f76fcf7404fac2f96ec41b2e6 | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 15,080 | h | // Copyright 2019 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 UI_VIEWS_LAYOUT_ANIMATING_LAYOUT_MANAGER_H_
#define UI_VIEWS_LAYOUT_ANIMATING_LAYOUT_MANAGER_H_
#include <memory>
#include <utility>
#include <ve... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
5deefeed1cca8bb5be175a0ef483d050e06aabba | 5880dc4b0b77e5ba15bd4fed6ce19f7aeb7a0ee3 | /cpp/sorting/selection_sort.cpp | ae997e5f072a0c05a815d620f7e9971c53e0d44c | [] | no_license | rh2010/learn_and_prepare | 06900e209a907805f9a5ce5608555b6ecc2600aa | ff909fe8bbd710d32d7213ec4ea58d5de0943ce4 | refs/heads/master | 2022-06-10T01:44:47.821674 | 2022-05-29T21:07:03 | 2022-05-29T21:07:03 | 86,843,058 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 781 | cpp | #include "sorting.h"
using namespace std;
class selection_sort : public base_sort {
public:
// Constructor
selection_sort(int size)
: base_sort(size) {
}
// Destructor
virtual ~selection_sort() {
}
// implements selection sort
void sort_impl() {
arr_compares = 0;
for (int i = 0; i < size_; ++i) {
... | [
"hooda.rohit@gmail.com"
] | hooda.rohit@gmail.com |
3cc58318c02dbc6ee88012a5adf9aaec1d3f3d1b | 91ff7341649ab9cb4e969e8a1af5312559067534 | /src/AdcNode.cpp | 7d7f174badc5a1d600e8d45946bb53fc0b396d6c | [
"MIT"
] | permissive | EtxeanNet/homie-node-collection | 94147347fca735ae9c9a4905b520d048bb909248 | c9b0da6727fa1e4ea10abccd593e356d024d4525 | refs/heads/master | 2022-07-19T06:50:41.413427 | 2020-05-17T15:31:10 | 2020-05-17T15:31:10 | 264,625,831 | 0 | 0 | MIT | 2020-05-17T15:31:12 | 2020-05-17T09:23:49 | C++ | UTF-8 | C++ | false | false | 3,779 | cpp | /*
* AdcNode.cpp
* Homie Node using the internal ESP ADC to measure voltage.
*
* Version: 1.1
* Author: Lübbe Onken (http://github.com/luebbe)
*/
#include "AdcNode.hpp"
#include <Homie.hpp>
ADC_MODE(ADC_VCC);
// The voltage reported on a NodeMcu is relatively small. On an ESP12S the value is ok
// Measuring th... | [
"luebbe.opensource@gmail.com"
] | luebbe.opensource@gmail.com |
2b52c5c30214688b833a1a273a59141c4d2ce98c | 2592971d92c824aa36eb67a799396b86e5b9ea60 | /modules/flann/include/opencv2/flann/any.h | 83556c3927933a3a24bc0b4fbcbd7b763adeefd9 | [] | no_license | dgiunchi/OpenCV | e0499519882a26eb44982b85e1e8d85512747bfc | 6991db05d53da655ad77980440565a8ed6b5ab1b | refs/heads/master | 2021-01-18T08:28:21.072029 | 2012-09-13T09:51:42 | 2012-09-13T09:51:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,061 | h | #ifndef OPENCV_FLANN_ANY_H_
#define OPENCV_FLANN_ANY_H_
/*
* (C) Copyright Christopher Diggins 2005-2011
* (C) Copyright Pablo Aguilar 2005
* (C) Copyright Kevlin Henney 2001
*
* Distributed under the Boost Software License, Version 1.0. (See
* accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/... | [
"d.giunchi@scsitaly.com"
] | d.giunchi@scsitaly.com |
3c79c513f9215b9d2e6f2272dc77c26ba92ea618 | 4e98b36be65c1020fa3fcea489503a2f18dfbe4a | /AddressBookServer/AddressBookServer/src/dbprovider.h | e490a45fce40bf8a6366265fea980f941c327d0a | [] | no_license | Shumenkov/AddressBook | 706b30ab9ac600b8f67dbdf68123efac72b05508 | 41542ec430f5281b55bb0f9707d0888a3062ff4e | refs/heads/master | 2023-01-02T00:07:28.985750 | 2020-10-25T17:20:35 | 2020-10-25T17:20:35 | 306,844,931 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,854 | h | #pragma once
#include "tcpstructs.h"
#include <QObject>
#include <QDateTime>
#include <QtSql>
#include <QFile>
namespace AddressBook{
namespace Server{
//! CREATE_FILE_NAME - название файла со скриптом создания базы данных
#define CREATE_FILE_NAME "db_create.sql"
//! \brief The DBProvider class - класс для работы ... | [
"SAMURAI@WIN-NJD7LDSQMH8.local"
] | SAMURAI@WIN-NJD7LDSQMH8.local |
76a3aa1ed5fe2f5df7ab0197279656651bdeb686 | 7f26cda249da3814a7b23fca951d048d7c502b25 | /11057.cpp | dbd773ed2f759bb3c227823e6cd2b36892462e34 | [] | no_license | Tomistong/UvaProblemSolution | 30b751e8b3ad658fe37f02e345dc9f9165f67ed2 | caba3cb55d487b2bbbefdbd8a1d9441e6ab0c395 | refs/heads/master | 2023-03-25T08:59:35.101813 | 2018-08-15T11:11:26 | 2018-08-15T11:11:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 924 | cpp | #include<bits/stdc++.h>
using namespace std;
int a[100000];
int bi_search(int m,int high){
int low=0,key=m,mid,index=-1;
while(low<=high){
mid=(low+high)/2;
if(a[mid]==key){
index=1;
break;
}
else if(a[mid]>key){
high=mid-1;
}
else if(a[mid]<key){
low=mid+1;
... | [
"formankhan2014@gmail.com"
] | formankhan2014@gmail.com |
1ab661c19c80af4218b5f42d1623c64d44243fb3 | b776212295f64b4734440acae88b098918ce8a69 | /poj/poj1149.cpp | c08f016d3d5f5d7373145e50668fe239c1aaee9c | [] | no_license | tommy5198/acm | 7635147f18e2e1c54fc87813cccd14fddcac5897 | d65cef14286141684013c3425cca7ad3250867de | refs/heads/master | 2016-08-06T00:53:13.140150 | 2015-05-27T10:52:49 | 2015-05-27T10:52:49 | 7,730,894 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,861 | cpp | #include<cstdio>
#include<queue>
#include<algorithm>
#include<cmath>
using namespace std;
#define INF 1000000000
int n, m;
int cap[102][102];
int flow[102][102];
int pig[1002], pre[1002];
void init(){
scanf("%d%d", &m, &n);
for(int i=1; i<=m; i++){
scanf("%d", pig+i);
pre[i] = 0;
}
for(... | [
"tommy5198@gmail.com"
] | tommy5198@gmail.com |
cc2b7a17a606495de28509a20505121b75574918 | d8cabb3e0df24ac70ed78a7828291532c25fec55 | /2020/May/A. Berland Poker.cpp | 8a17474f97664fffc236f8935199780bde7dfd57 | [] | no_license | Bekon0700/Competitive_Programming | 207bb28418d49a2223efb917c7ddf07dfdf4f284 | ff93fdb2ada1bafabca13431bec7a78a9754e1b8 | refs/heads/master | 2022-10-16T09:38:13.865274 | 2020-06-08T13:12:34 | 2020-06-08T13:12:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,117 | cpp | #include <map>
#include <set>
#include <stack>
#include <queue>
#include <vector>
#include <string>
#include <bitset>
#include <math.h>
#include <stdio.h>
#include <ctype.h>
#include <sstream>
#include <string.h>
#include <stdlib.h>
#include <iostream>
#include <algorithm>
using namespace std;
#define OO 2e9+10
#defi... | [
"naimelias56@gmail.com"
] | naimelias56@gmail.com |
e0ac7a86cc712f9074a85cd06a59da97f6e4184d | e7b67b9ff2181b1c255c34c146eed3e802d9edd6 | /test/test_LinearSolver.cc | 5783c8ba0c4028e2239d7da27b98b2d9564e1d4c | [] | no_license | robertsj/callow | 9b71b77ff5ddb737112d8a4ef41fe6d17e51e748 | 6d0d197bb45184f7a2833090cb161adc434e6843 | refs/heads/master | 2016-09-06T17:13:26.644289 | 2012-09-21T19:18:08 | 2012-09-21T19:18:08 | 5,801,877 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,439 | cc | //----------------------------------*-C++-*----------------------------------//
/*!
* \file test_LinearSolver.cc
* \author Jeremy Roberts
* \date Aug 19, 2012
* \brief Test of LinearSolver class and its subclasses
*/
//---------------------------------------------------------------------------//
// LIST OF T... | [
"robertsj@mit.edu"
] | robertsj@mit.edu |
9e7120a38863818017efccd7336334f78bff9869 | 806b463ed263f65f00426de3aeaf538d6e901689 | /dx11project/textureshaderclass.cpp | e9efa4b121de8015dd2d159e890b8e316fbda0cd | [] | no_license | braedy/directx11-personal | fbc7043317ecde5234b36841b3fcc3b5992b601a | 8d2a677d1a2b76c1c5077fb1ee4d703249bf393c | refs/heads/master | 2020-12-26T03:43:40.726339 | 2016-10-06T15:18:42 | 2016-10-06T15:18:42 | 44,244,573 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,771 | cpp | #include "textureshaderclass.h"
TextureShaderClass::TextureShaderClass(){
m_vertexShader = 0;
m_pixelShader = 0;
m_layout = 0;
m_matrixBuffer = 0;
//set sampler to null
m_sampleState = 0;
}
TextureShaderClass::TextureShaderClass(const TextureShaderClass& other){
}
TextureShaderClass::~TextureShaderClass(){
}
... | [
"bledger@acm.org"
] | bledger@acm.org |
4534ae56bca4d3fac73d013b4e9e2a731fc1710a | 3181b69e42860996b019d71ff956cc1a69c00127 | /final-stitch/graphics.h | d09b417e11f8d9773b60060185ef22ed42add526 | [] | no_license | amcalhoun84/Group-Mu-The-Summerworth-Horror | 4737dc375f841b802cd6158a418999dd39bd9749 | a3e8b36f5d9719841f50f2f273518279bf78c592 | refs/heads/master | 2020-04-05T18:32:21.249738 | 2016-06-09T20:55:12 | 2016-06-09T20:55:12 | 55,563,848 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 625 | h | #ifndef _GRAPHICS_H
#define _GRAPHICS_H
#include <iostream>
#include <cmath>
#include <cstdlib>
#include <ctime>
#include <string>
#include <unistd.h>
#include <ncurses.h>
#include <signal.h>
// #include "worldEngine.hpp"
class Graphics
{
private:
// no need, we just transmit images.
public:
Graphics();
~Graphi... | [
"calhouna@onid.oregonstate.edu"
] | calhouna@onid.oregonstate.edu |
ff2794558951d563b2e4479de714c5e189a95cc7 | 64437fa1298a6f3573e70d85b91bf1c5e4c85ac2 | /Problem 40-49/Problem 47/version_1_0.cpp | f32c7cf01db01a6d92bee855b6548b97a49572ff | [] | no_license | Paspachu/Project-Euler | a4e1b05489380ce67c1e71ee2e3a4ea2f335238d | 8b9f9a703b36afcc8b578b9b9cb5f6a0db20949a | refs/heads/master | 2021-05-23T13:11:53.927363 | 2020-06-30T14:27:33 | 2020-06-30T14:27:33 | 257,499,694 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 991 | cpp | #include <iostream>
#include <vector>
#include <math.h>
using namespace std;
bool check_contains(vector<int> v, int n) {
for (int i = 0; i < v.size(); i++) {
if (v[i] == n) {
return true;
}
}
return false;
}
int factors(vector<int> f, int n) {
for (int i = 2; i <= sqrt(n... | [
"minhochoi.official@gmail.com"
] | minhochoi.official@gmail.com |
d6958308a552abdcb1a2190b5f67cd853778888f | c6ee3c23794c22159744954ca9e97b9464ee2da5 | /boost_asio/cpp_03_example/chat_server.cpp | 02a51022354d51b656f7435f016d413411384cc9 | [
"BSD-2-Clause"
] | permissive | adlternative/boost-learn | 22d297c42fbf2a96e62f7114158757be4fbd2906 | 8efe901dec2b0caa1b6d59b805fd4af121c51e05 | refs/heads/main | 2023-06-02T04:53:06.416148 | 2021-06-13T05:21:41 | 2021-06-13T10:15:15 | 373,145,984 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,422 | cpp | //
// chat_server.cpp
// ~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2021 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)
//
#include "chat_message.hpp"
#include ... | [
"adlternative@gmail.com"
] | adlternative@gmail.com |
c19e933cb780131b5aa7dde7d7b2c0f5eeba73cb | 33aee0607602247436979f6c7e319d731b901d19 | /Kavo-master/Lab4/Person.cpp | d489c790e1ca9a76c67394fb5bfa85c9bfc8ef45 | [] | no_license | DaruyaSergeeva/lab4 | 121bef34c6a6d9a39c70f554e28bd8b8b2598262 | a53b713a456f193766de69fa0066879b9a90fb6a | refs/heads/master | 2023-01-28T01:48:15.032277 | 2020-12-10T10:13:28 | 2020-12-10T10:13:28 | 316,996,215 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 774 | cpp | #include "Person.h"
Person::Person(int idP, int id, string month, string phone)
{
this->idP = idP;
this->id = id;
this->month = month;
this->phone = phone;
}
Person::Person(Person& person)
{
this->idP = person.idP;
this->id = person.id;
this->month = person.month;
this->phone = person.phone;
}
Person::Person... | [
"dashulyaserg"
] | dashulyaserg |
e17dca17e4c7c87b6eff0d32e6223de417c9558e | 198f7ade46226ef0eac2f7beb39716ed2d0ba07b | /6.code/compiler_v1/src/DetectCode.cpp | 8c1deb0383731e74cb1bfff1dbbf9cc17c6195b3 | [] | no_license | EveraertJan/NarrativeCoding | 942487e9a18d88707e4f399fc941ebdda46b5999 | 95608e13f9c50fa88b42e86bcf87ed2ed578f211 | refs/heads/master | 2021-01-19T06:06:04.048607 | 2015-06-25T13:56:27 | 2015-06-25T13:56:27 | 32,923,018 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 113 | cpp | //
// DetectCode.cpp
// compiler_v1
//
// Created by jan everaert on 13/04/15.
//
//
#include "DetectCode.h"
| [
"jan@crashlab.be"
] | jan@crashlab.be |
1269a7ea59ac6c3aa3312cdf6097d0908462ead6 | 04c0f4652bebe27bc7c931c2199d54462c175e8c | /Shared/FindReplace.h | 1f9d9d6a0594d8d1a25a52e473d076088aea2d28 | [] | no_license | layerfsd/ToDoList_Dev | bdd5b892e988281b99b6167d6c64b6fe8466a8b8 | d9bb3c8999ee72bf85a92cc29f0d6aa14d3f3b35 | refs/heads/master | 2021-09-07T13:16:05.508224 | 2018-02-23T10:31:21 | 2018-02-23T10:31:32 | 125,009,385 | 2 | 2 | null | 2018-03-13T07:22:51 | 2018-03-13T07:22:51 | null | UTF-8 | C++ | false | false | 2,201 | h | #if !defined(AFX_FINDREPLACE_H__E7F84BEA_24A6_42D4_BE92_4B8891484048__INCLUDED_)
#define AFX_FINDREPLACE_H__E7F84BEA_24A6_42D4_BE92_4B8891484048__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
////////////////////////////////////////////////////////////////////////////////
const UINT WM_FINDREP... | [
"daniel.godson@gmail.com"
] | daniel.godson@gmail.com |
8d4fece78cd73d2d047dd6075ed79b5aca7d63cd | ed0b7587a7a1dd4b4e97adbd8d8c129585bc6365 | /Queue/src/Queue.cpp | dbf1af4b1f223d6f1da7168d5f473f941ad0cfee | [] | no_license | MaxEntroy/data-structure | 456160e66317203d819d47afef9a4860498650d3 | 84668cc9fae9ab403a36cf764b97792df9e20085 | refs/heads/master | 2021-06-27T08:03:53.056130 | 2017-09-11T07:15:52 | 2017-09-11T07:15:52 | 103,101,722 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 955 | cpp | #include "Queue.h"
#include <iostream>
Status push( Queue& que, ElemType x ){
if( (que.rear + 1)%QUEUE_SIZE == que.front ){
std::cerr << "Overflow";
return OVERFLOW;
}
else{
que.data[ que.rear ] = x;
que.rear = ( que.rear + 1 )%QUEUE_SIZE;
return OK;
}
}
Status pop( Queue& que ){
if( que... | [
"likang@tju.edu.cn"
] | likang@tju.edu.cn |
da04f423b0ab3014a0c81529edb0c51823131cb7 | 3e5bda41c14806ff2e459acb15e63022ba5eeb47 | /OnlineJudge/LeetCode/第1个进度/112.路径总和.cpp | 94e4c060d7368bb0a3f0163ff7d18f795f8fe9f1 | [] | no_license | CrazyIEEE/algorithm | d3ab6e50b3e54a99d86924c6e4a86b8c491b2a40 | 89755fc95c2bace7e644af189ec29df9a2ffb277 | refs/heads/master | 2022-12-31T11:13:03.868343 | 2020-10-14T13:18:49 | 2020-10-14T13:18:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,857 | cpp | /*
* @lc app=leetcode.cn id=112 lang=cpp
*
* [112] 路径总和
*
* https://leetcode-cn.com/problems/path-sum/description/
*
* algorithms
* Easy (44.87%)
* Total Accepted: 11.8K
* Total Submissions: 26.3K
* Testcase Example: '[5,4,8,11,null,13,4,7,2,null,null,null,1]\n22'
*
* 给定一个二叉树和一个目标和,判断该树中是否存在根节点到叶子节点的路径... | [
"228117330@qq.com"
] | 228117330@qq.com |
d5f1b578e4a0aa8be2bc7e271719cf4366e662a4 | 06c470a90cf8c87d44edf241290d6bd7ca6b3c28 | /mikhailchetin@yandex.ru/1 semester/CountingSort/Counting sort.cpp | dcbb106fa9d18d6ccdc74e88f91b09ffad386768 | [] | no_license | kamiltalipov/295-a2 | 3546569d8bbda1d2230c9497a42c7f0ae49951b8 | bcc700c8d645ee22bf7b6ff5b961486c34fac817 | refs/heads/master | 2021-01-10T09:32:53.320476 | 2013-05-26T23:10:39 | 2013-05-26T23:10:39 | 44,483,640 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 500 | cpp | #include<iostream>
#include<string>
#include<vector>
using namespace std;
struct student
{
int number;
string surname;
int mark;
};
int main()
{
vector<student> a[6];
student s;
int n;
cin>>n;
for(int i=1;i<=n;i++)
{
cin>>s.number;
cin>>s.surname;
cin>>s.mark;
a[s.mark].push_ba... | [
"mikhailchetin@yandex.ru"
] | mikhailchetin@yandex.ru |
4d9d855b2fc479199ff9be229ffb62bfeec8c272 | 2ba94892764a44d9c07f0f549f79f9f9dc272151 | /Engine/Source/ThirdParty/WebRTC/sdk_trunk_win/include/net/url_request/url_fetcher.h | 5dcaedde0a9d7945a10bf9f2c40d0a086a8960d1 | [
"BSD-3-Clause",
"BSD-2-Clause",
"LicenseRef-scancode-proprietary-license"
] | permissive | PopCap/GameIdea | 934769eeb91f9637f5bf205d88b13ff1fc9ae8fd | 201e1df50b2bc99afc079ce326aa0a44b178a391 | refs/heads/master | 2021-01-25T00:11:38.709772 | 2018-09-11T03:38:56 | 2018-09-11T03:38:56 | 37,818,708 | 0 | 0 | BSD-2-Clause | 2018-09-11T03:39:05 | 2015-06-21T17:36:44 | null | UTF-8 | C++ | false | false | 13,411 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_URL_REQUEST_URL_FETCHER_H_
#define NET_URL_REQUEST_URL_FETCHER_H_
#include <string>
#include <vector>
#include "base/callback_forward.h"... | [
"dkroell@acm.org"
] | dkroell@acm.org |
df72c0addbb6d7f3726a360c5b420675e70ab8e5 | c47f85f33897c32b41dfd79eb9ecc34fcc0fe2c6 | /Modules/Meshing/BuildingBlock/.svn/text-base/vtkKWMimxSaveVTKSurfaceGroup.cxx.svn-base | 379d976d5901ec71e1fc7ab2452808efcff39494 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-3dslicer-1.0",
"BSD-3-Clause"
] | permissive | pieper/ModelDraw | 1193b716209fdac6a38d48d42a8b9ffcf067a43c | 2ec77974b2c1a8f666704957be854877238e0f0c | refs/heads/master | 2020-05-21T00:19:35.884629 | 2015-06-25T08:42:14 | 2015-06-25T08:42:14 | 2,093,941 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,111 | /*=========================================================================
Program: MIMX Meshing Toolkit
Module: $RCSfile: vtkKWMimxSaveVTKSurfaceGroup.cxx,v $
Language: C++
Date: $Date: 2008/10/26 18:51:24 $
Version: $Revision: 1.23.4.1 $
Musculoskeletal Imaging, Modelling and Experimentation (MIMX)
... | [
"pieper@bwh.harvard.edu"
] | pieper@bwh.harvard.edu | |
42176d1c4af090996901d7ef058031c630574f98 | 3f459d42698f5d5a86303746befd2eecf71aa4c6 | /window10/include/kalmanfilterdir.h | e91a2011e58d7706e3923d10aa1a8e9a43bceb12 | [] | no_license | jessychen1016/Vision_Odometer_4_ZJU_RobotClass | ea0bf1ac184ced5276c7c995c1b7686d87d0416b | 0da0847f1026a6b781b9ed3e2cd6209640d0f721 | refs/heads/master | 2020-05-09T16:18:44.834404 | 2019-05-01T06:33:22 | 2019-05-01T06:33:22 | 181,266,354 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 327 | h | #ifndef KALMANFILTER1D_H
#define KALMANFILTER1D_H
/*
* Kalman Filter For Robot Direction
* Author: Wayne
* Date:2018/5/27
*/
class KalmanFilterDir
{
public:
KalmanFilterDir();
void init(double,double,double,double);
double update(double);
private:
double x,A,p,q,gain,H,r;
};
#endif // KALMANFILT... | [
"chenzexi1016@126.com"
] | chenzexi1016@126.com |
2ea63e6c7ff93e1282f9a1aa8a666784b9085fa0 | 79a9320184d2902828d2a711d3a82be45a3a6b28 | /assvm/libcmplr/cmplr_parameter.hpp | 2ad7705080765b9d62ecde1cf2901a60030fff3c | [] | no_license | u-Bano/libmkf | 99a3f13a73a72f5c482b623fd1f6db6cb5e23f34 | f280317d0f67d32032e277604c1f892fbdd41156 | refs/heads/master | 2020-04-05T02:48:36.813690 | 2016-10-09T01:05:28 | 2016-10-09T01:05:28 | 62,776,606 | 1 | 0 | null | 2016-07-07T05:07:22 | 2016-07-07T05:07:22 | null | UTF-8 | C++ | false | false | 327 | hpp | #ifndef CMPLR_PARAMETER_HPP_INCLUDED
#define CMPLR_PARAMETER_HPP_INCLUDED
#include"typesystem_element.hpp"
#include<string>
struct
Parameter
{
Type type;
std::string name;
Parameter(const mkf::Node& src){read(src);}
void read(const mkf::Node& src);
void print(FILE* f=stdout) const;
};
#end... | [
"lentilspring@gmail.com"
] | lentilspring@gmail.com |
fcb03cad31bd7b56b93884dbec9f9190d5cbc6da | 4312bf1ccf26ef0aa8725af1b7aeedb1b8a57378 | /Cpp.TDD/Second.cpp | 96e9b9012a25c5ea5c503e994fdfe449b1394528 | [] | no_license | mathwiz/CppTDDX | b5d9627849a0486c3a5637745fa4b736528c7faa | 97c0f74091422c25e39d88dbc9d4fed813970333 | refs/heads/master | 2022-10-30T18:46:57.370658 | 2022-10-29T16:25:32 | 2022-10-29T16:25:32 | 123,027,696 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 275 | cpp | //
// Second.cpp
// Cpp.TDD
//
// Created by Yohan Lee on 8/23/19.
// Copyright © 2019 Yohan Lee. All rights reserved.
//
#include <stdio.h>
#include <iostream>
int main(int argc, const char * argv[]) {
std::cout << "Second program!" << std::endl;
return 0;
}
| [
"yohanlee@yahoo.com"
] | yohanlee@yahoo.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.