blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
264
content_id
stringlengths
40
40
detected_licenses
listlengths
0
85
license_type
stringclasses
2 values
repo_name
stringlengths
5
140
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
986 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
3.89k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
145 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
3
10.4M
extension
stringclasses
122 values
content
stringlengths
3
10.4M
authors
listlengths
1
1
author_id
stringlengths
0
158
07e92d79f7c924eeb78e2863d327ad82d811f508
1061216c2c33c1ed4ffb33e6211565575957e48f
/cpp-restsdk/model/CodedError.h
79717c88ac75358944c52948ff47692c4c4084b7
[]
no_license
MSurfer20/test2
be9532f54839e8f58b60a8e4587348c2810ecdb9
13b35d72f33302fa532aea189e8f532272f1f799
refs/heads/main
2023-07-03T04:19:57.548080
2021-08-11T19:16:42
2021-08-11T19:16:42
393,920,506
0
0
null
null
null
null
UTF-8
C++
false
false
2,104
h
/** * Zulip REST API * Powerful open source group chat * * The version of the OpenAPI document: 1.0.0 * * NOTE: This class is auto generated by OpenAPI-Generator 5.2.0. * https://openapi-generator.tech * Do not edit the class manually. */ /* * CodedError.h * * */ #ifndef ORG_OPENAPITOOLS_CLIENT_MODEL_C...
[ "suyash.mathur@research.iiit.ac.in" ]
suyash.mathur@research.iiit.ac.in
71b890bbfa8cd04edb2d3e90575cff7cc89ef617
9f2b07eb0e9467e17448de413162a14f8207e5d0
/tests/libtests/feassemble/data/obsolete/QuadratureData2Din3DLinearXZ.hh
47471d569ccdd6ef604d51660f6ccae6cb36559c
[ "MIT" ]
permissive
fjiaqi/pylith
2aa3f7fdbd18f1205a5023f8c6c4182ff533c195
67bfe2e75e0a20bb55c93eb98bef7a9b3694523a
refs/heads/main
2023-09-04T19:24:51.783273
2021-10-19T17:01:41
2021-10-19T17:01:41
373,739,198
0
0
MIT
2021-06-04T06:12:08
2021-06-04T06:12:07
null
UTF-8
C++
false
false
1,876
hh
// -*- C++ -*- // // ====================================================================== // // Brad T. Aagaard, U.S. Geological Survey // Charles A. Williams, GNS Science // Matthew G. Knepley, University of Chicago // // This code was developed as part of the Computational Infrastructure // for Geodynamics (http://...
[ "baagaard@usgs.gov" ]
baagaard@usgs.gov
e4a7da3cfc299c882554219ec0feda779dfb06c4
645847547bc80c462143fcf0e6c996626dbe3d46
/private/windows/opengl/scrsave/common/scrnsave.cxx
e82e5f48bb2a797a27b47210bf3aea51fe5e945a
[]
no_license
v-jush/win2k
8834ed687e04f2b9475d36673fe4e8986020581b
b6f6742e44e41c7fd5c4e75ca3e6605e426239de
refs/heads/master
2020-09-24T18:05:38.920032
2019-08-15T03:13:13
2019-08-15T03:13:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
24,227
cxx
// SCRNSAVE.C -- skeleton for screen saver application // 4/5/94 francish merged NT and Win4 saver code, folded in SCRNSAVE.SCR // - 3/14/96: marcfo Pulled this file in from shell\control\scrnsave\common. // All changes marked with GL_SCRNSAVE. #define GL_SCRNSAVE 1 #define WIN31 #inclu...
[ "112426112@qq.com" ]
112426112@qq.com
d7c9c437835516e835c27fb9d597e95e296deaaa
b00c54389a95d81a22e361fa9f8bdf5a2edc93e3
/external/lldb/source/Plugins/SymbolFile/DWARF/DWARFLocationList.h
85e11d90b36ba595b841c6d6c22bb59a248e0287
[ "NCSA" ]
permissive
mirek190/x86-android-5.0
9d1756fa7ff2f423887aa22694bd737eb634ef23
eb1029956682072bb7404192a80214189f0dc73b
refs/heads/master
2020-05-27T01:09:51.830208
2015-10-07T22:47:36
2015-10-07T22:47:36
41,942,802
15
20
null
2020-03-09T00:21:03
2015-09-05T00:11:19
null
UTF-8
C++
false
false
1,039
h
//===-- DWARFLocationList.h -------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
[ "mirek190@gmail.com" ]
mirek190@gmail.com
8b2896d700fb6ae4849b4f2f4730aa039484e18c
7d1040c025f91911cefba2fa748b813d275a95f6
/CreatureEditorAndPlugin/CreaturePlugin/Source/CreaturePlugin/Private/CreatureMetaAsset.cpp
8387a2ca51cf5f4630d1c22d3ada61d84913d3c0
[ "LicenseRef-scancode-public-domain" ]
permissive
sepinood/Creature_UE4
85f79ed1d805bd5f1036c4bb6f97dfcf056f08ed
cd0a3f87e411985cfe80761f67bc8cdd860e04e4
refs/heads/master
2021-01-21T08:28:36.968275
2016-09-02T18:05:29
2016-09-02T18:05:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,059
cpp
#include "CreaturePluginPCH.h" #include "CreatureMetaAsset.h" #include "CreatureCore.h" FString& UCreatureMetaAsset::GetJsonString() { return jsonString; } void UCreatureMetaAsset::Serialize(FArchive& Ar) { Super::Serialize(Ar); } void UCreatureMetaAsset::BuildMetaData() { TSharedPtr<FJsonObject> jsonObject = M...
[ "creature@kestrelmoon.com" ]
creature@kestrelmoon.com
4be13af12e58cf27eb1afb7bd18e296b3db1dc8f
30f5c35fc134fcabf322fffb4235586e487bfd00
/Exercicios de Herança/Exercicio - 05/Livro.h
dfc3849ad5cbb5a523e694ea975eebe742f80f73
[]
no_license
leonarck00/TP2_Heran-a
ff95c044d3196b8b4f06cd5ad0f88019cfbd3fb9
c2d9c7e0cc48bd3ace021531d66d0d2ad6feb1b1
refs/heads/master
2020-04-09T23:12:05.778413
2018-12-10T09:42:44
2018-12-10T09:42:44
160,649,923
0
0
null
null
null
null
UTF-8
C++
false
false
881
h
#ifndef LIVRO_H #define LIVRO_H #include<Produto.h> namespace dnn { class Livro : public Produto { public: Livro() : Produto(), autor(""), tradutor(""), editora(""), anoPublicacao(0) {} std::string getAutor() const{return autor;} void setAutor(const std::string &value){autor = value;} ...
[ "noreply@github.com" ]
leonarck00.noreply@github.com
abcc79025bec29a21345f46cd35e39df7e0db8e5
272788cb066f9a29864b1b1da0396dbe6fa43304
/src/base58.h
7538a4eef54d1142db1869593e73c2b42b2f6fb0
[ "MIT" ]
permissive
cryptoandcoffee/pvp
223f43c96dbdf3ed9a0fb68ae64ab5aeec7a49ec
8233a7b21db0f6a2a56fbe46a81f79330c705c62
refs/heads/master
2020-12-13T17:26:53.940410
2020-01-17T06:17:05
2020-01-17T06:17:05
234,483,724
0
0
null
null
null
null
UTF-8
C++
false
false
5,817
h
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-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. /** * Why base-58 instead of standard base-64 encoding? * - Don't want 0OIl cha...
[ "wildsf@djfrencht0ast.com" ]
wildsf@djfrencht0ast.com
3a828da55345c4cfa9088ce1a363f849e4421212
e2227524377dbb7641d3eabb7d7a4db835ee2bae
/maxProfit3/maxProfit3/maxProfit3.cpp
49a610653f434c7c06db91eb463cc73a4a30342d
[]
no_license
tezheng/LeetCode
a7a920e0e9c880a0589efc98ad4f551243af2dc3
1ae450d469076228b5e720480d1d2ff877ffc14e
refs/heads/master
2021-01-16T18:01:08.048098
2013-05-11T13:23:20
2013-05-11T13:23:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
994
cpp
#include <vector> using namespace std; int main() { vector<int> prices; prices.push_back(1); if(prices.size() == 0) return 0; vector<int> firstprofit; firstprofit.push_back(0); firstprofit.push_back(0); vector<int> secondprofit; secondprofit.push_back(0); secondprofit.push_back(0); int min = prices[0]; in...
[ "liumengxinfly@gmail.com" ]
liumengxinfly@gmail.com
f48941e2f927a0f2dc873d0176f07763043a20ab
8759f4361a1253980dfb0c5a3901e3f73b2f19c4
/src/vcl/hid/spacenavigatorhandler.h
6d1cedd75fc826ac55e798e6cdfd7367015ec9f8
[ "MIT" ]
permissive
bfierz/vcl.hid
53b3f37e2b671fbcb4da448d1ad08670250f5aa1
4193fe488d6759306e297b225e3a3c4da58716b0
refs/heads/master
2021-09-10T06:46:56.669621
2018-03-21T20:00:36
2018-03-21T20:00:36
102,975,343
1
0
null
null
null
null
UTF-8
C++
false
false
2,935
h
/* * This file is part of the Visual Computing Library (VCL) release under the * license. * * Copyright (c) 2017 Basil Fierz * * 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 with...
[ "basil.fierz@hotmail.com" ]
basil.fierz@hotmail.com
1ca331be3e4d166c674372e1978471b08a77ffd0
99c5155ad8c762459bb2d46c48aa261ddc06baa1
/ChuckNorris.h
0741be036aad52acefa6d3b974e85a3bcbe2696c
[]
no_license
CS1103/practica-calificada-2-JosephPenaQuino
13e11e477a85aab6d2bc27baa488eb1a071423cf
533c36b3934b4915bfed54562838fd5666c9b665
refs/heads/master
2022-01-15T15:54:35.686641
2019-05-10T18:29:34
2019-05-10T18:29:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
187
h
#ifndef PC2_CHUCKNORRIS_H #define PC2_CHUCKNORRIS_H #include "Fighter.h" class ChuckNorris : public Fighter { public: explicit ChuckNorris(int id); }; #endif //PC2_CHUCKNORRIS_H
[ "joseph.pena@utec.edu.pe" ]
joseph.pena@utec.edu.pe
d22653bdf8f35da66622bb14454648ae1b545001
44616f4a859b5b0ced95d77e3d6157fe569a8338
/src/ld24/Objects/Player.cpp
5af0d11709c8db8e65ca83c2da000f02b9511e74
[]
no_license
ydnax/ld24
857a0e136a0280de60765660198a479b9be5fa39
bec93f177847455b546be692368d2f5e7124c633
refs/heads/master
2016-08-05T13:03:43.514347
2012-08-27T21:46:04
2012-08-27T21:46:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,611
cpp
#include "Player.hpp" #include <ld24/Objects/Powerup.hpp> #include <SDL/SDL.h> namespace ld24{ Player::Player(Level *lvl, int x, int y): levelObject(lvl), x(x),y(y),xx(x),xy(y),xspeed(0), yspeed(0), images{{Image("resources/gfx/player/player-anim0.png", 50, 50), Image("resources...
[ "gitmail.xandy@xoxy.net" ]
gitmail.xandy@xoxy.net
76bd14cd1938eb0cd5b35e165787ce859d098eb0
5d7d151f671c5bb36c80bc43cfbe6b159c6d2e87
/baitap2_quanlisinhvien_2051120281/Menu.cpp
1ab3b1f8b055773d2914417cd889828ba7b6925a
[]
no_license
thanhnhut1112/baitap2_quanlisinhvien_2051120281
635249facb03e77692e1b0b3df50452766134039
3fd714d99f36e64ebbfec289439a9c0389ac9fa1
refs/heads/master
2023-08-25T03:48:24.530566
2021-10-10T10:17:00
2021-10-10T10:17:00
415,545,511
0
0
null
null
null
null
UTF-8
C++
false
false
781
cpp
#include "Menu.h" #include <iostream> using namespace std; Menu::Menu(string tieude) { this->tieude = tieude; } void Menu::themLuachon(string luachon) { dsLuachon.push_back(luachon); } void Menu::xuat() { cout << "\n-----" << tieude << "-----\n"; for (int i = 0; i < dsLuachon.size(); i++) cou...
[ "ACER@LAPTOP-OJ2GO58H" ]
ACER@LAPTOP-OJ2GO58H
52d01452c58ef32728d1d612324793e3bc746953
cee3d4b65ead71f22db1d1aacad1e0958657b8f3
/LAB4.cpp
92d3aaea85e840e2c132b0a8abd548b849880768
[]
no_license
IliaTrofimov/Object-table-viewer
431a203a15bf8e200a041964fa8af4172ca57989
fdb5f22ef8efec736994097e53a26c575ab2ac63
refs/heads/main
2023-04-09T11:23:02.741674
2021-04-25T09:00:30
2021-04-25T09:00:30
361,372,093
1
0
null
null
null
null
WINDOWS-1251
C++
false
false
1,162
cpp
//--------------------------------------------------------------------------- #include <vcl.h> #pragma hdrstop #include <tchar.h> //--------------------------------------------------------------------------- USEFORM("NumberEntryFormClass.cpp", formNumEntry); USEFORM("ResultFormClass.cpp", formResult); USEFORM("SearchF...
[ "ilia.trofimov2001@icloud.com" ]
ilia.trofimov2001@icloud.com
9152054fc11cf84608216c2146f5142d92382c9d
1ec086253005570c211cf55fe74c8886b2c483ef
/TKDGTT/Tuan 6/BT6.Nhom5/doitien.cpp
8d91ae72702d6ccac8a772628496da2c687123b9
[]
no_license
Du0ngkylan/C-Cpp
8be2fc9632bb1c49b0eaac6166f9ead5deac4c83
37d973d510bafc5512fce2f2a81b0a4aa746b2e3
refs/heads/master
2021-06-26T05:58:17.969765
2020-11-27T03:52:06
2020-11-27T03:52:06
172,220,624
0
1
null
null
null
null
UTF-8
C++
false
false
1,061
cpp
#include<stdio.h> #include<conio.h> #define hs 50 int C[hs][hs]; int d[hs],chon[hs]; int n,m; void nhap(){ int i; for ( i=1; i<=n; i++){ printf("Nhap d[%d]= ",i); scanf("%d",&d[i]); } } void in(){ int i; for ( i=1; i<=n; i++){ printf("%4d",d[i]); } printf("\n"); } void doitien(){ int i,j; fo...
[ "duongmaixuan.k55tt@gmail.com" ]
duongmaixuan.k55tt@gmail.com
f01270a0d22554283d01efc7cd027707706b8251
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/git/gumtree/git_patch_hunk_211.cpp
581bb823fedd728675c71c8458167603aaf487c5
[]
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
1,003
cpp
* alias twice, because that implies that there were actually two * different files with aliasing names! * * So we use the CE_ADDED flag to verify that the alias was an old * one before we accept it as */ -static struct cache_entry *create_alias_ce(struct cache_entry *ce, struct cache_entry *alias) +static s...
[ "993273596@qq.com" ]
993273596@qq.com
4f1b210e15c07227fd419ea3bd7797549dca96ad
bd6e36612cd2e00f4e523af0adeccf0c5796185e
/include/clasp/core/lightProfiler.h
c06c5bba42ef71ebd0c8afbf7843c6c6c0c8331f
[]
no_license
robert-strandh/clasp
9efc8787501c0c5aa2480e82bb72b2a270bc889a
1e00c7212d6f9297f7c0b9b20b312e76e206cac2
refs/heads/master
2021-01-21T20:07:39.855235
2015-03-27T20:23:46
2015-03-27T20:23:46
33,315,546
1
0
null
2015-04-02T15:13:04
2015-04-02T15:13:04
null
UTF-8
C++
false
false
3,709
h
/* File: lightProfiler.h */ /* Copyright (c) 2014, Christian E. Schafmeister CLASP is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later vers...
[ "chris.schaf@verizon.net" ]
chris.schaf@verizon.net
63627b98e20697c67425c5e795be608dfd7178a2
8d86646bc8e2835cf41c7548227dea11f43817f4
/p2/p2.ino
683d50b35b65072174239c013252d92eeab3f3ec
[]
no_license
mandrewcito/GEI-DHI
5d04fe4b4f230c9c514772c3929ec058ba4e49a5
df5b0c9bbd5f48d38b5328fd1295cc0f59598255
refs/heads/master
2020-12-03T05:25:00.071129
2015-01-30T21:09:54
2015-01-30T21:09:54
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,479
ino
/* p2 DHI andres baamonde lozano hora en hh:mm:ss(actualiza mediante interrupcion) por USART led rojo y verde encendidos con ss%2 (alternando) la puesta en hora enviando los datos desde la misma ventana de monitorización del puerto serie del IDE Arduino ->poner en modo de bajo consumo power-down mediante el envío de...
[ "anbaalo@gmail.com" ]
anbaalo@gmail.com
b40e5a5f11f2081a7afc4021d4e108909fa08b2a
9f7fbef81d1e4e7577192f8021dc5d0a74a558ce
/gr8/targets/function_enter.cpp
973fe4c395baea26ba9c9bca39909c243e995afb
[]
no_license
ist424865/co-2017-18
0bda7c3c66aae9051e7ef63605658eeb9991d5e5
388a040c9a815dc90af6790cd01285a7897c5112
refs/heads/master
2021-09-15T03:15:06.078394
2018-05-24T23:34:20
2018-05-24T23:34:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,293
cpp
#include "targets/function_enter.h" #include "ast/all.h" // all.h is automatically generated void gr8::function_enter::do_integer_node(cdk::integer_node * const node, int lvl) { // EMPTY } void gr8::function_enter::do_double_node(cdk::double_node * const node, int lvl) { // EMPTY } void gr8::function_enter::do_st...
[ "rui.m.ribeiro@tecnico.ulisboa.pt" ]
rui.m.ribeiro@tecnico.ulisboa.pt
79ca4bfb5b67faa5fb3b4feb7b0d096ba7ccc137
bc287c241c7778ec33866af38f4f7919d591477e
/libraries/ADC/ADC.cpp
481877bcc96f07fee64af65e220097f174402ee1
[]
no_license
tomsmalley/strobe
11ef147664775b8b78901bb5b75c76cb1b688802
f65a0158c29370bda5164facf8b8b967a2971d23
refs/heads/master
2020-12-25T14:12:40.883073
2016-07-06T16:27:50
2016-07-06T16:27:50
60,713,867
22
2
null
null
null
null
UTF-8
C++
false
false
44,113
cpp
/* Teensy 3.x, LC ADC library * https://github.com/pedvide/ADC * Copyright (c) 2015 Pedro Villanueva * * 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 * ...
[ "tfsmalley@gmail.com" ]
tfsmalley@gmail.com
f3f290731e82f8f5bc5c49f5d967ebfd6191525d
21618cdadcde69e4d4084431e43638ebd19f8b76
/slave.h
4af0db48d39be26dd2eec1f93017a97d7aad2732
[ "BSD-2-Clause" ]
permissive
aykevl/domo-avr
3b5ab4fe6dd6c2f57ccfe2481d71311788a736e5
30aa607b498b60ca6ae4e5d5112a98ddf1afa48f
refs/heads/master
2020-09-21T00:56:05.559204
2016-08-30T15:18:54
2016-08-30T15:18:54
66,936,265
0
0
null
null
null
null
UTF-8
C++
false
false
209
h
#ifndef SLAVE_H #define SLAVE_H // Communicate with the Raspberry Pi. class Slave { public: inline Slave() __attribute__((always_inline)); inline void loop() __attribute__((always_inline)); }; #endif
[ "aykevanlaethem@gmail.com" ]
aykevanlaethem@gmail.com
9474d4c4cbea4e848c752d033b59575fa1ac5ca5
703ec46ee5493dcd169e8100d0cfd3555c719144
/d3d12/LabProjects/LabProject03-1/Scene.cpp
275dfb2ee0755559ad95f4fc7bfdbe0a49aada64
[]
no_license
kimduuukbae/Today-I-Learned
e8ca001c815fc7fb02a738bc3eb564e89791bb6a
496a3603f65bedfba83d1a9f2f2fd83b4d0c0269
refs/heads/master
2022-08-07T03:52:46.875576
2022-08-01T05:45:55
2022-08-01T05:45:55
214,361,320
4
0
null
null
null
null
UTF-8
C++
false
false
2,799
cpp
#include "stdafx.h" #include "Scene.h" #include "Shader.h" CScene::CScene() {} CScene::~CScene() {} void CScene::BuildObjects(const ComPtr<ID3D12Device>& device, ID3D12GraphicsCommandList* commandList) { m_pd3dGraphicsRootSignature = CreateGraphicsRootSignature(device.Get()); shaderCount = 1; shaders = new CShad...
[ "qlccksdlf@gmail.com" ]
qlccksdlf@gmail.com
97a0c9ee0551abd5fcf21d3c151ffa3936efc777
fe754becf524e7489016b949b22f48db7805febf
/Algorithm/DP/LIS.cpp
134b4c011f1c00b4c1c506403ec447e2f0660b9a
[]
no_license
Jayliu227/codings
ef64a295da4894e22073c6ab626aeb59a75cbaf8
73c223b8f877c6e031d880bd57f5f1f4228d40a0
refs/heads/master
2021-10-09T08:55:40.345838
2018-12-25T02:30:37
2018-12-25T02:30:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
711
cpp
#include<bits/stdc++.h> using namespace std; int main(){ int N; cin >> N; int a[N]; int dp[N][2]; memset(dp, 0, sizeof(dp)); for(int i = 0; i < N; i++){ scanf("%d", &a[i]); } dp[0][0] = 1; dp[0][1] = -1; for(int i = 1; i < N; i++){ dp[i][0] = 1; dp[i][1] = -1; int m = 1; for(int j = i - 1; j >=...
[ "jl7895@nyu.edu" ]
jl7895@nyu.edu
981199026e15a560a16bf3e389ca8e6f4f783bd0
befd896d301d3040fbd6ccda39aa217bf388a0a4
/tensorflow/core/kernels/quantize_and_dequantize_op.h
6b0c5e5a466baf60a771d7aa7754975a0c121138
[ "Apache-2.0" ]
permissive
mktshhr/tensorflow-theta
98369caf55f676c6ae9a5c82ab151bb53d395f36
fe378e1b690d97ed24bad144dee9efffce893c86
refs/heads/master
2020-03-26T14:29:34.200902
2018-10-21T13:39:56
2018-10-21T13:39:56
144,990,240
5
2
Apache-2.0
2018-10-21T13:39:57
2018-08-16T13:17:25
C++
UTF-8
C++
false
false
4,592
h
/* Copyright 2015 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
36ecb1fc3a8d0e0f28c7ac69195152001d0d5eb6
cf703624da441b080d3fb3025ea2cd28223bd5ee
/RoboticCommunications/Pkt_Def.cpp
a66de16e91b5c7247d719a78475fc190d6e5455d
[ "MIT" ]
permissive
gponimansky/fictional-robot
d0b309f05c7d05694a467bdd5fa45880e4f66468
d15131d10f0fe84487058e1d4cf27a653297c4d2
refs/heads/master
2021-05-11T09:02:02.428093
2018-02-24T01:47:05
2018-02-24T01:47:05
118,067,833
1
0
null
null
null
null
UTF-8
C++
false
false
5,991
cpp
#include "Pkt_Def.h" // A default constructor that places the PktDef object in a safe state PktDef::PktDef() { // Set all Header information set to zero packet.header.PktCount = 0; packet.header.Drive = 0; packet.header.Status = 0; packet.header.Sleep = 0; packet.header.Arm = 0; packet.header.Claw = 0; pack...
[ "ponimansky.guy@gmail.com" ]
ponimansky.guy@gmail.com
ee95c81f584a2b8f034596f33db52b7c4ba02448
a6859fceb57bb63abf52a237ef1aee6d49e6c898
/book.cpp
ecb436753fbe1f3ce65a060363f811d43261e796
[]
no_license
tina-dragicevic/VjezbeCPP
e0cff325dd2be725f5b0f048e947f80c5a3fe20c
312e35bb343a384e7cab6211b0f886c77b0d1a30
refs/heads/master
2021-03-01T19:27:19.867586
2020-06-04T16:39:08
2020-06-04T16:39:08
245,809,612
0
0
null
null
null
null
UTF-8
C++
false
false
2,251
cpp
#include <iostream> #include <string> #include <string.h> #include <fstream> #include <iterator> #include <vector> #include <cstdlib> #include <bits/stdc++.h> #include "book.hpp" Book::Book(){} Book::Book(std::string name, std::string book){ this->name = name; this-> book = book; //this-> year = year; } /...
[ "noreply@github.com" ]
tina-dragicevic.noreply@github.com
f8d7b6804b696b4bf745573231ef68f1aefbc0b1
07aaed7174217ad11f873ec37776f1bacff5d314
/src/bindings/openFrameworks/ofMesh.cpp
cf490f131fd657d5317a5c2059506484f53939fe
[]
no_license
hackathon-ro/ofxMoonLight
2d774fb7a0e01c8f948989669f6f2cbd8df00b4c
94e3075b1c3a22c4f99a1628ceceb33dbcbc8635
refs/heads/master
2021-01-22T12:08:50.954001
2013-05-01T13:54:07
2013-05-01T13:54:07
9,562,505
1
2
null
null
null
null
UTF-8
C++
false
false
47,141
cpp
/** * * MACHINE GENERATED FILE. DO NOT EDIT. * * Bindings for class ofMesh * * This file has been generated by dub 2.1.~. */ #include "dub/dub.h" #include "3d/ofMesh.h" /** ofMesh::ofMesh() * api/openFrameworks/3d/ofMesh.h:13 */ static int ofMesh_ofMesh(lua_State *L) { try { int top__ = lua_gettop(L); ...
[ "leonard.chioveanu@gmail.com" ]
leonard.chioveanu@gmail.com
adef5d2ec738c540c7c15dd2460378e5a53c2871
259329665605d26dd12e3e99896d20a46ff6ae8b
/Capter13/1309.cpp
85a089ef95cf9469a70897c405d7ba68793002d5
[]
no_license
wada811/MeikaiClangNyumon
55cc45ae9411347d6d57d176dab3946db2f17a0f
b68a426a783654ca0a5f5c7b5676321f751dcbc6
refs/heads/master
2021-01-20T11:25:21.724263
2012-02-23T14:18:32
2012-02-23T14:18:32
3,524,224
1
0
null
null
null
null
SHIFT_JIS
C++
false
false
980
cpp
/* 演習13-9:List13-7のプログラムをもとに、すべての英小文字を英大文字に変換しながらコピーするプログラムを作成せよ。 */ #include <stdio.h> #include <ctype.h> int main(void){ int ch; FILE *sfp, *dfp; char sname[64], dname[64]; printf("コピー元ファイル名:"); scanf("%s", sname); printf("コピー先ファイル名:"); scanf("%s", dname); ...
[ "89.at.usi@gmail.com" ]
89.at.usi@gmail.com
42a28e2524374784c06010ba028e486ab2d36fc7
3dbdf3cf83418d139f14ad0d82df996477434114
/MyTetris/Figure.cpp
e22b65f956f4d6bff3dba9b38585a374162eab30
[]
no_license
Sergey978/MyTetris
2f536605c4b36eb6ff66709f8f6ea4c55f06502a
716cbacf25a140171d30ef80d914f5b7d9b47ae8
refs/heads/master
2020-03-25T23:41:15.434717
2018-08-10T13:13:27
2018-08-10T13:13:27
140,558,330
0
0
null
null
null
null
UTF-8
C++
false
false
1,862
cpp
#include "Figure.h" #include "CoordMask.h" #include<array> Figure::Figure(Coord metaPointCoords) { this->metaPointCoord = metaPointCoords; this->currentRotation = RotationMode::NORMAL; this->form = FigureForm::getRandomForm(); } Figure::Figure(Coord metaPointCoords, RotationMode::Mode rotation, FigureFor...
[ "Sergey@service1" ]
Sergey@service1
d242920ea7d00bde505815cf9c0eca9219ebb36a
f660c3b78634794e1b32ee9c139e9fb9539bc1a3
/SE-SEM2-Assigns/CGL/DottedLine1.cpp
ef2429af1f3829bf7b8767a0d51d41dc763683af
[]
no_license
ManishDV/Engineering-Assignments
2054f4bc3139df535e4c96c3affe21f1a510c522
a4fcb14793e4818b72c5a065708735a83cfbe55a
refs/heads/master
2021-06-11T20:01:43.607742
2021-05-30T09:30:31
2021-05-30T09:30:31
194,872,155
3
1
null
null
null
null
UTF-8
C++
false
false
4,179
cpp
#include <iostream> #include <GL/gl.h> #include <GL/glu.h> #include <GL/glut.h> #include <math.h> #include <string.h> using namespace std; struct point{ GLfloat x; GLfloat y; }; struct point p1; struct point p2; int count = 0; int CountDraw = 0; int SB = 0; void print(int x, int y,int z, char *string) { //s...
[ "manishvisave149@gmail.com" ]
manishvisave149@gmail.com
6119e15f85ff5fae8d26e191c3e9dc0fa66f9d33
f9dd7fb236f557f46dc7b627f3b271b072b70b18
/code/cgame/cg_draw.cpp
70919cb1167736e147d404ac93126b4ad7e30123
[]
no_license
emileb/JK3
b74a782de237326dabbf454e8174bb442fa7393f
dee58b46ee31690fae82fd5671d2c0b5b806840d
refs/heads/master
2021-01-19T05:25:21.632760
2014-02-27T17:48:52
2014-02-27T17:48:52
17,257,706
2
0
null
null
null
null
UTF-8
C++
false
false
95,784
cpp
// cg_draw.c -- draw all of the graphical elements during // active (after loading) gameplay // this line must stay at top so the whole PCH thing works... #include "cg_headers.h" //#include "cg_local.h" #include "cg_media.h" #include "../game/objectives.h" #include "../game/g_vehicles.h" #include "../game/g_local.h" ...
[ "emile.belanger@gmail.com" ]
emile.belanger@gmail.com
ece5c2d8e52d31b23c3f5c302c34ad1341e1ffba
72ca613537ffb197cf7048dadcac360b9a00b5e5
/rfid/RFID_ACCESS.ino
85815a79d14e2f56fa9d0c3ffe4aaa3b563366ff
[]
no_license
Mohamed-Trabelsi/Smart_Cinema-2A2-
346ac74783b5e4ad501ba96984daddaa9f0753da
03f24275d911696b68ac17bc925e55c3f6e54245
refs/heads/master
2023-02-14T01:42:22.476645
2021-01-08T11:29:08
2021-01-08T11:29:08
315,463,670
0
1
null
null
null
null
UTF-8
C++
false
false
3,807
ino
#include <SPI.h> #include <MFRC522.h> #include <Servo.h> #include <LCD.h> #include <LiquidCrystal_I2C.h> //Define variables #define I2C_ADDR 0x27 //Define I2C Address where the PCF8574A is #define BACKLIGHT_PIN 3 #define En_pin 2 #define Rw_pin 1 #define Rs_pin ...
[ "wiem.trifi@esprit.tn" ]
wiem.trifi@esprit.tn
87397ec3977948bfddc36171d974cc3ea12ac354
fd5178b83eb0cfc7ce205220c3d80b2d25bec656
/headers/FGTrain.h
869b1a645ecca2d1ab2f96ed4394d72f5123e515
[]
no_license
ficsit/community-resources
e2d916ed3709562318369c81f7e70645ce005326
974089a84046b524ed5e2d19de4c09e8230ac7bf
refs/heads/master
2021-01-04T15:50:29.879718
2020-03-11T17:02:14
2020-03-11T17:02:14
240,621,430
0
0
null
null
null
null
UTF-8
C++
false
false
17,549
h
// Copyright 2016-2019 Coffee Stain Studios. All Rights Reserved. #pragma once #include "GameFramework/Actor.h" #include "FGSaveInterface.h" #include "FGSignificanceInterface.h" #include "RailroadNavigation.h" #include "FGTrain.generated.h" class UFGRailroadTrackConnectionComponent; /** * Error codes for the sel...
[ "ian@nevir.net" ]
ian@nevir.net
83128928acea7de0941491cd521b5ae5ea6d7506
57370e163d07ceee075decd8bc25c8925a1262a7
/test/repeat_test.cpp
cffbc06a972203e6030e05c1f0488ff96ae1d8b5
[]
no_license
Infinoid/halide-sar-app
e195834ca694758b8a45f7a58b398d2c80ef20f6
65eec21ba534d0e4a36b98e79d0ec3e4cc520e84
refs/heads/master
2023-04-11T12:42:05.128153
2021-01-29T16:16:24
2021-01-29T16:16:24
304,348,129
0
0
null
null
null
null
UTF-8
C++
false
false
969
cpp
#include <stdio.h> #include <Halide.h> #include "repeat1.h" #include "test.h" using namespace std; using Halide::Runtime::Buffer; #define INPUT_NUM 10 #define REPEAT 2.5 #define OUTPUT_NUM (size_t)(INPUT_NUM * REPEAT) static void reference(float *ref) { for (size_t i = 0; i < OUTPUT_NUM; i++) { ref[i] ...
[ "cimes@isi.edu" ]
cimes@isi.edu
46231253d3cd6d337c64e9ae83f928498d848b5d
84642b969685d0a35578bc9dc8dbd964a3a177e4
/lf_stack.h
07b5cbbe502a15c89d777a13119db3a41b065004
[]
no_license
linfan255/tiny_stl
cde5519e4d5a2c300263d087bd72aff220a4f100
e6f4b326c1a90a1b5b5132d1aa23d9207ea53b94
refs/heads/master
2021-01-18T11:41:29.360064
2017-09-07T09:06:44
2017-09-07T09:06:44
100,361,184
0
0
null
null
null
null
UTF-8
C++
false
false
1,676
h
// // Created by van on 17-8-24. // #ifndef TINY_STL_LF_STACK_H #define TINY_STL_LF_STACK_H #include "allocator.h" #include "lf_deque.h" namespace lf { template <typename T, typename Container = deque<T> > class stack { public: typedef typename Container::value_type value_type; type...
[ "linfan255@163.com" ]
linfan255@163.com
0c73090def61de4dd6efdbcbe2b8adbb3654238d
f6607972b5a6f3eac63d350c2cee89ac87c2d45e
/Round.cpp
fe3ad22bb2589130ebca0e1464b0574e63c1b67f
[]
no_license
redwoudt/CrimeTime
c2adec108409b2eb74b0ffeb96b2a12673a5ecbd
cc6bab6b037d0e39d60872029261af46d02fda42
refs/heads/master
2021-01-10T05:05:23.899128
2015-09-25T09:10:02
2015-09-25T09:10:02
43,125,372
0
0
null
null
null
null
UTF-8
C++
false
false
179
cpp
// // Round.cpp // BytePlay // // Created by Redelinghuys, Ferdinand on 08/07/2015. // Copyright (c) 2015 Redelinghuys, Ferdinand. All rights reserved. // #include "Round.h"
[ "fcredelinghuys@gmail.com" ]
fcredelinghuys@gmail.com
7a0f5e48f44fa247195947ce6b6340cfeafab3c2
116894caf8dcccf6f70211e386b943c43485087f
/vendor/Qt5.14.2/msvc2017/include/QtCore/5.14.2/QtCore/private/qeventdispatcher_winrt_p.h
2672f11123642c060caca22f40851815f827beb4
[ "MIT" ]
permissive
kiseop91/Pomordor
04498276ea73daef37ad50b6f351a2ffd2ed7ab5
5bfbfaa9ceecdf147058ca49dc3c4fa8b442717c
refs/heads/develop
2023-03-25T22:15:59.964938
2021-03-20T07:59:37
2021-03-20T07:59:37
276,431,994
2
2
MIT
2020-12-21T04:31:02
2020-07-01T16:44:31
C++
UTF-8
C++
false
false
3,887
h
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the QtCore module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holding valid commerc...
[ "kiseop91@naver.com" ]
kiseop91@naver.com
8b4ce849f5c89f421530ae790381948e582e5df1
5740ea2c2d9d5fb5626ff5ad651f3789048ae86b
/Extensions/LightningShaders/LightningShaderIRTranslationPass.hpp
f9f9e222ecebd06b50846cf2078f0694be1c2f3e
[ "MIT" ]
permissive
donovan680/Plasma
4945b92b7c6e642a557f12e05c7d53819186de55
51d40ef0669b7a3015f95e3c84c6d639d5469b62
refs/heads/master
2022-04-15T02:42:26.469268
2020-02-26T22:32:12
2020-02-26T22:32:12
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,213
hpp
/////////////////////////////////////////////////////////////////////////////// /// /// Authors: Joshua Davis /// Copyright 2018, DigiPen Institute of Technology /// /////////////////////////////////////////////////////////////////////////////// #pragma once struct spv_diagnostic_t; typedef spv_diagnostic_t* spv_diagn...
[ "dragonCASTjosh@gmail.com" ]
dragonCASTjosh@gmail.com
2ae06808d0e23b7c9ddd91e550f0190293e9d93f
ba86279dd568979d29b7f3b92840dfb6bc1f3ba0
/TankWar1_9/TankMoveMsg.cpp
5d2a8131556119c07dcd902410c7819f3f4ab539
[]
no_license
ChenYilei2016/MyTankWar
5e690ea6e9defc3bc579b18c1b8c69dd816e51df
6ce8495bf8587fa74f4ab9d259e3e11297c14f0b
refs/heads/master
2020-03-27T05:23:01.420150
2019-01-01T05:14:34
2019-01-01T05:14:34
146,014,430
2
1
null
null
null
null
UTF-8
C++
false
false
1,360
cpp
#include "TankMoveMsg.h" #include <QList> TankMoveMsg::TankMoveMsg(int id, Direction dir, int x, int y) { this->id = id; this->x = x; this->y = y; this->dir = dir; } TankMoveMsg::TankMoveMsg(TankClient *tc, const QJsonObject &obj) { this->tc = tc; this->obj = obj; } void TankMoveMsg::sendMsg(N...
[ "705029004@qq.com" ]
705029004@qq.com
fbd831beee42d7770200615c8c326111f20bb76d
ec8d9b2487efa2b1d8f3a9ca48e85b931fae9c6f
/Arduino/lib/Collections/ArrayList.h
a38bf5ba8b727e6135edd583b1cf697d2d0903bc
[]
no_license
slavasemeniuk/Relays
d9e16b4b0d2ff1aa2a35a18cae37cec7aafd8682
08b60eac2d3205d9b29a34381fd76374cec1d379
refs/heads/master
2021-01-22T20:49:25.452300
2017-10-05T18:57:02
2017-10-05T18:57:02
85,363,979
0
0
null
null
null
null
UTF-8
C++
false
false
3,872
h
#ifndef ArrayList_h #define ArrayList_h #include "List.h" #include "MemoryFree.h"//TODO:@Deprecated template<typename T> class ArrayList : public List<T> { public: ArrayList(); ArrayList(uint16_t initialCapacity); ~ArrayList(); void add(T item); void add(uint16_t index, T item); T set(uint16...
[ "slavasemeniuk@gmail.com" ]
slavasemeniuk@gmail.com
481b23ce530639bf61e8b383ef6e479aa291e08f
3714fc7d4748b915fa32cda77218d7d4328f0d43
/minimoscuadrados.cpp
a3cccb8a9f7e99fd00a695d5c14b625576e540dd
[]
no_license
cnpoe/M-todos-num-ricos
987a30a272c059f67af30da09c0ca2e190b5962a
9b5551c085e9af449f11b1dcade0c57fe4fad78f
refs/heads/master
2021-01-11T16:55:35.786563
2017-01-28T05:57:26
2017-01-28T05:57:26
79,696,507
0
0
null
null
null
null
UTF-8
C++
false
false
589
cpp
#include<iostream> using namespace std; double a0, a1; void minimosCuadrados(int n, double *x, double *y){ double Sx = 0.0, Sx2 = 0.0, Sy = 0.0, Sxy = 0.0; for(int i = 0; i < n; i++){ Sx += x[i]; Sx2 = Sx2 + x[i] * x[i]; Sy += y[i]; Sxy = Sxy + x[i] * y[i]; } a1 = (n * Sxy - Sx * Sy) / (n * Sx2 - Sx * Sx...
[ "cnpoek@gmail.com" ]
cnpoek@gmail.com
a461ad78fa8f1a1f90c52b49bc8dcfda9cc6c46a
0de652685d9926570b59a74b5bf403a0795644b5
/h/Activeman.h
a8a582658b0e886641166ca43900c179ca80dda1
[]
no_license
zayac/runningram
b49215378f3ecfee3d24cb64ab2bb56f0c6bfc24
01ffeca795602b97583a4a6e089b8830e702e5f0
refs/heads/master
2020-03-30T21:59:14.160199
2011-09-30T19:15:41
2011-09-30T19:15:41
32,114,091
0
0
null
2020-02-28T21:18:31
2015-03-13T01:16:28
C++
UTF-8
C++
false
false
773
h
/* * File: Activeman.h * Author: necto * * Created on January 12, 2010, 12:32 AM */ #ifndef _ACTIVEMAN_H #define _ACTIVEMAN_H #include <list> #include "Transmitted.h" using std::list; class Canvas; class Active; class Battlefield; class Activeman :public list <Active*>, public Transmitted { void kill(itera...
[ "necto.ne@0b8b07ca-f9fe-11de-aabd-2bfef65f77b5" ]
necto.ne@0b8b07ca-f9fe-11de-aabd-2bfef65f77b5
a8666ee9164e30040e9b8df8ce4ff91d2223961d
b3f3a5ac8c57d6fe96fc74df732143b36fa2479b
/chapter12/12-23.cpp
df4f6e9d178e3773a6ad3b6b4a3296996fa79ae0
[]
no_license
wangzhengyang/MyC-PrimerAnswer
19ef7064b7e48f63e86e896e914dd8c92300d49e
c86ceea1667d3bb9078c22a55ec806c098773f46
refs/heads/master
2022-12-09T14:58:47.218957
2020-09-01T09:49:15
2020-09-01T09:49:15
261,182,915
0
0
null
null
null
null
UTF-8
C++
false
false
810
cpp
#include <iostream> #include <string> #include <cstdlib> #include <cstring> using namespace std; int main() { /* char *pc1 = "hello"; char *pc2 = "world"; size_t len = strlen(pc1) + strlen(pc2) + 1; char src[len] = {}; char *p = strcat(src, pc1); printf("%s\r\n", src); strcat(p, pc2); ...
[ "1484413135@qq.com" ]
1484413135@qq.com
f9e4520fe27d561f95128f61759c894e290a8d4c
c03615f53093643e3c1e323b83cbe77970966575
/PRT/3rdParty/cgal/cgal/include/CGAL/RS/rs3_k_refiner_1.h
c9a47446539b19570f2d973ba676372382f636b3
[]
no_license
fangguanya/PRT
0925b28671e756a6e9431fd57149cf2eebc94818
77c1b8e5f3a7a149825ad0cc3ef6002816222622
refs/heads/master
2021-06-08T20:54:22.954395
2016-11-24T07:38:11
2016-11-24T07:38:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,123
h
// Copyright (c) 2006-2013 INRIA Nancy-Grand Est (France). All rights reserved. // // This file is part of CGAL (www.cgal.org); you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public License as // published by the Free Software Foundation; either version 3 of the License, // o...
[ "succeed.2009@163.com" ]
succeed.2009@163.com
689a29cabd9c80aeb6a6d095e1029760b0d7323a
504665f830424caf004e4782a50cb8cab2356f9e
/src/data/example_parser.h
88d1857dc9e40d0e6fb3a3e3575aa9774b28195c
[ "Apache-2.0" ]
permissive
ChenglongChen/parameter_server
4d5a402a4d0e34e8269641fb754786ca8dfc4553
ba358357ba33a94a2af5798e49428a8d15bb12a8
refs/heads/master
2020-04-29T18:08:35.827133
2014-10-19T22:41:23
2014-10-19T22:41:23
null
0
0
null
null
null
null
UTF-8
C++
false
false
693
h
#pragma once #include "util/common.h" #include "proto/example.pb.h" #include "proto/config.pb.h" namespace PS { static const int kSlotIDmax = 4096; class ExampleParser { public: typedef DataConfig::TextFormat TextFormat; void init(TextFormat format, bool ignore_fea_slot = false); void clear(); bool toProto...
[ "muli@cs.cmu.edu" ]
muli@cs.cmu.edu
379310db1822d85f36ab4942501aaf1783bccdfd
054ba082469edd7e25c0c52abaebe5ce1f1eec06
/hhcards/Classes/PokerStateInitial.h
1ba9010fa84ba192ca936359d9bb44d33a155070
[ "MIT" ]
permissive
duhone/HeadstoneHarryCards
3d5ddf8f865a81c3b85eaad187cfc60226bebc14
1a08d671835c659e543faca238a5661b4b59262f
refs/heads/master
2020-12-29T12:56:28.444477
2020-02-06T13:43:18
2020-02-06T13:43:18
238,614,611
1
0
null
null
null
null
UTF-8
C++
false
false
1,295
h
/* * PokerStateInitial.h * hhcards * * Created by Eric Duhon on 3/7/10. * Copyright 2010 Apple Inc. All rights reserved. * */ #pragma once #include "PokerHand.h" #include "Graphics.h" #include "PokerState.h" namespace CR { namespace HHCards { template<typename DeckType> class PokerStateInitial : publi...
[ "duhone@outlook.com" ]
duhone@outlook.com
6253092fbc5f00e5d06dacbc94b3a85d6578df46
756fce0e51a4888fd6190b925262d88d49e17c84
/BSGenLib/Include/Common/BSUtil.h
0fe09d242ff7634b20d9037d8020df80c99a9231
[ "Apache-2.0" ]
permissive
kivzcu/BSGenLib
15d32495e9985ed91896bfcd322eec9fce53b2f4
1aeb245eb873f8f23d4a03cd31d5534fa3f4500d
refs/heads/master
2021-07-13T12:11:13.689415
2020-06-12T09:15:03
2020-06-12T09:15:03
124,209,186
0
1
null
null
null
null
UTF-8
C++
false
false
195
h
#pragma once class CBSUtil { public: //formats time given in milliseconds static CString FormatTime(double time); //formats time given is bytes static CString FormatSize(DWORD dwBytes); };
[ "besoft@kiv.zcu.cz" ]
besoft@kiv.zcu.cz
cd624ac9c9ed132f40e8be8ed38914e3d3ec2728
401d9120db1750d65312479e5e99ff7ab1a867b3
/poj-3150-循环矩阵快速幂.cpp
5ffeb89b5ef410b9b8804052af1b60140c3de779
[ "MIT" ]
permissive
ZxMYS/Xiaos-ACM-Solution-Set
ff14348149bae56a7689a87ef5796533fff70aed
cfd7fc34deac27f4e0267a4eb3cc396c0a8dbe8f
refs/heads/master
2021-01-01T15:54:39.868855
2013-02-01T11:32:41
2013-02-01T11:32:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,390
cpp
#include<stdio.h> #include<stdlib.h> #include<time.h> #include<string.h> #include<math.h> #include<assert.h> #include<iostream> #include<algorithm> #include<numeric> #include<vector> #include<map> #include<queue> #include<list> #include<sstream> using namespace std; #define LOOP(x,y,z) for((x)=(y);(x)<=(z);(x)++) #defi...
[ "manyoushen@gmail.com" ]
manyoushen@gmail.com
eaf622101605305179c545e5166a23cb56b43f41
75ee9d3ea8560eacada7049107b88d126ed85c23
/devel/include/gazebo_msgs/SetJointTrajectoryRequest.h
51ded98c5ea8a2adf868b7a577d25479c2fe42eb
[]
no_license
LordBismaya/FrenchVanilla
f1cf9047127884733bfdd53d5a4a2e5723f61a93
fe6f0cd608373814558281878b90da41ae8ed32b
refs/heads/master
2021-05-04T10:09:09.957348
2016-04-06T08:49:09
2016-04-06T08:49:09
55,325,248
0
2
null
2018-11-28T16:21:21
2016-04-03T02:05:36
C++
UTF-8
C++
false
false
9,540
h
// Generated by gencpp from file gazebo_msgs/SetJointTrajectoryRequest.msg // DO NOT EDIT! #ifndef GAZEBO_MSGS_MESSAGE_SETJOINTTRAJECTORYREQUEST_H #define GAZEBO_MSGS_MESSAGE_SETJOINTTRAJECTORYREQUEST_H #include <string> #include <vector> #include <map> #include <ros/types.h> #include <ros/serialization.h> #includ...
[ "bsahoo@uwaterloo.ca" ]
bsahoo@uwaterloo.ca
1261141cbf8dab5ac05af792568f606cef3b34d3
6b5d6690678f05a71837b85016db3da52359a2f6
/src/net/base/network_delegate.h
81d81902412f89f952976e569132b9949d08e1fb
[ "BSD-3-Clause", "MIT" ]
permissive
bopopescu/MQUIC
eda5477bacc68f30656488e3cef243af6f7460e6
703e944ec981366cfd2528943b1def2c72b7e49d
refs/heads/master
2022-11-22T07:41:11.374401
2016-04-08T22:27:32
2016-04-08T22:27:32
282,352,335
0
0
MIT
2020-07-25T02:05:49
2020-07-25T02:05:49
null
UTF-8
C++
false
false
13,924
h
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef NET_BASE_NETWORK_DELEGATE_H_ #define NET_BASE_NETWORK_DELEGATE_H_ #include <stdint.h> #include <string> #include "base/callback.h" #include...
[ "alyssar@google.com" ]
alyssar@google.com
193a989413c56a0b704462539d265b8d4251950a
5cdd9c1b6adb67fec94f6349ad6203ce2702fecb
/third_party/Windows-CalcEngine/src/SpectralAveraging/src/SpectralSample.cpp
8059abab1fd086bb4128fe977e9d40a0717347d3
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
NREL/EnergyPlus
9d8fc6936b5a0c81d2469ab9cdabe55405ccb8f2
50b8a5511ce559e5175524b943c26cc5b99d712d
refs/heads/develop
2023-09-04T08:20:29.804559
2023-09-01T13:58:55
2023-09-01T13:58:55
14,620,185
1,013
406
NOASSERTION
2023-09-14T19:52:57
2013-11-22T14:47:34
C++
UTF-8
C++
false
false
12,527
cpp
#include <stdexcept> #include <cassert> #include "SpectralSample.hpp" #include "MeasuredSampleData.hpp" #include "WCECommon.hpp" using namespace FenestrationCommon; namespace SpectralAveraging { ////////////////////////////////////////////////////////////////////////////////////// //// CSample ////////...
[ "dvvidanovic@lbl.gov" ]
dvvidanovic@lbl.gov
034d241f110b11f3fa8acbfec92763b24270f9e1
a8e9dc87186626e726ebadfa490e4f7850a07d8e
/wpfib_essentials/fiberapp/fiber/webrtc/webrtc/modules/video_capture/windows/win_capture_feature_flags.h
83537477383e8453de916065e6b36cc9160d736a
[]
no_license
ymusiychuk-lohika/FreeSWITCH_test
25ca23bee1178c081abd002438888ea15a37187d
2ca7a992e1087442b6484699d24706085fc2851d
refs/heads/master
2021-01-12T10:51:55.561944
2016-12-12T11:57:27
2016-12-12T11:57:27
72,739,774
0
1
null
null
null
null
UTF-8
C++
false
false
2,227
h
#ifndef __WIN_CAPTURER_FEATURE_FLAGS_H_ #define __WIN_CAPTURER_FEATURE_FLAGS_H_ namespace BJN { // Feature type description, used by windows app capture process typedef enum _FeatureType { CaptureApp2UsingLatest = 1, // AppCapture2 with hooks and magnification CaptureScreenUsingD...
[ "ymusiychuk@lohika.com" ]
ymusiychuk@lohika.com
fd4065d7ab4f3c7636ae84ed72086961b60ea838
4ee4b2d880fbd89bdf646570b6d2b3356488f143
/witisoPC/32cpp/贺利坚/查找与二叉搜索树与排序/归并排序.cpp
a851c4e2a16ea7bc72fa02b54ac971f856a6e94f
[]
no_license
wwuhn/wwuhn.github.io
8e5b3422c91f50c4ca989ed53b0d0e27131b574f
c63929f95557398b9f58319fe51a2ab00055afa4
refs/heads/master
2023-06-24T16:32:47.855733
2023-06-11T02:32:07
2023-06-11T02:32:07
211,744,777
3
3
null
null
null
null
GB18030
C++
false
false
2,387
cpp
// 归并排序 #include <stdio.h> #include <malloc.h> #define MaxSize 20 typedef int KeyType; //定义关键字类型 typedef char InfoType[10]; typedef struct //记录类型 { KeyType key; //关键字项 InfoType data; //其他数据项,类型为InfoType } RecType; //排序的记录类型定义 void Merge(RecType R[],int low,int...
[ "noreply@github.com" ]
wwuhn.noreply@github.com
96a58bc8d4fd4762701890e6efd067f045b66fc1
ed6cc29968179d13bb30c73dbf2be2fb6469d495
/pizza/Pizzeria_86_Programma/OrderUI.cpp
6d4603d222fe3d81888e45865ea6988d804cd252
[]
no_license
sindri69/pizza420
e0880eea7eb0dbdeabae3dc675dba732a1778d90
a0f78b59b5830ff67e9b5456a6e6d229869628f5
refs/heads/master
2021-08-28T14:59:32.423484
2017-12-12T14:19:05
2017-12-12T14:19:05
112,332,570
0
0
null
null
null
null
UTF-8
C++
false
false
1,849
cpp
#include <iostream> #include <fstream> #include "MainUI.h" #include "OrderUI.h" #include "Pizza.h" using namespace std; OrderUI::OrderUI() { //ctor } OrderUI::~OrderUI() { //dtor } void OrderUI::start_orderUI() { char selection = '\0'; while (selection != 'q') { cout << "Pizzeria_86_Progra...
[ "sindrii17@ru.ism" ]
sindrii17@ru.ism
23a70cc46fed2cd56bcfc379f4a6166b497bedae
a5f28e6f80a2e0ddf1fb2c8cdb2e74de2e4ff499
/src/image.h
9a7340566e25aea10335fc2e168334502f3e6230
[ "MIT" ]
permissive
fmdunlap/Art2Ascii
bdc3b1db0f7376305146dec6d7ca654b82a8e670
aab23cfba608c5e964c4c14126d4636dc96ebc37
refs/heads/master
2021-07-10T10:53:55.039243
2017-10-09T22:14:45
2017-10-09T22:14:45
105,313,402
0
0
null
null
null
null
UTF-8
C++
false
false
1,678
h
#include "../libs/CImg.h" #include <string> const int MAX_BRIGHTNESS = 255; const int DEFAULT_RESOLUTION = 6; enum PROCESS_TYPE{ standard, color, edge, transparency }; class image{ public: image(char* filename); image(char* filename, PROCESS_TYPE pt); ~image(); /*Computes the average brightness of a 'block...
[ "Fdunlap@usc.edu" ]
Fdunlap@usc.edu
190e39e9df0cbb5bb6cff08434721f2565aaf74e
364447971631437542a0240cfc1725eabecccc57
/Userland/Libraries/LibJS/Runtime/SymbolPrototype.h
7d0a92a5dbcda9726381994a237e98279e04b856
[ "BSD-2-Clause" ]
permissive
Jicgiebcden/serenity
aeb749fd18edb0191f5631b467ec7cd6a0e4eefb
f54a6d273e04f1739950c86dfcb026d746454f6a
refs/heads/master
2023-04-15T06:30:41.710696
2021-04-22T10:38:44
2021-04-22T11:05:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
568
h
/* * Copyright (c) 2020, Matthew Olsson <matthewcolsson@gmail.com> * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include <LibJS/Runtime/Object.h> namespace JS { class SymbolPrototype final : public Object { JS_OBJECT(SymbolPrototype, Object); public: explicit SymbolPrototype(GlobalObject&)...
[ "kling@serenityos.org" ]
kling@serenityos.org
de610465f2333b5a0df30cf321e9c26b5ac0e6ea
0c80aec0be5a600426006096a5c510c90b3ca949
/Leetcode/String/Ransom_Note.cpp
e0b441ab123c69b549f8808fcaead612822efa62
[]
no_license
skywithlight/Algorithms
7b8fd78874afffc8ae7c2775b53d2402cc165e65
06a13fbb73ea1404a7d0eaab56765ec2423f9e07
refs/heads/master
2020-03-23T21:20:04.814645
2018-10-16T03:59:42
2018-10-16T03:59:42
142,098,756
0
0
null
null
null
null
UTF-8
C++
false
false
726
cpp
class Solution { public: bool canConstruct(string ransomNote, string magazine) { int len, len2, i = 0, ans2 = 0, tem; len = ransomNote.length(); len2 = magazine.length(); bool ans = false; while (i < len){ tem = ans2; for (int j = 0; ...
[ "noreply@github.com" ]
skywithlight.noreply@github.com
77210713f8502f747963a6832fc90417e0004e04
60619a8daa4603fb65f4f86f383a6ddde841e326
/2014-06-13/b.cpp
3682644ffc1f692ce807f1420d673c08b93b4f8b
[]
no_license
MYREarth/secret-weapon
f4b1d4b995951546b2fb1e40190707a805fb88b5
77f3ff1111aafaaae8f56893b78e3be9134437a9
refs/heads/master
2020-05-22T02:29:43.024017
2015-10-03T08:17:46
2015-10-03T08:17:46
186,199,326
3
0
null
2019-05-12T01:46:13
2019-05-12T01:46:13
null
UTF-8
C++
false
false
712
cpp
#include <cstdio> #include <cstring> bool vis[3010][3010]; double f[3010][3010]; int n,A,B,me; double dp(int a,int b) { if (vis[a][b]) return(f[a][b]); vis[a][b]=true; double &ret=f[a][b]; if (a+b==n) ret=0; else { int da=A-a,db=B-b; double tot=da*2.0+db+me; ...
[ "ftiasch0@gmail.com" ]
ftiasch0@gmail.com
26e8f2ff90c0516841762f150b644e502fcd1ac0
80afdd987b0a8cf093d17ca3cd45a58cd0b97ead
/std-bind/copy-semantics/copy-semantics.cpp
6d273eb136ab5876d5fd20078dbeed67bf256d79
[]
no_license
dkambam/purer-interface
de6f739c8c1d8395a64b1a27420c4aae2846133e
b425a95ce8b5450183601d0c0d8fc32511986659
refs/heads/master
2021-01-19T11:15:39.379940
2015-03-17T00:14:50
2015-03-17T00:14:50
31,994,138
0
0
null
null
null
null
UTF-8
C++
false
false
477
cpp
#include <iostream> int sub(int a, int b); int main(){ int x = 10; std::function< int(void) > f; f = std::bind( sub, 29, x ); x = 20; f(); // o/p: (29 - 10) = 19 f = std::bind( sub, 29, std::ref(x) ); // std::ref avoids copy f(); // o/p: (29 - 20) = 9 return 0; } int sub(int a, in...
[ "kdr.code@gmail.com" ]
kdr.code@gmail.com
edfd45a73fd6b8a60b59c00e225cbee75767aa25
1ea8698c8b7a447e172f146c3fa61a686c4862ef
/src/main.cpp
bacf0678f1a1b078e5efa02427626f32ed2a85de
[]
no_license
deniskorobicyn/dip-cpp
db1d44e62c8c07012746f8300d82b22171a4bf4b
9b421063d3e5416b51f21d97a400a1d7913f70ae
refs/heads/master
2020-05-23T10:22:45.129642
2017-09-07T19:38:47
2017-09-07T19:38:47
80,429,199
2
0
null
null
null
null
UTF-8
C++
false
false
506
cpp
#include <iostream> #include <stdio.h> /* defines FILENAME_MAX */ #include "yaml-cpp/yaml.h" #include "arguments.h" #include "dip.h" using namespace dip; int main(int argc, char **argv, char** envp) { Arguments args(argc, argv, envp); if (1 == args.parse()) { std::cout << args.error_message() << std::endl; ...
[ "deniskorobitcin@gmail.com" ]
deniskorobitcin@gmail.com
d0b0dbd17425cb6797e716c509560ae5eaa9961e
1a2244c5b9879492227fec5ac86bf0b8ed8d19b1
/CS470.skel/hw4/HW_resize.cpp
f3f0a55fbb3980b8fbc41627dbcc044f5b5e41e8
[]
no_license
mhasan004/Image-Processing-Program
77b58cdb0a0abd5eac327a4759eb3b68a460ca87
e5b7ee6fc26447306de03fef21024b04e007a621
refs/heads/master
2022-03-17T23:53:19.718885
2019-12-12T06:00:36
2019-12-12T06:00:36
211,395,282
2
0
null
null
null
null
UTF-8
C++
false
false
7,302
cpp
#include "IP.h" using namespace IP; enum FILTERS { BOX, TRIANGLE, CUBIC_CONV, LANCZOS, HANN, HAMMING }; double boxFilter (double, double); double triFilter (double, double); double cubicConv (double, double); double lanczos (double, double); double hann (double, double); double hamming (double, double); // ~~~~~...
[ "mhasan0047@gmail.com" ]
mhasan0047@gmail.com
a5eb55138095c7e9d194d9c12146ea2ec880b807
2f87d0719a1e45bee3ab921682c6abd4d1edcff6
/11.5.1/Linux/Samples/CaptureStills/ImageWriterLinux.cpp
0c1bacae6e0117839f4c024384f15c062a6c2b7a
[]
no_license
LTNGlobal-opensource/bmsdk
28fdadb9db07916473d07f51ffd0bb3ef02dd883
8c7406c2dcd7e7383d69a61cf4c1506835b61570
refs/heads/master
2022-10-11T05:04:35.742445
2020-06-10T16:16:04
2020-06-10T16:16:04
116,147,880
0
2
null
2020-06-10T00:10:25
2018-01-03T14:46:11
C++
UTF-8
C++
false
false
4,206
cpp
/* -LICENSE-START- ** Copyright (c) 2018 Blackmagic Design ** ** Permission is hereby granted, free of charge, to any person or organization ** obtaining a copy of the software and accompanying documentation covered by ** this license (the "Software") to use, reproduce, display, distribute, ** execute, and transmit the...
[ "stoth@kernellabs.com" ]
stoth@kernellabs.com
b026619663bbbb230db32d0895194bcced2f02aa
c3ffa07567d3d29a7439e33a6885a5544e896644
/HSNU-OJ/399.cpp
1960ad86cb7470ba6d47101d39bac20599eb1123
[]
no_license
a00012025/Online_Judge_Code
398c90c046f402218bd14867a06ae301c0c67687
7084865a7050fc09ffb0e734f77996172a93d3ce
refs/heads/master
2018-01-08T11:33:26.352408
2015-10-10T23:20:35
2015-10-10T23:20:35
44,031,127
0
0
null
null
null
null
UTF-8
C++
false
false
1,083
cpp
#include<bits/stdc++.h> #define LL long long using namespace std; const int maxn=100000+10 ; int w[maxn] ; vector<int> v1[maxn],v2[maxn] ; bool vis1[maxn],vis2[maxn] ; LL dp[2][maxn] ; void dp1(int x) { if(vis1[x]) return ; vis1[x]=1 ; LL &ans=dp[0][x] ; ans=w[x] ; for(auto i : v1[x]) ...
[ "a00012025@gmail.com" ]
a00012025@gmail.com
41f2a3a27ef5711184ab146abf95e64679788802
39b0b95dc24b1b881ae606a4614b541b3c0329e1
/BJ_11060/BJ_11060_LCH.cpp
5caf5b789946d381a9129eb03663b668269d2f85
[]
no_license
Algorithm-Study-Of-Gist/ProblemSource
46c9c1deafc23e64407e4787a1b240770c4f31ff
f55ed6fe6569e8b82e7a3c5fb944aac33e15a267
refs/heads/master
2022-07-24T08:29:04.177285
2020-05-21T14:45:26
2020-05-21T14:45:26
261,803,305
1
3
null
2020-05-21T14:28:38
2020-05-06T15:35:12
Java
UTF-8
C++
false
false
369
cpp
#include <cstdio> int main(){ int n, jump[2000], dp[2000] = {0}; scanf("%d", &n); for(int i=0; i<n; i++) scanf("%d", &jump[i]); for(int i=1; i<n; i++) dp[i] = 99999999; for(int i=0; i<n; i++){ for(int j=1; j<=jump[i]; j++){ dp[i+j] = dp[i+j] > dp[i]+1 ? dp[i]+1 : dp[i+j]; } } if(dp[n-1] == 999999...
[ "chayhyeon@naver.com" ]
chayhyeon@naver.com
062f9bd1ab767c2d251f3b74469264d5910c0550
67f2da456f3d395de4de6e27fa471df5bf0766f1
/Arduino_Matrix_GUI/include/statHandler.h
fc18feee8903908c78f6c966e52660efe19a93f2
[]
no_license
SjoerdJoosen/Pixl-Impact
eb78e127e77cae581b98b85186fc62e3f3fc93bd
0294bd6a01005280999e83c44bb6980087545789
refs/heads/main
2023-02-16T23:44:08.753548
2021-01-14T11:00:32
2021-01-14T11:00:32
317,810,649
0
0
null
null
null
null
UTF-8
C++
false
false
297
h
#ifndef STATHANDLER_H #define STATHANDLER_H #include <Arduino.h> class StatHandler{ private: int statValue; int oldStatValue; public: StatHandler(){}; StatHandler(int baseStat); int getStat(); void setStat(int valueToSetTo); bool checkForChange(); }; #endif
[ "74236811+reddog34@users.noreply.github.com" ]
74236811+reddog34@users.noreply.github.com
27808db647ac173bcfe276db4d40b88379c703fc
7a32cee45cdb5bc9357963eb69f458f53bfaffe4
/vol2_src_ref/Plugins/Molecule1/MoleculeUtils.cpp
8bc3eb53f3b3ecc1ec663611711f303dab5ceea7
[]
no_license
kingmax/mayaProgrammingB
464f36027672ed2d911dab7528b27f214f8231d9
13b09747f142b6654b6fcb43107e9d6d476eadf7
refs/heads/master
2021-10-24T02:30:36.708392
2019-03-21T06:13:00
2019-03-21T06:13:00
97,942,873
0
0
null
null
null
null
UTF-8
C++
false
false
3,755
cpp
// // This file accompanies the book "Complete Maya Programming (Volume 2)" // For further information visit http://www.davidgould.com // // Copyright (C) 2004 David Gould // All rights reserved. // #include "MoleculeUtils.h" #include <maya/MTypes.h> #include <maya/MGlobal.h> #include <maya/MVector.h> #include <m...
[ "kingmax_res@163.com" ]
kingmax_res@163.com
3f18d0ec33b37a07eda83e506ad8b9d23583af76
d0fb46aecc3b69983e7f6244331a81dff42d9595
/live/src/model/CreateMessageAppRequest.cc
51cf0038641ac83a7c7c8b4795991b463c695310
[ "Apache-2.0" ]
permissive
aliyun/aliyun-openapi-cpp-sdk
3d8d051d44ad00753a429817dd03957614c0c66a
e862bd03c844bcb7ccaa90571bceaa2802c7f135
refs/heads/master
2023-08-29T11:54:00.525102
2023-08-29T03:32:48
2023-08-29T03:32:48
115,379,460
104
82
NOASSERTION
2023-09-14T06:13:33
2017-12-26T02:53:27
C++
UTF-8
C++
false
false
1,955
cc
/* * Copyright 2009-2017 Alibaba Cloud 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...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
d90917b0c97a5053f752d85b996b6de6977b8f3b
cdd97aba68281f2a862d8441c9ec0456bf108163
/benchmarks/src/453.povray/src/objects.cpp
f53b5f219b325a8ccfd01040b89ac4874709f1a1
[]
no_license
elbrandt/CS752_Proj
894cf78096d8d8916c30acfbadda36729e69006a
546a5d0602211fcf8b93492e3cabf61dce6194c0
refs/heads/main
2023-02-02T07:33:15.191093
2020-12-16T02:44:18
2020-12-16T02:44:18
312,392,830
1
1
null
null
null
null
UTF-8
C++
false
false
17,197
cpp
/**************************************************************************** * objects.cpp * * This module implements the methods for objects and composite objects. * * from Persistence of Vision(tm) Ray Tracer version 3.6. * Copyright 1991-2003 Persistence of Vision Team * Copyright 2003-2004 Per...
[ "eric.l.brandt@gmail.com" ]
eric.l.brandt@gmail.com
9cdce25dba60d2156d236058ead315132f55681f
20b85b68ceb95798832bfc6858ddecc06d86250b
/plugins/mdaAmbience.h
420e4b2c61ff72eb3a04affc13cf8298f64a3d65
[ "MIT" ]
permissive
elk-audio/mda-vst2
6ede7e9bf303e087fa2b123bba8fff32b7a827f5
8ea6ef97946a617d73e48d245777e57fb984357f
refs/heads/master
2020-11-28T11:27:08.490888
2019-12-23T17:42:00
2019-12-23T17:42:00
229,798,075
6
2
null
null
null
null
UTF-8
C++
false
false
1,260
h
#ifndef __mdaAmbience_H #define __mdaAmbience_H #include "audioeffectx.h" class mdaAmbience : public AudioEffectX { public: mdaAmbience(audioMasterCallback audioMaster); ~mdaAmbience(); virtual void process(float **inputs, float **outputs, VstInt32 sampleFrames); virtual void processReplacing(float **inputs, flo...
[ "stefano@elk.audio" ]
stefano@elk.audio
a873fcce68083cc35007daa5adc2316f330c9df2
87b1736c19cd79903aaf7df9e8a7f52b0bbe355c
/lab8/cq1.cpp
9b12146d5ca6407f9eb25de9594a3fe10297b6f3
[]
no_license
imagine5am/cs699-pm9
85029a0ab8e41f90038ab86caf0e8db0edb6bee1
0c28d479c688387f66575317bcadf667d8abb78a
refs/heads/main
2023-04-06T15:37:19.828890
2021-04-29T18:27:31
2021-04-29T18:27:31
362,910,668
0
0
null
null
null
null
UTF-8
C++
false
false
2,148
cpp
#include <cstdlib> #include <cstring> #include <iostream> using namespace std; struct eArray{ private: // put data members here int *data_ptr; int nums = 0, heap_size = 0; static const int DEFAULT_SIZE = 32; public: // construct an array with 0 elements eArray(){ data_ptr = (int*) malloc(DEFAULT_SIZ...
[ "ssood@cse.iitb.ac.in" ]
ssood@cse.iitb.ac.in
2aa84d3a8a190662ec149cf8e5da3e27e09c996a
b20203514a73611acd5f226ba4c1668140959e8d
/ctraj/pp_util.cc
075abb0709f828a28dfd757eba50290ea23e86a9
[ "MIT" ]
permissive
Edroor/libmsci
978d748e2ec788bc5b28eadf311d4c497d95f705
872dc362292d93ce4966e554494bfa156594c9d9
refs/heads/master
2023-02-22T10:17:52.934272
2021-01-25T05:40:42
2021-01-25T05:40:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
10,634
cc
#include <stdio.h> #include <stdint.h> #include <gsl/gsl_fft_complex.h> #include "peteys_tmpl_lib.h" #include "error_codes.h" #include "full_util.h" #include "time_class.h" #include "ctraj_defaults.h" #include "pp_util.h" #include "ctraj_3d_fields.h" using namespace libpetey; namespace ctraj { void swap_endian...
[ "peteymills@hotmail.com" ]
peteymills@hotmail.com
9074a55bb5784d4e4ebf3a1c35e5d17e79c7a6c5
64892882b204aa9930b5b247a7695e9e466c0ab7
/MKA/Lab2_v4/Lab2_v4/main.cpp
3696ff10c09fe65e803c2f709a081d469c453bac
[]
no_license
zhekaso/ms-homework
13672346007954c518c758775ad39df0f284a7af
5518a18736d43faf7a112d9b08f70e35bb24ea86
refs/heads/master
2020-03-28T07:28:05.084024
2018-09-27T15:31:35
2018-09-27T15:31:35
147,903,240
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
2,563
cpp
#include "mesh.h" void main() { setlocale(LC_ALL, "Russian"); MESH disk; disk.input(); int user_choise; bool end = false; while (!end) { printf("\t1) По номеру КЭ получить номер его базисых функций;\n\t2) По двум узлам получить номер ребра;\n"); printf("\t3) По номеру ребра узнать номера вершин, составляющ...
[ "andrei.brenev@mail.ru" ]
andrei.brenev@mail.ru
800f99883a5ce0014adacf6741468451cd7bfb9f
cec302f1b0a1f4c41c3a0b5f9b90d4ab902005a6
/case-studies/h2o/src/H2oEnclave/h2omain/compress.cpp
ddbee838f6cbe3b6250c231af4810246bbbbb0b0
[ "Apache-2.0" ]
permissive
kripa432/Panoply
cf4ea0f63cd3c1216f7a97bc1cf77a14afa019af
6287e7feacc49c4bc6cc0229e793600b49545251
refs/heads/master
2022-09-11T15:06:22.609854
2020-06-03T04:51:59
2020-06-03T04:51:59
266,686,111
0
0
null
2020-05-25T04:53:14
2020-05-25T04:53:14
null
UTF-8
C++
false
false
6,533
cpp
/* * Copyright (c) 2015 DeNA Co., Ltd., Kazuho Oku * * 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,...
[ "shwetasshinde24@gmail.com" ]
shwetasshinde24@gmail.com
228f42d80bb03af2317eac133e4f52b7060836a9
99387b630d7657c292dea99c7f1d6987925b667d
/src/snp_clustering.cpp
8035efa204047e26a516689dca54fe670b63de0b
[]
no_license
timdallman/snpaddress
8728b27d4074d2f82b904bb5fe19a0f8fcf0cf45
ee239617ec9ee8e882c055fe3e34412fddddce64
refs/heads/master
2020-04-15T00:06:19.999744
2015-08-04T12:13:14
2015-08-04T12:13:14
40,179,521
1
0
null
null
null
null
UTF-8
C++
false
false
10,758
cpp
#include <iostream> #include <string.h> #include <string> #include <sstream> #include <fstream> #include <iomanip> #include <vector> #include <cmath> #include <map> #include <vector> #include <algorithm> #include <stdio.h> #include <stdlib.h> using namespace std; ////////////////////////////////CLASSES////////////////...
[ "tim.dallman@phe.gov.uk" ]
tim.dallman@phe.gov.uk
9b442b0a14b3130b01b63610d8c4c5dc71954ae8
d92304badb95993099633c5989f6cd8af57f9b1f
/Codeforces/723-B.cpp
6063ccefff2dc690512e105e6bcbcd50437013b7
[]
no_license
tajirhas9/Problem-Solving-and-Programming-Practice
c5e2b77c7ac69982a53d5320cebe874a7adec750
00c298233a9cde21a1cdca1f4a2b6146d0107e73
refs/heads/master
2020-09-25T22:52:00.716014
2019-12-05T13:04:40
2019-12-05T13:04:40
226,103,342
0
0
null
null
null
null
UTF-8
C++
false
false
3,059
cpp
#include <bits/stdc++.h> using namespace std; #define MAX 1000000007 #define MOD 1000000007 #define rep(i,a,b) for(i=a;i<=b;i++) #define repR(i,a,b) for(i=a;i>=b;i--) #define mp(x,y) make_pair(x,y) #define pb(x) emplace_back(x) //#define pb(x) push_back(x) #define all(c) c.begin(),c.end() #define F first #define...
[ "tajircuet@gmail.com" ]
tajircuet@gmail.com
2639eefe0aae88c9708c95373b259345bd726666
6c766846a9c07523369d3a5b55d77adb3808e5aa
/FinalPass/FinalPass.cpp
65b4029d0872156d4cd24dac597ccab9461d59e6
[]
no_license
danny30312/EECS-583-FinalProject
404133539826d341293d2abc7e3875316d8e0566
ba5d087f971d20687714dcd8a2451fc65537de44
refs/heads/main
2023-01-22T16:45:36.522007
2020-11-28T19:49:04
2020-11-28T19:49:04
316,807,908
0
0
null
null
null
null
UTF-8
C++
false
false
5,123
cpp
#include "llvm/Transforms/Scalar/LICM.h" #include "llvm/ADT/SetOperations.h" #include "llvm/ADT/Statistic.h" #include "llvm/Analysis/AliasAnalysis.h" #include "llvm/Analysis/AliasSetTracker.h" #include "llvm/Analysis/BasicAliasAnalysis.h" #include "llvm/Analysis/CaptureTracking.h" #include "llvm/Analysis/ConstantFoldin...
[ "chchuang@eecs583a.eecs.umich.edu" ]
chchuang@eecs583a.eecs.umich.edu
165a81454f3fe79f9174a0cec1d1b961fdf8fc18
4be7a3f1465554edc9b31aacc2692daac51c46aa
/SEMPHY/lib/betaDistribution.cpp
9d62f7c53a857b9861cc277658a0cd406738bcb9
[]
no_license
kbavishi/MineBench
b90eaeb485b736cb80a4a5a7d09f966ef3eedf9d
74a8ef895a07f32164b20876798560f02f2b561e
refs/heads/master
2021-01-18T23:13:07.585731
2017-04-17T21:29:44
2017-04-17T21:29:44
87,095,090
2
0
null
null
null
null
UTF-8
C++
false
false
3,301
cpp
// $Id: betaDistribution.cpp 2399 2014-03-13 22:43:51Z wkliao $ #include "betaDistribution.h" #include "gammaUtilities.h" #include "betaUtilities.h" #include "errorMsg.h" #include "logFile.h" #include <cmath> betaDistribution::betaDistribution() { _alpha = 0.0; _beta = 0.0; _boundary.resize(0,0); _rates.resize(...
[ "karan.bavishi90@gmail.com" ]
karan.bavishi90@gmail.com
d1289cf61b7c7e37a3e19d5c2595093e096350c0
8dc84558f0058d90dfc4955e905dab1b22d12c08
/ash/system/power/power_event_observer.cc
b232f6260595da5e0174a196226af9f0fce1a7c8
[ "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
14,555
cc
// Copyright 2013 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 "ash/system/power/power_event_observer.h" #include <map> #include <utility> #include "ash/public/cpp/config.h" #include "ash/root_window_contro...
[ "arnaud@geometry.ee" ]
arnaud@geometry.ee
723f720dff4905239abc9d46da2a4c826c953c08
f065801a4839ac08672683b692524d9f604b65f3
/modules/ahci/ahci.h
11855688467597e42c2a5924a815014b2f180586
[ "BSD-3-Clause" ]
permissive
PoisonNinja/Pepper
4f48a06a401d6617496c69fe6550ff8e4dded5b3
ee5773006a02ab05459491c62eab0413994cfe80
refs/heads/master
2022-01-14T16:11:28.079999
2021-12-30T03:34:27
2021-12-30T03:34:27
91,926,989
2
1
null
null
null
null
UTF-8
C++
false
false
10,171
h
#pragma once #include <cpu/interrupt.h> #include <fs/block.h> #include <mm/dma.h> #include <types.h> using FIS_TYPE = enum { FIS_TYPE_REG_H2D = 0x27, // Register FIS - host to device FIS_TYPE_REG_D2H = 0x34, // Register FIS - device to host FIS_TYPE_DMA_ACT = 0x39, // DMA activate FIS - device to ho...
[ "syscallrax@gmail.com" ]
syscallrax@gmail.com
ae7c5e7701da36e38982aa3553911b0084aab8f7
4836ee9e77b6e1c23fbef4db492c147b88267a06
/Algorithm_Training/Blue/Lecture10/5/main.cpp
4da51eab1dc9a1485777da2d73e8dd81ba749ff5
[]
no_license
namnh97/CCode
33da753e575acabea37f69f8ab8a7c2e0d7458cf
bdf85622206b4a8a8ed46867ee15e000f020849b
refs/heads/master
2022-08-16T06:46:43.741051
2022-07-27T02:44:03
2022-07-27T02:44:03
165,805,230
0
0
null
null
null
null
UTF-8
C++
false
false
1,776
cpp
//https://open.kattis.com/problems/shortestpath3 #include<bits/stdc++.h> #define ll long long #define pb push_back #define mp make_pair #define pii pair<int, int> using namespace std; const int MAX = 1001; const int INF = 1e9; struct Edge { int from; int to; int weight; }; vector<Edge> graph; int m, n,...
[ "namnh997@gmail.com" ]
namnh997@gmail.com
4e2842c37ea1870cda63f375ea9344c09f2a24b2
1af5af91c0d692f7814f57441bee61a3b9ad1f1e
/70-climbing-stairs.cpp
3e505f96131019621398096e95bc9f2610768237
[]
no_license
raiseyang/leetcode
b064cd22fc09cfcf562a886e1e12d752ee2e7c37
4316dab854b17b3c26beb9c016539d4c2067f8e1
refs/heads/master
2022-02-21T19:12:52.990374
2019-09-07T08:23:52
2019-09-07T08:23:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
290
cpp
class Solution { public: int climbStairs(int n) { int c1 = 1, c2 = 2; if (n < 3) return n; for (int i = 3; i <= n; ++i) { int tmp = c1 + c2; c1 = c2; c2 = tmp; } return c2; } };
[ "maxime.limy@gmail.com" ]
maxime.limy@gmail.com
f52f4957cce501086d0456cbd649fa19909bd5bc
c6b483cc2d7bc9eb6dc5c08ae92aa55ff9b3a994
/examples/adaptor/RawMap.cpp
74ac91e11f72383e5d23dc589d2af8fdb3b84111
[ "Apache-2.0" ]
permissive
oguzdemir/hazelcast-cpp-client
ebffc7137a3a14b9fc5d96e1a1b0eac8aac1e60f
95c4687634a8ac4886d0a9b9b4c17622225261f0
refs/heads/master
2021-01-21T02:53:05.197319
2016-08-24T21:08:14
2016-08-24T21:08:14
63,674,978
0
0
null
2016-07-19T08:16:24
2016-07-19T08:16:23
null
UTF-8
C++
false
false
4,278
cpp
/* * Copyright (c) 2008-2015, Hazelcast, Inc. 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 ...
[ "ihsan@hazelcast.com" ]
ihsan@hazelcast.com
e4730fd370186636548afde99a9e63ee80d88c32
9b26f6ade6215662db0c706661f86f1a5a8713b7
/FrozenFlame/Game/Source/Objects/WizardEnemy.h
012ba7a9b7697a25031b7a16d803e1c387242e8a
[]
no_license
mbirky/FrozenFlame
d310c753f73bf092bd0e2fa9427b125c30bce568
4264bc86ee66a0c010642ecabf512c920a8082e3
refs/heads/main
2023-04-13T20:22:40.245502
2018-07-06T07:35:16
2018-07-06T07:35:16
361,937,727
0
0
null
null
null
null
UTF-8
C++
false
false
6,274
h
/*********************************************** * Filename: WizardEnemy.h * Date: 10/30/2012 * Mod. Date: 10/30/2012 * Mod. Initials: CM * Author: Charles Meade * Purpose: Function declarations for the wizard enemy object ************************************************/ #ifndef WIZARD_ENE...
[ "danielmlima@fullsail.edu" ]
danielmlima@fullsail.edu
df982ddf40d60bf5dfb998563a278ce5d4c72d32
7810b13f010d84cbe7f40586ecb3a5d60399b821
/google/protobuf/unittest_well_known_types.pb.h
bb5f1160221ee79d69c28cfda47a02a4932e3569
[]
no_license
chrak/MyTestServer
091d9be4d0d9653abc3750ab2b5213b716afc983
189146e3b4d8aeefc93eae6efb14459e25cd3994
refs/heads/master
2022-05-02T13:45:21.738700
2022-04-11T06:35:26
2022-04-11T06:35:26
144,518,444
5
4
null
null
null
null
UTF-8
C++
false
true
180,639
h
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/protobuf/unittest_well_known_types.proto #ifndef PROTOBUF_google_2fprotobuf_2funittest_5fwell_5fknown_5ftypes_2eproto__INCLUDED #define PROTOBUF_google_2fprotobuf_2funittest_5fwell_5fknown_5ftypes_2eproto__INCLUDED #include <string> #inclu...
[ "chrak@com2us.com" ]
chrak@com2us.com
af81201a22708a93eab4e835cbffc31733d54346
8aae71a092645f62d6f835578accc1ceb6416283
/ebobekok adres.cpp
c40d97d4305c30484f3c852d929064d1c6a61795
[]
no_license
dogabaris/C_Ornekleri
9db3c55115bb62b98b7ca157a3aaf50e51a502d5
dc6b3201ccb7165106f2decdeabcf7025eac4f41
refs/heads/master
2021-01-02T08:33:24.874333
2015-03-07T14:27:33
2015-03-07T14:27:33
31,814,348
0
0
null
null
null
null
UTF-8
C++
false
false
600
cpp
#include <stdio.h> #include <conio.h> void kontrol(int *,int *,int *,int *); main() { int girilen,s1,s2,ebob=1,ekok; printf("1. sayiyi girin = "); scanf("%d",&s1); printf("2. sayiyi girin = "); scanf("%d",&s2); kontrol(&s1,&s2,&ebob,&ekok); printf("ebob = %d\n",ebob); printf("ekok = %d",ekok); } void kontrol(in...
[ "dogabarisozdemir@gmail.com" ]
dogabarisozdemir@gmail.com
c2ee8a956229bdac101a2d3adc4a4f73dfa4c1a3
0459ae96bae0b3b2c9858ce5050e60e3b01b000e
/Christian/PROG_II/Uebung_8/svgfile.h
4f2e8210964beaaa8b040fb163dd0ce6f81a8443
[]
no_license
DevCodeOne/WS_1617
f03f19f1317b93483be4133f768c031bdf2bd364
461c7119b0854bbd35f117f0c3f0ccd0b5a3a94c
refs/heads/master
2021-05-03T12:30:16.521386
2017-02-02T09:31:57
2017-02-02T09:31:57
62,337,029
0
0
null
null
null
null
UTF-8
C++
false
false
1,242
h
/* * ++C - C++ introduction * Copyright (C) 2013, 2014, 2015, 2016 Wilhelm Meier <wilhelm.meier@hs-kl.de> * * 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 3 of the License...
[ "christian.r.dev@googlemail.com" ]
christian.r.dev@googlemail.com
bd1bc2af610a9046e5544ca08621c02386a71268
dfa6ddf5fb513d553d43a028add28cdf40b46249
/474. Ones and Zeroes.cpp
ebee96f01b36b6ab1efa0be6748626890771b2f2
[]
no_license
brucechin/Leetcode
c58eb6eedf3a940841a0ccae18d543fd88b76f65
798e6f1fa128982c7fd141a725b99805131361cb
refs/heads/master
2021-11-22T14:31:53.143147
2021-10-08T06:50:28
2021-10-08T06:50:28
109,366,643
4
0
null
null
null
null
UTF-8
C++
false
false
2,252
cpp
/* In the computer world, use restricted resource you have to generate maximum benefit is what we always want to pursue. For now, suppose you are a dominator of m 0s and n 1s respectively. On the other hand, there is an array with strings consisting of only 0s and 1s. Now your task is to find the maximum number of s...
[ "1026193951@sjtu.edu.cn" ]
1026193951@sjtu.edu.cn
f0853b9cbbafb3ac8f549a7830b9debf1f8dd44b
5e9fb4da7aed28bdb39f95d85bd6f6cb479e0bd2
/63.5/uniform/time
25e209ba4a1862f3c031fa8c852496d44779f585
[]
no_license
wxyhappy0201/pipeflow_snappyHexMesh
fe0d59852370ca5e276258bc9f7b3a21a9ff1a70
1d534dfb274b3a4db4d1ffa2971d34be985b77aa
refs/heads/master
2022-02-08T17:16:47.004690
2019-07-22T21:39:19
2019-07-22T21:39:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
971
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1906 | ...
[ "tong011@e.ntu.edu.sg" ]
tong011@e.ntu.edu.sg
11f109901d9356efe211c6a7f2e9aa3b5241b213
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/curl/gumtree/curl_repos_function_1253_curl-7.35.0.cpp
28ffb7ead0f465ad2cb5c31abb1e6c50a44fdc92
[]
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
55,136
cpp
CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, va_list param) { char *argptr; CURLcode result = CURLE_OK; long arg; #ifndef CURL_DISABLE_HTTP curl_off_t bigsize; #endif switch(option) { case CURLOPT_DNS_CACHE_TIMEOUT: data->set.dns_cache_timeout = va_arg(param,...
[ "993273596@qq.com" ]
993273596@qq.com
d1e1e82c5c4258525bb75bc4beed0baa1606669c
b9d335b40359423a868f36bb50533e355f409b38
/Course C++ workshop/HW/part _2/Afeka/part _2/Airline/Airline/main.cpp
ab2afc829ef4492a83db4bb7a09d389eb437449b
[]
no_license
YigalOrn/Afeka
58c8426af091ab854f041781b301c146623f7641
cdf47b5a1241af8e00a1fe9e4912e6617e3fff6b
refs/heads/master
2020-03-14T06:17:22.846129
2019-02-07T10:11:34
2019-02-07T10:11:34
131,480,781
0
0
null
null
null
null
UTF-8
C++
false
false
3,922
cpp
#include "Airline.h" #include <iostream> using namespace std; void main() { //Create Airline Airline airline("EL-AL"); //Create Planes Plane p1(50), p2, p3(200); airline.addPlane(p1); airline.addPlane(p2); airline.addPlane(p3); //Create Staff Members Pilot** pilots = new Pilot*[3]; Attendant** attendants ...
[ "yigalorn@gmail.com" ]
yigalorn@gmail.com
de461719b14ba64325d4a0bdc5181b3d63401ef9
62126238af2e3e85b9337f66293c2a29946aa2a1
/framework/Thread/ThreadIOS/Sources/SemaphoreIOS.cpp
94dca5fcd1729a164ed30b4f509b8c7a175fd0de
[ "MIT" ]
permissive
metalkin/kigs
b43aa0385bdd9a495c5e30625c33a170df410593
87d1757da56a5579faf1d511375eccd4503224c7
refs/heads/master
2021-02-28T10:29:30.443801
2020-03-06T13:39:38
2020-03-06T13:51:54
null
0
0
null
null
null
null
UTF-8
C++
false
false
588
cpp
#include "SemaphoreIOS.h" #include "Core.h" IMPLEMENT_CLASS_INFO(SemaphoreIOS) SemaphoreIOS::SemaphoreIOS(const kstl::string& name, CLASS_NAME_TREE_ARG) : Semaphore(name, PASS_CLASS_NAME_TREE_ARG) { pthread_mutex_init(&myMutexLock,0); } SemaphoreIOS::~SemaphoreIOS() { pthread_mutex_destroy(&myMutexLock); ...
[ "stephane.capo@assoria.com" ]
stephane.capo@assoria.com
8c9dc9e10025ecf20596a68190fb6848241e7869
2620e0834c1b58a532e9875c9ea040d664027d9d
/app/src/main/cpp/ClientSocketDataDealThread.cpp
01961c092e5d3a1d9db8f7e692174b09917479f2
[]
no_license
EastUp/AndroidJnitSocket
93fbd92911d1bbabc4a6bcc4b15f66091299b4b6
9aa2d33721a6dc0d305b21225f941fd409d25813
refs/heads/master
2023-03-18T02:25:59.210426
2021-03-09T06:05:47
2021-03-09T06:05:47
345,900,747
2
0
null
null
null
null
UTF-8
C++
false
false
4,660
cpp
// // Created by Administrator on 2017/3/3 0003. // #include <sys/socket.h> #include <jni.h> #include <malloc.h> #include <memory.h> #include "my_log.h" #include "ClientSocketDataDealThread.h" pthread_cond_t ClientSocketDataDealThread::cond = PTHREAD_COND_INITIALIZER; pthread_mutex_t ClientSocketDataDealThread::mutex ...
[ "eastrisewm@163.com" ]
eastrisewm@163.com
939f94896cd57620e881c45c0253826fabd2f230
04fa32e35971bcef99074b97fdf0a611005799c5
/VersionC++/vector2d.cpp
fe21f6840bd88bc536dc01a7912bb4b6751c0f7b
[]
no_license
AdrianWennberg/ATak
71cd56c2442b2f9c4c108e7c28a34ef525db7983
07aa97c24b47ec0f3194e04d0d84c15f93ff9444
refs/heads/master
2021-01-22T21:07:39.882646
2017-11-13T06:52:05
2017-11-13T06:52:05
85,395,233
0
0
null
null
null
null
UTF-8
C++
false
false
723
cpp
#include <vector> #include "vector2d.h" using namespace std; template<typename T> Vector2d<T>::Vector2d(int pRows, int pColumns) : mRows(pRows), mColumns(pColumns), mField(pRows * pColumns) { }; template<typename T> void Vector2d<T>::setPosition(int pRow, int pColumn, int value) { if(pRow < mRows && pColumn...
[ "saikoupanda@gmail.com" ]
saikoupanda@gmail.com
1ea6635bfa0287eb51c062178ecc9232e541b9c4
a3be167a074cc31f61bd5df831373d24d4ec008c
/gfg/mimimum_copy_paste.cpp
9611ef4ed5a237fffa7a7cc022faaf92d1899293
[]
no_license
Nimishkhurana/Data-Structures
5a20b0b7882b3e9d2c853433902caba0a4f8b596
579c3d26b89392f75864543db821af40cb07622f
refs/heads/master
2021-07-08T14:36:48.043616
2020-07-29T18:48:03
2020-07-29T18:48:03
160,632,175
2
2
null
2019-10-18T20:10:54
2018-12-06T06:52:10
C++
UTF-8
C++
false
false
305
cpp
#include<iostream> using namespace std; int main(){ int n; cin>>n; int count = 0; for(int i=2;i<n;i++){ while(n%i==0){ count+=i; n/=i; } if(n<=4 && n>1){ count+=n; break; } } cout<<count<<endl; }
[ "nimishkhurana9@gmail.com" ]
nimishkhurana9@gmail.com
827d7cd46fa797d9e1ef5fee87bc7fd5270f936f
3b2208eae66b7f565bce678674059f83043136f9
/16. 3Sum Closest.cpp
f33bd38ba32f41c970db4bb3ba3af17d68e99b9f
[]
no_license
ccw2010/lc
23b07e75c10df16a85d04a727d3fadc820bd4752
90dc55143999e4c2d032df582d1825c17998e51a
refs/heads/master
2021-08-07T14:05:58.998697
2018-10-05T18:38:15
2018-10-05T18:38:15
136,192,287
0
2
null
null
null
null
UTF-8
C++
false
false
1,802
cpp
/*16. 3Sum Closest Given an array nums of n integers and an integer target, find three integers in nums such that the sum is closest to target. Return the sum of the three integers. You may assume that each input would have exactly one solution. Example: Given array nums = [-1, 2, 1, -4], and target = 1. The sum tha...
[ "noreply@github.com" ]
ccw2010.noreply@github.com
d7cf116cc9b22399798acdea65c4ba346afbbd88
539ba303916e1b2bddd364c44cd1a07125449963
/WebServer/settings.ino
f965ae6381d418f97e11a4ecb4e3dc2952d13413
[]
no_license
DanLoad/Web-interface-for-ESP32
bb75ae942cf0b895c4d5fc7a93e6cf55ddbc7226
84c836d7175e05e86ba7a7294d19c48a5a0687d9
refs/heads/master
2021-05-17T03:55:40.604843
2020-03-29T16:38:32
2020-03-29T16:38:32
250,610,565
0
0
null
null
null
null
UTF-8
C++
false
false
1,091
ino
void Settings_read() { settingsWifi = readFile("json/settings/Wifi.json", 4096); settingsNetwork = readFile("json/settings/Network.json", 4096); settingsMqtt = readFile("json/settings/Mqtt.json", 4096); settingsAP = readFile("json/settings/AP.json", 4096); Config = readFile("json/settings/Conf.json", 4096); ...
[ "danmetalist@gmail.com" ]
danmetalist@gmail.com
57ef891de81f6fbbeff7fe3046e43ca6a8cb71f8
d9f2430ec0c61e5cb69d01f3abd5667ab4c924c6
/datalust/src/Physics/ContactResolver.cpp
977dc69a5d7779a5c44258ce58ef1cbf4f1efa99
[]
no_license
ProgrammingMoogle/Portfolio
d74aeff998386e6724ab133d8024b194688a6057
8e361dea4b9e523f57525fe2d049667618a6c24d
refs/heads/master
2020-03-27T04:03:17.361681
2018-08-23T22:30:11
2018-08-23T22:30:11
145,908,779
0
1
null
null
null
null
UTF-8
C++
false
false
8,729
cpp
#pragma once /******************************************************************************/ /*! \file ContactResolver.cpp \author Keonwoo Ryoo \par email: keonwoo.ryoo\@digipen.edu \par DigiPen login: keonwoo.ryoo \par Last Update: 9/8/2017 \date 9/8/2017 \brief All content © 2017 DigiPe...
[ "42657613+ProgrammingMoogle@users.noreply.github.com" ]
42657613+ProgrammingMoogle@users.noreply.github.com
9d04ef85f15833ee0424927374eb3d396631da75
2dc9ab0ec71fd31900173fb15a6f2c85753180c4
/third_party/blink/renderer/core/display_lock/display_lock_document_state.h
d7f9ca8cace4b8c39e2fce5046c82ee9541172d8
[ "LGPL-2.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-1.0-or-later", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft", "MIT", "Apache-2.0", "BSD-3-Clause" ]
permissive
Forilan/chromium
ec337c30d23c22d11fbdf814a40b9b4c26000d78
562b20b68672e7831054ec8f160d5f7ae940eae4
refs/heads/master
2023-02-28T02:43:17.744240
2020-05-12T02:23:44
2020-05-12T02:23:44
231,539,724
0
0
BSD-3-Clause
2020-05-12T02:23:45
2020-01-03T07:52:37
null
UTF-8
C++
false
false
6,029
h
// Copyright 2020 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 THIRD_PARTY_BLINK_RENDERER_CORE_DISPLAY_LOCK_DISPLAY_LOCK_DOCUMENT_STATE_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_DISPLAY_LOCK_DISPLAY_LOCK_DOCU...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
4c253911adb8759cd97753fe49fbdd27a4a7dea1
1218f0e55768af3c39e4f643ce4e0799c10f19da
/stones.cpp
7738e81f6c6665cbaa0560375958159a78322b57
[]
no_license
ravinderdevesh/codechef
a5c35ea185663506f5e263c05e8262e5106802d8
f3bec3e9691afb552bf3d70e9582947958b20243
refs/heads/master
2021-01-19T19:01:49.612685
2015-02-21T16:37:44
2015-02-21T16:37:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
395
cpp
#include <iostream> #include <stdio.h> using namespace std ; int main () { int T ; scanf("%d" , &T) ; while(T--) { string J , S ; cin >> J ; cin >> S ; int count = 0 ; int lj = J.length() ; int ls = S.length() ; for(int i = 0 ; i < ls ; i++) { for(int j = 0 ; j < lj ; j++) { if(S[i] == J[j]) { ...
[ "amangoeliitb@gmail.com" ]
amangoeliitb@gmail.com
90fa7980ae7898edefd5f68f6445609a2a4f3464
34a6d88518edb4eedc3d6cbaae1bca5894be2c6b
/C++/Point.h
6c24352c229619739061262776e1d59d60273a70
[]
no_license
DivyanshRoy/CryptographyProject
60178bbf4fc778df12966f0360c660045840676f
511b7259975c425a1f03fa5aaa95a43e75e9b706
refs/heads/master
2021-06-21T23:30:29.031857
2020-04-26T22:16:55
2020-04-26T22:16:55
254,508,536
0
0
null
null
null
null
UTF-8
C++
false
false
792
h
#include<bits/stdc++.h> using namespace std; class Point{ long x,y; public: Point(){} /* Point: Initialise with x and y coordinates of Elliptic curve point */ Point(long x, long y){ this->x = x; this->y = y; } /* getX: Return x coordinate of Elliptic curve point...
[ "noreply@github.com" ]
DivyanshRoy.noreply@github.com
e2a02bf56df5e0d7f9a40bf61fd226921128a591
90047daeb462598a924d76ddf4288e832e86417c
/chromeos/printing/ppd_provider.cc
aa62d8b35c737ca08ee08911e5d6f78b4f9c4d6c
[ "BSD-3-Clause" ]
permissive
massbrowser/android
99b8c21fa4552a13c06bbedd0f9c88dd4a4ad080
a9c4371682c9443d6e1d66005d4db61a24a9617c
refs/heads/master
2022-11-04T21:15:50.656802
2017-06-08T12:31:39
2017-06-08T12:31:39
93,747,579
2
2
BSD-3-Clause
2022-10-31T10:34:25
2017-06-08T12:36:07
null
UTF-8
C++
false
false
39,322
cc
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chromeos/printing/ppd_provider.h" #include <algorithm> #include <deque> #include <set> #include <unordered_map> #include <utility> #include <ve...
[ "xElvis89x@gmail.com" ]
xElvis89x@gmail.com