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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7f8d03f4fa416167ecb662a32f37a54e566cfdda | c1f4a5ddbe59f827aae3666469a5f02238ff9d9f | /connection.cpp | 034c9236719dbe57ba934de2c6d3a1a81d9a13b1 | [] | no_license | rt12/highloadcup2017 | fd7f1eb64665acd9f62b8cddef2223b473663e78 | db91981520f835b125d0afaed982549ee89c544f | refs/heads/master | 2021-07-05T19:13:01.876762 | 2017-09-29T09:15:57 | 2017-09-29T09:15:57 | 105,253,852 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,470 | cpp | #include "connection.h"
namespace StatusStrings {
const std::string ok =
"HTTP/1.1 200 OK\r\n";
const std::string created =
"HTTP/1.1 201 Created\r\n";
const std::string accepted =
"HTTP/1.1 202 Accepted\r\n";
const std::string no_content =
"HTTP/1.1 204 No Content\r\n"... | [
"biorobot@gmail.com"
] | biorobot@gmail.com |
0293886a639ab6e0821ea41d06c640685c65837c | 4eb4242f67eb54c601885461bac58b648d91d561 | /third_part/indri5.6/BeliefNode.hpp | b2c58e6758ecaf98000c6490d57bed23e463e86c | [] | no_license | biebipan/coding | 630c873ecedc43a9a8698c0f51e26efb536dabd1 | 7709df7e979f2deb5401d835d0e3b119a7cd88d8 | refs/heads/master | 2022-01-06T18:52:00.969411 | 2018-07-18T04:30:02 | 2018-07-18T04:30:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,845 | hpp | /*==========================================================================
* Copyright (c) 2004 University of Massachusetts. All Rights Reserved.
*
* Use of the Lemur Toolkit for Language Modeling and Information Retrieval
* is subject to the terms of the software license set forth in the LICENSE
* file include... | [
"guoliqiang2006@126.com"
] | guoliqiang2006@126.com |
ae732024dbba87af5ce4ff74171c6053a1eee053 | bfb69ec2b09dda9751365982303f9dac0db772c8 | /src/utils/android/SkHwuiRenderer.cpp | 17a830e976a25961fe091238c0384b2727f5316b | [
"BSD-3-Clause"
] | permissive | amyvmiwei/skia | 6fa9bd8b682291b5c789c39f942cb1829c28d04a | 069073547894944d439d31ea70bd06ffc23948b3 | refs/heads/master | 2021-01-18T01:14:27.545521 | 2015-04-30T16:15:44 | 2015-04-30T16:15:44 | 34,868,523 | 1 | 0 | null | 2015-04-30T17:56:01 | 2015-04-30T17:56:01 | null | UTF-8 | C++ | false | false | 5,220 | cpp | /*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkHwuiRenderer.h"
#include "AnimationContext.h"
#include "IContextFactory.h"
#include "SkBitmap.h"
#include "gui/BufferQueue.h"
namespace {
/**
* Helper class fo... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
561903dc950654826073a18e1eb819d4d0d1cbff | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function13766/function13766_schedule_20/function13766_schedule_20.cpp | f190098f71cfd3bcb1939312c370e09ff2f77e80 | [] | 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 | 1,595 | cpp | #include <tiramisu/tiramisu.h>
using namespace tiramisu;
int main(int argc, char **argv){
tiramisu::init("function13766_schedule_20");
constant c0("c0", 64), c1("c1", 128), c2("c2", 64), 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 |
ab2c128381b4efbbb755a75b056f942cc9ca6c64 | a2fa8b0f7d98ba8e7c2812b8f67ec189ca189824 | /src/moc_rvs_tab.cpp | 81630ed17d14240eb8141050f8b2547ad34de277 | [] | no_license | YanwuZeng/diverge3 | 5947cf5eff6c8bf928bd2c6961be67af6ef8f936 | c0d1a01054a6493d954c6901bdc8a088fb2b251c | refs/heads/master | 2021-01-12T02:21:37.259259 | 2017-01-13T05:17:46 | 2017-01-13T05:17:46 | 78,505,130 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,296 | cpp | /****************************************************************************
** RVSTab meta object code from reading C++ file 'rvs_tab.h'
**
** Created: Tue Jan 10 16:33:53 2017
** by: The Qt MOC ($Id: //depot/qt/main/src/moc/moc.y#178 $)
**
** WARNING! All changes made in this file will be lost!
*********... | [
"“youremail@example.com”"
] | “youremail@example.com” |
db566bae55fe99934215ee36e9e0374a47ea9b55 | 6043c1d986bcda428aba1d0fa7a3b170a4d4b0b6 | /factorial sum.cpp | 8b65f6843fb565c12c88f57ffc576fe566647d58 | [] | no_license | raima20/C_Programming | 1d796c08ac22a1515ee10d68c8e781148821c5d7 | f66358f1f23b607d07c8e10661da8c2fdfa80c8d | refs/heads/master | 2023-06-21T22:12:15.161961 | 2021-07-19T15:55:55 | 2021-07-19T15:55:55 | 387,517,797 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 236 | cpp | #include<stdio.h>
void fact(int n)
{
int i,j,mult=1,f=1,s=0;
for(i=1;i<=n;i++)
for(j=1;j<=i;j++){
f=1;
f=f*j;
s=s+f;
}
printf("%d",s);
}
int main()
{
int n;
printf("Enter the range:");
scanf("%d",&n);
fact(n);
return 0;
}
| [
"sarkar.raima155@gmail.com"
] | sarkar.raima155@gmail.com |
0d13c5fd08c85f6bea278d2b428decfd61046dfd | 5da7acab91c9d64406338a149538ab2d34820e10 | /tensorflow/lite/delegates/gpu/cl/tensor.cc | edd903dec51cdc5c4486c30e9a066360b4ad6396 | [
"Apache-2.0"
] | permissive | H4NG-MAN/tensorflow | 32b818b9b1172abd03acb27b154c6c48d94feb93 | 432b55a161e70db42103d38d3e18c165dd0c7fde | refs/heads/master | 2023-06-28T23:03:12.286796 | 2019-12-07T16:18:25 | 2019-12-07T16:18:25 | 212,573,936 | 2 | 0 | Apache-2.0 | 2023-06-26T17:18:26 | 2019-10-03T12:25:23 | C++ | UTF-8 | C++ | false | false | 18,328 | cc | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
4725542ded40eb06e8661e00e69deabb16345964 | 458c3920666384d9361860bcc41c1230a9c1ccce | /Code/GameSDK/GameDll/Boids/BoidBird.cpp | 93b9103601490cbfe0c5ce0ae4eed72f5e04d72d | [] | no_license | Rjayone/TheTravellersNotes | a8e50dd96668da3b38f5398703749371103bcbcd | 15b9fe745e09dca157d01eb927db3e54803c7a83 | refs/heads/master | 2020-05-29T09:13:02.942348 | 2015-09-25T08:50:41 | 2015-09-25T08:50:41 | 35,241,474 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 23,270 | cpp | ////////////////////////////////////////////////////////////////////////////
//
// Crytek Engine Source File.
// Copyright (C), Crytek Studios, 2001.
// -------------------------------------------------------------------------
// File name: BoidBird.cpp
// Version: v1.00
// Created: 72010 by Luciano Morp... | [
"misterdecoy@mail.ru"
] | misterdecoy@mail.ru |
fdc20ce6f3c1563f688564671446f3a3d56ed3b4 | d2abe514518a3093bfa4e4f6693e02a31ca9aa46 | /Physics for Students - VS12 LEAN/Game/SDKs/GeomUtils/src/GuDistanceSegmentTriangleSIMD.h | 7e0af1fae2d41c26139f0c19fc437bb4fcc4c319 | [] | no_license | stef52/Game-Dev-Class | a9a745019412dcb040cc9300c8c32a84e186e107 | cc963f13adc1f6016c8a07036ef7709ce4445962 | refs/heads/master | 2020-05-27T21:57:51.113035 | 2015-04-08T19:17:25 | 2015-04-08T19:17:25 | 32,340,762 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,319 | h | // This code contains NVIDIA Confidential Information and is disclosed to you
// under a form of NVIDIA software license agreement provided separately to you.
//
// Notice
// NVIDIA Corporation and its licensors retain all intellectual property and
// proprietary rights in and to this software and related documentation... | [
"stephenbakalian@gmail.com"
] | stephenbakalian@gmail.com |
a1dfa850ab1527d46d64f757d2b9c8833d52977f | 801f7ed77fb05b1a19df738ad7903c3e3b302692 | /refactoringOptimisation/differentiatedCAD/occt-min-topo-src/src/TopOpeBRepBuild/TopOpeBRepBuild_Loop.hxx | 47f096d9dc90bb82c3a36a359934c3234b0e083a | [] | no_license | salvAuri/optimisationRefactoring | 9507bdb837cabe10099d9481bb10a7e65331aa9d | e39e19da548cb5b9c0885753fe2e3a306632d2ba | refs/heads/master | 2021-01-20T03:47:54.825311 | 2017-04-27T11:31:24 | 2017-04-27T11:31:24 | 89,588,404 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,035 | hxx | // Created on: 1995-12-19
// Created by: Jean Yves LEBEY
// Copyright (c) 1995-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GN... | [
"salvatore.auriemma@opencascade.com"
] | salvatore.auriemma@opencascade.com |
2ee72de8ff7feefe9d060b5b6e8e6216ba6ac305 | f481aeb897c81095bf5bc544f9368aa78457694b | /5622.cpp | 98547a3526afb5566564be5c7a7efac76d12547e | [] | no_license | channyHuang/leetcodeOJ | 78b10f31f9a6c6571124208efe85201a3690f2da | b41e9c3c076074b6ab9349455b0cf40c270df41f | refs/heads/master | 2023-01-28T15:31:29.346320 | 2023-01-18T03:43:10 | 2023-01-18T03:43:10 | 221,703,848 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 622 | cpp | class Solution {
public:
double averageWaitingTime(vector<vector<int>>& customers) {
int len = customers.size();
long long lasttime = 0;
long long waittime = 0;
for (int i = 0; i < len; i++) {
if (lasttime <= customers[i][0]) {
waittime += customers[i][1];... | [
"349117102@qq.com"
] | 349117102@qq.com |
8cd6800628538ef33ab147520ef399b9fbcf4c59 | 208c36225d43ede1d8dfcf39d93832e38c8a9abe | /19-removeNthNodeFromEndOfList/19-removeNthNodeFromEndOfList/main.cpp | a58987f232281bf33ebc47ee49da5e9e662d174f | [] | no_license | YaminLi/Leetcode | 749a1b4481f26a7f08f7b982983e0fd1047a6174 | 42429c0dfb83ccb1383126e45bfc5063cfa23c80 | refs/heads/master | 2020-12-24T06:03:12.224570 | 2017-02-16T15:37:17 | 2017-02-16T15:37:17 | 73,235,513 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,638 | cpp | //
// main.cpp
// 19-removeNthNodeFromEndOfList
//
// Created by Michael on 10/6/16.
// Copyright © 2016 Michael. All rights reserved.
//
#include <iostream>
using namespace std;
struct ListNode {
int val;
ListNode *next;
ListNode(int x): val(x), next(NULL){}
};
class Solution {
public:
ListNod... | [
"yaminli2016@u.northwestern.edu"
] | yaminli2016@u.northwestern.edu |
1c8f93d5276ec7d2ce34038d0afc6abacd1e8557 | 8bd80baf1e6faab75f258992f08e0c75b328f3d4 | /RenderEngine/include/internal/shader.h | 502447ccc4dcc2ef3bf659f74342f1da9d23bd68 | [] | no_license | danjr26/game-engine | 20fa362bcdfdc84c3da1a1ad12cca3ef53166676 | f884a88ce7238b3713e9336ab7c325f53e22fe64 | refs/heads/master | 2021-04-30T04:53:55.646691 | 2020-02-02T20:26:13 | 2020-02-02T20:26:13 | 121,543,636 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 425 | h | #ifndef SHADER_H
#define SHADER_H
#include "enum_wrappers.h"
#include <GL\glew.h>
class Shader {
friend class ShaderProgram;
private:
GLuint mId;
ShaderType mType;
public:
Shader();
~Shader();
void init(ShaderType i_type, const std::string* i_texts, uint i_nTexts);
void initFromFile(ShaderType i_type, const s... | [
"daniel.riehm05@gmail.com"
] | daniel.riehm05@gmail.com |
f1490ed4258a8f3eddf839df70f346b881303ede | 4a1ac331426d0cc29f0a02a55c3118c35b128624 | /tests/cpp-empty-test/Classes/Tetris.h | 62a62268e41a14851acb451b2503779bbe07117c | [] | no_license | GordenGod/cocos2dx-3.5 | 78b7e39b5b01722356d8d0ba270486548c567cf2 | 398105df0191a4d2e4986036995f86a51408d3cb | refs/heads/master | 2021-05-28T18:08:30.777088 | 2015-05-15T07:12:48 | 2015-05-15T07:12:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,046 | h | #ifndef __TETRIS_H__
#define __TETRIS_H__
#include "TetrisCommon.h"
//extern Block g_marks[C_ROW][C_COLUMN];
class Tetris
{
public:
Tetris();
~Tetris();
static Tetris* Create(TetrisKind kind);
void Convert();
void Transform();
void ConvertOnEnter();
void ConvertOnExit();
void Down();
void Left();
void Rig... | [
"hyq1017@163.com"
] | hyq1017@163.com |
63b955baae4e08015746a393db3b5335f8638087 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /chrome/browser/notifications/notification_platform_bridge_win_metrics.h | 3db596ac81b3b317a6fef04ab64cb14d431382dd | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 5,864 | h | // Copyright 2018 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_NOTIFICATIONS_NOTIFICATION_PLATFORM_BRIDGE_WIN_METRICS_H_
#define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_PLATFORM_BRIDGE_WIN_MET... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
ae979d0515e69da57131536b5d2a3b0a63c3d628 | c0adf0003111506be9e934127610d7800d633e68 | /GoBangServer/network/server.cpp | 4ad91ac4ab083135eb05eb2b86f2a02389435d92 | [] | no_license | lihongwen1/GoBangGame | 48dde6a6f840cccd7a06e1933fc00869086a2977 | 1ae98fc61ca371875606cebfad85a820ed841401 | refs/heads/master | 2022-06-09T09:03:18.215674 | 2020-05-06T13:28:56 | 2020-05-06T13:28:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,408 | cpp | #include "server.h"
#include"util.h"
Server::Server(QObject *parent) : QObject(parent)
{
//在一个客户端socket发送消息后,怎么判断是哪一个serversocket去处理呢?
//init(8888);
tcpServer=new QTcpServer();
currentSocket=new QTcpSocket(this);
}
void Server::init(quint16 port){
tcpServer->listen(QHostAddress::Any,port);
co... | [
"woyujiannia@qq.com"
] | woyujiannia@qq.com |
a7558c2aeffc72a1bd848eaf84c7012e02cc13ca | fb721bdc24235c700907b268183d1b6b60ff1822 | /8th/VertexArray.hpp | 307cbc407c20a829ff91bc583025a33a6a0f6463 | [] | no_license | zhanggiene/OPENGL-SKELETON-ANIMATION-in-cPLUS-PLUS | 5710431b8e0f43b10f48a8a737e98281dd03b8a2 | 783a19aba5ff75d385c9d61f0a3fcb0d5eae974a | refs/heads/master | 2020-11-29T09:43:49.523621 | 2020-09-12T08:41:33 | 2020-09-12T08:41:33 | 230,082,797 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 703 | hpp | //
// VertexArray.hpp
// third
//
// Created by Zhang Zhuyan on 22/6/19.
// Copyright © 2019 Zhang Zhuyan. All rights reserved.
//
#ifndef VertexArray_hpp
#define VertexArray_hpp
#include <stdio.h>
#include "VertexBuffer.hpp"
#include "VertexBufferLayout.h"
#include <iostream>
class VertexArray
{
private:
uns... | [
"zhangzhuyan53@gmail.com"
] | zhangzhuyan53@gmail.com |
eb2342097ea0b64d62a226e487ab026e0e2d1516 | abe368495116213ab56e0583e1903564b5857131 | /logical_operator/plan_context.cpp | ca0ae2520f7b59e8153617948ca2300d657c7cd6 | [] | no_license | Jackson1992/CLAIMS | 56c630d2a6e74e16e42bb9ee96b1f5257da73371 | f9409a99bd75654c78091c25f0d79350693126bb | refs/heads/master | 2020-05-25T11:33:16.565631 | 2015-11-08T13:03:15 | 2015-11-08T13:03:15 | 35,158,070 | 2 | 0 | null | 2015-05-06T12:48:48 | 2015-05-06T12:48:46 | null | UTF-8 | C++ | false | false | 3,221 | cpp | /*
* Copyright [2012-2015] DaSE@ECNU
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Ve... | [
"fzhedu@gmail.com"
] | fzhedu@gmail.com |
7bf9c776848086bfb5c3be67518156665f768c76 | ac5ddd5df0107a079a26d99199476288991ca521 | /Project 10-16/14 Depth Test/BasicEffect.cpp | 8ffa78da32dd62e2330bd335f97988b84db9fd94 | [
"MIT"
] | permissive | huangten/DirectX11-With-Windows-SDK | 252e02470cc956ea67dc78b13f26c769d6ebc095 | 148b6306a078618f82b02ae25969dbad2831e456 | refs/heads/master | 2022-05-10T23:21:17.778766 | 2022-04-14T13:04:42 | 2022-04-14T13:04:42 | 182,062,358 | 0 | 0 | MIT | 2020-02-27T13:04:19 | 2019-04-18T09:53:25 | C++ | UTF-8 | C++ | false | false | 17,227 | cpp | #include "Effects.h"
#include "d3dUtil.h"
#include "EffectHelper.h" // 必须晚于Effects.h和d3dUtil.h包含
#include "DXTrace.h"
#include "Vertex.h"
using namespace DirectX;
//
// BasicEffect::Impl 需要先于BasicEffect的定义
//
class BasicEffect::Impl : public AlignedType<BasicEffect::Impl>
{
public:
//
// 这些结构体对应HLSL的结构体。需要按16字节对齐... | [
"757919340@qq.com"
] | 757919340@qq.com |
0c0d184bf4e734b4037b694dfe1f315e8f0eec4a | d318f6b873c14995cd678f14d9294b935059cfe5 | /src/rt.cpp | ace4a4e139710f1aea13bced0bf666c6f305c163 | [] | no_license | sumboid/ray-tracing | 0f57e6492f0c5208bfad6e39a71c835af7edcbe1 | b779520c75b54302666b0f748ad67b801edba318 | refs/heads/master | 2020-04-14T09:14:30.318947 | 2014-06-12T18:57:43 | 2014-06-12T18:57:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,843 | cpp | #include <tuple>
#include <vector>
#include <string>
#include <set>
#include "frameworkstuff.h"
#include "bitmap.h"
#include "tracing/scene.h"
#include "tracing/camera.h"
#include "tracing/light.h"
#include "tracing/objects/sphere.h"
#include "tracing/lowlevel.h"
#include <ts/system/System.h>
#define FRAGMENTS_NUMBE... | [
"ilya.sumb@gmail.com"
] | ilya.sumb@gmail.com |
75b2a29dc2e0d37f7241010389ebc45f1ead22d1 | c348a771c9f686b2d2a32e385ad7e9a63cdbbc10 | /Collisions/CircleCollision.h | deafb0e79c7de67ab31aa4ab0fc0eac7233d81df | [] | no_license | romgerman/Decay | 87f16d040dcfaee3fe649452b61de04232fe9094 | 017050b3d81861fac7aae11ba914303f411bda9a | refs/heads/master | 2020-04-28T11:22:45.641482 | 2019-03-12T14:58:28 | 2019-03-12T14:58:28 | 175,236,046 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 344 | h | #pragma once
#include <math.h>
struct CircleCollision
{
float x, y;
float r;
public:
CircleCollision() : CircleCollision(0.f, 0.f, 0.f){ }
CircleCollision(float x, float y, float radius) : x(x), y(y), r(radius) { }
bool PointInside(float x, float y)
{
x = x - this->x;
y = y - this->y;
return (sqrtf(x *... | [
"romgerman@users.noreply.github.com"
] | romgerman@users.noreply.github.com |
081ff7a8817fe149f70c56bed69e2648f5565d17 | 35ef15922b1f74702998cc77223627faecca5094 | /Codechef and Spoj/1-K/BRACKETS.cpp | 67668c5c68c9ccb0bd9ff47f3d59fa3bfd84548e | [] | no_license | neelchoudhury/cp | 4409fffc0db05ce1246cc8e537f8aea10dff8980 | 29eb993fb1931d8608a860ab16e016e16eed1aad | refs/heads/main | 2023-01-23T15:03:54.708059 | 2023-01-21T18:09:55 | 2023-01-21T18:09:55 | 293,884,505 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 732 | cpp | #include<bits/stdc++.h>
#define ll long long int
using namespace std;
int f( string s )
{
int balance = 0;
int max_balance = 0;
for(int i=0;i<s.length(); i++)
{
if (s[i] == '(') balance = balance + 1;
if (s[i] == ')') balance = balance - 1;
max_balance = max( max_balance, balance );
}
return max... | [
"neelchoudhury@users.noreply.github.com"
] | neelchoudhury@users.noreply.github.com |
793a0eb8510837b74d560a3daf26e2f8a404a09d | a211e0fbe7db322be68d70ea5baeefe295eea47b | /JetscapeCodes/hydroJetTestCentral.cc | 8bf723f2c88ead690925cf24c3f2c68705dd5e33 | [] | no_license | yasukitachibana/AAPaperMGR | 119c9e71acf7a5d765a2e0b238e3d4f83ad85472 | d7a3b4abe5703690aa57a1d214981294f9c5a8a6 | refs/heads/master | 2023-02-05T11:54:38.682364 | 2020-12-11T11:04:48 | 2020-12-11T11:04:48 | 229,308,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,619 | cc | #include <iostream>
#include <time.h>
#include <chrono>
#include <thread>
// JetScape Framework includes ...
#include "JetScape.h"
#include "JetEnergyLoss.h"
#include "JetEnergyLossManager.h"
#include "JetScapeWriterStream.h"
#ifdef USE_HEPMC
#include "JetScapeWriterHepMC.h"
#endif
// User modules derived from jetsca... | [
"yasuki.tachibana@gmail.com"
] | yasuki.tachibana@gmail.com |
eea9ff84f231bb3c3fe3128f62efcb4f459dc4a2 | 88775a85b06c34f6665f16b8adff25b9690ec0ee | /.history/HJ19_20210316154012.cpp | 705000f5b56c240cc817b6b850de10cc6c6db9f5 | [] | no_license | AraragiEro/newk | 417c2d75f62ac1b174e6981a6000cb62b6448dec | 63374264c10e90dc9a370bfc783913e3ec35610c | refs/heads/master | 2023-03-19T14:07:46.548504 | 2021-03-16T18:46:34 | 2021-03-16T18:46:34 | 348,370,479 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 225 | cpp | #include<iostream>
#include<unordered_map>
#include<string>
#include<vector>
#include<sstream>
using namespace std;
int main(){
string input;
vector<pair<string,int>>
while(getline(cin,input)){
}
} | [
"zhucct@126.com"
] | zhucct@126.com |
d5762de59f45b5db94f4e9437ecebeead5461d8b | fe2836176ca940977734312801f647c12e32a297 | /Codeforces/Educational/29/b.cpp | 0c85a4ed731370a2fc00358e299be42022625a85 | [] | no_license | henrybear327/Sandbox | ef26d96bc5cbcdc1ce04bf507e19212ca3ceb064 | d77627dd713035ab89c755a515da95ecb1b1121b | refs/heads/master | 2022-12-25T16:11:03.363028 | 2022-12-10T21:08:41 | 2022-12-10T21:08:41 | 53,817,848 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 820 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int n;
scanf("%d", &n);
int inp[n * 2];
for (int i = 0; i < n * 2; i++)
scanf("%d", &inp[i]);
sort(inp, inp + 2 * n);
int ans = INT_MAX;
for (int i = 0; i < 2 * n; i++) {
for (int j = i + 1; j < n * 2; j++) {
... | [
"henrybear327@gmail.com"
] | henrybear327@gmail.com |
1144a37b8172b0c2e9e0e9d8e63145e49d6a8e22 | 3170e69527e7426ad2930de5d16ff31f6ad08914 | /external/libcocos3dx/Common/CC3String.h | 30dd3cd285b8ef2196c6c3ef0f08d725af7608e0 | [
"MIT"
] | permissive | isoundy000/cocosclient | e3818df70abfe81d25d53f80572ddd8ab7219cf8 | 477cde3ecd6c91d610e0d02fddf82e048fb604bd | refs/heads/master | 2021-01-25T14:22:35.694874 | 2016-05-30T09:39:45 | 2016-05-30T09:39:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,104 | h | /*
* Cocos3D-X 1.0.0
* Copyright (c) 2014-2015 Jason Wong
* http://www.cocos3dx.org/
*
* 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... | [
"hoanghdtv@gmail.com"
] | hoanghdtv@gmail.com |
2944a4af821296c4fe586bcac9df6ca68783bf25 | 3c8c72b133e12e64db61c8dd8ef9b9027a26df27 | /cmmse/lab/libsource4/idlcompiler/output/include/compack/jsonformatter.h | d2f3c62c4d24c5f98163667d2f1195d25cb59f1b | [] | no_license | sinomiko/56wlk | 67498c31f460a9fd1634926e21425599be31e40b | 1c74ee2eb1a2e96949e7596260b965fe3c9d1f71 | refs/heads/master | 2020-12-08T09:37:59.899011 | 2020-01-10T02:26:48 | 2020-01-10T02:26:48 | 232,948,314 | 0 | 0 | null | 2020-01-10T02:26:23 | 2020-01-10T02:26:22 | null | UTF-8 | C++ | false | false | 9,889 | h |
/**
* @file jsonformater.h
* @brief
*
**/
#ifndef _COMPACK_JSONFORMATTER_H_
#define _COMPACK_JSONFORMATTER_H_
#include <sstream>
#include <stdexcept>
#include <vector>
#include <compack/reader.h>
#include <compack/exception.h>
namespace compack {
template<typename INPUT>
class JsonFo... | [
"sayigood@gmail.com"
] | sayigood@gmail.com |
0ee2b6425098756de1f1f7d10e223b40740cffaa | 9b3b4c0467ab61832bd2102dae22bc2e38ffd105 | /Tools/EGen_v1.13.0/inc/win/ODBCCustomerTaxrateLoad.h | 94a01483f858b135e12a48aec756c4660b948c15 | [] | no_license | gggggtz/Src | 6c37c9303f54b994f7c58c5fe2f8c94dfe9aae17 | 262152e1b6efb2ccb630a6e6320ae7bc01b6f933 | refs/heads/master | 2020-04-06T07:05:42.776707 | 2014-09-15T03:25:27 | 2014-09-15T03:25:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,020 | h | /*
* Legal Notice
*
* This document and associated source code (the "Work") is a part of a
* benchmark specification maintained by the TPC.
*
* The TPC reserves all right, title, and interest to the Work as provided
* under U.S. and international laws, including without limitation all patent
* and trademark rig... | [
"gggggtz@hotmail.com"
] | gggggtz@hotmail.com |
3963711775d0a42f802e4e49e13dc4d21d7d7ab7 | d9685074ac58e514376134e4ddecaf1114d62931 | /classes_objects_challenge/Movie.cpp | 5c79aae7ad3bf96553fc19a0522d63af2e7fe218 | [] | no_license | martinkabe/Cpp | 5c30cd3cc6450d43e4e7855a668a2b3cfef017ba | 5e4acf02e315a050498e98411f9dc6352c0bfebe | refs/heads/master | 2020-12-23T23:19:04.895441 | 2020-02-01T15:49:09 | 2020-02-01T15:49:09 | 237,306,565 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 373 | cpp | #include <iostream>
#include "Movie.h"
Movie::Movie(std::string name, std::string rating, int watched)
: name(name), rating(rating), watched(watched)
{
}
Movie::Movie(const Movie & source)
: Movie{source.name, source.rating, source.watched}
{
}
Movie::~Movie()
{
}
void Movie::display() const
{
std::cout << name ... | [
"martinkabe@seznam.cz"
] | martinkabe@seznam.cz |
1d1b7c5c6ed2fcc0838b613106ddaf7f44607d25 | f0418bcd15a0260bfc20fb46b8a834c9041387dc | /src/HTSPDemux.h | 1c742432bc24354d79caac0bd03885525f3a0093 | [] | no_license | Memphiz/pvr.hts | ff3e94bb03c4eb03db58226e0edac68565553472 | c08d7aaf7829cb26a274c67a20e08304eae3b4bf | refs/heads/master | 2021-01-13T02:03:50.332274 | 2013-07-15T21:29:06 | 2013-07-15T21:29:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,243 | h | #pragma once
/*
* Copyright (C) 2005-2011 Team XBMC
* http://www.xbmc.org
*
* This Program 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 2, or (at your option)
* any late... | [
"spiff@xbmc.org"
] | spiff@xbmc.org |
e57b6551a7924f1834aad8365c6c287bd9d98fcb | 820f75315502d495bfd4882777209cf5674d1748 | /src/psmoveservice/Filter/CompoundPoseFilter.cpp | a57c42529a4604b7cccaa25d6001258b49ee6de9 | [
"Apache-2.0"
] | permissive | highattack30/PSMoveService | dd7a8c2d7fd74d3387622f34692fb98321ee81c4 | 807fb4c33f9d30a78af01c94ff0f9465e1ea7d75 | refs/heads/master | 2021-01-20T00:33:53.288666 | 2017-04-10T13:04:02 | 2017-04-10T13:04:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,428 | cpp | // -- includes --
#include "CompoundPoseFilter.h"
#include "OrientationFilter.h"
#include "PositionFilter.h"
#include "KalmanPositionFilter.h"
#include "KalmanOrientationFilter.h"
// -- public interface --
bool CompoundPoseFilter::init(
const CommonDeviceState::eDeviceType deviceType,
const OrientationFilterType ori... | [
"hipstersloth908@gmail.com"
] | hipstersloth908@gmail.com |
393681aec6e6a5b0134bc19175bfbaba1f181f6a | cdbce8b09cf43bf2e66e5e3437ae591262a55270 | /D2Ex2-master/ExBox.cpp | 27ed005420e3c7dbe1dca9453fc5ef2b3811dc67 | [] | no_license | tokenok/Visual-Studio-Projects | b82a53f141eff01eef69f119f55dabd8b52e803e | c3947dda48fdccdba01a21b0e5052b12a18fe2a6 | refs/heads/master | 2022-05-02T11:06:46.201991 | 2018-10-28T22:07:24 | 2018-10-28T22:07:24 | 89,531,738 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,259 | cpp | /*==========================================================
* D2Ex2
* https://github.com/lolet/D2Ex2
* ==========================================================
* Copyright (c) 2011-2014 Bartosz Jankowski
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in complia... | [
"mrjack.is.minty@gmail.com"
] | mrjack.is.minty@gmail.com |
f0dc50936765f2213c96aa82fad75e7fd750440c | 1609fc18e0ea8fa31f77b8a814c2fcd2b2ac8420 | /기능별 소스 분류 및 상세 설명_V2.0/Joystick_05_Pio_02/Joystick_05_Pio_02.ino | 4f4d4b261c9b1165be3652dc4045116e4cf80988 | [] | no_license | robertchoi/firmtech_drone | 71b461ad875340a6b003f31cf2087187fba9ae63 | fa25614782f802e497e7b21d196cb924c7e47948 | refs/heads/master | 2020-03-28T05:22:31.974468 | 2018-09-07T05:00:21 | 2018-09-07T05:00:21 | 147,772,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 746 | ino | //-----------------------------------------------
//-----------------------------------------------
//-----------------------------------------------
//-----------------------------------------------
void setup()
{
Serial.begin(9600);
Serial.println("PIO Test 02");
for(int i = 5; i < 11; i++)
{
pinMode(i,I... | [
"robertchoimail@gmail.com"
] | robertchoimail@gmail.com |
5b37262a2bd21ac0872afe9f287e6f43395e9984 | fe65f9eb977b8aa03e9ba1749e0a586920dd4621 | /src/objects/SdProjectSharedPtr.h | c54528feb07af6d28d8c6d3cfce7213734f62b1a | [] | no_license | usiksan/SaliCAD | 6b24cad22db191b0a654ad96f78a642583bdc650 | 3eb7cbd56991c82de1cd4d659dd5d18eb84329c6 | refs/heads/master | 2023-08-09T15:49:33.952310 | 2023-08-08T15:45:02 | 2023-08-08T15:45:02 | 122,590,905 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 356 | h | /*
Project "Electronic schematic and pcb CAD"
Author
Sibilev Alexander S.
Web
www.saliLab.com
www.saliLab.ru
Description
Shared pointer to SdProject
*/
#ifndef SDPROJECTSHAREDPTR_H
#define SDPROJECTSHAREDPTR_H
#include <QSharedPointer>
class SdProject;
typedef QSharedPointer<SdProject> SdProjectSharedPtr... | [
"usiksan@mail.ru"
] | usiksan@mail.ru |
7bab460ca564ba1a6cab492a492de5344b40525e | 880bd65f07a0bd85132ed743a6f47d8be430e20b | /dspineeditor/src/mainwindow.cpp | 13afda032d2f019e1913b156a7e47093baa31e55 | [] | no_license | dagophil/dspine | 6e18d96804073e0cf0b4a6744e013dc82ca86192 | 07d8ae495cb8cdb49c4b493e267fc87c264ebd30 | refs/heads/master | 2020-03-18T20:02:49.804295 | 2018-05-28T20:03:38 | 2018-05-28T20:03:38 | 135,192,878 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 425 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
DSpineEditor::MainWindow::MainWindow(QWidget* const f_parent)
: QMainWindow(f_parent)
, m_ui(new Ui::DSpineEditorMainWindowUi())
{
m_ui->setupUi(this);
setCorner(Qt::BottomLeftCorner, Qt::LeftDockWidgetArea);
setCorner(Qt::BottomRightCorner, Qt::R... | [
"philip.schill@gmx.de"
] | philip.schill@gmx.de |
687f97becbf89594bb58b14fb33b527b037cdaf0 | f224f34ded68142867a433db1f809cf61d93d3e5 | /hungry/hungry.ino | 18d4a09a2eed1c7a2b44ff8c5a022e98fad9d046 | [] | no_license | Vo-Viet-Dung/Hungryrobot_Arduino | 8f300635463908a099779f30de0c78805c371a87 | 42c094884b23b6ed3a56d0d9571d9683cfd0ee0a | refs/heads/master | 2022-04-12T09:30:30.772730 | 2020-03-26T06:51:59 | 2020-03-26T06:51:59 | 250,182,562 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,908 | ino | #include <Arduino.h>
#include <Wire.h>
#include <SoftwareSerial.h>
#include<Servo.h>
int led = 7;
Servo servo5;
float getDistance(int trig,int echo){
pinMode(trig,OUTPUT);
digitalWrite(trig,LOW);
delayMicroseconds(2);
digitalWrite(trig,HIGH);
... | [
"dungvv117@gmail.com"
] | dungvv117@gmail.com |
52531a24f9fa7cc1c87e6c8589fc358e6abd9968 | 8a87f5b889a9ce7d81421515f06d9c9cbf6ce64a | /3rdParty/boost/1.78.0/boost/metaparse/alphanum.hpp | 1e23b1844d8d89d0c9b796c5c0381b41a1e50ea9 | [
"BSL-1.0",
"Apache-2.0",
"BSD-3-Clause",
"ICU",
"Zlib",
"GPL-1.0-or-later",
"OpenSSL",
"ISC",
"LicenseRef-scancode-gutenberg-2020",
"MIT",
"GPL-2.0-only",
"CC0-1.0",
"LicenseRef-scancode-autoconf-simple-exception",
"LicenseRef-scancode-pcre",
"Bison-exception-2.2",
"LicenseRef-scancode... | permissive | arangodb/arangodb | 0980625e76c56a2449d90dcb8d8f2c485e28a83b | 43c40535cee37fc7349a21793dc33b1833735af5 | refs/heads/devel | 2023-08-31T09:34:47.451950 | 2023-08-31T07:25:02 | 2023-08-31T07:25:02 | 2,649,214 | 13,385 | 982 | Apache-2.0 | 2023-09-14T17:02:16 | 2011-10-26T06:42:00 | C++ | UTF-8 | C++ | false | false | 426 | hpp | #ifndef BOOST_METAPARSE_ALPHANUM_HPP
#define BOOST_METAPARSE_ALPHANUM_HPP
// Copyright Abel Sinkovics (abel@sinkovics.hu) 2013.
// 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)
#include <boost/metap... | [
"frank@arangodb.com"
] | frank@arangodb.com |
607441ee46740040d01f9bdc457222e474bd753e | f0bdbfb359767d29974388b71e646bbbf7e58499 | /src/Server/database/query/mailquery.h | 1320f29976c88762b7fa57a61774ce14d0a32b4d | [] | no_license | sfinae/watcher | add00e137b884130e3b2e346422d5ec2e7251b84 | 657649894bf06613d9e58b196a5722b6212b1fb4 | refs/heads/master | 2021-03-12T20:09:08.042752 | 2013-09-17T21:27:49 | 2013-09-17T21:27:49 | 7,489,971 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,524 | h | #ifndef MAILQUERY_H
#define MAILQUERY_H
#include "abstractdatabasequery.h"
#include "databasequerycommon.h"
namespace database
{
namespace databasequery
{
class StoreMailPropertiesQuery : public IDatabaseWriter
{
public:
StoreMailPropertiesQuery(const databaset... | [
"formichael@tut.by"
] | formichael@tut.by |
ecb3daf89349943cb71840185d2a852b1bfeb5d7 | 6f57491fdcab5c9f0dedd5dd949dccad79f5783f | /Cpp_ex/期中期末實作dev/期末考實作for.cpp | d881d5f3fb8cf17a1e9c211c6176a04558d5f666 | [] | no_license | frankylin1111/1081ML | 1e9f07de708d8c989fed1e7dd2f313c12b3c79fb | 1ee8c99516f28e07f5ecd2530800eba8104451a6 | refs/heads/master | 2022-01-31T09:00:11.816451 | 2022-01-24T02:01:24 | 2022-01-24T02:01:24 | 208,534,601 | 0 | 0 | null | null | null | null | BIG5 | C++ | false | false | 1,350 | cpp | #include<iostream>
#include<cstdlib>
#include<fstream>
#include<string>
#include <ctime>
using namespace std;
int main()
{
fstream fs,fso;
fs.open("question.txt",ios::in);
fso.open("answer.txt",ios::out);
char c[200],n;
string a[15][2],ans;
int s=0,b,correct=0,error,q[10];
srand((unsigned)time(NULL));
for(... | [
"poi861111@gmail.com"
] | poi861111@gmail.com |
b08ef38734288bbf1696cb6a71e1e2843adfdae5 | 93e963f3e828140017ec773bf51eaf0648bbaf29 | /PropertyView.cpp | b41936ec0e9e25177ea72780ce6daa34d38a887f | [
"MIT"
] | permissive | Echelon9/shreditor | 1cd900e303c41977051c532bad13d0ef27183390 | 57f7f72b7028f1671fe675d2329db11a35e08d04 | refs/heads/master | 2016-08-13T00:04:01.514201 | 2016-03-21T03:30:37 | 2016-03-21T03:30:37 | 54,356,916 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,396 | cpp | /* Copyright (c) 1998 Slingshot Game Technology
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, merge, publi... | [
"rhyskidd@gmail.com"
] | rhyskidd@gmail.com |
df07c890d096ffd103fc733bb51c843ce67d80fb | 81e132452000d7c5f7ffe9e29140f8dc1d769f4d | /project/libnet/socket_timer.h | 7a1e915005343fe32b0a17c9b3ca7cafa07a8887 | [] | no_license | commshare/nanomsg_demo | 3f1f5fbf452557ba749516ddfd8920658106b9b8 | 6c2094d85029e2ecf3f3af13df892df67bff9458 | refs/heads/master | 2020-03-30T15:25:41.099955 | 2017-09-08T08:09:20 | 2017-09-08T08:10:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,275 | h | #ifndef __SocketTimer_H__
#define __SocketTimer_H__
#include "common_type.h"
#include "object.h"
#include <unordered_map>
#include <functional>
class SocketProcessor;
struct TIMER_ITEM;
typedef std::function<bool(int tid, unsigned int tms)> TIMER_CALLBACK;
class ITimer
{
friend class TimerCore;
public:
typedef... | [
"373102227@qq.com"
] | 373102227@qq.com |
539b57d41bf580b6ceed740ed5d4971f754bcc96 | 6c6082bfbd8a2f9f2645149545d0f1aba8ea939a | /Projects/Honey/Honey/Platform/ImGui/ImGuiGlfwImplementation.cpp | b41f80b2bda88fadf390ca8c757732207dc979b4 | [
"MIT"
] | permissive | dSyncro/Honey | e33fa5b03b1a443cbfdea104056369d0ae0ed85c | 571862e56d2a977d319779be751e5c0ef79de5a1 | refs/heads/master | 2023-01-01T00:53:57.717544 | 2020-10-25T18:11:02 | 2020-10-25T18:11:02 | 254,705,369 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 40,552 | cpp | // dear imgui: Platform Binding for GLFW
// This needs to be used along with a Renderer (e.g. OpenGL3, Vulkan..)
// (Info: GLFW is a cross-platform general purpose library for handling windows, inputs, OpenGL/Vulkan graphics context creation, etc.)
// (Requires: GLFW 3.1+. Prefer GLFW 3.3+ for full feature support.)
/... | [
"mancini.domenico456@gmail.com"
] | mancini.domenico456@gmail.com |
8dbad2c1e83e4c7da6b352075b04cb5ae58969d6 | bbb808e77135b6552db908bcc086dc2dd7c3d573 | /others/8-uvalive-5031.cpp | 76fabc41537356a4aec050c1737618d606adc951 | [] | no_license | cfeitong/ACM-problem-archive | fda3c9e6bed051e209fe1de7e86a41ac9730a49f | 77d7b7488121fd9d2deaba223d01f4afedee5b9f | refs/heads/master | 2020-05-22T04:38:47.130189 | 2017-03-30T10:37:12 | 2017-03-30T10:37:12 | 65,458,552 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,966 | cpp | #include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <vector>
using namespace std;
const int INF = 0x3f3f3f3f;
typedef long long LL;
struct Node {
Node* ch[2];
int val, rank, size;
Node(int _v = 0) : val(_v) {
size = 1;
rank = rand();
ch[0] = ch[1] = NULL;
}
... | [
"cfeitong@gmail.com"
] | cfeitong@gmail.com |
00345adcdfa50e0f29d04ee0ba050d8c75457d0d | b1a9e8e726b608a06a17532224d376176b38ec3c | /Ejercicios/Ejercicio24-Suma de pares/pares.cpp | 33edec28fdf24bd7a8739650a896feb0520a30a2 | [
"MIT"
] | permissive | MercyAle/cpp | a0c84b6e43e0832903b91ee0aaa8472f53941609 | 6e870e8061859ac84b7b6b8140d976fdc96dc89e | refs/heads/master | 2022-12-20T02:38:36.846215 | 2020-10-08T06:14:13 | 2020-10-08T06:14:13 | 277,032,519 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 346 | cpp | #include <iostream>
using namespace std;
int main(int argc, char const *argv[])
{
int pares = 0;
for (int i = 1; i <= 10; i++)
{
if (i % 2 == 0)
{
pares = pares + i;
}
cout << i << " ";
}
cout << endl;
cout << endl;
cout << "Total pares: " << p... | [
"Alejandra-paad@outlook.es"
] | Alejandra-paad@outlook.es |
6b03dc9a268356abf24f2503cbca190c5d744ccc | f9460a32293bb0aa353185e230c288dacca75545 | /src/codegen/buffering_consumer.cpp | b1c09e4d715c24a541e1f89fdad8033b5aed72e2 | [
"Apache-2.0"
] | permissive | haoxianghua/peloton | 01eef512e4b4bb2f5d55e3b4bf57148b98481a8b | c87382f20eb8f529a4bb08ff42ca084dace55bae | refs/heads/master | 2021-07-14T11:18:58.735262 | 2017-07-07T10:50:42 | 2017-07-07T15:54:30 | 96,133,102 | 0 | 0 | null | 2017-07-03T17:02:17 | 2017-07-03T17:02:17 | null | UTF-8 | C++ | false | false | 5,381 | cpp | //===----------------------------------------------------------------------===//
//
// Peloton
//
// buffering_consumer.cpp
//
// Identification: src/codegen/buffering_consumer.cpp
//
// Copyright (c) 2015-17, Carnegie Mellon University Database Group
//
//===------------------------------------... | [
"pavlo@cs.brown.edu"
] | pavlo@cs.brown.edu |
ea417d60b2cf5ac103e7695332bc9a26e613e257 | 2fb89557280b7db9d6de5e21d41d0926e63a7b10 | /CV_Ball/serialport.cpp | 4d46ff1d4bde1802d968b3687fa2ffba74b117ea | [] | no_license | Lee-JaeWon/Stewart-Platform-with-CV | f97ede4c816455251e5689be31b47ffe5aa41f95 | 3c2c9f0fb04a63cfa87454091be0fb9a994cfe5f | refs/heads/main | 2023-07-02T16:31:03.607666 | 2021-08-08T12:06:48 | 2021-08-08T12:06:48 | 364,308,064 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,012 | cpp | #include "serialport.h"
CSerialPort::CSerialPort()
{
}
CSerialPort::~CSerialPort()
{
}
bool CSerialPort::OpenPort(CString portname)
{
m_hComm = CreateFile(L"//./" + portname,
GENERIC_READ | GENERIC_WRITE,
0,
0,
OPEN_EXISTING,
0,
0);
if (m_hComm == INVALID_HANDLE_VALUE)
{
return false;
}
else
retu... | [
"jawwoni@naver.com"
] | jawwoni@naver.com |
31a79b1052f9223a90d3bf5119eaba93a840c1ed | 58c84e490bcf71edd8b175daa987c1dfd78ac76a | /src/miner.cpp | 8d38626c1485c668690d83eee805ba67893d249b | [
"MIT"
] | permissive | biohazard01/source | 34a5c25b961b0ba6851ac7793ffd001dd462ab02 | ef069a635edea1ffe783efd0e57996d0241c1ca3 | refs/heads/master | 2020-12-26T18:44:39.087561 | 2020-02-01T11:23:06 | 2020-02-01T11:23:06 | 237,602,042 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,037 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2013 The NovaCoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "txdb.h"
#include "miner.h"... | [
"you@example.com"
] | you@example.com |
d65f99b12b739369cb2d2332cd09298717ba798b | d0eab37f29a2fc119b7c46e224bc0cdc57c9517e | /src/qt/notificator.h | 293de3399b540b43d7b6faa50b5b6f65c162c8b9 | [
"MIT"
] | permissive | netchaindev/Netchain | 2d6542088799e7fea0afc812b8f6f81d95363768 | 6f368f23f8958986661edc38fb0cfe5fe58b9608 | refs/heads/master | 2020-05-01T18:01:21.241038 | 2019-04-14T11:22:08 | 2019-04-14T11:22:08 | 177,614,806 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,589 | h | // Copyright (c) 2011-2013 The Bitcoin developers
// Copyright (c) 2017 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_NOTIFICATOR_H
#define BITCOIN_QT_NOTIFICATOR_H
#if defined(HAVE_... | [
"netchaindev@gmail.com"
] | netchaindev@gmail.com |
b5e4eb9e225d6c7dc5bb7859dbf418336df18af9 | fe30985f5243ac38a147d3adc51a208aabfc556f | /scripts/endscreen/definitions/endScreenDef.hpp | 208153d8fb01133c16ce5fe71c45fbb5d3eb1248 | [] | no_license | Rutek4/co_09_Action_at_the_tracks_v0_1_Rutek.cup_chernarus_A3 | 651a7b92b069ac4d886d27b1af85436f123b811d | e2684efd94f902291101a66b7f4d6b234ddc5d34 | refs/heads/master | 2023-01-02T20:28:53.444663 | 2020-10-29T17:49:01 | 2020-10-29T17:49:01 | 308,405,832 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,018 | hpp | class ENDSCREEN
{
idd = 400;
movingEnable = false;
enableSimulation = true;
controls[] = {TITLE,MISSION_NAME,MISSION_OVERVIEWTEXT,OUTCOME,TASKS,LEFT_TEXT,RIGHT_TEXT,EXIT_TEXT};
class TITLE: RscStructuredText_title
{
idc = 1100;
x = 0.386577 * safezoneW + safezoneX;
y = 0.148089 * safezoneH + safezoneY;
w... | [
"102radius@gmail.com"
] | 102radius@gmail.com |
5a38c0c256cb5bfd40186852e1acbf282d9a81d4 | 003d6bad97bb88d517bdc859e7ad8ca39f51ab79 | /Physics/Physics/SphereClass.cpp | 28304e43d4b52b99aca61443f20fb183ecd716fc | [] | no_license | Andrewnopoulos/SchoolPhysics | d270a93b7a9115a621cab4586649e018fded44af | 64c60e1eb1ecd80da4887d79b550830e88b30ca3 | refs/heads/master | 2016-09-01T12:43:52.678834 | 2015-08-06T06:08:23 | 2015-08-06T06:08:23 | 36,838,919 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 448 | cpp | #include "SphereClass.h"
#include <Gizmos.h>
SphereClass::SphereClass(glm::vec3 position, glm::vec3 velocity, float mass, float radius, float elasticity, glm::vec4 colour) : RigidBody(position, velocity, 0, mass, elasticity)
{
m_radius = radius;
m_colour = colour;
_shapeID = SPHERE;
}
SphereClass::~SphereClass()
{... | [
"andrew.giannopoulos@gmail.com"
] | andrew.giannopoulos@gmail.com |
7573b07e8c097ad9950e3bc3104425d08f68ef12 | de75637338706776f8770c9cd169761cec128579 | /VHFOS/Viet heroes - Fight or Surrender/CGUISlotWindow.h | f187dfb469416a763e650be945e58a3acbda2db2 | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive"
] | permissive | huytd/fosengine | e018957abb7b2ea2c4908167ec83cb459c3de716 | 1cebb1bec49720a8e9ecae1c3d0c92e8d16c27c5 | refs/heads/master | 2021-01-18T23:47:32.402023 | 2008-07-12T07:20:10 | 2008-07-12T07:20:10 | 38,933,821 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,832 | h | #ifndef __C_GUI_SLOT_WINDOW_H_INCLUDED__
#define __C_GUI_SLOT_WINDOW_H_INCLUDED__
#include <irrlicht.h>
namespace irr
{
namespace gui
{
class CGUIBringUpSlotWindowButton;
//! The slot window is pretty much just a copy of the irrlicht gui window exept for some small changes
/** The close button doesn'... | [
"doqkhanh@52f955dd-904d-0410-b1ed-9fe3d3cbfe06"
] | doqkhanh@52f955dd-904d-0410-b1ed-9fe3d3cbfe06 |
241aa0e540ccbcc57e69f68db067ef40069bf59d | b827ffa4501f6a3ee6248073474870db97e68408 | /proto/generated_proto/netmessages_public.pb.h | 3448dcc065c3d30fb5b6cb78fd96b65a6fe02072 | [] | no_license | jacano/projectX | 7e96f273d3cfa53ec7ab7266385e08abf0459b60 | 3fa495431094122d9e1948d17c1d00ba4e74135a | refs/heads/master | 2020-04-11T16:25:48.882501 | 2018-12-27T16:43:45 | 2018-12-27T16:43:45 | 161,923,916 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | true | 427,697 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: netmessages_public.proto
#ifndef PROTOBUF_INCLUDED_netmessages_5fpublic_2eproto
#define PROTOBUF_INCLUDED_netmessages_5fpublic_2eproto
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 3006001
#error This ... | [
"jacanosalado@gmail.com"
] | jacanosalado@gmail.com |
482b0ddc96611c705939e3bb5793bc48acaa4f26 | fb6c9780e08996b4d2aaa686c920285c4d0f6b70 | /codeforces/2018-2019 ACM-ICPC Brazil Subregional Programming Contest/I. Switches/solution1.cpp | 383b84fe51032e941eb4c727047dda681f1044fc | [] | no_license | Diegores14/CompetitiveProgramming | 7c05e241f48a44de0973cfb2f407d77dcbad7b59 | 466ee2ec9a8c17d58866129c6c12fc176cb9ba0c | refs/heads/master | 2021-06-25T08:21:45.341172 | 2020-10-14T03:39:11 | 2020-10-14T03:39:11 | 136,670,647 | 6 | 2 | null | 2018-10-26T23:36:43 | 2018-06-08T22:15:18 | C++ | UTF-8 | C++ | false | false | 626 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
ios_base::sync_with_stdio(false);cin.tie(NULL);
int n, m, aux, aux1;
cin >> n >> m;
vector<int> v(m, 0), balbs(m,0);
map<vector<int>,vector<int>> s;
cin >> aux;
for(int i=0; i<aux; i++){
cin >> aux1;
balbs[aux1-1] = 1;
}
for(int i=0; i<n; i++){
... | [
"diegorestrepo68@utp.edu.co"
] | diegorestrepo68@utp.edu.co |
bb7d31faae776268fbe3d0aa4ee351e40168f9ca | 4c35b7a3db6d3fa8f281dcfb7935a43108430e79 | /src/Steamhammer/Source/ParseUtils.h | 1348247ef36b79bc02e513f38be454ba7b62903b | [
"MIT"
] | permissive | haopan27/LocutusAIIDE2018 | 5861ee86372192f6e5e9c2790fb1d21e32554c4d | 830115eaf53881dc110e4a2c43536efd6b613671 | refs/heads/master | 2020-08-14T07:55:23.355684 | 2019-10-14T19:55:52 | 2019-10-14T19:55:52 | 215,127,138 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,084 | h | #pragma once
#include "Common.h"
#include "rapidjson\document.h"
namespace DaQinBot
{
namespace ParseUtils
{
void ParseConfigFile(const std::string & filename);
void ParseTextCommand(const std::string & commandLine);
BWAPI::Race GetRace(const std::string & raceName);
bool _ParseStrategy(
const rapidj... | [
"hao.pan@QOMPLX.com"
] | hao.pan@QOMPLX.com |
59711b96cfe721e23dc52e2dc7f207e6325329c1 | 5671c626ee367c9aacb909cd76a06d2fadf941e2 | /frameworks/core/components/counter/counter_theme.h | eb7726a04ce0fc66674b9d2fe59c70d606bd21e7 | [
"Apache-2.0"
] | permissive | openharmony/ace_ace_engine | fa3f2abad9866bbb329524fb039fa89dd9517592 | c9be21d0e8cb9662d5f4f93184fdfdb538c9d4e1 | refs/heads/master | 2022-07-21T19:32:59.377634 | 2022-05-06T11:18:20 | 2022-05-06T11:18:20 | 400,083,641 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,411 | h | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* 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 ... | [
"zhongjianfei@huawei.com"
] | zhongjianfei@huawei.com |
59d746bde18f1511d6c027c62ec566cb3e3875a7 | 579ad7c556f136690f178bd8700668bc65e40a51 | /Lecture_3 _Conditionals_and_Loops/Sum_of_Even_Numbers_till_N.cpp | 4142f29ffdba0c19e025cb5d3436d5ac701ce9bf | [] | no_license | sahil-adhav/CPP | f133a7181be7f00871a198f35ea4fc04ccd662de | c406f408ebe0e33a3b42ade69543a8660dd98e93 | refs/heads/main | 2023-08-10T18:33:28.077800 | 2021-10-05T06:19:30 | 2021-10-05T06:19:30 | 379,327,877 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 278 | cpp | #include <iostream>
using namespace std;
int main()
{
int num, N;
int sum = 0;
cin >> N;
num = 1;
while (num <= N)
{
if (num % 2 == 0)
sum = sum + num;
num ++;
}
cout << sum;
return 0;
}
| [
"sahiladhav16@gmail.com"
] | sahiladhav16@gmail.com |
335c85664ecb49d576ce0c25a8eaae33d1bd9d6d | 806a0e71fa40501e2f0edfe62269e8801f187e5c | /C++/BaiTap/Baitaplan3/44/khachhang.cpp | 9f74cff9556f1651a30e1d0ae4ae56f23bc998ec | [] | no_license | ducthangbui/Learning | 1c991a84a27cf6f112f9d2d643eacfdfb0a1de49 | 5a7acdf0c05e00e4ba736113a075423bf0b967db | refs/heads/master | 2020-03-31T13:46:30.180506 | 2018-10-14T15:18:06 | 2018-10-14T15:18:06 | 152,268,559 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,073 | cpp | #include "khachhang.h" // class's header file
#include <iostream>
#include <fstream>
#include <cstdlib>
using namespace std;
fstream khach("KH.DAT", ios::in | ios::out | ios::app);
void KhachHang::Nhap(){
fflush(stdin);
Nguoi::Nhap();
cout<<"Nhap ma khach hang:";
getline(cin,maKhachHang);
cout<<"Nhap kieu phong... | [
"ducthangbui1996@gmail.com"
] | ducthangbui1996@gmail.com |
2002ffdb9335fcb1c9682f4b9b3d5bbfc053dd92 | 861da1c7011f23a68a55d2b6903e3f7df8c28a60 | /src/Transform3Df/Transform3Df.h | 7e65883c7cd5fb02a777605ccbe0059303aa2e08 | [] | no_license | TomCoded/linalg | ed3635b29f16af2ff4cf405d98d6aa2754d46810 | 900c18cc9f52fc277b6a3ae32e678a522738b5ea | refs/heads/master | 2020-03-29T00:03:06.373617 | 2018-09-18T16:57:36 | 2018-09-18T16:57:36 | 149,322,329 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,182 | h | // This may look like C code, but it is really -*- C++ -*-
// Transform3Df.h
// 3x3 matrix with simple operations
// (C) Anonymous1
#ifndef TRANSFORM3DF_H
#define TRANSFORM3DF_H
#include <iostream>
///////////////////////
// class Transform3Df //
///////////////////////
// A 3x3 Matrix of type float
//
// Supp... | [
"tomtinkerer@gmail.com"
] | tomtinkerer@gmail.com |
8c61b78447d00822ab92f9ec4c1d0a910b44ec31 | df8f81e40671d111956b9af9da079d646321b439 | /include/serial_port.h | 67826fb44f0d38f666d36ac3867b263ac9230766 | [] | no_license | asdlei99/trx_subnetwork | 3d7bf6d7ce951124339c46ce81bbdb174c1d759a | a8ae9e34a51ff2c794ab1bde7f38832b7e1c70fd | refs/heads/master | 2020-12-11T02:45:24.628142 | 2018-06-01T19:41:23 | 2018-06-01T19:41:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 272 | h | #ifndef SERIAL_PORT_H
#define SERIAL_PORT_H
#include <SerialStream.h>
#include <string>
using namespace LibSerial;
bool SetupSerialPort(SerialStream &serial_stream,
const int baud_rate,
std::string &input_serial_dev);
#endif
| [
"artyom.baloyan@yahoo.com"
] | artyom.baloyan@yahoo.com |
6b8ece70d234ec8d0c0a6e8ba577dcabc200181e | b09f567815d297a169126d5235cfb1d8945e1faa | /Codeforces/AAmusingJoke141.cpp | 453ca03c1fcf3fcb9bec67296a75cb0cbc803679 | [] | no_license | alsuga/Maratones | c913c858e317047a3c4b2944627c814fc2084bd2 | 7271bda427a6ebddf0599d4f6b333d0ab81ecb71 | refs/heads/master | 2021-01-17T15:31:11.039085 | 2016-09-05T20:39:00 | 2016-09-05T20:39:00 | 8,393,509 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 635 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
ios_base::sync_with_stdio(false); cin.tie(NULL);
string a,b,c;
int size = 0;
cin>>a>>b>>c;
map<char, int> mapa,mapa2;
size = a.size() + b.size();
if(size != c.size()) {
cout<<"NO"<<endl;
return 0;
}
for(int i = 0; i < a.size(); i++) ... | [
"alejandro@sirius.utp.edu.co"
] | alejandro@sirius.utp.edu.co |
71a791550b3aa7fe7a31c08a8006d832dc742ecb | 5885fd1418db54cc4b699c809cd44e625f7e23fc | /codeforces/1528/f-lca.cpp | dab51cc5c62afd4209e18e6b02e37b0308a0e678 | [] | no_license | ehnryx/acm | c5f294a2e287a6d7003c61ee134696b2a11e9f3b | c706120236a3e55ba2aea10fb5c3daa5c1055118 | refs/heads/master | 2023-08-31T13:19:49.707328 | 2023-08-29T01:49:32 | 2023-08-29T01:49:32 | 131,941,068 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,564 | cpp | #include <bits/stdc++.h>
using namespace std;
#define _USE_MATH_DEFINES
#include "../../../lca/math/number_theoretic_transform.h"
#include "../../../lca/number/mod_int.h"
//#define FILENAME sadcactus
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
template <t... | [
"henryxia9999@gmail.com"
] | henryxia9999@gmail.com |
aaa604e9189fd6fd516226d7aa8e9fed4c6637ad | bc68a49b6d920876cf9595c72a9f5d202d69af9c | /StrelaSimpleLCD/StrelaSimpleLCD.ino | 726924e48434de1599bb8b8d331a36c39a2f74da | [] | no_license | camasa96/arduino_projects | 4e304fb9d240d90f20eb0efe88fd81c6e6b3b595 | 3d673b9979b22ecd863047bc3429b8a6c0bce3b5 | refs/heads/master | 2021-01-01T20:43:14.726564 | 2015-04-23T12:27:00 | 2015-04-23T12:27:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,023 | ino |
#include <Wire.h>
#include <Strela.h>
#include <LiquidCrystal_I2C.h>
// =======================================================================
// addr, en,rw,rs,d4,d5,d6,d7,bl,blpol
LiquidCrystal_I2C lcd(LC_ADDR, LCEN, LCRW, LCRS, LC4, LC5, LC6, LC7);
void setup()
{
Wire.begin();
lcd.begin... | [
"acosinwork@yandex.ru"
] | acosinwork@yandex.ru |
76bb75bc9d9927861af1ebcbc0947c2e85ee63ca | 9f0e62953b0125f7c69ef197d79724b652cf61d7 | /3391/185.cpp | 12ebf921dd5e3378d1f764b7b0a325769031432f | [] | no_license | NewReStarter/Training | d3ece985cfc0dba7921d01e2b9766b09c5da37db | 2534c4010096b477bec72025a970f2504301d5ae | refs/heads/master | 2020-06-27T22:38:04.005695 | 2019-09-04T11:04:21 | 2019-09-04T11:04:21 | 97,077,237 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 642 | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <string>
#include <cmath>
#include <algorithm>
#include <vector>
#include <set>
#include <iterator>
#include <sstream>
#include <ctype.h>
#include <utility>
using namespace std;
int main()
{
set<string> dict;
set<string> :: iterator itr;
string str;
... | [
"ziliugao@gmail.com"
] | ziliugao@gmail.com |
cabe5a44cbded67fe2a4ed5222e85f5cd20967e1 | d7b84a31cafb72a3cb71b3a3cc724a68119ba18e | /Tyr/0.68/phi | ba92f065bd76696bd30f02c81eb3db8bf7b9f10d | [] | no_license | benroque/Ragnorak | 6cc7c68db801f9281a4ac241da754bce88ef6caf | a1bfc2430cccb207192792acebdd1530f1388a4c | refs/heads/master | 2021-01-14T08:13:18.774988 | 2017-02-20T08:32:53 | 2017-02-20T08:32:53 | 82,008,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,716,740 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.1 |
... | [
"benroque94@gmail.com"
] | benroque94@gmail.com | |
d1644c9515785d8fa796e1d95797ee351a7d918e | e92a0968316e012ef84908aec1936f1e4aad69e2 | /source/chapter4/example23.cpp | 84b600f955b160a8158a03a30f93a47d481fa2fb | [] | no_license | motadou/cppmetaprogramming | 1bd063f598dce521048e6b9f6626f953a1f9eaaa | 3c8b8a304e6a4f43e5edfd17427fb689adf2621d | refs/heads/master | 2020-06-26T23:49:14.031662 | 2019-07-31T08:07:41 | 2019-07-31T08:07:41 | 199,791,283 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,297 | cpp | /*
Copyright David Abrahams 2003-2004
Copyright Aleksey Gurtovoy 2003-2004
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
This file was automatically extracted from the source of ... | [
"motadou@126.com"
] | motadou@126.com |
ed8f56939d062134f28370b7c3d70590bfd83ce0 | 35f375f8fa95fff9dd0dff0b850283491564a941 | /vectorLooping.cpp | ca601e32df81e4be7c83dc1ec25d449e8dd9d0e7 | [] | no_license | ssredhead/a-bit-of-cpp | 235ab33bf948c469ca93f3cb520b6268196f6741 | ce398e72b8c912fe44585f8f14092254edc9742c | refs/heads/main | 2023-08-22T15:57:26.720770 | 2021-09-22T03:33:54 | 2021-09-22T03:33:54 | 397,769,804 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 445 | cpp | #include <iostream>
#include <vector>
int main() {
std::vector<double> delivery_order;
delivery_order.push_back(8.99);
delivery_order.push_back(3.75);
delivery_order.push_back(0.99);
delivery_order.push_back(5.99);
// Calculate the total using a for loop:
double total = 0.0;
for (int i =... | [
"soommers.sophia@gmail.com"
] | soommers.sophia@gmail.com |
603d5bd4ecb19f3ad63b4c50ce70971148a119d3 | 0a688a8b2c973962f45b07d3f3b50acab40c4e8f | /HackerRank/Data Structures/Linked List/Reverse a doubly linked list.cpp | 75b354509835143983a3f342f614a510ea977313 | [] | no_license | Rajanpandey/Coding-Practice | 2184c1b0ff8b10847abfe2f36091a7239aca2671 | 75d81fdf581fe870dac45c59ba3d20a406e2f4b8 | refs/heads/master | 2021-11-28T08:07:12.859609 | 2021-11-24T15:45:01 | 2021-11-24T15:45:01 | 191,540,122 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 348 | cpp | DoublyLinkedListNode* reverse(DoublyLinkedListNode* head) {
DoublyLinkedListNode* temp = head;
DoublyLinkedListNode* newHead = head;
while(temp) {
DoublyLinkedListNode* prev = temp->prev;
temp->prev = temp->next;
temp->next = prev;
newHead = temp;
temp = temp->prev;
... | [
"rajanpandey2508@gmail.com"
] | rajanpandey2508@gmail.com |
3556d215843320320506fa9986cd71d9e59f82ed | 287087eddeb170d915408a1ee301a7684575c3f0 | /compiler/models/exceptions_test.cpp | 290a4c9a070223eb5268a941af77241620173e22 | [] | no_license | dgp1130/sanity-lang | 82b07120005edf5470c996afe84c3c1523ec8d0c | e068a927f3320157972304b151a71ab3f6d21201 | refs/heads/master | 2021-06-12T15:23:40.283772 | 2019-01-18T05:34:25 | 2019-01-18T05:34:25 | 128,713,509 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,565 | cpp | #include <gtest/gtest.h>
#include "exceptions.h"
typedef Exceptions::FileNotFoundException FileNotFoundException;
typedef Exceptions::IllegalStateException IllegalStateException;
typedef Exceptions::ParseException ParseException;
typedef Exceptions::RedeclaredException RedeclaredException;
typedef Exceptions::SyntaxEx... | [
"dgp1130422@gmail.com"
] | dgp1130422@gmail.com |
13c0123dc08c5c27d660f94ee664b6a978b1fbce | a943ecc0f1ea5367a315a9b7760f12b67c4fb21b | /rollerOpt_COBYLA_NEW/runLogs/Optimization29/2500/O2 | 9126d67512b672909f1da3b8fdf2015d025b7245 | [] | no_license | Owbr3335/3M_Roller | d86e59fc8a8e174c793bffb63abdf118e57ad153 | 5136a1b84a674199acab2d11b111b61bef83e3bf | refs/heads/master | 2020-04-24T06:09:31.546146 | 2019-04-26T21:43:50 | 2019-04-26T21:43:50 | 171,755,246 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 86,137 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
\*-----... | [
"owbr3335@colorado.edu"
] | owbr3335@colorado.edu | |
426c4ddf170e8d4d258727a93ca8683e4943a73f | 463839e26ec118a18741502cfde55351019aa0a3 | /HW12/problem1.cpp | 7dd2b69793b643afc85218faf905104fe9191f76 | [] | no_license | dereklh4/Homework-upstream | 124f1cad3c7c1271ff400531792e2cbba048f9cb | 61403385640c2cb82e6704438cf2d10bb6554d6b | refs/heads/master | 2020-03-28T08:24:56.818969 | 2017-12-05T03:42:52 | 2017-12-05T03:42:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,180 | cpp | #include <iostream>
#include <omp.h>
#define OMPI_SKIP_MPICXX /* Don't use OpenMPI's C++ bindings (they are deprecated) */
#include <mpi.h>
namespace mpi {
class context {
int m_rank, m_size;
public:
context(int *argc, char **argv[]) : m_rank { -1 } {
if (MPI_Init(argc, argv) == MPI_SUCCESS) {
MPI_Comm_r... | [
"thaines.astro@gmail.com"
] | thaines.astro@gmail.com |
9a5589e2131d90f94f60ae0a8f35ce54d1b83b74 | f878c7a63f668b9bd811f9c79a01814d7d63becd | /data_dir/train/63269 | 41f9580419d10e73569647d627bccfed47f0dc6f | [
"MIT"
] | permissive | AliOsm/AI-SOCO | f8d7428f4570577e7e8d4dddecb4fed5cfbed11c | c7b285cd8a094f09a294e17af77d3cb254537801 | refs/heads/master | 2023-05-24T09:15:43.769045 | 2020-11-06T12:58:16 | 2020-11-06T12:58:16 | 265,671,705 | 18 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 1,288 | #ifndef Local
#pragma GCC optimize ("O3")
#pragma GCC optimize ("unroll-loops")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
#pragma comment(linker, "/STACK:1024000000,1024000000")
#endif
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_p... | [
"aliosm1997@gmail.com"
] | aliosm1997@gmail.com | |
61d60edf69d6440a528c0b0fbac29e6b71e1cab6 | abff24635d98f480ca0a04c0d257aa22c4fc4b8c | /src/core/api/VulkanSwapChain.cpp | 9d7d15874b7e541652e254040c3417f9d8db743a | [] | no_license | Aitorsan/vulkanLearning | 51a8c1ae1c62ac26e780256f96923561b5e98299 | 0fd4399d1813849663571e809691391d59729135 | refs/heads/master | 2023-03-18T17:09:37.279309 | 2021-03-12T17:39:33 | 2021-03-12T17:39:33 | 345,642,702 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,148 | cpp | #include "VulkanSwapChain.h"
#include <cassert>
#include "core/debugger/public/Logger.h"
#include "VulkanLib.h"
VulkanSwapChain::VulkanSwapChain(VulkanLib& vulkan,VkExtent2D windowExtent)
: Vulkan{vulkan}
, WindowExtent{ windowExtent }
, SwapChainExtent{}
, SwapChain{}
, SwapChainImageFormat {}
, DepthImages{}... | [
"aitor.sanmartin11@gmail.com"
] | aitor.sanmartin11@gmail.com |
c80a4c5f5bc0114603d0f001c89331f64c862ca0 | 5838cf8f133a62df151ed12a5f928a43c11772ed | /NT/sdktools/apimon/apimon/apimon.cpp | 2685f6e22c701025403e992e01f2bce05276de03 | [] | no_license | proaholic/Win2K3 | e5e17b2262f8a2e9590d3fd7a201da19771eb132 | 572f0250d5825e7b80920b6610c22c5b9baaa3aa | refs/heads/master | 2023-07-09T06:15:54.474432 | 2021-08-11T09:09:14 | 2021-08-11T09:09:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,526 | cpp | /*++
Copyright (c) 1995 Microsoft Corporation
Module Name:
apimon.cpp
Abstract:
Main entrypoint code for APIMON.
Author:
Wesley Witt (wesw) July-11-1993
Environment:
User Mode
--*/
#include "apimonp.h"
#include "alias.h"
#pragma hdrstop
extern HWND hwndDlg;
extern DWORD ... | [
"blindtiger@foxmail.com"
] | blindtiger@foxmail.com |
621e159b99056d7dcb3092218b61831880046571 | 49d3699c04b8dd4bbb19002dad627613a0bfb738 | /LSCNS/src/app/main.cpp | 3564f3d47a4f168ef253f5661ea4bc92705bbbb6 | [] | no_license | karthigeyanr/LSCNS | 0b19945f19f4faa68f1f9c5009416f5504f34dd8 | e177dc4a42c20adf5e1d14bed86b5cb8bd384ff4 | refs/heads/master | 2021-01-01T20:17:29.679289 | 2015-09-19T12:39:38 | 2015-09-19T12:39:38 | 42,768,494 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 638 | cpp |
#include <iostream>
#include "wch.hpp"
#include "keymap.hpp"
#include "valuemap.hpp"
using namespace std;
int main(int argc, char *argv[])
{
//Watcher w;
//cout<<w.init((char *)"../../shared/", NULL)<<endl;
//w.watch();
STR_ID id;
printf("%d\n", KeyMap::getKeyId("sample", id));
printf("%p\t%s\n", (void *)id, ... | [
"elcot@boss"
] | elcot@boss |
4be5afd9be86a0aa571adae4acc75ba6c7887c62 | 31859a8484050ac73b9e7f156820815d8e7f59c5 | /gripper-final/gripper-final.ino | 0fc71e57a10dd20cd5c8d9de59f4aa778b4c5308 | [] | no_license | nikh1508/wro_arc-2018 | b1b975b1a9aedd0a0a61e7e42347725759b4cb2b | 6f659a98018168f13dd6c3f8bc4dc177bc2b7779 | refs/heads/master | 2020-03-22T00:26:33.546975 | 2018-09-19T10:18:12 | 2018-09-19T10:18:12 | 139,244,538 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 727 | ino | #define ARM_INIT 1700
#define GRIPPER_INIT 1500
#include <Servo.h>
Servo gripper;
Servo arm;
int gripper_cur = GRIPPER_INIT , arm_cur = ARM_INIT; //Current values of Servos in micro-seconds
int arm_last = ARM_INIT; //Initial values of servos in micro-seconds
int gripper_last = GRIPPER_INIT;
int ... | [
"nikh150897@gmail.com"
] | nikh150897@gmail.com |
c9da5355d5d1c9e68d22a92d0b4db22001dd9e83 | 7eb9e805a45c68603c5ec160d6101df3814352ac | /extern/json/include/tao/json/internal/single.hpp | 2a46f8ebbc958451a15a8d4b006913445919342f | [
"Apache-2.0",
"BSD-3-Clause",
"MIT",
"BSL-1.0"
] | permissive | Kashio/xenium | b3ca6688151ccb19be13ad4446a16eee8faada5b | ddc13eba4e4be3656e7c521c538df1b631a50d13 | refs/heads/master | 2022-12-18T06:19:17.739829 | 2020-09-28T14:27:54 | 2020-09-28T14:27:54 | 299,101,676 | 0 | 0 | MIT | 2020-09-27T19:13:52 | 2020-09-27T19:13:51 | null | UTF-8 | C++ | false | false | 927 | hpp | // Copyright (c) 2016-2020 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/json/
#ifndef TAO_JSON_INTERNAL_SINGLE_HPP
#define TAO_JSON_INTERNAL_SINGLE_HPP
#include <utility>
#include "../forward.hpp"
#include "pair.hpp"
namespace tao::json::internal
{
templa... | [
"roy.mor173@gmail.com"
] | roy.mor173@gmail.com |
00e2fd003f9bab1e261dafae8b8ed95bafeaeed4 | 5f975169aeb67c7cd0a08683e6b9eee253f84183 | /algorithms/easy/0762. Prime Number of Set Bits in Binary Representation.h | 6237f9ea45f50ec452fabb52dad7bebe8d1ed508 | [
"MIT"
] | permissive | MultivacX/leetcode2020 | 6b743ffb0d731eea436d203ccb221be14f2346d3 | 83bfd675052de169ae9612d88378a704c80a50f1 | refs/heads/master | 2023-03-17T23:19:45.996836 | 2023-03-16T07:54:45 | 2023-03-16T07:54:45 | 231,091,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 718 | h | // 762. Prime Number of Set Bits in Binary Representation
// https://leetcode.com/problems/prime-number-of-set-bits-in-binary-representation/
// Runtime: 32 ms, faster than 46.75% of C++ online submissions for Prime Number of Set Bits in Binary Representation.
// Memory Usage: 6.4 MB, less than 34.66% of C++ online su... | [
""
] | |
7d3ac08e2eb56e4ca4bedc5cd693935dfeb3049c | ceac59f034f560602da63f8f93eff80476ce4d37 | /third_party/asio/include/asio/detail/call_stack.hpp | 046ebccfdbfa2b01eba11dfe3596330cd49d5773 | [
"BSL-1.0"
] | permissive | ludocosmo/wrtc-client | ade5e183db3ed0d5f86e79f06fe54cb7dad9ff4d | 0efa2c6c79b865c9128b0eecf85ec133862b8cf6 | refs/heads/master | 2021-05-05T14:11:03.523903 | 2018-01-22T02:30:11 | 2018-01-22T02:30:11 | 118,438,078 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,041 | hpp | //
// detail/call_stack.hpp
// ~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef ASIO_DE... | [
"ludovic.roux@cosmosoftware.io"
] | ludovic.roux@cosmosoftware.io |
bd8c64db72f94ca8b5e1d9c82465b543120a913e | a9dc893b92189ece0f8e513d3722650d97db6f2d | /dat.h | a0a54eee5f3546f652f2aa448f980e984ad080d2 | [] | no_license | zhouxianggen/dat | 21eefcea60ad1f5e9947f317cca7709029a7b18d | 66feeb948a6123fdc1ba7d0520155ab3ced85d4c | refs/heads/master | 2021-01-13T01:37:04.478962 | 2014-01-16T08:10:50 | 2014-01-16T08:10:50 | 15,897,853 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,646 | h | /*
Double Array Trie
change from "http://chasen.org/~taku/software/darts/#download"
Copyright(C) 2013-2014 <zhouxg@ucweb.org>
*/
#ifndef UCLTP_DAT_H_
#define UCLTP_DAT_H_
#include <vector>
using std::vector;
#include "def.h"
namespace ucltp {
class Dat {
public:
match_result_t match(const char* str);
match... | [
"zhouxianggen@gmail.com"
] | zhouxianggen@gmail.com |
fb989b163e925883bf9c28ac2c3ba85d5b2d124e | 00a3dceb1a500e2974d04319a3ce9001a45e4500 | /smtk/session/polygon/pybind11/PybindCreateEdgeFromVertices.h | 50b4826016073af88efc75344a935e800b9b0f59 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | WarfareCode/SMTK | 87eeabdfc99489b05e1a8f726da0ea03564158bd | 2c5c74cb76e7202b57dd5c74955ef7e620baa298 | refs/heads/master | 2021-05-26T04:00:54.538167 | 2020-04-06T19:02:28 | 2020-04-06T19:02:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,278 | h | //=========================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
//
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE... | [
"bob.obara@kitware.com"
] | bob.obara@kitware.com |
62590bbc1b3937f9772da52474bf4865f8c1b106 | 5da2abc29b6ca647fa75957614e7f5cf04f90213 | /app/src/main/cpp/global.h | cb0c1a4a5fbcf3a6ec0b9e9649923549ecdc525e | [] | no_license | ThisIsSimple/GameGraphicProgrammingHW1 | 91b0ce2e97149a6cb9e2d9936a0e2118b2b3d883 | 73a170f2ec828da9cf0bb99080dd194ab308fa1a | refs/heads/master | 2022-04-23T18:39:53.268558 | 2020-04-23T07:46:59 | 2020-04-23T07:46:59 | 258,130,770 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 856 | h | #ifndef OPENGLES_GLOBAL_H
#define OPENGLES_GLOBAL_H
#include <jni.h>
#include <android/log.h>
#include <android/asset_manager.h>
#include <android/asset_manager_jni.h>
#include <GLES2/gl2.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <glm/gtx/tran... | [
"cordelia273@naver.com"
] | cordelia273@naver.com |
4e3fdcd36fc2b46d8ed7e26dda881de8fd28dfe8 | 7fa68323fac414021d7b8bb9bb197f46978da14a | /linecomponent.cpp | 7309b93e6889ced7ec0d2e8fabce7f06eae8a1bc | [] | no_license | RahulXTmCoding/-Digital-Education-Tool | 9ba771d9fd8a0d9bd42209cb4382238f008a379d | 5dd1d1b6f8a25a0a17b78b05dc8d38c8d309be91 | refs/heads/master | 2022-12-25T22:17:55.856882 | 2020-09-20T11:09:06 | 2020-09-20T11:09:06 | 270,752,880 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,204 | cpp | #include "linecomponent.h"
int LineComponent::getX() const
{
return x;
}
void LineComponent::setX(int value)
{
x = value;
}
int LineComponent::getY() const
{
return y;
}
void LineComponent::setY(int value)
{
y = value;
}
int LineComponent::getX2() const
{
return x2;
}
void LineComponent::setPa... | [
"rahul@rahul-HP-Notebook"
] | rahul@rahul-HP-Notebook |
fe20562b84d4e26470c76db90290ea06775be1bd | e457c3e9379bb32feb20dc410c2f98b5c9ad03d2 | /modules/30-variables/30-variables-naming/main.cpp | b04b2ece28aec1372377a0c7dba8a81a1a00bbd0 | [] | no_license | hexlet-basics/exercises-cpp | 70ecdd0631fcc20bdd90afcc9fba746557eb7858 | f52a72d43cbbd01c39f7db359c84943da104c73a | refs/heads/main | 2023-08-22T23:57:26.386168 | 2023-08-22T09:07:28 | 2023-08-22T09:07:28 | 196,867,448 | 3 | 22 | null | 2023-08-23T06:24:35 | 2019-07-14T17:56:11 | C++ | UTF-8 | C++ | false | false | 122 | cpp | #include <iostream>
int main() {
// BEGIN
int likes_count { 2 };
std::cout << likes_count << std::endl;
// END
}
| [
"anshlyapnikov@yandex.ru"
] | anshlyapnikov@yandex.ru |
f57b248cc2a58cb3deffea503236d915b23d97a7 | a09400aa22a27c7859030ec470b5ddee93e0fdf0 | /stalkersoc/source_script/ui_export_script.cpp | fb16c88fce35ca64f3ceebbcfefd2ba55da99e13 | [] | no_license | BearIvan/Stalker | 4f1af7a9d6fc5ed1597ff13bd4a34382e7fdaab1 | c0008c5103049ce356793b37a9d5890a996eed23 | refs/heads/master | 2022-04-04T02:07:11.747666 | 2020-02-16T10:51:57 | 2020-02-16T10:51:57 | 160,668,112 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,296 | cpp | #include "pch_script.h"
#include "script_ui_registrator.h"
#include "UI\UIMultiTextStatic.h"
#include "MainMenu.h"
using namespace luabind;
CMainMenu* MainMenu();
bool FTrue(CMainMenu*)
{
return true;
}
#pragma optimize("s",on)
void UIRegistrator::script_register(lua_State *L)
{
module(L)
[
class_<CGameFont>("... | [
"i-sobolevskiy@mail.ru"
] | i-sobolevskiy@mail.ru |
a69cdd2b8410c67bbfc11f03f64af8c3c7b9ab95 | b66f98b564a0b0ab5a87f5c5447dbf5490635afa | /Code/Common/src/sitkTransform.cxx | 97b74de11b7cbfbbb71b7872c52a6be53aea6169 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | jhlegarreta/SimpleITK | c3f978b9e146dec00dd16da0eabb5ecc5c7cbe38 | 6434f18f883967943d7f291a4b137c3ed205e7c0 | refs/heads/master | 2021-05-05T15:38:54.786321 | 2018-01-11T16:59:12 | 2018-01-11T16:59:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,539 | cxx | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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://ww... | [
"blowekamp@mail.nih.gov"
] | blowekamp@mail.nih.gov |
09f4dcc12e1b2a249cbe390a40fb47fd67cd35cc | b214fa32315b6a555d83a86895e5b845ac79dd73 | /src/cube.cpp | 740b5f2e22224d4d0ddd85af395d27c82dcb3c7e | [] | no_license | aljazerzen/opengl-demo | 992dcd299d4bb0293b172858708fbdc9216d6f13 | 1ada6f7eabb3b7397cc42d428b3a8eacd4ee86e9 | refs/heads/master | 2020-04-27T18:02:04.602648 | 2019-03-08T14:24:56 | 2019-03-08T14:24:56 | 174,550,897 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,312 | cpp | #include "cube.hpp"
Cube::Cube() {
viewMatrix.translate(0, 0, -2);
const Vertex VERTICES[8] = {
{{-.5f, -.5f, .5f, 1}, {0.5, 0, 0, 1}},
{{-.5f, .5f, .5f, 1}, {0, 0, 0, 1}},
{{.5f, .5f, .5f, 1}, {0, 0, 0, 1}},
{{.5f, -.5f, .5f, 1}, {0.5, 0, 0, 1}},
{{-.5f, -.5f, -.5f, 1}, {1, 0, 0, 1}},
... | [
"aljaz.erzen@gmail.com"
] | aljaz.erzen@gmail.com |
17c2edae449081817cb02c51e6cbb9730bdadde7 | 39254e54c37405f83e3d98e23278107bb5635cf9 | /src/worker.cpp | 62e01363bf4260e355b4f55ecd349202a3ffd2bc | [
"MIT"
] | permissive | mugiseyebrows/mugi-grep | 0948654d684bb066d7e34539fbaa6b5a78774634 | 5bb4ea83fadd803152201b64dbd4842e3795ab23 | refs/heads/master | 2021-11-09T18:25:20.740324 | 2021-11-04T12:12:17 | 2021-11-04T12:12:17 | 159,567,345 | 8 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,459 | cpp | #include "worker.h"
#include "searchhits.h"
#include "countfilesparams.h"
#include <QTimer>
Worker::Worker(QObject *parent) :
QObject(parent)
{
}
void Worker::onSearch(SearchParams params)
{
mCache.add(params);
SearchHits hits(params.pattern());
SearchNameHits nameHits(params.pattern());
emit fo... | [
"mugisbrows@gmail.com"
] | mugisbrows@gmail.com |
b16a886759e57c74d6f5cc69dd531fab3873efbe | 25051a5329fa2ff9b14a6075e43d638cbf9e5aa4 | /Source/Anti-Cheat/Console/Windows_Structs.h | 03b425c156cdee038da47dc7cc55ac13cad37680 | [] | no_license | gmh5225/Anti-Cheat_Bachelor | 3b1bb4d37f096eebe1e43fba2caee05b0fad29d7 | bbbe118de39c7643399d71cdb5b251ed9cb75a88 | refs/heads/master | 2023-03-23T07:20:55.848699 | 2019-11-27T11:47:23 | 2019-11-27T11:47:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,177 | h | #pragma once
#include <Windows.h>
namespace
{
typedef LONG KPRIORITY;
typedef LONG NTSTATUS;
typedef struct _UNICODE_STRING
{
USHORT Length;
USHORT MaximumLength;
PWSTR Buffer;
} UNICODE_STRING, *PUNICODE_STRING;
typedef enum _THREADINFOCLASS
{
ThreadBasicInformation, // q: THREAD_BASIC_INFORMATION
... | [
"zwick.fabi@googlemail.com"
] | zwick.fabi@googlemail.com |
bc3eecec8c6b110ce1cb45e5e426db16f7d1187b | 078050d18fcde1d1b25857605d78426ae91eb462 | /IFTTT/ESP8266/GoogleIoTTest2/GoogleIoTTest2.ino | fd10ec3bf7b5427078b5910df6cf28864629a433 | [] | no_license | Bart3009/ESPGoogleHome | 218ba62645b6bfc045aa2ad1999bda5d4e3e7fd3 | efc088ba9ba6aeb43193d26c36e1694dbf6d54be | refs/heads/master | 2021-02-18T12:32:18.502556 | 2020-03-06T13:31:35 | 2020-03-06T13:31:35 | 245,195,702 | 0 | 1 | null | 2020-03-06T13:31:36 | 2020-03-05T15:13:27 | C++ | UTF-8 | C++ | false | false | 4,233 | ino | /*
Netmedias
Created on: 24.05.2015
From: https://www.youtube.com/watch?v=c4CC1dMFg78
*/
#include <ArduinoJson.h>
#include <ESP8266WiFi.h>
#include <ESP8266WiFiMulti.h>
#include <WebSocketsClient.h>
#include <Hash.h>
#include "GoogleIOT.h"
// @@@@@@@@@@@@@@@ You only need to midify modify wi-fi and domain inf... | [
"bartvanveggel@gmail.com"
] | bartvanveggel@gmail.com |
7e51b65d015d67823436c36d2d23cc007fd0cae6 | f0749232d54f17e3c321b0b90daaeb23b9faec82 | /Online Judge Code/[Other] Online-Judge-Solutions-master_from github/Timus Online Judge/1457 - Heating Main.cpp | 1babc912683e92d57a0b3a8e3a6775579afccdde | [] | no_license | tmuttaqueen/MyCodes | c9024a5b901e68e7c7466885eddbfcd31a5c9780 | 80ec40b26649029ad546ce8ce5bfec0b314b1f61 | refs/heads/master | 2020-04-18T22:20:51.845309 | 2019-05-16T18:11:02 | 2019-05-16T18:11:02 | 167,791,029 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 247 | cpp | #include <cstdio>
using namespace std;
int main(){
int N,sum = 0;
scanf("%d",&N);
for(int i = 0,P;i < N;++i){
scanf("%d",&P);
sum += P;
}
printf("%.10f\n",(double)sum / N);
return 0;
}
| [
"1505002.tm@ugrad.cse.buet.ac.bd"
] | 1505002.tm@ugrad.cse.buet.ac.bd |
54c01347082ebb7860440037849d01fbc9d0267b | 13bfcfd7492f3f4ee184aeafd0153a098e0e2fa5 | /Kattis/veci.cpp | 8707b21f6ce0be3512b1da1f147eed544932203a | [] | no_license | jqk6/CodeArchive | fc59eb3bdf60f6c7861b82d012d298f2854d7f8e | aca7db126e6e6f24d0bbe667ae9ea2c926ac4a5f | refs/heads/master | 2023-05-05T09:09:54.032436 | 2021-05-20T07:10:02 | 2021-05-20T07:10:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 263 | cpp | #include<iostream>
#include<algorithm>
using namespace std;
#define OW0 ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
int main(){OW0
string in;
cin >> in;
if(next_permutation(in.begin(), in.end())){
cout << in;
} else {
cout << 0;
}
return 0;
} | [
"froghackervirus@gmail.com"
] | froghackervirus@gmail.com |
9c693f03da833dfd177832a193b5634f6dca80b7 | 61850f480413dbfb81a77367a2761b2c0d82fc59 | /tec_api/timed_tensor.cpp | d50dd8a83ae8baa0aea8bdc6fed479cbabb1e13f | [] | no_license | semicloud/QuakeAnalysis | 49f430e486fda846a2d108183da8f8d0526ec835 | ee1ea25921c593407944d41283862d8e02d2aaaa | refs/heads/master | 2022-12-12T22:50:01.574724 | 2020-01-02T04:35:33 | 2020-01-02T04:35:33 | 187,571,122 | 0 | 0 | null | 2022-12-08T04:28:23 | 2019-05-20T05:06:58 | C++ | UTF-8 | C++ | false | false | 1,274 | cpp | #include "stdafx.h"
#include "timed_tensor.h"
#include "../gdal_lib/gdal_lib.h"
boost::posix_time::ptime tec_api::parse_time(boost::filesystem::path const& file_path)
{
const std::string filename = file_path.filename().stem().string();
std::vector<std::string> strs;
boost::split(strs, filename, boost::is_any_of("_"... | [
"liqinyong@vip.qq.com"
] | liqinyong@vip.qq.com |
a9a3e83b706a7f935aa6ba9abb845cd9f290be28 | ccf6d9896ccf98e420a5d11d79598c5de8b64102 | /src/utilities/ow_core/include/ow_core/trajectory/state_trajectories.h | 51bbbaaaeb0d6bd37540101e9e9d9c09a12cfe94 | [] | no_license | mrcoliva/ur10-controller | 5a7843d1b525a6d12fe6cc87e2945c4c36fd48a8 | 364e70f0e5185cc6c12e850fcd7c0bba1490b98c | refs/heads/main | 2023-05-30T19:28:50.062501 | 2021-06-05T19:33:47 | 2021-06-05T19:33:47 | 373,530,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,495 | h | /*! \file
*
* \author Emmanuel Dean-Leon
* \author Florian Bergner
* \author J. Rogelio Guadarrama-Olvera
* \author Simon Armleder
* \author Gordon Cheng
*
* \version 0.1
* \date 14.02.2020
*
* \copyright Copyright 2020 Institute for Cognitive Systems (ICS),
* Technical University of Munich (TUM)
*
* #... | [
"marco.oliva@tum.de"
] | marco.oliva@tum.de |
348c7c9ab7d34df0ead8521d686564d274f8b844 | 775d485029b2250947cbf0b314467e3c9c70ba86 | /src/connectivity/bluetooth/core/bt-host/sco/sco_connection_manager.cc | 33b491954c115ac976c9144f6108323547fd1044 | [
"BSD-2-Clause"
] | permissive | yueyedeai/fuchsia | c8c2ad54dcf91842832ddd6bdfe19d6bfe587be2 | cbb6c89423ba2f8ac76300834796d15b13a98f40 | refs/heads/master | 2023-06-19T18:39:46.045730 | 2021-07-15T22:45:50 | 2021-07-15T22:45:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,217 | cc | // Copyright 2020 The Fuchsia 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 "sco_connection_manager.h"
#include "lib/async/default.h"
namespace bt::sco {
namespace {
hci::SynchronousConnectionParameters ConnectionParame... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
5dfacb4a9bd3952f476dd8f6e43a77500139ee45 | 5f941e7b0d4d43b49550eafcc2c24af0af8f754f | /softswitch/sems-1.6.0/apps/sbc/call_control/ts/ss_ts/KFPC_CallAlarmMgr.cpp | 9afa1f81898616fcfbd01f790d57b10ccaa0c42e | [] | no_license | leegoex/yxcti | d072b04c10e0ccb4f646b8519d5702d259c0735e | 051bbb28b060996cdf70ad2ef3e4d6a8653c888a | refs/heads/master | 2021-01-19T04:48:03.737334 | 2017-04-28T01:54:18 | 2017-04-28T01:54:18 | 87,395,760 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,140 | cpp | #include "KFPC_CallAlarmMgr.h"
#include "KFPC_ContactCenterPublicDef.h"
#include "kfpc_api.h"
#include "KFPC_DBTaskInsertCallAlarm.h"
#include "kfpc_linuxwinapi.h"
#include "KFPC_TServerConfigFile.h"
#include "KFPC_DBThreadPool.h"
KFPC_CallAlarmMgr::KFPC_CallAlarmMgr(void)
{
m_IVRAlarmSN = 0;
m_IVRAlarmCount = 0;
m... | [
"leegoex@gmail.com"
] | leegoex@gmail.com |
d34e5295cc36dd9a93b8fbc526c9259e5725bf72 | 711e5c8b643dd2a93fbcbada982d7ad489fb0169 | /XPSP1/NT/admin/wmi/wbem/winmgmt/provsubsys/decoupledadaptor/include/wqlnode.h | e252381c07dfb2af96a39d0b60773c8f2ef9274e | [] | no_license | aurantst/windows-XP-SP1 | 629a7763c082fd04d3b881e0d32a1cfbd523b5ce | d521b6360fcff4294ae6c5651c539f1b9a6cbb49 | refs/heads/master | 2023-03-21T01:08:39.870106 | 2020-09-28T08:10:11 | 2020-09-28T08:10:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,282 | h | /*++
Copyright (C) 1997-2001 Microsoft Corporation
Module Name:
WQLNODE.H
Abstract:
WMI SQL Parse Node Definitions
History:
raymcc 29-Sep-97 Created
--*/
#ifndef _WQLNODE_H_
#define _WQLNODE_H_
#define WQL_FLAG_ALIAS 0x1
#define WQL_FLAG_TABLE 0x2
... | [
"112426112@qq.com"
] | 112426112@qq.com |
d194aace7c651320fa88062d4175e37ea5351af8 | 4a9a13e8a0d854c1cf54ec396966bf0fc087c6a7 | /main.cpp | 47ff535cac52d2d64ca9f06797d32c9ce4bdb73e | [] | no_license | JesseBusman/Filemass | 592452ffbc418fa945651e4f417bcb57514f03d2 | 9cbde78b72cc359a2318049daa89777423c91835 | refs/heads/master | 2023-01-16T04:31:22.443925 | 2020-11-26T16:36:18 | 2020-11-26T16:36:18 | 270,271,920 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,302 | cpp | #include <string>
#include <vector>
#include <iostream>
#include <map>
#include <optional>
#include <filesystem>
#include <sstream>
#include <fstream>
#include <cctype>
#include <locale>
#include <array>
#include <memory>
#include <magic.h>
#include "sqlite3.h"
#include "util.h"
#include "sha256.h"
#i... | [
"jesse@jesbus.com"
] | jesse@jesbus.com |
85158da4e6593230745ad64c3061b152aed50227 | 6463ff2b057ca5f7ed1efa6ca3d24f484c797425 | /testTheta/PointXY.cpp | 77da2f4463b001613e43180f42cff0deb6a4472d | [] | no_license | xdrond/practiseEdu1CartesianRobot | 5a4dc9e34ff36303f31c632228beb65032b1946e | 1bbaece4d006280039bb33de72af9209a3ab592a | refs/heads/master | 2021-10-08T16:40:23.800226 | 2018-12-14T20:24:00 | 2018-12-14T20:24:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,105 | cpp | // PointXY.cpp
#pragma once
#include "pch.h"
#include "PointXY.h"
#define _USE_MATH_DEFINES
#include <math.h>
#include <iostream>
using std::cout;
PointXYClass::PointXYClass(int x, int y) {
_x = x;
_y = y;
}
PointXYClass & PointXYClass::operator=(const PointXYClass & orig) {
if (this == &orig)
ret... | [
"xdrond@gmail.com"
] | xdrond@gmail.com |
a5feec3ad4548a04efa1814c26f8ac9566e82ea8 | df1c03a7db6889f20226bbeebe7f29ea7ba92d8a | /final-exceed/final-exceed.ino | 66505e7c937d48a19e25733b2e97ff741a31397d | [] | no_license | komkanit/eXceed13-final | 9e6a113e923371d3f0b977163ae7859e3d5ef4f7 | 684e1bec8f32cd84bc69cb147790ee3bbff14282 | refs/heads/master | 2023-06-29T05:10:23.376942 | 2016-08-08T07:27:15 | 2016-08-08T07:27:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,926 | ino | #include <pt.h>
#include <LiquidCrystal.h>
#define PT_DELAY(pt, ms, ts) \
ts = millis(); \
PT_WAIT_WHILE(pt, millis()-ts < (ms));
#define SMOKE A0
#define SOUND A1
#define TEMP A2
#define GAS A4
#define BUZZER 10
#define BTN 2
#define LIGHT 13
struct pt pt_taskSmoke;
struct pt pt_taskSound;
struct pt pt_taskG... | [
"kom.sujautra@gmail.com"
] | kom.sujautra@gmail.com |
5e65c2cdb4ccead7c70f4cf2d4fc793019a26155 | 33fd5786ddde55a705d74ce2ce909017e2535065 | /build/iOS/Debug/include/Fuse.WebSocket.Native-505d0c55.h | 019312ccaf78df01ced33dcf8008b0a70ae77372 | [] | no_license | frpaulas/iphodfuse | 04cee30add8b50ea134eb5a83e355dce886a5d5a | e8886638c4466b3b0c6299da24156d4ee81c9112 | refs/heads/master | 2021-01-23T00:48:31.195577 | 2017-06-01T12:33:13 | 2017-06-01T12:33:13 | 92,842,106 | 3 | 3 | null | 2017-05-30T17:43:28 | 2017-05-30T14:33:26 | C++ | UTF-8 | C++ | false | false | 1,602 | h | // This file was generated based on '../../../../Library/Application Support/Fusetools/Packages/Fuse.WebSockets/1.0.2/$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Scripting.IModuleProvider.h>
#include <Fuse.Scripting.NativeModule.h>
#include <Uno.IDisposable.h>
... | [
"frpaulas@gmail.com"
] | frpaulas@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.