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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
84c1af4d4314f6fe68ca1d769f7d0e6e688d7e6f | 65e00876bdb944938fc9f80f74c98372268d4d3d | /array/array19.cpp | b953808aa60ede4173c1faffe5f66912a19a343f | [] | no_license | nipunarora-eGov/Coding-Interview-101 | 372086b1e80f03e3f00a7b5b8616e0966c0a29f6 | 9fda66bfe0afedc2d161b1657e75a286a0ccdb9e | refs/heads/main | 2023-02-15T07:59:33.433792 | 2021-01-06T09:57:42 | 2021-01-06T09:57:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 177 | cpp | /*take three pointers i,j,k pointing at the start of every array initially
increment pointer who points the smallest value
if all three point to same element then store in ans*/ | [
"aroranipun1@gmail.com"
] | aroranipun1@gmail.com |
8989bda01d98b87d58b0c6268be1e1bc813e34d6 | ac57d9b3568f7e3808408721b12f1e325ce06969 | /grid.cpp | e13db5b88f4aa1a5ae003caf3f8524e9bd3533cd | [] | no_license | eth-csem/grids | bff609d994ab3430122abc8d8ecb15c0e1458fc9 | 8b33e9ee90babf962c6310848aa740bc37ef104d | refs/heads/master | 2020-12-30T23:09:28.964468 | 2017-08-24T06:27:37 | 2017-08-24T06:27:37 | 80,622,450 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,820 | cpp | #include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "point_clouds.h"
/*! \file
\brief Main executable. Read input, calls functions to generate specific types of
point clouds, and write the point clouds into a file..
*/
/*==========================================================================*/
/... | [
"andreas.fichtner@erdw.ethz.ch"
] | andreas.fichtner@erdw.ethz.ch |
720029270cd32c3ce1346ffbe9fde1acca3e2f5a | beda62f6f4a8ab7f5c9c3a66cc3d7ef5a1d21f78 | /DrinkWater/DrinkWater/DrinkWaterDlg.cpp | c092a6def849543b39f821c68614d10490bd5563 | [] | no_license | radtek/c- | 2295287d5757120fa07f17f6a34b0bb293c1e1d3 | d0715068462c29d7b4a01ac8905ae76d207db16d | refs/heads/master | 2020-11-24T22:20:43.658511 | 2018-09-19T02:04:26 | 2018-09-19T02:04:26 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 12,409 | cpp |
// DrinkWaterDlg.cpp : 实现文件
//
#include "stdafx.h"
#include "DrinkWater.h"
#include "DrinkWaterDlg.h"
#include "afxdialogex.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
//获取当前文件位置
CString GetCurrentPath()
{
HMODULE module = GetModuleHandle(0);
char pFileName[MAX_PATH];
GetModuleFileName(module, pFi... | [
"625010179@qq.com"
] | 625010179@qq.com |
0d7338da75d40d85b7fa1226d3519f6b1fa130b1 | 9a149637db59ccd94dfe2bb1139d007708b067fe | /bio_data_5_students_structures.cpp | 07e414de7c12c435b30d6ddada38870f2787762b | [] | no_license | Nishant-Pall/C-practice | 280da609cfc53f32e83e9cf0b221843e03343773 | 2502cb7d04ea611a7847720262eee3ad93186db2 | refs/heads/master | 2021-08-15T21:57:15.511091 | 2020-09-05T16:37:48 | 2020-09-05T16:37:48 | 225,806,107 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,446 | cpp | #include<iostream>
#include<string.h>
using namespace std;
struct bio
{
char name[80];
int roll_no;
char branch[20];
int semester;
float subject_marks[10];
float total_marks;
};
int main()
{
bio student[5];
cout<<"Enter bio data of 5 students:"<<endl;
for(int i=0;i<5;++i)
{
cout<<"Enter bio data of student "<<i+... | [
"palln6935@gmail.com"
] | palln6935@gmail.com |
faf8543327f859ec504d448d7876e777d51b5bde | ad715f9713dc5c6c570a5ac51a18b11932edf548 | /tensorflow/lite/kernels/internal/reference/legacy_reference_ops.h | 3597a78d65afde8f75b0e95131fcf845fa076598 | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | rockzhuang/tensorflow | f1f31bc8edfa402b748c500efb97473c001bac95 | cb40c060b36c6a75edfefbc4e5fc7ee720273e13 | refs/heads/master | 2022-11-08T20:41:36.735747 | 2022-10-21T01:45:52 | 2022-10-21T01:45:52 | 161,580,587 | 27 | 11 | Apache-2.0 | 2019-01-23T11:00:44 | 2018-12-13T03:47:28 | C++ | UTF-8 | C++ | false | false | 108,298 | h | /* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
0274c9c5ab94eb4f5772f3d94faacf8cc4c0bc93 | 09d896b9d10729392aadd20d8463d622842d1be8 | /Practical.cpp | 27d0d749240d2435df39dccf263c094085591f1b | [] | no_license | KaranManral/Basic_CPP_Programs | 72144d6055a7c74e9551b88c70702ecfe1803cdd | 0d7dc12a813efd882ca8ecf56bc0c9d480e72056 | refs/heads/main | 2023-08-13T12:16:19.082460 | 2021-10-19T07:36:04 | 2021-10-19T07:36:04 | 418,812,748 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,143 | cpp | /* Name:Karan Singh Manral
RollNo. 5755
Date 09/03/2021
Ques-WAP to Calculate Sum of First n Prime Numbers using functions.
*/
#include <iostream>
#include <iomanip>
using namespace std;
bool checkPrime(int n) //Function to check if prime
{
int ctr=0;
for(int i=1;i<=n/2;... | [
"noreply@github.com"
] | KaranManral.noreply@github.com |
63846d5c1b40793df544b6d3b8976b846f5568c0 | 7888f2f75d277c64bfc71009ec0eb32bc45a1681 | /Arquivos_Curso_Arduino/arduino_aula_55/Aula_55/Btn.h | d7511389e1a13fb9e0957d3c596c0de7cfb2b9ea | [
"MIT"
] | permissive | maledicente/cursos | bba06a0d09037fd8cae69927c996805d513ddb25 | 00ace48da7e48b04485e4ca97b3ca9ba5f33a283 | refs/heads/master | 2023-08-12T03:01:02.799974 | 2021-10-11T14:29:35 | 2021-10-11T14:29:35 | 273,795,405 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,031 | h | class Btn{
public:
int *pino;
bool btnclicado;
bool btnliberado;
int ultimoEstadoBtn=LOW;
unsigned long tempoPrimeiroAcionamento=0;
unsigned long tempoDebounce=50;
typedef void (funcao)(void);
//typedef retorno (nome_função)(Parâmetros de entrada);
Btn(int p){
btncl... | [
"luizpaulonievola@ymail.com"
] | luizpaulonievola@ymail.com |
2b1030f2adaffa712f841d67a7f3d8cb4e91c74e | 2d2c69acda9154755be0a22b9ec1b710789a5bf0 | /CodeChef/October Challenge/ReplaceForX.cpp | 7711a6777efc849b2b0eace72179e269942a8bfa | [] | no_license | Kalit31/cp-playground | 2f74282a29222a308c022115e1a733ed2ed8dd6f | 572b543403498ffa12e80236a245bd7fb71249dd | refs/heads/master | 2023-06-26T21:50:26.676082 | 2021-07-31T08:45:15 | 2021-07-31T08:45:15 | 228,023,746 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,315 | cpp | #include <bits/stdc++.h>
#define ll long long int
#define deb(x) cout << #x << " " << x << endl;
#define fast std::ios::sync_with_stdio(false), cin.tie(NULL), cout.tie(NULL);
#define endl "\n"
using namespace std;
// never use endl, it is much slower than "\n"
// dont mess up with LONG_LONG_MAX/LONG_MAX/INT_MAX
void ... | [
"inanikalit31@gmail.com"
] | inanikalit31@gmail.com |
f244fd2860391f0c9980bc7f65e39dcfa02bbb53 | f7f31db1e48966c0658c09ead4c5ccd0d0fd7510 | /12.4/stack.h | c0c40eacc5263f174f8cbf3d106d8b1e319e1f6b | [] | no_license | shadimsaleh/C-Plus-Plus-Primer-Plus-Homework | b113d5527162fcbd6e568bd032706a8c38f6f11d | 104acd78a353e7a351591e8d6b376f47a8c8db71 | refs/heads/master | 2021-01-20T11:48:10.620433 | 2017-03-01T13:14:59 | 2017-03-01T13:14:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 689 | h | // stack.h -- class declaration for the stack ADT
typedef unsigned long Item;
class Stack
{
private:
enum { MAX = 10 }; // constant specific to class
Item *pitems_; // holds stack items
int size_; // number of elements in stack
int top_; // index for top stack item
public:
Stack(int n = MAX); // create ... | [
"mengfanqi0828@163.com"
] | mengfanqi0828@163.com |
a7836607b5819358e36b67aaa46f5ca2ecfc4988 | 1af49694004c6fbc31deada5618dae37255ce978 | /chromeos/components/sensors/fake_sensor_service.h | 1a2b6f0e524b0ceed5d0ac436486743712be5689 | [
"BSD-3-Clause"
] | permissive | sadrulhc/chromium | 59682b173a00269ed036eee5ebfa317ba3a770cc | a4b950c23db47a0fdd63549cccf9ac8acd8e2c41 | refs/heads/master | 2023-02-02T07:59:20.295144 | 2020-12-01T21:32:32 | 2020-12-01T21:32:32 | 317,678,056 | 3 | 0 | BSD-3-Clause | 2020-12-01T21:56:26 | 2020-12-01T21:56:25 | null | UTF-8 | C++ | false | false | 2,257 | h | // Copyright 2020 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 CHROMEOS_COMPONENTS_SENSORS_FAKE_SENSOR_SERVICE_H_
#define CHROMEOS_COMPONENTS_SENSORS_FAKE_SENSOR_SERVICE_H_
#include <map>
#include <set>
#incl... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
bf8f4138084c6eb5cd34f95f36578aa8a32ed077 | 01c298cb45df74f8d61ae39cbe80121a4e88b4ea | /TextFile.h | ba9ee1aed05317018787d64a1455cbb37fb7e56c | [] | no_license | knied/LD30 | b76080ea4ff6bc7f80bc997762c3757aa0352ce3 | 61fdba506fe9df2202e417d09b8309df68270730 | refs/heads/master | 2021-01-20T12:00:53.069619 | 2014-08-25T23:23:50 | 2014-08-25T23:23:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 591 | h | //
// TextFile.h
// LD30Xcode
//
// Created by Kristof Niederholtmeyer on 22.08.14.
// Copyright (c) 2014 Kristof Niederholtmeyer. All rights reserved.
//
#ifndef __LD30Xcode__TextFile__
#define __LD30Xcode__TextFile__
#include <iostream>
#include <fstream>
#include <streambuf>
class TextFile {
std::ifstream... | [
"kristof.niederholtmeyer@rwth-aachen.de"
] | kristof.niederholtmeyer@rwth-aachen.de |
150bba9f7c68e2fe2dbe81faedd223ffdd6e52d6 | 53b47be6a13c99c278e7281bbb3d9bc842e37d03 | /CheckTemplates/checktemplates.h | abcf3966a701b8b2928869e1bba5b64b2b466d51 | [] | no_license | hcjjy/CheckTempaltes | 762798442ee2df93cad3a26e49c188c69198e7bd | 021d294382fcb6a97b37c77bbadb363d4919ba5c | refs/heads/master | 2021-01-10T11:37:02.247423 | 2015-12-03T02:14:35 | 2015-12-03T02:14:35 | 47,300,977 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,365 | h | #pragma once
#include <QtGui/QDialog>
#include <QDomElement>
#include "MyWidget.h"
#include <QtGui/QTreeWidgetItem>
class QPushButton;
class MyTreeWidget;
class QTreeWidgetItem;
class Video;
class BlackFrame;
class ColorFrame;
class Audio;
class Silence;
class PeakLevel;
class StereoCorrelation;
class StereoInvertPhase... | [
"heqinghui1@163.com"
] | heqinghui1@163.com |
a39bdd27bae7f61c14cecbcb1fe47e20e5350767 | 6b89c9bd317f6164a8e7ce3309731db0a6f60a88 | /generatedEFGcode.h | ad43f09da5f86863cbd58cb7c4ecf2bb5c84019c | [
"MIT"
] | permissive | amit112amit/minperimeter | 3de5cf4f0597e5c118eca93b482e55368457175b | d9b8afd66a463ece18a2a0847c954e8c1a61c846 | refs/heads/master | 2022-10-26T10:41:11.616654 | 2020-06-16T11:54:24 | 2020-06-16T11:54:24 | 272,694,784 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,686 | h | #ifndef __GENERATEDEFG_CODE_H__
#define __GENERATEDEFG_CODE_H__
#include <tuple>
#include "settings.h"
typedef std::tuple<scalar, scalar, scalar> tuple3;
struct EFGFunc{
tuple3 operator()(const scalar r, const scalar t, const scalar a, const scalar b){
/* Function generated by `generatecode.py` */
... | [
"amit112amit@gmail.com"
] | amit112amit@gmail.com |
74e156c84b13d5b6a17d0613d584876801da581b | 31d00495b6fa63bfdcaeea68e6ec38e1ec4158b0 | /src/lfant/Material.h | abadc305e3cc9e5564bae6c453ab4dda0c5dc270 | [
"Apache-2.0"
] | permissive | loafofpiecrust/lfant | c6e663a3e61afc33bd30112285b2e88177cba419 | a38826e325a50dffb5d030d71abcd58de59e8389 | refs/heads/master | 2021-01-23T14:52:29.782769 | 2014-12-19T18:56:42 | 2014-12-19T18:56:42 | 8,059,823 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 912 | h | /*
* Copyright (C) 2013-2014, by loafofpiecrust
*
* 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 in the accompanying LICENSE file or at
* http://www.apache.org/licenses/LICENSE-2.0
*/
#pragma on... | [
"taylorsnead@gmail.com"
] | taylorsnead@gmail.com |
65589947767f6908ca6d3d7f5b3596ee642c0127 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /imagerecog/src/model/RecognizeSceneResult.cc | 58ee18c606962c7b96af411e6d1eb858b9a21854 | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 1,715 | cc | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
083fa794b4a6ddf024bcf7b8d1eb5df0432db868 | a3c4333a4422e62c9f3e3a5443515dc0d507f78a | /src/common/thread.h | 19e245e0d0110586aa96ca9393d712178f9f6fbf | [] | no_license | swinsey/cello | 8a208e500f759602bd2c216c7f5d5bdc8bf94554 | 746b6f65ebc55e77f1ff07b2396af42c169ee6dd | refs/heads/master | 2021-05-11T03:43:33.470504 | 2015-04-10T07:14:36 | 2015-04-10T07:14:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,280 | h | #ifndef SRC_COMMON_THREAD_H
#define SRC_COMMON_THREAD_H
#include <pthread.h>
#include <tr1/memory>
#include <tr1/functional>
using std::tr1::function;
using std::tr1::placeholders::_1;
using std::tr1::placeholders::_2;
namespace cello {
class Thread {
public:
typedef function<void()> Thread... | [
"cj.magina@gmail.com"
] | cj.magina@gmail.com |
5c938d154f919cfe13844cdaceda5a49f399c82f | c910880ce3fb48b9cc038859841f0452fb205afe | /proc21/task21.cpp | 099feb68b00564ad23a00041bc835a19691d39b7 | [] | no_license | AlexVolkov0404/series_proc_minmax | 02d1ed4d3463af74cf6e34a56f66b864abffd5ab | e036ad6766040e833d0a6d46a18860b6b4226356 | refs/heads/master | 2023-08-20T07:55:15.495350 | 2021-09-30T17:14:44 | 2021-09-30T17:14:44 | 411,020,099 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 595 | cpp | // proc21.cpp : Этот файл содержит функцию "main". Здесь начинается и заканчивается выполнение программы.
//
#include <iostream>
using namespace std;
int SumRange(int a, int b) {
if (b > a) {
int s = 0;
for (int i = a; i <= b; i++) {
s = s + i;
}
return s;
}
els... | [
"Sasha@ACER"
] | Sasha@ACER |
ac4ab5981de81480c0008e723f0030ceedbcbd5e | 64181888ec0edfcff8d399b5e35be4a7cf45dfc4 | /tek3/CPP/CPP_zia_2019/sources/tools/Thread.hpp | a084ada69b191078a9ec2d6d790bc1a281fc80c5 | [] | no_license | simonmeyerrr/epitech_projects | b0ac36262ca0699df87613bb10bb00d3bcb6e46a | 6c49a54703da9697c9d292b665542e107b02b3d0 | refs/heads/master | 2023-03-05T23:43:33.959441 | 2021-02-19T15:10:47 | 2021-02-19T15:10:47 | 331,681,418 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,071 | hpp | #ifndef THREAD_HPP_
#define THREAD_HPP_
#include <thread>
#include <future>
#include <memory>
#include <exception>
////////////////////////////////////////////////////////////////////////////////
template<typename R = void, bool B = true> class Thread : public std::thread {
public:
Thread() noexcept : std::threa... | [
"simonmeyerrr@gmail.com"
] | simonmeyerrr@gmail.com |
67cc95edf003330254346740f81335357df5f717 | 7ed83918fbdcc2f9946d5fe216f63b2ab9a224d4 | /src/pmemkv.h | 8b4a78ec2bdc24d21bc80d14c0cffd95deeec27f | [] | no_license | cs-qyzhang/ComboTree | dfd027a22706234308daae0af1005cb93dbd1115 | 47a4126975930a1255dd69308c6e332a01c29aea | refs/heads/master | 2023-02-18T02:32:20.892743 | 2021-01-19T08:12:27 | 2021-01-19T08:12:27 | 283,805,834 | 0 | 3 | null | 2021-01-19T08:12:28 | 2020-07-30T15:04:20 | C++ | UTF-8 | C++ | false | false | 2,073 | h | #pragma once
#include <cassert>
#include <cstdlib>
#include <libpmemkv.hpp>
#include <vector>
#include <atomic>
#include <mutex>
#include <algorithm>
#include <vector>
namespace combotree {
using pmem::kv::status;
using pmem::kv::string_view;
namespace {
const uint64_t SIZE = 512 * 1024UL * 1024UL;
} // anonymous... | [
"cs.qyzhang@qq.com"
] | cs.qyzhang@qq.com |
11c6aba412d8df0c977fe87316e8eba3e68dc523 | 7d8397e232e6a74fc36d6ef4641b81150fb528b7 | /include/parser/ParseTokenCollection.h | 0f173fbd9173b253fcae70324542a30a2b232ed6 | [] | no_license | suppertails66/clapton | 1137badd9103ec672221a7cf51cbfde99fb50feb | 0c97455e7259d2d9e821187fc8e24fcada75267f | refs/heads/master | 2021-01-13T03:34:20.745947 | 2017-01-08T18:33:15 | 2017-01-08T18:33:15 | 77,308,501 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 192 | h | #ifndef PARSETOKENCOLLECTION_H
#define PARSETOKENCOLLECTION_H
#include <vector>
namespace Lonely {
class ParseToken;
typedef std::vector<ParseToken*> ParseTokenCollection;
};
#endif
| [
"suppertails66@gmail.com"
] | suppertails66@gmail.com |
561303b1e894e879bbce85bc4bb645b37cbaaff8 | 9030ce2789a58888904d0c50c21591632eddffd7 | /SDK/ARKSurvivalEvolved_DmgType_Melee_ElementTree_functions.cpp | c41eb377f44dc758e5a72b5d937e99215e4a1274 | [
"MIT"
] | permissive | 2bite/ARK-SDK | 8ce93f504b2e3bd4f8e7ced184980b13f127b7bf | ce1f4906ccf82ed38518558c0163c4f92f5f7b14 | refs/heads/master | 2022-09-19T06:28:20.076298 | 2022-09-03T17:21:00 | 2022-09-03T17:21:00 | 232,411,353 | 14 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 386 | cpp | // ARKSurvivalEvolved (332.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_DmgType_Melee_ElementTree_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//--------------------------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
576d852439d858473fa6ac14d02d4fe1c2e85add | dd5081784f0cd4280e9e0ad1a16334944c58cea6 | /src/Support_functions.ino | 770edab4ebc17cff7f3055e41f7e396f99e84bb1 | [
"MIT"
] | permissive | ffcadenas/freeds | ec587b7ac426b715027efc14beebbc66c1320190 | 13bcec2f0540944d9b80a4fec2c7ea04c55c33c4 | refs/heads/master | 2021-03-02T15:38:13.805831 | 2020-03-01T16:44:05 | 2020-03-01T16:44:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,706 | ino | char *dtostrfd(double number, unsigned char prec, char *s)
{
if ((isnan(number)) || (isinf(number)))
{ // Fix for JSON output (https://stackoverflow.com/questions/1423081/json-left-out-infinity-and-nan-json-status-in-ecmascript)
strcpy(s, "null");
return s;
}
else
{
return dtostrf(number, 1, prec,... | [
"pablozg@gmail.com"
] | pablozg@gmail.com |
ad8443957de9dae6ca56e32b44ff8937e6945fb8 | 8f53b76f56185dfac28aa6dc050e683215dff06d | /VentaBoletosTeatro/VentaBoletosTeatro/NodoCola.cpp | ccac3c4cde19d0a3ee7a77e3de4628ae55ae325c | [] | no_license | Rafa1390/ProyectoTeatroED | d8877acfc26c74c32d766f7b24b7459dd77f8572 | c60728b936028d8877ab9931d51a274436b95d77 | refs/heads/master | 2020-05-02T10:26:55.319769 | 2019-04-09T01:16:13 | 2019-04-09T01:16:13 | 177,897,151 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 329 | cpp | #include "pch.h"
#include "NodoCola.h"
NodoCola::NodoCola() {
}
NodoCola::NodoCola(string x) {
cliente = x;
sig = NULL;
}
void NodoCola::SetCliente(string x) {
cliente = x;
}
string NodoCola::GetCliente() {
return cliente;
}
void NodoCola::SetSig(NodoCola *x) {
sig = x;
}
NodoCola *NodoCola::GetSig() {
retu... | [
"rafab1390@gmail.com"
] | rafab1390@gmail.com |
cdb49b7ea5d9b8f71cffcb5117a15d325d545c9a | cea7881cf4c539c3e27f8645a0e562846f8a0044 | /solutions/Arrays.cc | a544f67764ace173daa87fd9708df5937c4689c0 | [] | no_license | dianaliu/oop | 41e5aa8b2a9183a9ac32e8e729ff5100867bd420 | fe6dc17062db90dbacc3d356b86887f896177de7 | refs/heads/master | 2021-01-03T13:19:33.204082 | 2011-12-19T09:02:52 | 2011-12-19T09:02:52 | 2,583,615 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,129 | cc | #include <iostream>
#include "ptr.h"
#include "java_lang.h"
namespace java {
namespace lang {
// Forward declaration of datalayout and vt
struct __Demo;
struct __Demo_VT;
typedef __rt::Ptr<__Demo> Demo;
// The data layout for Demo
struct __Demo {
__Demo_VT* __vptr;
// Construc... | [
"dianaliu@nyu.edu"
] | dianaliu@nyu.edu |
db8dfcadae6fb2d27a83ad55993f7bf494c5d069 | 55d560fe6678a3edc9232ef14de8fafd7b7ece12 | /libs/sort/test/float_sort_test.cpp | afbdcc204557384a269e84f5815e2228feb8c782 | [
"BSL-1.0"
] | permissive | stardog-union/boost | ec3abeeef1b45389228df031bf25b470d3d123c5 | caa4a540db892caa92e5346e0094c63dea51cbfb | refs/heads/stardog/develop | 2021-06-25T02:15:10.697006 | 2020-11-17T19:50:35 | 2020-11-17T19:50:35 | 148,681,713 | 0 | 0 | BSL-1.0 | 2020-11-17T19:50:36 | 2018-09-13T18:38:54 | C++ | UTF-8 | C++ | false | false | 5,295 | cpp | // Boost Sort library float_sort_test.cpp file -----------------------------//
// Copyright Steven Ross 2014. 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://www.boost.org/LICENSE_1_0.txt)
// See ... | [
"james.pack@stardog.com"
] | james.pack@stardog.com |
86cef78de3705361ea745c1b70222c421854f53b | beec3a87e80ef1e8e9c3f792f542327456d92781 | /13-07-2013/problemC/10511.cpp | f33e233e687276156511c7402178ce371122bfff | [
"MIT"
] | permissive | rprata/alphabet-soup | dd5c6b195b28d75fec3ec813e5eb422b3a0f00a5 | e927b6acd076d184db47f1b0709cf13f864554ef | refs/heads/master | 2020-05-04T14:20:07.849513 | 2020-04-21T16:32:45 | 2020-04-21T16:32:45 | 6,921,796 | 2 | 1 | null | 2020-04-21T16:32:48 | 2012-11-29T13:39:54 | C++ | UTF-8 | C++ | false | false | 444 | cpp | #include <cstdlib>
#include <cstring>
#include <iostream>
#include <sstream>
#include <string>
using namespace std;
int T;
string s, aux;
stringstream ss;
int main (void)
{
cin >> T;
for (int i = 0; i < T; i++)
{
getline(cin, s); //limpa o caracter enter
while (getline(cin, s))
{
//generate MA
if (... | [
"renancprata@gmail.com"
] | renancprata@gmail.com |
12f68af6802a43a6e6c6e8b6c956c01ed9116fbb | 61a62af6e831f3003892abf4f73bb1aa4d74d1c7 | /15-295/S22/Contest 03/D.cpp | 5e43ff8de5ca392ad1b51beedf2d3473f74c78f9 | [] | no_license | amsraman/Competitive_Programming | 7e420e5d029e8adfbe7edf845db77f96bd1ae80d | 6f869a1e1716f56b081769d7f36ffa23ae82e356 | refs/heads/master | 2023-03-17T00:20:19.866063 | 2023-03-11T00:24:29 | 2023-03-11T00:24:29 | 173,763,104 | 16 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,693 | cpp | #include <bits/stdc++.h>
#define f first
#define s second
using namespace std;
int n, a[100000], pre[100001][2];
vector<pair<int, int>> ans;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
cin >> n;
for(int i = 0; i < n; i++) {
cin >> a[i];
pre[i + 1][a[i] - 1] = 1;
}
... | [
"adisundar02@gmail.com"
] | adisundar02@gmail.com |
5bb8489528c1f23cfcd3271705ca5da5f3b483ff | 71cd34c2c7664ecfca3676346cae0441e5291a1c | /RT/RT/Headers/SmartPtrs.h | fcc2ec9899602f917a4bbedf4b94a917120e45bd | [
"MIT"
] | permissive | heyx3/heyx3RT | 3c5cd8f01853367fb23c178ab84171c599330f9e | 4dd476a33e658bc19fde239f2c6e22bdcd598e27 | refs/heads/master | 2020-05-21T23:55:15.785369 | 2018-01-20T00:18:22 | 2018-01-20T00:18:22 | 57,820,694 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,876 | h | #pragma once
#include "Main.hpp"
#include <utility>
#include <memory>
#pragma warning(disable: 4251)
namespace RT
{
template<typename T>
class RT_API UniquePtr
{
public:
UniquePtr(T* _ptr = nullptr) { ptr.reset(_ptr); }
UniquePtr(UniquePtr<T>&& moveFrom) { *this = std::move(moveFr... | [
"manning.w@husky.neu.edu"
] | manning.w@husky.neu.edu |
a4eaf27d43230a9d4d5352ff8938d2faf6a4a407 | 818a455863c41d65ae9b91104bb6842ef7bfac2b | /DamageIndicator.cpp | 7c04c04f19ac4c5f16422a613342ee48da10a9c8 | [] | no_license | IBANNED/hoodhokage | 080c6a1eed7c7828e4bf52900932ab341bd4e5fd | d103c31823a506e318e5df432dbaf413818f89c5 | refs/heads/master | 2020-09-11T16:15:55.478832 | 2019-11-16T16:04:50 | 2019-11-16T16:04:50 | 222,122,107 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 952 | cpp | #include "DamageIndicator.h"
#include "Hacks.h"
#include "Interfaces.h"
#include "RenderManager.h"
DamageIndicators damage_indicators;
void DamageIndicators::paint() {
auto m_local = hackManager.pLocal();
float current_time = m_local->GetTickBase() * Interfaces::Globals->interval_per_tick;
for (int i = 0; i <... | [
"noreply@github.com"
] | IBANNED.noreply@github.com |
9073ea1a04e5fdf56e11e7597e683cc747eeb16c | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /remoting/host/local_input_monitor_win.cc | ac6525e3851c5398b04b38020311c8d49f32ced2 | [
"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 | 8,043 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "remoting/host/local_input_monitor.h"
#include <stdint.h>
#include "base/bind.h"
#include "base/compiler_specific.h"
#include "base/locatio... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
55b397d53241234607d2487d7a3df7751cd72264 | c9cf0586ace11aa32fa67606d237a130a06364ee | /circular-cylinder-2-40/21.15/phi | 5a28495e48cb2c9f9d8ec75d74a635775e13ded8 | [] | no_license | jezvonek/CFD-Final-Project | c74cfa21f22545c27d97d85cf30eb6dc8c824dc1 | 7c9a7fb032d74f20888effa0a0b75b212bf899f4 | refs/heads/master | 2022-07-05T14:43:52.967657 | 2020-05-14T03:40:56 | 2020-05-14T03:40:56 | 262,370,756 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 195,265 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6.0
\\/ M anipulation |
\*-----... | [
"danieler@login3.stampede2.tacc.utexas.edu"
] | danieler@login3.stampede2.tacc.utexas.edu | |
f0b890e880070b7cc13f19d1abf7143d7b6ea47f | 1d5d650014ac3dd142965906cf2b4fdbe34afb63 | /abc132/abc132_d.cpp | 243825a901a0014afbaab0bec2986fe8af82241d | [] | no_license | tks3210/Atcoder | c1b88654762273693bd41db417811169780c0161 | 593dda88e13f703bdb3b4c3e6d795bc425e29416 | refs/heads/master | 2021-07-02T17:46:00.099867 | 2020-12-19T07:57:14 | 2020-12-19T07:57:14 | 146,293,715 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,203 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
ll calcComb(int a, int b);
ll mod = 1000000007;
ll modpow(ll a, int p);
int main(){
int N, K;
cin >> N >> K;
ll ans;
for (int i = 1; i <= K ; i++)
{
ans = calcComb(N-K+1, i);
ans %= mod;
ans *= calcComb(K... | [
"fujinaga.3210.takashi@gmail.com"
] | fujinaga.3210.takashi@gmail.com |
ab5d24362faed0e80b65c9a2c72e70e00142b50e | 777a75e6ed0934c193aece9de4421f8d8db01aac | /src/Providers/UNIXProviders/DeviceErrorData/UNIX_DeviceErrorData_STUB.hxx | b851fb2d0f667bf621b8d2575c2350a1eba7756c | [
"MIT"
] | permissive | brunolauze/openpegasus-providers-old | 20fc13958016e35dc4d87f93d1999db0eae9010a | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | refs/heads/master | 2021-01-01T20:05:44.559362 | 2014-04-30T17:50:06 | 2014-04-30T17:50:06 | 19,132,738 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 125 | hxx | #ifdef PEGASUS_OS_STUB
#ifndef __UNIX_DEVICEERRORDATA_PRIVATE_H
#define __UNIX_DEVICEERRORDATA_PRIVATE_H
#endif
#endif
| [
"brunolauze@msn.com"
] | brunolauze@msn.com |
4c714454474c71fe937d228d68bcb5ae6263726e | d4ab7a4da5bb2843ea4737fcc1e1e7f638bad3b3 | /CodenameSideway/Source/Buffers/VertexBufferObject.cpp | cef01405243abc49ba690ababe45f28d00bff827 | [] | no_license | SudsyCoxx/CodenameSideway | c96d3b00f434f93b5bd8c9a3a3514a93d649d12f | 8144a34c6c444aa6e5c51b88dba0d4a8f84f084f | refs/heads/master | 2021-01-19T07:54:17.879576 | 2017-08-17T03:07:18 | 2017-08-17T03:07:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 799 | cpp | #include "VertexBufferObject.hpp"
#include <gl/glew.h>
using namespace Buffers;
VertexBufferObject::VertexBufferObject(unsigned int BufferType)
: m_buffer(0), m_type(BufferType), m_enabled(0)
{
genBuffer();
}
VertexBufferObject::~VertexBufferObject() {
glDeleteBuffers(1, &m_buffer);
}
void VertexBufferObject::b... | [
"30988894+markclifton@users.noreply.github.com"
] | 30988894+markclifton@users.noreply.github.com |
7b68055d17e01717aff25529cc09470501f6e7b9 | 114669ad7490bb15dc7a0299a14e526bb28b8c1d | /Maths_Operations_Source_Files/math_utilities.cpp | e0265950f55010be39884f429378efc6665ba9ad | [] | no_license | KennyMacheka/MENG | 07705dae11fa97b7dfcbcf69e9d20a4e8c7255e2 | 9e5ea03f7b65786c105fb92561b059755d9e3e13 | refs/heads/master | 2020-04-03T17:00:44.229766 | 2018-10-30T18:03:16 | 2018-10-30T18:03:16 | 155,428,105 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,079 | cpp | #include "math_utilities.h"
#include <cmath>
#include <stdio.h>
//Function checks if number is technically an integer
bool isInteger (double n){
double roundingError = 0.00001;
/**If n is an integer, it will have no fractional part, so floor(n) will be equal to n
However, it's generally not... | [
"knm512@yahoo.co.uk"
] | knm512@yahoo.co.uk |
95f0f3b96521c92315f8abbe755e9ad31c812335 | 7f3abfeeddec4a552c1d1c61bf433098be8f8fe7 | /UserUtils/PlotUtils/src/Pad1D_Plot.cc | e120e031d6788a8a54021498b44c7943c486fa87 | [
"MIT"
] | permissive | yihui-lai/HGCalTileSim | a2b81f996faf7713c8f7fa57b974947e3335a3d5 | 9e4da5837e47d6522391a30461b54dce360f52cc | refs/heads/master | 2022-06-08T22:10:00.770306 | 2021-06-10T21:35:26 | 2021-06-10T21:35:26 | 249,848,565 | 1 | 1 | null | 2020-03-25T00:23:42 | 2020-03-25T00:23:41 | null | UTF-8 | C++ | false | false | 27,620 | cc | /**
* @file Pad1D_Plot.cc
* @brief Implementing the data plotting functions.
* @author [Yi-Mu "Enoch" Chen](https://github.com/yimuchen)
*/
#ifdef CMSSW_GIT_HASH
#include "UserUtils/Common/interface/Maths.hpp"
#include "UserUtils/Common/interface/STLUtils/StringUtils.hpp"
#include "UserUtils/MathUtils/interfa... | [
"yihui.lai@cern.ch"
] | yihui.lai@cern.ch |
8d824006868b42a472d5d99e81632f2c1ac1b98d | 711e5c8b643dd2a93fbcbada982d7ad489fb0169 | /XPSP1/NT/inetcore/outlookexpress/inetcomm/mimeole/bytebuff.cpp | a070e26c2cd1057a8d1ac60026fe70594e85e2b3 | [] | no_license | aurantst/windows-XP-SP1 | 629a7763c082fd04d3b881e0d32a1cfbd523b5ce | d521b6360fcff4294ae6c5651c539f1b9a6cbb49 | refs/heads/master | 2023-03-21T01:08:39.870106 | 2020-09-28T08:10:11 | 2020-09-28T08:10:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,196 | cpp | // --------------------------------------------------------------------------------
// ByteBuff.cpp
// Copyright (c)1993-1995 Microsoft Corporation, All Rights Reserved
// Steven J. Bailey
// --------------------------------------------------------------------------------
#include "pch.hxx"
#include "bytebuff.h"
... | [
"112426112@qq.com"
] | 112426112@qq.com |
df6a849d52a5aa3f9037f9eb937a2397f642c213 | eeab0e407e3e015b51fd874991e47adba6564898 | /test/fp_util_test.cpp | 3e77b3b0527e9b2f299d168dd192d0ca1986ae43 | [
"BSD-3-Clause"
] | permissive | SatoshiRobatoFujimoto/mcl | be4d193d56cecca429a8e3d00b1bf3973da04254 | 6b29693b6423791fb1590c2b7e8f307bcb5de09d | refs/heads/master | 2020-03-18T10:55:50.693376 | 2018-05-23T07:18:49 | 2018-05-23T07:18:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,850 | cpp | #define PUT(x) std::cout << #x "=" << (x) << std::endl
#include <cybozu/test.hpp>
#include <mcl/conversion.hpp>
#include <mcl/gmp_util.hpp>
#include <mcl/fp.hpp>
CYBOZU_TEST_AUTO(arrayToHex)
{
const struct {
uint32_t x[4];
size_t n;
const char *str;
} tbl[] = {
{ { 0, 0, 0, 0 }, 0, "0" },
{ { 0x123, 0, 0, ... | [
"herumi@nifty.com"
] | herumi@nifty.com |
a1d820a1811995f28cb6a098daa9b3e2c97b175b | 9f4ce6b021c6887ade816602fbfcb17a9fde3f54 | /robotussin_0316.ino | d10bbc0f857e5a70d9cb185b99b74b13d1844dbb | [] | no_license | mwixted2/Robotussin | 4ab6858771b2fc487221b1d1cb1769a2afe98f4b | 5f80e2681176204aa98b899fafe92b62365d7dc7 | refs/heads/master | 2021-01-22T19:49:30.204316 | 2017-03-16T23:13:01 | 2017-03-16T23:13:01 | 85,248,838 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,498 | ino | #include <Servo.h>
#include <LiquidCrystal.h>
/*
* The circuit:
* LCD RS pin to digital pin 12
* LCD Enable pin to digital pin 11
* LCD D4 pin to digital pin 5
* LCD D5 pin to digital pin 4
* LCD D6 pin to digital pin 3
* LCD D7 pin to digital pin 2
* LCD R/W pin to ground
* LCD VSS pin to ground
* LCD VCC p... | [
"noreply@github.com"
] | mwixted2.noreply@github.com |
8e27e5f74e16bc14ae5f98f7c359baa9cdcc90c3 | 419df7453270e916dcc82b32243f65466d6d77cb | /ex1/code/buildings.cpp | 1fedb695b7bd9da5f2ab82b952c7c5f7b09845af | [
"MIT",
"CC-BY-3.0"
] | permissive | dionyziz/ntua-algo | bf7214c2b25a6545d340c31d430dfd78f4638e9d | ed42637aef153f75a7d080170ff98369be90a5b3 | refs/heads/master | 2016-09-06T18:37:30.585514 | 2012-02-27T12:27:10 | 2012-02-27T12:27:10 | 2,938,529 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 739 | cpp | #include<cstdio>
#include<stack>
const int N = 8;
using namespace std;
int main() {
int A[ N + 1 ] = { 10000, 8, 13, 10, 6, 3, 5, 8, 2 };
int B[ N + 1 ];
stack< int > bullets;
int bullet;
for ( int i = N; i >= 1; --i ) {
B[ i ] = 0;
}
for ( int i = N; i >= 1; --i ) {
while... | [
"dionyziz@gmail.com"
] | dionyziz@gmail.com |
91c378890add5958059076d2edfcc975a93bfe37 | 703f48a08b9dd06907174f69fd621d4990e9aa30 | /ProcessNetRateDemo/traffic-src/TrafficSource.h | 2ad71f5a4a5b592ed4f93cc5747601445baf33d0 | [] | no_license | yhc166188/ProcessNetRateDemo | 8d11ee3ef7447ca09be73a8995e861a51c2c771c | 3a7e074c1dfa27c8fb0c61762be15d325331d093 | refs/heads/master | 2021-07-13T01:52:44.918347 | 2017-10-18T05:11:33 | 2017-10-18T05:11:33 | 107,360,967 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,668 | h | #ifndef TRAFFIC_SOURCE_H
#define TRAFFIC_SOURCE_H
#include "../utils/Packet.h"
#pragma region Protocol Headers
#pragma pack(1)
// MACv2 Header
typedef struct tagMacHeader
{
unsigned char dst[6];
unsigned char src[6];
unsigned short protocol;
} MacHeader;
/*
00 26 18 b1 cb d3 dc d2 fc 98 64 f9 88 64 ... | [
"739884701@qq.com"
] | 739884701@qq.com |
e1db7643c26f2dcdb4aef606420f392e457c04d8 | e1d786aadc8dc96f20006ace284f8fa158e0c26b | /src/qt/multisenddialog.cpp | 67be749839b2e0e5688eb5dbca7826cc4829af63 | [
"MIT"
] | permissive | crypt0rick/liberta-dirty | aa47d53c008821e9738c8ed22a2ac9d269ebec4f | 0d864008f4d012b8e0e106149693be13d82869f3 | refs/heads/liberta | 2021-01-24T12:11:20.097809 | 2018-03-03T08:11:57 | 2018-03-03T08:11:57 | 123,121,501 | 0 | 0 | MIT | 2018-03-03T07:38:17 | 2018-02-27T11:45:58 | C++ | UTF-8 | C++ | false | false | 7,611 | cpp | #include "multisenddialog.h"
#include "addressbookpage.h"
#include "base58.h"
#include "init.h"
#include "platformstyle.h"
#include "ui_multisenddialog.h"
#include "walletmodel.h"
#include <QLineEdit>
#include <QMessageBox>
#include <boost/lexical_cast.hpp>
using namespace std;
using namespace boost;
MultiSendDialog:... | [
"noreply@github.com"
] | crypt0rick.noreply@github.com |
1d0f9a68a01b51dd000e7ce7bf48e2c3f27a6eba | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE194_Unexpected_Sign_Extension/s02/CWE194_Unexpected_Sign_Extension__negative_memcpy_74b.cpp | d9cf8fd1b4bd71f3f27e5e69b8223e95f9bebac9 | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 2,035 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE194_Unexpected_Sign_Extension__negative_memcpy_74b.cpp
Label Definition File: CWE194_Unexpected_Sign_Extension.label.xml
Template File: sources-sink-74b.tmpl.cpp
*/
/*
* @description
* CWE: 194 Unexpected Sign Extension
* BadSource: negative Set data to a fixe... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
4dc8a209feed2f7617261c04ba262888592c439b | 7e2901a8408d580bc1676a6c52a0990ef38e9528 | /corrade/src/Corrade/Containers/BigEnumSet.h | 580a567e608fd947d8ddb600462a58ce9dc8fef7 | [
"MIT",
"Unlicense",
"LicenseRef-scancode-public-domain"
] | permissive | sspike2/MagnumTest | a5aadf70a02fec6f1f45bebd980deccc5cce9d8a | b07aa0daf22978c85e352e81585e748d44c32638 | refs/heads/main | 2023-03-05T08:08:04.434333 | 2021-02-19T19:00:21 | 2021-02-19T19:00:21 | 340,454,325 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,696 | h | #ifndef Corrade_Containers_BigEnumSet_h
#define Corrade_Containers_BigEnumSet_h
/*
This file is part of Corrade.
Copyright © 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016,
2017, 2018, 2019, 2020, 2021
Vladimír Vondruš <mosra@centrum.cz>
Permission is hereby grant... | [
"mail.sushrut@gmail.com"
] | mail.sushrut@gmail.com |
db876be3d1d9b569e57368726ec73b0a9d3bcd7a | c14500adc5ce57e216123138e8ab55c3e9310953 | /Plugin/Annotate.cpp | 47792b14a8c5d065ad9425eba1c2b4926b478d27 | [
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.0-or-later",
"LicenseRef-scancode-generic-exception",
"GPL-1.0-or-later",
"LicenseRef-scancode-proprietary-license",
"GPL-2.0-only",
"GPL-2.0-or-later",
"LicenseRef-scancode-other-copyleft",
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ResonanceGroup/GMSH304 | 8c8937ed3839c9c85ab31c7dd2a37568478dc08e | a07a210131ee7db8c0ea5e22386270ceab44a816 | refs/heads/master | 2020-03-14T23:58:48.751856 | 2018-05-02T13:51:09 | 2018-05-02T13:51:09 | 131,857,142 | 0 | 1 | MIT | 2018-05-02T13:51:10 | 2018-05-02T13:47:05 | null | UTF-8 | C++ | false | false | 8,321 | cpp | // Gmsh - Copyright (C) 1997-2017 C. Geuzaine, J.-F. Remacle
//
// See the LICENSE.txt file for license information. Please report all
// bugs and problems to the public mailing list <gmsh@onelab.info>.
#include <vector>
#include "GmshConfig.h"
#include "Annotate.h"
#include "Context.h"
#if defined(HAVE_OPENGL)
#incl... | [
"=phillipmobley2@gmail.com"
] | =phillipmobley2@gmail.com |
86a2ad164fa3130ed1c4f96f990a67d8dbc14396 | b53b561b41e8b14ecbd5d3ddd38cd740b48a6321 | /10_more_recursion/subseq.cc | d506034d13b35a5629590f7118e9c99fe87586a0 | [] | no_license | Aashutosh97/Launchpad17-Fasttrack | d53d8be33c17e7ae2bc86aac3bcf86d653c4993f | 975cd5054666404f8ed1a37885d3d5982f88af20 | refs/heads/master | 2020-03-23T03:23:16.631264 | 2018-01-21T10:32:17 | 2018-01-21T10:32:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 616 | cc | // Deepak Aggarwal, Coding Blocks
// deepak@codingblocks.com
#include <iostream>
#include <cstring>
using namespace std;
void printSubSeq(char s[], int be, int en, char decision[], int i) {
if (be == en) {
decision[i] = '\0';
cout << decision << endl;
return;
}
// lets fix 'a'
... | [
"daggarwal77@gmail.com"
] | daggarwal77@gmail.com |
810a4960f629456b3343e341ed4a7402babda64a | 6b660cb96baa003de9e18e332b048c0f1fa67ab9 | /External/SDK/Title_GoldenBenefactor_functions.cpp | c72c8c68ef89f4e49e91634f82ab4eb65b4fefb1 | [] | no_license | zanzo420/zSoT-SDK | 1edbff62b3e12695ecf3969537a6d2631a0ff36f | 5e581eb0400061f6e5f93b3affd95001f62d4f7c | refs/heads/main | 2022-07-30T03:35:51.225374 | 2021-07-07T01:07:20 | 2021-07-07T01:07:20 | 383,634,601 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 550 | cpp | // Name: SoT, Version: 2.2.0.2
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//----------------------------------------------------... | [
"Massimo.linker@gmail.com"
] | Massimo.linker@gmail.com |
2334bd6cba189985da5c282d8cdbc72fb4ecc5b7 | ec204c2ea3bad317692d264fb6543fd6c3e5ece1 | /Exercises_02/Es02/randomwalk.h | ca029acf29677c1b7b669d06bcabf027a4b24370 | [] | no_license | LeonardoPalchetti/LSN_LeonardoPalchetti | 37e71f7810d1f68d0a9cb6d156cd02f2ea30db91 | 3637378a1ec870c2cbdcbfb6adc4eb4ff09d0a2f | refs/heads/master | 2022-11-08T20:33:49.013381 | 2020-06-23T17:02:33 | 2020-06-23T17:02:33 | 274,459,109 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,108 | h | #ifndef __Integrale__
#define __Integrale__
#include <cmath>
#include "random.h"
#include <fstream>
#include <iostream>
using namespace std;
struct point {
double x, y, z; // cordinate punto
};
struct vector{
double r;
double theta, phi;
};
class RandomWalk {
protected:
point *_x;
int ... | [
"palchetti3@gmail.com"
] | palchetti3@gmail.com |
346e9d0d7d85a4d68fed6bf6d740649abc3e17f5 | 955ef01de0d355ddced3579f9d1b26419c494bd8 | /AGT_TEMPLATE/engine/src/pch.h | 5c7f874779a07c0ec1e5661d35eaca2f698716d4 | [
"MIT"
] | permissive | Luke-Pixel/Advanced-Games-Technology-C---Project | fc76565c7ef9989364981dc8d82f7d85aee02927 | 17e210ab0e97c1a2359039c4dbf3a834c56c9598 | refs/heads/master | 2022-12-04T13:04:18.872399 | 2020-08-26T14:32:56 | 2020-08-26T14:32:56 | 290,520,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 540 | h | #pragma once
#include <iostream>
#include <memory>
#include <utility>
#include <algorithm>
#include <functional>
#include <string>
#include <sstream>
#include <array>
#include <vector>
#include <list>
#include <stack>
#include <map>
#include <unordered_map>
#include <unordered_set>
#include "engine... | [
"Luke1014@live.co.uk"
] | Luke1014@live.co.uk |
07fba08172f0c6614cd5556ef06d22942070348e | 1d2ba792308d055713245364fcc293d1a0070d56 | /src/qt/qtipcserver.cpp | be875e760a988e21e1f957ef3fbef4bfff23c7c1 | [
"MIT"
] | permissive | mrk-9/GirlsToken | e962eabcf7539909e41701f675327ec931102340 | 9b56eb94e204b4e53ca360178088219ff6952fa2 | refs/heads/master | 2020-03-21T05:48:13.082275 | 2018-06-21T14:33:52 | 2018-06-21T14:33:52 | 138,181,578 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,931 | cpp | // Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/version.hpp>
#if defined(WIN32) && BOOST_VERSION == 104900
#define BOOST_INTERPROCESS_HAS_WINDOWS_KERNEL_BOOTT... | [
"chuch@chuchs-Mac-mini.local"
] | chuch@chuchs-Mac-mini.local |
5ad5649c89715b59fa1653c9a4ec5aa406c8cb86 | 0aca9ec0a5e9e450bf54195aeec03428762c27d2 | /src/zuwm/accumulators.h | 1e67c59dc87a2949a5f74ce0132dc9781b805377 | [
"MIT"
] | permissive | unitedworldmoney/unitedworldmoney-source | 1bc593a348376555979f00bdb8dfe13c3d2661a3 | 4229d64f48ac7c7e622595cf9ffe9a08878c9252 | refs/heads/main | 2023-07-18T06:31:02.082512 | 2021-09-06T14:26:43 | 2021-09-06T14:26:43 | 403,652,373 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,460 | h | // Copyright (c) 2017-2019 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef UnitedWorldMoney_ACCUMULATORS_H
#define UnitedWorldMoney_ACCUMULATORS_H
#include "libzerocoin/Accumulator.h"
#include "libze... | [
"34356906+unitedworldmoney@users.noreply.github.com"
] | 34356906+unitedworldmoney@users.noreply.github.com |
a984c3b4b7f78ad4a579a34cd972e5eca97c573f | 9fac9857fb1a674f02df4dbaa97d4c05aec1d0d4 | /src/FlatWorld/Engine/Core/Timer.cpp | 0a2b936b16871f1d9c743b3b19ba88322f8ea7dd | [] | no_license | KiraIsL/Time-Travel-Platformer | e0b7dfedd7bb61503c83fcba9e4a987b27fd3548 | b5b55b4b89f71efa170fdb56467bd0c199349252 | refs/heads/master | 2020-12-14T04:43:19.718960 | 2011-07-21T09:53:05 | 2011-07-21T09:53:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,264 | cpp | #include "Timer.h"
CTimer::CTimer(void)
{
Init(30.f);
}
CTimer::CTimer(float timeCount)
{
Init(timeCount);
}
void CTimer::Init(float timeCount)
{
//****************** INITIALISATIONS **************************
// Awesome accurate timings are available from the CPU
if (QueryPerformanceFrequency((LARGE_INTEGER *)... | [
"tyranicmoron@gmail.com"
] | tyranicmoron@gmail.com |
a1916bb986e7f8937a5bb46ce7b328311abd3f2e | 09106a153473f7486f122e63c02a944fc721eb65 | /thread/base_thread/destruct_thread.cpp | cded049f00788a06bcd1ef83528de784741e2757 | [] | no_license | gripex90088/cpp_example | 9f6ee09d6b0068ece38a62c24e52691dd9f7b068 | ddd3f1ac635feb608738e1c90c10e4f3790dd60f | refs/heads/master | 2020-12-10T23:48:06.309404 | 2020-04-02T08:30:22 | 2020-04-02T08:30:22 | 233,744,109 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 266 | cpp | /*
* destruct_thread.cpp
*
* Created on: Jul 19, 2019
* Author: xuxing
*/
/*
* 竟态条件 (race condition)
* 当一个对象能被多个线程同时看到时,那么对象的销毁时机会变的模糊不清,可能出现各种竟态条件
*/
| [
"1355039189@qq.com"
] | 1355039189@qq.com |
8bf5cbf7c5c8f0edcfe365eea2ffde85286c5a13 | 2375d1860be18179b934334e9ea884fd73ee87b7 | /cpp_basic/39-bankingExample.cpp | c036a498dfb71f24b65a971f8bd09000a9b0d6bc | [] | no_license | kosan-tospa/hello-world | 28deb907a8c4759c92ebf704f5f0b024ef4738da | 776cffd7536ca932f74685eb5351b04b3ebe75ac | refs/heads/main | 2023-07-16T03:33:57.017482 | 2021-09-07T19:20:55 | 2021-09-07T19:20:55 | 404,094,914 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,067 | cpp | #include <iostream>
#include <fstream>
#include <cstdlib>
#include <vector>
#include <map>
using namespace std;
#define MIN_BALANCE 500
class InsufficientFunds
{
};
class Account
{
private:
long accountNumber;
string firstName;
string lastName;
float balance;
static long NextAccountNumber;
public... | [
"kosan.tospa@yandex.com"
] | kosan.tospa@yandex.com |
20410b069efa600949182194315d5f80bddd7dcc | aa924bbb174676c00dfef9b976790a01506bd37e | /Sources/NodeEngine/NE_OrderedMap.hpp | 178c764695c698cb113079b8b03ed753cb9d3481 | [
"MIT"
] | permissive | kovacsv/VisualScriptEngine | 5b3b8b7b6999082b0f916034a83d6e9675510ed6 | 185a451e2391fbff0bb4dd5929e8634517382c4e | refs/heads/master | 2023-03-15T19:00:48.535709 | 2021-12-17T15:47:51 | 2021-12-17T15:47:51 | 113,492,822 | 156 | 32 | MIT | 2023-02-24T16:07:36 | 2017-12-07T19:57:56 | C++ | UTF-8 | C++ | false | false | 5,884 | hpp | #ifndef NE_ORDEREDMAP_HPP
#define NE_ORDEREDMAP_HPP
#include "NE_Debug.hpp"
#include <utility>
#include <list>
#include <unordered_map>
#include <functional>
#include <algorithm>
namespace NE
{
template <typename Key, typename Value>
class OrderedMap
{
public:
OrderedMap ();
OrderedMap (const OrderedMap& rhs);
O... | [
"viktorkovacs@gmail.com"
] | viktorkovacs@gmail.com |
10c6188983942d280ffea4e6741fd5b2b71988e1 | cefd6c17774b5c94240d57adccef57d9bba4a2e9 | /WebKit/Source/WebCore/platform/graphics/glx/GLContextGLX.h | edefc04c26556aa29bf66dc45b2440017848649c | [
"BSL-1.0",
"BSD-2-Clause",
"LGPL-2.0-only",
"LGPL-2.1-only"
] | permissive | adzhou/oragle | 9c054c25b24ff0a65cb9639bafd02aac2bcdce8b | 5442d418b87d0da161429ffa5cb83777e9b38e4d | refs/heads/master | 2022-11-01T05:04:59.368831 | 2014-03-12T15:50:08 | 2014-03-12T15:50:08 | 17,238,063 | 0 | 1 | BSL-1.0 | 2022-10-18T04:23:53 | 2014-02-27T05:39:44 | C++ | UTF-8 | C++ | false | false | 2,250 | h | /*
* Copyright (C) 2012 Igalia S.L.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This libra... | [
"adzhou@hp.com"
] | adzhou@hp.com |
a5dcd107e4a24b02ebaa6a6c2e603eb7ad4c5353 | 7119554f4726c4c3cd46823ee695ae3e433eccc7 | /test/unittest/unittest_nntrainer_internal.cpp | ba569f50094da3348a27c2e54fadab1175509f30 | [
"Apache-2.0",
"LicenseRef-scancode-free-unknown"
] | permissive | myungjoo/nntrainer | 7fdc88cdec3e9bd12916b8892a137672bcbb0d39 | 4813b20d869b33d00a9e098d6955072858286533 | refs/heads/master | 2023-08-17T01:41:32.521247 | 2022-03-16T07:56:56 | 2022-03-20T03:32:51 | 249,907,471 | 0 | 0 | Apache-2.0 | 2020-03-25T06:52:04 | 2020-03-25T06:52:03 | null | UTF-8 | C++ | false | false | 2,816 | cpp | /**
* Copyright (C) 2020 Samsung Electronics Co., Ltd. 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 requ... | [
"jijoong.moon@samsung.com"
] | jijoong.moon@samsung.com |
49b65172171a2ac99c7c09e3096697602cbb1b51 | b2857a7190c6d2c69739863d0fbe3efacfe19b6b | /engine_project/src/applications/tangram.cpp | a0f2a925491afab3fffe8f61a3570489a0fcc0b1 | [] | no_license | Zuchis/computer_graphics | 22db0c993a0f35c91462ca4359b2ef2f21ed7f01 | f113a84e35acbeae9bb7553c5fabb1f256fd5dbd | refs/heads/master | 2023-07-21T23:40:53.856951 | 2023-07-05T15:35:02 | 2023-07-05T15:35:02 | 42,215,409 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,440 | cpp | #include "../shaderprogram.h"
#define CAPTION "Badass Squirrel"
int WinX = 640, WinY = 480;
int WindowHandle = 0;
unsigned int FrameCount = 0;
GLuint VaoId[3], VboId[2];
GLuint squareVboId[2];
GLuint paralelVboId[2];
ShaderProgram program = ShaderProgram();
///////////////////////////////////////////... | [
"liquimaster@gmail.com"
] | liquimaster@gmail.com |
1b31538288814b15cd259ce21b898f345f2b649e | 3c72563f2ccb845fc4837ae03832cdf684ea67aa | /cl13nt-l4gg3r/main.h | 893dce11197e248c4f64be81b2e1d666a0b35c65 | [] | no_license | mr-nv/cl13nt-l4gg3r | 1efca603c1125c76002b922032debe2329fd7366 | 89ec7f436f7cdf7b27c91dbd014564be9e11c6fe | refs/heads/master | 2020-03-11T19:40:08.640249 | 2018-04-21T17:23:47 | 2018-04-21T17:23:47 | 130,214,478 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 594 | h | /* includes and shit */
#pragma once
#include <Windows.h>
#include <stdio.h>
#include <string>
#include <string.h>
#include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
#include <algorithm>
#include <process.h>
#include <assert.h>
#include <Mmsystem.h>
#include <cstdint>
#include <cstddef>
#includ... | [
"noreply@github.com"
] | mr-nv.noreply@github.com |
20b4367b5aba808a7c448dfb8fc966cfdd0d1d08 | 344db7c30f7bf34d8ae20d5ed040280a8c038f9c | /The_sword_refers_to_offer/最小的k个数.cpp | f40f19de69e2cfabf425a4a46fedec9d54c62361 | [] | no_license | CoderDXQ/Brush-Algorithm-problem | 75d5a700eae5df8be600fea3a5427c94a9f941b9 | 78cf6a79c7c0fe1a9fc659101ba5ba9196912df5 | refs/heads/master | 2023-06-19T14:20:01.117764 | 2021-07-18T04:59:19 | 2021-07-18T04:59:19 | 253,854,814 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,597 | cpp | //方法一:利用快速排序中的分割思想Partition
void GetLeastNumbers(int* input,int n,int* output,int k)
{
if(input==nullptr||output==nullptr||k>n||n<=0||k<=0)
return;//健壮性
int start=0;
int end=n-1;
int index=Partition(input,n,start,end);
//index是返回的游标的下标 游标左侧全部小于游标 游标右侧全部大于游标
while(index!=k-1)
{
... | [
"794055465@qq.com"
] | 794055465@qq.com |
e2f466fa6de5eea93fcba3d29259153f58382b75 | 614369bd9a9452f6b48b9c667b12daacf153d6b8 | /Dongmin/Baekjoon/삼성 기출/테트로미노/P14500.cpp | 7bb00b3e05928d1d740a5a78135d43525d3322bd | [] | no_license | minji0320/Algorithm_for_CodingTest | 339ad05a81a89b2645dfab73d7bcbc2df9775d77 | 7fc091f93693d549fa1975044f4b4ff5ee056520 | refs/heads/master | 2022-06-26T05:14:27.149435 | 2021-06-30T00:16:38 | 2021-06-30T00:16:38 | 242,951,278 | 2 | 0 | null | 2020-02-25T08:43:49 | 2020-02-25T08:43:48 | null | UTF-8 | C++ | false | false | 5,060 | cpp | #include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
typedef struct Pos {
int row, col;
} Pos;
typedef struct Polyomino {
vector<Pos> positions;
} Polyomino;
int N, M;
vector<vector<int> > board;
vector<vector<Polyomino> > polyominos;
int poly_case[5] = {2, 1, 8, 4, 4};
void getInput(... | [
"pkalsh345@gmail.com"
] | pkalsh345@gmail.com |
a11dfec0e65906d0ea33f01862f70b83609e8fac | c0826c9e991ab8ff35d4a6baf3a0bd49131e8395 | /UserEvent.pb.cc | c82c30b164a1bcb3c8b43c8592138e23df520c33 | [
"MIT"
] | permissive | GregoryHlavac/GameAnalyticsPP | 0f74c217e917693941e4c1d68cba95e07eb7d073 | 93f6673af68c071a84be78ef663455d5aee38528 | refs/heads/master | 2020-06-13T04:56:43.029211 | 2014-03-01T20:25:21 | 2014-03-01T20:25:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 18,125 | cc | #include "stdafx.h"
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: UserEvent.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "UserEvent.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/io... | [
"ghlavac@gmail.com"
] | ghlavac@gmail.com |
b2741133ae3787a06d53b0d2e01a2ff3decd158a | 1c054180a367c817a9a136d9c650f302b8fd6c74 | /skipListLab/source/myAllocator/myAllocator_origin.hpp | 7b75f0b0788dcea7c8b64745a0b9c698240ff6c7 | [] | no_license | wyd-1180301005/skipListLab | 107a84e3cf2b90f1819618cca8da6b2ec8374025 | 2453a8cfc6af4482e43c019c462bc82a21cdbbfd | refs/heads/main | 2023-05-30T14:27:48.282348 | 2021-06-09T13:40:16 | 2021-06-09T13:40:16 | 373,083,448 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,057 | hpp | # ifndef MYALLOCATOR_ORIGIN_HPP
# define MYALLOCATOR_ORIGIN_HPP
# include<vector>
# include<list>
// 判断一个类型是否是reference的方法:
template<typename T>
struct is_ref_tr{static const bool is_ref_v=false;};
template<typename T>
struct is_ref_tr<T&>{static const bool is_ref_v=true;};
template <typename T>
constexpr bool is... | [
"fwz1661112233@outlook.com"
] | fwz1661112233@outlook.com |
31b78aaa4ebdb447da5f44eacef5c2a0d9d5abd0 | 94bdb1c4e90fe1e223edc2ac131ee244d1587d12 | /Info_system/Info_system.ino | 5b5b25c97975c74f7a59ad1b3d6aba36ca10560d | [] | no_license | avinesh2101/Arduino-Codes- | 690c5807dfb2a410492c26480dbfb7f233e622f0 | fd26d050f64a17fe482565bd453bff58ce41d598 | refs/heads/main | 2023-08-23T17:38:32.509831 | 2021-10-31T18:18:33 | 2021-10-31T18:18:33 | 410,845,919 | 4 | 2 | null | 2021-10-31T18:27:43 | 2021-09-27T10:51:27 | C | UTF-8 | C++ | false | false | 2,463 | ino | /*SubarnaDas For Hacktoberfest2021 */
#include <Wire.h>
#include <DS3231.h> //Library for the rtc-module from RinkyDinkElectronics.com
#include <LiquidCrystal_I2C.h>
#include <DHT.h>
#define DHTPIN 2 //Temperature sensor is connected to PIN 2
#define DHTTYPE DHT22 // Type of the sensor is DHT22 (AM2302)
DS3231 r... | [
"emailtosubarna@gmail.com"
] | emailtosubarna@gmail.com |
e90233c2eeceba2c30ac20593f8062a160d3f672 | db664039f507f8625cd4d34b405918613eadde4a | /battletank/Source/Battletank/Private/Aprojectile.cpp | 7c6d2197c334420d008c9b88ed74aaf3653374ee | [] | no_license | subramanian252/battletank | d0316ef8867b5f065c458dcae62a303f105601e3 | b8162f020e938358b7c170edb500680f811726f8 | refs/heads/master | 2020-07-21T22:18:34.887933 | 2019-09-07T15:55:07 | 2019-09-07T15:55:07 | 202,686,097 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,369 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Aprojectile.h"
// Sets default values
AAprojectile::AAprojectile()
{
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bCanEverTick = true;
Co... | [
"suryasubramanian252@gmail.com"
] | suryasubramanian252@gmail.com |
47c72dd7b9ada95b57b8504f92b44e4ec59ec545 | 0b7816b6a5b9a8f4a386df6ebbf73aa97f41227d | /trunk/video-overlay/src/main/cpp/BoundingBoxVideoHandle.cpp | 21f656ecef66abc612b2957e9ee2885b7af55a44 | [
"Apache-2.0",
"BSD-3-Clause",
"LicenseRef-scancode-bsd-simplified-darwin"
] | permissive | openmpf/openmpf | d44916bd1b406cb950e37afcd94aaf010af4eff8 | 5e50030c389eb257066d0dfc72f5f30b3a41eb6e | refs/heads/master | 2023-08-11T12:15:27.963463 | 2023-06-01T18:18:47 | 2023-06-01T18:18:47 | 75,215,830 | 34 | 6 | NOASSERTION | 2023-09-12T15:40:18 | 2016-11-30T18:37:57 | Java | UTF-8 | C++ | false | false | 6,448 | cpp | /******************************************************************************
* NOTICE *
* *
* This software (or technical data) was produced for the U.S. Government *
... | [
"noreply@github.com"
] | openmpf.noreply@github.com |
9ece0ef1fb816d842370dafb63c6b81c10b2ad87 | 5cacc7189ea410afe5abaf401b5d391fedc30569 | /stage1/Cplusplus/Reference/Containers/unordered_set/unordered_setHashFunctionCheck.cpp | 3f225a31f15a116364c95b79114d5fe922a23d4f | [] | no_license | WeenyJY/year17 | 72a7fc1c6e259e3bac3922c0b207335d06aa4034 | 33e5c90f5b726d97da3b5294a0d7fa0fe0497c97 | refs/heads/master | 2022-02-13T06:34:31.554289 | 2017-09-02T19:43:34 | 2017-09-02T19:43:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 772 | cpp | // file : unordered_setHashFunctionCheck.cpp
// hasher hash_function() const;
// Get hash function
// Returns the hash function object used by the unordered_set container.
// The hash function is a unary function that takes an object of type key_type as argument and returns a unique value of type size_t based on it.
//... | [
"noreply@github.com"
] | WeenyJY.noreply@github.com |
b9cd07aedacf0adf7985e78a1092ea4f6e01980c | e65a4dbfbfb0e54e59787ba7741efee12f7687f3 | /net-im/sayaka/files/patch-src_UString.cpp | d0280d03a2f15eb404104f3f708cdcc8de8fb7b8 | [
"BSD-2-Clause"
] | permissive | freebsd/freebsd-ports | 86f2e89d43913412c4f6b2be3e255bc0945eac12 | 605a2983f245ac63f5420e023e7dce56898ad801 | refs/heads/main | 2023-08-30T21:46:28.720924 | 2023-08-30T19:33:44 | 2023-08-30T19:33:44 | 1,803,961 | 916 | 918 | NOASSERTION | 2023-09-08T04:06:26 | 2011-05-26T11:15:35 | null | UTF-8 | C++ | false | false | 260 | cpp | --- src/UString.cpp.orig 2021-03-18 09:51:03 UTC
+++ src/UString.cpp
@@ -25,6 +25,7 @@
#include "UString.h"
#include <array>
+#include <cerrno>
#include <cstring>
// 出力文字コードが UTF-8 以外 (iconv による変換が必要) なら true。
| [
"danfe@FreeBSD.org"
] | danfe@FreeBSD.org |
e71e4c2e5dcf32cfd597d1418e84d50539ce4b91 | c9388727c6b56e1becd3ae4b3d76238451c6d38c | /1055B/alice-and-hairdresser.cpp | 33046ecf7f3f9ad044e1efc6c8fe337869d77c04 | [] | no_license | kantuni/Codeforces | f7a3f0e37f8ed71a4ca4f1f4b013e5dc2b418f18 | 27914156928b325edd02c1c607f36c1dc4b53b76 | refs/heads/master | 2023-08-17T10:59:29.562753 | 2023-08-14T14:51:56 | 2023-08-14T14:51:56 | 81,014,157 | 202 | 79 | null | 2021-05-11T09:26:54 | 2017-02-05T18:52:25 | C++ | UTF-8 | C++ | false | false | 843 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, m, l;
cin >> n >> m >> l;
vector<long long> a(n + 2);
for (int i = 1; i <= n; i++) {
cin >> a[i];
}
long long ans = 0;
bool same = false;
for (int i = 1; i <= n; i++) {
if (!same and a[i] > l) {
same = true;
ans++;
... | [
"henrikh.kantuni@gmail.com"
] | henrikh.kantuni@gmail.com |
e93989406fd999ca9fc8a34cc1e7ed90723366eb | 014109f0c01f6b11f3a874f81f6251a25873616e | /JUCE Synth/Audio Plug-in Synth/Source/SynthVoice.h | c577d50ad88d80839b22022fdb0fe2e16e1d7699 | [] | no_license | succculent/resynth | d73fc49af4054e955784c9c47140c31bbedf7568 | 750429797867f8d441961897a98a4e0b8184a653 | refs/heads/master | 2020-12-19T09:56:44.970626 | 2020-06-12T22:09:40 | 2020-06-12T22:09:40 | 235,700,925 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,261 | h | /*
==============================================================================
SynthVoice.h
Created: 26 May 2020 4:58:33pm
Author: Lorand Cheng
==============================================================================
*/
#pragma once
#include <JuceHeader.h>
#include "SynthSound.h... | [
"lfcheng@usc.edu"
] | lfcheng@usc.edu |
bbd821adbc247c093dbfa58115eb1dad5e059600 | a65c77b44164b2c69dfe4bfa2772d18ae8e0cce2 | /0contest/CF_100864/pJ.cpp | e5ce1aad1e03379bacff7bb77484613e7435316b | [] | no_license | dl8sd11/online-judge | 553422b55080e49e6bd9b38834ccf1076fb95395 | 5ef8e3c5390e54381683f62f88d03629e1355d1d | refs/heads/master | 2021-12-22T15:13:34.279988 | 2021-12-13T06:45:49 | 2021-12-13T06:45:49 | 111,268,306 | 1 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 4,630 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
typedef pair<int, ll> pil;
typedef pair<ll, int> pli;
typedef pair<double, double> pdd;
#define SQ(i) ((i)*(i))
#define MEM(a, b) memset(a, (b), sizeof(a))
#define SZ(i) static_cast<int>(i.size())
#... | [
"tmd910607@gmail.com"
] | tmd910607@gmail.com |
0bd2fb46ab1d4d7b6e46d541bddd7fc4d1f311a4 | cdfde37ecd614fdb41e9306f9b90e14a664cea99 | /src/qt/overviewpage.cpp | 4735af28eba7df06e6730ae7104cd7b9c0079a29 | [
"MIT"
] | permissive | digital50/PIVX-master-test-mod | 12b0fd08c5ded9ff0978b20bf64395142d18ea69 | 57b70194b5c1277b87b537c2b92af4b597cf0224 | refs/heads/master | 2021-04-29T23:32:44.394988 | 2018-02-14T23:56:04 | 2018-02-14T23:56:04 | 121,557,911 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,486 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The GoCoinMe developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "overviewpage.h"
#i... | [
"35665802+digital50@users.noreply.github.com"
] | 35665802+digital50@users.noreply.github.com |
f9df8b02af5d57070407b98d9ce8e0f74275d070 | 09a97f23f59c74b620f0eb87dd8fd6aed68ab9ed | /Data Structures/Range Minimum Query/RMQ.cpp | 67c5cd4388e176520c276beb3d44ffc358bff221 | [] | no_license | dragan224/Algorithms | a94dc63652d0223787d3d8780957bb17aa696b6c | 47d10bfdec0a07e941c43fedbeba8b3f7dbabc19 | refs/heads/master | 2020-05-19T17:46:11.171288 | 2014-02-17T14:57:26 | 2014-02-17T14:57:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 802 | cpp | #include <iostream>
#include <cstdio>
#include <cmath>
using namespace std;
const int maxN = 100224;
const int maxLog = 18;
struct RMQ {
int table[maxN][maxLog];
void build(int arr[], int n) {
for (int i = 0; i < n; i++) {
table[i][0] = arr[i];
}
for (int k = 1; k < maxLog;... | [
"dmarkovic13@raf.edu.rs"
] | dmarkovic13@raf.edu.rs |
ea19803b4dfd8adc021e085dbf52ae13cdcd7aca | 2e422acfa15846823bb4105c312f301e9cb2a740 | /Roottest/JunoARCon/include/NeutrinoSepctrum.hh | 96f33061096b8e15c592ba91ce2446a60d8eb15c | [] | no_license | Jinnan-Zhang/CodeEx | 2443f37b56c5ceef83b3c5729b33b2eb7bcaed95 | 32fdea95b4bb0266d38c435cb2c08ba2f0c4a1dd | refs/heads/master | 2022-05-02T06:12:33.978802 | 2022-03-25T02:37:42 | 2022-03-25T02:37:42 | 220,944,459 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,515 | hh | #ifndef NeutrinoSpectrum_hh
#define NeutrinoSepctrum_hh
#include <TF1.h>
class TF1;
class NeutrinoSpectrum
{
public:
NeutrinoSpectrum();
~NeutrinoSpectrum();
//void SetEnergyResolution(double E_Re){Energy_resolution=E_Re;}
void SetProtonMassRatio(double ra){MassRatioOfPro... | [
"zhangjinnan14@ucas.edu.cn"
] | zhangjinnan14@ucas.edu.cn |
cd9a7526834a107b6ebfc308e9aa7e68e0139e5c | 778be864c82aa7c5397f140df31bd937f2fd123b | /tests/srhd_sim/isentropic_flow_2nd_ord/test.cpp | 1cd09c2ba70f2a540e5a27551f5386665a1d29ae | [
"MIT"
] | permissive | bolverk/fujin | 728cc75f8e27e1b881ec3f1f7393297479be03bd | 53d28f330b9e81eadb8be51c0c102b47bc02483c | refs/heads/master | 2021-06-02T20:33:28.992081 | 2021-03-30T15:37:16 | 2021-03-30T15:37:16 | 95,355,983 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,326 | cpp | /*
Isentropic flow - verifies the Riemann invariant are properly advected
See following article for more detail
W. Zhang & A. I. MacFadyen
"RAM: A Relativistic Adaptive mesh refinement Hydrodynamics Code"
Astrophys. Journ. Supp. Ser. 164:255-279 (2006)
*/
#include <iostream>
#include <fstream>
#include <vect... | [
"almog.yalin@gmail.com"
] | almog.yalin@gmail.com |
6667e044b326c474cf97624e73f923e7b8675a9a | bb5474b59b5fc0be8bcc3f02ac5b29b54f025c1e | /referlib/server.cpp | f5b9210c5257e684d0d8f421bab507e23380068a | [] | no_license | suzuren/gamelearning | 15165185388b62c14b8e9e64019a8d6d891e5e84 | 317036868ad85177f8658bf71e8dbad7131e98cb | refs/heads/master | 2021-05-10T11:02:29.467047 | 2021-01-29T09:15:32 | 2021-01-29T09:15:32 | 118,399,936 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,832 | cpp | #include <functional>
#include <string>
#include <map>
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/file.h>
#include <signal.h>
#include <errno.h>
#include <ctype.h>
#include <syslog.h>
#include <sys/stat.h>
#include <sys/socket.h>
#include <sys/ep... | [
"root@sucer.pc"
] | root@sucer.pc |
7cbe5da861b01c38eb081fa3c4cb8dc58cad5336 | 07e7f955514da0fbaf5e5df457055a85ee9b6e18 | /RtspWriteToFile/CRtspRecorder.cpp | 401330dea991fa3ef6cc759b9247dcbf32848f90 | [] | no_license | lineCode/FFmpegTest | 2d1f9a2907805750fdc3eb178868d98b5642552d | cc67a17994a90101b1214f7692fea7a7de1ffb86 | refs/heads/master | 2021-01-09T19:55:46.629592 | 2018-08-29T08:10:31 | 2018-08-29T08:10:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,106 | cpp | #include "CRtspRecorder.h"
CRtspRecorder::CRtspRecorder(PCHAR input_url, PCHAR output_file)
: CBaseRtsp(input_url)
{
_output_file = output_file;
}
CRtspRecorder::~CRtspRecorder()
{
}
BOOL CRtspRecorder::Start()
{
bool verbose = false;
VSInput* input = open_input("rtsp", _input_url, verbose);
VSOutput* output ... | [
"prohoroven83@mail.ru"
] | prohoroven83@mail.ru |
6d272e137888a592913b47f120422d7f7cadc9a9 | b269392cc4727b226e15b3f08e9efb41a7f4b048 | /CodeForces/CodeForces 1213B.cpp | 4eac27dcd5cfafc5c03ba1d0e17ed79681b09847 | [] | no_license | ThoseBygones/ACM_Code | edbc31b95077e75d3b17277d843cc24b6223cc0c | 2e8afd599b8065ae52b925653f6ea79c51a1818f | refs/heads/master | 2022-11-12T08:23:55.232349 | 2022-10-30T14:17:23 | 2022-10-30T14:17:23 | 91,112,483 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,799 | cpp | /*
********************************************************************************
* Author: ThoseBygones
* Version: V1.0
* Date: 2020-01-01
* Subject: ACM-ICPC
* Language: C/C++11
* OJ: CodeForces
* Algorithm:
********************************************************************************
* Algo-De... | [
"1273789365@qq.com"
] | 1273789365@qq.com |
cdb0f7f2a4849a00859541df8c5f0f9822239266 | 359614ba9ed7605ca3f49d7be1a9691984ca00df | /ExperimentImg/MatCImage.cpp | 1cb66df067f91d822dceaa4e5e6e54c7504ea532 | [
"Apache-2.0"
] | permissive | scgakki/CV-Experimental | f6f524c2fec12ded158431d76e0932b2d77b0317 | abb7ebd9fa4e20746e55ead839fd41d8f434f2d7 | refs/heads/master | 2021-05-19T04:17:51.161688 | 2020-04-12T12:33:59 | 2020-04-12T12:33:59 | 251,524,711 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,801 | cpp | #include "stdafx.h"
#include "pch.h"
#include "MatCImage.h"
// 实现cv::Mat 结构到 CImage结构的转化
void MatCImage::MatToCImage(Mat& mat, CImage& cimage)
{
if (0 == mat.total())
{
return;
}
int nChannels = mat.channels();
if ((1 != nChannels) && (3 != nChannels))
{
return;
}
int nWidth = mat.cols;
int nHeight = ... | [
"36230930+scgakki@users.noreply.github.com"
] | 36230930+scgakki@users.noreply.github.com |
e9bb57a17485fa4fb89827c24e6eca2fd9007c5d | 50b7980236b960b133c91c6d653fb334d904252c | /SDK/BP_BaseProgressActor_functions.cpp | 86af9f045c264f39e848e25613664be61dad2921 | [] | no_license | wyverns1/mordhau_sdk | c5fa2978203f6c3d405a011c06c39274f52549d1 | 43693f2102efc684c1d27fb5b4a0abfa67c1f596 | refs/heads/master | 2020-06-04T00:55:40.096978 | 2019-06-13T17:12:36 | 2019-06-13T17:12:36 | 191,802,239 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,318 | cpp | // Name: MORDHAU, Version: 1.0.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.h"
namespace SDK
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------------------------------------------
// Function BP_BaseProgressAct... | [
"jay50@pitt.edu"
] | jay50@pitt.edu |
f63895c87ebdfb471c75adde625e33d1c74c20b7 | e393488a5829a15c03e97c67d465514191ec001d | /app/view/CTableView.cpp | b09bda336db52ff82d36fb42b0ce971a508b02ed | [
"MIT",
"CC-BY-3.0"
] | permissive | katecpp/sheep_sweeper | 95234eabb1dd21015b8dfd0909dc7d97f54c948e | aa2fa8262f09460fc4b5ceb45174fec315fd6460 | refs/heads/master | 2021-01-10T08:51:02.759454 | 2016-10-12T09:31:33 | 2016-10-12T09:31:33 | 47,219,635 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,981 | cpp | #include <view/CTableView.h>
#include <view/CActiveDelegate.h>
#include <QHeaderView>
namespace SSw
{
CTableView::CTableView(QWidget *parent)
: QTableView(parent),
m_activeDelegate(),
m_inactiveDelegate()
{
setShowGrid(false);
horizontalHeader()->hide();
verticalHeader()->hid... | [
"kasia.macias@gmail.com"
] | kasia.macias@gmail.com |
11dc6468d5b76e2391c80af5ebba1d7a0a2d1325 | de04af1d7243363169abdc7ca050b2c1a21fbe19 | /leetcode/include/unique_binary.h | b7a66c7a4da5e413395ed183effb85939319e42e | [] | no_license | deare1300/algs | 9ae5c0a3e94669082efb8cc806851bd033500de3 | a9012b8bb1283d1078cafee8a30bb7383ba1c0a9 | refs/heads/master | 2020-11-26T21:11:01.274702 | 2014-09-22T09:59:38 | 2014-09-22T09:59:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 245 | h | #ifndef UNIQUE_BINARY_H
#define UNIQUE_BINARY_H
class Unique_Binary
{
public:
Unique_Binary();
virtual ~Unique_Binary();
int numTrees(int n);
protected:
private:
};
#endif // UNIQUE_BINARY_H
| [
"deare1300@163.com"
] | deare1300@163.com |
1c22a5d09fb01cf7d7f306834f6487ffc8e9e2b9 | d66a5bf33253c8eb0e2b9648b52f1a45449a250c | /과제/1주차/boj_1477.cpp | cffa1062f2ec7af6d13abb99766f015cf5fb020e | [] | no_license | mrgentle1/koss_algorithm | 391205de364f2a73570ae3b1ecd65837a18d3e89 | e4ed69e096d68687682bb1fe44fd381392226b8e | refs/heads/main | 2023-06-27T21:09:06.504749 | 2021-08-07T07:05:53 | 2021-08-07T07:05:53 | 386,637,985 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 637 | cpp | #include <bits/stdc++.h>
using namespace std;
void solution(){
int n, m, l;
int ans;
cin >> n >> m >> l;
vector<int> v(n);
for(auto& i : v)
cin >> i;
v.push_back(0);
v.push_back(l);
sort(v.begin(), v.end());
int low = 0;
int high = l;
while (low <= high){
int cnt = 0;
int mid = (low+high)/2;
... | [
"59019322+mrgentle1@users.noreply.github.com"
] | 59019322+mrgentle1@users.noreply.github.com |
d1aea3b2b6cf24abcfb8437c7365349568ba535b | ac1c9fbc1f1019efb19d0a8f3a088e8889f1e83c | /out/release/gen/third_party/blink/renderer/modules/webtransport/stream_abort_info.h | 8a3a0b4961e0dfd459e5b9ea426ecd9ce7b394a2 | [
"BSD-3-Clause"
] | permissive | xueqiya/chromium_src | 5d20b4d3a2a0251c063a7fb9952195cda6d29e34 | d4aa7a8f0e07cfaa448fcad8c12b29242a615103 | refs/heads/main | 2022-07-30T03:15:14.818330 | 2021-01-16T16:47:22 | 2021-01-16T16:47:22 | 330,115,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,592 | h | // 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.
// This file has been auto-generated from the Jinja2 template
// third_party/blink/renderer/bindings/templates/dictionary_impl.h.tmpl
// by the script cod... | [
"xueqi@zjmedia.net"
] | xueqi@zjmedia.net |
4481b8d9fa8144d4975033a988364cd12e1c3e78 | 88c2d0c1cec0f6da396ca7c28ba1395eda45e20d | /src/CobremsGeneration.hh | 8568963307c1d93a0349033d0bf90c243605a05d | [] | no_license | JeffersonLab/HDGeant4 | 9b51d8dbbbc8156cc1c07ef1c3e65c47f5725473 | e4c3b03164d4640a4e27ca1e31ed923a7f7e276a | refs/heads/master | 2023-05-06T12:43:29.490835 | 2023-02-27T23:02:48 | 2023-02-27T23:02:48 | 82,930,986 | 3 | 5 | null | 2022-04-12T15:12:35 | 2017-02-23T13:42:10 | C++ | UTF-8 | C++ | false | false | 9,832 | hh | //
// CobremsGeneration class header
//
// author: richard.t.jones at uconn.edu
// version: july 27, 2015
//
// notes:
//
// This class computes differential rates and polarization factors
// for coherent bremsstrahlung by an electron beam passing through
// a crystal radiator. A beamline geometry similar to that in Ha... | [
"rjones30@gmail.com"
] | rjones30@gmail.com |
b673021f8d405efca70298e78a487706876db2fb | b19a7758ecdb1d6db61d5f5698925f868fe06f1e | /test/price/provider/pixie/messages/ack_message_test.cpp | 60e3775ca22551a7a1afe2a102f9cac9885d8cfb | [
"Apache-2.0"
] | permissive | bidfx/bidfx-api-cpp | c531d595e711b891b17c7796fe116cacb8fc3095 | 3d938c9f61057033612a869a9c530392991dca0b | refs/heads/master | 2023-08-31T15:37:02.503457 | 2023-08-24T16:36:57 | 2023-08-24T16:36:57 | 207,352,970 | 5 | 2 | null | 2023-09-14T15:45:55 | 2019-09-09T16:21:43 | C++ | UTF-8 | C++ | false | false | 2,234 | cpp | /** Copyright 2019 BidFX
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... | [
"Liam.Asman@tradingscreen.com"
] | Liam.Asman@tradingscreen.com |
90db4aeb269f1a1624ad48ae6d515925050110e2 | 8331c69d0ae0fb9ea038b5b8a517d66a2d94aaf4 | /src/menu/ResultsMenu.cpp | 60cbb6d212d21e104d705ef5bbeccd1f9ca4a495 | [] | no_license | amng/TCPDumpParser | 228079a9a73e34f1046fe166d95076e1a2e07a13 | 8413ab11bfdacc4a0a2d3155b1cf0da3a0121871 | refs/heads/master | 2022-09-20T13:05:44.903503 | 2020-05-28T12:51:33 | 2020-05-28T12:51:33 | 267,587,791 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,001 | cpp | #include <ios>
#include <iomanip>
#include <algorithm>
#include "../../include/menu/MenusManager.hpp"
#include "../../include/menu/ResultsMenu.hpp"
ResultsMenu::ResultsMenu()
{
rebuildMenu();
}
static const std::string WHITE_SQUARE = "\u25AD";
void ResultsMenu::rebuildMenu()
{
this->MultiChoiceMenu::rebuil... | [
"arturngomes@gmail.com"
] | arturngomes@gmail.com |
4a450a552beacd7554af282762f66775cb0d2f26 | 87aba51b1f708b47d78b5c4180baf731d752e26d | /Replication/DataFileSystem/PRODUCT_SOURCE_CODE/chromium/cc/CCAppendQuadsData.h | 2a199672d707c1a4971d39673dea27d82d2ff322 | [] | no_license | jstavr/Architecture-Relation-Evaluator | 12c225941e9a4942e83eb6d78f778c3cf5275363 | c63c056ee6737a3d90fac628f2bc50b85c6bd0dc | refs/heads/master | 2020-12-31T05:10:08.774893 | 2016-05-14T16:09:40 | 2016-05-14T16:09:40 | 58,766,508 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 572 | h | // Copyright 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.
#ifndef CCAppendQuadsData_h
#define CCAppendQuadsData_h
namespace cc {
struct CCAppendQuadsData {
CCAppendQuadsData()
: hadOcclusionFromOuts... | [
"jstavr2@gmail.com"
] | jstavr2@gmail.com |
5faea5996536bdbccd4bdb559f53c2fd33934569 | e6d52e97bc3f0881a71c48674259b0641727c2ce | /src/jsi/SBjsiLogger.hpp | e4505f46f8337511d268faf33e3725bcadc2837b | [] | no_license | bldcm/OpenVXI | 3fe841e0dcfc434aa2624ca5d76a23c430dea6a4 | 86287f27a4509c0c4702102926a412126d5e5bdd | refs/heads/master | 2020-06-10T04:33:56.728050 | 2019-06-24T21:48:40 | 2019-06-24T21:48:40 | 193,583,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,141 | hpp | /*****************************************************************************
*****************************************************************************
*
* $Id: SBjsiLogger.hpp,v 1.1.2.2 2003/10/06 19:19:17 mpanacci Exp $
*
* SBjsiLogger - logging class for SBjsi
*
* This provides logging definitions... | [
"cm.build@kofax.com"
] | cm.build@kofax.com |
306e902d10c88d4f41000785f7c46cbd5ffc7a68 | 62664aed311b6f1e67895893ebbfc36d186f7053 | /Modules/Simul/cpp/pdb_parser/pdb_input_parser.cpp | b67450c5f73a69386003d16cd4f3b26694e69f47 | [] | no_license | mdobrychlop/pyry3d | 0a9c332a530c11f1cdd891d379253d92f8d44cba | 44ea539179e41545fbbf5c38f515e377934dbd67 | refs/heads/master | 2021-05-08T00:36:11.839372 | 2017-10-20T13:40:13 | 2017-10-20T13:40:13 | 107,682,963 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,151 | cpp | #include <iostream>
#include <stdio.h>
#include <string>
#include <algorithm>
#include <cstring>
#include <sstream>
#include <vector>
#include "pdb_string_parser.hpp"
pdb_line::pdb_line(
std::string record_name,
std::string atom_ids,
std::string atom_name,
std::string residue_name,
std::string chain_identifiers,
... | [
"mateusz.dobrychlop@gmail.com"
] | mateusz.dobrychlop@gmail.com |
a0bb325256bc324a0b718e113428bb57770f3642 | 953b1484db9beb391559dc83814fbea8a735d02e | /range.cpp | b124e806f21efe9540d861e9d682b3b113348784 | [] | no_license | Michael-RZhang/Excel | 7b2f6954b121cacbfb1339284c181249497c154f | e1653b5bbfc5fa2188a17250165e80b85e2fe4b5 | refs/heads/master | 2021-01-22T06:23:00.909058 | 2017-02-12T21:50:31 | 2017-02-12T21:50:31 | 81,755,133 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,855 | cpp | /**
* CS 106B/X Stanford 1-2-3
* This file implements the Range type that can be used by your spreadsheet.
*
* Please do not modify this provided file. Your turned-in files should work
* with an unmodified version of all provided code files.
*
* @author Marty Stepp, Julie Zelenski, Jerry Cain
* @version 2016/11... | [
"noreply@github.com"
] | Michael-RZhang.noreply@github.com |
f9bd2689f9057d7e2262980da120172293295ef5 | 3c8cf4de6c08e21b2c10094ef20488e93d7a34be | /TktkGameProcessDirectX11AppendLib/TktkAppendDirectX11ComponentLib/inc/TktkDirectX11Wrapper/Input/Mouse/Mouse.h | fdc8132fa81866f61d98207bc56e254dbfc5ca32 | [] | no_license | tktk2104/TktkLib | 07762028c8a3a7378d7e82be8f1ed8c6a0cdc97c | 2af549bfb8448ace9f9fee6c2225ea7d2e6329b8 | refs/heads/master | 2022-11-30T12:26:33.290941 | 2020-08-11T17:50:14 | 2020-08-11T17:50:14 | 213,307,835 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 522 | h | #ifndef MOUSE_H_
#define MOUSE_H_
#include <TktkMath/Vector2.h>
#include "MouseButtonType.h"
namespace tktk
{
// 「MouseManager」の実装の一部を隠すためのクラス
class Mouse
{
public:
// 指定のボタンが押されているかを判定
static bool isPush(MouseButtonType button);
// 指定のボタンが押され始めたかを判定
static bool isTrigger(MouseButtonType button);
// ... | [
"taka.lalpedhuez@2104.gmail.com"
] | taka.lalpedhuez@2104.gmail.com |
ea3c55553ab7de5bc5e03f2194970c223d2d170d | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14721/function14721_schedule_26/function14721_schedule_26.cpp | da3afa5ed284ff7d94f2d0a3dc89fcd37fc828df | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,550 | cpp | #include <tiramisu/tiramisu.h>
using namespace tiramisu;
int main(int argc, char **argv){
tiramisu::init("function14721_schedule_26");
constant c0("c0", 128), c1("c1", 64), c2("c2", 64), c3("c3", 128);
var i0("i0", 0, c0), i1("i1", 0, c1), i2("i2", 0, c2), i3("i3", 0, c3), i01("i01"), i02("i02"), i03("i... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
a8a09817f27fd610ff10cf1f5a6d711ce7f335b8 | c653562db86103993add80d2206ffb7c525e89b8 | /1005.cpp | 597739ff643c307be42f032ded0115512301a50e | [] | no_license | lsqypro/PTA-Basic | 9d1157a2a6977472ade7602de8b0def3cca6acbf | 36fe52030fdf89661b6294a46e84fddae2f214a4 | refs/heads/master | 2022-11-28T01:04:54.186472 | 2020-08-13T00:11:35 | 2020-08-13T00:11:35 | 285,648,276 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,322 | cpp | //
// Created by lsqy on 2020/8/6.
//
/* 1005 继续(3n+1)猜想 (25分)
* 耗时:24:25.10
* 计算每一次输入数值所覆盖的数,n = (3 * n + 1) 可能导致n变大
*/
#include <iostream>
#include <cstdlib>
using namespace std;
int n;
int input[100] = {0};
int key[101] = {0}; // n = (3 * n + 1) 可能导致n变大
void calc(int value) {
bool first = true;
while ... | [
"lsqypro@qq.com"
] | lsqypro@qq.com |
e2110add1541b8db49b9df661784a86a1011d604 | 4a294ae9ab5c62798b74d1a2ccc75624665296b3 | /cpp/Debug/Generated Files/winrt/impl/Windows.Security.Authentication.Web.Provider.0.h | a67438b0a47e8f7a15355e62112c9cf24f20c20f | [] | no_license | dtakeda/w32-winrt-test | d204a8fb28d1a4ceadf8ab8448b6cae2350a1579 | e70bf485ddc44d9389ed025a80fe65b4ec736bb6 | refs/heads/main | 2023-01-02T15:18:33.151156 | 2020-10-20T01:58:51 | 2020-10-20T01:58:51 | 305,547,430 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 58,402 | h | // WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.201008.2
#ifndef WINRT_Windows_Security_Authentication_Web_Provider_0_H
#define WINRT_Windows_Security_Authentication_Web_Provider_0_H
WINRT_EXPORT namespace winrt::Windows::Foundation
{
struct IAsyncAction;
template <typename TResult>... | [
"dtakeda@yamaha.com"
] | dtakeda@yamaha.com |
deef5f63b31629494d9e6e4dfa8fe89c949820af | 5a58b0b1d38fab26992377e6009447d5b9120c84 | /git/Tema4/converter.h | 62fcd034b9cc274913fe497a5ae65dff4daf245a | [] | no_license | iliemihai/EGC | a0256d88a28f4b3b500b974570c60ba032e16874 | 7aa935d6941ad838d26f29248b571914f13fe57b | refs/heads/master | 2016-09-06T09:53:11.455131 | 2014-01-20T12:42:02 | 2014-01-20T12:42:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,931 | h | #ifndef CONVERTER_H
#define CONVERTER_H
#include <sstream>
#include <string>
#include <cstdarg>
#include <iostream>
class Converter
{
public:
Converter();
~Converter();
/************************************************************************/
/* Konwertuje zmienna do stringa ... | [
"https://github.com/iliemihai"
] | https://github.com/iliemihai |
f50a2a62da7e2735dcba58c7e08552b1725f85c1 | 6f1190c83e14502f10c853605510898c34fda7f7 | /distributed_hardcoded_streaming_engine/main_simple.cpp | dc58990954766dfc1e258339aa719ab6cffb65e4 | [] | no_license | hpides/mp-ddsp-ws20 | 9cb7b3b5f746bfdfca7f510dc84b580761aed848 | 1fb1e80e1581a46230e31d7f3dfe092620ef7254 | refs/heads/master | 2023-04-06T01:17:30.480484 | 2021-05-04T09:58:25 | 2021-05-04T09:58:25 | 363,420,676 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,575 | cpp | #include <cmath>
#include <cstdint>
#include <iostream>
#include <mpi.h>
#include <mutex>
#include <thread>
inline uint64_t getCurrentUnixTimestampInMilliseconds()
{
const auto t = std::chrono::system_clock::now();
return std::chrono::duration_cast<std::chrono::milliseconds>(t.time_since_epoch()).count();
}
s... | [
"ivan.ilic@student.hpi.de"
] | ivan.ilic@student.hpi.de |
bb984b49adabf7084cede86d0d7c7989186ae69f | c39a642616f50bed60c2afa0c197c41bc7d53b57 | /demoFlightDisplays1/SpdLines.cpp | 74105e558790079b299479b1caa99933ac6931ef | [] | no_license | wangfeilong321/OpenEaaglesExamples | e1dc23ec38837ea137cd6c41c95e1192fa6fc2c5 | e2ca52aadd0c4b991ab16aa9891935e5f1f8e5ff | refs/heads/master | 2020-12-24T12:00:49.712347 | 2016-06-14T19:46:30 | 2016-06-14T19:46:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,087 | cpp |
#include "SpdLines.h"
#include "openeaagles/base/Number.h"
#include <GL/glu.h>
using namespace oe;
IMPLEMENT_SUBCLASS(SpdLines, "SpdLines")
EMPTY_SERIALIZER(SpdLines)
EMPTY_DELETEDATA(SpdLines)
BEGIN_SLOTTABLE(SpdLines)
"isAlt", // draw for the altitude scale (instead of making a new cl... | [
"doug@openeaagles.org"
] | doug@openeaagles.org |
0c681f432a7fa6246777120802e2015817955b3b | 30e5500d92004cb7f50ce9c6e07345f2eeb0a190 | /Set05/ques6.cpp | aeac044c89827c4a8cb63a99ce4775f3c0b480e3 | [] | no_license | pranavkutty/CS-CP | 49dbe84017c6e06f44cbef92bd5387decb951343 | 9925a4dcfb69101331ec64c3f11e572fe2447086 | refs/heads/master | 2023-08-21T20:04:20.568699 | 2021-09-16T14:26:00 | 2021-09-16T14:26:00 | 379,631,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,105 | cpp | // merge k sorted linked lists
// https://leetcode.com/problems/merge-k-sorted-lists/
ListNode* mergeTwoLists(ListNode* l1, ListNode* l2) {
if(l1==NULL)
return l2;
if(l2==NULL)
return l1;
ListNode* l3;
if(l1->val<=l2->val){
l3 = l1;
l1 = l1->next;
}
else... | [
"pranavkutty13@gmail.com"
] | pranavkutty13@gmail.com |
f3cda3fb6111191859c9d040caf2ab55df0afe11 | 8a87f5b889a9ce7d81421515f06d9c9cbf6ce64a | /3rdParty/boost/1.78.0/boost/compute/utility/dim.hpp | 210c09cf6e390ce1a38c815ffa0ebb2c306dd34f | [
"BSL-1.0",
"Apache-2.0",
"BSD-3-Clause",
"ICU",
"Zlib",
"GPL-1.0-or-later",
"OpenSSL",
"ISC",
"LicenseRef-scancode-gutenberg-2020",
"MIT",
"GPL-2.0-only",
"CC0-1.0",
"LicenseRef-scancode-autoconf-simple-exception",
"LicenseRef-scancode-pcre",
"Bison-exception-2.2",
"LicenseRef-scancode... | permissive | arangodb/arangodb | 0980625e76c56a2449d90dcb8d8f2c485e28a83b | 43c40535cee37fc7349a21793dc33b1833735af5 | refs/heads/devel | 2023-08-31T09:34:47.451950 | 2023-08-31T07:25:02 | 2023-08-31T07:25:02 | 2,649,214 | 13,385 | 982 | Apache-2.0 | 2023-09-14T17:02:16 | 2011-10-26T06:42:00 | C++ | UTF-8 | C++ | false | false | 2,186 | hpp | //---------------------------------------------------------------------------//
// Copyright (c) 2013-2014 Kyle Lutz <kyle.r.lutz@gmail.com>
//
// Distributed under the Boost Software License, Version 1.0
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
//
// See http://boosto... | [
"frank@arangodb.com"
] | frank@arangodb.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.