blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d0148f7934401a837a240abac41f7199a6315b96 | 52146e6a28701dbe41f70035832e23a787598684 | /thirdparty/Kinetis-SDK/middleware/multicore/erpc/erpc_c/infra/erpc_message_loggers.h | 86b528a3fd8b20cbba93c2764307d160e1d6d866 | [
"BSD-3-Clause",
"BSD-3-Clause-Clear"
] | permissive | hiteshrai/redurchin | 0a47a589957f95385e1657960b5475f7b78494bd | 4cfd6f93d4c9ee0b0166b6ea25b7f266695cb32d | refs/heads/master | 2021-06-09T15:43:56.299547 | 2019-10-23T02:21:45 | 2019-10-23T02:21:45 | 146,197,681 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,364 | h | /*
* The Clear BSD License
* Copyright 2017 NXP
* All rights reserved.
*
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted (subject to the limitations in the disclaimer below) provided
* that the following conditions are met:
*
* o Redistributions o... | [
"hiteshrai1013@gmail.com"
] | hiteshrai1013@gmail.com |
c5ebaa8be90584a4b402085b4ff0cd0050724255 | 904539f4fe3c381314b53b48d0d7126df60454f0 | /amd_sdk/src/Timer.cpp | a6e996cf3a6789692773aa0f396e5218b5c1bdb0 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | vr3d/ShadowFX | 09c6e501f3543117cf410d800d38ffcde10188fe | ee3dcce8744a6d11b7c8bb6a7dc46c072cf3b0c7 | refs/heads/master | 2021-01-19T07:23:57.658500 | 2016-03-03T01:53:59 | 2016-03-03T01:53:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,024 | cpp | //
// Copyright (c) 2016 Advanced Micro Devices, Inc. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
/... | [
"jason.stewart@amd.com"
] | jason.stewart@amd.com |
81eebe403a3245ff77aea525975cebe39c21b471 | 7c45d494e6a9afd7a1fae89e292d2eb16a1d9bde | /OrderBookSim/OrderBookSim/SimpleTraderOne.h | 14957f03ee108d80e39341c81f2d767da3e77293 | [] | no_license | jifengthu/OrderBookSimulatorWithOpenCL | 4bf6d6b8fb0909a1fa4ad48153f654d9b559811d | b3d9d3d5360120e3d31121d6845e0c134720a06f | refs/heads/master | 2023-03-17T18:37:25.870484 | 2013-05-30T20:57:21 | 2013-05-30T20:57:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 337 | h | #pragma once
#include "ITrader.h"
class SimpleTraderOne : public ITrader
{
private:
int _currentTime;
int _time;
OrderBook* _book;
double _cash;
int _participantId;
public:
SimpleTraderOne(void);
~SimpleTraderOne(void);
void notify(int currentTime, OrderBook* orderBook);
void notify(Trade* trade);
void pr... | [
"jcukcpl@gmail.com"
] | jcukcpl@gmail.com |
ac318aa23ba9acfc31f1be3a9580eb0d84d6ab8c | e3f87e7438d7c617d60b23d45a6e60e3f560d141 | /DirectX 12/ステートパターンを使った状態管理/Player側/Player2P.cpp | e51da3024fc8320893b2b077ce439b9c85513c6c | [] | no_license | sasakiR0590/Program-Code | 61c4e35a5f8b954e2fa27b8153b581d384f4e29b | 0584bc2f46043b6c04cf940f1fdb9ba43d3f5b80 | refs/heads/master | 2023-07-14T18:42:20.578497 | 2021-08-22T05:42:46 | 2021-08-22T05:42:46 | 398,721,900 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,741 | cpp | #include"class/Player/Player2P/Player2P.h"
#include"Data/HanbleData/HanbleData.h"
#include"class/Player/ActorState/Wait/Wait.h"
#include"class/Player/ActorState/SwingDown/SwingDown.h"
#include"class/Player/ActorState/Tackle/Tackle.h"
#include"class/Player/ActorState/Counter/Counter.h"
Player2P::Player2P()
{
_player_p... | [
"rinnderu0505@gmail.com"
] | rinnderu0505@gmail.com |
5f379d2c7631ac091c396e5c4153d75f0c23ec9f | ee32d46014c1f2fc5ec7bb833233c24237270933 | /1730A/main.cpp | 2fe336339b258312c06ae60462c2fb6796a2bf83 | [] | no_license | boxnos/codeforces | 42b48367d222cc58c2bc0f408469fc6a2732cec7 | fbc358fe7ddf48d48bda29e75ef3264f9ed19852 | refs/heads/master | 2023-08-27T21:18:44.163264 | 2023-08-26T18:06:59 | 2023-08-26T18:06:59 | 192,764,064 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,727 | cpp | #if !defined __clang__
#pragma GCC optimize("Ofast,unroll-loops")
#pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt")
#define _USE_MATH_DEFINES
#endif
#include <cstdio>
#include <cstring>
#include <utility>
#include <functional>
#include <array>
#include <limits>
//#include <ext/pb_ds/assoc_container.hpp>
//using namespa... | [
"boxnos@yahoo.com"
] | boxnos@yahoo.com |
3925eb875a4e71d49ee27aa1c1d6b03e52655edf | a09274b324f25cf167090f6b75b3f5eb56a6e1b5 | /1/1hw/11/11/11.cpp | 76dc099aef5c9578eda3140a2d748e392979762b | [] | no_license | shurik111333/homework | e409ddd5a0250c9544b2513ecf6c38a1ba98e65c | 7a97089572f1c316fd2bae620bfba8ff796822f1 | refs/heads/master | 2020-05-21T12:33:33.080528 | 2017-06-03T09:44:52 | 2017-06-03T09:44:52 | 47,825,887 | 1 | 1 | null | 2017-06-03T09:44:53 | 2015-12-11T12:36:12 | C++ | WINDOWS-1251 | C++ | false | false | 1,318 | cpp | // 11.cpp: определяет точку входа для консольного приложения.
//
#include <iostream>
using namespace std;
void qSort(int left, int right, int arr[])
{
int leftIndex = left;
int rightIndex = right;
int comparingElement = arr[(left + right) / 2];
while (leftIndex < rightIndex)
{
while (arr[leftIndex] < comparin... | [
"chudov.aleksandr94@gmail.com"
] | chudov.aleksandr94@gmail.com |
1847b54a8566b9548ca2e4bb467328fdf6dd761c | 51635684d03e47ebad12b8872ff469b83f36aa52 | /external/gcc-12.1.0/gcc/d/imports.cc | 6747ee5df27a459bd772b4246f655e23c1b48b06 | [
"LGPL-2.1-only",
"FSFAP",
"LGPL-3.0-only",
"GPL-3.0-only",
"GPL-2.0-only",
"GCC-exception-3.1",
"LGPL-2.0-or-later",
"Zlib",
"LicenseRef-scancode-public-domain"
] | permissive | zhmu/ananas | 8fb48ddfe3582f85ff39184fc7a3c58725fe731a | 30850c1639f03bccbfb2f2b03361792cc8fae52e | refs/heads/master | 2022-06-25T10:44:46.256604 | 2022-06-12T17:04:40 | 2022-06-12T17:04:40 | 30,108,381 | 59 | 8 | Zlib | 2021-09-26T17:30:30 | 2015-01-31T09:44:33 | C | UTF-8 | C++ | false | false | 5,484 | cc | /* imports.cc -- Build imported modules/declarations.
Copyright (C) 2014-2022 Free Software Foundation, Inc.
GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
any later ... | [
"rink@rink.nu"
] | rink@rink.nu |
8d97dafe78248c7f531550ccd5164078c25f7b8b | 85635724b2fca00487089b316516cc1ade4eff6b | /docs/Lab4/RF24.cpp | 6032c5474eae5d648d98e46444b861d500eb16d9 | [] | no_license | bjeong99/MazeTraversalRobot | 0d6aa1a8cb6b75cfda22e6fa390b43a808e3c1df | 386a0de5d08e31a639950e09701693dc13c8fb8f | refs/heads/master | 2020-12-03T23:55:55.391398 | 2020-01-03T06:44:35 | 2020-01-03T06:44:35 | 231,529,392 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,030 | cpp | /*
Copyright (C) 2011 J. Coliz <maniacbug@ymail.com>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
version 2 as published by the Free Software Foundation.
*/
#include "nRF24L01.h"
#include "RF24_config.h"
#include "RF24.h"
/************... | [
"noreply@github.coecis.cornell.edu"
] | noreply@github.coecis.cornell.edu |
985709fdecb867f42f240f6f1072febb52e49733 | 8929c305fc101641cbb615f5f4108a36d9aae9bb | /codeforces/755c.cpp | 56750339e5ad09175d8c5bed297930eed927e776 | [] | no_license | rresol/Practice | 629403d32bc0e2d80ad3769527ca6ab8338593c0 | 13b9bb892af6a051b23db5023a906078849365be | refs/heads/master | 2021-01-12T18:06:27.145251 | 2017-10-04T10:06:11 | 2017-10-04T10:06:11 | 71,325,176 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 696 | cpp | #include<bits/stdc++.h>
using namespace std;
bool visited[10005];
int trace(int parent[], int n, int i )
{
if(visited[i])
return parent[i];
if(parent[i]!=i) {
visited[i] = true;
parent[i] = trace(parent,n,parent[i]);
}
return parent[i];
}
int main()
{
int n;
cin>>n;
int parent[n+1];
int c... | [
"shashank.kumar.apc13@itbhu.ac.in"
] | shashank.kumar.apc13@itbhu.ac.in |
fc1d36afa95f48a7bf05dbd16237524615466c1d | 42a27c4eb1a673101a85458243f9f4e7dd5df339 | /Graph/Mother-Vertex.cpp | f60fe24793f87cdccfad32d13be41a94eb3489c1 | [] | no_license | arnavkundalia/Algorithms-and-Data-Structres_Extra | d5234e4e3537af2479a35b98f73d40d1a29f5668 | bf85d18283798605f32b8fed040a9a0a0a96e2cf | refs/heads/master | 2023-03-21T22:08:54.557840 | 2020-07-07T01:07:39 | 2020-07-07T01:07:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,332 | cpp | /*
Problem URL :- https://practice.geeksforgeeks.org/problems/mother-vertex/1
*/
//Initial Template for C++
#include <bits/stdc++.h>
using namespace std;
// } Driver Code Ends
/*
* Function to find if there is a mother vertex in the given graph
* V: number of vertices in the graph
* adj[]: graph represent... | [
"gjainiitr@gmail.com"
] | gjainiitr@gmail.com |
6afe2c8298981d8c74aa240d16971f7ef81c1e13 | 61e50889296080d0732a50a49897515fbc23f1b8 | /Lab/Scene.cpp | e05581781d69fdc4cc574079ea7c08a0e5f6833d | [
"MIT"
] | permissive | ysei/fizzim | 8f26c11b0a5b9544d4dae33acf17373c8a2dede4 | 42ccc6b4fa7ac1bc3cc8c35997c03cac159dda3b | refs/heads/master | 2021-01-15T22:34:09.263514 | 2014-01-28T15:41:36 | 2014-01-28T15:41:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,933 | cpp |
#ifdef WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif
#if defined(__APPLE__) && defined(__MACH__)
#include <OpenGL/gl.h> // Header File For The OpenGL32 Library
#include <OpenGL/glu.h> // Header File For The GLu32 Library
#else
#include <GL/gl.h> // Header File For The OpenGL32 Library
#include... | [
""
] | |
d37666163603082eed792c5617b5b2120818e026 | 077b52d6bf4438d2e0172531ba6acb27b1aaf8dd | /Inheritance/6/controller.hpp | b78842707e42d7c438dc98a5e0b53e6c1c106a88 | [] | no_license | bmvskii/OOP | a41ccf5a9862f6f112e8a82a25462bac4c605a64 | 810ad97eb418024cfac7beb66a8fff76cae73b90 | refs/heads/master | 2020-03-25T02:03:42.824530 | 2019-08-01T13:31:00 | 2019-08-01T13:31:00 | 143,271,973 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,467 | hpp | // (C) 2013-2016, Sergei Zaychenko, KNURE, Kharkiv, Ukraine
#ifndef _CONTROLLER_HPP_
#define _CONTROLLER_HPP_
/*****************************************************************************/
#include "date.hpp"
#include "expirypolicykind.hpp"
#include "utils.hpp"
#include <string>
#include <unordered_map>
#include <... | [
"evg.rogovoy@gmail.com"
] | evg.rogovoy@gmail.com |
7c96d7e577edbfdfe3d7c0c0c9d206aaf0d09a89 | 89d2197ed4531892f005d7ee3804774202b1cb8d | /GWEN/include/Gwen/ToolTip.h | d446649983df8c8f5704919ee46fef295c36d18e | [
"MIT",
"Zlib"
] | permissive | hpidcock/gbsfml | ef8172b6c62b1c17d71d59aec9a7ff2da0131d23 | e3aa990dff8c6b95aef92bab3e94affb978409f2 | refs/heads/master | 2020-05-30T15:01:19.182234 | 2010-09-29T06:53:53 | 2010-09-29T06:53:53 | 35,650,825 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 504 | h | /*
GWEN
Copyright (c) 2010 Facepunch Studios
See license in Gwen.h
*/
#pragma once
#include "Gwen/Controls/Base.h"
#include "Gwen/Gwen.h"
#include "Gwen/Skin.h"
using namespace Gwen;
using namespace Gwen::Controls;
namespace ToolTip
{
GWEN_EXPORT void Enable ( Controls::Base* pControl );
GW... | [
"haza55@5bf3a77f-ad06-ad18-b9fb-7d0f6dabd793"
] | haza55@5bf3a77f-ad06-ad18-b9fb-7d0f6dabd793 |
867f204b2eacf5487a0269205d9f9778566d3246 | 891b7bfb6798411a4d41e958a4bd1c622776a215 | /OpenGLQtApp/DockFrame.cpp | 997612ec19df095de288effd034d2d13dd313984 | [] | no_license | leonhardrocha-zz/OpenGLApplication | b078453c2b97775adb84eaaaa5ae838d40e3957e | 8b8ea087f8e62b118af980718b12f8e515e5838d | refs/heads/master | 2022-10-11T20:07:13.276709 | 2014-04-25T14:58:01 | 2014-04-25T14:58:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,420 | cpp | #include "DockFrame.h"
QColor bgColorForName(const QString &name)
{
if (name == "Black")
return QColor("#D8D8D8");
else if (name == "White")
return QColor("#F1F1F1");
else if (name == "Red")
return QColor("#F1D8D8");
else if (name == "Green")
return QColor("#D8E4D8");
... | [
"leonhardrocha@gmail.com"
] | leonhardrocha@gmail.com |
a150c8a88a62023e2020ccb5f5039f78092cb977 | f9bb5344bbec438b252d29197e35e60be57f7c58 | /g2o/src/g2o/core/robust_kernel_impl.cpp | 6363c7df0e183a0ecbf24ee03b75eba46bfa917b | [] | no_license | tanzby/orb_slam2 | 360796b4181dee161ef74ceb9c606d064a6fb3a0 | 95058cbc11a1db948fb91d89bdd8e46b5c33fe2b | refs/heads/master | 2020-09-15T02:26:37.623560 | 2019-11-22T06:04:16 | 2019-11-22T06:04:16 | 223,325,630 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,654 | cpp | // g2o - General Graph Optimization
// Copyright (C) 2011 R. Kuemmerle, G. Grisetti, W. Burgard
// 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 r... | [
"tanzby@outlook.com"
] | tanzby@outlook.com |
9f1d7a836cd408cc3b262b49250af198886dac95 | d86abcfa1266a8e6de573b197fd9a30c4bf7c1d5 | /tests/test_endpoint_set.cpp | e301b711625fbc5cb725d5d0bb3d6e1ccb9fc210 | [] | no_license | berkus/libuia | 68872f357ca28442f056b72f8b466e8c37ef0bb0 | 60adbe3669fae75a037aa1ff0b17569b1a4c335c | refs/heads/master | 2023-07-10T23:00:53.681151 | 2016-03-15T18:19:51 | 2016-03-15T18:19:51 | 43,468,092 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,328 | cpp | //
// Part of Metta OS. Check http://atta-metta.net for latest version.
//
// Copyright 2007 - 2014, Stanislav Karchebnyy <berkus@atta-metta.net>
//
// Distributed under the Boost Software License, Version 1.0.
// (See file LICENSE_1_0.txt or a copy at http://www.boost.org/LICENSE_1_0.txt)
//
#define BOOST_TEST_MODULE ... | [
"berkus@madfire.net"
] | berkus@madfire.net |
2fe355505f5db5badf0153f93c8f29d5324dd046 | 57439cb79bdd298ffaf096dc081bc61f625ef786 | /serial.cpp | 98ede6e782f79b45c80c1589780f9f590fd0b204 | [] | no_license | 6289526/machine_1_RASPI | cbe21c25c3b24d47889f9c335090994f389b225d | f9fbed081f8b1a0b87b0e246af9dfbc46108f1c8 | refs/heads/master | 2023-07-25T12:49:40.755236 | 2019-08-08T11:01:14 | 2019-08-08T11:01:14 | 403,712,786 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,529 | cpp | #include "serial.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <errno.h>
#include <termios.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
////////////////////////////////
// コンストラクタ //
////////////////////////////////
serial::serial(const char* fd_name, unsigned ... | [
"48006819+tokudairobocon@users.noreply.github.com"
] | 48006819+tokudairobocon@users.noreply.github.com |
7bbae805edc229f08c699385971b53dd887041d0 | e67ac6db3204e1acdd1cd16178905f63e4510b34 | /Empty project/Src/Core Code/Line2D.cpp | 63983ccdcc4bc97e2d1f81c569ee6554b3f72ebc | [] | no_license | nesa24/bgf3d | fd4959a0d838ff3811de7960630de16f53968c51 | 6e1aa4d451c7f0a1d56c555f6c75b09be6cf1941 | refs/heads/master | 2020-05-02T01:55:48.781811 | 2009-05-21T13:47:28 | 2009-05-21T13:47:28 | 32,896,083 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,713 | cpp | #include ".\line2d.h"
Line2D::Line2D(void)
{
m_PosStart.x = 0;
m_PosStart.y = 0;
m_PosEnd.x = 0;
m_PosEnd.y = 0;
m_iPrimitiveNbr = iVertexNumberLine2D;
//set initial layer
m_uiLayer = i2DPrimitiveInitLayer;
}
Line2D::~Line2D(void)
{
}
//////////////////////////////////////////////////////... | [
"lyDASHsBOK@579413f5-764d-0410-af70-c34dc4d35548"
] | lyDASHsBOK@579413f5-764d-0410-af70-c34dc4d35548 |
0a8da2fb4a0ad5bc61127cd784a8fe4de8029ee4 | 008d13edc16c97e93d0b720a504b470c444a4ec7 | /src/ImageLib/src/Filters/Gamma.cpp | 0c16ca81905b0e6d2889168b099e28d2db58bc30 | [
"MIT"
] | permissive | AndreyBuyanov/ImageProcessing | 7f3cab485e64235e30f71eb03eed2d348eba84b4 | 8af677d416ba32d2d4a07e84befbbb25abf5c602 | refs/heads/master | 2022-01-29T02:43:43.521266 | 2022-01-18T12:01:49 | 2022-01-18T12:01:49 | 173,819,198 | 0 | 1 | MIT | 2021-12-05T09:12:10 | 2019-03-04T20:49:48 | C++ | UTF-8 | C++ | false | false | 2,139 | cpp | #include "ImageLib/Filters/Gamma.hpp"
#include "ImageLib/ImageLib.hpp"
#include <cmath>
namespace ImageLib::Filters
{
Gamma::Gamma() :
m_Bitmap(nullptr),
m_ProgressEventHandler(nullptr),
m_FilterControlEventHandler(nullptr),
m_Thread(CreateThread(this)),
m_Gamma(0.01f) {}
void Gamma::ProcessBitm... | [
"andreew.12.87@gmail.com"
] | andreew.12.87@gmail.com |
2594e45e6e8b573d2bce4bdec6b052929433a831 | 7416235b0d156e9778766844141eec453ba5803e | /CPUDrivenGPUTest2/Software_d3d9_Driver/TestProjects/D3D9AlphaTestingTest/D3D9AlphaTestingTest/Main.cpp | 7878b7a32aa4c2d85179398cac58f749378e0492 | [
"Zlib"
] | permissive | code-tom-code/FPGAGPUTesting | 1dd575767226503c014e71337b43990a69870188 | 1ae15035637c1bdabc73fefd66e0046793666447 | refs/heads/master | 2023-08-04T12:02:43.399872 | 2023-08-03T04:29:29 | 2023-08-03T04:29:29 | 222,173,769 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,537 | cpp | #pragma once
#ifdef _DEBUG
#define D3D_DEBUG_INFO 1
#else
#undef D3D_DEBUG_INFO
#endif
#undef UNICODE
#undef _UNICODE
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
#include <stdio.h> // for printf
#include <d3d9.h> // for D3D9
#include <d3dx9.h> // for D3DX9
#include <vector>
#ifdef _DEBUG
... | [
"48116778+code-tom-code@users.noreply.github.com"
] | 48116778+code-tom-code@users.noreply.github.com |
a9716ae6a27a5f1ed8e0790065d44bbc85939b0a | e70cf2d50eda95b59c199c01e03901460c07a6ed | /bankAccountImplemnt.cpp | 91f91412aa6d98428649060c6f6791c53e6a8683 | [] | no_license | 3barney/Credit-Account-in-C-- | d6c7d1a3cddd06938801b386e3ced841425a418b | 9244e1e107bbebe48883a1e6183657f7c6290b64 | refs/heads/master | 2020-05-19T08:12:02.904822 | 2014-11-25T06:16:31 | 2014-11-25T06:16:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 907 | cpp | #include "bankAccount.h"
#include <iostream>
using namespace std;
BankAccount::BankAccount( int balance )
{
if (balance >= 0)
accountBalance = balance;
if (balance < 0)
{
accountBalance = 0;
cout << "Initial balance was INvalid, Account balance set to zero (0)";
cout << endl;
}
}
int BankAccount::getAccou... | [
"brnbsjm@gmail.com"
] | brnbsjm@gmail.com |
2c518744c7df095545ee23cf9bfd8d8b69b3f4d2 | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /media/learning/impl/learning_task_controller_helper.cc | 753dfb0940eedf6c8b93d9b602a7022bd288414b | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 4,295 | cc | // Copyright 2019 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 "media/learning/impl/learning_task_controller_helper.h"
#include <memory>
#include <utility>
#include "base/bind.h"
#include "base/threading/se... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
5e6cdb0b0f1a6255c0e09ad12c6919d30dc8ab07 | c67ea0d1c27f5cc709b52092e01adeb7e5779887 | /GameEngine/Generated Files/XamlTypeInfo.g.cpp | 29c9e73bee4914317702e233a183fdab881a8ba2 | [] | no_license | dufenmiao/SoftwareEngine | 921442c042c1d662227bf8306b4ecd14cc53891f | 098a08b0607fb684c6891f127f69fdee6199afba | refs/heads/master | 2020-05-29T11:39:44.698972 | 2015-05-20T16:14:56 | 2015-05-20T16:14:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,374 | cpp | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-----------------------------------------... | [
"imbosong@gmail.com"
] | imbosong@gmail.com |
0bb5bf09d3123b4922ac0d57826fef2569484a53 | 5ed6a17f8a5b5d3fd915061c3b0b0bc833e8b80d | /乘积小于K的子数组.cpp | 5272a882a0b96a33927b0f752ee725a700d470cb | [] | no_license | young1928/Cpp | 9b084b498a56586804f2f5bda055df2e43ff5e6f | 4a80a11976392f3cb936353a784d916966432f99 | refs/heads/master | 2023-04-12T18:23:22.115514 | 2021-04-19T14:34:41 | 2021-04-19T14:34:41 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 894 | cpp | //给定一个正整数数组?nums。
//找出该数组内乘积小于?k?的连续的子数组的个数。
//示例 1:
//输入: nums = [10,5,2,6], k = 100
//输出: 8
//解释: 8个乘积小于100的子数组分别为: [10], [5], [2], [6], [10,5], [5,2], [2,6], [5,2,6]。
//需要注意的是 [10,5,2] 并不是乘积小于100的子数组。
//说明:
//0 < nums.length <= 50000
//0 < nums[i] < 1000
//0 <= k < 10^6
class Solution {
public:
int numSuba... | [
"2664484273@qq.com"
] | 2664484273@qq.com |
985553c20cef580dd72b339d9b06961310df6b34 | 4933920a4543d0b82ca2c109a396f6d56b8e118c | /Interview Bit/Linked Lists/list_cycle.cpp | 2723822193f5467a2936f353fe15f19eb256f155 | [] | no_license | dRadest/CodingChallenges | e0baf44222be70be3f39cedeabe1929e15a76205 | 65a8e58fc27abf3d4322d1a55da587a907cc79b9 | refs/heads/master | 2020-04-01T22:50:00.384441 | 2019-03-29T09:52:36 | 2019-03-29T09:52:36 | 153,728,863 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 947 | cpp | /*
* https://www.interviewbit.com/problems/list-cycle/
*
* Given a linked list, return the node where the cycle begins. If there is no cycle, return null.
*
* Try solving it using constant additional space.
*/
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ... | [
"progdrad@gmail.com"
] | progdrad@gmail.com |
56aa62a0533a1b0eced33ee3c280162ef86e5298 | da103d1c07f5d0ba3c41b245b5b0d7baeddc0418 | /codesamples/circlelights/circlelights.ino | 736a0e5f1997d6ca32cbeb1b4665ffe7256d4592 | [
"MIT"
] | permissive | tehfedaykin/CodingWithJewelbots | 0a9fd4796e907869fe985cf7f41422c15918ef3f | 47fa589da62f0e3c23b52d6291567d2ff0232104 | refs/heads/master | 2021-01-01T19:28:07.845594 | 2018-11-01T13:58:19 | 2018-11-01T13:58:19 | 98,597,420 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 518 | ino | void setup() {
// put your setup code here, to run once:
}
LED light;
Timer timefor;
void loop() {
// put your main code here, to run repeatedly:
light.turn_on_single(SW, RED);
timefor.pause(150);
light.turn_off_single(SW);
light.turn_on_single(NW, RED);
timefor.pause(150);
light.turn_off... | [
"jennifer.wadella@gmail.com"
] | jennifer.wadella@gmail.com |
ddbf2500065ebe0ef16990fda42d58c01279a177 | d4017895ae2175fed7bc72a8403467150611edfb | /Space/Texture.h | b8d3575ed1f93a4d4f746a074181103716e9c4aa | [] | no_license | Whatop/Meteor | 6b4bead9958e12d334aeb2c676b921c6c2d52bd0 | d34752525bcbbcff8a7d11fe1d2ee42d3b096ab7 | refs/heads/main | 2023-03-02T15:19:08.539290 | 2021-02-17T06:55:20 | 2021-02-17T06:55:20 | 339,631,873 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 283 | h | #pragma once
class Texture
{
LPDIRECT3DTEXTURE9 m_pTexture;
LPDIRECT3DDEVICE9 m_Dev;
Vec2 m_Size;
public:
Texture();
~Texture();
public:
bool Init(std::wstring fileName);
public:
LPDIRECT3DTEXTURE9 GetTexture() { return m_pTexture; }
Vec2 GetSize() { return m_Size; }
};
| [
"whdgkr1215@naver.com"
] | whdgkr1215@naver.com |
98eefe6d9b03175bf281f7771b834a3a493d2c1b | 902a7285713ba08930ccc42205bfce6deef933a9 | /Graph/Polygon.h | 6029cfc0cdda420ee4a9b1b44288d274f4335d85 | [
"MIT"
] | permissive | neville1/Graph2D | cf66cd84ec3122e6c9b651f75bd464604d89bf64 | 646177e824098ad06c34bd28ae92f2840103ec50 | refs/heads/master | 2020-12-02T21:12:33.188434 | 2017-07-05T03:20:53 | 2017-07-05T03:20:53 | 96,272,163 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,051 | h | #pragma once
typedef struct PtListHeader {
int Length; /* # of points */
POINT * PointPtr; /* pointer to list of points */
}PtListHeader;
#include "Line.h"
class __declspec(dllexport) CPolygon : public CLine
{
public:
CPolygon() {}
~CPolygon() {}
void DrawPolyLine(LPPOINT lpPoints, int nCount, CO... | [
"nevillegee@sysgration.com"
] | nevillegee@sysgration.com |
7f0bd1ff87a714b620b02c77ea2a53ffc8ead832 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/old_hunk_6031.cpp | 9fd2b914e15ee46c5caa56301ab981243bc44689 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,105 | cpp |
diskdinfo->smsgid = msgget((key_t) ikey, 0700 | IPC_CREAT);
if (diskdinfo->smsgid < 0) {
debug(50, 0) ("storeDiskdInit: msgget: %s\n", xstrerror());
fatal("msgget failed");
}
diskdinfo->rmsgid = msgget((key_t) (ikey + 1), 0700 | IPC_CREAT);
if (diskdinfo->rmsgid < 0) {
debug... | [
"993273596@qq.com"
] | 993273596@qq.com |
86fa62a866694f5f728888a6ba7a90c5304b070d | 7d1dc4ef43930b76635ad88b1dc33b8438b03b23 | /Monitoring/build-online_display-Desktop_Qt_5_4_2_GCC_64bit-Debug/moc_frame.cpp | 66eec6eea003fbb3a7dafeb1c2026122c84aa47a | [] | no_license | meleneemil/OLD-nsw-vmm-monitoring | 4ad66027539f2bf9d56ac7553a1c76813ac863c8 | d8e3992b1ed6adaee0dcfe27f5a04b30088ba66b | refs/heads/master | 2021-06-04T15:54:02.602024 | 2016-07-23T16:21:09 | 2016-07-23T16:21:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,582 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'frame.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.4.2)
**
** WARNING! All changes made in this file will be lost!
***************************************************************... | [
"root@pcatlnswdev01.dyndns.cern.ch"
] | root@pcatlnswdev01.dyndns.cern.ch |
b469c490f2b84ffa0b14f13f2c8ac4698d2b1fc6 | d9db6449de08b2341c70597290d3005abf00f47e | /leetcode/HashTable/UniqueOccurrence.cpp | 02459e11cdaea0983a80182e9f4bf75e14969c67 | [] | no_license | Harshsngh07/DataStructures_and_Algorithms | bd22af0b83017a7e00a6f85d12b12b2316fc8b15 | 451d54d9fa9f8708fd545a17d57cb85b5fdde2f9 | refs/heads/master | 2023-07-31T14:13:10.404941 | 2021-06-22T05:25:18 | 2021-06-22T05:25:18 | 252,812,769 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 446 | cpp | class Solution {
public:
bool uniqueOccurrences(vector<int>& arr) {
unordered_map<int,int> m;
for(int i:arr)
m[i]++;
unordered_set<int> s;
for(auto i: m)
s.insert(i.second);
return m.size()==s.size();
... | [
"harshsngh07@gmail.com"
] | harshsngh07@gmail.com |
18c04a0dca15a0e2680a0966ac8d46453051eacf | 122c628a8dc72460e9c568b1f77482017004f658 | /src/costs.cpp | a0a06e29a2d5bb5ba543eb6ed39222b7908b0906 | [
"MIT"
] | permissive | ferorga/CarND-Path-Planning-Project | 44dad39b7095291871a2796d32521778a6caac93 | 3c3fdef76758819ccccd8a12f92de4d94f2b6803 | refs/heads/master | 2020-04-26T01:22:42.371546 | 2019-04-04T19:06:19 | 2019-04-04T19:06:19 | 173,202,355 | 0 | 0 | null | 2019-02-28T23:21:19 | 2019-02-28T23:21:18 | null | UTF-8 | C++ | false | false | 6,307 | cpp | #include "costs.h"
double final_velocity_cost(Trajectory ego_tj)
{
double target_vel = mph2mps(48.5);
double v_lim = mph2mps(49.9);
double final_vel = ego_tj.lastSV();
double cost = 1.0;
//std::cout<<"final velocity cost "<<final_vel<<std::endl;
if (final_vel < target_vel)
{
cost = 1.0 - final_vel/ta... | [
"ferorga1@gmail.com"
] | ferorga1@gmail.com |
87426fc2c535ba8015ebf2bb38e78aa4f4a6d8b8 | 18a789d8f140ac0c6f6edc8105f47ff7d79140f1 | /Source/URoboSim/Public/pr2_controllers_msgs/PR2GripperCommandActionGoal.h | e61b21c36308f6399a38a6288594799eef881f23 | [
"BSD-3-Clause"
] | permissive | robcog-iai/URoboSim | c95ce33dd176c01d6395f2ed6360477abd2e0768 | 5fbe6af8e2ae5518a85bb4e1425bc8bdcf3c0564 | refs/heads/master | 2022-07-11T04:19:11.433825 | 2022-04-01T07:24:22 | 2022-04-01T07:24:22 | 90,127,747 | 58 | 27 | BSD-3-Clause | 2018-04-14T08:54:48 | 2017-05-03T08:45:20 | C++ | UTF-8 | C++ | false | false | 2,480 | h | #pragma once
#include "ROSBridgeMsg.h"
#include "std_msgs/Header.h"
#include "actionlib_msgs/GoalID.h"
#include "pr2_controllers_msgs/PR2GripperCommandGoal.h"
namespace pr2_controllers_msgs
{
class PR2GripperCommandActionGoal : public FROSBridgeMsg
{
std_msgs::Header Header;
actionlib_msgs::GoalID GoalId;
pr... | [
"neumann.michael@uni-bremen.de"
] | neumann.michael@uni-bremen.de |
92f7746d4794975f73cf0e8b7dfdba2402b7dba9 | 0484f5f227abbf5dc3a7f6310f0d2cac26633e00 | /TJU/1930 - Doubles.cpp | 922474c4d776f44bb3ff0375bc954ed04037eaec | [] | no_license | LiboMa/Competitive-Programming | 826d32bcc116acdb5993e842a5a17786ce27c528 | 016e9ad599276dc1549ef4fa389658b2126098eb | refs/heads/master | 2020-12-11T03:43:30.861873 | 2015-10-25T17:12:08 | 2015-10-25T17:12:08 | 45,236,810 | 0 | 1 | null | 2015-10-30T07:55:16 | 2015-10-30T07:55:16 | null | UTF-8 | C++ | false | false | 1,007 | cpp | /*
1930 - Doubles
TJU Online Judge
Esteban Arango Medina
marranoparael31@gmail.com
*/
#include<iostream>
#include<vector>
#include <algorithm>
using namespace std;
int main(){
int num;
cin>>num;
while(num!=-1){
int cont =0;
vector <int> doubles;
... | [
"marranoparael31@gmail.com"
] | marranoparael31@gmail.com |
1388924debbbc7bbc0e339f5edc212b9e1e9d2e6 | 9b6ffd0f128375534b3e34c4ac0e5eebca93555a | /src/grovelinefinder/grovelinefinder.h | e5d2ff1f29528700a6fa59c792069e5923e3363d | [
"MIT"
] | permissive | zylix666/upm | 93211fe1f9e69b5204f2708a947935c94cac7a53 | e3ba0d7b0ac3ec7ae9cc43871b0c00276820d50f | refs/heads/master | 2021-01-18T01:56:26.508893 | 2015-03-31T00:04:58 | 2015-03-31T00:04:58 | 33,230,433 | 1 | 0 | null | 2015-04-01T06:24:21 | 2015-04-01T06:24:20 | null | UTF-8 | C++ | false | false | 2,159 | h | /*
* Author: Jon Trulson <jtrulson@ics.com>
* Copyright (c) 2014 Intel Corporation.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitatio... | [
"sarah.knepper@intel.com"
] | sarah.knepper@intel.com |
0dcffa0375db0008842920d2e5a239a22b97f6e0 | 461223861be1551ca5cb13be11a08d3c263103bf | /DELD/deld vhdl/3. hsub/hsub/isim/work/hsub12/testbench_arch.h | 4626349e78f69eb4a2a87d99c3202ad9c3cd9e55 | [] | no_license | RaghavShubham/VHDL_Codes | 457fb63526d4ac1a08f393a500a4f805a7409e3a | e9ec43ba3fb258f1b0a7174b85da2a760ebcff89 | refs/heads/master | 2020-09-02T11:43:48.088469 | 2019-11-02T20:59:55 | 2019-11-02T20:59:55 | 219,213,330 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 993 | h | ////////////////////////////////////////////////////////////////////////////////
// ____ ____
// / /\/ /
// /___/ \ /
// \ \ \/
// \ \ Copyright (c) 2003-2004 Xilinx, Inc.
// / / All Right Reserved.
// /---/ /\
// \ \ / \
// \___\/\___\
////////////////////////... | [
"shubham3raghav@gmail.com"
] | shubham3raghav@gmail.com |
aeec81ef72824c5da35ef16010f99d575f4dd291 | 55f16afe2eafa8998cc3935f4b99e31e60092b1c | /zstdpp.hpp | ee2692a962d2a3a54a683bbdee5213b59b56c1ef | [
"MIT"
] | permissive | andreiamatuni/zstdpp | 4ae246942b16a34447348fdd242489799dd0129c | 9454e426e2da519137441c8328d6588f663aab45 | refs/heads/master | 2021-01-21T10:52:22.076363 | 2017-03-01T00:19:10 | 2017-03-01T00:19:10 | 83,492,559 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,866 | hpp | #include <string.h>
#include "zstd.h"
namespace zstdpp {
inline std::string compress(const std::string data, int compress_level) {
size_t est_compress_size = ZSTD_compressBound(data.size());
std::string comp_buffer{};
comp_buffer.resize(est_compress_size);
auto compress_size =
ZSTD_compress((void*)... | [
"andrei.amatuni@gmail.com"
] | andrei.amatuni@gmail.com |
34d6e1ead6fbb2fe7157558654cd5fbd3653eb2f | 22f8a03664971ef42eb224f5b7fc9db472600eb2 | /test/include/dlaf_test/blas/invoke.h | f0554a8469a0f06d79e606c09f54b7f9bf2c03e9 | [
"BSD-3-Clause"
] | permissive | eth-cscs/DLA-Future | 3b560b3f45342bfd6db8bb5260df597cc9837155 | 7f96b895bb6942286390ef6275161c25855e02ed | refs/heads/master | 2023-08-30T13:27:04.784583 | 2023-08-30T13:25:37 | 2023-08-30T13:25:37 | 203,823,766 | 49 | 10 | BSD-3-Clause | 2023-09-13T12:29:40 | 2019-08-22T15:33:30 | C++ | UTF-8 | C++ | false | false | 2,118 | h | //
// Distributed Linear Algebra with Future (DLAF)
//
// Copyright (c) 2018-2023, ETH Zurich
// All rights reserved.
//
// Please, refer to the LICENSE file in the root directory.
// SPDX-License-Identifier: BSD-3-Clause
//
#pragma once
#ifdef DLAF_WITH_GPU
#include <whip.hpp>
#endif
#include <dlaf/types.h>
#ifdef... | [
"noreply@github.com"
] | noreply@github.com |
9c88b2049c12df11fc357a4217cb3f58fa5b3f2a | 0b715a5559280f99bf11d5e0ec08750505729c15 | /engine/source/sceneGraph/sceneRoot.h | 4aec07ee607e48add39004a91b33d22eae4bebe9 | [] | no_license | MBU-Team/OpenMBU | ee24dbd21eca66c9b269626d269e89b90fbcbcda | 4227ce343d3e1af20ec9a5548b1e65060fb208d4 | refs/heads/master | 2023-09-04T22:27:34.705946 | 2023-08-10T01:07:31 | 2023-08-10T01:07:31 | 338,863,302 | 71 | 16 | null | 2023-09-02T19:42:09 | 2021-02-14T17:41:11 | C++ | UTF-8 | C++ | false | false | 1,407 | h | //-----------------------------------------------------------------------------
// Torque Game Engine
// Copyright (C) GarageGames.com, Inc.
//-----------------------------------------------------------------------------
#ifndef _SCENEROOT_H_
#define _SCENEROOT_H_
//Includes
#ifndef _PLATFORM_H_
#include "platform/pl... | [
"39096122+HumanGamer@users.noreply.github.com"
] | 39096122+HumanGamer@users.noreply.github.com |
f78ba3d74ca8cff3f6b2611086330df04abae429 | 01d7149cc49b20116190e19017d3a8d74de644a0 | /sqler/session.h | f89c7374a67a9c6b212847238abeac07d0c0a3e7 | [] | no_license | jianpanlanyue/libs | 8980fe751530bf1978541ee31a89cd8ffcca36d0 | 0f92408ba876aa1ca444092370905c6b4a93b86c | refs/heads/master | 2021-11-13T04:59:49.172814 | 2021-11-12T11:57:16 | 2021-11-12T11:57:16 | 41,011,083 | 4 | 4 | null | 2021-11-12T11:57:17 | 2015-08-19T03:25:29 | C++ | GB18030 | C++ | false | false | 11,356 | h | //这是一个c++数据库访问层,初衷在于提供简洁接口的同时,不失灵活性。目前只支持mysql,后续考虑增加其他数据库的支持。
//有些时候,我们需要执行增删改查之外的其他操作,而类中提供的接口很难覆盖数据库的全部原生接口,则可以通过get_backend_impl()获取底层数据库的描述符,以调用数据库原生接口完成需求。
//在设计的时候,并没有使用查询类,结果集类等常见的模式,而是直接模拟数据库的查询,提供一个query()核心方法,数据库中使用什么样的sql语句,query()的参数就是什么样的——所见即所见。
//传递sql语句的时候,支持本地参数(sql中需要参数的地方以"?"代替),后面接本地参数。 支持变参与可变参数类型... | [
"jianpanlanyue@163.com"
] | jianpanlanyue@163.com |
23ca02cbeef3522f46e425f715091dc2d546dcfd | b80cc60b780b7e4ca65432d02a0af5a1e7a3153e | /Pacifica.h | 3efc8e903993559c1770fc32be1ca3779b1fc4fe | [
"MIT"
] | permissive | JoaDick/EyeCandy | 567729afdbeaecf6af584bc78859523070a5deec | 9639f9da437a8ddf0ce2cbd8ea7c2d3ae4b48c87 | refs/heads/master | 2022-11-24T09:43:04.960587 | 2020-08-02T20:10:19 | 2020-08-02T20:10:19 | 276,486,297 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,565 | h | #pragma once
/*******************************************************************************
MIT License
Copyright (c) 2019 Mark Kriegsman and Mary Corey March
Copyright (c) 2020 Joachim Dick - Ported to EyeCandy Animation
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software... | [
"62520542+JoaDick@users.noreply.github.com"
] | 62520542+JoaDick@users.noreply.github.com |
e5c5591ababa26ab585b3a27436a124f3d222f2f | f028fe2e47a783fee500cac10ff101eed509627f | /grab_display/imageclipper_read.hpp | a60b370cfb9c2f904e4344b1a0e628b730f2866f | [] | no_license | ltinphan/2017VisionCode | cc25251fc8dc7fbfc3e4d7991038cc2912845317 | 350be74f46a0cb5b860627155b0eb7fd82d09145 | refs/heads/master | 2021-07-04T00:59:28.577461 | 2017-09-25T19:57:27 | 2017-09-25T19:57:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 500 | hpp | #pragma once
#include <string>
#include <opencv2/opencv.hpp>
// Using the data encoded in filename, read the frame
// the image was originally clipped from. Generate a bounding
// rect starting with the original image location, then
// adjust it to the correct aspect ratio.
// Return true if successful, false if an ... | [
"admin@altechcode.com"
] | admin@altechcode.com |
4d4a78c7ccca4467a2d584cc41204d69a5658e0c | 77586f17d8c6f0f7b48f798e6f70026421e7587d | /include/tcpsocket.h | 57dfe21b263544b7503f9c1680cfb69d65317b73 | [
"MIT"
] | permissive | yangwei10723/sandbox | e8461db8d16f2bfcd384654a71e670d2dc27d861 | 184bc7d1198076489c2178f0c80d76791b77dad9 | refs/heads/master | 2020-12-02T22:12:27.001269 | 2017-06-21T01:11:27 | 2017-06-21T01:11:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,091 | h | //
// some tcp/ip socket code useful for reference
//
#pragma once
#ifndef TCP_SOCKET_CONVENIENCE_WRAPPER
#define TCP_SOCKET_CONVENIENCE_WRAPPER
#include <vector>
#include <exception>
#include "misc.h"
#define NOMINMAX
#include <winsock.h>
#pragma comment(lib,"ws2_32.lib")
#define MSG_WAITALL 0x8 // omg, MS forgot ... | [
"stan@melax.com"
] | stan@melax.com |
44dd1793b7d2ec05a874788dce1100649dfaef62 | be9adc136d1ca10b834633cb03905c4b6c211999 | /Lab3/waves/waves/src/Window.cpp | d4a33c3e9b1d58f0e9e542197e16c517c89ac2f0 | [] | no_license | Coguar/ComputerGraphics | 1d8f67995b1f214440fce0aa4116380d6aae2a07 | 65e4d350bddfcd87ab4d350820be692c80a899bc | refs/heads/master | 2020-04-15T02:27:51.342897 | 2016-11-28T16:13:42 | 2016-11-28T16:13:42 | 68,028,885 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,183 | cpp | #include "Window.h"
#include "AbstractWindowClient.h"
#include "Utils.h"
#include "libchapter3_private.h"
#include <SDL2/SDL.h>
namespace
{
glm::vec2 GetMousePosition(const SDL_MouseButtonEvent &event)
{
return { event.x, event.y };
}
glm::vec2 GetMousePosition(const SDL_MouseMotionEvent &event)
{
return { ev... | [
"Cogucc@mail.ru"
] | Cogucc@mail.ru |
d4895aa0290df4d602a41ea56f59545863369407 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /third_party/skia/tests/ReadPixelsTest.cpp | 008781ca0600abeb197906b5eb4a4be91668406d | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"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 | 17,240 | cpp | /*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkCanvas.h"
#include "SkColorPriv.h"
#include "SkMathPriv.h"
#include "SkSurface.h"
#include "Test.h"
#if SK_SUPPORT_GPU
#include "GrContext.h"
#include "SkGr.h"
#e... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
d4bf4092dc6b927bd944da1e57931d6c74821fae | e31b324949391f561a79d4e16bf2944fcd09c1a8 | /src/cascadia/UnitTests_TerminalCore/TerminalBufferTests.cpp | e46360818032230799848bf5f45387a1bb9f1b2d | [
"LGPL-2.1-or-later",
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-object-form-exception-to-mit",
"BSL-1.0",
"BSD-2-Clause"
] | permissive | Duui3111/terminal | 44b26d2bdc2886294b2535da2f3bf30d1c26cdd6 | d02812d699993a0cffdba828f1e6017326e4e6bb | refs/heads/main | 2023-01-30T23:55:43.473438 | 2020-12-11T21:34:57 | 2020-12-11T21:47:10 | 321,221,606 | 3 | 0 | MIT | 2020-12-14T03:27:42 | 2020-12-14T03:27:41 | null | UTF-8 | C++ | false | false | 8,094 | cpp | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
#include "pch.h"
#include <WexTestClass.h>
#include "../renderer/inc/DummyRenderTarget.hpp"
#include "../cascadia/TerminalCore/Terminal.hpp"
#include "MockTermSettings.h"
#include "consoletaeftemplates.hpp"
#include "TestUtils.h"
... | [
"noreply@github.com"
] | noreply@github.com |
f9b5cd40a99193a9842c104da23ab83a350e6449 | ccddd8c891bcd0587d2bca69ebad42d1b9d57094 | /libuvccamera/src/main/jni/UVCCamera/UVCButtonCallback.cpp | 76fa288a8111e9c5aed897c15f8b64dfc0172220 | [
"Apache-2.0"
] | permissive | ShiKe-And-His-Friends/Connrot | 5ddbf8d3f73f4becca94dbf0e4504b3d649d47bd | d19c878d99ae85eca3663c11897fc4de1772fbff | refs/heads/master | 2021-06-26T04:27:03.452739 | 2021-02-04T06:44:55 | 2021-02-04T06:44:55 | 188,572,899 | 1 | 1 | Apache-2.0 | 2020-05-17T02:33:24 | 2019-05-25T14:00:03 | C | UTF-8 | C++ | false | false | 2,192 | cpp | #include <stdlib.h>
#include <linux/time.h>
#include <unistd.h>
#include "utilbase.h"
#include "UVCButtonCallback.h"
#include "libuvc_internal.h"
#define LOCAL_DEBUG 0
UVCButtonCallback::UVCButtonCallback(uvc_device_handle_t *devh)
: mDeviceHandle(devh),
mButtonCallbackObj(NULL) {
ENTER();
pthread_mutex_init(&but... | [
"shike951128"
] | shike951128 |
9e61bf477e4fb8658e5f0cf0ff4903a539caacde | 5390eac0ac54d2c3c1c664ae525881fa988e2cf9 | /include/Pothos/serialization/impl/smart_ptr/detail/sp_counted_base_spin.hpp | 8914b4394473f2ba604d4dc20d2fb3b1c61a1b06 | [
"BSL-1.0"
] | permissive | pothosware/pothos-serialization | 2935b8ab1fe51299a6beba2a3e11611928186849 | c59130f916a3e5b833a32ba415063f9cb306a8dd | refs/heads/master | 2021-08-16T15:22:12.642058 | 2015-12-10T03:32:04 | 2015-12-10T03:32:04 | 19,961,886 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,828 | hpp | #ifndef POTHOS_SMART_PTR_DETAIL_SP_COUNTED_BASE_SPIN_HPP_INCLUDED
#define POTHOS_SMART_PTR_DETAIL_SP_COUNTED_BASE_SPIN_HPP_INCLUDED
// MS compatible compilers support #pragma once
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif
//
// detail/sp_counted_base_spin.hpp - spinlock pool atomic emulation
... | [
"josh@joshknows.com"
] | josh@joshknows.com |
8f7b76a68cd5fce4bdb0e63f46a4b0e632ced89b | 55903a9564931b4579e5c5030376f0989d15b00e | /P2pNet/BufferMap.cpp | 02a9a337371a3b127f70c139577fa255e9d3696f | [] | no_license | zhenyouluo/liveshow_r2 | 04b391fd9ba4e809a88aa1e4eed1477ac4e9ef88 | 300441c14ed31cfa10ec0459bac5a67693f592ea | refs/heads/master | 2020-12-26T00:35:26.403288 | 2012-09-10T02:28:22 | 2012-09-10T02:28:22 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,434 | cpp | #include "StdAfx.h"
#include "BufferMap.h"
#include "ace/Thread_Mutex.h"
#include "ace/Guard_T.h"
#include "ace/OS.h"
#include "ace/Log_Msg.h"
BufferMap::BufferMap(void):start_seg_id_(0),bits_(),mutex_()
{
}
BufferMap::~BufferMap(void)
{
}
int BufferMap::set_bit( SEGMENT_ID segId )
{
if (seg... | [
"ankh2008@hotmail.com"
] | ankh2008@hotmail.com |
ddbecdc11c7b33280aac9d06944f9f22ba0f470c | 0a9a614314f9bb804b33b011fdcb297929b2c896 | /CTest16(ConnectTofile.xsl)/CTest16(ConnectTofile.xsl)/MainFrm.cpp | bb72fe13b9f21ed8a9e257c92d25520f4dc037df | [] | no_license | WSJ-github/MFC | f217d6bb0881c6ec8d0091eb9406823be1da513d | 64d264f183f6f1fda5d4d3f42d4385b8780b40fa | refs/heads/master | 2021-03-26T16:18:26.672169 | 2020-06-08T16:16:26 | 2020-06-08T16:16:26 | 247,721,744 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,787 | cpp |
// MainFrm.cpp : CMainFrame 类的实现
//
#include "stdafx.h"
#include "CTest16(ConnectTofile.xsl).h"
#include "MainFrm.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CMainFrame
IMPLEMENT_DYNCREATE(CMainFrame, CFrameWnd)
BEGIN_MESSAGE_MAP(CMainFrame, CFrameWnd)
ON_WM_CREATE()
END_MESSAGE_MAP()
static UINT indicato... | [
"963013061@qq.com"
] | 963013061@qq.com |
ca2f85a49307522c1ed8aaf5564db18d5f70583e | 245afd9f4adb8d868fa1228ac5898083e4140d4a | /Calculator ver 0.02/App.h | 907b418e30ceaa7af29a1ef2ca630f1c2c9e5b36 | [] | no_license | Ars-eniy-Cheis/ProgramLanguages | 3e50c5eaa7d0f2c2bcdda7651d873484c912c78e | 3b79cef726a347188bb25d468b092e0c59ef6ecf | refs/heads/master | 2021-01-01T11:29:51.555886 | 2020-12-21T16:58:16 | 2020-12-21T16:58:16 | 239,254,881 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 50 | h | #pragma once
class App
{
public:
void Run();
};
| [
"mr.4eis@yandex.ru"
] | mr.4eis@yandex.ru |
b2c8157c7b99658a757db40542e43c4d7463a615 | 1333c64d3426b7c30f638d94c2699c6687a20d16 | /LeetCode/58-Length of Last Word.cpp | 69147068d90d7d58c4f77e09c9bfe698b1ce95b3 | [] | no_license | soar1234/LeetCodeAlgorithms | 44ffbfc25e621ed04f508203f58bef271a80eab8 | d2bfd31cf11b63dbdf685f150852890042aa3b8c | refs/heads/master | 2021-01-24T08:49:43.508672 | 2017-06-05T10:17:52 | 2017-06-05T10:17:52 | 93,390,796 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 667 | cpp | #include <stdlib.h>
#include <stdio.h>
#include <string.h>
#define MAX_STRING_LEN 80
int lengthOfLastWord(char* s) {
int length=0;
int lastwordlength=0;
int i=0;
char now,pre;
now=s[0];
pre=s[0];
while(now!='\0')
{
printf("%c",now);
if(now!=' ')
{
... | [
"herosaul@gmail.com"
] | herosaul@gmail.com |
71dbcb7df39b42050af80c48142a9949daacdaed | eaf359735e2a12c30949fcec7d811916290dac65 | /FrostScene.cpp | 8cfa32c74a4ab44ed3048c5c204a3900199b0e95 | [
"MIT"
] | permissive | demoscene-source-archive/blitzgewitter | abbe6c23a3d4de4b94112d673425f4309e992e94 | 7a306f73d3cbf4f0d1be5817bc636a14703983b2 | refs/heads/master | 2022-12-04T17:57:17.735244 | 2020-06-02T18:39:12 | 2020-08-22T07:37:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42,754 | cpp |
#include "Engine.hpp"
#include "Bezier.hpp"
#include "Ran.hpp"
#include "Particles.hpp"
#include "Tower.hpp"
#include <list>
extern tower::Tower* platonic2_tower;
static inline Real frand()
{
static Ran rnd(643);
return rnd.doub();
}
static long int lrand()
{
static Ran rnd(112);
return rnd.int32();
}
... | [
"kusmabite@gmail.com"
] | kusmabite@gmail.com |
ac1de68c85d875004f51e2f790f87d90d4196a49 | 52ae54922e083863b0e1265e97d1d60e5bf22120 | /demos/demo_tileimage/demo_tileimage.cpp | dd4c470c8774183360ce3966a6d841b596fe76cb | [
"BSD-3-Clause"
] | permissive | borisblizzard/aprilui | e3d3014ca7e571e3241ed77a8f41bd56489ee727 | 88520e16ee24a15572c6e1f1b36eead2036997f2 | refs/heads/master | 2023-08-19T08:30:41.393829 | 2023-08-17T12:52:09 | 2023-08-17T12:52:09 | 219,540,570 | 0 | 0 | null | 2019-11-04T16:01:08 | 2019-11-04T16:01:08 | null | UTF-8 | C++ | false | false | 4,845 | cpp | /// @file
/// @version 6.0
///
/// @section LICENSE
///
/// This program is free software; you can redistribute it and/or modify it under
/// the terms of the BSD license: http://opensource.org/licenses/BSD-3-Clause
#ifndef __ANDROID__
#ifndef _UWP
#define RESOURCE_PATH "../../demos/media/"
#else
#define RESOU... | [
"boris.blizzard@gmail.com"
] | boris.blizzard@gmail.com |
ade8ae1c91f2b6460d28ee32e820cd9600bdf7bd | fd5596cc45f0972da19e3b79fc2329026cd3c085 | /掌握金钱/SetPos.cpp | c98bb2229d04d7d068b2badb983dfe8bee4e4cd8 | [] | no_license | VinsentY/Mastery-of-money | 9fadcdc6a0d0844278b0c2abae34d7f915fd20c6 | 465715f1bb616a7905d312df04e39f37157dcc15 | refs/heads/master | 2020-03-26T03:35:08.788701 | 2018-08-12T11:49:40 | 2018-08-12T11:49:40 | 142,649,848 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 175 | cpp | #include "main.h"
void SetPos(int x,int y)
{
COORD pos;
HANDLE handle;
pos.X=x;
pos.Y=y;
handle=GetStdHandle(STD_OUTPUT_HANDLE);
SetConsoleCursorPosition(handle,pos);
} | [
"Yikai@outlool.com"
] | Yikai@outlool.com |
ed65defdc9580c8fb061bbfe523312da1f455d82 | 8c10c441660c03dec7481610c0ba325db1245c97 | /src/walletdb.cpp | e3e5f441253ad4ce52d5088133f3905dea1706e6 | [
"MIT"
] | permissive | NodeCash/NodeCash-Core | 74bb74498c8b8ba7bf1bdc5063a6bf77e0fe5a4e | b9b312c12e0c8ca8190cde73efb08d61151ec74c | refs/heads/master | 2020-03-20T07:41:05.233375 | 2018-06-14T01:47:50 | 2018-06-14T01:47:50 | 136,683,006 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,640 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "walletdb.h"
#include "base58.h"
#include "protocol.h"
#include "seriali... | [
"team@nodecash.org"
] | team@nodecash.org |
7ba061d5ad101d3b9ccdcc0947008cb337b41d6a | b2527b0256448bba1795c3b3c766089b9e818c11 | /training/2015.8.5/DD.cpp | 110c544cb15336c6dfc6b4d408f1799b6f7da9ec | [] | no_license | zxok365/melody-of-canon | 0befe10647f2db88d852a2a9c7157578fea44e55 | 646b2df65cdeaa5aca28759dc0db4e1348b80a71 | refs/heads/master | 2016-09-16T17:03:47.020659 | 2016-03-29T12:13:46 | 2016-03-29T12:13:46 | 40,532,360 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 548 | cpp | #include <cstdio>
#include <iostream>
#include <algorithm>
#include <cmath>
#include <ctime>
#include <cstring>
using namespace std;
const double eps = 1e-8;
const int maxn = 1000;
const int maxf = maxn * 10;
inline int Sign(double a) {
return a < -eps ? -1 : a > eps;
}
inline double Sqrt(double a) {
return a <= 0... | [
"zxjszy@126.com"
] | zxjszy@126.com |
5b104de0ba016fd0eaebb2f01ac8d69d88c39fd9 | 210d757836216b1a1d491564ef9c7e6d84ee947e | /library/cuckoo/src/mean_miner.hpp | b056b8066107c8e405580cdb5aee9397ec2e4681 | [
"MIT",
"GPL-2.0-or-later",
"GPL-2.0-only",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-1.0-or-later"
] | permissive | sunnymiesta/adina | 85a77ed48795cdd67793b645db9f9958b59ed361 | 5b77f6248ef1cb75bd0451b1e4884c5f2c89ecee | refs/heads/master | 2020-03-19T15:56:02.554698 | 2018-06-11T04:10:43 | 2018-06-11T04:10:43 | 136,007,337 | 0 | 0 | MIT | 2018-06-04T21:54:24 | 2018-06-04T10:10:26 | C++ | UTF-8 | C++ | false | false | 52,957 | hpp | // Cuckoo Cycle, a memory-hard proof-of-work
// Copyright (c) 2013-2018 John Tromp
// The edge-trimming memory optimization is due to Dave Andersen
// http://da-data.blogspot.com/2014/03/a-public-review-of-cuckoo-cycle.html
// xenoncat demonstrated at https://github.com/xenoncat/cuckoo_pow
// how bucket sorting av... | [
"root@vps-d103d3611a7812a1.gib58asjnbc9.domain.tld"
] | root@vps-d103d3611a7812a1.gib58asjnbc9.domain.tld |
a806e3fa625d2e203237e0ea974e09b5ef9f2304 | 04855d63403efcb5316e3ea11e57128e9f7c5c02 | /mediapipe/gpu/gl_context_egl.cc | 79f0c30ebe2655b8fb0d42df2e01ba65a28cbe25 | [
"Apache-2.0"
] | permissive | Gilgahex/mediapipe | bc49f9d8b7048f24c9fe59c98f68d8b3b6cd863d | c06effd494e8da07488723615522e67ce9783c0a | refs/heads/master | 2021-10-28T07:25:30.760525 | 2020-03-09T01:52:05 | 2020-03-09T01:52:05 | 216,973,960 | 4 | 7 | Apache-2.0 | 2021-10-14T01:29:02 | 2019-10-23T05:19:19 | C++ | UTF-8 | C++ | false | false | 9,862 | cc | // Copyright 2019 The MediaPipe Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | [
"jqtang@google.com"
] | jqtang@google.com |
32ce24de77b65ed770a6ab14a58082463652695c | e1abc6f1cbabad56563f49d73ac6ade4f0c0077f | /src/chain/chainparams.h | 2de01aa762bcdc4438d9a7183a2f92c3c9048350 | [
"MIT"
] | permissive | MasterKungfu/MagnaChain-dev-master | 9072bcd3790ab3f953ee6193666f6d361747605c | 2980b7f7c591e2f46f750de03a9df91e71319c74 | refs/heads/master | 2020-04-29T14:15:59.004648 | 2019-03-15T09:12:26 | 2019-03-15T09:12:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,836 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Copyright (c) 2016-2019 The MagnaChain Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef MAGNACHAIN_CHAI... | [
"weigun@weigun.com"
] | weigun@weigun.com |
412307e608542cc6490ff7892307f7029d8adcee | 2183a08727f594925d06c73ee800163bf85ac410 | /test/analog-serial.cpp | e588864b890ae319543331a8f3a36e674347f27a | [] | no_license | tadryanom/Serasidis_arduino-opencm3 | bd600e967d15d19eaba905caa5884fcf4de8a956 | bb3a03c432bbeeae0138f6d21e40005dbfe271e3 | refs/heads/master | 2021-06-13T11:11:24.967443 | 2017-03-25T13:40:30 | 2017-03-25T13:40:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 549 | cpp | #include <Arduino.h>
#include <stm32/gpio_arch.h>
#include <stm32/adc_arch.h>
void setup() {
Serial.begin(115200);
Serial.println("---START---");
Serial.println("---INIT---");
}
void loop() {
int start = micros();
uint32_t sensorValue = analogRead(A0);
unsigned long end = micros();
Serial.print(end - ... | [
"arkalis.e@gmail.com"
] | arkalis.e@gmail.com |
abc0cf2f380a427c04a613076fec66cd0dcbb408 | 527aaa10852c19ded7709b7c51638f54bf26a963 | /Source/Heightmap.h | cbbf803efc42857cc1103d745976201fe8edbdd5 | [
"MIT"
] | permissive | craig4096/procgenapp | 4f45bb891963021762cc8dc40caad6cfa9ab904f | 5253eac7b073f8e1842ceaf9174c807cfbb8dff6 | refs/heads/master | 2020-03-11T04:35:01.004074 | 2018-04-16T17:20:38 | 2018-04-16T17:20:38 | 129,779,630 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,997 | h | #pragma once
#include "math3d.h"
#include "Array2D.h"
class Heightmap : public Array2D<float> {
protected:
// the difference between a heightmap and a simple 2d array of floats
// is that the heightmap has scale factors to determine it's size in the world
// (used for calculating normals etc.)
float scale... | [
"craig4096@hotmail.co.uk"
] | craig4096@hotmail.co.uk |
29c2193df3ddbad0982be76420f8a5a78bbddc42 | cbd201169b823159a3da0a5188995a0b10c815e6 | /StateInterface.cpp | d172f503cf9b6e5b98852aa1fdd3078450aa6488 | [] | no_license | paullam328/Nova | bdd520432700fe95cc484b9955a698b3e4ed4b22 | c2ad879845d68efe7fd1f4aab121a711bf3d3b15 | refs/heads/master | 2022-03-29T07:37:01.823454 | 2020-01-17T15:39:59 | 2020-01-17T15:39:59 | 234,577,430 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 156 | cpp | // Copywrite Shapeshifter 2019
#include "StateInterface.h"
// Add default functionality here for any IStateInterface functions that are not pure virtual.
| [
"paullam328@gmail.com"
] | paullam328@gmail.com |
3c8f86cf8c36c7c630131db5431de5bf97c6280e | ec466877d3ab45de393c0c76ccad2679b1a5b8fe | /psr1/debugger.cpp | cff4c3189b83868c4d2227dd68dfe884afe1970a | [] | no_license | ncollisson/pointer-sequence-reversal | 99508ca343c41c1bfaa94929aad408126d38f723 | 5b84a02870b2bd08190d457fd9795aed3ef382bf | refs/heads/master | 2021-06-16T20:57:41.162588 | 2017-05-11T16:24:47 | 2017-05-11T16:24:47 | 81,142,083 | 8 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 14,520 | cpp | #include "stdafx.h"
#include "debugger.h"
#include <iostream>
#include <tlhelp32.h>
#include <array>
#include "capstone.h"
//#include <stdio.h>
#include <inttypes.h>
//#include "CsCapstoneHelper.hh"
//#include "Disasm.hpp"
//#include "CsIns.hpp"
//#include "X86Disasm.hh"
#include "Tracer.h"
int (WINAPIV * __vsnprintf)(... | [
"nickcollisson@gmail.com"
] | nickcollisson@gmail.com |
8fb815857b5ec815732c02a8e125e7fe14f323e4 | 7105ea0200141ac566fbf635f0c10df509612580 | /test/itemtest.cpp | 6f7217b1b912289563ee0c0cd380faa6e330eea1 | [] | no_license | nessss/spacelike | 3755c1867fbe11be511545f14c8e90f0e5a284ae | d4750165b682803e0569e6d3f22b67b28feb3864 | refs/heads/master | 2020-07-15T13:15:27.266787 | 2016-12-17T02:03:29 | 2016-12-17T02:03:29 | 67,827,557 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,394 | cpp | #include <string>
#include "catch.hpp"
#include "../src/item.h"
TEST_CASE( "item constructor", "[Item]" )
{
SECTION( "default constructor" )
{
Item defaultItem;
CHECK( defaultItem.name() == "" );
CHECK( defaultItem.description() == "" );
CHECK( defaultItem.group() == Item::Gro... | [
"karplusstrong@gmail.com"
] | karplusstrong@gmail.com |
edd658797931c098398f1ac7980f2b67ba86dd01 | 736d389dde3020f1e06b034b2224bed2b6dfae9c | /engine/platform/platform.cc | b87abaac121cdab0396b82d9f9067326b07517a8 | [
"MIT"
] | permissive | jamesu/korkscript | 08396ed9999c01d6ece6ef77186b4856dbb4fd27 | 14ac1acc9d766173495816d181d26fd3bd530e94 | refs/heads/master | 2022-12-20T19:43:04.670210 | 2020-09-03T15:41:39 | 2020-09-03T15:41:39 | 292,612,109 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,258 | cc | //-----------------------------------------------------------------------------
// Copyright (c) 2013 GarageGames, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restrictio... | [
"jamesu@gmail.com"
] | jamesu@gmail.com |
04344e214f0de3a0c7f681729c339f03ef4133d2 | f1dcbf6f42794fc339887467aca3ea99278031eb | /Arduino/motors_cmds/motors_cmds.ino | 5e3d5f2d42721c7ee39b09b452a0760e0f53fe17 | [
"MIT"
] | permissive | ScifestJoensuu/theater-robot | 78d8631e791f5b42fbc7397f39b5ff12951c19bd | deb282709b4c3db89e8fbde81596754d117d21cf | refs/heads/master | 2020-06-05T08:56:39.253659 | 2015-08-31T11:44:29 | 2015-08-31T11:44:29 | 22,830,189 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 709 | ino |
// Adafruit motor shield library:
// http://www.adafruit.com/product/81
#include <AFMotor.h>
AF_DCMotor ml(1);
AF_DCMotor mr(2);
void setup() {
Serial.begin(9600);
Serial.println("> Setting up motors..");
ml.setSpeed(200);
mr.setSpeed(200);
ml.run(RELEASE);
mr.run(RELEASE);
}
void loop() {
//drive... | [
"mlaamane@uef.fi"
] | mlaamane@uef.fi |
03bfb345199bbc3a50925e9146c5a91c9e3ad46f | 5af68d43b182694e6955be8de0a84ecea20c078d | /BlackCat.Physics/Physics/Fundation/bcMaterial.h | 65b622bd8ceef97bc695dad44e8be907af609c92 | [] | no_license | coder965/BlackCat-Engine | 1ed5c3d33c67c537eaa1ae7d1afe40192296e03f | a692f95d5c5f0c86ababa0c5ecc06531f569f500 | refs/heads/master | 2020-03-18T21:41:31.035603 | 2017-04-15T16:53:26 | 2017-04-15T16:53:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,776 | h | // [11/30/2016 MRB]
#pragma once
#include "CorePlatform/bcType.h"
#include "Physics/bcPhysicsApi.h"
#include "Physics/bcPhysicsReference.h"
#include "Physics/bcPhysicsRef.h"
namespace black_cat
{
namespace physics
{
using bc_material_index = bcUINT16;
template< bc_physics_api TApi >
struct bc_platform_mater... | [
"mohammad.r.barzegar@gmail.com"
] | mohammad.r.barzegar@gmail.com |
8be079e286d1d6e1d0d7cd8beecc89df8b072769 | b30b65994865ce9212da5b30834b15ea9dbb9103 | /URIOJ/C++/1217.cpp | 30aee20d3849e061f9d9dc1721607b926dff2c87 | [] | no_license | uthantvicentin/Competitive-Programming | 3d06b9cac1bf76a166f8009b7898fafdbca726bf | 6072753df64da0fa76a95fd30c9c65d89cd30a73 | refs/heads/master | 2021-09-08T19:54:18.510359 | 2021-09-05T13:14:12 | 2021-09-05T13:14:12 | 178,067,690 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 621 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
string str;
int n;
double k,soma = 0;
int somakg = 0;
cin >> n;
std::cout << std::fixed << std::showpoint;
std::cout << std::setprecision(2);
for(int i = 1 ; i <= n ; ++i){
cin >> k;
soma += k;
cin.ignore();
getline(cin,str);
istringstr... | [
"uthantvicentin@gmail.com"
] | uthantvicentin@gmail.com |
943fb26fd905a51db21fcbcdc9ca91fb495f57ac | 384cce818f2f7ae6af8d4230e4adb130720c4996 | /Source/UA2/player_ball.cpp | 516947894fba18982fe830ce25799154b1397a12 | [] | no_license | jwhite510/UA2Game2 | 8a6e01f32ed2b50caf62ce65573a35978d2d5c35 | 996ec3743fe5707227a4b9ae114e7db5c4377bcf | refs/heads/master | 2022-04-09T03:53:34.320936 | 2020-02-09T18:40:28 | 2020-02-09T18:40:28 | 235,220,014 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,325 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "player_ball.h"
#include "Components/StaticMeshComponent.h"
#include "Movement.h"
#include "DrawDebugHelpers.h"
// Sets default values
Aplayer_ball::Aplayer_ball()
{
// Set this pawn to call Tick() every frame. You ... | [
"jonathonwhite@protonmail.com"
] | jonathonwhite@protonmail.com |
31fce9880b773986413f7c51c4f52a9069d978f9 | 35b929181f587c81ad507c24103d172d004ee911 | /SrcLib/core/fwAtomsPatch/include/fwAtomsPatch/PatchingManager.hpp | 8c9e805a3e14046590e0920444d7ad419618fb4b | [] | no_license | hamalawy/fw4spl | 7853aa46ed5f96660123e88d2ba8b0465bd3f58d | 680376662bf3fad54b9616d1e9d4c043d9d990df | refs/heads/master | 2021-01-10T11:33:53.571504 | 2015-07-23T08:01:59 | 2015-07-23T08:01:59 | 50,699,438 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,552 | hpp | /* ***** BEGIN LICENSE BLOCK *****
* FW4SPL - Copyright (C) IRCAD, 2009-2013.
* Distributed under the terms of the GNU Lesser General Public License (LGPL) as
* published by the Free Software Foundation.
* ****** END LICENSE BLOCK ****** */
#ifndef __FWATOMSPATCH_PATCHINGMANAGER_HPP__
#define __FWATOMSPATCH_PATCHI... | [
"fbridault@IRCAD.FR"
] | fbridault@IRCAD.FR |
0d6e41d696e2130dc78387e1d55b9166a4ea6e5b | f90b1358325d5a4cfbc25fa6cccea56cbc40410c | /include/sicInfo.h | 6dfb07846d8c536e99b4cb9da0aeb22fd30e2087 | [] | no_license | ipodyaco/prorata | bd52105499c3fad25781d91952def89a9079b864 | 1f17015d304f204bd5f72b92d711a02490527fe6 | refs/heads/master | 2021-01-10T09:48:25.454887 | 2010-05-11T19:19:40 | 2010-05-11T19:19:40 | 48,766,766 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,098 | h | #ifndef SICINFO_H
#define SICINFO_H
#include <string>
#include <vector>
#include <sys/stat.h>
#include <sys/types.h>
#include "chromatogram.h"
#include "proRataParameters.h"
#include "directoryStructure.h"
#include "idData.h"
#include "msData.h"
#include "isotopologue.h"
using namespace std;
// this ... | [
"chongle.pan@c58cc1ec-c975-bb1e-ac29-6983d7497d3a"
] | chongle.pan@c58cc1ec-c975-bb1e-ac29-6983d7497d3a |
48f2434ad08dfd6094af0c38e194621fe1125210 | 789900f80d993fe1eb0e01387173ebdcc54007ba | /include/hogl/detail/compiler.hpp | 803a4d380b7952e8b87ffc9ae2e885bebf93ea7f | [
"BSD-2-Clause"
] | permissive | kobi-ca/hogl | 01292b783b9d5c6b3e1be78cac1c7b39d4974790 | 19cd7262ed22a46cc06346d9d592ff278db5266b | refs/heads/master | 2020-03-28T08:40:58.271548 | 2017-07-11T20:54:59 | 2018-03-29T00:19:39 | 147,981,594 | 0 | 0 | BSD-2-Clause | 2018-09-09T00:58:24 | 2018-09-09T00:58:24 | null | UTF-8 | C++ | false | false | 2,234 | hpp | /*
Copyright (c) 2015, Max Krasnyansky <max.krasnyansky@gmail.com>
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... | [
"max.krasnyansky@gmail.com"
] | max.krasnyansky@gmail.com |
ac9a57ea82e175a005d0abb13b7cbcd381600931 | 8d539ced39960119c418907075b631cec18ca399 | /CSES/240-IncreasingArray.cpp | ecf559e1ad4477f005859f4883fc041645f9e4ba | [
"MIT"
] | permissive | lucastarche/aotd | d27eed7414c11ce1a0a18c2459b800e9cdf91eef | e501a1f27fc48508d24eac461308aaa2e56a23cf | refs/heads/master | 2023-07-19T03:56:06.845259 | 2021-09-12T12:14:56 | 2021-09-12T12:14:56 | 294,989,043 | 3 | 1 | null | 2020-12-16T13:58:42 | 2020-09-12T17:06:06 | C++ | UTF-8 | C++ | false | false | 694 | cpp | //Increasing array
//Problem: Given an array of n numbers, find the number of times you gotta increase a number to get a non decreasing array.
//Solution: We can keep track of the previous number. If the new number if bigger than the current one, we change the current.
//Else, we add their difference to the result.
//R... | [
"lucastarche@gmail.com"
] | lucastarche@gmail.com |
c7ca0d5e80702977d8fa93f00e2db0b8d743ffbf | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Source/ThirdParty/llvm/3.6.2/include/llvm/IR/DebugLoc.h | 86e64417099d0e15b8d2753522f7c4f46779e5a0 | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C++ | false | false | 3,974 | h | //===- DebugLoc.h - Debug Location Information ------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"tungnt.rec@gmail.com"
] | tungnt.rec@gmail.com |
fb474f4eccefd856bda576c2abb9ac48139672df | ac5ad059f6c31c1a7729650903cfc6101eb8a7f0 | /main5-1.cpp | b1a9fbeda6d38dffd3b8dea6e1ae4848601c8e6d | [] | no_license | wangxb96/datastructure | 8a6fc6cc47b759e62cccaadfcafba442af37c45c | 4a3e7950a1c15cff7b8ab21ae3051bfc1db86fe9 | refs/heads/master | 2022-02-18T02:17:14.825992 | 2019-09-20T11:17:08 | 2019-09-20T11:17:08 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,163 | cpp | #include"c1.h"
typedef int ElemType;
#include"c5-1.h"//数组的动态顺序存储结构
#include"bo5-1.cpp"
int main()
{
Array A;
int i,j,k,dim=3,bound1=3,bound2=4,bound3=2;//A[3][4][2]数组
ElemType e;
InitArray(A,dim,bound1,bound2,bound3);//构造3×4×2的三维数组A
printf("A.bounds=");
for(i=0;i<dim;i++)//顺序输出A.bounds
printf("%d",... | [
"noreply@github.com"
] | noreply@github.com |
b3a4fbc66026181b4acfe0f4d696b6e5689f876a | 019b1b4fc4a0c8bf0f65f5bec2431599e5de5300 | /chrome/browser/safe_browsing/ui_manager.h | 18b8702db37b8914759a7a47ad7dfba83d5ea30c | [
"BSD-3-Clause"
] | permissive | wyrover/downloader | bd61b858d82ad437df36fbbaaf58d293f2f77445 | a2239a4de6b8b545d6d88f6beccaad2b0c831e07 | refs/heads/master | 2020-12-30T14:45:13.193034 | 2017-04-23T07:39:04 | 2017-04-23T07:39:04 | 91,083,169 | 1 | 2 | null | 2017-05-12T11:06:42 | 2017-05-12T11:06:42 | null | UTF-8 | C++ | false | false | 6,895 | h | // 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.
//
// The Safe Browsing service is responsible for downloading anti-phishing and
// anti-malware tables and checking urls against them.
#ifndef CHROME... | [
"wangpp_os@sari.ac.cn"
] | wangpp_os@sari.ac.cn |
67a4d076c5d453e04d96f28707d90a6758d9e3dc | fd9f5186fa5d19db077dbf302fe9c940cb42e82f | /src/kvstore/RateLimiter.h | 6e03ec8da5b67c11436826b7a15f33447c6bedd6 | [
"Apache-2.0"
] | permissive | vesoft-inc/nebula | a0b9af548e124e59ecbfb0c5152098a1020b621c | 7c32088dec1891870a24aaa37ee5818e69f5ad6d | refs/heads/master | 2023-08-17T00:00:29.022525 | 2023-08-16T04:02:03 | 2023-08-16T04:02:03 | 146,459,443 | 11,007 | 1,220 | Apache-2.0 | 2023-09-05T05:48:16 | 2018-08-28T14:25:09 | C++ | UTF-8 | C++ | false | false | 1,979 | h | /* Copyright (c) 2021 vesoft inc. All rights reserved.
*
* This source code is licensed under Apache 2.0 License.
*/
#ifndef KVSTORE_RATELIMITER_H
#define KVSTORE_RATELIMITER_H
#include <folly/TokenBucket.h>
#include "common/base/Base.h"
#include "common/thrift/ThriftTypes.h"
#include "common/time/WallClock.h"
D... | [
"noreply@github.com"
] | noreply@github.com |
a2cc62ecd1648caf74dff7cd29b948b779193cba | 35f2ac06068ced05ab27e329052e9d9758fe59c3 | /lexer/v2/parser.hpp | d58d34c366e35e72d77e0c6a1969c36022f5ab1f | [
"MIT"
] | permissive | mhhollomon/blogcode | c7247cb15109371ae9df7ead0c39e3d5b6cd894a | 0cb82ab90d33d3eac14974a9c4d890d6abd6325e | refs/heads/master | 2021-06-18T11:19:55.989911 | 2019-10-10T18:29:04 | 2019-10-10T18:29:04 | 148,825,994 | 2 | 1 | null | 2018-09-14T18:31:23 | 2018-09-14T18:16:38 | null | UTF-8 | C++ | false | false | 1,697 | hpp | #if !defined(LEXER_PARSER_H_)
#define LEXER_PARSER_H_
//****************************************
// Copyright 2018 - Mark Hollomon
//
// Attempt to use a lexer with Boost.Spirit X3
// Main
//****************************************
#include <boost/spirit/home/x3.hpp>
#include "lexer.hpp"
namespace x3 = boost::spiri... | [
"mhhollomon@gmail.com"
] | mhhollomon@gmail.com |
4c51f95aaf83c4c1adb375159e5d776cec4fb80b | e6b4a9fb699feb39ae4c80ae5c59c539440ccb43 | /Prototypes/C++/Overload/overload.c++ | 99d9e4c34ed83bb61647264ba2b6000ffaf7f2c9 | [] | no_license | Hedede/various-things | 2451154473892546c94633289b66b9d6cd341f9c | ae813b21d70a1dab72a091035332c898d89e5eda | refs/heads/master | 2023-08-09T17:46:52.906049 | 2023-07-30T09:55:41 | 2023-07-30T09:55:41 | 63,462,461 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,856 | #include <utility>
template<typename F, typename...Fs>
struct overloaded : overloaded<F>, overloaded<Fs...> {
overloaded(F&& f, Fs&&... fs)
: overloaded<F>{std::forward<F>(f)},
overloaded<Fs...>{std::forward<Fs>(fs)...}
{}
using overloaded<F>::operator();
using overloaded<Fs...>::operator();
};
template<ty... | [
"haddayn@gmail.com"
] | haddayn@gmail.com | |
f139659e9383f204fd4d2d2544fa56dc7e11caa3 | f9a4647a22a5c27ae3228ab11bbbd7a0dcdbd09d | /Sources/VPDFDocument.cpp | 86ade96682e2b94724e1312230da9d7c0dd9da6e | [] | no_license | ayoubserti/PDFCreator | d768260a73050236376a606a1fc463d1eb4e1837 | 004a2e7ad265b659eb8fa0326f02b5fad27b4fec | refs/heads/master | 2021-01-10T13:21:56.139055 | 2016-05-06T14:54:06 | 2016-05-06T14:54:06 | 46,519,005 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,778 | cpp | /*
VPDFDocument implementation
*/
#include "VPDFDocument.h"
#include "VPDFPage.h"
#include "VPDFOutline.h"
#include "VPDFEncoding.h"
#include "VPDFImage.h"
#include <stdio.h> //for NULL definition
using namespace XBOX;
VError __stdcall ErrorHandlerFunc(HPDF_STATUS s1, HPDF_STATUS s2, void* e)
{
return s1;
}
VPDF... | [
"ayb.serti@gmail.com"
] | ayb.serti@gmail.com |
3a69cb06b0130d8ca1dd853ef3ebda9248300f93 | 0215086324881a4e26eac4cb565c0032fdcf7c62 | /Source/EMOSWS/Classes/Framework/UWebsocketppClient.cpp | bb060054f082f8d0d1d93b9c62406c2afe3145c9 | [
"BSD-3-Clause",
"BSL-1.0",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | DigitalKarnage/EMOS | b650667ebb9d66117c6d9ce6579b99f0bb7c78d1 | 909528d59070359e225ff12a364eed215b4c70b4 | refs/heads/master | 2016-08-13T00:33:20.088877 | 2016-03-28T18:12:22 | 2016-03-28T18:12:22 | 52,461,391 | 23 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 2,611 | cpp | /*
All rights reserved. Copyright (c) 2015-2016, DigitalKarnage
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 conditions and the ... | [
"DigitalKarnage@github.com"
] | DigitalKarnage@github.com |
8f51ed2f92b56392b5b4f7a1076e76555cb848e2 | ac78cdf5bbbf6c509151d66bfca60e7b463af055 | /hsp3dish/win32gp/hsp3extlib.cpp | 33e84ba026961e7cdac55c13ae64fb5c7c117bbc | [] | no_license | sharkpp/openhsp | 98fe6f69ebcb03d80ff0ab11e96645b92b9d7038 | 0d412fd8f79a6ccae1d33c13addc06fb623fb1fe | refs/heads/master | 2020-12-01T03:05:01.294639 | 2016-01-20T13:37:04 | 2016-01-20T13:37:04 | 12,005,521 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 15,025 | cpp |
//
// HSP3 External COM manager
// onion software/onitama 2004/6
// chokuto 2005/3
//
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <objbase.h>
#include <algorithm>
... | [
"onitama@ceb3ebad-0e53-d446-8596-a45b2b8d79cd"
] | onitama@ceb3ebad-0e53-d446-8596-a45b2b8d79cd |
7697d192055d728e43f83775cde955cdf3f20989 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14117/function14117_schedule_2/function14117_schedule_2.cpp | 8c128e10cb5baf797abc4fa70947c534eb2af778 | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 719 | cpp | #include <tiramisu/tiramisu.h>
using namespace tiramisu;
int main(int argc, char **argv){
tiramisu::init("function14117_schedule_2");
constant c0("c0", 128), c1("c1", 64), c2("c2", 128), c3("c3", 64);
var i0("i0", 0, c0), i1("i1", 0, c1), i2("i2", 0, c2), i3("i3", 0, c3), i01("i01"), i02("i02"), i03("i0... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
52962d367e769f4a7f22d386d3f52e27ade14b73 | cad7462a6aa224ced2ed49dd23556af7d8dacc28 | /Week 8/final/final 2/Node.signed/SortedVector.cpp | e6fd640b02e8f6a8a07ab0b9fadc371374710d34 | [] | no_license | Anuragis/CPP-Labs | 7af71db42f65008bec3bc2203e69c37d9aabc2b8 | e5401173497fd2abe51025255236827994d54d91 | refs/heads/master | 2020-03-18T17:58:53.166045 | 2018-05-27T16:45:59 | 2018-05-27T16:45:59 | 135,064,182 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,746 | cpp | #include <iostream>
#include <iterator>
#include <vector>
#include <algorithm>
#include "SortedVector.h"
#include "Node.h"
using namespace std;
SortedVector::SortedVector()
{
Node::reset();
}
SortedVector::~SortedVector()
{
Node::reset();
}
int SortedVector::size() const { return data.size(); }
bool Sorted... | [
"Anuragis@users.noreply.github.com"
] | Anuragis@users.noreply.github.com |
1b7db9718efa382c7a557007ca1862a73c8bac43 | e83aaf423d3624748522b9adecdeb15659f5bdee | /ditfw-gfx/deps/wxwidgets/src/aui/auibar.cpp | 37413d8acf7fe04b7f4e32f621bcf64acd075725 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | chartly/portfolio | 4b432c212968b56d6a1514efe3dae87ae9a0c0e0 | bd1782c274604f29f0edaa1407efce2a80d2c58f | refs/heads/master | 2021-01-19T18:33:16.143552 | 2016-11-29T03:03:25 | 2016-11-29T03:03:25 | 30,293,065 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 78,739 | cpp | ///////////////////////////////////////////////////////////////////////////////
// Name: src/aui/auibar.cpp
// Purpose: wxaui: wx advanced user interface - docking window manager
// Author: Benjamin I. Williams
// Modified by:
// Created: 2005-05-17
// Copyright: (C) Copyright 2005-2006, Kirix Co... | [
"the.corbin.hart@gmail.com"
] | the.corbin.hart@gmail.com |
e00ad4ebe4dcbe901e513cef26dffc34fe44358e | 840877399be53611e086f898c37d6b2179b8248f | /proj8/ArrayQueueTester.cpp | 8f278cef28ed785c059cf14d8adb1bfb47515b4e | [] | no_license | BryceAllen613/112 | e1fdb9e7943b177aea9a35f0f5c5196116d1acb0 | ecb04b3482a6dc88221910395c0de27840bd29d9 | refs/heads/master | 2020-08-16T23:44:12.518871 | 2019-10-16T14:51:05 | 2019-10-16T14:51:05 | 215,572,940 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,684 | cpp | /* QueueTester.cpp defines the test-methods for class Queue.
* Joel Adams, for CS 112 at Calvin College.
*/
#include "ArrayQueueTester.h"
#include <iostream>
#include <cassert>
#include <stdexcept>
#include <cstdlib>
typedef int Item;
using namespace std;
void ArrayQueueTester::runTests() {
cout << "Testing class... | [
"bryceallen@dhcp93-151.calvin.edu"
] | bryceallen@dhcp93-151.calvin.edu |
265bd5ad26a8a9132a8c86d54b07b5d5cb0f1df3 | 485a772cc4978fa7711d2680356035b64919c8c3 | /even odd extraction.cpp | 9998473c3248b667b5214be10fbe263b8480fa56 | [] | no_license | saidur301297/C-Programming | 5eec970966be450c3d0ba7ddb4c79552d5c081e2 | 82c4ed07071df7b120f916fe86791a113f887bf3 | refs/heads/master | 2020-08-06T23:38:59.028871 | 2019-10-11T12:19:52 | 2019-10-11T12:19:52 | 213,202,430 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 762 | cpp | #include<iostream>
using namespace std;
int main()
{
int n,i;
cout<<"Please enter a positive number:";
cin>>n;
cout<<"Enter " <<n<<" elements:";
int array[n];
for(i=0;i<n;i++)
cin>>array[i];
in... | [
"noreply@github.com"
] | noreply@github.com |
92fcf83104a54852457fe6fc38ad5153449e9303 | cdf08df10346f5d4e3b0200c2f59069723e4c812 | /test/heco/heco_runner.cpp | 8d75bff6a00144ad7a5910aa7a40f903b9333fbf | [] | no_license | freesamael/wolf | bf826ff8dc5571fb57ee7f58d50d8eb77482313a | 563aa4ee6955fc83309c49425db5735668ba0954 | refs/heads/master | 2021-03-12T23:44:22.205066 | 2015-07-28T07:02:51 | 2015-07-28T07:02:51 | 27,208,473 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 267 | cpp | /**
* \file heco_runner.cpp
* \date Jun 20, 2010
* \author samael
*/
#include <CRunner.h>
#include <CSimpleWorkerStealer.h>
using namespace wolf;
int main()
{
CSimpleWorkerStealer stealer(10);
CRunner runner(5566, 7788, &stealer);
runner.run();
return 0;
}
| [
"freesamael@gmail.com"
] | freesamael@gmail.com |
7008e0a1ba0aa4f37694bc5d5606051ebf69465d | 8722f2da8bc1a6b3e16ce5759f67ca292c0a7341 | /src/beast/beast/module/core/native/posix_SharedCode.h | d056f3082f281b90a8eebbd7cbb47a5ca102e736 | [
"ISC",
"BSL-1.0",
"MIT",
"MIT-Wu"
] | permissive | waynezu/vpal20 | 010fbec860b6c4d8c775b8d637730580e842d597 | 8deef35521417cd4405d7bbadd030b89bd4fb91b | refs/heads/master | 2020-12-25T21:35:01.584301 | 2014-10-27T03:58:56 | 2014-10-27T03:58:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,607 | h | //------------------------------------------------------------------------------
/*
Portions of this file are from Vpallab: https://github.com/vpallabs
Copyright (c) 2013 - 2014 - Vpallab.com.
Please visit http://www.vpallab.com/
This file is part of Beast: https://github.com/vinniefalco/Beast
... | [
"meanz1235@gmail.com"
] | meanz1235@gmail.com |
fa5ef282282d3f6b8952562ba66d5985c5689b7f | 78a2dd7e0df27506689f0f5b86737dbeb8966ebd | /src/rt/rust_task_list.cpp | 635ee13667d82c5d996106ba80013bff361c5091 | [
"bzip2-1.0.6",
"BSD-1-Clause",
"LicenseRef-scancode-other-permissive",
"MIT",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | benjaminjackman/rust | 06cc431763a3051f22e90259640d4e0732c4dcb1 | 7f4ec2c622a8fd6eb6d27a88ae51daa362834519 | refs/heads/master | 2021-01-16T21:49:18.155860 | 2011-01-18T02:09:35 | 2011-01-18T02:09:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 398 | cpp | #include "rust_internal.h"
rust_task_list::rust_task_list (rust_dom *dom, const char* name) :
dom(dom), name(name) {
// Nop;
}
void
rust_task_list::delete_all() {
dom->log(rust_log::TASK, "deleting all %s tasks", name);
while (is_empty() == false) {
rust_task *task = pop_value();
dom->... | [
"mbebenita@mozilla.com"
] | mbebenita@mozilla.com |
9fd49b8d0f4258553239f58daa70d84082eebe06 | 0b6397af52f05ff9d0b8dba3672b90fc6a9324f3 | /analyzecore/TestStructuredStorage/ShapeTypeFactory.cpp | bcca145181d9a6e59d34d8b7013e74282da58696 | [] | no_license | lgh710681042/parsecore | 35a9c390d32f714bb8963d46f3f508122c0f4617 | 48cd98ae2fa6dc371a01942ba75ce21966bba09c | refs/heads/master | 2020-07-07T16:14:11.372377 | 2020-05-31T16:03:46 | 2020-05-31T16:03:46 | 203,401,704 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 683 | cpp | #include "stdafx.h"
#include "GlobalDefines.h"
#include "Singleton.h"
#include "Handle.h"
#include "ProtectionBooleans.h"
#include "ShapeType.h"
#include "RectangleType.h"
#include "PictureFrameType.h"
#include "ShapeTypeFactory.h"
ShapeTypeFactory::ShapeTypeFactory()
{
}
ShapeTypeFactory::~ShapeTypeFactory()
{
}
... | [
"lgh710681042@gmail.com"
] | lgh710681042@gmail.com |
fdc7034bd053e8670ed12da05b19c0d68b7ece0a | b3f46d9388a1972a84137d58fa7b86132bcd2f56 | /tuan02/tuan 2.C-02.cpp | 303e55cf72af5cbb3ce2967af99fcbaad00ce704 | [] | no_license | lamthienphong-20021567/laptrinhnangcao | c236ab66bd1bc7fca0bf2b63e06efa2d75c7f6cc | 179b3aef7b9d8b456147f0ef98327160308e8a90 | refs/heads/main | 2023-04-28T05:43:10.206585 | 2021-05-13T15:28:00 | 2021-05-13T15:28:00 | 336,136,362 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 245 | cpp | #include<iostream>
using namespace std;
int main()
{
int n;
cout << "nhap n:";cin >> n;
for(int i=0;i<n;i++)
{
for(int j=0;j<n;j++)
{
if(j<i) cout << " ";
if(j>=i)
{
cout << "*";}
}
cout << "\n";
}
return 0;
}
| [
"="
] | = |
17add1d5b1648a5a425c68f141b58707be69c473 | f89b1cf00a14d3315be610a1e2ba1a1fd32bb144 | /784.cpp | 208d571885e289d0865b687379cd6d4a0c2577ae | [] | no_license | IMCG/LeetCode-1 | 2cf7a7b88a232cbd8cb12ab3b4a6ab818eecfb56 | 52d327705ad5ad5dd72aa913c041b31ea6f4daaf | refs/heads/master | 2020-07-26T07:00:57.770329 | 2018-12-29T09:04:22 | 2018-12-29T09:04:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 809 | cpp | class Solution {
public:
vector<string> letterCasePermutation(string S) {
vector<string> s_vec;
permutation(s_vec, S, 0);
return s_vec;
}
private:
void permutation (vector<string> &vec, string s, size_t index) {
if (index == s.size())
vec.push_back(move(s));
... | [
"kobe.792244049@qq.com"
] | kobe.792244049@qq.com |
ee240f09323aea607f1bc4a7af2def569c407cbb | 13eb2b8973044567bc879644d703ad1394db85a5 | /1.Window/src/Shader.cpp | b04d90860548437f36b02abe7c0aebe581fe9af7 | [] | no_license | ZacharyBriggs/OpenGL | da62ea23169ac187c2a5aa09870f0d6f2179e790 | ef8abe3b5fc9fa11c88056a217dac3477324b6ab | refs/heads/master | 2020-03-26T22:50:19.496987 | 2019-01-18T17:01:22 | 2019-01-18T17:01:22 | 145,490,823 | 0 | 1 | null | 2018-10-04T22:28:44 | 2018-08-21T01:44:48 | C++ | UTF-8 | C++ | false | false | 2,892 | cpp | #define GLM_FORCE_SWIZZLE
#include "Shader.h"
#include <cstdio>
#include "gl_core_4_4.h"
#include <iostream>
Shader::Shader()
{
m_program = glCreateProgram();
}
Shader::~Shader()
{
}
void Shader::bind()
{
glUseProgram(m_program);
}
void Shader::unbind()
{
glUseProgram(0);
}
//8. Ability to load shaders from f... | [
"zacharybriggs64@gmail.com"
] | zacharybriggs64@gmail.com |
c6de9123f72ca4cce6f6a739c895be45d34198a7 | c4a74feb0c1548c76b66b3e2e943f11b3e9bf69a | /BattlePack.h | 3178be7d2d6dca8ab284ec83d516ee11e3e6b81e | [] | no_license | GreggZumbari/Red-Black-Tree | 3be17ccea6ca9e177b676f77e138c2d300a1d322 | 116ad97a8ff60348c368acc6bd4390fc6866c2c9 | refs/heads/master | 2022-07-17T02:55:18.402658 | 2020-05-19T07:02:31 | 2020-05-19T07:02:31 | 249,117,128 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,138 | h | //BattlePack.h
/*
Hi. I'm Greggory Hickman, and these are some helpful methods to use in your C++ code.
*/
#include <iostream>
#include <cstring>
#include <math.h>
#define LEN 100
#define BIGLEN 3000
using namespace std;
/*
Clears all data from a cstring. Can be used to empty out a previously used cstring, or to cle... | [
"greggory.png@gmail.com"
] | greggory.png@gmail.com |
88d0342aad46aa3930a2488c14f0beb48623e2c7 | 8b8e51e94e61654a3f331b7e4fa6770d1b3dd4d7 | /TnbSectPx/include/SectPx_CmptProfile.hxx | 75f121d3d405244d1d9575f590ac2cd75f7ddf9e | [] | no_license | PayvandH/Tonb | 1ea829d6732a3645bbf117a8857af5600e9a5192 | 6964200f033ab0b53fc3f3bfa8d58ca9578ecc66 | refs/heads/master | 2023-01-12T21:24:30.491648 | 2020-11-13T17:12:09 | 2020-11-13T17:12:09 | 312,663,721 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 946 | hxx | #pragma once
#ifndef _SectPx_CmptProfile_Header
#define _SectPx_CmptProfile_Header
#include <SectPx_RegObj.hxx>
#include <map>
#include <vector>
namespace tnbLib
{
// Forward Declarations
class SectPx_TopoProfile;
class SectPx_CmptProfile
: public SectPx_RegObj
{
/*Private Data*/
std::vector<std::share... | [
"aasoleimani86@gmail.com"
] | aasoleimani86@gmail.com |
b4c99c69d64ea0b1b481dd04c0a323440228b9bf | 4e77500110fdf83d7a86a329efe0a186fa7b43a6 | /src/core/SkPaint_text.cpp | 21a7c9570bff809c2480df736eaaa6ebb6eb7f9e | [
"BSD-3-Clause"
] | permissive | MonkeyNinja/skia | ba359871bd8c0fc6a55322a72c848a7be5371fd4 | ef4709b7850d0da575010e64f7a4d9eeeefcc83f | refs/heads/master | 2020-04-05T13:10:16.567088 | 2018-11-09T14:37:21 | 2018-11-09T15:41:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,204 | cpp | /*
* Copyright 2018 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkPaint.h"
#include "SkColorFilter.h"
#include "SkDraw.h"
#include "SkFontDescriptor.h"
#include "SkGlyphCache.h"
#include "SkGraphics.h"
#include "SkPaintDefaults.h... | [
"skia-commit-bot@chromium.org"
] | skia-commit-bot@chromium.org |
31bed17b22112cd3fffd4a3cbb13fa920f66f1c7 | c675cf015aa2c13d084718fc7e36623f38353836 | /enveomics/sequence.cpp | 9c76f070101458bc827dea035a5293b396b1471a | [
"Artistic-2.0"
] | permissive | ikauser7/nonpareil | 16bc5c7f86d92f70a21c3b24337c2862592d5aef | fb0cdaad38b8fb5e021c50710d261555ac76ede1 | refs/heads/master | 2021-01-17T21:45:22.701564 | 2013-03-31T22:14:15 | 2013-03-31T22:14:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,188 | cpp | // enveomics/sequence.h - Library for sequences on enve-omics software
// @author Luis M. Rodriguez-R <lmrodriguezr at gmail dot com>
// @license artistic 2.0
// @version 1.0
#include <iostream>
#include <unistd.h>
#include <fstream>
#include <string>
#include <bitset>
#include <stdio.h>
#include "universal.h"
#inclu... | [
"lmrodriguezr@gmail.com"
] | lmrodriguezr@gmail.com |
9d17b50458c1dfaf02378406bd08e233a1bb3914 | 90393990f256a5ae83c8d3a6b431170e68d8b3bf | /sponza/camera.h | 98dd4f39cbbde081000cb0aa05a34dc11f91b0d0 | [] | no_license | zzb66666666x/LearnOpenGL | 6b83773e0fd21c9001c8b42d0f0200b87abf13ee | cb4a133b67a005706a9c9361691b11b3f0ef188a | refs/heads/master | 2023-06-28T11:34:47.695774 | 2021-08-03T12:34:22 | 2021-08-03T12:34:22 | 371,774,362 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,359 | h | #ifndef CAMERA_H
#define CAMERA_H
#include "glad.h"
#include "configs.h"
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <vector>
// Defines several possible options for camera movement. Used as abstraction to stay away from window-system specific input methods
enum Camera_Movement {
FORW... | [
"18767066589@163.com"
] | 18767066589@163.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.