blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d3fa51e7129068a218850c3f4f687f9b4bb5f492 | 4dfd7c046165fe02f8d3387b4a94878e2e276b61 | /orunav_vehicle_execution/include/orunav_vehicle_execution/trajectory_generation.h | 885b37438fb8c0fea435a0a8ed1523e4212b33e6 | [] | no_license | merlinwu/navigation_oru-release | 043804ccce315a71ef758db9d288d0228dfce708 | b8ae6edd4f2238ab43056d7bf4eef2ddc5c2ea9d | refs/heads/master | 2021-01-01T16:54:14.508053 | 2017-06-13T18:47:19 | 2017-06-13T18:47:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,204 | h | #pragma once
#include <orunav_trajectory_processor/trajectory_processor_naive_ct.h>
// No previous trajectory.
std::pair<unsigned int, orunav_generic::TrajectoryChunks> computeTrajectoryChunksCASE3(const VehicleState &vs, const TrajectoryProcessor::Params ¶ms, bool useCts) {
orunav_generic::Path path = vs.g... | [
"henrik.andreasson@oru.se"
] | henrik.andreasson@oru.se |
9f6d25b933a17378ca4534ae8c8ca81a3fe8c550 | 7ea5365a0424c50be888cfba52c54fab1779b879 | /백준/Old/boj10806_h4_2015지역.cpp | 71e309ca2c742975f0711586803be55166d308a5 | [] | no_license | judemin/AlgorithmSolutions | a3e26fb7685f7357fad7fe05743f975fe2fde406 | cef19d14ab7bf9ca70aa73f87d49834f2ee24f31 | refs/heads/master | 2023-06-29T05:22:00.109993 | 2021-08-04T07:07:25 | 2021-08-04T07:07:25 | 259,854,361 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 640 | cpp | #include<iostream>
#define N 100010
using namespace std;
int res = 0;
int num[N] = {0,};
int sig[N] = {0,};
int nSig[N] = {0};
int cnt = 0,ncnt = 0;;
int main(void){
freopen("input.txt","r",stdin);
int n,m,i;
cin >> n >> m;
for(i = 0;i < m;i++){
int a,b;
cin >> a >> b;
num[a]++;
num[b]++;
}
for(i = 1;i... | [
"judemin2087@naver.com"
] | judemin2087@naver.com |
3dd8bf71abdd1a7fea850d305a6ef7e1c6e2597e | 3324531302383f3e5d9ab4be23cb25de627add2e | /lab3/calculator/ValueRetriever.h | 8b9d9ace4efb58dbb832453b17edaf90063ca796 | [] | no_license | mpaymetov/oop-labs | a5d948eaa4624f7efb5856511a001ad504bdb2ae | 1652ac7e89c49ad13de6444b19324c8e8feb2832 | refs/heads/master | 2021-04-30T05:49:26.031137 | 2019-07-07T21:35:44 | 2019-07-07T21:35:44 | 121,425,851 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 146 | h | #pragma once
#include "stdafx.h"
class IValueRetriever
{
public:
virtual ~IValueRetriever() = default;
virtual double GetValue() const = 0;
};
| [
"muxa147@gmail.com"
] | muxa147@gmail.com |
e00a01767f076e6d2ff985489819797472fae11c | 36b4665968398d3ecd3df29023a4ad2f56041d72 | /tests/wallet_tests.cpp | 618d54573c7dba69c8ca0fbe59f042f612cd9351 | [] | no_license | FilmChain/FilmChain | 94f484b542c260cad4c05066364c247e50876e59 | ee522a96bbc43ea503f638eb85b4468ada32cbab | refs/heads/master | 2020-03-25T16:49:32.388849 | 2018-08-08T07:01:28 | 2018-08-08T07:01:28 | 143,949,162 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,042 | cpp | #include <boost/test/unit_test.hpp>
#include <fcc/api/global_api_logger.hpp>
#include <fcc/blockchain/chain_database.hpp>
#include <fcc/blockchain/genesis_state.hpp>
#include <fcc/wallet/wallet.hpp>
#include <fcc/client/api_logger.hpp>
#include <fcc/client/client.hpp>
#include <fcc/client/messages.hpp>
#include <fcc/cl... | [
"fccprojgroup@gmail.com"
] | fccprojgroup@gmail.com |
54de794759348dbbbbeb9fe98282a3e948e74f45 | 7e6afb4986a53c420d40a2039240f8c5ed3f9549 | /libs/containers/include/mrpt/containers/PerThreadDataHolder.h | 9fcf7fefff7ab2f43fde4c13f105cb06bcd663d4 | [
"BSD-3-Clause"
] | permissive | MRPT/mrpt | 9ea3c39a76de78eacaca61a10e7e96646647a6da | 34077ec74a90b593b587f2057d3280ea520a3609 | refs/heads/develop | 2023-08-17T23:37:29.722496 | 2023-08-17T15:39:54 | 2023-08-17T15:39:54 | 13,708,826 | 1,695 | 646 | BSD-3-Clause | 2023-09-12T22:02:53 | 2013-10-19T21:09:23 | C++ | UTF-8 | C++ | false | false | 2,520 | h | /* +------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| https://www.mrpt.org/ |
| |
| Cop... | [
"joseluisblancoc@gmail.com"
] | joseluisblancoc@gmail.com |
23a6377b12640115202291fdd31b74856d1d3f50 | 8006dbf08781d80a7e957af558e1e9bc1aa286ed | /opengl-books-code/OpenGL-ES-3.0-Cookbook/SourceRepository/Chapter11/FastApproxAntiAliasing/NativeTemplate.cpp | 17ceed3ae2f75076f694bcf876abbfdd1eb80ad2 | [] | no_license | criswonder/opengl-mix | fcebb42fbda672f2198234fd6db934b21ca962a6 | 7d96c6a475ec0dbf362d07b8e9ac077fa57a91bd | refs/heads/master | 2022-07-28T16:45:44.954168 | 2020-05-15T12:33:23 | 2020-05-15T12:33:23 | 264,187,352 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,274 | cpp | // OpenGL ES 2.0 Cookcook code
#ifdef __IPHONE_4_0
#include "RendererEx.h"
#include "ObjLoader.h"
#include "SimpleTexture.h"
#include "CustomModel.h"
#include "CustomScene.h"
#else
#include "../Scene/RendererEx.h"
#include "../Scene/ObjLoader.h"
#include "../Scene/SimpleTexture.h"
#include "../Scene/CustomModel.h"
#in... | [
"hongyun.mhy@alibaba-inc.com"
] | hongyun.mhy@alibaba-inc.com |
688d779dc7f74a3d6ca523ddfd0cff5b593b52d7 | 7d9abd7826ddc59bfcf1663f3b30ec71548b4668 | /283. Move Zeroes.cpp | a1a9d8180d0f465ba41b0b7da6089c878a276b15 | [] | no_license | Hongze-Wang/LeetCode_Java | 988f0873d98f8386e0c1cd19dd60f626b2f75c64 | 4f2dce821af679bf0d1e24e2e5cdb92c0a5d9a13 | refs/heads/master | 2021-06-28T16:47:59.202156 | 2021-01-21T02:06:44 | 2021-01-21T02:06:44 | 207,439,327 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 282 | cpp | // 283. Move Zeroes
class Solution {
public:
void moveZeroes(vector<int>& nums) {
for(int lastNonZeroIndex=0, cur=0; cur < nums.size(); cur++) {
if(nums[cur] != 0) {
swap(nums[lastNonZeroIndex++], nums[cur]);
}
}
}
};
| [
"noreply@github.com"
] | Hongze-Wang.noreply@github.com |
ed1675c077756c0790917f9bc1c1e081068a1a46 | 445f7388e89e3eba2ca22d32d6e5fea19680a136 | /Scheduler/Scheduler.h | c726cbc06c7c1ce49ce175599d6dd58b7dfa8933 | [] | no_license | MrSoir/d1mini_libraries | ec78f3ca3c8b4f50684af98712139c83b25c1c4b | db458b1457289203e4ca2adea0ecdac48639ad32 | refs/heads/master | 2020-07-02T06:52:48.807195 | 2019-08-29T23:17:23 | 2019-08-29T23:17:23 | 201,446,728 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 951 | h | #ifndef Scheduler_H
#define Scheduler_H
#include <Arduino.h>
#include <string>
#include <sstream>
#include <vector>
#include <math.h>
#include <tuple>
#include <algorithm>
#include <utility>
#include <map>
#include <set>
#include <StaticFunctions.h>
#include <Task.h>
#include <ScheduleBD.h>
class ScheduleBD;
class... | [
"support@mrsoir.com"
] | support@mrsoir.com |
8cce2cd23ef5590e430b78f22e4c1ed3b9868ed4 | a1f746f1ba83f900a3c3efffc2cf7b3e22f10203 | /686 - Goldbach's Conjecture (II).c++ | c8bc4244dc5bb54c9c3fb2e09d788a2f6dfb4a0c | [] | no_license | ahmedmohamedsakr/UVa-Solutions | f8bd0c34e29882dd9be459b19b681f5923a1dc41 | dc78da38446d6e1de69c34db0576d9bfe5ea7556 | refs/heads/master | 2021-06-02T02:22:04.573594 | 2021-03-01T11:55:50 | 2021-03-01T11:55:50 | 142,928,071 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 691 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int N=(1<<15)+5,M=1e8+5,OO=0x3f3f3f3f;
ll n,l,r,sum,cnt;
vector<ll>v;
ll isComp[N];
void sieve()
{
isComp[0]=isComp[1]=1;
for(ll i=2; i*i<=N; ++i)
if(!isComp[i])for(ll j=i*i; j<=N; j+=i)isComp[j]=1;
for(ll i=2;i<=N;++i)i... | [
"noreply@github.com"
] | ahmedmohamedsakr.noreply@github.com | |
1f386d7ba7839bd71347f35ac5de205fbd98b32a | cccfb7be281ca89f8682c144eac0d5d5559b2deb | /weblayer/test/subresource_filter_browser_test_harness.h | 19c63416e90deebcd8aadf7d6660be26418ea9a0 | [
"BSD-3-Clause"
] | permissive | SREERAGI18/chromium | 172b23d07568a4e3873983bf49b37adc92453dd0 | fd8a8914ca0183f0add65ae55f04e287543c7d4a | refs/heads/master | 2023-08-27T17:45:48.928019 | 2021-11-11T22:24:28 | 2021-11-11T22:24:28 | 428,659,250 | 1 | 0 | BSD-3-Clause | 2021-11-16T13:08:14 | 2021-11-16T13:08:14 | null | UTF-8 | C++ | false | false | 2,598 | h | // Copyright 2021 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 WEBLAYER_TEST_SUBRESOURCE_FILTER_BROWSER_TEST_HARNESS_H_
#define WEBLAYER_TEST_SUBRESOURCE_FILTER_BROWSER_TEST_HARNESS_H_
#include <string>
#incl... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
6ba6248008bb4b6bf551983907507df5330c9eff | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /content/browser/renderer_host/input/legacy_touch_event_queue.h | f18b81408450f5e7693d794eddc98e0ee2161492 | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 9,214 | h | // 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.
#ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_LEGACY_TOUCH_EVENT_QUEUE_H_
#define CONTENT_BROWSER_RENDERER_HOST_INPUT_LEGACY_TOUCH_EVENT_QUEUE_H_
#include ... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
cd1a742bdaa1646172745b7d2acce6cc23e6eb5b | 399001bd7fa13b9d091cf396613927a465d41df2 | /src/tools/head/BPlusTree2.h | 918ae0617030abe05bf16432fb13094e27a5d3db | [] | no_license | weizy2018/DBMS | 782153aa5f592c4aab596e245eb3f5fe1e81e5c6 | 2a4169a3ef297f06edf24c0b4426814e12b3779d | refs/heads/master | 2020-04-04T16:23:56.870521 | 2019-04-24T13:10:53 | 2019-04-24T13:10:53 | 156,075,941 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 67,206 | h | /*
* Bplustree.h
*
* Created on: Dec 11, 2018
* Author: weizy
*/
#ifndef TOOLS_HEAD_Bplustree_H_
#define TOOLS_HEAD_Bplustree_H_
#include "BPlusTree2.h"
#include <iostream>
#include <string>
#include <string.h>
#include <stdlib.h>
#include <exception>
#include <typeinfo>
#include <vector>
#include <set>
... | [
"2233467661@qq.com"
] | 2233467661@qq.com |
ce28c7bff7d32adf0cbeaff1dc859577f67497ad | 4f2c45c4f62af29e6c489b52fa605f22668d9e35 | /estructura de seleccion - saldo de un celular.cpp | 7037b0e0d09f16f76bb833e8b4157840daaf685d | [] | no_license | David-Omar/Fun.Programacion | 8f747317ec3bb3f8d82df31c3b6736199fc761b3 | 67b1be3bfc2ffe871d44ec4f98a62d09a4bff419 | refs/heads/master | 2023-02-17T23:44:13.101459 | 2021-01-19T07:29:47 | 2021-01-19T07:29:47 | 315,785,608 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 476 | cpp | #include <stdio.h>
#define Tarifa3 "Premium"
#define Tarifa2 "Intermedia"
#define Tarifa1 "Basica"
int main(){
float precio;
printf("Digite el monto que esta dispuesto a pagar por su plan\n");
scanf("%f",&precio);
if(precio<500 && precio>99){
printf("la tarifa apta es %s",Tarifa1);
}
if(precio>=500 && p... | [
"davidomartg@hotmail.com"
] | davidomartg@hotmail.com |
a08791408e3390c278b3f43b8c34e2cbce45e880 | 53f6635a613af8e199209d361010263b3e7b15e0 | /core/LightSource.h | 5cf2e78b9d2dec3cbb89ba0f015ad5dfadd821f1 | [] | no_license | TsFreddie/RayTracer | db2db0bd54a6d2d156c65ab9aa8707bb20f40e5a | 15515e964b5401f0155e7f7d5306c19ae83f62f7 | refs/heads/master | 2022-08-28T09:38:50.244236 | 2020-05-23T12:50:36 | 2020-05-23T12:50:36 | 218,113,548 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 599 | h | /*
* LightSource.h
*
*/
#ifndef LIGHTSOURCE_H_
#define LIGHTSOURCE_H_
#include "math/geometry.h"
#include "rapidjson/document.h"
#include "core/Sampler.h"
using namespace rapidjson;
namespace rt {
class LightSource {
public:
LightSource(Vec3d position, Vec3d intensity);
virtual ~LightSource();
... | [
"tsfreddiewang@gmail.com"
] | tsfreddiewang@gmail.com |
d280fa8fe3e571f7bf4bdfdcfdd3db8f3e95b62f | eabe03e538e41b5223a605525bde6976503c1f81 | /acm/acm/leecode/code/二叉树.cpp | 852957d9472e58b7f9decfaf023670670475ffca | [] | no_license | zhengziqiang/learngit | 99a29ffa82fb6d93fdbaaa10e1c62f6624cb31cb | 66d0cb6b3a8b76d6836504514021fa7f08bbc6ee | refs/heads/master | 2020-04-04T04:08:57.674855 | 2017-07-19T09:51:13 | 2017-07-19T09:51:13 | 55,275,928 | 6 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,428 | cpp | /*==============================================================================
> File Name: 二叉树.cpp
> Author: zzq
> Mail: zhengziqiang1@gmail.com
> Created Time: 2016年10月05日 星期三 23时22分47秒
==========================================================================*/
#include<iostream>
using namespace... | [
"1174986943@qq.com"
] | 1174986943@qq.com |
987552fcda124da1c18ae371c0adce1cd0f7e438 | 33f4eea9dbf255d87bc947ee9748d9f9fbaca95d | /Vfunc3.cpp | bd2f89f5abbd84f3955664c1669c859fa5507cce | [] | no_license | ttgrant/Computer-Science-2-Class-test | 1e4fe273225921ef4def1e87473c222fcb250370 | b9dac27d00cb38179d5f930f549c99c58d38ed53 | refs/heads/master | 2020-04-09T09:08:08.624660 | 2018-12-03T16:32:31 | 2018-12-03T16:32:31 | 160,221,865 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 997 | cpp | #include <iostream>
using namespace std;
class Base
{
public:
virtual void vfunc() = 0;
};
class Derived1 : public Base
{
public:
void vfunc() { cout << "This is Derived1's vfunc()\n"; };
void vfunc1() { cout << "vfunc1() is invoked\n"; };
void vfunc2() { cout << "vfunc2() is invoked\n"; };
};
c... | [
"grantlazenby@yahoo.com"
] | grantlazenby@yahoo.com |
d0d175584c72c73cc1c7de0a919cf272fbdbf281 | a583ce8dbc8a0998866b3df6c19498167e3e514f | /sort-colors.cc | f88b1c0be90ed702f186776445dc6de52371063f | [] | no_license | sealiay/leetcode | 12826662313a99cf9cf36792bced3d0c1503c277 | d57d2bfe5e474d43f0aad29a90993690d2b5d2e3 | refs/heads/master | 2016-09-10T18:28:08.010252 | 2014-03-29T06:29:15 | 2014-03-29T06:29:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 369 | cc | class Solution {
public:
void sortColors(int A[], int n) {
int a = 0, b = 0, c = 0;
for (int i = 0; i < n; ++i) {
switch (A[i]) {
case 0: A[c++] = A[b]; A[b++] = A[a]; A[a++] = 0; break;
case 1: A[c++] = A[b]; A[b++] = 1; break;
case 2: A[c... | [
"eric.3zc@gmail.com"
] | eric.3zc@gmail.com |
cd71e62e0b25d2e4a3a9ef5ad20b0c6a748fe6c4 | 0c1085302f40540e3ee491edc65f09231117fc5f | /source/Library.Desktop/EventMessageAttributed.h | 5141ac652bc376c728f8a62f7439aa958e276597 | [] | no_license | jlucka625/Game-Engine | 521c3eea24f99e0b5f26b150aed8708c1cea6a30 | 8c890414488a8c9f8d9bce92c7922238753a4a8c | refs/heads/master | 2021-01-21T13:56:32.172862 | 2016-05-07T05:01:12 | 2016-05-07T05:01:12 | 54,615,056 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,291 | h | #pragma once
namespace Library
{
//! Event Message Attributed Class
/*! Serves as a generic event component that holds the message that
will be sent to a reaction. This event carries all arguments and the
subtype from script within its scope.*/
class EventMessageAttributed : public Attributed
{
RTTI_DECLARATION... | [
"jlucka@fiea.local"
] | jlucka@fiea.local |
7aeb2cb92e039c662083bea9c2720f21d29c80da | cd125fd8c06720a68e88c93b371da1512e075159 | /chap03/ex3-1-3.cpp | 4cfa3ed093c47f4589d59637bb13ab66e1008078 | [] | no_license | YYHugo/cppannotations | 4c25c5513ecd568a406b690f3c8427ccee4d304a | 2bd14faf34d019723f85667e97940ba14f22056d | refs/heads/master | 2021-01-09T20:45:30.586286 | 2016-07-12T16:07:19 | 2016-07-12T16:07:19 | 62,907,906 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | cpp | #include <stdio.h>
double counter = 50; // global variable
int main()
{
for (int counter = 1; // this refers to the
counter != 10; // local variable
++counter)
{
printf("%f\n",
::counter // global variable
/ //... | [
"hugoyamamura92@gmail.com"
] | hugoyamamura92@gmail.com |
17b82a37df24b68efecf3d460e0e706aaaa67499 | 6ced41da926682548df646099662e79d7a6022c5 | /aws-cpp-sdk-backup/source/model/UpdateReportPlanRequest.cpp | a0cf6ae192e4627e102e036f5a3e30226b11a4c1 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | irods/aws-sdk-cpp | 139104843de529f615defa4f6b8e20bc95a6be05 | 2c7fb1a048c96713a28b730e1f48096bd231e932 | refs/heads/main | 2023-07-25T12:12:04.363757 | 2022-08-26T15:33:31 | 2022-08-26T15:33:31 | 141,315,346 | 0 | 1 | Apache-2.0 | 2022-08-26T17:45:09 | 2018-07-17T16:24:06 | C++ | UTF-8 | C++ | false | false | 1,273 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/backup/model/UpdateReportPlanRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Backup::Model;
using namespace Aws::Utils::Json;
using n... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
6f9927dc5e4dcc4f0102d9a79712ef23d2ac479b | 567a80a2dd61286a4fdcd35d42fbfb77c5e6f68d | /OpenGlSample/OpenGlSample/IRender.h | 6b00f2cc66d80fe1c311e4d647f20555e760ebd9 | [] | no_license | HyunsuSong/DIY_gameEngine | f0c1cda2c8d4242ae352901aeca5e0f254b832e1 | e7f670052356fd794ab50e2614a09f4d0904b321 | refs/heads/main | 2023-01-01T20:36:37.744822 | 2020-10-27T14:25:20 | 2020-10-27T14:25:20 | 303,941,901 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 120 | h | #pragma once
class IRender
{
public:
virtual void render() = 0;
virtual void addObject(RenderableObject* src) = 0;
}; | [
"20161642@vision.hoseo.edu"
] | 20161642@vision.hoseo.edu |
70de1c4fc9ee2ae5cb2401843694d7f230679f52 | a1df310fb8e5881d91dde899c0edcedfbedfc487 | /lecture1-11/behavior_based/src/TurnRight.cpp | 65682761298c69bad614825431829f3d38baa442 | [
"MIT"
] | permissive | JerryRain/ros_tutorial | 7757bf14fe01a2ef6beadc0bc3dc79ad04f79eb3 | 9e404ba804948164b63515aa829dd55ea16a0ea3 | refs/heads/master | 2022-11-16T12:08:08.808824 | 2020-07-03T05:31:14 | 2020-07-03T05:31:14 | 276,798,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,676 | cpp | #include "turn_right.h"
#include "geometry_msgs/Twist.h"
turn_right::turn_right() {
commandPub = node.advertise<geometry_msgs::Twist>("/cmd_vel_mux/input/teleop", 10); // cmd_vel /cmd_vel_mux/input/teleop
laserSub = node.subscribe("base_scan", 1, &turn_right::scanCallback, this);
b_keep_turn_right = true;
... | [
"1617124526@qq.com"
] | 1617124526@qq.com |
4afced69bee587ebc4fad77eb8c0de4e5c1da4ee | 74cf880326c5a606541742a7c6af2873278b90bc | /Core/shared/CASP_Plugin/CASP_Plugin.cpp | 4d4e2a6e1b69993f4eaa2500f6474f43a880e74d | [] | no_license | CBowlen/CASP | 341cfeab8cd2b7ef9c26e715ffd2be8b47c24d58 | 47ed90eaad05bd36bfcf951692f2f4ca5d1266d3 | refs/heads/master | 2021-01-19T00:18:55.608145 | 2017-04-04T02:56:52 | 2017-04-04T02:56:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 681 | cpp | #include "CASP_Plugin.h"
unordered_map<string, CASP_Plugin*> plugins;
string RegisterPlugin(string id, CASP_Plugin* plugin) {
std::transform(id.begin(), id.end(), id.begin(), ::tolower);
plugins[id] = plugin;
return id;
}
CASP_Plugin* GetModule(string id) {
std::transform(id.begin(), id.end(), id.be... | [
"ryanat13@gmail.com"
] | ryanat13@gmail.com |
39ba8e25a550b4694bd3ca09a742a913b3d275b2 | 00b0da8195aa94b96b39adce02443f6082329c82 | /inc/pipesim.hpp | 947ee686fdd3782838ecc5a35af3153c0a199bbf | [] | no_license | thekwan/vpipe | 3585befe2e8de3f50222cc714477fcad759119e4 | 444642bad8eae2782f70bfc1b4d68eb1c3094df6 | refs/heads/master | 2020-12-02T02:48:28.414736 | 2020-06-02T12:41:35 | 2020-06-02T12:41:35 | 230,863,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 628 | hpp | /*
* Computer Vision test pipeline simulator
* Author: Deokhwan, Kim
* Copyright (C), Deokhwan Kim, all rights reserved.
*/
#ifndef __PIPESIM_HPP__
#define __PIPESIM_HPP__
#include <queue>
#include <memory>
#include "types.hpp"
#include "job.hpp"
class PipeSimulator {
public:
PipeSimulator() {}
~PipeSim... | [
"thekwan@naver.com"
] | thekwan@naver.com |
7817e0609602116c105e53aba131f8b5e40b3cb9 | 4e76708ad91ccc0f211b4c1abbc025e9a6d868cf | /src/core/http/handler/proxy_h.cc | dd8add3aa99a7e5c16342d553067434a2bfa11bc | [
"Apache-2.0"
] | permissive | RevathiSaba/hlx | 3205b6ca7b5d4f86d7b20a1f982fb7f2c371470b | 5b301998cca8697acf186e12f783c3cbb1cecf44 | refs/heads/master | 2020-05-29T11:39:51.421902 | 2016-08-15T21:38:15 | 2016-08-15T21:38:15 | 65,765,669 | 0 | 0 | null | 2016-08-15T21:18:41 | 2016-08-15T21:18:41 | null | UTF-8 | C++ | false | false | 11,075 | cc | //: ----------------------------------------------------------------------------
//: Copyright (C) 2016 Verizon. All Rights Reserved.
//: All Rights Reserved
//:
//: \file: stat_h.cc
//: \details: TODO
//: \author: Reed P. Morrison
//: \date: 01/19/2016
//:
//: Licensed under the Apache License, Version 2.0 (... | [
"rmorrison@edgecast.com"
] | rmorrison@edgecast.com |
c308e8d244afefd3799efdbb0984aaf91b21ba08 | 68e320f6e31dbe03ba0258bda12ba5fb1411f26f | /ORLibraryInstanceReader.h | 85b5e554c5427b82c67774c8901322b4f901100d | [
"MIT"
] | permissive | yang123vc/brkga_binp | 5035bbff8d811ff0701f52520c8cd3903151d031 | 29c0d79a09ea85c5ceb1c3c659597c15068cea3c | refs/heads/master | 2020-06-19T16:33:00.319176 | 2018-07-22T23:14:23 | 2018-07-22T23:14:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 629 | h | /*
* ORLibraryInstanceReader.h
*
* Responsible for loading the OR-Library instances.
*/
#ifndef ORLIBRARYINSTANCEREADER_H_
#define ORLIBRARYINSTANCEREADER_H_
#include <iostream>
#include <fstream>
#include <exception>
#include <vector>
#include <stdexcept>
#include "Instance.h"
class ORLibraryInstanceReader {
pu... | [
"richardfuch@gmail.com"
] | richardfuch@gmail.com |
e71cb38bb29659647ec9a8c22ca7d62e2138291d | 3430509ac2102cd53959d086361f0045e2083886 | /cpp/src/quickjs-ffi-ios.cpp | e7f67c69c65a5c2983fb50cdb2a5e5c5e68ec200 | [
"MIT"
] | permissive | wanhongbo/quickjs_dart | 5f4f2b8f97e1bffdb07d6ed6a6c7ce0107b623be | ae954606713947a189e243403cf8475db0ccb5ad | refs/heads/master | 2023-04-05T12:12:53.594334 | 2020-10-08T19:18:05 | 2020-10-08T19:18:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,905 | cpp | #include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stddef.h>
#include <math.h>
// #include <signal.h>
// #include <sys/types.h>
// #include <zconf.h>
// #include "quickjs-libc.h"
#include "quickjs/quickjs.h"
// #include "quickjs-ffi.h"
/* ---------------------------------------- */
/* JSValue Invoki... | [
"neeboo@firestack.one"
] | neeboo@firestack.one |
cb6d59141fb95dafbdae1ccdfac77dfabc7e54ec | 08ccb95ddfc2079535af02c440759d8b2f56a779 | /scip/applications/Scheduler/src/cpoptimizer.cpp | ff76945838778cf0f3e424f3725a929aa5e5748a | [] | no_license | xianlinfeng/Documents | 05992fcc23946fb12e17295cef14b2e5aa4782e3 | ab423cb5550de8f2c5b96cb8dfdd0926f6140fb3 | refs/heads/master | 2022-12-17T22:21:43.301752 | 2020-09-23T01:56:33 | 2020-09-23T01:56:33 | 170,238,669 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,730 | cpp | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
/* This file is part of the program and library */
/* SCIP --- Solving Constraint Integer Programs */
... | [
"xianlinfeng86@gmail.com"
] | xianlinfeng86@gmail.com |
a7b7a802ccc3b49b426c4866b07f4f638728c88b | 8df1054f8c05eaeabd92f3f12c812ecbbe18b8ad | /test/test_tensortrain_operator_apply_dense.cpp | ed856a6c21913d24f33dbd9ade696979713ef696 | [
"BSD-3-Clause"
] | permissive | melven/pitts | e9f0053d9cf8179bb636862ed81a076b415d75b1 | 2cff51471def8f0b7e2b7aacc56c159bb570e1e3 | refs/heads/master | 2023-05-23T05:09:43.660566 | 2022-09-06T08:23:05 | 2022-09-06T08:23:05 | 369,316,003 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,598 | cpp | #include <gtest/gtest.h>
#include "pitts_tensortrain_operator_apply_dense.hpp"
#include "pitts_tensortrain_operator_apply.hpp"
#include "pitts_tensortrain_random.hpp"
#include "pitts_tensortrain_to_dense.hpp"
#include "pitts_multivector.hpp"
#include "pitts_multivector_random.hpp"
namespace
{
using TensorTrainOperat... | [
"Melven.Roehrig-Zoellner@DLR.de"
] | Melven.Roehrig-Zoellner@DLR.de |
af400acd7cb43764d60ae23b4641faa7e9c03d4f | 1f63dde39fcc5f8be29f2acb947c41f1b6f1683e | /Boss2D/addon/_old/webrtc-qt5.11.2_for_boss/modules/audio_processing/transient/transient_detector_unittest.cc | 8a545a866b7b90a7dfb9d6df952b0949494cdd85 | [
"LicenseRef-scancode-google-patent-license-webrtc",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"GPL-1.0-or-later",
"LicenseRef-scancode-takuya-ooura",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown",
"MS-LPL",
"MIT",
"LicenseRef-scancode-google-patent-licen... | permissive | koobonil/Boss2D | 09ca948823e0df5a5a53b64a10033c4f3665483a | e5eb355b57228a701495f2660f137bd05628c202 | refs/heads/master | 2022-10-20T09:02:51.341143 | 2019-07-18T02:13:44 | 2019-07-18T02:13:44 | 105,999,368 | 7 | 2 | MIT | 2022-10-04T23:31:12 | 2017-10-06T11:57:07 | C++ | UTF-8 | C++ | false | false | 3,852 | cc | /*
* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | [
"slacealic@nate.com"
] | slacealic@nate.com |
65ef4b70fc879efa337c9f559659eb94c6e2f28a | 76d577b3a48e4890e488fcb94e0ad9151233d4fa | /Unit10/Exercise10.24/exercise10.24.cpp | ff1aad3e2144ebee0f41afffbc38ebdab2ee4cb1 | [] | no_license | xiazhiyiyun/C-Primer | 2d62ba226c58cc4ab8f02a8dd7decada392e57e2 | 1541e4488db2dd79e7dfa17df9bd823c6e4b3d03 | refs/heads/master | 2020-12-24T17:08:25.879069 | 2016-11-24T12:08:53 | 2016-11-24T12:08:53 | 62,635,899 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 707 | cpp | #include <vector>
#include <iostream>
#include <algorithm>
#include <string>
#include <iterator>
#include <fstream>
#include <functional>
using std::vector;
using std::string;
using std::cin;
using std::cout;
using std::endl;
using std::ifstream;
using std::istream_iterator;
using std::ostream_iterator;
using namespac... | [
"2271390439@qq.com"
] | 2271390439@qq.com |
6fbdd7d4b6958f49f794744ee9f8220b0d8c517a | f953e478ae95cabd6e5d813d309dd498f6158898 | /651/b.cpp | da26d59ceace3a667cf37b7c070b068386ffd02b | [] | no_license | geckods/CodeForces | da5b368dd62ba03bd96aadd30f124a388817fd43 | 6a75697a05d460c9593b3549b7ee001e116e3905 | refs/heads/master | 2021-04-19T14:21:22.102504 | 2020-08-14T07:05:48 | 2020-08-14T07:05:48 | 249,611,848 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,334 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
// THINGS TO REMEMBER
// ENDL is slow, '\n' is fast
// Clear everything (including graphs) between test cases
// use anti-anti-hash: https://codeforces.com/blog/entry/62393
// pb-ds: https://codeforces.com/blog/entry/11080
// check when to use LLONG_M... | [
"geckods@gmail.com"
] | geckods@gmail.com |
ce1ea706c26d3c24f8a94f2ea9473cf80f33fe21 | 73455be5b346fbaebbffd3a6e9003d4acf12d56c | /funcs.cpp | 8b7f4dd00de0e009a444e7a3577e1da292905185 | [] | no_license | RBT0101/fall-2021-13500-lab-07-RandyLu0 | abc653da533afda2e0c59bcd81353594a7302802 | 5d798eba6ce0c0fd408d81d5e835200b33ddfa18 | refs/heads/main | 2023-09-05T22:41:38.568007 | 2021-11-20T18:58:18 | 2021-11-20T18:58:18 | 430,184,966 | 0 | 0 | null | 2021-11-20T18:54:13 | 2021-11-20T18:54:12 | null | UTF-8 | C++ | false | false | 1,177 | cpp | /*
* Name: Randy Lu
* Instructor: Mr. Zamansky
* Assignment: Lab 7
* Purpose: Implements functions
* prototyped in funcs.cpp
*/
#include <string>
#include "funcs.h"
#include <cctype>
#include <fstream>
using std::string;
using std::getline;
using std::ifstream;
using std::ofstream;
string removeLeadingSpaces(st... | [
"lurandy8@gmail.com"
] | lurandy8@gmail.com |
a9f5b44d6d21ef3ad6d0e237d53dadf4029461a2 | dc60409c8b854be42a1d7a995f3cee5546a610db | /policy-based-data-structures/inverse-count.cpp | 8cd2e4ea88adb554da3f1ebe0f73d3d4571a2875 | [] | no_license | mewcifur28/competitive-programming | 0c513b469240ecfc0c56f464c2df2324db305cb1 | c662a86c4e10097a978e5bf6d492ff1bf4bf3841 | refs/heads/master | 2022-11-25T04:57:11.756627 | 2020-07-18T18:29:05 | 2020-07-18T18:29:05 | 264,512,797 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 562 | cpp | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
#define ll long long int
typedef tree<int, null_type, less<int>, rb_tree_tag, tree_order_statistics_node_update> PBDS;
int main() {
PBDS s;
ll n, ans = 0;
... | [
"ishita.gambhir28@gmail.com"
] | ishita.gambhir28@gmail.com |
cd00cb7db9a1adaf4648bd76c4939d2e5546d304 | 210dca9ad04e301eef0ef64a3c83c746cc0e09e5 | /Chapter10/immer-0.5.0/benchmark/set/unsigned/generator.ipp | fac98005563616f67ec00139ff6e265312fdaf6c | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | PacktPublishing/Hands-On-Functional-Programming-with-Cpp | 5e4ec69496636d51b708c6db0ff4d7221bd54b26 | 64085205bbc052f8ee691b186fb7aa676904e196 | refs/heads/master | 2023-02-03T00:59:57.065142 | 2023-01-30T09:27:31 | 2023-01-30T09:27:31 | 156,325,353 | 40 | 22 | MIT | 2021-04-05T12:04:03 | 2018-11-06T04:21:01 | C++ | UTF-8 | C++ | false | false | 1,311 | ipp | //
// immer - immutable data structures for C++
// Copyright (C) 2016, 2017 Juan Pedro Bolivar Puente
//
// This file is part of immer.
//
// immer is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, eith... | [
"alexboly@gmail.com"
] | alexboly@gmail.com |
8131c70c3ceaf4bd9733c1c25a929dbbbea01634 | 9257d1a8d305675250682f56bda1af2e512acb0b | /alloc.h | dadc1e3356d62f2bc11baf9dd9dcaabd1b723b8d | [] | no_license | Ja3on/MySTL | 1c4d4399f4bff3f75be1745809f4b4b6288c8fe1 | 5877910758cfb0531ab2ae7397a653f9d77dd526 | refs/heads/master | 2021-01-20T20:03:52.009637 | 2016-07-09T12:22:47 | 2016-07-09T12:22:47 | 60,498,189 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,394 | h | #pragma once
#ifndef _ALLOC_H
#define _ALLOC_H
#include <cstdlib>
namespace MySTL
{
class alloc
{
private:
enum EAlign { ALIGN = 8 };//小型区块的上调边界;
enum EMaxBytes {MAXBYTES=128};//小型区块的上限,超过的区块由malloc分配
//FreeLists的个数=16
enum ENFreeLists { NFREELISTS = (EMaxBytes::MAXBYTES / EAlign::ALIGN) };
enum... | [
"ja3on.he@gmail.com"
] | ja3on.he@gmail.com |
211abb511912e231b77ac7e41e44c51dc74c9683 | a6fe0f21b75e50b67f31bfd3cfd1779a887f32f0 | /General Sorting Algorithms/recursiveBubbleSort.cpp | 486e4adc029d6003151620503a0f74dd95fab352 | [
"MIT"
] | permissive | Raghav1806/Geeks-for-Geeks-DS | bee7ec97d398ba74a843968c70d0928b7ef8aaef | 6fa96afadf8fd65a80a0adb5990fbdd577913ce8 | refs/heads/master | 2021-01-21T21:14:14.038270 | 2018-04-07T14:51:05 | 2018-04-07T14:51:05 | 92,317,441 | 0 | 0 | null | 2017-07-06T06:31:32 | 2017-05-24T17:14:57 | C++ | UTF-8 | C++ | false | false | 802 | cpp | // recursive bubble sort algorithm
#include <iostream>
using namespace std;
void swap(int *x, int *y){
int temp = *x;
*x = *y;
*y = temp;
}
void bubbleSort(int A[], int n){
// base case
if(n == 1)
return;
// one pass of bubble sort. After this pass, the largest element is moved (or bubbled) to end.
for(int... | [
"noreply@github.com"
] | Raghav1806.noreply@github.com |
402ca53a6abde01c08afbaccedf1c1e79e41d823 | cf6729af070f405fb9e71411c4a0545cc0564fa2 | /ProjectEuler/1/program.cpp | 6d95e558696b8c8b3cf7a0c625d3a242234e7a4b | [] | no_license | jc-andrade/Daily-Programmer | f3e9318f0c80924433f08472f8178dd7bae2a421 | 9012b865e8bcbf0061e987103c626a8344e5bb04 | refs/heads/master | 2021-04-29T04:00:48.456247 | 2017-05-10T19:51:48 | 2017-05-10T19:51:48 | 78,031,728 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 455 | cpp | // Project Euler problem 1
// STATUS: SOLVED
#include <iostream>
using namespace std;
// Find the sum of all the multiples of 3 or 5 below 1000
int main() {
int sum=0; // Kep track of sum
for(int i=0; i<1000; i++){ // For all numbers up to 1000
if ((i%3 == 0) || (i%5 == 0)) { // If they're multiples... | [
"jcamvz@gmail.com"
] | jcamvz@gmail.com |
f6322fb9d6b6958c33751013016bd6c3f6304e75 | 6bf7c1d8a514f73b8203043206048603fa177902 | /src/base/core/memory/memalloc.cpp | 6343bf8055f7a467e0679afde8a04a2a5633a898 | [
"LicenseRef-scancode-unknown-license-reference",
"Zlib",
"BSD-2-Clause",
"BSD-3-Clause",
"MIT"
] | permissive | panyihua/behaviac | fbe39a1fdb0bd762cece0710c9adb279e1a32836 | a0a1b12d2da43911c4e3c41105d38929162d396e | refs/heads/master | 2020-02-26T13:48:47.109138 | 2015-11-12T06:09:00 | 2015-11-12T06:09:00 | 45,733,207 | 1 | 0 | null | 2015-11-07T11:12:03 | 2015-11-07T11:12:03 | null | UTF-8 | C++ | false | false | 11,500 | cpp | /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Tencent is pleased to support the open source community by making behaviac available.
//
// Copyright (C) 2015 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the BSD 3-Clau... | [
"cainhuang@tencent.com"
] | cainhuang@tencent.com |
8532954ffd93db920456325f97746c3a845645b6 | 337855cba159a26cf0d243e26d011de541824e9f | /libFileArbTests/Components/Getters/MetalMock/FileNamePrefixAndExtensionGetterMock.h | 31104b477e4e87aeb89d7e46744aa7a908d00c88 | [
"MIT"
] | permissive | NeilJustice/FileArb | be2e91f49259f190f4d0b864dd2685b5d41340c8 | 7755956248e5bbfd7d2e0908c0c89656236dc000 | refs/heads/main | 2023-08-16T18:54:53.893169 | 2023-08-12T18:30:03 | 2023-08-12T18:30:03 | 286,283,428 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 350 | h | #pragma once
#include "libFileArb/Components/Getters/FileNamePrefixAndExtensionGetter.h"
class FileNamePrefixAndExtensionGetterMock : public Metal::Mock<FileNamePrefixAndExtensionGetter>
{
public:
using PairStringString = pair<string, string>;
METALMOCK_NONVOID1_CONST(PairStringString, GetFileNamePrefixAn... | [
"njjustice@gmail.com"
] | njjustice@gmail.com |
0262f913ed7e1ead9e2eca0548de0c28e2d51da9 | 13b19aa690d7ceef738faa766646d1036e54bb31 | /rectangles.cpp | 7da30962d6ab07c4d100aa08561fa5011b1b35fc | [] | no_license | whandke/sfml_rectangles | b0ae18c9214e476700d0c0d91604695fbc864e33 | b964b667031c916cd3149f1b87ca2dc973095093 | refs/heads/master | 2020-05-02T09:29:10.004641 | 2019-03-27T12:04:57 | 2019-03-27T12:04:57 | 177,873,116 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,541 | cpp | #include <SFML/Graphics.hpp>
#include <vector>
#include <iomanip>
#include <unistd.h>
#define HEIGHT 600
#define WIDTH 800
class CustomRectangle : public sf::RectangleShape {
public:
CustomRectangle(float x, float y)
: sf::RectangleShape(sf::Vector2<float>(x, y)) {
setOrigin(x/2, y/2);
... | [
"handkewojciech@gmail.com"
] | handkewojciech@gmail.com |
768879a356b42fcd804e97a267eff13d4164a8ae | ff82854f508445c32878caaa42863c6758fbafe4 | /object_analytics_node/src/visualizer/device/stream_render.hpp | 18fead345ddbcb61fda2508be9725eb936a15b67 | [
"Apache-2.0"
] | permissive | intel/ros2_object_analytics | 16c2f7f8acaf7df4c2116a69d2efedcc6c341d61 | 5321f671f44d276f12aa9f8bcc7dcfba27a9903a | refs/heads/devel | 2023-05-27T13:34:05.581063 | 2023-01-07T00:07:55 | 2023-01-07T00:07:55 | 125,554,319 | 100 | 61 | Apache-2.0 | 2019-12-03T09:46:12 | 2018-03-16T18:21:05 | C++ | UTF-8 | C++ | false | false | 1,310 | hpp | // Copyright (c) 2018 Intel Corporation
//
// 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 agr... | [
"challenzhou@gmail.com"
] | challenzhou@gmail.com |
69f06f0f4b484bb54ab84296a6b12c96bfe99bbf | 39f733fccc46de1ce5ee577e64d1ea0c3a4df7f8 | /src/Native/Runtime/unix/UnixNativeCodeManager.cpp | 43c63750fd317f5f45139684a6f8057673f876b0 | [
"MIT"
] | permissive | dato1357/corert | bdb8f7bd05e164973953161847773d3d410c5d35 | b1d01e1bc40bad2eaf5ffed696c2688f3f51b83e | refs/heads/master | 2021-01-21T07:34:44.404629 | 2016-07-30T04:23:46 | 2016-07-30T04:23:46 | 64,537,169 | 1 | 0 | null | 2016-07-30T09:39:52 | 2016-07-30T09:39:51 | null | UTF-8 | C++ | false | false | 9,688 | cpp | // 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.
#include "common.h"
#include "CommonTypes.h"
#include "CommonMacros.h"
#include "daccess.h"
#include "PalRedhawkComm... | [
"jkotas@microsoft.com"
] | jkotas@microsoft.com |
d3441a24128812e5e68ea49c52a1ada826c47b52 | 5fb0c17ace911996914c6e872d5e2746c698844f | /inc/half_edge.h | 3210fe325d8151dd9e03c7fea05ac5fc110fd7fc | [] | no_license | n-jing/parameterization | 7642f8fbbc85c388c7f97d37662aed0c01f02cfc | b06a2d8f14a250057216f0ebea67b7154737bce5 | refs/heads/master | 2020-12-31T22:55:41.092699 | 2020-02-24T13:01:12 | 2020-02-24T13:01:12 | 239,064,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,515 | h | #ifndef HALF_EDGE_JJ_H
#define HALF_EDGE_JJ_H
#include <Eigen/Core>
#include <vector>
#include <limits>
#include <list>
#include <unordered_map>
#include "union_find_set.h"
class HalfEdgeMesh
{
struct HalfVert
{
HalfVert()
{
he_e = std::numeric_limits<size_t>::max();
v = std::numeric_li... | [
"siliuhe@sina.com"
] | siliuhe@sina.com |
3ef84aa99717fc038d26d048dd4c3de4b15fbf84 | fd5908fa7f74c8fbfbab9ec494cbaf3f015163d1 | /include/framework/stage.h | 67bd0d2faa217a16e845b3ed1c0cbe5bed05a89f | [] | no_license | johnoneil/ogl-experiments | 2f853f3ecef556da0ff336e2bffb25d18d96a5af | 86ca5bb2c598b7d28baedbbadf15052444aee718 | refs/heads/master | 2022-11-25T12:12:48.461198 | 2020-05-23T03:55:18 | 2020-05-23T03:55:18 | 263,192,941 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 878 | h | #pragma once
#include "framework/canvaselement.h"
#include "framework/color.h"
#include <unordered_map>
#include <glm/glm.hpp>
class Stage2D : public CanvasElement
{
public:
Stage2D() {};
~Stage2D() = default;
Stage2D& operator=(const Stage2D& rhs) = delete;
Stage2D(const glm::vec2 sz);
Stage2D(co... | [
"noreply@github.com"
] | johnoneil.noreply@github.com |
28531064f5c9d692f2a728fa89123c5051513572 | 0af748ec8ea84a32e963f5bf1e243a2981cc4ac1 | /ConcurrentMemoryPool/Radix.h | 34bb5945634c0023029f2dda4c3537e87ba7d1ba | [] | no_license | doucunmets/ConcurrentMemoryPool | 10bf60ef5c69b824cfd133b7c2a6b448b8372155 | 06ba805be9beb5547b12a0cb2ebf653548b82415 | refs/heads/master | 2023-01-03T12:02:26.220052 | 2020-11-06T06:19:13 | 2020-11-06T06:19:13 | 310,491,261 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,655 | h | #pragma once
#include <iostream>
#include <assert.h>
#include <memory>
#include <queue>
const int child = 1<<4; //每个节点有多少个孩子节点
const int multiple = 4; //每次唯一位移多少位
/***********
这个是基数树,因为删除的时候需要合并,所以快速的获取页号对应的
Span对象,使用基数树比unordered_map快。
************/
template<typename T>
struct RadixNode{
T val;
bool _flag;
RadixNo... | [
"wang1191716703@163.com"
] | wang1191716703@163.com |
2061c0ac4c1532c8181a9084beabd6c484cd4ac7 | 416cc2d216b5e9c5ee571d859bf1ffc6c9e7800f | /src/I_sense.cc | ec2e08b8b64714096baec76db6ab2dde50e088df | [] | no_license | MuteBardTison/Bug_World_Phase5 | 08e67bccd6acd8f7a748ba1d9d96c34d33f3c64d | 7909221543d18c5394d43e1c5db23a05688a5144 | refs/heads/master | 2020-03-15T20:40:08.961561 | 2018-05-07T19:03:34 | 2018-05-07T19:03:34 | 132,338,374 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,955 | cc | #include "I_sense.h"
#include "tokenizer.h"
#include "adjacent_cell.h"
bool cellmatch(World w, int x, int y, auxbug::tcondition condition, auxbug::tcolor color)
{
bool match = false;
Cell* cell = w.get_cell(auxbug::tposition(x, y));
Bug* bug = w.bug_at(auxbug::tposition(x, y));
if(cell->get_obstructed... | [
"z.qi@jacobs-university.de"
] | z.qi@jacobs-university.de |
044a7f63da894bb3af0d400b7e884ac7a8a36ec9 | 8e5c3202c1b66384c3a97272adc5d278d9044543 | /cpp/315.cpp | 42d61d74d2722f749ed600b1b2d8d728bbc12d4e | [] | no_license | Coopelia/LeetCode-Solution | a70da69f73412557fd08b7974d9e93f353fa4518 | 8c210b46732197e98517c31fbfb3b4d6a14f5f6f | refs/heads/master | 2022-11-21T19:28:35.933722 | 2020-07-24T03:26:58 | 2020-07-24T03:26:58 | 263,778,023 | 0 | 0 | null | 2020-05-14T00:47:56 | 2020-05-14T00:47:56 | null | UTF-8 | C++ | false | false | 589 | cpp | #include <vector>
#include <algorithm>
using namespace std;
class Solution
{
public:
vector<int> countSmaller(vector<int> &nums)
{
vector<int> cache;
vector<int> res(nums.size());
for (int i = nums.size() - 1; i >= 0; i--)
{
if (cache.empty())
cache.p... | [
"divia_mk@qq.com"
] | divia_mk@qq.com |
baf227e9c1795deeb50148d61204b02395f1299c | 61de147b672f29e97e786eb508167706b463feb1 | /FaustGames/Native/src/physics/PhysicalFactory.h | ce323727db798164f82c268c2a08197824481eb8 | [] | no_license | faustgames-ru/FaustEngine | 83914ac8ba11163984dbe74ebfdef48793c3c67c | c779e3ff99503f366624c5c1ac202e4648c6bb4e | refs/heads/master | 2021-04-22T13:31:30.544214 | 2019-02-05T08:49:07 | 2019-02-05T08:49:07 | 29,536,506 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,047 | h | #ifndef PHYSICAL_FACTORY_H
#define PHYSICAL_FACTORY_H
#include "physics_classes.h"
#include "PhysicalConverter.h"
#include "PhysicalShape.h"
namespace physics
{
class PhysicalFactory : public llge::IPhysicalFactory
{
public:
PhysicalConverter Dimensions;
PhysicalConverter Velocity;
PhysicalWorld* createWor... | [
"deathmond11@gmail.com"
] | deathmond11@gmail.com |
368da80cc64599181e8adf522c00c0004d10f107 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_old_hunk_3043.cpp | 17166018dff4dde9b4063a88c44573f8dcd052c6 | [] | 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 | 1,917 | cpp | get_shallow_commits(&want_obj, depth,
SHALLOW, NOT_SHALLOW);
while (result) {
struct object *object = &result->item->object;
if (!(object->flags & (CLIENT_SHALLOW|NOT_SHALLOW))) {
packet_write(1, "shallow %s",
sha1_to_hex(object->sha1));
register_shallow(object->sha1);
shallow_nr... | [
"993273596@qq.com"
] | 993273596@qq.com |
21ecfb24d1a9b7be2e3f0c477551531d944c9080 | 94dcc118f9492896d6781e5a3f59867eddfbc78a | /llvm/include/llvm/IR/GlobalValue.h | c6a4b3fdb91cb27071bab1f6fac4679c6ef7b07f | [
"Apache-2.0",
"NCSA"
] | permissive | vusec/safeinit | 43fd500b5a832cce2bd87696988b64a718a5d764 | 8425bc49497684fe16e0063190dec8c3c58dc81a | refs/heads/master | 2021-07-07T11:46:25.138899 | 2021-05-05T10:40:52 | 2021-05-05T10:40:52 | 76,794,423 | 22 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 18,425 | h | //===-- llvm/GlobalValue.h - Class to represent a global value --*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"fuzzie@fuzzie.org"
] | fuzzie@fuzzie.org |
2093adb4424cabd680c14c0644b1e968dfc9503d | cbc26a810bcceaa4d40121d712928f4eda96d0b6 | /monopoly.cpp | e4cf92c6390f89de0729e8ed06295246ff705384 | [] | no_license | ZhengQing-Yu/monopoly | c03001adf47d5967aa8aa16403f4cabd4c951309 | d4b5cb43e784a8b7102f18a65aead1adfac44888 | refs/heads/master | 2020-05-25T08:39:53.657289 | 2020-03-17T16:56:42 | 2020-03-17T16:56:42 | 187,717,049 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 78 | cpp | #include "board.h"
int main(){
Board test = Board();
std::cout << test;
}
| [
"zhengqingyu12@gmail.com"
] | zhengqingyu12@gmail.com |
6f1d1d9a41c5efe756dc0e430f5a66849fbce94d | 1bbb0eb2ba860efbe6b4b149f4b7bae8d54f59ab | /tensorflow/compiler/jit/node_matchers.h | 35c2f5fd7b533d0e8716dc6c70c21afe9a32c9c8 | [
"Apache-2.0"
] | permissive | MikeCruickshank/tensorflow | 3dd548c1760294f667b66945152a3f521176a606 | a64baedbab5569b178fe5413912ce4428b956863 | refs/heads/master | 2020-04-03T00:11:07.166831 | 2018-10-26T20:18:05 | 2018-10-26T20:22:21 | 154,891,688 | 1 | 0 | Apache-2.0 | 2018-10-26T20:37:05 | 2018-10-26T20:37:04 | null | UTF-8 | C++ | false | false | 7,966 | h | /* Copyright 2018 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 |
40343c2f7d5158756893afccbbff911873ad500c | f75e120fe5ea0a7fba2e2661789b1fa9efc7c52e | /Ntuplizer/interface/GenEventNtuplizer.h | 290b9b5333dbea182cc92b320d335342a7f9e9b1 | [] | no_license | thaarres/EXOVVNtuplizerRunII | 3c219fbc3625509fedbccea95979552fdd4a575b | 2cb093503cc3e6cb228deb3b6d981e3fd18099a3 | refs/heads/master | 2021-01-18T05:47:04.429624 | 2015-10-06T13:12:44 | 2015-10-06T13:12:44 | 30,039,475 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 565 | h | #ifndef GenEventNtuplizer_H
#define GenEventNtuplizer_H
#include "../interface/CandidateNtuplizer.h"
class GenEventNtuplizer : public CandidateNtuplizer {
public:
GenEventNtuplizer( std::vector< edm::EDGetTokenT< GenEventInfoProduct > > tokens, NtupleBranches* nBranches );
~GenEventNtuplizer( void );
void f... | [
"hinzmann@cern.ch"
] | hinzmann@cern.ch |
183d4516e3a45320c79401a664ad60cc588796bb | 17b774bf3fc2d4e5270c0691344d642388fda107 | /s01tanchishe.cpp | 8305f9500a0ef364bf0f42cf129b117bd516cf0c | [] | no_license | Coopelia/Snake | 83bdb023594cdd2dc2769010dd838fcf5ddbcc79 | ae8e885a9804d480714872dfcad331a38122237e | refs/heads/master | 2021-01-13T19:56:27.843638 | 2020-03-21T12:57:17 | 2020-03-21T12:57:17 | 242,477,679 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,017 | cpp | #include <iostream>
#include <windows.h>
#include <conio.h>
#include<time.h>
using namespace std;
bool gameOver, fruitFlash;
const int width = 50;
const int height = 20;
int snakeX, snakeY, fruitX, fruitY, score;
int tailX[100];
int tailY[100];
int nTail;
enum eDirection { STOP = 0, LEFT, RIGHT, UP, DOWN };
eDirection... | [
"divia_mk@qq.com"
] | divia_mk@qq.com |
8a585fcfa10a17f83ed3b73c7c5c4fcddcb5ea8e | 2d36ac7285664ce798edb27bafa00e0dbc0f25fb | /LSL/liblsl/src/lsl_freefuncs_c.cpp | da2014b3193cabc7286016edb744c0aefbe1e3be | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | nagarjunvinukonda/Brain-Computer-Interface-for-Bionic-Arm | af1a6241df167e747a7d9426e497f95dda632fda | 839cb0dc798d2bf274d3df7c4db0fef62af3770d | refs/heads/master | 2023-02-13T12:02:36.692225 | 2021-01-14T08:32:35 | 2021-01-14T08:32:35 | 297,540,583 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,187 | cpp | #include "../include/lsl_c.h"
#include "version.h"
#include "resolver_impl.h"
#include <boost/chrono/system_clocks.hpp>
// === Implementation of the free-standing functions in lsl_c.h ===
using namespace lsl;
using std::string;
using std::vector;
/**
* Get the protocol version.
*/
LIBLSL_C_API int lsl_protocol_ver... | [
"vinukondanagarjun4@gmail.com"
] | vinukondanagarjun4@gmail.com |
9caf23554755ab16c13df70226c076a611bc1199 | 511f4c86a8cde3dac617eba02fc6ee205aebc357 | /example/src/ServerSelect.cpp | efb5e171b0556bd31f54bb78f05d4c64113d4bdc | [
"MIT"
] | permissive | dbmarch/Socket | d379ebfa5d6abdf8abf5ce02aaa9bf5d68da8c01 | cb5d4fe7bb373491c37d1fd3f662debeed5eb685 | refs/heads/master | 2020-12-01T21:28:47.223274 | 2020-01-06T05:57:23 | 2020-01-06T05:57:23 | 230,776,655 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,418 | cpp | #include <thread>
#include <string>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include "TcpSocket.h"
#include <arpa/inet.h>
using ReceiveFunction = void (*)(TcpSocket&);
static void AcceptThread (std::string name, TcpSocket &listenSocket, ReceiveFunction receiveFunction);
static void ReceiveThread (... | [
"dbmarch@gmail.com"
] | dbmarch@gmail.com |
790304f3dbb4cc178e34ca57f40a776b23203b75 | 56db2c59db25fb11afd2dc1bfcdc218ae2e98e4d | /Code/C++/GraphicsHandler.h | 2a6d346092c1649904173e2dcc4797a5f4524221 | [] | no_license | s91k/Level-editor | 7dad5a62aefae4eb5245a0afb26a1d1870f0ca02 | ba8cf1fd41e07cd4f21bae994322f28723137fbd | refs/heads/master | 2021-06-10T02:15:44.850960 | 2016-12-05T18:11:26 | 2016-12-05T18:11:26 | 74,023,541 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,103 | h | #pragma once
#include "stdafx.h"
#include "Camera.h"
class GraphicsHandler
{
private:
HWND m_window;
D3D10_DRIVER_TYPE m_driverType;
ID3D10Device* m_device;
IDXGISwapChain* m_swapChain;
ID3D10Effect* m_effect;
D3D10_VIEWPORT m_defaultViewport;
ID3D10RenderTargetView* m_defaultRenderTargetView;
ID3D10DepthSten... | [
"s91k@hotmail.com"
] | s91k@hotmail.com |
8e1bcfac56ce19cdac1bc2751d29b0c3e123e029 | bfbe07f8edd3b5b3c1ac2393b8508ced3845219d | /Contests/Codeforces/664DIV2/A.cpp | 022e1a57e9a815df45a553a13540f2fa82e49c13 | [] | no_license | srinjoyray/Competitive | 5ee384b446a20aad2cdcea8e08304101a9a92b34 | d6680510462a915756c4835374d2d6a342960f5f | refs/heads/main | 2023-06-16T16:08:10.787883 | 2021-07-14T14:19:17 | 2021-07-14T14:19:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,258 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define mp make_pair
#define ar array
#define ff first
#define ss second
bool check(int a,int b, int c, int d) {
int s = a+b+c+d;
bool val;
if(s % 2 == 0) {
if(a % 2 == 0 and b % 2 == 0 and c % 2 == 0 and d % 2 == 0) {
val... | [
"ankurkayal1234@gmail.com"
] | ankurkayal1234@gmail.com |
d3381c6f9f6c4b8d63e30f3af830740b63200039 | adf6e013abb4368ce1465ba45264fa187bdeb0b3 | /sm-miner-slave/src/psu/eltek_mgr.h | a0df81c3360a05e786294e4ec94bf21538664c45 | [] | no_license | huyugit/om-miner | 0f8692a9aa944d8aaf137d9ebfbd08e1979286b5 | 5cfa4aaf5a15094028d0007243d44d5e4fb42a2e | refs/heads/master | 2020-03-25T01:43:42.817961 | 2018-08-02T06:45:36 | 2018-08-02T06:45:36 | 143,253,460 | 6 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 2,225 | h | /*******************************************************************************
* file : eltekcontrol.hpp
* created : 06.04.2015
* author : Slyshyk Oleksiy
*******************************************************************************/
#ifndef ELTEK_MGR_H
#define ELTEK_MGR_H
#include "stm32f4xx_can.h"
#inclu... | [
"yu.hu@bitifly.com"
] | yu.hu@bitifly.com |
ffd81d8cb66943fae11ff5051217fef2e465698d | 6542fb99b938b6acdd5443d2b220813ef13c280b | /database_connection.h | 64e1086bd6029503414afacc7c995a53f0032479 | [] | no_license | motivationsbanner/old-server | feba82760e57710c33aa48637ccb109cc7930af6 | 8af49905d6568f55b5a2a9d048e3a9d6f9ddabcf | refs/heads/main | 2021-07-12T03:09:32.521995 | 2017-04-10T09:43:56 | 2017-04-10T09:43:56 | 64,167,484 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 281 | h | #include <string>
#include <mysql_connection.h>
#include <cppconn/driver.h>
class DatabaseConnection {
public:
DatabaseConnection();
~DatabaseConnection();
bool test_user(std::string name, std::string password);
private:
sql::Driver *driver;
sql::Connection *con;
};
| [
"michaelschertenleib@gmail.com"
] | michaelschertenleib@gmail.com |
1aa44a5e7fb3311a3b4972ecc369d0443ca53b11 | 805476055ad4008a25adf85c347a803d2534994a | /test/redis_test.cpp | 1c34e2b351fc1ffc5ff5627122fa54bfc6c8c643 | [
"MIT"
] | permissive | wangscript007/xeve | 4881f6ad96e8f225cbbad3868746a8e6b954ffb9 | 0f18a7e85e4851aed68748c2e621c26e39dcb3f6 | refs/heads/master | 2023-01-01T10:25:56.393074 | 2020-10-28T07:37:26 | 2020-10-28T07:37:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 534 | cpp |
#include "test_common.h"
#include "xdb/redis/RedisClient.h"
#include <glog/logging.h>
#include <memory>
#ifdef OPEN_REDIS_CLIENT
//------------------------------------------------------------------------
// 测试Redis连接
//------------------------------------------------------------------------
TEST_UNIT(TestRedisCon... | [
"xgm-skywave@users.noreply.github.com"
] | xgm-skywave@users.noreply.github.com |
1c0dca0ab3f88e0d4111a40bbccd73101f90ce14 | 126aff01258a906565f01b17c469072458b745bf | /80-moservice/mau/include/redisadapter.h | 874c9265f4e7204aabb2b196f7d1b4710414d03c | [] | no_license | github188/dest | 618fb13cb24cf953635ea7eab578515a5839fa33 | c43a523317325b97a69196a0e197c74bbc2bee9b | refs/heads/master | 2021-01-18T12:56:45.401542 | 2017-06-30T08:37:34 | 2017-06-30T08:37:34 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 12,461 | h | #pragma once
#include <vector>
#include <string>
#include <list>
#include "vccommon.h"
#include "rediswrap.h"
#define LUA_SCRIPT_FILEPATH "./script/"
#define CREATECONF "createconf.lua"
#define RELEASECONF "releaseconf.lua"
#define GETCONFNUM "getconfnum.lua"
#define GETDETAILCONFINFO "getdetailconfinfo.lua"
#... | [
"358844436@qq.com"
] | 358844436@qq.com |
81fdb70224862da93c7c3f26c4407d355652e9a0 | cd1d88f0f5845c26f91aecc15a153d39197d60a8 | /libraries/_09_m_Data_Blynk_Main/examples/Widgets/o/TimeInput/SimpleTimeInput/SimpleTimeInput.ino | 6a437a446d0bc9dfbd961aaa03531647987e1979 | [
"MIT"
] | permissive | wasdpkj/Microduino-IDE-Support | 205bc58df4dcbbb0c068533004c3dc4cc24dd214 | dc013a39927d2bd0ef7b0ec8e6d85f211bbcfa90 | refs/heads/master | 2023-07-25T20:27:12.329157 | 2023-07-10T06:22:25 | 2023-07-10T06:22:25 | 38,144,679 | 23 | 24 | null | 2023-05-22T12:25:04 | 2015-06-27T03:10:45 | C | UTF-8 | C++ | false | false | 2,270 | ino | /*************************************************************
Download latest Blynk library here:
https://github.com/blynkkk/blynk-library/releases/latest
Blynk is a platform with iOS and Android apps to control
Arduino, Raspberry Pi and the likes over the Internet.
You can easily build graphic interfaces... | [
"wasdpkj@hotmail.com"
] | wasdpkj@hotmail.com |
0cf1bc4930fade05458be7c573d07ea3d1778b94 | b09a7a444a9a25d561971559be3014bb4b4a2a13 | /base/src/transaction/Transactional.h | aa462d2ccdde3fd87fb24a56ee69b61f733e4593 | [
"BSD-3-Clause"
] | permissive | BeeeOn/gateway-frc | cbe9a000a37d0469b75e126e4316575cdd99ec4a | b5bcebd6dc068394906e35d989ed48dc65e9ebaf | refs/heads/master | 2020-12-02T19:22:25.122968 | 2017-07-03T13:29:52 | 2017-07-03T15:13:49 | 96,331,107 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,190 | h | #ifndef BEEEON_TRANSACTIONAL_H
#define BEEEON_TRANSACTIONAL_H
#include <Poco/Logger.h>
#include "transaction/TransactionManager.h"
#include "util/Loggable.h"
namespace BeeeOn {
#define BEEEON_TRANSACTION(code) \
this->transaction([&]() {code;});
#define BEEEON_TRANSACTION_RETURN(type, code) \
this->transaction<ty... | [
"tomas@novotny.cz"
] | tomas@novotny.cz |
b8054c68ea3a863eb93550e017abbba7aaa750ec | 05b10d1cd33e18cbc350548faba5eea444683643 | /embeded/gui/ImgButton.h | 5bc3ebb967ce46e16da355ba1dcfbf549478305a | [] | no_license | xiangnansong/IOT | e9944971a669e69c0c3d0ef1e7035fc85584f63e | 507054aeb564da9133874a7dd8977a5705d05965 | refs/heads/master | 2021-05-03T07:59:33.060033 | 2018-02-07T03:41:11 | 2018-02-07T03:41:11 | 120,558,732 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 676 | h | //
// Created by song on 17-5-12.
//
#ifndef MOS_IMGBUTTON_H
#define MOS_IMGBUTTON_H
#include "Button.h"
extern unsigned char gImage_led[8192];
extern unsigned char gImage_led_60[8192];
class ImgButton : public Button {
private:
uint8_t *clickedImg;
uint8_t *normalImg;
uint8_t *backImg;
public:
ImgB... | [
"sxn96@sina.com"
] | sxn96@sina.com |
4c3ac5114547e73ab20acdb487e8c8fa4a445b61 | cb77dcbbce6c480f68c3dcb8610743f027bee95c | /android/art/runtime/monitor_test.cc | bff8d7678c77bcd56623fa9decfac71da0db7d26 | [
"MIT",
"Apache-2.0",
"NCSA"
] | permissive | fengjixuchui/deoptfuscator | c888b93361d837ef619b9eb95ffd4b01a4bef51a | dec8fbf2b59f8dddf2dbd10868726b255364e1c5 | refs/heads/master | 2023-03-17T11:49:00.988260 | 2023-03-09T02:01:47 | 2023-03-09T02:01:47 | 333,074,914 | 0 | 0 | MIT | 2023-03-09T02:01:48 | 2021-01-26T12:16:31 | null | UTF-8 | C++ | false | false | 12,680 | cc | /*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | [
"gyoonus@gmail.com"
] | gyoonus@gmail.com |
678570d08525d28ca8f36431ef8444f23b7615f4 | 536656cd89e4fa3a92b5dcab28657d60d1d244bd | /base/profiler/stack_copier.cc | 5596b2e216289f6697bb2baca332e15a93126b74 | [
"BSD-3-Clause"
] | permissive | ECS-251-W2020/chromium | 79caebf50443f297557d9510620bf8d44a68399a | ac814e85cb870a6b569e184c7a60a70ff3cb19f9 | refs/heads/master | 2022-08-19T17:42:46.887573 | 2020-03-18T06:08:44 | 2020-03-18T06:08:44 | 248,141,336 | 7 | 8 | BSD-3-Clause | 2022-07-06T20:32:48 | 2020-03-18T04:52:18 | null | UTF-8 | C++ | false | false | 2,932 | 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 "base/profiler/stack_copier.h"
#include "base/compiler_specific.h"
namespace base {
StackCopier::~StackCopier() = default;
// static
uintptr_... | [
"pcding@ucdavis.edu"
] | pcding@ucdavis.edu |
7887288651746680e8008b3653fd2dda6f1b1365 | 263a50fb4ca9be07a5b229ac80047f068721f459 | /media/audio/audio_output_dispatcher.h | cf01a31b0a74a38e9cefc0e0456c1139e38e75f3 | [
"BSD-3-Clause"
] | permissive | talalbutt/clank | 8150b328294d0ac7406fa86e2d7f0b960098dc91 | d060a5fcce180009d2eb9257a809cfcb3515f997 | refs/heads/master | 2021-01-18T01:54:24.585184 | 2012-10-17T15:00:42 | 2012-10-17T15:00:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,314 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// AudioOutputDispatcher is a single-threaded class that dispatches creation and
// deletion of audio output streams. AudioOutputProxy objects use thi... | [
"plind@mips.com"
] | plind@mips.com |
689b8a8d21b632dd58310e29195923b39e18f6c3 | 43441cde04695a2bf62a7a5f7db4072aa0a6d366 | /vc60/inc_src/lotus/v6/lnhotspt.hpp | bbd358221e0acb60526d2c7da6e6ae28336302d2 | [] | no_license | crespo2014/cpp-lib | a8aaf4b963d3bf41f91db3832dd51bcf601d54ee | de6b653bf4c689fc5ceb3e9fe0f4fe47d79acf95 | refs/heads/master | 2020-12-24T15:23:32.396924 | 2016-03-21T11:53:37 | 2016-03-21T11:53:37 | 26,559,932 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,254 | hpp | //===========================================================================
//
// Module: LNHOTSPT.HPP
//
// Description:
//
// Class library definition for LNHotspot and related classes.
//
//===========================================================================
//
// Copyright (c) 1997-2004 Lotus D... | [
"lester.crespo.es@gmail.com"
] | lester.crespo.es@gmail.com |
c2a6f0742ac051ccdbec671f4f8b3120201ea3fd | af62be724c367d7d83aa8eda752ff8962b7df10c | /src/modular/tests/story_shell_factory_test.cc | 15df330c7bd34b7f995e4cba06bbf4d722561844 | [
"BSD-3-Clause"
] | permissive | AlbertSid/fuchsia | 1d369e95ea6e55789f401022cb20fa3c28d85a92 | 018b23ae3462ea6bf9c91b00a5d8698c2b79d119 | refs/heads/master | 2020-08-24T05:16:31.873193 | 2019-10-21T19:37:04 | 2019-10-21T19:37:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,753 | cc | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <fuchsia/modular/testing/cpp/fidl.h>
#include <lib/async/cpp/task.h>
#include <lib/fsl/vmo/strings.h>
#include <lib/modular/testing/cpp/fake_compo... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
0b7214684c980f7c30c6de3f4183fc853338e55c | 12b377946d78de96d4096e55874933fe9bb38619 | /gpu/vulkan/vulkan_implementation.h | 83d0eb834fe31e2fb7e19d2826ed7b9a7665f480 | [
"BSD-3-Clause"
] | permissive | neuyang/chromium | 57c0c6ef86e933bc5de11a9754e5ef6f9752badb | afb8f54b782055923cadd711452c2448f3f7b5b4 | refs/heads/master | 2023-02-20T21:47:59.999916 | 2016-04-20T21:38:20 | 2016-04-20T21:41:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 465 | 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 GPU_VULKAN_VULKAN_IMPLEMENTATION_H_
#define GPU_VULKAN_VULKAN_IMPLEMENTATION_H_
#include <vulkan/vulkan.h>
namespace gpu {
class VulkanComm... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
207acb61c7ece680d0f795e8cb21b5d0dfa4c521 | d1acc39b165df125fa292f6b74d020e607d1e25d | /components/common/cpp/include/ftl/transactional.hpp | 5b7f8026b66c5ce7cf3b630b9be0f0931d85b0e1 | [
"MIT"
] | permissive | knicos/voltu | 1e30cb44ec1938fe805d4c09b6f154434bd5cfb9 | 70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01 | refs/heads/master | 2023-07-12T02:14:11.356168 | 2021-08-12T09:08:42 | 2021-08-12T09:08:42 | 318,145,509 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,813 | hpp | /**
* @file transactional.hpp
* @copyright Copyright (c) 2020 University of Turku, MIT License
* @author Nicolas Pope
*/
#ifndef _FTL_TRANSACTIONAL_HPP_
#define _FTL_TRANSACTIONAL_HPP_
#include <ftl/threads.hpp>
namespace ftl {
/**
* Use RAII style transactional objects with shared locking. This wraps an
* ob... | [
"nicolas.pope@utu.fi"
] | nicolas.pope@utu.fi |
b2bde2458ff9231890f9ad3cad13fe0ec2f8a6cf | 5e9c396ea5d81dce62ef4e6f260db21385608922 | /src/chrono_granular/ChGranularData.h | 0a340563b9699270aa28109a8401df12fab531aa | [
"BSD-3-Clause"
] | permissive | gvvynplaine/chrono | 357b30f896eb6c1dcabcebd0d88f10fab3faff20 | a3c0c8735eb069d5c845a7b508a048b58e022ce0 | refs/heads/develop | 2023-01-05T08:43:13.115419 | 2020-07-09T08:24:34 | 2020-07-09T08:24:34 | 278,308,549 | 0 | 0 | BSD-3-Clause | 2020-10-30T12:17:47 | 2020-07-09T08:33:24 | null | UTF-8 | C++ | false | false | 1,460 | h | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2019 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... | [
"noreply@github.com"
] | gvvynplaine.noreply@github.com |
324cae6a730775bf6c23864621c993795b483bd2 | 7f11317085d407d10b0e55c4b31bc81333a07eaa | /Codeforces/1272/e/e.cpp | 0551e83fa108cb4e2a47931e29cd0378a9371bdb | [] | no_license | ericbrandwein/competencias | 14116a1bc76e70a55ebebdc946679cd92cb8a3db | bf22b874646586ae7de573991fa932a2fa90e2c9 | refs/heads/master | 2023-05-03T09:51:26.100257 | 2021-05-30T16:18:08 | 2021-05-30T16:18:08 | 371,562,451 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,813 | cpp | //#pragma GCC optimize("Ofast")
//#pragma GCC optimize("unroll-loops,no-stack-protector")
//#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
#include <bits/stdc++.h>
#define IOS ios::sync_with_stdio(false);cin.tie(0);cout.tie(0)
#define endl '\n'
#define elif else if
#define ll long long i... | [
"brandweineric@gmail.com"
] | brandweineric@gmail.com |
161a41719224611cc1563f096fa5dcf739cd2148 | 36541500fcb52101577939e5f786fc056e0f43b6 | /Ratio_Factors_j4_MC_removal.cc | 4c149c4d1c60cbd29b36b5cc111d2330ec51b307 | [] | no_license | cardaci/T2TopPlusPhoton | 5ebadfecac3e835b34bd8a3095f53c05922ddaee | 12c9ec1cc083fe5c73bc40878e2568df13f327ee | refs/heads/master | 2021-01-18T09:15:37.106612 | 2013-12-10T00:21:18 | 2013-12-10T00:21:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 64,299 | cc | #include "TTree.h"
#include "TROOT.h"
#include "TStyle.h"
#include "TH1F.h"
#include "TH2F.h"
#include "interface/format.h"
#include "TChain.h"
#include "TCanvas.h"
//#include "interface/TriggerBooking.h"
#include "interface/DPHI.h"
#include "interface/RecoLeptonSelection.h"
#include "interface/RecoPhotonSel... | [
"Marco.Cardaci@cern.ch"
] | Marco.Cardaci@cern.ch |
aad2b6e1669d480e6dca49060a9162ec5ef9999c | 0adfe9d7fd7d82135905b2a50f71df8e205f23ab | /gag2224-TestNetflix.c++ | 69c039c63a480dbb6342a7e48badefdae59d74ac | [] | no_license | mikeshannon2/netflix-tests | 85830dbfc34e145b3a896438199fe2b88c8d9872 | 60f856c9a92d6dfa350c58d4183ebc6a624d35d9 | refs/heads/master | 2021-01-12T16:28:42.872016 | 2016-09-25T09:50:44 | 2016-09-25T09:50:44 | 69,155,772 | 0 | 0 | null | 2016-09-25T09:44:12 | 2016-09-25T09:44:12 | null | UTF-8 | C++ | false | false | 3,375 | // --------------------------------
// projects/netflix/TestNetflix.c++
// Copyright (C) 2016
// Glenn P. Downing
// --------------------------------
// https://code.google.com/p/googletest/wiki/V1_7_Primer#Basic_Assertions
// --------
// includes
// --------
#include <iostream> // cout, endl
#include <sstream> // ... | [
"gualbertoguzman@gmail.com"
] | gualbertoguzman@gmail.com | |
d5003195d201d86926cbc5318ca3aeab99eaf4cf | bd4f2a36ef9f0d864cf747f75c6c36e50f91a67f | /Chapter_03_Stack/sourcecode/例3-1(数制转换).cpp | 9959323b923550af5dabc80700e77bd0582d98b6 | [] | no_license | BoyuGuan/DATASTRUCTURE | 6df74fc0a98162f6939a40429753c97175a51eea | 0d0dced35514efda2a8b6c52f63fe699907e6db6 | refs/heads/master | 2021-04-19T23:35:24.741156 | 2020-04-20T02:37:18 | 2020-04-20T02:37:18 | 249,641,323 | 0 | 1 | null | 2020-03-24T07:32:19 | 2020-03-24T07:32:19 | null | GB18030 | C++ | false | false | 887 | cpp | typedef int ElemType; // 链栈元素类型为int
# include "stdlib.h" // 该文件包含malloc()、realloc()和free()等函数
# include "iomanip.h" // 该文件包含标准输入输出流cout、cin及控制符setw()
# include "LinkStack.h" // 该文件包含链栈数据对象的描述及相关操作
void TransFrom(long N,int d )
{
LinkStack S; // 用顺序栈和链栈都可以,此处是链栈
int x;
InitStack_L(S);
while... | [
"32472889@qq.com"
] | 32472889@qq.com |
6b79e9923bd14bedd8b88d82a6029c72311520dc | 9f144992eb5f41f624d2327967ba1498b36a7d05 | /leetcode/0108. 将有序数组转换为二叉搜索树/cpp/solution.h | 8c7899e8ea2b1b7784cb43189e5d624a5b6d94a1 | [] | no_license | dangxiaobin123/leetcodeAC | 6c93729bd2cc7edd4ed80387688555fb4718af26 | 64d26abe124267abf08afaf28fcbcd16be4f6ca4 | refs/heads/master | 2021-01-03T08:31:14.224703 | 2020-10-28T16:08:36 | 2020-10-28T16:08:36 | 240,001,477 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 640 | h | #include <vector>
#include <algorithm>
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
class Solution
{
public:
TreeNode *sortedArrayToBST(vector<int> &nums)
{
return helperBst(nums, 0, nums.size()... | [
"dangxiaobin123@163.com"
] | dangxiaobin123@163.com |
506363aa56fb8f82e03fd291909027d0845d8c98 | 1b3c86e83ae98c306334ed88d58d6e782ae976fe | /protocol_buffers/cpp/example.pb.h | f489482e5cefeda545a22dd902b264aaa0f46d14 | [
"Unlicense"
] | permissive | whitehse/testing | b1eb562e9f01ab211a6e4fcb081b03012178416f | c8aaf7c1251bbe47e5cb32ec3292d9e9977d67db | refs/heads/master | 2023-06-07T12:29:31.805175 | 2023-05-26T19:21:39 | 2023-05-26T19:21:39 | 94,026,522 | 1 | 0 | null | 2018-01-13T20:26:47 | 2017-06-11T19:20:51 | Shell | UTF-8 | C++ | false | true | 11,921 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: example.proto
#ifndef GOOGLE_PROTOBUF_INCLUDED_example_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_example_2eproto
#include <limits>
#include <string>
#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3011000
#error This file was genera... | [
"Dan White dwhite@cafedemocracy.org"
] | Dan White dwhite@cafedemocracy.org |
973d3d283abbc06ff1bbe07d1be24a43f4320170 | 365fc4bbaf92417ebb031bce628e9aaa141241fb | /05-ScenceManager/RestoreBloodL1.h | 646dc7581ccc128606b7627b8a19cdec02176d5c | [] | no_license | ThuTinh/GAME_UPDATE | 30b45d6d444865f186486b6457b32a7a0aea3329 | af2e174a20cbf3553c2bdee7b2c072a0a6fff26a | refs/heads/master | 2022-11-20T19:15:17.739302 | 2020-07-24T12:58:45 | 2020-07-24T12:58:45 | 258,240,574 | 0 | 0 | null | 2020-07-24T12:58:46 | 2020-04-23T14:59:07 | C++ | UTF-8 | C++ | false | false | 281 | h | #pragma once
#include"Item.h"
#define ID_ANI_HEART 3
#define RESTORE_BLOODL1 -0.2
class RestoreBloodL1 : public Item
{
public:
void Update(DWORD dt, vector<LPGAMEOBJECT>* coObjects) override;
void onPlayerContact() override;
RestoreBloodL1();
~RestoreBloodL1();
private:
};
| [
"minhtri2041998@gmail.com"
] | minhtri2041998@gmail.com |
91df4a84a69a6fcffa8002205080520d6c62b5a9 | 1d1bb5bfedf4d6772e79f5e430803494511e0836 | /Geant4-example/simple/src/MagField.cc | c30d4cffe7ba51fb5b2f58f149e4f6ea2a272183 | [] | no_license | shonagao-nex/RootGeant-Seminar | 7dc36618456be4f2c3cddeb3276c178c12b66526 | 37c874288744f91ce8d914975962b479391e67f9 | refs/heads/master | 2023-06-14T22:17:56.531880 | 2023-06-01T01:23:04 | 2023-06-01T01:23:04 | 259,862,777 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,214 | cc | #include "MagField.hh"
#include "ParamManager.hh"
#include "G4FieldManager.hh"
#include "G4ThreeVector.hh"
#include "G4SystemOfUnits.hh"
#include "stdlib.h"
#include <unistd.h>
#include <cstdio>
#include <iostream>
#include <fstream>
#include <iomanip>
#include <cmath>
MagField::MagField()
{
// cleanmap();
paramM... | [
"sho.nagao@nex.phys.s.u-tokyo.ac.jp"
] | sho.nagao@nex.phys.s.u-tokyo.ac.jp |
f81ee113fa423f28d33ce5c09c41ee8a0ddb3bdb | 1472dcb5a3244a51154f798666d0330ff32c68f5 | /src/mcZoomCurrentStateCamera.h | eeea6f00195403d0ef5bb7b5a587cef3335b253c | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | Osprey-DPD/osprey-dpd | 3961ca5c0fe89514299812ded9c8c16a5f049987 | d6e9bb6771e36c36811ef2d9405f9e287bb5f1c5 | refs/heads/main | 2023-06-11T08:49:06.866378 | 2023-06-08T14:23:39 | 2023-06-08T14:23:39 | 308,352,022 | 22 | 3 | NOASSERTION | 2023-06-08T14:23:41 | 2020-10-29T14:23:30 | C++ | UTF-8 | C++ | false | false | 2,550 | h | // mcZoomCurrentStateCamera.h: interface for the mcZoomCurrentStateCamera class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_MCZOOMCURRENTSTATECAMERA_H__5537A0EA_B4D4_44D4_8994_874865C6418B__INCLUDED_)
#define AFX_MCZOOMCURRENTSTATECAMERA_H__5537A0EA_B4D4_44D4_8994_874865... | [
"julian.shillcock@epfl.ch"
] | julian.shillcock@epfl.ch |
e031acfd950182f8d992a5861c5b2547065e4e70 | 3760d700b3312c2d54b5d533d329b8a2ebfc78b5 | /tools/cabana/detailwidget.cc | 52ae530a56978e22501db87b1642122dafc1142c | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | vanstek/openpilot | 3d604f3a8aa1f7f8abbb0c9197fa8bd60f8b7ac0 | fa03f8ef21a14e6cb13bf6c01fed1fd7a33b5bbe | refs/heads/subaru-community | 2023-02-21T18:07:33.119383 | 2022-12-27T13:36:16 | 2022-12-27T13:36:16 | 318,867,602 | 0 | 0 | MIT | 2020-12-05T19:05:14 | 2020-12-05T19:05:13 | null | UTF-8 | C++ | false | false | 11,284 | cc | #include "tools/cabana/detailwidget.h"
#include <QDialogButtonBox>
#include <QFormLayout>
#include <QMenu>
#include <QMessageBox>
#include <QScrollBar>
#include <QTimer>
#include "selfdrive/ui/qt/util.h"
#include "tools/cabana/canmessages.h"
#include "tools/cabana/commands.h"
#include "tools/cabana/dbcmanager.h"
// ... | [
"noreply@github.com"
] | vanstek.noreply@github.com |
23b7b30fcc9ea6a15aba57df8f8d243035c94328 | 098291ccd7ac616f50f5c306705fc1b6776dc887 | /A/C++/91/2A.cpp | 410576195868bc7ad9cdb2f3be3b98c9e8bef047 | [] | no_license | arifkhan1990/Codeforces-accepted-solution | 62ccb77f3192516f34a3f621d4d59c4fbc1b7579 | 7a87d209e3591390ab32fbc6f8649f0eefe25d93 | refs/heads/master | 2023-03-12T18:00:30.306239 | 2023-03-03T13:41:41 | 2023-03-03T13:41:41 | 72,961,270 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 394 | cpp | #include<iostream>
using namespace std;
bool ck(int n) {
while(n > 0) {
int r = n%10;
n /= 10;
if(r != 4 and r != 7) return 0;
}
return 1;
}
int main()
{
int n;
cin >> n;
for(int i = 2; i <= n ; i++) {
if(n%i == 0 and ck(i)) {
cout << "YES" << endl;
... | [
"arifkhanshubro@gmail.com"
] | arifkhanshubro@gmail.com |
3b41b9a31f6efcfaa29cec94648ae1b9d5bc8746 | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-es/source/model/ListVpcEndpointsRequest.cpp | 1210c08bc0e05d1826911ac1d8f98be6ab019a76 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 887 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/es/model/ListVpcEndpointsRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/http/URI.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>
#include <utili... | [
"sdavtaker@users.noreply.github.com"
] | sdavtaker@users.noreply.github.com |
98a940069821dc1388f10af7a940af5dbbf2d96e | 6341a025f36812581ed759170747364d81efe4c2 | /application/source/ecs/componentSystem/Controller/HowToPlayState.h | 852748aa301a22578d9dfc563f2a4a4eb38ee2e7 | [] | no_license | yhyu13/DigiPen-GAM541-GameProject | dcab68494d6636aee2a91d114baf712b419355fa | 2ed81961482dd261181f4934832ac2da4b2f9f48 | refs/heads/master | 2023-03-14T21:58:33.034521 | 2021-03-22T02:14:28 | 2021-03-22T02:14:28 | 350,177,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 117 | h | #pragma once
namespace gswy
{
enum class HowToPlayState
{
HOW_TO_PLAY_1,
HOW_TO_PLAY_2,
HOW_TO_PLAY_3
};
}
| [
"dushyantshukla@outlook.com"
] | dushyantshukla@outlook.com |
a1ff38cad4cfbfc749ebf82ce97fde762db206eb | 48c9f19149c93274f4625dbd3d5483af169c8bc4 | /ver_development/Engine_System/Attachment.cpp | 159ec32985e1d45ff83b30b08319d93067c96ef5 | [] | no_license | freean2468/scrap_irons | 6a39efb9a8bc2a8f3ca1a0de4faf7f2a4ea35a3b | b4c19fcc03958fe185e9f446af2d4d85e8228bcd | refs/heads/main | 2023-01-31T16:49:24.987795 | 2020-12-14T11:00:37 | 2020-12-14T11:00:37 | 319,682,577 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 3,901 | cpp | #include "../BaseHeader.h"
// Belt의 끝에 도달했는지의 여부를 물음
bool CAttachment::bIsBeltEnd = false;
CAttachment::CAttachment(int id, OWNER p_owner, D3DXVECTOR3 p_vPos, D3DXVECTOR3 p_vSca, D3DXVECTOR3 p_vRot, D3DXVECTOR3 p_vCen, int p_nAttType):COrgan(id){
SetOwner(p_owner);
// 방향을 바꾸면 x 축 대칭이 일어난다.
_vPrimitivePos = p_vPos... | [
"freean2468@gmail.com"
] | freean2468@gmail.com |
04fb7604207e9a4ebd4d528dbc588ae96dc7d390 | bd6156f4844b860d47b6e50e7a4d7021cdc0ce02 | /qt4/fantandroid/pngtosqlite/moc_ComboBoxDelegate.cpp | cce83b677bb83a4d9a0633eecd3a376655ccfd0c | [] | no_license | matteosan1/workspace | e178c9843e62d78762420c217bc603819dc96b10 | f9a2dedfb821b889d037f7642fa5e2cb581b4779 | refs/heads/master | 2021-07-20T04:26:40.187162 | 2021-06-24T20:13:46 | 2021-06-24T20:13:46 | 149,867,932 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,750 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'ComboBoxDelegate.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.6.1)
**
** WARNING! All changes made in this file will be lost!
****************************************************... | [
"matteosan1@gmail.com"
] | matteosan1@gmail.com |
e6fe4a77ec849aa87d2c704524f0fff364bcaabc | 95a4fe59c961a75c0cc0db1d2793f275c2ef3e25 | /ListaEnlazada/Lista.h | e13fa488785748e3073a2eff7a617daaef17e444 | [] | no_license | EduardoAliagaAccostupa/CC2 | 129dadc7fd73fcdb443e7c880ef0d9b593e74b7b | b3ec188a491954adc1d73cb5918d80fd2ae32afe | refs/heads/main | 2023-05-10T05:11:01.457462 | 2021-06-11T15:55:51 | 2021-06-11T15:55:51 | 359,609,078 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,606 | h | #ifndef LISTA_H
#define LISTA_H
#include <iostream>
#include "Nodo.h"
using namespace std;
class Lista
{
private:
int tam;
Nodo *cab;
public:
Lista();
void insertar(int );
void quitar();
void quitar(int);
void mostrar();
int mos... | [
"noreply@github.com"
] | EduardoAliagaAccostupa.noreply@github.com |
ad3890cae2698b7d180c61d4165c3c0b45c02c42 | 1170f5d1d907cc4cc08f5faf48ef2be7e4f02fd0 | /ParticleEngine/particle.h | a4b95f17bff03499355658414584304a466246cd | [] | no_license | alterkait/SpaceHunt-OpenSource | 5c4e0a56a8a7096df48d09eac2724e10ebaac1f4 | 7a82bfcccd2fe7420cb26d285e06c24fe103c8a7 | refs/heads/master | 2022-01-20T14:45:48.003275 | 2017-11-26T08:17:28 | 2017-11-26T08:17:28 | 103,387,444 | 1 | 1 | null | 2019-05-06T12:37:50 | 2017-09-13T10:41:18 | C++ | UTF-8 | C++ | false | false | 321 | h | #pragma once
#include <SFML/Graphics.hpp>
namespace particles
{
class ParticleData
{
public:
explicit ParticleData(int maxCount);
~ParticleData();
ParticleData(const ParticleData &) = delete;
ParticleData &operator=(const ParticleData &) = delete;
void kill(int id);
void swapData(int id1, int id2);
}
}... | [
"noreply@github.com"
] | alterkait.noreply@github.com |
cea2099f1394c43b90e48bade468b0df2526fcec | c70beb1d32782d9f3de57b96c9344c3b77df6c1f | /HGETools/src/hgeparticle.cpp | 4cb14b18bdadda0b1f90b66e176571cb4d5521bd | [] | no_license | dkargin/TiGa | 3476eb642f8bdc8f866b9efd593cc1b2daa46eb6 | bf8badaef6e22b6d381dbd572e777096d0003fb9 | refs/heads/master | 2018-10-14T13:50:32.567618 | 2014-11-07T19:21:07 | 2014-11-07T19:21:07 | 1,158,482 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,529 | cpp | /*
** Haaf's Game Engine 1.7
** Copyright (C) 2003-2007, Relish Games
** hge.relishgames.com
**
** hgeParticleSystem helper class implementation
*/
#include "stdafx.h"
#include "hgeparticle.h"
typedef vec2f hgeVector;
HGE *hgeParticleSystem::hge=0;
hgeParticleSystem::hgeParticleSystem(const char *filename, hgeSprit... | [
"dv_frost@mail.ru"
] | dv_frost@mail.ru |
b988466f84b19e61629911063ef441f906799a7f | acd31a6c3f5ba570fb68ae203bb67ab1a801da9a | /chat/voicerecord.h | 319044bbbc6ba248b6dcb4f6247d126157458444 | [] | no_license | SteveJokes/chat | ba446c50ed7149f14704d0cf4a7d4413ee24cc32 | 60d7fe231725135c195b693a055c6a103f49cf9b | refs/heads/master | 2020-03-07T16:47:57.565187 | 2018-04-01T05:25:24 | 2018-04-01T05:25:24 | 127,593,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 561 | h | #ifndef VOICERECORD_H
#define VOICERECORD_H
#include <QDialog>
#include <QProcess>
#include <QFile>
#include <tcpserver.h>
namespace Ui {
class VoiceRecord;
}
class VoiceRecord : public QDialog
{
Q_OBJECT
public:
explicit VoiceRecord(QWidget *parent = 0);
~VoiceRecord();
private slots:
void on_... | [
"1466736758@qq.com"
] | 1466736758@qq.com |
e146e9606b787e9e518b5101a2c76da8969c35eb | 1c2605dc7dd912a0b928c7f2d3786cba5715986d | /iris/src/include/iris/MatrixTransform.h | 49b0091c5a6511fdfb82d0cb91dc85ca43aed122 | [] | no_license | SteveSatterfield/HEVf | 9bbe5ab8ea405d5e324b947c3257b3dbffaecf10 | 6ddbb249ce504769649d1c241d6dcd685e212d61 | refs/heads/master | 2021-07-13T19:21:23.882826 | 2020-06-10T20:11:09 | 2020-06-10T20:11:09 | 159,958,250 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,788 | h | #ifndef __IRIS_MATRIX_TRANSFORM__
#define __IRIS_MATRIX_TRANSFORM__
#include <osg/MatrixTransform>
#include <iris/Utils.h>
namespace iris
{
/**
\brief The %MatrixTransform class is sub-classed from the
osg::MatrixTransform class and adds methods to set and get the
position, attitude and scal... | [
"wesley.griffin@nist.gov"
] | wesley.griffin@nist.gov |
91efc932d687d326ab6fb410b2cc55966901247c | 1c8fc35033840e13c19125ea89d4677861439830 | /angsd/beagleReader.h | 036a56144b50c826d3b5da9c25b896d8b74cd96e | [] | no_license | RILAB/angsd-wrapper | 8c2a1bb66c3475a526845e1ce87fcf4325718bcb | f1a8d6baa4468a183ef79f521323ceb3e4b315fb | refs/heads/master | 2020-12-27T23:54:15.247060 | 2014-12-03T19:19:01 | 2014-12-03T19:19:01 | 27,509,866 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 400 | h |
#include <zlib.h>
#include "shared.h"
class beagle_reader{
private:
const aMap *revMap;
void getOptions(argStruct *arguments);
void printArg(FILE *fp);
int bytesPerLine;
char *buffer;
char *original;
gzFile gz;
int intName;
int nInd;
public:
beagle_reader(int bytesPerLine_a,gzFile gz_a,const aMap *... | [
"ohblahitsme@yahoo.com"
] | ohblahitsme@yahoo.com |
1b0b9b6dd9f5b66fef05e4d0457ab53872ba1294 | 3c5c1e3836edf3e9627a64600785503d1814df51 | /build/Android/Debug/app/src/main/include/Fuse.Triggers.Busy.h | 53902145b31f630702470bb0495098546458e563 | [] | no_license | fypwyt/wytcarpool | 70a0c9ca12d0f2981187f2ea21a8a02ee4cbcbd4 | 4fbdeedf261ee8ecd563260816991741ec701432 | refs/heads/master | 2021-09-08T10:32:17.612628 | 2018-03-09T05:24:54 | 2018-03-09T05:24:54 | 124,490,692 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,774 | h | // This file was generated based on C:/Users/Brian/AppData/Local/Fusetools/Packages/Fuse.Triggers/1.6.0/Busy.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Behavior.h>
#include <Fuse.Binding.h>
#include <Fuse.INotifyUnrooted.h>
#include <Fuse.IProperties.h>
#include ... | [
"s1141120@studentdmn.ouhk.edu.hk"
] | s1141120@studentdmn.ouhk.edu.hk |
447d6a30237a4d4f208e5e6cfb117620609ad6f8 | 4b3cbd9e773970d93957da1ef431b6864f5a1432 | /src/CinderBox2D/Collision/Shapes/cb2ChainShape.h | a1903d95bf82b5275289f20f4164b6d6f519348f | [] | no_license | ashmeltin/CinderBox2D | 5b932c5e999aed69d66c438e0c8784faa3460008 | 5a607621a3a1f6206405dd52bff8f87728fc9ed5 | refs/heads/master | 2021-05-27T17:58:27.402859 | 2013-12-07T02:10:27 | 2013-12-07T02:10:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,465 | h | /*
* Copyright (c) 2006-2010 Erin Catto http://www.box2d.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any purpose,
* i... | [
"mytos.mail@gmail.com"
] | mytos.mail@gmail.com |
158710994063d9c262b982b43cfeae700619400f | 477c8309420eb102b8073ce067d8df0afc5a79b1 | /Qt/Components/pqAnimatableProxyComboBox.h | c2f5b7884e3c12674d2c8715d49961339719eb0d | [
"LicenseRef-scancode-paraview-1.2"
] | permissive | aashish24/paraview-climate-3.11.1 | e0058124e9492b7adfcb70fa2a8c96419297fbe6 | c8ea429f56c10059dfa4450238b8f5bac3208d3a | refs/heads/uvcdat-master | 2021-07-03T11:16:20.129505 | 2013-05-10T13:14:30 | 2013-05-10T13:14:30 | 4,238,077 | 1 | 0 | NOASSERTION | 2020-10-12T21:28:23 | 2012-05-06T02:32:44 | C++ | UTF-8 | C++ | false | false | 2,629 | h | /*=========================================================================
Program: ParaView
Module: pqAnimatableProxyComboBox.h
Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc.
All rights reserved.
ParaView is a free software; you can redistribute it and/or modify it
under the terms of... | [
"aashish.chaudhary@kitware.com"
] | aashish.chaudhary@kitware.com |
2fb9cccd5d15487ed0bbccf6320ad95aec9e74e1 | ab01b7cc84d4bc73b176dade1e94f236d256fcb8 | /opencv-lib/imgproc/src/distransform.cpp | 71b740bdd780620b285be82222bd871996f9053b | [
"Apache-2.0"
] | permissive | h7ga40/PeachCam | 097a0cecabe100c92fb61c63d17455ce22fb397f | 1af2b041a4eb22b962183905ff81a2ee57babc3c | refs/heads/master | 2023-09-05T02:46:02.335574 | 2023-08-07T13:15:22 | 2023-08-07T13:15:22 | 177,606,980 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 26,651 | cpp | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, i... | [
"hi6aki_7ga40@hotmail.com"
] | hi6aki_7ga40@hotmail.com |
ecd021b9da98865d868c1bcf61c06112fc4ae382 | 2693b362673a46e02ae8ff92b919de5042e3e28e | /vessel build_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/mscorlib20.cpp | 12ca44edb18dbaf6579cee7f97b8352464daab19 | [] | no_license | dopaminista/vessel_creation | 4cbddf644ac56b89d8ef94f028c8aa1cdbee6883 | 23f270a3a520af6a7755cf484a799231d1807dc4 | refs/heads/master | 2023-03-29T00:43:24.348238 | 2021-04-01T01:37:21 | 2021-04-01T01:37:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,225,490 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "codegen/il2cpp-codegen.h"
#include "icalls/mscorlib/Syst... | [
"merttanyur@gmail.com"
] | merttanyur@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.