blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4dafab5808699be84eac0d230da464ef54862bc4 | f087fe82246cd56e4f0bb2a27b1e00419a854873 | /source/SexyAppFramework/fmod.h | 224f5b58632c22a59292543301dfc62bb4648bc5 | [] | no_license | ProjectReversio/SexyAppFramework | 3b0d86c51a722a335044799d2acd402f00c5fe86 | ba0d5ff0b1a273a8991e1e87ab6d6e2681dc8107 | refs/heads/master | 2023-06-01T17:06:00.387232 | 2021-06-20T02:39:05 | 2021-06-20T02:39:05 | 377,299,479 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 61,602 | h | /* ========================================================================================== */
/* FMOD Main header file. Copyright (c), Firelight Technologies Pty, Ltd 1999-2002. */
/* ========================================================================================== */
#ifndef _FMOD_H_
#define _FM... | [
"39096122+HumanGamer@users.noreply.github.com"
] | 39096122+HumanGamer@users.noreply.github.com |
26fdbb00e2a315c64f795006bd368334d700a88e | 187bc182d5523097992c0d3ff1d812b5030395ab | /code/107.二叉树的层次遍历-ii.cpp | 4df519e214bec2d520ec6357ba874e0abbc4eae5 | [] | no_license | perryleung/leetcode | 678981840661203558f85085b88a0320e5fb3ceb | f1f00d2574c8001458b6a638083fe4055db0bd53 | refs/heads/master | 2021-08-10T07:54:04.132797 | 2021-01-19T01:36:11 | 2021-01-19T01:36:11 | 242,317,736 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,753 | cpp | /*
* @lc app=leetcode.cn id=107 lang=cpp
*
* [107] 二叉树的层次遍历 II
*
* https://leetcode-cn.com/problems/binary-tree-level-order-traversal-ii/description/
*
* algorithms
* Easy (64.36%)
* Likes: 191
* Dislikes: 0
* Total Accepted: 43K
* Total Submissions: 66.7K
* Testcase Example: '[3,9,20,null,null,15,7... | [
"lscperry@163.com"
] | lscperry@163.com |
7775dee5fb14639375244f788dd639fb239de8d5 | e0a513dcae4df940227e743dda883feae289d536 | /Source/BansheeEngine/Renderer/BsRendererUtility.cpp | 83b7d2ca69876450a67695d7acff573d48b53843 | [] | no_license | WooZoo86/BansheeEngine | 386ffd823b20f8979c2d0a0fde7cb55e357403cf | 6f23af9b1d7d9544d4eb88d7de73e89f7e582092 | refs/heads/master | 2021-05-14T07:36:26.821131 | 2018-01-02T14:07:52 | 2018-01-02T14:07:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,403 | cpp | //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
//**************** Copyright (c) 2016 Marko Pintera (marko.pintera@gmail.com). All rights reserved. **********************//
#include "Renderer/BsRendererUtility.h"
#include "RenderAPI/BsRenderAP... | [
"bearishsun@gmail.com"
] | bearishsun@gmail.com |
f906c7347b3702d957c822cef34527f618ad17c4 | ef381543b19b83aa799d2728241174fbe717175d | /pkg_msgs/src/laser_listener.cpp | bfcfbd996a62a8a2b5e09b4f21cb7ab5a5bb58eb | [] | no_license | RhettCaptain/insRob | bed243cd3a30aaeb73aee1fa51d52bb8a9bdd090 | 67a8c1ea706d993e2290ed351a1bfcaf7d295b47 | refs/heads/master | 2021-01-20T00:33:18.075617 | 2017-07-22T08:09:44 | 2017-07-22T08:09:44 | 89,147,213 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 452 | cpp | #include "ros/ros.h"
#include "pkg_msgs/MsgServerCmd.h"
void openLaser(const pkg_msgs::MsgServerCmd::ConstPtr& msg)
{
if(msg->cmd == "LASER_ON")
{
printf("debug:laser_listener\n");
system("roslaunch pkg_msgs laser_on.launch");
}
}
int main(int argc, char** argv)
{
ros::init(argc,argv,"node_laser_listener");
... | [
"425237277@qq.com"
] | 425237277@qq.com |
6902f0148344f7ec06c1f55d17e3fddd9c8a6471 | bc7029ea523e66f8afd5cabfcc77ce148ecbb1e2 | /Eigen/tester/EigenInterface.cpp | 8e3f19973a7d4204a1f78a7d70bb1bbb15b7963f | [] | no_license | pmarecki/Uni_Test | 807b9c17908193b6ee610670f9a29a6c28803c4d | 2279c88a79467195b6072a410a8236d5b909b327 | refs/heads/master | 2020-11-26T16:32:59.680686 | 2016-02-22T20:37:28 | 2016-02-22T20:37:28 | 7,891,249 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,928 | cpp | //
// Created by tttuuu on 3/12/15.
//
#include "EigenInterface.h"
#include <Eigen/Dense>
using namespace Eigen;
vd EigenInterface::eigenVectors(vd mm) {
Matrix2d m(2,2);
m(0,0) = mm[0];
m(1,0) = mm[1];
m(0,1) = mm[2];
m(1,1) = mm[3];
cout << m << endl;
VectorXcd eigenval = m.eigenvalues();
cout << "... | [
"pmarecki@gmail.com"
] | pmarecki@gmail.com |
fe92c380cb71fd207d856044984bb9e5ba2ff8b9 | 4ff6cea7c655f818a5a16d980d05f8dd563a30cd | /GP_FS4.CPP | 19ba78881bbc385917c3d0d0a230f04973a7c0d6 | [] | no_license | gauravpgaurav/CPP_11th_12th | 86446e0a863c4a9a5e76ff1e4937cc3b3a90b0d6 | 9e2d0298e8ced0caec98e6e7a3005b37ea8c402d | refs/heads/master | 2021-01-10T11:17:10.113644 | 2016-02-19T17:26:34 | 2016-02-19T17:26:34 | 52,103,297 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 172 | cpp | #include<iostream.h>
#include<conio.h>
void main()
{clrscr();
float sum=0,a;
int i,s=1;
for(i=1;i<=10;i++)
{a=i;
sum=sum+(s*1)/a;
s=s*(-1);}
cout<<sum;
getch();} | [
"gauravpgaurav@gmail.com"
] | gauravpgaurav@gmail.com |
9e85ae88eaedec9ce299c90af3eb2bead61106fd | 7254f693e189b95ac917510f7b7ae53f00747cd2 | /Test/UnitTest/BoostAsioClient/SyncClientTest.cpp | bb36c235248a9483292ade5b13261679dfc84540 | [] | no_license | gas1121/BoostAsioPractice | 5bbaa5290281d5b2008c110d768fb879dca1e337 | 6bb04f729972d06998bc20d0ebdc5821374855c1 | refs/heads/master | 2020-04-19T11:29:58.567490 | 2016-09-05T02:26:45 | 2016-09-05T02:26:45 | 66,716,087 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 935 | cpp | #include <BoostAsioClient/SyncClient.h>
#include <thread>
#include <catch.hpp>
#include <BoostAsioClient/ClientTestUtility.h>
using namespace BoostAsioClient;
using namespace boost::asio;
using boost::system::error_code;
using std::placeholders::_1;
using std::placeholders::_2;
namespace
{
const unsigned short k... | [
"jtdzhx@gmail.com"
] | jtdzhx@gmail.com |
7b0232b8aa9cdc92e9a44bd8ec0bb2a9a81eac93 | 97919ba6fe6efdca05800ccdcaeefbed105a25b1 | /bayesian_challenge/devel/include/cvg_sim_msgs/ControllerState.h | 2d223435a853e66edbc5046fb605dba3f3700ca9 | [] | no_license | aravindpreshant/mbzirc | bb6e250d664d06f7d9decdd8e121955fb64e7068 | f86050ec1ccb411de09e3f0319dfb6b8a7b83bd4 | refs/heads/master | 2021-01-10T13:54:47.659192 | 2016-04-06T20:20:12 | 2016-04-06T20:20:12 | 55,637,694 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,065 | h | // Generated by gencpp from file cvg_sim_msgs/ControllerState.msg
// DO NOT EDIT!
#ifndef CVG_SIM_MSGS_MESSAGE_CONTROLLERSTATE_H
#define CVG_SIM_MSGS_MESSAGE_CONTROLLERSTATE_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_trai... | [
"aravindpreshant@gmail.com"
] | aravindpreshant@gmail.com |
92e939e20d3e463e3e3d5a4bdc8b7c684b99c0b5 | 2691e0761ac6e11f4d6d381a6a10259abbc7ba24 | /solvant/algo/benchmarks/ge_benchmark.cpp | 536a5b05cd033bdfd6000b54c374b9d5d3fc0c79 | [] | no_license | llyr-who/solvant | ab82b2ef13623b55152d9acb28e2be976b43e938 | e4d9d37fab652b05dffa27079b50106c9492af03 | refs/heads/master | 2021-08-18T06:58:33.607023 | 2020-06-14T17:59:04 | 2020-06-14T17:59:04 | 193,879,861 | 4 | 4 | null | 2020-06-12T18:51:05 | 2019-06-26T10:07:47 | C++ | UTF-8 | C++ | false | false | 526 | cpp | #include <benchmark/benchmark.h>
#include "algo/ge.hpp"
using namespace solvant;
static void ge_basic_solv(benchmark::State& state) {
// Perform setup here
vector<double, 100> rhs, x;
matrix<double, 100, 100> A;
for (std::size_t i = 0; i < 100; ++i) {
for (std::size_t j = 0; j < 100; ++j) {
... | [
"jamesbushnell1992@gmail.com"
] | jamesbushnell1992@gmail.com |
fdd6a64595f55c0c9cf58a0a945d21699878ef10 | ca780c75c1e7339ee2cc8802b18c48cf70f10172 | /re2c/src/conf/warn.cc | 2bf406b1816a3a8b28b92882d02ebb4532b38c8d | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | gkantsidis/re2c | b8f793c727dc4cb96ef12d862e687afdeb9fc3b3 | 8a82ee027744a3a21ae45c70ace0d5076cf591a8 | refs/heads/master | 2021-05-04T13:25:42.903156 | 2018-02-06T14:34:06 | 2018-02-06T14:34:06 | 120,313,604 | 1 | 0 | null | 2018-02-05T14:12:48 | 2018-02-05T14:12:48 | null | UTF-8 | C++ | false | false | 5,197 | cc | #include <stddef.h>
#include <stdio.h>
#include <algorithm>
#include <set>
#include "src/conf/msg.h"
#include "src/conf/warn.h"
#include "src/skeleton/path.h"
#include "src/re/rule.h"
#include "src/skeleton/skeleton.h"
namespace re2c {
const uint32_t Warn::SILENT = 0;
const uint32_t Warn::WARNING = 1u << 0;
const u... | [
"skvadrik@gmail.com"
] | skvadrik@gmail.com |
7a1b830d2e4b665d643d2f337e65c320622653d8 | 439ac415df5b8e6b7d167591180930138703280e | /Assignment/2학년 1학기/C++/0308/로그인 프로그램/User.cpp | df5703767b5faea32fdaa781ee28334cc5d59a58 | [] | no_license | nier0525/SchoolAssignment | f13f34eb7766ad69977a848844427c9d9277554f | 4b3ffc7828dd18a8cb30514b94b97d0090b87ce7 | refs/heads/main | 2023-03-18T02:57:21.745285 | 2021-03-04T14:51:43 | 2021-03-04T14:51:43 | 344,366,510 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 433 | cpp | #include "User.h"
CUser::CUser(const char* _id, const char* _pass) {
strcpy(Id, _id);
strcpy(Pass, _pass);
}
CUser::~CUser() { }
void CUser::Setid(const char* _id) {
strcpy_s(Id, _id);
}
void CUser::SetPass(const char* _pass) {
strcpy_s(Pass, _pass);
}
const char* CUser::Getid() {
return Id;
}
const char* CU... | [
"goja8303@gmail.com"
] | goja8303@gmail.com |
a84a026aff8cf9d291c38eb1df0585c31c2b2d30 | 9758326e365c1f9fcaf8404cfae65d23984fdb27 | /c++/stl/lower_bound.cpp | 1cb946a1759e85f354b4282eee019ea9584b4355 | [] | no_license | bcreane/hacker_rank | f936ac347279440372441c97c8acb77dbec12568 | 7ca107e23fc93eceb963186e8eb350bd7ac13c8b | refs/heads/master | 2021-05-04T10:57:49.282134 | 2017-07-30T07:17:39 | 2017-07-30T07:17:39 | 49,698,745 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 765 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
int
main()
{
std::vector<int> v;
size_t num_elems;
std::cin >> num_elems;
while (num_elems-- > 0) {
int i; std::cin >> i;
v.push_back(i);
}
std::sort(v.begin(), v.end()); // just in ... | [
"bcreane@riverbed.com"
] | bcreane@riverbed.com |
ba314ae5032105f32bcd66c4def323df59234047 | e38284c7578f084dd726e5522b3eab29b305385b | /Wml/Source/Intersection/WmlIntrLin3Con3.cpp | acafb0fc7b6a4d5f4858ad66344e01c54bfcef9e | [
"MIT"
] | permissive | changjiayi6322/deform2d | 99d73136b493833fa4d6788120f6bfb71035bc4d | 1a350dd20f153e72de1ea9cffb873eb67bf3d668 | refs/heads/master | 2020-06-02T19:38:45.240018 | 2018-07-04T20:26:35 | 2018-07-04T20:26:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,041 | cpp | // Magic Software, Inc.
// http://www.magic-software.com
// http://www.wild-magic.com
// Copyright (c) 2004. All Rights Reserved
//
// The Wild Magic Library (WML) source code is supplied under the terms of
// the license agreement http://www.magic-software.com/License/WildMagic.pdf
// and may not be copied or ... | [
"git@liyiwei.org"
] | git@liyiwei.org |
f478a3dbc2a1c82fb162368a47d4444a6f997bac | 0ff5c3178e87a28a82165bfa908d9319cf7a2323 | /27. LeetCode Problems/range-sum-query-mutable.cpp | cfc41d8970385dd47261220e4b4fbf0ee4b2b14a | [
"MIT"
] | permissive | SR-Sunny-Raj/Hacktoberfest2021-DSA | 40bf8385ed976fd81d27340514579b283c339c1f | 116526c093ed1ac7907483d001859df63c902cb3 | refs/heads/master | 2023-01-31T07:46:26.016367 | 2023-01-26T12:45:32 | 2023-01-26T12:45:32 | 262,236,251 | 261 | 963 | MIT | 2023-03-25T14:22:10 | 2020-05-08T05:36:07 | C++ | UTF-8 | C++ | false | false | 930 | cpp | class NumArray {
public:
vector<int>tree;
int n;
NumArray(vector<int>& nums) {
n=nums.size();
tree.assign(2*n,0);
for(int i=n;i<2*n;i++)
tree[i]=nums[i-n];
for(int i=n-1;i>0;i--)
tree[i]=tree[i*2]+tree[i*2+1];
}
void update(int index, int ... | [
"pranavi.sharma79@gmail.com"
] | pranavi.sharma79@gmail.com |
95e83885bfcf5b7e415fd92e60b2293091f6283f | 9ead6d8802a24d49aebc805cd50e3a7f48dcccf4 | /WDK-Samples/Microsoft Windows XP SP1 DDK (2600.1106)/src/wdm/audio/dmusuart/SETFCD0.tmp | 588ecfdcc241a6e2c8d1fd5e214581875ccc964c | [] | no_license | tdyx87/Windows-samples | 9048295507b03ee83f27e8c070a5b88b9aded0aa | 554b4fa23c8e10edbe55aa3e6a64ae73a636e3b8 | refs/heads/master | 2023-04-29T00:24:27.771986 | 2016-09-30T09:00:49 | 2016-09-30T09:00:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,717 | tmp | /*****************************************************************************
* MPU.cpp - UART miniport implementation
*****************************************************************************
* Copyright (c) 1998-2000 Microsoft Corporation. All rights reserved.
*
* Sept 98 MartinP .
*/
#include "p... | [
"0x9dec1980@gmail.com"
] | 0x9dec1980@gmail.com |
d7ee362ec56afee14d346094bbf24e40d8a0f9ea | 7bce9b921ca80edc8281fe3c8deb5138146292bd | /libseq64/include/easy_macros.h | 7eb7ab39bc28d8a0d63e3df53805eee8e9175e04 | [] | no_license | ahlstromcj/sequencer64 | 5b4fda127233df71c51a8f059b4eb107c7b6d342 | 064c83cd13f35089f186d0a0b592254d504e97a3 | refs/heads/master | 2023-03-11T20:13:51.117320 | 2023-02-18T18:35:52 | 2023-02-18T18:35:52 | 42,365,931 | 245 | 43 | null | 2021-05-24T15:52:01 | 2015-09-12T17:19:59 | C++ | UTF-8 | C++ | false | false | 7,998 | h | #ifndef SEQ64_EASY_MACROS_H
#define SEQ64_EASY_MACROS_H
/**
* \file easy_macros.h
*
* This module provides macros for generating simple messages, MIDI
* parameters, and more.
*
* \library sequencer64
* \author Chris Ahlstrom and other authors; see documentation
* \date 2013... | [
"ahlstromcj@gmail.com"
] | ahlstromcj@gmail.com |
199e1a01799ce19f1e763d3e42e26c22b226aa63 | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/boost/fusion/include/iteration.hpp | dae8fa4d4aed56cd600733bed57534b9543c018f | [
"BSL-1.0"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 546 | hpp | /*=============================================================================
Copyright (c) 2001-2007 Joel de Guzman
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
========================================... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
63a35751a9e3b42927ef3681bef9196997d5b422 | 1e6892d80b2e20b21abc754e11f688554e68badb | /src/Platforms/Implementations/PC/lin/TLinEthernetInterface.cpp | ed741f392254fae24c66edc34b0f87afe691ac0d | [] | no_license | brick-itw/mgt | 4cc201d82ea5282a592cec5b0de846fcdf5f3360 | d67e4f972e5175b102c343b0183887bdb49d7f4b | refs/heads/master | 2021-01-20T17:49:57.602779 | 2017-05-11T20:11:08 | 2017-05-11T20:11:08 | 90,892,537 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 807 | cpp | #include "Platforms/Implementations/PC/lin/TLinEthernetInterface.h"
#include "Platforms/Implementations/PC/lin/TLinError.h"
//#include "error.h"
#include "Base/Types/sub_error.h"
#include <errno.h>
#include <sys/socket.h>
Error TLinEthernetInterface::Open()
{
return SUCCESS;
}
void TLinEthernetInterface::Close()
{
... | [
"brick.av@gmail.com"
] | brick.av@gmail.com |
6aaf24ece0ac6e8d68f3d7be52727303f951a408 | 31ac07ecd9225639bee0d08d00f037bd511e9552 | /externals/OCCTLib/inc/STEPCAFControl_DataMapNodeOfDataMapOfLabelExternFile.hxx | 9facf69c3ea63fe819fb4f0d8650e54868644da8 | [] | no_license | litao1009/SimpleRoom | 4520e0034e4f90b81b922657b27f201842e68e8e | 287de738c10b86ff8f61b15e3b8afdfedbcb2211 | refs/heads/master | 2021-01-20T19:56:39.507899 | 2016-07-29T08:01:57 | 2016-07-29T08:01:57 | 64,462,604 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,240 | hxx | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _STEPCAFControl_DataMapNodeOfDataMapOfLabel... | [
"litao1009@gmail.com"
] | litao1009@gmail.com |
dc472296a56c5f796f7a1c67db63dab3f81dc25c | 868bac4859c89ed986095923246be568de6abb6f | /vision/util/feed_video/src/feed_video.cpp | a9b83c7b1f3f3eeec47e4af04937ddca73d43ca7 | [] | no_license | casiarobot/robo7 | 68f9bce0ae468dbcbba890eb729ee4bc5a795c3b | dcdf648fc7954fa51a41d9a8f58700563dcfe880 | refs/heads/master | 2020-05-02T18:53:54.095173 | 2019-01-15T16:51:29 | 2019-01-15T16:51:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,595 | cpp | #include <ros/ros.h>
#include <image_transport/image_transport.h>
#include <cv_bridge/cv_bridge.h>
#include <sensor_msgs/image_encodings.h>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
using namespace std;
using namespace cv;
static const std::string OPENCV_WINDOW = "Image window";
c... | [
"jtao@kth.se"
] | jtao@kth.se |
277888a2180917b6c0ee8c6d01975445b0bf3eca | 20edb8b55253e36a7a3e593e095cef817f5dd074 | /Spoj/n_factorful.cpp | 91daa2ecc11e41e846e25f133b08defcd552c644 | [] | no_license | naineshhulke/coding-solutions | 6dcb511b33eaee8a493c6ba38a3277edae554460 | 636fa2a2c0f662e6433afc33a3afdfea9fabf32e | refs/heads/master | 2022-10-30T14:44:14.140542 | 2022-10-22T09:04:16 | 2022-10-22T09:04:16 | 217,995,707 | 0 | 1 | null | 2022-10-22T09:04:16 | 2019-10-28T08:08:23 | C++ | UTF-8 | C++ | false | false | 700 | cpp | #include <bits/stdc++.h>
using namespace std;
#define N 1000000
int nopf[ N + 1 ]= {0};
bool is_prime[N+ 1] = { 0 };
int v[11][N + 1] = { 0 };
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
int i,j;
is_prime[0] = 1;
is_prime[1] = 1;
for(i=2; i<=N; i++)
{
if ( is_prime[... | [
"thenainesh@gmail.com"
] | thenainesh@gmail.com |
a55d67f48b4ba5106f558de02d2765fc69f616de | 39dc6edd4715bcf8fe596efcd46433df29900f51 | /manager.cpp | 13ea696791f2c1da6aed6c96b7708ad99c525b16 | [
"MIT"
] | permissive | navinsoni/Contra_2D_Game_in_CPP_with_Design_Patterns | 1dce24c029562647f6f67df3482176fd8eca7864 | f7953b36c7d4ecb0d92c66ac24e8169df9e3e0ad | refs/heads/master | 2016-09-06T07:47:38.210133 | 2014-01-19T20:15:50 | 2014-01-19T20:15:50 | 16,053,398 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,000 | cpp | #include <cmath>
#include "manager.h"
#include "text.h"
Manager::~Manager() {
// These deletions eliminate "definitely lost" and
// "still reachable"s in Valgrind.
SDL_FreeSurface(screen);
delete Gamedata::getInstance();
}
Manager::Manager() :
env( SDL_putenv(const_cast<char*>("SDL_VIDEO_CENTERED=center"))... | [
"navinsoni89@gmail.com"
] | navinsoni89@gmail.com |
992f503bcc171db441f29ed7914767294c65a293 | 6702a19fb2dded0e8cfa09870b20d86259b085d2 | /SDKs/NoesisGUI/Include/NsGui/EllipseGeometry.h | 6681bb939e61df584e10340dfb075b0bc8bbb945 | [] | no_license | whztt07/IceCrystal | e1096f31b1032170b04c1af64c89109b555b94d0 | 288e18d179d0968327e29791462834f1ce9134e6 | refs/heads/master | 2023-08-31T15:02:01.193081 | 2021-10-06T12:17:44 | 2021-10-06T12:17:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,888 | h | ////////////////////////////////////////////////////////////////////////////////////////////////////
// NoesisGUI - http://www.noesisengine.com
// Copyright (c) 2013 Noesis Technologies S.L. All Rights Reserved.
////////////////////////////////////////////////////////////////////////////////////////////////////
... | [
"1326050796@qq.com"
] | 1326050796@qq.com |
50d580aae2c6df634af498cf58facf4f024be249 | 730b92e439dbb013950b8bbf417cfde1bb40f8b9 | /Cpp/Nuts&Bolts-Problem.cpp | b308acf71382ba3868738baa20b94ef9354a61a6 | [] | no_license | yuede/Lintcode | fdbca5984c2860c8b532b5f4d99bce400b0b26d0 | d40b7ca1c03af7005cc78b26b877a769ca0ab723 | refs/heads/master | 2021-01-13T04:14:32.754210 | 2015-08-22T13:15:54 | 2015-08-22T13:15:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,911 | cpp | /**
* class Comparator {
* public:
* int cmp(string a, string b);
* };
* You can use compare.cmp(a, b) to compare nuts "a" and bolts "b",
* if "a" is bigger than "b", it will return 1, else if they are equal,
* it will return 0, else if "a" is smaller than "b", it will return -1.
* When "a" is not a nu... | [
"jiangyi0425@gmail.com"
] | jiangyi0425@gmail.com |
0bef06034a889a29227f93748e0a8c625c9f5aef | f2bd8633a534d268b76385ffe45dc3b775e9f5e1 | /ProGen/colorshaderclass.h | 9c5cf570459b00aca6a655667ac8bbe0eaedf148 | [] | no_license | riverdarda/CTPproject | 0f4c0922f7d0551a13f80f717112a9ca77b1ea2c | 530aff7cbb547b118256520888bec5613738592b | refs/heads/master | 2020-05-04T14:28:51.159157 | 2018-04-25T03:14:22 | 2018-04-25T03:14:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,079 | h | #pragma once
#ifndef _COLORSHADERCLASS_H_
#define _COLORSHADERCLASS_H_
#include <d3d11.h>
#include <d3dcompiler.h>
#include <directxmath.h>
#include <fstream>
using namespace DirectX;
using namespace std;
class ColorShaderClass
{
private:
struct MatrixBufferType
{
XMMATRIX world;
XMMATRIX view;
XMMATRIX proje... | [
"Danthemanwow@hotmail.com"
] | Danthemanwow@hotmail.com |
eff08aa1c9d01d6be779467c596f14f46b265f81 | 60ba8df74899e407159305a3a667ff54902c0b2e | /Ref/Pep9/pep.h | 13bf8cbaeb5c1912f3fdd54b2108c6e44676ac14 | [] | no_license | StanWarford/pep9pad | 3d8bc363118bde8ac9d3753e9047303f6f1bf0ec | 0b5c1f6c094f76cc243a47d7db18152762237b58 | refs/heads/master | 2021-10-10T00:47:35.380765 | 2021-10-09T05:00:34 | 2021-10-09T05:00:34 | 52,482,258 | 3 | 4 | null | 2018-02-17T00:53:40 | 2016-02-24T23:32:42 | Swift | UTF-8 | C++ | false | false | 6,140 | h | // File: pep.h
/*
Pep9 is a virtual machine for writing machine language and assembly
language programs.
Copyright (C) 2009 J. Stanley Warford, Pepperdine University
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as pu... | [
"josh.haug55@gmail.com"
] | josh.haug55@gmail.com |
dbbed7bdd5beea76e10547b259468c6976b08fdb | 8569e94b7d9e30e0d9cfa61ad0c55578dd8182b0 | /3rdparty/lzma/CPP/Windows/ResourceString.h | cbaef4bfb30cc6cb5676cfc1ee50bae6f063d22e | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Crisspl/IrrlichtBAW | 443e542008fda0ce4810be64525ff9c064f2a2fe | a4502c6c453b2ebf260e1583b1328f686289aca8 | refs/heads/master | 2021-06-07T20:38:48.162430 | 2019-09-03T17:39:50 | 2019-09-03T17:39:50 | 118,658,221 | 5 | 3 | Apache-2.0 | 2020-11-26T10:55:10 | 2018-01-23T19:26:21 | C++ | UTF-8 | C++ | false | false | 346 | h | // Windows/ResourceString.h
#ifndef __WINDOWS_RESOURCE_STRING_H
#define __WINDOWS_RESOURCE_STRING_H
#include "../Common/MyString.h"
namespace NWindows {
UString MyLoadString(UINT resourceID);
void MyLoadString(HINSTANCE hInstance, UINT resourceID, UString &dest);
void MyLoadString(UINT resourceID, UStrin... | [
"devsh.graphicsprogramming@gmail.com"
] | devsh.graphicsprogramming@gmail.com |
6b455fe72fe4a5b3d2a4e4eb103abbbff72e400a | bb5258ea8c1f8cbcc247b92971cd926264479002 | /ds4/code/4_core/component/status/status_component.cpp | 2a0b4c5abf3bb7787a58d96095b86a08fb33b6fb | [
"MIT"
] | permissive | demonsaw/Code | 16fa41f07600e83f16713a657ac8fffa0b6b7f9b | b036d455e9e034d7fd178e63d5e992242d62989a | refs/heads/master | 2021-11-07T21:37:03.738542 | 2021-10-26T03:47:14 | 2021-10-26T03:47:14 | 98,356,418 | 134 | 19 | MIT | 2019-01-06T03:20:12 | 2017-07-25T22:50:36 | C++ | UTF-8 | C++ | false | false | 2,325 | cpp | //
// The MIT License(MIT)
//
// Copyright(c) 2014 Demonsaw 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 restriction, including without limitation the rights
// to use, c... | [
"eric@codesiren.com"
] | eric@codesiren.com |
38adf0d8e0477a8113ca347f7e1243ebe6edcac6 | e829f859e0796ef44c35fe3f3038b20f19432ae8 | /src/ui/searchdialog.cc | ae25e16b2f55400e122c4c84223fa4bc653da2fe | [
"Apache-2.0"
] | permissive | praveenmunagapati/veles | 00c21ac5d8bedc2637a0fb80e7c6a44a88418e89 | 8337899d1307cabdb3b374932a286226222ec1c2 | refs/heads/master | 2021-06-12T01:43:27.436924 | 2017-01-10T23:45:21 | 2017-01-10T23:47:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,306 | cc | /*
* Copyright 2016 CodiLime
*
* 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 writ... | [
"wapiflapi@yahoo.fr"
] | wapiflapi@yahoo.fr |
2e9b27f3940f7a51890c5c4711a7dc2554882d2e | 5dc252c622c3600f398d9d7a4bd757949d078f24 | /app_analogweb1.cpp | 840955fab320a2020942ddf21dba99818833396f | [] | no_license | jterweeme/mega | f81b046fc3c1b9597861d4e35f225c0d36fd8391 | c675769237681d44bef8f1529603b961967f449e | refs/heads/master | 2021-09-07T14:56:23.086253 | 2018-02-24T11:20:29 | 2018-02-24T11:20:29 | 110,686,378 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,934 | cpp | /*
Mega eth CS: D53
*/
#include "uip_ethernet.h"
#include "uip_server.h"
#include "uip_client.h"
#include <avr/interrupt.h>
#include "misc.h"
#include <stdio.h>
#define F_CPU 16000000UL
#include <util/delay.h>
uint32_t g_millis = 0;
ISR(TIMER0_OVF_vect)
{
g_millis++;
}
uint32_t millis()
{
return g_millis;
... | [
"jasper@yogalinux.terweeme.eu"
] | jasper@yogalinux.terweeme.eu |
cef53621d96f2602d0e834d1f6d323610cd3fdca | 2834f98b53d78bafc9f765344ded24cf41ffebb0 | /chrome/browser/chromeos/crostini/crostini_upgrader_ui_delegate.h | c035b34484aab1942399ab8037a8f8d73a499edb | [
"BSD-3-Clause"
] | permissive | cea56/chromium | 81bffdf706df8b356c2e821c1a299f9d4bd4c620 | 013d244f2a747275da76758d2e6240f88c0165dd | refs/heads/master | 2023-01-11T05:44:41.185820 | 2019-12-09T04:14:16 | 2019-12-09T04:14:16 | 226,785,888 | 1 | 0 | BSD-3-Clause | 2019-12-09T04:40:07 | 2019-12-09T04:40:07 | null | UTF-8 | C++ | false | false | 1,566 | h | // 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.
#ifndef CHROME_BROWSER_CHROMEOS_CROSTINI_CROSTINI_UPGRADER_UI_DELEGATE_H_
#define CHROME_BROWSER_CHROMEOS_CROSTINI_CROSTINI_UPGRADER_UI_DELEGATE_H_
#incl... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
d90813c3b388cfd77451cbb56cb18955c63850c2 | d94e3f62574489a2674dd83fa8c5f60eb8926d50 | /elepheye/Exception.hpp | ef37a63547fb79fa33dbb625ddffa0387d965ca9 | [
"MIT"
] | permissive | zbalkan/Elepheye | 1118e6133413cf4e11fbdb893473ee4b37e95fc4 | 99455c478af8895657f08ba00bc88e7c7ae5c23e | refs/heads/master | 2022-09-01T07:51:39.001576 | 2020-05-25T20:58:23 | 2020-05-25T20:58:23 | 266,878,541 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,218 | hpp | /*
* Elepheye
*
* Copyright (c) 2009 Michito Kaji
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify... | [
"zafer@zaferbalkan.com"
] | zafer@zaferbalkan.com |
cc29a3bbf3e78b8841243855a2f034a395470780 | 5664ab66deeecea95313faeea037fa832cca34ce | /modules/v2x/proto/v2x_rsi.pb.cc | aaafbf72f4c504169ec43ef5fa481e8a3a693190 | [] | no_license | Forrest-Z/t1 | 5d1f8c17dc475394ab4d071a577953289238c9f4 | bdacd5398e7f0613e2463b0c2197ba9354f1d3e3 | refs/heads/master | 2023-08-02T03:58:50.032599 | 2021-10-08T05:38:10 | 2021-10-08T05:38:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 32,164 | cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: modules/v2x/proto/v2x_rsi.proto
#include "modules/v2x/proto/v2x_rsi.pb.h"
#include <algorithm>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/wire_format_lite.h>
#include <google/... | [
"530872883@qq.com"
] | 530872883@qq.com |
192e92a176eaa83562b34aae9d3a9e0037ccdd50 | b16f80f957616e97b0478467250b2fa32341ff26 | /NVCTY_polymorphim_v3/CQuanLy.h | 4bf3d38b6576df42f5d9d529539f1e9becfa0782 | [] | no_license | DucTamDinhUIT/oop.practice | 678006cfb0d10925d7cdce53584eb2820ab14f2c | 2e47445686b117235433ea34eab0f543c5fabd93 | refs/heads/master | 2022-11-16T05:55:15.956211 | 2020-07-09T20:10:48 | 2020-07-09T20:10:48 | 275,568,270 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 178 | h | #pragma once
#include "CNhanVien.h"
class CQuanLy :
public CNhanVien
{
private:
float luongCoBan;
long heSoLuong;
public:
void Nhap();
void Xuat();
float TinhLuong();
};
| [
"ductam.astro@gmail.com"
] | ductam.astro@gmail.com |
c2cba3f99bba727835ae34a862099f6dbc75ee20 | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/libs/hana/test/string/cnstr.default.cpp | c2dc3db283fd379b28e972e5a87a13f8ee2aa4c7 | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 358 | cpp | // Copyright Louis Dionne 2013-2017
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
#include <sstd/boost/hana/string.hpp>
namespace hana = boost::hana;
int main() {
using Str = decltype(hana::string_c<'a', 'b', 'c', ... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
1756e4a95e788e6a0ca6482193396226703da64c | 1ae60d7cc65c8bed2c8ebe2bb90488585fb67e78 | /cpp/openScenarioLib/src/v1_1/expression/ExpressionResolverStackV1_1.h | 796168fb0fa5d2e7653b511e768233369503b9ed | [
"Zlib",
"BSL-1.0",
"Apache-2.0",
"MIT",
"BSD-3-Clause"
] | permissive | RA-Consulting-GmbH/openscenario.api.test | af3e2f30f2567402d1a105cc8a85949959ca488c | 6c6d6c43764029033b35987d1b8d69cea3a873f0 | refs/heads/master | 2023-02-18T23:50:13.415340 | 2023-02-15T13:07:47 | 2023-02-15T13:07:47 | 276,599,487 | 37 | 9 | Apache-2.0 | 2023-02-15T13:48:00 | 2020-07-02T09:05:18 | C++ | UTF-8 | C++ | false | false | 2,323 | h | /*
* Copyright 2020 RA Consulting
*
* RA Consulting GmbH licenses this file 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 require... | [
"a.hege@rac.de"
] | a.hege@rac.de |
5a97e483b4178657425e349e30a028cb34f17426 | bd5c94cc7dd5b22906415cd956a5d91553241011 | /Studyhelper_Watch.ino | 18f4bc416531e81a6518914500981dad182c7ada | [] | no_license | Mingyu-Kim/Studyhelper_arduino_tutorial | 63d9de444af71397939c1a151550fba2451161eb | 810b947114b361ce42ecaa9d4f9d1e4871b148da | refs/heads/master | 2021-01-01T18:16:48.084931 | 2015-05-15T06:07:54 | 2015-05-15T06:07:54 | 35,432,353 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 5,830 | ino | /* 스터디헬퍼 초시계 프로젝트
(주)탐생 김민규 제품개발담당
mingyu@tamseng.co.kr
2015/05/08 v0.01
- 기본 구조 제작
2015/05/11 v0.02
- 자제 선정
2015/05/15 v0.03
- 타이머 설정 추가
*/
/*
아두이노 레오나르도를 이용하며 4자리의 FND디스플레이를 BCD->7Segment 디코더를 이용하여 출력
입력 버튼을 받아서 리셋 (내부 풀업저항 사용)
시계용 캐소드 공통 4자리 FND를 사용하며, 디코더는 4511칩 사용
4511 데이터시트 : http://www.farnell.com/d... | [
"mingyu@mingyu.co.kr"
] | mingyu@mingyu.co.kr |
85176232caa60939a7b099ee58c646d306e08a23 | ccf62af70456beb5a01ffc33f35bd10f205c4753 | /xform_cpp/src/recipe/hl_laplacian_pyramid_level.cpp | 7b44dfa0314d47b165407ea0c315f7477d53c954 | [] | no_license | dingqianxiang/xform_recipes | a2c12bab43a7210d8fd771d2157ea64419b46709 | 69404155f07860a7c754670dcb61c5ce03d88809 | refs/heads/master | 2020-03-15T10:36:18.973626 | 2016-10-28T14:08:31 | 2016-10-28T14:08:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,596 | cpp | /* -----------------------------------------------------------------
* File: hl_laplacian_pyramid_level.cpp
* Author: Michael Gharbi <gharbi@mit.edu>
* Created: 2015-07-24
* -----------------------------------------------------------------
*
*
*
* ---------------------------------------------------------... | [
"gharbi@mit.edu"
] | gharbi@mit.edu |
67a14987ef713b457e46dcc27f4efde2af4ffbac | 7ee5f75d0e6ee30603c8cae54950426043d6f309 | /OSC/stdafx.cpp | 32821b66ee3ea34ac6924eb94b18bb2ca8334a4d | [] | no_license | stereolux/Projet-Myo-OSC | 249f4155eaff5219d90714fcb25db40f16f2cac1 | ac24680cd8c57bd8ab6d2c019d692007087371f6 | refs/heads/master | 2021-05-28T06:27:16.741522 | 2014-05-22T09:41:47 | 2014-05-22T09:41:47 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 330 | cpp | // stdafx.cpp : fichier source incluant simplement les fichiers Include standard
// OSC_test.pch représente l'en-tête précompilé
// stdafx.obj contient les informations de type précompilées
#include "stdafx.h"
// TODO: faites référence aux en-têtes supplémentaires nécessaires dans STDAFX.H
// absents de ce fichier
| [
"myoptrans@gmail.com"
] | myoptrans@gmail.com |
b78d2341211ef406f52d9407e190fdbf4aa021af | 0c338278efe932234fd1c49e882d258017041515 | /libsnes/bsnes/snes/chip/superfx/serialization.cpp | 62b3831427086ee6bfb79878d09bd53aed17257c | [] | no_license | cyndyishida/BizHawkEmulator | 49b9e50760664d6364a1e1c2b0e41b9d227ccc39 | c03dc523a5e616ca3427955be4801ca866ba8ac5 | refs/heads/master | 2021-01-11T18:54:19.176608 | 2017-05-11T18:42:52 | 2017-05-11T18:42:52 | 79,653,122 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,183 | cpp | #ifdef SUPERFX_CPP
void SuperFX::serialize(serializer &s) {
Processor::serialize(s);
//superfx.hpp
s.integer(clockmode);
s.integer(instruction_counter);
//core/registers.hpp
s.integer(regs.pipeline);
s.integer(regs.ramaddr);
s.integer(regs.r[ 0].data);
s.integer(regs.r[ 1].data);
... | [
"ishidacy@msu.edu"
] | ishidacy@msu.edu |
b08d48a23c058c793a42dbb21158e8c5c548b6d1 | 62ececd0b45b19119f2a94665b8209dc970482ba | /QWave2/QWave2/WaveformRuler.h | 15e36c8bdcafb1786a949b6fdc41a12157cbe3e8 | [] | no_license | rannger/MusicEditor | cdeef6a6422cf03cb45c91baae7b702a55a75738 | 399016ac123fee98496259b21eb04542bb2be5dd | refs/heads/master | 2021-01-16T18:31:44.892743 | 2012-03-08T14:08:10 | 2012-03-08T14:08:10 | 2,949,200 | 5 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 2,580 | h | #ifndef _WaveformRuler_h_
#define _WaveformRuler_h_
#include <qwidget.h>
#include <qpixmap.h>
#include <qpainter.h>
#include <QWave2/qwave2defs.h>
#include <map>
using namespace std;
namespace QWave2 {
class Waveform;
/// WaveformRuler is a horizontal timescale widget.
/**
*/
... | [
"administrator@administrator-laptop.(none)"
] | administrator@administrator-laptop.(none) |
f9712b3f0f8b814888b6e1c7833c26daaaff447d | 879faf64fb310a0521dcebff35848422e7f3c831 | /whistle_ios_dev_2.1/src/biz/gloox_async/gloox_src/socks5bytestreammanager.cpp | 876db6fe7da3f5fe8a9fae13a1a83deb2baa3157 | [] | no_license | qglt/weishao | 00d6fc1603f53c887f05e9266d3abdbf5bf3da91 | c0d8d2e2542d627162a4e12346d2709db9df1601 | refs/heads/master | 2016-09-06T03:43:57.398389 | 2014-08-15T06:54:49 | 2014-08-15T06:54:49 | 22,980,807 | 0 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 14,477 | cpp | /*
Copyright (c) 2006-2012 by Jakob Schroeter <js@camaya.net>
This file is part of the gloox library. http://camaya.net/gloox
This software is distributed under a license. The full license
agreement can be found in the file LICENSE in this distribution.
This software may not be copied, modified, sold o... | [
"qinggeletu110@163.com"
] | qinggeletu110@163.com |
e4407193f12eb321c22a43b31dfe6a39ee9c992c | 8dccb739b833b93c2efa618b1be68b0be9145e3c | /Pila/Postfija/pila.h | 9845719ae2fc901ce957a9578ee4ae45c69dcf92 | [] | no_license | EstebanOG/Ciencias_I | 5d15786d28e220f6e3678459fde836a28f8e508f | 6f31dba7e9b186d2c032fbd361fbd4a069781544 | refs/heads/master | 2022-11-12T19:32:10.116294 | 2020-07-10T12:29:44 | 2020-07-10T12:29:44 | 262,670,459 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 808 | h | #ifndef PILA_H
#define PILA_H
#include <iostream>
using namespace std;
class Pila
{public:
Pila (int max);
~Pila();
void meter(int V);
int sacar();
int vacia();
private:
struct nodo
{int clave; struct nodo *siguiente;};
struct nodo *cabeza, *z;
};
Pila::Pila(int max)
{ cabeza = ... | [
"juanesteban199911@gmail.com"
] | juanesteban199911@gmail.com |
eddeb5e542af81c3f8454864928e4fcaeb9a4146 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/admin/wmi/wbem/winmgmt/wbemcomn/flexq.cpp | d1e60bc39b3de1b1c5095fda93938011946007a4 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 2,175 | cpp | /*++
Copyright (C) 1996-2001 Microsoft Corporation
Module Name:
FLEXQ.CPP
Abstract:
CFlexQueue.
History:
--*/
#include "precomp.h"
//#include <dbgalloc.h>
#include <flexq.h>
CFlexQueue::CFlexQueue(int nInitialSize) :
m_nSize(nInitialSize), m_nHeadIndex(0), m_nTailIndex(0)
{
... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
c45cd325328495fac201b9ddfeba53c0f32d839e | 363176993f80d8acdf6f53ef0eb742a69afb008a | /media/mojo/clients/mojo_video_decoder.cc | 670d1a5ecb35de7ae1e0d94e6cfafe047deff861 | [
"BSD-3-Clause"
] | permissive | nico/chromium | 1ab2f891d6f05c8914f2f5a80e08e3564fd43110 | 777ca4b71dcae380958a8255a9f8e35c4623f5dc | refs/heads/master | 2023-03-14T16:29:08.617171 | 2020-03-19T23:11:13 | 2020-03-19T23:11:13 | 248,628,027 | 1 | 0 | BSD-3-Clause | 2020-03-19T23:46:43 | 2020-03-19T23:46:43 | null | UTF-8 | C++ | false | false | 16,286 | cc | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "media/mojo/clients/mojo_video_decoder.h"
#include <atomic>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/callback_helpe... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
af22a1195c1c9368f2121d2d7d5f17d94ff53986 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive/5c4d5f19ba0ea991d12f0b20906fccc3/main.cpp | 3c3a25478ef30819bffd43f658bb2e82481123f4 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 742 | cpp | #include <type_traits>
#include <ostream>
#include <sstream>
#include <iostream>
enum class strang : char {
negative = '-',
positive = '+'
};
template<class T>
typename std::enable_if<std::is_enum<T>::value, std::ostream&>::type
operator<<(std::ostream& s, T const& t) {
s << static_cast<typename std::unde... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
77a6bdc5a780bcc672a360ea4cf7aa1d1cd5afb9 | 2c872235d6faca0858bda931622ce7fba30bcb7d | /numuCCInclusiveFilter/numuCCIncFilter_module.cc | e225209b14ce6cffa7ab839df371bbbac32c5a72 | [] | no_license | jzennamo/NuMuCC | 573a2fb846185d1dfb410b0f62529c7f81be8a79 | 505d60bf394004d016daa9a3bb854b190dbffc2d | refs/heads/master | 2021-01-01T03:49:22.889085 | 2016-04-26T20:41:44 | 2016-04-26T20:41:44 | 57,150,930 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,867 | cc | ////////////////////////////////////////////////////////////////////////
// Class: numuCCIncFilter
// Module Type: filter
// File: numuCCIncFilter_module.cc
//
// Version by Lorena and John
// from cetpkgsupport v1_10_01.
////////////////////////////////////////////////////////////////////////
#include "... | [
"jzennamo@uchicago.edu"
] | jzennamo@uchicago.edu |
a73a66d5db35a9b950f460f4ba45d050d788ae8e | 3d9e738c19a8796aad3195fd229cdacf00c80f90 | /src/gui/gl_widget_3/GL_widget_3.cpp | 6d3b66374ed3175f3636e8323c8303485c4e3d6c | [] | no_license | mrG7/mesecina | 0cd16eb5340c72b3e8db5feda362b6353b5cefda | d34135836d686a60b6f59fa0849015fb99164ab4 | refs/heads/master | 2021-01-17T10:02:04.124541 | 2011-03-05T17:29:40 | 2011-03-05T17:29:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,858 | cpp | /* This source file is part of Mesecina, a software for visualization and studying of
* the medial axis and related computational geometry structures.
* More info: http://www.agg.ethz.ch/~miklosb/mesecina
* Copyright Balint Miklos, Applied Geometry Group, ETH Zurich
*
* $Id: GL_widget_3.cpp 737 2009-05-16 15... | [
"balint.miklos@localhost"
] | balint.miklos@localhost |
023bf33999e8d1dbef28ea51d0f75917b13b9050 | d4ef2bd683cf911e240d28ff4eb585cf2be04e52 | /Practice/Company_Wise/Flipkart/Longest_substring_with_equal_number_of_0s_and_1s.cpp | f2e4c15f4787cf0428359addee8880551652a7e3 | [] | no_license | pr97/Algotithms-and-Data-Structures | 440959da8619b5af0842fa70e1f4ea5c93750ed2 | c1ff3d03163cab21d25d50f0cba5e4c3e54338f5 | refs/heads/master | 2020-03-19T04:25:15.825777 | 2019-09-01T21:09:14 | 2019-09-01T21:09:14 | 135,825,909 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 594 | cpp | // https://practice.geeksforgeeks.org/problems/longest-substring-with-equal-number-of-0s-and-1s/0
#include <bits/stdc++.h>
using namespace std;
int main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int t;
cin >> t;
cin.ignore();
while(t--){
string s;
getline(cin, s);
int num_zeros = 0, num_ones = ... | [
"pratyushmishra03@gmail.com"
] | pratyushmishra03@gmail.com |
de4619f0e160c946b5d8899ff1590f5feb4c40ca | 34d20fdbcca68f8549f1e52d381e3662c40b8fa2 | /orm/small-test.cpp | 75c49999cf5c17c143595d1cd096baaaa3e39d75 | [
"BSD-3-Clause"
] | permissive | malt2/malt2 | 96e53264554743e8c663fa6ad64ce331ddd178db | e3407e8483857979d191044d377674a2eb251508 | refs/heads/master | 2021-09-08T16:40:46.096811 | 2021-08-30T00:16:32 | 2021-08-30T00:16:32 | 101,443,536 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,428 | cpp | /*
* Copyright (C) 2017 NEC Laboratories America, Inc. ("NECLA"). All rights reserved.
*
* This source code is licensed under the license found in the LICENSE file in
* the root directory of this source tree. An additional grant of patent rights
* can be found in the PATENTS file in the same directory.
*/
#inclu... | [
"asimkadav@gmail.com"
] | asimkadav@gmail.com |
966a825541794b48b9faaad766ce1b6c48bcfac2 | 83aca81ee006fb1b4b965e746786e5276d218cb6 | /2020/include/maya/MFnNewtonField.h | 87d1de4f0a44681050413196dd1d0d1ad3cc2a47 | [] | no_license | smart-tai/maya_SDK | cef4d73b812d294ad44e89b714b46c18929965e1 | 9549d16c028880f2c4735b7b371ca8bc427a7d0e | refs/heads/master | 2023-02-23T03:25:12.113515 | 2020-03-21T08:29:17 | 2020-03-21T08:29:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,547 | h | #pragma once
//-
// ===========================================================================
// Copyright 2018 Autodesk, Inc. All rights reserved.
//
// Use of this software is subject to the terms of the Autodesk license
// agreement provided at the time of installation or download, or which
// otherwise accompanie... | [
"123"
] | 123 |
50d05c61a10fd598fb5d3bd0331d4d27bde3aa06 | fae663a394f24aab5ff39b164f088a6714ec3ba9 | /util/from_string.h | 7049cf1bef8aee4c795dfbfa62f498fe29b7961f | [] | no_license | IanHG/libmda | 1487f549298b3c1f5c1b72992f1ea8f5373a0dd8 | a1f0e236f5527edbe803244de49e85ec09f95839 | refs/heads/master | 2021-01-18T23:06:45.827622 | 2018-09-14T12:51:25 | 2018-09-14T12:51:25 | 15,339,841 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,387 | h | #ifndef LIBMDA_UTIL_FROM_STRING_H_INCLUDED_
#define LIBMDA_UTIL_FROM_STRING_H_INCLUDED_
#include <stdexcept>
#include "type_info.h"
namespace libmda
{
namespace util
{
namespace detail
{
template<class T> struct from_string_impl;
////////////////////////
//
// integer conversions
//
///////////////////////
//
// in... | [
"ian@chem.au.dk"
] | ian@chem.au.dk |
0f013caf62c994d27d579984dff83927e2f22934 | 7375d7d891313260f62e20fe35d733f146eca2d2 | /mountain/public_inc/mountain/sampler.h | 804d4d7817a51cf69b3b4ad3a1fcdc26ecb3c510 | [] | no_license | joeBlinx/Mountain-API | b71c71427534a2ca3cf94ff5c33bd188ab3267a6 | 86079eece72f3902a57ee32c2baa6f072a413adc | refs/heads/master | 2023-04-29T11:56:14.430057 | 2021-05-23T15:36:54 | 2021-05-23T15:36:54 | 337,485,457 | 0 | 0 | null | 2021-03-08T07:04:21 | 2021-02-09T17:39:03 | C++ | UTF-8 | C++ | false | false | 619 | h | //
// Created by stiven on 1/6/21.
//
#ifndef MOUNTAIN_API_SAMPLER_H
#define MOUNTAIN_API_SAMPLER_H
#include "context.h"
namespace mountain::image {
struct sampler {
/**
* Create a basic sampler with mipmap
* @param context: Vulkan context
* @param mipmap_levels: mipmap level yo... | [
"aiglestiven@gmail.com"
] | aiglestiven@gmail.com |
8015a0ef6696387c0ddd95c871e6f59f55e68163 | 2b971fba3e6458017878629267ff3aaa56f52a4a | /libs/image/include/sge/image/algorithm/uninitialized.hpp | d289d2c2498f58047846393e333948afaa7421a1 | [] | no_license | BlenderCN-Org/spacegameengine | 31c592ae411989a14593bd432b519a0bf185f12f | 8df13fe9b9d734b19591dbed8fd753342e87ef5c | refs/heads/master | 2020-05-23T23:59:49.731228 | 2019-04-28T09:23:04 | 2019-04-28T09:23:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,133 | hpp | /*
spacegameengine is a portable easy to use game engine written in C++.
Copyright (C) 2006-2016 Carl Philipp Reh (carlphilippreh <at> gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License
as published by the Free Software Foundation... | [
"carlphilippreh@gmail.com"
] | carlphilippreh@gmail.com |
c9757da01a265d37d6f2aae7eebd7cbc085f7d22 | 7a78e01009b0466b36146e9e32ddf52c88aead1f | /binary_search_tree_for_joe/main.cpp | 228dbcc81311cb28a831af711c6fe03b3b6133a6 | [] | no_license | profoundry/BST | 7351187fe6aedbabd7deeace4e68ddbb150d6ac8 | f65c3c2b4baf09b848b7036b869c6a8351a62c30 | refs/heads/master | 2021-03-12T23:17:50.515687 | 2015-03-05T01:54:10 | 2015-03-05T01:54:10 | 31,690,269 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 293 | cpp | #include <iostream>
#include <cstdlib>
#include "BST.hpp"
int main()
{
srand(19);
BST<int> *b = new BST<int>();
for (int i = 0; i < 10; ++i)
{
b->add(new Node<int>(rand() % 100));
}
b->display();
std::cout << "\nBFS: ";
b->BFS();
std::cout << "\nDFS: ";
b->DFS();
}
| [
"aed27@zips.uakron.edu"
] | aed27@zips.uakron.edu |
dc14aa0f3b124fe22cfcd8575cb0747c769aaaee | d301049a0398ee2ff71a85d5e0ff3ef51afcd26f | /src/gui/panels/FuncGraphViewerPanel.h | 82e8e322355dde008c9900ceb38c684b1104b318 | [
"Apache-2.0"
] | permissive | Fleynaro/SDA | 08a53ae434e31d46e97fab5de4f4a3325cdc80bb | d4b977e9522f09da38847a8e95b7f471e3a30f14 | refs/heads/master | 2023-08-30T14:34:38.655997 | 2022-10-06T16:22:58 | 2022-10-06T16:22:58 | 233,063,028 | 114 | 11 | null | null | null | null | UTF-8 | C++ | false | false | 11,965 | h | #pragma once
namespace GUI
{
static void RenderAddress(uint64_t offset, bool isBpSet = false) {
using namespace Helper::String;
Text::ColoredText("base + 0x" + NumberToHex(offset, false), isBpSet ? 0xf5455cFF : -1).show();
}
class Canvas
: public Control,
public Attribute::Id
{
protected:
class Block
... | [
"dariusjohnson555@gmail.com"
] | dariusjohnson555@gmail.com |
3e063750a150dc9ba979bfa3b14075b8248ee17c | 51635684d03e47ebad12b8872ff469b83f36aa52 | /external/gcc-12.1.0/libstdc++-v3/testsuite/20_util/unique_ptr/101236.cc | 2f55f4baf9afcc527b5ae6a5a5dbfe11a5277b5f | [
"LGPL-2.1-only",
"GPL-3.0-only",
"GCC-exception-3.1",
"GPL-2.0-only",
"LGPL-3.0-only",
"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 | 299 | cc | // { dg-do compile { target c++11 } }
#include <memory>
struct Incomplete;
struct pr101236
{
// The standard says "T shall be a complete type" for unique_ptr<T[], D>
// so this is a GCC extension.
std::unique_ptr<Incomplete[]> p;
Incomplete& f() { return p[0]; }
};
struct Incomplete { };
| [
"rink@rink.nu"
] | rink@rink.nu |
dd45a280a6e56020173f8e70899a537ce91bd2d2 | 48e3bb964a8301e52ba9f1b7e79a381e81188949 | /patterns/StrategyPattern1.h | 594982cb62c2e22886cce4e777cec78ec5288b7a | [] | no_license | nedbrek/oopl-sarc | 7fa5af13a356c33cde5813984a041d28da863826 | b051ce8bf8525a7c4d935f2ea928b4c3e30e32d8 | refs/heads/master | 2021-01-11T00:09:13.176018 | 2016-10-12T12:21:05 | 2016-10-12T12:21:05 | 70,747,455 | 0 | 0 | null | 2016-10-12T22:37:05 | 2016-10-12T22:37:05 | null | UTF-8 | C++ | false | false | 1,096 | h | // ------------------
// StrategyPattern1.h
// ------------------
#ifndef StrategyPattern_h
#define StrategyPattern_h
#include <string> // string
using namespace std;
class Movie {
public:
static const int Childrens = 0;
static const int NewRelease = 1;
static const int Regular = 2;
... | [
"downing@cs.utexas.edu"
] | downing@cs.utexas.edu |
e970472a4fc0b4f20e34eb2dfd85190d29805f4b | 1167de7b726296f45e60da4667811b144ed95cd8 | /src/sbg_ros_rec/src/ellipse.cpp | 04bb261ffd8f94d2d386112fec97d902f6b55532 | [] | no_license | zhang-quanzhe/Track-planning-and-control- | 3b760d66c7fdf34f3f91d7fb59ce483acc741d66 | e8c45aa084307d3daec7ba22886be31cecbaada3 | refs/heads/master | 2023-05-06T09:18:08.505568 | 2021-05-29T04:58:09 | 2021-05-29T04:58:09 | 371,881,812 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,013 | cpp | #include "ros/ros.h"
#include "sensor_msgs/Imu.h"
#include "sensor_msgs/NavSatFix.h"
#include "geometry_msgs/PoseStamped.h"
#include "geometry_msgs/Vector3Stamped.h"
#include <sbgEComLib.h>
#include <sbgEComIds.h>
sensor_msgs::Imu imu_msg;
sensor_msgs::NavSatFix nav_msg;
geometry_msgs::PoseStamped pose_msg;
geometry_m... | [
"ustb_zqz@163.com"
] | ustb_zqz@163.com |
38122d1a6b5849e33c7afcc8eb529a9df79b4829 | aa6a658eab5a141d4561cec9e8d303299e41ae22 | /Downwell/Downwell/Behaviour/LoiteringMoveAction.cpp | 52285bf844b8223f22814ee6656237db88e8eca3 | [] | no_license | MandaiRyuta/Downwell | 76e7a4dc61cf9498900174271afd3bfb681fc168 | cb6d8d622e44f9cda1bd5f5abfe50f29efb5fed4 | refs/heads/master | 2022-08-02T11:10:21.360178 | 2020-05-25T06:04:59 | 2020-05-25T06:04:59 | 257,186,075 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,526 | cpp | #include "LoiteringMoveAction.h"
#include "../Actor/EnemyParameter.h"
#include "../Collision/MapHitCheck.h"
#include "../Constant.h"
#include "../DownwellConstant.h"
#include "../Actor/Stage.h"
/// <summary>
/// 更新関数
/// </summary>
/// <param name="Enemy">敵情報</param>
/// <returns>ステート情報</returns>
ActionBase::STATE Loit... | [
"mandai1990@outlook.jp"
] | mandai1990@outlook.jp |
e4c134128167d897c5ebcfa73d9be034ea759b45 | 042d11268a10be8db7a18ca718cf023dec036729 | /src/vsg/nodes/Geometry.cpp | 14aac74355c5ba1d162f2a3a261ac0032820c5ce | [
"MIT"
] | permissive | czz2012/VulkanSceneGraph | 5daf85f0fb77f43dd1202cdb93d0df16232f2959 | 7bccea3072da24434bafb82c217f5afeed0fbe05 | refs/heads/master | 2020-05-25T09:32:31.729787 | 2019-05-18T07:35:51 | 2019-05-18T07:35:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,967 | cpp | /* <editor-fold desc="MIT License">
Copyright(c) 2018 Robert Osfield
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, mod... | [
"robert@openscenegraph.com"
] | robert@openscenegraph.com |
4e746d6846e99889e5d9c713cbe7d59158e75731 | 04a7845d8c25ab158fdad134837774629f691f83 | /Online/Client/src/Game/ResourceManager/Mesh.h | 5361dec2370b2d90178e17a7cfc19f9077982bd3 | [] | no_license | ZhenlyChen/RetroSnaker | 47ee8fddf7872e7eddb27b03dce6e9eff974438c | 984a0985f3730b9f80ed6e4049dff40d2dae433d | refs/heads/master | 2022-01-08T05:28:02.841121 | 2019-06-14T11:46:06 | 2019-06-14T11:46:06 | 76,006,739 | 8 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,714 | h | #pragma once
#ifndef MESH_H
#define MESH_H
#include <glad/glad.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include "../shader/Shader.h"
#include <string>
#include <fstream>
#include <sstream>
#include <iostream>
#include <vector>
using namespace std;
struct Vertex {
// position
glm::vec3... | [
"zhenlychen@foxmail.com"
] | zhenlychen@foxmail.com |
eb2bebc4a5ca00062ce519e0132c00d492c1d88a | 42863171c0b819594985ac28b4d6b601136a55ae | /proj1/jlevin38/perceptron.cpp | 7a8aecfd791914262f6419a6983783fbd48d63ac | [] | no_license | JordanLevin/cs320 | 345186d5f33d22c929dd3f8752a843cdac8b77de | f193be084896da7ddd7d439a4fe906698917a53a | refs/heads/master | 2020-04-27T01:37:07.875558 | 2019-04-26T16:26:55 | 2019-04-26T16:26:55 | 173,970,672 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,649 | cpp | #include <cstdint>
#include <iostream>
#include <sstream>
#include <string>
#include <utility>
#include <vector>
#include "utils.hpp"
#define HIST_SIZE 16
struct perceptron {
std::vector<int> weights = std::vector<int>(HIST_SIZE, 0);
};
int d(bool b){
if(b) return 1;
return -1;
}
Result nn(const Trace& ... | [
"jlevin38@binghamton.edu"
] | jlevin38@binghamton.edu |
7e511c9d3610904747c0536bad10d04a1bb78d5a | 066cd062f509cd7f0dd1932ee33997667aa75a8d | /Maximum Sum Increasing Subsequence.cpp | bd63471b027f463012dce5853678ade2d97147c5 | [] | no_license | rhayatin/C-- | 5581b2f283edd119a5cf5245962b8e04b1b0baa1 | 14589f3ffb1433af2afe10dddb1c585f467ce2d1 | refs/heads/master | 2021-01-24T03:02:53.479832 | 2014-08-05T11:29:17 | 2014-08-05T11:29:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 464 | cpp | #include<iostream>
#include<cstdio>
using namespace std;
int main()
{
int arr[1000],n;
while(1)
{
cin>>n;
for(int i=0;i<n;i++)
cin>>arr[i];
int val[100]={0};
for(int i=0;i<n;i++)
val[i]=arr[i];
int temp=1;
for(int i=0;i<n;i++)
{
for(int j=0;j<i;j++)
if(arr[i]>arr[j]&&(val[j]... | [
"dtu.unknown@gmail.com"
] | dtu.unknown@gmail.com |
1c2c6f9388fdb705b9b5135e2374832cecca7e9a | edfdb97e31c75b7a21704db998023b3d7583f4fb | /iOS/Classes/Native/System_Xml_System_Xml_XPath_XPathFunctionString3963481524.h | 7d66b76c1fb14edef1b9bed14a8de022eec7349e | [] | no_license | OmnificenceTeam/ICA_Iron_App | b643ab80393e17079031d64fec6fa95de0de0d81 | 7e4c8616ec2e2b358d68d446d4b40d732c085ca9 | refs/heads/master | 2021-07-16T06:53:58.273883 | 2017-10-23T10:52:21 | 2017-10-23T10:52:21 | 107,165,753 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,154 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "System_Xml_System_Xml_XPath_XPathFunction759167395.h"
// System.Xml.XPath.Expression
struct Expression_t1283317256;
#ifdef __clang__
#pragma clang diagnostic push
#prag... | [
"admin@medtrixhealthcare.com"
] | admin@medtrixhealthcare.com |
8bfd83e63f34e15022f159d92fd1f49335238433 | 76b4a57de3801096e401ceac6cd0f939c0703d9d | /Software/Arduino/libraries/M5Stack-master/src/utility/In_eSPI.h | 9d5b45f40a4e7dd0dded10a47ec5090e1c74b213 | [
"MIT"
] | permissive | flyonspeed/OnSpeed-Gen2 | e6edd87cda783db30484d32e2b51713f0484386c | ac7e4c5c4c36c88b9005b848a5dc6489577884f1 | refs/heads/master | 2023-08-17T02:37:30.756859 | 2023-04-17T01:02:08 | 2023-04-17T01:02:08 | 216,622,791 | 20 | 9 | MIT | 2023-04-03T14:22:36 | 2019-10-21T17:11:04 | C | UTF-8 | C++ | false | false | 36,169 | h | /***************************************************
Arduino TFT graphics library targeted at ESP8266
and ESP32 based boards.
This is a standalone library that contains the
hardware driver, the graphics functions and the
proportional fonts.
The larger fonts are Run Length Encoded to reduce
their FLASH f... | [
"53226948+flyonspeed@users.noreply.github.com"
] | 53226948+flyonspeed@users.noreply.github.com |
0902ab1b839d65699ce6000786805997837d7e4c | 03edeea22a4e010f3123d3382c0b62a1beb394e9 | /instructions/arralloci.h | 97bb090e17f3ca3b2f8db0b8558d86448b8912b0 | [
"MIT"
] | permissive | tvcutsem/tinyc | 15c13999a56aaa803812a4c0babbef47d19c3ed8 | ec4ebe6f97595c412e49c2279b826089da0bfaa2 | refs/heads/master | 2021-07-12T11:27:25.029219 | 2017-10-17T19:45:01 | 2017-10-17T19:45:01 | 107,040,557 | 8 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,573 | h | #ifndef ARR_ALLOC_INSTRUCTION_H
#define ARR_ALLOC_INSTRUCTION_H
#include "instruction.h"
#include "varregister.h"
#include "arrayregister.h"
#include "numregister.h"
#include <string>
using namespace std;
/**
* An Array Allocation Instruction takes an array target and
* allocates an array of the given length
*/... | [
"tvcutsem@vub.ac.be"
] | tvcutsem@vub.ac.be |
8c84839d1f09fc5fd11af2af117f5525319c1ca4 | ce5f80ade484fa02abba45adc59545b931587eed | /Framework/Source/API/OpenGL/GLProgramReflection.cpp | e66d4539db36010999dfcd0e7557e11dcfdc3476 | [] | no_license | donmakmak/Falcor | 5d9f4e78bab8edcf73a762a9f740f7ab0ba1a43d | ba2972b5c40f5ba19893955b1168ccf3f04fcf5d | refs/heads/master | 2021-01-01T15:33:53.993164 | 2017-06-23T18:13:29 | 2017-06-23T18:14:07 | 97,645,320 | 1 | 0 | null | 2017-07-18T21:25:16 | 2017-07-18T21:25:16 | null | UTF-8 | C++ | false | false | 35,616 | cpp | /***************************************************************************
# Copyright (c) 2015, NVIDIA CORPORATION. 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 sourc... | [
"nbenty@nvidia.com"
] | nbenty@nvidia.com |
481cce7b9f2dffd1d51cd4ab7678cd91c5c85951 | a8413a796a3f31536e4c240ba3c9edb4a7d83622 | /new_src/client.h | 54f508678be7374684c6b2b419e2ee92f26a3f32 | [] | no_license | liukang1995/A-high-proformance-server-on-linux | bafae5ca076b5c3e771c80011764a642047b8715 | 5a4c32e22779396957de10591e97d63949b88a5b | refs/heads/master | 2021-03-11T12:36:28.355939 | 2020-10-27T14:26:44 | 2020-10-27T14:26:44 | 246,529,672 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,934 | h | // author: liukang
#pragma once
#include "channel.h"
#include "eventloop.h"
#include "timer.h"
#include "unistd.h"
#include <functional>
#include <string>
#include <memory>
#include <map>
namespace summer
{
enum class RateOfProgress
{
START_PARSE_REQUEST_LINE,
START_PARSE_HEADERS,
PA... | [
"57588463@qq.com"
] | 57588463@qq.com |
a5dad60a34cf64e356afaf5127b17e4ca71c360c | ee5a586dcfa54a1c1418bafb2fe728511e09e8c6 | /List_example_1/List_example_1/源.cpp | 8ae70dcbdc3b51fd01e6433013e707db0d314a50 | [] | no_license | Stephenhua/Data-Construct | ed4094bfd0c8b5bda8c0d52ba37f233694a74030 | c72a46d8fe4543263f530f0df0775ef621ecbebd | refs/heads/master | 2020-04-01T00:37:09.013734 | 2019-12-05T14:47:23 | 2019-12-05T14:47:23 | 152,704,982 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,084 | cpp | #include <iostream>
#include "list1.cpp"
using namespace std;
int main()
{
CList <int > C1;
CList<int > C2;
cout << "表的初始信息输出测试:" << endl;
cout << "C1和C2的初始容量为L" << C1.GetLength() << '\t' << C2.GetLength() << endl;
cout << "C1和C2的初始长度为: " << C1.GetSize() << '\t' << C2.GetSize() << endl;
cout << endl;
cout <<... | [
"41442321+Stephenhua@users.noreply.github.com"
] | 41442321+Stephenhua@users.noreply.github.com |
f4093c2386f012d0129a4e6ab65e07678547bcd3 | cc2a953fc0a4f42f796a89d90dfb2d7703ecdb09 | /Contest & Online Judge/UVa & Live Archive/11045.cpp | 077cca0d29deb5960fb7234f47b239ed4ab002e4 | [] | no_license | 210183/CP | 107af662a3ab759760b14c6ed31fb21dc7c274e4 | bd0b74aa2a90e12c5e5f45ac251de9d6cf69a7c6 | refs/heads/master | 2020-08-05T05:41:36.075888 | 2019-07-07T02:23:05 | 2019-07-07T02:23:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,609 | cpp | #include <cstdio>
#include <iostream>
#include <algorithm>
#include <cstring>
#include <cstdlib>
#include <cmath>
#include <string>
#include <set>
#include <map>
#include <queue>
#include <stack>
#include <vector>
#include <bitset>
#include <cassert>
#define makmu using
#define ndasmu namespace
#define gundulmu std
ma... | [
"muhammad.ayaz97@hotmail.com"
] | muhammad.ayaz97@hotmail.com |
f0272f1e6ed53b74845b652253cdfca5fb88eab9 | 8431df7e0ed9d0486f4657a6f5e61d7ff442e9dd | /main.cpp | e9853ddb2f579d299703c4bdbbea199e1930ee77 | [] | no_license | BOBBYUAN/CS130APA2 | 1076ce542d330cec12dee40d4226eabb3a473d08 | c6910792a3d1af6c42be026313491431cf2a96d4 | refs/heads/master | 2020-04-26T01:07:02.932337 | 2019-02-28T22:10:12 | 2019-02-28T22:10:12 | 173,195,005 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,462 | cpp | #include <stdio.h>
#include <math.h>
#include <string.h>
#include <time.h>
#include <iostream>
#include <vector>
#include <list>
#include <string>
#include <algorithm>
#include <queue>
#include <stack>
#include <set>
#include <map>
#include <complex>
#include <utility>
#include "splayTree.h"
using namespace std;
typede... | [
"bobyuanwangcheng@gmail.com"
] | bobyuanwangcheng@gmail.com |
7fc0908f135a0e20a8a515eaee1e89eb75544798 | 4a887b7390deb04cf908571876e33a3c6bc63826 | /2DEngine/DirectXHelper.h | 2941121de5af8bd8885074daec36253b53e785f5 | [] | no_license | dnjfdkanwjr/2DEngine | 504d2a97638346fdf283c0889f40f16574d0ca4a | 8908073192b6a80a84d155f07061003800e8d0ce | refs/heads/master | 2021-02-09T19:34:56.041713 | 2020-03-19T05:41:25 | 2020-03-19T05:41:25 | 244,318,509 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,005 | h | #pragma once
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS F... | [
"kweyom6@gmail.com"
] | kweyom6@gmail.com |
b605b3b804964183a3b9b66d832e6ed283c56cfb | 23b11862636108e23722a6dbdb8e3d9c34c4ec2a | /src/gpu/backends/opengl/texture.cpp | b49d077bfb03c0a232a4e04bcbe0f28487768bc8 | [
"MIT"
] | permissive | e-bondarev/AstrumEngine | 884ee90d44b2c7b384756de6710335c51a5491f9 | cd4ceb702a4148d765d729267d695940a9d8c0bc | refs/heads/main | 2023-04-22T09:54:04.902815 | 2021-05-12T14:09:56 | 2021-05-12T14:09:56 | 361,443,371 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,883 | cpp | #include "texture.h"
namespace OpenGL
{
void Texture::Resize(Size size)
{
m_Size = size;
glTexImage2D(GL_TEXTURE_2D, 0, m_InternalFormat, m_Size.Width, m_Size.Height, 0, m_Format, m_Type, nullptr);
}
Texture::Texture(Size size, unsigned char* data, GLint internalFormat, GLuint format,... | [
"82723220+e-bondarev@users.noreply.github.com"
] | 82723220+e-bondarev@users.noreply.github.com |
692aa1ada55aefe2516ab3540b14b0089060f528 | 3096793faf71f7fe2c0877402428e29e83de85ed | /14.chapter/tss/tss.cpp | a5544eb2bb5419222e55fea61422775566827d6c | [] | no_license | goodpaperman/ace | e3f143d74a517679859c971b8bc80bce73590f68 | a611c4e1a1b41d697bf53d70d3f57ed1e6b4c60a | refs/heads/master | 2020-05-30T11:09:14.566643 | 2019-06-01T04:30:02 | 2019-06-01T04:30:02 | 189,690,224 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,433 | cpp | // tss.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include "ace/TSS_T.h"
#include "ace/Task.h"
#include <map>
using std::map;
class ClientContext
{
public:
ClientContext ()
{
ACE_DEBUG ((LM_DEBUG, "(%t) context created\n"));
}
~ClientContext ()
{
ACE_DEBUG ((LM_DEBUG, "(%t) ... | [
"haihai107@126.com"
] | haihai107@126.com |
8ce1f28bfebe1193191798ba4d94690214f52083 | dd6147bf9433298a64bbceb7fdccaa4cc477fba6 | /8382/Mironchik_Pavel/lr2/src/engine/GameObject.cpp | 3c861753fc880bfed79edea706197708974a4360 | [] | no_license | moevm/oop | 64a89677879341a3e8e91ba6d719ab598dcabb49 | faffa7e14003b13c658ccf8853d6189b51ee30e6 | refs/heads/master | 2023-03-16T15:48:35.226647 | 2020-06-08T16:16:31 | 2020-06-08T16:16:31 | 85,785,460 | 42 | 304 | null | 2023-03-06T23:46:08 | 2017-03-22T04:37:01 | C++ | UTF-8 | C++ | false | false | 1,215 | cpp | #include <GAME/engine/GameObject.hpp>
#include <GAME/engine/GameBoard.hpp>
#include <SFML/Graphics/RenderTarget.hpp>
#include <SFML/Graphics/RectangleShape.hpp>
#include <iostream>
int GameObject::CUR_ID = 0;
GameObject::GameObject() {
}
GameObject::GameObject(const GameObject& from) {
setTangible(from.isTangible... | [
"mairon-pasha@yandex.ru"
] | mairon-pasha@yandex.ru |
9fdd42ac8cd6bbeaa61697413f88642ff392f3ca | 11c3ebc1f229d50ad78214a9566119e73361b2ac | /Tests/Spec.Conform/SPC4.4.1.1.CC | 036e3e79b41efeee2205096ce5a02804997bfcf2 | [] | no_license | cbmeeks/ORCA-C | 185e77d38de9c9b8e41b57115bade92cf5ef4d46 | bc5e49739568b1a8091d9742e4b1a65752b0d3b2 | refs/heads/master | 2021-07-06T00:22:28.347364 | 2017-10-02T03:19:30 | 2017-10-02T03:19:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,994 | cc | /* Special Conformance Test 4.4.1.1: Verification of ability to omit either */
/* type specifier or storage class in */
/* declarations, and both in function */
/* definitions */
... | [
"mikew50@aol.com"
] | mikew50@aol.com |
6ff75cb8b2c912ea93f60c79981afb2deb10575a | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/libs/test/test/execution_monitor-ts/custom-exception-test.cpp | 2560590349111f34e4aaeebd5e6502d7520c10af | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,111 | cpp | // (C) Copyright Gennadiy Rozental 2003-2015.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// See http://www.boost.org/libs/test for the library home page.
//
// File : $RCSfile$
//
// Version ... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
3d34c070dc9676a71a594fda542a5235aadcedd5 | 90f9301da33fc1e5401ca5430a346610a9423877 | /Graph/1129_Shortest_Path_with_Alternating_Colors.h | ccf961aaad0fd6c995507177d9a166084907d42c | [] | no_license | RiceReallyGood/Leetcode | ff19d101ca7555d0fa79ef746f41da2e5803e6f5 | dbc432aeeb7bbd4af30d4afa84acbf6b9f5a16b5 | refs/heads/master | 2021-01-25T22:58:56.601117 | 2020-04-10T06:27:31 | 2020-04-10T06:27:31 | 243,217,359 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,773 | h | #include <vector>
#include <climits>
#include <queue>
using namespace std;
class Solution {
public:
vector<int> shortestAlternatingPaths(int n, vector<vector<int>>& red_edges, vector<vector<int>>& blue_edges) {
vector<vector<int>> red_adj(n), blue_adj(n);
for(auto& v : red_edges)
red_ad... | [
"1601110073@pku.edu.cn"
] | 1601110073@pku.edu.cn |
be99586b6b634a6530ca4e20b4d91a417b749822 | df9550193f1e36d321c6855070a355352f0bff3d | /src/wallet.cpp | c5a55d13ef4164fcb7074fd5f37bcdf07eb9c2e9 | [
"MIT"
] | permissive | Ellie-42/FlaxCoin-Core | 5cecaaa10fe14c414a28dafc90a1be1baa006629 | 2d93dd8a73e46bf562356e526ca79da7dc7ffc37 | refs/heads/main | 2023-06-06T12:02:25.927847 | 2021-06-21T07:03:14 | 2021-06-21T07:03:14 | 378,242,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,170 | cpp | #include "wallet.h"
#include "api.h"
#include "ISRand.h"
#include "utils.h"
#include <string>
#include <random>
#include <iostream>
#include <stddef.h>
#include <stdbool.h>
#include <stdint.h>
#include <memory>
bool wallet::loadWalletFromSeed(std::string phrase, std::string password)
{
if(verifyBip39(phrase,passw... | [
"ellie.locke42@gmail.com"
] | ellie.locke42@gmail.com |
8b0d4ffd0048ad4701cfd1449de82438f33f07b3 | 606a800fa8bf987c2092b60c2c4b382cc4c61761 | /src/mvvmcore/message_p.h | 400319696f55759821ba7db394fe48fc4aa2b22a | [
"BSD-3-Clause"
] | permissive | joydit/QtMvvm | 54a4e135ea426265ef3fa7ed006e500d9aba8731 | 137382b205a55f6b76b9d9c4a91116484f8676b6 | refs/heads/master | 2020-03-22T08:08:43.983190 | 2018-06-30T17:55:29 | 2018-06-30T17:55:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,253 | h | #ifndef QTMVVM_MESSAGE_P_H
#define QTMVVM_MESSAGE_P_H
#include <QtCore/QHash>
#include <QtCore/QPointer>
#include <QtCore/QMetaMethod>
#include <QtCore/QMutex>
#include <QtCore/QAtomicInteger>
#include "qtmvvmcore_global.h"
#include "message.h"
namespace QtMvvm {
class MessageConfigPrivate : public QSharedData
{
pu... | [
"Skycoder42@users.noreply.github.com"
] | Skycoder42@users.noreply.github.com |
4117153132fa14621dec3fec443a7be614092c20 | 5456502f97627278cbd6e16d002d50f1de3da7bb | /extensions/browser/api/bluetooth_socket/bluetooth_api_socket.cc | 44d52d74e2d598cab52f4d9c3f06db6882400d69 | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,736 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "extensions/browser/api/bluetooth_socket/bluetooth_api_socket.h"
#include "base/lazy_instance.h"
#include "device/bluetooth/bluetooth_soc... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
1e51dfee70e12eaefcc4af0c2d70b0190d03b0df | 2d3b6d41c68fb1d18d8425784c3b6923141ab2e5 | /MFC第一次实验2/MFC第一次实验2/MFC第一次实验2View.cpp | b2a0bc3a338e35ad8fa3974b19bb1958f7b4913d | [] | no_license | ChenQL6/test | 35ec14f5c830d6c3fa58ce978899d15843ef8a85 | a472ebd4ae2e629319d4ab776ff145303bb2134f | refs/heads/master | 2021-02-15T01:52:17.922520 | 2020-04-06T15:45:06 | 2020-04-06T15:45:06 | 244,852,800 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,561 | cpp |
// MFC第一次实验2View.cpp : CMFC第一次实验2View 类的实现
//
#include "stdafx.h"
// SHARED_HANDLERS 可以在实现预览、缩略图和搜索筛选器句柄的
// ATL 项目中进行定义,并允许与该项目共享文档代码。
#ifndef SHARED_HANDLERS
#include "MFC第一次实验2.h"
#endif
#include "MFC第一次实验2Doc.h"
#include "MFC第一次实验2View.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CMFC第一次实验2View
IMPLEMENT... | [
"1571590774@qq.com"
] | 1571590774@qq.com |
5735b20f9180f41092c7e30f420ec4941e00e5e6 | 11c74b57455ce2454849fbe9a73a2e0d2a3542d2 | /oj/codechef/covering.cpp | 992bab18b180a3d56919a79e6d7bce47d72a84cf | [] | no_license | heyuhhh/ACM | 4fe0239b7f55a62db5bc47aaf086e187134fb7e6 | e1ea34686b41a6c5b3f395dd9c76472220e9db5d | refs/heads/master | 2021-06-25T03:59:51.580876 | 2021-04-27T07:22:51 | 2021-04-27T07:22:51 | 223,877,467 | 9 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,264 | cpp | /*
* Author: heyuhhh
* Created Time: 2020/4/25 12:22:57
*/
#include <iostream>
#include <algorithm>
#include <cstring>
#include <cstdio>
#include <vector>
#include <cmath>
#include <set>
#include <map>
#include <queue>
#include <iomanip>
#include <assert.h>
#define MP make_pair
#define fi first
#define se second
#... | [
"2468861298@qq.com"
] | 2468861298@qq.com |
71d31f49bb714ff8f32581d1c34c725038eefc25 | e76ea38dbe5774fccaf14e1a0090d9275cdaee08 | /src/content/common/gpu/client/gl_helper_benchmark.cc | 6bb430966e040ad76fd4dbbb28972ee9928aad2e | [
"BSD-3-Clause"
] | permissive | eurogiciel-oss/Tizen_Crosswalk | efc424807a5434df1d5c9e8ed51364974643707d | a68aed6e29bd157c95564e7af2e3a26191813e51 | refs/heads/master | 2021-01-18T19:19:04.527505 | 2014-02-06T13:43:21 | 2014-02-06T13:43:21 | 16,070,101 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 11,052 | 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.
// This file looks like a unit test, but it contains benchmarks and test
// utilities intended for manual evaluation of the scalers in
// gl_helper*. ... | [
"ronan@fridu.net"
] | ronan@fridu.net |
df9b8511c90317b4a9900916468dfae938490767 | e9894a6268f297a43d19ecdde40f1738b1dd5f51 | /ITypeReader.cpp | 6c1c19e30a42634a776bfdab16069d204dda65f3 | [] | no_license | Inso-13/ICDecoder | 77dd3370c129db8f4e8fb061273761cfe62c526f | 216bbb2f8fa33545707781056d87c4acd41091eb | refs/heads/master | 2023-03-21T06:59:01.726507 | 2021-03-14T12:50:43 | 2021-03-14T12:50:43 | 347,548,668 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 810 | cpp | //
// Created by Inso on 2021/3/11.
//
#include "ITypeReader.h"
void ITypeReader::getWord(std::string &str) {
char tempChar;
while((tempChar = this->m_ifs->get()) != EOF)
{
if(IDictionary::isLetterOrNumberOrDL(tempChar))
{
str+=tempChar;
}
else
{
... | [
"2101944271@qq.com"
] | 2101944271@qq.com |
399779c7a5112d1bd8efabb51d735cd3121188a8 | b37de764717bd0fbb0d2ace7399100a89cb71c5d | /A&D/assignment2/assignment2/myVector.cpp | c5df625e56186ff605f2a3a5a1060c3a0cd91da6 | [] | no_license | atabakp/C-- | 3d3bccfbd67a52f1615b3630e83e4dd29b63a79b | 38a8434090f62aa00e33eeecde68ad9f7600c92c | refs/heads/master | 2020-07-02T09:49:03.338944 | 2017-03-02T03:51:40 | 2017-03-02T03:51:40 | 74,314,743 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,001 | cpp | #include "myVector.h"
#include <iostream>
using namespace std;
void demoVector()
{
vector <int> intVector;
int input;
vector<int>::iterator it;
int pos = 0;
int choice = 0;
while (choice >= 0 && choice <= 7)
{
cout << "1. Add an Element to the end of vector" << endl <<
"2. Add an element to the beginning ... | [
"atabakpooya@gmail.com"
] | atabakpooya@gmail.com |
9d139bee4521f51f3463e3776401aea871bdfb00 | bea17df170e61e9ecc43010e0a5ee521c78a1c5c | /MarsStation related/RoverList.h | 5a6a994d24018c8d4fb1fe331511838c76194c26 | [] | no_license | AhmedHamdy-e21/Mars-Missions-Management | ba12ac87a64e4261d356073c685e2d3b7cb46071 | 6f5ec45b0a16b7ab5ea1b5b87f4737791e70b55e | refs/heads/main | 2023-02-16T12:39:26.129595 | 2020-12-12T10:42:14 | 2020-12-12T10:42:14 | 314,981,462 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,093 | h | //
// Created by raspberry on 2020-11-30.
//
#ifndef MARS_MISSIONS_MANAGEMENT_ROVERLIST_H
#define MARS_MISSIONS_MANAGEMENT_ROVERLIST_H
#include "../Rover related/Rover.h"
#include "../Queue/LinkedQueue.h"
#include "../Rover related/Emergency_rovers.h"
#include "../Rover related/Polar_rovers.h"
#include "../Rover relat... | [
"ahmedhamdy.e21@gmail.com"
] | ahmedhamdy.e21@gmail.com |
61169b1d141f4be42b00c365ecfeabdc12a9b498 | e44bfb0d79a7ee7c9a1bf40afbdbceecad410da8 | /inc/figurebase.h | c85404a208fbab83885ee501d8ddc8c9680799ae | [
"MIT"
] | permissive | uxeer/Tetris | dc0e3516cdc1bd19d6472f1f435bcfc7cd06eab2 | 20e43e73d158d72580b058dd9c8575c097939c94 | refs/heads/master | 2020-04-12T00:20:59.508798 | 2017-10-30T12:06:34 | 2017-10-30T12:06:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,855 | h | /* ====================================================================
* File: fixedbase.h
* Created: 01/30/08
* Author: Sun Jinbo
* Copyright (c): TietoEnator, All rights reserved
* ==================================================================== */
#ifndef C_FIGUREBASE_H
#define C_FIGUREBASE_H
// INCLUDES... | [
"sunjinbo@outlook.com"
] | sunjinbo@outlook.com |
0f8fdcf09cc1eab9ce1bbd691ba215dbff03c66b | 2012bddabee8f7bad6f083155a0a658e1ad29fb2 | /PlatformGame/EntityCollectible.h | 57b0ebc32ca87d71e8c19b86b78d115208123046 | [] | no_license | jerosnav/PlatformEngine2D | 24dcdcca2e56e5939d548c357e77eb13f66e6653 | 3a6e113d284817b1950444a63174c3690554de9e | refs/heads/master | 2021-01-01T06:17:59.857754 | 2014-08-22T21:54:29 | 2014-08-22T21:54:29 | 23,240,352 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,564 | h | #pragma once
#include <irrlicht.h>
#include "EntityNode.h"
#include "IEntityStateMachine.h"
#include "InputKeyboard.h"
#include "GameManager.h"
#include "EntityCollisionMgr.h"
#include "EntityCollisionFlags.h"
#include "MathUtil.h"
class EntityCollectible
{
public:
EntityCollectible(void);
~EntityCollectible(void... | [
"jerosnav@gmail.com"
] | jerosnav@gmail.com |
b6e7a8fc9c38f371eef59b12ff20bd930e7f7158 | db4450283165b0785f892ed131cda1bde41c63c4 | /funcObj.cpp | 21b61fe85eb9c1bee30b8f252789dd7176ed3a95 | [] | no_license | maruf0011/cpprepo | 017ee2070f7865230f1caaaade7167c5e966732b | 52f719566322884a45fc6e2bad5d5609ab53b204 | refs/heads/master | 2021-01-10T07:16:55.354372 | 2015-12-16T16:43:42 | 2015-12-16T16:43:42 | 46,578,656 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 584 | cpp | #include "bits/stdc++.h"
using namespace std;
template <typename T>
class LessThan
{
private:
const T value;
public:
LessThan(const T &v):value(v){};
// ~LessThan();
bool operator()(const T &x){return x<value;}
};
template<typename c,typename p>
int Count(const c& cc,p pp)
{
int ret = 0;
for(const auto ... | [
"maruf@student.sust.edu"
] | maruf@student.sust.edu |
1e88f9ffc8d0ca5a83580696ca6048c4fd74b09b | 8c67843b37541c6209c51a1ea0ed1c27711e39c2 | /Cheetah_Software_xsens_new_verify/robot/src/rt/rt_spi.cpp | d951ee56d4b8eaac45f01c275076f10339d2deec | [
"MIT"
] | permissive | clearlab-sustech/PushRecoveryQuadruped | 57b8f1cedbca18527d2a9278ceebfd35ca6e9773 | 74aed7a4bd56800dbda6836e72bf0711948c84d4 | refs/heads/master | 2023-06-30T12:18:51.650618 | 2021-08-05T07:47:29 | 2021-08-05T07:47:29 | 392,948,473 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,402 | cpp | /*!
* @file rt_spi.h
* @brief SPI communication to spine board
*/
#ifdef linux
#include <byteswap.h>
#include <math.h>
#include <pthread.h>
#include <stdio.h>
#include <string.h>
#include <linux/spi/spidev.h>
#include "rt/rt_spi.h"
#include <lcm/lcm-cpp.hpp>
unsigned char spi_mode = SPI_MODE_0;
unsigned char spi_... | [
"1358458373@qq.com"
] | 1358458373@qq.com |
59d6ca28eb84fd42a9466fd13a4f7b43733360db | a62ec6dbaf6728a6f23fd2ecda6d5fe72f949ab2 | /Classes/GoalAttackSpecifiedTarget.cpp | ddc390ab0d25edbe9eba71cc26fbffdf2387fa6e | [] | no_license | page404/leidota | ce00340c8c0b1ae73bbb22e127849891740f6564 | 272cab5e97b1d6a0a20ed2b0a209cb30293f08f6 | refs/heads/master | 2020-04-16T22:19:35.808188 | 2014-09-25T10:33:44 | 2014-09-25T10:33:44 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,902 | cpp | #include "GoalAttackSpecifiedTarget.h"
#include "EntityManager.h"
#include "GoalPursuitTarget.h"
GoalAttackSpecifiedTarget::GoalAttackSpecifiedTarget( GameCharacter* owner, int targetId )
:GoalComposite<GameCharacter>(owner)
{
m_targetId = targetId;
}
void GoalAttackSpecifiedTarget::activate()
{
}
Go... | [
"502204943@qq.com"
] | 502204943@qq.com |
6f2e1532938c4de9b8185c30148fc8c358d60c09 | 79c560ef5e3ef97fb17be42e5fa8dac0bddd8599 | /src/fight_list.cc | c250db13235beaca2b36498d3357f8f6b9d3c9b2 | [] | no_license | tgreaves/federation-2 | bc7442bb4f2995954120b0df0abfee57e7b61f8e | 2e8b96da92494e38cacce42c03f12fd40e3c7f29 | refs/heads/master | 2020-06-24T07:00:35.467343 | 2019-03-28T11:36:11 | 2019-03-28T11:36:11 | 198,888,256 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,373 | cc | /*-----------------------------------------------------------------------
Copyright (c) Alan Lenton 1985-2017
All Rights Reserved. No part of this software may be reproduced,
transmitted, transcribed, stored in a retrieval system, or translated
into any human or computer language, in any form or by any means,
... | [
"alan@ibgames.com"
] | alan@ibgames.com |
98551ca49fa124392346c2095fdb75a41d6b296b | a929913f6067f788f393e0b6c4a64f9449f098aa | /src/grid/stdafx.h | e8c385b00d5ab88182c83463358480a68efcecff | [] | no_license | EelcoHoogendoorn/collision | 752c911517a0105cfd367da7de340d5084943a2e | de855ad0fd5ae17c8b598a8800ee7fca8c47f5b2 | refs/heads/master | 2021-01-17T15:12:33.850416 | 2016-07-06T21:27:37 | 2016-07-06T21:27:37 | 58,274,358 | 8 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 928 | h | #pragma once
#include <array>
#include <limits>
#include <iostream>
#include <functional>
#include <algorithm>
#include <iterator>
#include <boost/range.hpp>
#include <boost/range/irange.hpp>
#include <boost/range/combine.hpp>
#include <boost/range/algorithm.hpp>
#include <boost/range/numeric.hpp>
#include <boost/ran... | [
"hoogendoorn.eelco@gmail.com"
] | hoogendoorn.eelco@gmail.com |
893940520065ade0bce58c7af3bcea5f15306c0e | 49e1bc7edabeb7c1f2d9c8d6ae8c4bc1f8a3ec4b | /BambooCC/FightEngine/Map.h | 782bd5043b26da104a14ffe8f060513469eeea92 | [] | no_license | ngoaho91/bamboocc | 8ff38dd28f8493716bad63368b77bd9177c31bbe | e3800af23f97b099cd40e2f2e94265da1c2262a7 | refs/heads/master | 2021-01-01T05:49:05.729457 | 2014-04-07T16:48:27 | 2014-04-07T16:48:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 922 | h | #ifndef Map_h
#define Map_h
#include "../TileEngine/TileMap.h"
#include "../TileEngine/Element.h"
#include "MapRender.h"
using namespace TileEngine;
namespace FightEngine
{
// TODO: implement these
class Map
{
private:
vector<Element*> m_Elements;
Tilemap* m_Tilemap;
MapRender* m_Render;
int m_Width... | [
"ngoaho91@gmail.com"
] | ngoaho91@gmail.com |
6a83462b21f05c503ac106cae21e262eaa6a373d | 0369e09a5fc2a01bcb52d01c3250b592a10d77f7 | /anycad_sdk_cpp_2015_for_qt_5_4/inc/inc/APITopoDataExchangeStep.h | 9a29e38c3ebaa29a88ece558364e275847a9dcc0 | [] | no_license | MohamedElfeky/UAV-GroundControl | 465a906eea356aa4ba1e5d39d229dfb2ad1a8792 | 98090934ec374700848ea88e85e4e88164a9e916 | refs/heads/master | 2021-07-18T04:43:08.212591 | 2017-10-19T02:50:05 | 2017-10-19T02:50:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,190 | h | //Public API. Powered by AnyCAD.
#ifndef _APITopoDataExchangeStep_H_
#define _APITopoDataExchangeStep_H_
#include "core/APIObjectDef.h"
namespace AnyCAD{ namespace API
{
class TopoShape;
class TopoShapeGroup;
/**
* @ingroup Exchange
* @author AnyCAD
* @brief
* STEP file writer and reader.
... | [
"lishaoqi_scau@163.com"
] | lishaoqi_scau@163.com |
b817b585b66da8a0ed65d658d7100a75fec9e234 | 7d860affdeb45465951f1bca5b36bf8993248e79 | /Code/MWServers/SvrAccount/Src/md5Capi.cpp | 76d6622b27b183c19832c1734deae78be70bc7d8 | [] | no_license | Zyl85385215/Resources | 88251abaaa44300c0ca0830d52e62cd13e7a4c5f | 1e2468d03deb7b46b892a870e89c3b4a5ca25aae | refs/heads/master | 2021-02-27T02:13:28.203996 | 2020-04-10T17:08:34 | 2020-04-10T17:08:34 | 245,569,447 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,516 | cpp |
//////////////////////////////////////////////////////////////////////
// md5Capi.cpp: implementation of the Cmd5Capi class.
// Calcule MD5 Digest using the WIN Crypto API.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include <Windows.h>
#include "md5Capi.h"
#include <... | [
"85385215go@163.com"
] | 85385215go@163.com |
63990bf39d934522e167fc261e7e92c3d5303f94 | 8d5ec68b918279bd47ab6b57fa2cce7567c4b3a6 | /Framework/Renders/Transform.cpp | c2696be7717bea233d751fd0a0cd94f896856cea | [] | no_license | sork777/PortFolio | 7d6a77a595ca35f821486f620a0b1318d6e7511c | 152d9d8b3d38f490ffccb644691f5a052b677307 | refs/heads/master | 2022-12-30T17:10:58.267379 | 2020-01-11T05:32:26 | 2020-01-11T05:32:26 | 232,132,922 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,678 | cpp | #include "Framework.h"
#include "Transform.h"
Transform::Transform()
: shader(NULL), buffer(NULL)
, position(0, 0, 0), scale(1, 1, 1), rotation(0, 0, 0)
//, parent(NULL)
{
D3DXMatrixIdentity(&bufferDesc.World);
D3DXMatrixIdentity(&local);
D3DXMatrixIdentity(&pMatrix);
}
Transform::Transform(Shader * shader)
: ... | [
"ladse123@gmail.com"
] | ladse123@gmail.com |
c8e38fbf75101056977a504ceb963eb02d5416a7 | 326c5d924956c1837704d23b498772a2d8efd187 | /Tests/Display/WM_Input/hid.cpp | 5311855145145a4f283dbac2a7d141bdbb786056 | [
"Zlib"
] | permissive | sanikoyes/ClanLib | c4eb8004eb6a10ed4429f15b63f3ba0d2835a930 | 4f9e7f5dd2edb12e55ec713f6299c874709524e9 | refs/heads/master | 2021-01-22T17:28:25.241676 | 2015-04-11T23:46:24 | 2015-04-11T23:46:24 | 33,925,347 | 3 | 1 | null | 2015-04-14T10:22:33 | 2015-04-14T10:22:33 | null | UTF-8 | C++ | false | false | 3,456 | cpp |
#include "precomp.h"
#include "hid.h"
HIDInputDeviceList HID::get_device_list()
{
HIDInputDeviceList result;
int retval = GetRawInputDeviceList(0, &result.num_devices, sizeof(RAWINPUTDEVICELIST));
if (retval != 0)
throw Exception("GetRawInputDeviceList failed (1)");
result.data = DataBuffer(result.num_devices ... | [
"rombust@hotmail.co.uk"
] | rombust@hotmail.co.uk |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.