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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8a2001dc670f8348a6b6fe443a8f18aabb9069eb | ffa9bada806a6330cfe6d2ab3d7decfc05626d10 | /CodeForces/CF1504/A.cpp | 0df445ac1470a059113b89a3950640879f51d4d2 | [
"MIT"
] | permissive | James3039/OhMyCodes | 064ef03d98384fd8d57c7d64ed662f51218ed08e | f25d7a5e7438afb856035cf758ab43812d5bb600 | refs/heads/master | 2023-07-15T15:52:45.419938 | 2021-08-28T03:37:27 | 2021-08-28T03:37:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 824 | cpp | #include <cstdio>
#include <iostream>
#include <cstring>
const int Max=3e5+5;
char s[Max];
bool flag;
int t, length;
void print(int);
int main(){
// freopen("data.in", "r", stdin);
scanf("%d", &t);
for(int cnum=0; cnum<t; cnum++){
scanf("%s", s);
flag=false;
length=strlen(s);
for(int i=0, j=length-1; i<j; ... | [
"1816750728@qq.com"
] | 1816750728@qq.com |
1bb20dcf55de51edc0632f7053f57a32ffb2acba | be91c8c7034dad2d79ae05a9baa970d13b521149 | /1018.binary-prefix-divisible-by-5.cpp | 23efc5630625c194b9f9cc06d59f8c9696ad18ad | [] | no_license | miaodi/leetcode_practice | 83ef8faec24c3a88c267498303264664cfe8789d | bd3cac5187b99875d3d0a971b2c13b8cfc7bf25c | refs/heads/master | 2020-04-24T17:55:32.404699 | 2019-09-14T17:35:38 | 2019-09-14T17:35:38 | 172,163,177 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,555 | cpp | /*
* @lc app=leetcode id=1018 lang=cpp
*
* [1018] Binary Prefix Divisible By 5
*
* https://leetcode.com/problems/binary-prefix-divisible-by-5/description/
*
* algorithms
* Easy (43.89%)
* Total Accepted: 5.4K
* Total Submissions: 12.2K
* Testcase Example: '[0,1,1]'
*
* Given an array A of 0s and 1s, co... | [
"miaodi1987@gmail.com"
] | miaodi1987@gmail.com |
e2e6209d7c6307c4780abbc75fa8a3d80b379972 | d80fd3a98114f5b0a260e558768d1188a96ee85a | /src/rpcblockchain.cpp | e34f4bf53b9d798563035384f700ea0c9692f9d2 | [
"MIT"
] | permissive | gkcproject/gkccash_core | 9c599c5377683b25d9974d8c0f8983ce820676ab | 1bec1d5dd91fde93276f2ddb2cc63b93f02ba3e9 | refs/heads/master | 2023-06-16T01:10:42.286710 | 2021-06-28T09:49:04 | 2021-06-28T09:49:04 | 257,286,295 | 67 | 17 | MIT | 2021-01-04T01:39:57 | 2020-04-20T13:16:14 | C++ | UTF-8 | C++ | false | false | 107,663 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php... | [
"gkcproject@hotmail.com"
] | gkcproject@hotmail.com |
ad6445721e232339a226acb1760589b09bb85723 | 8f794474974201d465308793f12a84bf8aa6cd07 | /Laba6/C.cpp | 23cc4501f0120c9224d5d71d2d1dc02238b504a9 | [] | no_license | ilyaShevchuk/-Algorithms-and-data-structures | 17731300c639268a50392236028eeacc598caf39 | 2eea40624f6d904d1c70e2d3babd7ae1ac902327 | refs/heads/main | 2023-02-18T06:26:46.916188 | 2021-01-21T12:33:47 | 2021-01-21T12:33:47 | 331,571,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,464 | cpp | #include <iostream>
#include <fstream>
#include <vector>
#include <string>
using namespace std;
class Tree {
public:
struct Node {
int value;
Node *left = nullptr;
Node *right = nullptr;
Node(int value) : value{value}, left{nullptr}, right{nullptr} {}
};
Node *root = null... | [
"noreply@github.com"
] | ilyaShevchuk.noreply@github.com |
59fc14d46b64b4bb818a2500dbf1529c78d9251c | 8af716c46074aabf43d6c8856015d8e44e863576 | /src/clientversion.h | f1ff7bd1e9d1560a1a90dbe23b53e37b60a4b7e8 | [
"MIT"
] | permissive | coinwebfactory/acrecore | 089bc945becd76fee47429c20be444d7b2460f34 | cba71d56d2a3036be506a982f23661e9de33b03b | refs/heads/master | 2020-03-23T06:44:27.396884 | 2018-07-17T03:32:27 | 2018-07-17T03:32:27 | 141,226,622 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,216 | h | // Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2017 The Acre developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_CLIENTVERSION_H
#define BITCOIN_CLIENTVERSION_H
#if defined(HAVE_CONFIG... | [
"root@vultr.guest"
] | root@vultr.guest |
30d542c7ffeb6c2e447b4858039be2fe4e465190 | 8f11b828a75180161963f082a772e410ad1d95c6 | /tools/vision_tool_v2/src/Frame.cpp | cc6f259b0fd69c6a99ed82999d5924100f6d421e | [] | no_license | venkatarajasekhar/tortuga | c0d61703d90a6f4e84d57f6750c01786ad21d214 | f6336fb4d58b11ddfda62ce114097703340e9abd | refs/heads/master | 2020-12-25T23:57:25.036347 | 2017-02-17T05:01:47 | 2017-02-17T05:01:47 | 43,284,285 | 0 | 0 | null | 2017-02-17T05:01:48 | 2015-09-28T06:39:21 | C++ | UTF-8 | C++ | false | false | 14,173 | cpp | /*
* Copyright (C) 2008 Robotics at Maryland
* Copyright (C) 2008 Joseph Lisee <jlisee@umd.edu>
* All rights reserved.
*
* Author: Joseph Lisee <jlisee@umd.edu>
* File: tools/vision_tool/src/App.cpp
*/
// STD Includes
#include <iostream>
// Library Includes
#include <wx/frame.h>
#include <wx/menu.h>
#include ... | [
"jwonders88@gmail.com"
] | jwonders88@gmail.com |
80971fcfe1d80c6bb8f631ad5661f806c7db278f | d17b8bd573cd1a1bbccf8f8392742925e4b4275a | /HelloGL/HelloGL/GLUTCallbacks.cpp | ad678ee8a43773e38333d45982d682c1bbe3f80f | [] | no_license | AdamMilbourne/uniWork | 192249736cc1d8ea9426941175c224739fc80ed7 | 7ba1cc2abf99e161a581f0a39b5f91c3ad0e4ef0 | refs/heads/main | 2023-04-07T06:03:13.303680 | 2021-04-21T07:35:32 | 2021-04-21T07:35:32 | 300,587,886 | 1 | 0 | null | 2020-10-02T11:29:57 | 2020-10-02T11:05:14 | null | UTF-8 | C++ | false | false | 794 | cpp | #include "GLUTCallbacks.h"
#include "HelloGL.h"
//namespace implementation
namespace GLUTCallbacks
{
namespace
{
//initialise to a null pointer before we do anything
HelloGL* helloGL = nullptr;
}
void Init(HelloGL* gl)
{
helloGL = gl;
}
void Display()
{
if (helloGL != nullptr)
{
helloGL->Disp... | [
"milbourneadam@yahoo.com"
] | milbourneadam@yahoo.com |
8ffb24dbdb4cb58b9a92fc4eb4b422048a65d260 | 34cc683b455c9d5569367d1bd7fccb26ab46f7b9 | /RnD_Boost Projects/TCP_SYNC/RnD_Boost_TCP_sync/RnD_Boost_TCP_Sync_Server_Iterative/main_tcp_server_iterative.cpp | ca80e77c25983d23a91a70b46017f8b92cf71ae0 | [] | no_license | idhpaul/MyResearchProject | a178259c3f5671a64e04860108a7a6be01097d16 | a00a707b70cb80856715e167f517566e738d8ac5 | refs/heads/master | 2021-08-08T06:30:04.582719 | 2021-08-02T06:46:38 | 2021-08-02T06:46:38 | 168,827,440 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,086 | cpp | #include <boost/asio.hpp>
#include <thread>
#include <atomic>
#include <memory>
#include <iostream>
using namespace boost;
class Service {
public:
Service() {}
void HandleClient(asio::ip::tcp::socket& sock) {
try {
asio::streambuf request;
asio::read_until(sock, request, '\n');
// Emulate request proc... | [
"idhpaul@naver.com"
] | idhpaul@naver.com |
ab2fb4eada23317251ada60700e3ea487846ebfc | 8d8b618bed48595e2475cfef3ddc502810024026 | /Divide_and_Conquer/Median_Of_Two_Sorted_Arrays.cpp | 4ea78b29602d9f08ae9c4300fc9fbc43748976bf | [
"MIT"
] | permissive | AABHINAAV/InterviewPrep | acef002b69be61ca1ff0858559f1b4bd24ce2203 | 22a7574206ddc63eba89517f7b68a3d2f4d467f5 | refs/heads/master | 2022-01-09T20:06:41.828170 | 2019-05-21T09:33:52 | 2019-05-21T09:33:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,469 | cpp | //given two sorted arrays of same size.Find the median if the two arrays are merged
//Time Complexity: O(logn)
#include<iostream>
#include<vector>
using namespace std;
//finds the median of two sorted arrays
/*
if the m1 is the median of array1 and m2 is the median of array2 then :
if m1 > m2:
it means all element... | [
"susanta18@outlook.com"
] | susanta18@outlook.com |
80359bc7541e65a913169148ffd8956f2872f0d1 | 07c72bdda0319c841bfaca0ae4324c4cfefd7999 | /Xavier_commit/hls/main_module/solution1/.autopilot/db/comparateur.scpp.1.cpp.line_post.CXX | 5ba2a990de14ef92acfcaaaff9873099261f23d4 | [] | no_license | cdumonde/Projet_avance_SE | 17ed1a3f149120d467b4af355f96b03658823c61 | a56c923f26de15d5aa9b38251141a4beb51b0f25 | refs/heads/master | 2021-09-12T23:23:44.117708 | 2018-01-31T11:32:36 | 2018-01-31T11:32:36 | 107,664,786 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 146,127 | cxx | #pragma line 1 "src/modules/comparateur.cpp" ::: 0
#pragma line 1 "src/modules/comparateur.cpp" 1 ::: 1
#pragma line 1 "<built-in>" 1 ::: 2
#pragma line 1 "<built-in>" 3 ::: 3
#pragma line 152 "<built-in>" 3 ::: 4
#pragma line 1 "<command line>" 1 ::: 5
#pragma line 1 "C:/Xilinx/Vivado/2017.3/common/technology/au... | [
"Xavier@MacBook-Pro-de-xavier.local"
] | Xavier@MacBook-Pro-de-xavier.local |
fbccddd1147eb867839cf74eea39f5c4e706931c | c23b42b301b365f6c074dd71fdb6cd63a7944a54 | /contest/Daejeon/2016/j.cpp | 54789fda15e7c65d6476b7b3fef4159870b6dc3b | [] | no_license | NTUwanderer/PECaveros | 6c3b8a44b43f6b72a182f83ff0eb908c2e944841 | 8d068ea05ee96f54ee92dffa7426d3619b21c0bd | refs/heads/master | 2020-03-27T22:15:49.847016 | 2019-01-04T14:20:25 | 2019-01-04T14:20:25 | 147,217,616 | 1 | 0 | null | 2018-09-03T14:40:49 | 2018-09-03T14:40:49 | null | UTF-8 | C++ | false | false | 569 | cpp | #pragma GCC optimize("O3")
#include <bits/stdc++.h>
using namespace std;
#define N 505050
typedef long long LL;
int n , t[ N ];
LL x[ N ] , y[ N ];
bool solve(){
vector< pair<LL,LL> > v;
for( int i = 0 ; i < n ; i ++ )
v.push_back( { { x[ i ] , y[ i ] } , t[ i ] } );
if( v[ 0 ].second != 1 ) return false;
i... | [
"c.c.hsu01@gmail.com"
] | c.c.hsu01@gmail.com |
6402a49e6184d15d57a69702bf567963d9ca18a1 | 04331306d6769224dedf8ea7ec54b2026f765bde | /include/VolleyBallPlayer.hpp | 01945716edd9bd190134f674fff93fbf189d4461 | [] | no_license | steciuk/PROI_2-sports-club | f1c991609fbe4c35d267d79f733d8df6751c9a64 | ed20db6a1e57e47e907b751b6ba8f3df92a540f6 | refs/heads/master | 2023-03-17T14:25:53.809544 | 2021-03-11T15:07:57 | 2021-03-11T15:07:57 | 186,284,985 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 629 | hpp | #ifndef VOLLEYBALLPLAYER_HPP
#define VOLLEYBALLPLAYER_HPP
#include <iostream>
#include <string>
#include "../include/Player.hpp"
#include "../include/SpecyficPlayer.hpp"
class VolleyBallPlayer : public Player, public SpecyficPlayer
{
private:
std::string position;
int height;
public:
V... | [
"steciuk77@gmail.com"
] | steciuk77@gmail.com |
2d6a57562d217e04b1ea159ba6b85355d402ac1d | 5829edf0fadec5b79878f87db05b6222806106d6 | /src/math/filter/LeastSquareFilter.cpp | 934f3f28fcc449fc19c6a9b9e7141f85c9da6c67 | [] | no_license | Hadjubuntu/breeze-bb | 3636aa334b630bfa63be81f88e08036366ce6cca | b4a271baad0ccf76c527662cb572dab741bf7965 | refs/heads/master | 2021-04-18T23:14:01.022777 | 2017-04-14T07:06:50 | 2017-04-14T07:06:50 | 56,091,357 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,251 | cpp | /**
* breeze-arm
* LeastSquare.cpp
* ----------------------------
*
* ----------------------------
* Created on: Jan 22, 2016
* Author: Adrien HADJ-SALAH
*/
#include <stdio.h>
#include "LeastSquareFilter.h"
LeastSquareFilter::LeastSquareFilter()
{
// Default constructor
}
void LeastSquareFilter::gen... | [
"adrien.hadj.salah@gmail.com"
] | adrien.hadj.salah@gmail.com |
094600ab726d994ac5f2c411df5f40cbd7b0d9f3 | 87fbbc3f396a8216653db5c50f0564e5ada7d824 | /geos_test/collection/flowcollection.cpp | 3a90189c2850b94cdfcc6f90c6f98ed6639ffa5a | [] | no_license | Jzjsnow/geos_test | 5b0ac24c591bb2f3cf9bb34c2c59024d98b3194a | c2346ef167a8f7b23f0f22b508926a8b1dc128b1 | refs/heads/master | 2020-08-29T05:20:12.973700 | 2019-10-28T01:13:24 | 2019-10-28T01:13:24 | 217,940,979 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 944 | cpp | #include "flowcollection.h"
//#include "gdal_priv.h"
flowcollection::flowcollection(string filename, bool with_headers, string delimeter)
{
string templine;
ifstream ifs(filename);
vector<flowdata> tempflows;
while (getline(ifs, templine))
{
if (with_headers)
{
with_headers = 0;
continue;
}
try ... | [
"5797454@qq.com"
] | 5797454@qq.com |
819dfb692e4e213899f1931e24defd101b8cedcc | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.h | 1f90b50139aa782be05d69c69099f9434b02c376 | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0"
] | 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 | 9,280 | h | /*
* Copyright (C) 2010 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:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condit... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
eb03dce869fc07e5aa7ace5ab6b9f6d7525fb1ed | de7e771699065ec21a340ada1060a3cf0bec3091 | /spatial3d/src/test/org/apache/lucene/spatial3d/geom/GeoPathTest.cpp | 463e1d3a2f7868289d1cacc6381b4cfed2582adb | [] | no_license | sraihan73/Lucene- | 0d7290bacba05c33b8d5762e0a2a30c1ec8cf110 | 1fe2b48428dcbd1feb3e10202ec991a5ca0d54f3 | refs/heads/master | 2020-03-31T07:23:46.505891 | 2018-12-08T14:57:54 | 2018-12-08T14:57:54 | 152,020,180 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,729 | cpp | using namespace std;
#include "GeoPathTest.h"
namespace org::apache::lucene::spatial3d::geom
{
using org::junit::Test;
// import static org.apache.lucene.util.SloppyMath.toRadians;
// import static org.junit.Assert.assertEquals;
// import static org.junit.Assert.assertFalse;
// import static org.junit.Ass... | [
"smamunr@fedora.localdomain"
] | smamunr@fedora.localdomain |
65fd36b920e1bbc9614b4e18177de0d24ca093e4 | b1366db929b24e9a2af5341c6ed6150985d8fe3b | /fe5226/main.cpp | d5011e0aadfbc7d1176f6d7d715b0edf7d7a39c7 | [] | no_license | WhispeRre/fe5226 | c1e31f417ac6aa6ea8b628d1e788c217bea42fbf | ebfcc43584911a1af4cc06a04f78adb949c145b5 | refs/heads/master | 2023-07-29T05:31:52.385499 | 2019-10-26T03:59:22 | 2019-10-26T03:59:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,894 | cpp | //
// main.cpp
// fe5226
//
// Created by Xiaoman Li on 12/10/19.
// Copyright © 2019 Xiaoman Li. All rights reserved.
//
#define _USE_MATH_DEFINES // cause import of some macros like M_PI
#include <stdio.h>
#include <iomanip> // needed to format the output
#include <iostream>
#include <cmath>
#include <cstring>
... | [
"xiaomanli@Xiaomans-MacBook-Pro.local"
] | xiaomanli@Xiaomans-MacBook-Pro.local |
ba2cf19bc8e4292bdb79ae2ed9ca475b0fff9d96 | 3fb39751cdf6bb5c5229c4408cda110e2ae547c1 | /src/TextEditor.cpp | 55cc8196fce9bea5767259e849a7bdef0e705c10 | [] | no_license | josephzizys/CM | 7308704f9d33f81938f7aeff31b64fb3d217db24 | 8f8e9a0550e76debfc47fb0f90772a05ca06805b | refs/heads/master | 2020-05-20T11:40:06.824661 | 2011-06-15T11:47:29 | 2011-06-15T11:47:29 | 2,552,460 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 48,128 | cpp | /*=======================================================================*
Copyright (c) 2008 Rick Taube.
This program is free software; you can redistribute it and/or modify
it under the terms of the Lisp Lesser Gnu Public License. The text
of this agreement is available... | [
"taube@d60aafaf-7936-0410-ba4d-d307febf7868"
] | taube@d60aafaf-7936-0410-ba4d-d307febf7868 |
2f55244486993570053149f726cba7e8b99054dd | 694e271cd908fac8509418ddf69529e8de2fff52 | /Temp/il2cppOutput/il2cppOutput/Generics17.cpp | e0d612344967a97e9a77b1e1a82725b47643800a | [] | no_license | tonyg95/Stethsim1 | ebd5d1a82fb543a0acad7bc1bfa861367341e615 | 0b4d10966943b7b5e362cfe21bea56ecb4a2580f | refs/heads/master | 2020-08-27T16:44:48.760997 | 2019-10-25T03:09:42 | 2019-10-25T03:09:42 | 217,435,645 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,685,734 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "codegen/il2cpp-codegen.h"
#include "il2cpp-object-internals.h"
template ... | [
"tonyrobertgonzales@gmail.com"
] | tonyrobertgonzales@gmail.com |
875ef3611218e50af4b5d5294697735a3d327ca7 | 7356f96be38a175fb8c8e54d14421b3a4461c6f5 | /infra/timer/DerivedTimerService.cpp | 135b3f0aaffd67eadc2967904d280c5fadab073d | [
"LicenseRef-scancode-protobuf",
"LicenseRef-scancode-x11-xconsortium-veillard",
"BSD-3-Clause",
"MIT",
"Apache-2.0",
"BSD-2-Clause",
"Unlicense",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | bkvenkatesh/embeddedinfralib | 5381509a4ed676a111b0d14d7a2a82bb74c39998 | 6a61684c37642a9e37bc757a29e5fbce18705529 | refs/heads/master | 2021-06-25T03:20:01.966169 | 2020-12-24T15:47:10 | 2020-12-24T15:47:10 | 179,512,848 | 1 | 0 | NOASSERTION | 2020-12-24T15:47:42 | 2019-04-04T14:22:01 | C++ | UTF-8 | C++ | false | false | 995 | cpp | #include "infra/timer/DerivedTimerService.hpp"
namespace infra
{
DerivedTimerService::DerivedTimerService(uint32_t id, TimerService& baseTimerService)
: TimerService(id)
, baseTimerService(baseTimerService)
, timer(baseTimerService.Id())
{}
void DerivedTimerService::NextTriggerChan... | [
"bart.golsteijn@philips.com"
] | bart.golsteijn@philips.com |
bfcdf435d7f0e42e5eef45e2341b71d2206205f6 | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /cpdp/include/tencentcloud/cpdp/v20190820/model/ContractPayListResult.h | 56afb3413a5c8688cdec025b21dddbf14667a851 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 23,029 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
116cf924e47c35f43ff8a4aba2760853a4a775b2 | 02ce8a5d3386aa639ef1c2c2fdd6da8d0de158f9 | /ACE-5.6.1/ACE_wrappers/apps/drwho/SMR_Client.h | 0f565b8901da12cae17dba13060111eca4e8af33 | [] | no_license | azraelly/knetwork | 932e27a22b1ee621742acf57618083ecab23bca1 | 69e30ee08d0c8e66c1cfb00d7ae3ba6983ff935c | refs/heads/master | 2021-01-20T13:48:24.909756 | 2010-07-03T13:59:39 | 2010-07-03T13:59:39 | 39,634,314 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 554 | h | /* -*- C++ -*- */
// $Id: SMR_Client.h 16777 1998-10-20 02:34:57Z levine $
// ============================================================================
//
// = LIBRARY
// drwho
//
// = FILENAME
// SMR_Client.h
//
// = AUTHOR
// Douglas C. Schmidt
//
// ======================================================... | [
"yuwuxiong2010@gmail.com"
] | yuwuxiong2010@gmail.com |
2c51ea62eda0feca61118f89869a4a6702403570 | de1fc8272ca500fb13a93c9d053cdd75634329cd | /Learning/struct_in_struct/struct_define_struct.cpp | 157b8888f9577e4312022208a8610c2b8cfa3e14 | [] | no_license | hohaidang/CPP_Basic2Advance | ada69129123c14491c29803a3f7224b924616a80 | cdb733e9b24c7ad4927deab57fff389f521d0ea3 | refs/heads/master | 2021-05-21T10:31:46.627204 | 2021-03-29T07:16:43 | 2021-03-29T07:16:43 | 252,654,029 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 516 | cpp | #include <iostream>
struct dang1 {
#define IMPORT(MsgBase) \
public: \
int a;
};
template<typename base>
struct dang2 : base{
IMPORT(base)
};
int main() {
// dang2 inherit tu dang1, va dang 1 co 1 cai #define IMPORT
// tu do struct dang2 se co bien public: int a; nhung dang1 se khong co bi... | [
"hohaidang.khtn@gmail.com"
] | hohaidang.khtn@gmail.com |
34997861457fde50b884a2b9efaa2336ce092b40 | e198d6305f2b6264fbb1a7bdfafdf88454143bb4 | /contests/timus/train/1011.cpp | 461864a8abccb031b04bf68b2d7d25d83baf9cbe | [] | no_license | Yan-Song/burdakovd | e4ba668b5db19026dbf505fb715be0456d229527 | 0b3b90943b3f8e2341ed96a99e25c1dc314b3095 | refs/heads/master | 2021-01-10T14:39:45.788552 | 2013-01-02T10:51:02 | 2013-01-02T10:51:02 | 43,729,389 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 782 | cpp | #include <iostream>
#include <cstring>
#include <string>
#include <cmath>
#include <stack>
#include <queue>
#include <deque>
#include <vector>
#include <algorithm>
#pragma comment(linker, "/STACK:16777216")
#define mset(block,value) memset(block,value,sizeof(block))
typedef long long i64;
#define eps 0.000000001
us... | [
"icqkill@gmail.com"
] | icqkill@gmail.com |
cc727549b3dad8a8296b09359f9c8643f556f519 | 5bcdfa3c4a561b36150656a9adf398fb5def70a9 | /distributive/android-arm64-v8a/tensorflow/core/framework/tensor_slice.pb.cc | 9e59d3a0beb87cfc51d18cbde3b2ba3028807373 | [
"Apache-2.0"
] | permissive | avlbanuba/tensorflow_pack | 30bf5b7ef0a0db68ea3828569f1cba4cf5571ef4 | 4612b6817c21f576a16acb6a986e3a6cb95c269a | refs/heads/master | 2021-08-08T00:10:15.361471 | 2017-11-09T07:15:09 | 2017-11-09T07:15:09 | 109,989,169 | 1 | 0 | null | 2017-11-08T14:51:37 | 2017-11-08T14:51:37 | null | UTF-8 | C++ | false | true | 31,812 | cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/core/framework/tensor_slice.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "tensorflow/core/framework/tensor_slice.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stub... | [
"anton.lechenko@banuba.com"
] | anton.lechenko@banuba.com |
bdf079fa8366f70ab65937df0f948ba9c6ff5f6c | bd6547aa8d6a4bf6c251a75fd04bf1ff413655d2 | /Robot/TCD/FrameTaskDman/DialogTask/TaskSpecification/TSNonOnlineBusiness.h | a34f9a0dd7f217c790fe0c071d92bd76926ee95e | [] | no_license | semanticparsing/navigation_code | 8c324f9ef6bb96d0fce013c08e44481d2019214e | 1a7388f24dfe3f194643be316de5d92bfc213c71 | refs/heads/master | 2020-03-25T08:12:45.956783 | 2018-07-13T10:03:38 | 2018-07-13T10:03:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 372 | h | // Author : zhangxuanfeng
// Email : zhangxuanfeng@trio.ai
// Date : 2018-05-08 14:30
// Description: 未上线业务
#ifndef _TS_NON_ONLINE_BUSINESS_H__
#define _TS_NON_ONLINE_BUSINESS_H__
#include "Robot/TCD/FrameTaskDman/DMCore/Core.h"
#include "Robot/TCD/FrameTaskDman/DMCore/Agents/AllAgents.h"
namespace TrioTDM {
voi... | [
"hitdzl@gmail.com"
] | hitdzl@gmail.com |
f263ae238ce53c6a8ade837ee3c6afef3d1c29ad | eecc622f4981130a780051f64dab5ebbbd780c5b | /SDKs/Ogre/include/OGRE/MeshLodGenerator/OgreSmallVector.h | bd990734c8757cb994737bc9afd821a4b9458abe | [
"MIT"
] | permissive | antiHiXY/GameEnginePractice-2021 | 99f057a0aafbd8055a7bf014694eee063ec68168 | 88999905db28cd4250004c7e5fbd55eed5169f80 | refs/heads/main | 2023-08-24T17:25:55.976981 | 2021-09-29T14:17:49 | 2021-09-29T14:17:49 | 408,962,428 | 0 | 0 | MIT | 2021-09-21T20:18:10 | 2021-09-21T20:18:10 | null | UTF-8 | C++ | false | false | 32,479 | h | //===- llvm/ADT/SmallVector.h - 'Normally small' vectors --------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License.
// ==============================================================================
// LLVM Re... | [
"a.lesovoy@corp.mail.ru"
] | a.lesovoy@corp.mail.ru |
fcfae6f96b83a76e992429847beffe65c46da050 | 6047b3b605e47692af45f5c49869fa0cc409d46a | /chrome/browser/ui/views/overlay/overlay_window_views.h | f0a4fec9b51edffab1031e418a0b6df3be9e5385 | [
"BSD-3-Clause"
] | permissive | liglee/chromium | 87d9dfd6c513cf456edb600080354b77fe56bd62 | 1b6d8638caf9c57f132175426f795a10eb4c769c | refs/heads/master | 2023-03-03T13:15:38.361656 | 2018-04-24T08:27:31 | 2018-04-24T08:27:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,525 | 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 CHROME_BROWSER_UI_VIEWS_OVERLAY_OVERLAY_WINDOW_VIEWS_H_
#define CHROME_BROWSER_UI_VIEWS_OVERLAY_OVERLAY_WINDOW_VIEWS_H_
#include "content/public/... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
f6790595031dd8bc715a27ea191136cea2a45dc3 | 9c308bab9621c8a2a9e5b43016f0b5c14722a0f5 | /Syncer.cpp | 40d1f36e32d9c411a1fdb6c3a4c98ee31c28c2a4 | [] | no_license | Maniulo/FFmpeg-SDL-tutorial | c01d3fc5035898d148e0ab288d90f45565acfcaa | dd7586c6c6985bf094d9dcd4521d08dcdcd74cc7 | refs/heads/master | 2021-01-22T22:21:21.452219 | 2013-10-09T19:17:47 | 2013-10-09T19:17:47 | 12,451,820 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,244 | cpp | extern "C"
{
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libswscale/swscale.h>
#include <libavutil/mem.h>
#include <libavutil/time.h>
}
#include "Video.cpp"
#include "Audio.cpp"
/* no AV sync correction is done if below the AV sync threshold */
#define AV_SYNC_THRESHOLD 0.01
/* no... | [
"m.mezhenin@gmail.com"
] | m.mezhenin@gmail.com |
055519c22765e7c9c479d38ea79d8178633116aa | a6a2227aabdc178696aaf47d6f0beda4f659b0c8 | /jul17&18/509_A.cpp | 2fa7da8a5503fb96ffa2c9a1266ac3e5ebbe512b | [] | no_license | girach/codeforces | 2f49c674d0daa39ca389be901a08344be834cc2f | 8808180d8ba9ebc739db235cc17b7e91c2f71975 | refs/heads/master | 2020-03-21T08:52:03.358029 | 2018-06-23T19:08:58 | 2018-06-23T19:08:58 | 138,370,109 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 264 | cpp | #include<iostream>
using namespace std;
int main() {
int n;
cin >> n;
int a[n][n] = {0};
for (int i=0;i<n;i++) {
a[i][0]= a[0][i] = 1;
}
for (int i=1;i<n;i++) {
for (int j=1;j<n;j++) {
a[i][j] = a[i-1][j]+a[i][j-1];
}
}
cout << a[n-1][n-1];
} | [
"mdbilalgirach7@gmail.com"
] | mdbilalgirach7@gmail.com |
35b4df56d927df86e0ac27fcf8ed79d7551a6134 | d114891078cb1954594daeaa4c0be5716859918a | /LabWork4/Cylinder.cpp | 48b99fa48f71c1c391441b58d524e33fc071e5ff | [] | no_license | LevKostychenko/4LabWork | 9896b249ea24df178f24b4a9d2787f972ca29bac | 5387b16ed067eb1c598197001ff7e38367274b37 | refs/heads/master | 2020-08-05T17:34:10.172894 | 2019-10-03T17:15:42 | 2019-10-03T17:15:42 | 212,635,398 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 826 | cpp | #include "pch.h"
#include "Cylinder.h"
Cylinder::Cylinder(double xa, double ya, double za,
double xb, double yb, double zb,
double xc, double yc, double zc)
{
this->Radius = sqrt(pow((xa - xb), 2) + pow((ya - yb), 2) + pow((za - zb), 2));
this->Height = sqrt(pow((xa - xc), 2) + pow((ya - yc), 2) + pow((za - zc), ... | [
"lev.kostychenko@gmail.com"
] | lev.kostychenko@gmail.com |
40fe2b944f793c7af7e56b5f38e4d7986d8f80b1 | b3ab2120518a1b2d211d40324985374bae8458fa | /ReverseCuthillMcKee.cpp | bc29a38b0d7801b19d241bde6d3051e068b68992 | [] | no_license | evalen43/ReverseCuthillMcKee | 2b82e2f2d12a72214b98e542c85334ee94fb2c0b | decade3789af136a8180dde7b15ffe6f8f4f1b11 | refs/heads/master | 2023-05-30T03:05:14.369235 | 2021-06-15T02:28:29 | 2021-06-15T02:28:29 | 375,798,865 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,794 | cpp | // ReverseCuthillMcKee.cpp : This file contains the 'main' function. Program execution begins and
// ends there. C++ program for Implementation of Reverse Cuthill Mckee Algorithm
#include <iostream>
#include <stdio.h>
#include <fstream>
#include <vector>
#include <queue>
#include <string>
using namespace std;
vector<i... | [
"edvallen@hotmail.com"
] | edvallen@hotmail.com |
14989890edd5f779f50ccfbde673e116207799e4 | d640dd0bd6eb45c0f3cf21965852fd86c1d9ec52 | /test/random/module/real/special/stirling/regular/stirling.hpp | 46895684854ae9a381e9ea870bcbb6975afb0aa0 | [
"MIT"
] | permissive | microblink/eve | 43a5f5d06fbf629823f66872a9d23b8039d39e3b | 0c720df47a0cbf5f200e13fa164886b309045d91 | refs/heads/main | 2023-08-31T05:38:16.176316 | 2021-09-21T07:36:29 | 2021-09-21T07:36:29 | 416,764,853 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 862 | hpp | //==================================================================================================
/*
EVE - Expressive Vector Engine
Copyright : EVE Contributors & Maintainers
SPDX-License-Identifier: MIT
*/
//==================================================================================================
#in... | [
"noreply@github.com"
] | microblink.noreply@github.com |
fc77e6af2d3e9861820a216456a8fd973d190e83 | 57cd5d90e13bedf4f66c2dd3d5b73f298c55f024 | /GraphicEQ/Source/FilterComponent.h | 2bba17ce48db85cead81bbeac25c99185c9e5267 | [] | no_license | YanlanCai/GraphicEQ-1 | 2a9fa4a2deeeebfb418efed933e6a10aea0e3e18 | 308d34b5e09e7c3f71c2752c42699c1d6ff2f7da | refs/heads/master | 2023-03-01T22:03:48.052673 | 2021-02-10T21:34:43 | 2021-02-10T21:34:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,612 | h | /*
==============================================================================
FilterComponent.h
Created: 22 Dec 2020 1:15:04pm
Author: Arron Shah
==============================================================================
*/
#pragma once
#include <JuceHeader.h>
#include "Filter.h"... | [
"arron.shah@gmail.com"
] | arron.shah@gmail.com |
e2ee8b93943930ad4b22f279a407c03376c69e88 | fb7ffa19e2fd795e0565407c2053ce0dc8f00912 | /snapDeformer.cpp | 5f6fb04fce298ed41f5119154757e9ea3ba37d40 | [] | no_license | mburch13/SnapDeformer | 9f7aaca584bdc7939644fc07974108445f51c8a7 | 30cc54a326fe6d40f2df5e1a08d4e6764e4687ba | refs/heads/master | 2022-12-17T15:47:17.020035 | 2020-09-28T16:41:41 | 2020-09-28T16:41:41 | 299,371,252 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,732 | cpp | //snapDeformer.cpp
#include "snapDeformer.h"
#include <maya/MItGeometry.h>
#include <maya/MItMeshVertex.h>
#include <maya/MFnMesh.h>
#include <maya/MItMeshPolygon.h>
#include "maya/MDataHandle.h"
#include "maya/MArrayDataHandle.h"
#include <maya/MPlug.h>
#define SMALL (float)1e-6
#define BIG_DIST 99999
MTypeId snapD... | [
"46796707+mburch13@users.noreply.github.com"
] | 46796707+mburch13@users.noreply.github.com |
9385dabce07c96c8d7aeacfee43e01123c096b0f | 8751230f16a776e5a61754c7d38c0c2380efbf42 | /src/openexr/exrstdattr/main.cpp | 9697e8bb8f11d09c0b702114679b8762645d2ca9 | [
"MIT"
] | permissive | willzhou/appleseed | 0b5dc66480809c92b358264de6e9f628a5758922 | ea08888796006387c800c23b63a8ca7bb3c9b675 | refs/heads/master | 2021-01-20T23:16:42.617460 | 2012-05-31T08:29:22 | 2012-05-31T08:29:22 | 4,506,046 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,864 | cpp | ///////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2004, Industrial Light & Magic, a division of Lucas
// Digital Ltd. LLC
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | [
"beaune@aist.enst.fr"
] | beaune@aist.enst.fr |
8fc389b85b15103939b4310d09c997be05cc5389 | 964a25cedee5c447cd79ad9f3934ca6ccece50a0 | /pitypes.h | fbb07ff088601919e5ab072ce7c539641b779b78 | [] | no_license | sivabudh/pism | a08d076a7fbc53bcf4c36ffd29a60205dbbaa6ba | 4e39d09ec8c2205cc648dee10973044c12217b69 | refs/heads/master | 2020-03-27T01:15:49.682785 | 2018-08-24T06:49:11 | 2018-08-24T06:49:11 | 145,695,012 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 253 | h | #pragma once
using PumpID = int;
namespace PITHUNDER {
struct Messages
{
PumpID pumpId;
PumpID m_unit_id() // To mimic the real Messages members
{
return pumpId;
}
};
}
struct PumpServiceRequest
{
PumpID pumpId;
};
| [
"sivabudh.u@codium.co"
] | sivabudh.u@codium.co |
129c5d9901b909b03cbd86c884e32d68245b3f22 | 1faa2601f5c5d05a8dfa851c06a0fc07317386e5 | /cvmfs/fuse_main.cc | e23dc323acf7f4b84eaa9bea5317fab3820901d0 | [] | permissive | cvmfs/cvmfs | 216aecc8921ac7fcd5cec5a8baf37870cdc42d0f | bb69086badd32d8f9566ed5dcedff1fd1b0ccc5e | refs/heads/devel | 2023-08-24T09:17:29.248662 | 2023-08-15T09:08:27 | 2023-08-15T09:08:27 | 3,784,908 | 231 | 118 | BSD-3-Clause | 2023-09-13T10:50:09 | 2012-03-21T09:10:41 | C++ | UTF-8 | C++ | false | false | 4,361 | cc | /**
* This file is part of the CernVM File System.
*
* The Fuse module entry point. Dynamically selects either the libfuse3
* cvmfs fuse module or the libfuse2 one, depending on the availability and on
* the mount options.
*
*/
#include <dlfcn.h>
#include <unistd.h>
#include <cassert>
#include <cstdlib>
#inclu... | [
"jblomer@cern.ch"
] | jblomer@cern.ch |
7aa985f8667e5c5c379856199f920b7ca89b37ef | a963d48092f5a27b0875db68d673065b13398895 | /boost_lib/boost_1_55_0-windows/libs/asio/example/cpp11/echo/async_tcp_echo_server.cpp | cbdca9b2206cea42c83f9360cd927e984c281a00 | [] | no_license | james1023/test_boost | 219130db778bff512555bb29e5e59afaf59594b6 | 11100d6a913d5c5411f89ff3a32b7e654e91a104 | refs/heads/master | 2020-05-20T12:19:36.754779 | 2017-03-02T03:30:01 | 2017-03-02T03:30:01 | 35,875,247 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,332 | cpp | //
// async_tcp_echo_server.cpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2013 Christopher M. Kohlhoff (chris at kohlhoff dot 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)
//
#includ... | [
"james.huang@avtech.com.tw"
] | james.huang@avtech.com.tw |
2115d4d1d5dff5afd0a6975d6562a4652eff50c5 | 4ab228f82d57e24c15dff1d6363e386ab7827cc4 | /src/c++/main/scmp.cpp | 90d31f8a932e76bf54a21cee07f0e13fc5a0f561 | [
"BSD-3-Clause",
"Python-2.0",
"MIT",
"BSL-1.0",
"BSD-2-Clause"
] | permissive | LuisFdF/hap.py | 24101431ba0e69e6fd075c46992df0bae09a5c32 | d51d111e494b561b37c66299daf5a6c65a8d2ca9 | refs/heads/master | 2021-01-23T04:39:06.652035 | 2017-03-03T15:12:24 | 2017-03-03T15:12:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,005 | cpp | // -*- mode: c++; indent-tabs-mode: nil; -*-
//
// Copyright (c) 2010-2015 Illumina, 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:
// 1. Redistributions of source code must retain the ab... | [
"pkrusche@illumina.com"
] | pkrusche@illumina.com |
249a50317f879cce702d47aa1b91278364fd16dc | 3b1d3e85f0ef77f5dafdd3b6e3414f2defdbbc48 | /crypto_break/crypto.cpp | 180547571bfb0172e421532aea4d582b5bf57cb1 | [] | no_license | ilovepi/crypto_break | 32d5c73339dc3f89a3fd68db090255a49bc0fff0 | 001d72c8d74fdccf92fc026adf338e325d21b7cb | refs/heads/master | 2016-09-02T05:17:45.915183 | 2015-10-22T06:25:03 | 2015-10-22T06:25:03 | 26,564,651 | 0 | 0 | null | 2014-11-22T01:09:07 | 2014-11-13T01:27:33 | C++ | UTF-8 | C++ | false | false | 6,851 | cpp | #include "crypto.hpp"
crypto::crypto()
{
top_alpha = "etaoinshr";
std::ifstream infile("dictionary.txt");
std::string word;
while (getline(infile, word))
dict.insert(std::make_pair(word, word.size()*word.size()));
infile.close();
}
crypto::~crypto(){}
char crypto::incr(char c)
{ return (char)('a' + ((c-'a... | [
"pk1574@gmail.com"
] | pk1574@gmail.com |
a780b5814a82e3450d15381db8f45d12581f674b | 27ccf4415efbbe538a2667a6b857c100656782ed | /01_baekjoon/01_BOJ_Step/Steps/Steps/Step14(Sorting)/Step14_08_1181.cpp | 1273bf99a1d5004fdb771a10e0617b59be1c19a9 | [] | no_license | WONILLISM/Algorithm | 315cc71646ee036ad3324b2a12ca51a7ea3c4ff3 | 82b323c0dc1187090a85659ed09a6ef975ce3419 | refs/heads/master | 2020-06-15T02:54:39.995963 | 2020-04-28T12:07:58 | 2020-04-28T12:07:58 | 194,092,117 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,218 | cpp | #include<cstdio>
#include<iostream>
#include<vector>
#include<string>
#include<queue>
#include<deque>
#include<algorithm>
#define endl '\n';
#define ll long long
#define PII pair<int,int>
using namespace std;
const int MAX = 51;
char board[MAX][MAX];
int visit[MAX][MAX];
int N, M, sx, sy, ans = 32;
int dx[] = { 1,0 ... | [
"wonillism@gmail.com"
] | wonillism@gmail.com |
4c6f7c2c77b1a6b657b03e98084a5dbbb24e25ba | f1deaf930b567e4aa607d5701268a7e376ca2c88 | /MotorDriver.h | feab2f2b641adfea4b414a665ddeff51d4a8bcac | [] | no_license | chriswood/MotorDriver | 86fffb5dd263e30f8def7c0f0780f5674fb6576f | dc9535ec9801de780b225a443ea8a13242edb543 | refs/heads/master | 2016-09-11T05:06:54.014811 | 2015-04-18T03:48:26 | 2015-04-18T03:48:26 | 34,117,003 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 939 | h | #ifndef __MOTORDRIVER_H__
#define __MOTORDRIVER_H__
#include <Arduino.h>
/******Pins definitions*************/
#define MOTORSHIELD_IN1 8
#define MOTORSHIELD_IN2 11
#define MOTORSHIELD_IN3 12
#define MOTORSHIELD_IN4 13
#define SPEEDPIN_A 9
#define SPEEDPIN_B 10
/**************Motor ID**********************/
... | [
"chris314159@gmail.com"
] | chris314159@gmail.com |
25edb2800bf5da670598d659e678d630dc70fd3f | 4a52a2065e958e576fdb1a2528ff8ee970bb0429 | /interrupt/interrupt.ino | 98852aaaaa0706e87000a91995b4705abb8d303d | [] | no_license | harshitherobotist/Arduino-Codes | c3fb28a60c3daac7c21786ee6102a7a4a6811f93 | aedd803603fc50a05a2e5526738e8b41929e0093 | refs/heads/main | 2023-03-30T11:28:57.328110 | 2021-04-05T06:25:10 | 2021-04-05T06:25:10 | 354,739,911 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,249 | ino | int sensor=2;
int sensor1=3;
int pulse,pulse1 =0;
unsigned long start_time, end_time=0;
float rpm,rpm1;
int ml_1=8;
int ml_2=9;
int mr_1=10;
int mr_2=11;
int enl=5;
int enr=6;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
pinMode(8,OUTPUT);
pinMode(9,OUTPUT);
pinMode(1... | [
"noreply@github.com"
] | harshitherobotist.noreply@github.com |
078eac60c1c8f183509f66a2742193768f521fca | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/074/793/CWE124_Buffer_Underwrite__new_char_loop_44.cpp | b660e46499b349900c27b745f3c91d916dd02539 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,726 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE124_Buffer_Underwrite__new_char_loop_44.cpp
Label Definition File: CWE124_Buffer_Underwrite__new.label.xml
Template File: sources-sink-44.tmpl.cpp
*/
/*
* @description
* CWE: 124 Buffer Underwrite
* BadSource: Set data pointer to before the allocated memory buffer
*... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
a048712926a4a775041cb6345df08789901a40f1 | cec3c68ce1620f61671bedc1643bdb041b511e56 | /source/System/Input.h | 12f0d61a1b43872753c8d0a189d6885d7005f79f | [] | no_license | 2dev2fun/SimpleEngine | e9a0d88946b83ec9ecacf2c51171ee7c452cc73a | 91db7b72b8c38d559994e4b91c9d4003bbdf8a31 | refs/heads/master | 2022-06-11T16:44:56.498386 | 2020-05-09T15:54:10 | 2020-05-09T15:54:10 | 256,160,965 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 464 | h | // Copyright (C) 2020 Maxim, 2dev2fun@gmail.com. All rights reserved.
#pragma once
#include "Engine.h"
#include "Window.h"
#include <memory>
#include <vector>
namespace engine {
class InputSystem {
public:
InputSystem(Game* game);
void update();
void attachCommand(std::shared_ptr<Command> command);
void deta... | [
"2dev2fun@gmail.com"
] | 2dev2fun@gmail.com |
c1d7999866ad7e014095ebb58f6ae9437876de8c | 6cacd8000af1f4d477d242dbf57743f54bec3706 | /Semestr_1/Kyrsova/SpaceBattleConsole/Menu.h | a17cd031e4f928c59fd7b57bea0d7721e0fee880 | [] | no_license | MaZeSA/CPP-OOP | 21f2d4ab8489ecb2739aa9c3afacddc1f51d1e14 | 1090eaa709aa86c0d2c69f7aab80c3e905d34c34 | refs/heads/master | 2023-06-25T09:57:12.349864 | 2021-07-23T18:01:18 | 2021-07-23T18:01:18 | 315,003,580 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,727 | h | #pragma once
#include "Fild.h"
#include <iostream>
#include <thread>
class Menu : public Fild
{
public:
class ListMenu
{
public:
ListMenu(int y_, int x_)
{
this->x = x_;
this->y = y_;
}
void PrintMenu(Menu* menu_)
{
for (int i = 0; i < 3; i++)
{
setCursorPosition(this->x, this->y + i);
... | [
"lostfilmclient@gmail.com"
] | lostfilmclient@gmail.com |
e25a58d07d3339d5be0128dbf558b90e40c5eb74 | 297952a5412cf123a642c3fc6814039800129f0b | /BunnySimulation.h | 4d86ef69909b059ab41ae1b46a5737457481c8b7 | [] | no_license | NotAMorningSpartan/BunnySimulation | 89891c2c5498af044339219ea318364a88ec2106 | 54df6bd7212b9b86fbd817797bb5c80b11a1a356 | refs/heads/main | 2023-03-27T00:38:28.651953 | 2021-03-18T09:18:49 | 2021-03-18T09:18:49 | 346,923,836 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,498 | h | //Tyler Kness-Miller
//BunnySimulation.h
#include "Bunny.h"
#include <vector>
#include <fstream>
class Simulation{
private:
int getRandomNumber(int lower, int upper){
//return 1 + ( rand() % ( 100 - 1 + 1 ) );
//return rand() % 100;
random_device generator;
mt19937 mt(generator());... | [
"tylerkm75@gmail.com"
] | tylerkm75@gmail.com |
d0a3b70c348401ad2ac378832da2925eccf84dfc | 66c9d369172413174e8e21ed4049fc7a4fcbcba3 | /jhljx的GC处理.cpp | 09ff5483ff47c27ca9493480b87e70c9917c8a8d | [] | no_license | Xrvitd/C_code | f145d629a0e3fc36eef4721f649ccaa2c0567f5d | caf03c0ccb2413ff4b768f1e7bddc882de3bb825 | refs/heads/master | 2020-03-10T04:56:45.196112 | 2018-04-12T07:02:54 | 2018-04-12T07:02:54 | 129,205,311 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,325 | cpp | #include<cstdio>
#include<iostream>
#include<algorithm>
#include<cstring>
#include<cmath>
#include<vector>
#include<queue>
#include<map>
#include<set>
#include<stack>
#include<cstdlib>
#include<string>
#include<bitset>
#include<iomanip>
#include<deque>
#define INF 1000000000
#define fi first
#define se... | [
"noreply@github.com"
] | Xrvitd.noreply@github.com |
ef3f3b8aeaf2e291b6ac5ee5ec37668631c8bf17 | 44be718d2e94b50a343b40b86a902bccd0975086 | /include/Missile.hpp | 7e9ade990af36c0fc1c058ace3dccb6cfec913cd | [] | no_license | hackora/vr-space-shooter | 0974abb81d246ec30d7e6734f2c587b306ffca15 | a6d846188f16791c1234245c3265aa45f77976f2 | refs/heads/master | 2020-03-20T11:57:52.745952 | 2017-06-05T14:08:37 | 2017-06-05T14:08:37 | 137,416,990 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 584 | hpp | #pragma once
//#include <windows.h>
//#include <GL/gl.h>
#include <GL/glew.h>
//#include <GL/glu.h>
#include "Weapon.hpp"
#include <iostream>
class Missile : public Weapon
{
public:
Missile();
~Missile();
void fire();
float getSurroundingSphere();
void setSurroundingSphere();
void collided(bool withTerr... | [
"gbo013@post.uit.no"
] | gbo013@post.uit.no |
36c2a46fc2b2bef9f81fb131612f04cb38380510 | addedb059a79bca6128e5afbb954f45736c9cd53 | /MossbauerLab.Sm2201.ExtSaveUtility/src/configs/schedulerConfig.h | 6b3dc66bf159a796582addda4cb4b4528db0e3df | [
"Apache-2.0"
] | permissive | MossbauerLab/Sm2201Autosave | 962922b01b84cd88997020ec54cc36aa1536deff | 8d5e2f8438887fa5636bde48678209ae43a4720d | refs/heads/master | 2022-12-24T18:39:00.125882 | 2022-12-19T08:51:30 | 2022-12-19T08:51:30 | 211,931,958 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,604 | h | #ifndef SM2201_SPECTRUM_SAVER_SRC_CONFIG_SCHEDULER_CONFIG_H
#define SM2201_SPECTRUM_SAVER_SRC_CONFIG_SCHEDULER_CONFIG_H
#pragma warning(disable:4786)
#pragma comment(linker, "/IGNORE:4786")
#include <string>
#include "propertyReader.h"
namespace MossbauerLab
{
namespace Sm2201
{
namespace Config
... | [
"um.nix.user@gmail.com"
] | um.nix.user@gmail.com |
c6d1b51d55dba099ecb2ecba5ed52cdb099e7614 | 357e944448290ddeb6c23e5d1354edb8943cd087 | /area/area.cpp | b5a8366f35808be02391b0ae3f885fccc9ab533d | [] | no_license | aruj900/C- | a6b43fa478f064fd06e47a9e56aa600ff071c824 | 445003beee6d7a19cdc8bee0bd20d6f2ccc3c1ca | refs/heads/main | 2023-03-08T22:17:07.933040 | 2021-02-27T12:40:47 | 2021-02-27T12:40:47 | 315,115,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 324 | cpp | #include <iostream>
#include <cmath>
using namespace std;
/* const double PI = 3.14; */
int main(){
double radius, area;
cout<<"Please enter the radius of the circle"<<endl;
cin>>radius;
area = M_PI * (radius*radius);
cout<<"Area of circle with radius "<<radius<<" is equal to "<<area;
return 0... | [
"arujmahajan@Arujs-MacBook-Pro.local"
] | arujmahajan@Arujs-MacBook-Pro.local |
8ed6797c7b264948f0ff960e075206c3fd13f8fb | f9bad3ca093095da33b16ba3166cea0f837a0451 | /src/app/generator/semanticmodel/robotbinding.h | 8e8e47592c860966b930751c19ee69155de2b483 | [] | no_license | alexreinking/CodeGenerator | 1c4532eaa4f652d2e55a8f808bd54e5a68fb2d4a | 8c6b89bbf4ac0eef7a635b03d24cae4286edf7ca | refs/heads/master | 2021-03-12T23:56:31.003900 | 2013-02-23T00:56:50 | 2013-02-23T00:56:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 916 | h | #ifndef ROBOTBINDING_H
#define ROBOTBINDING_H
#include "robotobject.h"
class RobotBinding : public RobotObject
{
public:
RobotBinding(const QString &sender, const QString &receiver, bool foreignCode = false)
: sender(sender), receiver(receiver), foreignCode(foreignCode) {}
int getType() const { retur... | [
"alexander.reinking@yale.edu"
] | alexander.reinking@yale.edu |
ff5a6b765b40bc244f2c46ca352f84f95b827566 | 84a9cf5fd65066cd6c32b4fc885925985231ecde | /Plugins2/ElementalEngine/NavMesh/StaticLibSymbols.cpp | 5625501f899631d70806efdf7e594ffb1ac6bdc1 | [] | no_license | acemon33/ElementalEngine2 | f3239a608e8eb3f0ffb53a74a33fa5e2a38e4891 | e30d691ed95e3811c68e748c703734688a801891 | refs/heads/master | 2020-09-22T06:17:42.037960 | 2013-02-11T21:08:07 | 2013-02-11T21:08:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 483 | cpp | //Autogenerated Static Lib File:
//Generated on: 03/23/09 14:27:41
#include ".\StaticLibSymbols.h"
#ifdef _LIB
void *NAVMESH_LIBEXTERNS[] = {
(void *)&CNavMeshManagerRO,
(void *)&CNavMeshObjectRO,
(void *)&CNavMeshManagerRO,
(void *)&CNavMeshRenderObjectRO,
(void *)&GenerateNavMesh_CNavMeshObjectR... | [
"klhurley@yahoo.com"
] | klhurley@yahoo.com |
f528d2119d78bdf87c50e730d6d1ad5b88bf3eeb | c35c231a05f24f22c5aae7ef94e1ded6dcfd848c | /codeforces/739/C.cpp | 9b5948c247d2357ac7ee2ae60619bab3db91c77a | [] | no_license | irvifa/online-judges | 081bed8db248c4c0d5a096fb2a196a119778788c | c128a03b711f256f8888ed3d2e526889dce90ca2 | refs/heads/master | 2021-03-12T02:39:44.868187 | 2020-03-11T13:46:07 | 2020-03-11T13:46:07 | 246,582,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 899 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long int ll;
const int MAX = 1000000;
int a[MAX], b[MAX], c[MAX], d[MAX];
int completed(int available_money, int k) {
int l, r, m;
l = 0, r = k;
while (l < r) {
m = (l + r + 1) / 2;
if (d[m] <= available_money) l = m;
else r = m-1;
}
return c[l];
... | [
"irvi.fa@gmail.com"
] | irvi.fa@gmail.com |
f7d8a76678ad68320f9f6816694765046190c0aa | b269392cc4727b226e15b3f08e9efb41a7f4b048 | /POJ/POJ 1127.cpp | b29db4c8235fb0922ff55a0cd0b0ae5e8f973158 | [] | 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 | 3,047 | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
#define EPS 1e-10
typedef double Type;
int sign(Type x)
{
return x<-EPS?-1:(x>EPS?1:0);
}
struct Point
{
Type x,y;
Point(Type x,Type y):x(x),y(y) {}
Point() {}
void read()
{
scanf("%lf ... | [
"1273789365@qq.com"
] | 1273789365@qq.com |
7c0a47c58557bf835656e847d7cdd1675d6af798 | 08bfc8a1f8e44adc624d1f1c6250a3d9635f99de | /SDKs/Alembic/lib/Alembic/AbcGeom/IPoints.cpp | c3e19e7dc108d0189d95cdcd9d99e32be1ba36d9 | [] | no_license | Personwithhat/CE_SDKs | cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02 | 7afbd2f7767c9c5e95912a1af42b37c24d57f0d4 | refs/heads/master | 2020-04-09T22:14:56.917176 | 2019-07-04T00:19:11 | 2019-07-04T00:19:11 | 160,623,495 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | cpp | version https://git-lfs.github.com/spec/v1
oid sha256:b52dcf21a1c903d8567d41a3d6df4fc3f33b550c68db3bc6180a23d35764b86f
size 3207
| [
"personwithhats2@Gmail.com"
] | personwithhats2@Gmail.com |
3c4d7957afcd49d4e62a021cbfdc8d26f14d7f49 | 0225a1fb4e8bfd022a992a751c9ae60722f9ca0d | /base/base_tests/assert_test.cpp | 0df32cc5df82616abeb395e7e60ad90a86d0b263 | [
"Apache-2.0"
] | permissive | organicmaps/organicmaps | fb2d86ea12abf5aab09cd8b7c55d5d5b98f264a1 | 76016d6ce0be42bfb6ed967868b9bd7d16b79882 | refs/heads/master | 2023-08-16T13:58:16.223655 | 2023-08-15T20:16:15 | 2023-08-15T20:16:15 | 324,829,379 | 6,981 | 782 | Apache-2.0 | 2023-09-14T21:30:12 | 2020-12-27T19:02:26 | C++ | UTF-8 | C++ | false | false | 722 | cpp | #include "testing/testing.hpp"
#include "base/base.hpp"
#include "base/exception.hpp"
#include "base/logging.hpp"
UNIT_TEST(Assert_Smoke)
{
int x = 5;
// to avoid warning in release
#ifdef RELEASE
UNUSED_VALUE(x);
#endif
ASSERT_EQUAL ( x, 5, () );
ASSERT_NOT_EQUAL ( x, 6, () );
//ASSERT_EQUAL ( x, 666, (... | [
"alex@maps.me"
] | alex@maps.me |
78d569688c308c3406677a7fd13ec4f4db0f9dbb | fabe2d9262ed0404f796d1b2cba4ffc5a83c7ff1 | /chapter9/9-2.cpp | 935227f316ff4748c38790c539efd99e2e7f8753 | [
"MIT"
] | permissive | GSNICE/ZK_04743 | 20ceece3ea8e7e9a979ea16690a8b913e7a391f5 | 7e49fc5045cc127c72a14d1717c34c939871f1d0 | refs/heads/master | 2023-04-06T17:03:50.816210 | 2020-09-06T03:09:49 | 2020-09-06T03:09:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 904 | cpp | #include <iostream>
using namespace std;
template<class T> //类类型T
void Swap(T &x, T &y) //可以交换类对象
{
T tmp = x;
x = y;
y = tmp;
}
class myDate
{
public:
myDate();
myDate(int, int, int);
void printDate()const;
private:
int year, month, day;
};
myDate::myDate()
{
year = 1970;
month = ... | [
"wewin-tech@foxmail.com"
] | wewin-tech@foxmail.com |
be894af3bce25074a31f4c551e2c07ea51fecdec | 93f328e10b5b02ac0cdb4afdf1a84db83bcadfa5 | /viking/sort/trees.cpp | 10cadf110656106a43cda76729a08ce3c3fbdc35 | [] | no_license | missingjs/mustard | 184eba4e9abe698716a3f540b7518c5da73055e9 | ad4cf820a6bdfa8535c07dbdfdaf57f0e3caed96 | refs/heads/master | 2022-02-27T12:34:32.393355 | 2016-08-21T16:00:21 | 2016-08-21T16:00:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 363 | cpp | // @mission: 实现树形选择排序
#include "trees.def.h"
#include "common/array.h"
using namespace mustard;
int main()
{
int n = 0;
int * arr = array::read<int>(n);
int len = 0;
_ts * t = build_complete_tree(arr, n, len);
tree_select_output(t, len, arr, n);
array::print(arr, n);
delete[] arr;
d... | [
"venux021@outlook.com"
] | venux021@outlook.com |
bba06fbced82a88a012fa3d88b2eb84e4ce8aac3 | deda3a27a6e055509ea30befd74238d9d1b0b078 | /compiler/scripts/outputs/nlohmann/json.hpp | 65300460caca46baad8e7fa9af7ef0c35b8e656d | [] | no_license | YanjieHe/TypedCygni | 132cae9f73cbf35525321b9090bd526ea00ede06 | a884ca440a900bb77c39f6e67a1ac1e39316cb30 | refs/heads/master | 2023-01-22T14:54:27.725568 | 2020-11-10T18:29:39 | 2020-11-10T18:29:39 | 113,035,092 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 825,097 | hpp | /*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++
| | |__ | | | | | | version 3.7.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
SPDX-License-Identifier: MIT
Copyright (c) 2013-2019 Niels Lohmann... | [
"heyanjie0@outlook.com"
] | heyanjie0@outlook.com |
c864e0a86439e279e74e959f6eaf28bd2d680c3f | 20a59a738c1d8521dc95c380190b48d7bc3bb0bb | /layouts/aknlayout2/generated/Vga4_touch_akn_app/aknlayoutscalable_abrw_pvp4_apps_vga4_prt_tch_normal.h | b69552b09b22941eaf6d1bff52ce2df810bd369a | [] | no_license | SymbianSource/oss.FCL.sf.mw.uiresources | 376c0cf0bccf470008ae066aeae1e3538f9701c6 | b78660bec78835802edd6575b96897d4aba58376 | refs/heads/master | 2021-01-13T13:17:08.423030 | 2010-10-19T08:42:43 | 2010-10-19T08:42:43 | 72,681,263 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,311 | h | /*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.h... | [
"kirill.dremov@nokia.com"
] | kirill.dremov@nokia.com |
b90614f9cdfb67709b7c24f848f8afca8f250ec0 | 3503ca10b545f4a758e7f50e6170909a45cbb544 | /2829.cpp | e58894c19332dd15a55da54471430d6a5f4d996a | [] | no_license | YongHoonJJo/BOJ | 531f660e841b7e9dce2afcf1f16a4acf0b408f32 | 575caa436abdb69eae48ac4d482365e4801c8a08 | refs/heads/master | 2021-05-02T18:32:33.936520 | 2019-06-22T17:16:13 | 2019-06-22T17:16:13 | 63,855,378 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 846 | cpp | #include <stdio.h>
int n, m[402][402];
int sumA[402][402], sumB[402][402];
int ans = -987654321;
int max(int a, int b)
{
return a > b ? a : b;
}
int go(int i, int j, int k)
{
int A=-100000000, B=0;
if(i+k <=n && j+k <=n) {
A = sumA[i+k][j+k]-sumA[i-1][j-1];
}
j += k;
if(j-k > 0 && i+k <= n) {
B = sumB[i+k... | [
"starctak@gmail.com"
] | starctak@gmail.com |
395aff8a444d82a5f67aff59b6893eb0833973b9 | 46c1208ac02448288f907a264eff5d82c92009e3 | /src/src/CARTDecisionTree.cpp | 8ddf5515d13c2c8696a8d99959932525b273de2e | [] | no_license | chensh236/AdaboostHandWrittenDightDetectAndRecognition | 3296d256360b07f021cdce6806a51b4bd47594d4 | 6cb5aaf027384486b0b17b4ca9d13632378d6395 | refs/heads/master | 2020-04-11T07:42:16.147560 | 2015-07-03T03:00:03 | 2015-07-03T03:00:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,848 | cpp | //
// DesionTree.cpp
// RandomForest
//
// Created by wc on 15/6/10.
// Copyright (c) 2015年 wc. All rights reserved.
//
#include "CARTDecisionTree.h"
CARTDecisionTree* CARTDecisionTree::instance = nullptr;
CARTDecisionTree* CARTDecisionTree::getInstance() {
if (instance == nullptr)
instance = new CAR... | [
"xiezhw3@gmail.com"
] | xiezhw3@gmail.com |
a121ca47bfcc0f87b9e9955934d46e736774a4a1 | 2bc227439d76c91bf421eeb3e4277b50d45f3439 | /oclErrorCodes.cpp | b174ac2ee2e810344de985f7ebf3f9351186e21f | [] | no_license | alare/sdaccel | d0d744efc972df64cb28b15cf3f5f0b31351dd37 | 089c43dd46fb68bf11c181bf61c12d1cd62b0c3a | refs/heads/master | 2020-12-03T11:23:59.856840 | 2016-09-17T14:45:54 | 2016-09-17T14:45:54 | 66,237,040 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,600 | cpp | #include <map>
#include <string>
#include <CL/cl.h>
#define TO_STRING(x) #x
static const std::pair<cl_int, std::string> map_pairs[] = {
std::make_pair(CL_SUCCESS, TO_STRING(CL_SUCCESS)),
std::make_pair(CL_DEVICE_NOT_FOUND, TO_STRING(CL_DEVICE_NOT_FOUND)),
std::make_pair(CL_DEVICE_NOT_AVAILABLE, TO_STRING... | [
"uchen@cn.ibm.com"
] | uchen@cn.ibm.com |
af26fdb3593fc002ca9f5f7db44d3762cfcdaace | c301c81f7560125e130a9eb67f5231b3d08a9d67 | /lc/lc/2021_target/companies/amazon/lc_127_word_ladder.cpp | 4d205814c518649a4eb2652532f7b213cf6edd09 | [] | no_license | vikashkumarjha/missionpeace | f55f593b52754c9681e6c32d46337e5e4b2d5f8b | 7d5db52486c55b48fe761e0616d550439584f199 | refs/heads/master | 2021-07-11T07:34:08.789819 | 2021-07-06T04:25:18 | 2021-07-06T04:25:18 | 241,745,271 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,148 | cpp | /*
Given two words (beginWord and endWord), and a dictionary's word list, find the length of shortest transformation sequence from beginWord to endWord, such that:
Only one letter can be changed at a time.
Each transformed word must exist in the word list.
Note:
Return 0 if there is no such transformation sequence.
A... | [
"vjha2100@gmail.com"
] | vjha2100@gmail.com |
03191aa8199bbb505860b9ab744b25e96ee4902a | fb3dcc33e7eb9b22d77bc69d56b9e186da931709 | /source/GameState.h | 599ce55cb2222dd54d52a4f12c55aca06662cfca | [] | no_license | xiaoqian19940510/sparcraft | 796460aca14a36307daceaf6fe78f24e215dbeb4 | 00b98d30ac7b213c72b443aa6c8b9515e21ac9a4 | refs/heads/master | 2020-03-20T03:50:33.947882 | 2014-05-11T00:49:08 | 2014-05-11T00:49:08 | 137,161,451 | 4 | 0 | null | 2018-06-13T04:12:09 | 2018-06-13T04:12:08 | null | UTF-8 | C++ | false | false | 8,721 | h | #pragma once
#include "Common.h"
#include <algorithm>
#include "MoveArray.h"
#include "Hash.h"
#include "Map.h"
#include "Unit.h"
#include "GraphViz.hpp"
#include "Array.hpp"
typedef boost::shared_ptr<SparCraft::Map> MapPtr;
namespace SparCraft
{
class GameState
{
Map ... | [
"nbarriga@gmail.com"
] | nbarriga@gmail.com |
6fa28d9c9e83cdd2042a5ba1d42079be8e67b57e | 209571af270257a5b8338622f3a1db75124b0315 | /test usb/old_stuff/devicefinder1.cpp | cb84c0170934b198ceb2142288837acd5a4b1ed5 | [] | no_license | DarioSardi/ProgettoRobotica2018 | 2907d88bbfa2f3e01b80e3bf640f2d6ccab13174 | 703f7a001024c3f2db94ac0211fb73cc26ea3208 | refs/heads/master | 2020-03-31T21:15:51.577388 | 2019-01-13T18:40:44 | 2019-01-13T18:40:44 | 152,573,751 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 711 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <malloc.h>
#include <iostream>
#include <string.h>
#define BUF_SIZE 1024
char addr[30]="";
int search(void)
{
FILE *f;
char* buf;
f=popen("./finder.o | grep Arduino | awk '{print $1;}' ", "r");
if (f==NULL) {
perror("1 - Error"... | [
"dario.sardi@mail.polimi.it"
] | dario.sardi@mail.polimi.it |
b1b2c603a5939180ff1859ba4cf4035c47df017f | 6c0e8a23af93c38dc9d62b43fb3b96d952a85c21 | /hello/prome.cpp | 170b7554c5f5a22eb06ba9e934845427d8ceb2c8 | [] | no_license | Bernini0/Codes | 9072be1f3a1213d1dc582c233ebcedf991b62f2b | 377ec182232d8cfe23baffa4ea4c43ebef5f10bf | refs/heads/main | 2023-07-06T13:10:49.072244 | 2021-08-11T17:30:03 | 2021-08-11T17:30:03 | 393,320,827 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,725 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int arr[168]={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,... | [
"tasnimbinanwar2605@gmail.com"
] | tasnimbinanwar2605@gmail.com |
ebcb3afa4c7c12ef3c872d3237f841e373582f69 | 85d821577aeb6bde7602f69e2f3fe93b53687bdd | /DTiles/osgb23dtile.cpp | eed5284d3af0573d880291fc157048af9aa24774 | [
"Apache-2.0"
] | permissive | sjtuerx/3dtiles | 00251c6eb107731b63a661b41d3a367a1751af29 | ac11fa3481028c58f23f7aa86227736e13428e12 | refs/heads/master | 2023-03-20T07:27:05.608000 | 2021-03-02T06:46:56 | 2021-03-02T06:46:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 45,267 | cpp | #include <osg/Material>
#include <osg/PagedLOD>
#include <osgDB/ReadFile>
#include <osgDB/ConvertUTF>
#include <osgUtil/Optimizer>
#include <osgUtil/SmoothingVisitor>
#include <set>
#include <cmath>
#include <vector>
#include <string>
#include <cstring>
#include <algorithm>
#define STB_IMAGE_IMPLEMENTATION
#define ST... | [
"chenweiyu233@gmail.com"
] | chenweiyu233@gmail.com |
f5229cc337170ef422e04d5a38b311e0d9f8064b | a3d72d39f72cf11fe2ff124901cb319cb2f0c34a | /Source/Device/GfxGraphicsCommandList.inl | a4ac86f00c41f42c4a97ce7853b69d92f3e86ccb | [] | no_license | takasuke-ando/GfxLib_D3D12 | c8018d17fa752b6f7a5279804a506a9d279d1ba1 | c6fd400ed8634c80736b3d53e0a15d4745ebefef | refs/heads/master | 2021-05-24T04:49:39.981780 | 2020-09-01T00:16:37 | 2020-09-01T00:16:37 | 54,645,405 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,270 | inl | #ifndef __INLUCDE_GFXGRAPHICSCOMMANDLIST_INL__
#define __INLUCDE_GFXGRAPHICSCOMMANDLIST_INL__
namespace GfxLib
{
inline void GraphicsCommandList::SetPrimitiveTopologyType(D3D12_PRIMITIVE_TOPOLOGY_TYPE topology) {
if (m_PipelineState.PrimitiveTopologyType != topology) {
m_bPipelineDirty = true;
... | [
"an_chan99@yahoo.co.jp"
] | an_chan99@yahoo.co.jp |
c7e328817f9751f494b30353f47f4ccc663ea4de | c3b5f7b284326fe016661c497eb92b89f31c63ec | /src/FizzBuzz.h | 30fcf3925e003a7f5b42012c8a66ccd4dcd04307 | [] | no_license | haru01/cppunit-sample | 5750053ead993d70f271ed29c6cc4b2205a9e289 | e8585555a41968019ef80d5753b81a83ba3fd606 | refs/heads/master | 2020-05-18T00:22:38.991413 | 2012-07-30T01:02:22 | 2012-07-30T01:02:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 175 | h | #ifndef FIZZBUZZ_H
#define FIZZBUZZ_H
#include <string>
class FizzBuzz {
private:
int num;
public:
FizzBuzz(int num);
~FizzBuzz();
std::string value();
};
#endif
| [
"eiji.ienaga@gmail.com"
] | eiji.ienaga@gmail.com |
18a66f90a91b1c3bd0275c369b687e1613fd047a | bc802b219fc1934098b8e854f36b9cb687b24428 | /codewars/rotate-for-a-max/rotate-for-a-max_jihed.cpp | 4399e36603be41e2e03b4b78ac64cafeb77c4ab6 | [] | no_license | coding-katas/all-solutions | cee7a6f40e292b2619e2b8cf09b69c1f5541f35b | 28bbe3023222dacd0856563a3b7098e7a9cea593 | refs/heads/master | 2020-04-21T03:09:18.788656 | 2019-02-05T16:45:17 | 2019-02-05T16:45:17 | 169,275,872 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 648 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
class MaxRotate
{
public:
static long long maxRot(long long n)
{
string str = to_string(n);
vector<long long> vct;
vct.push_back(n);
for (int j = 0; j < str.size() ; j++)
{
for (... | [
"anis.tajouri@gmail.com"
] | anis.tajouri@gmail.com |
926525921d3b4b340f46c849124a9b34a2ee58e9 | e9a9b956b21c35eed56fc032345b3e7416c78475 | /Segment Tree/Xenia and Bit Operations.cpp | d7c0b2576b9fd7dfc4dfae74500a83f1c57990c1 | [] | no_license | VinayKatare/Algorithms-Implementation | 7323b182e0c88452f6e5bfcbfb8f997970f02cdd | ea3129d571fc34dfd9c5f3236dde20b382fc8309 | refs/heads/master | 2020-04-17T14:18:07.537146 | 2019-10-25T08:42:03 | 2019-10-25T08:42:03 | 166,580,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,413 | cpp | //https://codeforces.com/contest/339/problem/D
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
using namespace std;
#define all(a) a.begin(), a.end()
#define pb push_back
#define ll long long
#define index(a) ... | [
"vinaykatare1234@gmail.com"
] | vinaykatare1234@gmail.com |
b93e120b255075662e98d981b3b725e93f024ec1 | 2dd206685636ce3428e9d3b63ad6d82af2c85612 | /Server/Server.hpp | ea3b0e43c0cd3db0f62063ee89f013982bf1c6c7 | [] | no_license | BurnBirdX7/Messenger | e4b3f809447cb87a807445c00af78643e1aa480a | c8351b2611301a496e52a569d616779dde9157eb | refs/heads/master | 2023-01-29T12:59:10.669354 | 2020-12-16T15:49:02 | 2020-12-16T15:49:02 | 314,810,547 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,544 | hpp | #ifndef ASIOAPPLICATION_SERVER_HPP
#define ASIOAPPLICATION_SERVER_HPP
#include <memory>
#include <map>
#include <set>
#include <functional>
#include <boost/asio.hpp>
#include <boost/asio/ssl.hpp>
#include <Network.hpp>
#include "Context.hpp"
class Connection;
class Server
: public std::enable_shared_from_this... | [
"artemiy.lazarevx7@gmail.com"
] | artemiy.lazarevx7@gmail.com |
ca65df884094c57f0f3a218cb32606557b54f7ef | 5376fcdff458e85c49299274185b724ae2438b69 | /src/agora_edu_sdk/base/facilities/tools/audio_utils.h | 5d1b4692ac706c91384ab910a9d3c1701d4b0002 | [] | no_license | pengdu/AgoraDualTeacher | aabf9aae7a1a42a1f64ecfeae56fbcf61bed8319 | 4da68749f638a843053a57d199450c798dd3f286 | refs/heads/master | 2023-07-31T14:25:52.797376 | 2021-09-22T09:51:49 | 2021-09-22T09:51:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 642 | h | // Agora RTC/MEDIA SDK
//
// Created by Qingyou Pan in 2020-03.
// Copyright (c) 2020 Agora.io. All rights reserved.
//
#pragma once
namespace webrtc {
class AudioFrame;
}
namespace agora {
namespace rtc {
enum class AudioFormatErrorCode {
ERR_OK,
ERR_CHANNEL,
ERR_BYTES_PER_SAMPLE,
ERR_SAMPLES_PER_CHANNEL... | [
"wangqixin@agora.io"
] | wangqixin@agora.io |
859413bfeb9f18ff3b7e264189cec1da8f129a0e | a57dc909766d9486abbc76d8c7f41e592950511d | /ServerSocket_demo/ServerSocket/ServerSocketDlg.cpp | b2e9cb53af777be3929a626642d3e326d9ac8bc1 | [] | no_license | gigihpc/Socket-and-Serial-C | ade688f7a876f32791448caaf7b3d569a82b16ba | f599a07dcbbf142be62f1a700b692afb01fd1648 | refs/heads/master | 2021-07-14T19:23:20.865481 | 2017-10-17T02:57:09 | 2017-10-17T02:57:09 | 107,209,557 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,754 | cpp | // ServerSocketDlg.cpp : implementation file
//
#include "stdafx.h"
#include <atlconv.h>
#include "ServerSocket.h"
#include "ServerSocketDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
const int SOCK_TCP = 0;
const int SOCK_UDP = 1;
//////////... | [
"gigih.math.its@gmail.com"
] | gigih.math.its@gmail.com |
bcff5f4fbb7cdcd2880382bfb9584cc276a5f07e | dddc171e9cb1bf0b1bb36cb8c099b1033e0d68cf | /Combat.cpp | 00a8786d200960c897d4e6ee4f1cf04089adb85f | [] | no_license | IVIara/PokeSim | efbd47abe85699b43bf886b1ac2ca3f13b167b10 | e36245d26edad25ccca02eec3d939c8ca1e82292 | refs/heads/master | 2020-04-02T12:54:47.403835 | 2018-10-27T16:25:06 | 2018-10-27T16:25:06 | 154,457,950 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 6,323 | cpp | #include "Combat.h"
#include "Pokemon.h"
#include <iostream>
#include <string>
using namespace std;
double elements[18][18] =
{
/*NORMAL*/ {1,1,1,1,1,0.5,1,0,0.5,1,1,1,1,1,1,1,1,1},
/*COMBAT*/ {2,1,0.5,0.5,1,2,0.5,0,2,1,1,1,1,0.5,2,1,2,0.5},
/*VOL*/ {1,2,1,1,1,0.5,2,... | [
"t.perriau@gmail.com"
] | t.perriau@gmail.com |
eb530d427d247cbed236550b6102a69be41dab8f | a45e034d557f3c7ec631a693b1141fe02a07d0dc | /cpp/margin_metric.hpp | 278f0c0578989ddb74711d5a514928a264d2bc5e | [
"MIT"
] | permissive | GaoSida/Neural-SampleRank | 7ef785de60835cfb324873ce9aef37f5c960ec38 | 8b4a7a40cc34bff608f19d3f7eb64bda76669c5b | refs/heads/main | 2023-01-13T03:42:20.263862 | 2020-11-16T07:48:51 | 2020-11-16T07:48:51 | 301,271,776 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,070 | hpp | // Mirror nsr.graph.margin_metric
#include "factor_graph.hpp"
#include <vector>
#include <unordered_set>
class MarginMetric {
public:
std::vector<int> ground_truth;
MarginMetric(std::vector<int>& ground_truth) {
this->ground_truth = ground_truth;
}
virtual float compute_metric(std::vector<int>& label_... | [
"sidag@alumni.cmu.edu"
] | sidag@alumni.cmu.edu |
ca00aea57ea0a09d867726733ce180ac98f48adb | 613648e67a71f02bc0806b9a27ae99fced735f7f | /Laporan 8 String/uji coba gets.cpp | d04fe34eb58be048dc8e3b59246bf608591ce2b7 | [] | no_license | Dwirinas/Pemrograman-Terstruktur | c85c5379032b4f5fa39af985c551ef15eba11189 | 401f83aba45884c14105d9144687549dd3b2fdf8 | refs/heads/master | 2020-09-10T05:45:34.837773 | 2019-11-14T10:09:04 | 2019-11-14T10:09:04 | 221,663,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 240 | cpp | #include <stdio.h>
#define MAKS 5
main(){
char kar = 'A';
char nama[MAKS];
printf("Karakternya = %c\n", kar);
printf("Masukkan nama Anda : ");
gets(nama);
printf("\nNama Anda = %s\n", nama);
printf("Karakternya = %c\n", kar);
}
| [
"Risinasa9b@gmail.com"
] | Risinasa9b@gmail.com |
ec4d14ae9e79c77e4cf37b9de3e7c0fc4765150a | ebcbea283a4a430b818e2386b95b577c3f582dfb | /libcef_dll/ctocpp/v8array_buffer_release_callback_ctocpp.h | c4a9bc6c157eff88d183d70096901dea2ba7b7cd | [
"BSD-3-Clause"
] | permissive | avaer/cef | 18b5188abb9fd4db8a90553e8215fe5003a5d169 | 1057523680062f0f1f5f6df7c16dde151f9a2770 | refs/heads/master | 2020-04-03T13:37:54.041882 | 2018-11-17T21:58:26 | 2018-11-17T21:58:26 | 155,291,081 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,522 | h | // Copyright (c) 2018 The Chromium Embedded Framework 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 was generated by the CEF translato... | [
"magreenblatt@gmail.com"
] | magreenblatt@gmail.com |
4089224199ad8e190ccc80202d330b7acc27714e | 5a5bde743ddbcfa28dbd71dbd8fe1835010763df | /include/lm/parallelcontext.h | 27b57604674e19284128f9b121a0d7d846641c90 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | lightmetrica/lightmetrica-v3 | fb85230c92dac12e754ca570cd54d45b5b6e457c | 70601dbef13a513df032911d47f790791671a8e0 | refs/heads/master | 2021-10-29T08:13:40.140577 | 2021-10-22T10:50:39 | 2021-10-22T10:50:39 | 189,633,321 | 105 | 14 | NOASSERTION | 2021-10-20T14:34:34 | 2019-05-31T17:27:55 | C++ | UTF-8 | C++ | false | false | 884 | h | /*
Lightmetrica - Copyright (c) 2019 Hisanari Otsu
Distributed under MIT license. See LICENSE file for details.
*/
#pragma once
#include "parallel.h"
#include "component.h"
LM_NAMESPACE_BEGIN(LM_NAMESPACE)
LM_NAMESPACE_BEGIN(parallel)
/*!
\addtogroup parallel
@{
*/
/*!
\brief Parallel context.
... | [
"hi2p.perim@gmail.com"
] | hi2p.perim@gmail.com |
72a3f264a788bfa9378ff1ce555cc612976f7aea | 5cfc497450d2054b7041559db5acddbd1e4d67e4 | /src/adapter_gb28181.cpp | fb713fd7a45bd0be8c5df133569768cd7299cfd5 | [
"MIT"
] | permissive | charygao/mdfactory | 2e0f97fb1ca3cc1498bce64238ae61c73a7e1888 | 3dbfa2e6acd5390d2ea60a95b04bc63f0b98837e | refs/heads/master | 2022-02-28T04:20:25.250330 | 2019-09-11T06:19:17 | 2019-09-11T06:19:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,331 | cpp | #include "adapter_gb28181.h"
#include "utility_tool.h"
#include "error_code.h"
#include <boost/format.hpp>
#define LINE_END "\r\n"
#define STATUS_REGISTER_1 "REGISTER@1"
#define STATUS_REGISTER_3 "REGISTER@3"
#define ALGORITHM_MD5 "MD5"
#define ACTION_REGISTER "REGISTER"
#define ACTION_OK "OK"
#define ACTION_UNAU... | [
"comhaqs@126.com"
] | comhaqs@126.com |
120a96463402db47995dc66f75fb4f1003b6575e | 41ad38f6a5686339877f47b88273469c1cf1b04a | /GraphicsDisplay.hpp | 5eee2ce5fb7d0022514c920c05feb6ee564c14b3 | [] | no_license | sayakura/42__System_Monitor | 8ff94d8a72ff413fabaa25904b34dd5e83666d32 | 2d716d4a359ce98128ac262dcb6f80dc7c7f3c96 | refs/heads/master | 2020-05-22T12:46:58.250450 | 2019-05-13T05:01:34 | 2019-05-13T05:01:34 | 186,348,202 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,695 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* GraphicsDisplay.hpp :+: :+: :+: ... | [
"linra.kura@gmail.com"
] | linra.kura@gmail.com |
67629d1816aef02660d2b4c88f1797c813b0a1ce | 82f153568b4752c3c1a29c9aa1a650e3e2a39d3a | /Trace/ImGuiRendering.h | 508f9e669d7d584efa37aebc0839a722055ad3d3 | [] | no_license | lujiawen/LOL-Trace | 5aad96d105289bd75783203eceb38f4f1ee7950c | 02283b38e3b387c3f611fab6ed5681da3564467d | refs/heads/master | 2023-01-09T10:04:54.981759 | 2020-11-16T09:11:42 | 2020-11-16T09:11:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,437 | h | #pragma once
#include "Trace.h"
#include "ImGui/imgui.h"
#include "ImGui/imgui_impl_dx9.h"
#include "ImGui/imgui_impl_win32.h"
#include <string>
#include <map>
class ImGuiRendering
{
private:
DWORD _D3DRS_COLORWRITEENABLE;
ImDrawList* _DrawList;
bool _IsSetup = false;
IDirect3DDevice9* _Device;
ImGuiRendering(... | [
"1263178881@qq.com"
] | 1263178881@qq.com |
45d5ad4cc246164da02b85cc51a8acc7fd8e4a91 | 267a3c3b43bf8e0042391c322c7930cb83a5903c | /dziedziczenie3_kontenery_Bold/Containers.cpp | ddb1656fae2beebffa50e95d1a71f8a039d520f5 | [] | no_license | pierwiastekzminusjeden/cpp_lab_4sem | 096d2b2b9a0624d7e762260ad83925b531594d7f | ad0d388f7cb6463ded4c63e5a3ceca782577e307 | refs/heads/master | 2021-03-30T17:50:13.479514 | 2018-07-11T18:40:45 | 2018-07-11T18:40:45 | 122,998,380 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 45 | cpp | #include <iostream>
#include "Containers.h"
| [
"krystian.molenda@gmail.com"
] | krystian.molenda@gmail.com |
a8d3e9c36ae09338439046f1f722c30b6e6d0603 | 5c6d9585b7620ef39cf9a203e7b709125f1aea3d | /ACPC10A.cpp | b8fd055138603e080fba08d5ad8c4014157d6f1e | [] | no_license | samyhaff/SPOJ | 3c138dfbdb9a8ecb11de04ff476a2118c5fdbd3c | e5304bfaf78f3d4431998da4b31137f3dca18556 | refs/heads/master | 2023-06-30T08:15:05.431715 | 2021-08-03T08:49:38 | 2021-08-03T08:49:38 | 387,133,945 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 352 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int a, b, c;
cin >> a >> b >> c;
while (!(!a && !b && !c))
{
if (b - a == c - b) {
cout << "AP " << 2 * c - b << endl;
}
else {
cout << "GP " << c * c / b << endl;
}
cin >> a >>... | [
"haffoudhisamy@gmail.com"
] | haffoudhisamy@gmail.com |
62b8c33e780d838e918ccb63dfc1053f4f578b4e | e4b1522920cc6deea23e3c5a0cde8fe2ad2c8531 | /2020-09-14/06-maxim3.cc | 20a4778411e248ea3d251f8192c0289a843e7f68 | [] | no_license | jordi-petit/ap1-codis-2020-2021 | 95ba1775d11c18fc3a2b18b7fd1e17a5eff31f89 | 014e1d7bc4fe34b7dd8702ef91f557387e22ee24 | refs/heads/master | 2023-08-14T04:19:05.287684 | 2021-09-20T07:39:49 | 2021-09-20T07:39:49 | 294,364,301 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 406 | cc | // Programa que llegeix tres nombres i escriu el seu màxim
#include <iostream>
using namespace std;
int main()
{
int a, b, c;
cin >> a >> b >> c;
int m;
if (a >= b) {
if (a >= c) {
m = a;
} else {
m = c;
}
} else {
if (b >= c) {
... | [
"jpetit@cs.upc.edu"
] | jpetit@cs.upc.edu |
f9287ceffdd4f3e7b9b08775c732f2fb8ad43f22 | 47ecf4d055ae867105d8b63c5ddaf7b5a31fe2a4 | /src/Dice.hpp | 39b3b1e9d075c0a28e3b8b9ac8ac8f7db88c2dc4 | [] | no_license | Mokon/simulator | 1566c724ced701d73e31e86dbfc055961281b46e | 504c7602cddc154793e01bbc863affdb154873db | refs/heads/master | 2021-01-23T06:54:26.645081 | 2017-04-01T12:25:51 | 2017-04-01T12:25:51 | 86,407,553 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 693 | hpp | /* Copyright (C) 2017 David 'Mokon' Bond, All Rights Reserved */
#pragma once
#include <random>
#include <queue>
class Dice final
{
public:
Dice(unsigned int sides = 6, unsigned int start = 1);
~Dice() = default;
Dice(const Dice&) = delete;
Dice& operator=(const Dice&) = delete;
Dice(Dice&&) =... | [
"dbond@128technology.com"
] | dbond@128technology.com |
e2e1c20864c1bfd941ef3f9b403f2f5aabfecb00 | 44383fb0ac6070f67386cd105da373ee8a6d4cea | /src/video/ffmpeg/threaded_decoder.cc | 11588373d8472b884c773f175d6a33d62da31515 | [
"Apache-2.0"
] | permissive | bityangke/decord | 1b657c8d55b398d5a644629b5b056b342c428da1 | e02180c844b6c29fd3fb99ad118307c419e86bcd | refs/heads/master | 2020-05-18T23:23:59.390292 | 2019-05-01T18:34:03 | 2019-05-01T18:34:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,859 | cc | /*!
* Copyright (c) 2019 by Contributors if not otherwise specified
* \file threaded_decoder.cc
* \brief FFmpeg threaded decoder Impl
*/
#include "threaded_decoder.h"
#include <dmlc/logging.h>
namespace decord {
namespace ffmpeg {
FFMPEGThreadedDecoder::FFMPEGThreadedDecoder() : frame_count_(0), draining_(fals... | [
"cheungchih@gmail.com"
] | cheungchih@gmail.com |
eaae88ac2d53aaff5de1c24d1291695f7e56e73b | ad400e173f7307bb18f44550e9809750b6f207e3 | /Interfaces/Info.cpp | 62359cf5e4e5e933a542d0b68594ccc4bdc408df | [] | no_license | officialBell/Barbossa | 6f696f8369d3a968f8f341cacb567b243a57cac0 | 1bbcaa39404a641824a65e44b3f15a950f40b265 | refs/heads/master | 2021-09-10T16:51:08.501849 | 2018-03-29T17:12:27 | 2018-03-29T17:12:27 | 109,428,921 | 0 | 0 | null | 2017-11-03T18:19:36 | 2017-11-03T18:19:35 | null | UTF-8 | C++ | false | false | 975 | cpp | /*
This was on my discord a while ago viking uploaded it to the discord after his site went down i'm grateful viking made this.
PS: around 90% of the code that I added is from aimtux/forks
- Warlauke/sonicrules11
---------------------------------------------------------------------------------------------------... | [
"noreply@github.com"
] | officialBell.noreply@github.com |
92932d185778651e235498b73c8422eeee65efe7 | 5ec06dab1409d790496ce082dacb321392b32fe9 | /clients/cpp-qt5-qhttpengine-server/generated/server/src/models/OAIComDayCqDamCoreImplServletHealthCheckServletProperties.cpp | 060b8788874b23f6f6ca610abd3d2d091c3045b0 | [
"MIT",
"Apache-2.0"
] | permissive | shinesolutions/swagger-aem-osgi | e9d2385f44bee70e5bbdc0d577e99a9f2525266f | c2f6e076971d2592c1cbd3f70695c679e807396b | refs/heads/master | 2022-10-29T13:07:40.422092 | 2021-04-09T07:46:03 | 2021-04-09T07:46:03 | 190,217,155 | 3 | 3 | Apache-2.0 | 2022-10-05T03:26:20 | 2019-06-04T14:23:28 | null | UTF-8 | C++ | false | false | 3,661 | cpp | /**
* Adobe Experience Manager OSGI config (AEM) API
* Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API
*
* OpenAPI spec version: 1.0.0-pre.0
* Contact: opensource@shinesolutions.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openap... | [
"cliffano@gmail.com"
] | cliffano@gmail.com |
dc74af23a5f1acb82ff19d214a7e1a0e7dbd1570 | 9494ac09c78d7b6cb17e1b30bad80d7b60da7d96 | /p1074ReversingLinkedList.cpp | 6074be1c758221d5b6be5a39d2fcd68ec1209c67 | [
"MIT"
] | permissive | yangyueren/PAT | 24547ea71c2a1e05326e99d9813dbd972c1aea1d | 950d820ec9174c5e2d74adafeb2abde4acdc635f | refs/heads/master | 2020-09-12T07:42:19.826678 | 2019-11-18T03:45:44 | 2019-11-18T03:45:44 | 222,358,172 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,110 | cpp | //
// Created by yryang on 2019/9/18.
//
#include "stdio.h"
#include "stdlib.h"
#include "vector"
#include "set"
#include "string"
#include "string.h"
#include "map"
#include "algorithm"
#include "iostream"
using namespace std;
struct node{
int add;
int val;
int next;
}nodes[100005];
int inihead;
int N;
... | [
"to_wx@outlook.com"
] | to_wx@outlook.com |
495f71e6f10034311d75e3a925a58a18e5c67a24 | c2d270aff0a4d939f43b6359ac2c564b2565be76 | /src/gin/v8_initializer.cc | 292f4cb2a4d6a1f03c0a0f34c5188037204ce3fd | [
"BSD-3-Clause"
] | permissive | bopopescu/QuicDep | dfa5c2b6aa29eb6f52b12486ff7f3757c808808d | bc86b705a6cf02d2eade4f3ea8cf5fe73ef52aa0 | refs/heads/master | 2022-04-26T04:36:55.675836 | 2020-04-29T21:29:26 | 2020-04-29T21:29:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,224 | cc | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "gin/v8_initializer.h"
#include <stddef.h>
#include <stdint.h>
#include <memory>
#include "base/debug/alias.h"
#include "base/debug/crash_logg... | [
"rdeshm0@aptvm070-6.apt.emulab.net"
] | rdeshm0@aptvm070-6.apt.emulab.net |
eaf4af38475be8ea4de671e46e289f8eb6ed0104 | 1434a4b11d60368b67d3e7341cb052e6d96ce3fc | /assign3/src/SceneObject.cpp | bb25888b964913ccc299bc86cd5c5461440c89b3 | [] | no_license | iainnash/yetanother-raytracer | 3d94da0d72a86fa1cca02f1850559955cc095379 | 068c13c9e60d1c6dedb26e1b1145405d7ccf02df | refs/heads/master | 2021-01-18T13:18:56.563694 | 2018-03-07T06:57:22 | 2018-03-07T06:57:22 | 47,189,451 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 162 | cpp | //
// SceneObject.cpp
// assign3
//
// Created by Iain Nash on 11/28/15.
// Copyright © 2015 Iain Nash. All rights reserved.
//
#include "SceneObject.hpp"
| [
"iain@codejoust.com"
] | iain@codejoust.com |
f95e75adbd011541bc594acb2037bbcf26621435 | 94303aaf3384184608723be26121f1ea76fa75cf | /IcrXXXX/IcrXXXXDlg.h | 6803e8849ea14ff3c4565fe7a7ad895fcf225fc3 | [] | no_license | insys-projects/ICR | d8cb40e36764f10346b862c24188aab5757d07e1 | ef2357a8b41aba3ecf41a3b0d4afed5ece5ad3f4 | refs/heads/master | 2021-08-15T21:49:55.375551 | 2020-08-24T15:35:19 | 2020-08-24T15:35:19 | 215,523,343 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 911 | h | #ifndef ICRXXXXDLG_H
#define ICRXXXXDLG_H
#include <QtGui/QMainWindow>
#include "ui_IcrXXXXDlg.h"
class IcrXXXXDlg : public QDialog, public Ui::IcrXXXXDlgClass
{
Q_OBJECT
QList<TIcrParam *> m_lpIcrParams;
QList<TGroup *> m_lpGroup;
QMultiMap<QString, ParamTreeItem *> m_mpGroupItems;
public:
Ic... | [
"Kozlov@a8a5cdc4-a91d-e646-800f-a4054892b1cc"
] | Kozlov@a8a5cdc4-a91d-e646-800f-a4054892b1cc |
5ba0ab492f95a5ec0de0683a93d51e61319e5c7c | 0db79524979d11c3bf0a4856c124295b6acce314 | /COM/fancySerial.ino | 006b1514bf730114f0ad7a7d6d96a308f6edcd89 | [] | no_license | muh005/Micromouse | cfb3dbb96e3c3a5b903fe569a675b6d4fd596db8 | c9fa440cb33f2837395a7da7fb815e852b16bf1c | refs/heads/master | 2021-05-07T04:16:22.502834 | 2018-03-28T23:45:44 | 2018-03-28T23:45:44 | 111,260,495 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,977 | ino | void setup() {
// put your setup code here, to run once:
//pin 19 rx
//pin 18 tx
Serial.begin(9600);
//Serial1.begin(9600);
}
const int sendSize = 100;
char tosend[sendSize];
int Status = 0;
void clearAll(char * arg, int sz){
// Setting all chars in the string to null
for(int i = 0; i < sz; i+... | [
"muh005@ucsd.edu"
] | muh005@ucsd.edu |
a4ae3532e9165bf6a28ad0963a1a8d9380a24030 | b39d3a37f92ba59160e1be9894eea5ce3dad5b6a | /Sum of squares of first 'n' numbers.cpp | d7556dd8aa8d0228537568982e50b61ee1112252 | [] | no_license | AryanshMahato/cpp-Important-Projects | e8ee7a51f740f010ad0860f3b7932c5f98647386 | 0ea6e53b47043e363e54bb36db84be9eeabc81d4 | refs/heads/master | 2020-05-07T14:47:38.738320 | 2019-06-01T14:01:31 | 2019-06-01T14:01:31 | 180,609,353 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 240 | cpp | #include<iostream>
#include<cmath>
using namespace std;
int main()
{
int n, sum, a;
cout<<"Enter the number of power: ";
cin>>n;
a=0;
while(a<=n)
{
sum=pow(2,a)+sum;
a++;
}
cout<<sum;
return 0;
}
| [
"aryanshmahato@gmail.com"
] | aryanshmahato@gmail.com |
5589aa01f6692df2f5b10f4067a38b3d39a9dbaf | ace28e29eaa4ff031fdf7aa4d29bb5d85b46eaa3 | /Visual Mercutio/zSOAP/PSS_SoapPublisher_MessengerInfo.h | 5480f478fc31fe31eaea76f9ff47d6bcea3d83cb | [
"MIT"
] | permissive | emtee40/Visual-Mercutio | 675ff3d130783247b97d4b0c8760f931fbba68b3 | f079730005b6ce93d5e184bb7c0893ccced3e3ab | refs/heads/master | 2023-07-16T20:30:29.954088 | 2021-08-16T19:19:57 | 2021-08-16T19:19:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,843 | h | /****************************************************************************
* ==> PSS_SoapPublisher_MessengerInfo -------------------------------------*
****************************************************************************
* Description : SOAP protocol to publish the Messenger info *
* Devel... | [
"jean_milost@hotmail.com"
] | jean_milost@hotmail.com |
2d127d42c775bfbe89d6fde25098652da12938f8 | 02b715831737eb94df84910677f6917aa04fa312 | /EIN-SOF/P R O E K T I/PROEKTI C++/Proekt 3/piramida.h | d676633b677ffb5c2a388bb46819e6ff4f426b39 | [] | no_license | DoozyX/EIN-SOF | 05b433e178fbda6fb63e0d61387684158913de1d | 5de0bd42906f9878557d489b617824fe80c4b23b | refs/heads/master | 2021-01-01T18:25:14.240394 | 2017-11-18T12:54:16 | 2017-11-18T12:54:16 | 98,330,930 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 313 | h | //programa piramida.h so osnova kvadrat
//class piramida
#ifndef PIRAMIDA_H
#define PIRAMIDA_H
#include "troDimenzionalni.h"
class Piramida:public TroDimenzionalni{
public:
Piramida(double=1,double=1);
virtual double presmetajPlostina();
virtual double presmetajVolumen();
virtual void print();
};
#endif | [
"slobodan.kletnikov@gmail.com"
] | slobodan.kletnikov@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.