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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
00e4006dc48fa8f2c7a17f7b272a3de1104f1357 | 19fc403b2053bb0e90939db053bd05047e1a184a | /GLBIProject1_3/main.cpp | a4b5af6bd6bb73b0e287f899ff0477ad63582219 | [] | no_license | SupersLWF/GLBI_PROJECT1 | 8436feb3fcc565ac382204d4f6dbf6a195a9d931 | 8bfe3a789868138b06de1fac68b7c240bb34adcc | refs/heads/master | 2022-12-16T11:03:13.745197 | 2020-09-14T15:12:29 | 2020-09-14T15:12:29 | 294,870,164 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,739 | cpp | #include<glew.h>
#include<glfw3.h>
#include<iostream>
void framebuffer_size_callback(GLFWwindow* window, int width, int height);
void processInput(GLFWwindow* window);
int hellowindow();
GLfloat vertices[] = {
-0.5f, -0.5f, -0.0f, // 0
0.5f, -0.5f, 0.0f, // 1
0.0f, 0.5f, 0.0f, // 2
//逆时针排点
//0.5f, ... | [
"jianghuaiyue@outlook.com"
] | jianghuaiyue@outlook.com |
6f5b31ad8c6444fdeedd8f7442c507cd380a7038 | 2330b17491833771d65247a213fc9cefb41c4a6c | /matrix.h | 504dd00c9a1334844feb1989fb94dd21da048148 | [] | no_license | ValentinCollignon/FMR3D | 6655c8a5b073f298192ccf5a89a5977e1cd2d04e | 673ed4614806c10416a6ace2b177d945b0e023b5 | refs/heads/master | 2020-04-15T16:09:47.469329 | 2019-02-13T09:37:16 | 2019-02-13T09:37:16 | 164,823,002 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 547 | h | #ifndef __MATRIX_H__
#define __MATRIX_H__
#include <cmath>
#include <vector>
const int DEFAULT_ALLOC=4;
class Matrix {
std::vector<std::vector<float> > m;
int rows, cols;
public:
Matrix(int r=DEFAULT_ALLOC, int c=DEFAULT_ALLOC);
inline int nrows();
inline int ncols();
static Matrix identity(... | [
"valentin.collignon@hotmail.fr"
] | valentin.collignon@hotmail.fr |
7a61992790ea0fe796a1fe6b1aa48145119fdefc | 9c8b9d3ef1a8457a792617e808a7c3f39374eb86 | /src/common/mutex.h | 019051beb50d09af35d9032d1d8d19fe67fb0e00 | [] | no_license | ChenZewei/kunlun | 3923ebeff0f9ada4e875c4e5c7f7442d8b52c8de | 853d0d75ae6950ffe74cfad1441074742004de26 | refs/heads/master | 2020-12-25T09:00:20.099314 | 2013-08-04T07:01:53 | 2013-08-04T07:01:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 340 | h | #ifndef KL_COMMON_LOCK_H_
#define KL_COMMON_LOCK_H_
#include <pthread.h>
class CMutex
{
public:
friend class CCond;
CMutex();
virtual ~CMutex();
int lock();
int trylock();
int unlock();
private:
CMutex(const CMutex&);
CMutex& operator=(const CMutex&);
pthread_mutex_t m_mutex;
};
#endif... | [
"leslieyuchen@gmail.com"
] | leslieyuchen@gmail.com |
352007e86a16e5d787924e9034434116fc4423fd | e7cb4db8cec75d02a956325c5a56333c7012ded5 | /LABS/lab2/array_histogram.cpp | 2a20a774a6b38397f361e806ebaf8689f8504cd0 | [] | no_license | spaceface102/CS3A | de9c3a0821d6eb5561a65a874f165a8f21b4b8ce | 543ea00d494f96d0ab19fcabc8bb38e59439b1e3 | refs/heads/master | 2023-07-14T02:24:44.111161 | 2021-08-30T20:46:05 | 2021-08-30T20:46:05 | 385,648,333 | 0 | 1 | null | 2021-07-18T06:21:47 | 2021-07-13T15:17:39 | C++ | UTF-8 | C++ | false | false | 8,651 | cpp | /*****************************************************************************
* AUTHOR : Osbaldo Gonzalez Jr. && William Ho
* LAB #2 : Array Histogram
* CLASS : CS 3A
* SECTION : 71206
* DUE DATE : 6/22/2021
*****************************************************************************/
#include <iostream... | [
"osbaldogonzalezislc@gmail.com"
] | osbaldogonzalezislc@gmail.com |
3fd358db89c127a018667faf855fb5db963e3c5d | d892fb4d377911093ad1de9ece5f63739c1c578e | /.pio/libdeps/smartoled/IRremoteESP8266/src/IRutils.cpp | e9af0b28fe00f246318f46de9b90e668ca98d613 | [
"MIT",
"LGPL-2.1-only"
] | permissive | sblantipodi/smart_thermostat | fd773bab3ffe105cda0dcc80be2a4270da2abb14 | 1e78e84707fb6c7119f73f1c33a68b753e086100 | refs/heads/master | 2023-08-07T20:46:04.387884 | 2023-07-31T12:33:03 | 2023-07-31T12:33:03 | 191,033,648 | 18 | 1 | MIT | 2023-09-05T11:47:59 | 2019-06-09T17:07:51 | C++ | UTF-8 | C++ | false | false | 57,457 | cpp | // Copyright 2017-2021 David Conran
#include "IRutils.h"
#ifndef UNIT_TEST
#include <Arduino.h>
#endif
#define __STDC_LIMIT_MACROS
#include <math.h>
#include <stdint.h>
#include <string.h>
#include <algorithm>
#ifndef ARDUINO
#include <string>
#endif
#include "IRrecv.h"
#include "IRremoteESP8266.h"
#include "IRsend.h... | [
"perini.davide@dpsoftware.org"
] | perini.davide@dpsoftware.org |
603fbfb449e5b17301389076cdf5dfe110c6efa1 | fac422d0193c530d5ba0f5f163fade1809b6c4d7 | /LABS/CPE301_Lab_Fall2018/Lab 9/How_to_define_an_ISR/How_to_define_an_ISR.ino | 406741e15fda177fce1b2f46e80f52d441b8ff64 | [] | no_license | mdesroches0501/Embedded-Systems | c75c75178d47606b20eb2dd879ae0de18f530de9 | e77dfd1bdf963ddc018b27bb807c15243a23df3a | refs/heads/master | 2022-06-17T22:54:52.558742 | 2020-05-07T23:37:43 | 2020-05-07T23:37:43 | 262,180,928 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 533 | ino | /*
* How to define an ISR example
* This is an empty example demonstrating how
* an ISR is defined.
*/
void setup()
{
/*
* The TIMER 1 OVERFLOW interrupt
* must be enabled here
*/
}
void loop()
{
/*
* This is the normal loop function. This code may be
* interrupte... | [
"mdesrochesis@gmail.com"
] | mdesrochesis@gmail.com |
6a4b1dba6807089557ad4c3d79b0b5925f17038d | 72a0250f9d34cab5d011f2b842605bf9da30f599 | /RadioRouting/RadioRouting/Receptor.h | f0b0d5bbfe0af9ca13a0393652b04f90f74f13b4 | [] | no_license | javiortig/RadioRouting | 5c1e21bb84eaf1d25cdec3609916fbd4b8af0cc4 | 2c14959a6ef0db08b545b0374e20bc60945c3ab4 | refs/heads/main | 2023-04-17T11:16:48.444707 | 2021-04-27T17:29:15 | 2021-04-27T17:29:15 | 354,291,532 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,531 | h | #pragma once
#include "Radio.h"
//TODO: posibilidad de anadir un emisor al receptor automaticanente mediante el serial o que el emisor se auto anada al conectarse por un canal especial
#define RECEPTOR_BASE_TIMEOUT 30000 //30 sec
struct EmisorInfo{
int id;
int timeOutCounter; //how many times the receptor ... | [
"javiortig@localhost.localdomain"
] | javiortig@localhost.localdomain |
f01b66d36f0c187ddbe715481514594c882180ef | 82005277c968496af4a64f7f1e2315a60beb0837 | /src/unit_tests/core/ut_math_utils.cpp | c2d3e014a8ca0f2e4acd168c7cdd8aa5c4f84c85 | [
"MIT"
] | permissive | Garfield-Chen/LumixEngine | 8df1dc9ed08bd6430a18f2e6f0447aef60888f09 | fca319b5dc89478e208e06307a8083ac17bc2c1e | refs/heads/master | 2021-01-18T18:41:53.760507 | 2016-02-24T23:40:33 | 2016-02-24T23:40:33 | 52,592,574 | 1 | 0 | null | 2016-02-26T09:12:47 | 2016-02-26T09:12:46 | null | UTF-8 | C++ | false | false | 6,255 | cpp | #include "unit_tests/suite/lumix_unit_tests.h"
#include "core/math_utils.h"
void UT_math_utils_abs_signum(const char* params)
{
Lumix::DefaultAllocator allocator;
LUMIX_EXPECT(Lumix::Math::abs(-1) == 1);
LUMIX_EXPECT(Lumix::Math::abs(1) == 1);
LUMIX_EXPECT(Lumix::Math::abs(0) == 0);
LUMIX_EXPECT(Lumix::Math::ab... | [
"mikulas.florek@gamedev.sk"
] | mikulas.florek@gamedev.sk |
53fd91410805f0ab6310316c1503881c3dc70988 | 29a4c1e436bc90deaaf7711e468154597fc379b7 | /modules/models/include/nt2/toolbox/models/function/simd/sse/fma4/model_three_branches.hpp | ff0876a315d2fc0b96cfa9dba09fbd09fe0586f1 | [
"BSL-1.0"
] | permissive | brycelelbach/nt2 | 31bdde2338ebcaa24bb76f542bd0778a620f8e7c | 73d7e8dd390fa4c8d251c6451acdae65def70e0b | refs/heads/master | 2021-01-17T12:41:35.021457 | 2011-04-03T17:37:15 | 2011-04-03T17:37:15 | 1,263,345 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 758 | hpp | //////////////////////////////////////////////////////////////////////////////
/// Copyright 2003 and onward LASMEA UMR 6602 CNRS/U.B.P Clermont-Ferrand
/// Copyright 2009 and onward LRI UMR 8623 CNRS/Univ Paris Sud XI
///
/// Distributed under the Boost Software License, Version 1.0
/// ... | [
"jtlapreste@gmail.com"
] | jtlapreste@gmail.com |
649c7f2f2ab6897946200266e66bc0aecd423c52 | 988861c48250961d7e067ef0dd3c9608528e58f4 | /Oct-6-Comp-Code/src/pragma.cpp | 148d3251e2dc97d6265558e6fdb33819d3379dc0 | [] | no_license | inventorinventor351/62019S-2019_2020 | 0e20dfc18847a31557f0294f7764fa752b49e410 | 51a6b72f5fcff44a27607268ab3d2ec4f04fd135 | refs/heads/master | 2022-04-15T13:26:35.423955 | 2020-04-05T21:12:52 | 2020-04-05T21:12:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 539 | cpp | #include "main.h"
Controller master (E_CONTROLLER_MASTER);
Motor leftBase1 (4, E_MOTOR_GEARSET_18, 0, E_MOTOR_ENCODER_DEGREES);
Motor leftBase2 (5, E_MOTOR_GEARSET_18, 0, E_MOTOR_ENCODER_DEGREES);
Motor rightBase1 (6, E_MOTOR_GEARSET_18, 1, E_MOTOR_ENCODER_DEGREES);
Motor rightBase2 (7, E_MOTOR_GEARSET_18, 1, E_MOTOR... | [
"karlvelaz350@gmail.com"
] | karlvelaz350@gmail.com |
1dc1f56ac796d93b6936348f18a3419cf02f07a0 | d4d5a0bc519294e4b3f312048dd52cf9264b7e29 | /HYSBZ/3262/18289169_AC_3160ms_4420kB.cpp | 7112e751d7a34cc7806e7c06f24883035db9e04b | [] | no_license | imhdx/My-all-code-of-Vjudge-Judge | fc625f83befbaeda7a033fd271fd4f61d295e807 | b0db5247db09837be9866f39b183409f0a02c290 | refs/heads/master | 2020-04-29T08:16:24.607167 | 2019-07-24T01:17:15 | 2019-07-24T01:17:15 | 175,981,455 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,716 | cpp | #include<iostream>
#include<cstdio>
#include<cstdlib>
#include<algorithm>
#include<cstring>
using namespace std;
inline int read(){int x=0,f=1;char ch=getchar();while(ch>'9'||ch<'0'){if(ch=='-')f=-1;ch=getchar();}while(ch>='0'&&ch<='9'){x=x*10+ch-'0';ch=getchar();}return x*f;}
int t[200005],k;
inline void add(int i,int... | [
"mhdxacmer@126.com"
] | mhdxacmer@126.com |
5dbbf0629d41da890031ca359bfd363f339f74de | 8aa26f17244c05ff6f6fbcd8d55eaaad6892b691 | /execute/honeycomb_TPO_correlators.cc | a7bdbb5df8c5c7e49524291bbc4e3385484243a2 | [] | no_license | jiangshenghan/PEPS_ITENSOR | 6112b0b9cf3222fd4b27366906041b4d793af244 | fec2be0e2e3deee35464c4cee9ad3dee2669101d | refs/heads/master | 2021-01-21T04:47:27.100312 | 2016-05-23T18:07:18 | 2016-05-23T18:07:18 | 45,432,298 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,126 | cc |
#include "transfer_to_square.h"
#include "square_double_layer_peps.h"
int main()
{
//system size
int Ly=6, Lx=30*Ly;
double A1=0.9, A2=1-A1;
//Output file name for double_layer_peps
std::stringstream ss;
//file name for cylinder
ss << "/home/jiangsb/code/peps_itensor/result/featureless_h... | [
"jiangshenghan@gmail.com"
] | jiangshenghan@gmail.com |
efde9bbbfb9917c87ed6235a03ff86dbf280248c | 2cc05001a01882c4aeb4740e1762e0ead717fe2c | /Classes/ProfileViewController.h | 96167a8fc7b5e70f5c525f4b3ea942078f93a96a | [] | no_license | berserkchen/CrossShop | ba6a90608ac625eaee8713f276fd7e4ec6483a25 | 72520cd7595abd4cee686aaa9bb876120e24fbd8 | refs/heads/master | 2019-03-12T19:56:39.385189 | 2014-11-21T05:19:40 | 2014-11-21T05:19:40 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,091 | h | //****************************************
//CrossShop Demo0.01
//QQ:896793747
//****************************************
#ifndef __CrossShop__ProfileViewController__
#define __CrossShop__ProfileViewController__
#include <iostream>
#include "CrossApp.h"
#include "ShopDB.h"
#include "UI.h"
#include "MessageController.... | [
"simson@netease.com"
] | simson@netease.com |
0b8560d96c369ebdccc3c1f1f4651a5dcaedc155 | ecc0f876a50a8604a452e9041688badd6dc6cb79 | /src/qt/walletview.h | db98d8e45418830404481ba46fcd2670b2b3db0c | [
"MIT"
] | permissive | neobitcoin-official/neobitcoin | c22f5492089cdab47b6d83b2318c01a7369fc2c4 | abb759dc49b59b4b9f2d3ee7bc68f886f6058d8a | refs/heads/master | 2022-11-09T15:51:07.810121 | 2020-06-21T13:38:09 | 2020-06-21T13:38:09 | 273,848,004 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 4,750 | h | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2017-2018 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_WALLETVIEW_H
#define BITCOIN_QT_WALLETVIEW_H
#include "amount.h... | [
"jagotrading@hotmail.com"
] | jagotrading@hotmail.com |
2d855889f3363ea58048d56367d1629f740b18e4 | ef0c039e27f173a3aa4e82ab4e26edc93f9e28e0 | /profiler/native/perfd/termination_service.cc | cbcb7d500e2574a8af3b613a46dfc7bc02f4d53a | [] | no_license | ggaier/android_platform_tools_base | 1091a25aa220665d7eb02481426f4941d0fedd18 | 85c6b73c22cd23c069d94eb19c824d4fb74a5ec9 | refs/heads/master | 2020-09-17T11:33:48.674204 | 2019-11-26T02:43:12 | 2019-11-26T02:43:12 | 224,085,780 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,357 | cc | /*
* Copyright (C) 2018 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... | [
"jwenbo52@gmail.com"
] | jwenbo52@gmail.com |
885959269c39bef0bc78538b8ec0d3627970d7c4 | f5d58b77743a85938f566647a80a8568950b6644 | /additional 3/4/4.10.cpp | 24c0d7b8306815554715c35a7b064ae367824d63 | [] | no_license | Limineses/JS | 4308bb086a500263facee7a3c8bee71174c01c04 | d0711eab6853faf087be543be8b60b172edd1c89 | refs/heads/master | 2020-06-16T15:47:26.210627 | 2019-11-03T13:32:06 | 2019-11-03T13:32:06 | 195,625,653 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,222 | cpp | #include <iostream>
#include <cstdlib>
#include <cmath>
using namespace std;
int main()
{
setlocale(LC_ALL, "");
double a, b;
int c, j;
cout << "Введите первое число: "; cin >> a;
cout << "Введите второе число: "; cin >> b;
cout << endl;
cout << "1.Сложение"<< endl;
cout << "2.Вычитание"<< endl;
cout << "3.Ум... | [
"andreihodunov3@tut.by"
] | andreihodunov3@tut.by |
fad73cb00b5a1a597324c9e85f9ea8a2b4cdf10e | edfdb97e31c75b7a21704db998023b3d7583f4fb | /iOS/Classes/Native/AssemblyU2DCSharp_SentenceSelector_FAQSerializer3791964634.h | d241184b1e1122f3f3e6d3f6e03cfca1075e0c7f | [] | no_license | OmnificenceTeam/ICA_Iron_App | b643ab80393e17079031d64fec6fa95de0de0d81 | 7e4c8616ec2e2b358d68d446d4b40d732c085ca9 | refs/heads/master | 2021-07-16T06:53:58.273883 | 2017-10-23T10:52:21 | 2017-10-23T10:52:21 | 107,165,753 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,136 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Object2689449295.h"
// System.Collections.Generic.List`1<SentenceSelector.FAQ>
struct List_1_t1940922818;
#ifdef __clang__
#pragma clang diagnostic push... | [
"admin@medtrixhealthcare.com"
] | admin@medtrixhealthcare.com |
3c699b608c557b2eefa33a08ec676a7c1e856034 | 58ea37870174489b85775334cf4e079275d68d11 | /arch/src/x86/vmx/environment.cpp | ff1dd1638f3c25c209a483789007cb4ed898e485 | [] | no_license | qazxsw1597532018/hype | 93e75e86ed6e6b8fdd365cba417dcdadadb0136e | 40a9b99cb7879e80a68c07827d8e74953b3ede14 | refs/heads/master | 2023-02-23T22:47:15.311588 | 2021-01-30T17:03:11 | 2021-01-30T17:03:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,968 | cpp |
#include "x86/cpuid.h"
#include "x86/vmx/msr.h"
#include "x86/vmx/environment.h"
bool x86::vmx::is_supported() noexcept {
// CPUID.1:ECX.VMX[bit 5] = 1 [SDM 3 23.6 P1050]
x86::cpuid_eax01_t cpu_features{};
x86::cpu_id(1, cpu_features);
if(!cpu_features.ecx.bits.vmx) {
return false;
}
... | [
"tomtzook@gmail.com"
] | tomtzook@gmail.com |
9d8534ed1192d161b6a71634e3151d30f36e40b4 | 40e7495264379f2582587e8d81c65d0d7cd03a0d | /system/qmsysteminformation.h | ca1a633ad1edbf96c265f72b3aee8d472bcc9882 | [] | no_license | dudochkin-victor/qmsystem | c6c3fbd3fd70e5f7a01dcc9b2ccd4c8cb4025173 | e2926190a498810a0e689d072daf550e85a119fb | refs/heads/master | 2021-01-11T11:16:15.746066 | 2013-05-15T06:49:54 | 2013-05-15T06:49:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,887 | h | /*!
* @file qmsysteminformation.h
* @brief Contains QmSystemInformation.
<p>
@copyright (C) 2009-2011 Nokia Corporation
@license LGPL Lesser General Public License
@author Matias Muhonen <ext-matias.muhonen@nokia.com>
@scope Private
This file is part of SystemSW QtAPI.
SystemSW QtAPI is free... | [
"dudochkin.victor@gmail.com"
] | dudochkin.victor@gmail.com |
aab4734d8848150219267156269670d31a541bf9 | 514996e39fe2129abe231503ce7f5f9688c837f7 | /src/common/ui_basecontrol.cpp | 5c8789bf84c4b3dd825928755f772f79689f5606 | [] | no_license | Necrys/Fury | d39182c1e7f9bde799b0d8baec5bc8cb4f62d6c0 | 84b20613299418efb672b6ec37e41ea69aaf72b5 | refs/heads/master | 2023-04-01T18:01:13.696634 | 2021-04-07T14:25:04 | 2021-04-07T14:25:04 | 354,311,932 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,570 | cpp | #include "ui_main.h"
#include "ui_basecontrol.h"
//-----------------------------------------------------------------------------
using namespace std;
//-----------------------------------------------------------------------------
namespace gui
{
//----------------------------------------------------------------------... | [
"necrysgd@gmail.com"
] | necrysgd@gmail.com |
8a53a0b396fe2122ba2e044152e952e8446af9b8 | 1ae9382e644f1f6d93cce143b85ac8bea670933c | /src/Simd/SimdNeonGemm32f.cpp | b1a8c05d673ede436510ea1e99fd2cbe27a3f66e | [
"LicenseRef-scancode-free-unknown",
"MIT"
] | permissive | YeetMasterYeet/Simd | b8e5d7ffc4ce2d9f21b68377c81e086412ea565d | f344e557f97283bafb816bd82cd2bc876bf60b27 | refs/heads/master | 2022-03-15T20:15:46.518682 | 2022-03-10T17:29:05 | 2022-03-10T17:29:05 | 171,924,209 | 0 | 1 | MIT | 2022-03-10T17:29:06 | 2019-02-21T18:34:48 | C++ | UTF-8 | C++ | false | false | 39,286 | cpp | /*
* Simd Library (http://ermig1979.github.io/Simd).
*
* Copyright (c) 2011-2019 Yermalayeu Ihar.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limi... | [
"ermig@tut.by"
] | ermig@tut.by |
43f9da30c52f53c872955af28ec2b4201106fbd4 | 9dade9c5e31b4370445746446f4cdde14e47b2e4 | /d_01/ex05/Human.hpp | 32924835303266747ce737f90d7d6282f54e44df | [] | no_license | mhwangbo/CPP_Piscine | a162e47792e1dcea830be6e0b433897c8a68d103 | 714af1b73aef7b332f6ab1c8f8c8a96d197efaac | refs/heads/master | 2020-03-30T10:31:53.076842 | 2018-10-29T21:23:05 | 2018-10-29T21:23:05 | 151,123,954 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,108 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Human.hpp :+: :+: :+: ... | [
"mhwangbo@Mis-Mac.local"
] | mhwangbo@Mis-Mac.local |
61d5bfc5d81a162ef7dce9a028b5a67791124064 | d0800ab1596fa6ca030ca013f8899d9247059a47 | /random/complex.cpp | 7e75257375b67a4c2592f6dbfd67acb7b84f83cd | [] | no_license | bcathings/cpp | 1b4de0c1070b7f894c6e59d608f517821c8788fc | c0847168a3e69e7d4633e9e46a0dda102771329f | refs/heads/master | 2023-05-29T21:10:36.310553 | 2021-06-18T16:21:42 | 2021-06-18T16:21:42 | 374,089,092 | 0 | 2 | null | 2021-06-13T08:36:43 | 2021-06-05T10:50:10 | C++ | UTF-8 | C++ | false | false | 620 | cpp | #include <iostream>
using namespace std;
class complex{
public:
int real, img;
void get(){
cout<<"Enter real part:";
cin>>real;
cout<<"Enter img part:";
cin>>img;
}
void put(){
cout<<real<<"+"<<img<<"i"<<endl;
}
... | [
"bcathings@gmail.com"
] | bcathings@gmail.com |
2bffcdc65732a699d158f81933fae935184918bd | 21260b40e8d4924ae7a8ce477e4c7c741452b713 | /Examples/TestSegmentation3D/Segmentation3DNet.h | 3eb1c5ee02bade33efad866144a90f2af92c6f25 | [] | no_license | Hui-Xie/CDLF | 84fc520929ff2f30aa1c0e2af8cd4e34a58465e8 | 5b1b54a6c1d5f94cf49dff9d025fa831cab9eb8e | refs/heads/master | 2020-03-19T08:57:52.404006 | 2019-06-25T21:53:16 | 2019-06-25T21:53:16 | 136,248,759 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 910 | h | //
// Created by Hui Xie on 9/14/18.
// Copyright (c) 2019 Hui Xie. All rights reserved.
#ifndef CDLF_FRAMEWORK_3DSEGMENTATIONNET_H
#define CDLF_FRAMEWORK_3DSEGMENTATIONNET_H
#include "CDLF.h"
#include "Seg3DDataManager.h"
#include "StubNetForD.h"
class Segmentation3DNet: public GAN{
public:
Segmentation3DNet(c... | [
"sheenxh@gmail.com"
] | sheenxh@gmail.com |
7afc04c50af3e06e5857d9cab73a2df56abc0db0 | 81b2d6c0ee6206b4366bf41de4afac61d5505f1c | /CvGameCoreDLL_Expansion2/CvMap.h | dfe99b1405d66972a6d4e3eda073df8d62610a69 | [] | no_license | GrantSP/Community-Patch-DLL | 7b929faa80248b9d62afa218ff571cfd2e0aa287 | 103ae30bccf9d94a9fe2c316a23cb8265bb7b6b0 | refs/heads/master | 2021-01-18T12:12:18.790311 | 2016-01-06T09:07:06 | 2016-01-06T09:07:06 | 49,046,842 | 0 | 0 | null | 2016-01-05T06:28:54 | 2016-01-05T06:28:54 | null | WINDOWS-1252 | C++ | false | false | 9,728 | h | /* -------------------------------------------------------------------------------------------------------
© 1991-2012 Take-Two Interactive Software and its subsidiaries. Developed by Firaxis Games.
Sid Meier's Civilization V, Civ, Civilization, 2K Games, Firaxis Games, Take-Two Interactive Software
and their re... | [
"thewizardofwas@gmail.com"
] | thewizardofwas@gmail.com |
f5a37797c91ed6f6287aab7ddfc92a133afeee6d | a0442fcd9edc8b6d0975ce8799ea5a67e808c568 | /casa6/casa5/code/msvis/MSVis/VisBufferAsyncWrapper2.h | 97c20ba4df9c6ca9d18ded46e097d82f3ab17184 | [] | no_license | kernsuite-debian/carta-casacore | f0046b996e2d0e59bfbf3dbc6b5d7eeaf97813f7 | a88f662d4f6d7ba015dcaf13301d57117a2f3a17 | refs/heads/master | 2022-07-30T04:44:30.215120 | 2021-06-30T10:49:40 | 2021-06-30T10:49:40 | 381,669,021 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,428 | h | //# VisBuffer.h: buffer for iterating through casacore::MS in large blocks
//# Copyright (C) 1996,1997,1998,1999,2000,2002,2003
//# Associated Universities, Inc. Washington DC, USA.
//#
//# This library is free software; you can redistribute it and/or modify it
//# under the terms of the GNU Library General Public Lice... | [
"aramaila@ska.ac.za"
] | aramaila@ska.ac.za |
f9e1d7111a9c647b9c91b767434cc98d457a566f | 4589c8059edf7ecd31f0aeed7c23abc33a0f86dd | /Arduino knjižnica/libraries/Robot/MPU9250.cpp | 9c75361f5e8e12375c6e177e69339724f8ac4f19 | [
"MIT"
] | permissive | nihce/robou3p.github.io | b9a925a6f37581ee00547df8d0a1f16ec5259ede | 4ca992c60c2495acb90f3e4ae8c949a22b554e31 | refs/heads/master | 2020-09-21T00:01:41.213997 | 2018-05-29T22:06:19 | 2018-05-29T22:06:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,503 | cpp | /*
MPU9250.cpp
Brian R Taylor
brian.taylor@bolderflight.com
Copyright (c) 2017 Bolder Flight Systems
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitat... | [
"rok.vrabic@gmail.com"
] | rok.vrabic@gmail.com |
6aeb2913d33205128357989b0ab2e8cd3663af23 | 2ed39ca8368cabeaee3c5bae5b3e211c06e359ad | /acm.timus.ru/1680/a.cpp | 3710b24faccd0a915264a396822f7a3b29b7557b | [] | no_license | herokiller/online-judges | 88f630d4d06aac5d71816f9236d0796b91c66690 | 653d76b677efa200b9488c23aabbede5afd24c92 | refs/heads/master | 2020-12-25T17:35:53.360111 | 2018-12-18T02:52:15 | 2018-12-18T02:52:15 | 39,811,568 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 652 | cpp | #include <iostream>
#include <string>
using namespace std;
string b[500],s,s1;
bool ok;
int x,k,n,q,i,j;
int main() {
cin >> x >> n >> q; getline(cin,s);
k = 0;
for ( i = 1; i <= n; i++ ) {
getline(cin,s); s1 = "";
for ( j = 0; j < s.length(); j++ )
if ( s[j] == '#' ) break; else... | [
"vladimir.kbtu@gmail.com"
] | vladimir.kbtu@gmail.com |
a0fc69d81084e427b0c715acdfad8bc8c4c2eb35 | ac48dc874f5550d03648c28b1eda5720202eb55c | /android-perf/mp-ctl/mp-ctl.cpp | 9f73911275051641e92ddda2a15def1e958d5f4c | [] | no_license | difr/msm8937-8953_qcom_vendor | 464e478cae4a89de34ac79f4d615e5141c40cbcb | 6cafff53eca7f0c28fa9c470b5211423cf47fd40 | refs/heads/master | 2020-03-20T09:58:48.935110 | 2018-05-27T04:13:22 | 2018-05-27T04:13:22 | 137,355,108 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 66,675 | cpp | /******************************************************************************
@file mp-ctl.cpp
@brief Implementation of performance server module
DESCRIPTION
---------------------------------------------------------------------------
Copyright (c) 2011-2015 Qualcomm Technologies, Inc.
All Rights Re... | [
"adithya.r02@outlook.com"
] | adithya.r02@outlook.com |
f21acc0bf41d3fca2c23c02db7efe02c861588f6 | daad1f17d59011d80f9acb3cab91797a545173fd | /LeetCode/ZigZagConversion.cpp | f9a5a96e1567c61febbe84417068352d97505dae | [
"MIT"
] | permissive | Michael-Ma/Coding-Practice | dcad101b1205d1dcb3f5e47b6c6aadcbab8ef9ad | 6ab3d76ae1cd3a97046b399c59d6bf2b135d7b5f | refs/heads/master | 2021-01-19T17:44:31.968931 | 2015-06-05T14:42:49 | 2015-06-05T14:42:49 | 23,610,868 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,310 | cpp | #include <sstream>
#include <stdio.h>
#include <string>
#include <cstring>
#include <iostream>
#include <vector>
#include <map>
#include <stack>
#include <queue>
#include <set>
#include <cmath>
#include <algorithm>
#include <cfloat>
#include <climits>
//#include <unordered_set>
//#include <unordered_map>
using names... | [
"maxincheng@gmail.com"
] | maxincheng@gmail.com |
2a5f3ff29d17606efb76345d69b4f629e6a31abd | 335206ae075dcc16bd187c21f183412637b4b4b6 | /include/quadrable/proof.h | f4e4b7cc815a1c3c9df8127509bd979069bb49e9 | [
"BSD-2-Clause"
] | permissive | BNationsDEV/quadrable | 6647c56a961218fc702f53ccdecf66176c796008 | d7bc89ac916f69a40a4636610bf8e54e4de3dbbd | refs/heads/master | 2023-06-10T12:30:59.411820 | 2021-07-01T17:16:36 | 2021-07-01T17:16:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,069 | h | #pragma once
#include "quadrable.h"
namespace quadrable { namespace proofTransport {
enum class EncodingType {
HashedKeys = 0,
FullKeys = 1,
};
static inline std::string encodeProof(const Proof &p, EncodingType encodingType = EncodingType::HashedKeys) {
std::string o;
// Encoding type
o +... | [
"doug@hcsw.org"
] | doug@hcsw.org |
6a1b2d13934838062d691df0b9c4f4eb3ef1a372 | 66d7504eb7c28b31ac2ed412f1722f6893e19663 | /huffmanTree.h | 8b7a5e57e92430f8df30735ff51213d01cf9067c | [] | no_license | mukehuakai/HuffmanTreeCompressFile | c50e6e899f0982f2e674678153e9122d2c33318e | 78b5289917ee0e124b2b753f6e44f0731610267e | refs/heads/master | 2020-12-25T03:50:36.877156 | 2016-07-14T15:05:09 | 2016-07-14T15:05:09 | 63,112,761 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,008 | h | #pragma once
#include"Heap.h"
//#include<iostream>
//#include<cassert>
//using namespace std;
template<class T>
struct HuffmanNode
{
T _weight;
HuffmanNode<T>* _parent;
HuffmanNode<T>* _left;
HuffmanNode<T>* _right;
HuffmanNode(const T& weight)
:_weight(weight)
, _parent(NULL)
, _left(NULL)
, _right(NULL)
... | [
"zhengfeng_sole@163.com"
] | zhengfeng_sole@163.com |
ec428678ae0e16e5bda64f8caadc599acb61f962 | 7434253608fb27a5840efc74306264e7081dc4bc | /TD3/Exercices/Exercice8/Exercice8/Exercice8.cpp | 7eab7acd3e7774c28b17ff4f4274453622bc8147 | [] | no_license | seb9465/inf1005C | ed29f13d8889cdd7b8f41e507ba28a6642301f59 | 7bf8bfb735b61fb44cbdb2240f903fefe86be96d | refs/heads/master | 2021-01-20T14:53:35.371752 | 2017-11-08T16:48:53 | 2017-11-08T16:48:53 | 90,684,823 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 649 | cpp | /**
* Catégorisation d'une population.
* \fichier Exercice8.cpp
* \auteur Sebastien Cadorette & Yanis Bouhraoua
* \date 11 octobre 2014
* Créé le 9 octobre 2014
*/
#include <iostream>
#include <ctime>
#include <cstdlib>
using namespace std;
int main()
{
enum population { ETUDIANT, TRAVAILLEUR, CHOMEUR, RETRAITE... | [
"Sébastien Cadorette"
] | Sébastien Cadorette |
be5f32ac79ab75356be44f2f8b712a5ae35727f2 | 549f6031b335cb387ffce493adcce31967be6759 | /doc-src/samples/file_fix.cpp | f6a9597357fa55635a87cbff61f92f949094e922 | [
"BSD-2-Clause"
] | permissive | rollbear/crpcut | d4152dcdd80640118c473f9952a3eb18a0ea1419 | e9d694fb04599b72ebdcf6fea7d6ad598807ff41 | refs/heads/master | 2020-05-07T06:00:06.781863 | 2019-04-09T05:53:00 | 2019-04-09T05:53:00 | 180,293,662 | 1 | 1 | BSD-2-Clause | 2020-05-07T03:55:15 | 2019-04-09T05:46:17 | C++ | UTF-8 | C++ | false | false | 2,066 | cpp | /*
* Copyright 2009 Bjorn Fahller <bjorn@fahller.se>
* 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 the above copyright
* notice, this ... | [
"bjorn@fahller.se"
] | bjorn@fahller.se |
ca0d3cbea9b1daedee637e75508321ae54877e84 | 24f26275ffcd9324998d7570ea9fda82578eeb9e | /tools/v8_context_snapshot/v8_context_snapshot_generator.cc | 6960b2720c32ed95c59cf626aca6b7b045a6a02b | [
"BSD-3-Clause",
"Zlib",
"LGPL-2.0-or-later",
"MIT",
"LGPL-2.1-only",
"APSL-2.0",
"Apache-2.0",
"LGPL-2.0-only",
"LicenseRef-scancode-unknown",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Vizionnation/chromenohistory | 70a51193c8538d7b995000a1b2a654e70603040f | 146feeb85985a6835f4b8826ad67be9195455402 | refs/heads/master | 2022-12-15T07:02:54.461083 | 2019-10-25T15:07:06 | 2019-10-25T15:07:06 | 217,557,501 | 2 | 1 | BSD-3-Clause | 2022-11-19T06:53:07 | 2019-10-25T14:58:54 | null | UTF-8 | C++ | false | false | 2,744 | cc | // Copyright 2017 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/at_exit.h"
#include "base/command_line.h"
#include "base/files/file_util.h"
#include "base/single_thread_task_runner.h"
#include "base/task... | [
"rjkroege@chromium.org"
] | rjkroege@chromium.org |
b569aa410ceb1b5338b09e2f6b989a8533c0a71c | d7bc885af538da6fb77d23d892d8a2d1e50ab6bc | /Source/SomTemplate_VR/SomTemplate_VR.cpp | d8aec7ea9a813ac6e01e938d19ce4eaf8b0db596 | [
"MIT"
] | permissive | hyoungjong1856/VRDanmakuSTG | 7cbb14a07eb59bfe25b553e85c3e3cc493d141cf | 8af8228aee95ed380aecfdac4728c9e0eb726902 | refs/heads/master | 2021-03-01T08:50:06.908672 | 2020-09-19T10:16:11 | 2020-09-19T10:16:11 | 245,770,573 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 297 | cpp | // Copyright (c) 2014-2019 Sombusta, All Rights Reserved.
// SomWorks :D // MIT LICENSE // Epic VR Template Convert C++ Open Source Project.
#include "SomTemplate_VR.h"
#include "Modules/ModuleManager.h"
IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, SomTemplate_VR, "SomTemplate_VR" );
| [
"42140197+HeangJa@users.noreply.github.com"
] | 42140197+HeangJa@users.noreply.github.com |
9036f2ecb359645793e619192403637eb63013f5 | 553a4a76fb3df83448e920ceb757c748cd1bfc62 | /TextureHolder.cpp | e821a7d0ddeefed585b0e3679266fb3bb027d259 | [
"CC0-1.0"
] | permissive | AnastasiiaEgorova/Bluff | 41e1397b25d164c497bb614f61fb3cfa6773fa9e | 7eaef755c7d352bf629d68717198c84ec85837de | refs/heads/main | 2023-04-04T03:50:35.867792 | 2021-04-16T01:34:53 | 2021-04-16T01:34:53 | 333,251,135 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 530 | cpp | #include "TextureHolder.h"
void TextureHolder::load(TextureID id, const std::string& filename) {
std::unique_ptr<sf::Texture> texture(new sf::Texture());
if (!texture->loadFromFile(filename)) {
throw std::runtime_error("TextureHolder::Load - fail to load " + filename);
}
auto rc = textureMap.insert(std::make_p... | [
"egorova.an94@gmail.com"
] | egorova.an94@gmail.com |
f736599e760172999f4603061d75bf88a98a8cda | c02469963f0dff05fdeb1abf04df8a09ebd2e93d | /src/node_fuse.cc | 19477ba1447dd0549e60387ad941a808e91e08dc | [
"MIT"
] | permissive | jhunken/fusejs | 2c7cf8d674ca565f46d44e4006f1740a792afa32 | 2297ee2ad6371b9a675750f4f60d84b693c6d389 | refs/heads/master | 2021-01-16T20:40:32.661444 | 2014-11-09T03:27:15 | 2014-11-09T03:27:15 | 30,131,639 | 0 | 0 | null | 2015-02-01T00:38:20 | 2015-02-01T00:38:19 | null | UTF-8 | C++ | false | false | 8,229 | cc | // Copyright 2012, Camilo Aguilar. Cloudescape, LLC.
#include "bindings.h"
#include "reply.h"
#include "file_info.h"
namespace NodeFuse {
//stat struct symbols
static Persistent<String> uid_sym = NODE_PSYMBOL("uid");
static Persistent<String> gid_sym = NODE_PSYMBOL("gid");
static Persistent... | [
"camilo.aguilar@gmail.com"
] | camilo.aguilar@gmail.com |
f1ce25fd24ad6f7b14b404b8d0dec2b0ee279669 | b53795b88ab0201e48c5dc5737e97dfd27e07b22 | /source/client/source/EffectLib/EffectManager.cpp | 2c121c6904ad60f71f1c00ea453dc43c204d2bc2 | [] | no_license | davidkm2/globalmetin | 9cc63395974eb74b5784a1bf5e733622c7303aa4 | d1a21b549c68e311416544e03ca6218351e12d2f | refs/heads/main | 2023-05-27T08:10:08.506239 | 2021-05-24T01:57:37 | 2021-05-24T01:57:37 | 370,181,109 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,866 | cpp | #include "StdAfx.h"
#include "../EterBase/Random.h"
#include "../EterLib/StateManager.h"
#include "EffectManager.h"
void CEffectManager::GetInfo(std::string* pstInfo)
{
char szInfo[256];
sprintf(szInfo, "Effect: Inst - ED %d, EI %d Pool - PSI %d, MI %d, LI %d, PI %d, EI %d, ED %d, PSD %d, EM %d, LD %d",
m... | [
"davidkm2012@gmail.com"
] | davidkm2012@gmail.com |
62d4951832c3a87082f0a13b5e0cec04af592a0d | 1d3d763de4e0eafb0e2e8ed834e1e6a443cd7eb7 | /VulkanRenderer/GameEngine.cpp | de92c9e3ef1e950e4776ddb9fbfd569372355c8e | [
"MIT"
] | permissive | Mike430/VulkanRenderer | f7f1aa43b09649e4543dbfb802a3c1c0259db6dd | 9ea5687f49daa0fb750ed3c53322f609a4c8c653 | refs/heads/master | 2021-03-19T13:27:00.254669 | 2017-09-02T15:58:24 | 2017-09-02T15:58:24 | 82,730,489 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,345 | cpp | #include "GameEngine.h"
GameEngine::GameEngine()
{
LogInfoIfDebug( "ENGINE CORE CONSTRUCTOR CALLED" );
vector<Vertex> verts =
{
{ { 0.0f, -0.5f, 0.0f },{ 1.0f, 0.0f, 0.0f } },
{ { 0.5f, 0.5f, 0.0f },{ 0.0f, 1.0f, 0.0f } },
{ { -0.5f, 0.5f, 0.0f },{ 0.0f, 0.0f, 1.0f } }
};
vector<uint32_t>... | [
"ymike2045@gmail.com"
] | ymike2045@gmail.com |
11057385aa50c5943632a82d3b938f7b549fef8c | 6d29e3664224e3e4c1cac8df67e007d8f6150827 | /go/tpoststorageservice/thrift/gen-cpp/TDataService.cpp | 5b0affa0354298405720bdcd4b44ed941a7d5027 | [
"Apache-2.0"
] | permissive | OpenStars/backendclients | 2f61618dc24f9c04abbd4d84458a225c6b7c851e | c5b983b6d87317f91d669d3d1b34d640831ae876 | refs/heads/master | 2020-03-10T10:36:17.928895 | 2020-01-16T05:01:00 | 2020-01-16T05:01:00 | 129,336,681 | 1 | 2 | Apache-2.0 | 2019-12-16T12:46:20 | 2018-04-13T02:28:46 | Go | UTF-8 | C++ | false | true | 47,189 | cpp | /**
* Autogenerated by Thrift Compiler (0.11.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#include "TDataService.h"
namespace OpenStars { namespace Common { namespace TPostStorageService {
TDataService_getData_args::~TDataService_getData_args() throw() {
}
uint32_t ... | [
"lehaisonmath6@gmail.com"
] | lehaisonmath6@gmail.com |
2f1e3cc6884714f0975d28d7e3c99dd8091929cf | 308c249a4fd0f452c7dc76337cffb8a03153b43e | /Time.cpp | 80cd0781130e80357c30164caa2aee50f5b90afb | [] | no_license | LeeSamuel14/VietnameseRunner | 407b69cd01d98e89ed2b8a4b3ba250d254218bb9 | 7d02dd1c45cc42dc79c30383295165208e29d407 | refs/heads/master | 2023-08-17T10:05:01.716435 | 2021-10-12T06:01:11 | 2021-10-12T06:01:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 123 | cpp | #include "Time.h"
Time::Time()
{
start_time = 0;
}
int Time::get_time_text()
{
return (SDL_GetTicks() - start_time);
}
| [
"lee140794@gmail.com"
] | lee140794@gmail.com |
6f83f6bf5272b188bc93bfb664e33b6f5baa43ff | 1ce91da7b3f1c9274161020d3d59b284e378e8ab | /include/fsm/SCFsmMachine.h | 661acf09300f3072f42b3c15f61590979e2364d5 | [] | no_license | moky/SnowCat | b4bc34c645398e3ef2cb73ca6317ab9011b56379 | dbe1bda473684846878757d73defcdf43c9d2ddc | refs/heads/master | 2020-06-26T21:15:04.671019 | 2015-02-26T11:38:53 | 2015-02-26T11:38:53 | 12,584,795 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,596 | h | //
// SCFsmMachine.h
// SnowCat
//
// Created by Moky on 13-8-27.
// Copyright (c) 2013 Slanissue Inc. All rights reserved.
//
#ifndef SnowCat_SCFsmMachine_h
#define SnowCat_SCFsmMachine_h
#include <string>
#include "SCFsmProtocol.h"
NAMESPACE_BEGIN(SC_NAMESPACE)
NAMESPACE_BEGIN(FSM_NAMESPACE)
class Machine : ... | [
"albert.moky@gmail.com"
] | albert.moky@gmail.com |
0cb7dc277c7b0d056acaaca080afd8c9959225d7 | da91d04801272341babe95b46569b6b46f36246f | /tests/main.cc | 59845607284798f6da8acc2f8ad5b8aa8e383138 | [] | no_license | avlo2000/robot_map_editor | 39c53c7bd239625399ea9a60a9f7efc15c42002f | 9da7ad4457febd6b67514f5d8da013e326a72e85 | refs/heads/master | 2021-02-10T13:37:08.080567 | 2020-03-03T15:50:44 | 2020-03-03T15:50:44 | 244,386,671 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 318 | cc | //
// Created by Alex on 10/02/20.
//
#include <gtest/gtest.h>
#include <ros/ros.h>
int main(int argc, char **argv) {
::testing::InitGoogleTest(&argc, argv);
ros::init(argc, argv, "testing_node");
ros::NodeHandle nh;
ROS_ERROR("Waiting for attach!");
std::cin.get();
return RUN_ALL_TESTS();
} | [
"pavlo@getsomatic.com"
] | pavlo@getsomatic.com |
14b6fa9c9d1cb43e82ff8ca91bd9d6d5d9051693 | 6a329a77b4279aacbb35cf28841ed2004ca331f3 | /cpp_redis/sources/core/subscriber.cpp | 50c9ac357bef0f918f8d82df53982fb80c9fb3a6 | [
"MIT"
] | permissive | Freelancerhu/distributed_lock_manager | 99e261d2b586f2c418598e553341c50498c480bd | be2ef0c79651fe1a1ea9967ec055c9c150005725 | refs/heads/master | 2021-05-06T02:00:28.549652 | 2018-02-26T03:15:14 | 2018-02-26T03:15:14 | 114,492,944 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,064 | cpp | // The MIT License (MIT)
//
// Copyright (c) 2015-2017 Simon Ninon <simon.ninon@gmail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitat... | [
"freelancerhu01@gmail.com"
] | freelancerhu01@gmail.com |
41a0e0037b6b59fb56984d2ef74507216e23fc6d | 0878e1ac47f78753d8696bcb7c39006955e9a960 | /ACR122U NFC Reader SDK/Sample Codes/MS Visual C++ 2005 (x64)/Contactless Cards/Other PICC Cards/Other PICC Cards.cpp | 78c77742db2ff498de96225979c1b6438cdaa259 | [] | no_license | extragornax/ACR122U-files | 33915fdc1ada1150ca8136946d08f893b49bde0a | 33df6420d73c9368255b5d046450431bbb610672 | refs/heads/master | 2020-04-14T18:40:38.291649 | 2019-01-03T22:24:49 | 2019-01-03T22:24:49 | 164,028,873 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,127 | cpp | // Other PICC Cards.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "Other PICC Cards.h"
#include "Other PICC CardsDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
////////////////////////////////////////////////////////////... | [
"gaspardwi@yahoo.fr"
] | gaspardwi@yahoo.fr |
d2e65c09c81101c7b4673e37f9dc5f08de2e274b | dd3f0f1335a71d881a66b2b80d2f85af3dcb042e | /src/vector3.cpp | 91baf83b04ac26da53251a2d9e00d21a62553acc | [] | no_license | KofClubs/FSW-Temperature-Field-Compressor | 78fdf024e34add399f1653fd9adff2e736473e8d | 097abb877381150bfe332f1a9878c5cec2656a06 | refs/heads/master | 2021-04-22T20:05:33.942965 | 2021-01-13T01:26:00 | 2021-01-13T01:26:00 | 249,872,027 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 832 | cpp | #include "vector3.h"
#include <cmath>
#include <cstdlib>
// 建议比体元坐标精度高至少1个数量级
#define EPSILON 1.0e-7
Vector3::Vector3(double a = 0.0, double b = 0.0, double c = 0.0)
: x(a), y(b), z(c), epsilon(EPSILON) {}
bool Vector3::operator==(const Vector3 &v) const {
return std::abs(x - v.x) < epsilon && std::abs(y - v.... | [
"zhangregister@outlook.com"
] | zhangregister@outlook.com |
0fe5bae46017836b2e7c2fefe508192d21eb5ddf | 37eff79ddbabc65ecffd5615a63dd2a7eb2020c3 | /Server Specific Files/Server 3/DayZ_Epoch_11.Chernarus/custom/traders/Category/NeutralSniperRifle.hpp | 419045300d52c30332006ed36de4f0977b1b02bf | [] | no_license | quitanddead/Rehab | a16df867b8f57339f6c021ab5ee39024b794ba40 | 77cfbad254672b2bed86c12d615ffaf83839b2e4 | refs/heads/master | 2021-01-17T06:02:57.397308 | 2015-05-11T14:46:47 | 2015-05-11T14:46:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,040 | hpp | class Category_605 {
class SVD_CAMO {
type = "trade_weapons";
buy[] = {4,"ItemGoldBar10oz"};
sell[] = {2,"ItemGoldBar10oz"};
};
class M40A3 {
type = "trade_weapons";
buy[] = {2,"ItemGoldBar10oz"};
sell[] = {1,"ItemGoldBar10oz"};
};
class M14_EP1 {
type = "trade_weapons";
buy[] = {6,"ItemGoldBar10oz... | [
"Jancxs@gmail.com"
] | Jancxs@gmail.com |
462d45e22a5f062dc1723f862bae669d1db7582c | c2c9e9bd2644d89e573e50e00993a2c07076d2e2 | /Examples/CXX/Common/first_step/main.cpp | b69432a9bd73642806ffdee83dd5c6e710cc60b8 | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"BSL-1.0",
"LicenseRef-scancode-public-domain"
] | permissive | TotteKarlsson/dsl | eeab84f4b6d0c951d73ff275b734b503ddb081c0 | 3807cbe5f90a3cd495979eafa8cf5485367b634c | refs/heads/master | 2021-06-17T11:38:02.395605 | 2019-12-11T17:51:41 | 2019-12-11T17:51:41 | 166,859,372 | 0 | 0 | NOASSERTION | 2019-06-11T18:45:24 | 2019-01-21T18:17:04 | Pascal | UTF-8 | C++ | false | false | 432 | cpp | #pragma hdrstop
#include "dslLogger.h"
#include "dslCommon.h"
#include "dslUtils.h"
#include <iostream>
using namespace dsl;
using namespace std;
int main()
{
LogOutput::mLogToConsole = true;
Log(lInfo) << "Hello";
cout<<"API Version: " << getVersion() <<endl;
cout<<"Copyright: " << getCopyright() ... | [
"tottek@gmail.com"
] | tottek@gmail.com |
de0eb7ace4f5a8225b0da92b05a924fc5899b2f4 | 405b43238fa44bd2766b2b16bd62b5e585ebfdf7 | /file_writer.h | a79d9f709cca28bf575d6128384e0af15f0c973a | [] | no_license | dzats/mcp | 9fb937ecc0cb3a583210dd3181424f751b3ada87 | 88a5c6c95cebcf4b683d7ff1b8d31e96f98a884d | refs/heads/master | 2021-01-25T12:24:10.696810 | 2010-12-25T12:13:05 | 2010-12-25T12:13:05 | 1,197,108 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,421 | h | #ifndef FILE_WRITER_H_HEADER
#define FILE_WRITER_H_HEADER 1
#include "destination.h"
#include "writer.h"
#include "unicast_receiver.h"
#include "connection.h"
#include "path.h"
// Class that writes files and directories to the disk
class FileWriter : private Writer
{
static const size_t FILE_READ_BUFFER_SIZE = 6553... | [
"dzatsepin@gmail.com"
] | dzatsepin@gmail.com |
365c74c639a4a71733e09241b5d46ac04b0588f9 | 654f72faee9faa8aa0ee2cd50af9e32b5cd02a52 | /PWMReceiver.cpp | a0559933d83d2da914314324d073ae19652eb0bf | [] | no_license | Tarcontar/PWMReceiver | e08face60640564c8849749cabf0388bf137471b | 347560abf082eb80635907895c995d4f99d56db0 | refs/heads/master | 2020-12-30T10:11:19.571738 | 2018-07-18T20:21:48 | 2018-07-18T20:21:48 | 99,245,738 | 1 | 1 | null | 2018-07-18T20:21:49 | 2017-08-03T15:08:22 | C++ | UTF-8 | C++ | false | false | 1,974 | cpp | #include "PWMReceiver.h"
#include <Arduino.h>
#include <PinChangeInterrupt.h>
volatile unsigned long rising_start[] = { 0, 0, 0, 0, 0, 0 };
volatile int channel_pin[6];
volatile long channel_length[6];
void processPWMPin(int pin)
{
uint8_t trigger = getPinChangeInterruptTrigger(channel_pin[pin]);
if (trigger == R... | [
"michael-schnabel@gmx.net"
] | michael-schnabel@gmx.net |
34488b824b888d17ba28a74c094c033918f54828 | 6a68467cf609d2935a7a8696a4e286ab9d09f309 | /src/OpticalFlow.cpp | ac8568b049b5eaba1eff4155506149686126f2f1 | [] | no_license | GordeyChernyy/DreamCatcherLive | a09931e53790bce17a6b3c41e941318de1edc4ad | c1453f2d165004fcdb67f9430d0dbaa9db9b42a2 | refs/heads/master | 2021-06-27T13:58:18.989060 | 2017-03-07T17:50:00 | 2017-03-07T17:50:00 | 57,861,019 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,353 | cpp | //
// OpticalFlow.cpp
// KinectFluid
//
// Created by Zerc on 4/1/16.
//
//
#include "OpticalFlow.hpp"
void OpticalFlow::setup(int winW, int winH, float scale){
w = winW;
h = winH;
drawWidth = w/scale;
drawHeight = h/scale;
// process all but the density on 16th resolution
flowWidth = drawW... | [
"kewava@gmail.com"
] | kewava@gmail.com |
9e5d4bfda50a2185b704df19ae3706094de9fda9 | 86e4d25a491d594119e033170dd2d67d3fe1efa3 | /MultiMonitorUtil/NiseMainDialog.h | cf625d708159d822cd4c04a1674791a775d3f13a | [] | no_license | rti7743/MultiMonitorUtil | 3705151304b7c16a16a514ef9ea09b476187924d | 40b4c4057fe089a462570fa8da9763fcfca1fbc3 | refs/heads/master | 2016-09-05T13:50:51.211714 | 2011-07-23T01:57:13 | 2011-07-23T01:57:13 | 2,061,992 | 2 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,560 | h | #pragma once
#include "KeyEdit.h"
#include "MultiMonitorUtilDlg.h"
// CNiseMainDialog ダイアログ
class CNiseMainDialog : public CDialogEx
{
DECLARE_DYNAMIC(CNiseMainDialog)
public:
CNiseMainDialog(CWnd* pParent = NULL); // 標準コンストラクター
virtual ~CNiseMainDialog();
// ダイアログ データ
enum { IDD = IDD_NISE_MAIN_DIALOG };
... | [
"super.rti@gmail.com"
] | super.rti@gmail.com |
405f6f9425af0810e620b5522d19bcd5186b1eac | 1ff8fc84bf8dab8109fc0edb34e4f7c740ccf46d | /liblept/src/rotate.cpp | 4294404bfcc38ef8657be2468b3673220a5197ce | [
"CC-BY-2.5",
"BSD-2-Clause"
] | permissive | Smorodov/tesseract-vs2012 | c4d7f25336eca9bff45715e5611a822ba531f6cf | 8a2d0d95f01df29818e852adc2ab2c9f2626fd8a | refs/heads/master | 2021-01-23T13:44:10.903976 | 2015-02-19T09:39:59 | 2015-02-19T09:39:59 | 30,593,882 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 22,497 | cpp | /*====================================================================*
- Copyright (C) 2001 Leptonica. 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 c... | [
"andreysmorodov@list.ru"
] | andreysmorodov@list.ru |
6a11919c4631309fdc8d4ccadc7852dfb88535de | b03b5980ab38905732b6e8379e661a32705c3d64 | /src/p34.cpp | 5c872b30c4a0ecd991fc2267855e1e71034ce36c | [
"MIT"
] | permissive | fancidev/euler | 30e4a70c9ce32e17400cf837b3e1a78571a31cab | a74e3ddf46034718253259eac4880472c58a7b22 | refs/heads/master | 2020-03-08T10:05:47.046028 | 2018-06-26T22:43:20 | 2018-06-26T22:43:20 | 128,063,556 | 0 | 1 | MIT | 2018-04-15T06:02:51 | 2018-04-04T13:07:48 | C++ | UTF-8 | C++ | false | false | 1,023 | cpp | /**
* 145 is a curious number, as 1! + 4! + 5! = 1 + 24 + 120 = 145.
*
* Find the sum of all numbers which are equal to the sum of the factorial
* of their digits.
*
* Note: as 1! = 1 and 2! = 2 are not sums they are not included.
*
* ANSWER: 40730.
*
* NOTE: This problem is similar to problem 30.
*/
#incl... | [
"fancidev@gmail.com"
] | fancidev@gmail.com |
f0e14b79404805bafe9ab921680b87d7878af174 | 4942782b31bdc08d59c53cb30530277cdd867c43 | /test/entt/core/monostate.cpp | 639c7f2a36d1ee05234ca4fc23590b728124604d | [
"MIT",
"CC-BY-4.0",
"CC-BY-SA-4.0"
] | permissive | alanjfs/entt | 053d1506aefa9579b7eb40694f0aa79e443972b9 | 0b54d11704dc72b8caf96ffbda2dcad731ddfaa4 | refs/heads/master | 2022-02-12T06:27:43.082606 | 2022-02-01T15:11:08 | 2022-02-01T15:11:08 | 214,602,698 | 2 | 0 | MIT | 2019-10-12T07:44:51 | 2019-10-12T07:44:51 | null | UTF-8 | C++ | false | false | 589 | cpp | #include <gtest/gtest.h>
#include <entt/core/hashed_string.hpp>
#include <entt/core/monostate.hpp>
TEST(Monostate, Functionalities) {
const bool b_pre = entt::monostate<entt::hashed_string{"foobar"}>{};
const int i_pre = entt::monostate<"foobar"_hs>{};
ASSERT_FALSE(b_pre);
ASSERT_EQ(i_pre, int{});
... | [
"michele.caini@gmail.com"
] | michele.caini@gmail.com |
36dd24646d007e413a0e83964f22027c93f04367 | 88f51675ccd4b2b48433bb367f3ebaf9c45049a1 | /Source/Game/EventPlaySound.h | 6ca6f9adecde39364ecf2ce674490a59b2779531 | [] | no_license | PekaOchKlickaGrupp7/PekaOchKlicka | 041c430d1f068d12c28e65b5aa47d339e71c04bd | 8fac3296a2f27c59ba39bb07c8d4415bd415eb01 | refs/heads/master | 2021-01-10T16:01:18.619325 | 2016-02-26T16:57:09 | 2016-02-26T16:57:09 | 49,209,774 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 419 | h | #pragma once
#include "Event.h"
class EventPlaySound :
public Event
{
public:
EventPlaySound();
virtual void Init(Room* aRoom, CGameWorld* aGameWorld) override;
virtual bool Update(const float aDeltaTime) override;
virtual void Reset() override;
std::string myTargetSound;
float myVolume;
bool myIsLooping;
bo... | [
"linus@neuman.io"
] | linus@neuman.io |
f5ce1775fb85673b6ac613dcda0fff1496023018 | bb9ac0f60b7e8ceefebfa8338538b8d8c7d72fb9 | /algorithms/minimum-depth-of-binary-tree.cpp | b4c68ff193104ec4dfef99ab420640558f00fe01 | [
"MIT"
] | permissive | ltoddy/leetcode | 6aed392a76c8a6c47857d783487f52d34bda536d | 4a78afb7a3351c9639a2422d856da863e0cfa2c7 | refs/heads/master | 2021-06-07T22:43:46.328105 | 2020-11-29T12:27:42 | 2020-11-29T12:27:42 | 138,945,718 | 41 | 7 | MIT | 2020-10-06T02:14:32 | 2018-06-28T00:09:30 | C++ | UTF-8 | C++ | false | false | 775 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution
{
private:
int minDepth(TreeNode* root, int depth)
{
if (root == nullptr) return depth;
... | [
"taoliu14@acm.org"
] | taoliu14@acm.org |
a217bb2762d477bcd2a5e4484dbfc67769ddcda3 | 4ecfeb1824263e0859e34a1bc3cc179e085d1996 | /src/groundserver/embedded/simpleSubscribe/simpleSubscribe.ino | 0ca6c22f4b26ecab5d4f3e1414629d7758e7b5ec | [] | no_license | lp02781/kapalTenggelam | c2ea36b5b063a925a8d4adfad6a0092755e4989f | e1acb74c789cd388737d57934bb4dab161443eee | refs/heads/master | 2020-03-15T15:44:21.647809 | 2019-03-08T09:18:18 | 2019-03-08T09:18:18 | 132,219,022 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 838 | ino | #include <ros.h>
#include <ArduinoHardware.h>
#include <std_msgs/String.h>
#include <stdlib.h>
int alarm = 2;
int ks1 = 4;
int ks2 = 5;
ros::NodeHandle nh;
void messageCb(const std_msgs::String& toggle_msg);
void messageCb(const std_msgs::String& toggle_msg)
{
// Motor move forward
if(toggle_msg.data == "1"... | [
"lp02781@gmail.com"
] | lp02781@gmail.com |
917596297617406129eecba06b5f4a891cf6920b | e983552eebd4f6d17f0954ebb7867e0aa65378a7 | /IcoDigest/IcoDigest/IcoDigest/IcoDecoder.cpp | 551723b2ffb2359a98e1d771b68ec57f44f7280d | [] | no_license | ljx213101212/FileOperationTest | bb6de943c3aabae1ff4c1d93e70042bd61f7967b | 6462a99e5ee31648b3da90c3345bb967cf0b8ae3 | refs/heads/master | 2020-09-13T01:10:27.544553 | 2019-11-27T07:16:26 | 2019-11-27T07:16:26 | 222,616,704 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,219 | cpp | /*
*http://vitiy.info/Code/ico.cpp
* code by Victor Laskin (victor.laskin@gmail.com)
* rev 2 - 1bit color was added, fixes for bit mask
*
*
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS
* OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITN... | [
"lijixiang.nus@gmail.com"
] | lijixiang.nus@gmail.com |
9e04055755945133a1268db20bdd78f5b01c8b37 | a976c6b69a9f3cb93926b3b8e3d191b3a0aeeb40 | /3.11_new_delete/function.cpp | 5bee8a72b6173cf7dc882ce714317208006fc6a6 | [] | no_license | 2220926160/Object-oriented | 64f7bac839d9be8a8e47bdb3ed78920dbe5fd11b | 3b804a6a20a52940ce6117c825b5590db42912a4 | refs/heads/main | 2023-08-24T04:13:11.137125 | 2021-11-05T13:42:31 | 2021-11-05T13:42:31 | 405,092,008 | 0 | 0 | null | 2021-09-10T14:50:25 | 2021-09-10T13:34:13 | Roff | UTF-8 | C++ | false | false | 268 | cpp | #include"head.h"
Heapclass::Heapclass()
{
i = 0;
cout<<"Default constructor of Heapclass"<<endl;
}
Heapclass::Heapclass(int x)
{
i = x;
cout<<"Constructor of Heapclass"<<endl;
}
Heapclass::~Heapclass()
{
cout<<"Destructor of Heapclass"<<endl;
}
| [
"73678222+2220926160@users.noreply.github.com"
] | 73678222+2220926160@users.noreply.github.com |
1d4fbd55bfd9fcd7e85be619414f14abe68b6f70 | 1bf8b46afad5402fe6fa74293b464e1ca5ee5fd7 | /Demo/Shenmue3SDK/SDK/wgt_FishingRodList_parameters.h | f063f1cb9f3a522dea27c26642e798040dcfda5c | [] | no_license | LemonHaze420/ShenmueIIISDK | a4857eebefc7e66dba9f667efa43301c5efcdb62 | 47a433b5e94f171bbf5256e3ff4471dcec2c7d7e | refs/heads/master | 2021-06-30T17:33:06.034662 | 2021-01-19T20:33:33 | 2021-01-19T20:33:33 | 214,824,713 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,931 | h | #pragma once
#include "../SDK.h"
// Name: S3Demo, Version: 0.90.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Parameters
//---------------------------------------------------------------------------
// Function wgt... | [
"35783139+LemonHaze420@users.noreply.github.com"
] | 35783139+LemonHaze420@users.noreply.github.com |
07d4288398d970454ffb82be4d050609bb3162a3 | 23c78283bfe97064a3f41f9bf6e447a71a0b63c4 | /include/distance.hpp | 5f77e1e1cd1c55c47283656dc793f602f7fb8c19 | [] | no_license | KinglittleQ/hnsw | 19d0248104ae68c3f3349e2289972830cd1077d7 | eef37ce8f6ab4534d2237c2da6853458fc930aa2 | refs/heads/master | 2023-01-29T09:46:16.082172 | 2020-12-09T02:05:02 | 2020-12-09T02:05:02 | 305,584,889 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,581 | hpp | #ifndef __HNSW_DISTANCE_HPP__
#define __HNSW_DISTANCE_HPP__
#include <cassert>
#include <cmath>
#include <cstdint>
#include <immintrin.h>
#define AVX_L2SQR(addr1, addr2, dest, tmp1, tmp2) \
tmp1 = _mm256_loadu_ps(addr1); \
tmp2 = _mm256_loadu_ps(addr2); \
tmp1 = _mm256_sub_ps(t... | [
"checkdeng0903@gmail.com"
] | checkdeng0903@gmail.com |
28a09ce2c51408d90286d7bbf78eda02a99d4b41 | c2bde201bec534ce7a2f50ae76e9c2f028d7cce7 | /src/SceneGraph/NormalNode.h | bfdc859b51a1bb4c6b3d7c71df7a744bdd2acad5 | [
"MIT"
] | permissive | peterlama/SMeshViewer | c143a244eabc299e19977c16654a15720a1f72de | 9982f4e79fd08190a730365a46afefa9f72298cf | refs/heads/master | 2021-05-28T04:47:33.847052 | 2014-04-30T21:17:16 | 2014-04-30T21:17:16 | 18,621,832 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,801 | h | //-----------------------------------------------------------------------------
//Copyright (c) 2014 Peter Lama
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, includi... | [
"peterldev94@gmail.com"
] | peterldev94@gmail.com |
fdeaa490338aadd0e4dd2b0beb1184e6ee0c34cd | 72a146dad10c3330548f175643822e6cc2e2ccba | /net/quic/core/congestion_control/tcp_cubic_sender_base.cc | 6d248206dd3455d33dbb77f98f21d0571808c005 | [
"BSD-3-Clause"
] | permissive | daotianya/browser-android-tabs | bb6772394c2138e2f3859a83ec6e0860d01a6161 | 44e83a97eb1c7775944a04144e161d99cbb7de5b | refs/heads/master | 2020-06-10T18:07:58.392087 | 2016-12-07T15:37:13 | 2016-12-07T15:37:13 | 75,914,703 | 1 | 0 | null | 2016-12-08T07:37:51 | 2016-12-08T07:37:51 | null | UTF-8 | C++ | false | false | 10,519 | 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 "net/quic/core/congestion_control/tcp_cubic_sender_base.h"
#include <algorithm>
#include <string>
#include "base/metrics/histogram_macros.h... | [
"serg.zhukovsky@gmail.com"
] | serg.zhukovsky@gmail.com |
003de988b73acb1c2c8b5fd3bed8fbc8315954eb | 7172f51fbef81a81ac066fec92cb0875409cf98e | /primes/sieve.cpp | f47df57ba0b91c8bcb14118c5c16efdfef496d5c | [] | no_license | sander-skjulsvik/functions-and-algorithms | b6512db9be4f6466f7230d69728f04de549f8bdc | 27b81318f97517e1a8f271b38548f61f83d1b2ce | refs/heads/master | 2022-03-24T05:36:27.866768 | 2019-12-06T18:09:29 | 2019-12-06T18:09:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,121 | cpp | #include <iostream>
#include <vector>
#include <math.h> /* sqrt, ceil */
using namespace std;
struct Node{
int value;
bool prime;
Node(int val){
value = val;
prime = false;
}
Node(int val, bool is){
value = val;
prime = is;
}
};
class sieve{
pri... | [
"rednas.1604@gmail.com"
] | rednas.1604@gmail.com |
f167a043e1f0395ea90c8d1faec86491647773b9 | 7ffcc5ea7599f0161d937dd2d5f05c6521210d9e | /app/src/main/cpp/glstudio/wave/wave_render.h | 847da33f9690813395e1a29ac89fc1a042a28de9 | [] | no_license | vaprocs/MicGo | d80b0a679d3dbd6aace77651d0ec11a340bba283 | 62ad8934280ce2ac214669f1298ff2fcf749cc6f | refs/heads/master | 2023-02-26T08:31:59.241477 | 2021-01-26T13:17:08 | 2021-01-26T13:17:08 | 83,103,906 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,661 | h | /**
* ,%%%%%%%%,
* ,%%/\%%%%/\%%
* ,%%%\c "" J/%%%
* %. %%%%/ o o \%%%
* `%%. %%%% _ |%%%
* `%% `%%%%(__Y__)%%'
* // ;%%%%`\-/%%%'
* (( / `%%%%%%%'
* \\ .' |
* \\ / \ | |
* \\/ ) | |
* \ ... | [
"353231777@qq.com"
] | 353231777@qq.com |
f7053b075c30fb740d5fe29b5deabfae233483c6 | aa9d04a8f4c852cc56ad99dae2441cedc475b7e7 | /OpenGL/1.4_QtGlDemo/main.cpp | 9501429fa4837ee994cc460a1f95fada24da4169 | [] | no_license | ZhengPengqiao/QtStudy | 5c691bd21b64c3e13ea4e95e6e848d53e9204d1f | d0aac102cd77b651b754654bf0a759ec7eb927db | refs/heads/master | 2022-02-11T00:11:29.106973 | 2022-02-09T01:09:06 | 2022-02-09T01:09:06 | 106,513,970 | 0 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,249 | cpp | #include <QGuiApplication>
#include <QSurfaceFormat>
#include <QOpenGLContext>
#include "glwindow.h"
// This example demonstrates easy, cross-platform usage of OpenGL ES 3.0 functions via
// QOpenGLExtraFunctions in an application that works identically on desktop platforms
// with OpenGL 3.3 and mobile/embed... | [
"157510312@qq.com"
] | 157510312@qq.com |
43275f4a8ba529747e6931572eb147009f6adf04 | 3de78fe29b71d89cc356b3093f7d431cdd951b8a | /itkSkeleton/itkSimplicityByTopologicalNumbersImageFunction.h | b3cc9b54399c429a4d7b6a69a07357ce976723ae | [] | no_license | FrankieTong/BoneStrain-SIFT-TPS | 8654098c7a918ced304b32a7e07427ea79a1458f | 0b0a947d0fbd6995f5a6dd18b89b5e0be7ac186d | refs/heads/master | 2016-09-13T09:56:04.379384 | 2016-04-23T17:48:16 | 2016-04-23T17:48:36 | 56,927,402 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,346 | h | #ifndef itkSimplicityByTopologicalNumbersImageFunction_h
#define itkSimplicityByTopologicalNumbersImageFunction_h
#include <itkImageFunction.h>
#include "itkBackgroundConnectivity.h"
#include "itkTopologicalNumberImageFunction.h"
namespace itk
{
template<typename TImage,
typename TForegroundConnectivity, ... | [
"hoiki.tong@mail.utoronto.ca"
] | hoiki.tong@mail.utoronto.ca |
cae81aaecf5abe0e8eab59feb1d06f4022a0d693 | 541b70e40222c3d308579780c927dcf6536dae76 | /ThirdPartyDependence/QHullLib/qhull.cpp | 96a69bd3c460323e1f0e0f4ea30857cfbfdf03de | [
"BSD-3-Clause"
] | permissive | JackZhouSz/MultiAxis_3DP_MotionPlanning | 3bedc84e2ebcd81352fdc9d6d0641b9f419393bf | 7338bd7a1cdf9173d8715032fed29b6a0b2b21a1 | refs/heads/main | 2023-08-23T17:22:34.278063 | 2021-10-14T19:43:48 | 2021-10-14T19:43:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 50,418 | cpp | /*<html><pre> -<a href="qh-qhull.htm"
>-------------------------------</a><a name="TOP">-</a>
qhull.c
Quickhull algorithm for convex hulls
qhull() and top-level routines
see qh-qhull.htm, qhull.h, unix.c
see qhull_a.h for internal functions
copyright (c) 1993-2003 T... | [
"zhangty019@163.com"
] | zhangty019@163.com |
66921caa6a6f6c82faf99280e01524dec69f094b | b704a9da93be7bf7b041ecd1ddef9b5d8f3d8395 | /Mir2Ei/Wemade/LegendOfMir2_Server/Def/StaticArray.h | cdbcfe0cbe136a6a79a3e2b456e553c9f3ded15b | [] | no_license | Bayonetta5/LegendOfMir2_VC | 0976bcff8f4743a98b9dc5753db85459b710b9f0 | 952d77ec7ab68b7bfe83bd97620119d39cff2c97 | refs/heads/master | 2020-03-09T04:03:19.277041 | 2018-05-06T14:20:01 | 2018-05-06T14:20:01 | 128,578,761 | 1 | 0 | null | 2018-04-08T00:00:35 | 2018-04-08T00:00:34 | null | UHC | C++ | false | false | 1,084 | h |
#pragma once
template< class T >
class CStaticArray
{
public:
// 클래스 T는 아래 인터페이스를 구현하여야 한다.
interface IArrayData
{
virtual bool IsEmpty() = 0;
};
public:
T * m_pElements;
int m_nSize;
int m_nCursor;
public:
CStaticArray( int nSize );
virtual ~CStaticArray();
int GetFreeKey();
T & operator [... | [
"109639113@qq.com"
] | 109639113@qq.com |
66f3cc3b43db7337542a6fcd13e4dbf60e2158f0 | 41371839eaa16ada179d580f7b2c1878600b718e | /UVa/Volume IV/00406.cpp | c2457d32c7caf346cf9479358216bfd91f04337e | [] | no_license | marinvhs/SMAS | 5481aecaaea859d123077417c9ee9f90e36cc721 | 2241dc612a653a885cf9c1565d3ca2010a6201b0 | refs/heads/master | 2021-01-22T16:31:03.431389 | 2009-10-01T02:33:01 | 2009-10-01T02:33:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,106 | cpp | /////////////////////////////////
// 00406 - Prime Cuts
/////////////////////////////////
#include<cstdio>
#include<cstring>
typedef unsigned short int USI;
USI C,i,idx,j,jidx,key,hmp,primes[193],show,shown;
unsigned char jump[] = {64,32,16,8,4,2,1};
bool sieve[1600];
USI bin_search(){
for(jidx =0,idx = 128; jidx < ... | [
"mistermarin@gmail.com"
] | mistermarin@gmail.com |
64a002e1d1a1f8b9c5c012638bae1d8065d90d3a | 7afd2eaadb3f5116fb7cdc4d78c4c410d25b1abc | /Day 6/Q28/StringCount.cpp | c2d98fb4f468592df3dc17e4d9da49debedb6407 | [] | no_license | Leoperon/college-assignment | d8a55a0102587467bca99621484a2f961a94248a | 5601198f878c42d6f2e8d9deabab2a2b9610b332 | refs/heads/master | 2020-04-27T14:27:59.918996 | 2019-05-18T15:41:29 | 2019-05-18T15:41:29 | 174,411,073 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 337 | cpp | #include<stdio.h>//String COUNT
#include<string.h>
int main()
{
int n,i=0,l,c=0;
char str[200];
printf("Enter any string:\n");
gets(str);
l=strlen(str);
while(str[i]!='\0')
{
if(str[i]==' ')
{
c++;
}
i++;
}
printf("No of words:%d\n",(c+1));
printf("No of character:%d\n",(l-c... | [
"sourovsarkar84@gmail.com"
] | sourovsarkar84@gmail.com |
659caca44ede483e30e2f5046149167e33ba72d2 | 4622f5a47a2dcf20a7f6e9d519e9c2ce9434b724 | /RPS-Client/main.cpp | 0b614ea85754190b6ccbbc3510b704bcc68acfb0 | [] | no_license | johny24rivera/RPS-Project | 42e0711cef62573a38d868e3b3ea41f328dcc1b1 | b47c80dcc514d42ed16a1e3fcb3700fe60147873 | refs/heads/master | 2022-11-19T00:46:18.193991 | 2020-07-17T22:09:35 | 2020-07-17T22:09:35 | 279,488,338 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 169 | cpp | #include <QCoreApplication>
#include "sockettest.h"
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
socketTest qTest;
return a.exec();
}
| [
"jonathan24rivera@gmail.com"
] | jonathan24rivera@gmail.com |
7eea821c3eb35d508559eb96f975fdccd9dcf3d9 | 442ddc02f04c65b1e405f1e76b31aca6bfc2bd93 | /aula12.cpp | f757c4a7dd184b43543683b4d517f7c9f32c3690 | [
"MIT"
] | permissive | lidicesantos/TADS-PFDA1 | 1475435fd2a607b05bf5b88ea15aec428231452f | 7d8df3b2a12fbe14d433da1b4f01526671c35cb0 | refs/heads/master | 2023-01-07T06:07:12.434433 | 2020-09-09T02:22:59 | 2020-09-09T02:22:59 | 293,965,522 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 561 | cpp | #include <conio.h>
#include <stdlib.h> //biblioteca
#include <stdio.h>
#include <locale.h> //
int main()
{
setlocale(LC_ALL, "Portuguese"); //para incluir texto em portugues com acento
float notaUm;
float notaDois;
float media;
printf("Digite a primeira nota...: ");
scanf ("%f", ¬aUm);
... | [
"ldcdsantos1@gmail.com"
] | ldcdsantos1@gmail.com |
8e87e47bd5897047fc78fdbdb2d0b7f12cf9d9f9 | c1b50f610ca7218f307dafb49570a1311124c86e | /SYS_UCC/default/Event.h | 67c6b7ac6141762d820ec81aadb5b8b023bc90af | [] | no_license | MingliangZhou/AnaCumu_PbPb502 | d70e082e08b82fc2e4be0ded10ef84b62b4dcdea | 8f098c8e0dd7d2dead2577b73ec9eb974f3b615f | refs/heads/master | 2021-03-30T22:39:40.021201 | 2018-10-04T19:59:08 | 2018-10-04T19:59:08 | 124,442,274 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,000 | h | #ifndef Event_H_
#define Event_H_
#include "Tool.h"
#include "../../MAIN_binCent/INPUT/isGoodEvent_PbPb2015.C"
class Event
{
private:
unsigned int m_runNo; // run number
unsigned int m_lbn; // lumi-block number
unsigned int m_bcid; // bunch crossing number
bool m_pileUp; // is pileup collision?
char m_TrgT... | [
"mzhou@rcas2065.rcf.bnl.gov"
] | mzhou@rcas2065.rcf.bnl.gov |
d28bd5ec4dc8e49a91820da024c4fac1476455fc | db666b5c6b5381c55c716f95818a7ecc241d59c7 | /C++/1146-snapshotArray.cpp | 3cd166a4ec6ef226dc096c3b847cdd712d180bc3 | [] | no_license | SaberDa/LeetCode | ed5ea145ff5baaf28ed104bb08046ff9d5275129 | 7dc681a2124fb9e2190d0ab37bf0965736bb52db | refs/heads/master | 2023-06-25T09:16:14.521110 | 2021-07-26T21:58:33 | 2021-07-26T21:58:33 | 234,479,225 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 458 | cpp | class SnapshotArray {
private:
vector<unordered_map<int, int>> mp = {{}};
public:
SnapshotArray(int length) {}
void set(int index, int val) {
mp[mp.size() - 1][index] = val;
}
int snap() {
mp.push_back({});
return mp.size() - 2;
}
int get(int index, int snap_id) {
... | [
"630991493@qq.com"
] | 630991493@qq.com |
dc3d2c3cf09f73f15ef1c12caf94d9ada3242ae8 | 3cba4af9e03159782b4a4c49e8bb00d77df812b9 | /opencl-src/alexnet-altera/host/src/alexnet_main_opt_v0.cpp | 5415e13874759bc943e640e5b20a70165c6a26e3 | [] | no_license | bdybb00/papaa-opencl | 3365bdb3b634bc1a2ba2dce1c3679e288468399a | e8d07e7c45f1a53393601dedac56294b2fb45775 | refs/heads/master | 2021-06-19T11:43:23.052802 | 2017-07-24T02:59:38 | 2017-07-24T02:59:38 | 113,995,741 | 1 | 0 | null | 2017-12-12T13:47:25 | 2017-12-12T13:47:25 | null | UTF-8 | C++ | false | false | 39,237 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <sstream>
#include <math.h>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include "CL/opencl.h"
#include "AOCLUtils/aocl_utils.h"
#include "cnn_structs.h"
#include "device_utils.h"
#include "data_utils.h"
#include "cnpy.h"
#... | [
"gplhegde@gmail.com"
] | gplhegde@gmail.com |
337548ea8ab4ecc17a0d4da5e30fc72b909de9d9 | 3eaffd6462e135377c359226596bfc38b0059db1 | /FilmTrimmer/CTRL_iodebug.cpp | 948cc33041f711145227c335e4b3749f3c1d3529 | [] | no_license | YjsLikeChina/QTframe | f8c4ce536c57f211c1c833f777e76b0457a3cf25 | 81794458a5e45927e19c045a0e5d053e209c8f8f | refs/heads/master | 2021-01-23T22:24:06.115717 | 2017-09-09T09:46:18 | 2017-09-09T09:46:18 | 102,930,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,138 | cpp | #include "CTRL_iodebug.h"
CTRL_IODebug::CTRL_IODebug(QObject * parent) : CTRL_Base(parent) {
Initconnect();
}
CTRL_IODebug::~CTRL_IODebug()
{
//
}
void CTRL_IODebug::Initconnect()
{
connect(MACHINECTRL.m_pAutoUpdateData, SIGNAL(SigIODebug(QList<ST_UPDATEDATA>)), this, SLOT(SlotAutoUpdateData(QList<ST_UPDATEDATA... | [
"YjsLikeChina@users.noreply.github.com"
] | YjsLikeChina@users.noreply.github.com |
19bbac85aa858002012a4245b8d20704148d83b2 | 5cdc481e6f74abc93dbfa421998779c5c3984e2a | /Codejam2016/fractiles.cc | 43f0b70b3ee8e687622951fdc31a8f93b060a4bd | [] | no_license | joaquingx/Competitive-Programming-Problems | 4f0676bc3fb43d88f6427e106c6d9c81698993ce | c6baddbb6f1bdb1719c19cf08d3594bb37ba3147 | refs/heads/master | 2021-01-15T08:36:45.392896 | 2016-11-21T17:29:15 | 2016-11-21T17:29:15 | 54,804,029 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 407 | cc | #include <bits/stdc++.h>
using namespace std;
typedef unsigned long long ll;
int main()
{
int t; cin >> t;
for(int i = 0 ; i < t ; ++i)
{
ll k,c,s; cin >> k >> c >> s;
ll mult=0,beg=1;
for(int j = 0 ; j < c ; ++j)
mult = mult * k + 1;
cout << "Case #" << i+1 <<": ";
for(int j = 0 ... | [
"joaquingc123@gmail.com"
] | joaquingc123@gmail.com |
31ca3993fe81cf60ca32be8a4906de1e3166b2a7 | 51ea90619a4754faaf5ade355b5191dfd2d696a4 | /Labyrint/labyrinti1/Classes/Native/Bulk_UnityEngine_1.cpp | 8af34d2ecb24d7e32ec6da47d118fbae0e991663 | [] | no_license | mimietti/MySandbox- | 0baecb7bbd9fa9cd642b1f080a26a62b18ba1dff | 2600b9ab03979b4dd5a37bc81c4c818de8d1c6d3 | refs/heads/master | 2021-01-22T17:34:03.440543 | 2016-12-20T13:16:27 | 2016-12-20T13:16:27 | 63,416,433 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 768,075 | 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>
// UnityEngine.GUIStyle
struct GUIStyle_t1006925219;
// UnityEngine.GUIStyleState
struct GUIStyleState_t... | [
"michaelm@unity3d.com"
] | michaelm@unity3d.com |
437efea4d1ae3a5d7349f3573526c4c7a4b2adae | 88999fd864bb8615f1b9efc5472710347d07f62e | /2º Semestre/Linguagem de Programação I - A/02-10-2017 Programa 1.cpp | e4f2fd46f8b2493186db9af71d6991970da7fd19 | [] | no_license | tiagobellaver/faculdade | 3caa991d60200cdaf5c3d44d9559ec533d908102 | 6b232249780f0c4c01196187ef4186969ae8bd5d | refs/heads/master | 2021-01-07T17:07:29.772952 | 2020-02-20T01:46:18 | 2020-02-20T01:46:18 | 241,763,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 252 | cpp | #include <bits/stdc++.h>
using namespace std;
int volume(double r)
{
double v;
double PI = 3.14159;
v = (4 / 3.0) * PI * pow(r,3);
cout << v << endl;
}
int main()
{
double raio;
cin >> raio;
volume(raio);
return 0;
}
| [
"tfbellaver@hotmail.com"
] | tfbellaver@hotmail.com |
735cdb6f611e65001300e8a18f8ec2579a3a33d1 | 41ae864debe4f58a8ca509946dd2b72d3dbe341e | /Libjingle/libjingle-0.5.8/talk/p2p/base/p2ptransport.cc | 790dafb4e3b366cfcb2f197ea174b15ec21ac170 | [
"BSD-3-Clause"
] | permissive | tempbottle/P2PDataTransfer | 28762851a50894cd38833b3008605139271c5e77 | f0114e56c81f089169095e3b9f15707aae24e5cc | refs/heads/master | 2021-01-21T03:14:13.287433 | 2014-02-10T22:32:57 | 2014-02-10T22:32:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,738 | cc | /*
* libjingle
* Copyright 2004--2005, Google Inc.
*
* 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 the above copyright notice,
* this list of conditions and... | [
"wangqinjin@gmail.com"
] | wangqinjin@gmail.com |
b23d73d3ed9d577c42dcbb7136e7175e6854cf18 | edaa018b9a74c843b082f5cddafb0ec3740170a1 | /USACO/Introductory_USACO_Bronze_Problems/Bargaining_Table__22B.cpp | 998c69dbe0bd0325a5e50d80c9b4c7d04c8267d7 | [] | no_license | m0saan/CP | e4eb6b363f68e82d59463281abdf5878188b324d | 88663bf32920403ae1ce4ba4529a8650ac42459a | refs/heads/master | 2023-06-07T13:19:42.217299 | 2021-07-04T19:16:57 | 2021-07-04T19:16:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 283 | cpp | //
// Created by Mohammad Boustta on 3/5/21.
//
#include <iostream>
using namespace std;
char ARR[25][25];
int main(){
int n,m;
cin >> n >> m;
for (int i = 0; i < n; ++i) {
for (int j = 0; j < m; ++j)
cin >> ARR[i][j];
}
return 0;
} | [
"moboustta6@gmail.com"
] | moboustta6@gmail.com |
0d1668327630220368ae73f059d067cba1fe2b30 | 93f14ed62372ceb3aef26f9b595ca433474659ea | /src/ddori_firmware/arduino_library/ros_lib/cob_perception_msgs/ColorDepthImageArray.h | 971b85427903b0be435b79e10f685367633d0971 | [] | no_license | dolmangi/ddori | 5db156f9d1f4bd42cf4b83669470dff4d559b1d3 | 4bf5ca56aa17b2cfd4478fc90b83313cd907cb90 | refs/heads/master | 2021-01-10T13:03:43.858291 | 2017-03-04T15:48:34 | 2017-03-04T15:48:34 | 45,648,924 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,125 | h | #ifndef _ROS_cob_perception_msgs_ColorDepthImageArray_h
#define _ROS_cob_perception_msgs_ColorDepthImageArray_h
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "ros/msg.h"
#include "std_msgs/Header.h"
#include "cob_perception_msgs/ColorDepthImage.h"
namespace cob_perception_msgs
{
class ColorD... | [
"dolmangi@naver.com"
] | dolmangi@naver.com |
7eb0bde715648e60709bead9ed4a8e8258ae54ff | b30780db216972ddddf6473e57f0858d6fc57d9d | /CH14_02_defineCode.cpp | b925bf404a74a26485cc1d60cb14073c35349e11 | [] | no_license | GKHell/CppJayCode | e6c47f8504c0bd9dcd430ca47726720d340762e1 | ff6665a9125a20c1ac3dd80cea920f58fda4985f | refs/heads/main | 2023-08-14T10:01:03.721405 | 2021-09-27T10:54:40 | 2021-09-27T10:54:40 | 392,401,383 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 231 | cpp |
#include"iostream"
using namespace std;
#define sum(x,y) x+y //macro as function
int main()
{
#define A 100 //macro as weak constant
#undef A
#define A 300
// A =32;
cout<<" A : "<<A<<endl;
cout<<"sum : "<<sum(20,4);
} | [
"hell@me.you"
] | hell@me.you |
4e60c1baf3f5340dedb5887ee0f96a8d5c110548 | 1d19a673ae7a0db57f8121bd1a8296d631503f7c | /smoker/lib/ESP_Adafruit_SSD1306/ESP_Adafruit_SSD1306.h | b3e3890f546b195cbe0a1e6297bf85d51d21519f | [
"MIT"
] | permissive | hansaya/smoker | fe7b65421e86afc147548b12f850b939bb66141b | eaee4f6f748918889ca05ba88f8f58616c832d86 | refs/heads/master | 2021-03-19T18:04:23.559761 | 2017-11-21T22:49:16 | 2017-11-21T22:49:16 | 93,585,587 | 1 | 1 | null | 2017-11-21T22:49:16 | 2017-06-07T02:52:00 | C | UTF-8 | C++ | false | false | 5,045 | h | /*********************************************************************
This is a library for our Monochrome OLEDs based on SSD1306 drivers
Pick one up today in the adafruit shop!
------> http://www.adafruit.com/category/63_98
These displays use SPI to communicate, 4 or 5 pins are required to
interface
Adafruit... | [
"hansaka.perera@gmail.com"
] | hansaka.perera@gmail.com |
c3f297341e71bb1bed6dc32bd05b3e596ab91de7 | 40998c80a392d350bc501dcd31ead86f21ad09af | /Lab8/Lab Exercise Suggest Solution/WordData.h | 05345c5a5322c8460f0503fa6803e38052fc84d9 | [] | no_license | TonyRL/AST21105 | 607211d14d41d154c38769f7ed0eef4b1194b72b | 056f92605dc706f85673a61b4f63c81a4667dbeb | refs/heads/master | 2016-09-14T00:53:29.417984 | 2016-05-17T19:19:44 | 2016-05-17T19:19:44 | 59,051,834 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 385 | h | #ifndef WORDDATA_H
#define WORDDATA_H
#include <cstring>
#include <string>
#include <iostream>
#include <iomanip>
using namespace std;
class WordData
{
private:
char* word;
int vowels;
int consonants;
int digits;
int specialChars;
public:
WordData();
~WordData();
void setWord(const string& inWord);
... | [
"at5393-5394@yahoo.com.hk"
] | at5393-5394@yahoo.com.hk |
86e3837ca3a11c3ed4a43222ef8594b43cd2a9a4 | 1f85142263a08d2e20080f18756059f581d524df | /lib/branches/chromium_update/src/pagespeed/core/resource.cc | b952f563106d5c7546cfd0fd3b932d93dee719a3 | [
"Apache-2.0"
] | permissive | songlibo/page-speed | 60edce572136a4b35f4d939fd11cc4d3cfd04567 | 8776e0441abd3f061da969644a9db6655fe01855 | refs/heads/master | 2021-01-22T08:27:40.145133 | 2016-02-03T15:34:40 | 2016-02-03T15:34:40 | 43,261,473 | 0 | 0 | null | 2015-09-27T19:32:17 | 2015-09-27T19:32:17 | null | UTF-8 | C++ | false | false | 9,995 | cc | // Copyright 2009 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | [
"bmcquade@google.com"
] | bmcquade@google.com |
142ea21fbc33adac51dda3ec73a4b75fa0304133 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/097/360/CWE36_Absolute_Path_Traversal__wchar_t_environment_ofstream_83_bad.cpp | a689e2eef4f7f8cc3348520092ac733bf8871959 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,917 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE36_Absolute_Path_Traversal__wchar_t_environment_ofstream_83_bad.cpp
Label Definition File: CWE36_Absolute_Path_Traversal.label.xml
Template File: sources-sink-83_bad.tmpl.cpp
*/
/*
* @description
* CWE: 36 Absolute Path Traversal
* BadSource: environment Read input fr... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
d93e83e68bf3971b9338a603dff6db3c697ae882 | 214dbcc732e0f6a49336164c793bd4af4754a6f7 | /Algorithmics/Problems from various contests/sumdif.cpp | ebb2e85de0c9135617d9bdea102948ae3eed6f13 | [] | no_license | IrinaMBejan/Personal-work-contests | f878c25507a8bfdab3f7af8d55b780d7632efecb | 4ab2841244a55d074d25e721aefa56431e508c43 | refs/heads/master | 2021-01-20T08:24:47.492233 | 2017-05-03T12:22:26 | 2017-05-03T12:22:26 | 90,142,452 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 595 | cpp | #include <fstream>
#include<cstring>
#include<algorithm>
#define Nmax 1005
using namespace std;
ifstream fin("sumdif.in");
ofstream fout("sumdif.out");
int N;
int K;
struct carton
{
int S;
int a, b;
} P[Nmax];
int compare(carton a, carton b)
{
return a.S>b.S;
}
int main()
{
fin>>N>>K;
int i;
... | [
"irinam.bejan@gmail.com"
] | irinam.bejan@gmail.com |
14cc8536b89ef1609bf8ce54cb61d1a547fe1e12 | 546d00dd96099d7ad669373f5771b9b200938f6e | /Sources/S3Client/Ui/UiCase/UiNewPlayerStartMsg.cpp | be039dac968a493137a4555feff0033556bd522d | [] | no_license | lubing521/mmo-resourse | 74f6bcbd78aba61de0e8a681c4c6850f564e08d8 | 94fc594acba9bba9a9c3d0a5ecbca7a6363b42a5 | refs/heads/master | 2021-01-22T01:43:29.825927 | 2015-03-17T02:24:16 | 2015-03-17T02:24:16 | 36,480,084 | 2 | 1 | null | 2015-05-29T03:16:18 | 2015-05-29T03:16:18 | null | GB18030 | C++ | false | false | 5,604 | cpp | /*****************************************************************************************
// 界面--新手进入的提示界面
// Copyright : Kingsoft 2003
// Author : Freeway Chen
// CreateTime: 2003-7-8
------------------------------------------------------------------------------------------
***********************************... | [
"ichenq@gmail.com@6f215214-8c51-1d4b-a490-e1557286002c"
] | ichenq@gmail.com@6f215214-8c51-1d4b-a490-e1557286002c |
2b912e7fac973a884879c8642895256b5e7e02d2 | 966bc90cd41f9877e09b7873c8851b614f2e017c | /build-Summary-Commenter-Desktop_Qt_5_13_0_MinGW_64_bit-Release/ui_mainwindow.h | c0a0f54f377d016e99bd28d5d5ff133957dfac57 | [
"MIT"
] | permissive | jopemachine-playground/Summary-Commenter | 031987134e4f8b11ebf76a7e0bc70b0108ee665c | 1472cd9a98f3c781d350a842def84d57882813fd | refs/heads/master | 2022-10-15T05:48:14.231039 | 2020-06-10T02:18:34 | 2020-06-10T02:18:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 54,378 | h | /********************************************************************************
** Form generated from reading UI file 'mainwindow.ui'
**
** Created by: Qt User Interface Compiler version 5.13.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
***************************************... | [
"jopemachine@naver.com"
] | jopemachine@naver.com |
e434538920903d864f054b7cf2bfb7b70a0f6633 | 9fab2e2c56bcf5e9c5600d7d6de321860d47542c | /opt/ir_aa.cpp | 4ad4266e65c2bfdea0b76ae3a88b3f98b7d84859 | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla"
] | permissive | avdiaid/xoc | 23bfd43121b0a6d2b7de536665674b0f93a81d4b | ef3e09233a2d7bc1d01b7ba5a0139ee6fd673648 | refs/heads/master | 2021-06-20T17:33:38.052547 | 2017-07-28T08:12:18 | 2017-07-28T08:12:18 | null | 0 | 0 | null | null | null | null | IBM852 | C++ | false | false | 122,472 | cpp | /*@
XOC Release License
Copyright (c) 2013-2014, Alibaba Group, All rights reserved.
compiler@aliexpress.com
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above c... | [
"steven.known@gmail.com"
] | steven.known@gmail.com |
17117e548b84ff1238e88858a6ffb61b2325fc57 | d4c720f93631097ee048940d669e0859e85eabcf | /chrome/browser/ui/webui/settings/ash/os_apps_page/app_notification_handler.cc | abcd60ac718f1bcade6c47231d097c1c26b0ad9f | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 3b920d87437d9293f654de1f22d3ea341e7a8b55 | refs/heads/webnn | 2023-03-21T03:20:15.377034 | 2023-01-25T21:19:44 | 2023-01-25T21:19:44 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 4,633 | cc | // Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/webui/settings/ash/os_apps_page/app_notification_handler.h"
#include <utility>
#include "ash/public/cpp/message_center_ash.h"
#include "base/loggi... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
3cdb217e6cdc6235b681611dd36c2b3905fd20ae | 2e4bf6e8f641059213777dee65b46fea0ea12957 | /treasure1.cpp | c1b7f1966657319e5de426b0671da6c76ab372d6 | [] | no_license | ashrafmoid/codeforces | 20dd6b899866ef5440c55193c524094181f23d84 | 1d62c285b064fc1da6570b95cd047f862d5bcac0 | refs/heads/master | 2021-10-10T17:29:26.138853 | 2017-11-30T09:38:46 | 2017-11-30T09:38:46 | 112,587,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 553 | cpp | #include<bits/stdc++.h>
using namespace std;
int ans[100005];
int main(){
string s;cin>>s;
int rem;
memset(ans,0,sizeof(int));
int cnt=0,hsh=0;
int len=s.size();
for(int i=0;i<len;i++){
if(s[i]=='('){ans[i]=1;cnt++;}
else {ans[i]=-1;cnt--;}
if(s[i]=='#'){rem=i;hsh++;}
}
if(cnt<0){cout<<"-1\n";return 0;}
... | [
"ashrafmoid1999gmail.com"
] | ashrafmoid1999gmail.com |
8a25a77f7ff80278d8b7ccfe5dd2a74e01a713b4 | 978eb53a505e4e6b7345975d65a270d2af2389ce | /base/cclog/failure_handler.h | 9974d72a98bed801d15716fddcd1e968a0e4c86a | [] | no_license | kevinleen/common | 0ae7ce9194afb8b8a5adaa56da4202b37059badc | ab4deae737bbfb69f92b57b8da2d48d00dde8498 | refs/heads/master | 2021-01-19T04:34:39.824560 | 2016-06-13T07:59:26 | 2016-06-13T07:59:26 | 55,756,420 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 495 | h | #pragma once
#include <stdio.h>
#include <functional>
namespace cclog {
namespace xx {
class FailureHandler {
public:
FailureHandler() = default;
virtual ~FailureHandler() = default;
virtual void set_fd(FILE* file) = 0;
virtual void set_handler(std::function<void()> cb) = 0;
private:
Failure... | [
"kevinlinb@gmail.com"
] | kevinlinb@gmail.com |
5f58dee0c57a1836f1cd3dd8a9346e9ae7c914fa | e9adce9f4d69f98980e2f3e445b30937fe848291 | /CPP/ClockSync.cpp | 5458bd9c63674d0208b344400aa4a88629875a86 | [] | no_license | herzfactory/AlgospotRepository | 26af29af0ff67d28e0f88efa10cbf3d8abe917bc | 321cf1974b95228d273b77545902a55998fba63a | refs/heads/master | 2020-05-17T14:59:11.880602 | 2014-11-20T06:45:09 | 2014-11-20T06:45:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,635 | cpp | #include <cstdio>
const int MAX_PUSH = 9999, CLOCK_SIZE = 16, SWITCH_SIZE = 10, PUSH_SIZE = 4;
int linkedWithClock[][CLOCK_SIZE] = {
{3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, // 0
{0, 0, 0, 3, 0, 0, 0, 3, 0, 3, 0, 3, 0, 0, 0, 0}, // 1
{0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 3, 0, 0, 0, 3, 3}, // 2
{3, 0, 0, 0, ... | [
"dalhyo0320@gmail.com"
] | dalhyo0320@gmail.com |
55486492d16aba7fd962148cadcd32f260144a86 | 41a5a14a11a0c42e8094e9079897224d5d5ef49a | /Symbol_Table/Output/test11.cpp | 81259aab3451cab371d37a4e817902583af202e0 | [] | no_license | navsuresh/cppMiniCompiler | ddc1dcabfb89ab50ee716201f4f35bca56f7b962 | 73e2407da60c87ddba53db4c2615d30bfa0d6f91 | refs/heads/master | 2020-04-21T11:28:42.032728 | 2019-04-25T04:25:10 | 2019-04-25T04:25:10 | 169,526,849 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 208 | cpp | #include<iostream>
int main()
{ int a = 5 +5;5
+
5
5
+
5
}
Parsing is successful
DISPLAY is
BIG Scope is 0
BIG Scope is 1
line_no is 5
identifier is a
type is int
value is 5+5
Size is 4
Scope is 1
| [
"neeleshca26@gmail.com"
] | neeleshca26@gmail.com |
a53da689a011203af413f8fd6bb580081753d555 | 3b361fec045878a268a5317f1d3f341780a2b807 | /src/StringUtils.hpp | d5d3c32cc49d5f41ac7ebf67608a9279ab628728 | [] | no_license | juliomarcos/gbemuc11 | 2e49aa53134c0dab31cc2f7c17d4ccc10ecfd8c4 | a5f4b267be6abf5bbaff4e854c6a267230298fd8 | refs/heads/master | 2020-12-09T07:58:31.731357 | 2016-08-13T16:41:33 | 2016-08-13T16:41:33 | 52,745,596 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 350 | hpp | #pragma once
#include <vector>
#include <string>
#include <sstream>
using namespace std;
namespace string_utils {
vector<std::string>& split(const std::string &s, char delim, std::vector<std::string> &elems);
vector<std::string> split(const std::string &s, char delim);
vector<string> split(const ... | [
"julio@qualidata.com.br"
] | julio@qualidata.com.br |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.