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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8bed50582edac20d0ad6ada4d15fde70c938c54c | d096cfda35a174ca930b48944598aad67c6f7067 | /KeybdName/KeybdName.cpp | 23add1bc127cee3ddbe521d5b34001ea2bbc166e | [
"MIT"
] | permissive | katahiromz/ImeStudy | 311c85671880bf72be198a77deb61634aef127c6 | ce965f20b251ddf4d7ef0eb8229675d1373c598e | refs/heads/main | 2023-06-08T21:34:59.032259 | 2023-06-04T07:29:52 | 2023-06-04T07:29:52 | 546,967,901 | 11 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 267 | cpp | // KeybdName.cpp by katahiromz
// License: MIT
#include <windows.h>
#include <imm.h>
#include <stdio.h>
int main(int argc, char **argv)
{
char sz[KL_NAMELENGTH + 1];
GetKeyboardLayoutNameA(sz);
printf("GetKeyboardLayoutNameA: %s\n", sz);
return 0;
}
| [
"katayama.hirofumi.mz@gmail.com"
] | katayama.hirofumi.mz@gmail.com |
92435219f5f547606162ef8ea46418b6d66e0594 | ba246ba78fbfa9980081705690cfc26ec5ca8859 | /VAS_HeadtrackerConnect/build-VAS_HeadtrackerConnect_Android-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_2_android-Debug/armeabi-v7a/moc_serviceinfo.cpp | 3174a2be6fdb01b572f141c99e61c302d1b1f7a0 | [
"MIT"
] | permissive | funkerresch/vas_library | 80d57a334f5a9575d9a27fe6910cc5dddb9b0f7f | 0658616e49e86627614e9ad2382cb0b11e7d31eb | refs/heads/master | 2022-12-21T22:00:33.957639 | 2022-07-20T09:06:35 | 2022-07-20T09:06:35 | 164,434,730 | 21 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,935 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'serviceinfo.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
**
** WARNING! All changes made in this file will be lost!
********************************************************... | [
"funker@posteo.net"
] | funker@posteo.net |
f46f705739f7b58fa95fc7eefaa83bd3cb308e3f | e16b292bdd2f409e843c55df31805e2d331f1a2d | /src/qt/optionsmodel.h | 53f5f3c96ecc189d90cb940f52e1ec47fd5054af | [
"MIT"
] | permissive | Visco33/test | beeffb00d5593fee01703a341c7a46784db24ebf | 3735d0d80f5f1d880bd5460cc223b1d05d937b12 | refs/heads/master | 2020-03-14T17:51:06.887931 | 2018-05-24T22:19:13 | 2018-05-24T22:19:13 | 130,040,474 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,237 | h | // Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_OPTIONSMODEL_H
#define BITCOIN_QT_OPTIONSMODEL_H
#include "amount.h"
#include <QAbstractListModel>
QT_BE... | [
"37253340+Visco33@users.noreply.github.com"
] | 37253340+Visco33@users.noreply.github.com |
4c319097b4377a0e8cae343b3baa79defff1e59a | 1afc2ba02aaa1170db5def78ef506503073ad45b | /StepperMotorDriver.ino | d39203a43cd8a9e0e91b5595f8cd2a4f3e66f982 | [] | no_license | sjuim/STEMProject | 937f3474862d43144ad02216b65c07539d9f34ab | a02727933affb5bbccc43658b8307e59ec91dc7f | refs/heads/master | 2023-02-26T11:41:37.499517 | 2021-02-06T01:27:29 | 2021-02-06T01:27:29 | 336,429,631 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,284 | ino | int PUL=7; //define Pulse pin
int DIR=6; //define Direction pin
int ENA=5; //define Enable Pin
void setup() {
pinMode (PUL, OUTPUT);
pinMode (DIR, OUTPUT);
pinMode (ENA, OUTPUT);
}
void loop() {
for(int i = 0; i < 20; i++){
moveForward(6400);
rub();
}
for(int i = 0; i < 20; i++){
moveBackward(... | [
"shreya.jui.majumdar@gmail.com"
] | shreya.jui.majumdar@gmail.com |
f02a2a8ae4bb649e01aa2355138bc4c3cad4d5f9 | ce1044f6dd1ab23aed435dd087283ece45f3f024 | /include/Wallet/ExtendedKey.h | f0d071bca87617afccb07a1a0d64ca893a37e9ff | [
"MIT"
] | permissive | 1div0/GrinPlusPlus | daf13ff87681903e0674d1f077f17d3730eebcba | 44ba6474b971cd39a96b7ad9742b23d3cb5334c9 | refs/heads/master | 2021-07-12T20:23:20.039838 | 2020-12-02T11:18:41 | 2020-12-02T11:18:41 | 221,024,351 | 0 | 0 | MIT | 2019-11-11T16:37:06 | 2019-11-11T16:37:05 | null | UTF-8 | C++ | false | false | 2,054 | h | #pragma once
#include <Crypto/BigInteger.h>
#include <Crypto/PublicKey.h>
#include <Crypto/SecretKey.h>
#include <Core/Serialization/Serializer.h>
#include <Core/Serialization/ByteBuffer.h>
//
// Represents a BIP32 extended key.
//
class IExtendedKey
{
public:
virtual ~IExtendedKey() = default;
//
// 4 byte: vers... | [
"davidburkett38@gmail.com"
] | davidburkett38@gmail.com |
b8fc96ee3c9ae8f30eeb067994d424438c6566b5 | dd6162081ec0ee0f8a9b63ec45669f202f8520dc | /src/duke/gl/Program.hpp | 6d43714d863182c72280dbc72fb0dc64b27e7e49 | [
"MIT"
] | permissive | virneo/duke | 60364c8a548c6792030e70167c97360f17ee9b9c | efacf7139cd1d7c2cd2f5127079721bd263dda50 | refs/heads/develop | 2021-01-17T10:37:25.533907 | 2014-11-12T14:50:39 | 2014-11-12T14:50:39 | 45,284,061 | 1 | 0 | null | 2015-10-31T01:12:54 | 2015-10-31T01:12:54 | null | UTF-8 | C++ | false | false | 1,640 | hpp | #pragma once
#include "duke/gl/Shader.hpp"
#include <map>
namespace duke {
struct Program : public noncopyable {
Program(const SharedVertexShader& vertexShader, const SharedFragmentShader& fragmentShader);
~Program();
void use() const;
GLint getUniformLocation(const char* pUniformName) const;
void glUnif... | [
"chatelet.guillaume@gmail.com"
] | chatelet.guillaume@gmail.com |
23e8392d4bb1d86075c4f7f117043608c9acacfa | a0863d7dc1bddc6f3a3ee370f6b6e5f4de475550 | /Tag/Array/611.ValidTriangleNumber/611.cpp | ad71c6a4996a90bfa82baae90d797cead3511473 | [] | no_license | nisak0503/leetcode | c3a936da0d64eac2de9faa60d161d31f76c740b3 | fa0f2e36c3ad554f96bef7f4e1e50952cde263e6 | refs/heads/master | 2021-01-20T10:50:11.220068 | 2017-11-30T02:53:31 | 2017-11-30T02:53:31 | 83,939,025 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,400 | cpp | #include <iostream>
#include <fstream>
#include <algorithm>
#include <vector>
using namespace std;
ifstream fin("611.in");
class Solution {
public:
vector<int> nums;
public:
int triangleNumber(vector<int>& nums) {
sort(nums.begin(), nums.begin()+nums.size());
int k = 2, cnt = 0;
if(nums.... | [
"kasin.xc@sjtu.edu.cn"
] | kasin.xc@sjtu.edu.cn |
9a0ac34210bfd04546595f834e9794f560010be8 | 73c8a3179b944b63b2a798542896e4cdf0937b6e | /Codeforces/Divisibility.cpp | 7211c930c2a8d2547c000976532f90ea2c790e00 | [
"Apache-2.0"
] | permissive | aajjbb/contest-files | c151f1ab9b562ca91d2f8f4070cb0aac126a188d | 71de602a798b598b0365c570dd5db539fecf5b8c | refs/heads/master | 2023-07-23T19:34:12.565296 | 2023-07-16T00:57:55 | 2023-07-16T00:57:59 | 52,963,297 | 2 | 4 | null | 2017-08-03T20:12:19 | 2016-03-02T13:05:25 | C++ | UTF-8 | C++ | false | false | 2,500 | cpp | #include <bits/stdc++.h>
template<typename T> T gcd(T a, T b) {
if(!b) return a;
return gcd(b, a % b);
}
template<typename T> T lcm(T a, T b) {
return a * b / gcd(a, b);
}
template<typename T> void chmin(T& a, T b) { a = (a > b) ? b : a; }
template<typename T> void chmax(T& a, T b) { a = (a < b) ? b : a; ... | [
"jefersonlsiq@gmail.com"
] | jefersonlsiq@gmail.com |
8bd3315890b4f08a3b23d99f132acb62becef226 | 25d7fa8d57ff934ce1a9f42dd1fc55c7bcd7010d | /gcj2020_r1b/a.cpp | 60499b714b183cff409ce9c161e6a6fdba7af8bb | [] | no_license | FMota0/yt-content | 22b3e6f0595b348773c6faf1aef9a7c5e27390c4 | 9210dc3cc3974adf43eef7d9df7d0e7bd8b6e3ad | refs/heads/master | 2022-11-25T22:10:31.395335 | 2020-08-07T13:26:39 | 2020-08-07T13:26:39 | 257,675,348 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,518 | cpp | #include <bits/stdc++.h>
using namespace std;
template<typename T = int> vector<T> create(size_t n){ return vector<T>(n); }
template<typename T, typename... Args> auto create(size_t n, Args... args){ return vector<decltype(create<T>(args...))>(n, create<T>(args...)); }
int main(){
ios::sync_with_stdio(false);
cin.tie... | [
"felipe.santos@ccc.ufcg.edu.br"
] | felipe.santos@ccc.ufcg.edu.br |
c7e1c5b871bef007ec63eb8056e13ada5472e65e | c9cf0586ace11aa32fa67606d237a130a06364ee | /circular-cylinder-2-20/w_20/59.5/uniform/functionObjects/functionObjectProperties | 1f4a1c487d53f84e20a9f1b5f01c2039c1f7fbed | [] | no_license | jezvonek/CFD-Final-Project | c74cfa21f22545c27d97d85cf30eb6dc8c824dc1 | 7c9a7fb032d74f20888effa0a0b75b212bf899f4 | refs/heads/master | 2022-07-05T14:43:52.967657 | 2020-05-14T03:40:56 | 2020-05-14T03:40:56 | 262,370,756 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 898 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | [
"jezvonek@gmail.com"
] | jezvonek@gmail.com | |
cdac7c629d3ad4baf8d4568914afc30111a45a03 | 4a28104787a4ce3bf362fda9182e4f1fe6276c30 | /graphs/bfs_shortReach.cpp | 6187c87e472830c54e8f005b7efd6223f260b54d | [] | no_license | Ason4901/geeksforgeeks | d0538a22db00c86e97ec8b9f6c548ebd1ecef8ce | 777aa4c0752bb0a9b942922e1ad99095a161cc6b | refs/heads/master | 2023-02-24T07:51:15.469015 | 2021-01-30T15:36:20 | 2021-01-30T15:36:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,627 | cpp |
#include <bits/stdc++.h>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <cstring>
#include <chrono>
#include <complex>
#define endl "\n"
#define ll long long int
#define vi vector<int>
#define vll vector<ll>
#define vvi vector < vi >
#define pii pair<int,int>
#define pll pair<long long, long long>
#def... | [
"abhip13th@gmail.com"
] | abhip13th@gmail.com |
bc9b12c31a635ee55f76d2b2a1ba9cbf6e3e6035 | 535d1b93fbe05923e2defac0f7c218bd64559e0d | /CarmenJuego/Proyecto/Carmen/bin/windows/obj/include/lime/ui/_ScanCode/ScanCode_Impl_.h | c96646baf3a2c533c6e3c1cfd7214422d197a857 | [] | no_license | XxKarikyXx/ProgVJ1 | af9a9f4d7608912e1b2bab9726266b9f4ef5f44d | d26e335379a001cce21d7cd87461d75169391222 | refs/heads/develop | 2020-03-13T12:44:19.172929 | 2018-06-05T17:58:01 | 2018-06-05T17:58:01 | 131,125,411 | 0 | 0 | null | 2018-05-09T05:12:42 | 2018-04-26T08:35:17 | Haxe | UTF-8 | C++ | false | true | 7,488 | h | // Generated by Haxe 3.4.2 (git build master @ 890f8c7)
#ifndef INCLUDED_lime_ui__ScanCode_ScanCode_Impl_
#define INCLUDED_lime_ui__ScanCode_ScanCode_Impl_
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS3(lime,ui,_ScanCode,ScanCode_Impl_)
namespace lime{
namespace ui{
namespace _ScanCode{
class HXCPP_CL... | [
"kariky@hotmail.es"
] | kariky@hotmail.es |
c40b5c1b921f662e52e5f7d05e2d6ea17a54f470 | 9fad4848e43f4487730185e4f50e05a044f865ab | /src/remoting/protocol/message_reader.cc | fb3400159d98dcc161c04f3d0eb89ed2e40f7606 | [
"BSD-3-Clause"
] | permissive | dummas2008/chromium | d1b30da64f0630823cb97f58ec82825998dbb93e | 82d2e84ce3ed8a00dc26c948219192c3229dfdaa | refs/heads/master | 2020-12-31T07:18:45.026190 | 2016-04-14T03:17:45 | 2016-04-14T03:17:45 | 56,194,439 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,489 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "remoting/protocol/message_reader.h"
#include <utility>
#include "base/bind.h"
#include "base/callback.h"
#include "base/compiler_specific.... | [
"dummas@163.com"
] | dummas@163.com |
e0f17c3622e3a4d8e7650e87fe2e532c0056523f | 802853a94d217b7937237b7fedebd29c71c7ac51 | /Bs2KstKst/main/Bs2KstKst_PIDBDTTraining.cpp | 36200e74928007a8ac3aaf2bf4eeb7265dd527a9 | [] | no_license | BlaiseDelaney/LHCbAnalysis | 7a019f979366eba7f58bc5fe3061405b0a977e82 | 8ee07d622e7df782b33f7f4ba68df5dd2aff784d | refs/heads/master | 2021-04-06T00:42:31.343354 | 2018-03-13T13:50:45 | 2018-03-13T13:50:45 | 124,939,078 | 0 | 0 | null | 2018-03-12T19:16:59 | 2018-03-12T19:16:59 | null | UTF-8 | C++ | false | false | 708 | cpp | #include "Utils.h"
#include "RunEngine.h"
#include "Variables_Analysis.h"
#include "BDTForPID.h"
using namespace std;
using namespace Utils;
int main(int argc, char **argv) {
// create run engine
RunEngine runner("RunEngine", argc, argv);
// create the variables
Bs2KstKst::Variables_Analysis *v = new Bs2Ks... | [
"matthew.william.kenzie@cern.ch"
] | matthew.william.kenzie@cern.ch |
1239e15d7872b10da899f4cb2070d5d512039621 | 41a76318e5b9eef2c69bbf922724f8b191d7d124 | /kokkos/core/src/Kokkos_ROCm.hpp | 93f0ec430e66ea9f24925b8e590b5e712b14f123 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | zishengye/compadre | d0ff10deca224284e7e153371a738e053e66012a | 75b738a6a613c89e3c3232cbf7b2589a6b28d0a3 | refs/heads/master | 2021-06-25T06:16:38.327543 | 2021-04-02T02:08:48 | 2021-04-02T02:08:48 | 223,650,267 | 0 | 0 | NOASSERTION | 2019-11-23T20:41:03 | 2019-11-23T20:41:02 | null | UTF-8 | C++ | false | false | 7,047 | hpp | /*
//@HEADER
// ************************************************************************
//
// Kokkos v. 3.0
// Copyright (2020) National Technology & Engineering
// Solutions of Sandia, LLC (NTESS).
//
// Under the terms of Contract DE-NA0003525 with NTESS,
// the U.S. Govern... | [
"pakuber@sandia.gov"
] | pakuber@sandia.gov |
4c75480ce7758462fc99eff7f929067e9f480241 | bb5fd447b839853918f1c9b1d27e81b2e1683bca | /simulate.cpp | e60223ae28d785f45427fca49220fa6ea8f940a0 | [] | no_license | adhaase/adventure-RPG | 013a7b1ab2d429377a78ba0282bf8af1577588d1 | eb19281353838fbd18a6054c4f1863ebd0a79f63 | refs/heads/master | 2021-04-15T04:56:34.652415 | 2018-03-21T20:09:41 | 2018-03-21T20:09:41 | 126,144,522 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,610 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <sstream>
#include <fstream>
#include <random>
#include <ctime>
#include <chrono>
#include <thread>
#include "item.h"
#include "player.h"
#include "shop.h"
using namespace std;
void palletTownShop(Shop &palletShop, Player &player) {
palletShop.name = ... | [
"adhaase@umich.edu"
] | adhaase@umich.edu |
b13de398af01c9d4f6fa5b358fd5a3e08267f8c7 | b029b01a30c0c42f922f9eddeb5ff3f27c2b8984 | /chrome/browser/prerender/prerender_test_utils.h | 741d93f6a6e15531e228165dc03bad8cf607decc | [
"BSD-3-Clause"
] | permissive | Schlam/chromium-white-flash-fix | 856fa057b44607cdb9835037a36fedc1fa234412 | d80242b605bbf316d9908bc5fbe485ffeb51a748 | refs/heads/master | 2023-02-20T17:35:51.551838 | 2016-11-19T03:36:37 | 2016-11-19T03:39:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,616 | h | // Copyright (c) 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_PRERENDER_PRERENDER_TEST_UTILS_H_
#define CHROME_BROWSER_PRERENDER_PRERENDER_TEST_UTILS_H_
#include <deque>
#include <function... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
7a15e70c74eaaa9cc36effe9a65cbc57bdca3251 | dc6c4086a298b1fec186ba81814e535e18381042 | /Template/src/collisions.hpp | 6dd397bb08f372312ce142ef4b917e8e85b39538 | [] | no_license | Loona22/Colored_Memories | 6ec3a18f571328cd1cbc2c2bdcc5f18f656f9513 | 3cde28803c4aca78a5b88d4df8ab17f5898d5efd | refs/heads/master | 2023-02-07T21:50:05.305005 | 2021-01-03T21:07:12 | 2021-01-03T21:07:12 | 326,487,626 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 564 | hpp | #ifndef COLLISIONS_HPP
#define COLLISIONS_HPP
#include <glimac/SDLWindowManager.hpp>
#include <GL/glew.h>
#include <iostream>
#include <SDL/SDL.h>
#include <glimac/glm.hpp>
#include "glimac/FreeflyCamera.hpp"
#include <glimac/Program.hpp>
#include "tresor.hpp"
using namespace glimac;
//gestion des collisions
// cub... | [
"loona.upem@gmail.com"
] | loona.upem@gmail.com |
1a20a252f714c8b7dd79de895add8f06aff5e072 | 8beb7475ed7cb569596ad51bb0eede836a1fffa1 | /aig.hpp | 422b9ad8f51c33acb2c676de88aa1dc5cea87c10 | [] | no_license | zkaiwen/AIG | 525e7347e9e97f5e8e962e0069a01d7e85f2464e | 4966401989fb1b8a0f2fbb80bf22cd8dc7e62e87 | refs/heads/master | 2021-01-10T18:07:30.552466 | 2013-08-12T23:54:59 | 2013-08-12T23:54:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,210 | hpp | /*@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@
@
@ aig.hpp
@
@ @AUTHOR:Kevin Zeng
@ Copyright 2012 – 2013 Virginia Polytechnic Institute and State University
@
@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@*/
#ifndef AIG_GUARD
#define AIG_GUARD
#include <stdlib.h>
#... | [
"zkaiwen@gmail.com"
] | zkaiwen@gmail.com |
c74884a7dbdad06327122af8856095d0e2beca1a | 53ff492d492948bf6815c28789bd5dd0bb3f55f3 | /Lab2/Projeto/ProjectFiles/thread.cpp | 9d4fedf18274621978c64705f2d4b38346c3d1f0 | [
"MIT"
] | permissive | MatheusBigarelli/sistemas-embarcados | 3e2321dafdfab4fb5f12ddf5fd803164a15d459b | 6a11e604d613fec762a25d1145f208ae268390ba | refs/heads/master | 2020-07-04T09:26:17.842367 | 2019-12-07T17:55:18 | 2019-12-07T17:55:18 | 202,238,870 | 0 | 0 | null | 2019-11-08T01:18:00 | 2019-08-13T23:40:54 | C | UTF-8 | C++ | false | false | 995 | cpp | #include "thread.h"
#include "primes.h"
#include "messages.h"
#include "gpio.h"
#include "uart.h"
int current_iteration = 0;
uint16_t key;
bool key_ready = false;
bool decode_ready = false;
bool testOK = false;
uint8_t message[MESSAGE_LENGTH] = {};
void initThreads(void)
{
osThreadCreate(osThread(getKeyThread), NUL... | [
"victorbelinello17@gmail.com"
] | victorbelinello17@gmail.com |
b051f7590ffc3816de97ab40aab15261aaec2757 | 2d5957d3f96d068c74c266a2651eb61159ffed9f | /Project1/Camera.cpp | 8aea93992a91e99f5a45ab74e13c3dfb32802568 | [] | no_license | ceski23/GL_MICROCAR | 1564716027e62b3e8646ffc76ce88f476f85022f | acfb1ecf98182088c8ecc879b32bc82d5f95fbf2 | refs/heads/master | 2020-06-02T13:27:22.260357 | 2019-06-23T14:11:20 | 2019-06-23T14:11:20 | 191,169,350 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 1,672 | cpp | #include "Camera.h"
Camera::Camera(glm::vec3 startPos, glm::vec3 upperStartVector, GLfloat startYaw, GLfloat startPitch, GLfloat speed, GLfloat rotation)
{
position = startPos;
worldUpperVector = upperStartVector;
yaw = startYaw;
pitch = startPitch;
direction = glm::vec3(0.0f, 0.0f, -1.0f);
cameraSpeed = speed;
... | [
"ceski23@gmail.com"
] | ceski23@gmail.com |
a861915426b9c355fe9254704debb2b87b798686 | 156ae94769a8b0644feb40d73cc4ac0cdc604a36 | /fhe/shield_spark/PALISADE/src/core/unittest/UnitTestEncoding.cpp | 531d7116a96f2c57fb5b255d57d9ba1112d8a4f9 | [
"BSD-2-Clause"
] | permissive | marcelmon/react-fhe | 42ecc2e2efb26e5cd64dd6cc865d63b07ead47f8 | f6e388785eb608eecce55641b57c2b102724ddd7 | refs/heads/master | 2020-03-21T03:13:08.271195 | 2018-09-17T21:35:52 | 2018-09-17T21:35:52 | 138,042,108 | 0 | 0 | null | 2018-08-08T04:39:58 | 2018-06-20T14:13:13 | C++ | UTF-8 | C++ | false | false | 6,410 | cpp | /*
* @file
* @author TPOC: palisade@njit.edu
*
* @copyright Copyright (c) 2017, New Jersey Institute of Technology (NJIT)
* All rights reserved.
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
* 1. Redistribution... | [
"marcel@crowdbabble.com"
] | marcel@crowdbabble.com |
b3b3c78ae4790a1c1c98dfe1be849f7818aa41a2 | 784f176c759a464f9792fa9edacc4ac63634e24e | /src/libtsduck/base/tsSysUtils.cpp | 27d0901bb0c8db0c01cc746c8b14de8002fcc347 | [
"BSD-2-Clause"
] | permissive | ajithdesilva/tsduck | efe6475d9351a19dc12a5f9bb0503d9257507d8f | 8dfb98034c7a5d86af52cbce0b6efd50123659b7 | refs/heads/master | 2023-04-29T01:31:16.919758 | 2021-05-09T18:09:02 | 2021-05-09T18:09:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,504 | cpp | //----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2021, Thierry Lelegard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that ... | [
"thierry@lelegard.fr"
] | thierry@lelegard.fr |
37dd63086dc821c898fc88d427185202c9ef28d0 | ee07ddcba41df8866b838d2749eb2c75bac76dca | /tests/simplest_web_wiznet/simplest_web_wiznet.ino | 84100d96ac3adc9e73dd7a3b9d4696d33e71809a | [] | no_license | ioanvapi/arduino-sms-service | 6f2e678c178998a75f5270b8cdb124f993e3e432 | 4459a89b6625ced4eaedd9af0800f7c9a8221cfc | refs/heads/master | 2021-01-02T09:02:31.150839 | 2014-06-06T10:53:43 | 2014-06-06T10:53:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,454 | ino | /*
Built on Arduino Nano + Wiznet W5100 Ethernet shield and Ethernet library.
Tested in a browser and a POSTMAN chrome plugin
End of line = '13 10' = '\r \n'
End of request = empty line = '13 10' = '\r \n'
Note: It works with both GET and POST requests.
*/
#include <SPI.h>
#include <Ethernet.h>
byte mac[]... | [
"vapirovschi@synygy.com"
] | vapirovschi@synygy.com |
19398f31d7e41d067532393ca851a1842437a5a6 | a96c3be032187b3e23a47f1e893797616fb80a14 | /Source/Encounters/Private/AI/BTTask_Guard.cpp | 55bc66704397f1956b5d669001e0cb679b76088b | [] | no_license | lldvvbll/Encounters | 0c7d9c90b5bbfc761038e1eea5ed0db10d760bfb | febbf3ab1f12bbee23877e3cdf6991fcd516d5f8 | refs/heads/main | 2023-04-13T06:16:50.603147 | 2021-04-11T14:19:47 | 2021-04-11T14:19:47 | 322,254,098 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 530 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "AI/BTTask_Guard.h"
#include "EncAIController.h"
#include "Character/NpcCharacter.h"
EBTNodeResult::Type UBTTask_Guard::ExecuteTask(UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory)
{
EBTNodeResult::Type Result = Super::Exe... | [
"lldvvbll@nate.com"
] | lldvvbll@nate.com |
920c236b143c1804d94fa38c61fee7c00b503487 | dd1e3221c0b9378457ef54a409788b42b8df66ea | /Include/ViewPerspectiveHighlight.h | ac01fe74996d17a953979865a614c45a593190b9 | [
"MIT"
] | permissive | FTD2012/Hieroglyph3 | b1b83bea2c7b8e08c2916d2b9006ae77264bfcc4 | 10adfe1639747ecb6aa0bb5a4d2618383758d361 | refs/heads/master | 2022-11-02T07:28:00.660292 | 2020-06-19T12:41:56 | 2020-06-19T12:41:56 | 273,384,411 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,831 | h | //--------------------------------------------------------------------------------
// This file is a portion of the Hieroglyph 3 Rendering Engine. It is distributed
// under the MIT License, available in the root of this distribution and
// at the following URL:
//
// http://www.opensource.org/licenses/mit-license.ph... | [
"invokerleve@gmail.com"
] | invokerleve@gmail.com |
3511eeb54a3cc16ff287121d4a2ce74496b37387 | bb85dc81b94a1ec329399f011a04857102641ff7 | /1.cpp | 8386c26892a700d6e2778a1727cdd8fd1edc83a0 | [] | no_license | akahana-1/JOI2012-2013p | 86cc036e86b244fc5d2acacd38b266583361490c | e5522f5075815fe4087ab14fb43b6d07d2c53645 | refs/heads/master | 2021-01-02T22:51:41.703603 | 2013-01-09T19:27:40 | 2013-01-09T19:27:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 347 | cpp | #include <iostream>
#include <cmath>
using namespace std;
int main(){
int n,ta,tb;
double a,b,c,d;
cin >> n;
cin >> a >> b >> c >> d;
a /= c;
b /= d;
ta = (int)(ceil(a));
tb = (int)(ceil(b));
if(ta > tb){
cout << n - ta << endl;
}
else {
cout << n - tb << en... | [
"akahana@akahana-PC.(none)"
] | akahana@akahana-PC.(none) |
584abc0c91d92ac1e606d85ff60caf750b6c5df7 | cb38f5da8916a8c8192fd0d7729652f02417ede7 | /BeagleBone_Blue_catkin_ws/src/navigation/src/prototype_mission_4_1.cpp | e0c1105d8daeb4b7e2a92d900a4f2826313cf412 | [
"MIT"
] | permissive | raymondturrisi/MiniMAUV-software | fe42057687e4fc42436309bd7cc5f0d729f3d638 | 442c3238e3ca441a5fb9544da4163ef2afbaafda | refs/heads/main | 2023-04-23T22:19:44.685960 | 2021-05-12T14:42:14 | 2021-05-12T14:42:14 | 306,679,229 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,383 | cpp |
/*
* @file prototype_mission_4_1.cpp
* @Node name: prototype_mission_4_1
* @Publishing to:
* All
* @Subscribing to:
* none
*
* @description
* Prototype mission 4_1 with open loop controls
* 1) Get into horizontal cruising configuration
* 2) Test 2 PWMs for 10 seconds each [1510, 1520]
*
* @author | initials
* Ra... | [
"raymond.turrisi@gmail.com"
] | raymond.turrisi@gmail.com |
5259c6c15f1c9d57553be8c9535cb1e6c5e7a2f1 | cf4659eacbd05ca334c5cd14b3e01d3128c74914 | /src/Native/LdaNative/utils.hpp | 7b71ec67da5881ec36aa9c46c593caa26a552c09 | [
"MIT"
] | permissive | dotnet/machinelearning | 86ae73e4ff43408307244681b8a78d287d7fb83b | d6927515d8014442d35ee22817ec7c40b9e7eec7 | refs/heads/main | 2023-09-03T19:56:28.278537 | 2023-09-02T04:06:55 | 2023-09-02T04:06:55 | 132,021,166 | 8,927 | 2,191 | MIT | 2023-09-13T17:12:31 | 2018-05-03T16:20:42 | C# | UTF-8 | C++ | false | false | 1,072 | hpp | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#pragma once
#define NOMINMAX
#include <condition_variable>
#include <deque>
#include <atomic>
#include <mutex>
#i... | [
"shauheen@users.noreply.github.com"
] | shauheen@users.noreply.github.com |
9eb3626a5c8114d970d313661b2eadfaae4f60ed | e020c8080f09a1a174a8a8841eab3ddb2b720b75 | /MyStudy/02_WinAPI/DeadParticle.cpp | cde5078db417b8039882de107403755aba5a1128 | [] | no_license | eazuooz/WindowsAPI_Portfolio | c19bcf912d5ff2fb55955b7ba390c036326e41d3 | f9e6e3645a1a59e62c7522a0f45fa97c76e1c3e9 | refs/heads/master | 2023-07-02T16:13:15.996565 | 2021-07-27T03:22:13 | 2021-07-27T03:22:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 937 | cpp | #include "stdafx.h"
#include "DeadParticle.h"
#include "AniRender.h"
#include <JTIME.h>
#include <Well512.h>
#define m_PI 3.141592
DeadParticle::DeadParticle() : deathTime( 5.0f)
{
Well512Random::Init();
dPos = {Well512Random::GetFloatValue(-1.00f, 1.00f), Well512Random::GetFloatValue(-1.00f, 1.00f... | [
"46310910+MYOMYO3@users.noreply.github.com"
] | 46310910+MYOMYO3@users.noreply.github.com |
1338ce97ba512d277f23cb5b5f42a916af00117b | eba2fadea4972b682edce710300ea280a210eee2 | /leetcode/c++/1110.DeleteNodesAndReturnForest.cc | bcbd61b9cce2a3beff7c09a7e6a8905b38e15315 | [] | no_license | seesealonely/leetcode | 33b876968f08a0ddd00adc714d03ad6e4c0bfae9 | 1a371f3ad438bb70bf7a685843097535f5fc1c5d | refs/heads/master | 2023-08-30T21:22:07.456531 | 2023-08-30T20:15:49 | 2023-08-30T20:15:49 | 87,525,147 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 814 | cc | /*
Given the root of a binary tree, each node in the tree has a distinct value.
After deleting all nodes with a value in to_delete, we are left with a forest (a disjoint union of trees).
Return the roots of the trees in the remaining forest. You may return the result in any order.
Example 1:
Input: root = [1,2,3,... | [
"seesealonely@gmail.com"
] | seesealonely@gmail.com |
160b9de6262f7ff863e6a4f18a37bba185f2612e | 229f25ccda6d721f31c6d4de27a7bb85dcc0f929 | /solutions/RPC/05-2019/B.cpp | 70c3102697876f211658fb887f5a584033a518fe | [] | no_license | camil0palacios/Competitive-programming | e743378a8791a66c90ffaae29b4fd4cfb58fff59 | 4211fa61e516cb986b3404d87409ad1a49f78132 | refs/heads/master | 2022-11-01T20:35:21.541132 | 2022-10-27T03:13:42 | 2022-10-27T03:13:42 | 155,419,333 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,258 | cpp | #include <bits/stdc++.h>
using namespace std;
const int NM = 1e3 + 5;
char g[NM][NM];
bool done[NM][NM];
int h, n, m;
int dx_p[6] = {-1,-1, 0,0,1,1};
int dy_p[6] = { 0, 1,-1,1,0,1};
int dx[6] = {-1,-1, 0,0, 1,1};
int dy[6] = {-1, 0,-1,1,-1,0};
void dfs(int x, int y, int & cnt){
done[x][y] = 1;
cnt++;
f... | [
"camilopalacios772@gmail.com"
] | camilopalacios772@gmail.com |
703dabe3b3940a6d10a423a765845796cba5e362 | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_1/ISA2+po+ctrlisb+dmb.sy.c.cbmc.cpp | 18b726f6293a03add68fe139a319d6569f4e27b7 | [] | no_license | ashutosh0gupta/llvm_bmc | aaac7961c723ba6f7ffd77a39559e0e52432eade | 0287c4fb180244e6b3c599a9902507f05c8a7234 | refs/heads/master | 2023-08-02T17:14:06.178723 | 2023-07-31T10:46:53 | 2023-07-31T10:46:53 | 143,100,825 | 3 | 4 | null | 2023-05-25T05:50:55 | 2018-08-01T03:47:00 | C++ | UTF-8 | C++ | false | false | 43,422 | cpp | // 0:vars:3
// 7:thr1:1
// 8:thr2:1
// 3:atom_1_X0_1:1
// 4:atom_2_X0_1:1
// 5:atom_2_X2_0:1
// 6:thr0:1
#define ADDRSIZE 9
#define NPROC 4
#define NCONTEXT 1
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CPROVER_assert(stmt, "error")
#define max(a,b) (a>b?a:b)
char __get_rng();
char get_rng( ch... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
9a89daa1224df9ba3d1b39887094c826f38182a7 | 4bf4d0d02cdddc354de34062df2d27182e1053d1 | /Codeforces/1384A.cpp | f1ccb5c73bb42ef222107180d86c6b537b3b9155 | [
"MIT"
] | permissive | DT3264/ProgrammingContestsSolutions | d61fbac7145d82b3262c41a880ac89a1a813f231 | e94f344602b22d84751b1e0503bb6fbe389dcf77 | refs/heads/master | 2022-02-23T02:37:43.144589 | 2022-02-06T21:47:53 | 2022-02-06T21:47:53 | 160,301,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,234 | cpp |
// Problem : A. Common Prefixes
// Contest : Codeforces - Codeforces Round #659 (Div. 2)
// URL : https://codeforces.com/contest/1384/problem/0
// Memory Limit : 256 MB
// Time Limit : 1000 ms
// Powered by CP Editor (https://github.com/cpeditor/cpeditor)
#include<bits/stdc++.h>
#define f first
#define s second
#defi... | [
"cernadaniel32@gmail.com"
] | cernadaniel32@gmail.com |
ab03962226e64a1f96942896d9ef8e71bce76df4 | b8e8c8c95d9a196260d4b08e86b4750bb07a1a10 | /ZSJ-Project/Project3/CODETEST/test/Priority-Queue-Test/fib_heap(pass correctness).h | c604cbfa2306011fb4572d6d9b663f009f5ee02c | [] | no_license | Randyzhang98/Weikang-s-Data-House | 69d1817757eb33bed5747d518ced0a48a8618104 | 1e8781c5967ff46084b98c4c9fdcc633cccce76f | refs/heads/master | 2020-04-06T09:14:33.993428 | 2018-12-19T07:57:43 | 2018-12-19T07:57:43 | 157,334,186 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,009 | h | #ifndef FIB_HEAP_H
#define FIB_HEAP_H
#include <algorithm>
#include <cmath>
#include <list>
#include <iostream>
#include "priority_queue.h"
// OVERVIEW: A specialized version of the 'heap' ADT implemented as a
// Fibonacci heap.
template<typename TYPE, typename COMP = std::less<TYPE> >
class ... | [
"601981285@qq.com"
] | 601981285@qq.com |
4990dbf5e1cdb0ae0ecd95bfc153cbd2c8af98e5 | 736dadbdbdcf1ee31ead243f793f229657f281bd | /RTCP/RTP/RtpConnect.cpp | f6b322e2bc395effc61e0c66eec2d07b18528e58 | [] | no_license | demon060/IPC | 3608dd590b8acde4b7f8f7bfa5c03b42dcd54b07 | 16be58dcfbec348b6844d959ae00034f4eccb699 | refs/heads/master | 2020-07-27T13:38:54.214149 | 2019-02-12T09:08:39 | 2019-02-12T09:08:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,769 | cpp | #include "RtpConnect.h"
#include <chrono>
RtpConnect::RtpConnect(int port)
{
sockfd = socket(AF_INET, SOCK_DGRAM, 0);
struct sockaddr_in addr = {0};
addr.sin_family = AF_INET;
addr.sin_addr.s_addr = inet_addr("0.0.0.0");
addr.sin_port = htons(port);
if(bind(sockfd, (struct sockaddr*)&a... | [
"992802269@qq.com"
] | 992802269@qq.com |
051fb7a89077acfce9b348f22b8b4e293ba6ee6c | 445caadc5c727df4b16a0b7bfbb713d408012bd2 | /code/machine/interrupt.cc | 4c1f593da5a12a47155d153e8a433b45cdadb103 | [] | no_license | jamespeace/nachos | 37506227f78cf0b0fe0ed1f4c11e711bfa8f6cf3 | 5a740473a88f0865aab9af8b28ce0ab29612346a | refs/heads/master | 2020-06-02T07:54:34.388450 | 2019-06-19T14:01:23 | 2019-06-19T14:01:23 | 191,089,503 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,609 | cc | // interrupt.cc
// Routines to simulate hardware interrupts.
//
// The hardware provides a routine (SetLevel) to enable or disable
// interrupts.
//
// In order to emulate the hardware, we need to keep track of all
// interrupts the hardware devices would cause, and when they
// are supposed to occur.
//
// This mod... | [
"james.happylove@gmail.com"
] | james.happylove@gmail.com |
a61671589ff0838b6851ae6bacfaaa7929370ac3 | 53a430e12ef6f7565bca8fa1d0b944b9b734a6f0 | /ex08/tree.cpp | 85e1a54f222e603a5270b51e23cd0ef4cad048f0 | [] | no_license | fmi-lab/fmi-lab-sdp-2019-kn-group2-sem | 226a68f839b51c4d2ee945ea0f8f3fad7eef9a8f | 978a806ce270a4ae07e9d3a7502d3cb11abddc15 | refs/heads/master | 2020-08-06T00:05:13.672204 | 2020-01-24T10:29:26 | 2020-01-24T10:29:26 | 212,764,777 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,084 | cpp | #include <iostream>
using namespace std;
template <class T>
struct node {
T data;
node<T> * left;
node<T> * right;
};
node<int>* createTree(
int data,
node<int>* left = NULL,
node<int>* right = NULL) {
node<int>* root = new node<int>;
root->data = data;
root->left = left;
root->right = right;
return ro... | [
"stef.vartolomeev@gmail.com"
] | stef.vartolomeev@gmail.com |
837693d8f02cf7203b4412d14f7244a1f60014a0 | f4482b0859df9c7a6b932422c385442a248a4ba8 | /b2/parser/output_buffer.hpp | e856665c9f5be33d367e4ea3648188c57d115497 | [] | no_license | mrdooz/tano | e86e3540a8ad4aeb967ff2297f3c44f2537ab619 | 4fd1112e7590aca0b86a00b4b865f5ebe0453191 | refs/heads/master | 2021-03-12T19:53:59.096866 | 2015-10-27T13:41:21 | 2015-10-27T13:41:21 | 29,353,711 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 249 | hpp | #pragma once
namespace parser
{
struct OutputBuffer
{
OutputBuffer();
void EnsureCapacity(size_t required);
char* Cur();
void Advance(size_t distance);
size_t _ofs;
size_t _capacity;
std::vector<char> _buf;
};
}
| [
"magnus.osterlind@gmail.com"
] | magnus.osterlind@gmail.com |
08a1891a0175e736a4064b9003eb1e27ef9ea85f | b81d88e418b72ce70d7350739b76bdc48f8ef468 | /tesseract_python/swig/tesseract_environment_python_std_functions.h | 5a172cad82df469000e18bf9f2ecc90645e58ecf | [
"BSD-3-Clause",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | marip8/tesseract_python | e7605ee9b8879c12be14f215d68b88961fa0cfe8 | 0466e23dc6dbb404deae9b27b38d4cb8768d52fd | refs/heads/master | 2023-02-12T04:14:31.733733 | 2021-01-11T03:05:45 | 2021-01-11T06:39:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,124 | h | /**
* @file tesseract_environment_python_std_functions.h
* @brief Callback directors for tesseract_python module
*
* @author John Wason
* @date December 18, 2020
* @version TODO
* @bug No known bugs
*
* @copyright Copyright (c) 2020, Wason Technology, LLC
*
* @par License
* Software License Agreement (Apach... | [
"levi.armstrong@gmail.com"
] | levi.armstrong@gmail.com |
975bd7b456ba6c0ca4d5b0b1726cdd25775b60c1 | 0f7a4119185aff6f48907e8a5b2666d91a47c56b | /sstd_utility/windows_boost/boost/asio/windows/stream_handle.hpp | 82ecf20793b7d0a3e0f7d6ca533cfd1d56ff3bb6 | [] | no_license | jixhua/QQmlQuickBook | 6636c77e9553a86f09cd59a2e89a83eaa9f153b6 | 782799ec3426291be0b0a2e37dc3e209006f0415 | refs/heads/master | 2021-09-28T13:02:48.880908 | 2018-11-17T10:43:47 | 2018-11-17T10:43:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,863 | hpp | //
// windows/stream_handle.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef BOOST_AS... | [
"nanguazhude@vip.qq.com"
] | nanguazhude@vip.qq.com |
992d4686707951168a4c1d01a36f9f9e0f287285 | 5e1ae0c5e8f26339759b43e6627771edcf7d16ce | /external/chromium_org/content/renderer/history_serialization.cc | cf85496de3c7441a0d420da02bb21cd117d12925 | [
"BSD-3-Clause"
] | permissive | guoyanjun0313/cb40_6735 | d303eec21051633ee52230704a1dfd0f3c579cc0 | fc5aa800555da17f2c2c3f75f95f772ff67b40c0 | refs/heads/master | 2022-12-28T16:44:38.678552 | 2018-04-18T03:00:31 | 2018-04-18T03:00:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,965 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/renderer/history_serialization.h"
#include "content/common/page_state_serialization.h"
#include "content/public/common/page_state.h"
#i... | [
"liuyiping@t-road.cn"
] | liuyiping@t-road.cn |
58914bab23efa98c8bab567972ebce90792eafe5 | 90312ba1088363f12408b9869d89e31d6ad658e5 | /mbr_partition_table/src/cpp_stl_98/mbr_partition_table.cpp | 1453b49e293a143821a1a4d469d229237fde90dc | [
"ISC"
] | permissive | Tosyk/formats-kaitai-io.github.io | c3e9d0df4deae557f5ac4d36290c7052be4c16bb | 1faec646734b93815d39bc638ead4bc9a37eca3e | refs/heads/master | 2023-07-29T07:22:10.818349 | 2021-09-12T11:41:45 | 2021-09-12T11:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,350 | cpp | // This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild
#include "mbr_partition_table.h"
#include "kaitai/exceptions.h"
mbr_partition_table_t::mbr_partition_table_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, mbr_partition_table_t* p__root) : kaitai::kstruct(p__io) ... | [
"kaitai-bot@kaitai.io"
] | kaitai-bot@kaitai.io |
8ed3177ddde259defe8e40437cd82d4fe6040577 | 17fb61a3a2fdda085941c2ba8d04daaf8397d2a5 | /test/libponyc/badpony.cc | fb7a7d0f56c7923f179729859f30a28e0dc133ae | [
"BSD-2-Clause"
] | permissive | shlomif/ponyc | 3553a42aa63fc7700f8469715b3c4470fcbda8f3 | 545e403b3d4e2fcb572575940f2b377c7d391146 | refs/heads/master | 2020-12-24T16:16:24.254052 | 2015-08-25T09:57:39 | 2015-08-25T09:57:39 | 41,370,048 | 1 | 0 | null | 2015-08-25T15:02:24 | 2015-08-25T15:02:24 | null | UTF-8 | C++ | false | false | 1,668 | cc | #include <gtest/gtest.h>
#include <platform.h>
#include "util.h"
/** Pony code that parses, but is erroneous. Typically type check errors and
* things used in invalid contexts.
*
* We build all the way up to and including code gen and check that we do not
* assert, segfault, etc but that the build fails and at l... | [
"andrew@causality.io"
] | andrew@causality.io |
684a75d016cfce04fb684f65448940837d646b47 | 7305ca85b0b585d8178f013c2a417deb3ddcd498 | /src/backend/spin/camera_device_spin.hpp | 04cc58654bbee0d792e6f6b2a66da05dbec5c2c3 | [
"Apache-2.0"
] | permissive | rozmar/bias | de00b2b1cfe888487b89480646d5f0516cb7284a | 3881370bb46fdc8976c04ec033cdfb240d1a26da | refs/heads/master | 2022-11-13T19:08:46.643239 | 2020-03-13T17:55:44 | 2020-03-13T17:55:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,392 | hpp | #ifdef WITH_SPIN
#ifndef BIAS_CAMERA_DEVICE_SPIN_HPP
#define BIAS_CAMERA_DEVICE_SPIN_HPP
#include <map>
#include <string>
#include <functional>
#include <opencv2/core/core.hpp>
#include "utils.hpp"
#include "camera_device.hpp"
#include "camera_info_spin.hpp"
#include "property.hpp"
#include "SpinnakerC.h... | [
"will@iorodeo.com"
] | will@iorodeo.com |
36097b2812f67e4dfe80fc726ead8f8b73f6bcae | 1391042fa29e096d42ee5a9488d6385ae2fcbffe | /bin/linux64/cpp/obj/src/zpp_nape/dynamics/ZPP_IContact.cpp | e54ff247817f562097435855611a621cbbaaa246 | [] | no_license | TomBebbington/brains | 8820de236a879c2199147906bf1d390cf44de6cc | c69b51e261fcbe3c1b7bea84568a92424da6a0aa | refs/heads/master | 2021-01-10T18:33:08.105130 | 2013-08-25T23:20:45 | 2013-08-25T23:20:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33,584 | cpp | #include <hxcpp.h>
#ifndef INCLUDED_zpp_nape_dynamics_ZPP_IContact
#include <zpp_nape/dynamics/ZPP_IContact.h>
#endif
namespace zpp_nape{
namespace dynamics{
Void ZPP_IContact_obj::__construct()
{
HX_STACK_FRAME("ZPP_IContact","new","ZPP_IContact.new","zpp_nape/dynamics/Contact.hx",625)
{
HX_STACK_LINE(655)
this->l... | [
"tophattedcoder@gmail.com"
] | tophattedcoder@gmail.com |
9e774e8c0747fd872618b8bf28567a387b0cc5d8 | c45511f1d650751d4f3aa685fde49eb6baa24a08 | /tests/core_tests/chain_switch_1.h | c084faeba2cf5ad709d949f50ccf3fb6a7d9f44e | [
"BSD-3-Clause"
] | permissive | cutcoin/cutcoin | 41a64eb853d209868b2f37bd7675e833fcdb6c7b | 2cec00c3b98b7d67a43cd9310271e1de05309c40 | refs/heads/master | 2023-09-03T17:23:14.797983 | 2021-04-06T17:26:12 | 2021-04-06T17:26:12 | 162,971,729 | 9 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 2,673 | h | // Copyright (c) 2018-2021, CUT coin
// Copyright (c) 2014-2018, The Monero Project
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are
// permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain th... | [
"info@cutcoin.org"
] | info@cutcoin.org |
b69a1980f8e21cb9f1aff842e75e786e54196a5c | 184d28d5aa0c74573eaf52d7a90c10e4b2ac9cd1 | /source/Memory/Finalizer.cpp | 58ac29f3dfdf09526b5cd80fed31e9fab2c75ab3 | [
"MIT"
] | permissive | kurocha/memory | 8ce792f23dcf5ce9ca6183449000ddcaa07da079 | 57e4fd53202f17764f7fe6cf04ac77d343bae2a5 | refs/heads/master | 2020-12-10T03:26:20.912305 | 2019-09-22T11:02:10 | 2019-09-22T11:02:10 | 95,565,544 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,115 | cpp | //
// Finalizer.cpp
// File file is part of the "Memory" project and released under the MIT License.
//
// Created by Samuel Williams on 27/6/2017.
// Copyright, 2017, by Samuel Williams. All rights reserved.
//
#include "Finalizer.hpp"
namespace Memory
{
Finalizer::~Finalizer()
{
}
void Finalizer::List::in... | [
"samuel.williams@oriontransfer.co.nz"
] | samuel.williams@oriontransfer.co.nz |
3b83201b1e766fb0faca0c4659ad2ef8654e9f3b | 3517125aebbd8b01f40c41a08d8345e251f4ce19 | /server_config.ino | 45928be1f3e3d26e82dd53889d5ccd841a1a5754 | [] | no_license | jasoncwilley/simple_node_webserver | d8bfb588f2a184d830d68dbb2c8a7777ebc67525 | 416ccbdab413f733603c658021d8f60b20ae5976 | refs/heads/main | 2023-04-02T21:08:43.841008 | 2021-03-26T01:57:22 | 2021-03-26T01:57:22 | 351,600,617 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,026 | ino | // ESP8266 and ESP32 boards are utilezed in the project
// Not all Libs are compatible with both boards
// This if statemtn will allow us to control whether or not to
// import the ESP32 or ESP8266 lib version
#ifdef ESP8266
#include <ESP8266WiFi.h>
#include <ESP8266mDNS.h>
#elif defined(ESP32)
#include <WiFi.h>
#inc... | [
"jason.c.willey@gmail.com"
] | jason.c.willey@gmail.com |
0c676c6b92957e22745b21071c641578a84cb990 | 90d62b5fc8bb764c7238e7db99da3459fa8be4ef | /Project_Prototype/src/examples/player_demo.cpp | 678eb9225714d4601919937133870268d9d1e0d9 | [
"MIT"
] | permissive | markoczy/2DGameSDK | 1d57c6a2f77e91f73a4d47cb7ca42f21339d2795 | 53da378d604ace1d931dfe6ec336241045675667 | refs/heads/master | 2022-03-29T05:17:41.618959 | 2020-01-16T18:26:01 | 2020-01-16T18:26:01 | 177,466,808 | 4 | 0 | MIT | 2019-12-19T18:05:22 | 2019-03-24T20:40:44 | C++ | UTF-8 | C++ | false | false | 3,187 | cpp | #include <examples.h>
using namespace std;
using namespace game;
// Type of player entity
const int _PLAYER_TYPE = 200;
/**
* @brief Test Entity: Movement Controllable by given observables
*/
class PlayerEntity : public SpriteKinematicEntity {
public:
PlayerEntity(Game* game,
sf::Tex... | [
"a.markoczy@gmail.com"
] | a.markoczy@gmail.com |
fa8ac62a3d5e8a7a32556561bda1a367e9dc784f | 2e30c9c3554509b1c83a4bfb1195d91262828bc9 | /sumOfArray.cpp | 53442947f327fc904fb174d36db7bcd51147cd5d | [] | no_license | ChristinaChyi/lab04_ronak45 | f3494ba6abb7c02ee6a09f991d3ed262fe1294a4 | 8b854e0d7c939947d4f7d1dbd525fde67c96c1b8 | refs/heads/master | 2020-04-24T01:12:37.206030 | 2019-02-18T03:28:44 | 2019-02-18T03:28:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 303 | cpp | #include "arrayFuncs.h"
#include <cstdlib>
#include <iostream>
int sumOfArray(int a[], int size) {
if (size < 1) {
std::cerr << "ERROR: sumOfArray called with size < 1" << std::endl;
exit(1);
}
int result=a[0];
for (int i=1; i<size; i++) {
result += a[i];
}
return result;
}
| [
"rsparikh@cs.ucsb.edu"
] | rsparikh@cs.ucsb.edu |
53c8cd4328a225ca26d3baddef8ffb4263b5ac1c | 13a06ef97a2e820302bb7061abc6d2137758fee1 | /AshEngine/src/Core/Camera.cpp | 89629cd6873c59802c741ea6c0cebf61fa90e23d | [
"MIT"
] | permissive | haoxiaoshuai01/3dshow | 65c5f94116a610f9613ad068b73288a962dc09d6 | 1f060dca01e2ec1edc93ddf6601743dea7f22707 | refs/heads/main | 2023-08-30T03:13:56.450437 | 2021-07-26T10:06:36 | 2021-07-26T10:06:36 | 388,115,006 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,065 | cpp | #include <Camera.h>
Camera::Camera(QObject* parent): QObject(0) {
int tmp_log_level = log_level;
log_level = LOG_LEVEL_WARNING;
setObjectName("Camera");
reset();
log_level = tmp_log_level;
setParent(parent);
}
Camera::Camera(QVector3D position, QVector3D direction, QObject* parent): QObject... | [
"15227916361@163.com"
] | 15227916361@163.com |
71a8b362d946858d64300331909c1bcfc7a0b45a | 641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2 | /chrome/app/mash/mash_runner.h | 813daa0eb00aa96a845772a1074b647b251fd3fa | [
"BSD-3-Clause"
] | permissive | massnetwork/mass-browser | 7de0dfc541cbac00ffa7308541394bac1e945b76 | 67526da9358734698c067b7775be491423884339 | refs/heads/master | 2022-12-07T09:01:31.027715 | 2017-01-19T14:29:18 | 2017-01-19T14:29:18 | 73,799,690 | 4 | 4 | BSD-3-Clause | 2022-11-26T11:53:23 | 2016-11-15T09:49:29 | null | UTF-8 | C++ | false | false | 1,027 | h | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_APP_MASH_MASH_RUNNER_H_
#define CHROME_APP_MASH_MASH_RUNNER_H_
#include <memory>
#include "base/macros.h"
#include "services/service_mana... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
dfbde205255c31075c0663c2aef1c3bec6e7c6b1 | 5469901a3c49f28747b7744274cd137cdd1b42ef | /cplex_2018/Data.h | 71dd80c4f5b6fe0a5d3f1a441a9a9711406f59b9 | [] | no_license | gaoyangu/cplex_code | 68a94ddc1c2b8715386f131bd71fdb1c1e1fb784 | 957330364e5514e32010819357b317a0232f5db1 | refs/heads/master | 2022-12-21T15:54:05.499618 | 2020-09-15T08:56:25 | 2020-09-15T08:56:25 | 287,940,845 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 651 | h | #pragma once
#include <list>
#include <vector>
#include "Flight.h"
#include "Deport.h"
#include "Passenger.h"
using namespace std;
class Data {
public:
int flightNum;
int parkNum;
int passengerNum;
vector<Flight> flightList;
vector<Deport> deportList;
vector<Passenger> passengerList;
v... | [
"1600314850@qq.com"
] | 1600314850@qq.com |
549af41db9a65d7fe1acf52e5054a2bf629b70d4 | 21da454a8f032d6ad63ca9460656c1e04440310e | /test/utest/StringTest.cpp | 85fb41c510728e6ec167722582db6d8c20583906 | [] | no_license | merezhang/wcpp | d9879ffb103513a6b58560102ec565b9dc5855dd | e22eb48ea2dd9eda5cd437960dd95074774b70b0 | refs/heads/master | 2021-01-10T06:29:42.908096 | 2009-08-31T09:20:31 | 2009-08-31T09:20:31 | 46,339,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,030 | cpp | #include "StringTest.h"
#include <wcpp/lang/wscUUID.h>
#include <wcpp/lang/wscSystem.h>
#include <wcpp/lang/wscLong.h>
#include <wcpp/lang/wscThrowable.h>
StringTest::StringTest(void)
{
}
StringTest::~StringTest(void)
{
}
ws_result StringTest::doTest(void)
{
trace( "==========================... | [
"xukun0217@98f29a9a-77f1-11de-91f8-ab615253d9e8"
] | xukun0217@98f29a9a-77f1-11de-91f8-ab615253d9e8 |
98045de483fd823fcd7b33feec700cac2368ee1c | c057e033602e465adfa3d84d80331a3a21cef609 | /C/testcases/CWE127_Buffer_Underread/s01/CWE127_Buffer_Underread__CWE839_listen_socket_82.h | 25e31d3aeab7fd7a7aff5f03c5ca23a7160008bb | [] | no_license | Anzsley/My_Juliet_Test_Suite_v1.3_for_C_Cpp | 12c2796ae7e580d89e4e7b8274dddf920361c41c | f278f1464588ffb763b7d06e2650fda01702148f | refs/heads/main | 2023-04-11T08:29:22.597042 | 2021-04-09T11:53:16 | 2021-04-09T11:53:16 | 356,251,613 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,449 | h | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE127_Buffer_Underread__CWE839_listen_socket_82.h
Label Definition File: CWE127_Buffer_Underread__CWE839.label.xml
Template File: sources-sinks-82.tmpl.h
*/
/*
* @description
* CWE: 127 Buffer Underread
* BadSource: listen_socket Read data using a listen socket (server ... | [
"65642214+Anzsley@users.noreply.github.com"
] | 65642214+Anzsley@users.noreply.github.com |
6b0abafe70af21017e2521960b1ef9a285061405 | 5af80813298c3a2da7f7e3e28adb1b9bcc433878 | /gameplay/src/Curve.h | 05e9a246ee572af18300197eefa4dcf24b9e12b1 | [] | no_license | damonyan1985/SkCanvas | c250ad47bdd0fa072ca859c6b1242dede2045f95 | 731ae8abb540382da2e156e8d93373c4563017ea | refs/heads/master | 2021-09-10T20:03:51.927207 | 2018-03-23T02:02:10 | 2018-03-23T02:02:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,129 | h | #ifndef CURVE_H_
#define CURVE_H_
#include "Ref.h"
namespace gameplay
{
/**
* Defines an n-dimensional curve.
*/
class Curve : public Ref
{
friend class AnimationTarget;
friend class Animation;
friend class AnimationClip;
friend class AnimationController;
friend class MeshSkin;... | [
"hgl868@126.com"
] | hgl868@126.com |
ba5fe24e947e5f56fa5d69dde18eb158f92b43bd | 5bc47dcf9ab0843b9d06bc25012bcb2f78874216 | /53C.cpp | c99cc49bc819989af83b73d5b3f0b6865baf1a26 | [] | no_license | MijaTola/Codeforce | 428f466248a4e9d42ac457aa971f681320dc5018 | 9e85803464ed192c6c643bd0f920f345503ac967 | refs/heads/master | 2021-01-10T16:27:12.479907 | 2020-10-14T15:00:14 | 2020-10-14T15:00:14 | 45,284,776 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 260 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int b;
cin >> b;
int a = 1;
int f = 1;
while(a <= b) {
if(f) cout << a++ << " ";
else cout << b-- << " ";
f = !f;
}
cout << "\n";
return 0;
}
| [
"mija.tola.ap@gmail.com"
] | mija.tola.ap@gmail.com |
5b731e52b88fe8cbeea776622b9855e8cb61c296 | b367fe5f0c2c50846b002b59472c50453e1629bc | /xbox_leak_may_2020/xbox trunk/xbox/private/test/multimedia/dmusic/dmtest1/TemplateError/DMTest1/AudioPath_SetVolume_Invalid.cpp | 30bc944796c3718192106774f495915a2d7b3ce9 | [] | no_license | sgzwiz/xbox_leak_may_2020 | 11b441502a659c8da8a1aa199f89f6236dd59325 | fd00b4b3b2abb1ea6ef9ac64b755419741a3af00 | refs/heads/master | 2022-12-23T16:14:54.706755 | 2020-09-27T18:24:48 | 2020-09-27T18:24:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,130 | cpp | /********************************************************************************
FILE:
AUDIOPATH8.cpp
PURPOSE:
Contains AudioPath test functions.
BY:
DANHAFF
********************************************************************************/
#include "globals.h"
#include "cicmusicx.h"
/**... | [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
c657fcd3e7e0f04e509e37930508fec3c4e7efe8 | 0e9394230899fd0df0c891a83131883f4451bcb9 | /include/boost/simd/constant/definition/oneosqrt5.hpp | be7bc770213d7aa2084fd475e4229585ee747d02 | [
"BSL-1.0"
] | permissive | WillowOfTheBorder/boost.simd | f75764485424490302291fbe9856d10eb55cdbf6 | 561316cc54bdc6353ca78f3b6d7e9120acd11144 | refs/heads/master | 2022-05-02T07:07:29.560118 | 2016-04-21T12:53:10 | 2016-04-21T12:53:10 | 59,155,554 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,526 | hpp | //==================================================================================================
/*!
@file
@copyright 2012-2015 NumScale SAS
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
//======================... | [
"charly.chevalier@numscale.com"
] | charly.chevalier@numscale.com |
53c7abaaca6dec19e7d464ce3cdfc49eea7fb92d | 95791ff410128726d8d940cd0014535ccb9c16af | /第6章/6.36_递归的求幂计算/main.cpp | c9d9878aafd56c4a805dda702f90c67f2e820977 | [] | no_license | LiuXJingx/liu_xinjing | d7c6162d636b7040d41907da47975666bdbf8a9a | e752bb3ce882ef1217b5b9f9e897b194011b5c66 | refs/heads/master | 2020-04-02T10:42:24.754626 | 2019-04-21T11:10:44 | 2019-04-21T11:10:44 | 154,350,958 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 298 | cpp | #include <iostream>
using namespace std;
int power(int base,int exponent)
{
if(exponent>1)
return base*power(base,exponent-1);
}
int main()
{
cout<<"Enter base and exponent: ";
int base,exponent;
cin>>base>>exponent;
cout << power(base,exponent) << endl;
return 0;
}
| [
"2464923693@qq.com"
] | 2464923693@qq.com |
8490bca134100db1659fafb5c6c1f971756543a7 | 7f2aa0e6328e1ea095b1ef2166c772c7c71541ce | /Step 7 - Transform/Render/Device.h | ecee57a837e8a1c2540d6aef5683a0022cb20ed6 | [] | no_license | ENgineE777/RS_Steps | 97eb5f9bf3aa94c53b76eec8434150f5b5921d40 | 85d5e43ea12f75ca1e2b2ab0d826d1b6a8dc222b | refs/heads/master | 2021-01-19T13:37:41.460416 | 2017-08-06T17:06:30 | 2017-08-06T17:09:26 | 82,404,755 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 954 | h |
#pragma once
#include "Helpers/Helpers.h"
#include "Shader.h"
#include "GeometryBuffer.h"
#include "Program.h"
#include "Texture.h"
class Device
{
friend class Render;
friend class Program;
virtual bool Init(int width, int height, void* data) = 0;
virtual void Release() = 0;
public:
enum Primitive
{
LineS... | [
"enginee777@gmail.com"
] | enginee777@gmail.com |
e80cfecea2ca2464d5534f40d0ac4a484ad646d9 | 4baedf73762706ceedbef490f465eeaeea33c2b8 | /fullratio.hpp | a05767cd90d005a8af5d6edd235d9eaadb64bc62 | [] | no_license | vapostolopoulos/RationalNumbers | e47809f4f58175f83ce287ec292aaa04ee5030b8 | 8e9bf2dff08e20c63bc63728e3fad02ceae68af4 | refs/heads/master | 2023-01-11T06:16:49.351863 | 2020-11-05T02:28:54 | 2020-11-05T02:28:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 556 | hpp | #ifndef __FULLRATIO_HPP__
#define __FULLRATIO_HPP__
#include <iostream>
class rational {
public:
rational(int n, int d = 1);
friend rational operator + (const rational &x, const rational &y);
friend rational operator - (const rational &x, const rational &y);
friend rational operator * (const rational &x, co... | [
"vnapostolop@gmail.com"
] | vnapostolop@gmail.com |
00203e53a3447ca3bb87245db870620b98f1b2a3 | 11e0959139da59360d91a49fdb0385482fb96262 | /InputSetup.cpp | ac6d5fe9eb5824c829d45e2d3ab8cef8d7ef5c8e | [] | no_license | ePubRepo/life | 1acfc7def910e6e2e5034cd053091445ef5eb09a | 3cdc3462fc2df32bd04e0700c48c9dc568673ce3 | refs/heads/master | 2021-01-20T05:49:51.084898 | 2012-12-05T05:02:32 | 2012-12-05T05:02:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,610 | cpp | //
// InputSetup.cpp
// life
//
// Copyright 2012 <EAB>
#include <iostream> // for cout
#include <string>
using namespace std;
#include "./InputSetup.h"
#include "./StanfordCPPLib/console.h" // required of all files that contain the main function
#include "./StanfordCPPLib/simpio.h" // for getLine
#include ".... | [
"your@email.com"
] | your@email.com |
89253842e7bc5e199385eb44bf7f06c03af302e8 | b1e7481f8b5bf40c2547c95b1863e25b11b8ef78 | /RDF/BTagCalibrationStandalone.h | 8e36d456ba1699960be2f7425d152579544e389d | [
"Apache-2.0"
] | permissive | NJManganelli/FourTopNAOD | 3df39fd62c0546cdbb1886b23e35ebdc1d3598ad | c86181ae02b1933be59d563c94e76d39b83e0c52 | refs/heads/master | 2022-12-22T22:33:58.697162 | 2022-12-17T01:19:36 | 2022-12-17T01:19:36 | 143,607,743 | 1 | 1 | Apache-2.0 | 2022-06-04T23:11:42 | 2018-08-05T11:40:42 | Python | UTF-8 | C++ | false | false | 5,033 | h | #ifndef BTagEntry_H
#define BTagEntry_H
// Copied from https://github.com/cms-sw/cmssw/blob/master/CondTools/BTau/test/BTagCalibrationStandalone.h
// and slightly modified for use in RDataFrame (faster initialization)
/**
*
* BTagEntry
*
* Represents one pt- or discriminator-dependent calibration function.
*
* ... | [
"nicholas.james.manganelli@cern.ch"
] | nicholas.james.manganelli@cern.ch |
1986cd30ea91e26d266b2d2ee8ddeb37a0f01446 | 2ba220de6f1279bb7e52234149aa9da13f796c09 | /src/locations/location_visitor.hpp | 9017c078c4263590c5dd090280b6f605e6d0e636 | [] | no_license | marblefactory/Server | b19abfef8ecf179200996d13b393abf368723185 | 9d19db11e2ef8cb7727047a431ddfb1416eb50b1 | refs/heads/master | 2021-08-20T09:01:56.131969 | 2017-11-28T17:50:03 | 2017-11-28T17:50:03 | 112,361,812 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 393 | hpp | //
// location_visitor.h
// EngineCommandSet
//
// Created by Albie Baker-Smith on 14/11/2017.
// Copyright © 2017 Albie Baker-Smith. All rights reserved.
//
#ifndef location_visitor_h
#define location_visitor_h
// Forward declarations.
class AbsoluteLocation;
class LocationVisitor {
public:
virtual void vis... | [
"bakersmitha@gmail.com"
] | bakersmitha@gmail.com |
317fc15d508e65a869e9a441faa798ab7ff67b8b | e4044fdb9b9785105f3413a0515c45d7a76cbfc1 | /gerentebdd.h | 3bfdaace05c249f8db31e402f8ad6450e3fe8f38 | [] | no_license | esbrito/aig-eq-verifier | b8dd5d8919471dd912025ba0ced8c49c25a00771 | 8bc9b30c142551a2f24c5eb85a327f42deab882a | refs/heads/master | 2021-05-16T14:46:05.737921 | 2018-01-25T17:51:27 | 2018-01-25T17:51:27 | 118,610,425 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,138 | h | //copyright Prof. Andre Reis - UFRGS
#ifndef GERENTEBDD_H
#define GERENTEBDD_H
#include <iostream>
#include <string>
#include <map>
#include <vector>
#include <fstream>
#include <sstream>
#include <algorithm>
#include <set>
#include "aig.h"
using namespace std;
enum Token_value{AND='*', OR='+', LP='(', RP=')', NO... | [
"eduardobrito14@gmail.com"
] | eduardobrito14@gmail.com |
41731244e0e963dd024db7e53e1725ba85589a88 | 32cf94c304c2c832595a28b49c7d9e0361d50950 | /test/dump/swdbgbk_src/chap25/PdbFairy/PdbMaster.cpp | 2f3d3e0f6cb3c4259e33c3bfda90d62113aba8da | [
"MIT"
] | permissive | oudream/ccxx | 11d3cd9c044c5f413ebc0735548f102a6f583114 | 26cecfb02e861ce6b821b33350493bac4793e997 | refs/heads/master | 2023-01-29T11:20:12.210439 | 2023-01-12T06:49:23 | 2023-01-12T06:49:23 | 47,005,127 | 46 | 11 | MIT | 2020-10-17T02:24:06 | 2015-11-28T01:05:30 | C | UTF-8 | C++ | false | false | 18,207 | cpp | // PdbMaster.cpp: implementation of the CPdbMaster class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "PdbFairy.h"
#include "PdbMaster.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////... | [
"oudream@126.com"
] | oudream@126.com |
32af074297dde14d1214ff102d6fdc6c751a987c | 6920669973a1731f3c6bc33b3789095d6fb9c2c0 | /101/SymmetricTree.cpp | 946d010fb6781874200f92cfd9d3ac2c05052f60 | [
"Apache-2.0"
] | permissive | misslzyan/leetcode | 47c56a95b30ce2c5c5fdeabb5ec9c635cc9b30be | 4ab3e3c8abb35bb9c31c2fd18e81e11ea69ff200 | refs/heads/master | 2022-12-13T03:52:35.733695 | 2020-08-24T04:32:14 | 2020-08-24T04:32:14 | 285,872,095 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 871 | cpp | #include<iostream>
struct TreeNode {
int val;
TreeNode* left;
TreeNode* right;
TreeNode(int x):val(x),left(nullptr), right(nullptr){}
};
class Solution {
public:
bool isSymmitric(TreeNode* root) {
return check(root, root);
}
bool check(TreeNode* r1, TreeNode* r2) {
if (!r1 && !r2) return true;
... | [
"misslzyan108@gmail.com"
] | misslzyan108@gmail.com |
a6217bee854ceaceb798404271dad7dfa6029e55 | 3d3650565a480d91f47e7ba8a1feb5c1d612b10a | /src/172_fractorial_trailing_zeros.cpp | d538b3a4c935366fdd0baa217b7e797baf806a6f | [] | no_license | Yu-ChenChang/LeetCode | e15c399f0c42a52bdeaa648e88000ff9a01ced7f | 690753040d5ae3e6e4433e0b90f78bb9ae38f15d | refs/heads/master | 2020-04-06T05:11:40.061743 | 2016-10-02T18:25:02 | 2016-10-02T18:25:02 | 52,691,044 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 278 | cpp | #include<vector>
#include<string>
#include<iostream>
using namespace::std;
class Solution {
public:
int trailingZeroes(int n) {
int res=0;
int five = 5;
while(n>=five){
res += n/five;
if(five>INT_MAX/5) break;
five *= 5;
}
return res;
}
};
int main(){
}
| [
"chang397@purdue.edu"
] | chang397@purdue.edu |
d623ade0444bac0f1903babe15f74913f61685f0 | 8c8b6ca7c2b78d8baa65bf34888343ffbe2ebc06 | /hostrpc/run_on_hsa.hpp | 98678ededd78b4df1c6898747bb0419183f18b2a | [
"MIT"
] | permissive | powderluv/hostrpc | 2184879b2d843563017545bf77031097f616fba5 | d2fa4127133cae8c23d8a691a0d23bb0ba1aa126 | refs/heads/master | 2023-04-02T00:25:01.815059 | 2021-04-12T01:40:29 | 2021-04-12T01:40:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,901 | hpp | #ifndef RUN_ON_HSA_HPP_INCLUDED
#define RUN_ON_HSA_HPP_INCLUDED
// Call a function with a given name and type:
// void known_function_name(void*);
// from:
// kernel void kernel_known_function_name(__global void *){}
// provided that source containing 'HOSTRPC_ENTRY_POINT(foo)'
// is compiled as opencl and as c++, whi... | [
"jonathanchesterfield@gmail.com"
] | jonathanchesterfield@gmail.com |
3dc9325c7747c1c698cc7952ad3e0c77df195e84 | 36184239a2d964ed5f587ad8e83f66355edb17aa | /.history/hw3/ElectoralMap_20211022000959.h | da6901ec51f98ce332d87131f516f14ee629ed8d | [] | no_license | xich4932/csci3010 | 89c342dc445f5ec15ac7885cd7b7c26a225dae3e | 23f0124a99c4e8e44a28ff31ededc42d9f326ccc | refs/heads/master | 2023-08-24T04:03:12.748713 | 2021-10-22T08:22:58 | 2021-10-22T08:22:58 | 415,140,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,899 | h | #ifndef __ELECTORALMAP__
#define __ELECTORALMAP__
//#include"District.h"
#include<iostream>
#include<map>
#include<vector>
enum party{one, two, three, none};
class District{
public:
District();
District(int);
void change_party(party,party, int);
//void get_constituent(party);
... | [
"70279863+xich4932@users.noreply.github.com"
] | 70279863+xich4932@users.noreply.github.com |
99b9b5b56a650644df32f65e654b563692404a80 | a15950e54e6775e6f7f7004bb90a5585405eade7 | /extensions/shell/browser/shell_app_delegate.cc | 0023132d3786dbce980d730a6b6033583908f92b | [
"BSD-3-Clause"
] | permissive | whycoding126/chromium | 19f6b44d0ec3e4f1b5ef61cc083cae587de3df73 | 9191e417b00328d59a7060fa6bbef061a3fe4ce4 | refs/heads/master | 2023-02-26T22:57:28.582142 | 2018-04-09T11:12:57 | 2018-04-09T11:12:57 | 128,760,157 | 1 | 0 | null | 2018-04-09T11:17:03 | 2018-04-09T11:17:03 | null | UTF-8 | C++ | false | false | 3,454 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "extensions/shell/browser/shell_app_delegate.h"
#include "content/public/browser/web_contents.h"
#include "extensions/common/constants.h"
#inclu... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
0f96b7b7186c2807bc91d6186252ecf491655ceb | 7468375a3a21d7fdb7890d933b600d703d1cf6df | /source/file/min/serial.cpp | 476d47c93ce2e1442883d019914c5c1895f5be2d | [
"Apache-2.0"
] | permissive | ocket8888/mgl | 71fb815397a1897356538c33eec231036a787397 | 151f5d9ea54c8389f2a608435ae28bc456488201 | refs/heads/master | 2020-03-21T05:40:28.108039 | 2018-10-04T15:43:50 | 2018-10-04T15:43:50 | 138,172,766 | 0 | 0 | null | 2018-06-21T13:17:43 | 2018-06-21T13:17:42 | null | UTF-8 | C++ | false | false | 17,203 | cpp | #include "serial.h"
template unsigned int min::read_le(const std::vector<uint8_t>&, size_t&);
template int min::read_le(const std::vector<uint8_t>&, size_t&);
template unsigned short min::read_le(const std::vector<uint8_t>&, size_t&);
template char min::read_le(const std::vector<uint8_t>&, size_t&);
template <typenam... | [
"ocket8888@gmail.com"
] | ocket8888@gmail.com |
d563011680e44d7705eb7013680a1b9cc9f876d2 | 84cb6172f8afd975707c486b11ac8c812960a8a1 | /ccfZCO14001.cpp | c4558eb75372ae631362c006c07d688d3418da08 | [] | no_license | numan947/Curiously-Bored | d4d761923102831cac83c828e2e6a44daa5d5ac7 | 7bfffec3989d6cb75697bf7f569da01c3adb1a19 | refs/heads/master | 2021-07-10T22:01:27.716481 | 2020-07-02T19:16:16 | 2020-07-02T19:16:16 | 152,405,037 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,027 | cpp | #include <bits/stdc++.h>
using namespace std;
/*Like set but has some more functionality:
1. Find kth smallest minimum
2. Find the index of an element
Does these in O(log n) time
How to use:
ordered_set<type> ss;
ss.insert(val);
ss.insert(val);
ss.insert(val);
cout<<ss.ordere_of_key(val)<<endl; // number of... | [
"mahmudulhasan947@gmail.com"
] | mahmudulhasan947@gmail.com |
0ff8d27d3c7fb61d3a0e332def90a0d93a52ff47 | c74b0c37ac8e2d3d1a3c0ffaa2b608bc4deff1c6 | /Toolkit/FreyaReflect/Lib/3party/elsa/smbase/hashtbl.cc | 3f100e3bae7da6140d366fd44ed0c63df0474480 | [] | no_license | crsib/freya-3d | c33beeb787e572f2faf9528c6f3a1fa3875749c5 | ff1f54b09f7bc0e253053a474f3fe5635dbedde6 | refs/heads/master | 2022-05-21T19:42:30.694778 | 2011-03-11T13:49:00 | 2011-03-11T13:49:00 | 259,894,429 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,361 | cc | // hashtbl.cc see license.txt for copyright and terms of use
// code for hashtbl.h
#include "hashtbl.h" // this module
#include "xassert.h" // xassert
#include <string.h> // memset
unsigned HashTable::hashFunction(void const *key) const
{
return coreHashFn(key) % (unsigned)tableSize;
}
H... | [
"crsib@localhost"
] | crsib@localhost |
08c13c3751cf892237ccd7d90209409db64e1a6b | a04701966913695a1cbc003bf4b609754b62ed1c | /src/libtsduck/tsAVCVideoDescriptor.h | 6a499ef3cb2a8ca436dc104da3f395e3a5b72f4e | [
"BSD-2-Clause"
] | permissive | anto35/tsduck | b80c7bed9138f78d402534fbf94f1635fd9d0c4a | 6aa32ce5a59865d8d5509fd22a0c7cd110f79dc0 | refs/heads/master | 2021-08-30T22:45:45.542104 | 2017-12-18T22:26:32 | 2017-12-18T22:26:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,153 | h | //----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2017, Thierry Lelegard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | [
"thierry@lelegard.fr"
] | thierry@lelegard.fr |
70ffea673f3095f8e9d9a01fbf004e0e19fa15a4 | aa66004b533a8d9e8f8ce175d4df6fce1b3137f4 | /src/SmartPointers/chrono.cpp | 2eef54d2d389a28cbcab33a7adf4063d9a9c1ea2 | [] | no_license | ricleal/CppTests | c036ba235765f742504195dba61b85ff752de337 | 84ac0253604ac02776498ec2a5f05f3e2dda7df9 | refs/heads/master | 2021-06-25T17:50:13.894692 | 2017-03-22T18:10:40 | 2017-03-22T18:10:40 | 13,873,119 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 685 | cpp | #include <iostream>
#include <vector>
#include <numeric>
#include <chrono>
volatile int sink;
int main_chrono()
{
for (auto size = 1ull; size < 1000000000ull; size *= 100) {
// record start time
auto start = std::chrono::system_clock::now();
// do some work
std::vector<int> v(size, ... | [
"ricleal@gmail.com"
] | ricleal@gmail.com |
2e9cbe6a1fd9e9fbdcec136da0bd6f7ee82dca1b | 4bad7578931dd47c38dc283aec7eb961be6e1f30 | /src/wallet/api/pending_transaction.h | db0a52324ce20d62a108c01ae705bc0441328bd3 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | cyberstormdotmu/electroneum-classic | d034453071a3c9fa37f494c212e3ffc6d0effc9b | 494bd2b5f9d9d759c10568e0326dde1737cefad6 | refs/heads/master | 2020-04-01T06:25:43.262217 | 2018-10-17T04:16:13 | 2018-10-17T04:16:13 | 152,947,188 | 0 | 0 | null | 2018-10-14T06:47:32 | 2018-10-14T06:47:32 | null | UTF-8 | C++ | false | false | 2,622 | h | // Copyrights(c) 2018, The Electroneum Classic Project
// Copyrights(c) 2017-2018, The Electroneum Project
// Copyrights(c) 2014-2017, The Monero Project
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are
// permitted provided that the following conditi... | [
"vans_163@yahoo.com"
] | vans_163@yahoo.com |
320df1b17be0f7ebc04f9832ba6956219578d42d | 8a274dffceab9d4e63fc0962e20fb7dab761555c | /CSES/Repetitions CSES.cpp | e84e4cac0ec1bbf1d344b228dd8cf16424d3c863 | [] | no_license | mkp0/CP | 669ce9ab399660d90d829f77b05f1462cd92ede5 | 80321819e46ebf4dd6512d6577add645da83708a | refs/heads/master | 2023-06-01T22:07:36.006530 | 2021-06-25T21:41:23 | 2021-06-25T21:41:23 | 273,572,017 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,351 | cpp | #include <bits/stdc++.h>
#define ll long long
#define pi (3.141592653589)
#define all(x) (x).begin(), (x).end()
#define vi vector<int>
#define vll vector<long long>
#define pii pair<int, int>
#define pll pair<long long, long long>
#define pb push_back
#define mp make_pair
#define S second
#define loop(i, a, b, c) for ... | [
"shadymasum@gmail.com"
] | shadymasum@gmail.com |
289137a2ffdae5eb87d99216fdd96ddb5bdfa0bd | 9eacc869fa1d8f8b2a2dfb6c3dba613e41992f72 | /app/music/music/bottom/bottomwidgets.cpp | 13cc2a802cc03ef727dd3cabeb65d9fba9476c13 | [
"Apache-2.0"
] | permissive | hyperkin-game/hyperkin-gb | 9093c4e29212924cdbb7492e7e13002105f33801 | e333185e8a2a4f5c90e84dca515e335e62565a3b | refs/heads/main | 2023-04-27T18:17:09.675136 | 2021-05-14T10:20:59 | 2021-05-14T10:20:59 | 331,823,448 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,046 | cpp | #include "bottomwidgets.h"
#include "constant.h"
#include <QHBoxLayout>
#ifdef DEVICE_EVB
int playButton_size = 100;
int bottom_height = 150;
int bottom_spacing = 25;
int layout3_size = 70;
int layout3_temp = 25;
int progress_slider_height = 20;
#else
int playButton_size = 55;
int bottom_height = 80;
i... | [
"stanley@bte.com.tw"
] | stanley@bte.com.tw |
8a11b3d42521dbedf29fc78c99c3d89ea2a75254 | 099f2181439ba42a5fbeb774a182faf3db9bad8c | /problems/347-top-k-frequent-elements.cpp | 33e1fca42782bcc10bde6f4cdfdfd49875201170 | [] | no_license | luchenqun/leet-code | 76a9193e315975b094225d15f0281d0d462c2ee7 | 38b3f660e5173ad175b8451a730bf4ee3f03a66b | refs/heads/master | 2021-07-09T09:49:36.068938 | 2019-01-15T07:15:22 | 2019-01-15T07:15:22 | 102,130,497 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 893 | cpp | /*
* [347] Top K Frequent Elements
*
* https://leetcode-cn.com/problems/top-k-frequent-elements/description/
* https://leetcode.com/problems/top-k-frequent-elements/discuss/
*
* algorithms
* Medium (46.38%)
* Total Accepted: 561
* Total Submissions: 1.2K
* Testcase Example: '[1,1,1,2,2,3]\n2'
*
* 给定一个非空... | [
"luchenqun@juzix.io"
] | luchenqun@juzix.io |
0d88ad45f6f55023f6474fd2ceadb20bf1cb2551 | b9d8b5bd3dc3c9bd6f3e84670c7fdfb004b661f5 | /object.h | 960ac120ef1d84d9ce290cf049904db9faea1103 | [] | no_license | alex-peng/AnimVis | a6440a69ca73f92e1d07f317bbf0e48b82fc635f | f2e5d788ddc42d1d2e79394e93f9518a517358ed | refs/heads/master | 2016-09-06T15:59:39.772963 | 2013-04-19T00:37:21 | 2013-04-19T00:37:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 846 | h | #ifndef _OBJECT_H_
#define _OBJECT_H_
namespace AMT
{
typedef enum {
WIREFRAME = 0,
GOURAUD,
TEXTURED
} TRenderMode;
class CBoundingBox
{
public:
float center[3];
float size;
CBoundingBox() : size(0.0f) {};
};
class CRenderObject
{
public:
bool m_visiable;
bool m_VisiableTest;
bool m_ShaderReady;
float al... | [
"mipeng@vt.edu"
] | mipeng@vt.edu |
bb82519d6db8208156b47ccda0dc52529e2e2828 | 2ca3ad74c1b5416b2748353d23710eed63539bb0 | /Src/Lokapala/Operator/UserDataDTO.h | 27a1e4aa4580bd841a0a396e3b67916832cb8aa5 | [] | no_license | sjp38/lokapala | 5ced19e534bd7067aeace0b38ee80b87dfc7faed | dfa51d28845815cfccd39941c802faaec9233a6e | refs/heads/master | 2021-01-15T16:10:23.884841 | 2009-06-03T14:56:50 | 2009-06-03T14:56:50 | 32,124,140 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,097 | h | /**@file UserDataDTO.h
* @brief 유저 개인의 정보를 담는 DTO를 정의한다.
* @author siva
*/
#ifndef USER_DATA_DTO_H
#define USER_DATA_DTO_H
/**@ingroup GroupDAM
* @class CUserDataDTO
* @brief 유저 개인의 정보를 담는다.\n
* @remarks 비밀번호는 모두 단방향 해싱을 거친 값들을 갖는다.\n
* 유저 id는 당방향 해싱 후의 로우레벨 패스워드(학번)다.
*/
class CUserDataDTO
... | [
"nilakantha38@b9e76448-5c52-0410-ae0e-a5aea8c5d16c"
] | nilakantha38@b9e76448-5c52-0410-ae0e-a5aea8c5d16c |
4cc016260fdcc37e4e50de75b0ddefc650af6270 | 81bed8a9185b9a23b32db7e43c1b653954955ecd | /TimerQueue.cpp | e0d919772d095a4605a077ce19603530932d001d | [] | no_license | UltramanWu/SimpleWebServer | cb6e934fc6f516c0522b92db0efdd0ff4f4b7e55 | b1eda0a42503d868b8bd5e4e15135f8d55b842a9 | refs/heads/master | 2021-04-01T07:01:28.320665 | 2020-04-02T04:02:33 | 2020-04-02T04:02:33 | 248,166,353 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 904 | cpp | //
// Created by wu on 3/18/20.
//
#include "TimerQueue.h"
#include "HttpData.h"
TimerNode::TimerNode(SPHttpData httpdata,int timeout):m_httpdata(httpdata),deleted(false){
struct timeval now;
gettimeofday(&now,NULL); // 时间结构体 时区
expiredTime = (((now.tv_sec%10000)*1000)+(now.tv_usec/1000))+timeout;
}
Tim... | [
"shida_wu@163.com"
] | shida_wu@163.com |
674ce9fcb1c0227fcd7fb451ba0055a9b0afd5c9 | 49cfc3f1a96b3f75adf74821342999a20da3e04d | /examples/system_process_pipes.cpp | 1726dd571310164c58ac69d96b2ec72e241d0bc2 | [
"MIT"
] | permissive | mrexodia/CppCommon | bfb4456b984ceea64dd98853816f388c29bfe006 | 422bec80be2412e909539b73be40972ecc8acf83 | refs/heads/master | 2020-05-17T15:10:23.069691 | 2019-04-25T14:36:20 | 2019-04-25T14:36:20 | 183,780,482 | 1 | 0 | MIT | 2019-04-27T14:05:08 | 2019-04-27T14:05:08 | null | UTF-8 | C++ | false | false | 1,342 | cpp | /*!
\file system_process_pipes.cpp
\brief Process pipes example
\author Ivan Shynkarenka
\date 07.12.2016
\copyright MIT License
*/
#include "system/environment.h"
#include "system/process.h"
#include <algorithm>
#include <iostream>
#include <string>
int main(int argc, char** argv)
{
if (argc... | [
"chronoxor@gmail.com"
] | chronoxor@gmail.com |
ffcb6d14462bcb2161c1b5b9e96fec2627493b1d | 813d9380b3fbf66a0d344937a6be52f408b54078 | /runtime/regiontemplates/examples/RTPipelineBundle/HelloWorld.cpp | 55a4a0dab31cf60ad5f7c3bc862082531a4e0aee | [] | no_license | SBU-BMI/region-templates | 6b63fab2809ac281e458053069d26782d04cd1e5 | ab311b70eaeee3353ae09e1b8ba694e29d4d982d | refs/heads/master | 2023-03-05T03:26:03.580106 | 2017-07-13T03:02:35 | 2017-07-13T03:02:35 | 35,566,013 | 5 | 6 | null | 2017-04-17T20:04:58 | 2015-05-13T18:10:24 | C++ | UTF-8 | C++ | false | false | 2,639 | cpp | /*
* HelloWorld.cpp
*
* Created on: Feb 15, 2012
* Author: george
*/
#include <sstream>
#include <stdlib.h>
#include <iostream>
#include "FileUtils.h"
#include "RegionTemplate.h"
#include "RegionTemplateCollection.h"
#include "SysEnv.h"
#include "Segmentation.h"
#define NUM_PIPELINE_INSTANCES 1
void pa... | [
"george@Georges-MacBook-Pro-2.local"
] | george@Georges-MacBook-Pro-2.local |
b06522065a944101f9f7507fba882738e800c03c | ca36def64eba15232bd8eb886353517f43610491 | /tensorflow/core/profiler/rpc/client/remote_profiler_session_manager.cc | 87575ee67a11e24d696b3ea689a1b9b5ff406bba | [
"Apache-2.0"
] | permissive | pulmo/tensorflow | a82d09948bf0678fcb2152ac13527d543edab8ea | ce321f0c9d09936f3084bfb93d0812c7ffa174e6 | refs/heads/master | 2022-12-25T03:38:47.564304 | 2020-09-30T20:39:38 | 2020-09-30T20:45:35 | 300,059,104 | 1 | 0 | Apache-2.0 | 2020-09-30T20:50:07 | 2020-09-30T20:50:06 | null | UTF-8 | C++ | false | false | 6,476 | cc | /* Copyright 2020 The TensorFlow Authors. 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 by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
a66fcd830da454746793f7f4179157b7febcd454 | 563579e51032a07492f11e9a3b5fc5e1e128f523 | /hphp/third_party/folly/folly/io/IOBufQueue.h | 71966f49cb1819f5cc332cf9b4e8a4253bfa4c27 | [
"Apache-2.0",
"Zend-2.0",
"LicenseRef-scancode-unknown-license-reference",
"PHP-3.01"
] | permissive | sachintaware/hiphop-php | 6a54d4d71bcd2e0b18fddb5a6ecf1cf562b8117e | d95ca0dc9ad160cc1dfd691ecc1245a5a7798327 | refs/heads/master | 2021-01-16T18:41:50.061432 | 2013-08-15T21:17:24 | 2013-08-15T22:19:36 | 12,209,930 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,019 | h | /*
* Copyright 2013 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | [
"sgolemon@fb.com"
] | sgolemon@fb.com |
f8d5e6b902ba3ff8901c869fe41699b2078ee755 | bbb3e624cc17ac7a6ce280797eb2d2cfad8ea754 | /selenium/vagrant-tiennguyen-php-selenium/firefox-sdk/include/nsIDOMCharacterData.h | 407469ed8b754b65db940f90541b2f00daa255f9 | [] | no_license | Virtual-Machine-Vagrant/TienNguyen-vagrant-env | dff187eaeafc8ca1bb68d81853144d914d6fd293 | fe8eaa107dd1a22f07e562937113139c5a4e2687 | refs/heads/master | 2021-01-13T12:59:28.637343 | 2017-01-12T08:45:51 | 2017-01-12T08:45:51 | 78,718,617 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,150 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMCharacterData.idl
*/
#ifndef __gen_nsIDOMCharacterData_h__
#define __gen_nsIDOMCharacterData_h__
#ifndef __gen_nsIDOMNode_h__
#include "nsIDOMNode.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#d... | [
"mac-l011@mac-l011s-MacBook-Pro-2.local"
] | mac-l011@mac-l011s-MacBook-Pro-2.local |
a162d87099d1269563d04bc3d51f85c6a83570a7 | 8959cdaf3e8f3259f303e50e2fd9e78b9ea318c7 | /dorf.h | 994810d504a71a977784148832a0435cf6884509 | [] | no_license | FFaser/TW2AttackPlanner | 4bf9da9c0d23bebfaba9ce1617863a5db0819fa9 | 95853c3ced072308edd7d5b9b2a711fec1b0c317 | refs/heads/master | 2021-04-12T10:48:53.056128 | 2016-07-27T13:39:30 | 2016-07-27T13:39:30 | 64,309,904 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,986 | h | #ifndef DORF_H
#define DORF_H
#include <QObject>
//#include <QMetaEnum>
#include <QStringList>
#include <QList>
#include <QMessageBox>
enum eDorfState{ undefined,
active ,
ontheway,
eDorfState_MAX = ontheway};
enum eDorfMark{ empty = 0,
mark1 =... | [
"polka@gmx.net"
] | polka@gmx.net |
302ddf89f942e3ecefaf58d379ed1c55dd8eec7e | 88a7edbe0a2a2a12de392da8fa43ace9fae7ace5 | /StudioProject3/Base/Source/SkyBox/SkyBoxEntity.cpp | 8339da52df4e0492341e8e3ce89a34c5477ff69d | [] | no_license | hotaru08/Studio-Proj-3 | 9fed81cf23d3fcabae33a6a1a90e717c89b455e8 | f014fc00b3a4260ea82cd05aed7aee39233ed317 | refs/heads/master | 2021-01-16T21:24:43.742812 | 2017-08-30T02:14:57 | 2017-08-30T02:14:57 | 100,228,937 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,797 | cpp | #include "SkyBoxEntity.h"
#include "MeshBuilder.h"
#include "../EntityManager.h"
#include "GraphicsManager.h"
#include "RenderHelper.h"
SkyBoxEntity::SkyBoxEntity(void)
: size(1000.0f, 1000.0f, 1000.0f)
, m_bBoundaryDefined(false)
{
}
SkyBoxEntity::~SkyBoxEntity()
{
}
void SkyBoxEntity::Update(double _dt)
{
// Do... | [
"lzyjeann@gmail.com"
] | lzyjeann@gmail.com |
60cf8160aa7d5e951c1f5a6de03c6c66c1b73c41 | 902e56e5eb4dcf96da2b8c926c63e9a0cc30bf96 | /Sources/Tools/EPI/Document/Properties/PtyMaterial.moc.h | 1114d4e9d7e6c205e1b9fc7abb2a457b96e09811 | [
"BSD-3-Clause"
] | permissive | benkaraban/anima-games-engine | d4e26c80f1025dcef05418a071c0c9cbd18a5670 | 8aa7a5368933f1b82c90f24814f1447119346c3b | refs/heads/master | 2016-08-04T18:31:46.790039 | 2015-03-22T08:13:55 | 2015-03-22T08:13:55 | 32,633,432 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,766 | h | /*
* Copyright (c) 2010, Anima Games, Benjamin Karaban, Laurent Schneider,
* Jérémie Comarmond, Didier Colin.
* 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 ... | [
"contact@anima-games.com@bd273c4a-bd8d-77bb-0e36-6aa87360798c"
] | contact@anima-games.com@bd273c4a-bd8d-77bb-0e36-6aa87360798c |
824ed6266cacf3f5227db633302ca5b83f4bd47c | fbc3ee4467922e3a01aaef61af33ad0a79e6a8df | /Algorithms/sorting/bubble_Sort.cpp | 1d092c8838a990ea7ca35e3213e0d27a68a0bd37 | [] | no_license | snh3003/CB-Master-Course | 9c5026c65ae02dd6114946981f08faff97501fc1 | fd6599fce1463c68fc4c2c1fa3552718fdd43b24 | refs/heads/master | 2023-08-24T12:41:38.067743 | 2021-09-30T07:17:36 | 2021-09-30T07:17:36 | 288,263,538 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 633 | cpp | #include<bits/stdc++.h>
using namespace std;
void bubble_sort(vector<int> &v, int n){
// run a loop from 0 to n-1 as the last element always gets sorted
for(int i=0; i<(n-1); i++){
// loop runs from 0 to (n-i-1) to check the unsorted part
for(int j=0; j<(n-i-1); j++){
if(v[j] > v[j+... | [
"shahsama542@gmail.com"
] | shahsama542@gmail.com |
01a60db1be3cd7e76e3e51f9a57d2b983da1c57b | 3c325c073ae1f04ac71e20a9f3c083b81ef30cef | /Source/AdvGameProgProject/Private/AI/STrackerBot.cpp | 8ad51a8418cc1cf4fcefeb8dba08dd2a3533083b | [] | no_license | JustinRobbins7/AdvGraphicsSemesterProject | 0b4b946d9bd9bea2e6fff6ea1d1612bd35be1509 | a9d36c996181a46cd5b3c89776314166dd6b7c36 | refs/heads/master | 2020-03-29T18:03:28.327704 | 2018-10-04T17:06:56 | 2018-10-04T17:06:56 | 150,192,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,203 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "AI/STrackerBot.h"
#include "Components/StaticMeshComponent.h"
#include "Kismet/GameplayStatics.h"
#include "AI/Navigation/NavigationSystem.h"
#include "AI/Navigation/NavigationPath.h"
#include "GameFramework/Character.h"
#include ... | [
"robbinsju@gmail.com"
] | robbinsju@gmail.com |
eb07b041fa0259d2c4c79379b3437e0a385b15fa | 090243cf699213f32f870baf2902eb4211f825d6 | /CDOJ/Contest/56/A.cpp | 5743875ae3269ae4c7662747b643546e1d97e8e0 | [] | no_license | zhu-he/ACM-Source | 0d4d0ac0668b569846b12297e7ed4abbb1c16571 | 02e3322e50336063d0d2dad37b2761ecb3d4e380 | refs/heads/master | 2021-06-07T18:27:19.702607 | 2016-07-10T09:20:48 | 2016-07-10T09:20:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,218 | cpp | #include <cstdio>
#include <cstring>
#include <queue>
#include <vector>
#include <algorithm>
#include <map>
using namespace std;
struct Node
{
long long w;
int p;
bool operator < (const Node rhs) const
{
return w > rhs.w || (w == rhs.w && p < rhs.p);
}
};
int n, m;
vector<pair<int, int> > G[100000];
int s, e,... | [
"841815229@qq.com"
] | 841815229@qq.com |
787a335ab571e25147cea1ddf7d1b724e635d773 | 3c6ed046eda83e35ab754883a59dcb7099233b39 | /components/password_manager/core/browser/password_generation_state_unittest.cc | 1e4a5ac7bb1f0dd236d57460cf0cecfdbf6047b7 | [
"BSD-3-Clause"
] | permissive | ssln2014/chromium | 66c5021c8893313dee78b963082cbdf948bd2d6a | 4bad77148cc4a36373e40cf985444bc649c0eeff | refs/heads/master | 2023-03-06T03:21:39.801883 | 2019-06-08T16:11:10 | 2019-06-08T16:11:10 | 190,914,348 | 1 | 0 | BSD-3-Clause | 2019-06-08T17:08:38 | 2019-06-08T17:08:38 | null | UTF-8 | C++ | false | false | 14,480 | cc | // 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.
#include "components/password_manager/core/browser/password_generation_state.h"
#include "base/memory/scoped_refptr.h"
#include "base/strings/utf_string_... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
7cab39d108786df856ff3a138e0051c450453ff1 | 9a0a582bdba0dfbeffddd2dfd59948789e0915d8 | /prototype1/include/peaklightbardetector.h | ecb806a0aef309680c5ac668c762cae808428cfd | [] | no_license | Gerold31/Streifenprojektion | 25eca8c608c5ead546df2e951b4e905e98f90299 | 31dfa7d0883d9e269280e12381637af81300cc80 | refs/heads/master | 2021-01-16T23:09:58.093331 | 2015-05-22T20:54:23 | 2015-05-22T20:54:23 | 25,968,337 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 638 | h | #ifndef PEAKLIGHTBARDETECTOR_H
#define PEAKLIGHTBARDETECTOR_H
#include <opencv2/core/core.hpp>
#include "lightbardetector.h"
struct WorkData;
class PeakLightBarDetector : public LightBarDetector
{
public:
PeakLightBarDetector() {}
virtual ~PeakLightBarDetector() {}
virtual void processImage(const cv::Mat& img,... | [
"johannes.spangenberg@hotmail.de"
] | johannes.spangenberg@hotmail.de |
f50157140e2f6994804c282437f794bc6a287928 | 527739ed800e3234136b3284838c81334b751b44 | /include/RED4ext/Types/generated/audio/VisualTagToNPCMetadata.hpp | 2ade393a6ca000337214a85fd8a4302a133b4dd3 | [
"MIT"
] | permissive | 0xSombra/RED4ext.SDK | 79ed912e5b628ef28efbf92d5bb257b195bfc821 | 218b411991ed0b7cb7acd5efdddd784f31c66f20 | refs/heads/master | 2023-07-02T11:03:45.732337 | 2021-04-15T16:38:19 | 2021-04-15T16:38:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 575 | hpp | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/REDhash.hpp>
#include <RED4ext/CName.hpp>
#include <RED4ext/DynArray.hpp>
namespace RED4ext
{
namespace audio {
struct VisualTagToNPCMetadata
{
static constexpr const char* N... | [
"expired6978@gmail.com"
] | expired6978@gmail.com |
8ed9054b74b0144ca9c0e1bce34c8d9d75f52961 | 3818b7af7a6407b636870288779014b29b186535 | /Source/Editor/FrEdUtil.h | 88eb6a36ca125ffdf7b1ec50d75bda64d3f69b8c | [] | no_license | VladGordienko28/ProtoGame | de287b44b6db4de9fc888869e3a663db81dc85ed | 3d88f5578f6ceca4275af9ee14a468b190bbfb7c | refs/heads/master | 2020-04-16T06:53:18.813931 | 2019-11-11T19:42:19 | 2019-11-11T19:42:19 | 165,364,799 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,107 | h | /*=============================================================================
FrEdUtil.h: Various editor stuff.
Copyright Jul.2016 Vlad Gordienko.
=============================================================================*/
/*-----------------------------------------------------------------------------
... | [
"vladgordienko28@gmail.com"
] | vladgordienko28@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.