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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
800f99883a5ce0014adacf6741468451cd7bfb9f | cec302f1b0a1f4c41c3a0b5f9b90d4ab902005a6 | /case-studies/h2o/src/H2oEnclave/h2omain/compress.cpp | ddbee838f6cbe3b6250c231af4810246bbbbb0b0 | [
"Apache-2.0"
] | permissive | kripa432/Panoply | cf4ea0f63cd3c1216f7a97bc1cf77a14afa019af | 6287e7feacc49c4bc6cc0229e793600b49545251 | refs/heads/master | 2022-09-11T15:06:22.609854 | 2020-06-03T04:51:59 | 2020-06-03T04:51:59 | 266,686,111 | 0 | 0 | null | 2020-05-25T04:53:14 | 2020-05-25T04:53:14 | null | UTF-8 | C++ | false | false | 6,533 | cpp | /*
* Copyright (c) 2015 DeNA Co., Ltd., Kazuho Oku
*
* 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, modify,... | [
"shwetasshinde24@gmail.com"
] | shwetasshinde24@gmail.com |
062f9bd1ab767c2d251f3b74469264d5910c0550 | 67f2da456f3d395de4de6e27fa471df5bf0766f1 | /Arduino_Matrix_GUI/include/statHandler.h | fc18feee8903908c78f6c966e52660efe19a93f2 | [] | no_license | SjoerdJoosen/Pixl-Impact | eb78e127e77cae581b98b85186fc62e3f3fc93bd | 0294bd6a01005280999e83c44bb6980087545789 | refs/heads/main | 2023-02-16T23:44:08.753548 | 2021-01-14T11:00:32 | 2021-01-14T11:00:32 | 317,810,649 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 297 | h | #ifndef STATHANDLER_H
#define STATHANDLER_H
#include <Arduino.h>
class StatHandler{
private:
int statValue;
int oldStatValue;
public:
StatHandler(){};
StatHandler(int baseStat);
int getStat();
void setStat(int valueToSetTo);
bool checkForChange();
};
#endif | [
"74236811+reddog34@users.noreply.github.com"
] | 74236811+reddog34@users.noreply.github.com |
df982ddf40d60bf5dfb998563a278ce5d4c72d32 | 7810b13f010d84cbe7f40586ecb3a5d60399b821 | /google/protobuf/unittest_well_known_types.pb.h | bb5f1160221ee79d69c28cfda47a02a4932e3569 | [] | no_license | chrak/MyTestServer | 091d9be4d0d9653abc3750ab2b5213b716afc983 | 189146e3b4d8aeefc93eae6efb14459e25cd3994 | refs/heads/master | 2022-05-02T13:45:21.738700 | 2022-04-11T06:35:26 | 2022-04-11T06:35:26 | 144,518,444 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | true | 180,639 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/protobuf/unittest_well_known_types.proto
#ifndef PROTOBUF_google_2fprotobuf_2funittest_5fwell_5fknown_5ftypes_2eproto__INCLUDED
#define PROTOBUF_google_2fprotobuf_2funittest_5fwell_5fknown_5ftypes_2eproto__INCLUDED
#include <string>
#inclu... | [
"chrak@com2us.com"
] | chrak@com2us.com |
f0853b9cbbafb3ac8f549a7830b9debf1f8dd44b | 5e9fb4da7aed28bdb39f95d85bd6f6cb479e0bd2 | /63.5/uniform/time | 25e209ba4a1862f3c031fa8c852496d44779f585 | [] | no_license | wxyhappy0201/pipeflow_snappyHexMesh | fe0d59852370ca5e276258bc9f7b3a21a9ff1a70 | 1d534dfb274b3a4db4d1ffa2971d34be985b77aa | refs/heads/master | 2022-02-08T17:16:47.004690 | 2019-07-22T21:39:19 | 2019-07-22T21:39:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 971 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1906 |
... | [
"tong011@e.ntu.edu.sg"
] | tong011@e.ntu.edu.sg | |
723f720dff4905239abc9d46da2a4c826c953c08 | f065801a4839ac08672683b692524d9f604b65f3 | /modules/ahci/ahci.h | 11855688467597e42c2a5924a815014b2f180586 | [
"BSD-3-Clause"
] | permissive | PoisonNinja/Pepper | 4f48a06a401d6617496c69fe6550ff8e4dded5b3 | ee5773006a02ab05459491c62eab0413994cfe80 | refs/heads/master | 2022-01-14T16:11:28.079999 | 2021-12-30T03:34:27 | 2021-12-30T03:34:27 | 91,926,989 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,171 | h | #pragma once
#include <cpu/interrupt.h>
#include <fs/block.h>
#include <mm/dma.h>
#include <types.h>
using FIS_TYPE = enum {
FIS_TYPE_REG_H2D = 0x27, // Register FIS - host to device
FIS_TYPE_REG_D2H = 0x34, // Register FIS - device to host
FIS_TYPE_DMA_ACT = 0x39, // DMA activate FIS - device to ho... | [
"syscallrax@gmail.com"
] | syscallrax@gmail.com |
f52f4957cce501086d0456cbd649fa19909bd5bc | c6b483cc2d7bc9eb6dc5c08ae92aa55ff9b3a994 | /examples/adaptor/RawMap.cpp | 74ac91e11f72383e5d23dc589d2af8fdb3b84111 | [
"Apache-2.0"
] | permissive | oguzdemir/hazelcast-cpp-client | ebffc7137a3a14b9fc5d96e1a1b0eac8aac1e60f | 95c4687634a8ac4886d0a9b9b4c17622225261f0 | refs/heads/master | 2021-01-21T02:53:05.197319 | 2016-08-24T21:08:14 | 2016-08-24T21:08:14 | 63,674,978 | 0 | 0 | null | 2016-07-19T08:16:24 | 2016-07-19T08:16:23 | null | UTF-8 | C++ | false | false | 4,278 | cpp | /*
* Copyright (c) 2008-2015, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | [
"ihsan@hazelcast.com"
] | ihsan@hazelcast.com |
d1e1e82c5c4258525bb75bc4beed0baa1606669c | b9d335b40359423a868f36bb50533e355f409b38 | /Course C++ workshop/HW/part _2/Afeka/part _2/Airline/Airline/main.cpp | ab2afc829ef4492a83db4bb7a09d389eb437449b | [] | no_license | YigalOrn/Afeka | 58c8426af091ab854f041781b301c146623f7641 | cdf47b5a1241af8e00a1fe9e4912e6617e3fff6b | refs/heads/master | 2020-03-14T06:17:22.846129 | 2019-02-07T10:11:34 | 2019-02-07T10:11:34 | 131,480,781 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,922 | cpp | #include "Airline.h"
#include <iostream>
using namespace std;
void main()
{
//Create Airline
Airline airline("EL-AL");
//Create Planes
Plane p1(50), p2, p3(200);
airline.addPlane(p1);
airline.addPlane(p2);
airline.addPlane(p3);
//Create Staff Members
Pilot** pilots = new Pilot*[3];
Attendant** attendants ... | [
"yigalorn@gmail.com"
] | yigalorn@gmail.com |
11f109901d9356efe211c6a7f2e9aa3b5241b213 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/curl/gumtree/curl_repos_function_1253_curl-7.35.0.cpp | 28ffb7ead0f465ad2cb5c31abb1e6c50a44fdc92 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 55,136 | cpp | CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
va_list param)
{
char *argptr;
CURLcode result = CURLE_OK;
long arg;
#ifndef CURL_DISABLE_HTTP
curl_off_t bigsize;
#endif
switch(option) {
case CURLOPT_DNS_CACHE_TIMEOUT:
data->set.dns_cache_timeout = va_arg(param,... | [
"993273596@qq.com"
] | 993273596@qq.com |
4e2842c37ea1870cda63f375ea9344c09f2a24b2 | 1af5af91c0d692f7814f57441bee61a3b9ad1f1e | /70-climbing-stairs.cpp | 3e505f96131019621398096e95bc9f2610768237 | [] | no_license | raiseyang/leetcode | b064cd22fc09cfcf562a886e1e12d752ee2e7c37 | 4316dab854b17b3c26beb9c016539d4c2067f8e1 | refs/heads/master | 2022-02-21T19:12:52.990374 | 2019-09-07T08:23:52 | 2019-09-07T08:23:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 290 | cpp | class Solution {
public:
int climbStairs(int n)
{
int c1 = 1, c2 = 2;
if (n < 3)
return n;
for (int i = 3; i <= n; ++i)
{
int tmp = c1 + c2;
c1 = c2;
c2 = tmp;
}
return c2;
}
};
| [
"maxime.limy@gmail.com"
] | maxime.limy@gmail.com |
ae7c5e7701da36e38982aa3553911b0084aab8f7 | 4836ee9e77b6e1c23fbef4db492c147b88267a06 | /Algorithm_Training/Blue/Lecture10/5/main.cpp | 4da51eab1dc9a1485777da2d73e8dd81ba749ff5 | [] | no_license | namnh97/CCode | 33da753e575acabea37f69f8ab8a7c2e0d7458cf | bdf85622206b4a8a8ed46867ee15e000f020849b | refs/heads/master | 2022-08-16T06:46:43.741051 | 2022-07-27T02:44:03 | 2022-07-27T02:44:03 | 165,805,230 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,776 | cpp | //https://open.kattis.com/problems/shortestpath3
#include<bits/stdc++.h>
#define ll long long
#define pb push_back
#define mp make_pair
#define pii pair<int, int>
using namespace std;
const int MAX = 1001;
const int INF = 1e9;
struct Edge {
int from;
int to;
int weight;
};
vector<Edge> graph;
int m, n,... | [
"namnh997@gmail.com"
] | namnh997@gmail.com |
bd1bc2af610a9046e5544ca08621c02386a71268 | dfa6ddf5fb513d553d43a028add28cdf40b46249 | /474. Ones and Zeroes.cpp | ebee96f01b36b6ab1efa0be6748626890771b2f2 | [] | no_license | brucechin/Leetcode | c58eb6eedf3a940841a0ccae18d543fd88b76f65 | 798e6f1fa128982c7fd141a725b99805131361cb | refs/heads/master | 2021-11-22T14:31:53.143147 | 2021-10-08T06:50:28 | 2021-10-08T06:50:28 | 109,366,643 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,252 | cpp | /*
In the computer world, use restricted resource you have to generate maximum benefit is what we always want to pursue.
For now, suppose you are a dominator of m 0s and n 1s respectively. On the other hand, there is an array with strings consisting of only 0s and 1s.
Now your task is to find the maximum number of s... | [
"1026193951@sjtu.edu.cn"
] | 1026193951@sjtu.edu.cn |
e4730fd370186636548afde99a9e63ee80d88c32 | 9b26f6ade6215662db0c706661f86f1a5a8713b7 | /FrozenFlame/Game/Source/Objects/WizardEnemy.h | 012ba7a9b7697a25031b7a16d803e1c387242e8a | [] | no_license | mbirky/FrozenFlame | d310c753f73bf092bd0e2fa9427b125c30bce568 | 4264bc86ee66a0c010642ecabf512c920a8082e3 | refs/heads/main | 2023-04-13T20:22:40.245502 | 2018-07-06T07:35:16 | 2018-07-06T07:35:16 | 361,937,727 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,274 | h | /***********************************************
* Filename: WizardEnemy.h
* Date: 10/30/2012
* Mod. Date: 10/30/2012
* Mod. Initials: CM
* Author: Charles Meade
* Purpose: Function declarations for the wizard enemy object
************************************************/
#ifndef WIZARD_ENE... | [
"danielmlima@fullsail.edu"
] | danielmlima@fullsail.edu |
c2ee8a956229bdac101a2d3adc4a4f73dfa4c1a3 | 0459ae96bae0b3b2c9858ce5050e60e3b01b000e | /Christian/PROG_II/Uebung_8/svgfile.h | 4f2e8210964beaaa8b040fb163dd0ce6f81a8443 | [] | no_license | DevCodeOne/WS_1617 | f03f19f1317b93483be4133f768c031bdf2bd364 | 461c7119b0854bbd35f117f0c3f0ccd0b5a3a94c | refs/heads/master | 2021-05-03T12:30:16.521386 | 2017-02-02T09:31:57 | 2017-02-02T09:31:57 | 62,337,029 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,242 | h |
/*
* ++C - C++ introduction
* Copyright (C) 2013, 2014, 2015, 2016 Wilhelm Meier <wilhelm.meier@hs-kl.de>
*
* 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 3 of the License... | [
"christian.r.dev@googlemail.com"
] | christian.r.dev@googlemail.com |
57ef891de81f6fbbeff7fe3046e43ca6a8cb71f8 | d9f2430ec0c61e5cb69d01f3abd5667ab4c924c6 | /datalust/src/Physics/ContactResolver.cpp | 977dc69a5d7779a5c44258ce58ef1cbf4f1efa99 | [] | no_license | ProgrammingMoogle/Portfolio | d74aeff998386e6724ab133d8024b194688a6057 | 8e361dea4b9e523f57525fe2d049667618a6c24d | refs/heads/master | 2020-03-27T04:03:17.361681 | 2018-08-23T22:30:11 | 2018-08-23T22:30:11 | 145,908,779 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,729 | cpp | #pragma once
/******************************************************************************/
/*!
\file ContactResolver.cpp
\author Keonwoo Ryoo
\par email: keonwoo.ryoo\@digipen.edu
\par DigiPen login: keonwoo.ryoo
\par Last Update: 9/8/2017
\date 9/8/2017
\brief
All content © 2017 DigiPe... | [
"42657613+ProgrammingMoogle@users.noreply.github.com"
] | 42657613+ProgrammingMoogle@users.noreply.github.com |
939f94896cd57620e881c45c0253826fabd2f230 | 04fa32e35971bcef99074b97fdf0a611005799c5 | /VersionC++/vector2d.cpp | fe21f6840bd88bc536dc01a7912bb4b6751c0f7b | [] | no_license | AdrianWennberg/ATak | 71cd56c2442b2f9c4c108e7c28a34ef525db7983 | 07aa97c24b47ec0f3194e04d0d84c15f93ff9444 | refs/heads/master | 2021-01-22T21:07:39.882646 | 2017-11-13T06:52:05 | 2017-11-13T06:52:05 | 85,395,233 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 723 | cpp | #include <vector>
#include "vector2d.h"
using namespace std;
template<typename T>
Vector2d<T>::Vector2d(int pRows, int pColumns) : mRows(pRows), mColumns(pColumns), mField(pRows * pColumns) { };
template<typename T>
void Vector2d<T>::setPosition(int pRow, int pColumn, int value)
{
if(pRow < mRows && pColumn... | [
"saikoupanda@gmail.com"
] | saikoupanda@gmail.com |
1ea6635bfa0287eb51c062178ecc9232e541b9c4 | a3be167a074cc31f61bd5df831373d24d4ec008c | /gfg/mimimum_copy_paste.cpp | 9611ef4ed5a237fffa7a7cc022faaf92d1899293 | [] | no_license | Nimishkhurana/Data-Structures | 5a20b0b7882b3e9d2c853433902caba0a4f8b596 | 579c3d26b89392f75864543db821af40cb07622f | refs/heads/master | 2021-07-08T14:36:48.043616 | 2020-07-29T18:48:03 | 2020-07-29T18:48:03 | 160,632,175 | 2 | 2 | null | 2019-10-18T20:10:54 | 2018-12-06T06:52:10 | C++ | UTF-8 | C++ | false | false | 305 | cpp | #include<iostream>
using namespace std;
int main(){
int n;
cin>>n;
int count = 0;
for(int i=2;i<n;i++){
while(n%i==0){
count+=i;
n/=i;
}
if(n<=4 && n>1){
count+=n;
break;
}
}
cout<<count<<endl;
} | [
"nimishkhurana9@gmail.com"
] | nimishkhurana9@gmail.com |
d7cf116cc9b22399798acdea65c4ba346afbbd88 | 539ba303916e1b2bddd364c44cd1a07125449963 | /WebServer/settings.ino | f965ae6381d418f97e11a4ecb4e3dc2952d13413 | [] | no_license | DanLoad/Web-interface-for-ESP32 | bb75ae942cf0b895c4d5fc7a93e6cf55ddbc7226 | 84c836d7175e05e86ba7a7294d19c48a5a0687d9 | refs/heads/master | 2021-05-17T03:55:40.604843 | 2020-03-29T16:38:32 | 2020-03-29T16:38:32 | 250,610,565 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,091 | ino | void Settings_read() {
settingsWifi = readFile("json/settings/Wifi.json", 4096);
settingsNetwork = readFile("json/settings/Network.json", 4096);
settingsMqtt = readFile("json/settings/Mqtt.json", 4096);
settingsAP = readFile("json/settings/AP.json", 4096);
Config = readFile("json/settings/Conf.json", 4096);
... | [
"danmetalist@gmail.com"
] | danmetalist@gmail.com |
8c9dc9e10025ecf20596a68190fb6848241e7869 | 2620e0834c1b58a532e9875c9ea040d664027d9d | /app/src/main/cpp/ClientSocketDataDealThread.cpp | 01961c092e5d3a1d9db8f7e692174b09917479f2 | [] | no_license | EastUp/AndroidJnitSocket | 93fbd92911d1bbabc4a6bcc4b15f66091299b4b6 | 9aa2d33721a6dc0d305b21225f941fd409d25813 | refs/heads/master | 2023-03-18T02:25:59.210426 | 2021-03-09T06:05:47 | 2021-03-09T06:05:47 | 345,900,747 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,660 | cpp | //
// Created by Administrator on 2017/3/3 0003.
//
#include <sys/socket.h>
#include <jni.h>
#include <malloc.h>
#include <memory.h>
#include "my_log.h"
#include "ClientSocketDataDealThread.h"
pthread_cond_t ClientSocketDataDealThread::cond = PTHREAD_COND_INITIALIZER;
pthread_mutex_t ClientSocketDataDealThread::mutex ... | [
"eastrisewm@163.com"
] | eastrisewm@163.com |
4c253911adb8759cd97753fe49fbdd27a4a7dea1 | 1218f0e55768af3c39e4f643ce4e0799c10f19da | /stones.cpp | 7738e81f6c6665cbaa0560375958159a78322b57 | [] | no_license | ravinderdevesh/codechef | a5c35ea185663506f5e263c05e8262e5106802d8 | f3bec3e9691afb552bf3d70e9582947958b20243 | refs/heads/master | 2021-01-19T19:01:49.612685 | 2015-02-21T16:37:44 | 2015-02-21T16:37:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 395 | cpp | #include <iostream>
#include <stdio.h>
using namespace std ;
int main () {
int T ;
scanf("%d" , &T) ;
while(T--) {
string J , S ;
cin >> J ;
cin >> S ;
int count = 0 ;
int lj = J.length() ;
int ls = S.length() ;
for(int i = 0 ; i < ls ; i++) {
for(int j = 0 ; j < lj ; j++) {
if(S[i] == J[j]) {
... | [
"amangoeliitb@gmail.com"
] | amangoeliitb@gmail.com |
9d04ef85f15833ee0424927374eb3d396631da75 | 2dc9ab0ec71fd31900173fb15a6f2c85753180c4 | /third_party/blink/renderer/core/display_lock/display_lock_document_state.h | d7f9ca8cace4b8c39e2fce5046c82ee9541172d8 | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | Forilan/chromium | ec337c30d23c22d11fbdf814a40b9b4c26000d78 | 562b20b68672e7831054ec8f160d5f7ae940eae4 | refs/heads/master | 2023-02-28T02:43:17.744240 | 2020-05-12T02:23:44 | 2020-05-12T02:23:44 | 231,539,724 | 0 | 0 | BSD-3-Clause | 2020-05-12T02:23:45 | 2020-01-03T07:52:37 | null | UTF-8 | C++ | false | false | 6,029 | h | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_DISPLAY_LOCK_DISPLAY_LOCK_DOCUMENT_STATE_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_DISPLAY_LOCK_DISPLAY_LOCK_DOCU... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
de461719b14ba64325d4a0bdc5181b3d63401ef9 | 62126238af2e3e85b9337f66293c2a29946aa2a1 | /framework/Thread/ThreadIOS/Sources/SemaphoreIOS.cpp | 94dca5fcd1729a164ed30b4f509b8c7a175fd0de | [
"MIT"
] | permissive | metalkin/kigs | b43aa0385bdd9a495c5e30625c33a170df410593 | 87d1757da56a5579faf1d511375eccd4503224c7 | refs/heads/master | 2021-02-28T10:29:30.443801 | 2020-03-06T13:39:38 | 2020-03-06T13:51:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 588 | cpp | #include "SemaphoreIOS.h"
#include "Core.h"
IMPLEMENT_CLASS_INFO(SemaphoreIOS)
SemaphoreIOS::SemaphoreIOS(const kstl::string& name, CLASS_NAME_TREE_ARG) : Semaphore(name, PASS_CLASS_NAME_TREE_ARG)
{
pthread_mutex_init(&myMutexLock,0);
}
SemaphoreIOS::~SemaphoreIOS()
{
pthread_mutex_destroy(&myMutexLock);
... | [
"stephane.capo@assoria.com"
] | stephane.capo@assoria.com |
7fca6015b98a46de8c88ad9670f2c30b424d1ce2 | 41ce1bb8f39f17d3500e3d3eece7723948e4ad87 | /First term/changingPartsOfArray/stdafx.cpp | ddc6d60c2c7048ff13245c96c3c30a97c37f6c5e | [] | no_license | KanaevaEkaterina/Projects.2012-1 | 6e5c6edc6c6eaca7dcc115fe418985d69163d6cc | 69c32b4021a8b3b7f0c8edbe4fbf54514d1c6f14 | refs/heads/master | 2021-01-10T18:38:12.555013 | 2013-05-29T08:16:27 | 2013-05-29T08:16:27 | 3,605,254 | 1 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 575 | cpp | // stdafx.cpp: исходный файл, содержащий только стандартные включаемые модули
// homework1.5.pch будет предкомпилированным заголовком
// stdafx.obj будет содержать предварительно откомпилированные сведения о типе
#include "stdafx.h"
// TODO: Установите ссылки на любые требующиеся дополнительные заголовки в файле STDA... | [
"kanaeva.katerina6@gmail.com"
] | kanaeva.katerina6@gmail.com |
7acdde4794f58997746ce847d49b42d872517820 | d8ae6672046671d5fbdb33c81d557e6384d85731 | /src/wallet.cpp | 985d588a2bf87931eb4d6533a28d5880eebb8345 | [
"GPL-3.0-only",
"LicenseRef-scancode-free-unknown",
"MIT"
] | permissive | Phikzel2/haroldcoin-main-23-may | 74862be1e864e8397c7c0fa6e4b9216ed7d9cdbe | f617bb8aa7dbcce1310312f0062a1caf6ebf268c | refs/heads/main | 2023-05-05T08:27:37.573453 | 2021-05-26T19:32:49 | 2021-05-26T19:32:49 | 371,049,557 | 0 | 0 | MIT | 2021-05-26T13:46:30 | 2021-05-26T13:46:29 | null | UTF-8 | C++ | false | false | 132,273 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017-2018 The haroldcoin developers
// Distributed under the MIT software license, see the accompanying
// file COP... | [
"76849967+Harold-Coin@users.noreply.github.com"
] | 76849967+Harold-Coin@users.noreply.github.com |
aec2dc05e56c69e0980256a383fe9fed2b0134d5 | 6ed471f36e5188f77dc61cca24daa41496a6d4a0 | /SDK/PrimalItemConsumable_Kibble_BoaEgg_parameters.h | 3a727f17af9ca4be647c885e83ee850a99a66337 | [] | no_license | zH4x-SDK/zARKSotF-SDK | 77bfaf9b4b9b6a41951ee18db88f826dd720c367 | 714730f4bb79c07d065181caf360d168761223f6 | refs/heads/main | 2023-07-16T22:33:15.140456 | 2021-08-27T13:40:06 | 2021-08-27T13:40:06 | 400,521,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 751 | h | #pragma once
#include "../SDK.h"
// Name: ARKSotF, Version: 178.8.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Parameters
//---------------------------------------------------------------------------
// Function P... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
430818d690cd563f4429ee7b3dfa63776df05920 | 0e5ea03c2455b34a2f416c6c94c1669d7fe26e37 | /_2018_03_20 BattleShip 1/WhiteMtrl.h | 5a31740c520b0f99867c4cc7e9cd95328c4ecfcb | [] | no_license | Arroria/__old_project | 8682652fac9a95898b41eff5b4fdfab023cda699 | efb655b2356bd95744ba19093f25ab266a625722 | refs/heads/master | 2020-09-05T08:02:44.806509 | 2019-11-06T18:01:23 | 2019-11-06T18:01:23 | 220,033,980 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 252 | h | #pragma once
#include "Singleton.h"
class WhiteMtrl :
public Singleton<WhiteMtrl>
{
private:
D3DMATERIAL9 m_mtrl;
public:
D3DMATERIAL9 GetMtrl();
public:
WhiteMtrl();
~WhiteMtrl();
};
#define WHITEMTRL (SingletonInstance(WhiteMtrl)->GetMtrl())
| [
"mermerkwon@naver.com"
] | mermerkwon@naver.com |
fb422b294af9b2d6f1cd6a45ba80e502efa6f39f | 980f03e45ac8bfb9f0e2bb78673337f8e7db20e6 | /src/InputManager.h | 0a50dd499b6236669d2385cd65ff5e0de9f514d1 | [] | no_license | synystro/lux2Dengine | 699fe1d0ec4ed3fdd012c736203465028e560559 | 8c5810209cea1539867af58c9f9a96ae6e09b24e | refs/heads/master | 2023-04-04T11:26:11.943089 | 2021-03-30T17:23:51 | 2021-03-30T17:23:51 | 353,074,834 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 698 | h | #pragma once
#include <vector>
#include <algorithm>
#include "./Controls.h"
class InputManager {
private:
std::vector<int> keysPressed;
public:
bool CheckKeyPressed(int key) {
if(std::find(keysPressed.begin(), keysPressed.end(), key) != keysPressed.end()) {
return t... | [
"pedro_araujo@live.com"
] | pedro_araujo@live.com |
7ea2d204374e67e137dc9b0d02e0873fd66a21d1 | d5550f431e946e009a88020287966b6813c72053 | /数据结构课程设计/迷宫优化/迷宫优化.cpp | 335b3105d2dca39d7b69bdefffbaf998fcc39e14 | [] | no_license | ZZLZHAO/Data-Structure-Course-Design | e4e486dc4025a1e13db564c7327cd3b0b08462d7 | 205d2f333b3ccb9c7494715b0ef42813deb0149b | refs/heads/main | 2023-05-26T13:32:09.019377 | 2021-06-04T14:13:47 | 2021-06-04T14:13:47 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,930 | cpp | #include<iostream>
#include<algorithm>
#include<string>
#include<vector>
#include<cmath>
#include<queue>
#include <Windows.h>
#include <time.h>
#include <iomanip>
#define N 40 // 棋盘/迷宫 的阶数
#define M 20 // 棋盘/迷宫 的阶数
using namespace std;
class Node
{
public:
int x, y; // 节点所在位置
int F, G, H; // G:从起点开始,沿着产的路径,移动到网格上... | [
"1072117118@qq.com"
] | 1072117118@qq.com |
2cf5faa0ac801941a562ffef5740446db93e309a | d022883d70d769802dc9f22a5a34759558e06193 | /src/network/Server.h | af1cada8ebd3809e63abaf11cd66232ed6eec22d | [] | no_license | sokyu-project/sokyu-node | 1599e9859a4b08ec29bba8b1f14230807bed8d3a | c3c3b2968d237e8067ac11bafd142d734c6006da | refs/heads/main | 2023-03-02T01:48:24.014655 | 2021-01-28T05:24:58 | 2021-01-28T05:24:58 | 333,637,977 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 904 | h | #ifndef SERVER_H
#define SERVER_H
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <thread>
#include <atomic>
#include <mutex>
#include "NetworkHandler.h"
// Simple TCP server we will use to communicate with other nodes and respond to requests
typedef unsigned c... | [
"nnemo288@gmail.com"
] | nnemo288@gmail.com |
e3fed17e4f134d3a4586de28c294c9e74c534a9c | 4d42762ddb5034b84585170ca320f9903024fa7f | /build/iOS/Debug/include/Fuse.Controls.Panel.h | a25e469abcbeea3d347648186595632321b46bf9 | [] | no_license | nikitph/omkareshwar-ios | 536def600f378946b95362e2e2f98f8f52b588e0 | 852a1d802b76dbc61c2c45164f180004b7d667e6 | refs/heads/master | 2021-01-01T18:58:16.397969 | 2017-08-01T18:53:20 | 2017-08-01T18:53:20 | 98,473,502 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,656 | h | // This file was generated based on '/Users/Omkareshwar/Library/Application Support/Fusetools/Packages/Fuse.Controls.Panels/1.1.1/$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Animations.IResize.h>
#include <Fuse.Binding.h>
#include <Fuse.Controls.LayoutControl.h... | [
"nikitph@gmail.com"
] | nikitph@gmail.com |
bdff174d6932bfe8d17a3678c9bdbae015316d31 | b4cf51e23c8bfb31f8a2c2e3de94f25e1b7a3109 | /include/afina/Executor.h | dba7c5388e945d311c48a46de005858739c0e5bc | [] | no_license | OlegKafanov/afina | 4d77fccaacb2b6b34e379e67a770c198b3584fd1 | 999549aadbe7d01dc8dd44133e2fc90f4bda2113 | refs/heads/master | 2021-09-05T10:37:46.443781 | 2018-01-26T13:38:45 | 2018-01-26T13:38:45 | 104,130,309 | 1 | 0 | null | 2017-09-19T21:24:26 | 2017-09-19T21:24:26 | null | UTF-8 | C++ | false | false | 2,775 | h | #ifndef AFINA_THREADPOOL_H
#define AFINA_THREADPOOL_H
#include <condition_variable>
#include <functional>
#include <memory>
#include <mutex>
#include <queue>
#include <string>
#include <thread>
namespace Afina {
/**
* # Thread pool
*/
class Executor {
enum class State {
// Threadpool is fully operation... | [
"ph.andronov@corp.mail.ru"
] | ph.andronov@corp.mail.ru |
de2e689593c81e0de74f074407886ba0dc1da58b | 07110f30a6a30a1a6cce260509c60fb16f0dbf92 | /src/include/concore/as_sender.hpp | 80553983ded23ce830886b02a4aa0648165bfc21 | [
"MIT"
] | permissive | Watch-Later/concore | 8d65fe2409684a247f869d8df3952053f32b8149 | 579d2f84039bbf2d9ebe245096b63867702613c9 | refs/heads/master | 2023-06-20T02:03:28.396841 | 2021-06-01T15:23:20 | 2021-06-01T15:23:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,269 | hpp | /**
* @file as_sender.hpp
* @brief Definition of @ref concore::v1::as_sender "as_sender"
*
* @see @ref concore::v1::as_sender "as_sender"
*/
#pragma once
#include <concore/as_operation.hpp>
#include <utility>
namespace concore {
inline namespace v1 {
/**
* @brief Wrapper that transforms a receiver ... | [
"lucteo@lucteo.ro"
] | lucteo@lucteo.ro |
88e78929c23e138486ca606abc87344660912868 | dc37fe84633264f6c829d69d3f41b64760584a64 | /OpenGLConfig/indexbuffer.cpp | e1d41267973ac43a7da8d1aa3a8b8da48c0657c5 | [] | no_license | Hyperionlucky/SuperGis | fa958be38ed369ab659d9ad778c5e04f4b9f29c6 | 99fb4ca20a68328745d4c2d6440cdf424154720d | refs/heads/master | 2020-12-27T14:30:12.030399 | 2020-02-03T10:29:50 | 2020-02-03T10:29:50 | 237,936,106 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 716 | cpp | #include "indexbuffer.h"
#include "glcall.h"
IndexBuffer::IndexBuffer(const unsigned int* data, unsigned int count, unsigned int modeIn) :
count(count), mode(modeIn)
{
ASSERT(sizeof(unsigned int) == sizeof(GLuint));
GLCall(glGenBuffers(1, &rendererID));
GLCall(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, ... | [
"1943414735@qq.com"
] | 1943414735@qq.com |
b6c07b2b3d14df4bf3e34a36d9e0800e65fbd560 | a7764174fb0351ea666faa9f3b5dfe304390a011 | /inc/StepElement_ElementAspect.hxx | 92c10c2938acecb17b7ca6b21960d351454af9ff | [] | 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 | 5,151 | 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 _StepElement_ElementAspect_HeaderFile
... | [
"shoka.sho2@excel.co.jp"
] | shoka.sho2@excel.co.jp |
66aae1da02de6d2e81a45a2d4ce97e839abf6ad6 | 39924b397975b36d8bb0c685d1fdcf604f14caf5 | /IProjectProblem2/Problem2_test/Graph.h | 3abe0cbde6035a1d0801115771829d64aa1e7393 | [] | no_license | mengcz13/oop2016 | 519a1d8048212ddeef0f2f15428dd71f3a26296b | 2e3d557927d2f5eaa1e361e370255629bf733c78 | refs/heads/master | 2021-01-21T13:41:35.544044 | 2016-05-18T04:02:38 | 2016-05-18T04:02:38 | 52,948,605 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,259 | h | #ifndef GRAPH_H
#define GRAPH_H
#include <vector>
#include <queue>
#include <cmath>
struct Point {
double x;
double y;
Point():x(0), y(0) {}
Point(double x1, double y1):x(x1), y(y1) {}
};
struct Edge {
int start;
int end;
double length;
Edge():start(0), end(0), length(0) {}
Edge(int s, int e, double l):start... | [
"mengcz13@163.com"
] | mengcz13@163.com |
9ea73474ab4f505e4e5929aa6869c1f97eceed3a | ee491a9c89b82b0c2732a357e13cbffa6954bdf2 | /src/config.h | 6495c812f55ec939f429d4e9e849b89c11ab3bf4 | [
"MIT"
] | permissive | maxhodak/neat | 9a1da908ab55ffa30f096345e1dc097fe7f4cec9 | 3f844173828eb22009cc8d36c28e75a22adfbae8 | refs/heads/master | 2021-01-02T08:51:37.479731 | 2010-02-14T03:23:44 | 2010-02-14T03:23:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,480 | h | #ifndef __CONFIG_H
#define __CONFIG_H
/******BEGIN LICENSE BLOCK*******
* The MIT License
*
* Copyright (c) 2009 Max Hodak
*
* 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 re... | [
"maxhodak@gmail.com"
] | maxhodak@gmail.com |
5e841693158c2fbef4bc7dd0009fa0f337b1769a | 9ef7ae27f57d24b7fa194ed9fc22d95a2ea2f4fa | /Algorithms/prefixSortUsingRandom.cpp | 59a4fe6cccca64d6a7a997df89e8b7df7cc5027a | [] | no_license | Rahul365/Coding_Practice | e093b745da5e0d589b57d31ff8d4d5bdae46c583 | 4430401991defdd79522da229f040c5e48718487 | refs/heads/master | 2022-07-30T19:59:21.839107 | 2022-07-02T08:10:50 | 2022-07-02T08:10:50 | 241,954,353 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,498 | cpp | #include<bits/stdc++.h>
#define seed srand(time(NULL))
using namespace std;
int pow(int x,int y){
int r =1;
while(y){
if(y&1) r*=x;
x = x*x;
y>>=1;
}
return r;
}
bool sorted(int arr[],int n){
for(int i=1 ;i<n;i++) if(arr[i-1] > arr[i]) return false;
return true;
}
... | [
"rahul.dhiman365@gmail.com"
] | rahul.dhiman365@gmail.com |
72805e7b770675576f4f275adbe9da7d0f925757 | 514128d3338709b7d38e1dab8535392f71409435 | /reconstruction/src/timer/Timer.cpp | 154a818f4cdfca16457bdcc03e9c8ace5d3605a5 | [] | no_license | fukamikentaro/HeteroEdge | 2ba0a1bca7d0b696de60501afa6a133aece73845 | 39511607c5451076cae6b9fa4979496775b46ec6 | refs/heads/master | 2022-10-27T09:18:19.751146 | 2019-07-14T01:11:10 | 2019-07-14T01:11:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 507 | cpp | /*
* timer.cpp
*
* Created on: Jan 3, 2018
* Author: wuyang
*/
#include "Timer.h"
Timer::Timer() {
timeUse = 0.f;
}
Timer::~Timer() {
// TODO Auto-generated destructor stub
}
void Timer::start() {
gettimeofday(&tpstart, NULL);
}
void Timer::end() {
gettimeofday(&tpend, NULL);
countElapseTime()... | [
"you@example.com"
] | you@example.com |
10bb48703bf3fe5c5c52641938f81b08f8905809 | 164e709dcf03ce4769c3ba8f874da0666c35bc03 | /RtTpsRenderLibrary/operation/tps_rl_updatesetupcrosshairoperation.cpp | c15ce66f67d5231cd93f285b515bf44896daa172 | [] | no_license | liq07lzucn/tps | b343894bcfd59a71be48bd47d6eff6e010464457 | a3be6dc50c5f9a2ff448ecff3f5df1956e26ad4f | refs/heads/master | 2021-06-23T16:35:01.349523 | 2017-08-30T08:09:02 | 2017-08-30T08:09:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,113 | cpp | ////////////////////////////////////////////////////////////////
/// Copyright (c) Shanghai United Imaging Healthcare Inc., 2013
/// All rights reserved.
///
/// \author Miao Chenfeng chenfeng.miao@united-imaging.com
///
/// \file tps_rl_updatesetupcrosshairoperation.cpp
///
/// \brief class TpsUpdateSetUpCro... | [
"genius52@qq.com"
] | genius52@qq.com |
6a24f7c5cc162449b7a66a56e4492725553bb643 | 404fb17c7661b6fd0085234decd66618722a93b6 | /Scripts/BDT/neutral_bdt_train.cxx | 962935aa83173805778d1b089413742b4213756f | [] | no_license | ionic-corinthian/Analysis | 3485c0be13dfbe531b8cc3029905f0920bfaa991 | 439d238e313a0441cc0665ec4fb47d7dabdbcae9 | refs/heads/master | 2020-03-17T17:25:58.236033 | 2018-05-17T10:11:55 | 2018-05-17T10:11:55 | 133,788,080 | 0 | 0 | null | 2018-05-17T09:26:14 | 2018-05-17T09:08:29 | C++ | UTF-8 | C++ | false | false | 6,128 | cxx | #include <cstdlib>
#include <iostream>
#include <map>
#include <string>
#include "TChain.h"
#include "TFile.h"
#include "TTree.h"
#include "TString.h"
#include "TObjString.h"
#include "TSystem.h"
#include "TROOT.h"
#include "TMVA/Factory.h"
// #include "TMVA/DataLoader.h"
#include "TMVA/Tools.h"
#include "TMVA/... | [
"colmmurphy@pplxint8.physics.ox.ac.uk"
] | colmmurphy@pplxint8.physics.ox.ac.uk |
0dfdf6692287a2c1b6e1c11e873984180d2b9a73 | f50da5dfb1d27cf737825705ce5e286bde578820 | /Temp/il2cppOutput/il2cppOutput/mscorlib_System_Security_Cryptography_ToBase64Tran1303874555.h | 011abe010d6265397ddf81fd268be9da64bab834 | [] | no_license | magonicolas/OXpecker | 03f0ea81d0dedd030d892bfa2afa4e787e855f70 | f08475118dc8f29fc9c89aafea5628ab20c173f7 | refs/heads/master | 2020-07-05T11:07:21.694986 | 2016-09-12T16:20:33 | 2016-09-12T16:20:33 | 67,150,904 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 993 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Object837106420.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-... | [
"magonicolas@gmail.com"
] | magonicolas@gmail.com |
e4c69a49bb4706081376982f89aff57b1a8a5347 | 4f58cc74e6270729a7d5dbc171455624d98807b4 | /inc/rtspvideocapturer.h | a4e3c941bc56a53fb35bec922cce4053fdfd05b8 | [
"Unlicense"
] | permissive | InsZVA/webrtc-streamer | 5175776a8591472e5491c13f4dc5ba1aa3f867a8 | 10ab5dca8e8efc301c86b976ebf1472706eed89b | refs/heads/master | 2021-01-12T17:37:10.775369 | 2016-10-09T10:54:03 | 2016-10-09T10:54:03 | 71,618,828 | 1 | 0 | null | 2016-10-22T05:28:05 | 2016-10-22T05:28:04 | null | UTF-8 | C++ | false | false | 10,734 | h | /* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** rtspvideocapturer.h
**
** ----------------------------------... | [
"michel.promonet@free.fr"
] | michel.promonet@free.fr |
6c2c6e53a56e0496fb51c9253d272373e37865dc | 3fc56bb274d5040a87f63372796412413c7690d6 | /source stephan/sensor_geometry.cc | 03503c353c9d5ed7024bed3a49c39b6ea407bc51 | [] | no_license | dangerousHans/SEPT | b2f7b6badc32c887549dce61d83a9b9b9c4d037c | 4feca9c51b59018dfd8ab95ac36d75e848a2a419 | refs/heads/master | 2021-01-10T12:42:42.121856 | 2015-11-24T18:00:24 | 2015-11-24T18:00:24 | 46,416,501 | 1 | 2 | null | 2015-11-24T10:52:25 | 2015-11-18T12:12:48 | C++ | UTF-8 | C++ | false | false | 16,087 | cc | /*
half sensor geometry adapted from ExN02 for Stereo Impact SEPT
$Id: sensor_geometry.cc,v 1.18 2008/02/08 11:52:04 bottcher Exp $
Copyright (c) 2002 Stephan Boettcher <boettcher@physik.uni-kiel.de>
*/
#include "sensor_geometry.hh"
#include "detector_geometry.hh"
#include "magnet_geometry.hh"
#include "appertu... | [
"08Merlin@web.de"
] | 08Merlin@web.de |
a0019ab5724902395ba484bf15ce3aa4c7b32816 | 402e5a36be25d49f913da94a71647dc28a0ef359 | /1.ARDUINO PROJECT/28.lcd 16x2/LCD_12c/counter/counter.ino | af4cb10e64b1a0c04fa4678a0f53eeac0c71a77a | [] | no_license | indrabhekti/Arduino-Project-Code | 7b74324dab4361ce6de2d8cc669ac93e72e8d741 | 17f3266ba4f48bdc968ad81a67a813be1eb10aed | refs/heads/main | 2023-05-29T01:53:04.504412 | 2021-06-04T07:27:42 | 2021-06-04T07:27:42 | 373,754,838 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 772 | ino | #include <Wire.h> // Library untuk komunikasi I2C (harus install library)
#include <LiquidCrystal_I2C.h> // Library LCD(harus intall library)
// SDA pin di A4 and SCL pin di A5.
// Connect LCD via I2C, default address 0x27 (default addres harus di cari dulu)(A0-A2 tidak di jumper)
LiquidCrystal_I2C lcd = LiquidCrystal... | [
"indrabhektiutomo@gmail.com"
] | indrabhektiutomo@gmail.com |
89471ed679263c6b644a3babef3631839cd58f8e | c03ca89bc6256e8948eeb2ae171a2e746188fb1b | /GeneralKnowledgeBook.h | e589a71fac9b30b0dbf4ff34a232cf654f13da7f | [] | no_license | ChangeXuan/BookLib-Cpp | 45463907e50b48ab9c220b42ffcac60f0128f71b | 58549ebe8272f4c92ec68bbb967605fe1403302a | refs/heads/master | 2021-01-20T03:34:27.319050 | 2017-04-27T04:54:42 | 2017-04-27T04:54:42 | 89,556,807 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,306 | h | //
// Created by Day on 2017/4/25.
//
#ifndef BOOKLIB_GENERALKNOWLEDGEBOOK_H
#define BOOKLIB_GENERALKNOWLEDGEBOOK_H
#include <iostream>
#include <cstring>
#include "Book.h"
using namespace std;
class GeneralKnowledgeBooks: public Book {
private:
string typeName;
public:
GeneralKnowledgeBooks();
~General... | [
"YourEmailAddress"
] | YourEmailAddress |
c9cc7f1ea25916502778ec8c171ae4600ddfbd8a | 3054ded5d75ec90aac29ca5d601e726cf835f76c | /Contests/Others/RPC/2016/10th Contest/E.cpp | baed34b78fa2a59f8bbbc0f0145ca5e4ae00d7f6 | [] | no_license | Yefri97/Competitive-Programming | ef8c5806881bee797deeb2ef12416eee83c03add | 2b267ded55d94c819e720281805fb75696bed311 | refs/heads/master | 2022-11-09T20:19:00.983516 | 2022-04-29T21:29:45 | 2022-04-29T21:29:45 | 60,136,956 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 464 | cpp | /*
* RPC 10-th Contest 2016
* Problem E: Laser Mirrors
* Status: Accepted
*/
#include <bits/stdc++.h>
using namespace std;
int eulerPhi(int n) {
int ans = n;
for (int p = 2; p * p <= n; p++) {
if (n % p == 0) ans -= ans / p;
while (n % p == 0) n /= p;
}
if (n != 1) ans -= ans / n;
return ans... | [
"yefri.gaitan97@gmail.com"
] | yefri.gaitan97@gmail.com |
a3f94b9ce35b5cecaea905cf604056a5b4504af0 | f6d9ab3fc22d6e7bd95f330ec35bd1bfca81332e | /rotation.cpp | aba791bbd3eb4ff5ffb971adac0f8d4b55f692fc | [] | no_license | P-dot/C-_Fundamentals | a920fd992a0daff3ab9751675130c596517a5d6d | 90463c058ef4c774c2289f44a373b46a4cbaa8b7 | refs/heads/master | 2020-07-23T13:46:05.731295 | 2019-09-10T14:14:21 | 2019-09-10T14:14:21 | 207,578,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 610 | cpp | //This function performs left and right rotations
unsigned char rol(unsigned char val) {
int hightbit;
if(val & 0x80) // 0x80 is the high bit only
highbit = 1;
else
highbit = 0;
// Left shift (bottom bit becomes 0):
val <<= 1
// Rotate the high bit onto the bottom:
// val |= high... | [
"usuario@kali"
] | usuario@kali |
3a50b59a5f8d9255b10e625074da9695fb631217 | 21e2d8b4300bf4eca4a2aa47731ee947af6c5ddf | /Iterativos/Abadias/Source.cpp | 2a342e394c45a834012a25b49407a6f2fa153880 | [] | no_license | AdriPanG/EDA | 0ecbb97ad895ab5f99382ed2f9804f2ff6182910 | 2e6d6c5a269114674e5f05fddc3d5b22779b3f62 | refs/heads/master | 2020-07-10T12:44:22.822964 | 2017-09-09T12:09:01 | 2017-09-09T12:09:01 | 74,014,498 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 789 | cpp | #include <iostream>
using namespace std;
//Precondicion: 0<=n<=long(v) and Paratodo i : 0<=i<n : v[i] >= 0
//Postcondicion: #k : 0<=k<n : Paratodo j : k < j < n : a[k] > numero(v,j)
//numero(v,k) = max(Paratodo l : k<l<n : v[l])
int calculaAbadias(int v[], int n, int &abadias) {
abadias = 0;
int numero... | [
"adripana@ucm.es"
] | adripana@ucm.es |
dc03bf262efcda0b2a12a8583efa75a41cab189e | 6f714dbab92f0507f13aa582fa992277e42c1777 | /Plugin/syslog/SysLogMgr.h | f872d871aa9a2f530b9d72310c134748e29784d1 | [] | no_license | sinzuo/bluedon-soc | 90d72b966ace8d49b470dab791bd65f0d56d520e | 809b59888de2f94b345b36ae33afacdbe103a1dd | refs/heads/master | 2020-09-20T17:54:20.882559 | 2019-11-28T02:27:16 | 2019-11-28T02:27:16 | 224,552,658 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,189 | h | /** ************************************************
* COPYRIGHT NOTICE
* Copyright (c) 2017, BLUEDON
* All rights reserved.
*
* @file SysLogMgr.h
* @brief
*
*
* @version 1.0
* @author xxx
* @date 2017年08月03日
*
* 修订说明:最初版本
**************************************************/
#i... | [
"1586706912@qq.com"
] | 1586706912@qq.com |
f13090370ca4d4379e2ad49eebd5360fe2357af9 | 66949a25a8764ff303887253f5dc3725b026336e | /HelloWorld/datasheet.h | 79654e66aaa2797b2e059636c9ea69e7f8ebb0d2 | [] | no_license | juniorprincewang/MRL | 7526ef76a1c564b7e8b4314e55e46e68faa944bb | b76fa14749e6241ea493d49dbd7b462dbdb5c66e | refs/heads/master | 2021-01-18T22:29:30.866122 | 2017-05-16T01:02:10 | 2017-05-16T01:02:10 | 72,534,367 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,205 | h | #pragma execution_character_set("utf-8")
#ifndef DATASHEET_H
#define DATASHEET_H
#include <QLabel>
#include <QTableWidget>
#include <QLineEdit>
#include <QTableWidgetItem>
#include <QAction>
#include <QItemDelegate>
#include <QTableWidgetItem>
#include <QString>
//#include <QtWidgets>
#include <QObject>
#include "pub... | [
"15201615161@163.com"
] | 15201615161@163.com |
8c19b48befe5dfb1f1fb01abd44266be61a0078b | 85e7114ea63a080c1b9b0579e66c7a2d126cffec | /SDK/SoT_BP_LegendaryTavern_functions.cpp | e8d85971f204ded3e5d4ab3f3d6bb60e453c67eb | [] | no_license | EO-Zanzo/SeaOfThieves-Hack | 97094307d943c2b8e2af071ba777a000cf1369c2 | d8e2a77b1553154e1d911a3e0c4e68ff1c02ee51 | refs/heads/master | 2020-04-02T14:18:24.844616 | 2018-10-24T15:02:43 | 2018-10-24T15:02:43 | 154,519,316 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 774 | cpp | // Sea of Thieves (1.2.6) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_BP_LegendaryTavern_parameters.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
// Fu... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
e2013904b1a32822b7b4040eeb04826211e6c0c1 | 5b6268310d80a288f1c5248b2b99f0bc697fcbe4 | /linux/ftpServer/FTPServer.cpp | 9cc36fb861278055429cf1903a579c935256ef15 | [] | no_license | shanlihou/cppDemo | 9b9a6a2a90b66d043067b7adf7c8abb9068c811d | 2058b6c06cada10c82a25500b33afb8594f35203 | refs/heads/master | 2021-08-27T22:00:42.649146 | 2017-12-10T12:47:14 | 2017-12-10T12:47:14 | 113,749,151 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 69 | cpp | #include "myEpoll.h"
int main()
{
MyEpoll::getInstance()->run();
}
| [
"shanlihou@gmail.com"
] | shanlihou@gmail.com |
db09a88804601d12b545a70315ebab227ff0e4bd | 68ed77e9af79655e78f8a61594cc1b12bd278f59 | /src/gps/UtcTime.cpp | 0ed86c1efcf7d0bcab88d0b230120c02f2a1938a | [
"MIT"
] | permissive | havardhellvik/sensors-and-senders | 4ef79205124471d1add5f4ddae14ed004360a2bf | 9323457a91e0fcdddfbfe3ffea5fba5a7ed7591d | refs/heads/master | 2023-08-16T01:03:28.533747 | 2021-10-04T10:00:45 | 2021-10-04T10:02:58 | 418,494,603 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 613 | cpp | #include "UtcTime.hpp"
#include <cmath>
UtcTime::UtcTime()
: _start(std::chrono::system_clock::now()) {
}
double UtcTime::time() const {
const auto now = std::chrono::system_clock::now();
std::chrono::duration<double> time_since_start = now - _start;
const auto seconds_since_start = time_si... | [
"thomas.evang@km.kongsberg.com"
] | thomas.evang@km.kongsberg.com |
64ee64c7c84f209d271be303584ac184cd24faea | ba9322f7db02d797f6984298d892f74768193dcf | /ccc/src/model/GetJobStatusByCallIdRequest.cc | d4d551444671d8680d407ca30da4de44aa90a7d2 | [
"Apache-2.0"
] | permissive | sdk-team/aliyun-openapi-cpp-sdk | e27f91996b3bad9226c86f74475b5a1a91806861 | a27fc0000a2b061cd10df09cbe4fff9db4a7c707 | refs/heads/master | 2022-08-21T18:25:53.080066 | 2022-07-25T10:01:05 | 2022-07-25T10:01:05 | 183,356,893 | 3 | 0 | null | 2019-04-25T04:34:29 | 2019-04-25T04:34:28 | null | UTF-8 | C++ | false | false | 1,418 | cc | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | [
"yixiong.jxy@alibaba-inc.com"
] | yixiong.jxy@alibaba-inc.com |
39013a60b41c5ed40342738692c2520bf62421fd | c28515164119e13a9fb4ac10e955d4d0838e7572 | /adapters/omnetpp/seed/applications/seed_onoff_client_message_m.h | ba0a8d36f881eecb881c898edaea7496e4278d79 | [
"BSD-2-Clause"
] | permissive | kit-tm/seed | ba23bf10f941d462842c2efb6aae307fabefee88 | c6d4eaffbe25615b396aeabeae7305b724260d92 | refs/heads/master | 2021-08-31T18:11:43.488896 | 2017-12-21T12:48:54 | 2017-12-21T12:48:54 | 115,101,138 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,647 | h | //
// Generated file, do not edit! Created by nedtool 4.6 from seed_onoff_client_message.msg.
//
#ifndef _SEED_ONOFF_CLIENT_MESSAGE_M_H_
#define _SEED_ONOFF_CLIENT_MESSAGE_M_H_
#include <omnetpp.h>
// nedtool version check
#define MSGC_VERSION 0x0406
#if (MSGC_VERSION!=OMNETPP_VERSION)
# error Version mismatch! P... | [
"addis.dittebrandt@gmail.com"
] | addis.dittebrandt@gmail.com |
ce3ad0b0714892a4dc1c23c65849ea6482fedec0 | bb0efbc98574362ec2a769ba5d3c746a761a9d6a | /branches/avilanova/plugins/stable/GpuGlyphs/GPUGlyphs/vtkGlyphMapper.h | edf52951c6b12151c8fb3a7abb7b7c3d101a497d | [] | no_license | BackupTheBerlios/viste-tool-svn | 4a19d5c5b9e2148b272d02c82fda8e6a9d041298 | 9692cff93e5a1b6dcbd47cad189618b556ec65bb | refs/heads/master | 2021-01-23T11:07:25.738114 | 2014-02-06T18:38:54 | 2014-02-06T18:38:54 | 40,748,200 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,500 | h | /**
* vtkGlyphMapper.h
* by Tim Peeters
*
* 2008-02-27 Tim Peeters
* - First version
*/
#ifndef bmia_vtkGlyphMapper_h
#define bmia_vtkGlyphMapper_h
#include <vtkVolumeMapper.h>
class vtkPointSet;
namespace bmia {
class vtkMyShaderProgram;
class vtkUniformFloat;
class vtkUniformIvec3;
class vtkUniformVec3;... | [
"viste-tue@ae44682b-4238-4e27-a57b-dd11a28b3479"
] | viste-tue@ae44682b-4238-4e27-a57b-dd11a28b3479 |
e0a16bd4317247939e2026b017b5bf9962a9e026 | e3b588ac490d4ac67a691a618102ef6126096d19 | /solution2.cpp | 445b4dd9f96ac01851e1dadbd22e363e3759ea9d | [] | no_license | oooooome/LeetCode-cmake | c82d28da56ff12fb40b6b0eeaafc0d5d809b3072 | 38299c8f4aefd36c235a5bb20ea660c114a4c2e7 | refs/heads/master | 2023-08-31T04:52:21.098309 | 2021-10-26T14:06:04 | 2021-10-26T14:06:04 | 403,633,759 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,726 | cpp |
#include <iostream>
//Definition for singly-linked list.
struct ListNode {
int val;
ListNode* next;
ListNode() : val(0), next(nullptr) {}
ListNode(int x) : val(x), next(nullptr) {}
ListNode(int x, ListNode* next) : val(x), next(next) {}
};
class Solution2 {
public:
ListNode* addTwoNumbers(ListNode* l1, ListNod... | [
"liruijie@ebupt.com"
] | liruijie@ebupt.com |
dd545f02defc260c0984699e2ea0ed24a7d7b9a7 | 12d3908fc4a374e056041df306e383d95d8ff047 | /Programs/prog18.cpp | 4358fff151f3f9f7bfa8d3e05c54ddf03421d705 | [
"MIT"
] | permissive | rux616/c201 | aca5898c506aeb1792aa8b1f9dcf3d797a1cd888 | d8509e8d49e52e7326486249ad8d567560bf4ad4 | refs/heads/master | 2021-01-01T16:14:44.747670 | 2017-07-20T05:14:24 | 2017-07-20T05:14:24 | 97,792,948 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,991 | cpp | /* Prog18.cpp
This is a variation of prog17 that demonstrates some struct
pointer syntax.
----------------------------------------------------------------------*/
#include <iostream>
#include <string>
using namespace std;
void main (void)
{
struct StudentRecord
{
char Name[32... | [
"dan.cassidy.1983@gmail.com"
] | dan.cassidy.1983@gmail.com |
de2bd2cbf33c6efe91c3f714de15a82e63a7c231 | b3be27b4bf494270c5c953cf711088a10f79de81 | /src/catalog/plx/unicode/utf16_from_utf8.h | 65dd0c243257578e7faf7d3d53be2bde10422e74 | [] | no_license | cpizano/Plex | 2973b606933eb14198e337eeb45e725201799e7a | b5ab6224ddb1a1ca0aa59b6f585ec601c913cb15 | refs/heads/master | 2016-09-05T18:42:34.431460 | 2016-01-03T21:56:09 | 2016-01-03T21:56:09 | 6,571,011 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 935 | h | //#~def plx::UTF16FromUTF8
///////////////////////////////////////////////////////////////////////////////
// plx::UTF16FromUTF8
namespace plx {
std::wstring UTF16FromUTF8(const plx::Range<const uint8_t>& utf8, bool strict) {
if (utf8.empty())
return std::wstring();
// Get length and validate string.
const... | [
"cpu@chromium.org"
] | cpu@chromium.org |
a052284e3d310e4510f3a1e13d2c297858e01c51 | 5c56bb3fd918c7d267a5f8dc24470379ea1a3271 | /PandaChatServer/mysqlapi/DatabaseMysql.cpp | 5c419e6491903210e7bb6257532728b00e256abf | [] | no_license | eric8068/PandaChatProject | 8009f267733f5290bedf051f3f6aa0a9216956f0 | e374c4ee8446a0c779e426f8542485278b229e89 | refs/heads/master | 2023-03-18T17:12:22.296316 | 2020-08-31T05:11:58 | 2020-08-31T05:11:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,010 | cpp | #include "DatabaseMysql.h"
#include <fstream>
#include <stdarg.h>
#include <string.h>
//#include "../base/AsyncLog.h"
CDatabaseMysql::CDatabaseMysql(void)
{
//m_Mysql = new MYSQL;
m_Mysql = NULL;
m_bInit = false;
}
CDatabaseMysql::~CDatabaseMysql(void)
{
if (m_Mysql != NULL)
{
if (m_bInit... | [
"405126907@qq.com"
] | 405126907@qq.com |
db183aadd494908d01dfa0ea5e0f5fae234ee239 | a76a2581d5d3c1ec2f9529ab4d1db9f9828341d8 | /Common/src/Common/String.h | d0adeb2adebc3c722db8a8ba6246b87ff7cfdd4e | [] | no_license | YanChernikov/IntroToAI | b16f9f08b448db97cf940b299b2a2769b61c9408 | 9b242862616588c4baf048f07d898083cb5f7caf | refs/heads/master | 2021-01-18T21:18:47.738424 | 2016-05-20T05:08:54 | 2016-05-20T05:08:54 | 54,003,690 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,067 | h | #pragma once
#include <string>
#include <vector>
// A series of string manipulation functions that proved useful for parsing
// the input text file
typedef std::string String;
typedef std::vector<String> StringList;
String ReadStringFromFile(const String& path);
StringList ReadLinesFromFile(const String... | [
"yan@tracnode.com"
] | yan@tracnode.com |
e2a02bf56df5e0d7f9a40bf61fd226921128a591 | 90047daeb462598a924d76ddf4288e832e86417c | /chromeos/printing/ppd_provider.cc | aa62d8b35c737ca08ee08911e5d6f78b4f9c4d6c | [
"BSD-3-Clause"
] | permissive | massbrowser/android | 99b8c21fa4552a13c06bbedd0f9c88dd4a4ad080 | a9c4371682c9443d6e1d66005d4db61a24a9617c | refs/heads/master | 2022-11-04T21:15:50.656802 | 2017-06-08T12:31:39 | 2017-06-08T12:31:39 | 93,747,579 | 2 | 2 | BSD-3-Clause | 2022-10-31T10:34:25 | 2017-06-08T12:36:07 | null | UTF-8 | C++ | false | false | 39,322 | 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 "chromeos/printing/ppd_provider.h"
#include <algorithm>
#include <deque>
#include <set>
#include <unordered_map>
#include <utility>
#include <ve... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
21bc86e731c4fd214730de842586689cbb419144 | 4e8fb3672f0c561bf85bd8230c5492e4457f33d1 | /dev/include/core/PostEffect_GaussianBlur.h | a5769a04b678da8956ee6d478ebfc6ce5676d0c1 | [] | no_license | lythm/ld3d | 877abefefcea9b39734857714fe1974a8320fe6c | 91de1cca7cca77c1f8eae8e8a9423abc34f9b38f | refs/heads/master | 2020-12-24T15:23:29.766231 | 2014-07-11T04:42:49 | 2014-07-11T04:42:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 591 | h | #pragma once
#include "core/PostEffect.h"
namespace ld3d
{
class _DLL_CLASS PostEffect_GaussianBlur : public PostEffect
{
public:
PostEffect_GaussianBlur(void);
virtual ~PostEffect_GaussianBlur(void);
bool Initialize(RenderManagerPtr pRenderManager);
void Render(RenderManagerPtr pRenderer... | [
"lythm780522@gmail.com"
] | lythm780522@gmail.com |
dfc2457ca777ca78eca77efe41d509e79378cb51 | a904c42a45b99c6de6c95cf52ba88001740765e4 | /Sources/Maths/Visual/DriverSinwave.cpp | 22bd4315cb8b37cbd430c5a84d3bad3b2b2f4ce3 | [
"MIT"
] | permissive | lineCode/Acid | 0cc31acf1060f0d55631b3cbe31e540e89a44a31 | 573ca8ea9191f62eaab8ef89c34bf15e70e0c1e4 | refs/heads/master | 2020-03-28T14:29:58.922933 | 2018-09-12T06:35:25 | 2018-09-12T06:35:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 356 | cpp | #include "DriverSinwave.hpp"
namespace acid
{
DriverSinwave::DriverSinwave(const float &min, const float &max, const float &length) :
IDriver(length),
m_min(min),
m_amplitude(max - min)
{
}
float DriverSinwave::Calculate(const float &time)
{
float value = 0.5f + std::sin(2.0f * PI * time) * 0.5f;
retur... | [
"mattparks5855@gmail.com"
] | mattparks5855@gmail.com |
f0ec0194df9b99c11bbc6fdc134d75f78aec32d9 | 51e993226766d8a38a8cbdcb16ef2eb34695349c | /sim/rcp.h | d2c71a6ff2ee5078d83b09b55c33e768531d98fe | [] | no_license | sandyhouse/htsimMPTCP | 927d0ef54bf95af3567d103816c78a4cb5d875bf | 3f89d904530d28d40891edb172fb972ea7926973 | refs/heads/master | 2020-03-09T22:25:27.753968 | 2014-01-30T19:54:45 | 2014-01-30T19:54:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,279 | h | #ifndef RCP_H
#define RCP_H
/*
* An RCP source and sink
*/
#include <list>
#include "config.h"
#include "network.h"
#include "rcppacket.h"
#include "eventlist.h"
class RcpSink;
class RcpSrc : public PacketSink, public EventSource {
friend class RcpSink;
public:
RcpSrc(RcpLogger* logger, ... | [
"sdyy1990@gmail.com"
] | sdyy1990@gmail.com |
02a951e53ee244aff6ebf0b4797f409435be68c6 | 6375d90b2a0211053b93e7c65b3b4e67037e74c5 | /bookmanager/bookmanager-tests/01_dbConnectTest.cpp | b3dbcb60c69c82068efad9c248dc322d5c215e90 | [] | no_license | df-wilson/book-manager-cpp | 86fc0c1d45ccf01ae6bd768828da3e58cff80d42 | f255b56bdd6cdec7caee7c02d3f8ce1933362a2e | refs/heads/master | 2021-01-19T10:36:45.023083 | 2020-02-08T20:38:35 | 2020-02-08T20:38:35 | 87,882,611 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,260 | cpp | #include "catch.hpp"
#include "dbConnect.h"
#include <SQLiteCpp/SQLiteCpp.h>
#include <iostream>
#include <string>
using namespace dw;
using namespace std;
TEST_CASE("dbConnect - Test getting initial connection.")
{
SQLite::Database* connection = db_getConnection();
REQUIRE(connection->getFilename() == "/home... | [
"deanwilsonbc@gmail.com"
] | deanwilsonbc@gmail.com |
fdee6265ba93e9aec0bb2a1e5dec08f513608f2e | 69304e6e01ae66df5cec81ece86c44a9c7c53aba | /widget.h | 16f294a799dc6a9f924e068236232a4e958070ae | [] | no_license | Lwxiang/MyTrip | 55acd5cda63c4b61b3ecab2eaabbe68f7a4109fa | a11dcfa1f020ed9889258234f050c01f53569923 | refs/heads/master | 2021-01-10T16:58:10.671888 | 2016-02-29T05:50:35 | 2016-02-29T05:50:35 | 52,767,269 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 846 | h | #ifndef WIDGET_H
#define WIDGET_H
#include "titlebar.h"
#include "toolbar.h"
#include "statubar.h"
#include "contentwidget.h"
#include <QWidget>
#include <QRect>
#include <QBitmap>
#include <QPainter>
#include <QFrame>
#include <QLabel>
#include <QPoint>
#include <QMouseEvent>
#include <QPushButton>
#include <QToolBu... | [
"XUN Lwxiang"
] | XUN Lwxiang |
dbb853a7b1d52cb9bc73dbffd74ec3a21b941d5a | 3e4fd5153015d03f147e0f105db08e4cf6589d36 | /Cpp/SDK/io_intro_wall_blacksmith_01_bp_classes.h | 797e2a16a504acc64ba736001d5b36af0580526a | [] | no_license | zH4x-SDK/zTorchlight3-SDK | a96f50b84e6b59ccc351634c5cea48caa0d74075 | 24135ee60874de5fd3f412e60ddc9018de32a95c | refs/heads/main | 2023-07-20T12:17:14.732705 | 2021-08-27T13:59:21 | 2021-08-27T13:59:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,613 | h | #pragma once
// Name: Torchlight3, Version: 1.0.0
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//------------------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
a0e13fc1f3440a1af96eba344ae7d4744b1b5418 | af009200519ba7d572acf07b9a4fc90e03aceb1f | /src/lassen/Input.hh | e18b0caeac758175723ea6c37a9f1970438aa8df | [
"LicenseRef-scancode-public-domain"
] | permissive | OpenSpeedShop/openspeedshop-test-suite | 1d2c050c66f839d25e350a9edddeff4ada47d722 | 02df4abf2c164722170de9961b8764b8d2b2611f | refs/heads/master | 2021-05-01T20:34:12.215991 | 2020-08-24T18:20:37 | 2020-08-24T18:20:37 | 57,010,138 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,159 | hh | #ifndef INPUT_H
#define INPUT_H
#include "Lassen.hh"
namespace Lassen {
class MeshConstructor {
public:
static void MakeRegularMesh( Mesh * mesh,
int ndim,
int *numGlobal, // total number of zones in each dimension
... | [
"jeg@krellinst.org"
] | jeg@krellinst.org |
fdc5500c87d13f8d60be9b26ca89150695bd8845 | fba0dfdd038e38d0539910ca869052b6559d2496 | /DX11RenderApp/DX11RenderApp/Vertex.cpp | b432c5ee40c1bdee9f077259ed79f94818ec25d9 | [] | no_license | shankkkyyy/GFXPROJECT | 9c1d82702a9bc3a84a1efbf2e1b21054880696b8 | 4f537bb7c8d8bde99abcb6088e4a07ed5641b778 | refs/heads/master | 2021-07-01T16:30:10.020322 | 2017-09-22T02:01:44 | 2017-09-22T02:01:44 | 99,033,428 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,415 | cpp | #include "Vertex.h"
const D3D11_INPUT_ELEMENT_DESC InputLayoutDesc::IDPosSize[2] =
{
{ "POSITION", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 0, D3D11_INPUT_PER_VERTEX_DATA, 0 },
{ "SIZE", 0, DXGI_FORMAT_R32G32_FLOAT, 0, 12, D3D11_INPUT_PER_VERTEX_DATA, 0 }
};
const D3D11_INPUT_ELEMENT_DESC InputLayoutDesc::IDPos[1] =
{
... | [
"dushiweic2@hotmail.com"
] | dushiweic2@hotmail.com |
ff7180be40da434378ae43575c243b24b9546ffc | 03c42ab1f77bf7371869c7ee34d3551b6f13a0ef | /tlm_vppnoc_lib/vpp_noc_core_v1.0/protocol_data_unit/vppnoc_pdu.h | 8e4ba26a5c528195ccc5da9517fc0b94787d5d24 | [] | no_license | Hosseinabady/norc | 4c654c40012a60d74777d349d20dfb79445e7fb3 | c0aa6d77c60b1b88c4ba3526e3e4246c7da6fb00 | refs/heads/master | 2021-01-13T13:39:13.715637 | 2016-12-14T01:41:29 | 2016-12-14T01:41:29 | 76,404,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,391 | h | #ifndef NOC_GENERIC_PAYLOAD_
#define NOC_GENERIC_PAYLOAD_
#include <systemc>
#include "protocol_data_unit/vppnoc_pdu_base.h"
namespace vppnoc {
template <typename HEADER, typename BODY = bool, int size = 10>
class vppnoc_pdu : public vppnoc_pdu_base
{
public:
vppnoc_pdu(): vppnoc_pdu_base(), stream_tail(0),
stre... | [
"mohamamd@hosseinabady.com"
] | mohamamd@hosseinabady.com |
6d1ab11b46cc3924f1cba4403d729f1936a81d35 | 6b3e36e68ae34f85d5d27166687e3479e5333bb4 | /Sources/Elastos/Packages/Apps/Dialer/inc/elastos/droid/incallui/CCallButtonFragment.h | 4854b7999e46983e4921576b3b6493bf0cb23813 | [
"Apache-2.0"
] | permissive | jiawangyu/Elastos5 | 66bec21d7d364ecb223c75b3ad48258aa05b1540 | 1aa6fe7e60eaf055a9948154242124b04eae3a02 | refs/heads/master | 2020-12-11T07:22:13.469074 | 2016-08-23T09:42:42 | 2016-08-23T09:42:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,897 | h |
#ifndef __ELASTOS_DROID_INCALLUI_CCALLBUTTONFRAGMENT_H__
#define __ELASTOS_DROID_INCALLUI_CCALLBUTTONFRAGMENT_H__
#include "Elastos.Droid.Content.h"
#include "Elastos.Droid.Os.h"
#include "Elastos.Droid.View.h"
#include "Elastos.Droid.Widget.h"
#include "_Elastos_Droid_InCallUI_CCallButtonFragment.h"
#include "elasto... | [
"cao.jing@kortide.com"
] | cao.jing@kortide.com |
9b37404d4e67f28f37600f501272933fd8b24bce | a71b70de1877959b73f7e78ee62e9138ec5a2585 | /PKU/2400-2499/P2480.cpp | f0fa36690eb374f3e49966f76b425baac6e71551 | [] | no_license | HJWAJ/acm_codes | 38d32c6d12837b07584198c40ce916546085f636 | 5fa3ee82cb5114eb3cfe4e6fa2baba0f476f6434 | refs/heads/master | 2022-01-24T03:00:51.737372 | 2022-01-14T10:04:05 | 2022-01-14T10:04:05 | 151,313,977 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,154 | cpp | #include <cstdlib>
#include <cctype>
#include <cstring>
#include <cstdio>
#include <cmath>
#include <algorithm>
#include <vector>
#include <string>
#include <iostream>
#include <sstream>
#include <map>
#include <set>
#include <queue>
#include <stack>
#include <fstream>
#include <numeric>
#include <iomanip>
#include <bi... | [
"jiawei.hua@dianping.com"
] | jiawei.hua@dianping.com |
dd1621aa7af8c321977c985708ed216de5ba6610 | 19f039b593be9401d479b15f97ecb191ef478f46 | /RSA-SW/PSME/agent/storage/src/iscsi/config/tgt_config.cpp | e20293c1ae1a22dca3b16b48510705681006cbea | [
"MIT",
"BSD-3-Clause",
"Apache-2.0"
] | permissive | isabella232/IntelRackScaleArchitecture | 9a28e34a7f7cdc21402791f24dad842ac74d07b6 | 1206d2316e1bd1889b10a1c4f4a39f71bdfa88d3 | refs/heads/master | 2021-06-04T08:33:27.191735 | 2016-09-29T09:18:10 | 2016-09-29T09:18:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,813 | cpp | /*!
* @section LICENSE
*
* @copyright
* Copyright (c) 2015 Intel Corporation
*
* @copyright
* 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
*
* @copyright
* http://www.apache.org... | [
"chester.kuo@gmail.com"
] | chester.kuo@gmail.com |
7aea823a59b8765db5fc58b47d9e74c6fa74ccef | d6c08c1fad41043734f592a5f3e3cca77ff37de3 | /src/Token.cpp | 82e16243c75b78057240877d7d765731bcf02004 | [] | no_license | hstowasser/CompilerProjectV2 | c2b547056f3b96dbe70cfa84361619aa78d13225 | efe1bbd8c656312a8ff3a1439ff083e1632fee1a | refs/heads/main | 2023-03-25T14:10:37.753968 | 2021-03-28T17:09:02 | 2021-03-28T17:09:02 | 340,529,656 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,055 | cpp | #include "Token.hpp"
#include <stdio.h>
const char * token_type_to_string(token_type_e token_type)
{
switch (token_type){
case T_IDENTIFIER:
return "T_IDENTIFIER";
case T_EOF:
return "T_EOF";
case T_SYM_LPAREN:
return "T_SYM_LPAREN";
... | [
"stowasserheiko@gmail.com"
] | stowasserheiko@gmail.com |
76b6f91e9e202c51a2401e040291496d6ae60a08 | 24acf54ec9b57c0450732a0051ea1e4ae91a7190 | /Library/Platinum/ThirdParty/Neptune/Source/Data/TLS/Base/NptTlsTrustAnchor_Base_0012.cpp | 56aa239b888ec40894ef73f2ee78baa7b4922a51 | [
"LicenseRef-scancode-generic-cla"
] | no_license | shawnji2060/KEFWireless-DLNA | c12ac384bba4a80a43234c909cd6c791069ee3b8 | 98b6886f9ae54571cca66e32ecf1197533a5488b | refs/heads/master | 2021-01-18T16:37:50.320261 | 2017-08-16T08:14:14 | 2017-08-16T08:14:14 | 100,464,539 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,056 | cpp | /*****************************************************************
|
| Neptune - Trust Anchors
|
| This file is automatically generated by a script, do not edit!
|
| Copyright (c) 2002-2010, Axiomatic Systems, LLC.
| All rights reserved.
|
| Redistribution and use in source and binary forms, with or without
| modif... | [
"shawnji2060@gmail.com"
] | shawnji2060@gmail.com |
485d3f688c1f241e5b724d4749d9be4789902d41 | f712d2e44d1de06496d23b69e3a9bd53d46f794a | /net-p2p/dnotes/files/patch-src__net.cpp | 9d3d551f526551595cca8fd70a2b11267d5c642d | [
"BSD-2-Clause"
] | permissive | tuaris/FreeBSD-Coin-Ports | 931da8f274b3f229efb6a79b4f34ffb2036d4786 | 330d9f5a10cf7dc1cddc3566b897bd4e6e265d9f | refs/heads/master | 2021-06-18T20:21:05.001837 | 2021-01-20T21:26:44 | 2021-01-20T21:26:44 | 21,374,280 | 4 | 6 | BSD-2-Clause | 2018-01-26T09:22:30 | 2014-07-01T03:40:30 | Makefile | UTF-8 | C++ | false | false | 379 | cpp | --- src/net.cpp.orig 2014-08-31 15:33:55 UTC
+++ src/net.cpp
@@ -58,7 +58,7 @@ static bool vfReachable[NET_MAX] = {};
static bool vfLimited[NET_MAX] = {};
static CNode* pnodeLocalHost = NULL;
uint64 nLocalHostNonce = 0;
-array<int, THREAD_MAX> vnThreadsRunning;
+boost::array<int, THREAD_MAX> vnThreadsRunning;
stati... | [
"daniel@morante.net"
] | daniel@morante.net |
961d2a9d6be822239d0e465931331522e4598690 | cc47ba1d94ea53c8afb944d280bdf1e6197f8e3d | /C++/CodeForces/CR694A.cpp | f9444cd8fef37d24cf804a285014e3456aa5eae0 | [] | no_license | Pranshu-Tripathi/Programming | 60180f9b0c5f879b2a8bf85c3db14afe1fdb45ba | ae7234b293b307a0f38af6f5a7894747f22c5d45 | refs/heads/master | 2023-06-26T08:17:07.184679 | 2021-07-28T02:52:43 | 2021-07-28T02:52:43 | 226,936,580 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 605 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long
void _run()
{
ll n,x;
cin >> n >> x;
ll arr[n];
ll s1 = 0, s2 = 0;
for(int i =0 ; i < n ; i++)
{
cin >> arr[i];
s1 += arr[i] / x;
if(arr[i] % x)
{
s1 ++;
}
s2 += arr[... | [
"mtpranshu2001@gmail.com"
] | mtpranshu2001@gmail.com |
231994a748f60ae6cd2eca98aa9ce320dca8dc26 | 7fae79369bffd6fe98a8d517ce15d93935ac104c | /main.cpp | 1dc659e33f33c9c0a168eaa3dfe140f323de221d | [] | no_license | ArielAleksandrus/compilador | a5109d09f6a90c9f0b7964e6b495223ad50d75cf | 1a4c5fe2349b8de1b0b5b0a58ac5253e29d9ea80 | refs/heads/master | 2020-05-21T10:14:56.407885 | 2016-07-29T17:31:16 | 2016-07-29T17:31:16 | 54,926,554 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,212 | cpp | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: main.cpp
* Author: aleksandrus
*
* Created on March 18, 2016, 11:06 AM
*/
#include <iostream>
#include <cstdlib>
... | [
"arielaleksandrus@hotmail.com"
] | arielaleksandrus@hotmail.com |
c8f9f07944e3f28b7cc24f46ddd2fb4374d2b62c | fbb664ae602ecf0c1679dbb998f1cfb296a63b17 | /tests/catch_malloc.h | 3e49d293466a8b0026ae2896fdf18a41287e5bfd | [] | no_license | ADVRHumanoids/RealtimeSvd | 82368c56609b1999d972140d64203e58b7111bee | 71987b17fb0f71d6b0b906849a5ea0021b00a013 | refs/heads/master | 2021-07-06T13:08:39.747407 | 2018-10-22T18:41:56 | 2018-10-22T18:41:56 | 153,766,252 | 1 | 1 | null | 2020-07-31T08:47:03 | 2018-10-19T10:29:06 | CMake | UTF-8 | C++ | false | false | 4,556 | h | #ifndef __CATCH_MALLOC_H__
#define __CATCH_MALLOC_H__
#include <malloc.h>
#include <exception>
#include <iostream>
#include <functional>
namespace XBot { namespace Utils {
class MallocFinder
{
public:
static void SetThrowOnMalloc(bool throw_on_malloc)
{
_... | [
"arturo.laurenzi@iit.it"
] | arturo.laurenzi@iit.it |
f74d082cf319a429b6adbcc470737b197634733c | 4b590410d4042c156cfd3d4e874f3a329390a72b | /src/uscxml/messages/MMIMessages.cpp | 35e8b66a66fbd995383e58498ac34996a1ad0751 | [
"BSD-2-Clause"
] | permissive | su6838354/uscxml | 37b93aef528996d2dd66d348f9e1f31b6734ab57 | 81aa1c79dd158aa7bc76876552e4b1d05ecea656 | refs/heads/master | 2020-04-06T05:29:54.201412 | 2015-04-02T11:44:48 | 2015-04-02T11:44:48 | 38,090,859 | 1 | 0 | null | 2015-06-26T04:37:32 | 2015-06-26T04:37:32 | null | UTF-8 | C++ | false | false | 18,827 | cpp | /**
* @file
* @author 2012-2013 Stefan Radomski (stefan.radomski@cs.tu-darmstadt.de)
* @copyright Simplified BSD
*
* @cond
* This program is free software: you can redistribute it and/or modify
* it under the terms of the FreeBSD license as published by the FreeBSD
* project.
*
* This program is ... | [
"radomski@tk.informatik.tu-darmstadt.de"
] | radomski@tk.informatik.tu-darmstadt.de |
b4c5fffc627e73f3115b63c4b310e5799138cf08 | a3fb0091facc6f33be957eba61d7281737aa258e | /ATMView/ATMView/Business/CameraReader.cpp | feae74b7ce8f8a93f6522a569b0e9b1e8a3b10a8 | [] | no_license | barry-ran/AEyeAboutPro | b5c7b46c8145423d7456e1ef6d40d82c54ba2faf | 830de73c48af1cd1a2d72ff6485e31f7b7d52d45 | refs/heads/master | 2022-01-18T03:01:44.502618 | 2019-09-02T03:52:27 | 2019-09-02T03:52:27 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,801 | cpp | /***********************************************************************************
* CameraReader.cpp
*
* Copyright(C): 智慧眼科技股份有限公司
*
* Author: YCL
*
* Date: 2019-06
*
* Description: 用于摄像头初始化、打开、设置、采集
***********************************************************************************/
#include "CameraReader.... | [
"ycldream815@gmail.com"
] | ycldream815@gmail.com |
1de9ef5dcb8c8c43a4263bb59f4ff89c9f384fa0 | ba34acc11d45cf644d7ce462c5694ce9662c34c2 | /Classes/geometry/recognizer/GeometricRecognizerNode.h | 3028df38c0157db3078645fbfef72c495c46046e | [] | no_license | mspenn/Sketch2D | acce625c4631313ba2ef47a5c8f8eadcd332719b | ae7d9f00814ac68fbd8e3fcb39dfac34edfc9883 | refs/heads/master | 2021-01-12T13:26:35.864853 | 2019-01-09T12:45:11 | 2019-01-09T12:45:11 | 69,162,221 | 8 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 2,980 | h | #ifndef __GEOMETRIC_RECOGNIZER_NODE_H__
#define __GEOMETRIC_RECOGNIZER_NODE_H__
#include "cocos2d.h"
#include "gesture\GeometricRecognizer.h"
// event
#define EVENT_LOADING_TEMPLATE "onLoadingTemplate"
#define EVENT_LOADED_TEMPLATE "onLoadedTemplate"
/**
* Load Template Data for Update Feedback Event
*/
struct... | [
"microsmadio@hotmail.com"
] | microsmadio@hotmail.com |
eeec16e423dba54c128128d875387601b6b39188 | 6c78ebd8f7a91957f84e260bf4640e76b8d665e7 | /src/threading/WindowsThread.cpp | 45dde2fb69e46ff5d3a9573a11d524049d861332 | [
"MIT"
] | permissive | TheCoderRaman/nCine | b74728783e34151b4276e2fb303d605602ca78ba | a35f9898cc754a9c1f3c82d8e505160571cb4cf6 | refs/heads/master | 2023-08-28T14:57:43.613194 | 2019-05-30T19:16:32 | 2019-06-14T16:31:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,843 | cpp | #include "common_macros.h"
#include "Thread.h"
namespace ncine {
///////////////////////////////////////////////////////////
// PUBLIC FUNCTIONS
///////////////////////////////////////////////////////////
void ThreadAffinityMask::zero()
{
affinityMask_ = 0LL;
}
void ThreadAffinityMask::set(int cpuNum)
{
affinityM... | [
"encelo@gmail.com"
] | encelo@gmail.com |
6cb5c10f324394fef04691711c46dd16709d5123 | c7e65a70caf87041afd27441fe45eac85e8cd1e4 | /apps/coreir_examples/conv_bw_valid/pipeline.cpp | d686745a8ab708ae8328047c43e4358c65053328 | [
"MIT"
] | permissive | jeffsetter/Halide_CoreIR | adb8d9c4bc91b11d55e07a67e86643a0515e0ee6 | f2f5307f423a6040beb25a1f63a8f7ae8a93d108 | refs/heads/master | 2020-05-23T18:06:27.007413 | 2018-10-02T22:09:02 | 2018-10-02T22:09:02 | 84,777,366 | 7 | 1 | NOASSERTION | 2018-11-05T15:05:11 | 2017-03-13T02:50:55 | C++ | UTF-8 | C++ | false | false | 4,233 | cpp | #include "Halide.h"
#include <string.h>
using namespace Halide;
using std::string;
Var x("x"), y("y");
Var xo("xo"), xi("xi"), yi("yi"), yo("yo");
class MyPipeline {
public:
ImageParam input;
Param<uint16_t> bias;
Func kernel;
Func clamped;
Func conv1;
Func output;
Func hw_output;
std::vector<Argumen... | [
"setter@stanford.edu"
] | setter@stanford.edu |
96e02b98864cd843b05390a05f3981034c584682 | 3ee0d3519f444e8ac3dd8c4731c9bbe751dd7595 | /FrameData/Shader.h | aa051b160fdd17249ad87ae79c6469ba788ef4bf | [
"MIT"
] | permissive | ousttrue/FunnelPipe | 77f4941fde22353eea2c1e51a1b891e69cc4572f | 380b52a7d41b4128b287ec02280bb703ed6b5d66 | refs/heads/master | 2023-08-23T08:40:56.895419 | 2021-09-08T12:57:41 | 2021-09-08T12:57:41 | 250,489,380 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,914 | h | #pragma once
#include <wrl/client.h>
#include <d3dcompiler.h>
#include <string>
#include <vector>
#include <memory>
#include <span>
#include "ShaderConstantVariable.h"
namespace framedata
{
class Shader
{
protected:
template <typename T> using ComPtr = Microsoft::WRL::ComPtr<T>;
Shader(const... | [
"ousttrue@gmail.com"
] | ousttrue@gmail.com |
fb7f8a2e574eb401570d5b2ae62bd318d8dbd84a | 4f460d4984c9e934978bbc89eb10654fa3b618a8 | /WifiWebServer/WifiWebServer.ino | 5834dbd2c8baa0ac329b814e0f3292e7afe81bc3 | [] | no_license | davidaronson13/PowerBiker | eaea512bc690801d4fbe050bd731eaab8445349d | 3757549a823981b980a7817008cee68d5b86b03d | refs/heads/master | 2020-03-31T00:57:05.928520 | 2014-05-27T14:56:22 | 2014-05-27T14:56:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,119 | ino | /*
WiFi Web Server
A simple web server that shows the value of the analog input pins.
using a WiFi shield.
This example is written for a network using WPA encryption. For
WEP or WPA, change the Wifi.begin() call accordingly.
Circuit:
* WiFi shield attached
* Analog inputs attached to pins A0 through A5 ... | [
"davidaronson13@gmail.com"
] | davidaronson13@gmail.com |
803302ab96bf04ea0b55a8ff90a18dbb73c20a72 | 8b552e2a83aefe6546a8d492b101cea675c05a63 | /assignment9(glut)/parser.h | 14724c75ce7bd9a915f78faab22c7dacce22237e | [] | no_license | Dream4Leo/6.837-MIT04Fall-Assignments | 4d1c416f452286282b8922b2ee3afdc7176ae72a | 68f945b2f0be83d367b053f4c128c7c74d5ffed8 | refs/heads/master | 2020-06-16T22:07:28.352960 | 2019-10-05T02:40:49 | 2019-10-05T02:40:49 | 195,717,287 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,279 | h | #ifndef _PARSER_H_
#define _PARSER_H_
#include <assert.h>
#include "vectors.h"
#include "system.h"
#include "generator.h"
#include "integrator.h"
#include "forcefield.h"
// ====================================================================
// ====================================================================
#d... | [
"3180102688@zju.edu.cn"
] | 3180102688@zju.edu.cn |
e7a5585209c4f2428ca85fc55d59feb8a1c0482b | b844c8d51fac1148363967993fb3299dcb47164d | /Individual.h | 5a62f53dfb18aee3e2d92b348acae672317871fa | [] | no_license | patyhaizer/brkga | 1470fcbc39187ce0b52a1ed2692c7bcb3a840601 | 3642fc64dbe72e920461d2929b143ea7df54e05c | refs/heads/master | 2021-01-15T17:41:26.636794 | 2015-08-31T23:39:38 | 2015-08-31T23:39:38 | 37,101,820 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 371 | h | #ifndef INDIVIDUAL_H
#define INDIVIDUAL_H
class Individual {
private:
Individual();
Individual(const Individual& other);
Individual operator=(const Individual& other);
public:
explicit Individual(unsigned chromossomeSize);
~Individual();
double * m_chromossome;
double m_fitness;
uns... | [
"paty.haizer@gmail.com"
] | paty.haizer@gmail.com |
5f3f225665cff48a5ebe83a2e45e807507cf52fe | 9b8708ad7ffb5d344eba46451cabc3da8c0b645b | /Moteur/SceneGraph/meshmanager.h | 8dac8630f554c425dde04c6aa8c74babb287882d | [] | no_license | VisualPi/GameEngine | 8830037305ff2268866f0e2c254e6f74901dd18d | 03c60c571ab3a95b8eaf2c560aa3e4c9486a77c3 | refs/heads/master | 2021-07-08T18:13:28.459930 | 2017-10-08T12:05:05 | 2017-10-08T12:05:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 517 | h | #pragma once
#include <vector>
#include "../Transfer/bufferfactory.h"
#include "ModelImporter/mesh.h"
#include "../Vulkan/buffer.h"
#include "drawcommand.h"
class MeshManager {
public:
MeshManager(BufferFactory &bufferFactory);
DrawCmd addMesh(const std::vector<Mesh> &meshes);
private:
BufferFactory &mBufferFact... | [
"antoine.morrier@outlook.fr"
] | antoine.morrier@outlook.fr |
193a0b07ff81166f34390d3d2b2da8da69aba6e0 | 313e686e0f0aa3b2535bc94c68644ca2ea7b8e61 | /src/server/scripts/Outland/CoilfangReservoir/TheUnderbog/instance_the_underbog.cpp | a56c9db1291598f7bf13e38cc2a5fa4a3fdac638 | [] | no_license | mysql1/TournamentCore | cf03d44094257a5348bd6c509357d512fb03a338 | 571238d0ec49078fb13f1965ce7b91c24f2ea262 | refs/heads/master | 2020-12-03T00:29:21.203000 | 2015-05-12T07:30:42 | 2015-05-12T07:30:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,627 | cpp | /*
* Copyright (C) 2014-2015 TournamentCore
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.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 Li... | [
"TournamentCore@gmail.com"
] | TournamentCore@gmail.com |
652cede466fa4be421ae6aab8fde796d3599f151 | 19742122229f417a418158630f279f81c1c503a6 | /repo/daemon/identifier_collector.cc | 477305ef779a520d6ebdc61ed68e032f14a4713e | [
"BSD-3-Clause"
] | permissive | rosstex/replex | 20bbb0829aef4f868fafb34c2a16172d6455ec6f | 2a4499ebc81622985c59647839e7f517869f8c14 | refs/heads/master | 2020-03-17T16:26:10.767096 | 2018-05-17T02:41:23 | 2018-05-17T02:41:23 | 133,748,573 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,176 | cc | // Copyright (c) 2013-2014, Cornell University
// 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 ... | [
"rapt@cs.princeton.edu"
] | rapt@cs.princeton.edu |
d4de29e4aee6f69182086c6dbedaa871b2f5fae2 | 37fd355d5d0b9a60e6c5799b029ef95eac749afe | /src/scheduler/grouper/GreedyGrouper.hpp | e76fc49886d8dd16152ff025f17cddc8cf8382d6 | [] | no_license | freiheitsnetz/openwns-library | 7a903aff2ad9d120d53195076d900bd020367980 | eb98600df8b0baca1d90907b5dd2c80c64ab9ffa | refs/heads/master | 2021-01-18T05:07:32.803956 | 2014-03-26T16:16:19 | 2014-03-26T16:16:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,983 | hpp | /*******************************************************************************
* This file is part of openWNS (open Wireless Network Simulator)
* _____________________________________________________________________________
*
* Copyright (C) 2004-2009
* Chair of Communication Networks (ComNets)
* Kopernikusstr.... | [
"aku@comnets.rwth-aachen.de"
] | aku@comnets.rwth-aachen.de |
3fc78a06a548c887ef3d79d551062efae5e49c88 | bad319e286793086efef5f1998f9494ff45a3ad8 | /Source/SimpleShooter/ShooterPlayerController.h | 1569ee56f9f4bd888d1fcb68c3fc28095ec08e8f | [] | no_license | SharkyZg/SimpleShooter | e8b982bc032c94cd07aa7e2c61b15e0d81b57e88 | 0ae518d2a5b03992ecdc7dd3e94f2dbf66037e64 | refs/heads/master | 2023-01-20T22:59:14.402966 | 2020-11-26T16:46:07 | 2020-11-26T16:46:07 | 312,320,583 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 835 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/PlayerController.h"
#include "ShooterPlayerController.generated.h"
/**
*
*/
UCLASS()
class SIMPLESHOOTER_API AShooterPlayerController : public APlayerController
{
GENERATED... | [
"marko.sarkanj@gmail.com"
] | marko.sarkanj@gmail.com |
77dc64e38297f4a999095ebb5929fc38fbf7b897 | 7e288ad3bcaca2e00e04113ebd251331b5ea300c | /starviewer/src/core/screen.cpp | ed500cb92125679f69914ef74a8e86dada3d0e72 | [] | no_license | idvr/starviewer | b7fb2eb38e8cce6f6cd9b4b10371a071565ae4fc | 94bf98803e4face8f81ff68447cf52a686571ad7 | refs/heads/master | 2020-12-02T17:46:13.018426 | 2014-12-02T11:29:38 | 2014-12-02T11:31:28 | null | 0 | 0 | null | null | null | null | IBM852 | C++ | false | false | 6,161 | cpp | #include "screen.h"
#include <QString>
namespace udg {
const int Screen::NullScreenID = -1;
const int Screen::MaximumDistanceInBetween = 5;
Screen::Screen()
{
initializeValues();
}
Screen::Screen(const QRect &geometry, const QRect &availableGeometry)
{
initializeValues();
setGeometry(geometry);
set... | [
"jspinola@gmail.com"
] | jspinola@gmail.com |
5215a1051ccadd7a8229f481cb7134cf17d68564 | 525b6ab973b23d8333fad39dcd530c217e14741f | /stop_variables/mt2w.cc | 47e35f0e46147889803b3f0efec15535d6ff1933 | [] | no_license | mialiu149/AnalysisLoopers2015 | 2aa4ec86d6bd75a1510231813b7dc5e11acd1bd6 | 718c8b33243042f330cbc872af1f805106d4143e | refs/heads/master | 2020-12-15T04:08:49.690916 | 2019-01-17T20:45:50 | 2019-01-17T20:45:50 | 44,395,757 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,677 | cc | #include "mt2w.h"
//
//--------------------------------------------------------------------
// original 8 TeV function
double calculateMT2w(vector<LorentzVector>& jets, vector<bool>& btag, LorentzVector& lep, float met, float metphi){
// I am asumming that jets is sorted by Pt
assert ( jets.size() == btag.si... | [
"miaoyuan.liu0@gmail.com"
] | miaoyuan.liu0@gmail.com |
f002df229d9b91f81d10fa6b6f78a41843ef53d4 | e157690a1cbf4ba86a61f873ea8cadcb8dd39f10 | /src/matrix.cxx | 2b1fc463bf29e7ae3365cb7638bd7fe2c73e4cff | [] | no_license | mollios/clustering | 8792920705f958a014143d92e33920bf20a1169e | 5af88d45a8465858980f44e6fa7c50913242ae87 | refs/heads/master | 2021-07-12T15:46:34.810127 | 2021-04-15T10:39:05 | 2021-04-15T10:39:05 | 243,174,558 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,088 | cxx | #include<iostream>
#include<cstdlib>
#include<cmath>
#include"vector.h"
#include"matrix.h"
Matrix::Matrix(int rows, int cols) try :
Rows(rows), Element(new Vector[Rows]){
for(int i=0;i<Rows;i++){
Element[i]=Vector(cols);
}
}
catch(std::bad_alloc){
std::cerr << "Out of Memory" << std::endl;
throw;
}
... | [
"ma20096@shibaura-it.ac.jp"
] | ma20096@shibaura-it.ac.jp |
61cdc9adbcaec9e25f91357127d62b47bab6af6a | dd92b8cc9a2bca3a1b3d5ebf36fc00493a39dc2f | /src/tool/hpcrun/sample-sources/blame-shift/blame-map.c | 5d8b5767e754302f617a64685f485075f8d4c1cb | [] | no_license | tjovanovic996/hpctoolkit-tracing | effb19b34430eea9df02f19e906b846782b52fa4 | f93e17149985cc93a3c6c4654e2a6e472f681189 | refs/heads/master | 2020-07-09T19:58:55.783806 | 2019-08-23T21:09:23 | 2019-08-23T21:09:23 | 204,068,692 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,394 | c | // -*-Mode: C++;-*- // technically C99
// * BeginRiceCopyright *****************************************************
//
// $HeadURL: $
// $Id$
//
// --------------------------------------------------------------------------
// Part of HPCToolkit (hpctoolkit.org)
//
// Information about sources of support for research ... | [
"ax4@gpu.cs.rice.edu"
] | ax4@gpu.cs.rice.edu |
ee447d1259521fe5626a8ca0c351c47080340796 | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/chromium_org/chrome/browser/ui/views/apps/chrome_shell_window_delegate_views_win.cc | 9ef69f376d2f18bba1c3fe4ba610e119990b680a | [
"BSD-3-Clause",
"MIT"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 602 | 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 "chrome/browser/ui/apps/chrome_shell_window_delegate.h"
#include "chrome/browser/ui/views/apps/native_app_window_views_win.h"
// static
apps::N... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
2a13231b8e63dc0fca1b03ac00bd3d7017a32ccc | 4b5ea843b81b17626fff180dac3b3bec82e8110e | /Plugins/BIPlugin/Source/BIPlugin/Private/PathPredictionEntry.cpp | c738e6cd3cb88bddc0cd82922ef78d8bbc500a10 | [] | no_license | TeraNaidja/UE4BlueprintPlugin | 75452e0302fcba5e3ff99b5838ea3b8f46ecb1c2 | 16784cf63b688c2fb451f728ee5f40a8e5d4e9d9 | refs/heads/master | 2016-09-03T03:49:17.131454 | 2015-09-22T11:29:19 | 2015-09-22T11:29:19 | 33,359,265 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 683 | cpp | #include "BIPluginPrivatePCH.h"
#include "PathPredictionEntry.h"
PathPredictionEntry::PathPredictionEntry()
: m_NumUses(0)
{
}
PathPredictionEntry::~PathPredictionEntry()
{
}
bool PathPredictionEntry::CompareExcludingUses(const PathPredictionEntry& a_Other) const
{
return m_AnchorVertex == a_Other.m_AnchorVertex &... | [
"phildegroot5@gmail.com"
] | phildegroot5@gmail.com |
5ebbfce2147b6f43a4a78934618f28350b3a597f | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5639104758808576_0/C++/Biigbang/p1.cpp | 172bdebce242acbff444a988777c7cc8929189b9 | [] | 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 | 550 | cpp | #include <stdio.h>
const int maxs = 1001;
char shy[maxs];
int T, S;
int main() {
int c, a;
scanf("%d", &T);
for(int t = 1; t <= T; ++t) {
scanf("%d%s", &S, shy);
c = a = 0;
for(int i = 0; i <= S; ++i) {
if (shy[i] > '0') {
if (c >= i) {
... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.