blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0ecbad2015cd2437c818ee49ecc72260224941e0 | d329e7db05b93b26641be508cdc9c9eb993ea067 | /recipes/prometheus-cpp/all/test_package/test_package.cpp | f22948e7726c1f26580a73abc352ee87b36891fb | [] | no_license | Tarjei400/conan-packages | 2019582cf478b427085fceb4f8c290bed9f8eb48 | d68315abf78d2cbec86aa6f9a3fc5869b1e4d054 | refs/heads/master | 2023-01-30T12:23:09.794868 | 2020-12-16T10:03:29 | 2020-12-16T10:03:29 | 321,362,433 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,129 | cpp | #ifdef ENABLE_PULL
#include <prometheus/exposer.h>
#endif
#include <prometheus/counter.h>
#include <prometheus/registry.h>
#include <string>
#include <iostream>
#include <cstdlib>
int main(int argc, char *argv[])
{
using namespace prometheus;
#ifdef ENABLE_PULL
// create an http server running on port 808... | [
"adrian.jutrowski@redacreltd.com"
] | adrian.jutrowski@redacreltd.com |
d5035e58bee74350fff0b137dfdbd249bf7a7c03 | 2b1846cd62707be78851f2adb91d3da61fa3a73e | /c_02/list.hpp | 66578e14a0882def630c72d5d4991019447a12f2 | [] | no_license | y-shindoh/coding_interview | 1fb2af920696e4b3d373c87d9bdaae0564696796 | 88bd5665fd246703832f3e5eccba4daaf2026fbc | refs/heads/master | 2020-05-31T01:07:05.629942 | 2015-12-02T11:39:57 | 2015-12-02T11:39:57 | 35,543,121 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,382 | hpp | /* -*- coding: utf-8; tab-width: 4 -*- */
/**
* @file list.hpp
* @brief 「世界で闘うプログラミング力を鍛える150問」の2章の回答
* @author Yasutaka SHINDOH / 新堂 安孝
* @note see http://www.amazon.co.jp/dp/4839942390 .
*/
#ifndef __LIST_HPP__
#define __LIST_HPP__ "list.hpp"
#include <cstddef>
#include <cstdio>
#include <cassert>
//#define U... | [
"cube@quruli.ivory.ne.jp"
] | cube@quruli.ivory.ne.jp |
2658fc437e564b998b6c8c924a3d7a5987bf8aec | 76f99fbe3a809d73e4fd74c39c4175236c33ca42 | /binding-genasm/core_bindings.cpp | 264e85179b65b1db5f8392ce14611ab4d40974be | [
"BSD-2-Clause"
] | permissive | bokuweb/opencvjs | 4f9a90eed5b85eab445cd2372226bbb24c0230cf | 290313845d3f937dcd72045675b594d18790d591 | refs/heads/Optimizations | 2023-04-08T08:59:36.339673 | 2017-06-19T22:42:51 | 2017-06-19T22:42:51 | 98,154,074 | 0 | 0 | NOASSERTION | 2023-04-04T01:14:28 | 2017-07-24T05:56:56 | JavaScript | UTF-8 | C++ | false | false | 15,308 | cpp | ////////////////////////////////////////////////////////////////////////////////
// AUTHOR: Sajjad Taheri sajjadt[at]uci[at]edu
//
// LICENSE AGREEMENT
// Copyright (c) 2015, University of California, Irvine
//
// Redistribution and use in source and binary forms, with or without
// modifica... | [
"yebastikian@gmail.com"
] | yebastikian@gmail.com |
7adf5d7d022d87ca3b414d11c2c61ae70c122bcd | e5d7314e57789b78b80f5aa9367ba1c0c6cd59b1 | /chapter4/strtype3.cpp | 599cec213c46af823e6eb1a87c3d521ae158143a | [] | no_license | dga1t/cpp-primer-practice | 1b36da26922433647ac1396a3d6ffead88ad0178 | 8f68b71b16297f8c8d490d811ddc62dc4b3bbe2b | refs/heads/master | 2023-05-29T03:44:40.098175 | 2021-06-06T12:33:50 | 2021-06-06T12:33:50 | 321,054,667 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 679 | cpp | #include <iostream>
#include <string>
#include <cstring>
int main() {
using namespace std;
char charr1[20];
char charr2[20] = "jaguar";
string str1;
string str2 = "panther";
// assignment for string objects and character arrays
str1 = str2;
strcpy(charr1, charr2);
// appending for string objects an... | [
"dpsmnsk@gmail.com"
] | dpsmnsk@gmail.com |
aadb9c727bb81454389ef7a64edfdb899199382d | f5c323253e3abe9eb6097d28ad8124c78e0c8ce2 | /src/Modules/Heightmap/filters/raytracing/RayTracing.hpp | a2197e27071c7d1c8717336fad92b516739a11c9 | [] | no_license | VCityTeam/DA-POM-Legonizer | 5cff7bb6cdce9ff9e6aaf2723910f7f07cb3c52d | 0abc3e1ed2147ba2696be81297cd2bd99b3e72fa | refs/heads/main | 2023-05-25T09:25:32.923133 | 2021-05-31T13:07:29 | 2021-05-31T13:07:29 | 335,885,254 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 883 | hpp | // Copyright University of Lyon, 2012 - 2017
// Distributed under the GNU Lesser General Public License Version 2.1 (LGPLv2)
// (Refer to accompanying file LICENSE.md or copy at
// https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html )
#ifndef __RAYTRACING_HPP__
#define __RAYTRACING_HPP__
#include "Ray.hpp"
#incl... | [
"remi.lhoste@etu.univ-lyon1.fr"
] | remi.lhoste@etu.univ-lyon1.fr |
7cbf52f509813c622341bde38c4d2c50e585824b | a2e04e4eac1cf93bb4c1d429e266197152536a87 | /Cpp/SDK/BP_TreasureArtifact_box_02_a_Desc_classes.h | 468c18e02c83e27a9bea4ed13d16dfb46a9a2a6a | [] | no_license | zH4x-SDK/zSoT-SDK | 83a4b9fcdf628637613197cf644b7f4d101bb0cb | 61af221bee23701a5df5f60091f96f2cf929846e | refs/heads/main | 2023-07-16T18:23:41.914014 | 2021-08-27T15:44:23 | 2021-08-27T15:44:23 | 400,555,804 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 810 | h | #pragma once
// Name: SoT, Version: 2.2.1.1
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//------------------------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
b32a6a0f15f7a25297a6983b1fa22690282946fd | ea401c3e792a50364fe11f7cea0f35f99e8f4bde | /released_plugins/v3d_plugins/neurontracing_neutube/src_neutube/neurolabi/gui/ext/boost/geometry/strategies/distance.hpp | 4179f8250f659f6df46dbf55836b715f74cf925f | [
"BSD-2-Clause",
"BSL-1.0",
"MIT",
"GPL-1.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-2.0-only"
] | permissive | Vaa3D/vaa3d_tools | edb696aa3b9b59acaf83d6d27c6ae0a14bf75fe9 | e6974d5223ae70474efaa85e1253f5df1814fae8 | refs/heads/master | 2023-08-03T06:12:01.013752 | 2023-08-02T07:26:01 | 2023-08-02T07:26:01 | 50,527,925 | 107 | 86 | MIT | 2023-05-22T23:43:48 | 2016-01-27T18:19:17 | C++ | UTF-8 | C++ | false | false | 2,700 | hpp | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
// Copyright (c) 2008-2012 Bruno Lalande, Paris, France.
// Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
// Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
// (ge... | [
"hanchuan.peng@gmail.com"
] | hanchuan.peng@gmail.com |
bb97b07590c520cce091ac175cc290772288f95c | f80f0f71b9f3b6b186484446188411c263cd0728 | /9095.cpp | 5b1af2e60d1fb019217709ae459616f3ea278816 | [] | no_license | Kimuksung/algorithm | 082c160a4ae27017ad01be2554e6eb47f28fb668 | 431ddb3807a9a4d55521919a43b9f43000300dbb | refs/heads/master | 2021-06-26T01:54:04.759187 | 2021-01-08T15:23:29 | 2021-01-08T15:23:29 | 200,968,559 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 417 | cpp | #include <iostream>
using namespace std;
#include <vector>
int arr[100];
int answer(int temp2) {
int answer2;
vector<int> temp;
arr[1] = 1;
arr[2] = 2;
arr[3] = 4;
for (int i = 4;i <= temp2;i++) {
arr[i] = arr[i - 1] + arr[i - 2] + arr[i - 3];
}
return arr[temp2];
}
int main() {
int n;
cin >> n;
for (i... | [
"kimuksung2@gmail.com"
] | kimuksung2@gmail.com |
ce6e2e30400bc213e743e4a8669c7ae13c310b37 | 8642c2865a417d402f12ff38e417874dac4ed0f5 | /export_eps.cpp | d0c81e0dfa6f511878b0a9e9983ae88e2de43492 | [] | no_license | Neplex/symmetrical-guacamole | 23fcac0b0ce407600a22fc5fd39d5117cc85832f | f5cf165f15ae3897172c78dc2e3fcdeba479cacf | refs/heads/master | 2021-05-01T01:00:27.297999 | 2016-12-02T14:33:18 | 2016-12-02T14:33:18 | 75,391,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,278 | cpp | #include "export_eps.hpp"
#include <assert.h>
#define NDEBUG 1
using namespace std;
Export_Eps::Export_Eps(char const *const _file_name, unsigned int const _x_max,
unsigned int const _y_max, unsigned int const _res)
: x_max(_x_max), y_max(_y_max), res(_res),
output(_file_name, std::o... | [
"nicolas.hiot@etu.univ-orleans.fr"
] | nicolas.hiot@etu.univ-orleans.fr |
751c7110ac408eca54ac84908ce8f50cb6d4aee6 | c0a96ec9a2266951872a56fb1b48c9af34ddcefc | /opencv-3.1.0/build/modules/imgproc/opencv_test_imgproc_pch_dephelp.cxx | 0ae69b231bbe06ff59c453f71aecd3ecdfbb6364 | [
"BSD-3-Clause",
"Apache-2.0",
"MIT"
] | permissive | fagan2888/LPReader | 15692a6811ef0a9b395eea33db91e25b3a7c5cef | 6841c3f5ef29ecbebfff1b20bcd43809d113f39e | refs/heads/master | 2021-05-31T04:42:23.192340 | 2016-03-28T03:49:06 | 2016-03-28T03:49:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 142 | cxx | #include "/home/gloria/Downloads/opencv-3.1.0/modules/imgproc/test/test_precomp.hpp"
int testfunction();
int testfunction()
{
return 0;
}
| [
"gloria.leung@rutgers.edu"
] | gloria.leung@rutgers.edu |
ec24abebb2d45c2f25836511e77fd4719b935ee0 | 0570750c6d8e28d837f9e4f7dc825c968c874fb4 | /build/Android/Preview1/app/src/main/include/Fuse.Scripting.BoolChangedArgs.h | 136b4ebc552807b85fde92cca44fa5b97e53de6b | [] | no_license | theaustinthompson/maryjane | b3671d950aad58fd2ed490bda8aa1113aedf5a97 | b4ddf76aa2a2caae77765435d0315cf9111d6626 | refs/heads/master | 2021-04-12T08:37:47.311922 | 2018-03-27T23:06:47 | 2018-03-27T23:06:47 | 126,034,050 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,036 | h | // This file was generated based on C:/Users/borde_000/AppData/Local/Fusetools/Packages/Fuse.Scripting/1.8.1/IScriptEvent.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Scripting.IScriptEvent.h>
#include <Uno.Bool.h>
#include <Uno.UX.ValueChangedArgs-1.h>
namespace g... | [
"austin@believeinthompson.com"
] | austin@believeinthompson.com |
c3467dfc074f00fdbb8d5a161aea39bf645d01b7 | bac9ca4fd8774eb2447297424b6bc9a5bf13a801 | /number-of-closed-islands/number-of-closed-islands.cpp | e169068f919c585220cfafbd88de79c877fcd031 | [] | no_license | devansh2021/My_LC_Sol | 28b10349cd6e77e5da5bfad8a35038844c540dd6 | bd8d22fa3de110057e99b75194f5d60ed1874ba2 | refs/heads/main | 2023-06-21T21:49:36.092740 | 2021-07-14T11:27:02 | 2021-07-14T11:27:02 | 347,848,312 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 953 | cpp | class Solution {
public:
bool terminal=0;
void dfs(vector<vector<int>> &g, int r, int c)
{
int dr[4]={1,0,0,-1};
int dc[4]={0,1,-1,0};
int m=g.size();
int n=g[0].size();
if(r<0 ||c<0 ||c>=n||r>=m)
{
terminal=true;
return;
}
... | [
"devanshsuwalka@gmail.com"
] | devanshsuwalka@gmail.com |
4160b9fb7dd0b97ef0fcc0e285234ef767ae28ad | 9becd9b6722f4c0273625cc5803ac3f820cb9a3d | /Heavy Light Bruteforce/KALTSUM - k Alternating Sum.cpp | 4f9e4a28051bb0acc54a4824f80b6127d93e9e65 | [] | no_license | debsourav33/Category-Wise-Oonline-Judge-Solutions | b16566d3c2a0506f7c0c9f90956d0a7d1e61aa38 | c69a1d35dd43c9265f7f804064b51f1ec16764be | refs/heads/master | 2021-07-14T16:56:33.084844 | 2020-11-08T18:26:57 | 2020-11-08T18:26:57 | 219,268,909 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,129 | cpp | #include<bits/stdc++.h>
using namespace std;
//{
#define si(a) scanf("%d",&a)
#define sii(a,b) scanf("%d %d",&a,&b);
#define siii(a,b,c) scanf("%d %d %d",&a,&b,&c);
#define sl(a) scanf("%lld",&a)
#define sll(a,b) scanf("%lld %lld",&a,&b);
#define slll(a,b,c) scanf("%lld %lld %lld",&a,&b,&c);
#define outi(a) printf("... | [
"debsourav33@gmail.com"
] | debsourav33@gmail.com |
0cf50ffd84b8ab6a560332413e1f3978b2849e5a | 3b1d08997d0dc9c444f2bdaaab55a8606c60d332 | /IOCMain/CMXWrap/RTC.h | 8eaf67606d737f41795edd461c346266bac36f1d | [] | no_license | zjsaisi/sm2000 | 8303ece373516c871694d382bb3daef9f5129d1a | 0fa74cdb7566621162e1845dd4558723182a49ac | refs/heads/master | 2020-04-16T09:22:12.797424 | 2019-01-23T10:31:07 | 2019-01-23T10:31:07 | 165,461,667 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,310 | h | // RTC.h: interface for the CRTC class.
//
//////////////////////////////////////////////////////////////////////
/*
* $Header: RTC.h 1.2 2009/04/29 18:52:02PDT Zheng Miao (zmiao) Exp $
* $Revision: 1.2 $
*/
#if !defined(AFX_RTC_H__F598CDC0_6174_42DB_A593_48450BF914F3__INCLUDED_)
#define AFX_RTC_H__F598CDC0_6174_42... | [
"you@example.com"
] | you@example.com |
ea122a20d7ec4109638a0637e230b04b5fe9e4b6 | e464f1343cfe35bac84abf63f7ce08bff041c24c | /src/base/VulkanCommandBuffer.cpp | 06fc431720ba71e6936336cdd8752bea50cd69e6 | [] | no_license | brioche1703/VulkanLearning | 08b8202d8bc1caee456a24c99a33fc4663674621 | 9b1ef41ddf439d8a2ba96bb6600d63b787ffeeed | refs/heads/master | 2023-05-18T04:26:57.957553 | 2021-06-11T12:48:18 | 2021-06-11T12:48:18 | 275,235,534 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,688 | cpp | #include "VulkanCommandBuffer.hpp"
#include <vulkan/vulkan_core.h>
namespace VulkanLearning {
VulkanCommandBuffer::VulkanCommandBuffer() {}
VulkanCommandBuffer::~VulkanCommandBuffer() {}
void VulkanCommandBuffer::create(VulkanDevice* device, VkCommandBufferLevel level, bool begin) {
VkCommandBuf... | [
"kevin.meniel@gmail.com"
] | kevin.meniel@gmail.com |
3b97087b4460988e52c950f2590c4f3e1272e3c1 | 62c4079409e7fc6bfa18fb4667d0e288f240d8d8 | /obj_detect/include/detectors/ClassifierConfig.h | 753d6104c2b20d7226a244c714e14769e4814040 | [] | no_license | RoboticsLabURJC/2017-tfm-jorge_vela | e91e5fd6e4a9406cdff8cfde99c2d9687abe873f | b72283723d3549d05d5a438dfda4afc84931c8fc | refs/heads/master | 2021-03-19T14:41:07.285716 | 2021-02-22T11:30:19 | 2021-02-22T11:30:19 | 111,129,118 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,210 | h | /** ------------------------------------------------------------------------
*
* @brief DetectionRectangle.
* @author Jorge Vela
* @author Jose M. Buenaposada (josemiguel.buenaposada@urjc.es)
* @date 2020/09/29
*
* ------------------------------------------------------------------------ */
#ifndef CLASSIFIE... | [
"velajorge.93@gmail.com"
] | velajorge.93@gmail.com |
d328d24824a78131daf085dd55fe664e2612a69e | 0b3bd3ceaed3ecc7bebe89a84fd134ce00b3d600 | /dvdwaala/dvdwaala/dvdwaala.cpp | 2e841346ffa3e7633fd0b0eb901e172f5e467bc6 | [] | no_license | ashar-sarwar/Object-oriented-programming-uni-work | 5eb668f4131bba4a38ba0a8ebbc5a7d3928859b3 | 4bea74409db8dddeb6ffa7623e66a172f3242a7a | refs/heads/master | 2020-03-11T03:45:41.142241 | 2018-06-01T11:00:09 | 2018-06-01T11:00:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 709 | cpp | // dvdwaala.cpp : Defines the entry point for the console application.
#include <stdafx.h>
#include <iostream>
#include <string>
using namespace std;
//#include "dvd.h"
#include "DVDCollection.h"
int main()
{
DvdCollection mycollection;
Dvd d1;
Dvd d2("Windows10","Microsoft",150);
Dvd d3("... | [
"“asharsarwar186@gmail.com”"
] | “asharsarwar186@gmail.com” |
ac5731dedfd0ed70a0d7632dfa29e2e98f35949e | 6cd33a276282fef63940f49dabc6fdcffc00623a | /include/nana/gui/widgets/treebox.hpp | 2616cc1eed36e6f2a521a79cb6c98395a40ef895 | [
"BSL-1.0"
] | permissive | qPCR4vir/nana.cygwin | a32ea24d7d6cee4f2545724d488c975b11ce76c2 | 3e289bf4ff7861953e912a8f058e21b665be7f4a | refs/heads/master | 2021-05-01T20:06:46.648597 | 2015-03-28T20:00:13 | 2015-03-28T20:00:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,828 | hpp | /*
* A Tree Box Implementation
* Copyright(C) 2003-2013 Jinhao(cnjinhao@hotmail.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)
*
* @file: nana/gui/widgets/treebox.hpp
* @brief:
* The t... | [
"lzbgt@126.com"
] | lzbgt@126.com |
f19eb7be4ca8a27b2915157598f842a4ec83e476 | 43523509ac3324883943b52c7d3e0e92cc46ef70 | /renderer/platform/plugins/plugin_list_builder.cc | 26d6f01a055cd7fef0969ea2627f9c52d5b2c71b | [] | no_license | JDenghui/blink | d935ab9a906c9f95c890549b254b4dec80d93765 | 6732fc88d110451aebda75b8822ba5d9b4f9de04 | refs/heads/master | 2020-03-23T15:55:33.238563 | 2018-07-21T05:26:31 | 2018-07-21T05:26:31 | 141,783,126 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,640 | cc | /*
* 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 conditio... | [
"Denghui_Jia@Dell.com"
] | Denghui_Jia@Dell.com |
f108229355fce2f9c5fa25ed7d378679087111c0 | ba4c240c04e9cdca87b50114845bbf4f51fe9f4c | /Packages/Packages.cc | 9d9c499a8ce6b01b8ba0e7dca69f6d7af0c36ae8 | [] | no_license | dparnell/newton-framework | a04044c41ae0eeee2e21e6816960cc27a9d50c74 | 8955e8d138b4755c0ac9024829b31a1538dd54f8 | refs/heads/master | 2021-01-22T20:54:42.855698 | 2017-03-14T13:33:43 | 2017-03-14T13:33:43 | 85,375,138 | 0 | 0 | null | 2017-03-18T04:16:43 | 2017-03-18T04:16:42 | null | UTF-8 | C++ | false | false | 7,841 | cc | /*
File: Packages.cc
Contains: Package loaders etc.
Written by: Newton Research Group.
*/
#include "Objects.h"
#include "ROMResources.h"
#include "PackageTypes.h"
#include "PackageParts.h"
#include "LargeBinaries.h"
#include "NewtonScript.h"
#include "MemoryPipe.h"
#include "EndpointPipe.h"
#include "EndpointCl... | [
"simon@newtonresearch.org"
] | simon@newtonresearch.org |
2647a73f2e240df3c73a16960c90e0063c725162 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE124_Buffer_Underwrite/s03/CWE124_Buffer_Underwrite__new_char_memcpy_83_goodG2B.cpp | c86a905a08b21ed1f9820db603a76df14f4159dd | [] | 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 | 1,866 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE124_Buffer_Underwrite__new_char_memcpy_83_goodG2B.cpp
Label Definition File: CWE124_Buffer_Underwrite__new.label.xml
Template File: sources-sink-83_goodG2B.tmpl.cpp
*/
/*
* @description
* CWE: 124 Buffer Underwrite
* BadSource: Set data pointer to before the ... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
d3f231c3926414001b0da7a34c9b21ac615cf94d | 3601d7521b88d22b7e8afef8f031c64f5f075d91 | /Interfaces/UserGetQuestion.cpp | fad17e993517e06e5d855e779bea076bb01c11c6 | [] | no_license | GDUTSZH/AccountManagement | 1d27ac34b4b64c5510ab4526564bdb2588adcba7 | 6cf1bc6d5e0c257fe9ebf023de0df4ec2b1eb0f5 | refs/heads/master | 2021-05-15T16:55:50.388098 | 2017-11-21T08:49:29 | 2017-11-21T08:49:29 | 107,562,902 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,535 | cpp | #include "UserGetQuestion.h"
#define USER_GET_QUESTION_STR(sName) \
"SELECT * FROM \
( \
... | [
"gdut_szh@163.com"
] | gdut_szh@163.com |
33ff034c896b7376ffddb10d69f0971ebd839dcd | 1c42215c5558211f02557ef1edd711d067ec78b6 | /src/Union_AlterDamage/ZenGin/Gothic_II_Classic/API/oInventory.h | 0795bc0a1c9954073e4cf3bf5d0556310cc57d9a | [] | no_license | UnresolvedExternal/Union_AlterDamage | fd5891c3a62896a3e2049e9fea2b3da9721c57c9 | 88b1ae773ea8e5c3762d2a5fd23b3ca7fae5c3b2 | refs/heads/master | 2023-07-26T13:52:00.230498 | 2023-07-11T17:49:13 | 2023-07-11T17:49:13 | 200,260,609 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,857 | h | // Supported with union (c) 2018 Union team
#ifndef __OINVENTORY_H__VER2__
#define __OINVENTORY_H__VER2__
#include "zViewBase.h"
#include "zArchiver.h"
namespace Gothic_II_Classic {
const int INV_MAX_SLOTS_COL = 8;
const int INV_MAX_SLOTS_ROW = 2;
enum {
INV_NONE,
INV_COMBAT,
INV_ARMOR,
INV_RU... | [
"vmi1401bsv04@gmail.com"
] | vmi1401bsv04@gmail.com |
38b197e7fa49cab79323d39b2824f66e8579a336 | c18b548e82bbc234eb3d01fdf6fab9464c37e845 | /old_demo/opencv_camera_test1.cpp | f59e2e2ec9033ff4aa909b5cc73e578d48a97e51 | [] | no_license | xiehuapeng/xiehuapeng | 026bec0d7a25ed65789fd624ab352f1cf84f70ba | 8b5752e4af6de88c85c8dcf76c6a5b5542279df8 | refs/heads/master | 2023-02-17T11:54:52.981706 | 2020-06-06T02:49:00 | 2020-06-06T02:49:00 | 155,349,681 | 0 | 0 | null | 2018-10-30T14:22:27 | 2018-10-30T08:25:35 | null | UTF-8 | C++ | false | false | 2,943 | cpp | //
// Created by caesar kekxv on 2020/3/12.
// http://scientistengineer.blogspot.com/2015/09/trying-to-generate-hdr-picture-from.html
//
#include "opencv2/opencv.hpp"
#include <vector>
#include <iostream>
#include <fstream>
using namespace cv;
using namespace std;
int main(int argc, char ** argv)
{
... | [
"1812412957@qq.com"
] | 1812412957@qq.com |
395a07d327962c499e8d2fd99fe72d831ab1f3c1 | 6e5303b1f5492b84f6ab911920975b78d0fe1982 | /BRAINSConstellationDetector/src/itkHoughTransformRadialVotingImageFilter.h | 373be68b5723eda87fa38a681a6a527a3cb8f95a | [] | no_license | aghayoor/BRAINSTools | ac247f73f6e874fa80094928ba68c1c2230f070d | 0da25be92227840b7290a83268f876e1d844c9ad | refs/heads/master | 2020-04-05T23:03:35.789313 | 2013-08-20T20:04:01 | 2013-08-20T20:04:01 | 9,104,769 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 12,748 | h | /*=========================================================================
Author: $Author: krm15 $ // Author of last commit
Version: $Rev: 585 $ // Revision of last commit
Date: $Date: 2009-08-20 21:25:19 -0400 (Thu, 20 Aug 2009) $ // Date of last commit
======================================================... | [
"hans-johnson@uiowa.edu"
] | hans-johnson@uiowa.edu |
f6415cd281f75068aea364ce8ff0cbd20bc007ad | a9636f0d96503b890f0f80d52de6fa7beb3ffe29 | /visual_widgets/dual_state_diagram/dualstatediagram.h | 64f5b0cafcdd87be6eeddbd595792f4aab974b4f | [] | no_license | grigp/a-analyser | 5d14e8f91e2104fbc8ffbf47a28d20fd95eb667e | 026badde88531b13a788140f8a3e13f08d4a5371 | refs/heads/master | 2023-09-01T08:09:35.475413 | 2023-06-14T11:37:22 | 2023-06-14T11:37:22 | 244,710,881 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 711 | h | #ifndef DUALSTATEDIAGRAM_H
#define DUALSTATEDIAGRAM_H
#include <QWidget>
#include "dualstatediagrampainter.h"
namespace Ui {
class DualStateDiagram;
}
/*!
* \brief Класс визуальной диаграммы двунаправленного отображения состояния относительно нуля DualStateDiagram class
*/
class DualStateDiagram : public QWidget,... | [
"grig_p@mail.ru"
] | grig_p@mail.ru |
2d7e02b16530bbd60ea563d5682c1e2081711672 | 8e37565d1f9d0f2ccce02a2ae760da13e5410ad1 | /bubblebutton.h | 6635c5dc561c4b2bc21f74c781da0658d6d79d4b | [] | no_license | YashGovindani/DrawOver | 54599a19496a1f910be269aee57383868f101e5f | 46f09744e1e90043e4acf81dea3dc3076f04ba1c | refs/heads/main | 2023-08-06T19:28:22.730526 | 2021-09-26T12:36:29 | 2021-09-26T12:36:29 | 406,796,133 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,068 | h | #ifndef BUBBLEBUTTON_H
#define BUBBLEBUTTON_H
#include "minibubblebutton.h"
#include <QPushButton>
#include <QGraphicsDropShadowEffect>
#include <QPaintEvent>
#include <QMouseEvent>
#include <QApplication>
class BubbleButton:public QPushButton
{
private:
BubbleButton(QWidget *loadingView = nullptr);
static Bu... | [
"yashgovindani222@gmail.com"
] | yashgovindani222@gmail.com |
9b59ceff4b65bdd9b2efce59f3126fdac5c3cde5 | 19e2519b62e11d8cb5bc901836ce3a47f0906188 | /tests/src/small_string_tests.cpp | 81fb41102dde2ea7eb225c9e4bd5d1d2cd48e0c6 | [
"BSL-1.0"
] | permissive | DebugOfTheRoad/jsoncons | 69010e824a4865a10112cf81abf22fd8f0b1a7a7 | 31c5779565c3731f1cbd882f44186371eea3d0cc | refs/heads/master | 2021-07-04T07:24:25.075667 | 2017-09-26T03:43:55 | 2017-09-26T03:43:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 978 | cpp | // Copyright 2013 Daniel Parker
// Distributed under Boost license
#ifdef __linux__
#define BOOST_TEST_DYN_LINK
#endif
#include <boost/test/unit_test.hpp>
#include <jsoncons/json.hpp>
#include <jsoncons/json_serializer.hpp>
#include <jsoncons/json_filter.hpp>
#include <sstream>
#include <vector>
#include <utility>
#i... | [
"danielaparker@yahoo.com"
] | danielaparker@yahoo.com |
5e0e4ca486de5053a9dff1dad629ada4339deb1c | 210b2d9c0da7de96bd50ca31219741e3bc897770 | /KnockOut/Source.h | 79f74255d6a5d4c88548dbe7201ba319a8ceaa65 | [] | no_license | acesaspa/KnockOut | c896e906289b3ac3483318422a8b90787ab00794 | c8e027b5ccf405ffe9daa1676f8a8ec5a0925cf3 | refs/heads/main | 2023-04-10T20:14:28.564392 | 2021-03-31T23:13:00 | 2021-03-31T23:13:00 | 365,092,532 | 1 | 0 | null | 2021-05-07T02:30:00 | 2021-05-07T02:29:59 | null | UTF-8 | C++ | false | false | 131 | h | #ifndef SOURCE_H
#define SOURCE_H
#include "PowerUp.h"
class Source
{
public:
void passValue(PowerUp& a);
private:
};
#endif
| [
"noahbensler@gmail.com"
] | noahbensler@gmail.com |
1c5acf49becbe5d98c5509a3fc63b7ae0e10815b | ca99bc050dbc58be61a92e04f2a80a4b83cb6000 | /Game/src/Entities/Tux.cpp | 150fd862b5c7e381ea3cbf05b110ecb526a79f82 | [] | no_license | NicolasBeaudrot/angry-tux | e26c619346c63a468ad3711de786e94f5b78a2f1 | 5a8259f57ba59db9071158a775948d06e424a9a8 | refs/heads/master | 2021-01-06T20:41:23.705460 | 2011-04-14T18:28:04 | 2011-04-14T18:28:04 | 32,141,181 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,196 | cpp | #include "Tux.h"
Tux::Tux(sf::RenderWindow* app
,sf::Vector2i& position
,std::string& path
,int type
,b2World* world) : Entity(app, position, path = "tuxs/" + path, 0){
_type = type;
_fire = false;
//Physics definition
b2BodyDef bd;
bd.position.Set(_... | [
"nicolas.beaudrot@43db0318-7ac6-f280-19a0-2e79116859ad"
] | nicolas.beaudrot@43db0318-7ac6-f280-19a0-2e79116859ad |
de1fc52ad2829ab563403e348c1edc9263fd0123 | 4fc43da9da433ed8c94e27138c43f2a7e66a1111 | /cs215/Lab1/brewereL1.cpp | aaed1953de4a522fd2cad66576bfaedd59c7359a | [] | no_license | EricRobertBrewer/SonomaState | 59520fd93ceefe09b1d435e3034e88c354d78c60 | c991d2394261ece81535dd5e9056c90a8de55d98 | refs/heads/master | 2021-01-16T18:06:17.457213 | 2012-11-28T08:46:58 | 2012-11-28T08:46:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,018 | cpp | /*
Eric Brewer
1/28/08
CS215
Lab1
*/
#include <iostream>
#include <fstream>
using namespace std;
int main() {
ifstream fin;
int consonantCount = 0;
int vowelCount = 0;
int wordCount = 0;
int digitCount = 0;
int specialCharCount = 0;
fin.open("words.txt");
string word;
while (fin >> word) {
... | [
"eric.r.brewer@gmail.com"
] | eric.r.brewer@gmail.com |
5922dbee24415a34ec9c93771fec1e7763f9684f | 1b712a2a6ccdd5a8fd9070749205d2dd97e78299 | /算法结构/sap(精).cpp | 8ff3ec2341166160c9ad0d09c64e4f6aa273ea1b | [] | no_license | xsy1996/C_algorithm_codes | b12eff717bbbf19f6872b2da35b532abc8392f37 | 2e9b8ad99d330de39bc000b8c0fa3dc9242b3147 | refs/heads/master | 2020-04-13T12:26:46.975699 | 2018-12-26T17:24:54 | 2018-12-26T17:24:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 773 | cpp | #include<cstdio>
#define min(a,b) ((a)<(b)?(a):(b))
const int MAX=2100000000,MAXn=200+9;
int n,answer,g[MAXn][MAXn],d[MAXn],gap[MAXn],st=1,ed=n;
int sap(int u,int flow)
{
if(u==ed)
return flow;
int ans=0,i,t;
for(i=1;i<=n;++i)
if(g[u][i] && d[u]==d[i]+1)
{
t=sap(i,min(flow-ans,g[u][i]));
g[u... | [
"Xushiyu1996@gmail.com"
] | Xushiyu1996@gmail.com |
616715b35fbdd0b0aa0460ac20ad0f81d15b292e | 8476ceb52232150ef5359b631b942a417acc46e0 | /libs/ofxMapper/src/Vertices.h | da0e318a03cd1042b56a057e33772e10b540867f | [] | no_license | tobiasebsen/ofxMapper | 7b6835e08b2079de8fda58d47a89ab90b8ad9c2a | 09a5c55c32f06aed489897e27af5fe43f5562ea7 | refs/heads/master | 2020-08-28T00:30:38.212153 | 2020-06-24T11:28:20 | 2020-06-24T11:28:20 | 217,534,728 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 324 | h | #pragma once
#include "ofMain.h"
class Vertices {
public:
Vertices(size_t w, size_t h) : width(w), height(h) {
data = new glm::vec2[w*h];
}
~Vertices() {
delete data;
}
glm::vec2 * data = NULL;
size_t width = 0;
size_t height = 0;
};
typedef shared_ptr<Vertices> VerticesP... | [
"tobiasebsen@gmail.com"
] | tobiasebsen@gmail.com |
7c6b50176cf19d0a442737166862ac48e9e0d812 | c8c6ad39945d24173b257dd8954b475c1d31f47f | /Embedded/Projects/March 2/main.cpp | 33a1a5188ffcb23e76b5bbe95af820742b7f5e5f | [] | no_license | BaiLiping/BLP | 5e75827292c206f1874fae825ad39d8c4bd2c746 | 38d3b60da6d4d0683e9683e556ed05e16484dba4 | refs/heads/master | 2023-08-04T23:22:07.920071 | 2023-07-19T07:16:28 | 2023-07-19T07:16:28 | 173,741,943 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 259 | cpp | #include <iostream>
//#include <cintstd>
#include <vector>
using namespace std;
int main()
{
vector<uint64_t> lookuptable;
std::vector<uint64_t>::iterator p;
p=lookuptable.begin();
*p=1;
*(p+1)=2;
*(p+2)=3;
cout<<*(p+2)<<endl;
return 0;
}
| [
"blp_engineer@outlook.com"
] | blp_engineer@outlook.com |
f3f4c3e82a8b42e50582a1bb800ab45436bcff7d | 3510a32a7c24394f0fb722989259b3ca39ead5df | /Monster.hpp | f7821cf1b30b46b1fd687e582e7c79a3ee091298 | [] | no_license | realshooky/MMSearch | ac55d812165240b0603263c839d3fbb7f65d6e0d | 9fe4a286dac228d28194f8a8e4d92b4bd8401501 | refs/heads/master | 2020-07-03T08:11:53.025521 | 2019-08-15T03:06:24 | 2019-08-15T03:06:24 | 201,848,442 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,268 | hpp | #include <string>
class Monster
{
public:
Monster();
// setters
void setName(char *);
void setName(std::string&);
void setSize(char *);
void setSize(std::string&);
void setType(char *);
void setType(std::string&);
void setAlignment(char *);
void setAlignment(std::string&);
void setHP_Dice(char... | [
"realshooky"
] | realshooky |
a2d4e0aa7e7da79efed8f9181bc802ff1f3f3892 | 66330f7a1ff0b8447b4245474ab4de48727fd1c5 | /libs/marshalling/core/include/nil/marshalling/types/no_value/basic_type.hpp | 7d294e46d470395825327ea8771bf19b2a49f959 | [
"MIT"
] | permissive | everscalecodes/knapsack-snark | fd3cc6155125ae6ff0fc56aa979f84ba6a8c49c7 | 633515a13906407338a81b9874d964869ddec624 | refs/heads/main | 2023-07-18T06:05:22.319230 | 2021-08-31T16:10:16 | 2021-08-31T16:10:16 | 447,180,824 | 0 | 1 | MIT | 2022-01-12T10:53:21 | 2022-01-12T10:53:20 | null | UTF-8 | C++ | false | false | 4,374 | hpp | //---------------------------------------------------------------------------//
// Copyright (c) 2017-2021 Mikhail Komarov <nemo@nil.foundation>
// Copyright (c) 2020-2021 Nikita Kaskov <nbering@nil.foundation>
//
// MIT License
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of th... | [
"curryrasul@gmail.com"
] | curryrasul@gmail.com |
8d00b074cfb27b4b5020f56dface31d213234e95 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /ui/ozone/platform/wayland/xdg_surface_wrapper.h | 3aa7240f8dcd4e0d636247eb7214e8ca8ebce57c | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 1,831 | h | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_OZONE_PLATFORM_WAYLAND_XDG_SURFACE_WRAPPER_H_
#define UI_OZONE_PLATFORM_WAYLAND_XDG_SURFACE_WRAPPER_H_
#include "base/strings/string16.h"
#inc... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
fa801c65b682a44280459aa78214741d23a16c6a | be5e2f6c52805f40d6108288a851dbb214eef4f1 | /src/muparser/muParserDef.h | 52c676c2c2d5e1530055d70f9c43d8bcc94ba9af | [
"BSD-3-Clause",
"MIT"
] | permissive | ismailqau/isymtecai-chrono-parser | c17e1b769845eab66243f396b3ae259d0bff322e | 9f6f0d1d0493de8332af6885a9ccde95c7d809b2 | refs/heads/master | 2020-03-29T23:42:17.199121 | 2018-09-04T14:47:46 | 2018-09-04T14:47:46 | 150,484,953 | 0 | 0 | BSD-3-Clause | 2018-09-26T20:17:14 | 2018-09-26T20:17:13 | null | UTF-8 | C++ | false | false | 14,249 | h | /*
__________
_____ __ __\______ \_____ _______ ______ ____ _______
/ \ | | \| ___/\__ \ \_ __ \/ ___/_/ __ \\_ __ \
| Y Y \| | /| | / __ \_| | \/\___ \ \ ___/ | | \/
|__|_| /|____/ |____| (____ /|__| /____ > \_... | [
"dmvlas77@googlemail.com"
] | dmvlas77@googlemail.com |
1126ac9d458cd999ea6dcf580c55e5803385803a | 2c55f75c7b671eb4132818d2950b6439ff75464d | /程序设计实验/实验一/输入3组坐标,按指定格式输出.cpp | 846d7b4cfeb32cb73c73968fe7257b4799dac538 | [] | no_license | Monkeyman520/CPP | fb8fcbbcd55f51b3dd945aac180c614b884b1780 | a07df1456e52cbd44579e5e199cd209b3ae23a4c | refs/heads/master | 2020-09-27T12:06:29.300846 | 2018-09-16T03:26:09 | 2018-09-16T03:26:09 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 396 | cpp | //输入3组坐标,按指定格式输出
#include <iostream>
using namespace std;
int main()
{
char z;
int x1, x2, x3, y1, y2, y3;
cin >> z >> x1 >> z >> y1 >> z >> z >> z >> x2 >> z >> y2 >> z >> z >> z >> x3 >> z >> y3 >>z;
cout << '[' << x1 << ',' << y1 <<']' << endl;
cout << '[' << x2 << ',' << y2 <<']' << endl;
cout << '[' <... | [
"1637894214@qq.com"
] | 1637894214@qq.com |
46effb3436023cf959a0f5963ce426d612f7f0c5 | 138a353006eb1376668037fcdfbafc05450aa413 | /source/ArenaCamera.cpp | 48b047fa6f49144f1cdf706b0241410033d51e0e | [] | no_license | sonicma7/choreopower | 107ed0a5f2eb5fa9e47378702469b77554e44746 | 1480a8f9512531665695b46dcfdde3f689888053 | refs/heads/master | 2020-05-16T20:53:11.590126 | 2009-11-18T03:10:12 | 2009-11-18T03:10:12 | 32,246,184 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,002 | cpp | #include "ArenaCamera.h"
ArenaCamera::ArenaCamera(Ogre::SceneNode *target1, Ogre::SceneNode *target2, Ogre::Camera *cam) {
mTarget1 = target1;
mTarget2 = target2;
mCamera = cam;
mMinDist = 0.0f;
}
ArenaCamera::~ArenaCamera() {
}
void ArenaCamera::setMinDistanceAway(float dist) {
mMinDist = dist;
... | [
"Sonicma7@0822fb10-d3c0-11de-a505-35228575a32e"
] | Sonicma7@0822fb10-d3c0-11de-a505-35228575a32e |
7609df037106a2d77844a03e8e0d6c2a8d6cc8fe | e0504349fceb190be0988b2f2532826b90fa3d16 | /rtos/ConditionVariable.h | dd091ec3d4ee30f2c52ad2c650fccd6c4114378e | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | CalSol/mbed | 741e84f2dd2343a2088c3a4b68ddc24088e871d9 | da4f23f00bdf450697c735f4b99b77ba04a93314 | refs/heads/master | 2021-06-07T15:27:24.357365 | 2019-06-24T02:06:22 | 2019-06-24T02:06:22 | 31,633,506 | 1 | 2 | Apache-2.0 | 2019-12-05T01:38:21 | 2015-03-04T02:24:28 | C | UTF-8 | C++ | false | false | 6,598 | h | /* mbed Microcontroller Library
* Copyright (c) 2017-2017 ARM Limited
*
* 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... | [
"russ.butler@arm.com"
] | russ.butler@arm.com |
589c1434061776b85d65f578be882d96ecf7ddcb | 40587fed2ea28867795686fe5445ed9e57ef4af8 | /src/utils/solvers/Linear.tcc | afe746b98c9332bb3f82420fc85710166176599a | [] | no_license | JamesZFS/Pharosa | b1a6e84647a40bb0954a08014e027bb1f77d5d2c | c6d550789335b3c33d2c7affc7e776d3e737fdb6 | refs/heads/master | 2020-05-09T18:30:53.371797 | 2020-04-18T07:01:20 | 2020-04-18T07:01:20 | 181,339,719 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,087 | tcc | //
// Created by James on 2019/4/2.
//
// Linear solvers solver
// Solve2D A b == x (n_dim == n, A: matrix)
template<int n>
bool Linear::Solve(real (&A)[n][n], real (&b)[n], real (&x)[n])
{
real M[n][n + 1]; // expand to (n+1) cols
for (int i = 0; i < n; ++i) {
for (int j = 0; j < n; ++j) {
M[i][j] = A[i... | [
"962907278@qq.com"
] | 962907278@qq.com |
a0ef254c0cc50088befe4daa5a4a78bc5f018a25 | ff6c94371e939656c2beb21307630446e3b8ccf7 | /CaseGenerator.cpp | 833d3449d028f38ae156d989573eaa52cc5ffaf3 | [] | no_license | competitiveprogramming/Sadia_apu_code_library_DS_and_algorithm | 32217fb3ecdfbc2c1992f5bb07dcf708c2299f8c | 0b9347bc9542ba24432bb9ebee20934c4f3457cf | refs/heads/master | 2021-10-18T22:11:06.243725 | 2019-02-14T18:40:11 | 2019-02-14T18:40:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 740 | cpp | #include<stdio.h>
#include<iostream>
#include<string.h>
#include<stdlib.h>
#include<math.h>
#include<algorithm>
#include<set>
#include<map>
#include<utility>
#include<vector>
#include<string>
#include<stack>
#include<queue>
using namespace std;
int main()
{
freopen("data.txt", "w", stdout);
srand(time(NULL));
... | [
"s.i.r.computerengineer24@gmail.com"
] | s.i.r.computerengineer24@gmail.com |
60e8e8c09ee24609eb359bd8fb72be63c15f09b0 | f91ad86483e866f8ce7e2fdc962153fd303dda68 | /Source/Game/Game_Accessor.h | 792b009c8547c3120fc91db5ae68666fb00599c6 | [] | no_license | VictorPetersson3/Spelprojekt3_Shmup | 4a3a01ea7df40e089778e448cac0ea56fc32df7c | 51ec519ca16861438c843eb9d6f6abfd321f0e21 | refs/heads/main | 2023-03-07T11:36:37.506543 | 2021-02-28T15:43:28 | 2021-02-28T15:43:28 | 326,771,200 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 452 | h | #pragma once
#include "Game.h"
class CGame;
namespace Studio
{
class GameAccessor
{
public:
static GameAccessor& GetInstance();
private:
GameAccessor() = default;
static GameAccessor ourInstance;
CGame* myGame;
public:
GameAccessor(GameAccessor const&) = del... | [
"victor.petersson@studerande.thegameassembly.se"
] | victor.petersson@studerande.thegameassembly.se |
72c70e3daabfeae53aef611896d670b66cbdfb7b | 74af5be7e79b5fe789e90c6f64ebbdbe2cf7543d | /SimpleDriver.cpp | 7992a291e702435832932caefce80b66bcd7a473 | [] | no_license | bartek1912/torcs_bot_uwr | ff472d750047fb0491266ef45d1c1e71ac7e6593 | aac21d095182ba3e59bafe80602afd28b882ef41 | refs/heads/master | 2021-01-11T21:55:54.575265 | 2017-01-05T21:07:18 | 2017-01-05T21:07:18 | 78,879,268 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,647 | cpp | /***************************************************************************
file : SimpleDriver.cpp
copyright : (C) 2007 Daniele Loiacono
***************************************************************************/
/**************************************************************... | [
"bnajdecki@gmail.com"
] | bnajdecki@gmail.com |
eac8cef4f41242e89e0d61bd5333fbb42b4b293e | 673cac8e6d3594c6f8f60c4a5be7c843f97c4f38 | /Assistente virtual/04 - Assitente Virtual com Python II/Aula extra com Arduino/CodigoMorseFuncao/CodigoMorseFuncao.ino | df1c06697dfb9406c3073a4d5d36b4daa299fb6b | [
"MIT"
] | permissive | Ivoneideduarte/assistente-virtual-com-python | eb5e924487291f6d5077a92e0500fadaca4b7679 | 7c7e39be5bcdc811a2694d757fd5d0c3817fb55c | refs/heads/master | 2022-11-24T12:41:09.592871 | 2020-08-03T22:12:37 | 2020-08-03T22:12:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 932 | ino | //byte led = 10;
int y = 0;
void setup()
{
pinMode(10, OUTPUT);
pinMode(13, OUTPUT);
Serial.begin(9600);
}
void loop()
{
piscaLed(150, 100, 10, 3); //Argumentos
Serial.println("Escrevendo S.");
piscaLed(400, 100, 10, 3);
Serial.println("0.");
piscaLed(150, 100, 10, 3);
Serial.println("S");
Serial.... | [
"contato.ivoneideduarte@gmail.com"
] | contato.ivoneideduarte@gmail.com |
a21c81cad764d1eaebaf3ff923a13b6f2b740f58 | 1b17cb868c571920dadeeab0295d60783a496fc8 | /HealthMods/SensorsMod/AurigaHL7/2.4/datatype/PIP.h | 5629ba5a3f4888f45a97c38697b8426050882fce | [] | no_license | afmartins85/olamed-modules-src | dc86e2dce4d5c54a450bca95c4775715167cecb9 | ec673ef154ef218f3b7c6593914212b125600ebd | refs/heads/master | 2023-01-07T16:25:29.437031 | 2020-11-05T22:30:07 | 2020-11-05T22:30:07 | 287,022,753 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,643 | h | /*
* This file is part of Auriga HL7 library.
*
* Auriga HL7 library is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Auriga... | [
"anderson.fagundes@gmail.com"
] | anderson.fagundes@gmail.com |
90e14f9d004453124383df7afe4f818387c6c68a | 8f514ed747ffd1f62919074d3091d4028e0cd349 | /wkb.cpp | 754409bd01b08d069409fbf626fc98cf0160e0cc | [] | no_license | darkserj/wkb_wrapper | e0e8d5f1adb0ecee5ff113780a011a7a655ad0f0 | 76c6d904b08e67a29664d0d2ecf2e1b2de67f788 | refs/heads/master | 2020-04-04T19:12:42.811426 | 2013-02-04T15:12:49 | 2013-02-04T15:12:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,119 | cpp | //
// wkb.cpp
//
#include "wkb.h"
void ml::make_wkb_point(std::vector<char> &wkb, ml::point_d const &pt) {
wkb.resize(21);
wkb[0] = 1;
*((unsigned int *)&wkb[1]) = 1; // wkb_point
*((double *)&wkb[5]) = pt.x;
*((double *)&wkb[13]) = pt.y;
}
ml::rect_d ml::wkb::bounds() const {
struct bounds_counter {
ml::re... | [
"yershov@corp.mail.ru"
] | yershov@corp.mail.ru |
e798cb21eee4cac59f058fdaf83824bd00147cb1 | cd33de81cbe9f94e9f32bd46f184cdd4ce8b81a1 | /DecathectEngine/src/dcthctpch.h | 3ad27d251f85e1515d2ae733fc939c3b854a39f2 | [
"Apache-2.0"
] | permissive | jharvs97/DecathectEngine | 713133c66b66bb95845a15c09b632c43516c34f2 | b6e6e840843d0de5ebd8a38194a01e53fdd19e03 | refs/heads/master | 2022-03-31T14:25:30.663747 | 2019-11-21T03:07:30 | 2019-11-21T03:07:30 | 219,495,084 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 280 | h | #pragma once
#include <iostream>
#include <memory>
#include <utility>
#include <algorithm>
#include <functional>
#include <sstream>
#include <string>
#include <vector>
#include <unordered_map>
#include <unordered_set>
#ifdef DCTHCT_PLATFORM WINDOWS
#include <Windows.h>
#endif | [
"34911082+jharvs97@users.noreply.github.com"
] | 34911082+jharvs97@users.noreply.github.com |
b788e1003bf2749b3ec34a1259e324dcb635c1d3 | 397403cb1e7fc66e2a849859a9c66ac915b3f9d6 | /Plugins/OSSShading/Intermediate/Build/Win64/UE4Editor/Inc/OSSShading/MaterialExpressionOSSMad.generated.h | 8ab023267696c8eba93538fef911ea5ac7fbaf6f | [] | no_license | seanssoh/HenryAlone | cdc0fb62bbc49f965ab255a5add598dd44501ebb | 3555bbac6823749338682c280161db99fd1e6080 | refs/heads/master | 2021-01-11T03:12:30.710772 | 2016-10-17T16:51:59 | 2016-10-17T16:51:59 | 71,038,724 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,713 | h | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
C++ class header boilerplate exported from UnrealHeaderTool.
This is automatically generated by the tools.
DO NOT modify this manually! Edit the corresponding .h files instead!
=... | [
"seanssoh@gmail.com"
] | seanssoh@gmail.com |
cbd3c900068b4bbc2ccdc006afff00ec5d3b2551 | 896a24277984903b4edb89def90d959945eb7ea2 | /examples/Linalg/Linalg3/include/linalg3/Analysis.h | 813fc37b73e020287347dd14207a03303ede3da0 | [
"Apache-2.0"
] | permissive | leonid3000/mlir | 70af93154d76a012ba17b8d79213089864c54e8a | 8c7180e2c37985945c178a8337e8728a605842c3 | refs/heads/master | 2020-07-24T10:24:05.550955 | 2019-09-11T17:18:01 | 2019-09-11T17:18:29 | 207,893,124 | 1 | 0 | Apache-2.0 | 2019-09-11T19:42:35 | 2019-09-11T19:42:33 | null | UTF-8 | C++ | false | false | 1,272 | h | //===- Analysis.h - Linalg dialect Analysis function definitions ----------===//
//
// Copyright 2019 The MLIR Authors.
//
// 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.... | [
"joker.eph@gmail.com"
] | joker.eph@gmail.com |
de68b5976f403f24076b29c8a1e0600a2c3411d6 | 5012f1a7f9d746c117f04ff56f7ebe6d5fc9128f | /1.Server/2.Midware/KFContrib/KFPlugin/KFInterface.h | b92f4397c236b859145d849755ef30b9fa3f2724 | [
"Apache-2.0"
] | permissive | hw233/KFrame | c9badd576ab7c75f4e5aea2cfb3b20f6f102177f | a7e300c301225d0ba3241abcf81e871d8932f326 | refs/heads/master | 2023-05-11T07:50:30.349114 | 2019-01-25T08:20:11 | 2019-01-25T08:20:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 973 | h | #ifndef __KF_INTERFACE_H__
#define __KF_INTERFACE_H__
#include "KFInclude.h"
namespace KFrame
{
class KFPluginManage;
class KFInterface
{
public:
KFInterface()
{
_kf_plugin_manage = nullptr;
}
virtual ~KFInterface() {};
// 释放
virtual void ... | [
"lori227@qq.com"
] | lori227@qq.com |
603de64f7c84de637fdaea7a4b3ed83397cf9c63 | 8d15c78f8badb266818cdf67368249148cea46f0 | /AngryBirds/OpenGL/Sprite.h | 4f7f76a07d2a1fc23f9ee1bf77035017bbde6191 | [] | no_license | James81919/AngryBirds | 6470670608f4f0cbc8b7e37811f1fdd70ba2a474 | e5b0c343023da6d9e0ecf3f2e1575089d501c1a0 | refs/heads/master | 2020-03-28T20:24:45.820643 | 2018-09-25T05:08:28 | 2018-09-25T05:08:28 | 148,976,368 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 972 | h | #ifndef __SPRITE_H__
#define __SPRITE_H__
#include "ShaderLoader.h"
#include "Utilities.h"
class CSprite
{
public:
CSprite();
CSprite(std::string _filepath, GLuint& _shader);
~CSprite();
virtual void Init();
virtual void Update(glm::mat4 _model, glm::mat4 _view, glm::mat4 _projection, glm::vec3 _cameraPos);
vir... | [
"jjohnstone2520@gmail.com"
] | jjohnstone2520@gmail.com |
75085833ea1367286331e46ce31d4ed9aadf6283 | 7c63a96fad4257f4959ffeba0868059fc96566fb | /cpp/std-17/m_bancila-modern_cpp_programming_cookbook/ch_01-core_lang/01-auto_keyword.cpp | c9142e5e8e3625db574d09a10e14b37ffdfc860f | [
"MIT"
] | permissive | ordinary-developer/education | b426148f5690f48e0ed4853adfc3740bd038b72c | 526e5cf86f90eab68063bb7c75744226f2c54b8d | refs/heads/master | 2023-08-31T14:42:37.237690 | 2023-08-30T18:15:18 | 2023-08-30T18:15:18 | 91,232,306 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,087 | cpp | // region [how to do it]
#include <iostream>
#include <typeinfo>
#include <cassert>
#include <initializer_list>
namespace example_01 {
void run() {
static_assert(true);
auto i = 42;
auto d = 42.5;
auto s = "text";
auto v = {1, 2, 3};
int i2 = 42;
double d2 = 42.5;
char const* s2 = "tex... | [
"merely.ordinary.developer@gmail.com"
] | merely.ordinary.developer@gmail.com |
20dce90ae5d5fbc226a524b2757c9f23b217b270 | 69a22b81c47cfeb711196dabe9299cb070578963 | /DataProcess/ThreadManager.cpp | 54c7735905a54ddde7ae2a6b99384729491b2537 | [] | no_license | nhs635/Havana2 | 6610272c0d1aacfbb73f598792d5d506dbf89bf8 | 34e732a8804ceb6f12c9fe12d4bce524c3c66139 | refs/heads/master | 2023-08-21T22:26:27.201648 | 2023-08-03T05:17:08 | 2023-08-03T05:17:08 | 98,523,311 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,369 | cpp |
#include <DataProcess/ThreadManager.h>
ThreadManager::ThreadManager(const char* _threadID) :
_running(false)
{
memset(threadID, 0, MAX_LENGTH);
memcpy(threadID, _threadID, strlen(_threadID));
}
ThreadManager::~ThreadManager()
{
if (_thread.joinable())
{
_running = false;
_thread.join()... | [
"nhs635@hanmail.net"
] | nhs635@hanmail.net |
26427a5e08f62cf3d49d7be5f99aa690531d4407 | 2bb27dc9bd3067deebb82f7c57fdac02a915d0d4 | /src/checkpoints.cpp | 5fdc2aee1fce64e782f785ded937fdf9d8eddd5d | [
"MIT"
] | permissive | bedri/proxynode | e46504844abd3f1772c16f37342bce1ca1f8c30a | 5b42796d008a5976703b2c2adcfcafc639c64c8f | refs/heads/master | 2020-05-19T13:14:45.538666 | 2019-05-05T08:36:00 | 2019-05-05T08:36:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,470 | cpp | // Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2018 The Prx developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.p... | [
"root@m5079.contaboserver.net"
] | root@m5079.contaboserver.net |
270c34e612ea2e42d3ab0e88d535f43fc0675810 | d1cee40adee73afdbce5b3582bbe4761b595c4e1 | /back/RtmpLivePushSDK/boost/boost/mpl/bool_fwd.hpp | 79e918103e7bad709afead8741d5a7d58977ce38 | [
"BSL-1.0"
] | permissive | RickyJun/live_plugin | de6fb4fa8ef9f76fffd51e2e51262fb63cea44cb | e4472570eac0d9f388ccac6ee513935488d9577e | refs/heads/master | 2023-05-08T01:49:52.951207 | 2021-05-30T14:09:38 | 2021-05-30T14:09:38 | 345,919,594 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 858 | hpp |
#ifndef BOOST_MPL_BOOL_FWD_HPP_INCLUDED
#define BOOST_MPL_BOOL_FWD_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2000-2004
//
// 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://www.boost.org/libs/m... | [
"wenwenjun@weeget.cn"
] | wenwenjun@weeget.cn |
0be06367f6d122f3f0bf74d50e58f18c0f700ba4 | 33546aee6429d5b8f19a02e14699b6ebb5b34af8 | /src/ui/views/view_unittest.cc | 6af6b3a1612a4d4a55e5a069c0014c15e01e0578 | [
"BSD-3-Clause"
] | permissive | mYoda/CustomBrs | bdbf992c0db0bf2fd1821fa1fd0120ac77ffc011 | 493fc461eb7ea7321c51c6831fe737cfb21fdd3e | refs/heads/master | 2022-11-22T09:11:37.873894 | 2022-11-10T10:02:49 | 2022-11-10T10:02:49 | 24,951,822 | 0 | 1 | null | 2022-11-02T14:39:34 | 2014-10-08T17:22:30 | C++ | UTF-8 | C++ | false | false | 128,594 | 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 <map>
#include "base/memory/scoped_ptr.h"
#include "base/rand_util.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_strin... | [
"nechayukanton@gmail.com"
] | nechayukanton@gmail.com |
dcae953085f64c856b18d1055c3c99f6d4a6bb71 | bcdd4c17ee83923d4696d35e00c5bf32e8794860 | /src/libraries/CVK_2/CVK_ShaderMinimal.cpp | fe61e9f7643d9879593591534ae2acb443a8241f | [] | no_license | marcelpohl/EZR | fa332802e57c104fba70b08f3f16f346e86aa5bf | a84961eef2caad3771482f5bf6c988871e8e2440 | refs/heads/master | 2021-07-17T20:10:19.930722 | 2018-07-11T12:34:59 | 2018-07-11T12:34:59 | 134,305,054 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,055 | cpp | #include "CVK_ShaderMinimal.h"
CVK::ShaderMinimal::ShaderMinimal( GLuint shader_mask, const char** shaderPaths)
{
// generate shader program
GenerateShaderProgramm(shader_mask, shaderPaths);
// matrices
m_modelMatrixID = glGetUniformLocation(m_ProgramID, "modelMatrix");
m_viewMatrixID = glGetUniformLocation(m... | [
"senshi86@gmail.com"
] | senshi86@gmail.com |
74b6d146a6408b89b685f8db465ddb3061bcf377 | 19194c2f2c07ab3537f994acfbf6b34ea9b55ae7 | /android-33/android/text/style/TtsSpan_MoneyBuilder.hpp | cb518b40589fa155dc820850d117a0fe6d007f72 | [
"GPL-3.0-only"
] | permissive | YJBeetle/QtAndroidAPI | e372609e9db0f96602da31b8417c9f5972315cae | ace3f0ea2678967393b5eb8e4edba7fa2ca6a50c | refs/heads/Qt6 | 2023-08-05T03:14:11.842336 | 2023-07-24T08:35:31 | 2023-07-24T08:35:31 | 249,539,770 | 19 | 4 | Apache-2.0 | 2022-03-14T12:15:32 | 2020-03-23T20:42:54 | C++ | UTF-8 | C++ | false | false | 1,813 | hpp | #pragma once
#include "../../../JString.hpp"
#include "./TtsSpan_MoneyBuilder.def.hpp"
namespace android::text::style
{
// Fields
// Constructors
inline TtsSpan_MoneyBuilder::TtsSpan_MoneyBuilder()
: android::text::style::TtsSpan_SemioticClassBuilder(
"android.text.style.TtsSpan$MoneyBuilder",
"()V"
) ... | [
"YJBeetle@gmail.com"
] | YJBeetle@gmail.com |
629d429407ef0e7a08c9c63c90e573fef16cd165 | d1ba96b3467fea007f85a2a44ca8724329d195b7 | /Final Submission/Sourcecode/Client/Debug/debug/moc_dialog.cpp | a42e3e6aa05c0cb06ac49dd256b84779bd487fe5 | [] | no_license | Team-Chimera/Comm-Audio | 9caa5c72adf75a2bfddfc06b9fc2766d08f6c370 | 5b6ea3e9419f5f7a026651dc994fbfb2f1c7d5f9 | refs/heads/master | 2016-09-06T04:12:27.576781 | 2015-04-09T05:37:10 | 2015-04-09T05:37:10 | 30,979,831 | 0 | 5 | null | 2015-04-09T05:37:10 | 2015-02-18T18:31:53 | C | UTF-8 | C++ | false | false | 3,307 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'dialog.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.4.0)
**
** WARNING! All changes made in this file will be lost!
**************************************************************... | [
"rhealauzon@gmail.com"
] | rhealauzon@gmail.com |
244c5a3748d59cddc50bc1edf6c96b8318b2fad7 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_new_log_2709.cpp | f3367127fc3ea934fcf3c74d72810c122edabffc | [] | 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 | 35 | cpp | die(_("unrecognized width:%s"), s); | [
"993273596@qq.com"
] | 993273596@qq.com |
4020aad18c0c0ec683c070575c725d6a2ada2e4f | 0dc20516079aaae4756d28e67db7cae9c0d33708 | /jxy/jxy_src/jxysvr/src/dll/sdu/algorithm/sdmd5.cpp | 82fb050e2dc91d5035af5e434941ea18208fa67e | [] | no_license | psymicgit/dummy | 149365d586f0d4083a7a5719ad7c7268e7dc4bc3 | 483f2d410f353ae4c42abdfe4c606ed542186053 | refs/heads/master | 2020-12-24T07:48:56.132871 | 2017-08-05T07:20:18 | 2017-08-05T07:20:18 | 32,851,013 | 3 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 12,527 | cpp |
#include "sdmd5.h"
#include "sdfile.h"
#include "sdfilemapping.h"
#include "sdstring.h"
namespace SGDP
{
#define S11 7
#define S12 12
#define S13 17
#define S14 22
#define S21 5
#define S22 9
#define S23 14
#define S24 20
#define S31 4
#define S32 11
#define S33 16
#define S34 23
#define S41 6
#d... | [
"wuzili1234@gmail.com"
] | wuzili1234@gmail.com |
923b681d1e3b359c140134d4c02d8afad1d8535f | 719b9668d421765586405b8478927b026f7e0336 | /projects/lang/runtime/runtime.cpp | 136af4369f8b1f01bbb3f8f04607fcc3c3287492 | [
"MIT"
] | permissive | yut148/taichi | f8208084483f1e2f7aad258fc1e046385d796576 | fecb8557e80a294d98347d71b1ad0fd2f43865b0 | refs/heads/master | 2022-02-23T17:43:19.995584 | 2019-10-02T15:15:51 | 2019-10-02T15:15:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,507 | cpp | // This file will only be compiled with clang into llvm bitcode
// Generated bitcode will likely get inline for performance.
#include <type_traits>
#include <atomic>
#define FORCEINLINE __attribute__((always_inline))
#define STRUCT_FIELD(S, F) \
extern "C" decltype(S::F) S##_get_##F(S ... | [
"yuanmhu@gmail.com"
] | yuanmhu@gmail.com |
b9afce1ab16e25e9f29f2ef4c4468f5750598d66 | 331af263b0a55ab97f32ea43777eb6bb0a69b620 | /300. Longest Increasing Subsequence.cpp | 80a2a828f80be13d69bf47e42eadb9813b836884 | [] | no_license | yanjunp-cmu/LeetCode | 3369683dd1d80b94726ab398083dbc377d4ef82b | 84dfcccb0fcb1debd45c982c132ba020e7e92d74 | refs/heads/master | 2020-07-12T08:11:53.560397 | 2020-01-17T17:48:13 | 2020-01-17T17:48:13 | 204,762,049 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 457 | cpp | class Solution {
public:
int lengthOfLIS(vector<int>& nums) {
if(nums.empty()) return 0;
vector<int> dp(nums.size(), 1);
int result = 1;
for (int i = 1; i < nums.size(); i++){
for (int j = 0; j < i; j++){
if(nums[j] < nums[i]){
dp[i] = ... | [
"yanjunp@andrew.cmu.edu"
] | yanjunp@andrew.cmu.edu |
48a05db09bbb3f86f408101869e51cbd0a771f61 | 7c713739a64b22af2256f07d75447acf178586ac | /Source.cpp | 26c53f98834eca9a9813ea03665612702839d94a | [
"MIT"
] | permissive | kenjinote/SortingAlgorithmAnimations | 10c7cd5f4b233377093aa8444ea07b2431ae2ad1 | c42cc79c2c604c219ce2112bdc9ea6f126a1f1ad | refs/heads/master | 2023-02-23T17:16:47.612291 | 2023-02-08T15:05:06 | 2023-02-08T15:05:06 | 59,730,507 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,948 | cpp | #pragma comment(linker,"\"/manifestdependency:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
#include <windows.h>
TCHAR szClassName[] = TEXT("Window");
void Update(HWND hWnd)
{
Sleep(5);
InvalidateRect(hWnd, 0, 0... | [
"kenji256@gmail.com"
] | kenji256@gmail.com |
9424fed3d189f375b2c430a3bd828a575457bc64 | 9097b4172997abadd081a19789dc505f91759cea | /Sound Visualizer/Bar.hpp | b7f7da5ed0bc5eaf6503ec2bc0bec81ad5cdb99e | [] | no_license | veiyas/Sound-Visualizer | 65a0d14ca175560883a41d4a0d0566e43b0e785f | bde2ab6a16efc10e224e5d3f94226dd542b2d9f0 | refs/heads/master | 2020-07-27T10:56:01.925060 | 2019-10-16T21:20:14 | 2019-10-16T21:20:14 | 209,063,782 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 635 | hpp | #pragma once
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <glm/glm.hpp>
#include "Constants.hpp"
#include <vector>
#include <memory>
#include <iostream>
class Bar
{
public:
Bar(GLfloat x_coord, GLfloat height, GLfloat z_coord);
~Bar();
void render();
private:
//OpenGL magic
GLuint vao = 0; // Verte... | [
"david.rk97@gmail.com"
] | david.rk97@gmail.com |
33f8ae8d68ef4f321e22c8cd662d6e921519e817 | c6401d48085c920367e271032d6af5e48e7ab0c8 | /StacksAndQueues/PriorityQueueNode.hpp | 73d3507a7a2e00e6e02958a3cc4d68d2ccd73060 | [
"MIT"
] | permissive | Bartleby2718/Introduction-To-Algorithms--CLRS- | bf4a0705ec154149065e2801614de6564e4e70be | cc1445e9cc926e9a021caad61d7ff56d57bdc6e2 | refs/heads/master | 2020-05-22T13:18:23.243475 | 2019-07-25T02:42:15 | 2019-07-25T02:42:58 | 186,355,777 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 577 | hpp | //
// Created by bartl on 06/21/2019.
//
#ifndef STACKSANDQUEUES_PRIORITYQUEUENODE_H
#define STACKSANDQUEUES_PRIORITYQUEUENODE_H
template<class T>
struct Node
{
unsigned index;
T element;
string toString()
{
return to_string(element) + "(index: " + to_string(index) + ")";
}
};
template<c... | [
"bartleby2718@gmail.com"
] | bartleby2718@gmail.com |
230f1ac4bfa289ee33b50ef4079aef99b2bf102b | 1441bc7fee74a372af6ba63a8a4dc04100e6255c | /aria-HW/part_c.cpp | 096d0398c594c302c8888ab6cf2c7ba6721b1c1d | [] | no_license | Chen-Yu-Qiang/class | b9931f9be9dbfc4156531c8cbbfa4b3b9b6740a2 | 46470e472eb74223d3cc69d3e0da31c4f63e6ce2 | refs/heads/master | 2023-07-13T14:41:46.858478 | 2021-08-29T04:41:34 | 2021-08-29T04:41:34 | 400,951,752 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,657 | cpp |
#include "Aria.h"
int main(int argc, char **argv)
{
ArRobot robot;
ArSonarDevice sonar;
robot.addRangeDevice(&sonar);
Aria::init();
ArSimpleConnector connector(&argc, argv);
if (!connector.connectRobot(&robot))
{
printf("Could not connect to robot... exiting\n");
Aria::shutdown();
A... | [
"a@example.com"
] | a@example.com |
d48b1b4a5a0e4d70187070f5dec74d1e82074855 | e52d6cf6d24dc646415e9c4ac8ad7c801f4554fa | /Nsplit/CRFsparse/util.h | 39a407b7fb36b634b341843f64ef4e8b230f4298 | [] | no_license | a061105/AugmentedLimitedMem | aaf5c70133732014a4b322cfe9b79037bbc12067 | 5aa84702bc5f7ecaa9f761c0779aadf89ad26fd5 | refs/heads/master | 2020-12-24T06:54:16.792123 | 2016-08-12T03:41:14 | 2016-08-12T03:41:14 | 53,838,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,043 | h | #ifndef UTIL
#define UTIL
#include<map>
#include<vector>
#include<string>
#include<cmath>
#include <iomanip> // std::setprecision
#include <fstream>
#include <set>
using namespace std;
void split(string str, string pattern, vector<string>& tokens);
double maximum(double* values, int size);
double maximum(doub... | [
"a061105@gmail.com"
] | a061105@gmail.com |
d8337f6d5fb0d2dad253755205f5b82ebb371c8c | 73ee941896043f9b3e2ab40028d24ddd202f695f | /external/chromium_org/content/renderer/gpu/input_handler_proxy.cc | 1f88e6278419d316e6f3872e392b5e0f14a207ab | [
"BSD-3-Clause"
] | permissive | CyFI-Lab-Public/RetroScope | d441ea28b33aceeb9888c330a54b033cd7d48b05 | 276b5b03d63f49235db74f2c501057abb9e79d89 | refs/heads/master | 2022-04-08T23:11:44.482107 | 2016-09-22T20:15:43 | 2016-09-22T20:15:43 | 58,890,600 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 16,078 | cc | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/renderer/gpu/input_handler_proxy.h"
#include "base/debug/trace_event.h"
#include "base/logging.h"
#include "base/metrics/histogram.... | [
"ProjectRetroScope@gmail.com"
] | ProjectRetroScope@gmail.com |
2a33776f19fd712835758d387bfa794ae6eae7b9 | 30105cdf24a8ee004eb461b52e73f36372072c84 | /modifikacije/2020 avgust/mod/queue.cpp | 05f7bf48ded2256fdff51801f6b3f82592e1f9ea | [] | no_license | botuljina/ProcessorKernel | 4136a1fd5390353b725b60dc8ee81ce046da65d4 | d48cfe28dfa2633cde08eb3b7a98c96046caa9c4 | refs/heads/master | 2022-12-29T19:35:45.958675 | 2020-10-03T15:55:04 | 2020-10-03T15:55:04 | 256,285,852 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,752 | cpp | #include "queue.h"
#include "Timer.h"
#include <iostream.h>
#include "sPrintf.h"
#include "Thread.h"
queue::queue()
{
#ifndef BCC_BLOCK_IGNORE
lock();
#endif
firstNode = 0;
lastNode = 0;
queueLen = 0;
#ifndef BCC_BLOCK_IGNORE
unlock();
#endif
}
int queue::isEmpty(){
if(firstNode == 0) return 1;
else return 0... | [
"lsimovic140@gmail.com"
] | lsimovic140@gmail.com |
92a3dff65a5c52dbd68ba8fdd4afe7e7faaab07a | 64e4fabf9b43b6b02b14b9df7e1751732b30ad38 | /src/chromium/gen/gen_combined/third_party/blink/public/mojom/frame/navigation_initiator.mojom-shared.cc | 9f4748f65a7b20a5d2402d04e1f6be3b049fa6ac | [
"BSD-3-Clause"
] | permissive | ivan-kits/skia-opengl-emscripten | 8a5ee0eab0214c84df3cd7eef37c8ba54acb045e | 79573e1ee794061bdcfd88cacdb75243eff5f6f0 | refs/heads/master | 2023-02-03T16:39:20.556706 | 2020-12-25T14:00:49 | 2020-12-25T14:00:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,679 | cc | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#if defined(_MSC_VER)
#pragma warning(push)
#pragma warning(disable:4065)
#endif
#include "third_party/blink/public/mojom/frame/navigation_initiator.mojo... | [
"trofimov_d_a@magnit.ru"
] | trofimov_d_a@magnit.ru |
adeff6bf8c16e9d1b83dbafc621b030bf0b61b8a | c50c96c7618122a2566322afa75c44eb25e67296 | /sudokuboard.cc | c1ee87112cdc3644c962a659a9ec778a389b7a15 | [] | no_license | easiruwa/Sudoku | 6be0c2cc14859b2e9b8d5c766e033382e89633de | 7fd071f66478250ead9c00fa29fb3c1c603f8de8 | refs/heads/master | 2021-01-13T13:18:09.400178 | 2016-11-02T16:33:29 | 2016-11-02T16:33:29 | 72,659,568 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,235 | cc | /************************************************************************
File: sudokuboard.cc
Author: Eseosa Asiruwa
Date: 2/21/16
Assignment: Lab 3
Implemenation of the sudokuboard class.
************************************************************************/
#include <iostream>
#include "sud... | [
"easiruwa@hamilton.edu"
] | easiruwa@hamilton.edu |
8ab12cfbb0447560230698d0f7a93bd730e7b4f3 | 22c300690f403c57297fb3d7a1e7a9bf820b85cf | /src/controls/QskScrollView.cpp | a61be872408339eb622c80cc1a8343b23338c446 | [
"BSD-3-Clause"
] | permissive | SammyEnigma/qskinny | 8cf88ae5a7be791f0745b4aba5e5338d94879f99 | db056e783754b7971d737a88ac86a7be97eea6d2 | refs/heads/master | 2023-08-24T23:16:53.923549 | 2023-04-11T12:56:39 | 2023-04-11T13:54:24 | 509,579,338 | 0 | 0 | BSD-3-Clause | 2023-09-14T06:48:12 | 2022-07-01T20:19:54 | C++ | UTF-8 | C++ | false | false | 8,069 | cpp | /******************************************************************************
* QSkinny - Copyright (C) 2016 Uwe Rathmann
* SPDX-License-Identifier: BSD-3-Clause
*****************************************************************************/
#include "QskScrollView.h"
#include "QskAnimationHint.h"
#inclu... | [
"Uwe.Rathmann@tigertal.de"
] | Uwe.Rathmann@tigertal.de |
5574c0b80e543a0068f7df92819476fb164dbc3e | 4b62cd73e5c255f2b1b0512421c510c011be2ec6 | /2019/roundB/Building_Palindromes.cpp | b7657c315a31b58975bd667cf74c8984d13123b7 | [] | no_license | dishankgoel/KickStart-Solutions | a48cce9421b3427c344eeabe51db5d0a4e9060aa | d51dd6265d44becd8eaa6c04e7db7d15bc35ab21 | refs/heads/master | 2023-07-30T07:25:19.830062 | 2021-09-11T18:57:18 | 2021-09-11T18:57:18 | 356,865,770 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,127 | cpp | #include<bits/stdc++.h>
#define ll long long
using namespace std;
ll test_case() {
ll n, q; cin>>n>>q;
string blocks; cin>>blocks;
vector<vector<int>> dp(n, vector<int>(26, 0));
for(int i = 0; i < n; i++) {
if(i == 0) {
dp[0][blocks[0] - 'A'] = 1;
} else {
dp[i]... | [
"dishankgoel1729@gmail.com"
] | dishankgoel1729@gmail.com |
07bcfb268e18813ae167b515e654eeff721bcc2d | 966a7bf92b7afb988c917d20483cd50b0d083cd7 | /main.cpp | 39cf35cfb3fd278cae25ba4cf6f7907cf3416ee9 | [] | no_license | anhpham197/Chim_bay_SDL2 | d456d5bbaa5c7ec22b86162e8acedf8b88c71c5f | 794317d1193021bcaba960b8adc377fdb712c2ed | refs/heads/master | 2022-07-03T14:39:05.308452 | 2020-05-13T17:24:34 | 2020-05-13T17:24:34 | 257,076,156 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,966 | cpp | #include "BaseObject.h"
#include "CommonFunction.h"
#include "character.h"
#include "GameMap.h"
#include "ImpTimer.h"
#include "TextObject.h"
#include "Enemy.h"
#include "Explosion.h"
#include <SDL.h>
#include <Windows.h>
BaseObject g_background;
TTF_Font* font_time; // tao doi tuong font
bool InitData()
{
... | [
"19021219@vnu.edu.vn"
] | 19021219@vnu.edu.vn |
12ee2a96480c917b164e73ddbb93b59fc0f59f1b | fab03e072dd5a48eb22b5b4eba58960ee1f2b7d1 | /src/irc.cpp | 71427caf57178aee70794a67e5d2690bec6a139e | [
"MIT"
] | permissive | erfan007p/litecoinstake-source | 8f3c825748b3648c7f35104a75fb7a445fc926a9 | ad1ed4df8b4754e3ae819e357413a88bd3fd8967 | refs/heads/master | 2021-05-16T04:52:06.996080 | 2017-10-08T23:52:14 | 2017-10-08T23:52:14 | 106,218,611 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,998 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// 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 "irc.h"
#include "net.h"
#include "strlcpy.h"
#include "base58.h"
using ... | [
"erfan007p@gmail.com"
] | erfan007p@gmail.com |
64b0960ad5cea0ad7b9876ae634a3c2daf7b9ceb | 2c62385f15b1f8e6072138d5175d7a70dd236b98 | /blazetest/src/mathtest/hybridmatrix/ClassTest.cpp | 175fee35beef88f5ce6ea7f8976784cfa6d7ef40 | [
"BSD-3-Clause"
] | permissive | lyxm/blaze | 665e4c6f6e1a717973d2d98e148c720030843266 | 10dbaa368790316b5e044cfe9b92f5534f60a2dc | refs/heads/master | 2021-01-12T20:31:45.197297 | 2015-10-15T21:39:17 | 2015-10-15T21:39:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 235,735 | cpp | //=================================================================================================
/*!
// \file src/mathtest/hybridmatrix/ClassTest.cpp
// \brief Source file for the HybridMatrix class test
//
// Copyright (C) 2013 Klaus Iglberger - All Rights Reserved
//
// This file is part of the Blaze library. ... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
c72546fa09fc13fa5e70eb7afdc73c46f638f37d | eb827d7993b146cf507b57a45e420fffdf641eef | /camps/lksh_winter2020/day4/src/gen.cpp | 6dc0a5e989f5d58dff95773318a1ef513f8ad282 | [] | no_license | khbminus/code2020 | dfdbcae71d61d03d4457aad47ff7d4136e6fcc1e | a0d2230b0905df79ba78cb98353f4ba03f16e8b0 | refs/heads/master | 2023-07-16T16:08:20.629283 | 2021-08-29T20:35:14 | 2021-08-29T20:35:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 313 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
mt19937 rnd(chrono::steady_clock::now().time_since_epoch().count());
int MAXN = 10;
int MAXC = 100;
int n = rnd() % MAXN + 1;
cout << n << '\n';
for (int i = 0; i < n; i++)
cout << rnd() % MAXC + 1 << " \n"[i + 1 == n];
} | [
"serega.haritontsev@gmail.com"
] | serega.haritontsev@gmail.com |
9f94354c7165ea26f21b8c1035a7db0eb819cc35 | 3b72c7a278e150117b075b8b79f57fe0c7035325 | /main.cpp | a9d814c322e8af98fced19d03992b132a18723cd | [] | no_license | matejanus/cpp_tetris | a332a63cd59fbaeda7067051fcd666f43f3d1f96 | fb89edd5eb0c7b5bcc4e57599f5d0b1ee382f1ff | refs/heads/master | 2020-12-14T15:27:35.119990 | 2020-01-20T21:51:23 | 2020-01-20T21:51:23 | 234,787,959 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,087 | cpp | #include <iostream>
#include "includes/tetermino.hpp"
#include <array>
#include <curses.h>
#include <chrono>
#include <thread>
#include <vector>
#include <memory>
#include <random>
#include <stdio.h>
using namespace std::chrono_literals;
// std::array<std::string, 7> tetromino;
const std::array<std::string, 7> tetro... | [
"mate.janus@gmail.com"
] | mate.janus@gmail.com |
9f78a7a7832c97c27d7501f0b7bb6b12c651343d | 53c537c1064d7856d7d638753238eadb1479c13f | /install/include/cwru_action/cwru_baxter_cart_moveActionGoal.h | bd87f95f18ae31aa604d7d6723aebd7b54d34dc5 | [] | no_license | dsb86/MobileRobotics | de8600b23a54cb3626a3a56f06a1fe766950a66e | 986771e1bcfba9bc601ed6324dc544ae28e40b54 | refs/heads/master | 2021-01-10T12:21:39.010769 | 2016-01-27T04:46:43 | 2016-01-27T04:46:43 | 50,472,772 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,422 | h | // Generated by gencpp from file cwru_action/cwru_baxter_cart_moveActionGoal.msg
// DO NOT EDIT!
#ifndef CWRU_ACTION_MESSAGE_CWRU_BAXTER_CART_MOVEACTIONGOAL_H
#define CWRU_ACTION_MESSAGE_CWRU_BAXTER_CART_MOVEACTIONGOAL_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serial... | [
"dsb86@case.edu"
] | dsb86@case.edu |
f78f14640114face0fbef0b8b36c2e815e9635ec | 07c7953dbbf05a46cd260c96a515276915c1e493 | /C++实现数据结构查找和排序/main.cpp | 110070ab08bfd2760232ffe277944191cc38eeaa | [] | no_license | MasterLeen/cpp- | 9e421f40bcaf407f793c18a4408b9edb8dc7ddd4 | 22a8f6c1688903c36c3eda533fe57b9ece22ccc9 | refs/heads/master | 2020-03-24T20:58:32.164225 | 2019-10-07T05:47:19 | 2019-10-07T05:47:19 | 143,006,802 | 1 | 0 | null | 2019-10-07T05:47:20 | 2018-07-31T11:44:37 | C++ | GB18030 | C++ | false | false | 6,870 | cpp | #include <iostream>
#include <vector>
#include <map>
#include <string.h>
#include <algorithm>
#include <sstream>//stringstream must include the header
using namespace std;
void SeqFind(const int& tmp);
void BinarySearch(const int& tmp);
void LinerExploration(int & num,char *cp);
void SearchStu(const int &num);
int Hash... | [
"1763946255@qq.com"
] | 1763946255@qq.com |
eb5219ac375fcf1a41a0b153db1b6f5be7f8925b | 401bfbcc3cdd53b0f646ce61e1c3ecc81fff9a50 | /src/cpp/record/Region.h | 733c818d2e5b9507c318621a5b9753c01d068b19 | [] | no_license | TU-Berlin-DIMA/tpch-gen | 807d41c6b40c0d265b31a7a95c0d0f97094ed1b9 | 736d88323e12871025aa3a3f4966b995d683c7d9 | refs/heads/master | 2016-09-05T17:39:23.546219 | 2014-09-10T13:14:21 | 2014-09-10T13:14:21 | 13,740,341 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 894 | h | #ifndef REGION_H_
#define REGION_H_
#include "record/base/BaseRegion.h"
namespace TPCHGen {
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
// record type
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
class Region: public BaseRegion
{
public:
... | [
"alexander.s.alexandrov@gmail.com"
] | alexander.s.alexandrov@gmail.com |
0b4d76ad7c57c7ce3ad081dba47b17d093c9d76d | 8e63e4fd669ced86bf07b20be364da5a06bce70d | /SPOJ/BYTESE2 - The Great Ball.cpp | 573575c43f2ef46363f334fdb9e5c33b779d214d | [] | no_license | AliOsm/CompetitiveProgramming | 00a1e75a2635532651fcdfb0e478c009adf84032 | af25b7f806e9c22a2176bfd05a1406ce5f1492c3 | refs/heads/master | 2023-03-07T01:17:25.555911 | 2023-02-10T09:09:17 | 2023-02-10T09:09:17 | 70,904,119 | 125 | 58 | null | 2021-02-27T13:13:18 | 2016-10-14T11:29:55 | C++ | UTF-8 | C++ | false | false | 1,372 | cpp | #include <stdio.h>
#include <set>
#include <algorithm>
#include <memory.h>
using namespace std;
int const N = 1000;
int n, seg[4 * N], lazy[4 * N];
pair<int, int> a[N];
set<int> st;
int s, e;
void pro(int idx, int l, int r) {
seg[idx] += lazy[idx];
if(l != r)
lazy[idx << 1] += lazy[idx],
lazy[(idx << 1) + 1] ... | [
"aliosm1997@gmail.com"
] | aliosm1997@gmail.com |
0ff77464b00abb9eeb83c0fd73e0804499b81841 | eee0588d6c92b1bc093716ac84969a47a8159e38 | /Cluiche/DiaGraphicWithUITest/SimThreadStruct.h | 0715e67ac15aed0c9b88a8e41b1e3ef8f990a874 | [] | no_license | LenihanConor/Cluiche | bf919ef721d901ba2a23646e70444803e0fe5781 | 1b65c5861a2354a81fbf1ed63fb0e7620b635d0d | refs/heads/master | 2023-06-28T19:45:52.811023 | 2023-06-20T18:20:58 | 2023-06-20T18:20:58 | 37,433,420 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 868 | h | #pragma once
#include <DiaCore/Timer/TimeThreadLimiter.h>
#include <DiaCore/Time/TimeServer.h>
#include <DiaCore/Frame/FrameStream.h>
#include <DiaInput/EventData.h>
#include <DiaGraphics/Frame/FrameData.h>
#include <DiaUI/IUISystem.h>
struct SimThreadStruct
{
public:
SimThreadStruct(bool& running,
Dia::UI::I... | [
"lenihan.conor@gmail.com"
] | lenihan.conor@gmail.com |
db89dc51f0129523e6f957678435931d62145b89 | 7b103608fd1715d15077763ed82b4f78e7aa3dab | /Introductory Problems/03_Repetitions.cpp | 8528401f418fe32ccf41907f7a448a31ed9102d9 | [] | no_license | ameya-shahu/CSES-Problem-Set | b9f352950d6febb921587acc0556599f13eb6b60 | 2be2bc4d9e48bf91bfd543996f1c579de9ff9cb4 | refs/heads/master | 2022-09-18T08:32:33.413929 | 2020-06-01T16:22:34 | 2020-06-01T16:22:34 | 268,145,220 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 945 | cpp | #include<bits/stdc++.h>
#define REP(i,n) for (int i = 1; i <= n; i++)
#define RREP(i,a,b) for (int i = a;i<b;i++)
#define mod 1000000007
#define pb push_back
#define mp make_pair
#define ff first
#define ss second
#define ii pair<int,int>
#define vi vector<int>
#define vii vector<ii>
#define lli long long int
#define I... | [
"ameyashahu@gmail.com"
] | ameyashahu@gmail.com |
69f928294b8db87e4c9c139740e2bb032a4bc4cb | 082f6678d50622d95e5253edb3564f52b6e81481 | /include/vsmc/gcd/dispatch_source.hpp | 471c75237aad6452f7bd38794ca23d7ae17f68e9 | [
"BSD-2-Clause"
] | permissive | Soledad89/vSMC | e78dc93dba7789190745636a1e913db579fb0816 | b00886f8d0cee0687fea8fee05f37fb2a5bab1d8 | refs/heads/master | 2021-01-24T21:18:56.700290 | 2015-05-28T08:42:54 | 2015-05-28T08:42:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,697 | hpp | //============================================================================
// vSMC/include/vsmc/gcd/dispatch_source.hpp
//----------------------------------------------------------------------------
// vSMC: Scalable Monte Carlo
//-------------------------------------------------------------... | [
"zhouyan@me.com"
] | zhouyan@me.com |
fc25b35580685e5875ded9c4455970437a4f1626 | d3d5089fa5c1ba5dea70d1f0de14d4d094b67e68 | /devel_isolated/controller_manager_msgs/include/controller_manager_msgs/ListControllerTypesResponse.h | 21dfb2a0cda9d9036fefabf5af3bdf73c362db27 | [] | no_license | akingse/ros_package_ws | d5408451e2fafd3314d53994b94585f95f2612c7 | 1d1ad9e9aecc90fa9335f29a802dc342a2a96612 | refs/heads/main | 2023-03-04T20:41:57.232496 | 2021-02-08T14:17:26 | 2021-02-08T14:17:26 | 337,102,292 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,122 | h | // Generated by gencpp from file controller_manager_msgs/ListControllerTypesResponse.msg
// DO NOT EDIT!
#ifndef CONTROLLER_MANAGER_MSGS_MESSAGE_LISTCONTROLLERTYPESRESPONSE_H
#define CONTROLLER_MANAGER_MSGS_MESSAGE_LISTCONTROLLERTYPESRESPONSE_H
#include <string>
#include <vector>
#include <map>
#include <ros/types... | [
"akingse@qq.com"
] | akingse@qq.com |
d182a664e531d0a74a989a4e3c19fdee8b40850e | c969008ffeb3e4c6e21cd2cb86dd46b60b81840a | /Code/用0~2个的1,2,4,8,16合出N.cpp | 0aaf823468999d0fe1b07d657fa3366282f13bca | [] | no_license | Crasader/Code_GSL | 6b7ddd27b47133b5a1e5f5eade8ca61275deac00 | dcd5ef0a204b7dc6b8c58939fb52a515b5689be8 | refs/heads/master | 2022-02-13T17:05:07.682256 | 2019-09-09T08:21:17 | 2019-09-09T08:21:17 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,106 | cpp | // ConsoleApplication1.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include<iostream>
#include<math.h>
#include<time.h>
#include<set>
using namespace std;
int nums[63];//num[i]表示2^i的个数,只有0,1,2三个取值
//回溯法
int IsOk(long long n, int *nums, int len)
{
long long sum = 0;
for (int i = 0; i < len; i++)
sum += nums[i]... | [
"153274152@qq.com"
] | 153274152@qq.com |
5d2e0ab7b8f7ef361cbbea0578ac48d7b10c1497 | d558f13a3e9c15e51e8aeff3cdbcbbd99df7166f | /C++/powcarettranslator/caretPow.cpp | 94689a941a661d62916716fc9898735fa9433e30 | [] | no_license | mehstruslehpy/Documents | 3b52dc2b9506746b88eccb2afa2d591f4572b7a5 | b40fa6d6944d6bf21ce99de6fbfd9b19f98bd763 | refs/heads/master | 2020-04-15T14:03:11.555203 | 2019-01-01T04:03:27 | 2019-01-01T04:03:27 | 58,814,859 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,273 | cpp | #include <iostream>
#include <strings.h>
#include <regex>
#include <boost/algorithm/string/replace.hpp>
#define NOT_FOUND string::npos ///the find method returns this if not found
using namespace std;
int caretPow(string inLine, int offsets[])
{
//string inLine; //input string
regex singleCaret (".*(\^).*"); ... | [
"williamvanskike@gmail.com"
] | williamvanskike@gmail.com |
eb8d8915b88c49fd4917043c464b384d040a6954 | 9b2938d4ea17d29569ff5b4d2b0ed66783cddee9 | /d-pong/paddle.h | b603b3631f735e637c4a61ec384f4285fe5701ed | [] | no_license | dmateos/scratch | 87f8b6988630fb75655e2dda2d3e2e2f3df2d5a3 | 5d0092877527039bc70bcbd5e0671e5cb421f037 | refs/heads/master | 2021-01-16T18:29:33.304457 | 2016-01-27T15:04:37 | 2016-01-27T15:04:37 | 273,304 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 121 | h | #ifndef _PADDLE_H_
#define _PADDLE_H_
class Paddle {
public:
Paddle();
~Paddle();
private:
int x, y;
};
#endif
| [
"daniel@mateos.cc"
] | daniel@mateos.cc |
92ab0e93b9978b2de344b853d96cf062ea9a1d26 | ae1c6ad39b94b34b2312e7cc599321616016d767 | /HighlightTextEditor/jni/highlight/cli/cmdlineoptions.h | 3cd5679d872ab06db66c1f5a13814bebb1d49efb | [] | no_license | vbea/AideProjects | cd4481943229fd585841863bd7f66f98543e54d9 | 0d6dfc4bb1e8aea7b60483b0cbc23190f8e0f26d | refs/heads/master | 2023-01-30T09:11:11.278783 | 2023-01-14T10:28:47 | 2023-01-14T10:28:47 | 200,463,935 | 24 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 14,153 | h | /***************************************************************************
cmdlineoptions.h - description
-------------------
begin : Sun Nov 25 2001
copyright : (C) 2001-2010 by Andre Simon
email : andre.sim... | [
"vbea@foxmail.com"
] | vbea@foxmail.com |
494133e0120091ea2b466a480fa9282b16da98dd | 0f2e24348a278522127df89124f3e9fde44fc536 | /lapotop.cpp | 5da62c822949578d8f05b13784b7ac53a888b1dc | [] | no_license | Jstrykow/projectC- | 7a07ca75af10fc2dd34af219020ed8e6390e86d9 | 5d4076a4ddf56e0047be2e3b4f777810f32018c6 | refs/heads/master | 2021-02-09T19:44:33.362619 | 2020-03-02T08:26:28 | 2020-03-02T08:26:28 | 244,319,328 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,212 | cpp | #include <iostream>
#include "laptop.h"
#include "antywirus.h"
#include <string>
#include <cstdlib>
#include <fstream>
std::string Laptop::getmodel()
{
return model;
}
void Laptop::setmodel(std::string model1)
{
model = model1;
}
std::string Laptop::typ()
{
return "L";
}
void Laptop::zapisz_komputer(std::str... | [
"jakub@strykowski.eu"
] | jakub@strykowski.eu |
afe93c072eaf722a4b07b4debc5367e0a758dfa8 | 534e2e3d8d8bebd2366c0fee60886d84597ee0ef | /CF/CF 949B.cpp | 2a316bb8d0abb2539d54ac1d8e29b3ebd9a1f019 | [] | no_license | coldEr66/online-judge | a8844d3f35755adafd4f43a1f08ce56b6b870601 | e85ec0750d92dd00133c93284085a0f5d8a11d36 | refs/heads/master | 2021-09-07T01:58:10.634492 | 2021-07-28T16:31:13 | 2021-07-28T16:31:13 | 128,494,315 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,181 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef double lf;
typedef pair<ll,ll> ii;
#define REP(i,n) for(int i=0;i<n;i++)
#define REP1(i,n) for(ll i=1;i<=n;i++)
#define RST(i,n) memset(i,n,sizeof i)
#define SZ(a) (int)a.size()
#define ALL(a) a.begin(),a.end()
#define F first
#defin... | [
"seal1000402@gmail.com"
] | seal1000402@gmail.com |
465b3613f8637344b2a8715e6ab6a8e7da97fd31 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.h | 71100e714257defbb6e92579353acce70e909674 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"GPL-1.0-or-later",
"MIT",
"LGPL-2.0-or-later",
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 1,343 | h | // Copyright 2020 The Abseil Authors.
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
ce26026512813125ded1f93bde9cab6b036083f5 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/squid/gumtree/squid_repos_function_4480_squid-3.3.14.cpp | 66b690bf0a8059661a9e7cf726a15f370f23b1e3 | [] | 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 | 484 | cpp | void
DestinationDomainLookup::LookupDone(const char *fqdn, const DnsLookupDetails &details, void *data)
{
ACLFilledChecklist *checklist = Filled((ACLChecklist*)data);
assert (checklist->asyncState() == DestinationDomainLookup::Instance());
checklist->asyncInProgress(false);
checklist->changeState (ACLC... | [
"993273596@qq.com"
] | 993273596@qq.com |
f69d926dfaaa7ab744d962c75858c2353f063356 | 722732c3c575070f04d69896e094584b2e1c6b85 | /BulletHellMaker/src/Editor/EMP/EditorMovablePointPanel.cpp | 7442fd55cb929afb308b1c457a8785bd2b593c1d | [] | no_license | Miv99/BulletHellMaker | 6c702bf01bbc3f31f3ef0fe9482b760bebbf1101 | 6ad7fafab763bd2241e5e669c95c53f60fe182b5 | refs/heads/master | 2021-11-29T18:41:40.026183 | 2021-11-14T21:36:47 | 2021-11-14T21:36:47 | 175,186,909 | 3 | 1 | null | 2020-08-20T03:44:00 | 2019-03-12T10:24:32 | C++ | UTF-8 | C++ | false | false | 74,502 | cpp | #include <Editor/EMP/EditorMovablePointPanel.h>
#include <Mutex.h>
#include <Config.h>
#include <GuiConfig.h>
#include <Util/StringUtils.h>
#include <Editor/Util/EditorUtils.h>
#include <Editor/EMPA/EditorMovablePointActionPanel.h>
const std::string EditorMovablePointPanel::PROPERTIES_TAB_NAME = "MP Properties";
cons... | [
"treecam42@gmail.com"
] | treecam42@gmail.com |
011193a50bfddee09b20f199e5a5035ff28b4e8b | 6fa8376cc78f1586b7df3b4e3037daeab4828e3f | /test/TestCore/TestDifferentiability.cpp | ecc8c5b0cecd804285b014a5a538e44ce4b3877f | [
"MIT"
] | permissive | alexweav/BackpropFramework | 99db0feb870698436d3cd1c7f06a6a2f60de46fe | 2de396628180db1e6535037663497f9814e83039 | refs/heads/master | 2021-01-01T17:38:53.431150 | 2018-06-04T00:53:57 | 2018-06-04T00:53:57 | 98,120,105 | 1 | 0 | MIT | 2018-06-04T00:53:58 | 2017-07-23T19:21:50 | C++ | UTF-8 | C++ | false | false | 981 | cpp | #include "TestCore.h"
TEST_F(DifferentiabilityTest, LeafNodesHaveDifferentiableTree) {
EXPECT_TRUE(cons1->HasDifferentiableTree());
EXPECT_TRUE(cons2->HasDifferentiableTree());
}
TEST_F(DifferentiabilityTest, ConstantChannelDifferentiable) {
EXPECT_TRUE(cons1->Channels(0).IsDifferentiableFunctor());
E... | [
"alexander.weaver@ttu.edu"
] | alexander.weaver@ttu.edu |
5ca95d7382764e50294cb4ae92a8aa804a1289e4 | fd7416b2cecddc2b5d531c399f2265fa57d6ab4b | /libraries/trainers/optimization/tcc/MatrixSolution.tcc | c99d0e4d356bac23c925964af7fa659c580f4b58 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | yaokeepmoving/ELL | 0bb45c04eab0773e09eee8504ea2e36baa291ee6 | 993d5370f0f7a274e8dfd8f43220c792be46f314 | refs/heads/master | 2020-04-04T14:31:37.444718 | 2018-10-25T19:03:36 | 2018-10-25T19:03:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,532 | tcc | ////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Project: Embedded Learning Library (ELL)
// File: MatrixSolution.tcc (optimization)
// Authors: Ofer Dekel
//
//////////////////////////////////////////////////////////////////////////////////////////////... | [
"oferd@microsoft.com"
] | oferd@microsoft.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.