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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6f17f3e14039623fb09f71f63a1ddef1aa9f1cbf | efe2b4dedbc6bab31ffe88c271daa5463f8649f6 | /tags/libtorrent-0_15_0/include/libtorrent/web_peer_connection.hpp | 18487dc68ea24a00c49b34921f65ade4f1d58514 | [] | no_license | svn2github/libtorrent | 867c84f0c271cdc255c3e268c17db75d46010dde | 8cfe21e253d8b90086bb0b15c6c881795bf12ea1 | refs/heads/master | 2020-03-30T03:50:32.931129 | 2015-01-07T23:21:54 | 2015-01-07T23:21:54 | 17,344,601 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,627 | hpp | /*
Copyright (c) 2003, Arvid Norberg
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 conditions and the f... | [
"arvidn@f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda"
] | arvidn@f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda |
adf1f621d2426a876b4ecd21f97a23d5729e4b32 | 80ce41145cae41a57ee55ee03c230f110e209c39 | /examples/rvsimple/metron/singlecycle_datapath.h | e7d8ccdc131badac523690075284a65322f0a8b3 | [
"MIT"
] | permissive | fengjixuchui/Metron | 2d2abcfc1b9191d2950116082fd5b04d5476ee1b | 49093c2fa734a856e1ebb78e240d8b6dbae8cc8a | refs/heads/master | 2023-03-16T16:03:18.688900 | 2023-02-01T06:28:59 | 2023-02-01T06:28:59 | 494,727,930 | 0 | 0 | MIT | 2023-02-01T06:29:00 | 2022-05-21T08:43:57 | C++ | UTF-8 | C++ | false | false | 4,727 | h | // RISC-V SiMPLE SV -- single-cycle data path
// BSD 3-Clause License
// (c) 2017-2019, Arthur Matos, Marcus Vinicius Lamar, Universidade de Brasília,
// Marek Materzok, University of Wrocław
#ifndef SINGLECYCLE_DATAPATH_H
#define SINGLECYCLE_DATAPATH_H
#include "adder.h"
#include "alu.h"
#include "con... | [
"aappleby@gmail.com"
] | aappleby@gmail.com |
72019cd51f27300236cef61b86a564ca507f76f7 | b993bb63ccad4cd8dc5dc3ad078eea165e338dc4 | /src/crypto.cpp | 3a662d56035e4e3d1b8d1929a8c92b2ae520e428 | [] | no_license | kwiaczek/BruvChatClient | 099d13fd4cec67bf1dcf1db90fc6ee2e47f6c4de | a75141f05cdf8be556040df0f27513c1a328852f | refs/heads/master | 2021-04-01T10:34:41.696217 | 2020-05-16T15:06:15 | 2020-05-16T15:06:15 | 248,182,602 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,194 | cpp | #include "crypto.h"
#include "device.h"
#include <memory>
#include "utils.h"
// todo: choose correct value
#define MAX_SKIP 9999999
void X3DH::initiate(Device *sender, Device *receiver)
{
std::vector<std::unique_ptr<DH>> dhs;
for(int i =0; i < 3; i++)
{
dhs.push_back(std::make_unique<DH>());
... | [
"kacper.wiaczek00@gmail.com"
] | kacper.wiaczek00@gmail.com |
6e1420e79ccd5def31c8037bb1747574a4042e69 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/inetsrv/iis/svcs/nntp/adminsso/server.h | 901ad2b58adc8c93400d7702498843e0c5d1c1b2 | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,692 | h | // server.h : Declaration of the CNntpVirtualServer
/////////////////////////////////////////////////////////////////////////////
// Dependencies:
#include "metafact.h"
#include "binding.h"
#include "vroots.h"
#include "ipaccess.h"
/////////////////////////////////////////////////////////////////////////////
// nnt... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
ea434884bedc09f922b6c3622193947968cd9e87 | cb03501a58fdfd38bb32c3c6655f30294c026a0f | /Analyser/Static/Acorn/StaticAnalyser.cpp | d5a34167b4ea255c7152f3e11a54843f23d283d7 | [
"MIT"
] | permissive | TomHarte/CLK | 6f19e56cccb05bf8680bb875d8df161e92bad6cb | 3e666a08ae547fd9c8787af07b08b3afb53eff61 | refs/heads/master | 2023-09-01T04:26:12.421586 | 2023-08-30T01:24:04 | 2023-08-30T01:24:04 | 39,225,788 | 850 | 51 | MIT | 2023-09-10T22:08:12 | 2015-07-16T23:46:52 | C++ | UTF-8 | C++ | false | false | 5,928 | cpp | //
// AcornAnalyser.cpp
// Clock Signal
//
// Created by Thomas Harte on 29/08/2016.
// Copyright 2016 Thomas Harte. All rights reserved.
//
#include "StaticAnalyser.hpp"
#include "Disk.hpp"
#include "Tape.hpp"
#include "Target.hpp"
#include <algorithm>
using namespace Analyser::Static::Acorn;
static std::vect... | [
"thomas.harte@gmail.com"
] | thomas.harte@gmail.com |
3cd1201bb32fe86ceac31164b29556b9ad66726f | bd9fefe678cefb25636392d543c6f95cde3314e0 | /test_programs/strings_in_cpp.cpp | c8d67ff736ab9121dbc55e569c5899a6b67d1579 | [] | no_license | amp89/trying-c-plus-plus | 1b922e9289bf744df3625c3080c1cd65088f4891 | 6e511998a3a2ebd73e40a4ea049b92ab096588d9 | refs/heads/master | 2021-07-17T19:08:27.467865 | 2017-10-24T03:14:04 | 2017-10-24T03:14:04 | 107,350,514 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 606 | cpp | //testing strings
#include <iostream>
#include <string>
using namespace std;
int main()
{
// do endl instead: string stringHey = "\nHello!\n";
string stringHey = "Hello!";
//do endl instead: string stringHey = "\nHello!\n";
string stringBye = "Bye!";
cout << stringHey << endl;
cout << string... | [
"alexander.peterson89@gmail.com"
] | alexander.peterson89@gmail.com |
936f9e45d2955eaa271a64aba3c5fd052b2ea155 | 9df4609c84fb665ed9e59211ce61eee469a7d324 | /src/path_finder/sipp_astar.h | 74dea53809556bc7607986b812344760bc6fbdc8 | [] | no_license | Forrest-Z/kiva_simulation | b41b0faff0f5cdb428e6a0ac2b3617460a128b46 | 1415140d245e42cd48102f93bbf26f6791b1e2c0 | refs/heads/master | 2022-04-08T23:32:49.959789 | 2019-12-23T10:05:46 | 2019-12-23T10:05:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,470 | h | #ifndef KIVA_SIMULATION_SRC_PATH_FINDER_SIPP_ASTAR_H_
#define KIVA_SIMULATION_SRC_PATH_FINDER_SIPP_ASTAR_H_
#include <queue>
#include <utility>
#include "ks_scheduler_common.h"
#include "ks_map.h"
#include "sipp_common.h"
#include "sipp_solver.h"
#include "utilities.h"
namespace ks {
namespace sipp_astar {
struct S... | [
"romanzhg@gmail.com"
] | romanzhg@gmail.com |
6912c90093b05390622d52a5aeba6e32ddd43af2 | bbd54c2bc2fc923868c6f7701443a798a0e79ad2 | /leetcode/926.cpp | d84ab1f11637247ea6b0ae053867e23de59116d8 | [] | no_license | Rearcher/OJcodes | 7e07316397b4fb957e2ff2a9ecbf5ec95d6c63a0 | 634d459ee586712bf89e404324a22534099e66a9 | refs/heads/master | 2021-06-07T18:39:23.058122 | 2019-12-10T07:25:13 | 2019-12-10T07:25:13 | 36,869,609 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 416 | cpp | // #medium
// #array #O(n)
class Solution {
public:
int minFlipsMonoIncr(string S) {
int total = count(S.begin(), S.end(), '1');
int len = S.size(), cur = 0, res = S.size();
for (int i = 0; i < len; ++i) {
res = min(res, cur + (len - i - total + cur));
if (S[... | [
"568813855@qq.com"
] | 568813855@qq.com |
dc99a560673d8ee5e0a1f241450b26f29aaade43 | 6f926b265e4d4bc7df7d608847db2bbb37aebb1f | /src/state.h | 61c709de594285c4cf8c4641465fe2bb7cb1e0b5 | [
"MIT"
] | permissive | ZirkCoin/ZirkCoin | f415e4baa392bf2b98740546c5a3feeb9f061550 | 043b355298a1711092fbdb1295122c49c2d37ec0 | refs/heads/master | 2021-01-01T18:42:29.592342 | 2015-03-25T00:02:52 | 2015-03-25T00:02:52 | 32,436,291 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,262 | h | // Copyright (c) 2014 The ZirkCoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
#ifndef COIN_STATE_H
#define COIN_STATE_H
#include <string>
#include "sync.h"
enum eNodeType
{
NT_FULL = 1,
NT_THIN,... | [
"info@zirkcoin.com"
] | info@zirkcoin.com |
24da9a6e941effdec7e4d8f46c44c48a57193b17 | 4ce0e532a8af27e99e554aa135fd0cc5e74a7aea | /auth/src/desktop/rpcs/verify_password_response.h | 7cbb6758382b19e4ee4f7aab1b229b8957a4fb94 | [
"Apache-2.0",
"LicenseRef-scancode-proprietary-license"
] | permissive | NetsoftHoldings/firebase-cpp-sdk | 40c0e8195832e685ddd78aa496638a5f5b14b913 | 356c63bddde5ed76483cbfc5f3ff5b228c5cbe1f | refs/heads/master | 2023-08-11T08:53:53.671567 | 2021-09-13T11:33:03 | 2021-09-13T11:33:03 | 257,321,343 | 0 | 0 | Apache-2.0 | 2021-09-13T11:33:04 | 2020-04-20T15:19:10 | null | UTF-8 | C++ | false | false | 1,840 | h | /*
* Copyright 2017 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | [
"smiles@google.com"
] | smiles@google.com |
def0ca1a0553214470d3f88a124ad438059d6b82 | ca13b19679add6020a9b456bbd1b31bd58156f4f | /include/lua-bindings/detail/LuaDelayedPop.hh | 7733d06da8afc511499cf075772dfd1eee82870e | [] | no_license | Lunderberg/lua-bindings | 08f6527ce48b15315977c3ebfb3a0c732f1f86af | 59de6723ccbab999724f097a6cdf020fdaacdc94 | refs/heads/master | 2021-07-06T08:14:22.043729 | 2021-04-10T03:02:31 | 2021-04-10T14:12:26 | 31,801,329 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 685 | hh | #ifndef _LUADELAYEDPOP_H_
#define _LUADELAYEDPOP_H_
#include <lua.hpp>
namespace Lua {
//! Utility class for popping values.
/*! Utility class, for internal use.
Pops values from the lua stack in the destructor,
ensuring that the value is popped in an exception-safe manner.
*/
class LuaDelayedPop{
public:
... | [
"eldritch.cheese@gmail.com"
] | eldritch.cheese@gmail.com |
c2a782a2f90dcb6dc09b41001072afa1ccf9904c | b2fe4d0185212abfb4140074691c89d337495f0a | /hello2/main.cpp | c4a08f71ac5328e2048629a5e5bfbb07ba103613 | [] | no_license | wangyun123/LearnOSG | 65174d69e57cac1e2c3d9445153f224fbc0d7f6e | 928498e69ab5f9c2f9f5837cdacac0aaf1f4fb31 | refs/heads/master | 2020-07-13T04:13:01.589514 | 2017-09-21T08:17:39 | 2017-09-21T08:17:39 | 73,893,964 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,459 | cpp | #include <osgViewer/Viewer>
#include <osgDB/ReadFile>
#include <osgViewer/ViewerEventHandlers>
#include <osg/ShapeDrawable>
#include <osgUtil/LineSegmentIntersector>
#include <osgUtil/IntersectionVisitor>
#include <iostream>
#include <windows.h>
#ifdef _DEBUG
#pragma comment(lib, "osgd.lib")
#pragma comment(lib, "osgD... | [
"wangyun.ch7@gmail.com"
] | wangyun.ch7@gmail.com |
312066d173dfceaeff9bf65596a7bc36ec7ef0a2 | eadc7699ff95849027e3628b01e6fd7bb57b4f7f | /projeto2_ultrasonic/projeto2_ultrasonic.ino | c854a9cd9db7358330cd71acb0cc63c6dda7d79b | [] | no_license | ThiagoStos/Projeto_2_Smart_Parking | 7a35a103d2b51f2c7dd305660bae17e56bbc9281 | 45b5585dccc3989df0ed6969878003a7a46dcb86 | refs/heads/master | 2021-07-23T20:07:29.209459 | 2017-11-01T23:49:44 | 2017-11-01T23:49:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,503 | ino | #include <SPI.h>
/*//Se for usar a placa de rede normal*/
//#include <UIPEthernet.h>
//#include <utility/logging.h>
/*Se for usar a placa Shield*/
#include <Ethernet.h>
/*Para o MQTT*/
#include <PubSubClient.h>
#include <Ultrasonic.h>
//Define o pino do Arduino a ser utilizado com o pino Trigger do sensor
#define ... | [
"48138767812@jpmorgan.sp"
] | 48138767812@jpmorgan.sp |
489ae7d8077f5d6733d24cff649f8880773e6feb | dcc5c513758d8b15db1e79d4d21e3bdbacd33b06 | /Source/Watchtower/Chunk.cpp | 6940fa8fce15e24f247637f6c949619730bc5701 | [
"MIT"
] | permissive | killowatt/Watchtower | d0ce00b339ff82d2e1fb26a62e5086e82acd4053 | c4c5b39aca9656ab47d79b506f4be0ccf12ca7ed | refs/heads/master | 2021-01-13T01:29:59.750461 | 2017-05-19T21:28:36 | 2017-05-19T21:28:36 | 34,185,793 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,083 | cpp | // Copyright 2017 William Yates
#include "Watchtower.h"
#include "Chunk.h"
#include "ChunkGenerator.h"
FBlock& AChunk::GetBlockLocal(const FIntVector& Coordinates)
{
return MapData->GetBlock(MapCoordinates + Coordinates);
}
FBlock& AChunk::GetBlockLocal(int32 X, int32 Y, int32 Z)
{
return GetBlockLocal(FIntVector(X... | [
"killowatt2213@gmail.com"
] | killowatt2213@gmail.com |
d36816b9b11f432844c1eeb119ee602e3d58f3e4 | 7771130ea6eb1f076a7d18e672d3d82d5996e957 | /src/netbase.h | f01c1c8411179f1186dfafadf31a1b6c50b4e9b4 | [
"MIT"
] | permissive | gdrcoin/gdrcoin | 49707508dfc1b14ace3817854416355a925539df | f9f2137b3d9069bfc8e3c69c90a684a061dfb6aa | refs/heads/master | 2020-03-10T18:01:49.563615 | 2018-04-14T12:36:52 | 2018-04-14T12:36:52 | 129,511,260 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,641 | h | // Copyright (c) 2009-2016 The Gdrcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef GDRCOIN_NETBASE_H
#define GDRCOIN_NETBASE_H
#if defined(HAVE_CONFIG_H)
#include "config/gdrcoin-config.h"
#endif
#i... | [
"37983255+spineinhalb@users.noreply.github.com"
] | 37983255+spineinhalb@users.noreply.github.com |
26aa7fcc6e77158d8fd433ede3bc670d5c3c1126 | 8dd428eee55e44bc9d0932bf59f71ae51c99f7ae | /ddraw/Versions/IDirectDraw4.h | 139d290e8af86096aaf92f7d1c88fbdd3c50105d | [
"Zlib"
] | permissive | protocultor/DirectX-Wrappers | 638c522f333245dab450053cb594da3860f674ff | adf36b6a0a9290f4fe02b044d235dba5487da694 | refs/heads/master | 2021-01-01T10:19:59.754620 | 2020-02-09T03:59:43 | 2020-02-09T03:59:43 | 239,235,903 | 0 | 0 | NOASSERTION | 2020-02-09T02:37:51 | 2020-02-09T02:37:50 | null | UTF-8 | C++ | false | false | 2,537 | h | #pragma once
class m_IDirectDraw4 : public IDirectDraw4, public AddressLookupTableObject
{
private:
std::unique_ptr<m_IDirectDrawX> ProxyInterface;
IDirectDraw4 *RealInterface;
REFIID WrapperID = IID_IDirectDraw4;
public:
m_IDirectDraw4(IDirectDraw4 *aOriginal) : RealInterface(aOriginal)
{
ProxyInterface = std... | [
"elisha@novicemail.com"
] | elisha@novicemail.com |
148b608979e628a6e52da90cf90512a6f6cb85de | db78b28717e04a2d825935f88c019c694d98d7c3 | /src/ripple/peerfinder/impl/Config.cpp | d3e5b6e732b112f51f70e911c52fa32cead61f79 | [
"MIT",
"MIT-Wu",
"ISC",
"BSL-1.0"
] | permissive | bloob/rippled | e156257eea131bc4af43471759359514746c49f0 | 15ef43505473225af21bb7b575fb0b628d5e7f73 | refs/heads/master | 2021-01-17T22:06:18.800766 | 2013-10-02T19:06:54 | 2013-10-02T19:06:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,217 | cpp | //------------------------------------------------------------------------------
/*
This file is part of rippled: https://github.com/ripple/rippled
Copyright (c) 2012, 2013 Ripple Labs Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby ... | [
"vinnie.falco@gmail.com"
] | vinnie.falco@gmail.com |
6c4b3071b765e7896f5bff9562494af217a648ae | 546535b806e069d75f8a7d52eee25d5228d77774 | /week1_decomposition1/2_connected_components/connected-class.cpp | 9b145b1868c8eb547d694d1f99a7333e378d786e | [] | no_license | nyck33/coursera_datastructures_algos | c41069cfabe9d3bd361267008a4ff4d971a481dd | 5b7f87776d3f4e8377cc8058716a9809c39529b4 | refs/heads/master | 2020-06-29T22:27:44.641342 | 2019-08-05T11:43:40 | 2019-08-05T11:43:40 | 200,643,195 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,531 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using std::vector;
using std::pair;
class Graph
{
//private
int V;
int cnum;
vector<vector<int> > *adj;
vector<int> *compnum;
vector<bool> *vis;
void explore(int v);
public:
Graph(int V);
void addEdge(int start, int end);
void DFSconnec... | [
"nobu.kim66@gmail.com"
] | nobu.kim66@gmail.com |
e90959ce8bf86caa6ad9778f23357b65f33bb3d7 | a08cbd5e9b4e4a037deaaae1749ed4dc55c79661 | /include/IECore/LinearToPanalogDataConversion.h | 169a59ba9428a127506b96f2fd78aa62ba31c595 | [] | no_license | victorvfx/cortex | 46385788b12dae375c1a5ade26d8f403d2dbccff | deb23599c8c69eac5671e59fe1a8ca0d5e943a36 | refs/heads/master | 2021-01-16T23:11:39.139147 | 2017-06-23T12:39:41 | 2017-06-23T12:39:41 | 95,709,763 | 1 | 0 | null | 2017-06-28T20:40:12 | 2017-06-28T20:40:12 | null | UTF-8 | C++ | false | false | 3,169 | h | //////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2008-2009, Image Engine Design 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:
//
// ... | [
"ivani@image-engine.com"
] | ivani@image-engine.com |
21b709ae847c627fb11f8d54e3b33708a2cec272 | 618ce60db6dd3dac8fb0f00a5a75128509a8a2be | /cpp/01_Avg/simulated_annealing.h | 7a44467de34b7704d96c41d1ddf9cbf224c85422 | [] | no_license | jybai/learning2read | 77439a6e0b083c3ab07214d9b718e16fa5d75ab9 | b16560418b67d58d7d653b52b7b22734f36808c0 | refs/heads/master | 2021-10-07T08:43:35.893519 | 2018-12-04T02:57:13 | 2018-12-04T02:57:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,402 | h | #ifndef SIMULATED_ANNEALING_H_
#define SIMULATED_ANNEALING_H_
#include <cmath>
#include <random>
#include <functional>
template <class T, class Gen = std::mt19937_64, class ResType = double> class SimulatedAnnealing {
private:
typedef std::function<ResType(const T&)> EvalFuncType_;
typedef std::function<T(const T... | [
"adrien1018@users.noreply.github.com"
] | adrien1018@users.noreply.github.com |
5e22cef52000af849366f168cebc4bd53c3bdbf4 | fb9c29e852a96327781e571217b7a34d687f9170 | /Smart Agriculture/src/Agriculture_Bot.ino | b82ba98377c776ba46f02ea19a68ff0f8991d0dd | [] | no_license | devesh-khanzode/Projects | b0fe479af49b78d21af273b657e866aa3aa45117 | 59c8cc710e4ca2a4cc672fd7324a2019fe642f64 | refs/heads/master | 2020-07-16T22:57:52.059428 | 2019-09-13T15:47:09 | 2019-09-13T15:47:09 | 205,885,837 | 0 | 0 | null | 2019-09-13T15:37:21 | 2019-09-02T15:28:19 | C++ | UTF-8 | C++ | false | false | 5,839 | ino |
#define ENA 10 ////left wheel
#define IN1 5
#define IN2 6
#define IN3 7
#define IN4 8
#define ENB 11 //////right wheel
#define ENC A2
#define IN5 A0
#define IN6 A1
#define WAT 9
#define SOE 12
char f,g,up=1,w=1,s=1;
int IR1,IR2,IR3;
void setup() {
pinMode(4,INPUT);
pinMode(3,INPUT);
pinMode(... | [
"noreply@github.com"
] | devesh-khanzode.noreply@github.com |
a5cac46a4c21967ac6fd3ad6354dc6c67575b583 | 49b05e95d9003b7f1f4f66620c3e051a27648d91 | /LibCore/CDirIterator.h | 1d3395ef135efb8212aea290455ef870bedef1db | [
"BSD-2-Clause"
] | permissive | ygorko/serenity | 8f1d25b8d48465c9353c585b64e4e089c3434bbf | ccc6e69a294edacf7bec77cb2c2640ada7fe1f77 | refs/heads/master | 2020-05-31T03:40:53.063797 | 2019-06-03T17:52:31 | 2019-06-03T19:17:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 581 | h | #pragma once
#include <AK/AKString.h>
#include <dirent.h>
class CDirIterator {
public:
enum Flags
{
NoFlags = 0x0,
SkipDots = 0x1,
};
CDirIterator(const StringView& path, Flags = Flags::NoFlags);
~CDirIterator();
bool has_error() const { return m_error != 0; }
int error()... | [
"awesomekling@gmail.com"
] | awesomekling@gmail.com |
7fa0550fb1e1cbf603fc25ad3943ab664d6cc64d | 72cfed90103e76116518df289dc4d8b139672dee | /HelloSDL/AimingStrut.h | 2e802124e399a43c18e168efb85cdb905d85343f | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | gentlecolts/trippy-procedurally-generated-star-fox-clone-for-school | 8ad8ea51f09e79775b60c65ee3d5b0855e83b5c9 | a98df82d54fdd9a2d8c6ed4945bd14102067b1a0 | refs/heads/master | 2021-01-22T05:24:03.642376 | 2013-06-24T14:17:45 | 2013-06-24T14:17:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 509 | h | //
// AimingStrut.h
// HelloSDL
//
// Created by Jonah Chazan on 5/3/13.
// Copyright (c) 2013 Student. All rights reserved.
//
#ifndef __HelloSDL__AimingStrut__
#define __HelloSDL__AimingStrut__
#include <iostream>
#include "BasicStrut.h"
class AimingStrut : public BasicStrut {
public:
AimingStrut();
AimingSt... | [
"person.1123.loztp@gmail.com"
] | person.1123.loztp@gmail.com |
f947455ecc9349bf3401bd45cbd1b6cbfa30a8fd | af1f72ae61b844a03140f3546ffc56ba47fb60df | /src/swagger/v1/model/TrafficLoad_rate.cpp | 985e8a92042ac6b54b0441d507abd2f1f45efe9f | [
"Apache-2.0"
] | permissive | Spirent/openperf | 23dac28e2e2e1279de5dc44f98f5b6fbced41a71 | d89da082e00bec781d0c251f72736602a4af9b18 | refs/heads/master | 2023-08-31T23:33:38.177916 | 2023-08-22T03:23:25 | 2023-08-22T07:13:15 | 143,898,378 | 23 | 16 | Apache-2.0 | 2023-08-22T07:13:16 | 2018-08-07T16:13:07 | C++ | UTF-8 | C++ | false | false | 1,207 | cpp | /**
* OpenPerf API
* REST API interface for OpenPerf
*
* OpenAPI spec version: 1
* Contact: support@spirent.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
#include "TrafficLoad_rate.h"
namespa... | [
"timmons.player@spirent.com"
] | timmons.player@spirent.com |
2b10d2ead502de4c4f831aa068ac8a7fbea2491c | d2727504338d2d705b16c9a3499ceeaaccb864af | /COP 3331 - Object Oriented Programming/Flex Project/src/Entrance.cpp | 4d0a7a28a8965daca40fc35d070652d0ace33f22 | [] | no_license | David-Hatcher/CS-Classes | fca3ff783ad923c5fde2c517e52d981c114c6f6c | 96e856f7f5699b9104f6d40e336c64a83c816497 | refs/heads/master | 2022-01-01T00:02:01.231869 | 2021-11-01T00:33:27 | 2021-11-01T00:33:27 | 186,830,580 | 0 | 0 | null | 2021-04-14T18:07:26 | 2019-05-15T13:20:04 | Java | UTF-8 | C++ | false | false | 2,471 | cpp | #include "Entrance.h"
Entrance::Entrance() : Room(){}
Entrance::Entrance(std::string file_path,Player& player): Room(file_path){
readDescription();
Interactive door("Door","Door");
Interactive drawers("Entrance Drawers","Entrance Drawers");
addInteractive("drawer",drawers);
addInteractive("door",d... | [
"sallazar024@gmail.com"
] | sallazar024@gmail.com |
310e1fce3310337c4d474bbf60d5e8297d169fad | 99cc10f54747ab929930dd37a49adc6dd6ecd6cf | /FUNCTIONS/TIMER.cpp | 0c0f547c1c0e93c1987a4fbad64a3cd3fa87e443 | [] | no_license | rdelos747/SDL_Game_Library | c10ac87a14ce07cca38a4d1e343104c63ac15302 | b220681f65bbb3eecfb24311f927a8ffa20d45e4 | refs/heads/master | 2021-05-05T15:28:59.537001 | 2019-11-08T05:31:34 | 2019-11-08T05:31:34 | 117,283,500 | 0 | 0 | null | 2019-05-27T22:38:40 | 2018-01-12T20:10:53 | C++ | UTF-8 | C++ | false | false | 1,034 | cpp | // /////////////////////////////////
// T I M E R
// ////////////////////////////////////////////////////////////////
#include "TIMER.h"
Timer::Timer() {
startTicks = 0;
pausedTicks = 0;
paused = false;
started = false;
}
Timer::~Timer() {}
void Timer::start() {
started = true;
paused = false;
startTi... | [
"rdelos747@gmail.com"
] | rdelos747@gmail.com |
ddda1f7ef15df3d6381039f1a4cc93dfcbe61763 | e763b855be527d69fb2e824dfb693d09e59cdacb | /aws-cpp-sdk-AWSMigrationHub/include/aws/AWSMigrationHub/model/PutResourceAttributesRequest.h | a0de9589f164dd0dbb56989eaa02231e2111a55d | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | 34234344543255455465/aws-sdk-cpp | 47de2d7bde504273a43c99188b544e497f743850 | 1d04ff6389a0ca24361523c58671ad0b2cde56f5 | refs/heads/master | 2023-06-10T16:15:54.618966 | 2018-05-07T23:32:08 | 2018-05-07T23:32:08 | 132,632,360 | 1 | 0 | Apache-2.0 | 2023-06-01T23:20:47 | 2018-05-08T15:56:35 | C++ | UTF-8 | C++ | false | false | 14,760 | h | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
d9593ed772334106e485d8434ac2f793feb581a7 | f3eddc585420e1b4a45505b8217b15951a22ac93 | /include/galaxy.h | cbc10a4edad2234e2c5399cf4667461c3818c2bf | [] | no_license | aronarts/space_gen | 63041db86b42bb532e08467dcbf8bfd37798f9ae | 0d17fa5798ea3098bcd220b483c56086d26f8f18 | refs/heads/master | 2020-05-27T21:18:45.005041 | 2014-10-21T13:16:00 | 2014-10-21T13:16:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 330 | h | #ifndef GALAXY_H
#define GALAXY_H
#include <vector>
#include "ssystem.h"
typedef std::vector<Ssystem> v_galaxy;
class Galaxy{
private:
int ssNum;
v_galaxy ssystems;
Galaxy() { };
v_galaxy generateGalaxy( int num );
public:
v_galaxy getGalaxy();
void printGalaxy();
Galaxy( int num );
}... | [
"fred-rb@hotmail.com"
] | fred-rb@hotmail.com |
af20de9e588af8199c4c7081582af4fbf50fdb01 | 160daa0cfc2ac47dddf4003d1173bc42ef5008c9 | /src/WakeLock.cpp | d2498ce26859405b015b1a07b492aa344315baa9 | [] | no_license | KevinZu/lowpower | 7d2f2e08057faff8f141e96709c3ee99176f98b1 | fe5e65c2cdae6dbd5bc6119979c41b81d10c7ecb | refs/heads/master | 2021-04-23T02:05:10.343250 | 2020-04-03T03:34:52 | 2020-04-03T03:34:52 | 249,888,783 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,155 | cpp | #include <iostream>
#include "WakeLock.h"
#include <fcntl.h>
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <pthread.h>
using namespace nebula;
using namespace std;
/////////////... | [
"zukeqiang@voyagerauto.com"
] | zukeqiang@voyagerauto.com |
789a0481206b98c5d8bd9af721b8a961271b9c0a | b9de7af9c746e42fb415c2cdb935f47833591300 | /lab_5.5/lab_5.5.cpp | cf2307037a4b6c91a94408ae8322cae4d794c4c6 | [] | no_license | Andr1yK/lab_5.5 | 47e880a519824726f9ba32a2d0d63bdcc7c1033b | 5134ce03a8a708ed5b8541afafda97c70a7f32aa | refs/heads/master | 2023-08-29T17:38:27.235428 | 2021-11-14T16:03:07 | 2021-11-14T16:03:07 | 426,536,127 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 920 | cpp | #include <iostream>
#include <cmath>
using namespace std;
double f(double x);
double findX(double a, double b, double eps, int& deep);
int main()
{
double a, b, eps, x;
int deep = 0;
cout << "a = "; cin >> a;
cout << "b = "; cin >> b;
cout << "eps = "; cin >> eps;
cout << endl;
x = fin... | [
"andriykobetiak@gmail.com"
] | andriykobetiak@gmail.com |
d48316c9ddf8224f94579dd2a073b4f1268740ec | 198b5498a9988b65d52d03cdb9e6cba67f06ed02 | /MAIN.CPP | 8471c7a75a69c4b3705025bf862a8092ffd4cbf8 | [] | no_license | praash47/II-I-Project | 2bd5e8e7ec54bcd0d55da791c01be34447dbb644 | 0f41426bb8dc00c14ae2991e3999d9e46ad9bc08 | refs/heads/Main | 2020-04-10T12:15:43.323195 | 2019-01-29T10:52:00 | 2019-01-29T10:52:00 | 161,016,670 | 0 | 1 | null | 2018-12-09T07:57:10 | 2018-12-09T07:44:00 | null | UTF-8 | C++ | false | false | 1,470 | cpp | #include<iostream.h>
#include<conio.h>
#include<graphics.h>
#include<bios.h>
void welgr(){
clrscr();
int i, a=(getmaxx()-textwidth("<<< >>>"))/2;
setfillstyle(1,GREEN);
bar(0,0,getmaxx(),getmaxy());
setcolor(15);
settextstyle(1, 0, 7);
outtextxy((getmaxx()-textwidth("Student"))/2,1,"Stud... | [
"praash47@gmail.com"
] | praash47@gmail.com |
b17d1b9b0c264062708633a47984153527523e80 | 13e46235a820cced8d15f0f1a05610026573aa79 | /src/database/kernels/xgemm/xgemm_32.hpp | a7fb7de96eb23a831b8761ffc1f7a8420df80437 | [
"Apache-2.0"
] | permissive | liuchang5/CLBlast | eb815d27738702ef8e0ca748b56d58f2b056b73b | 48133a0cd1a7b61b87906ec1f4608e766e20a973 | refs/heads/master | 2021-07-12T07:10:01.339320 | 2017-10-14T14:26:35 | 2017-10-14T14:26:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,820 | hpp |
// =================================================================================================
// This file is part of the CLBlast project. The project is licensed under Apache Version 2.0. It
// is auto-generated by the 'scripts/database/database.py' Python script.
//
// This file populates the database with be... | [
"web@cedricnugteren.nl"
] | web@cedricnugteren.nl |
08d6329d3d97881a23f4547c07bab6b18f4f8889 | cb1b800db9c2475b1f342fd892af869e1e5ab41d | /robogym_ws/devel/.private/mir_msgs/include/mir_msgs/WebPath.h | 4283dece7ecd1dc6aa1c4fd2f0f73dce28b7c4eb | [] | no_license | klekkala/robogym_moveit | c64cb49f9fe11d5dbd2b10816708e323f772a4f6 | d5cdb3c177b719dd8366e0e1c741c5fd5e97521a | refs/heads/main | 2023-04-23T23:45:52.593518 | 2021-05-17T06:34:57 | 2021-05-17T06:34:57 | 365,917,056 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,189 | h | // Generated by gencpp from file mir_msgs/WebPath.msg
// DO NOT EDIT!
#ifndef MIR_MSGS_MESSAGE_WEBPATH_H
#define MIR_MSGS_MESSAGE_WEBPATH_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operatio... | [
"haomengz@usc.edu"
] | haomengz@usc.edu |
b925372fe79681c33c92abab205c240ff01df824 | c67b19ccad5cb4713fa817d06c74a7d8643ee8f2 | /InterviewBit/Two Pointers/sort_by_color.cpp | a0c4186c273f9e418e408922256dce7869faa90a | [] | no_license | JoaoDanielRufino/Online-Judges | afadc08ad52dd4234e90f4c4eefae82c67f0a142 | 44fc4d71fe9db3d624d136b276735c34cf937f84 | refs/heads/master | 2023-07-20T00:04:09.323058 | 2023-07-05T01:03:50 | 2023-07-05T01:03:50 | 177,240,251 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 445 | cpp | void Solution::sortColors(vector<int> &A) {
int zero = 0;
int one = 0;
int two = 0;
for(int i = 0; i < A.size(); i++) {
if(A[i] == 0)
zero++;
else if(A[i] == 1)
one++;
else
two++;
}
int i;
for(int j = 0; i < zero; j++)
... | [
"joaodaniel0405@gmail.com"
] | joaodaniel0405@gmail.com |
fb087be463b9a1edb3fc7e6b258d5e34faf68b0e | 9e433eac9403fdd6f3ab13814c9f7144896c1d21 | /src/router.cpp | a0eaecd3cad6d35331b32f4cbd8ce3b6b4cb5952 | [] | no_license | jamesg/apollo | 6165bf8ca7662194730d1a06cd32c990eddd5668 | 8f8a96a9f13473c9e149eb853381a9e26da520f5 | refs/heads/master | 2021-01-23T13:48:32.254473 | 2015-09-05T09:09:02 | 2015-09-05T09:09:02 | 42,105,126 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,831 | cpp | #include "apollo/router.hpp"
#include <boost/bind.hpp>
#include "atlas/http/server/mimetypes.hpp"
#include "atlas/http/server/static_text.hpp"
#include "attachment.hpp"
#include "image_scaled.hpp"
#include "item_image.hpp"
#include "rest.hpp"
#define APOLLO_DECLARE_STATIC_STRING(PREFIX) \
extern "C" { \
... | [
"james@uwcs.co.uk"
] | james@uwcs.co.uk |
6f8347232b1ea50352df3e59254e61f7cd462305 | 01b863b766272b418bf387f0833f6a7f6bdd7fe0 | /src/shaders/static_shader.cpp | 0c4e31327c244fdbd71d5a92831f7dfac3207b8d | [] | no_license | dinokid101/thinmatrix-game-engine | 2d718b6ee2bb1500576210e38ddb6068cad9b7f1 | e0e6173202943433f926c5a3699c007397b67272 | refs/heads/master | 2020-03-27T06:17:06.858278 | 2016-03-16T10:41:38 | 2016-03-16T10:41:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,406 | cpp | #include "shaders/static_shader.hpp"
#include "toolbox/math.hpp"
namespace {
constexpr auto VERTEX_SHADER_FILE = "res/shaders/static.v.glsl";
constexpr auto FRAGMENT_SHADER_FILE = "res/shaders/static.f.glsl";
}
StaticShader::StaticShader()
: Shader(VERTEX_SHADER_FILE, FRAGMENT_SHADER_FILE)
{
initiali... | [
"wharvey@mymail.mines.edu"
] | wharvey@mymail.mines.edu |
495d6666950d6d193f3a9308795ad3ff9f05b0d5 | 92bdebea4842b189889ab097c4ad0237dfc2037d | /include/FxParser.h | 625a0a67813a4a2b1ea3d0259c87853c487851c7 | [] | no_license | galek/nvFX | d49f12e62bd3aba69afbb4a12e060a30052c9d43 | 16866af0afb5d425e3c2db1a4829a79a9ee353bf | refs/heads/master | 2021-11-23T04:21:14.269374 | 2019-12-12T22:58:51 | 2019-12-12T22:58:51 | 22,810,673 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,916 | h | #ifndef __FXPARSER_H__
#define __FXPARSER_H__
/*
Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved.
Copyright (c) 2013, Tristan Lorach. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
... | [
"tlorach@nvidia.com"
] | tlorach@nvidia.com |
22e7480362cbbf7b155c5b06b75cc568d3c3caeb | f1c6e41e9f57a291205dbdc2d544caba2b31b967 | /src/graph/matrix/tests/denseMatrixTests.cc | 3992c6f2cfa7838e2a23e54350e7afa4be9fc0e6 | [] | no_license | ipsavitsky/graphs | 681876b41323059335c3dcda993eaef5e83b7bbb | 224b31e444ee804db6c4066f4a68858d41d4983c | refs/heads/master | 2021-12-02T07:10:07.984151 | 2021-07-28T11:12:34 | 2021-07-28T11:12:34 | 389,723,934 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,262 | cc | //
// Created by Ilya Savitsky on 27.07.2021.
//
#include <gtest/gtest.h>
#include "../denseMatrix.hpp"
#include "../exceptions.hpp"
class DenseMatrixTest : public ::testing::Test {
void SetUp() override {
}
void TearDown() override {
}
};
TEST_F(DenseMatrixTest, testMoveSemantics) {
DenseMatr... | [
"ipsavitsky234@gmail.com"
] | ipsavitsky234@gmail.com |
cda503a9636dfa9cca6b4ca1d54d62512903be41 | 80024091ffe7089879e3abb16326bd49ad3ea656 | /src/simple_bgra_8888_transformer.h | afc8c503e929233f9d61533dbd101e346d2e0848 | [
"Libpng",
"MIT",
"BSD-3-Clause"
] | permissive | lineCode/skbitmap-transform | 0975f137fc90e36114c63235ecf80956a209cc0b | 4b83b032c3db38c077f6e419fcdc3ba20148d270 | refs/heads/master | 2022-11-18T06:05:39.653130 | 2020-07-21T16:59:03 | 2020-07-21T16:59:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 938 | h | #pragma once
#include <memory>
#include <sk_pixmap.h>
#include <sk_stream.h>
#include <sk_encoder.h>
#include <sk_image_encoder_fns.h>
class SimpleBGRA8888Transformer : public SkEncoder {
public:
/**
* Encode the |src| pixels to the |dst| stream.
* |options| may be used to control the encoding behavi... | [
"me@barm.co"
] | me@barm.co |
dfc73fddddda931327b56a8575bd0ad09300709a | 0b63ecb77fdf67e9131a73fee50b3d3a67d708bd | /wanheda/SDK/IClientEntity.h | 77216cea3097f54c288e6f6d8721862335e15c79 | [] | no_license | DespiseTheWeak/meme | 460a161cdba6182f56c122e303f27b5c0070e894 | 85800cc33292686e499864355a034c7f157b6faa | refs/heads/master | 2020-06-09T20:47:27.413159 | 2019-06-20T18:19:11 | 2019-06-20T18:19:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 538 | h | #pragma once
#include "IClientUnknown.h"
struct SpatializationInfo_t;
class IClientEntity : public IClientUnknown, public IClientRenderable, public IClientNetworkable, public IClientThinkable {
public:
virtual void Release( void ) = 0;
virtual const Vector GetAbsOrigin( void ) const = 0;
virtual co... | [
"noreply@github.com"
] | DespiseTheWeak.noreply@github.com |
c8cc8b726621a734444079795acc1da1e2462d32 | 32db093028132c1e85b82ee801dc8f494c3b0b90 | /te33.cpp | 5076b2f148c204cbe3f1c2041f697c24de6ed7cf | [] | no_license | gautam-bits/CompetitiveCoding | b0aa13400655505fec48e4909d48b119b5fa895a | d9fb47c8f6bc94b6587cbdec3271ebd2bdf75b41 | refs/heads/master | 2023-08-16T18:02:07.278849 | 2021-09-24T09:08:13 | 2021-09-24T09:08:13 | 296,126,985 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,978 | cpp |
#include <bits/stdc++.h>
using namespace std;
//taken from (https://github.com/williamchanrico/biginteger-cpp/blob/master/BigInt.cpp)
class BigInt {
public:
bool neg = false;
std::string number = "0";
BigInt(){}
BigInt(const BigInt& other){
this -> neg = other.neg;
this -> number... | [
"gautammps123456789@gmail.com"
] | gautammps123456789@gmail.com |
5c2bfad305071935d72653d5a6109d9dcc210374 | c02332272e85c4b5a19d400c319df2f0f18f019b | /First-In-First-Out.cpp | 6d920f6ad55b35e7f9223cfdc897ee7dc918cd5d | [] | no_license | Nandhini1296/CS1035-Operating-Systems | c1301b80e179043f56686387050f85c0e9f04ba4 | 3e8cb95f082d7e5aebad11e4fc6e79c97f49d17e | refs/heads/master | 2020-12-02T23:55:16.278474 | 2017-07-01T12:26:12 | 2017-07-01T12:26:12 | 95,962,755 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 914 | cpp | #include <stdio.h>//fifo
int i,j,nof,nor,flag=0,ref[50],frm[50],pf=0,victim=-1;
int main()
{
printf("\nEnter the no. of frames: ");
scanf("%d",&nof);
printf("\nEnter no. of reference string: ");
scanf("%d",&nor);
printf("\nEnter the reference string: ");
for(i=0;i<nor;i++)
scanf("%d",&r... | [
"noreply@github.com"
] | Nandhini1296.noreply@github.com |
5cc992ec978adcc2b0eab78382bf920f967bb5db | 07185d117c2c9bcbbc3b92a88f91eba5f306949e | /chapter09/code9-1.cpp | bd6cd59ad34a6183353d9d78a348bb14936f4b9d | [] | no_license | JohannesMDr/book_algorithm_trials | c910069dc4df7026af9c9f1792c241ac655d6cc8 | 851b86fb41e901fa0c620ff1d52ca96f648c7c74 | refs/heads/main | 2023-02-01T08:36:27.253752 | 2020-12-18T03:19:05 | 2020-12-18T03:19:05 | 302,058,403 | 12 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 897 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define REP(i, n) for(ll i = 0; i < ll(n); i++)
#define REPD(i, n) for(ll i = n-1; i >= 0; i--)
#define FOR(i, a, b) for(ll i = a; i < ll(b); i++)
#define FORD(i, a, b) for(ll i = a; i > ll(b); i--)
#define ALL(v) v.begin(), v.end()
#define START ios::... | [
"johannes.violoncello@gmail.com"
] | johannes.violoncello@gmail.com |
8f9edc7e016f8c195773bf3bf075957d2f89fbd5 | e2de85f83de242fc5b066a81eb55205c750ebc29 | /omaha/testing/omaha_unittest_main_small_tests_with_resources.cc | 4c1fc63484f39b456e76b31f4fd337d1ed145329 | [
"Apache-2.0"
] | permissive | google/omaha | 1a1c7f985388c0acedb05e9cee4e208de900f41c | 8fa5322c5c35d0cede28f4c32454cb0285490b6d | refs/heads/main | 2023-08-30T21:01:52.783638 | 2023-05-31T23:48:27 | 2023-05-31T23:48:27 | 38,279,227 | 2,705 | 805 | Apache-2.0 | 2023-09-07T17:36:59 | 2015-06-30T00:49:42 | C++ | UTF-8 | C++ | false | false | 1,454 | cc | // Copyright 2010 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | [
"ryanmyers@google.com"
] | ryanmyers@google.com |
35b5ee7859b5ad17ad01890042c0d117ab58839f | bb6ebff7a7f6140903d37905c350954ff6599091 | /content/public/test/mock_render_thread.cc | 0d1b0bcb6f3f9457f3db202b69475ebcbf1974e6 | [
"BSD-3-Clause"
] | permissive | PDi-Communication-Systems-Inc/lollipop_external_chromium_org | faa6602bd6bfd9b9b6277ce3cd16df0bd26e7f2f | ccadf4e63dd34be157281f53fe213d09a8c66d2c | refs/heads/master | 2022-12-23T18:07:04.568931 | 2016-04-11T16:03:36 | 2016-04-11T16:03:36 | 53,677,925 | 0 | 1 | BSD-3-Clause | 2022-12-09T23:46:46 | 2016-03-11T15:49:07 | C++ | UTF-8 | C++ | false | false | 7,784 | 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 "content/public/test/mock_render_thread.h"
#include "base/message_loop/message_loop_proxy.h"
#include "content/common/frame_messages.h"
#inc... | [
"mrobbeloth@pdiarm.com"
] | mrobbeloth@pdiarm.com |
67feea36e34d85273f431b6452aa84eae2bf5bb1 | ef9f45769704fced7beefb0f20afc1f25f1024d4 | /serviceLane.cpp | ab74e372bd67bb179772d834a74cc66f97698f02 | [] | no_license | YogaVicky/Hackerrank-solutions | 4a517b0272d994807895123e1a5c3a95bd86d7ac | f5d8a3b5cb4ab3bbf7116391aa4c3de17d366bf8 | refs/heads/master | 2020-05-30T08:57:29.006496 | 2019-12-17T19:11:19 | 2019-12-17T19:11:19 | 189,629,279 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 464 | cpp | #include <iostream>
using namespace std;
int main(){
long int n , i , check , c1 , c2;
int t , a[10000] , b[10000][2] , j;
cin>>n>>t;
for(i=0;i<n;i++){
cin>>a[i];
}
for(i=0;i<t;i++){
for(j=0;j<2;j++){
cin>>b[i][j];
}
}
for(i=0;i<t;i++){
c1 = b[i][0];
c2 = b[i][1]... | [
"yogasrivarshan@gmail.com"
] | yogasrivarshan@gmail.com |
d1a9ba4ddfae8028c6ee6bf04917282335f65286 | 2d08393b82ad53c6d415dd378a0ba8763dea59ae | /base/l2.cpp | 579f9c503df15ee8dba4c57977cce2eea865c4b8 | [] | no_license | frstrtr/boost_tutorials | 8329017dc5d20f39c9de261b49546c512e0d9f65 | 0ab0fd08704b5723076c7200c6815881aeef9d80 | refs/heads/master | 2022-08-12T09:11:21.312334 | 2020-05-20T02:40:30 | 2020-05-20T02:40:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 340 | cpp | #include <iostream>
#include <boost/asio.hpp>
using namespace std;
using namespace boost;
void print(const boost::system::error_code& /*e*/)
{
cout << "Hello, world!" << std::endl;
}
int main()
{
asio::io_context io;
asio::steady_timer t(io, asio::chrono::seconds(5));
t.async_wait(&print);
io.run... | [
"vasile.danil1@gmail.com"
] | vasile.danil1@gmail.com |
16f9c94a831ea5ba1579c946948b031ee7933932 | 2ba94892764a44d9c07f0f549f79f9f9dc272151 | /Engine/Source/Runtime/Engine/Private/Tests/NetworkAutomationTests.cpp | 37adf214521e5840e5d8352e2293b217e8ec6b14 | [
"BSD-2-Clause",
"LicenseRef-scancode-proprietary-license"
] | permissive | PopCap/GameIdea | 934769eeb91f9637f5bf205d88b13ff1fc9ae8fd | 201e1df50b2bc99afc079ce326aa0a44b178a391 | refs/heads/master | 2021-01-25T00:11:38.709772 | 2018-09-11T03:38:56 | 2018-09-11T03:38:56 | 37,818,708 | 0 | 0 | BSD-2-Clause | 2018-09-11T03:39:05 | 2015-06-21T17:36:44 | null | UTF-8 | C++ | false | false | 2,474 | cpp | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#include "EnginePrivate.h"
#include "AutomationTestCommon.h"
DEFINE_LOG_CATEGORY_STATIC(LogNetworkAutomationTests, Log, All);
//enum for multiplayer test
namespace EMultiplayerAutomationRoles
{
enum Type
{
Host = 0,
Client0,
MaxNumParticipants,
... | [
"dkroell@acm.org"
] | dkroell@acm.org |
62c094b18b3f29de1e4e6a3d18589a077fa58119 | acee4b7eef20520061c2023eedd7e3fdbdce71f7 | /CoinFlip/debug/moc_mainwindow.cpp | 8a527d6b5347f8c3919e01d1739d1f80e1e1f45d | [] | no_license | wangxiaochao66/qt_project_CoinFlipGame | 1893bab1404433a97b397a0e376ffd77bc761876 | db70ffb37a2c1f33fd2b1aa054234857e10bdeca | refs/heads/master | 2022-11-22T23:32:24.825080 | 2020-07-23T12:36:37 | 2020-07-23T12:36:37 | 281,947,195 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,687 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'mainwindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.8.0)
**
** WARNING! All changes made in this file will be lost!
**********************************************************... | [
"65815540+wangxiaochao66@users.noreply.github.com"
] | 65815540+wangxiaochao66@users.noreply.github.com |
446436e614cc942e68e30c27c15ddb939e44543f | 98157b3124db71ca0ffe4e77060f25503aa7617f | /codeforces/369_2/b.cpp | 6e8531ca444b002927727e66e077d497dace1234 | [] | no_license | wiwitrifai/competitive-programming | c4130004cd32ae857a7a1e8d670484e236073741 | f4b0044182f1d9280841c01e7eca4ad882875bca | refs/heads/master | 2022-10-24T05:31:46.176752 | 2022-09-02T07:08:05 | 2022-09-02T07:08:35 | 59,357,984 | 37 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,096 | cpp | #include <bits/stdc++.h>
using namespace std;
const int N = 505;
long long a[N][N];
int main() {
int n;
scanf("%d", &n);
long long sum = 0, sub = 0;
for (int i = 0; i < n; i++) {
bool ok = true;
long long now = 0;
for (int j = 0; j < n; j++) {
scanf("%I64d", a[i]+j);
now += a[i][j];... | [
"wiwitrifai@gmail.com"
] | wiwitrifai@gmail.com |
273c194ff6c90c641ae2a1511577568c0ea8fa04 | 95ea4179df1833c017260d11ee9362703e866fd6 | /Game_September/common.h | 377908f6c32fd8759d2f95325cd13ca0b77cd7fb | [] | no_license | wem-wem/fromCygwin | 5d2a759a53c3c5413bf88aaff4b78e900050106f | 644f9b5b443805aaa135b89f992bc420403bc523 | refs/heads/master | 2020-12-24T13:44:24.148318 | 2015-09-23T20:28:47 | 2015-09-23T20:28:47 | 29,850,099 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 201 | h | #pragma once
#include "cinder/app/AppNative.h"
#include "cinder/gl/gl.h"
#include "cinder/Rand.h"
#include <list>
#include <chrono>
#include <ctime>
using namespace ci;
using namespace ci::app;
| [
"spidertargal@yahoo.co.jp"
] | spidertargal@yahoo.co.jp |
01ade279dd70618625d417afbca5ea8a64f576d2 | f55665c5faa3d79d0d6fe91fcfeb8daa5adf84d0 | /GameSDK/GameUILib/Include/XUI_Dialog.h | 35839f853d54d88dd95b34054f01c3e31ccb8d5e | [] | no_license | lxinhcn/starworld | 79ed06ca49d4064307ae73156574932d6185dbab | 86eb0fb8bd268994454b0cfe6419ffef3fc0fc80 | refs/heads/master | 2021-01-10T07:43:51.858394 | 2010-09-15T02:38:48 | 2010-09-15T02:38:48 | 47,859,019 | 2 | 1 | null | null | null | null | GB18030 | C++ | false | false | 918 | h | #pragma once
#include "XUI_Window.h"
namespace XGC
{
namespace ui
{
//框架控件,不显示任何内容,只是作为容器
class XUI_System;
class XUI_Dialog: public XUI_Window
{
public:
XUI_Dialog( _lpctstr lpszTemplate = NULL, XUI_Window *pParent = NULL );
~XUI_Dialog();
bool Create();
int DoModal();
p... | [
"albertclass@a94d7126-06ea-11de-b17c-0f1ef23b492c"
] | albertclass@a94d7126-06ea-11de-b17c-0f1ef23b492c |
236b986fb9afa2c20ad79569a4f7f44cba139840 | 5979ad168e6780e5bc24d0ff58701febe8100395 | /Player/VideoPlayer/videoplayer.cpp | d6c25c56964b8150df6b0956532e6d755bb167c2 | [] | no_license | mehome/qt | 2be0bb32079a26d0803371a512d15aea3d82ef5a | ee474abc80edfeedcbd4f102a09b59ffd55db8df | refs/heads/master | 2021-09-22T01:01:06.579673 | 2018-09-04T06:34:27 | 2018-09-04T06:34:27 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 13,358 | cpp | #include "videoplayer.h"
extern "C"{
#include <SDL/SDL.h>
#include <SDL/SDL_audio.h>
#include <SDL/SDL_types.h>
#include <SDL/SDL_name.h>
#include <SDL/SDL_syswm.h>
#include <SDL/SDL_video.h>
#include <SDL/SDL_main.h>
#include <SDL/SDL_config.h>
}
int volume; //音量 0-128
#define READ_PACKET_TIME_OUT 15... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
01ec9e253d882f56e76cca2a2ba7fa9593976c64 | b1a9302e4b6e4a3e26b1dff4778c3de7fcb2bfaf | /DigitRecognition/src/MNISTDataReader.cpp | 66d39f2f66e4e10946b921aa0f182183b41583e7 | [] | no_license | Daemencer/CNN | 96f33a6aa0d4307a017a1a26ad26a33f0a0d32ee | 1620e670c973c0d54f57e53ae80a2f02ccfbc72e | refs/heads/master | 2021-01-19T11:58:37.319980 | 2017-05-12T14:38:44 | 2017-05-12T14:38:44 | 82,287,620 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,206 | cpp | #include "MNISTDataReader.h"
#include <fstream>
#include <sstream>
MNISTDataReader::MNISTDataReader(const char* filename):
DataReader(filename)
{
}
MNISTDataReader::~MNISTDataReader()
{
}
auto MNISTDataReader::GenerateData() -> void
{
// ignore the first line
std::string line;
std::getline(file, line);
// ... | [
"tom.georgin@gmail.com"
] | tom.georgin@gmail.com |
be29c3448a68d8821081c1c7186ef8d49d764124 | 8e835b5510bb2756e57e9ea36d0814aed1484fd3 | /zesteDeSavoir/loop/cinErrorCorrection.cpp | fbba166ecb7925ebd7fe9889a6e6dfda837d9611 | [] | no_license | Simon-chevolleau/cppLearning | 14b7e254ac2234dd7d8a22289b2a3e7e261fd1c2 | 6cbe65b867433ed8d16d00e3206a32765d16b92f | refs/heads/master | 2020-12-20T05:23:58.203585 | 2020-02-15T17:41:24 | 2020-02-15T17:41:24 | 235,976,168 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 886 | cpp | #include <iostream>
int main()
{
std::cout << "Quel jour es-tu né ? ";
int jour { 0 };
// Comme std::cin >> jour renvoie false s'il y a eu une erreur, afin de rentrer dans la boucle, on prend la négation de l'expression avec !
while (!(std::cin >> jour))
{
std::cout << "Entrée in... | [
"noreply@github.com"
] | Simon-chevolleau.noreply@github.com |
b46ec08d746c430535dfd6d4d9b6b6f5f599f81d | 9f6545ea46538e40f3e062d7305b200d9b3d9079 | /Is_Protect.cpp | ee074fcaf79cd1840d1264de5cebd2685b38e9bb | [] | no_license | fengxs001/GGchessGui | 9fea3b4f56d8b36889fbbfbe27e09c045151d9b1 | 2fb8eab5b81de0c6257a29d5840213ac6ff647eb | refs/heads/master | 2023-03-20T23:33:20.453118 | 2018-05-02T10:46:38 | 2018-05-02T10:46:38 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 13,362 | cpp | #include "stdafx.h"
#include "data.h"
#include "chess.h"
#include "Resource.h"
#include "pregen.h"
BOOL isPretectedd(position_t *pos, int side, int sqDst, int sqExcept){
//走子方是不是有棋子在保护sqDst;
if(side == WHITE){
//1, 是不是受相的保护
if(inBoard(sqDst) & IN_RXIANG){ //可能在红相的保护中
for(int sq = PieceListStart(pos,RXIANG... | [
"keersun@outlook.com"
] | keersun@outlook.com |
6cb9f784d044396bdbe9b7bc2d38a7aa395f9f72 | 1fe2d21b56b90ea6f409f1e0556a52c83cf1ed7a | /Solved/UVA/@UVA 11286 - Conformity/11286 - Conformity.cpp | da5950ac963b2f556586d7b0f7b7daa0d233ffd4 | [] | no_license | gilbertoalexsantos/judgesolutions | 447456736cef55d3c376a552a3341362f5739cef | e99fad49098eeb0ae0ae649068ddea8162705802 | refs/heads/master | 2021-01-17T02:01:21.702416 | 2018-04-19T02:19:34 | 2018-04-19T02:19:34 | 28,620,429 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 853 | cpp | //Author: Gilberto A. dos Santos
//Website: http://uva.onlinejudge.org/index.php?option=onlinejudge&page=show_problem&problem=2261
#include <iostream>
#include <cstdlib>
#include <cstring>
#include <string>
#include <vector>
#include <algorithm>
#include <ios>
#include <map>
using namespace std;
int n;
int main() {
... | [
"gilberto.alexsantos@gmail.com"
] | gilberto.alexsantos@gmail.com |
9d2f7ecc10d3252010c3e7f6f23e287164f35036 | 8b9cc79ddcc9a7f6448b637802d1d3403cf15481 | /chapter_4/5-structed-CandyBar.cpp | f47d3adc94c03acee01abfadd3dcf0ca6273b1ae | [] | no_license | Carrie2001/c_Primer_Plus_exercise | 1d2172361bf998ac9dd0e9e2f65d24ce745ad16e | 6cd42c3b896e7e42ae4245e562dbf5b8c4429d3b | refs/heads/master | 2021-10-19T20:05:15.637326 | 2019-02-23T10:45:52 | 2019-02-23T10:45:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 552 | cpp | // 声明结构体 CandyBar
// 创建于 2019/01/19
#include <iostream>
#include <string>
int main()
{
using namespace std;
struct CandyBar // 声明结构体CandyBar
{
string brand;
float weight;
int calories;
};
CandyBar snack = {"Mocha Munch", 2.3, 350}; // 创建snack的CandyBar变量
cout << "the ... | [
"2532375005@qq.com"
] | 2532375005@qq.com |
a040093bb4f63d37f2afd0147357e6cbf131c94d | 095f3757910952a4bb9a25de78076c80c51f377c | /soyoung/173. L3_가장 먼 노드.cpp | e2a82ee8f4f11c568e30a698479db23013768d02 | [] | no_license | soyoung47/study_coding_w-LSY | 7a565333dc07db3663fb725a37f338f0a796c005 | d79d0328169db75d2951dfdae1a37a01bc0ea2b4 | refs/heads/master | 2023-04-09T13:37:49.417347 | 2021-04-22T12:36:46 | 2021-04-22T12:36:46 | 263,019,759 | 0 | 0 | null | 2021-01-28T11:32:49 | 2020-05-11T11:13:08 | C++ | UHC | C++ | false | false | 1,258 | cpp | //https://programmers.co.kr/learn/courses/30/lessons/49189
#include <vector>
#include <queue>
#include <unordered_map>
using namespace std;
int solution(int n, vector<vector<int>> edge) {
//간선 저장
vector<vector<int>> map(n + 1, vector<int>(n + 1, 0));
for (int i = 0; i < edge.size(); i++)
{
ma... | [
"sy47lee@gmail.com"
] | sy47lee@gmail.com |
467c847905f6e3165238b8ba5fa20c455089925b | 11211916f39b9d98027b64d778e52743d0c519a1 | /L3/code/download/musicphotos/assignments/tmp/system/admin/design/bang.cpp | fc8e7a35bbf264cd304b277d8428a051de8e53d2 | [] | no_license | mantasruigys3000/Group-Task | 87baf1bc2747323c0508f6f32ef733c3f4b50978 | 6790d74ae7fa0fe6b13733efcd75a9f4aca70ab0 | refs/heads/master | 2020-04-23T20:54:09.696659 | 2019-02-22T01:29:53 | 2019-02-22T01:29:53 | 171,454,102 | 0 | 0 | null | 2019-02-19T10:31:09 | 2019-02-19T10:31:08 | null | UTF-8 | C++ | false | false | 105 | cpp | Quaerat quiquia dolore quisquam sed eius ut.
Username: Frank
Password: kenzie
Quisquam ut amet adipisci.
| [
"mantasruigys101@gmail.com"
] | mantasruigys101@gmail.com |
fcfe19a8fdae98bc128a0b9f74f42c3b8454543a | 8570179a4523d9deb116936aa647e5d13cfb6b8e | /Plane.cpp | 8d773868cfb12116b29bb8ed0d1b6983014da1ff | [] | no_license | CelAria/RayTraceYourLifeAway- | f49f91d578ba99df245084436493b3554e5927c9 | 50309f35232bf6c04c1072fd74a13765270117ef | refs/heads/master | 2020-03-20T20:30:16.833427 | 2018-06-18T20:06:24 | 2018-06-18T20:06:24 | 137,690,510 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 887 | cpp | #include "stdafx.h"
#include "Ray.h"
#include "Intersection.h"
#include "Plane.h"
Plane::Plane(glm::vec3 normal, glm::vec3 position, glm::vec3 ambient, glm::vec3 diffuse, glm::vec3 specular, float shininess) {
nor = normal;
pos = position;
amb = ambient;
dif = diffuse;
spec = specular;
shi = shininess;
... | [
"celestepimm@gmail.com"
] | celestepimm@gmail.com |
c376aec70dd565d17bed588991520975fe58b9fb | bf879d259f4e9a46e95b1c86eb7e26dbc4e47c5f | /udpclient.h | 85cb497b4e26bdf890639212e09230d080770493 | [] | no_license | wh230308/RemoteControlAndMonitorSystem | c848f206758624c0deea649d8d382975e7ae3c28 | 2a62ccef315f984bba6737e0848a529c68256760 | refs/heads/master | 2020-04-13T19:00:21.672053 | 2018-12-28T06:16:56 | 2018-12-28T06:16:56 | 163,390,504 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,267 | h | #ifndef UDPCLIENT_H
#define UDPCLIENT_H
#include <QObject>
#include <QUdpSocket>
#include <QHostAddress>
class QNetworkDatagram;
class QTimer;
class UdpClient : public QObject
{
Q_OBJECT
enum
{
HeartBeatTimerInterval = 5000 // 与服务器心跳保活定时器周期
};
public:
explicit UdpClient(QObject *parent = nullptr);
... | [
"wh08420@outlook.com"
] | wh08420@outlook.com |
d33f7a9088ab73939a5ae03df56ba58f71dc7b74 | c0574410257324c87221dddc8e9ae45906f53d8e | /library/src/auxiliary/rocauxiliary_ormql_unmql.hpp | c0b8516e48b6889c51f6fd601616e0beed78f35f | [
"BSD-3-Clause",
"BSD-3-Clause-Open-MPI",
"BSD-2-Clause"
] | permissive | jzuniga-amd/rocSOLVER | 35ddfd2d4352628fe538c8dcec1d0423a31776c8 | 1361711f95270872c4ce55ae4dceaaccafc6c8b6 | refs/heads/develop | 2023-08-31T16:04:47.507044 | 2023-08-02T00:08:51 | 2023-08-02T00:08:51 | 198,918,601 | 0 | 2 | BSD-2-Clause | 2019-08-30T20:05:37 | 2019-07-26T00:27:44 | C++ | UTF-8 | C++ | false | false | 6,520 | hpp | /************************************************************************
* Derived from the BSD3-licensed
* LAPACK routine (version 3.7.0) --
* Univ. of Tennessee, Univ. of California Berkeley,
* Univ. of Colorado Denver and NAG Ltd..
* December 2016
* Copyright (c) 2019-2022 Advanced Micro Devices, ... | [
"noreply@github.com"
] | jzuniga-amd.noreply@github.com |
a12ac18d5bac6788dda7bc4839e46ca9a6214e4f | 184180d341d2928ab7c5a626d94f2a9863726c65 | /issuestests/CGGP/inst/testfiles/rcpp_fastmatclcranddclcr/libFuzzer_rcpp_fastmatclcranddclcr/rcpp_fastmatclcranddclcr_DeepState_TestHarness.cpp | 80458b191f1c469598323334d97282ab89d35cc6 | [] | no_license | akhikolla/RcppDeepStateTest | f102ddf03a22b0fc05e02239d53405c8977cbc2b | 97e73fe4f8cb0f8e5415f52a2474c8bc322bbbe5 | refs/heads/master | 2023-03-03T12:19:31.725234 | 2021-02-12T21:50:12 | 2021-02-12T21:50:12 | 254,214,504 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,165 | cpp | // AUTOMATICALLY GENERATED BY RCPPDEEPSTATE PLEASE DO NOT EDIT BY HAND, INSTEAD EDIT
// rcpp_fastmatclcranddclcr_DeepState_TestHarness_generation.cpp and rcpp_fastmatclcranddclcr_DeepState_TestHarness_checks.cpp
#include <fstream>
#include <RInside.h>
#include <iostream>
#include <RcppDeepState.h>
#include <qs.h>
#inc... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
39eeac610b9ac2d46faf6965e8aca4391be462c8 | d956e1eac80a0b739e650eac4eaded3d06027b26 | /CXLMBG.h | d7875b9117d4b024889c68134501a239f3eebb05 | [] | no_license | Justliangzhu/gitskills | b42457126a945986bad62b84bc9cb21382efb10d | 957e796bcf5cffa1c6171a1acb1393d38930711f | refs/heads/master | 2023-05-30T22:57:30.523134 | 2021-06-22T02:12:50 | 2021-06-22T02:12:50 | 377,092,494 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,679 | h | #if !defined(AFX_CXLMBG_H__3C8F2C04_B128_48BC_809C_9803953776EF__INCLUDED_)
#define AFX_CXLMBG_H__3C8F2C04_B128_48BC_809C_9803953776EF__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CXLMBG.h : header file
//
#include "XLDataBase.h"
#include "resource.h"
///////////////////////////////////////... | [
"liangzhu_st@csu.edu.cn"
] | liangzhu_st@csu.edu.cn |
c7be08994ce936ff984584191119a436cebaac9d | df81135b7711691086abe2832bc97377d905c8e9 | /2016.02.22 TrailGame/DirectX3D_Framework_1.4/cGameObjectManager.cpp | 5c871ded84b01b5ba271a3a36ed66994099e02e1 | [] | no_license | kwansu/3DEngineProgramming_Practice | b52b806e569cec4457701308dd2390ce2670b537 | 26d43c251b7e9f810784dffb19ff0bfd19419d49 | refs/heads/master | 2023-04-21T16:54:10.951063 | 2021-05-17T06:32:15 | 2021-05-17T06:32:15 | 368,079,698 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 3,859 | cpp | #include "stdafx.h"
#include "cGameObjectManager.h"
cGameObjectManager* g_pGameObjects = cGameObjectManager::GetInstance();
cGameObjectManager::cGameObjectManager()
: m_pGrid(NULL)
, m_isDrag(false)
, m_isEdit(false)
, m_pPickObjec(NULL)
, m_pPlayer(NULL)
{
}
cGameObjectManager::~cGameObjectManager()
{
}
voi... | [
"kwansu91@naver.com"
] | kwansu91@naver.com |
1bde55496e378bbb2537d78c34debb50f16c6709 | 8adf8d94793e997e401b0b129e43e6644a6ac016 | /week15/dj_pq.cpp | 62acc113be6bb5c89c70b66b63e309f2c61236a0 | [] | no_license | siffi26/cp2_2016 | e9aef215e71abd5f0fbf511768626dab6dc1371d | 6134b23602f1f2906d1e3c55d7735415ae0a6895 | refs/heads/master | 2021-01-20T05:48:25.414299 | 2016-05-24T09:34:34 | 2016-05-24T09:34:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,855 | cpp | #include<cstdio>
#include<algorithm>
#include<queue>
#include<vector>
using namespace std;
struct halfedge{
int v,w; // w(?,v)=w. We don't really care where is it from.
bool operator<(const halfedge &rhs) const{
return this->w>rhs.w; /* priority_queue: max=first. We need min=first */
}
};
void solve()
{
int i,j... | [
"mzshieh@nctu.edu.tw"
] | mzshieh@nctu.edu.tw |
4f9cb6e158fd8075b9d9c34ce223d8978704d135 | 6869b4b82cb44408fc7c1ce85f0bc0228503daf9 | /14 Longest Common Prefix.cpp | fb390d37b8dbcdf7c0e7dbde9191c15ce28fab7f | [] | no_license | LisaJing/MyLeetCodeExercise | 82db37bb882321b70d1d0d07a7d394170b469891 | a216be71ed9412bf90da5011e26e0029d1202a9f | refs/heads/master | 2021-01-11T20:26:24.859583 | 2017-04-25T12:04:17 | 2017-04-25T12:04:17 | 79,115,426 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,270 | cpp | #include <iostream>
#include <string>
#include <vector>
using namespace std;
class Solution {
public:
string longestCommonPrefix(vector<string>& strs) {
int size = strs.size();
cout << "size: " << size <<endl;
string res;
if(size <= 0)
return res;
if(size == 1)
... | [
"lisajing_go@126.com"
] | lisajing_go@126.com |
67d85e246a197b8f3d8140dea0bab35a921ec92b | 4c3b3961b7b68ca9f36d2616f26120694ed7f08a | /TimeLine/20190218/netlib/v3/Threadpool.cc | 8687e4d170a85f37225457376faf6dc7b9ee20ab | [] | no_license | moyin1004/learning | a459d35871997183d0088a258ac4f3ea9984327a | 29b4e3f28e1e7887fe66e417c5ace55b47ef43ea | refs/heads/master | 2023-08-31T03:54:39.073635 | 2023-08-22T16:15:45 | 2023-08-22T16:15:45 | 169,972,332 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,395 | cc | /// @file Threadpool.cc
/// @author moyin(moyin1004@163.com)
/// @data 2019-02-10 20:18:25
#include "Thread.h"
#include "Threadpool.h"
#include <unistd.h>
#include <iostream>
#include <functional>
using std::cout;
using std::endl;
using std::unique_ptr;
namespace wd {
Threadpool::Threadpool(size_t threadNu... | [
"moyin1004@qq.com"
] | moyin1004@qq.com |
a27c8d0d9c26e37d794accb5e660c581987e93ba | 2bfe2a09762fb6bfdded4201e8353d47b8462ef4 | /include/ast/ast_pointer.hpp | 3774223ebe47bcee6ef011052db001a658f47cef | [] | no_license | TeDand/MIPS-Compiler | 75d4bd0468978e746153de0723e60fca824ec20d | afe399331a539a6249157ca5dae78bb202e6a199 | refs/heads/master | 2022-11-26T19:11:26.646234 | 2020-08-05T12:46:13 | 2020-08-05T12:46:13 | 285,284,135 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 734 | hpp | #ifndef ast_pointer_hpp
#define ast_pointer_hpp
#include <string>
#include <iostream>
#include "ast_expression.hpp"
class PointerDec
: public Expression
{
private:
int points;
ExpressionPtr variable_name;
public:
PointerDec(const int points_id, const ExpressionPtr &variable_id)
... | [
"tejas-d@hotmail.com"
] | tejas-d@hotmail.com |
4ca9d1d5f75faeb28690fb5906ed8a3597a674ce | 1851358be69e2a89bd00936dcdbe9b3ed672cbfe | /Base c++ Project/map.cpp | 21d8999a0d5425a69ad4023f017d715af4143f8c | [] | no_license | cerealal/C-First-Project-Text-RPG- | 095e46a58038e5963555a420b7c0f5ee341a147a | 6524419c39f4779242e83cefdfa92c5dd1a5d541 | refs/heads/master | 2020-12-18T13:33:45.319217 | 2020-02-01T04:37:13 | 2020-02-01T04:37:13 | 235,401,952 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 183 | cpp | #include <iostream>
#include <string>
#include "globalvars.h"
#include "functions.h"
#include "mapstructure.h"
using namespace std;
int mapstructure(){
}
int mapdisplay(){
} | [
"noreply@github.com"
] | cerealal.noreply@github.com |
31e35ab950fcd1fa3facc191d8b6d1fa1c4690d8 | 8cf32b4cbca07bd39341e1d0a29428e420b492a6 | /contracts/libc++/upstream/test/std/strings/basic.string/string.modifiers/string_op_plus_equal/string.pass.cpp | 5df1ce8280be36ddd0ffcc7a202a2a275ebd6856 | [
"MIT",
"NCSA"
] | permissive | cubetrain/CubeTrain | e1cd516d5dbca77082258948d3c7fc70ebd50fdc | b930a3e88e941225c2c54219267f743c790e388f | refs/heads/master | 2020-04-11T23:00:50.245442 | 2018-12-17T16:07:16 | 2018-12-17T16:07:16 | 156,970,178 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,065 | cpp | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===---------------------------------... | [
"1848@shanchain.com"
] | 1848@shanchain.com |
9fd7c654dd8c9e3df9672d94cd1832400d064708 | 138e198af877de7ae0adccc5207d70c282952ee1 | /LearnJniAndNdk/app/src/main/jni/com_example_asus1_learnjniandndk_JNIUtil.cpp | d51cde807dc8d9c422d1b16879fef20c171378f7 | [] | no_license | brice-liu/PracticeEveryDay | f8967f5881f2ae1a589910911544d84e78b2e255 | 9cab30c08da76585c4fc2c54feb035bd90f4dd91 | refs/heads/master | 2021-10-14T09:44:00.483488 | 2019-02-04T08:07:04 | 2019-02-04T08:07:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 269 | cpp | #include "com_example_asus1_learnjniandndk_JNIUtil.h"
JNIEXPORT jstring JNICALL Java_com_example_asus1_learnjniandndk_JNIUtil_getWorld
(JNIEnv *env, jclass) {
// new 一个字符串,返回Hello World
return env -> NewStringUTF("Hello World ZZZZZ");
}
| [
"273104241@qq.com"
] | 273104241@qq.com |
fd4822e57fd63b4e51cdcf6ad644ad1ae9be4d6a | 1ebed5f4026921e6bb7e677e122b6c09297e20ac | /dylib_export.h | 4a42f3fb5c86eb7d7b487bed90b7afa12cb84c64 | [] | no_license | BachelorDegree/ChunkServer | 8f9dab422235b854fbd97973e35d8082ecda5e81 | f8c04a5a6139b4f049e5755c5d50acd5e5686bd9 | refs/heads/master | 2021-04-17T15:30:14.517592 | 2020-04-08T06:33:01 | 2020-04-08T06:33:01 | 249,455,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 397 | h | #pragma once
namespace grpc
{
class Service;
class ServerCompletionQueue;
}
class SatelliteClient;
extern "C"
{
const char * EXPORT_Description(void);
void EXPORT_DylibInit(const char *);
grpc::Service * EXPORT_GetGrpcServiceInstance(void);
void EXPORT_OnWorkerThreadStart(grpc::Serv... | [
"i@bokjan.com"
] | i@bokjan.com |
f1c093f38cf4d3168f990859f050b3d2ffd5689e | b0b8e9d356e70d0c14fa9260620780b46854c150 | /qfloat/test1.cc | b8a34d2db3bff1d3dc541e077ab6c33d7c421cca | [] | no_license | emsr/maths_cephes | 5d7251f42d308660956d82e0e2c37de2da4fae2c | 32ea96abe260737ea274b8362e483da3b0b13eca | refs/heads/master | 2022-04-11T09:54:29.231597 | 2020-03-30T22:43:19 | 2020-03-30T22:43:19 | 109,444,229 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,811 | cc | #include <stdio.h>
#include "qfloat.h"
qfloat w, x, y, z;
char str[80];
int
main()
{
int i;
/*
asctoq( "1.4", &x );
asctoq( "1.5", &y );
*/
x = "1.4";
y = "1.5";
z = x + y;
qtoasc( &z, str, 10 );
printf("1.4 + 1.5 = %s\n", str);
/* i = x + y; */
/*
I = z;
i = *(int *) &I;
printf("int value = %d\n", i);
*... | [
"3dw4rd@verizon.net"
] | 3dw4rd@verizon.net |
855fe33fec228eaea3f55e1dcbb43e5a62d8587e | 9af8cbdb48459f0e88b053fba67248a35561aab5 | /httpserver.cc | f73f9038194440cd0083cfcd98761ebb55dac52b | [
"MIT"
] | permissive | wangjiekai/unixtar | 349860127b8b159342103cb27470a18b622af963 | a244dcc0d4e7a990be2e89db0ac6c6ba4a2cd632 | refs/heads/master | 2023-04-21T02:00:15.561478 | 2021-05-12T10:49:39 | 2021-05-12T10:49:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,889 | cc | #include "httpserver.h"
#include "log.h"
#include <unistd.h>
HttpServer::HttpServer()
: ServerBase() {
}
HttpServer::~HttpServer() = default;
HttpServer::HttpNetThread::HttpNetThread()
: NetThreadBase() {
}
int HttpServer::HttpNetThread::_OnReadEvent(tcp::ConnectionProfile *_conn) {
assert(_co... | [
"16602809965@163.com"
] | 16602809965@163.com |
5542c1344b58729a79c6a151685caf1789a182c5 | 653ebcf6aaacc20319e2770297e850848df2b888 | /src/matrix.cpp | 4ef6a22934a41598b8ef76ca80ae7534c702392a | [
"MIT"
] | permissive | alasher/slab | 72b37bb655e79df0ff709066764fe3a1557ec10b | 2ce39eb71f16c7f92811cfd3a3be883a61d664a3 | refs/heads/master | 2020-06-10T19:45:27.956599 | 2019-03-07T04:06:15 | 2019-03-07T04:33:32 | 75,893,361 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,542 | cpp | #include <slab/matrix.hpp>
namespace slab {
Matrix::Matrix(const size_t na) : n(na) {
m = new float[n * n];
for (int i = 0; i < n * n; i++) {
m[i] = 0.0f;
}
}
Matrix::Matrix(const Matrix &other) : n(other.n) {
m = new float[n * n];
if (n == other.n) co... | [
"austinlasher@gmail.com"
] | austinlasher@gmail.com |
cda660bafe99864cb5e80c26943debe3c5102d69 | 392589f6442c6931d4e961a32e7753d41ce94ff6 | /CbersApp/pluginmanager.cpp | 5ea1f080c442aca3bb393176210c747a1e56ad77 | [
"Apache-2.0"
] | permissive | luzhoujiang/CbersUI | 303d8953c6341b4fbec8b623ca39660a89cf046b | 85bfe9f16e0ff17361875461818006efc51d8d28 | refs/heads/master | 2021-09-24T14:11:26.740610 | 2018-10-10T06:39:27 | 2018-10-10T06:39:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,477 | cpp | #include "pluginmanager.h"
#include "x3py/nonplugin/scanplugins.h"
#include "x3py/manager/x3manager.h"
#include "x3py/manager/iplugins.h"
int CPluginManager::MINID = 3000;
int CPluginManager::MAXID = 3999;
CPluginManager::CPluginManager(void)
{
m_nNextID = MINID;
m_nLastTool = -1;
}
CPluginManager::~CPlugin... | [
"longhuan@visiontek.cn"
] | longhuan@visiontek.cn |
27f30b213531213a837d8279fb93f1095b0dde86 | 92daa19a80d197e591c88a73307f9a651dcc0111 | /TrabajoFinal/FastIterative-BigArraySeq/grilla_FI.hpp | 07da4eb77c64bf45b93aa326735ed42da81a394d | [] | no_license | Alex23013/Parallel-Algorithms | e346bacec7bc923944adc148b5dea797cb89855d | 4e4745ea883721024f09ff2bb1d65b875b47786c | refs/heads/master | 2020-03-07T05:54:26.950742 | 2018-06-29T03:57:47 | 2018-06-29T03:57:47 | 127,308,601 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,272 | hpp | #ifndef GRILLA_FI_H
#define GRILLA_FI_H
#include <stdio.h>
#include <iostream>
#include <vector>
using namespace std;
struct cCell {
//The velocity
float vel;
//The time of arrival of the wave
double t;
//The index of the cell
int i,j;
//A state... just in case
string state;
//The ne... | [
"alecornejolupa2013@gmail.com"
] | alecornejolupa2013@gmail.com |
d7d90647ec420180041bc8cadedb445e167028ff | e0992373232fceadb8b9c0efed93d8d6465e5014 | /src/Vedio_publisher.cpp | 71e2e8ace979c8bd610607ca5211448ffa1c173e | [] | no_license | zisuina/my_image_transport1 | 8f40588b5063837e12cc31d8ac50187d356b2eaa | 799e9d4079fdf82fbab8b939602125a30c5c5ae0 | refs/heads/master | 2020-03-27T10:36:37.629033 | 2018-09-17T04:50:40 | 2018-09-17T04:50:40 | 146,432,327 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,054 | cpp | #include <iostream>
#include <stdio.h>
#include <ros/ros.h>
#include <image_transport/image_transport.h>
#include <cv_bridge/cv_bridge.h>
#include <opencv2/opencv.hpp>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include "PubOperations.h"
#include "boost/program_options.hpp"
#include <rosbag... | [
"ll@gs-robot.com"
] | ll@gs-robot.com |
1ed7d32a5ad37e5444f33452af92ff989a4b9c0c | 0d2d3f5722091fc83842b20991864b5b78c85d5e | /FuckLeetCode/n_queensii.cpp | 33d3135d97414a8a1d68528e1c351bc669e852bc | [] | no_license | 0x0all/FuckInterview | 010d586915054a3d82203705d094c1e1c5803de6 | d83cc1dc1583bd32678494feb524e35b70357d91 | refs/heads/master | 2020-12-25T00:50:43.585098 | 2014-03-03T01:32:45 | 2014-03-03T01:32:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 857 | cpp | /*
* Follow up for N-Queens problem.
*
* Now, instead outputting board configurations, return the total number of distinct solutions.
*/
#include <iostream>
void Solve(int n, long long col, long long ld, long long rd, int &count) {
long long bitmask = (1LL << n) - 1;
if (col == bitmask) {
count++;
... | [
"82560990@qq.com"
] | 82560990@qq.com |
670a4e065b504a05ace4907c719e508ee0780609 | 5ed0f107a2a7095ec2e361e8ec102b05a64096c3 | /src/checkpoints.cpp | 62bfd523e78969d7a79a3901aab283c32e21a849 | [
"MIT"
] | permissive | ruevers/lili | 0a9f71286ebf9c3120480cec2d496a034e9bb1f4 | 264d6e6f0e264ecd66109842c18b6bd2b5e5a850 | refs/heads/master | 2021-07-02T06:10:48.101782 | 2020-08-18T22:00:37 | 2020-08-18T22:00:37 | 136,423,237 | 1 | 0 | null | 2018-06-07T04:50:11 | 2018-06-07T04:50:11 | null | UTF-8 | C++ | false | false | 3,477 | cpp | // Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2015-2017 The LILI developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-li... | [
"hakix777@gmail.com"
] | hakix777@gmail.com |
0ac4235ed58e8333b05385d20fef49250c16cf4a | 56b39e09838edb807f4d11c9e913e87e486eefaa | /projekt/product_extract.cpp | fb44d18dc0f9dc36f074963f4d3c587d4bb16e2b | [] | no_license | Luckays/coffee | 2cfde6683f19b5a747d12d15a772c84ad78c7210 | 93bf8c6de20d75efcd6e15799fffb27b7130c0a4 | refs/heads/master | 2020-08-28T04:29:36.071789 | 2019-12-12T12:36:06 | 2019-12-12T12:36:06 | 217,590,497 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,324 | cpp | #include "product_extract.h"
#include "ui_product_extract.h"
#include <QSqlTableModel>
product_extract::product_extract(int h,QWidget *parent)
: QDialog(parent),
ui(new Ui::product_extract)
{//open favorite, set colour, title and icon
ui->setupUi(this);
this->setStyleSheet("background-color: ;");
se... | [
"56603748+Luckays@users.noreply.github.com"
] | 56603748+Luckays@users.noreply.github.com |
fe8338b5f859c35e10f70b5bb8d0bfd40e8933b2 | ae94d634b7ba20328886ad18f0615b6d376ac503 | /count_primes.cpp | 56e95cc36d9937fc41f922fe2c5387bdce1ca7fd | [] | no_license | HavinLeung/cpp_leetcode | 9cfa30d57336145d648be68c7eaecd8e4d3bc95c | 3b04de407ceae6ffb669dbe9767254e3c295a18f | refs/heads/master | 2023-02-20T04:52:33.127121 | 2021-01-17T22:50:12 | 2021-01-17T22:50:12 | 322,943,210 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 668 | cpp | #include <vector>
#include <array>
#include <algorithm>
#include <unordered_map>
#include <string>
#include <iostream>
#define ll long long
#define ul unsigned ll
using std::vector;
class Solution {
public:
int countPrimes(int n) {
// todo - more efficient version
if (n <= 2) return 0;
vector<i... | [
"havinleung98@gmail.com"
] | havinleung98@gmail.com |
284fb3158ed4dc0e8023efe9791ceeef815724e3 | 84c94cb8d791c7ff373ea4f212ea34c8095c8b5d | /Homework_CPP_OOP/Homework_12_realy_this_01/TEST.cpp | d2811a8083eb5e1ce705776ef000ba5e5753a31b | [] | no_license | AlexIvFreeworld/cpp_course_practice | 52584996967bdcb87d74521187c54558319b6859 | 140c56abb539ef7720a714009327d898a9eb2c7e | refs/heads/master | 2020-11-28T05:30:16.869324 | 2019-12-23T09:35:03 | 2019-12-23T09:35:03 | 229,716,600 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,051 | cpp | #include "Header.h"
#include "Header_TEST.h"
bool test_square_positive() {
cout << "test_square_positive : ";
point p1, p2;
p1.set_X(1);
p2.set_X(2);
p1.set_Y(2);
p2.set_Y(4);
int result = 2;
if (result == square(p1, p2)) {
return true;
}
else {
return false;
}
}
bool test_square_positive_p2_to_p1() {
c... | [
"alex.iv.freeworld@gmail.com"
] | alex.iv.freeworld@gmail.com |
bd2b710d493df7a2752e0a919c372d7d3a2f8f37 | b10a3a4582f532cc6c2370c24b61b2ddb909d36d | /common/inc/modbus_common.h | e5777fdfd2448384b6f1c48fc00fcae87607315a | [
"CC0-1.0"
] | permissive | lunarpulse/stm32template | b595f08761d09ce8204c2ad34cff7d9a5f931a11 | c7a55661c21a3ea0266b1e3950c6fb5210ccff25 | refs/heads/main | 2023-07-03T04:45:08.170976 | 2021-07-22T18:08:53 | 2021-07-22T18:08:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,258 | h | /*
* Common modbus types for inclusion by
* modbus_defs.h and packets.h
*/
#pragma once
#include "basic.h"
#include <stdint.h>
// 21 functions listed in:
// https://modbus.org/docs/Modbus_Application_Protocol_V1_1b.pdf
// But we're only using 3 of them.
enum class FunctionCode : uint8_t
{
ReadMultipleRegister... | [
"noreply@github.com"
] | lunarpulse.noreply@github.com |
9efffbf7210a40910c2e18d00bbd7635fb6cc396 | 5ee7b59b955ebde297f0dd924382a96a79771681 | /appplnr/PnlPlnrUsgHeadbar.h | e37e762e47b7e1979dbf5273fad93d5dfbe48539 | [] | no_license | epsitech/planar | a3b22468e6718342218143538a93e7af50debee0 | e97374190feaf229dac4ec941e19f6661150e400 | refs/heads/master | 2021-01-21T04:25:32.542626 | 2016-08-07T19:20:49 | 2016-08-07T19:20:49 | 48,572,177 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,765 | h | /**
* \file PnlPlnrUsgHeadbar.h
* app access code for job PnlPlnrUsgHeadbar (declarations)
* \author Alexander Wirthmueller
* \date created: 4 Dec 2015
* \date modified: 4 Dec 2015
*/
#ifndef PNLPLNRUSGHEADBAR_H
#define PNLPLNRUSGHEADBAR_H
#include "AppPlnr_blks.h"
/**
* PnlPlnrUsgHeadbar
*/
namespac... | [
"awirthm@gmail.com"
] | awirthm@gmail.com |
897fa25a536cbeda23f41932ccfd786fa8735eb0 | b2c3c301d23d5acfbc649eb569826816cb740316 | /test/extensions/common/tap/tap_config_base_test.cc | c01f992e43c882a8084671f8d84670992bb7c3a3 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | datuanmac/envoy | 7dc90a9b6bacf2bbec360155b16085bfcded2538 | e8ecf08f92941c4a2a892efc9b7dd672cfbb3fe8 | refs/heads/master | 2020-04-25T15:16:35.020274 | 2019-02-27T05:47:13 | 2019-02-27T05:47:13 | 172,872,851 | 0 | 0 | Apache-2.0 | 2019-02-27T08:14:28 | 2019-02-27T08:14:28 | null | UTF-8 | C++ | false | false | 3,159 | cc | #include "common/buffer/buffer_impl.h"
#include "extensions/common/tap/tap_config_base.h"
#include "gtest/gtest.h"
namespace Envoy {
namespace Extensions {
namespace Common {
namespace Tap {
namespace {
TEST(AddBufferToProtoBytes, All) {
{
Buffer::OwnedImpl data("hello");
envoy::data::tap::v2alpha::Body b... | [
"noreply@github.com"
] | datuanmac.noreply@github.com |
ffe82f43ef07e884ab0624e405b785b9d52966d2 | cec3337337b428d45efb561339b418d85dd760b4 | /C++/Navio/MB85RC04.h | 386bfa9b568620bb9b46e56c74472418ce5b1e69 | [] | no_license | ernieift/Navio | 49341e4de21dc998627b2805e99c803fb6bc880d | ed34f0e6dbaffa720f4baae1e3b18a417360df9c | refs/heads/master | 2021-01-15T08:42:43.505556 | 2014-10-29T15:00:44 | 2014-10-29T15:00:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,098 | h | /*
MB85RC04 driver code is placed under the BSD license.
Written by Egor Fedorov (egor.fedorov@emlid.com)
Copyright (c) 2014, Emlid Limited
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistrib... | [
"egorf.fedorovegor33@gmail.com"
] | egorf.fedorovegor33@gmail.com |
292f52c9b295a5e458a6c646930c23469b13e56f | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-iam/source/model/DetachGroupPolicyRequest.cpp | 4aba85f03eb7cc85a072b9aae28c6b4539d215af | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 989 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/iam/model/DetachGroupPolicyRequest.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>
using namespace Aws::IAM::Model;
using namespace Aws... | [
"sdavtaker@users.noreply.github.com"
] | sdavtaker@users.noreply.github.com |
00a51d4c450ddca770db63e2b9f46bd41bbd34bd | 8a45f1803d67e98aa59421981c95a5865d4dbf60 | /appendix/sample_const.cpp | 3a1992441534d0b44e93f880827710edd80a1d56 | [] | no_license | walter-cc/cpp | 1a2e2f01692be15ad1224d6abe76c6b766d08fa4 | 36b5d184d7b4e69753750d5132e87754957f7d2a | refs/heads/master | 2021-12-30T21:40:22.305507 | 2021-08-06T16:11:28 | 2021-08-06T16:13:21 | 162,880,321 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,636 | cpp | /*===============================
執行結果
cc@appendix$g++ sample_const.cpp -o test
sample_const.cpp: In function ‘int main()’:
sample_const.cpp:37:18: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
char *strB = "test";
^
cc@appendix$./test
3
5
4
6
Test
Test
Test... | [
"imwalter8@gmail.com"
] | imwalter8@gmail.com |
197038c5161e45f0849d0e6b8a5c633974175049 | 6059ef7bc48ab49c938f075dc5210a19ec08538e | /src/plugins/monocle/pagenumlabel.cpp | 794caab794a0341ed2e6a780b517e29941bc5766 | [
"BSL-1.0"
] | permissive | Laura-lc/leechcraft | 92b40aff06af9667aca9edd0489407ffc22db116 | 8cd066ad6a6ae5ee947919a97b2a4dc96ff00742 | refs/heads/master | 2021-01-13T19:34:09.767365 | 2020-01-11T15:25:31 | 2020-01-11T15:25:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,466 | cpp | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organiz... | [
"0xd34df00d@gmail.com"
] | 0xd34df00d@gmail.com |
1f18c4d8601ff8cc22c53508d38e1b71e848fead | ef7129ada2d77e4283ae29ff3cb6a64e43e09154 | /lte/gateway/c/core/oai/tasks/nas5g/src/ies/M5GSRegistrationResult.cpp | 80f3ddd2e21d85847d8ea28af82de362108578e9 | [
"BSD-3-Clause"
] | permissive | saurabhm3hra/magma | 57fcee8209f8aafe95626cea7ab7e4292abda37d | b4fbd71378935a35cabb13ca3762708033e09b88 | refs/heads/master | 2021-12-15T23:48:29.373368 | 2021-12-04T00:30:56 | 2021-12-04T00:30:56 | 188,944,355 | 1 | 0 | NOASSERTION | 2021-06-11T05:58:13 | 2019-05-28T03:05:00 | Go | UTF-8 | C++ | false | false | 2,691 | cpp | /*
Copyright 2020 The Magma Authors.
This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHO... | [
"noreply@github.com"
] | saurabhm3hra.noreply@github.com |
c8241310b0a3649cb18c9ce7d880d53359ac5531 | ef9d89774f6b8eee203a6f3eaa381d5a5bfdf03c | /BaseLib/Socket.h | 5cf1d6fb0439f676c835bf7a1614cdd6dcfdca38 | [] | no_license | GrenderG/dbo-server | 71862f404e61937c9a3905068f7cf027460f76eb | afedcfc9a208a2680d42eb3d34b7f55af072a3c2 | refs/heads/master | 2021-09-04T02:25:49.570079 | 2018-01-14T16:58:22 | 2018-01-14T16:58:22 | 276,384,265 | 1 | 0 | null | 2020-07-01T13:24:57 | 2020-07-01T13:24:56 | null | UTF-8 | C++ | false | false | 5,067 | h | #ifndef _SOCKET
#define _SOCKET
#pragma once
#include "Base.h"
#include "GameString.h"
#include "SocketAddr.h"
enum SOCKET_ERROR_LIST
{
SOCK_OK,
SOCK_ERROR = -1
};
class Socket
{
public:
Socket() {};
~Socket() { Close(); };
static int StartUp();
static int CleanUp();
int Create();
int Close();
int Bind(... | [
"ivan_lamega_13@hotmail.com"
] | ivan_lamega_13@hotmail.com |
ba245c6acb420cd0ea8ade0a6cbc98c1731e6898 | 35eb88ce19d8e94bcf85f7257206eda1cf4f10be | /namespaces.cpp | 9051574e8d4d63ac78bc2c9948ee1fa8d36662c3 | [] | no_license | diwii/helloworld-from-diwiii | 79aabb4407c2fc4a60ed99ec616678148db970d6 | 48b3d3b5632c67f62f633d569e7c97c6275ece2a | refs/heads/master | 2023-01-10T06:59:31.195636 | 2020-11-06T23:00:57 | 2020-11-06T23:00:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 817 | cpp | /**
* Vienā blokā nedrīkst vairrākārt definēt mainīgos ar vienādiem nosaukumiem.
*
**/
#include <iostream> // Input/Output plūsmas atbalsts
using namespace std; // Izmantot nosaukumus no C++ standarta bibliotēkas
namespace pirma {
int vertiba = 500; // Mainīgais izveidots iekš namespace
}
/*
* Galvenā progra... | [
"valdis.locs.web@gmail.com"
] | valdis.locs.web@gmail.com |
5aafb272cdf95a822efd4364369313667689741c | de7e771699065ec21a340ada1060a3cf0bec3091 | /sandbox/src/java/org/apache/lucene/codecs/idversion/SingleDocsEnum.cpp | 62ae00f8449516434afb0b7c405b180dd1b69f27 | [] | 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 | 1,059 | cpp | using namespace std;
#include "SingleDocsEnum.h"
namespace org::apache::lucene::codecs::idversion
{
using PostingsEnum = org::apache::lucene::index::PostingsEnum;
using BytesRef = org::apache::lucene::util::BytesRef;
void SingleDocsEnum::reset(int singleDocID)
{
doc = -1;
this->singleDocID = singleDocID;
}
int ... | [
"smamunr@fedora.localdomain"
] | smamunr@fedora.localdomain |
d7655fb23c422bdc7a42c57ef18189aca20175b6 | e3725ef770a4ad2042ce3bdee3f34146bc540d08 | /masssss.cpp | 4dfb04505eb96948b4aff831919537b32a69d975 | [] | no_license | vladdenisov/learning-cpp | 887ff1cc8d29fd4dccc0939023a861548ec540b3 | 828b9706724a6edec66735a838dc2b0256cbd8c7 | refs/heads/master | 2021-07-24T17:59:12.788113 | 2020-04-21T09:36:14 | 2020-04-21T09:36:14 | 149,314,959 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 855 | cpp | #include <iostream>
#include <exception>
#include <string>
using namespace std;
struct element {
int key;
string value;};
class mass {
private:
element m[10];
int k;
public:
mass() {k = -1;}
void inse(int tmp_key, string tmp_str) {
k++;
m[k].key = tmp_key;
m[k].value = tmp_str;
}
int put_all() {
fo... | [
"noreply@github.com"
] | vladdenisov.noreply@github.com |
89e18db60058c584c0f4097aad7a3742eb58af99 | 10c0b342ad91be81b455298cf8dead71e0f90eb1 | /inspectwall.cpp | 9b1c9658cfc94a487c58c253a14be76de1c6612f | [] | no_license | oogab/programmers | 247a5bf1018cd9eb915eec7532b025c948324b10 | 716ee3f52bc75cdbc0ab6046fe36bba960191159 | refs/heads/master | 2020-12-20T04:33:58.793855 | 2020-06-12T08:24:42 | 2020-06-12T08:24:42 | 235,963,590 | 0 | 0 | null | 2020-04-03T15:41:32 | 2020-01-24T08:15:15 | Python | UTF-8 | C++ | false | false | 2,946 | cpp | #include <string>
#include <vector>
#include <algorithm>
using namespace std;
int solution(int n, vector<int> weak, vector<int> dist) {
int answer = 10;
sort(dist.begin(), dist.end(), [](int a, int b) { return a > b; }); // 이렇게 사용할 수 있는거 신기하다.
int fr_num; // friend_number 선별할 친구의 숫자.
// 시작점을 바꿔가면서 외벽... | [
"oogab@naver.com"
] | oogab@naver.com |
532163508fc2262943c300cee034e2e56103fc69 | 72b35773f4570206f266f7739a701039b7cf9806 | /src/class/Mesh.h | b9728cf209407ac60edbda85a7ba2ca10c908665 | [
"Apache-2.0"
] | permissive | Kaitou345/nd_renderer | d2f7007c50e7eeb042419d17e47c844b51722b4b | b31e9a62384be1dc2272829614cd1e2403c409f4 | refs/heads/main | 2023-08-16T10:55:54.514979 | 2021-09-01T14:05:56 | 2021-09-01T14:05:56 | 402,081,498 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 584 | h | #ifndef MESH
#define MESH
#include <pch.h>
#include "VertexBuffer.h"
#include "IndexBuffer.h"
#include "shader.h"
class Mesh
{
public:
inline Mesh() = default;
Mesh(std::vector<GLfloat>& vertices, std::vector<GLuint>& indices);
void AddData(std::vector<GLfloat>& vertices, std::vector<GLuint>& indice... | [
"noreply@github.com"
] | Kaitou345.noreply@github.com |
75692cceb74f51f40bbb36b314a4920d3f052fcd | e0381dddf45192f4c2d4ebf789974f6db87b86c4 | /eBox_STM32F1/common/edriver/WS2812B.cpp | 658b0abd8598ed2470fe77d1a96000671462da8e | [] | no_license | longsky19856/SI4432_TEST | e6fa6164795224970248e97b86bc308f5a1a6187 | 7e6f480cddcf1512a0769d767ca680f165f88e7b | refs/heads/master | 2021-09-01T18:24:11.686442 | 2017-12-28T07:20:56 | 2017-12-28T07:23:45 | 108,821,433 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 14,198 | cpp |
/*===========================================================================
* 程序名称:
* 源文件名: WS2812B.cpp
* 创建日期: 2017.09.14
* 作 者: xzwj
* 网 站:http://www.cnblogs.com/xzwj/
* 版本说明:
*---------------------------------------------------------------------------
* 硬件环境:
*
*---------------------------... | [
"lushichao8@163.com"
] | lushichao8@163.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.