blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
be940be05969aeb9a22f80ed0f518cd5c09b78bc | 97fdd9cf69202e357ebcf9aed822216a1a9f3e13 | /6thJan/threading/1.cpp | 3d78ff5bf5844359f584ed5cb61877cafd4a0fea | [] | no_license | kuldipsinh1993/Features-of-C-11 | 39a4f6e659984d33a2118ab8211d36165e788225 | e69d907873f8eae16419a8166af07c492e388499 | refs/heads/master | 2020-12-07T13:55:24.479226 | 2020-01-11T05:23:02 | 2020-01-11T05:23:02 | 232,732,995 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 275 | cpp | #include <iostream>
#include <thread>
using namespace std;
void print()
{
cout << "Hello" << endl;
}
void add(int a, int b)
{
cout << a << " + " << b << " = " << a+b << endl;
}
int main()
{
thread t1{print};
thread t2{add, 1, 2};
t1.join();
t2.join();
return 0;
}
| [
"kuldipsinh.jam@einfochips.com"
] | kuldipsinh.jam@einfochips.com |
34393b9024405569c5537a269fe1c45bb1e7377b | 08975710b7b1327d21876484337e26b56f988967 | /test_floats.cpp | 19558ef148fe7f31ad436b69aeb94614559b4d59 | [] | no_license | manucorporat/OBME | 2e64463f21986c14873a078285397c4a6a2470f4 | 87c30bec845ddeab002ca76f6804798524c4cfa2 | refs/heads/master | 2021-06-06T18:22:04.545983 | 2017-06-16T08:32:59 | 2017-06-16T08:32:59 | 9,354,938 | 21 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 417 | cpp | //
// test.cpp
// OBME: OBfuscated MEmory
//
// Created by Manuel Martinez-Almeida on 04/10/13.
// Copyright 2013 Manuel Martinez-Almeida. All rights reserved.
//
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "obme.h"
using namespace obme;
int main()
{
long long i = -1000;
for(; i < 100... | [
"manu.valladolid@gmail.com"
] | manu.valladolid@gmail.com |
deca0b2f5d97b4e7f116b85c43a49d435b7cc471 | 24f26275ffcd9324998d7570ea9fda82578eeb9e | /ash/system/tray/tray_utils.cc | 19eeb01541c40a9d037677c313ce0ca764919015 | [
"BSD-3-Clause"
] | 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 | 1,092 | 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 "ash/system/tray/tray_utils.h"
#include "ash/style/ash_color_provider.h"
#include "ash/system/tray/tray_constants.h"
#include "ui/gfx/font_l... | [
"rjkroege@chromium.org"
] | rjkroege@chromium.org |
ebcfbbad9945aa34d6c0c59651036202e5beb737 | 5129977ddf8314c42b41d6bd63014c4732fb924e | /0714/dp.cpp | 67bef3273950ad04995ca1a379be16c7d134d244 | [] | no_license | ysk24ok/leetcode-submissions | 516e1b6107c75867b455e5c21cc9e6ba72e5c52e | 5ba25812a74e8eb98c68a8265f8cccd4a26f3be8 | refs/heads/master | 2022-07-01T15:32:50.258102 | 2022-06-28T12:06:19 | 2022-06-28T12:06:19 | 66,719,593 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,146 | cpp | #include <algorithm>
#include <cassert>
#include <iostream>
#include <vector>
using namespace std;
class Solution {
public:
int maxProfit(vector<int>& prices, int fee) {
size_t size = prices.size();
if (size <= 1) return 0;
vector<int> buy(size);
vector<int> sell(size);
buy[0] = - prices[0] - f... | [
"yusuke.nishioka.0713@gmail.com"
] | yusuke.nishioka.0713@gmail.com |
353e68fd1d097860258eeaa7bd094dfa1ffc41e1 | 6b40e9cba1dd06cd31a289adff90e9ea622387ac | /Develop/Game/GameCommon/stdafx.h | b2a60820d874ca1bfa0aa31a1458d7f176452ef5 | [] | no_license | AmesianX/SHZPublicDev | c70a84f9170438256bc9b2a4d397d22c9c0e1fb9 | 0f53e3b94a34cef1bc32a06c80730b0d8afaef7d | refs/heads/master | 2022-02-09T07:34:44.339038 | 2014-06-09T09:20:04 | 2014-06-09T09:20:04 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 782 | h | // stdafx.h : 자주 사용하지만 자주 변경되지는 않는
// 표준 시스템 포함 파일 및 프로젝트 관련 포함 파일이
// 들어 있는 포함 파일입니다.
//
#pragma once
#ifndef _WIN32_WINNT // Windows XP 이상에서만 기능을 사용할 수 있습니다.
#define _WIN32_WINNT 0x0501 // 다른 버전의 Windows에 맞도록 적합한 값으로 변경해 주십시오.
#endif
#define WIN32_LEAN_AND_MEAN // 거의 사용되지 않는 내... | [
"shzdev@8fd9ef21-cdc5-48af-8625-ea2f38c673c4"
] | shzdev@8fd9ef21-cdc5-48af-8625-ea2f38c673c4 |
a2be4cfebcc02c6fe2a127c2cce850908cfb17a2 | f006a6dde178b6938df2535184bc2bc679cf7908 | /DataDecoder.cpp | 4e791a5b4006830462162951cbd814afa1da674d | [
"MIT"
] | permissive | ReimuNotMoe/NVITools | 3fffee4f95d19783648b91dd569556115976b1c1 | 5659996e622dfe4710ec1fb246294a4d6f5ddfea | refs/heads/master | 2020-04-07T15:28:45.221468 | 2018-11-21T07:56:22 | 2018-12-18T00:50:01 | 158,487,366 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,063 | cpp | #include <cstdio>
#include <cstdlib>
#include <cinttypes>
#include <vector>
#include <cstring>
int main(int argc, char **argv) {
int base = 10;
int i = 1;
if (argv[1]) {
if (0 == strcmp(argv[1], "--hex")) {
base = 16;
i = 2;
printf("Using hex mode.\n");
}
}
std::vector<uint8_t> buf;
for (; i<arg... | [
"34613827+ReimuNotMoe@users.noreply.github.com"
] | 34613827+ReimuNotMoe@users.noreply.github.com |
1be3d278bd3e21dc31067d6131dd49cd9ab5795c | a2bde27da5b65e500c13ff4931ef8ccea025d86c | /view_add_edit_delete/Edit.cpp | 15ec5e0390cccd98bd1be3c8f23c0d757ee47630 | [] | no_license | dzikrafathin/pengantar_algoritma_cpp | 8913c584efe6adeeca326bc621e8aa7ee4ed2f6e | 1b3ddeeaa3d926267e1df5ed85b481cb08657f44 | refs/heads/master | 2020-04-05T03:03:24.428984 | 2019-01-09T00:45:36 | 2019-01-09T00:45:36 | 156,499,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 814 | cpp | #include<iostream>
using namespace std;
int main(){
int a[5]={23,12,32,11,33};
int ubah_a, b;
int x=0;
for (int c=0; c<5; c++){
cout << "Data Array [" << c << "]: " << a[c] <<endl;
}
cout << "Masukkan Nilai Yang Akan Diubah : ";
cin >> b;
for(int i=0;i<5;i++){
... | [
"dzikrafathin@gmail.com"
] | dzikrafathin@gmail.com |
7752198aba370f9fab7e8b369621aa1a7df03841 | e62853e23bb87183850139a344ff2d0384a6021c | /2019.04.13-16-12/2019.04.13-16-12.ino | 1686cc2b7b770af027c3c33458664fa90db2556f | [] | no_license | maeng-gu/DGSW_RTOS | c8ca489fd9e7bc933c983cd6fce3edee64417620 | fcb6bb2458e3603b6d8e0a90f842fe475c6b5ed8 | refs/heads/master | 2020-05-22T15:09:59.836341 | 2019-05-13T10:53:43 | 2019-05-13T10:53:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,564 | ino | #define X_STEP_PIN 54
#define X_DIR_PIN 55
#define X_ENABLE_PIN 38
#define X_MIN_PIN 3
#define X_MAX_PIN 2
#define Y_STEP_PIN 60
#define Y_DIR_PIN 61
#define Y_ENABLE_PIN 56
#define Y_MIN_PIN 14
#define Y_MAX_PIN 15
#define Z_STEP_PIN... | [
"38284097+dltmdgh0611@users.noreply.github.com"
] | 38284097+dltmdgh0611@users.noreply.github.com |
bd2bfbcd33ce71432105daf5f6a664697761b266 | 916a61acf18417f2edafbbd5ac4e8a0da7e45f83 | /MediaReader.hpp | 5c293927e3a76c7cdf788a68505ec02b742c6040 | [] | no_license | jnhwkim/videoNet | 3861ad6ff3c19b917512cf577dd5c945fad15a27 | ee75a846f32065de7c20d54c52647f5599b2ebcc | refs/heads/master | 2020-05-27T07:07:35.431699 | 2015-06-03T08:35:08 | 2015-06-03T08:35:08 | 33,770,832 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 823 | hpp | #ifndef MEDIA_READER_H_
#define MEDIA_READER_H_
#include "opencv2/opencv.hpp"
#include "SubtitleReader.hpp"
#define DEFAULT_SUBTITLE_EXT "smi"
enum DetectorType {
TYPE_SIFT,
};
class MediaReader {
private:
string _filename;
SubtitleReader* _subtitleReader;
cv::VideoCapture _cap;
public:
~MediaReader();
MediaR... | [
"jnhwkim@gmail.com"
] | jnhwkim@gmail.com |
841103f7bb66b111a549aa34f90af6145cd7fec1 | 1449d0e1ff6342d46417f48f3d288e42b6c3a236 | /src/hxworm/HxWormAtlasReg.cpp | bb3bdad3cb633abb83d2f77be07569caa4a99f4c | [] | no_license | fjug/ZIBAmiraLocal | 493c49d4c8360dcdae9271d892f5f280554cd894 | c40519411f0b5f4052ea34d2d9e084dffcd0dd5c | refs/heads/master | 2016-09-02T05:43:30.664770 | 2014-02-07T17:51:00 | 2014-02-07T17:51:00 | 16,622,545 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 46,957 | cpp | ////////////////////////////////////////////////////////////////
//
// Do not use CVS keywords because they cause merge conflicts and make branching unnecessarily hard.
//
// // Trims vectors in a SurfaceVectorField so that all surfaces generated by Displaces along the vectors are intersection-free
//
//
//////////////... | [
"florian.jug@gmail.com"
] | florian.jug@gmail.com |
9288e8d7a8fe2815dbf117a5b26c8ce7ca82ac84 | 4f4ddc396fa1dfc874780895ca9b8ee4f7714222 | /src/xtp/Samples/UserInterface/GUI_Office11/chicdial.h | e68d697711e89ba62e7af20599545bb911b35b7d | [] | no_license | UtsavChokshiCNU/GenSym-Test2 | 3214145186d032a6b5a7486003cef40787786ba0 | a48c806df56297019cfcb22862dd64609fdd8711 | refs/heads/master | 2021-01-23T23:14:03.559378 | 2017-09-09T14:20:09 | 2017-09-09T14:20:09 | 102,960,203 | 3 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 2,470 | h | // chicdial.h : header file
//
// This file is a part of the XTREME TOOLKIT PRO MFC class library.
// (c)1998-2011 Codejock Software, All Rights Reserved.
//
// THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE
// RE-DISTRIBUTED BY ANY MEANS WHATSOEVER WITHOUT THE EXPRESSED WRITTEN
// CONSEN... | [
"utsavchokshi@Utsavs-MacBook-Pro.local"
] | utsavchokshi@Utsavs-MacBook-Pro.local |
fe9fc87950dd6085c9023bc2053339dd29d64c9b | 9adf3fc740a0b85d40a50fd1f0689b08d7809778 | /release.ino | a8d744703fc2196eca8f2c981a8ffcbfbc40448f | [] | no_license | lopesdosreis/Arduino-Mega-NFC-Ethernet-Shield | 38de9cb3c2249528aae25662963179ab135f401e | 2390bea14b3b5a675e3dacfd121ff65c8a8d5219 | refs/heads/master | 2021-01-09T06:49:39.243031 | 2015-09-05T11:58:49 | 2015-09-05T11:58:49 | 81,091,864 | 1 | 0 | null | 2017-02-06T13:51:11 | 2017-02-06T13:51:11 | null | UTF-8 | C++ | false | false | 7,567 | ino | /*
// Materials
Arduino Mega 2560 Rev3
ITEAD PN532 NFC Module
Arduino Ethernet Shield R3
Cat5e Ethernet Patch Cable (15 Feet) - RJ45 Computer Networking Cord
50 PCS White/Red/Blue/Yellow LED Electronics 5mm - 10 units
Veewon 3pcs Set Flexible 30cm Multicolored 40 Pin Male to Male,Male to Female,Female t... | [
"yasin@ergn.org"
] | yasin@ergn.org |
6822a5009233f7f4d90256c19789f9584826d5c9 | 10d82ee86e6187a4d7f132401d711714c53f8828 | /src/scripts/src/GossipScripts/Gossip_Stormwind.cpp | c7d50659ae117b89d919c62ba790437c6147b221 | [] | no_license | al3xc1985/HearthStone-Emu | 315ffcebe6dbc396874c17378a68c26ac980cb47 | 8880fdda56f1ef1a0ae7b0efb9ac22b891334654 | refs/heads/master | 2021-03-21T19:57:10.950613 | 2011-10-24T13:52:23 | 2011-10-24T13:52:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,501 | cpp | /*
* Moon++ Scripts for Ascent MMORPG Server
* Copyright (C) 2007-2008 Moon++ Team <http://www.moonplusplus.info/>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the... | [
"goodnightgm@gmail.com"
] | goodnightgm@gmail.com |
80943c437262f64b756afc7bc5e7d312bf52c9f3 | a867ea2056ae2953870f6ca92c1e9b8e0cc5c10c | /NonOffOpenFOAM/FoamCases/ppWall/2.6/p | 1d5baeb6e3339665486e6b3d6526c9a71160422a | [] | no_license | enrsanqui/OpenFOAM | ca9948b29e5753a302d9d119ca26e89ea0ef969b | 32fdcf986f00e518c303058fa30ac66293782904 | refs/heads/master | 2021-01-02T23:10:15.612823 | 2017-08-29T18:44:55 | 2017-08-29T18:44:55 | 99,481,219 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,096 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1612+ |
... | [
"enrsanqui@gmail.com"
] | enrsanqui@gmail.com | |
5b30f9330e920d001393da6f16d6be48f3492411 | 0342be286ad1d4056a33a07ac33c3336aa067856 | /addons/tm_tmf_loadouts/loadouts/generic_paramilitary_tigerstripe_m16.hpp | 0b3682464a6e609503bd7b537780adc1f140c6a6 | [] | no_license | ChrisyBGaming/1tac_misc | 45e0618c8d607722cbeef9d34dcf666f45461481 | a1b78df1f1aa6d5f41408c1e32e9435fea373727 | refs/heads/master | 2020-03-14T03:29:53.336012 | 2018-04-23T09:25:40 | 2018-04-23T09:25:40 | 131,421,310 | 0 | 0 | null | 2018-04-28T15:28:24 | 2018-04-28T15:28:24 | null | UTF-8 | C++ | false | false | 11,126 | hpp | /* assignGear specific macros */
// originally by Fingers // ????
tooltip = "Author: Bear\n\nSuitable for 1985-now, great on Tanoa.";
class baseMan {// Weaponless baseclass
displayName = "Unarmed";
// All randomized.
uniform[] = {"rhsgref_uniform_tigerstripe"};
vest[] = {};
backpack[] = ... | [
"noreply@github.com"
] | noreply@github.com |
ce2a736645ea0710c97110acfbde03d772bd0355 | f1ed26ec9331474259b11f39b1f60933118bbad4 | /DataStructures&Algorithms/SortMethods.h | 7449198d98180ed732d97a80714f1dd3e0f2b70f | [] | no_license | Alexandergape/CPP_REVIEW | 93bad9aaff6c8f93e9627cc1f92510ea50f732dd | 8bc3f27fe4a53188ca1250f04228663f77d4f2db | refs/heads/master | 2023-01-07T21:21:47.792546 | 2020-11-05T21:02:09 | 2020-11-05T21:02:09 | 287,578,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,169 | h | //
// Created by Alexander P on 20/09/10.
//
#ifndef FIRST_STEPS_WITH_C___SORTMETHODS_H
#define FIRST_STEPS_WITH_C___SORTMETHODS_H
#include "SortMethods.h"
#include "vector"
using namespace std;
template<typename E>
void QuickSort(vector<E> &elements, int first, int last) {
int i = first, j = last... | [
"alex.997.gape@hotmail.com"
] | alex.997.gape@hotmail.com |
96b2b5fa4df57771053ffdc031c8c675c7881ac0 | 6680f8d317de48876d4176d443bfd580ec7a5aef | /Header/MockPackageDataRenderingAdapter.h | 1d373df661bfe6ed1474479ae686eb40cc846f0d | [] | no_license | AlirezaMojtabavi/misInteractiveSegmentation | 1b51b0babb0c6f9601330fafc5c15ca560d6af31 | 4630a8c614f6421042636a2adc47ed6b5d960a2b | refs/heads/master | 2020-12-10T11:09:19.345393 | 2020-03-04T11:34:26 | 2020-03-04T11:34:26 | 233,574,482 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,795 | h | #pragma once
#include "IPackageDataRenderingAdapter.h"
MOCK_BASE_CLASS(MockPackageDataRenderingAdapter, IPackageDataRenderingAdapter)
{
MOCK_NON_CONST_METHOD(SetVolumeViewingType, 1, void(misVolumeViewingTypes volumeViewingType));
MOCK_NON_CONST_METHOD(ShowPackage, 7, void(std::shared_ptr<ISimpleDataPackage>, const... | [
"alireza_mojtabavi@yahoo.com"
] | alireza_mojtabavi@yahoo.com |
45e287bd2d6fb12cdec254a36661fd2b8b8aa49e | 9de0cec678bc4a3bec2b4adabef9f39ff5b4afac | /PWGLF/NUCLEX/Nuclei/NucleiPbPb/macros_pp13TeV/SystematicsTPC.cc | 7ec2f257521e46d83c2189e88198324cb03fb811 | [] | permissive | alisw/AliPhysics | 91bf1bd01ab2af656a25ff10b25e618a63667d3e | 5df28b2b415e78e81273b0d9bf5c1b99feda3348 | refs/heads/master | 2023-08-31T20:41:44.927176 | 2023-08-31T14:51:12 | 2023-08-31T14:51:12 | 61,661,378 | 129 | 1,150 | BSD-3-Clause | 2023-09-14T18:48:45 | 2016-06-21T19:31:29 | C++ | UTF-8 | C++ | false | false | 11,280 | cc | #include "src/Common.h"
#include "src/Utils.h"
using namespace utils;
#include "src/Plotting.h"
#include <map>
#include <array>
#include <vector>
#include <string>
#include <sstream>
#include <limits.h>
using std::array;
using std::vector;
using std::string;
using std::to_string;
#include <Riostream.h>
#include <TFil... | [
"luca.barioglio@cern.ch"
] | luca.barioglio@cern.ch |
864cee7cb88bcd235ebd224a18215d6a8ae4f95e | ef4b9d960357e5b4e25321f1af1624dcf2fc2a72 | /ankit/DesignPatterns/Prototype/Prototype.cpp | 7fd0a3f2c7893fe4540099b3984c64e7b6c0e120 | [
"Unlicense"
] | permissive | pombredanne/MI | 03a7670f15306a14b217730120004b5523afb28a | 64861911390d1d60bd5a8c2e2021bba042380bd6 | refs/heads/master | 2021-01-22T07:47:43.066490 | 2016-08-17T05:29:25 | 2016-08-17T05:29:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,810 | cpp | /**
* Implementation of Prototype Method
**/
#include <iostream>
#include <map>
#include <string>
using namespace std;
enum RECORD_TYPE_en
{
CAR,
BIKE,
PERSON
};
/**
* Record is the base Prototype
*/
class Record
{
public :
Record() {}
virtual ~R... | [
"srivastava.ankit.2012@gmail.com"
] | srivastava.ankit.2012@gmail.com |
247757073cf2dbbc27fc52c127cdbd89db664519 | d55d52747adfb7e8944abac10076a99553ad5f8b | /dijkstra.cpp | ba463b622539ec621079d1aaaccd839e516ea6f1 | [] | no_license | akevli/FlightPaths | 1fd181dd24fbaa0594d95c05870d2b99e4337889 | 8cef2a8e832fcdf37f923c7da944727e24255caf | refs/heads/master | 2023-02-12T19:19:33.204465 | 2021-01-10T20:39:50 | 2021-01-10T20:39:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,712 | cpp | #include "dijkstra.h"
#include <map>
#include <iostream>
vector<Vertex> Dijkstra::DijkstraSSSP(Graph& graph, Vertex s, Vertex d) {
// Initialize variables
unordered_map<Vertex, double> distances;
unordered_map<Vertex, Vertex> previous;
priority_queue<pair<Vertex, double>, vector<pair<Vertex, double>>,... | [
"akli2@illinois.edu"
] | akli2@illinois.edu |
5d46f830e48e3f71d3ce3fa5ce2c01b09493618e | b6f20766a880e04cc5d764aeade1fadab74df0bd | /cop2200-intro-to-c/_reference/lib/hw5_1.h | 04be8e4607895573060c32d8f829de50ec4f6dfa | [
"MIT"
] | permissive | chrisbcarl/FAU-Computer-Science | 0cf53b5c8bcc3e8b9f0defcbf24469460b8ce19e | 98e247bda17bad97a285c01bf2b36af07d9f4239 | refs/heads/master | 2021-05-11T03:01:22.475340 | 2019-06-30T23:22:12 | 2019-06-30T23:22:12 | 117,902,425 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,974 | h | /*******************************************************************************
Name: Christopher Carl
Z#: Z23146703
Course: Introduction to C (COP2200, 2016R)
Professor: Dr. Feng-Hao Liu
Due Date: 16.07.13
Due Time: 23:59
Total Points: 100
Assignment 5: Pointers
Description:
In this assignment, you are going to tur... | [
"chrisbcarl@outlook.com"
] | chrisbcarl@outlook.com |
41f438c3d69319ea576039930e3b23d878d042c3 | b51a16b9dd3d481f20f505ec520eac473db3fe56 | /lanqiao/training/399.cc | 8c6caf7685e87c4dfd11e2c78774098416fb2f99 | [
"MIT"
] | permissive | xsthunder/acm | 18b0d23c7456b1f57a9c68f94b8b6c0ce5580349 | 3c30f31c59030d70462b71ef28c5eee19c6eddd6 | refs/heads/master | 2021-06-03T23:52:27.140081 | 2019-05-25T05:38:49 | 2019-05-25T05:38:49 | 69,569,543 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 945 | cc | const bool TEST=1;
#include<iostream>
#include<cctype>
#include<algorithm>
#include<cstdio>
#include<cstdlib>
#include<vector>
#include<map>
#include<queue>
#include<set>
#include<cctype>
#include<cstring>
#include<utility>
#include<cmath>
#include<sstream>
#include<stack>
const int inf=0x7fffffff;
#define IF if(TEST)
... | [
"xsthunder@outlook.com"
] | xsthunder@outlook.com |
2a6ba82728426e887eae8417ac0a6b04a4c11808 | fd2a096e840f28c010a0671c4ede48451b0412fe | /readandwritetofile.cpp | 9415f27f45811a68515d26f1daeef3ef0f2225a7 | [] | no_license | erikasan/cpp | 09bf10e0e304357b6656516dc4547e0fa048560e | 412557460a6a7457b15a8890c9d7fe47f9b2b731 | refs/heads/master | 2022-03-03T23:07:06.670183 | 2019-10-19T13:35:39 | 2019-10-19T13:35:39 | 205,342,215 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 291 | cpp | #include <iostream>
#include <fstream>
using namespace std;
int main(int argc, char* argv[])
{
ifstream infile;
ofstream outfile;
char *infilename;
char *outfilename;
infilename = argv[1];
outfilename = argv[2];
outfile.open(outfilename);
outfile.close();
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
09f7de592a99dcff718727864ec5c2a2ecfa7a71 | 54c367a24a2f4617de12cef8a75d8196cfd4b84d | /src/spikes/spike_gpio_pins.cpp | 6f6ed86acc9aa32dc8f60766e700d62fa444d98d | [] | no_license | bvujovic/Vehicle2 | 861c295c493862fd23864e2822c1027e1c40e377 | 465dc39d16d8b0d209893b1d28871b67323440ea | refs/heads/master | 2022-12-02T03:41:59.285839 | 2020-07-29T05:28:18 | 2020-07-29T05:28:18 | 245,968,382 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 494 | cpp | //* Testiranje GPIO pinova koji osim D0-D9
//* pinovi uspesno testirani sa digitalWrite: 1, 3, 10
//* detaljnija prica o pinovima na ESP-u: http://www.thesmarthomehookup.com/post-320/
//* i https://www.instructables.com/id/NodeMCU-ESP8266-Details-and-Pinout/
// #include <Arduino.h>
// const int pin = D5;
// void set... | [
"bv.net@outlook.com"
] | bv.net@outlook.com |
b4e43345317e04bc69f9878992a7e482e51ccc34 | f93ec09016e6ff520f5b4a72d2ceda9706c2bb24 | /Header/Grid.cpp | 3a137b925d7db8a5e1d0f7fead28ab28e0b5e89c | [] | no_license | wilson27561/Cell_Movement | b1c9667f48eabf2db33a8ddd18481d4fce8ed4b6 | 194db360a6b90c6e082009033e471ea655fc5ed5 | refs/heads/master | 2023-07-21T01:27:28.822875 | 2021-09-01T01:26:11 | 2021-09-01T01:26:11 | 365,968,812 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 585 | cpp | //
// Created by Wilson on 2021/5/17.
//
#include "Grid.h"
int Grid::getRowIndx() const {
return rowIndx;
}
void Grid::setRowIndx(int rowIndx) {
Grid::rowIndx = rowIndx;
}
int Grid::getColIndx() const {
return colIndx;
}
void Grid::setColIndx(int colIndx) {
Grid::colIndx = colIndx;
}
int Grid::get... | [
"wilson27561@gmail.com"
] | wilson27561@gmail.com |
02ddf280f5d4256bb00ba7870b375273500543dd | 33da785d4c9f5d164952bf9240f32efb35f6e40d | /AudioManager.h | c33a566fffc57c1edfa146b1d20abb3141b57849 | [] | no_license | truman0728/rambo2017 | ee96af2920d32f7a3d67b8116abe67a80553cfe3 | da73efaa1be97e88890736c269bfdfc0c984df96 | refs/heads/master | 2021-06-14T19:09:58.905964 | 2017-02-23T04:49:23 | 2017-02-23T04:49:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 416 | h | #ifndef __AUDIOMANAGER_H__
#define __AUDIOMANAGER_H__
#include "cocos2d.h"
#include <string>
#include "AudioEngine.h"
USING_NS_CC;
using namespace std;
//using namespace experimental;
class AudioManager
{
public:
AudioManager();
~AudioManager();
static void playSound(string keysound);
static int playSoundForeve... | [
"mrdngoc727@gmail.com"
] | mrdngoc727@gmail.com |
9f894d815d966796805d66ffdc7f8858d29f137f | 6724bacab72c527a6c1933aca2214a0402ca329c | /apps/output_charm/gm_graph/graph500/splittable_mrg.hpp | df1ce6efc5bb22e0f08af5feeb73d1c2d82fc906 | [] | no_license | alexfrolov/Green-Marl | ec08f0f509c35f22a3a0ff54b4f5fdaa784a8f72 | a36f7d3ec1684b361e1dc2cc85c282cbd3717e8f | refs/heads/master | 2021-01-22T14:39:25.182362 | 2017-03-26T03:31:03 | 2017-03-26T03:31:03 | 18,911,636 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,692 | hpp | /* Copyright (C) 2010 The Trustees of Indiana University. */
/* */
/* Use, modification and distribution is subject to the Boost Software */
/* License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at */
/* http:... | [
"frolov@dislab.org"
] | frolov@dislab.org |
0967e9ec70c9cbc050e221dba6a07e20fb6389cd | 205a8492aa7c5d8f03a06483ca721e730b3911e7 | /Engine/HeapManager.cpp | 786578e494af3e11d10fd7721bd94a4304e6949f | [] | no_license | HitheshwarMittapelly/GameEngine | a14ceff683a4c137977731aea31c313a713e4305 | f660de3e32e4668acf254a2c9d31acf41e605f9f | refs/heads/master | 2021-03-29T00:23:58.013411 | 2020-03-17T07:49:02 | 2020-03-17T07:49:02 | 247,908,138 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,011 | cpp | #include "HeapManager.h"
#include <cstdint>
#include <assert.h>
#include <iostream>
#include "ConsolePrint.h"
using namespace std;
HeapManager* HeapManager::createHeapManager(void * i_pMemoryBlock, size_t size, unsigned int numOfdDescriptors)
{
static HeapManager Instance;
Instance.heapMemory.startAddress = reinter... | [
"hitheshwar.m@gmail.com"
] | hitheshwar.m@gmail.com |
2ac024ba9403c0eaa902c185db724ff7c722b8d0 | 36184239a2d964ed5f587ad8e83f66355edb17aa | /.history/hw2/Counter_20211010064818.h | 6fb939317d887449b4c204c280040e98d49c5dab | [] | no_license | xich4932/csci3010 | 89c342dc445f5ec15ac7885cd7b7c26a225dae3e | 23f0124a99c4e8e44a28ff31ededc42d9f326ccc | refs/heads/master | 2023-08-24T04:03:12.748713 | 2021-10-22T08:22:58 | 2021-10-22T08:22:58 | 415,140,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,048 | h | #ifndef COUNTER_h
#define COUNTER_h
#include<iostream>
#include<vector>
#include<map>
//template <typename T> class Counter;
template <typename T> class Counter {
public:
Counter(){};
Counter(std::vector<T> vals){
for(int i = 0; i < vals.size(); i++){
map_counter.inser... | [
"70279863+xich4932@users.noreply.github.com"
] | 70279863+xich4932@users.noreply.github.com |
4ddca8b346c4fd4f090438854cc3734df59f87a4 | c13380cdaecc816e8f1f542485cd15262e056d6f | /src/qclavier.cpp | 32bfe1dff867842aa0eeb111653715015521ec2a | [] | no_license | hanlinAumonde/projet-comput-Science | e6836db7aac8e3b5f94f9e03d32bba569ae7394a | d42aca53ad7b7841e3bea852cd9244dc1ff01084 | refs/heads/main | 2023-05-27T17:27:05.406676 | 2021-05-26T13:07:13 | 2021-05-26T13:07:13 | 371,037,555 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,024 | cpp | #include <cmath>
#include "qclavier.h"
QClavier::QClavier(QCalculateur &calculateur)
: calculateur_{calculateur},
sizeButtonPolicy_{QSizePolicy::Minimum, QSizePolicy::Minimum}
{
setFixedWidth(700);
sizeButtonPolicy_.setHorizontalStretch(0);
sizeButtonPolicy_.setVerticalStretch(0);
sizeButto... | [
"84852155+hanlinAumonde@users.noreply.github.com"
] | 84852155+hanlinAumonde@users.noreply.github.com |
7c247ecd702c765c9557eddf04302f863efe579e | 3fe2c64583f85a9fea45faee5e062f9fe656c6ae | /gui/MainFrm.cpp | a1bb7b57916f033c27694e8ca2ece45ea762276d | [] | no_license | manageryzy/cuda-graphic | 33fcfcde74ebf0c038eae09f3899045234018dd4 | 0a0e6d9f77532f3555870f6a278151dbc5ae596c | refs/heads/master | 2021-01-12T12:12:21.514499 | 2016-11-12T09:33:39 | 2016-11-12T09:33:39 | 72,357,961 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,720 | cpp | // This MFC Samples source code demonstrates using MFC Microsoft Office Fluent User Interface
// (the "Fluent UI") and is provided only as referential material to supplement the
// Microsoft Foundation Classes Reference and related electronic documentation
// included with the MFC C++ library software.
// License ... | [
"manageryzy@gmail.com"
] | manageryzy@gmail.com |
f0c8d08fff6063814c8f5fa4d48b10b130be8f7a | 45a7aa9699b573bfe8d65ff7b981bd8ceca3482d | /nodo_t.cpp | 605d8686e98f4cbc7dc69852aa5f4bc106ffe8ed | [] | no_license | abernalf/prct_aeda | 46e8b51760aaac9d86652e0e1d8e9aa08cc4b7f4 | 37ee204a5f355ce91492c06e3f675face53b79e5 | refs/heads/master | 2023-04-03T09:20:53.363344 | 2016-02-25T16:01:19 | 2016-02-25T16:01:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 571 | cpp | #include "nodo_t.hpp"
#include <iostream>
#include <cstdio>
using namespace std;
namespace AEDA {
nodo_t::nodo_t() :
next_(NULL)
{}
nodo_t::~nodo_t(void) {}
void nodo_t::set_next(nodo_t* next)
{
next_ = next;
}
nodo_t* nodo_t::get_next(void) const
{
return next_;
}
void nodo_t::set_prev... | [
"chinegua@El-Chinegua-Mac.local"
] | chinegua@El-Chinegua-Mac.local |
a0cd7661d180b9d54a4a956436fe46a62b06a5b9 | fc97cb15ae3008c9495fe8414ed2adc1d9e54d3e | /build-Mainwindow-Desktop_Qt_5_3_MinGW_32bit-Debug/debug/moc_hall.cpp | 17fbe289f4b0bcce77afbf8946fe4acdb13d7c38 | [] | no_license | Drakenhielm/Biobokningssystem | dd1ae92d24d1e1709390a9babfb9082ecd677337 | facfed2c18678398366b4b00dc59ebc62b5b08de | refs/heads/master | 2021-01-25T10:44:08.571269 | 2014-12-18T10:53:47 | 2014-12-18T10:53:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,147 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'hall.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
**
** WARNING! All changes made in this file will be lost!
****************************************************************... | [
"fbrolund@gmail.com"
] | fbrolund@gmail.com |
6047415ea6f64535cad334200876087a8ccade66 | b6c204fe2b878c1acbad669d7deb331022ba5fb2 | /YuvLibrary/src/main/cpp/source/row_common.cc | d9efe01579d870b6f8d1467181dc9bbf5d2ef7d9 | [] | no_license | erleizh/libyuv-for-android | ee3f58d7ab026399fd6c5954982aa1ce4a541560 | 242d3a418bed1d647ec3f60e6da8f600506cffd9 | refs/heads/master | 2021-09-22T22:30:52.106916 | 2018-09-18T03:20:04 | 2018-09-18T03:20:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 87,523 | cc | /*
* Copyright 2011 The LibYuv 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 contributing p... | [
"lllemail@foxmail.com"
] | lllemail@foxmail.com |
d8695a03f1fab5956c36f7b04946ad3af2c44a6b | fdbfbcf4d6a0ef6f3c1b600e7b8037eed0f03f9e | /math/test/soft_min_max_test.cc | 0a06aab09c27602da320fa3e71741c6a7329476a | [
"BSD-3-Clause"
] | permissive | RobotLocomotion/drake | 4529c397f8424145623dd70665531b5e246749a0 | 3905758e8e99b0f2332461b1cb630907245e0572 | refs/heads/master | 2023-08-30T21:45:12.782437 | 2023-08-30T15:59:07 | 2023-08-30T15:59:07 | 16,256,144 | 2,904 | 1,270 | NOASSERTION | 2023-09-14T20:51:30 | 2014-01-26T16:11:05 | C++ | UTF-8 | C++ | false | false | 3,920 | cc | #include "drake/math/soft_min_max.h"
#include <gtest/gtest.h>
#include "drake/common/autodiff.h"
#include "drake/common/test_utilities/eigen_matrix_compare.h"
namespace drake {
namespace math {
GTEST_TEST(SoftOverMax, TestDouble) {
const std::vector<double> x{{1.0, 2.0, 3.0, 1.5, 2.9, 2.99}};
double alpha = 1;
... | [
"noreply@github.com"
] | noreply@github.com |
2d1026b0e5c80f943912e97075f7c51e4c4773b6 | 85f5e869641cf533f2d0e786275d96d5ae90da61 | /TaskShiftUtils.h | eae4e4a48c47d4fd8043af1decbfef341666b525 | [] | no_license | derekwaters/taskshifter-v1 | e7aad4046d236a1d4376ef25141f452de2e1fb0d | 9b965dd504303cbd2fea2d13c63949e8afecb734 | refs/heads/master | 2021-01-13T01:42:15.988693 | 2013-03-22T11:48:40 | 2013-03-22T11:48:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 789 | h | #ifndef TASKSHIFTUTILS_H
#define TASKSHIFTUTILS_H
class CTaskShiftUtils
{
public:
static CString ValidatePath(LPCTSTR apszInputPath);
static CString GetFilePath(LPCTSTR apszFullPath);
static CString GetAppPath();
static CString GetCurrentPath();
static CString BrowseForFile(CWnd* apParentWnd, bool abOpenFileDialo... | [
"derek@frisbeeworld.com"
] | derek@frisbeeworld.com |
8216d152e8c35619945672f6ebc32be4c01fba00 | 208265e0ec0fab78ec9ea048e7b042b9142cfab0 | /delay.hh | a069586d2090918def48876b314da041037e74c4 | [
"0BSD"
] | permissive | aicodix/dsp | fcf6bb719b7c91c15bf523933aa4c924faed9239 | a53b33587e820b65e9c4463adef238a9304fd5e7 | refs/heads/master | 2023-05-25T09:38:02.817259 | 2023-04-17T08:36:04 | 2023-04-17T08:36:04 | 123,578,675 | 29 | 12 | null | null | null | null | UTF-8 | C++ | false | false | 404 | hh | /*
Digital delay line
Copyright 2020 Ahmet Inan <inan@aicodix.de>
*/
#pragma once
namespace DSP {
template <typename TYPE, int NUM>
class Delay
{
TYPE buf[NUM];
int pos;
public:
Delay(TYPE init = 0) : pos(0)
{
for (int i = 0; i < NUM; ++i)
buf[i] = init;
}
TYPE operator () (TYPE input)
{
TYPE tmp = bu... | [
"inan@aicodix.de"
] | inan@aicodix.de |
98abad7d9c48b8bd6530f0a2ced9fcf1f205fff3 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/squid/gumtree/squid_patch_hunk_1193.cpp | 78dbb1e949e8994c9d35f5aa01103e3afe2cd23e | [] | 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,116 | cpp | }
static void
statStoreEntry(MemBuf * mb, StoreEntry * e)
{
MemObject *mem = e->mem_obj;
- mb->Printf("KEY %s\n", e->getMD5Text());
- mb->Printf("\t%s\n", describeStatuses(e));
- mb->Printf("\t%s\n", storeEntryFlags(e));
- mb->Printf("\t%s\n", e->describeTimestamps());
- mb->Printf("\t%d locks... | [
"993273596@qq.com"
] | 993273596@qq.com |
8be0dec714b0c327b0543c89cd3ffa770b9f2d43 | 6d54a7b26d0eb82152a549a6a9dfde656687752c | /src/lib/dnssd/tests/TestIncrementalResolve.cpp | 2791631a32e8a0901a2983ae5cccca05509f6fc9 | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | project-chip/connectedhomeip | 81a123d675cf527773f70047d1ed1c43be5ffe6d | ea3970a7f11cd227ac55917edaa835a2a9bc4fc8 | refs/heads/master | 2023-09-01T11:43:37.546040 | 2023-09-01T08:01:32 | 2023-09-01T08:01:32 | 244,694,174 | 6,409 | 1,789 | Apache-2.0 | 2023-09-14T20:56:31 | 2020-03-03T17:05:10 | C++ | UTF-8 | C++ | false | false | 18,611 | cpp | /*
*
* Copyright (c) 2021 Project CHIP 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... | [
"noreply@github.com"
] | noreply@github.com |
9a99e2c4e30a629b572f46f7d71137294e9b634c | 208d7311c5e08388958bdb7fdd3bf23ca6f894fe | /Codeforces AC Solutions/1113A.cpp | 65cc1f7f9b4171a510da5890ff48b9a5674c51a6 | [] | no_license | krashish8/Online-Judge-Solutions | 1aeed9c5feccca777217bdc9cd4abeff75084f41 | ed472631b45f1d3e57a6a499579971db19c0385b | refs/heads/master | 2020-04-29T22:19:23.996456 | 2019-06-07T03:31:20 | 2019-06-07T03:31:20 | 176,443,587 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,348 | cpp | /*
Problem Name: A - Sasha and His Trip
Problem ID: 1113A
Problem URL: https://codeforces.com/contest/1113/problem/A
Author: Ashish Kumar (ashishkr23438)
Solution ID: 50006158
Solution Time: 2019-02-16 19:54:56
Language: GNU C++17
Time consumed: 31 ms
Memory consumed: 0 KB
*/
#include<bits/stdc++.h>
using namespace std... | [
"ashishkr351@gmail.com"
] | ashishkr351@gmail.com |
345f9d2205f39a921f609dff943dff41193eda27 | efc4772a909c360a5c82a80d5bda0971415a0361 | /core/lib_rtsp/liveMedia/H264or5VideoRTPSink.cpp | 7a9ea84ff18a0cddaee6205e2b68391779d82eac | [] | no_license | jasonblog/RTMPLive | 7ce6c9f950450eedff21ebae7505a62c9cb9f403 | 92a018f50f7df19c255b106dc7f584b90f1fe116 | refs/heads/master | 2020-04-22T01:31:04.504948 | 2019-02-13T05:30:19 | 2019-02-13T05:30:19 | 170,016,488 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,632 | cpp | #include "H264or5VideoRTPSink.hh"
#include "H264or5VideoStreamFramer.hh"
class H264or5Fragmenter : public FramedFilter
{
public:
H264or5Fragmenter(int hNumber, UsageEnvironment& env, FramedSource* inputSource,
unsigned inputBufferMax, unsigned maxOutputPacketSize);
virtual ~H264or5Fragment... | [
"jason_yao"
] | jason_yao |
a6d90a13ef70e1e51c02115faf743f817d533a55 | be43f5d4d9dd8afa57847248ccdd019dcf39f4be | /Inverse Kinematics/Inverse Kinematics/IK.cpp | 52d7528d8c9c747512c53a3609841abf0a79d2c2 | [] | no_license | xxie5/cs184 | 469bd0a64bfc201a993dfd9ac50a65a66fd599d5 | 143a765d28283a69cebecc4479d23cf26046c1b3 | refs/heads/master | 2020-05-19T11:16:08.002158 | 2013-12-03T05:35:25 | 2013-12-03T05:35:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 55 | cpp | #include "IK.h"
IK::IK(void)
{
}
IK::~IK(void)
{
}
| [
"tobbis.follan@gmail.com"
] | tobbis.follan@gmail.com |
0d5ef3777581a9509ec757960e07ad55fd17d5a2 | c02e6a950d0bf2ee8c875c70ad707df8b074bb8e | /build/Android/Debug/bimcast/app/src/main/include/Uno.Text.UTF8Encoding.h | 4c63b93ff6bb65bf6dcc7853ea951d6404e12a13 | [] | no_license | BIMCast/bimcast-landing-ui | 38c51ad5f997348f8c97051386552509ff4e3faf | a9c7ff963d32d625dfb0237a8a5d1933c7009516 | refs/heads/master | 2021-05-03T10:51:50.705052 | 2016-10-04T12:18:22 | 2016-10-04T12:18:22 | 69,959,209 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 814 | h | // This file was generated based on C:\ProgramData\Uno\Packages\UnoCore\0.35.8\Source\Uno\Text\$.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Text.Encoding.h>
namespace g{namespace Uno{namespace Text{struct Decoder;}}}
namespace g{namespace Uno{namespace Text{struct... | [
"mabu@itechhub.co.za"
] | mabu@itechhub.co.za |
07503d9f3e02a5e2ae0b987b99d0b48589e89af5 | d2249116413e870d8bf6cd133ae135bc52021208 | /Ultimate TCP-IP/ActiveX/utftp/MarshalEvents.cpp | de869dec34c608b8655d51714825711680f4685f | [] | no_license | Unknow-man/mfc-4 | ecbdd79cc1836767ab4b4ca72734bc4fe9f5a0b5 | b58abf9eb4c6d90ef01b9f1203b174471293dfba | refs/heads/master | 2023-02-17T18:22:09.276673 | 2021-01-20T07:46:14 | 2021-01-20T07:46:14 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,096 | cpp | // =================================================================
// Ultimate TCP-IP v4.2
// This software along with its related components, documentation and files ("The Libraries")
// is © 1994-2007 The Code Project (1612916 Ontario Limited) and use of The Libraries is
// governed by a software license agreem... | [
"chenchao0632@163.com"
] | chenchao0632@163.com |
8a8fa90787cdc0ad65ff5e85bd239abcf432e243 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /content/common/dom_storage/dom_storage_map.cc | 0a6b0176a982782fd1472f607f811dd6c183c3fe | [
"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 | 6,703 | cc | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/common/dom_storage/dom_storage_map.h"
#include "base/logging.h"
namespace content {
namespace {
size_t size_in_memory(const base::st... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
cf3d056d77375b035a996ed2903853b3f0b37263 | 37345f863fd417e122a66fcb841ff88c7405c66a | /OrcsandTrolls/OrcsandTrolls/Character .cpp | 79c57b1cfd2c196ed7e66dae61a01d67304d88cc | [] | no_license | davemau51074/Orcs-Vs-Trolls | f25bb2cc0707af96932fe34704c43137f9b069ca | 63cd8431fa1619a075b35f80cd22f13201982c22 | refs/heads/master | 2021-01-12T03:00:25.914715 | 2017-01-05T21:04:46 | 2017-01-05T21:04:46 | 78,146,895 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 545 | cpp | #include <iostream>
#include "Troll.h"
#include "Orc.h"
#include "Character.h"
using namespace std;
Character::Character()
{
float health = 100;
float strength = 100;
float magic = 100;
float mana = 100;
}
void Character::sayStats()
{
cout << "Stats for your Enemy are :" << std::endl;
cout << "Strength:"<< s... | [
"david o gorman"
] | david o gorman |
e793ddd3e5ad8514e0785cc59611d595650a6e64 | 611d8dff7e268a212a04f775932adfaafdbded6f | /lab_heaps/heap.cpp | 6141cdc2189809c2aa37ada35ec261193f2e67c1 | [] | no_license | dkaraca/past-projects | 24992ee69e49e6892ff76b1aa6a527d95fbf8343 | a0224a84477e49c0469adcbe6fceab8241e027c3 | refs/heads/master | 2021-01-25T07:55:09.205410 | 2017-08-01T20:14:39 | 2017-08-01T20:14:39 | 93,686,262 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,952 | cpp | /**
* @file heap.cpp
* Implementation of a heap class.
*/
#include <math.h>
template <class T, class Compare>
size_t heap<T, Compare>::root() const {
/// @todo Update to return the index you are choosing to be your root.
return 1;
}
template <class T, class Compare>
size_t heap<T, Compare>::leftChild( size_... | [
"noreply@github.com"
] | noreply@github.com |
8c9e3b27a390bc095d47189ff81fcc54ad69e350 | da544eaeed8fe21303f90fdfdb2de5ee46dc64f0 | /codeforces/cf_educational_30/d.cpp | de1f674e4838f15681e7337db996989acd5e9d64 | [] | no_license | hasan-kamal/Competitive-Programming | 7dc1f0d05edfe1611e408e31c8fae83bc79eac93 | aeb20b5e93743579e3f4a91ca1885835cb6ee433 | refs/heads/master | 2023-08-08T22:24:08.763615 | 2023-07-30T04:12:23 | 2023-07-30T04:12:23 | 139,876,312 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,069 | cpp | /*
@author hasankamal
*/
#include <iostream>
#include <vector>
#define pb push_back
using namespace std;
typedef vector<int> vi;
vi make_seq(int s, int e){
vi ans;
for(int i = s; i <= e; i++)
ans.pb(i);
return ans;
}
vi get_valid_perm(int s, int e, int k, int indent = 0){
// string sp = "";
// for(int t = ... | [
"hasankamal007@gmail.com"
] | hasankamal007@gmail.com |
82db3c81a825a9aef0c764a246022a8feab5a10b | b3037f52eefe799d552439683f6858b32cabbf6f | /Doorbell.ino | 85257e4a6cbc2e350ba0c5d7aaf1d60f46701138 | [] | no_license | sofwona/bell_project | da1bad99885953bf2a4e5c30b14d883887b1788a | 73c5a910933ec269b3269b66d5a28489a9d0802d | refs/heads/master | 2021-01-18T15:56:21.695980 | 2017-03-31T11:40:23 | 2017-03-31T11:40:23 | 86,696,881 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,889 | ino | #define BLYNK_PRINT Serial
#include <SPI.h>
#include <Ethernet.h>
#include <BlynkSimpleEthernet.h>
#include <SimpleTimer.h>
//You should get Auth Token in the Blynk App
//Go to the Project Settings (nut icon)
char auth[]= "e91c67ddbfa5487b8d055427dbe7608f";
/*IPAddress server_ip (46, 101, 143, 255);
byte arduino_mac[... | [
"noreply@github.com"
] | noreply@github.com |
338f0b79eb39d233f6e10c4693354659d5f42d65 | 1cb73a0dece5dc21e8e7e4f88f96d1ad9e92da1a | /thread/thread_mutex.cpp | b4fbcb0edf12efe78e72e63477ece73df21fc9be | [] | no_license | keineahnung2345/cpp-code-snippets | c2af1c7eaaddc2f0c262022743f6d42fec7fede4 | d2b48129f2c1bae1940a213517bfa3597c802aee | refs/heads/master | 2023-08-16T17:13:55.414432 | 2023-08-16T02:07:24 | 2023-08-16T02:07:24 | 160,354,272 | 52 | 16 | null | null | null | null | UTF-8 | C++ | false | false | 1,526 | cpp | #include <iostream>
//https://kheresy.wordpress.com/2012/07/11/multi-thread-programming-in-c-thread-p2/
#define LINUX
//MODE 1: no lock, MODE 2 and 3 : two different way of using lock
#define MODE 1
#ifdef LINUX
#include <thread>
#include <mutex>
using namespace std;
#else
#include "mingw-std-threads... | [
"noreply@github.com"
] | noreply@github.com |
36bacc6f49b0d2349d56de1bde1c4197050de2e0 | ae956d4076e4fc03b632a8c0e987e9ea5ca89f56 | /SDK/TBP_UI_SystemMenuAudioSettings_classes.h | 53e48227edfd8599f314ce68cb5e90c0e79f8457 | [] | no_license | BrownBison/Bloodhunt-BASE | 5c79c00917fcd43c4e1932bee3b94e85c89b6bc7 | 8ae1104b748dd4b294609717142404066b6bc1e6 | refs/heads/main | 2023-08-07T12:04:49.234272 | 2021-10-02T15:13:42 | 2021-10-02T15:13:42 | 638,649,990 | 1 | 0 | null | 2023-05-09T20:02:24 | 2023-05-09T20:02:23 | null | UTF-8 | C++ | false | false | 6,852 | h | #pragma once
// Name: bbbbbbbbbbbbbbbbbbbbbbblod, Version: 1
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//-------------------------------------------... | [
"69031575+leoireo@users.noreply.github.com"
] | 69031575+leoireo@users.noreply.github.com |
513e3fe931ce4614f5cdfab04077a5c2e7e53c5a | 2710157eabaa334c9582152d5e5087ba87876638 | /include/Circle.h | 1379b0ab4d0a872c4135df9f827ff723f273b2e6 | [] | no_license | GNGenesis/Lucity | f4fed328fb2b65f18a68ac6cc2528220fb1d97d8 | 03fa5cf930ba0ad9157250477f4072d5f6868c33 | refs/heads/master | 2020-03-18T07:24:06.006109 | 2018-07-10T21:07:11 | 2018-07-10T21:07:11 | 134,450,080 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 382 | h | #ifndef CIRCLE_H_
#define CIRCLE_H_
#include "Vec2.h"
class Circle {
public:
float x;
float y;
float r;
Circle();
Circle(float x, float y, float r);
~Circle();
void SetCenter(float x, float y);
void SetCenter(Vec2 pos);
void SetRadius(float r);
bool Contains(float a, float b);
bool Conta... | [
"gabriel_halabi@hotmail.com"
] | gabriel_halabi@hotmail.com |
19cdae3ddaade8780cefd30679c0830dcf08bb7d | 540caabe83af65d221fecf4fd4cebe17412ea37d | /TinyGame/Cantan/CantanStage.h | cc90236ca1c1e50a68a05126bd75f3375b02e168 | [] | no_license | rodrigobmg/GameProject | 939b54d1455bb1ece555a3a9e377216ca7a69c78 | 80c7df303406e72ea2794e323f027f8fb83c6162 | refs/heads/master | 2020-04-27T19:33:45.861972 | 2019-03-02T09:54:46 | 2019-03-02T09:54:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,652 | h | #include "StageBase.h"
#include "CantanLevel.h"
#include "RenderUtility.h"
namespace Cantan
{
class LevelStage : public StageBase
{
typedef StageBase BaseClass;
public:
LevelStage(){}
virtual bool onInit()
{
::Global::GUI().cleanupWidget();
mCellManager.buildIsotropicMap( 4 );
restart();
retu... | [
"HiggsLin@gmail.com"
] | HiggsLin@gmail.com |
fda74156492b58d7d73b64f4f06c42332456b0a7 | 4e9e492e752e43400f0b728f854f842d13ba4bad | /CodeForces/1065G.cpp | d76596fe8f988d704a2172f3747ba01d5a8aa2b7 | [] | no_license | jocagos/competitive | 0ac497b7e6c30e548e0d7e298df0f2892e7e03b1 | 89c8467b56d4be10c80189b154e2edadfb6a9f3f | refs/heads/master | 2021-07-05T23:53:23.607682 | 2021-05-27T22:17:13 | 2021-05-27T22:17:13 | 84,216,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,352 | cpp | #include <bits/stdc++.h>
#include <ext/pb_ds/tree_policy.hpp>
#include <ext/pb_ds/trie_policy.hpp>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/priority_queue.hpp>
using namespace std;
using namespace __gnu_pbds;
typedef long long ll;
typedef unsigned long long i64;
typedef long double ld;
... | [
"zagerer@gmail.com"
] | zagerer@gmail.com |
a67cd7a78307d22bc91e1668c16ba23ce2457fb7 | 820960e798dd51a21b7304b44a61ca7018e266ed | /PSL/variable.h | 948a2b9e03c74084812ef62330d3cf8bf2e4aa3e | [] | no_license | Silica/compiler | 6dda361e4a6252191aaaefc20e6fbf89e342d311 | 1a9c4ca3a8f52aa46786a646dd9cfa3937556468 | refs/heads/main | 2022-10-31T15:05:44.558945 | 2012-06-19T10:27:40 | 2012-06-19T10:27:40 | 4,711,315 | 2 | 1 | null | null | null | null | SHIFT_JIS | C++ | false | false | 16,155 | h | #ifdef PSL_DEBUG
#define PSL_DUMP(x) void dump x
#else
#define PSL_DUMP(x)
#endif
#ifdef PSL_THREAD_SAFE
#undef PSL_USE_VARIABLE_MEMORY_MANAGER
#undef PSL_SHARED_GLOBAL
#define PSL_CONST_STATIC const
#else
#define PSL_CONST_STATIC const static
#endif
#ifdef PSL_USE_VARIABLE_MEMORY_MANAGER
#define PSL_MEMORY_MANA... | [
"Puro@puro001.(none)"
] | Puro@puro001.(none) |
9ba296c858546adf86963499e7b88a1c73b45865 | d1cf34b4d5280e33ebcf1cd788b470372fdd5a26 | /codeforces/ac/0/055/E.cpp | c30b5f9f4eea6869f5d000fcfb62231269b27a2f | [] | no_license | watashi/AlgoSolution | 985916ac511892b7e87f38c9b364069f6b51a0ea | bbbebda189c7e74edb104615f9c493d279e4d186 | refs/heads/master | 2023-08-17T17:25:10.748003 | 2023-08-06T04:34:19 | 2023-08-06T04:34:19 | 2,525,282 | 97 | 32 | null | 2020-10-09T18:52:29 | 2011-10-06T10:40:07 | C++ | UTF-8 | C++ | false | false | 1,234 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
struct Point {
long long x, y;
Point() { }
Point(long long x, long long y) : x(x), y(y) { }
};
Point operator-(const Point& lhs, const Point& rhs) {
return Point(lhs.x - rhs.x, lhs.y - rhs.y);
}
long long operator*(const Point& lhs, const Point& rhs)... | [
"zejun.wu@gmail.com"
] | zejun.wu@gmail.com |
f3d955c0f791cb6016ffe882d95928b6d3f7c207 | 34bcb3c7d3fa1ccd42fb573ab282868d19e08ecb | /SDK/SoT_BP_msc_hurdygurdy_smp_01_a_Wieldable_classes.hpp | 57a0be58dddf1429265bbfc7ddf6d611124b4743 | [] | no_license | Rioo-may/SoT-SDK | 7da49ae8aaabb833a92f1b7ec60c9aadc48e0ca2 | 178f6f4ea2670a8a2239f20ee18e0d548c586fe2 | refs/heads/master | 2023-01-03T08:42:52.472446 | 2020-11-01T23:09:33 | 2020-11-01T23:09:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 814 | hpp | #pragma once
// Sea of Thieves (2.0) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_BP_msc_hurdygurdy_smp_01_a_Wieldable_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------... | [
"igromanru@yahoo.de"
] | igromanru@yahoo.de |
3ce3055ad8ba2dc3eb516da82ae8600af4a77b8f | 24f3b4653e796bc5502dddf759980793471ba642 | /Experis/C++/ExceptionHandler/TException_t.h | d1fefae5aea61b7653d635c845a14637a9b04b7c | [] | no_license | madmandidj/github_work | 286ccc1df71f8306f54e285ff9cc9c0cff9f5968 | f2f5779d8398fa60466ab2ae25fc02b157699074 | refs/heads/master | 2018-12-16T20:15:16.867844 | 2018-10-03T19:58:25 | 2018-10-03T19:58:25 | 116,257,701 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,700 | h | #ifndef __TEXCEPTION_T_H__
#define __TEXCEPTION_T_H__
#include <iostream>
#include <string>
/********************************************************************************
Test for this file is included in MemoryManager exercise for function SetPosition
*************************************************************... | [
"madmandidj@gmail.com"
] | madmandidj@gmail.com |
90f8170ae4f3b7b7bbd9e2b47c380fda0909e145 | 384d1b5e6a63ad656ba6ee5ed790d4a84bf5c7d3 | /src/Sensor/GenericVoltage.h | cf95fcc62dafb12796ebef0e47438258c8bf3fef | [
"MIT"
] | permissive | kalmanolah/kalmon-fw | 2069932f3e7dc2823a49cae54745706ddc1a008d | 382be821afa3c1e4f6e0b93c4d85fa870550a20b | refs/heads/master | 2020-06-02T14:43:45.913851 | 2015-09-17T20:56:06 | 2015-09-17T20:56:06 | 28,712,111 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 768 | h | /**
* Generic voltage sensor.
*/
#ifndef generic_voltage_h
#define generic_voltage_h
#include "GenericAnalogSensor.h"
/*
* GenericVoltage
*
* A class that is in charge of managing a relatively generic voltage sensor.
*/
class GenericVoltage: public GenericAnalogSensor {
protected:
uint8_t sample_co... | [
"hello@kalmanolah.net"
] | hello@kalmanolah.net |
2d4be5bd7e7cfb8ad62fbcd654eb9ea5bfddf482 | 98410335456794507c518e361c1c52b6a13b0b39 | /sprayMASCOTTELAM2/0.23/dQ | 4326d3a6a7d175e4cf72c5d9d46fd60833becf81 | [] | no_license | Sebvi26/MASCOTTE | d3d817563f09310dfc8c891d11b351ec761904f3 | 80241928adec6bcaad85dca1f2159f6591483986 | refs/heads/master | 2022-10-21T03:19:24.725958 | 2020-06-14T21:19:38 | 2020-06-14T21:19:38 | 270,176,043 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,559 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.0 |
... | [
"sebastianvi26@gmail.com"
] | sebastianvi26@gmail.com | |
a66a37422a578e337e024c8acebf9af460266736 | ec4778a5e799888bcc6c4b9355b7d4577f7a591c | /3_Semestr/GameOfLife/Rule1.h | 9b4ecf20d9ca41ca0e16bf9ff36c39b5eb58971e | [] | no_license | Cristina-F/16212_Fefelova | ec9ea4f4c9ff237daf927ccf8807e7c3f122ba91 | 2826afd6fe1062bb02ce925cc9a483583cdd692b | refs/heads/master | 2021-03-27T14:16:58.139936 | 2018-01-25T11:26:36 | 2018-01-25T11:26:36 | 69,357,483 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 477 | h | #ifndef RULE1_H
#define RULE1_H
#include "Rule.h"
class Field;
class Rule1 : public Rule
{
public:
Rule1();
~Rule1() override;
void change( Field * field, Field * newField, int liveNeighbors, int x, int y ) override;
const std::string getName() override;
private:
const int THREE_NEIGHBORS = 3;
... | [
"k.fefelova@g.nsu.ru"
] | k.fefelova@g.nsu.ru |
987d6e2a5ec41a841c507596b269f9f36da3ee87 | c3ca68aea5d824e75576c50dce68a6392cf5afbe | /UVA/10926_How_Many_Dependencies.cpp | 2981cc11317db5496d384dab796084ebbf75d320 | [] | no_license | ManuelLoaizaVasquez/competitive-programming-solutions | bddcacdc54a63afc5f7fd5be19dc0a8afe47eb16 | b502fcc2774b3f4286393f00e6e009cb30fa2c53 | refs/heads/master | 2021-06-18T14:29:06.103654 | 2021-03-05T14:23:41 | 2021-03-05T14:23:41 | 144,772,199 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,838 | cpp | //
// Created by ManuelLoaiza on 05/26/18
//
#include <bits/stdc++.h>
using namespace std;
const int MAX_N = 100;
vector <int> adj[MAX_N];
bool visited[MAX_N];
bool dependency[MAX_N][MAX_N];
queue <int> orderedTasks;
void initialize(int n) {
for (int i = 0; i < n; i++) {
adj[i].clear();
visited[i] = false;
}
... | [
"manuel.loaiza.vasquez@gmail.com"
] | manuel.loaiza.vasquez@gmail.com |
935ff8cbd9ed23d593d9466625c35250295400dd | ae91bab8753529894f261b4b4a433ee6b0626b50 | /RLForge/RLForge/RL/SDK.hpp | 06204da01a0b1c4297ac3a7bbb61eb92422bb33e | [] | no_license | baipgej222/RLForge | 8d6650eb3136837ac316b223002ea9b246dd6e80 | 600781c01c59876e17747150fe06dd253daffe2c | refs/heads/master | 2020-05-19T13:44:15.408012 | 2018-06-06T20:42:06 | 2018-06-06T20:42:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,456 | hpp | #pragma once
// Rocket League (1.31) SDK
#include <set>
#include <string>
#include <locale>
#include "SDK/RL_Basic.hpp"
#include "SDK/RL_Core_structs.hpp"
#include "SDK/RL_Core_classes.hpp"
#include "SDK/RL_Core_parameters.hpp"
#include "SDK/RL_Engine_structs.hpp"
#include "SDK/RL_Engine_classes.hpp"
#include "SDK/... | [
"taylorsasser@gmail.com"
] | taylorsasser@gmail.com |
ea8ced7de4f06616ef3a88d6c257e6be483f3fd6 | 24f26275ffcd9324998d7570ea9fda82578eeb9e | /third_party/blink/renderer/core/loader/threadable_loader.cc | 6661a3f2c39ac505c707497004f84bcbd72637d0 | [
"BSD-3-Clause",
"LGPL-2.0-only",
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft"
] | 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 | 42,471 | cc | /*
* Copyright (C) 2011, 2012 Google Inc. All rights reserved.
* Copyright (C) 2013, Intel Corporation
*
* 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 a... | [
"rjkroege@chromium.org"
] | rjkroege@chromium.org |
bd3c9245fa994d01505c242466d4dac6b3da8ffa | 462fd31fcdbc4b25b20cfe35ec119ac1db60fe00 | /chrome/browser/sync/chrome_sync_client.cc | c34582637e4467e274aad8706b1c5aff019fa41d | [
"BSD-3-Clause"
] | permissive | sandwichandtoast/chromium | 6f65efa55a1c02cface02e5b641c751a57eaae94 | 8477524140c1fbe839eefe6f79ef71fd097da32f | refs/heads/master | 2023-01-13T12:57:04.375740 | 2016-01-10T04:03:01 | 2016-01-10T04:05:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,421 | cc | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/sync/chrome_sync_client.h"
#include <utility>
#include "base/bind.h"
#include "base/command_line.h"
#include "base/macros.h"
#i... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
a0e2d4ef2737ebc4215d6747748093879edfcd3b | 1e3c90c358c57c2a69c727ab1113ae421ed37d1b | /google/cloud/pubsub/topic_admin_connection.cc | 05077b0d84c6f4b00f4fa66e06bee0d0a8eb880c | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | AditiThirdEye/google-cloud-cpp | 14d9f62f23fa12f634469d6f27c93f380b351021 | 5c74d4f9388293b3b758e0d321d6267220a8107c | refs/heads/main | 2023-09-01T22:01:08.234718 | 2021-10-20T23:51:47 | 2021-10-20T23:51:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,375 | cc | // Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in w... | [
"noreply@github.com"
] | noreply@github.com |
6ff351f41e7ddfa12cac3ab05c512a7541c5a95d | 8433c3a0aced8c51ade4e9ace01ec80ba9624f70 | /Two Pointer/Minimize the Absolute Difference.cpp | af1ef9f1915abeb11e82935f4365416e29b906f2 | [] | no_license | VarunManchanda/InterViewBit-Solutions | 5bf4d09a17766e04a1c68de8a55a502e1bca9fd7 | 4d7ecb4c4e2958d25e4ea34c0a0a6b6ff84e687f | refs/heads/master | 2022-08-09T19:35:47.498130 | 2020-05-23T06:58:10 | 2020-05-23T06:58:10 | 266,248,116 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 720 | cpp | //Proof:- In order to minimize the difference abs(max-min) => abs(a-b) => a-b < INT_MAX only when a decrease and b increases, So we use
//three pointers point from last and calculate the difference now in order to minimize the value we start to decrease maximum value.
int Solution::solve(vector<int> &A, vector<int> &B,... | [
"noreply@github.com"
] | noreply@github.com |
54b89fdd975686188ce590e3a6ee74e7ae04b914 | 98529dcc0f59731f48cdf592210eccf02834886f | /leetcode_链表_1/main.cpp | e97e7607a2f862d7b7eb38253c422c2c82a0457e | [] | no_license | HYIUYOU/print-lianbiao | 10878bf509a7fd8d6ce92212175b7e4d8ebb5f72 | 631af60a610d0397d72b151af241a9148280ede4 | refs/heads/master | 2022-06-02T06:51:48.104442 | 2020-05-01T13:10:16 | 2020-05-01T13:10:16 | 260,461,777 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,055 | cpp | //
// main.cpp
// leetcode_链表_1
//
// Created by 何忆源 on 2020/4/30.
// Copyright © 2020 何忆源. All rights reserved.
//
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
struct Node //定义一个链表结构
{
int data; //链表节点的数据
struct Node * pNext; //链表节... | [
"heyiyuan@heyiyuandeMacBook-Pro.local"
] | heyiyuan@heyiyuandeMacBook-Pro.local |
8b4d462411525022ced1fc1f30651259389844d4 | 37e2a3e18dc74e26a46e6f62f65d9aa3cbf6a2bf | /src/caffe/layers/broadcast_to_layer.cpp | bb17cbf2ee0b64ef03c852a0596d6bd501fb81d9 | [
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | foss-for-synopsys-dwc-arc-processors/synopsys-caffe | bc5d91e81575460137fa22623ba01816413d3bf0 | 63123ca6c80b72365c87332bbb3de2995e063065 | refs/heads/main | 2023-09-02T10:25:17.991467 | 2023-08-02T11:01:05 | 2023-08-02T11:01:05 | 103,567,504 | 27 | 20 | NOASSERTION | 2023-08-02T10:44:05 | 2017-09-14T18:28:41 | C++ | UTF-8 | C++ | false | false | 2,648 | cpp | #include <vector>
#include "caffe/layers/broadcast_to_layer.hpp"
#include "caffe/util/math_functions.hpp"
namespace caffe {
template <typename Dtype>
void BroadcastToLayer<Dtype>::LayerSetUp(
const vector<Blob<Dtype>*>& bottom, const vector<Blob<Dtype>*>& top) {
const BroadcastToParameter& broadcast_to_param =... | [
"yche@synopsys.com"
] | yche@synopsys.com |
a46bc927b3d8245c9440c42fc4c7c0139baa21f1 | 65cf7b6e29c31d106ee46f0c94db1036898a652f | /Chap02_source/swap2.cpp | dd524b2a249f6bb33370e02e74660ce37375f749 | [] | no_license | umairsajid/Book_CPP_FreeLecByYoon | 0b5881ff1ee6a567d418c85e7e5fe101dd5e6949 | df3a86688efb287951d4d5697c6ee1685df7fc90 | refs/heads/master | 2021-01-18T12:37:12.043911 | 2015-09-29T10:24:20 | 2015-09-29T10:24:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 322 | cpp | /*
swap2.cpp
*/
#include <iostream>
using std::cout;
using std::endl;
void swap(int &a, int &b)
{
int temp=a;
a=b;
b=temp;
}
int main(void)
{
int val1=10;
int val2=20;
cout<<"val1:"<<val1<<' ';
cout<<"val2:"<<val2<<endl;
swap(val1, val2);
cout<<"val1:"<<val1<<' ';
cout<<"val2:"<<val2<<endl;
return 0;... | [
"calla987@gmail.com"
] | calla987@gmail.com |
6cd7ad58a2323660a085ccd6fc5774ff4dd815c3 | ad5b72656f0da99443003984c1e646cb6b3e67ea | /src/plugins/auto/common.hpp | 877f9198eb84381cb4746483c577826a9435e63c | [
"Apache-2.0"
] | permissive | novakale/openvino | 9dfc89f2bc7ee0c9b4d899b4086d262f9205c4ae | 544c1acd2be086c35e9f84a7b4359439515a0892 | refs/heads/master | 2022-12-31T08:04:48.124183 | 2022-12-16T09:05:34 | 2022-12-16T09:05:34 | 569,671,261 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,323 | hpp | // Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
///////////////////////////////////////////////////////////////////////////////////////////////////
#pragma once
#include <map>
#include <string>
#include "ie_icore.hpp"
#include "ie_metric_helpers.hpp"
#include <ie_plugin_config.h... | [
"noreply@github.com"
] | noreply@github.com |
bde6b47063bedeba02f68b4146b40fec822c6b6a | 63c8b9227a6b3178d918769042ecb060acc557be | /devmand/gateway/src/devmand/channels/cli/ReconnectingCli.h | d381fd2c6994dc02f79265b22730d40aa134ca77 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | snwfdhmp/magma | 7c4898db68d2668fd39ed25f73bb9a2bc5959066 | 8b3ff20a2717337a83c8ef531fa773a851d2e54d | refs/heads/master | 2020-12-06T09:06:25.806497 | 2020-01-07T18:27:09 | 2020-01-07T18:28:51 | 232,418,366 | 1 | 0 | NOASSERTION | 2020-01-07T21:12:28 | 2020-01-07T21:12:27 | null | UTF-8 | C++ | false | false | 2,264 | h | // Copyright (c) 2019-present, Facebook, Inc.
// All rights reserved.
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#pragma once
#inc... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
f46868502c4dafb96c22bce727538d882221c82f | 77f2080188c454ab04cd50311799f40b575b1a18 | /test/TestOramSelector.cpp | a9da222508bce6c69edf460f92ff103278f923a1 | [] | no_license | jianyu-m/OnionOram | 671cfe87ebc83bfa807bfb473e6e071bfa85a21a | c03fb91d2b2672cae73c608af95aa97156a4ea1f | refs/heads/master | 2016-09-13T12:30:08.603230 | 2016-06-03T08:52:32 | 2016-06-03T08:52:32 | 59,989,101 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,490 | cpp | //
// Created by maxxie on 16-5-28.
//
#include <cassert>
#include "../src/OramSelector.h"
#include "../src/OramCrypto.h"
int main(int argc, char **args) {
char *key = "ORAM";
OramCrypto::init_crypto(key, 4, 9, 100, 1024);
OramBlock::init_size(1024, 10240);
unsigned char buf[40960];
OramBlock **b... | [
"jy.jiang@hotmail.com"
] | jy.jiang@hotmail.com |
c26bc463378a9ac691bf514bc1975cb5d09dcddf | 02b1221113ab0c851f4bd77cfbb83721701f0ee8 | /source/include/gui.hpp | f26344dd45c0140e014f577d645596b86061ab9a | [
"MIT"
] | permissive | TheLastBilly/psCast | dab1498b1eff0847846a4bae36e5994b8c111c56 | b57837e84c7dbe419a255454f135d8ce029585a9 | refs/heads/master | 2022-12-16T03:09:34.722047 | 2020-09-16T17:31:15 | 2020-09-16T17:31:15 | 277,024,442 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,503 | hpp | #pragma once
#include <psp2/ctrl.h>
#include <psp2/types.h>
#include <vita2d.h>
#include <cstring>
#define PSCAST_DISPLAY_WIDTH 960
#define PSCAST_DISPLAY_HEIGHT 544
class GUI
{
public:
enum
{
OK,
BAD_PARAMETER,
};
protected:
SceCtrlData ctrl_data;
SceUInt32 pressed_buttons = 0... | [
"jtmonegro@gmail.com"
] | jtmonegro@gmail.com |
bc91149c574129f601ba010df5ab6e4b60e597f4 | dedbf4be6423b374ca70cc3a120b33f95c85541e | /sources/Device/src/Hardware/VCP_d.h | 94a64c351039222740641fe82b4409360d126825 | [] | no_license | ghsecuritylab/G6-49 | e2595ae668775ae3bc1384c838d32a356445fa72 | afc559b8edffd883e095dead47f1f2271aaf8e1d | refs/heads/master | 2021-02-28T18:36:14.858735 | 2020-03-06T16:08:55 | 2020-03-06T16:08:55 | 245,723,276 | 0 | 0 | null | 2020-03-07T23:48:16 | 2020-03-07T23:48:16 | null | WINDOWS-1251 | C++ | false | false | 876 | h | #pragma once
#include <usbd_def.h>
class SimpleMessage;
struct DVCP
{
static const int DEVICE_FS = 0;
/// Инициализация
static void Init();
static void SendData(const void *data, uint size = 0);
/// Передаётся строка без завершающего символа
static void SendString(char *data);
/// Пере... | [
"Sasha7b9@tut.by"
] | Sasha7b9@tut.by |
b8d8abc0559a298ff7a9dc092827719c625fcfa4 | 40420e55ae2b25709872cac5bdf39fe250519922 | /RSAction/Source/RSAction/Public/Player/SoldierSpectatorPawn.h | 44a0899042802a08fa7099791928e5af26da6338 | [] | no_license | magrlemon/RSActionII | 2d85709f05d63f5b1c39038e9918f86989ff9e29 | 26ae7910afdedfdf353f6fbd98f3e4a92b21dc7f | refs/heads/master | 2020-12-01T19:26:07.617189 | 2020-05-13T13:41:45 | 2020-05-13T13:41:45 | 230,740,815 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 557 | h | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "SoldierSpectatorPawn.generated.h"
UCLASS(config = Game, Blueprintable, BlueprintType)
class ASoldierSpectatorPawn : public ASpectatorPawn
{
GENERATED_UCLASS_BODY()
// Begin ASpectatorPawn overrides
/** Overridden to i... | [
"magr_lemon@126.com"
] | magr_lemon@126.com |
81133abc3f6673fb60e914b4897facc113acdcd0 | 742717902389023f89ca6fccf741a24d8702fc35 | /source/code/system/ps2linux/msx.h | b762403b041b94508f022b530687c835d69d54c7 | [] | no_license | stuckie/plightoftheweedunks | cc67f0b38422126672817dd2e6034636fbbe5766 | 17a8123ce0cb2210022bae9b045055c824d027a5 | refs/heads/master | 2021-01-10T03:30:47.933682 | 2015-10-19T20:09:13 | 2015-10-19T20:09:13 | 44,559,185 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 946 | h | #ifndef _AUDIO_H_
#define _AUDIO_H_
// Required for forward reference in AudioDevice class
class SoundSample;
// class to handle interface to the audio device
class AudioDevice
{
public:
AudioDevice(const int Which);
~AudioDevice();
int Open(const int which);
void Close(void);
void HandleAudio(void);
void Set... | [
"stuckie@arcadebadgers.co.uk"
] | stuckie@arcadebadgers.co.uk |
5f44be134bbcc761ec6ef85843a0b5bbc121768f | 61e0491fe2690501041fcc4758543d6633d577b2 | /offsets.h | b4a183b1318779262382a111dfda69db9be7ff39 | [] | no_license | wem092808js/aaa | 751d322e88e5c1f183ab7f2483324b908bdf25fc | bec3f694ef0aedea0ae6ecaf7badd4ef5618416d | refs/heads/master | 2021-01-20T09:00:30.726210 | 2017-05-04T12:35:17 | 2017-05-04T12:35:17 | 90,211,421 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,093 | h | #pragma once
#include "Utilities.h"
// Various offsets
namespace Offsets
{
// Sets up all the shit we need
void Initialise();
// Addresses of loaded game modules
namespace Modules
{
extern DWORD Client;
extern DWORD Engine;
extern DWORD VGUI2;
extern DWORD VGUISurface;
extern DWORD Material;
extern ... | [
"noreply@github.com"
] | noreply@github.com |
eaade13286b14e8ab77c3ae55decbb94bfa5bcdd | 5f637b57cfc6298118d0bb7c6526c066fe553702 | /tcpp_chuffed/src/NegConstraint.cpp | 35ba87026e60afe73b50c76872d77e438f0112ab | [
"MIT"
] | permissive | Behrouz-Babaki/TCPP-chuffed | aef24c4c62164be529c4e4c0a562e10ee7b2ab57 | d832b44690914ef4b73d71bc7e565efb98e42937 | refs/heads/master | 2022-12-27T05:33:00.603551 | 2020-09-25T03:06:25 | 2020-09-25T03:06:25 | 297,758,710 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32 | cpp | ../../tcpp/src/NegConstraint.cpp | [
"Behrouz.Babaki@gmail.com"
] | Behrouz.Babaki@gmail.com |
9048757014072ca804ef728d72ac10c616e91dbe | 3f1619529291bcebdaf9d2faa94d8e07b7b7efda | /Polybench/stencils/jacobi-2d-imper/fir_prj/classic/syn/systemc/kernel_jacobi_2d_imper.h | 1b6bb29bc56d8b8f33db1f186085767d5b418f7f | [] | no_license | Victorlzd/High_Level_Synthesis_Trainee | 6efb431b0de4f5ef84cc4e5bad90a24c4c9b434d | 01350bb65de0fae9377aa52986a3541c27e6a9c2 | refs/heads/master | 2021-09-21T22:28:22.140443 | 2018-08-31T22:08:27 | 2018-08-31T22:08:27 | 137,374,417 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,886 | h | // ==============================================================
// RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC
// Version: 2018.2
// Copyright (C) 1986-2018 Xilinx, Inc. All Rights Reserved.
//
// ===========================================================
#ifndef _kernel_jacobi_2... | [
"victorlezaud@gmail.com"
] | victorlezaud@gmail.com |
a4460f33de09586088ffbe034dc5fe13dce7fa52 | d86949009ead10e690c8871fd734a4f838d9c3cc | /1.cpp | 97d63c7ce7d6d24be282721f9c6728e6b07e39ce | [] | no_license | saurabh300190/Me_wisedv | bbff6ba8bb7f863be0730c9d63ff620b5bb03e9b | 92623f7e06c54ffd2052edf580ddea9fa5647111 | refs/heads/main | 2022-12-19T21:51:13.330576 | 2020-10-01T16:31:06 | 2020-10-01T16:31:06 | 300,342,136 | 0 | 0 | null | 2020-10-01T16:31:07 | 2020-10-01T16:12:38 | C++ | UTF-8 | C++ | false | false | 50 | cpp | saurabh
shah
wise
anubhav
anil
jaydeep maru bhai
| [
"noreply@github.com"
] | noreply@github.com |
cf4deb3b11a817eca7036bde900b526f52a5a2fa | 936ff533e5a4a130f629fe596a377ab1122121f3 | /GRIT/GRIT/include/attribute_assignment/grit_edge_collapse_attribute_assignment.h | ba9c265a3ed461d6537c7750fa911182124f1bb3 | [
"MIT"
] | permissive | misztal/GRIT | e9eb7671b215c3995a765581655d6a7c3096471f | 6850fec967c9de7c6c501f5067d021ef5288b88e | refs/heads/master | 2021-10-08T11:43:53.580211 | 2018-12-11T21:46:13 | 2018-12-11T21:46:13 | 105,385,278 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,262 | h | #ifndef GRIT_EDGE_COLLAPSE_ATTRIBUTE_ASSIGNMENT_H
#define GRIT_EDGE_COLLAPSE_ATTRIBUTE_ASSIGNMENT_H
#include <grit_interface_attribute_assignment.h>
#include <grit_interface_mesh.h>
#include <grit_simplex_set.h>
#include <attribute_assignment/grit_copy_attribute_assignment.h>
#include <utilities/grit_extract_simplic... | [
"marek.misztal@gmail.com"
] | marek.misztal@gmail.com |
618d9ccf5aab86dffe5333d3fa56a815b9c22a48 | c2684e50a4aa6dc4535dc22cc43838947766691b | /c++/lib/set_operations.h | a8f95087be8396e3789e75d79002d884636e35ce | [] | no_license | jdf3/grepoxy | 7b8f0e3aa1f0f22930076b3290092ea70dc81f35 | 1c4ac6a37c0eaafc3cdece1a94435591cbbd4ef7 | refs/heads/master | 2020-04-11T01:32:08.822020 | 2012-06-25T02:30:53 | 2012-06-25T02:30:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 477 | h | #ifndef _SET_OPERATIONS_H
#define _SET_OPERATIONS_H
#include <vector>
#include <stdint.h>
using namespace std;
typedef vector<bool> vset;
/*const int intSize = sizeof(vset) * 8;
const vset shifter = 1;
const vset empty = 0;*/
void set_insert(int u, vset &S);
void set_delete(int u, vset &S);
bool in_set(int u, vset ... | [
"jfehr@wesleyan.edu"
] | jfehr@wesleyan.edu |
4106752d6b9c1410458bd30fbd1f0623ed2b9dab | ae6abde6e6bf19fb1e8d054c7e081c8c5c22de5b | /polynomial1.cpp | 1fe08862ba35fc218311364a9f19568aa6569693 | [] | no_license | 2ushar-pradhan/DataStructure-Lab-CCE20 | 7c2b87945e22e1b5e85c76001f932d97deafafdf | 5fe0e625c1c4c5f142d9808c74c32f3e5dc2298c | refs/heads/master | 2021-07-16T20:15:19.332637 | 2017-10-26T08:25:43 | 2017-10-26T08:25:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,999 | cpp | #include<iostream>
#include<conio.h>
using namespace std;
class node
{
int exp;
int coe;
node *next;
public:
node *create(node *,int,int);
void display(node *);
node *add(node *,node *);
node *mul(node *,node *);
};
node *first1=NULL,*first2=NULL,*first3=NULL,*first4=NULL;
node * node::mul(node *f1,node ... | [
"noreply@github.com"
] | noreply@github.com |
509e637f2c06442ed94cd8503b7fad6feae2156d | 1dd825971ed4ec0193445dc9ed72d10618715106 | /examples/extended/eventgenerator/HepMC/MCTruth/src/MCTruthTrackingAction.cc | 164cd44f707ffb6e7120926770ced0c21a667aef | [] | no_license | gfh16/Geant4 | 4d442e5946eefc855436f4df444c245af7d3aa81 | d4cc6c37106ff519a77df16f8574b2fe4ad9d607 | refs/heads/master | 2021-06-25T22:32:21.104339 | 2020-11-02T13:12:01 | 2020-11-02T13:12:01 | 158,790,658 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,190 | cc | //
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration... | [
"gfh16@mails.tsinghua.edu.cn"
] | gfh16@mails.tsinghua.edu.cn |
dcc370df47b751e5c41ea7d90e681161eae320a7 | 133d0f38b3da2c51bf52bcdfa11d62978b94d031 | /testAutocad/vendor/objectArx/inc/rxprotevnt.h | f292e221874ec0f3e24fe758d4d6fd53bb33b75d | [] | no_license | Aligon42/ImportIFC | 850404f1e1addf848e976b0351d9e217a72f868a | 594001fc0942d356eb0d0472c959195151510493 | refs/heads/master | 2023-08-15T08:00:14.056542 | 2021-07-05T13:49:28 | 2021-07-05T13:49:28 | 361,410,709 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 12,208 | h | //////////////////////////////////////////////////////////////////////////////
//
// Copyright 2020 Autodesk, Inc. All rights reserved.
//
// Use of this software is subject to the terms of the Autodesk license
// agreement provided at the time of installation or download, or which
// otherwise accompanies this ... | [
"antoine.cacheux@procal.fr"
] | antoine.cacheux@procal.fr |
64bd616bd70ecb2c2011451063a2c8da85b629d2 | 1c45cae789f3e51ddba4a3fc75151743ec4884be | /PickingNubmers.cpp | 98e0ce66f1f658da0aecdc4486e98b4ae917e7bb | [] | no_license | MMajd/HackerRank | 3d339a4eb6a77bfdb217b8029197f3f7b0bb20ba | be968d1ea98f52c8259225c34af40108dcb27c61 | refs/heads/master | 2021-03-30T23:49:56.392209 | 2018-03-28T08:50:27 | 2018-03-28T08:50:27 | 124,752,584 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 450 | cpp | /*
EXPL: https://dev.to/ryhenness/lets-solve-code-challenge---picking-numbers-a32
*/
#include <bits/stdc++.h>
int main() {
int n, *arr, *map, i, max;
cin >> n;
arr = (int *) malloc(sizeof(int) * n);
map = (int *) malloc(sizeof(int) * n);
for(i=0; i<n; i++) {
cin >> arr[i];
map[arr[i]]++;
}
ma... | [
"Muhammad@git"
] | Muhammad@git |
ac4f5457a7e0114a078981a812a42589096fdd74 | 4141c8e6ccf34f8b57503427433feb0c7463ec56 | /include/Jabc.hpp | 76b925a36f289eca77febf47c2dca18209e8c25b | [
"MIT"
] | permissive | ikim-quantum/Jabc | 97366d70cb2052b4dbe3075048930b1f82bce9c1 | e98278ecb5daa7f239daadf573a2de36997aa644 | refs/heads/main | 2023-04-09T16:39:44.428483 | 2021-04-18T10:17:02 | 2021-04-18T10:17:02 | 356,084,552 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 397 | hpp | #ifndef Jabc_HPP_
#define Jabc_HPP_
#include <armadillo>
using namespace arma;
void transform_xlogx_mat(cx_mat &X);
void transform_xlogx_vec(vec &s);
int log2_int(int n);
void apply_modular_op(int k, int n, cx_mat &psi);
void transform_ab(int a, int b, int c, cx_mat &psi);
void transform_bc(int a, int b, int c, cx_ma... | [
"ikim@Isaacs-MBP.modem"
] | ikim@Isaacs-MBP.modem |
62de3f936f171c875529fecc51c1a52b799ddfb1 | 2f79c6b1991ef2a7e74f8f0cd6f8fd5bca40ad15 | /src/impl/function-impl.h | 5c15e2ef80b68bad2a8172f9d9f1380ea4841fb4 | [
"Apache-2.0"
] | permissive | Vermeille/slip | 6c51281d3b53a7cbbce7f393e626cc2734e16d65 | 9f44bd7cfafcbcd96cb7c3f5298d89e7837cb57b | refs/heads/master | 2020-12-24T06:12:50.189267 | 2016-12-13T02:29:27 | 2016-12-13T02:29:27 | 73,168,252 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 443 | h | #pragma once
#include "function.h"
#include "context.h"
#include "eval.h"
#include "polymorphic.h"
namespace slip {
template <class F>
NormalFunc<F>::NormalFunc(std::string name, F&& f)
: Function(name, ManglerCaller<std::decay_t<F>>::Mangle()),
fun_(std::move(f)) {}
template <class F>
NormalFunc<F>::Nor... | [
"guillaume.v.sanchez@gmail.com"
] | guillaume.v.sanchez@gmail.com |
18c6b1ecbadbc99baf7866b467ed19227f0db389 | d4f8837df785a6766fb9423b3986d3aebacd4f6f | /insert.cpp | 2ce094e3827cd5af6c3816a1287833f84984bfe9 | [] | no_license | Jartim00/mysql-with-small-tutorial-for-c- | d5ee236dab695f222c9a0700dc964074ff21942c | 00ead161a219b25a6304bc9ce76a54cbbda4ee14 | refs/heads/master | 2020-12-24T07:20:08.682451 | 2016-06-02T18:44:07 | 2016-06-02T18:44:07 | 60,286,594 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 827 | cpp | #include <mysql.h>
#include <cstdio>
#include <iostream>
using namespace std;
int main()
{
char link[150];
MYSQL *conn;
MYSQL_RES *res;
MYSQL_ROW row;
char *server = "localhost";
char *user = "root";
char *password = "Your MySQL password";
char *database = "Your DATABASE";
conn = mysql_init(NULL);
mysql_real... | [
"jarontimmerman@live.nl"
] | jarontimmerman@live.nl |
116066f5bc7c249847744bdc9d10daf67286bda4 | 7012fa0f949bdb631ae35c39b3011307c1222c44 | /common/SDAT.h | 2a5222e7cfccd857089e17d96cf3ea5f84880569 | [] | no_license | soneek/SDATStuff | e3999d14e2cce0d1a08a9027e543b8c6fa91477b | c256196d441b4db62351eaf5772cf280086d1033 | refs/heads/master | 2021-01-17T07:13:34.106296 | 2014-06-09T09:33:01 | 2014-06-09T09:33:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,328 | h | /*
* SDAT - SDAT structure
* By Naram Qashat (CyberBotX) [cyberbotx@cyberbotx.com]
* Last modification on 2013-03-30
*
* Nintendo DS Nitro Composer (SDAT) Specification document found at
* http://www.feshrine.net/hacking/doc/nds-sdat.html
*/
#ifndef SDAT_SDAT_H
#define SDAT_SDAT_H
#include "NDSStdHeader.h"
#in... | [
"cyberbotx@cyberbotx.com"
] | cyberbotx@cyberbotx.com |
d1bc902a7c6a6ac48a6253cc9d5c74cf41fbbd53 | e18edd605c300608963344043dd1c521a775b355 | /Leetcode/682. 棒球比赛.cpp | 4ec6a3217191ee691603fe60f3ed80fe7c8055a4 | [] | no_license | SongKAY/code | bb7fa5f8b9df184581b520fc8deb19134bf2af25 | 14a92ff912393a8b4377173d33210a40d6c57749 | refs/heads/master | 2020-04-27T20:07:19.516768 | 2019-09-24T03:50:44 | 2019-09-24T03:50:44 | 174,646,281 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,011 | cpp | class Solution {
public:
int calPoints(vector<string>& ops) {
int sum = 0;
if(ops.empty())
return sum;
stack<int> temp;
for(auto a:ops){
if(a=="C"||a=="D"||a=="+"){
if(a=="C"){
if(!temp.empty())
temp.... | [
"noreply@github.com"
] | noreply@github.com |
69e8d1e6407aa40acc1805869bd9ae5c3d110fc9 | 18916d7ee8cfee466ba6cf8f62784d0b9646fef4 | /src/protocol.h | 42f3d167fe42eea18d7902b1c479bbd422cec722 | [
"MIT"
] | permissive | argentumproject/argentum-old | e3cfc667d2d1a0d7bef9d53fb6b3596407daa878 | 93e0ebd15dc14e71f33ca589ca228a2dacbb78c5 | refs/heads/master | 2021-06-14T18:07:00.628754 | 2017-03-21T04:11:40 | 2017-03-21T04:12:37 | 66,512,050 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,704 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2013 The Bitcoin developers
// Copyright (c) 2011-2013 The Litecoin developers
// Copyright (c) 2013-2014 The Argentum developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/license... | [
"cryptcollector@benassi.co.uk"
] | cryptcollector@benassi.co.uk |
499b8cda9c1971295e5c0164eb9e50f2f79729af | 704a8690af3f97bc43ac8a49db56ed62cd6c08de | /SDK/DW_InGameMenu_Tiles_parameters.hpp | bc7cf2e78c127b217ccc58c1685ec8e0266004ed | [] | no_license | AeonLucid/SDK-DarwinProject | 4d801f0a7ea6c82a7aa466a77fcc1471f5e71942 | dd1c97d55e92c2d745bdf1aa36bab0569f2cf76a | refs/heads/master | 2021-09-07T14:08:44.996793 | 2018-02-24T02:25:28 | 2018-02-24T02:25:28 | 118,212,468 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 375 | hpp | #pragma once
// Darwin Project (open_beta_2) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "DW_InGameMenu_Tiles_classes.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//-------------------------------------------------------------------... | [
"aeonlucid@outlook.com"
] | aeonlucid@outlook.com |
fc775f6c6b561991226d42596cd489952fb374c1 | 816ffdac7463659a5efce01dcc31bbf581d16dfe | /include/Process.hpp | 2f84e96551e86c1d51b53937f07fdd0fc2191d43 | [
"MIT"
] | permissive | jwinarske/Vkav | 5bc09824344c1b79dcf562d74e189158f09d97e1 | f3acd4c6d185ddf4cf76ec91548ed84595529b16 | refs/heads/master | 2023-04-16T19:56:23.141102 | 2021-04-27T19:51:05 | 2021-04-27T19:51:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 453 | hpp | #pragma once
#ifndef SIGNAL_FUNCTIONS_HPP
#define SIGNAL_FUNCTIONS_HPP
struct AudioData;
class Process {
public:
struct Settings {
size_t size;
float smoothingLevel;
float amplitude;
unsigned char channels;
};
Process() = default;
Process(const Settings& settings);
~Process();
Process& operator=(Proce... | [
"dougal.koji@gmail.com"
] | dougal.koji@gmail.com |
76f439ba9bd2d4864335be512d621edba81722e7 | d0c6958418f7fd26b336737a9614d922a494d556 | /GSHADE_SharedLibrary_Compiler/jni/gshade/util/brick.h | cfb61f905548b7b345d30254167439e2e72e6e19 | [] | no_license | j7sz/PBio | ec9f857956018f1d88134614722e8287a8a0d66a | 6d60c3f811d2933c7371d0d3b06dfbce5515db95 | refs/heads/master | 2023-02-17T20:55:40.322994 | 2021-01-14T14:41:56 | 2021-01-14T14:41:56 | 283,781,051 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 421 | h | #ifndef __brick_h__
#define __brick_h__
#include "typedefs.h"
#include "crypto.h"
#ifdef OTEXT_USE_GMP
typedef class FixedPointExp {
public:
FixedPointExp();
~FixedPointExp();
public:
void powerMod(mpz_t& result, mpz_t e);
void Init(mpz_t g, mpz_t p, int fieldsize);
private:
mpz_t m_p;
mpz_t m_g;
... | [
"guaisheng94@hotmail.com"
] | guaisheng94@hotmail.com |
0ee1d5587f7f67c4646f9659c5432d4f9e95709c | d2d6aae454fd2042c39127e65fce4362aba67d97 | /build/Android/Preview/app/src/main/include/Uno.Double.h | bff059249693ebf5505bebd65a137258867aee45 | [] | no_license | Medbeji/Eventy | de88386ff9826b411b243d7719b22ff5493f18f5 | 521261bca5b00ba879e14a2992e6980b225c50d4 | refs/heads/master | 2021-01-23T00:34:16.273411 | 2017-09-24T21:16:34 | 2017-09-24T21:16:34 | 92,812,809 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,278 | h | // This file was generated based on '/Users/medbeji/Library/Application Support/Fusetools/Packages/UnoCore/0.47.13/source/uno/$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Object.h>
namespace g{
namespace Uno{
// public intrinsic struct Double :1927
// {
uStruct... | [
"medbeji@MacBook-Pro-de-MedBeji.local"
] | medbeji@MacBook-Pro-de-MedBeji.local |
43e0cfaa3fbfa93a1f6bb4bf4813ca973b3d4c73 | 6da6423f2c6bf062f19499a74307cfe68944e28e | /Allegretto/code/main/Application.hpp | 17cf4a32117f8f5f7e03340f9a78cb3ce35c8a75 | [
"MIT"
] | permissive | jacmoe/allegretto | 6ef5d82893acd9fd1bc62a7efbebdd6a463545a4 | 121c44a5e252a22756cc96e045d8df5b03dbac4e | refs/heads/main | 2023-03-10T06:58:49.037082 | 2021-02-27T23:11:22 | 2021-02-27T23:11:22 | 339,422,919 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,226 | hpp | /*# This file is part of the
# █████╗ ██╗ ██╗ ███████╗ ██████╗ ██████╗ ███████╗████████╗████████╗ ██████╗
# ██╔══██╗██║ ██║ ██╔════╝██╔════╝ ██╔══██╗██╔════╝╚══██╔══╝╚══██╔══╝██╔═══██╗
# ███████║██║ ██║ █████╗ ██║ ███╗██████╔╝█████╗ ██║ ██║ ██║ ██║
# ██╔══██║██║ ██║ ██╔══... | [
"jacmoe.dk@gmail.com"
] | jacmoe.dk@gmail.com |
b4b1ac0794214e3cc624bf55a48c66972e1049cf | d774ba7e4a91df899173f39c5ea03ae521546069 | /ColdAPI_Steam/InterfacesEmulation/SteamRemoteStorage007.h | b8c626a7e3c338dfe0342765564b9e8c36b0ec8f | [] | no_license | kettenbruch/ColdAPI_Steam | 0a401d1b624c100de3d7197fda9bdf018de6c833 | 334956ae0508dae50abc4da9413ba96f354a9225 | refs/heads/main | 2023-03-31T16:19:08.319323 | 2021-04-04T20:38:19 | 2021-04-04T20:38:19 | 354,637,560 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,886 | h | #pragma once
#include "../public SDK/ISteamRemoteStorage007.h"
#include "../Bridge.h"
#include "../ColdManager.h"
class SteamRemoteStorageIn007 : public ISteamRemoteStorage007
{
public:
bool FileWrite(const char* pchFile, const void* pvData, int32 cubData)
{
if (!Steam_Config::RemoteStorage)
return true;
if (... | [
"kettenbruch@users.noreply.github.com"
] | kettenbruch@users.noreply.github.com |
dd9b0a9ac2e0fcf91c564ababa3079bea2964833 | d4b5ac83977d2586ef72862aaba334de5c8d8579 | /natlog/documentation/pcap-demo/readbin.cc | cb65a0d712c632cfa878fb4bf297e82a84662e3f | [] | no_license | fbb-git/natlog | b49563213b93b58e20d61b9a588bcd0c2d10e792 | 9b11ff39bcb2e6e2b939cb39408823305dd6fc62 | refs/heads/master | 2021-03-12T20:42:22.507846 | 2018-06-25T12:56:26 | 2018-06-25T12:56:26 | 41,296,617 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,650 | cc | #include "main.ih"
#include <limits>
// note: tcpdump only reads files when tcpdump is started by the user
// owning those files.
#include <iomanip>
/*
typedef int bpf_int32;
typedef u_int bpf_u_int32;
struct pcap_file_header {
bpf_u_int32 magic;
u_short version_major;
u_short ve... | [
"f.b.brokken@rug.nl"
] | f.b.brokken@rug.nl |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.