blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f3b74c5ea454ee4af779e2c4cd0490a805518dbd | e174dd6067f48e5884cae9fe136f6ff60ba19522 | /amazon_robot/amazon_robot_gazebo/src/amazon_robot_drive.cpp | 53e49fdbc4955210eb14fa01d53f47e2fcbc2cf5 | [] | no_license | SakshayMahna/CustomRobots | 383b22f9efea61beb4824eb2068cb0180bbec2ec | bcd2aad6fb2a9a6f358269f22c45354e6b1f64d1 | refs/heads/master | 2022-11-25T13:33:36.817344 | 2020-07-29T10:55:56 | 2020-07-29T10:55:56 | 283,469,288 | 0 | 1 | null | 2020-07-29T10:31:04 | 2020-07-29T10:31:03 | null | UTF-8 | C++ | false | false | 4,996 | cpp | /*******************************************************************************
* Copyright 2016 ROBOTIS CO., LTD.
*
* 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.o... | [
"shreyas6gokhale@gmail.com"
] | shreyas6gokhale@gmail.com |
80d339d3eb112ef634dbdf3f76b05b0dd67f2545 | 3b74241704f1317aef4e54ce66494a4787b0b8c0 | /AtCoder/ABC312/A.cpp | af5bbf61911bbffd182bc070afa79a6e6a7feff6 | [
"CC0-1.0"
] | permissive | arlechann/atcoder | 990a5c3367de23dd79359906fd5119496aad6eee | a62fa2324005201d518b800a5372e855903952de | refs/heads/master | 2023-09-01T12:49:34.034329 | 2023-08-26T17:20:36 | 2023-08-26T17:20:36 | 211,708,577 | 0 | 0 | CC0-1.0 | 2022-06-06T21:49:11 | 2019-09-29T18:37:00 | Rust | UTF-8 | C++ | false | false | 4,648 | cpp | #include <algorithm>
#include <cassert>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <string>
#include ... | [
"dragnov3728@gmail.com"
] | dragnov3728@gmail.com |
337a0cc1d8fe51573ac4451afe88fd40bcc478cf | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /ash/touch/touch_hud_debug.h | 40558f22b3c078139198c4262293a91258ae7e0e | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 2,314 | h | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_TOUCH_TOUCH_HUD_DEBUG_H_
#define ASH_TOUCH_TOUCH_HUD_DEBUG_H_
#include <stdint.h>
#include <map>
#include <memory>
#include "ash/ash_export... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
c862ff646547f0fddb8b8a3aba7dd70fa1f740e5 | aedec0779dca9bf78daeeb7b30b0fe02dee139dc | /Modules/Registration/include/mirtk/PointSetDistance.h | eb1dbb9e18258b3878e5b84d21bd12bf642f21e7 | [
"LicenseRef-scancode-proprietary-license",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | BioMedIA/MIRTK | ca92f52b60f7db98c16940cd427a898a461f856c | 973ce2fe3f9508dec68892dbf97cca39067aa3d6 | refs/heads/master | 2022-08-08T01:05:11.841458 | 2022-07-28T00:03:25 | 2022-07-28T10:18:00 | 48,962,880 | 171 | 78 | Apache-2.0 | 2022-07-28T10:18:01 | 2016-01-03T22:25:55 | C++ | UTF-8 | C++ | false | false | 7,744 | h | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* 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
*
... | [
"andreas.schuh.84@gmail.com"
] | andreas.schuh.84@gmail.com |
01e29b3599885beb2aa3eff998426e160fdef6cc | 576a0f1512bd83a93da56b141ab0bc4093428ce1 | /PruebasInerencia/PruebasInerencia/main.cpp | 23c909bde1fcc3cadf2d7101709252cbcba15563 | [] | no_license | henrykalex/analisisModSistSoft | 4379b56de3fc2d0d8324c76c0463b975de38d05f | 27c09b4c2e506d4dc78a68ecad348652cedce64a | refs/heads/master | 2021-01-13T04:49:13.537352 | 2017-05-03T14:26:25 | 2017-05-03T14:26:25 | 78,641,666 | 0 | 0 | null | 2017-01-18T15:45:28 | 2017-01-11T13:29:18 | null | UTF-8 | C++ | false | false | 633 | cpp | //
// main.cpp
// PruebasInerencia
//
// Created by Henry on 13/02/17.
// Copyright © 2017 Henryk. All rights reserved.
//
#include <iostream>
#include <vector>
#include "Papa.h"
#include "Hijo.h"
int main(int argc, const char * argv[]) {
// insert code here...
std::cout << "Hello, World!\n";
... | [
"Enrique@MacBook-Pro-de-Enrique-3.local"
] | Enrique@MacBook-Pro-de-Enrique-3.local |
582de7fc41e34d0fdec8d8ea56abf0ac561f0749 | 9488dc8080b4c2534aa421744c66bb8f755ff41d | /C++/Projects/Game/Game/DialogState.cpp | e45c1185c780a64509f1ebbfcad188d3166fca38 | [] | no_license | Kn1MS/SoftForAll | 2e201f18e7de5a34d6fbf2ba163703831e367ff8 | 221dc13e66690db6a92eab721c5db9a1c7c91743 | refs/heads/master | 2021-01-20T10:04:37.943122 | 2017-05-04T16:06:29 | 2017-05-04T16:06:29 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 9,347 | cpp | #include "../Include/DialogState.hpp"
#include "../Include/Button.hpp"
#include "../Include/Utility.hpp"
#include "../Include/ResourceHolder.hpp"
#include <SFML/Graphics/RectangleShape.hpp>
#include <SFML/Graphics/RenderWindow.hpp>
#include <SFML/Graphics/View.hpp>
DialogState::DialogState(StateStack& stack, Context... | [
"vasar007@yandex.ru"
] | vasar007@yandex.ru |
d3b76f62ea2253d6384ddea9d15e3d389e86428e | d72ba429177702891d94d121964cccb1ebfaa4f0 | /src/highScore.h | 5a1bd7765b24c941582a2e040aac5bc3982e4b24 | [
"MIT"
] | permissive | tatokis/minesweeper | a32cfb026bd5dc567f1b70fa1a2965f279a39062 | 65cd025364ea72fe7e333a7524d803e6139cfed2 | refs/heads/master | 2020-09-11T02:16:14.111093 | 2019-10-25T23:11:29 | 2019-10-25T23:11:29 | 221,907,802 | 1 | 0 | MIT | 2019-11-15T11:11:36 | 2019-11-15T11:11:36 | null | UTF-8 | C++ | false | false | 3,178 | h | //--------------------------------------------------------------------------------------------------
//
// The MIT License (MIT)
//
// 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
/... | [
"nholthaus@gmail.com"
] | nholthaus@gmail.com |
3d39dc65f74920f435056bcba6c81542602af6d1 | 6cbf5efd14bc7d997f1a5b7794ee526c2b057517 | /old_code/TuneParameters.h | b83f255157b628406b825a1bd772228c9e7b1540 | [] | no_license | qizhangqi/misdp | ff2cf317ac5cce57553e6c1daed9ffedc14ec463 | e6e100760a029c97e1001cbd67d310d406f46541 | refs/heads/master | 2020-04-11T10:46:27.254428 | 2015-03-17T23:48:53 | 2015-03-17T23:48:53 | 31,864,792 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,751 | h | //
// TuneParameters.h
// BNSL
//
// Created by Qi on 4/26/14.
// Copyright (c) 2014 Qi Zhang. All rights reserved.
//
#ifndef __SR__TuneParameters__
#define __SR__TuneParameters__
#include <iostream>
#include <string>
class TuneParameters{
public:
TuneParameters();
void infoPrinter();
/* model ... | [
"zqtczqtc@gmail.com"
] | zqtczqtc@gmail.com |
1ab42828c1658c82a2a21ce75cf959e1fdaaf6eb | 9d4c6ee41d527560c845f01cc882359303f546d1 | /src/nvcore/RadixSort.cpp | 52f7e3231d646c3554472e4470cb921b26affb78 | [
"MIT"
] | permissive | JellyPixelGames/thekla_atlas | 9c926271de0f9037c158fa8fad75576a2f983a63 | b46d64eeea9840ecd701087afb1b5fb9768201b1 | refs/heads/master | 2021-08-30T02:43:22.719763 | 2017-12-15T19:35:03 | 2017-12-15T19:35:03 | null | 0 | 0 | null | null | null | null | ISO-8859-10 | C++ | false | false | 6,941 | cpp | // This code is in the public domain -- Ignacio Castaņo <castano@gmail.com>
#include "RadixSort.h"
#include "Utils.h"
#include <string.h> // memset
using namespace nv;
static inline void FloatFlip(uint32 & f) {
//uint32 mask = -int32(f >> 31) | 0x80000000; // Michael Herf.
int32 mask = (int32(f... | [
"castano@gmail.com"
] | castano@gmail.com |
39d990be602b9fbebf15fee85468c63e8db45149 | fc0cddcc4db163290eb4cb1e0ab116ae3fbb2970 | /Maths/Math2D.cpp | b6012975b0929fd0c9d58923c4b9730eb303da16 | [] | no_license | Sujay-Shah/DryEngine | 2269d39583f8bb4ea591cd41b43dc3641daf65fe | a680a99e8b611563c9b85dc9de5df3391198f790 | refs/heads/master | 2021-09-03T15:39:17.745385 | 2018-01-10T06:41:27 | 2018-01-10T06:41:27 | 116,511,763 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,873 | cpp | /* Start Header -------------------------------------------------------
Copyright (C) 2017 DigiPen Institute of Technology.
Reproduction or disclosure of this file or its contents without the prior
written consent of DigiPen Institute of Technology is prohibited.
File Name: Math2D.c
Purpose: 2D collision library implem... | [
"snshah93@gmail.com"
] | snshah93@gmail.com |
21f32ea16ceded35ebfe03d5f73b00b342bb1801 | a9116a2fa6e525f2f6b3a3c79377dcc656593bd0 | /Client Source/src/AppPrintConfig/msgs.h | b113dcabe4f1a99c0f3020f658cc26e313843d06 | [] | no_license | ldsamburn/nt-tony | f916267e4fdfadd40d71dd6f16b63a25f437cee6 | 89ff243401957678f71a90e33ee8f0596d3ec7e8 | refs/heads/master | 2021-01-12T03:01:19.444901 | 2017-01-05T21:16:32 | 2017-01-05T21:16:32 | 78,148,560 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,733 | h | /*
Copyright(c)2002 Northrop Grumman Corporation
All Rights Reserved
This material may be reproduced by or for the U.S. Government pursuant to
the copyright license under the clause at Defense Federal Acquisition
Regulation Supplement (DFARS) 252.227-7013 (NOV 1995).
*/
... | [
"ldsamburn@hotmail.com"
] | ldsamburn@hotmail.com |
3ff29643f68715d765313ec0a2f35201a735c9be | 9a24b2ab66bcec43deb25add8b8a1ba238317067 | /3for/3for.cpp | a748a43e01ff86c9f2d6282a1871dddc287f0dcc | [] | no_license | cardioflow/lr3. | 4a3398fee7116b9159fa0bbed8a67fcf19e2c061 | 0dd4074bd1fe3fccf9a5c1d5ce339350db82a8b7 | refs/heads/main | 2023-04-01T09:18:19.335338 | 2021-03-14T22:51:02 | 2021-03-14T22:51:02 | 347,774,813 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 472 | cpp | #include <math.h>
#include <iostream>
using namespace std;
double func(int i)
{
return (pow(-1, i)) * ((i + 1) / (pow(i, 3) + 1));
}
void print(int n, int k)
{
int count = 1;
for (int i=0; i<n; ++i)
{
if (count != k)
{
count++;
func(i);
cout << "n=" << i << "func=" << func(i) << "\n";
}
else
... | [
"lukinov.artem@gmail.com"
] | lukinov.artem@gmail.com |
84946daed1e3b0ecc64fa3aeb235f44db201745c | 5b7509657d4565d379264374bbd39f34971145a7 | /VVVF/VVVF/VVVF.ino | c9705beb650ea51d36c601c22d2cbb0b425c74ce | [] | no_license | rsc398/Arduino | baa95b27d6db560c52988af04523f12ad5fbf374 | 7aa1b0a5f163427d69b34d5729e74b8cac915c95 | refs/heads/master | 2023-01-22T02:03:39.620752 | 2020-11-30T13:58:33 | 2020-11-30T13:58:33 | 258,521,150 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,197 | ino | int uOut = 9;
int vOut = 3;
int wOut = 11;
int freqIn = 0;
int amplitudeIn = 1;
//variable setup
float freq ;
float amplitude = 0.;
float uModulate;
float vModulate;
float wModulate;
int ang;
int sinw[180];
int angu;
int angv;
int angw;
void setup() {
pinMode(uOut, OUTPUT);
pinMode(vOut, OUTPUT);
pinMode(wOu... | [
"radio@rsc398.net"
] | radio@rsc398.net |
6d488eb8ea0e16ed0ed73b3243eb37f876061625 | f769e4df3e80746adadf5ef3c843dda5212809cf | /chuck-norris-joke-part2/HoundCpp/HoundJSON/AreaCodeInfoNuggetJSON.h | ecc9737331ba6479331ef4edfc3d7e009528e871 | [] | no_license | jiintonic/weekend-task | 0758296644780e172a07b2308ed91d7e5a51b77d | 07ec0ba5a0f809d424d134d33e0635376d290c69 | refs/heads/master | 2020-03-30T09:07:29.518881 | 2018-10-03T15:13:58 | 2018-10-03T15:13:58 | 151,061,148 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,776 | h | /* file "AreaCodeInfoNuggetJSON.h" */
/* Generated automatically by Classy JSON. */
#ifndef AREACODEINFONUGGETJSON_H
#define AREACODEINFONUGGETJSON_H
#pragma interface
#include "InformationNuggetJSON.h"
#include "JSONRep.h"
#include "JSONHoldingGenerator.h"
#include "JSONObjectGenerator.h"
#include "JSONStringGene... | [
"ching-chuan.yang@daimler.com"
] | ching-chuan.yang@daimler.com |
0ae620f89e5d748964c742cd3fb216ccfc7b29f6 | 5b020149eca7319a91af79fa2a764b3bc419826b | /AMSimulationIO/interface/Helper.h | 3b3e18a3c4db89a3b1e71d69e1bc07fde50e6538 | [] | no_license | robertorossin/SLHCL1TrackTriggerSimulations | 927fc998a736cbb1d4d0c5db8686ec42fb5f88ba | d3db71e1467cd6eb7556a0dcb8afd85ca383892f | refs/heads/master | 2021-01-18T04:13:39.354566 | 2016-06-10T13:36:41 | 2016-06-10T13:36:41 | 30,067,571 | 0 | 3 | null | 2020-10-21T17:44:55 | 2015-01-30T10:35:25 | C++ | UTF-8 | C++ | false | false | 624 | h | #ifndef AMSimulationIO_Helper_h_
#define AMSimulationIO_Helper_h_
#include <algorithm>
//#include <functional>
#include <cassert>
#include <stdexcept>
#include <iostream>
#include <iterator>
#include <map>
#include <memory>
#include <string>
#include <vector>
#include "TROOT.h" // for gROOT
#include "TString.h"
#inc... | [
"jia.fu.low@cern.ch"
] | jia.fu.low@cern.ch |
766548682af2fbd41f8efff4dd02efbff94977f3 | c1c70168fe5ed0c9c81e08915a647961200d1766 | /Kattis/AC/filip.cpp | 05ec9a2fc563cf1110533e7dc830460131476f5f | [] | no_license | cies96035/CPP_programs | 046fa81e1d7d6e5594daee671772dbfdbdfb2870 | 9877fb44c0cd6927c7bfe591bd595886b1531501 | refs/heads/master | 2023-08-30T15:53:57.064865 | 2023-08-27T10:01:12 | 2023-08-27T10:01:12 | 250,568,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 302 | cpp | #include<iostream>
using namespace std;
string A, B;
int a, b;
int main()
{
cin.tie(0);
ios_base::sync_with_stdio(0);
cin >> A >> B;
for(int i = 2; i >= 0; i--){
a = a * 10 + A[i] - '0';
b = b * 10 + B[i] - '0';
}
cout << max(a, b) << '\n';
return 0;
} | [
"39860649+cies96035@users.noreply.github.com"
] | 39860649+cies96035@users.noreply.github.com |
6024898e04c2e30f7d433d28948400b0e3d9c6de | f211405a3a7e9828909e46c11bbe2b9953e340db | /include/TrtLite.h | a7512bda307db1b6813291ef62f611933fe8b512 | [
"Apache-2.0"
] | permissive | MamaShip/trt-samples-for-hackathon-cn | 62c4bf20c89aaa2935294a4f7271cfd1eae2ed29 | bab675210907799dd35ec79e33b106444fe72614 | refs/heads/master | 2023-05-02T20:15:43.583569 | 2021-05-24T02:52:36 | 2021-05-24T02:52:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,815 | h | /*
* Copyright (c) 2021, NVIDIA CORPORATION. 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 requir... | [
"gji@nvidia.com"
] | gji@nvidia.com |
f674e09503b71d85c6b5f0e58a02030ca5817cc2 | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/CodeJamData/17/01/3.cpp | 6c54b2baefe129cc6b7f161127e177b3129993d3 | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 2,886 | cpp | //start of jonathanirvings' template v3.0.3 (BETA)
#include <bits/stdc++.h>
using namespace std;
typedef long long LL;
typedef pair<int,int> pii;
typedef pair<LL,LL> pll;
typedef pair<string,string> pss;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vector<pii> vii;
typedef vector<LL> vl;
typedef vector<vl>... | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
21b6d65e3b25a55eabc4b44c90e7090a07e319dc | 9f045529676cef128abf8509851013a60013a350 | /src/support/cleanse.cpp | ca81b092b5eb8da12e5d205ce0621ae067994b2a | [
"MIT"
] | permissive | PESIUM/Pesi | 0a9cc5923a21e3f84e9fb2c6947261c79b5e319d | 31862214018a10a1d3a0686833faf3ba438e12dc | refs/heads/master | 2022-06-17T19:21:09.189629 | 2020-05-11T09:27:43 | 2020-05-11T09:27:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,576 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2017 The Bitcoin Core developers
// Copyright (c) 2020 The Pesium Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <support/cleanse.h>
#i... | [
"info@genex.money"
] | info@genex.money |
db6cc39076c0a53f0e068d0b25d721ab5c86c8cd | 625138106043ec10b85092b392f5f122cbe25415 | /chapter03/RacingCar/src/RacingCarOuterFunc.cpp | 59c3c1a0ccafcf76ca125a7114f092500e989648 | [] | no_license | JoonHoSon/cpp_study_book | 2befa039159de6beca61ec52258be5b5bc2e1ecb | 02c733f63d536967d5c15e68d75db47fa0618947 | refs/heads/master | 2020-04-23T22:05:42.773081 | 2019-02-20T14:57:56 | 2019-02-20T14:57:56 | 171,490,194 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,272 | cpp | #include <iostream>
using namespace std;
namespace CAR_CONST {
enum {
ID_LEN = 20,
MAX_SPD = 200,
FUEL_STEP = 2,
ACC_STEP = 10,
BRK_STEP = 10
};
}
struct Car {
char gamerID[CAR_CONST::ID_LEN];
int fuelGauge;
int curSpeed;
void ShowCarState();
void ... | [
"joonho.son@me.com"
] | joonho.son@me.com |
91c04e7dc4c69922c098d18d64f78483479e91f1 | 088c934f6f674641a77cad8e72f0054cf413af9b | /arduinoC/proyecto/proyecto.ino | fc97364c10136631898a2ea91fd19360f488b218 | [] | no_license | Marcoo09/IOTRemoteReminder | 1704a7359748a664563dece7a93e603aa30ab2f0 | c141a5fb76de5f9514b2a6c59d472d87791e7965 | refs/heads/master | 2022-12-11T08:30:23.396359 | 2020-01-02T09:12:08 | 2020-01-02T09:12:08 | 194,135,014 | 2 | 1 | null | 2022-12-10T01:29:58 | 2019-06-27T17:14:06 | C++ | UTF-8 | C++ | false | false | 3,658 | ino | #include <LiquidCrystal_I2C.h> // Libreria LCD_I2C
LiquidCrystal_I2C lcd(0x27,16,2) ; // si no te sale con esta direccion puedes usar (0x3f,16,2) || (0x27,16,2) ||(0x20,16,2)
const int TrigPin = 6; //define los pines a utilizar
const int EchoPin = 5;
float cm;
char title[100]; //Initialized variable to store recie... | [
"marcofiorito1@hotmail.com"
] | marcofiorito1@hotmail.com |
9d94b0f608d9c3e822e42d97f8d72fe8abbe5bd0 | f23e6027b98ce89ccdf946bbc0aaa8d90ac54ce5 | /src/erhe/geometry/erhe_geometry/geometry_iterators.cpp | 25b37a6f7e6bf5fbfc84b3ae6862a78488962977 | [
"MIT",
"Zlib",
"Apache-2.0",
"LicenseRef-scancode-public-domain"
] | permissive | tksuoran/erhe | 8476cba96d73d4636aad2a40daaa707fd00b112f | d8a3393113aac273fe2446894f287d9a7889e0a7 | refs/heads/main | 2023-09-04T11:06:39.665543 | 2023-09-02T16:15:32 | 2023-09-02T16:15:32 | 363,416,834 | 412 | 45 | NOASSERTION | 2023-07-15T11:06:09 | 2021-05-01T13:29:16 | C++ | UTF-8 | C++ | false | false | 14,986 | cpp | #include "erhe_geometry/geometry.hpp"
namespace erhe::geometry
{
void Geometry::for_each_corner(
std::function<void(Corner_context&)> callback
)
{
for (
Corner_id corner_id = 0, end = get_corner_count();
corner_id < end;
++corner_id
) {
Corner& corner = corners[corner_id];
... | [
"tksuoran@gmail.com"
] | tksuoran@gmail.com |
84aab1901c407ec2ecfb16f4c15fc1f7cfa43da3 | ba10da4be74ba4e472bbe4b51d411627fc07bdbf | /build/iOS/Preview/include/Fuse.Gestures.Internal.Swiper.h | d319378fe7bbe34796ee4dfc354dd24b1b4d9584 | [] | no_license | ericaglimsholt/gadden | 80f7c7b9c3c5c46c2520743dc388adbad549c679 | daef25c11410326f067c896c242436ff1cbd5df0 | refs/heads/master | 2021-07-03T10:07:58.451759 | 2017-09-05T18:11:47 | 2017-09-05T18:11:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,111 | h | // This file was generated based on '/Users/ericaglimsholt/Library/Application Support/Fusetools/Packages/Fuse.Gestures/1.0.5/internal/$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Input.IGesture.h>
#include <Uno.Float2.h>
#include <Uno.Object.h>
namespace g{name... | [
"ericaglimsholt@hotmail.com"
] | ericaglimsholt@hotmail.com |
8c75ace4098efe0a594427239b9ec170a0bcc869 | c15373ce87ff810564456e8cbefce653692a8030 | /src/qt/test/wallettests.h | 28d4dcc0a7eaf8a6167434e1b711172f86087518 | [
"MIT"
] | permissive | fbcoinone/footballcoin | e7f1ed7b2838f62c98531e8d1f04658cfb5421fe | 00b47d5f969527a2e23bc885abbe54d5f9e4b0dc | refs/heads/master | 2020-03-20T12:41:03.307288 | 2018-06-15T03:44:51 | 2018-06-15T03:44:51 | 137,437,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 265 | h | #ifndef FOOTBALLCOIN_QT_TEST_WALLETTESTS_H
#define FOOTBALLCOIN_QT_TEST_WALLETTESTS_H
#include <QObject>
#include <QTest>
class WalletTests : public QObject
{
Q_OBJECT
private Q_SLOTS:
void walletTests();
};
#endif // FOOTBALLCOIN_QT_TEST_WALLETTESTS_H
| [
"root@DESKTOP-E9SE4MD.localdomain"
] | root@DESKTOP-E9SE4MD.localdomain |
60c64d3f98bbd3b9e5d9659f3dba1d106353dd2c | 081dbbd3192f2e0e0b16bc8345b60483c6be09c9 | /include/cuda/simple_cuda_profiler.h | c9244d1198ae24775da63d50a55a575497dc4398 | [] | no_license | tehrengruber/reactive-transport-cuda | 10b21dc44ffac5c07d3c0f3c9041bf093d564364 | 46aec1bf24aa69fc9dacfefc344b00e95b094896 | refs/heads/master | 2020-04-28T19:25:17.327055 | 2019-03-13T23:11:50 | 2019-03-13T23:11:50 | 175,510,523 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,433 | h | #ifndef REACTIVETRANSPORTGPU_SIMPLE_CUDA_PROFILER_H
#define REACTIVETRANSPORTGPU_SIMPLE_CUDA_PROFILER_H
#include <map>
#include <vector>
#include <iostream>
#include <iomanip>
#include <cuda_runtime.h>
struct SimpleCudaProfiler {
// maps name of each profiled sections to an index
std::map<std::string, size_t>... | [
"till@ehrengruber.ch"
] | till@ehrengruber.ch |
ee9f7fd6a6fc22cd5d6def57bbac9c63397da07d | 9165c15c716a7dbae840fcdb2c63aa98b5cc279c | /URQANative/jni/header/client/linux/minidump_writer/minidump_writer.h | b41413966f8f982212d523300b0533587759cf96 | [
"MIT"
] | permissive | UrQA/UrQA-Client-Android | 2c500a827c59bcdd52d4eec19154956c69bf8dd2 | 63dff4c375e02afbf2f527013e570b80f422c8f7 | refs/heads/master | 2021-01-14T14:32:14.731712 | 2015-12-13T15:17:08 | 2015-12-13T15:17:08 | 14,201,533 | 5 | 8 | MIT | 2020-08-30T05:53:20 | 2013-11-07T11:04:08 | C++ | UTF-8 | C++ | false | false | 5,223 | h | // Copyright (c) 2009, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditi... | [
"wolfses@hotmail.com"
] | wolfses@hotmail.com |
9eb8884308e4a965a086c9ea08000144ec1bdb40 | 631847fafbcfa07bf33eee078d9b59b464ce4b50 | /optimization/pta_maa_optimization/loose_analyses/analysis_loose_pta150_maa350/Build/SampleAnalyzer/User/Analyzer/user.cpp | 34173a191750a9c170d2f4fd712305b74d88a45e | [
"MIT"
] | permissive | sheride/axion_pheno | 7b46aeb7cc562800d78edd9048504fdbc0f5fa42 | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | refs/heads/master | 2021-07-01T08:47:59.981416 | 2021-02-03T23:03:50 | 2021-02-03T23:03:50 | 219,261,636 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,742 | cpp | #include "SampleAnalyzer/User/Analyzer/user.h"
using namespace MA5;
bool user::Initialize(const MA5::Configuration& cfg,
const std::map<std::string,std::string>& parameters)
{
// Initializing PhysicsService for MC
PHYSICS->mcConfig().Reset();
// definition of the multiparticle "hadronic"
... | [
"elijah.sheridan@vanderbilt.edu"
] | elijah.sheridan@vanderbilt.edu |
e1665ffc784dc4b7b9c3e22e0775b5c3893c6d81 | b434f9db6c407c14365ade34f1a22092ea507c34 | /strpp/strpp.cpp | 2d5423f7f866dc326fdb4516edd479d0312337e0 | [] | no_license | ral99/ral99lib | 2c28f3e638d0d52e3ed6b97d6b6f7ccb92b656e2 | 9e151c412c76c5c5fa30420a4207d420dafb0989 | refs/heads/master | 2021-01-19T00:47:20.325099 | 2016-06-28T22:46:14 | 2016-06-28T22:46:14 | 27,852,513 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,037 | cpp | #include <stdlib.h>
#include <string>
#include <vector>
#include "adt/list/list/list.h"
#include "adt/list/list_item/list_item.h"
#include "str/str.h"
#include "strpp/strpp.h"
std::string str::join(const std::vector<std::string>& strs, const std::string& separator) {
ADTList c_strs = list_new();
for (std::vec... | [
"rodrigoalima99@gmail.com"
] | rodrigoalima99@gmail.com |
75c03942de5461e48492a2ca557f705000a96f21 | 00adebf1f66c6e52c53ca2b95304f44bfd95339f | /MauricioGonzalez_Ejercicio26.cpp | 44819bd5ded5b49188140d94894e2d4faa87a09a | [
"MIT"
] | permissive | lmgonzalezc/MauricioGonzalez_Ejercicio26 | 47b4a946e8e0e1d3adf74fa63b340baaf9a7ce7c | 0a7bfa5ee5902d170c6797dfebcf373050f5bc64 | refs/heads/master | 2020-05-17T01:31:31.273375 | 2019-04-25T12:47:31 | 2019-04-25T12:47:31 | 183,429,251 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,684 | cpp | #include <iostream>
#include <fstream>
using namespace std;
void solve_equation_euler(float t_init, float t_end, float delta_t, float omega, string filename);
void solve_equation_rk4(float t_init, float t_end, float delta_t, float omega, string filename);
void solve_equation_leapfrog(float t_init, float t_end, float ... | [
"noreply@github.com"
] | lmgonzalezc.noreply@github.com |
d299a0151da76e7a8a552d66f202238d1a2fbe41 | ddf9516cbedf2229037051682b9d57e7bd2aceed | /common/src/imgui/cximgui.cpp | 3da9375d4fe5bbe9421e7ab51f9c85b8244962d0 | [] | no_license | niuliu222/SimpleEngine | bbfde261e7277fed2329c453ba91e0f6d5946ba6 | 2f1d93d67240b5108d74b14ac2ea1cb4eb7a15ba | refs/heads/master | 2020-07-30T21:27:46.797415 | 2019-09-23T09:46:46 | 2019-09-23T09:46:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 144,438 | cpp | #include "cximgui.h"
#include <imgui.h>
#include <string.h>
//ImGuiContext* CreateContext(ImFontAtlas* shared_font_atlas);
//UnSupported CreateContext
//void DestroyContext(ImGuiContext* ctx);
//UnSupported DestroyContext
//ImGuiContext* GetCurrentContext();
int cximgui_GetCurrentContext(lua_State* L) {
ImGuiContex... | [
"oceancx@gmail.com"
] | oceancx@gmail.com |
c481dbb27d63ff88078720bd7ee8a338bdbf0ae0 | be947ec7af6d1039dbc2a829862876b71ebf597c | /SQLComponents/SQLWrappers.h | 512ad5777e06ec520a8722a2669e083090696311 | [] | no_license | pengge/CXHibernate | b398975d9fa84b581217dfa781b21107a11fa2a1 | 6eeb0b0d3604e673a4ef0d830dbfa09b2f8d3706 | refs/heads/master | 2020-06-12T11:48:13.192014 | 2018-08-07T14:07:30 | 2018-08-07T14:07:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,447 | h | ////////////////////////////////////////////////////////////////////////
//
// File: SQLWrappers.h
//
// Copyright (c) 1998-2018 ir. W.E. Huisman
// All rights reserved
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Softwa... | [
"edwig.huisman@hetnet.nl"
] | edwig.huisman@hetnet.nl |
a9da41b76ea00ec561a284de8d2ff6db176599bb | 89b7e4a17ae14a43433b512146364b3656827261 | /testcases/CWE122_Heap_Based_Buffer_Overflow/s07/CWE122_Heap_Based_Buffer_Overflow__c_CWE193_wchar_t_cpy_83_goodG2B.cpp | eaed6b2af221afb1c30b26f3c8fa30c9e4f3acfc | [] | no_license | tuyen1998/Juliet_test_Suite | 7f50a3a39ecf0afbb2edfd9f444ee017d94f99ee | 4f968ac0376304f4b1b369a615f25977be5430ac | refs/heads/master | 2020-08-31T23:40:45.070918 | 2019-11-01T07:43:59 | 2019-11-01T07:43:59 | 218,817,337 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,547 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__c_CWE193_wchar_t_cpy_83_goodG2B.cpp
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_CWE193.label.xml
Template File: sources-sink-83_goodG2B.tmpl.cpp
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Al... | [
"35531872+tuyen1998@users.noreply.github.com"
] | 35531872+tuyen1998@users.noreply.github.com |
6d2dd5083307594bc6c364e98e3be180689094a7 | cdd00d4d303e0829bb0c00530a165e1bd20cc7e6 | /gcpCbass/util/common/DataFrame.h | 8a9b5b11b04196e5e9858b1ae931a230573877a9 | [] | no_license | chopley/controlCode | fa538a20719989c7d13946d7e273bae153aa91d7 | 0b40d14797bc6db63ca9ea55115be5217d87dc88 | refs/heads/master | 2021-01-19T01:34:05.388485 | 2016-07-20T11:20:29 | 2016-07-20T11:20:29 | 11,604,863 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,925 | h | #ifndef GCP_UTIL_DATAFRAME_H
#define GCP_UTIL_DATAFRAME_H
/**
* @file DataFrame.h
*
* Tagged: Sat Mar 20 00:16:55 UTC 2004
*
* @author Erik Leitch
*/
#include "gcp/util/common/AxisRange.h"
#include "gcp/util/common/Complex.h"
#include "gcp/util/common/RegDate.h"
#include "gcp/util/common/DataType.h"
#include "... | [
"cbassuser@c-bass.(none)"
] | cbassuser@c-bass.(none) |
90cb8b6783350f47de5f3a7b36bcf56d69576ee5 | 49726408fe9e1956869c5eb4110f87a4685835f3 | /test_runner.h | 9ba7b3189a8349cb5d7c77d6bf82aa06d255bfc3 | [] | no_license | flanker-d/yellow_belt | e5690f7d30188cbcb6732ff8b79587232fd02fd1 | 521022cd4e7bee818212f49e1d97682aef55db3a | refs/heads/master | 2020-04-01T08:12:07.220750 | 2018-10-14T21:37:53 | 2018-10-14T21:37:53 | 153,021,292 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,758 | h | #pragma once
#include <sstream>
#include <exception>
#include <iostream>
#include <string>
#include <map>
#include <set>
#include <vector>
using namespace std;
template <class T>
ostream& operator << (ostream& os, const set<T>& s) {
os << "{";
bool first = true;
for (const auto& x : s) {
if (!first) {
... | [
"artyom.sorokoumov@gmail.com"
] | artyom.sorokoumov@gmail.com |
3122156c1e8ad0415e21c44095f98a0386375f4e | 8644f7862c3520824143262858f3413171d0f365 | /Projet/Sources/main.cpp | eb069ec52865c36c80cf57b0bfb2623a10180a2d | [] | no_license | Campano/ImmunoWars | 83dcf307e09237a866daff409aa2d504979464ea | 66182a0ab663c5e8014b4eef691a212631a7d983 | refs/heads/master | 2020-08-28T05:54:12.838099 | 2019-10-25T21:06:37 | 2019-10-25T21:06:37 | 217,614,481 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 2,695 | cpp | /*
Projet second semestre EPF 1A, Promo 2014
Nom du projet : IMMUNO WARS
Auteurs : Simon CAMPANO & Nicolas MANIE
Nom du fichier : main.cpp
Dernière Modification : 16/05/2010
Description :
Le main n'a pour but que de lancer partie() ou editeur_prgm(). Ainsi, il a ses propres su... | [
"scampano@simplicite.fr"
] | scampano@simplicite.fr |
f25f7073c4fd3cc2590256bb41033d68f4642221 | 69cf9c7f6596feadacdbf3d1e7964be79f4f2b1e | /Crypto.cxx | 693cea0c485ef3d08e0724d8658695848d5affe4 | [] | no_license | liheyuan/keepasscxx | 4519efb9e69da92e1d8ed336b0eb9df38ead812e | fd9846cf71428d61bd63acdf3265b8dd78cf50fd | refs/heads/master | 2021-01-10T08:42:52.181269 | 2016-02-17T04:46:38 | 2016-02-17T04:46:38 | 50,974,514 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,870 | cxx | #include <cryptopp/sha.h>
#include <cryptopp/hex.h>
#include <cryptopp/aes.h>
#include <cryptopp/modes.h>
#include <cryptopp/salsa.h>
#include <cryptopp/base64.h>
#include "Crypto.h"
bool Crypto::sha256(const vector<char> &input, vector<char>& output) {
CryptoPP::SHA256 hash;
byte digest[CryptoPP::SHA256::DIGE... | [
"lihy@fenbi.com"
] | lihy@fenbi.com |
96531d77bd67b61e12dcc200fb897616678cc420 | 108fc359c4b5d7138b985c5cd28126e6d7a5f146 | /src/clientversion.h | 32aa2e537b8fd78a4257e340947d3ed1d4cf13da | [
"MIT"
] | permissive | coinstew/coin2collegecoin | d99b5a854884866ba2c6a81ab8ca22b3ffbc1a97 | f36433bc0a9c59ca029477aa37b0b82bddb14ab9 | refs/heads/master | 2020-03-09T20:38:54.657964 | 2018-04-10T22:20:33 | 2018-04-10T22:20:33 | 128,990,376 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,235 | h | // Copyright (c) 2009-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_CLIENTVERSION_H
#define BITCOIN_CLIENTVERSION_H
#if defined(HAVE_CONFIG_H)
#include "config/coin2college-con... | [
"info@coinstew.com"
] | info@coinstew.com |
ed3b08406d483304e18d8974aa71f0aba815c20a | 23b58413e5aa0586456ef4b593f50395955a8327 | /driver_control/commands.h | 6ae2736b348776026e134d6eb4f0b6430be690ec | [] | no_license | Aliowa/Motor-Driver-TTU | 6a5366b8c01c05022cc0c70bcfc66149dbe10a98 | 3f86b1af930822bcda094ffe948677186f3fc08e | refs/heads/master | 2022-04-19T11:45:07.241040 | 2020-04-14T09:38:25 | 2020-04-14T09:38:25 | 254,922,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,942 | h | #include <Arduino.h>
enum Defs {
threePhase,
fourPhase,
halfStep,
fullStep,
cw,
ccw,
};
class ExtractCommand {
public:
int extractMode(int);
void extractManualCommand(int);
void allLow(void);
int setPhase(int);
int setRotation(int);
int setStep(int);
priv... | [
"noreply@github.com"
] | Aliowa.noreply@github.com |
bb0569eff62871b01099de9dbea280341a459499 | e066cb735cb7bcfa539999b8451f9015659a4926 | /ProgrammingFinance/Homework6/Booklist.h | 9395dc348cb8849a4aa5d8640ab716919e5d5bc6 | [] | no_license | DazhiLi-hub/Dazhi-Project | 4eef060f1d08278c7fec74dc2b9f773fbee75308 | 68f191832384dfb8e7b5b2a23d186c1d5956dc28 | refs/heads/master | 2023-07-19T08:41:02.785586 | 2021-09-08T07:46:39 | 2021-09-08T07:46:39 | 240,947,210 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 570 | h | #ifndef BOOKLIST_H
#define BOOKLIST_H
#include<string>
#include<iostream>
using namespace std;
struct BookInfo {
int isbnNum;
string title;
string author;
};
class Booklist
{
private:
BookInfo list[20];
int total_books;
bool is_sorted;
public:
Booklist();
void printBookList() const;
... | [
"61103944+DazhiLi-hub@users.noreply.github.com"
] | 61103944+DazhiLi-hub@users.noreply.github.com |
07914034fa2bcfd98f8e4d0a5408a310e93c4b55 | bb6ebff7a7f6140903d37905c350954ff6599091 | /third_party/WebKit/Source/modules/push_messaging/NavigatorPushManager.cpp | a3d7f16e940a7e379031137cf8e5da74f74293e2 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | PDi-Communication-Systems-Inc/lollipop_external_chromium_org | faa6602bd6bfd9b9b6277ce3cd16df0bd26e7f2f | ccadf4e63dd34be157281f53fe213d09a8c66d2c | refs/heads/master | 2022-12-23T18:07:04.568931 | 2016-04-11T16:03:36 | 2016-04-11T16:03:36 | 53,677,925 | 0 | 1 | BSD-3-Clause | 2022-12-09T23:46:46 | 2016-03-11T15:49:07 | C++ | UTF-8 | C++ | false | false | 1,427 | cpp | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "config.h"
#include "modules/push_messaging/NavigatorPushManager.h"
#include "core/dom/Document.h"
#include "core/frame/Navigator.h"
#include "m... | [
"mrobbeloth@pdiarm.com"
] | mrobbeloth@pdiarm.com |
4abbab9afe0a9baba99aa69f01568951cf0e55a0 | a84b013cd995870071589cefe0ab060ff3105f35 | /webdriver/branches/chrome/chrome/src/cpp/include/webkit/port/bindings/v8/v8_np_utils.h | 6e8290b5ea87494175d94ea5c62f525e100ddbf2 | [
"Apache-2.0"
] | permissive | vdt/selenium | 137bcad58b7184690b8785859d77da0cd9f745a0 | 30e5e122b068aadf31bcd010d00a58afd8075217 | refs/heads/master | 2020-12-27T21:35:06.461381 | 2009-08-18T15:56:32 | 2009-08-18T15:56:32 | 13,650,409 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 991 | h | // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef v8_np_utils_h
#define v8_np_utils_h
#include <v8.h>
#include "third_party/npapi/bindings/npruntime.h"
namespace WebCore {
class Fra... | [
"noel.gordon@07704840-8298-11de-bf8c-fd130f914ac9"
] | noel.gordon@07704840-8298-11de-bf8c-fd130f914ac9 |
e162650b82e3dd5eada4a5ed0d90045834214f8a | b77349e25b6154dae08820d92ac01601d4e761ee | /List/HeaderCtrlEx/HeaderCtrlExt.h | 410e0a5417e568cdac1516c7944dbdbe2b27e96e | [] | no_license | ShiverZm/MFC | e084c3460fe78f820ff1fec46fe1fc575c3e3538 | 3d05380d2e02b67269d2f0eb136a3ac3de0dbbab | refs/heads/master | 2023-02-21T08:57:39.316634 | 2021-01-26T10:18:38 | 2021-01-26T10:18:38 | 332,725,087 | 0 | 0 | null | 2021-01-25T11:35:20 | 2021-01-25T11:29:59 | null | UTF-8 | C++ | false | false | 1,202 | h | #if !defined(AFX_HEADERCTRLEX1_H__8839C76A_39CB_4CD1_A9B3_D77B3E64E8C8__INCLUDED_)
#define AFX_HEADERCTRLEX1_H__8839C76A_39CB_4CD1_A9B3_D77B3E64E8C8__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// HeaderCtrlEx1.h : header file
//
///////////////////////////////////////////////////////////////... | [
"w.z.y2006@163.com"
] | w.z.y2006@163.com |
99426133c78dbac113bd52054c84f4948682e09f | 7b7c1d9dbb9d2da7be522ea3b858066d7c527845 | /Codeforces/1199D - Welfare State.cpp | 81aeec6826cc221c1c0743fbf8bbf5dab7580bb0 | [] | no_license | cyyself/OILife | 97893cf7e1d3de61517b0ddd5e6a064700886667 | 9190e45c6a660bf2e1db6d08d84ddf26eccd85dc | refs/heads/master | 2021-06-03T10:02:33.627522 | 2021-04-17T09:27:49 | 2021-04-17T09:27:49 | 101,148,852 | 12 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 630 | cpp | #include <bits/stdc++.h>
using namespace std;
int op[200005],p[200005],x[200005];
int a[200005];
int main() {
int n;
scanf("%d",&n);
for (int i=1;i<=n;i++) scanf("%d",&a[i]);
int q;
scanf("%d",&q);
for (int i=1;i<=q;i++) {
scanf("%d",&op[i]);
if (op[i] == 1) scanf("%d%d",&p[i],&x[i]);
else scanf("%d",&x[i])... | [
"noreply@github.com"
] | cyyself.noreply@github.com |
9bb350e891a0ed56173d6a70d4496f8e3fbec02f | a0030770fcf21715bcfdd350db31ab3870a64174 | /OE626_gsoap_call_wcf/cppClient/soapClientLib.cpp | ebf155a2bd08a031f8d22a103f4231400dbfe101 | [] | no_license | gauge2009/RPC | f28aab8d79d8433b6b2c1e99859580d2ea2aa4dc | d3dc273999322af76560e6e959379c2768053673 | refs/heads/master | 2021-01-10T19:06:13.510363 | 2015-06-26T13:21:34 | 2015-06-26T13:21:34 | 38,043,175 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 747 | cpp | /* soapClientLib.cpp
Generated by gSOAP 2.8.22 from calc.h
Copyright(C) 2000-2015, Robert van Engelen, Genivia Inc. All Rights Reserved.
The generated code is released under one of the following licenses:
GPL or Genivia's license for commercial use.
This program is released under the GPL with the additional exempti... | [
"promvc@live.com"
] | promvc@live.com |
b8bc770fabcb16be1b21b71be9fbb1a6fa09205f | 06f7b16ef886d048c1b63ba1f3bfae3020731698 | /src/ssx10/test/io_mt_test.h | fe6b41b8e7814f3660106adfa555c4dbfe960c72 | [
"Apache-2.0"
] | permissive | John-Chan/ssx-tester | 1ac9b7e737cc6cddc304b635c3baadab5e0778a9 | 01faadb05ba61436e031614514ba92417bbf7e7a | refs/heads/master | 2021-05-09T07:29:09.608646 | 2018-01-31T05:13:51 | 2018-01-31T05:13:51 | 119,361,317 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 226 | h | #ifndef SSX_TEST_IO_MT_TEST_H
#define SSX_TEST_IO_MT_TEST_H
namespace ssx {
namespace testing {
void run_io_mt_test(unsigned int seconds, int thread_size, bool dynamic_req);
void print_run_io_mt_test_help();
}
}
#endif | [
"cpp_cheen@163.com"
] | cpp_cheen@163.com |
60d9a137f9ca77c14d62aa8d7b4cea13e8cce911 | c6073b089b98d9ea8410c8ccf9d5471cc54b8af7 | /src/main.cc | f9ee4b196289791568cc956df72dbf4c1f53169e | [
"MIT"
] | permissive | zacklukem/llang | 8562ce7472b5ec865de0441070fe80bf44d9560e | 8538bd0deaabfca40787c709cd5dd32dd62c0c8a | refs/heads/main | 2023-04-07T18:31:15.871149 | 2021-04-12T15:22:58 | 2021-04-12T15:22:58 | 356,061,561 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,812 | cc | // Copyright 2020 Zachary Mayhew
#include "ast.hh"
#include "state.hh"
#include <cstddef>
#include <llvm/IR/BasicBlock.h>
#include <llvm/IR/Constants.h>
#include <llvm/IR/DerivedTypes.h>
#include <llvm/IR/Function.h>
#include <llvm/IR/IRBuilder.h>
#include <llvm/IR/LLVMContext.h>
#include <llvm/IR/LegacyPassManager.h>... | [
"mayhew.zachary2003@gmail.com"
] | mayhew.zachary2003@gmail.com |
b727dafea399acd2f401e10f54eab91edbafe39f | 2ab6fbc4e16321b6b6d5f7942fed81246550a116 | /omini_wheel_v1JUGAD/teach1.ino | 233e85dd800198c1f7425237fde07713979301b7 | [] | no_license | johnsolo/omni_wheel_bot | a5ee694245deaa777af940ee1577a34b80d95cf9 | 1e4225af559e8e4341fe36655c6ae623c354a1df | refs/heads/master | 2021-01-23T19:26:36.578752 | 2018-03-26T06:59:53 | 2018-03-26T06:59:53 | 102,825,476 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,934 | ino | /////////////////////////////////////////////////////////////////////////////////////////////TEACH MODE///////////////////////////////////////////////////////////////////////////////
void teach1()
{ teach_flag = 1;
int start_flag = 0, stop_flag = 1;
memset (ble_input, '\0', sizeof(ble_input));
serial_flush();
w... | [
"john@graspio.com"
] | john@graspio.com |
82ccb4e27543eb009cfcd0f3339357eac185bcbb | 4458b8968ab0e7427f91d2a7471c60ee3e1245df | /2.1.1/cf17_final_b.cpp | ac1231143912d9edb2081ebacc571fe843e3f3a4 | [] | no_license | knknkn1162/ant_competitive_solution | 89be79bce55cec33db18ce7dd87b919c16f7a655 | 03c6db143a63680387614c734e77ae0c3f428b9a | refs/heads/master | 2022-11-16T12:56:56.056393 | 2020-07-13T08:47:48 | 2020-07-13T08:47:48 | 258,682,506 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,563 | cpp | #include <iostream> // cout, endl, cin
#include <string> // string, to_string, stoi
#include <vector> // vector
#include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <utility> // pair, make_pair
#include <tuple> // tuple, make_tuple
#include <cstdint> // int64_t, int*_t
#include <cstd... | [
"knknkn1162@gmail.com"
] | knknkn1162@gmail.com |
0aee1e4a004caf5286e50389fffeb1041f51a94b | f5c5afb6e8c4afc8bad23333de836fb7d607d971 | /common/protocol/event/game_starts_event.h | befaa54e65f2aaaf955e1cc232b729cb5dc51fd0 | [
"MIT"
] | permissive | dima1997/PORTAL_2D_copy | 471fa199c2886a9e1e3b53f7796b8f4cd922099d | 7618d970feded3fc05fda0c422a5d76a1d3056c7 | refs/heads/master | 2020-09-05T14:36:04.176004 | 2019-06-26T01:03:51 | 2019-06-26T01:03:51 | 220,131,617 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 285 | h | //
// Created by franciscosicardi on 26/05/19.
//
#ifndef PORTAL_GAME_STARTS_EVENT_H
#define PORTAL_GAME_STARTS_EVENT_H
#include "event.h"
class GameStartsEvent: public Event {
public:
GameStartsEvent();
~GameStartsEvent() override;
};
#endif //PORTAL_GAME_STARTS_EVENT_H
| [
"francisco.sicardi@despegar.com"
] | francisco.sicardi@despegar.com |
d736233e9ecdaabb46185cc6df1515577424025a | da7156dc56cc983a82457df15783c7778446db66 | /src/gpu/vk/GrVkCaps.cpp | 09798d904f1c92eb2ddcf564d37b82d4020290d4 | [
"BSD-3-Clause"
] | permissive | boberfly/skia-lite | 3e882fc8a8a5a61af1384b922c43ad8187a72f1e | 928713a4ee8e8471127a68aba39e6bf8f0855fd8 | refs/heads/master | 2020-06-23T06:17:03.142216 | 2019-07-24T02:23:46 | 2019-07-24T02:23:46 | 198,541,826 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 51,276 | cpp | /*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "include/gpu/GrBackendSurface.h"
#include "include/gpu/GrRenderTarget.h"
#include "include/gpu/vk/GrVkBackendContext.h"
#include "include/gpu/vk/GrVkExtensions.h"
#in... | [
"boberfly@gmail.com"
] | boberfly@gmail.com |
e9334ed133a805ac835d68c5f00708c1b48fdd8a | 167b7c038e8a5dbd005931cc1b266c19a7f1731d | /TDD/Soundex.h | ecef04aba3ac9307b40b3592a035ad65422abc8f | [] | no_license | sundalin0512/TDD | bb7e5fc5eb4467d5e7efc9d1650c9e974d9fa271 | 75a750c943db757b34b506ee7c2cd73d29b2b227 | refs/heads/master | 2021-07-20T14:44:06.458596 | 2017-10-29T05:07:12 | 2017-10-29T05:07:12 | 107,598,783 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,120 | h | #pragma once
#ifndef Soundex_h
#define Soundex_h
#include <string>
#include <unordered_map>
class Soundex
{
public:
std::string encode(const std::string& word) const {
return zeroPad(head(word) + encodedDigits(word));
}
private:
static const size_t MaxCodeLength{ 4 };
std::string head(const std::string& word)... | [
"sundalin0512@outlook.com"
] | sundalin0512@outlook.com |
05c69900f7d3604311ce412bd5daf9314149a973 | 4e29395020ce78f435e75e0b3f1e09b227f6f4d8 | /AIProjects/tianyan/vms/vag/common/cplusplus/third_party/Ice/include/Ice/CommunicatorF.h | edf861d3c94f0bcf5ae7a6e14450343c3115b1d4 | [] | no_license | luoyangustc/argus | 8b332d94af331a2594f5b1715ef74a4dd98041ad | 2ad0df5d7355c3b81484f6625b82530b38b248f3 | refs/heads/master | 2020-05-25T21:57:37.815370 | 2019-05-22T09:42:40 | 2019-05-22T09:42:40 | 188,005,059 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,546 | h | // **********************************************************************
//
// Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// ***************************************************... | [
"luoyang@qiniu.com"
] | luoyang@qiniu.com |
2439a24eb54dd0e1dfdd3245ecc49f8bb5438aca | fbef8ff62158f6cfad491d51481277b928f9e75d | /raytracing/src/raytracing.cpp | 26f742acb5240b169d3134561f48b783f167e10b | [] | no_license | lalagi2/rayt | dc35ef9344a843db76f306ac41c92d8255c922fc | 694e3637a04ef0f1b33e530c19d84895cd131459 | refs/heads/master | 2021-01-01T16:39:37.250372 | 2013-01-15T12:54:07 | 2013-01-15T12:54:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 447 | cpp | //============================================================================
// Name : raytracing.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#includ... | [
"tothlajosg@gmail.com"
] | tothlajosg@gmail.com |
009b739f92236940ee30a9d232402a25cddf418e | 8632d68d5d1a2fd5497ea1a8ad83bfd052b63304 | /headband_v0.2/Code/Headband_v02_cleaned/Interrupt.ino | 5450235b595cf198738e121e1a138a1c89155f15 | [] | no_license | RobotGrrl/fabacademy | dc05794143758ce5b3d0f70f15220d7f387bc5ba | 24bfcb9083934beea44513ca52a44619f4baaf48 | refs/heads/master | 2021-01-15T17:07:01.330872 | 2015-07-23T16:43:48 | 2015-07-23T16:43:48 | 30,564,098 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,745 | ino |
volatile int rate[10]; // array to hold last ten IBI values
volatile unsigned long sampleCounter = 0; // used to determine pulse timing
volatile unsigned long lastBeatTime = 0; // used to find IBI
volatile int P =512; // used to find peak in pulse wave, seeded... | [
"erin@robotgrrl.com"
] | erin@robotgrrl.com |
c505eb5769bfeb8c949621af16cd47c8aae3187c | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_repos_basic_block_block_5952.cpp | 897d7394f1c8d437a9c04ad167e596cbadcac7b9 | [] | 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 | 13 | cpp | *fragment = 0 | [
"993273596@qq.com"
] | 993273596@qq.com |
28ec42335b36e2a992ae754ec7df620838ab0428 | 248bdd698605a8b2b623fe82899eec15bc80b889 | /media/webrtc/trunk/webrtc/modules/video_coding/video_codec_initializer.cc | ae6afe52418cc822294283caf64a0e15d76e3869 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Feodor2/Mypal68 | 64a6f8055cb22ae6183a3a018e1487a44e20886e | dc92ce6bcc8032b5311ffc4f9f0cca38411637b1 | refs/heads/main | 2023-08-31T00:31:47.840415 | 2023-08-26T10:26:15 | 2023-08-26T10:26:15 | 478,824,817 | 393 | 39 | NOASSERTION | 2023-06-23T04:53:57 | 2022-04-07T04:21:39 | null | UTF-8 | C++ | false | false | 10,100 | cc | /*
* Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | [
"Feodor2@mail.ru@"
] | Feodor2@mail.ru@ |
da3156d36ac39b0f66b3336e974944a24b31079c | 0887bb788a5a5686ab6b9e8b481db7539542f304 | /SLinkedList.hpp | 3979e4d8df736afd1682780fa32545d37990f882 | [] | no_license | yudistrange/TrashCan | 62a54dbc0e0ef0aa0c971dd84228dd569cfcbb74 | 007fd4dfde3cbd3794b1c8c1afcd89ceeba80d26 | refs/heads/master | 2021-01-01T19:30:58.330646 | 2013-10-06T16:34:51 | 2013-10-06T16:34:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 369 | hpp | struct Snode {
int val;
Snode * next;
};
class SLinkedList {
private:
Snode * head;
int size;
public:
SLinkedList ();
Snode * getHead ();
void hInsert (int i);
void tInsert (int i);
void pInsert (int i, int pos);
void Delete (int i);
void pDelete (int pos);
int Search (int i);
int ... | [
"yudistrange@gmail.com"
] | yudistrange@gmail.com |
16252c2486a83c471f6c7811f600da5600297a38 | c9747b061835fb5e5d5e9788f957f622d48552db | /ArrayStack.h | 7377f4a41ae13a2539c4ce9f8f11452001bbef24 | [] | no_license | s3dawyXD/DataStructure | 513bdad1e6f1aa2000a60a3e878f8d24ebbbee5b | 3ba629ea11ee2843dbb004333e262b6fc40322ac | refs/heads/master | 2022-06-05T02:58:08.144013 | 2020-04-29T21:31:34 | 2020-04-29T21:31:34 | 260,047,304 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 369 | h | #ifndef __ARRAY_STACK_H__
#define __ARRAY_STACK_H__
#define DEF_CAP (100)
//template<typename E>
typedef int E;
class ArrayStack
{
private:
E* S;
int t;
int capacity;
public:
ArrayStack(int cap = DEF_CAP);
~ArrayStack();
int size()const;
bool empty()const;
void push(const E & e);
vo... | [
"m1hamed98@gmail.com"
] | m1hamed98@gmail.com |
8c499039906e7b6a4e3ee344d905ac6008efe0b7 | 18b853b83ed6fff6a44b30a3a4c85ae48a123420 | /Ch1/1_1.cpp | 34f0ce01649d0ad01c98e1b80b593cd4dcba44b2 | [] | no_license | qwuaren/AppliedProgramming2019 | 02c7a31c0a2a5e6cfb6be0558189edd6d4cceb7f | cbde1241d353493bffe7b5244da9165842995050 | refs/heads/master | 2022-07-12T11:15:00.288470 | 2020-05-11T07:53:58 | 2020-05-11T07:53:58 | 256,882,329 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 103 | cpp | #include <iostream>
int main(int argc, char* argv[])
{
std::cout << "Hello world\n";
return 0;
}
| [
"karenalavi@gmail.com"
] | karenalavi@gmail.com |
17b52bd9f87d8a806fb283faaffaab379f584b6f | efcc9ecde592f2db0e5de4ff9737176a422d00e3 | /Src/TabPageSerialportAssistant/SerialportSAKIODeviceControler.hh | 242c6fc4ea7169abf0a078ab850b7f99e33b1ca9 | [] | no_license | xujin961129/Kits | 86b7373e4367b641d0a8ffcdc316a6cf52df6456 | 315f3070b1f9e227e4395ca7865eb3b7ff3afe66 | refs/heads/master | 2020-07-11T03:48:57.557781 | 2019-08-26T09:13:39 | 2019-08-26T09:13:39 | 204,438,592 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,043 | hh | /*******************************************************************************
* The file is encoding with utf-8 (with BOM)
*
* I write the comment with English, it's not because that I'm good at English,
* but for "installing B".
*
* Copyright (C) 2018-2018 wuhai persionnal. All rights reserved.
*******************... | [
"xujin961129.@163.com"
] | xujin961129.@163.com |
357a2b84d86643ced47cfa8f4027b93c4dbd38e1 | 2357eaf1295fd78a53d2aa826672d3891994ef1f | /src/pathtracer/primitive.hpp | d0200395fc704142992812a1532fc9e97e6eb8e9 | [] | no_license | ennis/path-tracer | 36def0289dbb4b83429da761d2457e4e7d78e79d | 88d40fcc111712d14c22b0dc536d35b92353f475 | refs/heads/master | 2020-06-02T13:21:25.170124 | 2015-04-18T16:13:50 | 2015-04-18T16:13:50 | 33,879,414 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,088 | hpp | #ifndef PRIMITIVE_HPP
#define PRIMITIVE_HPP
#include "vec.hpp"
#include "bbox.hpp"
#include "texture.hpp"
#include "transform.hpp"
#include "ray.hpp"
#include <iostream>
class Primitive;
class Material;
//==================================
// Intersection
struct Intersection
{
// Primitive at hit point
Primitive ... | [
"blerona@telesun.imag.fr"
] | blerona@telesun.imag.fr |
f660542aa68bd4420c8c3ff4b93644c77b85e05e | 33d33eb0a459f8fd5f3fbd5f3e2ff95cbb804f64 | /256.paint-house.104480883.ac.cpp | f5d7c48d1f0929dcc7caacc3d4c46c0db55d3a89 | [] | no_license | wszk1992/LeetCode-Survival-Notes | 7b4b7c9b1a5b7251b8053111510e2cefa06a0390 | 01f01330964f5c2269116038d0dde0370576f1e4 | refs/heads/master | 2021-01-01T17:59:32.945290 | 2017-09-15T17:57:40 | 2017-09-15T17:57:40 | 98,215,658 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 469 | cpp | class Solution {
public:
int minCost(vector<vector<int>>& costs) {
int n = costs.size();
vector<vector<int>> dp(n+1, vector<int>(3, 0));
for(int i = 1; i <= n; i++) {
dp[i][0] = min(dp[i-1][1],dp[i-1][2]) + costs[i-1][0];
dp[i][1] = min(dp[i-1][0],dp[i-1][2]) + costs[... | [
"wszk1992@gmail.com"
] | wszk1992@gmail.com |
4353a65f434b4d98c1fb56d3a43959f3c167d1b7 | 29716cb863c320e041316542c725463698e17c00 | /horner.cpp | fe1ca7d0e205681a45cdad8e318c9931eaadb078 | [] | no_license | generalis/pi | 4e9a9d240b5bb728854879c52bbb4b77f59185c5 | 6244824dcc948c4f2708c9527d5a3eaf1f5f9574 | refs/heads/master | 2020-05-05T03:39:25.227572 | 2019-04-05T13:01:52 | 2019-04-05T13:01:52 | 179,681,375 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,999 | cpp | #include <iostream>
#include <sstream>
using namespace std;
namespace patch
{
template < typename T > std::string to_string( const T& n )
{
std::ostringstream stm ;
stm << n ;
return stm.str() ;
}
}
#include <bits/stdc++.h>
using namespace std;
// Multiplies str1 and str2, and p... | [
"swiftmailer9@gmail.com"
] | swiftmailer9@gmail.com |
aca05c8b4c71812b3e5ea58b7abf581f3362eec1 | 8ff8051031301e9a26a8af298b0d8eb1ab70d319 | /dev/working/Command.cpp | d1ebd000cf02dd70cfea6039e8dfe076a6dc50f4 | [] | no_license | NRWB/css343-lab04 | 081415fd77272480b96f522e310f2b45fccb6b74 | d4c7029f294a608aa6a3302eb979cfe8ab0bb566 | refs/heads/master | 2021-01-10T20:40:01.898659 | 2014-12-01T05:10:54 | 2014-12-01T05:10:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 226 | cpp | #include "Command.h"
Command::Command() {
cmdName = "";
}
Command::~Command() {
//
}
void Command::setName(const string value) {
//
cmdName = value;
}
string Command::getName() const {
return cmdName;
} | [
"nick.bell7@live.com"
] | nick.bell7@live.com |
fb3e95c373fe5eabaa5a578c264db884394041bd | f2c1aec43c2ea768ca7d7513d7803d6f4e1b63aa | /Numerical integration/funzione.h | 9506b6c99128bd41dab623c4c83803de7418b2ad | [] | no_license | marcello-negri/ExperimentalDataProcessing | 1d7810050db2560ad0faa5c848e687240d5d1c0e | 093f9d8790f89a37d14719d88e222583c1b46ec9 | refs/heads/main | 2023-01-03T07:28:20.599948 | 2020-10-30T18:09:38 | 2020-10-30T18:09:38 | 308,334,958 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 735 | h | #ifndef _FUNZIONE_H
#define _FUNZIONE_H
#include <cmath>
class FunzioneBase {
public:
virtual double Eval (double x) const =0;
};
class Parabola: public FunzioneBase {
public:
Parabola();
Parabola (double a, double b, double c);
~Parabola();
virtual double Eval (double x) const;
void SetA(double a){m_... | [
"noreply@github.com"
] | marcello-negri.noreply@github.com |
c659fc1d7a7443a59231243cb615105acea97c13 | 486b04913fd541a82cd012f0e2aa4c1d5a47c094 | /工程/XcodeGlutDemo/XcodeGlutDemo/GL_TOOL/include/GLBatch.cpp | 12538dc63aac30aa135859d73c7fdd7d0ad26a06 | [] | no_license | lishaizhe/knowledge | 58c38925aea997d4bb1e6d2bbdfd6a0717829c2f | d3bf05cf33f75bb525539fcc7f23e0afcb19034a | refs/heads/master | 2023-06-27T10:52:54.754644 | 2023-06-13T13:59:09 | 2023-06-13T13:59:09 | 49,691,073 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,151 | cpp | /*
GLBatch.cpp
Copyright (c) 2009, Richard S. Wright Jr.
GLTools Open Source Library
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
Redistributions of source code must retain the above cop... | [
"435832656@qq.com"
] | 435832656@qq.com |
e312410ce8903798e7689bcada4161e67220afec | f0e8f6736c9d7482f0ea52dd0a3c412d340f2d63 | /Chapter6/6.38.cpp | c7d05f9317113e38c6b3b30d3249316c35e037c9 | [] | no_license | zhouguoguo/C-plus-plus-Primer | 146d46e24a9b98207fa0e18759ac5dfcaea6307d | 27970b85457e86ff657f04c618851ec1a3f35a58 | refs/heads/master | 2020-06-23T17:35:01.778747 | 2017-03-03T04:22:06 | 2017-03-03T04:22:06 | 76,225,490 | 2 | 0 | null | 2016-12-26T05:41:00 | 2016-12-12T05:40:33 | C++ | UTF-8 | C++ | false | false | 386 | cpp | #include <iostream>
using namespace std;
int odd[5] = {1,3,5,7,9};
int even[5] = {0,2,4,6,8};
decltype(odd) &arrPtr(int i)
{
return (i % 2) ? odd : even;
}
int main()
{
int val = 2;
cout << arrPtr(val)[0] << endl;
cout << arrPtr(val)[1] << endl;
cout << arrPtr(val)[2] << endl;
cout << arrPtr... | [
"noreply@github.com"
] | zhouguoguo.noreply@github.com |
ce089e1f3f27fda87b06db4ac08bc85a03921fbe | 5ae875a170dd9333748bcd03f4e37e8d5f385401 | /model/EntityAction.hpp | 7d6cf0d08c0b8f33166f68670567d7a227794068 | [] | no_license | dgrachev28/aicup2020 | 134f0704a17e8f626f4c704505257d3dcd8b6840 | df4ce2e363ccfa4d104742e0b0416834a8617073 | refs/heads/master | 2023-03-02T06:58:31.503747 | 2021-02-04T07:22:48 | 2021-02-04T07:22:48 | 335,604,609 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,075 | hpp | #ifndef _MODEL_ENTITY_ACTION_HPP_
#define _MODEL_ENTITY_ACTION_HPP_
#include "../Stream.hpp"
#include "AttackAction.hpp"
#include "AutoAttack.hpp"
#include "BuildAction.hpp"
#include "EntityType.hpp"
#include "MoveAction.hpp"
#include "RepairAction.hpp"
#include "Vec2Int.hpp"
#include <memory>
#include <stdexcept>
#in... | [
"dgrachev28@gmail.com"
] | dgrachev28@gmail.com |
bb042e4f14712d1a99492fbcb52193691d73cfee | 7e5a38f253bb00aa7d2c9c08fc9726de6bbd3b10 | /E9_Shadows/DXFramework/Light.cpp | cb20581f02c1685bc259176c6f8c7c61b8feb3bd | [] | no_license | Abertay-University-SDI/CMP301_Shadows | 6281eee38c34958d967dc09b1bfafbd36502bca5 | 577cec3abd4b453be01986c1eba90ffb993c706f | refs/heads/master | 2023-08-28T23:15:13.591459 | 2021-11-08T09:44:09 | 2021-11-08T09:44:09 | 287,368,737 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,941 | cpp | // Light class
// Holds data that represents a single light source
#include "light.h"
// create view matrix, based on light position and lookat. Used for shadow mapping.
void Light::generateViewMatrix()
{
// default up vector
XMVECTOR up = XMVectorSet(0.0f, 1.0f, 0.0f, 1.0f);
if (direction.y == 1 || (direction.x ==... | [
"p.robertson@abertay.ac.uk"
] | p.robertson@abertay.ac.uk |
3d9ac8d1fba9859b43592e8f8d9868e69cc529b6 | 84e5c66a4879c11850ca58a4a0f90389e52c3f49 | /overloading/addition/overload.h | 6e111d12f89291496ff24fd4a6a9fc696ff03259 | [] | no_license | TrevarO/Descriptial | 6953e3b5daede3d8c1b46f78b7cd15667445e004 | f895bb6895233d89e77b896f1012bef5170dec70 | refs/heads/master | 2020-03-08T01:50:31.368400 | 2018-04-05T01:10:36 | 2018-04-05T01:10:36 | 127,842,121 | 0 | 0 | null | 2018-04-03T02:55:02 | 2018-04-03T02:55:02 | null | UTF-8 | C++ | false | false | 203 | h | #include <iostream>
using namespace std;
class Add
{
void operator + (Add);
friend istream &operator >> (istream &input, Add &i);
public:
double x;
double y;
void add(double, double);
};
| [
"noreply@github.com"
] | TrevarO.noreply@github.com |
a5d2939275dbb7d85b0ec767a77494a221d58f49 | 60db84d8cb6a58bdb3fb8df8db954d9d66024137 | /android-cpp-sdk/platforms/android-4/java/util/concurrent/CopyOnWriteArrayList.hpp | b78da280f4aa169347123fa6de764ecdf679b790 | [
"BSL-1.0"
] | permissive | tpurtell/android-cpp-sdk | ba853335b3a5bd7e2b5c56dcb5a5be848da6550c | 8313bb88332c5476645d5850fe5fdee8998c2415 | refs/heads/master | 2021-01-10T20:46:37.322718 | 2012-07-17T22:06:16 | 2012-07-17T22:06:16 | 37,555,992 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 24,001 | hpp | /*================================================================================
code generated by: java2cpp
author: Zoran Angelov, mailto://baldzar@gmail.com
class: java.util.concurrent.CopyOnWriteArrayList
================================================================================*/
#ifndef J2CP... | [
"baldzar@gmail.com"
] | baldzar@gmail.com |
d5d719c1baba932c57d4d74ea5586978ac554e32 | fe1e599acaa39e318abac640fe2f68b154b7259c | /RoboLabWP/RoboLabWPComp/View/Graphics/Matrix system/MZMatrixSystem.h | 57148c95797a781aeb89f35fb9c393d23b450655 | [] | no_license | GA239/robolabwp | 0c8d393194908e3c80e89d1fad593b0957e21453 | 35705fd0f851ef9a9959828a14fac204f517bcd5 | refs/heads/master | 2021-01-19T17:31:36.244208 | 2015-10-28T08:23:33 | 2015-10-28T08:26:33 | 101,060,772 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,187 | h | #pragma once
//
// MZMatrixSystem.h
// Robo Lab
//
#include "Model\Basic Types\MZMacro.h"
#include "View\Graphics\Shader sistem\MZShaderSystem.h"
#include <vector>
#include "glm\glm.hpp"
using namespace glm;
using namespace std;
class MZMatrixSystem
{
static MZMatrixSystem* instance;
static int _refcount;
pub... | [
"ag239@yandex.ru"
] | ag239@yandex.ru |
819437412e7192f3094605d896757a0c88a1872c | 70828283ca189ff2dbd979adaeb03ebdacdd0da3 | /vulkansdk-macos-1.2.162.0/macOS/include/spirv_cross/spirv_cross.hpp | 446275a26841c75574e453f7fe3564d318cd4cee | [] | no_license | mterekhov/doom | 8c4703b91bed4b71b6dd4d2949e412d2d5142daf | e67dea1d95604c899d0254869e0aa9ee186591a2 | refs/heads/master | 2023-06-24T09:35:33.833068 | 2021-03-12T09:04:24 | 2021-03-12T09:04:24 | 331,362,925 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 130 | hpp | version https://git-lfs.github.com/spec/v1
oid sha256:55a47b219eb88b522d41967d9255c7fbb2d028c6f6282ac112aadaea81fac074
size 47211
| [
""
] | |
6ccea793c0c98463059c7117875076ded59a142f | 1710252b2cea07aff1874d6861e3c744f6f1220e | /DataView/dataview.cpp | 473e9982f0bb66d7789a34604b199be845182deb | [] | no_license | lawrencetang/K5800Source | 3978c5fe4f599bd2eac896937145d68218f9a264 | 7b022790c89ce4a441d73849fa4c14db85067c39 | refs/heads/master | 2020-03-07T08:19:17.765767 | 2018-04-03T01:23:48 | 2018-04-03T01:23:48 | 127,374,394 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,648 | cpp | #include "dataview.h"
#include "ui_dataview.h"
#include <QDir>
#include <QFile>
#include <QDebug>
#include <QFileInfo>
#include <QDateTime>
#include <QTextStream>
#include <QFileDialog>
#include <QMessageBox>
#include <QDesktopServices>
#include <QMouseEvent>
#include <QScrollBar>
#include <QRect>
#include "olistscrol... | [
"526785371@qq.com"
] | 526785371@qq.com |
d67e6420fff8f36e0854532d44f74e344e836dc2 | 6a9566d2d6c97d2482c6a855d3d4a093c18d9ce9 | /Nethack-3.6.0.uwp/sys/uwp/uwpconditionvariable.h | 49b01f76998983727a565ebf8b1e1f815033007b | [] | no_license | rholder613/NH2017 | c38f296801555734a7b6a63820b69a3e63b30010 | 24c06687765e509c6979a416b4c0a7cd2a77b02b | refs/heads/master | 2021-01-11T16:54:58.249552 | 2017-01-22T08:02:16 | 2017-01-22T08:02:16 | 79,694,571 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 912 | h | /* NetHack 3.6 uwpconditionvariable.h $NHDT-Date: $ $NHDT-Branch: $:$NHDT-Revision: $ */
/* Copyright (c) Bart House, 2016-2017. */
/* Nethack for the Universal Windows Platform (UWP) */
/* NetHack may be freely redistributed. See license for details. */
#pragma once
namespace Nethack
{
class ConditionVariab... | [
"ross@apprefactory.ca"
] | ross@apprefactory.ca |
e6228e7159483ee213b2f423659004eb2ae2e33f | 301d556ef8c088652bd6cd685f02bec1f4aa5489 | /Snake/point.cpp | d54ee258c717f9c5d828062186c9ed54f2f4fb1e | [] | no_license | Tamirbs90/Sanke-with-additional-features | 30104fd01352b93ee75644ef4fab939d9a68079c | 0f82fde4a46385c053cb116fc4d424f63a05b2c4 | refs/heads/master | 2020-03-27T07:07:46.530930 | 2018-08-26T08:45:07 | 2018-08-26T08:45:07 | 146,165,097 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,204 | cpp | #include "stdafx.h"
#include "point.h"
void Point::draw() {
gotoxy(x, y);
cout << symbol << endl;
}
void Point::clear() {
gotoxy(x, y);
cout << " " << endl;
}
int Point::nextX(){
if (crossScreen) {
return (-min_x + x + dir_x + (max_x - min_x + 1)) % (max_x - min_x + 1) + min_x;
}
int next = x + dir_x;
i... | [
"42584911+Tamirbs90@users.noreply.github.com"
] | 42584911+Tamirbs90@users.noreply.github.com |
40418db77636167f36c6e5cb909b19078cda7520 | 4931cc524c60e134a100a6226a2864463209244b | /Src/FERenderer/FEDX11Renderer.h | 89129f9fd920359dfb151a1204a5d0f2a1b25749 | [] | no_license | Frojer/FrojerEngine | 65856564d1ac32eb1addbdbb4ad77f11999b45b3 | 64d3bd7d20efc7fe44dbbf38be19d4a867587776 | refs/heads/master | 2021-06-03T10:06:47.912552 | 2020-05-27T16:26:56 | 2020-05-27T16:26:56 | 135,670,150 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 3,524 | h | #pragma once
#ifndef _FE_DX11_RENDERER
#define _FE_DX11_RENDERER
#include "IFERenderer.h"
#ifdef FE_DX11
#include "FEDX11Shader.h"
#include <unordered_map>
// DX 표준 헤더
#include <d3d11.h> // DX 표준 헤더. (DX 11.0)
//#include <d3d11_1.h> // DX 표준 헤더. (DX 11.1)
#pragma comment(lib, "d3d11") // DX 라이브러리 로딩. d3d11.... | [
"choicoco1995@naver.com"
] | choicoco1995@naver.com |
b146dda6946ddf4b2583109a8de1760866c4bdca | 4cd6ffcaea1c0dd96053d1e61b8c366bf8e513b2 | /10/10.1/TSP.cpp | aed2df1092f0c21253edb8dee72ac1b133e867f3 | [] | no_license | ElisaLegnani/LSN_exercises | f070fc8836a13d32e34eee895b4faaeff2a6811c | 13345a32b0d2deebdd1f8e589a9ae90438768906 | refs/heads/main | 2023-02-23T02:21:28.164178 | 2021-01-29T10:13:29 | 2021-01-29T10:13:29 | 328,937,722 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,170 | cpp | /********************************
Numerical Simulation Laboratory
Exercise 10.1
Elisa Legnani
*********************************/
#include <iostream>
#include <fstream>
#include <cmath>
#include <algorithm>
#include <numeric>
#include <vector>
#include "random.h"
#include "TSP.h"
using namespace std;
... | [
"noreply@github.com"
] | ElisaLegnani.noreply@github.com |
a415c2a67da88e2f237d61f7d229b49621c2d483 | d0b3557057583668173c145fa9df2043bc10b865 | /c_api/test/countIoctlIsEffectivelyCalled_test.cc | 5b24cef44d39ce1084735d3440836f2a92137afc | [] | no_license | CSGames-Archive/OS-2018 | f00160a35dae14e782fd8bcbfbd8b409d4145f41 | 901c84ea8bbe69638fdaa90f98753d97681a5d42 | refs/heads/master | 2020-03-08T16:56:03.193123 | 2018-04-03T17:09:54 | 2018-04-03T17:09:54 | 128,254,952 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 278 | cc | #include "common.hh"
TEST_F(CountBuffers, countIoctlIsEffectivelyCalled) {
size_t count;
int ret = kiki_count_buffers(dev, &count);
ASSERT_EQ(0, ret) << "count buffers did not return 0";
GetCorrectionStats();
EXPECT_EQ(1, correction_stats.count_buffers_called);
}
| [
"jonathan.gingras.1@gmail.com"
] | jonathan.gingras.1@gmail.com |
3beb32d14af282818cf696afd694ca9bf0b03229 | d443d21170d299b382ad51b47103f73c91784da2 | /install_jobs/tests/print_dir.hpp | acdfb3fa48c3c569930339e317b9f62fa6fdcf39 | [] | no_license | korslund/spread | 2513c8c664d28887241fde70864acce779b2728a | 377cc5175dc5f5b46eea3a06b77f181c4163e072 | refs/heads/master | 2021-01-10T20:22:52.035754 | 2013-11-30T12:08:29 | 2013-11-30T12:08:29 | 4,837,827 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 815 | hpp | #include "dir/from_fs.hpp"
#include <iostream>
void printDir(Spread::Directory &dir)
{
using namespace Spread;
using namespace std;
Hash::DirMap::const_iterator it;
for(it = dir.dir.begin(); it != dir.dir.end(); it++)
{
string hstring = it->second.toString();
// Pad hashes up to 50 chars
... | [
"korslund@gmail.com"
] | korslund@gmail.com |
638e15dc21d37b70108b124e97fd613c0d1817d0 | 131416ed956c82f2d527f56f627f90c4555f3f5b | /tools/cpp-define-generator/asm_defines.cc | b79e1ae26ec474b40106c4b4386c3b59fbc05fd6 | [
"Apache-2.0"
] | permissive | LineageOS/android_art | 5edf0db5fc8861deb699a3b9299172cfef00c58a | 96ac90faab12beb9cf671ae73f85f02225c96039 | refs/heads/lineage-18.0 | 2022-11-19T21:06:09.486629 | 2019-03-01T14:30:59 | 2020-09-15T14:01:35 | 75,633,906 | 21 | 205 | NOASSERTION | 2020-10-07T19:19:48 | 2016-12-05T14:45:12 | C++ | UTF-8 | C++ | false | false | 1,571 | 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... | [
"dsrbecky@google.com"
] | dsrbecky@google.com |
ad259e507cfe00ab6f95403b71b11e07cbebaae7 | f142eef2daa06e19d55a8ec317747df0e88110e7 | /main.cpp | 4da9004afe1491c1f0b2ecf222b5b0f2472e857d | [] | no_license | el19207/main.cpp | bee19e825a2375dd38701c3140bf9f0e30fab769 | fa2d026089cfa56b9294e4566eb3d015122764da | refs/heads/master | 2021-03-04T15:42:54.801275 | 2020-03-09T13:44:16 | 2020-03-09T13:44:16 | 246,046,593 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 75 | cpp | #include <iostream>
int main() {
std::cout << "good morning World!\n";
} | [
"jimgeog15@gmail.com"
] | jimgeog15@gmail.com |
1aa71340cd8b54fe94fa6f4a67d274ae258dec70 | 22212b6400346c5ec3f5927703ad912566d3474f | /src/Kernel/PoolAllocator.cpp | 86dd136fe4b932f95e642dddd24798ab3903c801 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | irov/Mengine | 673a9f35ab10ac93d42301bc34514a852c0f150d | 8118e4a4a066ffba82bda1f668c1e7a528b6b717 | refs/heads/master | 2023-09-04T03:19:23.686213 | 2023-09-03T16:05:24 | 2023-09-03T16:05:24 | 41,422,567 | 46 | 17 | MIT | 2022-09-26T18:41:33 | 2015-08-26T11:44:35 | C++ | UTF-8 | C++ | false | false | 861 | cpp | #include "PoolAllocator.h"
#include "Kernel/AllocatorHelper.h"
namespace Mengine
{
//////////////////////////////////////////////////////////////////////////
void * PoolAllocator::malloc( size_t _size, const Char * _doc )
{
void * p = Helper::allocateMemory( _size, _doc );
return p;
}... | [
"irov13@mail.ru"
] | irov13@mail.ru |
9f6ada19d38c51d3e74898ce5f03572fa2d8a739 | 8413273bab84228dad6ff5247f6d581b7796d142 | /kernel/yuza_core/ThreadContext.cpp | 4554e8a8832306b623fb0b108f98360a99858727 | [] | no_license | pdpdds/yuzaos | 91b6f5bb51583da3827594489fc700821bc5cd6a | ce3b6d0907f7be470fcbc408382a20e2b75e9ef2 | refs/heads/master | 2023-05-01T09:51:21.007740 | 2023-04-27T08:37:42 | 2023-04-27T08:37:42 | 289,303,507 | 28 | 5 | null | 2021-03-20T14:58:37 | 2020-08-21T15:30:10 | C | UTF-8 | C++ | false | false | 7,046 | cpp | //
// Copyright 1998-2012 Jeff Bush
//
// 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 l... | [
"juhang3@daum.net"
] | juhang3@daum.net |
f32c2f83406092ed5ebb6665a5ee23c564221396 | a3389210770761646974384abc5120248748205a | /src/libraries/TVout/video_gen.cpp | 1769d7cb60f827e0313bd74b9349579d2474519e | [
"MIT"
] | permissive | night-ghost/rx5808-pro-diversity | 50c7893cb9497d717899847893cd4c641207e09e | ee3025d7ad584096fbff00a7197ef3666d18b868 | refs/heads/master | 2021-01-17T18:28:48.527670 | 2016-08-09T06:33:23 | 2016-08-09T06:33:23 | 45,344,920 | 0 | 1 | null | 2015-11-01T15:05:34 | 2015-11-01T15:05:33 | null | UTF-8 | C++ | false | false | 12,741 | cpp | /*
Copyright (c) 2010 Myles Metzer
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribu... | [
"night_ghost@ykoctpa.ru"
] | night_ghost@ykoctpa.ru |
cc5ac3f7415b74200f0e7b1365b958e5f617cae9 | 36bf908bb8423598bda91bd63c4bcbc02db67a9d | /Include/CPaintLib.h | 12371931de4b91215b0ef83d8351b8a048d16b7c | [] | no_license | code4bones/crawlpaper | edbae18a8b099814a1eed5453607a2d66142b496 | f218be1947a9791b2438b438362bc66c0a505f99 | refs/heads/master | 2021-01-10T13:11:23.176481 | 2011-04-14T11:04:17 | 2011-04-14T11:04:17 | 44,686,513 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,358 | h | /*
CPaintLib.h
Classe derivata per interfaccia con paintlib.
Luca Piergentili, 01/09/00
lpiergentili@yahoo.com
Ad memoriam - Nemo me impune lacessit.
*/
#ifndef _CPAINTLIB_H
#define _CPAINTLIB_H 1
#include "window.h"
#include "ImageConfig.h"
#ifdef HAVE_PAINTLIB_LIBRARY
#include "ImageLibraryNa... | [
"luca.pierge@gmail.com"
] | luca.pierge@gmail.com |
5bd3bf2129bcd266a9944fed68b5d99448f3ef24 | 4700115f94bc2a8c83ca5349053e9684fc471c29 | /src/System/TimeLinux.cpp | 02ad6b9be47c9256e22baab1e6e93e693fd16aad | [
"Apache-2.0"
] | permissive | wangscript/RadonFramework | 5ff29ad5f9a623cd3f4a2cb60ca8ae8fe669647c | 7066779c1b88089d9ac220d21c1128c2cc2163a9 | refs/heads/master | 2020-12-28T23:45:46.151802 | 2015-07-03T18:42:29 | 2015-07-03T18:42:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 701 | cpp | #include "RadonFramework/precompiled.hpp"
#include "RadonFramework/System/Time.hpp"
#include <time.h>
#include <sys/time.h>
#include <sys/timeb.h>
#include <stdlib.h>
RF_Type::UInt64 GetHighResolutionCounter()
{
timespec tmp;
RF_Type::UInt64 result=0;
if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &tmp) == ... | [
"thomas@ptscientists.com"
] | thomas@ptscientists.com |
f8bf503b4d3b7be320fd4d6a26b5f015ac01aa15 | 27bb5ed9eb1011c581cdb76d96979a7a9acd63ba | /aws-cpp-sdk-inspector/source/model/DescribeFindingRequest.cpp | 09893dc0d324343da790524c9779b67c2d052dd2 | [
"Apache-2.0",
"JSON",
"MIT"
] | permissive | exoscale/aws-sdk-cpp | 5394055f0876a0dafe3c49bf8e804d3ddf3ccc54 | 0876431920136cf638e1748d504d604c909bb596 | refs/heads/master | 2023-08-25T11:55:20.271984 | 2017-05-05T17:32:25 | 2017-05-05T17:32:25 | 90,744,509 | 0 | 0 | null | 2017-05-09T12:43:30 | 2017-05-09T12:43:30 | null | UTF-8 | C++ | false | false | 1,365 | cpp | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
a26b7a23f567d963de9bd0cd4c2573d647709f9e | 8b2ec0fef5a5b1d741eee794e8c39a937cc31063 | /PieceT.h | 2b6f0f5548decfe6500d09ff10a475b6ee014428 | [] | no_license | Avival-Code/TetrisSFML | f219969adddb1ef1dfdd0fd2c678ad1125e61ad7 | 49ff5fc90ed94edecd4895a58a58949f37ac1f56 | refs/heads/master | 2020-04-30T19:03:24.593263 | 2019-03-21T21:44:22 | 2019-03-21T21:44:22 | 177,027,374 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 352 | h | #pragma once
#include "Tetromino.h"
class PieceT : public Tetromino
{
public:
PieceT(Vef2& Start_Pos, sf::Texture& Texture);
void ResetBlockPositions() override;
void ArrangePieceBlocks() override;
void RotatePieceLeft() override;
void RotatePieceDown() override;
void RotatePieceRight() override;
vo... | [
"noreply@github.com"
] | Avival-Code.noreply@github.com |
ed7e58b60a617dcbdcba129d5f0cfd10e0869c21 | 249b8ac66022cef45f1e5fd8d594b76ee0cb3ad4 | /Working/ClusterResults/damBreak/damBreakFine/processor1/0.25/p_rgh | 5ce8b3ee8ddbc25ab3d103c2e7796f793f893c7f | [] | no_license | Anthony-Gay/HPC_workspace | 2a3da1d599a562f2820269cc36a997a2b16fcbb8 | 41ef65d7ed3977418f360a52c2d8ae681e1b3971 | refs/heads/master | 2021-07-13T17:36:50.352775 | 2021-02-08T05:59:49 | 2021-02-08T05:59:49 | 232,433,074 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 20,354 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"anthonygay1812@yahoo.com"
] | anthonygay1812@yahoo.com | |
cbcc113aedda9d9b89db36a5be2134a56f3fc100 | 5cd88ef8b7b43b3039bad7c8cf9423c257b0b512 | /Penguin/src/VertexArray.h | 0bfb051958fe4f2ed18598ac54f9858628de2dbb | [] | no_license | David-DiGioia/penguin-graphics | d8fa5eb25be4af8842a6082f068d650240547548 | a02ec7c5a398d8827d39efc9d6fb1e77a3808c59 | refs/heads/master | 2020-06-10T02:10:14.118262 | 2019-09-15T23:07:49 | 2019-09-15T23:07:49 | 193,552,694 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 284 | h | #pragma once
#include "VertexBufferLayout.h"
#include "VertexBuffer.h"
class VertexArray
{
public:
VertexArray();
~VertexArray();
void bind() const;
void unbind() const;
void addBuffer(const VertexBuffer& vbo, const VertexBufferLayout& layout);
private:
unsigned int m_id;
}; | [
"davidofjoy@gmail.com"
] | davidofjoy@gmail.com |
baf356d2051b9d1885b481dbe612ba3e582839b3 | e9cfe0a6d4c3930341860d86b17f62b402bd7981 | /ciencia_5/ciencia_5.ino | b9836fca0bd12663746895d1d998cf68f60ceef6 | [] | no_license | joaopaulo-cerquinhocajueiro/aulasArduino | e921ed9ad6e2e3a271fafab2206b53f27fd8f366 | a2d1cc655d5a8162fc20989301c4e067f9376182 | refs/heads/master | 2021-01-22T05:37:35.749663 | 2017-02-20T14:04:41 | 2017-02-20T14:04:41 | 81,679,510 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,236 | ino | //Variação do Hue de um led RGB
/*
O potenciômetro define o hue interpolando entre estes pontos:
0 - red = 255, green = 0, blue = 0
341(1024/3) - red = 0, green = 255, blue = 0
683(2*1024/3) - - red = 0, green = 0, blue = 255
1024 - mesmo que 0
*/
const int buttonPin = 4;
const int r = 3;
const int g = 5;
const ... | [
"João Paulo Cerquinho Cajueiro"
] | João Paulo Cerquinho Cajueiro |
a5ccfebc0d1f9f4f0de9647a10bfed86f82d7c4c | e25dccfacf52ad29aeec362ac1ffb2b616020c10 | /MayaGameplay3D/MayaAPI/include/tbb/tbb_profiling.h | 456f979ecf773026576c4f97730fb006f4d708e3 | [
"MIT"
] | permissive | marredal/MayaGameplay3D | 958adc1f293aae4cdcb5b7cf8f7aa8f2fa533838 | 3b57068ba82b3d3601147c9ea40448dba7c400fb | refs/heads/master | 2021-07-12T22:01:58.958734 | 2017-10-18T07:52:39 | 2017-10-18T07:52:39 | 106,654,361 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 13,353 | h | /*
Copyright 2005-2015 Intel Corporation. All Rights Reserved.
The source code contained or described herein and all documents related
to the source code ("Material") are owned by Intel Corporation or its
suppliers or licensors. Title to the Material remains with Intel
Corporation or its supplier... | [
"aston_martin93@hotmail.com"
] | aston_martin93@hotmail.com |
3179c71d8b4dfece943cc0e68ac2432c27b19ffe | 2f78d6d5c92449acb0ade6f8e89ef40acc205f85 | /HPC/hpc_2.cpp | e26e41b84a4dd97b14ae8bb990d0055860bfbe7f | [] | no_license | bhagyeshdholaria/mit_codes | e80a767de7841cdb1ca1f7487a69dc5b17236824 | a1894b93bc749a43eaa8d7e49791346c033da2f8 | refs/heads/master | 2023-03-06T17:19:48.664264 | 2021-02-14T11:21:10 | 2021-02-14T11:21:10 | 231,590,299 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 450 | cpp |
#include <stdio.h>
#include <omp.h>
int main(){
int steps;
printf("Enter number of steps : ");
scanf("%d", &steps);
double width = (double) 1/steps; // the width of each section
double pi = 0;
double x;
#pragma omp parallel for
for(int i=1; i<steps; i++){
x = (double) i * width; // the value if x a... | [
"bhagyeshdholaria@gmail.com"
] | bhagyeshdholaria@gmail.com |
0172cfd88d596d94cdf478ce2ffffc6c725f44c6 | b4cb38c956f17f8383a602f79734aec91b9a7904 | /source/FAST/Algorithms/ImageCropper/Tests.cpp | c5e35732dcf338d7f51cce15fbdb062145a5b8c3 | [
"Apache-2.0",
"BSD-2-Clause",
"LGPL-2.0-or-later",
"MIT"
] | permissive | smistad/FAST | db47ca4378c77548600cbf0c404792d4330e6b22 | 73209765d7fedc1df7e3fd3cd5b7e8540eb0d74d | refs/heads/master | 2023-08-16T01:39:23.106440 | 2023-08-15T11:21:47 | 2023-08-15T11:26:52 | 17,882,588 | 375 | 95 | BSD-2-Clause | 2023-03-08T12:34:38 | 2014-03-18T21:26:28 | C++ | UTF-8 | C++ | false | false | 3,368 | cpp | #include <FAST/Testing.hpp>
#include "ImageCropper.hpp"
#include <FAST/Importers/ImageFileImporter.hpp>
#include <FAST/Data/Image.hpp>
using namespace fast;
TEST_CASE("ImageCropper 2D", "[fast][ImageCropper]") {
auto importer = ImageFileImporter::create(Config::getTestDataPath() + "US/US-2D.png");
auto croppe... | [
"ersmistad@gmail.com"
] | ersmistad@gmail.com |
3e806ab81e25a6430e63aabf57196f9cec09eec9 | 3a5eb86d4605bef00f69daeedc476b025847c90b | /irq/irq_multi_handler.cpp | a8f8c1e6ac5a49f2db3ec507a9913fd69338bc15 | [] | no_license | TheColonelYoung/ALOHAL | 7e2732b0852a57a5ed3d3c90e3c3fe4dc52191ad | 4f857f7092bd8d7435f3e28125e62f72d19c65bb | refs/heads/master | 2023-04-05T05:14:49.615181 | 2021-06-16T17:00:50 | 2021-06-16T17:00:50 | 170,518,008 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33 | cpp | #include "irq_multi_handler.hpp"
| [
"Malanik.Petr.gm@gmail.com"
] | Malanik.Petr.gm@gmail.com |
c6dc5dacd5e8eee57eb075d58a414ebd0212eddc | 2e44a5e18c3f61f9ee2d6ebb0913c8b148673887 | /Lesson_11.3/Lesson_11.3.cpp | 02f78f19c523fb04b8d1a43e93ba0e09ee88ca94 | [] | no_license | resyeg/Lesson_11.3 | 69229cc51c5e9ecf24e0ae7c64e85a9619d92e26 | 41a80b6860d582021e604404fc4a1360b879bb70 | refs/heads/master | 2023-08-16T19:21:15.594054 | 2021-09-16T19:02:46 | 2021-09-16T19:02:46 | 407,283,344 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,746 | cpp | // Lesson_11.3.cpp : Этот файл содержит функцию "main". Здесь начинается и заканчивается выполнение программы.
//
#include <iostream>
void print()
{
std::cout << "Hello Skillbox!\n";
}
int main()
{
int x = 100;
int y = x + 100;
std::cout << "hello world!\n";
int mult = x * y;
}
// Запуск пр... | [
"rovdasergey@gmail.com"
] | rovdasergey@gmail.com |
3fd727c81eef219efbc5d405d5e34c071ae46e46 | 01837a379a09f74f7ef43807533093fa716e71ac | /src/utils/xulrunner-sdk/nsIAutoCompleteResult.h | ac0097bda8b85baa1e19e0ae1827e0164232ec73 | [] | no_license | lasuax/jorhy-prj | ba2061d3faf4768cf2e12ee2484f8db51003bd3e | d22ded7ece50fb36aa032dad2cc01deac457b37f | refs/heads/master | 2021-05-05T08:06:01.954941 | 2014-01-13T14:03:30 | 2014-01-13T14:03:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,355 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/moz2_slave/rel-m-rel-xr_w32_bld-000000000/build/toolkit/components/autocomplete/nsIAutoCompleteResult.idl
*/
#ifndef __gen_nsIAutoCompleteResult_h__
#define __gen_nsIAutoCompleteResult_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For... | [
"joorhy@gmail.com"
] | joorhy@gmail.com |
ae342a44ce344270d59af653887a879fd6ff4190 | 5c20c8f9b17904365d0bcd69087acbefd2eeb380 | /Mahjong/Mahjong/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.cpp | e8f04df8c586b4723739e455ac4c16e6c7ecbd0f | [
"MIT"
] | permissive | PenpenLi/MobileGame | 44f583297405320ea0fd7bfe7cb2f5e439808173 | 5ae7311f747a550404e4fdc071023b7f8fbd6ede | refs/heads/master | 2021-09-21T08:02:14.311354 | 2018-08-07T18:05:55 | 2018-08-07T18:05:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,926,351 | cpp | #include "scripting/lua-bindings/auto/lua_cocos2dx_auto.hpp"
#include "cocos2d.h"
#include "2d/CCProtectedNode.h"
#include "base/CCAsyncTaskPool.h"
#include "scripting/lua-bindings/manual/CCComponentLua.h"
#include "scripting/lua-bindings/manual/tolua_fix.h"
#include "scripting/lua-bindings/manual/LuaBasicConversions.h... | [
"hecangbo@qq.com"
] | hecangbo@qq.com |
f8e399582583c044317aad4334964be90895690a | cd33c0f512f8dc7fbcc6d6ecd2a66707dd4b175d | /Tile.cpp | 9bf8f506735aecb8e72749927181a0f3f3d03a8a | [] | no_license | SunsetTwilight/MarjongChecker | 871899dab46f46869a675214fbd27b0164e206f7 | dbd766b18a4fdcabe015f44ee72a78c77965a0ad | refs/heads/master | 2023-07-09T18:47:22.103301 | 2021-08-16T20:13:23 | 2021-08-16T20:13:23 | 385,597,699 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 540 | cpp | #include "Tile.h"
unsigned int& Tile::GetTileNum()
{
return tile_num;
}
void Tile::SetTileNum(unsigned int num)
{
tile_num = num;
}
void Tile::ChangeTable(Tile& tile)
{
std::swap(tile_num, tile.GetTileNum());
}
Tile::Tile() :tile_num(NullTile) {}
Tile::Tile(unsigned int& num) : tile_num(num) {}
Tile::Tile(const ... | [
"shinkou3021@gmail.com"
] | shinkou3021@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.