blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
20d323ff9fa25cef89c65f67e3514a0c6eb7241f | e96656f1032e7ba7e23693f010e74b4da90a48ca | /C++/Arrays/Check if given points form a square.cpp | 692dcd6a4462194847e536eb5b532288fe27aaaa | [] | no_license | SelvaBalasubramanian/GeeksForGeeks | 1d1c7f32cdff62e380020fd9ec84d6eb9dbc3180 | 13f28ad42b03befc4aa5840761b9f14969bf127a | refs/heads/master | 2020-03-16T17:45:47.663647 | 2019-08-21T06:20:14 | 2019-08-21T06:20:14 | 132,846,083 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 516 | cpp | #include<iostream>
using namespace std;
typedef struct{
int x;
int y;
}point;
int dist(point a, point b){
return (a.x - b.x) * (a.x - b.x) + (a.y - b.y) * (a.y - b.y);
}
int main(){
point a = {1,2}, b = {1,0} ,c = {3,0} , d = {3,2};
int d1 = dist(a,b);
int d2 = dist(a,c);
int d3 = dist(a,d);
if(d1 == d2 ... | [
"selva6101996@gmail.com"
] | selva6101996@gmail.com |
4371c7019c44ae841b57ded1cdf79c104c591b2e | ac4d0f3e861d2c042fe2c350603958134a8dd400 | /Dx11.Luna/ShapesApp.cpp | 1520a12f5a702610890c985375d17ac523f526be | [] | no_license | AndreaFloro/Dx11.Luna | c896263938d3550a1f13a61c1994635b5954a485 | d7a864b8bb0043d87269dd931cc72996df44d973 | refs/heads/master | 2021-01-13T00:30:34.888649 | 2017-01-30T21:32:53 | 2017-01-30T21:32:53 | 81,385,632 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,303 | cpp |
#include "ShapesApp.h"
using namespace DirectX;
ShapesApp::ShapesApp(HINSTANCE hInstance)
: D3DApp(hInstance), mVB(0), mIB(0), mFX(0), mTech(0),
mfxWorldViewProj(0), mInputLayout(0), mWireframeRS(0),
mTheta(1.5f*MathHelper::Pi), mPhi(0.1f*MathHelper::Pi), mRadius(15.0f)
{
mMainWndCaption = L"Shapes Demo";
mLas... | [
"andreafloro@outlook.it"
] | andreafloro@outlook.it |
55bf12b30af90918a2f98baac765f4b76b742aeb | bab49a0d302432317033a70e06870d18513ad72e | /includes/interface/Interface.h | f71b39af3a0eca68476ba05776699647ebace020 | [] | no_license | hamaliao/SimulationStack | 296eeb42f2c3f825badf18193ea54b54f3edee42 | e48b545de278857c2aaab9d0876ddd239c30a253 | refs/heads/master | 2020-03-18T23:26:57.925652 | 2018-06-02T22:49:39 | 2018-06-02T22:49:39 | 135,403,475 | 0 | 0 | null | 2018-06-03T10:18:53 | 2018-05-30T07:14:49 | C++ | UTF-8 | C++ | false | false | 677 | h | #pragma once
#include <memory>
#include "Protocol.h"
using SharedPtrType = std::shared_ptr<Protocol>;
class Interface
{
protected:
std::vector<SharedPtrType> protocolStack;
public:
Interface() = default;
bool sendData(Packet &userData) const;
bool receiveData(Packet &userData) const;
};
bool Interface::sendDat... | [
"liaowei1010@126.com"
] | liaowei1010@126.com |
1d724a8b14c69c9a03e870a96990d05eccaf9e51 | 189f52bf5454e724d5acc97a2fa000ea54d0e102 | /ras/fluidisedBed/1.23/p | e28342be37846156550e8201016d0cfcbb997683 | [] | no_license | pyotr777/openfoam_samples | 5399721dd2ef57545ffce68215d09c49ebfe749d | 79c70ac5795decff086dd16637d2d063fde6ed0d | refs/heads/master | 2021-01-12T16:52:18.126648 | 2016-11-05T08:30:29 | 2016-11-05T08:30:29 | 71,456,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 46,370 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1606+ |
... | [
"peterbryz@yahoo.com"
] | peterbryz@yahoo.com | |
c48e62edba456a4449877b3c42f747c41cc5ca20 | 4474ebbb934a1ab14cff3700c569281d942fb45d | /ofApp.cpp | 0bd999723817c2e9992662f6332e3e370f003199 | [] | no_license | junkiyoshi/Insta20190204 | 24b6fb657e8bb5f861de53e4968c68c0e4d25f34 | a05457832b96ede92aaff6f8b5cee23bba7bde66 | refs/heads/master | 2020-04-20T19:31:29.181028 | 2019-02-04T09:04:01 | 2019-02-04T09:04:01 | 169,051,667 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,135 | cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup() {
ofSetFrameRate(60);
ofSetWindowTitle("openframeworks");
ofBackground(39);
ofEnableDepthTest();
ofSetLineWidth(2);
}
//--------------------------------------------------------------
void ofApp::update() {
... | [
"nakauchi.k@g-hits.co.jp"
] | nakauchi.k@g-hits.co.jp |
9ef3cf59f79fe4b4c577bef0cd6eda99c86a80f6 | ce169f02601eb3e5542669a4e6b6154bee32a7e6 | /chap8/10132.cc | 663331f904ae23e93d67d124654b522d58147009 | [] | no_license | nanAdair/aoapc | 6b738708c87b4c0d8ad842febb69be2e92b4e319 | 18eed04e82769e3545e9203df8115e1d232de5d5 | refs/heads/master | 2020-05-17T16:30:10.013779 | 2014-12-24T08:08:24 | 2014-12-24T08:08:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,168 | cc | /* Title: 10132
* 考察点:用最短的和最长的构成串,然后去验证每一个字符串是否能找到另一半*/
#include <iostream>
#include <string>
#include <vector>
#include <map>
#include <algorithm>
using namespace std;
void init(map<string, int> &m, const vector<string> &snippets);
bool comp(const string &s1, const string &s2);
bool is_res(map<string, int> &m, const... | [
"wangbn15@gmail.com"
] | wangbn15@gmail.com |
119ac6eed4d62133dd1ef4d2484f4f8509649d3c | 11193416fbc536f22ee70bb44d8303d86df055b0 | /Restaurant/Rest/Load.h | 00ed62b7277bdc06809cb491ca3e2a90fba3828a | [] | no_license | MoemenGaafar/Restaurant-Simulator | 69cf136a519e53461a128097ade0f0f60c35921c | 43776a10167eef18eed9fc7884ae6f1e54211861 | refs/heads/master | 2022-05-07T23:41:32.581349 | 2020-04-24T02:18:18 | 2020-04-24T02:18:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 754 | h | #ifndef LOAD
#define LOAD
#include <string>
#include <iostream>
#include <fstream>
using namespace std;
class Restaurant; //Forward class declaration
class Load
{
//Load class loads the events, cooks, and information
//from a text file entered by the user to an owner Restaurant object.
public:
Load(Restaura... | [
"s-alaaalagami@zewailcity.edu.eg"
] | s-alaaalagami@zewailcity.edu.eg |
88cd7b41ed73c57bdedb36b6d1d43e9779e656fc | 872ee143626405cc285aa99066f968aae1cd551f | /野田 悠介/ソース/SRC/MeshLei/meshLei.cpp | 5f21d0749dfcdcf0e5b2515d6c07c182b9101b31 | [] | no_license | NodaYusuke/- | 67bc9b21c4333ea3a7689028c69a437187f98d3c | bc75c124f534306f42c671a6bc6d77459624ff46 | refs/heads/master | 2022-10-15T15:49:26.521881 | 2020-06-12T03:18:31 | 2020-06-12T03:18:31 | 271,691,539 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,065 | cpp | #include"meshLei.h"
C_MeshLei::C_MeshLei()
{
}
C_MeshLei::~C_MeshLei()
{
}
//メッシュのレイ判定を行う関数======================================================================
//LPD3DXMESH lpMesh; /*メッシュの形状*/
//D3DXMATRIX meshMat;/*メッシュの行列*/
//D3DXVECTOR3 nowPos;/*現在の位置*/
//D3DXMATRIX rotMat;/*発射位置の回転行列*/
//D3DXVECTOR3 vec; /*... | [
"kd1227649@st.kobedenshi.ac.jp"
] | kd1227649@st.kobedenshi.ac.jp |
e1c196971800411b924564170f0d31263bf89ae7 | fa3050f5e5ee850ba39ccb602804c001d9b4dede | /ash/webui/shimless_rma/backend/shimless_rma_service.h | defc8c9b3b165d52f58973c49e5c176c06ed5a00 | [
"BSD-3-Clause"
] | permissive | wayou/chromium | a64c9df7d9c6190f8f9f730e7f68a998ffcabfc9 | f5f51fc460df28cef915df71b4161aaa6b668004 | refs/heads/main | 2023-06-27T18:09:41.425496 | 2021-09-08T23:02:28 | 2021-09-08T23:02:28 | 404,525,907 | 1 | 0 | BSD-3-Clause | 2021-09-08T23:38:08 | 2021-09-08T23:38:08 | null | UTF-8 | C++ | false | false | 7,454 | h | // Copyright 2021 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 ASH_WEBUI_SHIMLESS_RMA_BACKEND_SHIMLESS_RMA_SERVICE_H_
#define ASH_WEBUI_SHIMLESS_RMA_BACKEND_SHIMLESS_RMA_SERVICE_H_
#include <string>
#include... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
0e5ae6a14ae350dde102f7cb33f7e04f769367c6 | 3a4c99444cdc438c794a661890fb99e39bababbe | /inc/vk_mem_alloc.h | d0ce578868fe1b4e121cdd4c1340885821a43378 | [] | no_license | JackErb/wayward-vulkan-engine | e25689e7cbceea829ab959b0131310ca4ae5e28c | 708c7240cd3a852286120910d56d0c0543ac820b | refs/heads/main | 2023-07-17T07:22:01.294812 | 2021-09-02T02:51:19 | 2021-09-02T02:51:19 | 378,731,260 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 315,335 | h | //
// Copyright (c) 2017-2018 Advanced Micro Devices, Inc. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rig... | [
"jackerb@Jacks-MacBook-Pro.local"
] | jackerb@Jacks-MacBook-Pro.local |
924a95ef78ecf474f30d02f02c9082b5719ce13f | 2098c74a59133c985e10f57a901bc5839a6d1333 | /Source/XrGame/CarWeapon.cpp | 672daeb379208c7812519e1cc5ccc517da67484b | [] | no_license | ChuniMuni/XRayEngine | 28672b4c5939e95c6dfb24c9514041dd25cfa306 | cdb13c23552fd86409b6e4e2925ac78064ee8739 | refs/heads/master | 2023-04-02T01:04:01.134317 | 2021-04-10T07:44:41 | 2021-04-10T07:44:41 | 266,738,168 | 1 | 0 | null | 2021-04-10T07:44:41 | 2020-05-25T09:27:11 | C++ | UTF-8 | C++ | false | false | 7,892 | cpp | #include "stdafx.h"
#include "CarWeapon.h"
#include "../xrphysics/PhysicsShell.h"
#include "PhysicsShellHolder.h"
//#include "Kinematics.h"
#include "Kinematics.h"
#include "object_broker.h"
#include "ai_sounds.h"
#include "weaponAmmo.h"
#include "xr_level_controller.h"
#include "game_object_space.h"
void CCarWeapon::... | [
"i-sobolevskiy@mail.ru"
] | i-sobolevskiy@mail.ru |
5cab0b4c1e72162147803a8e31e55f0fff80508d | 720fde4499c86b45e651fdba0b9db1280d0ee935 | /src/ui_interface.h | 58c9f4fd8e591430a148e8e488d4df88d325a380 | [
"MIT"
] | permissive | wolfxpack/wolf | 171760e94c2fd2a2e0f7de940f656a756145c7a9 | 47b57381dc93bfb150be76cc6d288daffd1c37e6 | refs/heads/master | 2020-04-21T17:30:14.399335 | 2019-02-25T01:03:50 | 2019-02-25T01:03:50 | 169,737,526 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,964 | h | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2012-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef WOLF_UI_INTERFACE_H
#define WOLF_UI_INTERFACE_H
#include <stdint.h>
#include ... | [
"eledger102@gmail.com"
] | eledger102@gmail.com |
b78970e629e0c1ca210ae8b2504227193c7b2469 | 6e5c8cbbf6706851dabb02e7cc5efbff35c0adfc | /PopeShader11_04/ColorShader.cpp | d61df7f9a0ccdf61d96d8dbfcb08e88289c5dc6c | [] | no_license | BrianLee-SKorea/SchoolProject | 911a09b4e8c55b1d2a568fe2bca0f32f61f3092c | 91b11c50a01f07b924ee0e893e5f3c76f6857866 | refs/heads/master | 2023-03-05T09:06:59.594006 | 2021-02-14T11:07:09 | 2021-02-14T11:07:09 | 338,541,453 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,174 | cpp | #include "ColorShader.h"
ColorShader::ColorShader()
{
}
ColorShader::~ColorShader()
{
CleanUp();
}
bool ColorShader::Init( ID3D11Device * pDevice )
{
if( nullptr == pDevice )
return false;
ShaderParam vparam;
vparam.filename = L"ColorShader.fx";
vparam.entry = "vs_main";
vparam.model = "vs_5_0";
m_pVS = ne... | [
"78999731+BrianLee-SKorea@users.noreply.github.com"
] | 78999731+BrianLee-SKorea@users.noreply.github.com |
88ab17ce89c924ca48706ea3e5acd02216230a42 | 74b6018e594e5cba71d3e26ef70884c92abde0c0 | /mmCoreAndDevices/DeviceAdapters/ASITiger/ASICRISP.h | 90e38617a5e5acc0a8137670ecd991f696faa152 | [
"BSD-3-Clause"
] | permissive | lwxGitHub123/micro-manager | 4b5caec8f25de2b7a9e92e7883eecc026fdc08b9 | a945fdf550ba880744b5b3695fa2c559505f735b | refs/heads/main | 2023-06-24T13:00:29.082165 | 2021-07-29T07:24:13 | 2021-07-29T07:24:13 | 382,203,845 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,133 | h | ///////////////////////////////////////////////////////////////////////////////
// FILE: ASICRISP.h
// PROJECT: Micro-Manager
// SUBSYSTEM: DeviceAdapters
//-----------------------------------------------------------------------------
// DESCRIPTION: ASI CRISP autofocus device adapter
//
// COPYRIG... | [
"test@test.com"
] | test@test.com |
1b4938d9ea30dd37d895541cf53fd34622a5c886 | 06c2a221d060076e2f30d4e602a98c2c435dc0bb | /src/Components_Web/PowerSensorV3_Web.h | 505b2e6bd1b67add455a542f95a55028664e347d | [] | no_license | vinistig/Gbox420 | 4804b109fa46f06bb82d7cde485d360de33f013a | beb5f95b912aeb077c5a1d81bcfe7484ab8d99a0 | refs/heads/master | 2022-06-23T14:25:16.367011 | 2020-05-05T13:11:17 | 2020-05-05T13:11:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 898 | h | #pragma once
#define PZEM004_NO_SWSERIAL ///Singals to the PZEM004Tv30 module to use HardwareSerial instead of SoftwareSerial
#include "PZEM004Tv30.h" ///3rd party module for the PZEM004T V3.0 power sensor
#include "420Common_Web.h"
#include "420Module_Web.h"
#include "../Components/PowerSensorV3.h"
///PZEM004T v3... | [
"growboxguy@gmail.com"
] | growboxguy@gmail.com |
529efeee5aee92bf681459ee024bd3cff7058386 | 95d3344ea7e047b3e6b52a03a27cf277aef137e4 | /Modules/pblib/pblib_pb2cnf.hpp | 93993ae6d2d853ec21d7c9515fef0dc944cef0e7 | [
"MIT"
] | permissive | rjungbeck/pypblib | 75a07fa07bacb948092d0a67d75bf2851b50e4ff | dc0c740e4785da889d18d6ee1e37cb5237407b37 | refs/heads/master | 2023-03-04T12:10:13.777835 | 2023-03-02T11:17:26 | 2023-03-02T11:17:26 | 227,091,944 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 577 | hpp | /*
* PyPB pb2cnf bindings
*/
#ifndef _PBLIB_PB2CNF_HPP_
#define _PBLIB_PB2CNF_HPP_
#include <Python.h>
#include <pb2cnf.h>
#ifdef __cplusplus
extern "C" {
#endif
//Name used as refrence within Python
#define PyPb2cnf_NAME "Pb2cnf"
extern PyTypeObject PyPb2cnf_Type;
typedef struct {
PyObject_HEAD;
PB2CNF... | [
"ruediger.jungbeck@rsj.de"
] | ruediger.jungbeck@rsj.de |
6b81b7ea919253b33ecec9cb5cc023b67cda12e1 | f56e0806111f134b94eb46370e32d6d01ffd102c | /codechef/june2017_cloning.cpp | 4d75dcdae6f6ebb68ab1196e8ffd9fabe8bcbf75 | [] | no_license | ajayhegde96/Competitive-Coding | 9b679d64cae302761d849308fb8499bd96e5debf | ab922c30a472133f508b3cfa111c02a46d526e8c | refs/heads/master | 2021-03-22T00:12:36.806227 | 2017-09-29T15:58:14 | 2017-09-29T15:58:14 | 83,832,623 | 0 | 4 | null | 2018-10-05T07:48:30 | 2017-03-03T19:14:57 | C++ | UTF-8 | C++ | false | false | 854 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin>>t;
while(t--){
int n,q;
cin>>n>>q;
int A[n];
for(int i=0;i<n;i++)
cin>>A[i];
while(q--){
int a,b,c,d,k=0,k1=0;
cin>>a>>b>>c>>d;
a=a-1;
b=b... | [
"ajayhegde97@gmail.com"
] | ajayhegde97@gmail.com |
1dcab5750dd15e6403b57be03da0cda562d00371 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_repos_function_6402_git-2.14.0.cpp | dbb3a79a7ed2694f80495ef6989e6c203099bc7b | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 416 | cpp | static void rollback_packed_refs(struct files_ref_store *refs)
{
struct packed_ref_cache *packed_ref_cache =
get_packed_ref_cache(refs);
files_assert_main_repository(refs, "rollback_packed_refs");
if (!is_lock_file_locked(&refs->packed_refs_lock))
die("BUG: packed-refs not locked");
rollback_lock_file(&refs->... | [
"993273596@qq.com"
] | 993273596@qq.com |
ab7567d802afff8498924473e3ef267fc9537bc1 | 153684ec04d15fb9ca5ab4438fcca4dea1a22dc4 | /ACL/src/Transport/PostConnectSynchronizer.cpp | 41b38cfe800a3fd24d53f7aee0b5133c76260313 | [
"Apache-2.0"
] | permissive | nacichan/avs-device-sdk | c7cfeb43bf98d02c6da63d31ef0488f2cd9c8d7d | dbf4374cd1bb8c21282c1b4baa447de40c8949b5 | refs/heads/master | 2021-07-16T03:03:08.376150 | 2017-10-19T21:32:58 | 2017-10-19T21:32:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,716 | cpp | /*
* PostConnectSynchronizer.cpp
*
* Copyright 2016-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazo... | [
"rozenbf@amazon.com"
] | rozenbf@amazon.com |
b1ca81b063bf9c1f3a9ea492ba8bdf51ad9eaaac | ea6d2b821bcb90232cceb36f15abf37f82e7a2ad | /NewAlbumModel.hpp | 9173379905ebee713827eabc5b499f884a732d60 | [
"BSD-3-Clause"
] | permissive | Tronil/CarSpot | f0fc945a936b4fd83ffe21b077690a2a01ee1830 | 911a43ef310263ecb4be2faff401ec31c8e1f250 | refs/heads/master | 2020-06-11T19:12:25.989266 | 2012-11-14T16:35:15 | 2012-11-14T16:35:15 | 6,352,930 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,990 | hpp | /****************************************************************************
**
** Copyright (c) 2012 Troels Nilsson.
** All rights reserved.
** Contact: nilsson.troels@gmail.com
**
** This file is part of the CarSpot project.
**
** Redistribution and use in source and binary forms, with or without
** modification, a... | [
"nilsson.troels@gmail.com"
] | nilsson.troels@gmail.com |
c4afdd94d3efa1f3cb22c58cf985857b71c40ca6 | 2e5c75f3a893ae04b5054cecb73dbe929c8cd7c8 | /src/burntool/BurnToolView.h | ffb28bd7f0b4ac0c6049732a30bfa5dba78e43e6 | [] | no_license | amartol/videorec | 385192b1aca0acc42c24c700b93f4b0bc28a483f | a0b2372b27552c6326218799668d773f175cda6b | refs/heads/master | 2022-12-05T01:09:31.291281 | 2020-08-25T08:39:26 | 2020-08-25T08:39:26 | 72,375,362 | 5 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,544 | h | // BurnToolView.h : interface of the CBurnToolView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_BURNTOOLVIEW_H__1B1828DC_A39B_455F_87A0_FEE50D8A9362__INCLUDED_)
#define AFX_BURNTOOLVIEW_H__1B1828DC_A39B_455F_87A0_FEE50D8A9362__INCLUDED_
#if _MSC_VER > ... | [
"li.bin@lamobo.org"
] | li.bin@lamobo.org |
c3ba160e3865c3b3120e6f4b0a32e2ee97cb5bc7 | 41448ed071f23d6dbe6c5cdb67952fc4eb3d78ca | /src/Lights/PointLight.h | 615842a70d07eca6cb0b9ad36d3003dcdee60f4c | [] | no_license | janisozaur/foto-results | 2c4ec433bf5654aa7a4eb581622f61317efeafc7 | 5363c4805e5a09840cd64726eff21faa72547589 | refs/heads/master | 2020-03-27T03:41:27.780006 | 2012-05-22T11:01:41 | 2012-05-22T11:01:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 879 | h | #ifndef POINTLIGHT_H
#define POINTLIGHT_H
#include "AmbientLight.h"
class Scene;
class PointLight : public AmbientLight
{
public:
PointLight();
/**
Constructs point light with given position, color and attenuation parameters
*/
PointLight(Vector3 position, Color color, Vector3 attenuation);
... | [
"janisozaur@gmail.com"
] | janisozaur@gmail.com |
a8edafa3c0a1d47ef8ec9696299e2660dcd2f83c | 3c1b9ef66e71779404154b6686c8c5caa1360fe4 | /pid.cpp | 595b8551cbf850e2f4e0e08b26354d17d8b2c36a | [] | no_license | dg-shadow/arduino_sea_control | 99fd6eb2ba9a2bb7c0c46aadd3f3b279b49cec2b | 66a2029070caca547e6185bc0aa0a406e9df1c36 | refs/heads/master | 2021-01-10T21:20:56.264103 | 2013-01-23T17:37:35 | 2013-01-23T17:37:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,122 | cpp | #define D_SMOOTHING 3
int p_array[D_SMOOTHING];
int d_pointer = 0;
int get_next_d_pointer ( int current_d_pointer )
{
return (current_d_pointer + 1) % D_SMOOTHING;
}
void init(void)
{
for (int x = 0; x < D_SMOOTHING; x++)
p_array[x] = 0;
}
int get_force_demand(int position, int target, int s... | [
"dg@shadowrobot.com"
] | dg@shadowrobot.com |
e513d187e97946c2b95258964b631ffb2ba3bfd8 | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/tflite/src/tensorflow/compiler/tf2xla/kernels/shape_op.cc | 60b1f5eea3a53b18bc49c26ac178f2c34d7894f8 | [
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 16,829 | cc | /* Copyright 2017 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... | [
"jengelh@inai.de"
] | jengelh@inai.de |
eb6ea1ad45d6d1e1afe8c49a5ff4b81fbc52860e | 66263a415339473ad1f4f9e32cc102b9d23fdc37 | /CodeChef/Feb Lunchtime 2021/Sed_Max.cpp | 65298588a98cf810f11cd9496396f241dcd25657 | [] | no_license | leetcode-notes/Competitive-Programming-2 | b08b3e4dd437e2d146cb90522713821a4852a5fe | c0efb523340d09a901c53b33b40875d102108768 | refs/heads/master | 2023-04-03T22:31:13.628879 | 2021-04-19T13:34:11 | 2021-04-19T13:34:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,273 | cpp |
//------------------------------------------------------------------------------
#include <iostream>
#include <vector>
// #include <bits/stdc++.h>
// #include <cmath>
// #include <algorithm>
// #include <unordered_map>
// #include <map>
// #include <set>
#include <unordered_set>
#include <stack>
//--------------------... | [
"dhruvpasricha0002@gmail.com"
] | dhruvpasricha0002@gmail.com |
e2c589a9236689f99b6e02fddc258edfe4cae772 | c9cd39d5d477028967adbdb890a0f965c6f0d312 | /Samuel/pointlights/Experiment folder/pointlightsLightHouse/pointlightsLightHouse.ino | f16bb4df88ac27e4f92760bf1c869708de99d14b | [] | no_license | ivarlundin/M2-interactivity | d66a7763c3b01e52861919825a7778341b2b16b0 | 6881996da07afb5033604540eb0aee7bfd04ef82 | refs/heads/master | 2023-01-05T22:51:44.560587 | 2020-10-08T12:30:40 | 2020-10-08T12:30:40 | 297,627,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,315 | ino | enum ledStates {INCREASE, DECREASE, STAY, WAVE, OFF, ON}; // Here we make nicknames for the different states our program supports.
enum ledStates ledState; // We define 'ledState' as type ledStates'
enum ledStates previousLedState = ledState;
unsigned long startMillis; //some global variables available anywhere in th... | [
"60586489+CaptainSamSE@users.noreply.github.com"
] | 60586489+CaptainSamSE@users.noreply.github.com |
ff37d1c80744502bc614a28bcbccb275f6652fad | ec68c973b7cd3821dd70ed6787497a0f808e18e1 | /Cpp/SDK/CreditsFL_functions.cpp | 3c2f101bb105ac0b22fe77e5591d6a2add80aa54 | [] | no_license | Hengle/zRemnant-SDK | 05be5801567a8cf67e8b03c50010f590d4e2599d | be2d99fb54f44a09ca52abc5f898e665964a24cb | refs/heads/main | 2023-07-16T04:44:43.113226 | 2021-08-27T14:26:40 | 2021-08-27T14:26:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,970 | cpp | // Name: Remnant, Version: 1.0
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//----------------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
0affb6194b8051aaffa131b032d66b659fbeb521 | 6d54a7b26d0eb82152a549a6a9dfde656687752c | /src/lib/dnssd/MinimalMdnsServer.cpp | 2fbe9fd7e6776b112b3e29814c40838682c2fec9 | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | project-chip/connectedhomeip | 81a123d675cf527773f70047d1ed1c43be5ffe6d | ea3970a7f11cd227ac55917edaa835a2a9bc4fc8 | refs/heads/master | 2023-09-01T11:43:37.546040 | 2023-09-01T08:01:32 | 2023-09-01T08:01:32 | 244,694,174 | 6,409 | 1,789 | Apache-2.0 | 2023-09-14T20:56:31 | 2020-03-03T17:05:10 | C++ | UTF-8 | C++ | false | false | 2,178 | cpp | /*
*
* Copyright (c) 2021 Project CHIP Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | [
"noreply@github.com"
] | noreply@github.com |
9c460145956ebc6bde0991676cc69312f78576a6 | 68df74deb602f3f1ab270777e615796f10caeaa5 | /5/5_11.cpp | 304d0a703bae7b34ae5791d073168c60821188fd | [] | no_license | nanohaikaros/cpp_learn | 88d726f05a22703426a2910184ab8535203f4f91 | 31a96d6666ceed5f12089fd63174d530798c0b16 | refs/heads/master | 2020-05-30T11:32:48.484164 | 2019-06-21T01:28:52 | 2019-06-21T01:28:52 | 189,705,452 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 400 | cpp | #include <iostream>
using namespace std;
int main() {
cout << "Use sizeof of determine memory occupied by arrays" << endl;
int MyNumbers[100] = {0};
cout << "Bytes occupied by an int: " << sizeof(int) << endl;
cout << "Bytes occupied by array MyNumbers: " << sizeof(MyNumbers) << endl;
cout << "Byt... | [
"1371689491@qq.com"
] | 1371689491@qq.com |
6e8d84bc0a3519431a6bf85acaa25947238d461b | 947d8cc7b8c180c765810d48704ffc2d06956841 | /src/plugins/anim/datatypes/polygons.h | 0eb02a48cab7186ee6ba851fcd24e55a7bf641de | [
"MIT"
] | permissive | yangjiang123/possumwood | c82b7a18eabe77aa87f9767336348acf3cf02111 | 91b1844b9fb0e7952a8a9170508ec4c03168b25e | refs/heads/master | 2022-07-01T04:44:35.687225 | 2020-05-10T14:29:22 | 2020-05-10T14:29:22 | 267,554,460 | 1 | 0 | null | 2020-05-28T09:58:17 | 2020-05-28T09:58:16 | null | UTF-8 | C++ | false | false | 690 | h | #pragma once
#include <array>
#include <vector>
namespace anim {
class Polygons {
public:
std::array<std::size_t, 3>& add(std::size_t p1, std::size_t p2, std::size_t p3);
std::array<std::size_t, 3>& operator[](std::size_t index);
const std::array<std::size_t, 3>& operator[](std::size_t index) const;
bool ... | [
"martin.prazak@gmail.com"
] | martin.prazak@gmail.com |
a4d5164dafc5575e34731388972da5bed0af8547 | e3fbad020e213ebcc70164ce278888036a6bbe32 | /traffic-light-mqtt/traffic-light-mqtt.ino | f1fba923d6db0786e4e0f4fdeee38505c51f570d | [] | no_license | cryptocodecg/CG-IoT | 2e04c1cafdad7a2c83907fd0f288688f32a62122 | d126c53f102a7952949f764a340dd830f8c9aa60 | refs/heads/master | 2021-01-24T18:04:30.442387 | 2017-03-20T02:55:34 | 2017-03-20T02:55:34 | 84,385,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,432 | ino | #include <Adafruit_NeoPixel.h>
#include <ESP8266WiFi.h>
#include <PubSubClient.h>
#define PIN 15
#define NUMPIXELS 1
const char* ssid = "procodecg";
const char* password = "12345678";
//const char* mqtt_server = "broker.mqtt-dashboard.com";
//const char* mqtt_server = "192.168.1.118";
const char* mqt... | [
"cryptocodecg@gmail.com"
] | cryptocodecg@gmail.com |
c6840885694630d87ea5429a41f258729a657e7b | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function13760/function13760_schedule_8/function13760_schedule_8_wrapper.cpp | d961a9d1b38eefed3b29772598edbb5f71fa5e3d | [] | 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,255 | cpp | #include "Halide.h"
#include "function13760_schedule_8_wrapper.h"
#include "tiramisu/utils.h"
#include <cstdlib>
#include <iostream>
#include <time.h>
#include <fstream>
#include <chrono>
#define MAX_RAND 200
int main(int, char **){
Halide::Buffer<int32_t> buf00(2048);
Halide::Buffer<int32_t> buf01(3276... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
bcd3644af4e39b9c322950d3cf3284da6d65cf6f | 7332bed7e7d3d5f8123940e2e697938fb1fccf82 | /MFCUI/MFCUIDlg.cpp | a9fa7c06617dcb8432309ef09df099e84f6d05ff | [] | no_license | arnold-xiang/Barcode- | 0c3d25128ed4d1d605d5ef75c0b0b7a187b2005d | eb797840b564c52682e98fb4e9eeb418002d56af | refs/heads/master | 2020-04-25T03:11:10.220556 | 2019-03-04T09:49:51 | 2019-03-04T09:49:51 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 18,863 | cpp |
// MFCUIDlg.cpp : 实现文件
//
#include "stdafx.h"
#include "MFCUI.h"
#include "MFCUIDlg.h"
#include "HalconCpp.h"
#include "afxdialogex.h"
#include <iostream>
using namespace std;
using namespace HalconCpp;
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
//全局变量
int MoRow;
int MoCol;
CTime t1;
HObject ho_Image;
CRect rtWindo... | [
"18162324791@163.com"
] | 18162324791@163.com |
d763e4fb114c00caf13605fb33081df5d5944f19 | 49f1d82f20dd9f46d53a504baf1de5bfd0993e6e | /main.cpp | bfb4cf5562ccb82b78197ef3a9c95ec352a13be1 | [] | no_license | DejanPopovic1/6502Emulator | eacfa0174d9503fedaddf5675f2f842e0b26faef | 2c6d1308581680d24788aeee4cd75482b031ad58 | refs/heads/master | 2023-04-08T10:09:03.191428 | 2021-04-21T20:45:19 | 2021-04-21T20:45:19 | 355,345,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | cpp | #include "Processor.h"
#include "Memory.h"
int main() {
Processor p;
Memory m;
p.connectMemory(&m);
return 0;
}
| [
"dejan.dp.popovic@gmail.com"
] | dejan.dp.popovic@gmail.com |
e002958c39a1c7322312f5e5811764a58b684f99 | f434c4ec57366caa99be48dc49f59393207465c7 | /src/GA.h | 969a248d682d96c4222cebd91e1462aadb2ca89f | [] | no_license | Kajiyu/GATextureSample1 | f39e7c7139196ccee262aa29dfa89fa6eb19248a | 972175da6f666e79a8c6c3cf656bd7349e5f761e | refs/heads/master | 2020-06-29T19:00:07.228419 | 2016-11-21T23:36:02 | 2016-11-21T23:36:02 | 74,414,488 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 592 | h | //
// GA.h
// GATextureSample1
//
// Created by KajiharaYuma on 2016/11/21.
//
//
#pragma once
#include "ofMain.h"
#define SAMPLENUM 10
#define GENENUM 10000
class GA {
public:
float ans[GENENUM];
vector<vector<float>> samples;
float scores[SAMPLENUM];
ofPixels pixels[SAMPLENUM];
float mutation... | [
"kajimars.uts1@gmail.com"
] | kajimars.uts1@gmail.com |
36f6fd272737cdfab56b9d48e93d1619c1af3275 | 9cff3762b21c811386444684924e2f5b3d716d3c | /Classes/binding-mruby/binding-util.h | 68158f5a48c8b165fc992526e278097f35002b3f | [] | no_license | cjv123/RPGR | 8e43f46773dd1db24ccd5d4a2e0d74a738e2e3a6 | c4242009128072427160dae8bbff6007b6147360 | refs/heads/master | 2020-06-01T19:05:40.018546 | 2014-04-28T07:53:46 | 2014-04-28T07:53:46 | 18,788,101 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 9,012 | h | #ifndef BINDINGUTIL_H
#define BINDINGUTIL_H
#include <mruby.h>
#include <mruby/data.h>
#include <mruby/variable.h>
#include <mruby/class.h>
#include <stdio.h>
#include <pthread.h>
#include "viewport.h"
enum CommonSymbol
{
CSpriv_iv = 0, /* private data */
/* From here on out all symbols
* have implicit '@' pref... | [
"cjv123@qq.com"
] | cjv123@qq.com |
69d5fdecaf59507fdefcef729a2f59fe1aa29b35 | ccec956c2ad7c1eced7415a827d4cb88260ef5c9 | /NotePad/Controls/TabClosingEventArgs.h | 92ad0d816af8dd23b8eb39c23a1057c699b47fb6 | [] | no_license | Dylan-H/NotePadUWP | b7a7e33edbec0525abdae053a4e83e61455d5b34 | 0af598f9b6d0982374307ffa648190770d3464e9 | refs/heads/master | 2020-05-30T07:34:18.527504 | 2019-05-31T14:09:44 | 2019-05-31T14:09:44 | 189,601,013 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 831 | h | #pragma once
#include "TabClosingEventArgs.g.h"
namespace winrt::NotePad::implementation
{
struct TabClosingEventArgs : TabClosingEventArgsT<TabClosingEventArgs>
{
TabClosingEventArgs() = delete;
TabClosingEventArgs(Windows::Foundation::IInspectable const& obj, NotePad::TabViewItem const& item) { _... | [
"huangdongdong2008@vip.qq.com"
] | huangdongdong2008@vip.qq.com |
9d61c63bf6d0741eb28dd163371411859be75d16 | c93857ce1fc4b8037b76629e3e37949b9c967ffe | /peopledetect/src/peopledetect.cpp | 6e25e286bc4ed28b784461e75548faadbf03dfc6 | [] | no_license | KUASWoodyLIN/ROS_Opencv_test | de1f8cba73b78a41911986c3337314008b0332ae | dd2bce6bbbd11d7f0a63543a91048a55e8a0413b | refs/heads/master | 2021-01-22T10:37:03.639661 | 2017-04-09T12:10:17 | 2017-04-09T12:10:17 | 82,023,419 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,916 | cpp | #include <opencv2/opencv.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <highgui.h>
#include <stdlib.h>
#include <stdio.h>
#include <opencv2\video\background_segm.hpp>
#include <Windows.h>
using namespace cv;
using namespace std;
/// Global variables
int hist = 0;
int con... | [
"jj7158761@gmail.com"
] | jj7158761@gmail.com |
b3bca7cdaf50b434aaacea58fc878be90e36c6df | ec02c45b6a77c25c55d8dae787e06ab62c170fec | /sbpl-dev/src/utils/utils.cpp | 1b19daa5769d3d46dd441a9dd95591a1cee89a8d | [] | no_license | Beryl-bingqi/footstep_dynamic_planner | 5400d866a74f0ed557dadc9177f18b6ba20cf33f | 99851122d400de0e6ad73f787de0201cb991880e | refs/heads/master | 2020-07-05T05:57:57.885423 | 2013-07-01T14:29:38 | 2013-07-01T14:29:38 | 11,093,592 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,977 | cpp | /*
* Copyright (c) 2008, Maxim Likhachev
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright
* notice, ... | [
"icy397@hotmail.com"
] | icy397@hotmail.com |
47a0ba9f71ffdbb44beb342bf586a5387d5929e3 | 1b7db5fe080a8e878323507f801de0771a1fd04a | /784. Letter Case Permutation.cpp | cbf8de6a8a705bd0894465af939cd96db88f87db | [] | no_license | cybercoderbot/lc | 8a4dc647b310d128559d4bd024f7056b690d1f31 | 1e22dbb81e5e1f61eb4e4a5068e664c50f6ddaa7 | refs/heads/master | 2022-08-29T00:18:45.667808 | 2018-06-05T22:26:10 | 2018-06-05T22:26:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 907 | cpp | /*784. Letter Case Permutation
Given a string s, we can transform every letter individually to be lowercase or uppercase to
create another string. Return a list of all possible strings we could create.
Examples:
Input: s = "a1b2"
Output: ["a1b2", "a1B2", "A1b2", "A1B2"]
Input: s = "3z4"
Output: ["3z4", "3Z4"]
Inpu... | [
"noreply@github.com"
] | noreply@github.com |
708f51f4d7e4ae35b81108f61c8d7eeebd86bbde | b012b15ec5edf8a52ecf3d2f390adc99633dfb82 | /releases/moos-ivp-13.5/ivp/src/uSimCurrent/USC_Info.cpp | 771be07a4d06c6381e50db04c1b84e362479c19e | [] | no_license | crosslore/moos-ivp-aro | cbe697ba3a842961d08b0664f39511720102342b | cf2f1abe0e27ccedd0bbc66e718be950add71d9b | refs/heads/master | 2022-12-06T08:14:18.641803 | 2020-08-18T06:39:14 | 2020-08-18T06:39:14 | 263,586,714 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,777 | cpp | /*****************************************************************/
/* NAME: Michael Benjamin, Henrik Schmidt, and John Leonard */
/* ORGN: Dept of Mechanical Eng / CSAIL, MIT Cambridge MA */
/* FILE: USC_Info.cpp */
/* DATE: Dec 24th 2011 ... | [
"zouxueson@hotmail.com"
] | zouxueson@hotmail.com |
6f5d74acfa1677d30edc6fba0a756f91704eb7a7 | bc9abf538f5d4093324b2f055f0b090fe4b03247 | /c_cpp/etc/mVicuna/src/xny/file_manip.hpp | 6ad90e30d7c3ec0d45d0a1af19465fde2f9771a8 | [] | no_license | galaxysd/GalaxyCodeBases | 3c8900d0c2ca0ed73e9cf4c30630aca4da6cc971 | 58946261bf72afd6a7287e781a2176cdfaddf50e | refs/heads/master | 2023-09-04T04:59:35.348199 | 2023-08-25T01:04:02 | 2023-08-25T01:04:02 | 33,782,566 | 7 | 6 | null | 2020-09-04T06:06:49 | 2015-04-11T16:12:14 | C | UTF-8 | C++ | false | false | 3,914 | hpp | //============================================================================
// Project : XNY
// Name : file_manip.hpp
// Author : Xiao Yang
// Created on : Aug 22, 2011
// Version :
// Copyright :
// Description :
//============================================================================
... | [
"sye737@gmail.com"
] | sye737@gmail.com |
5d73eae99d9db74b00514570bdfc48d211481c12 | dde7366c4d3dfde911b127d37b8e505e98b8a320 | /Sorting and Searching/subarray_sum_1.cpp | e502c964435dee1ae0b9c94126a30b9227369988 | [
"Apache-2.0"
] | permissive | suvidsahay/CSES-Problem-Set | 38f015a7e28156c5cbcfa33289be9dcc59dc65b7 | 6c426ebb6f974f6c6be6e52041ee2df5fe64a9d8 | refs/heads/master | 2022-12-27T09:29:38.515501 | 2020-10-13T08:34:41 | 2020-10-13T08:34:41 | 300,574,931 | 0 | 10 | Apache-2.0 | 2020-10-13T08:34:42 | 2020-10-02T10:09:16 | C++ | UTF-8 | C++ | false | false | 735 | cpp | #include <bits/stdc++.h>
#define int long long
#define MOD 1000000007
using namespace std;
void solve() {
int n, x;
cin >> n >> x;
int a[n];
for(int i = 0; i < n; i++) {
cin >> a[i];
}
vector<int> pre;
pre.push_back(0);
for(int i = 0; i < n; i++) {
pre.push_back(pr... | [
"sahay.suvid61@gmail.com"
] | sahay.suvid61@gmail.com |
e9fd0167464434ccb613cc0ad38857a0426c87d2 | e74855990d076fdc332c8ee9f25fb9763ab78e4b | /Spectra/Quaternion.cpp | d811ab2eec1d909bb6aa0cc3ce51aafb02f49820 | [] | no_license | vcmiller/Spectra | 78d2d383ceaeff71eb824be84a0bb9d7b0508807 | 9f67d09802303a32647139781b2c06b7bb5a5289 | refs/heads/master | 2021-01-24T09:46:04.068153 | 2018-01-24T19:48:18 | 2018-01-24T19:48:18 | 69,525,205 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,495 | cpp | #include "Quaternion.h"
#include "Log.h"
#include "Math.h"
#include "Time.h"
#include "FMath.h"
namespace spectra {
Quaternion::Quaternion(float w, float x, float y, float z) {
quat = glm::quat(w, x, y, z);
}
Quaternion::Quaternion() {
quat = glm::quat();
}
Quaternion::Quaternion(const Quaternion &q) {
qu... | [
"vmiller0725@gmail.com"
] | vmiller0725@gmail.com |
d640a2c46b821edee2546ac4b2e33ade29c380de | f58a2eda38471d3d1a6b99338f6f2bf9119d7a15 | /Basic_problems/small_string_inside_a_bigger_string.cpp | cbf53cb039c848734674f7a273e35783c0d85a7a | [] | no_license | MG11/Coding | 8eb2346939bd06f88a6fc9467703d791c4558589 | fb76f6f836f818dce17fdb9b98eb47f945a8cf9c | refs/heads/master | 2021-01-10T16:58:15.754354 | 2016-02-07T04:13:25 | 2016-02-07T04:13:25 | 48,707,905 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 669 | cpp | /*Write a program to find a small string inside a bigger string. If found, return the starting position.*/
#include <iostream>
#include <cstring>
using namespace std;
int main(){
char a[100],b[100],i=0;
a[i] = cin.get();
while(a[i] != '\n'){
a[++i] = cin.get();
}
a[i] = '\0';
cout<<... | [
"meghagarg1565@gmail.com"
] | meghagarg1565@gmail.com |
fd26f8ee2b28cdcd352a5def1106bfb5ea01cb98 | cb9529ef995a7f4cfa992a4eadd1fba6877970a7 | /Final Code/Lab04/smallSpider.h | 1036cc9493420887ece2045d91c52dfa49e7d21f | [] | no_license | EllenWhelan/CSU44052-Computer-Graphics | f438e5383f8d8f415a9f71f7cdf14ba0367f65cc | 5bd531f116e31f686c96426381845d26f2b14257 | refs/heads/main | 2023-03-07T03:12:33.941399 | 2021-02-24T21:33:36 | 2021-02-24T21:33:36 | 305,643,656 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,664 | h | #pragma region INCLUDES
// Windows includes (For Time, IO, etc.)
#include <windows.h>
#include <mmsystem.h>
#include <iostream>
#include <string>
#include <stdio.h>
#include <math.h>
#include <vector> // STL dynamic memory.
// OpenGL includes
#include <GL/glew.h>
#include <GL/freeglut.h>
// Assimp inclu... | [
"whelane5@tcd.ie"
] | whelane5@tcd.ie |
415efeac2e163014121aef525ef8bdc2a7bcb1d4 | 3f8caee5646880934c729a68ee1ba6c0d27ce082 | /src/filter.cpp | ee517f89d67384a915f64a4a7565087cc3d52bf9 | [] | no_license | AAGrigoriev/Bayan | 36ea69d3379a02ca9dc3d98be5ec43db2a37d1f0 | 706c6eae1ee0256374394c83df054442e04c60e5 | refs/heads/main | 2023-08-24T03:15:23.141053 | 2021-10-18T19:39:26 | 2021-10-18T19:39:26 | 338,801,609 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 845 | cpp | //
// Created by andrei on 22.02.2021.
#include "filter.hpp"
#include <regex>
namespace bayan {
filter_dir::filter_dir(opt_filter&& opt_filter)
: filter_opt_(std::move(opt_filter)) {
for (auto& mask : filter_opt_.mask_to_file) {
filter_mask_.emplace_back(mask);
}
}
bool filter_dir::approach_dir(cons... | [
"grigormaklaud@gmail.com"
] | grigormaklaud@gmail.com |
7305405e3d5b8fc76fd88cf30b2aef2ecd314a62 | 7c5d7fb6a64df1a118a64bdf6087ecf395a3a722 | /data/russia-team-j/sources/114-j-4.cpp | a2e629a5aeeb9687144341a4f8c4b4dfeafec9e2 | [] | no_license | alexhein189/code-plagiarism-detector | e66df71c46cc5043b6825ef76a940b658c0e5015 | 68d21639d4b37bb2c801befe6f7ce0007d7eccc5 | refs/heads/master | 2023-03-18T06:02:45.508614 | 2016-05-04T14:29:57 | 2016-05-04T14:54:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,810 | cpp | #include <iostream>
#include <algorithm>
#include <cmath>
#include <cstring>
#include <string>
#include <vector>
#include <cstdio>
#include <cassert>
#include <ctime>
using namespace std;
typedef long long ll;
typedef long double ld;
#define LLD "%I64d"
#define FILENAME "travel"
struct point
{
... | [
"shk.slava@gmail.com"
] | shk.slava@gmail.com |
04720e10a04f16c6b325d8c2d459e35efa177d2f | 7391feeb5b8e31f982422bdd74517e954d8c955e | /CppUnit/WinTestRunner/src/ProgressBar.h | 99d17cb775a7b95560ea6501eb94760f2d9d7bf5 | [
"BSL-1.0"
] | permissive | AppAnywhere/agent-sdk | 62d762d0424fc2e8d4a98b79fb150e635adedd4d | c5495c4a1d892f2d3bca5b82a7436db7d8adff71 | refs/heads/master | 2021-01-11T15:22:01.406793 | 2016-09-01T16:36:20 | 2016-09-01T16:36:20 | 80,341,203 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,281 | h | //
// ProgressBar.h
//
// $Id: //poco/1.7/CppUnit/WinTestRunner/src/ProgressBar.h#1 $
//
#ifndef ProgressBar_INCLUDED
#define ProgressBar_INCLUDED
#include "CppUnit/CppUnit.h"
#include <afxwin.h>
namespace CppUnit {
/* A Simple ProgressBar for test execution display
*/
class ProgressBar
{
public:
ProgressBar(... | [
"guenter.obiltschnig@appinf.com"
] | guenter.obiltschnig@appinf.com |
9e0e0c520257064c7fca871a7b2c48e9e25ee6d1 | 5ed9877be4f7552e6bd306983e600ac320700633 | /Stack/Maximum-In-K.cc | 2bb2f50277434b7776fe3cdb19aafe9ed6141ce3 | [] | no_license | ashish25-bit/data-structure-algorithms | 8c31c2026a24af32b05460146203a71bfbba20a5 | e5cb0ed09474e4e557db49c214b92969d78d514b | refs/heads/master | 2023-08-23T05:09:10.086580 | 2021-11-08T07:20:20 | 2021-11-08T07:20:20 | 305,376,215 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 828 | cc | // https://practice.geeksforgeeks.org/problems/maximum-of-all-subarrays-of-size-k3101/1#
#include <bits/stdc++.h>
using namespace std;
vector <int> max_of_subarrays(vector<int> arr, int n, int k) {
deque<int> q(k);
vector<int> res;
for (int i=0; i < k; i++) {
while (!q.empty() && arr[i] >= arr[q.back()])
... | [
"ashishyoel23@gmail.com"
] | ashishyoel23@gmail.com |
7c7977c3929d517934943721a40d86f0e17acaf5 | bc6cd18a13992f425bb97406c5c5e7e3b8d8cb03 | /src/utils/kd_tree.h | 5937a8e73e1a3728ae7b1ef1a604b5e2a1332519 | [
"MIT"
] | permissive | collinej/Vulcan | 4ef1e2fc1b383b2b3a9ee59d78dc3c027d4cae24 | fa314bca7011d81b9b83f44edc5a51b617d68261 | refs/heads/master | 2022-09-19T01:59:45.905392 | 2022-09-18T02:41:22 | 2022-09-18T02:41:22 | 186,317,314 | 3 | 3 | NOASSERTION | 2022-04-29T02:06:12 | 2019-05-13T00:04:38 | C++ | UTF-8 | C++ | false | false | 508 | h | /* Copyright (C) 2010-2019, The Regents of The University of Michigan.
All rights reserved.
This software was developed as part of the The Vulcan project in the Intelligent Robotics Lab
under the direction of Benjamin Kuipers, kuipers@umich.edu. Use of this code is governed by an
MIT-style License that can be foun... | [
"collinej@umich.edu"
] | collinej@umich.edu |
96097e1cb4e9e64c1d68e686b77951ba049cb7cc | 6547f14615734ac9239b57a572f7473b7e203f04 | /libmmdpi/vmd/vmd.hpp | 5dd222eb5ad5aa7f82c06508e2e6976d63e335a8 | [
"MIT"
] | permissive | shirobu2400/mmdpi | 93c918e401fa47d7bc5ef20e85b6c67ccebc2377 | 7989d0b37147c5f5de2efd7efacf214cf3869e8e | refs/heads/master | 2023-01-12T00:12:13.957099 | 2022-12-28T08:59:49 | 2022-12-28T08:59:49 | 50,778,540 | 7 | 2 | MIT | 2020-04-13T16:31:34 | 2016-01-31T14:34:27 | Objective-C | UTF-8 | C++ | false | false | 4,872 | hpp |
#include "../model/mmdpi_include.hpp"
#include "../model/mmdpi_bone.hpp"
#include "../model/tools/get_bin.hpp"
#include "../pmx/pmx_struct.hpp"
#include "../pmd/pmd_struct.hpp"
#ifndef __MMDPI__VMD__DEFINES__
#define __MMDPI__VMD__DEFINES__ ( 1 )
#pragma pack( push, 1 ) // アライメント
// 動作
typedef stru... | [
"shirobu_2400kskm@yahoo.co.jp"
] | shirobu_2400kskm@yahoo.co.jp |
9301625a760a932bcf139c3aab1959fed508236a | f33f043b306e91b2bf12cbfe6705aa395f06813d | /YazilimTestiProje/Stock.hpp | 013fec47f4dec5df0cbbb399fafea3f22fefcd14 | [] | no_license | erendgrmnc/SoftwareTestingFinalProject | fc2be0b7047fb133a3162f7362b8a35b36b76b28 | 32e2570c18df5f3ac297c566eb036ac5a200e2ee | refs/heads/master | 2023-05-03T10:08:49.250483 | 2021-05-23T16:02:15 | 2021-05-23T16:02:15 | 370,096,332 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 622 | hpp | #pragma once
#include <string>
#include <iostream>
using namespace std;
namespace StockNameSpace {
class Stock
{
public:
Stock();
Stock(string ID, string Symbol, string Name, float Price);
Stock(string ID, string Symbol, float Price);
~Stock();
string GetID();
void SetID(string ID);
string GetSymbol(... | [
"erendegirmenci.354@gmail.com"
] | erendegirmenci.354@gmail.com |
bcf659694dc6e5e9e929fb4d4e9bc79463d56fa3 | 07a0780a3ca399ac746751efd588e41b544fc573 | /Surface/build-Surface-Desktop_Qt_5_7_0_MinGW_32bit-Debug/ui_mainwindow.h | 2c012eb881a89aeda5f0e2906b7deb4a8b3dce04 | [] | no_license | ljystone/WindProject | fcea6f4936ffc0c1cb51d1a2ea76d561c2d570e4 | 1d229136f77e0ae27eafcb1d173196fa72654c7c | refs/heads/master | 2020-04-09T04:28:22.084325 | 2018-12-02T12:44:37 | 2018-12-02T12:44:37 | 160,024,444 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,561 | h | /********************************************************************************
** Form generated from reading UI file 'mainwindow.ui'
**
** Created by: Qt User Interface Compiler version 5.7.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
****************************************... | [
"1137344859@qq.com"
] | 1137344859@qq.com |
7af54aa4377404282de8e9f76913fa16deda5c49 | 9fad4848e43f4487730185e4f50e05a044f865ab | /src/media/capture/video/linux/video_capture_device_linux.cc | f2a1d1d0a47dd48c3017512e6d44fea07d66836b | [
"BSD-3-Clause"
] | permissive | dummas2008/chromium | d1b30da64f0630823cb97f58ec82825998dbb93e | 82d2e84ce3ed8a00dc26c948219192c3229dfdaa | refs/heads/master | 2020-12-31T07:18:45.026190 | 2016-04-14T03:17:45 | 2016-04-14T03:17:45 | 56,194,439 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,757 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "media/capture/video/linux/video_capture_device_linux.h"
#include <stddef.h>
#include <list>
#include "base/bind.h"
#include "base/strings... | [
"dummas@163.com"
] | dummas@163.com |
e9e25bcfb2e2d459c48790030a6ee33b4d15ccc0 | a9b85381004b077a287459982feb4cd7fc3fe3c6 | /dce-pass-p3/p3/SSA.h | a6a04b36d17a576386496236aedf005ae8700b56 | [] | no_license | shikanai/lastzuera | 7e04e98af3431d408cd8cddd6b48645c85ade371 | 3c2a5d5fe5b7281805fe362362e138e3d082168a | refs/heads/master | 2021-01-10T03:47:49.235362 | 2015-06-10T15:12:38 | 2015-06-10T15:12:38 | 36,334,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,191 | h |
#include "llvm/Pass.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/BasicBlock.h"
#include "llvm/IR/Instruction.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/IR/InstIterator.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/IR/User.h"
#include ... | [
"feliperosasd@gmail.com"
] | feliperosasd@gmail.com |
fa6524a054a1fd070f6b0d0809f001db89be05d3 | 69f8386f54d5e7b04af125c9a0bd4732eb7f79ae | /01solved/ABC-D/abc094-d.cpp | 3406ceefb40e81c196b4bb7fb884ac630ae7ddf9 | [] | no_license | satsukisahi/AtCoder | 4a33903265f03f957518ad64fb70319639131628 | b077a842cd78b1a4979944248616a4e863b44241 | refs/heads/master | 2021-07-16T16:07:17.637577 | 2020-06-28T11:26:28 | 2020-06-28T11:26:28 | 183,563,538 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 633 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for(ll i = 0; i < (ll)(n); i++)
#define rep1(i, n) for(ll i = 1; i < (ll)(n); i++)
const ll mo=1000000007;
ll ans=0;
ll dp[0][0];
int main()
{
ll n;
cin >> n;
ll table[n]={};
rep(i,n) {
cin >> table [i];
}
sort(table, table+n);
... | [
"lunareclipse3141@gmail.com"
] | lunareclipse3141@gmail.com |
cb0c9104d3d2627343dbb6251b547ffab24b80b5 | bc3615ad05ab631d513832edc437a72603097fae | /MQTTSNAsyncClient/src/lib/SubscribeManager.cpp | ad4e83c96f9090cfdd708153303c3a8642e75680 | [] | no_license | ty4tw/MQTTSNAsyncClient | a8879265a0e1d007f3306066aec97f2cd1b72506 | be40eaa1507651296a3af55bf337d5816ec5eb12 | refs/heads/master | 2021-01-22T17:33:54.866329 | 2016-06-12T12:41:17 | 2016-07-05T07:21:25 | 60,907,588 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,837 | cpp | /*
* SubscribeManager.cpp
* The BSD License
*
* Copyright (c) 2015, tomoaki@tomy-tech.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
... | [
"tomoaki@tomy-tech.com"
] | tomoaki@tomy-tech.com |
edfee412961abfde959a61446af6ac93a1452050 | ece82fc601d615ab2399a8c004058985312a16c6 | /LABS/DEV-ASM/PCI/Teste/stdafx.cpp | 8c0c8e75cbe368eef866029d8bc4995395cf5fc4 | [] | no_license | mostwanteddtm/MicroSO | 324a04c384a8a5f174c9ab5754271412bf8ab3c3 | 5cb857540e5ce35313a4ca6aa0a109b0c57c4480 | refs/heads/master | 2022-01-16T18:45:35.494045 | 2022-01-04T02:23:09 | 2022-01-04T02:23:09 | 42,884,118 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 292 | cpp | // stdafx.cpp : source file that includes just the standard includes
// Teste.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"mostwanted.dtm@gmail.com"
] | mostwanted.dtm@gmail.com |
af51ae0dee7a10e27a1020450959c53808ed3bfd | 7233e8b260354f973c0b031dd869e6f5b6bfd4b7 | /SlidingWindow/978_Longest_Turbulent_Subarray.cpp | 6ff7ed4746b3097bacdfc351755fd6d260235aac | [] | no_license | Shadowmaple/Leetcode | 2a59b812d16e9a544d51762fd6edad4138b2e424 | 2323f5728a08a4e6f289decf481ae187c7f7541e | refs/heads/master | 2021-08-22T14:23:57.507553 | 2021-07-23T11:35:24 | 2021-07-23T11:35:24 | 204,666,583 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 795 | cpp | # include <iostream>
# include <vector>
using namespace std;
class Solution {
public:
int maxTurbulenceSize(vector<int>& A) {
int l = 0, r = 0;
int count = 0;
bool isBiger = true; // 上一次的比较
while (r < A.size()-1) {
if (l == r) {
if (A[r] == A[r+1]) {
... | [
"1142319190@qq.com"
] | 1142319190@qq.com |
b068a16d5b8fd67b2eb19aa852fabad4a4079f87 | a6d04c694c51b9497a2cb086bd22d284ee1be134 | /showdirinfo.cpp | add0e9fcdeefc088200a9378ef8177d56808fd66 | [] | no_license | hanliumaozhi/batchEditAudioTag | 5ce7a19c9adbd62e985d9f7a6df67e30a99684df | da02ce885dc98df2b7333c6d1cd52d19224c7085 | refs/heads/master | 2021-01-01T15:36:57.308984 | 2013-11-11T12:32:36 | 2013-11-11T12:32:36 | 14,300,133 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 384 | cpp | #include "showdirinfo.h"
showDirInfo::showDirInfo(QObject *parent) :
QObject(parent)
{
model = new QFileSystemModel;
model->setRootPath(QDir::currentPath());
splitter = new QSplitter;
tree = new QTreeView(splitter);
tree->setModel(model);
tree->setRootIndex(model->index(QDir::currentPath())... | [
"hanliumaozhi@gmail.com"
] | hanliumaozhi@gmail.com |
0ae438a9d78700e095031517260047887f3e8800 | 42d27eab1400524afbd0466213b374d7ba51f2b3 | /GitGud/DSHack.cpp | c44df20a812496315a5decbe047ce2e9c9dc2aaa | [] | no_license | gitDanilo/GitGud | 08b0bbde0ddf36ebb7c7d396feb7ac9ab12b99b3 | 5826b1c98b3f62a01452868586acf9fb10a5930b | refs/heads/master | 2020-04-16T05:45:40.783454 | 2019-01-21T03:33:09 | 2019-01-21T03:33:09 | 165,319,763 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,472 | cpp | #include "DSHack.h"
bool DSHack::ToggleGravity(BYTE* BaseAddr)
{
BYTE byte;
Memory* pProcMem = Memory::GetInstance();
if (pProcMem->ReadProcMem(BaseAddr, BaseAddr) == false)
return false;
BaseAddr += 0x80;
if (pProcMem->ReadProcMem(BaseAddr, BaseAddr) == false)
return false;
BaseAddr += 0x1A08;
if (pPr... | [
"danilo_cej@hotmail.com"
] | danilo_cej@hotmail.com |
3597fad6b2a9479fb0a875b1a5435f56e513def3 | 3095db2b8eb39c560c1ea5918492b015a975e2c5 | /data_logger_oshawa_exp20180530/catkin_ws (20180530)/devel/include/dji_sdk/MissionWpGetSpeedRequest.h | 47a068d3628befac3e530a49e2e3ff06f87714a3 | [] | no_license | jungwonkang/qdrone_all | 7a1b689a4576452749eeb971a1a98d9911c4bb48 | 6d3c4e12450c43f427d0203aa3632e83c0085ed2 | refs/heads/master | 2021-06-12T12:41:11.179182 | 2021-03-08T17:42:59 | 2021-03-08T17:42:59 | 157,916,901 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,232 | h | // Generated by gencpp from file dji_sdk/MissionWpGetSpeedRequest.msg
// DO NOT EDIT!
#ifndef DJI_SDK_MESSAGE_MISSIONWPGETSPEEDREQUEST_H
#define DJI_SDK_MESSAGE_MISSIONWPGETSPEEDREQUEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_... | [
"kctown99@gmail.com"
] | kctown99@gmail.com |
9cd81ff95d210270ba2e04933269638a4ec27d5b | 22a3c9eb93158534a9300018a17bb7caa18eb42a | /egen/inc/threading.h | 7404bd57de771185cdeec0051f7817195639563c | [
"Artistic-1.0"
] | permissive | shunyuchu/dbt5-0.1.0 | 38fabd5e55806fc14198a221c1b95d714d783fd8 | 8ebd9787edf448ff2eb7e277257b95b888098860 | refs/heads/master | 2023-05-07T17:11:06.956696 | 2021-05-26T09:52:52 | 2021-05-26T09:52:52 | 370,978,208 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,408 | 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... | [
"15773206420@163.com"
] | 15773206420@163.com |
65524a710a7f4170d666cc0fa1e835187279730d | 84d52febd9b12019ae5426e4d80c3f524d772d79 | /test/App.hpp | 5e142f7d532d4a8bfdd46c1b40a31db057736b83 | [
"Apache-2.0"
] | permissive | tcoppex/cudaraster-linux | 0878114422800689b91953afa5a9d33ac9e4ed1e | a0112e1301fca8e5313098f13b27e6f2d7683a7f | refs/heads/master | 2020-05-29T19:19:38.302688 | 2012-05-18T12:00:28 | 2012-05-18T12:00:28 | 4,181,585 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,128 | hpp | #ifndef APP_HPP
#define APP_HPP
#include "engine/Application.hpp"
#include "engine/Camera.hpp"
#include "SceneCR.hpp"
#include "SceneGL.hpp"
/// =========================================
/// Sample application to test the cudaraster
/// port.
/// =========================================
class App : public Applicat... | [
"thibault.coppex@gmail.com"
] | thibault.coppex@gmail.com |
bb029a2b62c01ad1ec2c14ebd6f2b3326b445c2f | 4ec188d31f0b6e89b20302d39dccf02a6c0927af | /tests/application/matchthree/stateerasematches.cpp | c2e6e002c7fb0d79469184945142cf0d8aff9bd6 | [
"Apache-2.0"
] | permissive | huiyugan/gincu | 85ed66099a536228039e7d1d93468fae81aca8d9 | dd9d83cc75561d873fc396d009436ba07219ff4d | refs/heads/master | 2021-09-19T13:15:59.203463 | 2018-07-28T05:46:42 | 2018-07-28T05:46:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,114 | cpp | #include "matchthree/stateerasematches.h"
#include "matchthree/matchthreestates.h"
#include "matchthree/matchthreeboard.h"
#include "matchthree/matchthreechess.h"
#include "matchthree/componentchess.h"
#include "matchthree/scenematchthree.h"
#include "gincu/ecs/gentity.h"
#include "gincu/ecs/gcomponenttransform.... | [
"wqking@outlook.com"
] | wqking@outlook.com |
d2b1aa80165fad97c88849f152979cebb6700281 | 16eb70ea061d94d6de9612444cfb637ded1083cc | /Tree/Convert_inorder+preorder_to_tree.cpp | a956b2b2f19b8e7511452c6dd32c2724416a1944 | [] | no_license | TheDangerD0802/30-Days-Coding-Challenge---WCC | 7e8bfd8db56630a9e7a6f718e8c42f696f377c0e | a61cc7fc0940e42b6b98cdd5c36417e8bc77092a | refs/heads/main | 2023-06-21T00:04:36.070991 | 2021-07-19T12:48:55 | 2021-07-19T12:48:55 | 378,089,850 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 510 | cpp | class Solution{
public:
int search(int in[], int k, int n)
{
for(int i=0;i<n;i++)
{
if(in[i]==k)
return i;
}
}
Node* buildTree(int in[],int pre[], int n)
{
if(n==0)
return NULL;
Node *temp = ... | [
"noreply@github.com"
] | noreply@github.com |
875ad20e1b8795e863729e386a804dcc4d38a77b | 888069a1e783463b21b851cda5e58fe47ae2f543 | /CGProyect/Line.cpp | 02a0e7c1912d1f5b8f839c310c85cf1071ae8da2 | [] | no_license | franjaviersans/MyPaint | 0ff02a6f9b70529cc75335fdf67c23c891a7056a | 3deffe7ee2474872f586e4dfdf4066638f516d66 | refs/heads/master | 2016-09-05T19:14:51.804588 | 2014-11-12T20:58:20 | 2014-11-12T20:58:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,038 | cpp | #include "stdafx.h"
#include "Line.h"
#include <iostream>
CLine::CLine()
{
m_p1.x = m_p1.y = 0;
m_p2.x = m_p2.y = 0;
m_id = IM_LINE;
m_bgcolor = 0;
m_linecolor = 0;
m_filled = false;
}
void CLine::DrawLine(POINT p0, POINT p1, CBackBuffer *pDC, COLORREF color, int draw){
if(draw != 0){
bool invert = false;
... | [
"franjaviersans@gmail.com"
] | franjaviersans@gmail.com |
7d658089bd62c47a16cedd422bb848e5519185ef | 1e55f7f495a55a1902de2c10d4a763ac3e6ef412 | /rpg/dialogue.hpp | 42f2879d84b259840a6a08353cd6c081393f5b9a | [] | no_license | formula1/graphic_test_cpp | 536a616b2c80861c817a1dc6938b29ed653b8ea0 | 58b04bbf5806ed2c42b9d748ec5cfc0c1e814a3b | refs/heads/master | 2021-01-18T14:57:07.270865 | 2015-07-14T17:40:38 | 2015-07-14T17:40:38 | 39,032,370 | 0 | 0 | null | 2015-07-13T19:19:23 | 2015-07-13T19:19:23 | null | UTF-8 | C++ | false | false | 1,017 | hpp | //
// dialogue.cpp
// rpg
//
// Created by Robert Wilkinson on 12/20/14.
// Copyright (c) 2014 Robert WIlkinson. All rights reserved.
//
#ifndef DIALOGUE_HPP
#define DIALOGUE_HPP
#include <stdio.h>
#include <iostream>
#include <string>
#include <vector>
// Gameplay uses dialogue
class Dialogue
{
private:
std:... | [
"wilkinson.robert.a@gmail.com"
] | wilkinson.robert.a@gmail.com |
3c6a0adf988860bc1525e6fa21965852432c1716 | 77de5ed4ec4b67a20816894c5c1efafe3eae1f3f | /AstarPathfinder/Map.cpp | d52afe8dae6533c617823d1b704881b7f470f51e | [] | no_license | Steelbadger/PathfindingCoursework | 137f37556e8a29867a754ad0418228e315cbc65f | c9dbc16b398b1471b6fdf5ecfaf8e3a95b364919 | refs/heads/master | 2020-05-28T08:33:34.196301 | 2012-11-29T17:12:32 | 2012-11-29T17:12:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,770 | cpp | #include "Map.h"
#include "Node.h"
#include <iostream>
#include <time.h>
#include <queue>
Map::Map(void):
eNode(),
sNode()
{
Initialise(DEFAULT_SIZE, DEFAULT_SIZE);
}
Map::Map(int width, int height)
{
Initialise(width, height);
}
Map::~Map(void)
{
}
void Map::Initialise(int width, int height)
{
mWidth = width;... | [
"steelbadger@gmail.com"
] | steelbadger@gmail.com |
a629e0fa71493ae7401e9730991322f55dafbd57 | 410de6fc1ef54edbc4e7485a642bdaf69c44ae64 | /tests/DivideTwoIntegersTest.cpp | 33dd9dfe8de7b8128876a35c379618208a253b29 | [] | no_license | SaberQ/leetcode | 322092c03b036bee053c794ebaa3dafef413a5b3 | 63f8abb9c382a2cbcea1e0294746a37fc86a293e | refs/heads/master | 2020-12-11T09:30:23.950830 | 2015-10-13T08:01:24 | 2015-10-13T08:01:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,207 | cpp | #include "catch.hpp"
#include "DivideTwoIntegers.hpp"
#include <climits>
TEST_CASE("Divide Two Integers") {
DivideTwoIntegers s;
SECTION("Normal tests") {
REQUIRE(s.divide(9, 5) == (9 / 5));
REQUIRE(s.divide(10, 5) == (10 / 5));
REQUIRE(s.divide(11, 5) == (11 / 5));
REQUIRE(s.divide(-9, 5) == (-... | [
"yanzhe.cn@gmail.com"
] | yanzhe.cn@gmail.com |
dd94fe90cb4ae209f90ffc6c99e71d3426177455 | 743e45e6a5197cedd7381cce997c7fed280c5b3a | /C-examples/C++/mergesort/MergeSort.h | 144e5e0934aa6a3537d150ce3fc548b3abaab8de | [
"MIT"
] | permissive | sharihan/CS253-lab | c44650220c16bf7d9694e075de4b67cb4c5b5272 | e61c0bed6918dc830e7ed6b1703e27127c75e54f | refs/heads/master | 2021-01-18T05:24:14.028475 | 2015-02-25T22:06:51 | 2015-02-25T22:06:51 | 31,515,398 | 1 | 0 | null | 2015-03-01T23:43:39 | 2015-03-01T23:43:39 | null | UTF-8 | C++ | false | false | 2,578 | h |
#include <iostream>
using namespace std;
/**
Sorts an array of integer using mergesort.
*/
class MergeSort
{
public:
/**
Merges two adjacent subranges of an array
@param a the array with entries to be merged
@param from the index of the first element of the
first ran... | [
"shane@foundationcode.com"
] | shane@foundationcode.com |
b85a22f10463a2d7e238c63a6eb76b3a5016bff4 | ff9bdeb2f086e7e0f0dd3a8760334366f71efc2d | /visualstudio2019_Sample/project1/CloneObject/CloneObject.h | 0818b6019c5da803c414160b179cb73296ccd0a0 | [] | no_license | RyuyaMaki/visualstudio2019Practice | 5f9e12942f71bfed4a00456d243f4511125d2aaa | cd665f2eb2464c85bde08f0ae9d347ca8dd81d70 | refs/heads/master | 2022-12-04T23:00:50.616415 | 2020-08-28T05:46:30 | 2020-08-28T05:46:30 | 279,464,158 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 258 | h | #pragma once
#include "../Component/Component.h"
class CloneObject : public Component{
public:
CloneObject(int cloneNum);
void update() override;
void draw() override;
std::shared_ptr<Component> createClone() override;
private:
int m_cloneNumber;
};
| [
"ryuyan1030@gmail.com"
] | ryuyan1030@gmail.com |
94f5e1eb219b5ae41805919a843de0834d33f4f8 | dd6147bf9433298a64bbceb7fdccaa4cc477fba6 | /8304/sanizayyad/codes/headers/Attributes/Armor/mediumarmor.hpp | e661a2653bd27ad1b36d6b54aed0858fc1761e79 | [] | 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 | 467 | hpp |
#ifndef mediumarmor_hpp
#define mediumarmor_hpp
#include "armor.hpp"
#include <stdio.h>
class MediumArmor : public Armor
{
public:
explicit MediumArmor();
MediumArmor(const MediumArmor& armor);
MediumArmor& operator=(const MediumArmor& armor);
virtual std::shared_ptr<Armor> clone() const override... | [
"sanizayyad99@gmaile.com"
] | sanizayyad99@gmaile.com |
aa65b09496ea2c24154b8b9d1747940dd868273e | dcab97ae22c4b935191dabc56024c657ab0a56e9 | /python code/find_face_landmarks-master/sfl_viewer/sfl_viewer_states.h | 2acc869b67ea92a8355416bc0048525ff3f63901 | [] | no_license | AkashSrivastava/PoseInvariantFaceRecognition | c2654bb006122b779172ad2f980040f443361497 | ad1acb6d08812c14284a50f449d5356eb8a4b126 | refs/heads/master | 2021-05-15T11:20:27.904135 | 2020-04-04T09:33:04 | 2020-04-04T09:33:04 | 108,314,331 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,097 | h | #ifndef __MAIN_WINDOW_STATES_H__
#define __MAIN_WINDOW_STATES_H__
// Boost
#include <boost/statechart/event.hpp>
#include <boost/statechart/state_machine.hpp>
#include <boost/statechart/state.hpp>
#include <boost/statechart/in_state_reaction.hpp>
#include <boost/statechart/transition.hpp>
#include <boost/statechart/cu... | [
"akashsrivastava436@gmail.com"
] | akashsrivastava436@gmail.com |
147789ec16696d862f23d7a8d82bf1b9109d0a88 | 1a6819221332c39db47621bf527c2562f40a5bb5 | /SparCraft/source/deprecated/AlphaBetaSearchResults.hpp | 4bb7b0c2adf905e06bee920b6fc7dcdfac7ddaf0 | [
"MIT"
] | permissive | kant2002/ualbertabot | 6e372468ba686eea3439da14b26bffd0f4c95625 | b4c75be8bf023f289f2e58e49ad600a9bda38fcd | refs/heads/master | 2021-06-04T07:51:16.138136 | 2020-08-10T10:33:59 | 2020-08-10T10:33:59 | 95,999,080 | 2 | 1 | MIT | 2019-08-29T08:11:23 | 2017-07-02T03:02:04 | C++ | UTF-8 | C++ | false | false | 1,746 | hpp | #pragma once
#include <vector>
#include "Action.h"
namespace SparCraft
{
class AlphaBetaSearchResults
{
public:
bool solved, // whether ot not a solution was found
timedOut; // did the search time-out?
unsigned long long nodesExpanded; // number of nodes expanded in the search
double timeEl... | [
"dave.churchill@gmail.com"
] | dave.churchill@gmail.com |
c3ddd5de17dc257155a8f12b4278418b241fa59f | 3fc19c271eca0fbbb423aae28cb0ef53c0c3a291 | /atcoder/abc155/B.cpp | edb25abfd2b283e10215479503526ad9daa26956 | [] | no_license | tstanvir/mySolutionRepo | 09373dccc86ac8a6d1992a6761a81b98035a8977 | 0b635d689424bc8f55f0efd54ed028638d81a0e2 | refs/heads/master | 2023-08-11T01:53:53.320511 | 2021-05-22T18:06:00 | 2021-09-14T15:18:55 | 353,521,176 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,033 | cpp | /// Bismillahir Rahmanir Rahim
//Author: Tanvir Hussain
//ICE,NSTU
#include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
using namespace std;
const long long MOD = 1000000007;
#define SET(x) memset(x, 0, sizeof(x))
#define SET2d(x,m,n) memset(x... | [
"tanvirshossain0@gmail.com"
] | tanvirshossain0@gmail.com |
cc2b2bd2c5faa5bab4edaf32209072336bd4f485 | e6b5d019e565ce55b2febfbe21b82c2a21723385 | /TheWaySoFar-Training/2015-04-12/B.cpp | 990c00424ccf37cabc7c80190e40a6d6214419db | [] | no_license | Sd-Invol/shoka | a628f7e8544d8eb110014316ab16ef3aed7b7433 | 1281cb43501d9ef127a2c67aebfba1905229502b | refs/heads/master | 2023-06-06T07:23:09.496837 | 2023-05-13T14:46:23 | 2023-05-13T14:46:23 | 13,319,608 | 37 | 17 | null | null | null | null | UTF-8 | C++ | false | false | 1,097 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long LL;
int main() {
LL x1 , x2 , y2 , y1;
cin >> x1 >> y1 >> x2 >> y2;
if (x1 > x2) {
swap(x1 , x2);
swap(y1 , y2);
}
LL res = 1LL << 60;
LL dx = abs(x1 - x2);
LL dy = abs(y1 - y2);
res = min(res , max(... | [
"Sd.Invol@gmail.com"
] | Sd.Invol@gmail.com |
3caf6ba9f55652582a3b621f4ffbde76414b1f9e | 8c107970070d5f4708b29db47d828f62827dd0a9 | /CS201-L/Person.h | d7605509dcd04ca8a5b10eb0598b1cb6cd91bcdb | [] | no_license | baw5xc/CS-201-L | e17dabbed503eb3f548b979dd3e1624a52d8471d | 4d4bd581eec02e2fe1175c5c7c25c7bd0f9d50cf | refs/heads/master | 2020-06-03T18:19:28.394244 | 2013-07-30T16:55:18 | 2013-07-30T16:55:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 293 | h | #ifndef PERSON_
#define PERSON_
#include <iostream>
#include <string>
using namespace std;
class Person {
public:
Person(string name, string DOB)
{
name = "";
DOB = "";
}
void setName(string n);
void setDOB(string dob);
~Person();
private:
string name;
string DOB;
};
#endif | [
"baw5xc@KC-SCE462LAB-20.kc.umkc.edu"
] | baw5xc@KC-SCE462LAB-20.kc.umkc.edu |
d2fe0e918c81934b9db352c03bf67c3223e526d4 | f986e6aad322515718989ee337a8c1b5c7778466 | /Baekjoon/5063_TGN.cpp | 514671a8631de6bfad7557589a342f63f2e10c3e | [] | no_license | wh2per/Baekjoon-Algorithm | bf611ae9c87dfc1af3f66b79f0c2d21db75c0df1 | 04f721f59b497f81452216ff0becbc3a620bbd0c | refs/heads/master | 2021-11-24T09:23:31.327854 | 2021-11-11T05:56:54 | 2021-11-11T05:56:54 | 165,788,406 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 497 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <algorithm>
#include <vector>
#include <climits>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
//freopen("input.txt", "r", stdin);
int n, r, e, c, i;
cin >> n;
while (n--) {
cin >> r >> e >> c;... | [
"93negaro@gmail.com"
] | 93negaro@gmail.com |
9428d43e367b3375bfb2b8c1af679b2f499c8c9a | eb3736423d134739044e03b39902a06ca938deb9 | /Src/lunaui/lockscreen/LockWindow.cpp | 8e86250dfdaf3102a4058e30dad3e63061e776e8 | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | penk/luna-sysmgr | 663d46c3c3817908420e3b9c78e67329a523aa91 | 60c7056a734cdb55a718507f3a739839c9d74edf | refs/heads/master | 2021-01-23T21:11:21.070609 | 2012-09-20T23:43:09 | 2012-10-09T21:22:43 | 6,360,119 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 80,713 | cpp | /* @@@LICENSE
*
* Copyright (c) 2008-2012 Hewlett-Packard Development Company, L.P.
*
* 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
*
* Unl... | [
"roger.stringer@palm.com"
] | roger.stringer@palm.com |
a7f6e82063b38b34683df417af682c039f5cd2d8 | e63caeb2dd77b2fc634e383e5df152c21ac66d38 | /DuiLib/DuiLib/src/Control/UILabel.cpp | fe91cf5a562642bb134a4cc643006f1d60e56c41 | [] | no_license | uvbs/myduilib | fde32154943333f412cc7612d71145ba8285016a | a9846c932c8a6e8237d2952f17fe88afcc1824a0 | refs/heads/master | 2021-01-24T03:38:14.104596 | 2015-08-20T01:32:01 | 2015-08-20T01:32:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,540 | cpp | #include "StdAfx.h"
#include <atlconv.h>
namespace DuiLib
{
REGIST_DUICLASS(CLabelUI);
Color _MakeRGB(int a, Color cl)
{
return Color(a, cl.GetR(), cl.GetG(), cl.GetB());
}
Color _MakeRGB(int r, int g, int b)
{
return Color(255, r, g, b);
}
CLabelUI::CLabelUI() : m_uTextStyle(DT_VCENTER), m_dwTextColor(... | [
"389465209@qq.com"
] | 389465209@qq.com |
92ae3090f8acf25ae458d82a23df48ce9b6f417d | 798471adab41ea2c6134d5dfd95246790059ee0f | /table/format.cc | 279aa954e5ab8496e5027e5026623d730de68270 | [
"BSD-3-Clause"
] | permissive | m561247/sifrdb | cb70288cc9dcc60398db28a00d5e95e7721e50bc | f744114aefd298d1aa0a23587a0a6f31b45368cf | refs/heads/master | 2023-09-01T09:30:40.763537 | 2018-10-31T00:48:55 | 2018-10-31T00:48:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,673 | cc | // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#include "table/format.h"
#include "leveldb/env.h"
#include "port/port.h"
#include "table/block.h"
#in... | [
"271678682@qq.com"
] | 271678682@qq.com |
f5a50fb889d052bd384402d5a0c74dec7a021dd2 | 329769e87a12229aa24a6bf0e0391f2f86b44e97 | /CUser.cpp | 952ffe37e0d445c389059662f2e223fbff728839 | [] | no_license | SNHU-CETA-CSE/crapsnqt-JasonMcKearney | 20d5a200ec873ad07e6dba8dc0617003753c1a48 | b6e53a9d505639126b8f580c6a4f351af9beff50 | refs/heads/master | 2021-01-26T05:05:05.234747 | 2020-04-20T22:27:26 | 2020-04-20T22:27:26 | 243,319,456 | 0 | 0 | null | 2020-04-10T17:59:53 | 2020-02-26T17:09:47 | C++ | UTF-8 | C++ | false | false | 1,990 | cpp | #include "CUser.h"
#include<iostream>
CUser::CUser(float fBank) {
m_bank = fBank;
}
void CUser::setBet(float betSpinBox) {
m_bet = betSpinBox;
}
float CUser::getBet() {
return m_bet;
}
void CUser::addWin() {
m_wins += 1;
}
int CUser::getWins() {
return m_wins;
}
void CUser::addLoss() {
... | [
"noreply@github.com"
] | noreply@github.com |
cbe1c59a22d4a52b15b395a3ef2d0012fba4c74d | f6fedf4c1c59372f9ba522cec853a80c2c05ea18 | /selection_sort.cpp | 3be9c051377eeb5eeb799d6c100682caa690fe4a | [] | no_license | manisha-jaiswal/Data-Structure-Using-Cpp | 601458f4e1923a28979d1118a35229b0139ee37f | 5747eaff90aade906c46a77d3e50514897878e20 | refs/heads/master | 2020-07-08T10:54:04.361971 | 2019-08-25T08:45:31 | 2019-08-25T08:45:31 | 203,651,059 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 688 | cpp | /* C++ Program - Selection Sort */
#include<iostream>
#include<conio.h>
using namespace std;
int main()
{
system("cls");
int size, arr[50], i, j, temp;
cout<<"Enter Array Size : ";
cin>>size;
cout<<"Enter Array Elements : ";
for(i=0; i<size; i++)
{
cin>>arr[i];
}
cout<<"Sorting array using s... | [
"noreply@github.com"
] | noreply@github.com |
9bcda0eaf33826405ecb10c598e82c12f843f435 | f8c592e5666fbf2adb6097a5f1117f6228b879e8 | /test/cctest/checks.h | 4b0a70320714027e035c30874d9c3f2ef340a318 | [
"BSD-3-Clause"
] | permissive | google/double-conversion | a3c39185b58933b6ec6e4b2ed6ef927e340298bf | 032fa6a7d2c319b20d3928f5d762648fa4029acf | refs/heads/master | 2023-08-29T14:48:51.262196 | 2023-08-28T09:51:02 | 2023-08-28T09:51:02 | 25,397,114 | 1,086 | 348 | BSD-3-Clause | 2023-09-13T09:23:11 | 2014-10-18T12:48:15 | C++ | UTF-8 | C++ | false | false | 13,134 | h | // Copyright 2006-2008 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this lis... | [
"florian@loitsch.com"
] | florian@loitsch.com |
93f0841ae3a4931739b273554e0e3fd8827c8b50 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14771/function14771_schedule_42/function14771_schedule_42_wrapper.cpp | 79f45f453bdcfb2afddbe2c9c4191e3eb0314917 | [] | 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,208 | cpp | #include "Halide.h"
#include "function14771_schedule_42_wrapper.h"
#include "tiramisu/utils.h"
#include <cstdlib>
#include <iostream>
#include <time.h>
#include <fstream>
#include <chrono>
#define MAX_RAND 200
int main(int, char **){
Halide::Buffer<int32_t> buf00(1024, 256);
Halide::Buffer<int32_t> buf0... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
fb9324685a73759156e35949ca4dfaaf9239d272 | 87a03e2f54c48540c6229a5f3cc77b8ab948a849 | /genesis/src/read_phylip.cpp | da1a9ab7245b9c053689c3752df4e30afa19012b | [] | no_license | lczech/genesis-gappa-paper | 14a77176cd47d28e53d1ab4f6b97026a3a85d1fc | eb60c62baf0ed485f339f45c3803dfcf8c06d984 | refs/heads/master | 2020-05-09T22:02:28.714017 | 2020-02-06T12:55:43 | 2020-02-06T12:55:43 | 181,457,252 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,027 | cpp | #include "genesis/genesis.hpp"
#include <chrono>
using namespace genesis;
using namespace genesis::sequence;
using namespace genesis::utils;
int main( int argc, char** argv )
{
// Get input.
if( argc != 2 ) {
throw std::runtime_error( "Need to provide a phylip file." );
}
auto const infile = std... | [
"luc@s-cze.ch"
] | luc@s-cze.ch |
037ca89df5cb8f241d37fe08365eab763488a327 | f626465bf4c2fc95cdb6160040fe3a8a20776255 | /src/frame/ProgressFrame.cpp | 949c162a76156833257062c4bedcf0eb480d14b1 | [
"MIT"
] | permissive | FlySkyPie/Wire-Bender-HMI | f59397064e17b09874772dcc50b022f737345a57 | bd4ee7ff59457cf4b26ff12e9eb17114e051df94 | refs/heads/master | 2020-07-23T22:10:11.791810 | 2019-09-11T04:10:06 | 2019-09-11T04:10:06 | 207,720,230 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,951 | cpp | #include "frame/ProgressFrame.h"
#include <wx/sizer.h>
/*
* Initialize the frame, create control components.
*/
ProgressFrame::ProgressFrame() :
wxFrame(NULL, wxID_ANY, "Hello World", wxDefaultPosition, wxSize(400, 400),
wxSYSTEM_MENU | wxCAPTION | wxCLOSE_BOX) {
this->Bind(wxEVT_CLOSE_WINDOW, &ProgressFrame::OnC... | [
"c445dj544@gmail.com"
] | c445dj544@gmail.com |
3fe0af6a1b3cbc2968458ab3b85c3ecaeb48c270 | c511fcc8ac5026b9cd95d35373d8dcd0adb6e0b8 | /C++/map_test.cpp | de49829e4d3a59f66c384fe693771aa59d5bab87 | [] | no_license | HarveyHub/NowCoder | e20f3c5b199d88d14091455f29ad9e2f1c44ca33 | fbfca62ca0518b01a52cbb2638ed48dcda68496c | refs/heads/master | 2021-01-23T13:07:51.236042 | 2019-07-12T08:48:45 | 2019-07-12T08:48:45 | 93,059,803 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,069 | cpp | #include <iostream>
#include <vector>
#include <string>
#include <map>
#include <ctime>
#include <cstdlib>
#include <algorithm>
using namespace std;
bool cmp(map<string, vector<double>>::iterator iter1, map<string, vector<double>>::iterator iter2)
{
return iter1->second[0] > iter2->second[0];
}
map<string, vector<i... | [
"huangwein@foxmail.com"
] | huangwein@foxmail.com |
0abfbaba07865f2bf005299e2c1a035bd962c493 | c888e72116f255367b50780e669f3d0543046b72 | /src/kingfisher_vision/src/position_filter_short.cpp | 104c6efcdd627f1a68de31e30cb0db0d61af084b | [] | no_license | eitan-babcock/Kingfisher_Code | 8af599ae8bb2f79f0b58c5ffe798cb54870abcaf | 639973804801799a20cfcc40768a2201a2db9c5d | refs/heads/master | 2021-01-19T02:21:51.467417 | 2016-07-16T17:55:51 | 2016-07-16T17:55:51 | 63,548,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,743 | cpp | #include "ros/ros.h"
#include "std_msgs/Int16.h"
#include "std_msgs/Int32.h"
#include "std_msgs/Float32.h"
#include "std_msgs/Bool.h"
#include "geometry_msgs/Twist.h"
#include "geometry_msgs/Pose2D.h"
#include <cmath>
#include <iostream>
#include <vector>
#include "geometry_msgs/Vector3.h"
float lx_window[... | [
"ebabcock72@gmail.com"
] | ebabcock72@gmail.com |
66e8c1b4bbb68f943a58e153e4f787f6ec69ad80 | fded81a37e53d5fc31cacb9a0be86377825757b3 | /buhg_g/kasothw_m.cpp | e1acadf1be8008c2c0b104dee0d0cefe9665a228 | [] | no_license | iceblinux/iceBw_GTK | 7bf28cba9d994e95bab0f5040fea1a54a477b953 | a4f76e1fee29baa7dce79e8a4a309ae98ba504c2 | refs/heads/main | 2023-04-02T21:45:49.500587 | 2021-04-12T03:51:53 | 2021-04-12T03:51:53 | 356,744,886 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,569 | cpp | /*$Id: kasothw_m.c,v 1.20 2013/09/26 09:46:49 sasa Exp $*/
/*11.07.2015 10.03.2006 Белых А.И. kasothw_m.c
Меню для получения отчёта
*/
#include "buhg_g.h"
#include "kasothw.h"
enum
{
FK2,
FK4,
FK10,
KOL_F_KL
};
enum
{
E_DATAN,
E_DATAK,
E_KODOP,
E_KASSA,
E_SHET,
E_KOD_KONTR,
KOLENTER
};
cla... | [
"root@calculate.local"
] | root@calculate.local |
660dd230ddbb6f8ff854f91917732b00828b3cb1 | 2d2ee05cdcefbbeb45d87320cea0f1fef8b7638c | /OOP_HW4/test/ut_main.cpp | 8bf34c9fd2de29a92f63993de0fe71b414415d83 | [] | no_license | Holytu/POSD_HW | 15c71de9ff7a2f6b444428f1ac8c50db3552f85e | ccf5a40e23381473f6a585dc45a1eba492649013 | refs/heads/master | 2020-07-30T00:25:30.547765 | 2019-11-15T08:08:12 | 2019-11-15T08:08:12 | 210,017,931 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 182 | cpp | #include <gtest/gtest.h>
#include "../test/ut_node.h"
using namespace std;
int main(int argc, char ** argv)
{
testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
| [
"nthuxy12345@gmail.com"
] | nthuxy12345@gmail.com |
10d7d95c5705acde477ddbf72742038142c46c92 | e30fea1b29491b5ce63b51458d1357aff629b6bf | /Game/testGame.cpp | 34373199db4ef7bb3281f39876ef30b4df121bc6 | [] | no_license | imaishunsuke/Game | d847d4318519eeccb368a1cf6cefa46e7b5c490b | d6da986fb5069bbd28a48c7ae38c6f4d002be6f5 | refs/heads/master | 2022-12-06T12:52:57.980612 | 2018-06-29T04:19:55 | 2018-06-29T04:19:55 | 124,839,481 | 0 | 1 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,736 | cpp | #include "stdafx.h"
#include "testGame.h"
#include "Fade.h"
#include "Title.h"
#include "Mirror.h"
#include "testGameCamera.h"
#include "testBackGround.h"
testGame::testGame()
{
}
testGame::~testGame()
{
}
void testGame::OnDestroy()
{
DeleteGO(m_gameCamera);
DeleteGO(m_skinModelRender);
DeleteGO(m_mirror);
Delete... | [
"kbc17b02@stu.kawahara.ac.jp"
] | kbc17b02@stu.kawahara.ac.jp |
192385b6585995ae7dae63dde0868289b23e60e6 | f42190636add23ead6a5022d706a124032d66f92 | /src/Microsoft.DotNet.Wpf/src/WpfGfx/core/hw/swfallback.h | 8336e9d66fd2783776f7f63c56ca71ce6c4a82e1 | [
"MIT"
] | permissive | dotnet/wpf | b8f73a99e03f87b4dee5db643e38e2c0704f707a | 2ff355a607d79eef5fea7796de1f29cf9ea4fbed | refs/heads/main | 2023-09-04T09:35:19.355384 | 2023-09-03T02:30:37 | 2023-09-03T02:30:37 | 153,711,945 | 6,927 | 1,397 | MIT | 2023-09-14T17:22:06 | 2018-10-19T01:55:23 | C# | UTF-8 | C++ | false | false | 4,722 | h | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
//------------------------------------------------------------------------------
//
//
// Description:
// Co... | [
"vatsan.madhavan@microsoft.com"
] | vatsan.madhavan@microsoft.com |
a511af48cfede7020d60becaeb7b03ad4abe27a6 | 39daf3621dbff334c46fd7a591a018642a738943 | /include/rapidjson/internal/pow10.h | 0252edfe582da7756f5708fbe42f0ff81e9cff33 | [
"Apache-2.0"
] | permissive | hecor/freeCTP | 42b5aa35b1b056b4b125d4e271f9ce55e3311d9a | f9300b225174dcb8386225139afcea034f431dc1 | refs/heads/master | 2021-01-02T08:21:28.394453 | 2015-03-28T02:23:37 | 2015-03-28T02:23:37 | 16,941,298 | 8 | 6 | Apache-2.0 | 2020-10-02T05:21:52 | 2014-02-18T08:01:18 | C++ | UTF-8 | C++ | false | false | 4,019 | h | // Copyright (C) 2011 Milo Yip
//
// 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, publish,... | [
"husthecor@gmail.com"
] | husthecor@gmail.com |
6a296e78777cee684347bd87743597b2cad688f1 | 927077b0100ccdd4f6962256330d1d049f74427a | /devel/include/dji_sdk_web_groundstation/WebWaypointReceiveActionFeedback.h | 44c6e6329574a3dd1c2020a35e1b0087af6a1e9c | [] | no_license | Aswath93/ros | d883474125702d79ca3f21cea4c4b65352c2d718 | 61952bc47542fff33564c367bb83f4e69cbfb18c | refs/heads/master | 2021-01-16T19:57:07.349378 | 2017-08-13T15:51:54 | 2017-08-13T15:51:54 | 100,187,737 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,055 | h | // Generated by gencpp from file dji_sdk_web_groundstation/WebWaypointReceiveActionFeedback.msg
// DO NOT EDIT!
#ifndef DJI_SDK_WEB_GROUNDSTATION_MESSAGE_WEBWAYPOINTRECEIVEACTIONFEEDBACK_H
#define DJI_SDK_WEB_GROUNDSTATION_MESSAGE_WEBWAYPOINTRECEIVEACTIONFEEDBACK_H
#include <string>
#include <vector>
#include <map>... | [
"aswath93@gmail.com"
] | aswath93@gmail.com |
a7fdc3d01bf061388978ce3fd0b8455f2af8c6be | 379dc81d5162d36514468859b4eec8124c2ff65c | /benchmarks/b5/b5_simple.cpp | 7f928568a1b35e122f5088b53c49b7f826f04c09 | [
"MIT"
] | permissive | SunghoLee/c-summary | 5fba42facd5a2137ae22202841de9a12352f3e39 | a7fea7bf57138866f0eede0b3a22f41612d6bf94 | refs/heads/master | 2023-03-07T14:22:41.909684 | 2021-02-10T12:31:37 | 2021-02-10T12:31:37 | 169,503,055 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,238 | cpp | //
// Created by Xingwei Lin on 6/12/17.
//
#include <android/log.h>
#include <jni.h>
#include <stddef.h>
#include <assert.h>
#define LOG_TAG "dynamic_register_multiple"
#define LOGI(...) __android_log_print(ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__)
#define LOGE(...) __android_log_print(ANDROID_LOG_ERROR, LOG_TAG,... | [
"eshaj@kaist.ac.kr"
] | eshaj@kaist.ac.kr |
e5e55eef2a80bf7781a48ec6610ce09112004fa6 | 419276d2ed283ef2b8405ec66962fccb43491a63 | /sem4/ООП/lab_1/output.cpp | 103414ae7d65e8dd72d64351774d1356ddfdf044 | [] | no_license | H0uston/bmstu | 6231edb99effc556b93c7320b471cc15d17e3c75 | cbb44d0f9cdbe6ced360c01b04365ae7329d29c8 | refs/heads/main | 2023-06-23T12:36:51.543458 | 2021-07-19T19:40:04 | 2021-07-19T19:40:04 | 377,950,950 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,628 | cpp | #include "output.h"
// Функция обертка для fscanf (запись)
static void print_counts(FILE *file, int count_of_points, int count_of_edges)
{
fprintf(file, "%d %d\n", count_of_points, count_of_edges);
}
// Функция обертка для fscanf (запись)
static void print_points(shape_t &shape, FILE *file, int i)
{
fprintf(f... | [
"HoustonEU@gmail.com"
] | HoustonEU@gmail.com |
e0acfcbc4b850af2f4e6789754adce662729c568 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /ui/events/test/test_event_targeter.cc | 0794d45116ba708322408c2bae54426746770bb9 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 1,055 | cc | // Copyright 2015 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 "ui/events/test/test_event_targeter.h"
#include "ui/events/test/test_event_target.h"
namespace ui {
namespace test {
TestEventTargeter::TestEv... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.