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
0495cf2849d6620aaab6e2f42ffb6450c5f13159
18ed7e2d0f0c846fd1b7f90ddfa56c2d3db35160
/source/extensions/quic_listeners/quiche/client_connection_factory_impl.cc
f315829c1311054f041fb0e7d5442edfacd1ef97
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
denisidoro/envoy
df61c3eae5a7c46c3b2232c3e7ace2ac8548fcdc
b77811970d551cb8ae0102b246975a8f84c60e0e
refs/heads/main
2023-04-01T01:29:04.306048
2021-03-29T16:58:14
2021-03-29T16:58:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,416
cc
#include "extensions/quic_listeners/quiche/client_connection_factory_impl.h" #include "extensions/quic_listeners/quiche/quic_transport_socket_factory.h" namespace Envoy { namespace Quic { const Envoy::Ssl::ClientContextConfig& getConfig(Network::TransportSocketFactory& transport_socket_factory) { auto* quic_socket...
[ "noreply@github.com" ]
denisidoro.noreply@github.com
50155479f98b5025fdb1544e24c30afb462f53a9
845e3e104ec4af1476f082f070e5aee7e55f53ee
/SinhKeTiep/HoanViKe.cpp
9ef3755443163004d776694fc5d88a657d8b0949
[]
no_license
hoangnv2810/Algorithm
96000ede09269adb0ac8d8fa598b158997fd4286
cdc5c7708e63f12ed01a84b3de4fec7585b5070a
refs/heads/main
2023-08-23T08:44:07.510186
2021-09-28T13:19:35
2021-09-28T13:19:35
411,252,789
0
0
null
null
null
null
UTF-8
C++
false
false
516
cpp
#include<bits/stdc++.h> using namespace std; int main(){ int t; cin >> t; while(t--){ int n, *a; cin >> n; a = new int[n]; for(int i = 0; i < n; i++){ cin >> a[i]; } int i = n-2; while(a[i] > a[i+1]) i--; if(i == -2) { for(int i = n-1; i >=0; i--){ cout << a[i] << " "; } } else { ...
[ "hoangnv2810@gmail.com" ]
hoangnv2810@gmail.com
bef941fc1e0a5f53a21cf3edc12a87ad8e963d86
8c0fa1fdbe1d7169f366995f1885316f790dccbe
/libraries/lua-gph/lib/src/lparser.cpp
03841ee4955539d71270baa34254ba1e17e716d6
[ "MIT" ]
permissive
ypenghui6test/code_review_test
cc15e1be9588014785c29960f47f04f5d530b825
cf0d51cd4b7ed0f0f57f251ed6222a1ccffd95b6
refs/heads/master
2020-09-28T13:40:21.747470
2019-12-16T09:44:14
2019-12-16T09:44:14
226,789,403
0
2
null
2019-12-10T05:48:23
2019-12-09T05:09:59
null
UTF-8
C++
false
false
48,774
cpp
/* ** $Id: lparser.c,v 2.155 2016/08/01 19:51:24 roberto Exp $ ** Lua Parser ** See Copyright Notice in lua.hpp */ #define lparser_c #define LUA_CORE #include "lprefix.hpp" #include <string.h> #include <stdio.h> #include "lua.hpp" #include "lcode.hpp" #include "ldebug.hpp" #include "ldo.hpp" #include "lfunc.hpp" ...
[ "ypenghui6@163.com" ]
ypenghui6@163.com
bb15b5fc00c0afc45e4ca0d9f827afa4b099e2cd
b179ee1c603139301b86fa44ccbbd315a148c47b
/world/include/Alignment.hpp
5a60c882d63b6dcabd99d859a0f2ad9cb5845ead
[ "MIT", "Zlib" ]
permissive
prolog/shadow-of-the-wyrm
06de691e94c2cb979756cee13d424a994257b544
cd419efe4394803ff3d0553acf890f33ae1e4278
refs/heads/master
2023-08-31T06:08:23.046409
2023-07-08T14:45:27
2023-07-08T14:45:27
203,472,742
71
9
MIT
2023-07-08T14:45:29
2019-08-21T00:01:37
C++
UTF-8
C++
false
false
1,360
hpp
#pragma once #include "AlignmentEnums.hpp" #include "ISerializable.hpp" class Alignment : public ISerializable { public: Alignment(); Alignment(const int new_alignment); bool operator==(const Alignment& a) const; void set_alignment(const int new_alignment); int get_alignment() const; int& ge...
[ "jcd748@mail.usask.ca" ]
jcd748@mail.usask.ca
d86fb250e934164684e7379d63e4d52fdf13f9ae
29a4c1e436bc90deaaf7711e468154597fc379b7
/modules/swar/unit/simd/group.cpp
2b0674f121b6172e00ba659208d2107695296eef
[ "BSL-1.0" ]
permissive
brycelelbach/nt2
31bdde2338ebcaa24bb76f542bd0778a620f8e7c
73d7e8dd390fa4c8d251c6451acdae65def70e0b
refs/heads/master
2021-01-17T12:41:35.021457
2011-04-03T17:37:15
2011-04-03T17:37:15
1,263,345
1
0
null
null
null
null
UTF-8
C++
false
false
2,799
cpp
////////////////////////////////////////////////////////////////////////////// /// Copyright 2003 and onward LASMEA UMR 6602 CNRS/U.B.P Clermont-Ferrand /// Copyright 2009 and onward LRI UMR 8623 CNRS/Univ Paris Sud XI /// /// Distributed under the Boost Software License, Version 1.0 /// ...
[ "jtlapreste@gmail.com" ]
jtlapreste@gmail.com
0e7a1861bfdefdcc9c9886f5b16825c184577edd
b4045c3d2cdc618374e0d35eae154eb67e4e2325
/opencv/tests/cv/src/ugraphics.cpp
e05cbb87b761e0fa4b402c8af845a54a39f43885
[ "BSD-3-Clause" ]
permissive
idvr/sdkpub
0a4be94a4b1fb6a56386dd57f886cad12886c966
2f9650075bf286e405efa8eb76d809886361aaa5
refs/heads/master
2020-05-20T19:25:10.529009
2016-07-26T00:11:23
2016-07-26T00:11:23
68,386,104
1
0
null
2016-09-16T14:21:16
2016-09-16T14:21:16
null
UTF-8
C++
false
false
7,485
cpp
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, i...
[ "blomcode@gmail.com" ]
blomcode@gmail.com
28e2e6f55dd9d94661c73796390fdaaf4620ed3f
d55f1d4301068a4210d0df4de5e4f5baf8a2cee8
/a3_epoch_custom/a3_epoch_custom/config.cpp
60dde9f66f88a0fd120343c99887daa435f0c79d
[]
no_license
natoed/a3_epoch_custom
a79efd47b27b67673dd6de422cb5fe0565f33508
64c4f38671f579e7b88cd0023748fa68afcf53ba
refs/heads/master
2021-01-20T05:26:17.386299
2017-06-15T06:32:20
2017-06-15T06:32:20
89,781,197
0
0
null
null
null
null
UTF-8
C++
false
false
300
cpp
class CfgPatches { class a3_epoch_custom { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = { }; }; }; class CfgFunctions { class Enigma { class main { file = "a3_epoch_custom\init"; class init { postInit = 1; }; }; }; };
[ "noreply@github.com" ]
natoed.noreply@github.com
bdeb413136f849b6423a7d0128e4a5ae68cce5cc
20a553bbcf5f09150f66d4272fc05b718eb0f278
/shading.hpp
dfb88670191279d4a24a482afc103b797fa6f0d8
[]
no_license
ariasr47/3D-Drawing-Library
8c4188365adf1a2bde59bea31348371a7fb46a85
4e7c22134d4f70a600d873d487ba741bb76403ee
refs/heads/main
2023-02-21T03:41:11.737408
2021-01-22T10:03:13
2021-01-22T10:03:13
321,775,303
0
0
null
null
null
null
UTF-8
C++
false
false
272
hpp
// // shading.hpp // drawinglib // // Created by Rodrigo on 12/3/19. // #ifndef SHADING_HPP #define SHADING_HPP void flat_shading(Geometry::Polygon *p); void gouraud_shading(Geometry::Polygon* p); void phong_lighting(Geometry::Polygon* p); #endif /* shading_hpp */
[ "noreply@github.com" ]
ariasr47.noreply@github.com
8f82d69ebcebf43bca7d10ed05a1d651c92247ca
23bb0f168a2d8b7fe46e99c7cbdbe9c019e0a89e
/OpenCVResizeTest/OpenCVResizeTest/main.cpp
fc657cdc013835515d9ede8d9997c955c1f1d730
[ "Apache-2.0" ]
permissive
zzti/OpenCVDemoCpp
6ce6ed3bf4418a47fb8d59b407f3a082f2e72aa5
214d16a38643e2990ac0f31da713b52e42255841
refs/heads/main
2023-06-24T17:17:45.745233
2021-07-23T01:05:51
2021-07-23T01:06:00
null
0
0
null
null
null
null
GB18030
C++
false
false
1,291
cpp
#include <iostream> #include <opencv2/opencv.hpp> using namespace cv; using namespace std; Mat matresize(Mat& bigsrc, Mat& smallsrc, int step=10); int main(int argc, char** argv) { //读取图像一 Mat src1 = imread("E:/DCIM/Resize/src1.png"); imshow("src1", src1); //读取图像二 Mat src2 = imread("E:/DCIM/Resize/src2.png"); ...
[ "3657447@qq.com" ]
3657447@qq.com
ec17f94121bb15978ab7cda0c9df469deb1b94cd
2c80b0998e1c7098e0858face38093f279d5f6ca
/src/tfm/content_view.cpp
f853d4dba58ac5b088df69ac39fbc7cfc97e6578
[ "MIT" ]
permissive
radzikpwnz/tfm
cbb3d0d41d62599a2bbb80b54c7f1830b1acefd0
c130b870e59ca83a2c1fd1ec075696a9809f5a56
refs/heads/master
2020-03-28T11:07:15.678081
2018-09-14T02:14:08
2018-09-14T02:14:08
148,178,957
6
1
null
null
null
null
UTF-8
C++
false
false
17,197
cpp
// Copyright (c) Eltechs. // All rights reserved. // // This code is licensed under the MIT License. // // 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 with...
[ "radzikpwnz@gmail.com" ]
radzikpwnz@gmail.com
60d3105f4548e3b012af450d17010a05a166e256
16beecfc25480e7a784fd81a6bdefd3e48168c1b
/Sum/sticks.cpp
b84946e6c17b41ec6a98bdb24c27d49ef89c6562
[]
no_license
lihaosky/poj
b0796b629f8fc5126d5fa9a6e9d34af3082d3adf
8612ff723747c655233c9e8b969002621445184c
refs/heads/master
2016-09-05T18:05:35.487377
2013-01-19T21:41:42
2013-01-19T21:41:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,814
cpp
//given a array of numbers //given a number //decide if the number is the sum from the numbers in the array //author: LIHAO //VENUE:home //date: Dec 23 2008 #include<iostream> #include<ctime> #include <algorithm> using namespace std; struct element { int value; int status; }; bool is_finish(eleme...
[ "lihaosky@hotmail.com" ]
lihaosky@hotmail.com
4564620c27667f38d5d66e30fd09355fcd0fecb8
941c661e021eab3cc95762b99a7c415e89b88322
/rodcutting.cpp
c8a51ee2f5daa3a8ff443aba9a6925a6e403201e
[]
no_license
rakeshkumar1019/geeksforgeeks
164441bc08803bd7748c044f2845a9c827077141
5b26c0f2343f84ae840f188fd6d0fcfa0d44fef5
refs/heads/master
2021-01-07T08:44:52.752607
2020-05-23T08:44:31
2020-05-23T08:44:31
241,638,966
1
0
null
null
null
null
UTF-8
C++
false
false
625
cpp
#include<bits/stdc++.h> using namespace std; int rodcut(int* price,int n,int* dp){ if(n==0){ return 0; } if(dp[n]!=-1){ return dp[n]; } int max_val=INT_MIN; for(int i=0;i<n;i++){ max_val=max(max_val,price[i]+rodcut(price,n-i-1,dp)); } dp[n]=max_val; ...
[ "noreply@github.com" ]
rakeshkumar1019.noreply@github.com
59965920326dde390a1f1a91ef02c441e3a7f452
9791a7a24160c3acacb1d0bb1b5b4453361b2151
/WinDDK/7600.16385.1/src/print/tty/ui/oemcomui.h
f7317ab0594b716662681d32f8b01773d81abcff
[]
no_license
kcrazy/winekit
fedc7bfa3fa702423f93447a8a19e2a4d358241e
7948f5f42a60225d9f94930be539f0a1d6202dbc
refs/heads/master
2021-01-10T08:18:48.598427
2017-02-17T05:34:15
2017-02-17T05:34:15
50,400,541
2
0
null
null
null
null
UTF-8
C++
false
false
4,292
h
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A // PARTICULAR PURPOSE. // // Copyright 1997-2003 Microsoft Corporation. All Rights Reserved. // // ...
[ "thekcrazy@gmail.com" ]
thekcrazy@gmail.com
333aa39db78b87242faf49ad32ef9b55b86a796b
6fc5b483a978292e704f6853a9847c904efb3574
/hmailserver/source/Server/Common/Mime/Mime.cpp
db3a829cc6d028ee03b75c19ca3305465b7b45dc
[]
no_license
donaldlee2008/hmailserver
f719271a7841b627b335625d5ecb012c2d7ed6a5
31ad4851a16339e770c24b4258b19c88f60db766
refs/heads/master
2021-01-17T06:25:48.884193
2014-09-27T13:21:22
2014-09-27T13:21:22
null
0
0
null
null
null
null
UTF-8
C++
false
false
44,613
cpp
/* Copyright (c) 2003, Jeff Lee 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 list of conditions and the following disclaime...
[ "knafve@gmail.com" ]
knafve@gmail.com
9e835b9b7c5451df035dcf96c8f96ad5818ac7db
382903d6b2350bbc2c7b8a50866bf2dba25b987e
/listener/src/main/jni/pvmi/pv_mime_string_utils.cpp
854ba45505a79f8ff5f30b8cc9a1d0a2866c4534
[]
no_license
jieyz/FoodieNote
2dbe27a3ccc0c4dc4bdac179bfd4af23d2013c71
85ed4d40b959f49b9d66d915e77cec5fd32243ce
refs/heads/master
2021-01-22T19:15:23.061309
2016-04-14T06:26:14
2016-04-14T06:26:14
56,208,665
0
0
null
2016-04-14T05:05:40
2016-04-14T05:05:40
null
UTF-8
C++
false
false
14,623
cpp
/* ------------------------------------------------------------------ * Copyright (C) 1998-2009 PacketVideo * * 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.o...
[ "121235404@qq.com" ]
121235404@qq.com
86b567d862bec614d8f598dbc23b6bb19160ba50
a658b24c4943aed9000448d26f097a149c35ec85
/ql/math/all.hpp
9222e46813b6cceeaf15555bf52205f366a543a6
[]
no_license
Gaussma/Quantlib_calendar
87b6b84c15d3c2d277e5e5a97e3ff70c9accd89c
2fb479ce05e0d2b600632ce2f4ecc92edae88303
refs/heads/master
2020-04-16T15:46:42.307768
2019-01-14T21:23:34
2019-01-14T21:23:34
165,713,821
0
0
null
null
null
null
UTF-8
C++
false
false
1,632
hpp
/* This file is automatically generated; do not edit. */ /* Add the files to be included into Makefile.am instead. */ #include <ql/math/abcdmathfunction.hpp> #include <ql/math/array.hpp> #include <ql/math/autocovariance.hpp> #include <ql/math/bernsteinpolynomial.hpp> #include <ql/math/beta.hpp> #include <ql/math/b...
[ "maxiaoyao@gmail.com" ]
maxiaoyao@gmail.com
cd40e94b0d4ed758d1618f9606b48f601c54cd2e
8dc84558f0058d90dfc4955e905dab1b22d12c08
/v8/test/cctest/heap/test-alloc.cc
e4c0018dbc61c82c295666e854c045b554e0825c
[ "BSD-3-Clause", "SunPro", "bzip2-1.0.6", "LicenseRef-scancode-unknown-license-reference" ]
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
9,693
cc
// Copyright 2012 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 list of ...
[ "arnaud@geometry.ee" ]
arnaud@geometry.ee
299c370fc27bf4a74cb2c46984e42562267784fe
5b02a21ff1b7080912d072a6bae17c4718808505
/libs/mapping/fa_template.cpp
47a89ae27d14b9958a037cd16cac70f9d6bb970d
[ "BSD-3-Clause" ]
permissive
mhough/DSI-Studio
315641293807a1c2d1ee13123d52aa114841b8ea
06ec875a21e6609f1fea41e28358b6ea6d3e78a6
refs/heads/master
2020-12-24T21:45:07.133859
2013-01-18T04:31:49
2013-01-18T04:31:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,259
cpp
#include "image/image.hpp" #include "math/matrix_op.hpp" #include "fa_template.hpp" #include "libs/gzip_interface.hpp" bool fa_template::load_from_file(const char* file_name) { gz_nifti read; if(read.load_from_file(file_name)) { read >> I; read.get_image_transformation(tran.begin()...
[ "frank.yeh@gmail.com" ]
frank.yeh@gmail.com
67f08e58175824436cac11dcf545380db06bc29d
7d6e4bf57890367d8df4b9083cc1987be16be9e1
/second_part/06_piscine_cpp/day01/ex05/main.cpp
b74afde85e8c8a6fc16c347cc21c5a22ef55cb4a
[]
no_license
remyoster/42_cursus
9f9728dde63bd60777e9893d477a8e6d5d4b8daa
3b4951fa6509a6b1dcd668d0fe5661fd7b6772d1
refs/heads/main
2023-06-22T18:31:34.094571
2023-06-20T08:17:26
2023-06-20T08:17:26
311,570,046
1
0
null
null
null
null
UTF-8
C++
false
false
147
cpp
#include "Human.hpp" int main() { Human bob; std::cout << bob.identify() << std::endl; std::cout << bob.getBrain().identify() << std::endl; }
[ "remyoster@gmail.com" ]
remyoster@gmail.com
a4777c3d69b33ddc954cd630d46baa7b631ac892
593fcb24f97d0f907d426832391d07e783713053
/String and Vector/templates/DArray.hpp
5fc0d4804ade562f800d9b6647732f09e699ae4b
[]
no_license
stoianivanov/Stuff
eb86c6b7b8e32611a6d02f23f43c6fc68fb24c6c
453ddff53b41266d73a7a736ec4aeeb3cd2f5c96
refs/heads/master
2016-09-10T13:55:52.604870
2014-08-22T13:48:07
2014-08-22T13:48:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,340
hpp
#ifndef DARRAY_H #define DARRAY_H template<class TYPE> class DArray { public: DArray(int); ~DArray(); public: void push(TYPE &); void print(std::ostream &); public: TYPE& operator[](int); const TYPE& operator[](int) const; private: TYPE* arr; void resize(int); int used_size; int cap; }; template<class...
[ "betrakiss@hotmail.com" ]
betrakiss@hotmail.com
90d668f7e1d262fc7633dd1975b48dd45e6131cb
abb5997a04888e15215391e55ceba81d3f3f5fc0
/XLogger/XLoggerMyUseEasy/test/test.cpp
81c3151349ec261fe1c7b5e2ccaf5542ac99b726
[]
no_license
winwingy/Study
c8f298792f94e230fed894521c611b15a9c524d0
5c368ad1b58d4567897a331cef247328c110fa5a
refs/heads/master
2020-05-21T04:48:50.965832
2017-01-19T09:25:53
2017-01-19T09:25:53
55,683,173
1
1
null
null
null
null
GB18030
C++
false
false
3,805
cpp
// test.cpp : 定义控制台应用程序的入口点。 // // #include "stdafx.h" // #include <tchar.h> // #include <locale.h> // #include <comutil.h> // #pragma comment(lib, "comsuppw.lib") // // int _tmain(int argc, _TCHAR* argv[]) // { // BSTR bs = ::SysAllocString(L"abc"); // char* ch = _com_util::ConvertBSTRToString(bs); // FI...
[ "winwingy@163.com" ]
winwingy@163.com
b4d0c4a715a5423c02b42bcd6936247bd3cdfee1
3dd49f1ebae3af35d6d24c58ade47880dbdfa11f
/exercise/chapter16/ex16_61.cpp
de6255fe197b312a5a48b2f91185966f0a23d8c1
[]
no_license
xiaoqiangkx/cpp_primer
dc6be8e602247f4bd0c6346ecefac8049b7f1207
37c51fcb1559b80dbe871fff22c8abb05396a608
refs/heads/master
2021-01-23T12:37:43.916372
2014-10-10T07:58:41
2014-10-10T07:58:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
399
cpp
#include <iostream> using namespace std; template <typename T> int compare(const T& t1, const T& t2) { cout << "tempalte T" << endl; return 0; } template <class U, class V> int compare(U u1, U u2, V u3) { cout << "template U, V" << endl; return 0; } int compare(const char* c1, const char* c2) { c...
[ "xiaoqiangkx@gmail.com" ]
xiaoqiangkx@gmail.com
01c68269e1241cf31b108a4c9e5986981b9c80b9
8b8e0a9560a27254e96c9ceb02f850b46957479c
/3pointer's Submit/sdut/i.cpp
ec154b7fae7bd1048f3420a110a5fe14c5102eef
[]
no_license
3pointer/ACM-ICPC
237ad06061e17ca100e8e991ede63eb925f2312f
da84f575c7dde6fe4ed041f936d5d524c2b20f6d
refs/heads/master
2020-12-03T03:52:16.238822
2016-01-23T15:33:34
2016-01-23T15:33:34
24,258,681
1
0
null
null
null
null
UTF-8
C++
false
false
1,261
cpp
#include <stdio.h> #include <string.h> #define M 1000000007 #define N 4 struct Mat { int mat[N][N]; }; void init(Mat Mata) { for(int i=0;i<4;i++) for(int j=0;j<4;j++) Mata.mat[i][j]=0; Mata.mat[0][0]=1,Mata.mat[0][1]=3; Mata.mat[0][2]=2,Mata.mat[0][3]=7; Mata.mat[1][1]=3,Mata.mat[1][2]=2;...
[ "qdlc2010@gmail.com" ]
qdlc2010@gmail.com
5398b5600901670b3c2ca3f23bd2d015f35b7db3
eea7adb1221e39e949e9f13b92805f1f63c61696
/leetcode-04/solutions/cpp/0133.cpp
e9e958fd8eca5af75f2a816cc9ca502974851a7e
[]
no_license
zhangchunbao515/leetcode
4fb7e5ac67a51679f5ba89eed56cd21f53cd736d
d191d3724f6f4b84a66d0917d16fbfc58205d948
refs/heads/master
2020-08-02T21:39:05.798311
2019-09-28T14:44:14
2019-09-28T14:44:14
211,514,370
1
0
null
null
null
null
UTF-8
C++
false
false
350
cpp
class Solution { public: Node* cloneGraph(Node* node) { if (!node) return NULL; if (map.count(node)) return map[node]; map[node] = new Node(node->val, {}); for (Node* neighbor : node->neighbors) map[node]->neighbors.push_back(cloneGraph(neighbor)); return map[node]; } private: unord...
[ "zhangchunbao515@163.com" ]
zhangchunbao515@163.com
23b3fa497d4c0e228f50759491694b715d57d303
aea72583d026e29ad8970db5b6c4535bcc52cfe5
/src/Render/Mesh.h
4fe7ac89b64a7097c6ee8d6c11b07a6903e3d191
[]
no_license
youlanhai/Lazy3D
ed2e428fd94efc5e73b7f0d42189ca8afda8f04e
a00c02594f42e81ad9fe6ef133c6e82dc166c834
refs/heads/master
2021-07-08T23:21:09.940640
2017-10-05T06:25:50
2017-10-05T06:25:50
105,855,410
3
0
null
null
null
null
UTF-8
C++
false
false
2,663
h
#pragma once /** 该文件为蒙皮骨骼动画核心实现*/ #include "ResMgr.h" #include "Effect.h" namespace Lazy { class MeshContainer; ///骨骼框架 class BoneFrame : public D3DXFRAME { public: BoneFrame(const char *name); ~BoneFrame(); BoneFrame* find(const char * name); void update...
[ "you_lan_hai@foxmail.com" ]
you_lan_hai@foxmail.com
1427d18f3fd116b896b11461521eb2da4c09e87c
5d83739af703fb400857cecc69aadaf02e07f8d1
/Archive/72b619ea8f86fe5b9d17a2da55e8ed21/main.cpp
0136549cfe6387a54b51ed55d937bd0fccd8c17b
[]
no_license
WhiZTiM/coliru
3a6c4c0bdac566d1aa1c21818118ba70479b0f40
2c72c048846c082f943e6c7f9fa8d94aee76979f
refs/heads/master
2021-01-01T05:10:33.812560
2015-08-24T19:09:22
2015-08-24T19:09:22
56,789,706
3
0
null
null
null
null
UTF-8
C++
false
false
1,766
cpp
#include <boost/algorithm/string.hpp> #include <boost/variant.hpp> #include <fstream> #include <iostream> #include <string> #include <tuple> #include <vector> template<typename R, typename A> struct Visitor : boost::static_visitor<> { Visitor(const A & a) : a(a) {} template<typename F> void operator(...
[ "francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df" ]
francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df
64f7fac8586e6827593a74214a23523c23a20a45
13289acee0990e7a1b8cd76f9242f4b860bbdfde
/three_piles_candies.cpp
1e931645b8f93ba315e3ffd4c0dad6c26ea0110a
[]
no_license
suyeshaa/Codeforces-800
4c1030434c93600ec5b33724c1fcb082f19fde3e
53e5387546eb0bd69bfc924ae2dae8d7eb65bd81
refs/heads/master
2023-06-29T07:08:48.936834
2021-07-31T13:53:36
2021-07-31T13:53:36
386,338,800
2
0
null
null
null
null
UTF-8
C++
false
false
204
cpp
#include<bits/stdc++.h> using namespace std; int main(){ int t; cin>>t; while(t--){ long long int a , b, c; cin>>a>>b>>c; cout<< (a+b+c)/2 <<endl; } }
[ "suyeshaachaudhry@gmail.com" ]
suyeshaachaudhry@gmail.com
5eb2d61c0a46242188c3faa9ce92b61334dbebca
7a446026886e4f3c8814031f37ff780b4bbd7353
/src/videoray/catkin_ws/src/videoray/include/boost/numeric/odeint/config.hpp
6ec8fe8a9451529b166f64122aadfc2c556803b1
[ "MIT" ]
permissive
gt-ros-pkg/humans
13aa82b400a0745fce1bf84a7da43d0485b545c6
5a01958258c7ea57eaa00a3cdbf574c4b377e934
refs/heads/master
2021-01-25T07:35:21.876542
2015-07-27T19:47:17
2015-07-27T19:47:17
15,811,188
6
10
null
null
null
null
UTF-8
C++
false
false
1,201
hpp
/* [auto_generated] boost/numeric/odeint/config.hpp [begin_description] Sets configurations for odeint and used libraries. Should be included before any other odeint library [end_description] Copyright 2009-2011 Karsten Ahnert Copyright 2009-2011 Mario Mulansky Distributed under the Boost Software License, V...
[ "kevin.demarco@gmail.com" ]
kevin.demarco@gmail.com
7d8faf85b88f6b7073e9bbe6a7eb972f77bafd61
1815b64a60fa9d0ccd3270d53cd176536558153f
/components/full_restore/restore_data.h
c13e7475ac455355624f96c223d08d4357c4129e
[ "BSD-3-Clause" ]
permissive
violetForeden/chromium
ae8c65739de96dd141136e6523b4a2c5978491d9
43f3ea874caca29eead4dc4dfb1c8ce6f11fa5da
refs/heads/main
2023-06-29T09:43:21.454580
2021-09-12T08:27:01
2021-09-12T08:27:01
405,598,541
1
0
BSD-3-Clause
2021-09-12T09:22:55
2021-09-12T09:22:55
null
UTF-8
C++
false
false
7,404
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 COMPONENTS_FULL_RESTORE_RESTORE_DATA_H_ #define COMPONENTS_FULL_RESTORE_RESTORE_DATA_H_ #include <map> #include <memory> #include "base/componen...
[ "chromium-scoped@luci-project-accounts.iam.gserviceaccount.com" ]
chromium-scoped@luci-project-accounts.iam.gserviceaccount.com
d97cbc2596adfd9b0c6e4d706af3f13890105240
09f15973fc03245555da5626dc5d2dbe1ad2e1f6
/LeetCode/48. Rotate Image/solution.cpp
2cca3682be63f8e65bf69e508c61edbe14fc468b
[ "MIT" ]
permissive
nik3212/challenges
d9a422da2b836e6a4fc5dd83e7dc371092daa0a1
59ce945fe5263959900bd9b32326f7cc8e6bc26e
refs/heads/master
2023-08-17T04:36:50.292811
2023-08-11T15:12:17
2023-08-11T15:12:17
142,866,672
2
0
null
null
null
null
UTF-8
C++
false
false
716
cpp
/* 48. Rotate Image You are given an n x n 2D matrix representing an image, rotate the image by 90 degrees (clockwise). You have to rotate the image in-place, which means you have to modify the input 2D matrix directly. DO NOT allocate another 2D matrix and do the rotation. */ class Solution { public: void rot...
[ "nv3212@gmail.com" ]
nv3212@gmail.com
dc08306cc0f53f6db334225737b708e06ebacd0a
b00c54389a95d81a22e361fa9f8bdf5a2edc93e3
/frameworks/av/media/libstagefright/rtsp/AMPEG4ElementaryAssembler.cpp
9f31f161cc9a25465432ff1c9be68342c57b0b46
[ "LicenseRef-scancode-unicode", "Apache-2.0" ]
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
11,990
cpp
/* * Copyright (C) 2010 The Android Open Source Project * * 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 app...
[ "mirek190@gmail.com" ]
mirek190@gmail.com
561727b0f1874171974c35539d59d864b4525c66
dfee46dd7053daf7eb52459a3ac9c81d70dbf3a1
/GeneSplicer.hpp
dd9cc3a6f2d10d61c75464b3877b5d07724d0a5f
[]
no_license
Ishay1997/pandemic-a
5b456552f6d091c7ae0926c3f1d0431daa757dd2
883b5c1be6a18421ea56478b2e394a0c015ddb91
refs/heads/master
2023-04-20T16:46:55.656722
2021-05-05T15:51:57
2021-05-05T15:51:57
364,617,529
0
0
null
null
null
null
UTF-8
C++
false
false
177
hpp
#include "Player.hpp" namespace pandemic{ class GeneSplicer:public Player{ public : GeneSplicer(Board board ,City city): Player(board, city){} }; }
[ "ishaylevy8@gmail.com" ]
ishaylevy8@gmail.com
1fe164227d2ced720a48dadd44e79876d61d863f
144836eb025c2e076bab7eb9b6fe717b3087dc9c
/teaminfo.h
43c0167f08fcedef660e6d44d2943e2c9ef46aa9
[ "Apache-2.0" ]
permissive
imdeve/jni2cobject_transframwork
45a4ceb18a9edd80fd4c45a2efe7b75cb5ec8aba
ac2b3ed9f3805d777af16535b6c23a2329f76d9d
refs/heads/master
2020-08-02T22:41:25.687493
2019-09-28T16:33:59
2019-09-28T16:34:37
211,530,030
0
0
null
null
null
null
UTF-8
C++
false
false
323
h
// // Created by Administrator on 2019/9/28. // #ifndef UNTITLED_TEAMINFO_H #define UNTITLED_TEAMINFO_H #include "JavaObject.h" class TeamInfo{ public: int age; std::string name; std::string password; }; C2JClassDef(TeamInfo); J2CExistClassDef(TeamInfo); #endif //UNTITLED_TEAMINFO_...
[ "wenweiping920@163.com" ]
wenweiping920@163.com
ca2609a9eb805948630c7a14d5447a2bc94f79a7
7f3e95e825b894a8d015b5905592757a0040220f
/2006/inc/dynprops.h
11f0efeb198cc7711fd604cab451221a53dc129f
[ "MIT" ]
permissive
AliClouds/ObjectARXCore
b06e2d4bb59df2b45e56ec76d3abb843c7131009
ce09e150aa7d87675ca15c9416497c0487e3d4d4
refs/heads/master
2021-05-28T05:19:12.593781
2014-05-08T01:23:33
2014-05-08T01:23:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
24,786
h
// // (C) Copyright 1998-2002 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above copyright notice appears in all copies and // that both that copyright notice and the limited ...
[ "kevinzhwl@gmail.com" ]
kevinzhwl@gmail.com
63ec8d4a1a1f8e2b882fbab5be02be527bcb690f
eda7517acf37d1a73c1e78118abb5d831ce9469e
/SoccerMgr/Date.h
ab19e2dcafd051bc6665de4909520b25ea9d888e
[]
no_license
pl-kabaradjian/SoccerMgr
6443d72d9d7233b8ed90ad4e581070b580149448
36938d306f9f5b77f679b3ac89c099171b2003d9
refs/heads/master
2020-06-27T19:05:14.725645
2016-11-29T20:52:49
2016-11-29T20:52:49
74,523,841
0
0
null
null
null
null
UTF-8
C++
false
false
615
h
#ifndef _DATE_H #define _DATE_H #include <string> #include <boost/archive/text_oarchive.hpp> #include <boost/archive/text_iarchive.hpp> using namespace std; class Date { int year; int month; int day; friend class boost::serialization::access; template<class Archive> void serialize(Archive & ar, const unsigned...
[ "PLK@DESKTOP-T0KI5JU" ]
PLK@DESKTOP-T0KI5JU
30c7e432148ccefe9c0cf6742335d2a93be2fdbe
ca6f1de2e61d2bb6fcc9ba36336d309af5e047ce
/ExampleGame_/ExampleGame/PhysicsAnimation/IPhysicsAnimation.cpp
ee6e86d0dde9ffe9c487a76c1f545b98791537e7
[]
no_license
ChuanChinLai/PhysicsBasedSimulation
03f52c11ca9bb16ef76affe83587904edd920d51
cd216af9bb86f4f5dc3d9f714f5da44fd1302bb2
refs/heads/master
2020-06-14T10:14:36.036437
2019-07-21T16:02:08
2019-07-21T16:02:08
194,978,548
0
0
null
null
null
null
UTF-8
C++
false
false
271
cpp
#include "IPhysicsAnimation.h" void LaiEngine::IPhysicsAnimation::Update(const float dt) { BeginAdvanceTimeStep(dt); OnBeginAdvanceTimeStep(dt); AccumulateForces(dt); TimeIntegration(dt); ResolveCollision(dt); EndAdvanceTimeStep(dt); OnEndAdvanceTimeStep(dt); }
[ "chuanchinlai@gmail.com" ]
chuanchinlai@gmail.com
084f0a6f9ed1ea4e93744c8440adf45919ca9af4
7b2b5b5b4fcb7461f95a33db20b602ab6115e823
/src/arith_uint256.h
79dd0e5feaa17db5681eb59484caf42054135e94
[ "MIT" ]
permissive
dogcashcore/Dogcash
a246be05b9db7424dd0a58a325e7c98119b900d3
f019d9ba3f0345649af945300be71fd4178efe3f
refs/heads/master
2020-05-27T09:44:11.250010
2019-05-26T04:24:48
2019-05-26T04:24:48
188,570,624
0
0
null
null
null
null
UTF-8
C++
false
false
9,085
h
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2016 The Bitcoin Core developers // Copyright (c) 2017 The DogCash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef PRODUCTIONCHAIN_ARITH_U...
[ "noreply@github.com" ]
dogcashcore.noreply@github.com
dfabf44123240bee46d78464b809cd21d2bd73be
12c080b81ca5a7aaf87d4199e58dfe08b9670b7f
/1401-Circle and Rectangle Overlapping.cpp
d24a907ee7bc6697bed15e92b443f4c4be424455
[]
no_license
PhoenixDD/LeetCode
23970d3d5485f0c67ecc46afbf07c296a14f7a4d
04d78870f56dc7c5057a8b22e5c3ed87ae04a8bf
refs/heads/master
2021-01-01T19:21:32.795867
2020-11-26T05:12:48
2020-11-26T05:12:48
98,563,765
0
0
null
null
null
null
UTF-8
C++
false
false
701
cpp
class Solution { public: //Get closest coordinate int closestOnCircle(int center,int bl,int tr) { return max(min(center,tr),bl); } bool checkOverlap(int radius, int x_center, int y_center, int x1, int y1, int x2, int y2) { int closestX=closestOnCircle(x_center,x1,x2);//Find the ...
[ "ddhondiyal@gmail.com" ]
ddhondiyal@gmail.com
ee5ce157194889a413f000c4752e711ae5bd343c
d5bb07b13c91137faf556db284436d78b10eb64a
/_small_src_bucket/ostream_wrapper.cpp
28a3286444abcbbea990329da6d92c798c20880a
[ "MIT" ]
permissive
NesterovMaxim/all_mini_tests
730830b9ccfae848f1703ca780d4e1ff0fab68a2
d6837c28e3b6dfc3cfa12794168356dfd4810a0b
refs/heads/master
2020-12-05T23:07:41.675184
2017-11-19T09:41:17
2017-11-19T09:41:17
67,235,642
1
0
null
null
null
null
UTF-8
C++
false
false
2,585
cpp
#include <sstream> #include <iostream> #include <boost/optional.hpp> template <typename T> struct complex_result { complex_result(){} complex_result(const complex_result& other) { m_warnings_stream.str(""); //clean m_warnings_stream << other.m_warnings_stream.str(); m_data = other.m_dat...
[ "m-nesterov@yandex-team.ru" ]
m-nesterov@yandex-team.ru
874b3ae3a8a206cd5f4dc320f69cd2815a044cb5
a92b18defb50c5d1118a11bc364f17b148312028
/src/prod/src/Naming/EntreeService.ActivateNodeAsyncOperation.cpp
e89eea0a1906a4d8e81de3ab14f6ffd7aad3a519
[ "MIT" ]
permissive
KDSBest/service-fabric
34694e150fde662286e25f048fb763c97606382e
fe61c45b15a30fb089ad891c68c893b3a976e404
refs/heads/master
2023-01-28T23:19:25.040275
2020-11-30T11:11:58
2020-11-30T11:11:58
301,365,601
1
0
MIT
2020-11-30T11:11:59
2020-10-05T10:05:53
null
UTF-8
C++
false
false
2,886
cpp
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" namespace...
[ "noreply-sfteam@microsoft.com" ]
noreply-sfteam@microsoft.com
06d70a8a37edf24082f0606a49975f5823270655
7c7ca9efe5869a805a3c5238425be185758a71ce
/marsksim/boost/mpl/set/aux_/has_key_impl.hpp
2596f441c20ade2c0ec9fcf85e2f6b1250b2819a
[]
no_license
cansou/MyCustomMars
f332e6a1332eed9184838200d21cd36f5b57d3c9
fb62f268a1913a70c39df329ef39df6034baac60
refs/heads/master
2022-10-20T18:53:22.220235
2020-06-12T08:46:25
2020-06-12T08:46:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,844
hpp
#ifndef BOOST_MPL_SET_AUX_HAS_KEY_IMPL_HPP_INCLUDED #define BOOST_MPL_SET_AUX_HAS_KEY_IMPL_HPP_INCLUDED // Copyright Aleksey Gurtovoy 2003-2004 // Copyright David Abrahams 2003-2004 // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http...
[ "" ]
f8fe58dc9f33c2ab56d9ef65b2ed2d94bafd3f99
a04dfee52bf07c76d37ac692bc17450feec728df
/include/SchematLib/TrajectorySchematization/MapTrajectoriesToFaces.h
1d8641ba4221ec809fd7be72a8500ccf48ffd04c
[ "Apache-2.0" ]
permissive
tue-alga/CoordinatedSchematization
5d3d555b3a2ed939becacb168a2f42180183f06c
9ffc292c946498d56f7938a86628adba534a9085
refs/heads/main
2023-07-13T13:56:39.058355
2021-07-01T09:20:10
2021-07-01T09:20:10
380,178,681
0
0
null
null
null
null
UTF-8
C++
false
false
7,164
h
#ifndef SCHEMATLIB_TRAJECTORYSCHEMATIZAATION_H #define SCHEMATLIB_TRAJECTORYSCHEMATIZAATION_H #include "OffroadTraits.h" #include "SchematLib/MapSimplification/FaceMergeTraits.h" #include "SchematLib/MapSimplification/PathMapper.h" namespace SchematLib::TrajectorySchematization { template<typename EmbeddedGraph> ...
[ "b.a.custers@tue.nl" ]
b.a.custers@tue.nl
438407c01cc313a301e2b3de24dea521fd374255
05e1f94ae1a5513a222d38dfe4c3c6737cb84251
/Mulberry/trunk/MacOS/Sources/Application/Preferences_Dialog/Sub-panels/Message_Panels/CPrefsMessageGeneral.cp
f2f93297af4e6828dee0dbd0bb7789552b4c2dba
[ "Apache-2.0" ]
permissive
eskilblomfeldt/mulberry-svn
16ca9d4d6ec05cbbbd18045c7b59943b0aca9335
7ed26b61244e47d4d4d50a1c7cc2d31efa548ad7
refs/heads/master
2020-05-20T12:35:42.340160
2014-12-24T18:03:50
2014-12-24T18:03:50
29,127,476
0
0
null
null
null
null
UTF-8
C++
false
false
8,042
cp
/* Copyright (c) 2007 Cyrus Daboo. 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 re...
[ "daboo@a91246af-f21b-0410-bd1c-c3c7fc455132" ]
daboo@a91246af-f21b-0410-bd1c-c3c7fc455132
eb640e0e5885fb0a127f31b200d563669680956c
538c0c0ee63a58d02508a73ead6da91c24cafc39
/14_worstFit/main.cpp
23e59da2ff2b16b0b06e2aafa58cf296e13b4d0b
[ "MIT" ]
permissive
itsanshulverma/operating-systems-lab
c70ff2d44a1b65a19a28dcfeed1296701d356ae7
e47e84d0f60ca009a96011075a805070c7595819
refs/heads/master
2023-01-29T21:07:27.444083
2020-11-21T17:09:00
2020-11-21T17:09:00
292,441,058
1
0
MIT
2020-10-02T17:27:50
2020-09-03T02:05:02
C++
UTF-8
C++
false
false
1,723
cpp
/** * Write a program to implement first-fit, best-fit and * worst-fit allocation strategies. * */ #include <cstring> #include <iostream> #define MAX_SIZE 100 using namespace std; void worstFit(int blockSize[], int m, int processSize[], int n) { int allocation[n]; for (int i = 0; i < n; i++)...
[ "itsanshulverma@gmail.com" ]
itsanshulverma@gmail.com
bd16e330030a2206359e7d9163431db7a547d59b
0611b1cc08b15d329057595365359947c20fcd59
/acwing/提高/dp/数位dp/mx1081....cpp
3c34bcd351788c9e7f153428b64b0370b709812c
[]
no_license
Lan-ce-lot/overflow
c9a7167edaeeaa1f9f1e92624726b1d964289798
ae76120e328a5a2991eb6ef7f1ae5e279374e15c
refs/heads/master
2023-04-08T04:24:49.614146
2021-04-25T05:33:06
2021-04-25T05:33:06
279,082,035
0
0
null
null
null
null
UTF-8
C++
false
false
2,139
cpp
/************************************************************************* > FileName: > Author: Lance > Mail: lancelot_hcs@qq.com > Date: 9102.1.8 > Description: ************************************************************************/ //#include <bits/stdc++.h> //#pragma comment(linker, "/STA...
[ "1984737645@qq.com" ]
1984737645@qq.com
379d892dadb5870a0c7a48fdb75e4ba408fe43e4
ae9b6546597de79dee486171cbeb356a491add25
/src/Screen.h
8e5f0ed7a3ed687a6b7b434b9602b73f0746937c
[]
no_license
robertogr/ParticleFireExplosionExample
3731e0a0f0d76a9dc96c7920bfaec24c9c093baf
47343ef7182e3b5812f4a916838eb8be0078e975
refs/heads/master
2016-09-06T10:15:02.067100
2015-06-19T19:56:18
2015-06-19T19:56:18
37,590,673
0
0
null
null
null
null
UTF-8
C++
false
false
571
h
/* * Screen.h * * Created on: 18/6/2015 * Author: roberto.gonzalez */ #ifndef SCREEN_H_ #define SCREEN_H_ #include <SDL.h> #include <iostream> namespace MyParticleFireExplosionTest { class Screen { public: const static int SCREEN_WIDTH = 800; const static int SCREEN_HEIGHT = 600; private: // "m_" indi...
[ "roberto.gonzalez@Thinkpad-1127.fundacionctic.org" ]
roberto.gonzalez@Thinkpad-1127.fundacionctic.org
3bfa9164a82701338462485ecab15788d21e427b
dda0a106fea97cfbcfaf82bd77eaa4056a62b2df
/吉田学園情報ビジネス専門学校 早川樹綺也/00_制作ゲーム/02_COMMANDKNIGHT/00_プロジェクト/pressenter.cpp
c0da32d8ff5135bf9e7631d4d0eb77fe450df09e
[]
no_license
JukiyaHayakawa-1225/Yoshidagakuen_HayakawaJukiya
1b9c9a25fb3b1e707a61a27db84df0eca876c484
8d3f88fb7cd13f2a57b55e2eda782a8d93737a3f
refs/heads/master
2020-08-14T15:05:41.388077
2019-10-15T02:37:10
2019-10-15T02:37:10
187,962,297
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
7,258
cpp
//============================================================================= // // プレスエンターの処理 [player.cpp] // Author : Jukiya Hayakawa // //============================================================================= #include "pressenter.h" #include "renderer.h" #include "manager.h" #include "input.h" #include "fad...
[ "jb2017029@stu.yoshida-g.ac.jp" ]
jb2017029@stu.yoshida-g.ac.jp
bf71629af95144f5562695e0da86c35915f22537
089077acd7dc512a1afde017692382b0b9ada02f
/SmartSolid/Temp/KTriangle.cpp
c06ceec64bf23c15e2f34e9900bf824ef21fe356
[]
no_license
lizzyly7/SmartDraw
6830b172cebcf2005366b7438d771af3faa137cf
cb891dbe66d75bbb3f692fce72e91402e1c97010
refs/heads/main
2023-04-19T05:54:52.948266
2021-05-04T11:02:01
2021-05-04T11:02:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,338
cpp
#include <math.h> #include "KTriangle.h" #define TOLERANCE 0.00000001 KTriangle::KTriangle(){ m_pt[0].x = 0.; m_pt[0].y = 0.; m_pt[0].z = 0.; m_pt[1].x = 1.; m_pt[1].y = 0.; m_pt[1].z = 0.; m_pt[2].x = 1.; m_pt[2].y = 1.; m_pt[2].z = 0.; } KTriangle::KTriangle(SQPOINT& pt1,SQPOINT& pt2,SQPOINT& pt3){...
[ "humkyung@atools.co.kr" ]
humkyung@atools.co.kr
e8fef99b88fffa236c2e85a782ba1421fcbdefeb
245a55129726766d3dde477ff3b5c18539cefd6b
/program.cpp
bb26784ebf3be2d4d23ded04423f8ffc5a70d51b
[ "MIT" ]
permissive
GoldFeniks/ComputerGraphics
10784c440084f33cb60a372e2be03adc588c9b4f
c5424b5e342bb7b82dab43e2cb6d0c355ef46217
refs/heads/master
2021-03-30T17:47:19.672907
2017-05-21T08:01:48
2017-05-21T08:01:48
88,800,538
0
0
null
null
null
null
UTF-8
C++
false
false
2,119
cpp
#include "program.hpp" #include <iostream> #include "utils.hpp" #include <glm/gtc/type_ptr.hpp> My::Program::Program(std::string vertex_shader, std::string fragment_shader) : Id(glCreateProgram()) { SetShader(vertex_shader, GL_VERTEX_SHADER); SetShader(fragment_shader, GL_FRAGMENT_SHADER); Link(); } My::Program::P...
[ "ggoldenfeniks@gmail.com" ]
ggoldenfeniks@gmail.com
c8f4d7bdb16ccf0edadb684af86fdea9d91f3fa7
ad8b94fc3f8aa7a23f83d38d6190593e4559bab8
/1.cpp
db9c7c5a7af62ba4bb1c52001408882db2447dfc
[]
no_license
NikeshMaharjan1217/Nikesh-Maharjan
21202537c9b18d619f0ab93348bab0aaade0620f
50dd3e6341c8a331a9add912f0d900b1b2d972c1
refs/heads/master
2020-03-08T09:21:17.054360
2018-07-08T05:35:31
2018-07-08T05:35:31
128,045,009
1
1
null
null
null
null
UTF-8
C++
false
false
250
cpp
#include<stdio.h> #include<conio.h> int main() { int n; printf("Enter the year:"); scanf("%d",&n); n%4==0?(n%100==0?(n%400?printf("Leap year"):printf("Not a leap year")):printf("Not a leap year")):printf("Not a leap year"); getch(); }
[ "noreply@github.com" ]
NikeshMaharjan1217.noreply@github.com
722e574beceb04308c54afba6a320f76de67feec
3b30be4a9a53f186532c1f43281cfe2e6001aa01
/RemoveGray.cpp
cd0d10d9e07ad6e1f3a4fbf75233a43ef1948564
[ "MIT" ]
permissive
rushil99/2020Code
9026103b7811fde4daffcbd9ab6a278efd552201
5ff529438c0da536ebe920cd211e92031518236d
refs/heads/master
2020-12-29T20:24:33.947656
2020-02-06T15:33:25
2020-02-06T15:33:25
238,720,558
0
0
null
null
null
null
UTF-8
C++
false
false
668
cpp
#include <iostream> using namespace std; int main() { int variableA; int variableB; int variableC; int small; cin >> variableA; cin >> variableB; cin >> variableC; if ((variableA < variableB) && (variableA < variableC)){ small = variableA; } else...
[ "noreply@github.com" ]
rushil99.noreply@github.com
8924a72cb9a12a91c5a5e0361914a334cf426a55
0458840fe3ad2b17e461e21444a2fdec5ef62172
/cocosjs/frameworks/runtime-src/Classes/GameCore/crypto/CCCrypto.h
dd720a32449af0ebd8cb5c3e21aa290f03134ace
[]
no_license
linyouhappy/kongkongxiyou
b204949b607def0b8918f69b7a5f5c3335b5a6c5
01d6f10105d74d3ed679e8eb40910d84419570d7
refs/heads/master
2023-04-27T18:31:40.933570
2023-04-26T00:36:28
2023-04-26T00:36:28
63,694,726
318
245
null
null
null
null
UTF-8
C++
false
false
5,568
h
#ifndef __CC_EXTENSION_CCCRYPTO_H_ #define __CC_EXTENSION_CCCRYPTO_H_ //#include "ExtensionMacros.h" #include "extensions/ExtensionMacros.h" NS_CC_EXT_BEGIN class CCCrypto { public: static const int MD5_BUFFER_LENGTH = 16; static const int SHA1_BUFFER_LENGTH = 20; //#ifndef CC_UNDER_WIN32 // // ...
[ "linyouhappy@foxmail.com" ]
linyouhappy@foxmail.com
500819ed8670f80c8d4cbd56b5f167f7eb2d5c92
2e51c75acc9a49fcc2275a100cd4ea545ccf47c9
/src/qt/askpassphrasedialog.cpp
0af1458126fb71893fe424dbef6c82e1367a2268
[ "MIT" ]
permissive
mirzaei-ce/core-fatbit
5a361d0e28384af11e8bd6f84992b3fdf372a616
4a111beef136b66cdb0f76fef7da397c0ec64789
refs/heads/master
2021-07-15T21:25:21.276937
2017-10-23T11:51:17
2017-10-23T11:51:17
107,151,447
0
0
null
null
null
null
UTF-8
C++
false
false
10,153
cpp
// Copyright (c) 2011-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. #include "askpassphrasedialog.h" #include "ui_askpassphrasedialog.h" #include "guiconstants.h" #include "walletmodel.h" #in...
[ "mirzaei@ce.sharif.edu" ]
mirzaei@ce.sharif.edu
99ad07bfba6e6e03b243ebe8864e3b39123055ed
7b6e927d42ad155d8b827c345c2b2dffa7bd003b
/library/base/utf_string_conversions.cpp
2f50de679ade82df422e5a9572e314d5300ce8cb
[]
no_license
wang70937/x-framework
d6b06a2910728bdfc219c9d1d166a71ce2c8233c
ccd772cfc28e724382800a30101e1f8c0e6bcde8
refs/heads/master
2021-01-24T09:18:01.883650
2016-09-29T01:47:20
2016-09-29T01:47:20
69,445,984
2
1
null
null
null
null
GB18030
C++
false
false
3,113
cpp
#include "utf_string_conversions.h" #include "string_util.h" #include "utf_string_conversion_utils.h" using base::PrepareForUTF8Output; using base::PrepareForUTF16Or32Output; using base::ReadUnicodeCharacter; using base::WriteUnicodeCharacter; namespace { // 转换源Unicode字符类型到目标Unicode字符类型的STL字符串. template<ty...
[ "wang70937@163.com" ]
wang70937@163.com
cf9687d8c76190ee6f386b83dd043682e07c90aa
e82d2f405f9d84c6ebc5f603b59cebbbf9289ce2
/include/gameCore.h
b4ef9af87c26b0d31596a77736a5dbea5867398b
[]
no_license
VITALb91/sntanks
1b5ae1425a54fc039a20c08ba4dc8b4f2d62c065
d82ed7e25c768a7dadaea4ec2f56654a8e0c6bd8
refs/heads/master
2020-05-17T16:54:39.957948
2012-09-06T11:56:52
2012-09-06T11:56:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
414
h
#ifndef __gameCore_H__ #define __gameCore_H__ #include "SDL.h" #include "videoCore.h" const int FPS = 30; const int FrameDuration = 1000 / FPS; const int MaxFrameSkip = 10; class gameCore { private: Uint8* game_keys; SDL_Event game_event; videoCore *game_video; public: gameCore(void); ~gameCore(void); bool...
[ "d3mon18rus@gmail.com" ]
d3mon18rus@gmail.com
ad4d7f54da4800af2e22a6cdb791c628f7082830
387549ab27d89668e656771a19c09637612d57ed
/DRGLib UE project/Source/FSD/Private/ClaimableRewardEntryWidget.cpp
9f430f2fc7e66ea4f880c6e98acd3525c3b249e1
[ "MIT" ]
permissive
SamsDRGMods/DRGLib
3b7285488ef98b7b22ab4e00fec64a4c3fb6a30a
76f17bc76dd376f0d0aa09400ac8cb4daad34ade
refs/heads/main
2023-07-03T10:37:47.196444
2023-04-07T23:18:54
2023-04-07T23:18:54
383,509,787
16
5
MIT
2023-04-07T23:18:55
2021-07-06T15:08:14
C++
UTF-8
C++
false
false
352
cpp
#include "ClaimableRewardEntryWidget.h" void UClaimableRewardEntryWidget::SignalRewardClaimed() { } void UClaimableRewardEntryWidget::SetData(FClaimableRewardEntry InData) { } void UClaimableRewardEntryWidget::MoveIn(float InStartDelay) { } UClaimableRewardEntryWidget::UClaimableRewardEntryWidget() : UUserWidget(...
[ "samamstar@gmail.com" ]
samamstar@gmail.com
2a6e401f533b99a1146febab3f046c84e52834d7
91ace570eae872b9db8e091762e1c72849baa9c5
/41/A. Translation.cpp
834576f9cb73bd8ab73b3df5b48813f3d72f3647
[]
no_license
bdsumon4u/CF-CP
b51bb9e323240136e4db1743ba54d6610fb0d5b6
1947e2fccd84554f9152a49d07540c291450458c
refs/heads/master
2023-07-14T20:04:50.654438
2021-08-23T15:35:43
2021-08-23T15:35:43
397,179,891
0
0
null
null
null
null
UTF-8
C++
false
false
361
cpp
#include <bits/stdc++.h> using namespace std; int main() { bool yes = true; int size; string str, rev; cin >> str >> rev; size = str.size(); for (int i = 0; str[i]; ++i) { if (str[i] != rev[size - i - 1]) { yes = false; break; } } cout << (yes ?...
[ "bdsumon4u@gmail.com" ]
bdsumon4u@gmail.com
b12825d86ee8c9c24795f1b6f11c14a42aba2917
0f5914a65f73610cdcfee00acbccca44e2fb2841
/AppView/MapDeliveryForm.cpp
4165bd93cce0f8e0694f22f04782cfed979b4f25
[]
no_license
M0969/DeliMarket
24c276567ad12214b9bbb4c8559654e8e76c7161
be7d65498f518dca0ef7f17818a0bd2d194c6cf8
refs/heads/master
2023-05-10T00:57:40.430538
2021-06-17T09:17:22
2021-06-17T09:17:22
375,932,346
1
0
null
null
null
null
UTF-8
C++
false
false
30
cpp
#include "MapDeliveryForm.h"
[ "gianlucat009@hotmail.com" ]
gianlucat009@hotmail.com
da28717822d99376f5cea528a5c6402c25626415
2d3e9ce67f6dfebb5ddde3c224a288d959a51223
/Principles of Networking/Assignment 3/PNET LAB-3/model/pnet-channel.cc
c64bcc37fc858da47c77f1866cbaafc1ea035cf9
[]
no_license
roshanreji92/Projects
d74186721c1d70c2f603818509206fc548ef7b53
e140ca522f5d9b181583d84248d5faea868314d0
refs/heads/master
2021-09-18T20:45:51.137304
2018-07-19T19:19:34
2018-07-19T19:19:34
126,074,600
0
0
null
null
null
null
UTF-8
C++
false
false
2,915
cc
#include <algorithm> #include "ns3/mobility-model.h" #include "pnet-channel.h" #include "pnet-phy.h" #include "pnet-net-device.h" #include "ns3/simulator.h" #include "ns3/packet.h" #include "ns3/node.h" #include "ns3/log.h" #include "ns3/my-pnet-phy.h" namespace ns3 { NS_LOG_COMPONENT_DEFINE ("PnetChannel"); NS_OBJE...
[ "noreply@github.com" ]
roshanreji92.noreply@github.com
d378299b7a73dd23e96af9516c67760d2f099aba
31b64b6d49bf755330d4f090cb40aa297db4eef5
/LdpcScma/LdpcScma/AwgnChannel.cpp
a9eae223da2e434937c0fb9e3d3112a2651f1d45
[]
no_license
LikeFishInWater/vs2015
fabe9aefcd66e2e3e1526e591f3f2ca3e869b5a9
b997a853a4d4e2d61000c773d1a6a0c8c69a9e38
refs/heads/master
2021-01-14T10:31:01.688114
2017-02-20T04:12:33
2017-02-20T04:12:33
82,036,002
0
0
null
null
null
null
UTF-8
C++
false
false
1,210
cpp
#include "AwgnChannel.h" #include <math.h> #include <fstream> using namespace std; CChannel::CChannel() :RandomSeed(0) , SymbolSeq(nullptr) { } CChannel::~CChannel() { } double CChannel::Random_Uniform(RandSeed & rs) { double temp = 0.0; rs.IX = (rs.IX * 249) % 61967; rs.IY = (rs.IY * 251) % 63443; rs.IZ = (...
[ "2228410549@qq.com" ]
2228410549@qq.com
f46d091498de099bddca11e892ba234648cc682a
3d8aca4ef4281fef6b7642738067584c30448c6a
/sort/merge_sort.cpp
ebc3bad6be4a86a97179e16d1d8b3de07adce4d1
[]
no_license
danncy/algorithm
c24b47203514b043f86eb2de810a17d00afd145e
fc151a4aeefe01136794a3153027ea28645e898a
refs/heads/master
2020-03-07T00:35:43.864176
2018-05-01T15:15:38
2018-05-01T15:15:38
127,161,415
0
0
null
null
null
null
UTF-8
C++
false
false
1,201
cpp
template<typename _InIt, typename _Func> void __merge(_InIt first, _InIt last, _Func& Func) { typedef typename iterator_traits<_InIt>::value_type _ValueType; vector<_ValueType> lv, rv; size_t q = floor((last-first)/2); copy(first, first+q+1, back_inserter(lv)); copy(first+q+1, last+1, back_inserter...
[ "hewenliang2008@163.com" ]
hewenliang2008@163.com
0e08de50d2a1bb573f08725fdab20abc7dc28ab7
25d743a9167111573c3423cd5de2b84fa602ec23
/ex05/src/FileReader.cc
1e6817639a96f536a8758a7dd08c976f6b22ce47
[]
no_license
manojsatya/Numerical-Simulation-of-Fluids
8a42a17680af742b35dca3e5b592aa18f1f96aa2
6ce8dd50b8530b3282112f95fc98aef840db2c83
refs/heads/master
2021-01-10T07:54:56.226698
2016-02-23T17:04:36
2016-02-23T17:04:36
44,543,960
0
0
null
null
null
null
UTF-8
C++
false
false
2,170
cc
#include "FileReader.hh" template<typename T> void FileReader::registerIntParameter(const std::string &key, int init) { if (mapper.find(key) != mapper.end()) { WARN("Value already updated") std::stringstream ss; ss << init; mapper[key] = ss.str();} //TODO } template<typename T> void FileReader::registerRealP...
[ "manoj.pesit@gmail.com" ]
manoj.pesit@gmail.com
ba001d7c31f1d487082b69870192e5f00a5120b4
58d3de7ca2675c9a62c58a61637e369f8605be0e
/Second_semestr/multy_processing_c++/afina/debug/main.cpp
d22cb4dedb502ad276e11ee938a0c312706e3495
[]
no_license
lomonoshka/TechnoSphere
86a9bb21e29bcd7204dde47b3d7732272051999c
36eb2e9300f6b2e53160253b30cc2c89b1c349a1
refs/heads/master
2023-03-16T20:34:51.476650
2021-03-05T14:39:32
2021-03-05T14:39:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,769
cpp
#include <string> #include <memory> #include <iostream> class Lru_cash_list { public: // LRU cache node struct lru_node { std::string key; std::string value; lru_node* prev; std::unique_ptr<lru_node> next; lru_node(std::string key_, std:...
[ "kruj1998@gmail.com" ]
kruj1998@gmail.com
0baf455e024a1625aee18fcc906692bdd3f6ebcc
987749de660663176fbcca95915e10144af864e9
/main.cpp
59cd4d730b11f95d40f80eac44c2ef80bf484d3e
[]
no_license
kirstencastro/MP2
649c19af24fecceeda6a61479646fd3b9ebedbee
0c339a714d7cee4b28e5aef37cffe5eefda1a4c5
refs/heads/master
2021-01-10T20:38:26.968286
2015-04-15T15:58:19
2015-04-15T15:58:19
33,932,124
0
0
null
null
null
null
UTF-8
C++
false
false
215
cpp
#include "2048.h" #include <cstdlib> #include <iostream> #include <fstream> #include <iomanip> #include <cstdio> int main(int argc, char** argv) { G2048 game(argc > 1 ? argv[1] : NULL); game.startGame(); }
[ "kirstenfcastro@gmail.com" ]
kirstenfcastro@gmail.com
5aa90c8feadfc2174be8e4512d89afd1303c66ce
ba1bcd920f21aeaae6790a7cfc277f6a9b73a5d1
/physx/source/physxcharacterkinematic/src/CctCharacterControllerManager.h
300734ee9f904612ebe8a990060f523adcec7169
[]
no_license
luvmdy/PhysX
f5787b73abe5e2a5a80411a8554cb17e42803d25
38c2d8f6cf104437cc6cb4a53f774ce5bbeb5acd
refs/heads/4.0
2020-05-19T04:25:46.253430
2019-03-22T17:10:42
2019-03-22T17:10:42
184,825,855
1
0
null
2019-05-03T22:07:36
2019-05-03T22:07:36
null
UTF-8
C++
false
false
5,693
h
// // 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 list of conditions and the following disclaimer. // * Redistributions in bin...
[ "sabdulajees@nvidia.com" ]
sabdulajees@nvidia.com
4ef17f453667145133bda509fd42a736f21e02d7
5f25909fa5d5c6754a781dc92674fe95a4760db8
/InjectorMain.cpp
0e6be487708871e9706237762b089fb83f5f1ee0
[]
no_license
Redmancometh/RuntimeInjector
ad5a67319a3587acb57a49f82144de0f769bb781
af184abbfd433e73778419f83559a86e1828ca3f
refs/heads/master
2020-03-27T08:05:10.116919
2018-08-26T21:56:01
2018-08-26T21:56:01
146,219,174
0
0
null
null
null
null
UTF-8
C++
false
false
259
cpp
#pragma once #include <iostream> #include "stdio.h" #include "pch.h" #include "Injector.h" int main() { Injector injector("SpaceEngineersDedicated.exe", "C:\\Users\\Redmancometh\\MCC\\webdrivers\\testDLL.dll"); injector.injectInto(); return 0; }
[ "Brendanstcurry@gmail.com" ]
Brendanstcurry@gmail.com
d697bf573a313a31c27a5cd32c99a570d4e24105
f5df5ed65f1a75bdd5afd18e9e364dc22968b33f
/src/chainparamsbase.cpp
04fbb3c25cd0a065c23ef6d7e6db246848ef3cda
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
convertdoubler/strawberrycoin
ae1bbbe1be55058da9f5417357970bc93a26283f
d4485457e25406873d436f08b7cc2627c3239ab3
refs/heads/master
2020-03-21T06:10:24.764537
2018-05-27T22:14:41
2018-05-27T22:14:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,848
cpp
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2018 The Airin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "chainparamsbase.h" #include "util.h" ...
[ "vladlenomg2@gmail.com" ]
vladlenomg2@gmail.com
468f831faf3d2453c8624bec2ed77c45b01b3377
893ebf620a2415b901d3c4e8144c853628683fc6
/include/HSGIL/exception/window/windowException.hpp
2c6590ec0822a9852af53113599402a7e6b773fd
[ "Zlib", "MIT" ]
permissive
AsulconS/HSGIL
3f628791202bd5c4669f029a3b202002687e62ee
14904b5b4924afce0edf9eabbd348d50515b13fe
refs/heads/main
2023-04-14T21:27:08.104822
2022-06-24T13:09:44
2022-06-24T13:09:44
210,521,286
4
0
NOASSERTION
2022-12-06T05:44:49
2019-09-24T05:45:48
C++
UTF-8
C++
false
false
3,131
hpp
/******************************************************************************** * * * HSGIL - Handy Scalable Graphics Integration Library * * Copyright (c) 2019-2021 Adrian Bedregal ...
[ "rolandobedregal321@gmail.com" ]
rolandobedregal321@gmail.com
0fa041e40acabce9ad7f43b60c89fc0c6bfc6c64
2d625f6da7b4145c4dce6634c9a2b72a27330ee0
/week-04/day-03/instruments/stringedInstrument.h
7861403aec9db33f42829de173d1eac70e9cd519
[]
no_license
green-fox-academy/annatakacs
b721d447631c99e6408eb433978422b7a9cc5c4e
70f00a3aacd584af4193a226dbf5ecc267affb62
refs/heads/master
2020-04-16T18:52:13.600935
2019-06-06T11:07:59
2019-06-06T11:07:59
165,838,012
0
0
null
null
null
null
UTF-8
C++
false
false
426
h
// // Created by Takacs Anna on 2019-04-24. // #ifndef INSTRUMENTS_STRINGEDINSTRUMENT_H #define INSTRUMENTS_STRINGEDINSTRUMENT_H #include "instrument.h" class StringedInstrument : public Instrument{ public: StringedInstrument(int numberOfStrings); StringedInstrument(); virtual void sound() = 0; v...
[ "annatakacs96@gmail.com" ]
annatakacs96@gmail.com
2cb3adf28d841860d88c5511dbefd1c90cc3ba69
c7f91c04325d13f07454bd1ba881d668db52fc79
/test/demo_c11/demo_wtl_polymorphism.cc
cb0e749064dbd7a9565122d0f9f2c9b610cfe3d6
[]
no_license
ichuna/wtl_stock
4ed15110d690bf4beeee0a5593507f2fe910d6b4
b28fa13e94dbd8ea0c032255d76d77d5c50bf610
refs/heads/master
2021-05-27T16:52:05.536636
2014-09-22T09:19:43
2014-09-22T09:19:43
null
0
0
null
null
null
null
GB18030
C++
false
false
1,500
cc
#include "gtest/gtest.h" using namespace std; //wtl的多态机制:使用模板而非虚函数,省掉了vtable的开销 //定义基类 template <class T> class base_class { public: //由RunWhoAmI和WhoAmI两个函数,实现WhoAmI的多态,子类覆盖后者,前者调用子类的WhoAmI std::string RunWhoAmI() { T *ptr = static_cast<T*>(this); //将基类强制转换成T类,也就是子类的类型 //也可写成:T* ptr = (T *)this; return ptr-...
[ "11084184@qq.com" ]
11084184@qq.com
a1435c56f88b98707d8dc4a1fa864ffd6a9884fd
98898998c57092fdd95ff7b7d2506d1adf2a2507
/keytap2-gui.cpp
b826ce256c3b415f64de11dc0bac4b386240b21c
[ "MIT" ]
permissive
pabit/kbd-audio
bae4b81a7bc98fed76d13d1233f6a7a77fe67cc9
376278172d8acec12ed7f2af7e8306b2bc5a6dd6
refs/heads/master
2020-04-11T19:00:41.666790
2018-12-08T11:42:19
2018-12-08T14:30:03
162,019,111
1
0
null
2018-12-16T16:20:30
2018-12-16T16:20:30
null
UTF-8
C++
false
false
45,445
cpp
/*! \file keytap2-gui.cpp * \brief Enter description here. * \author Georgi Gerganov */ #include "subbreak.h" #include "imgui.h" #include "imgui_impl_sdl.h" #include "imgui_impl_opengl3.h" #include <SDL.h> #include <GL/gl3w.h> #include <array> #include <chrono> #include <cmath> #include <cstdio> #include <dequ...
[ "ggerganov@gmail.com" ]
ggerganov@gmail.com
6c3e602b41a33a34357653ff3139861ed204e8a7
630a68871d4cdcc9dbc1f8ac8b44f579ff994ecf
/myodd/boost/libs/units/example/tutorial.cpp
855cce6161e3eafcd27f07d8f257ea37dda34eca
[ "MIT", "BSL-1.0" ]
permissive
FFMG/myoddweb.piger
b56b3529346d9a1ed23034098356ea420c04929d
6f5a183940661bd7457e6a497fd39509e186cbf5
refs/heads/master
2023-01-09T12:45:27.156140
2022-12-31T12:40:31
2022-12-31T12:40:31
52,210,495
19
2
MIT
2022-12-31T12:40:32
2016-02-21T14:31:50
C++
UTF-8
C++
false
false
2,827
cpp
// Boost.Units - A C++ library for zero-overhead dimensional analysis and // unit/quantity manipulation and conversion // // Copyright (C) 2003-2008 Matthias Christian Schabel // Copyright (C) 2008 Steven Watanabe // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.tx...
[ "github@myoddweb.com" ]
github@myoddweb.com
2169d7325d854912b6687749f578098d6281164d
7bd2820be9ddf84b79daf36f05bee30873aa5bbc
/STM/F401Max7219WithCmsisWrapper/Src/spistm32f401.cpp
0c8e2dd2c3b027b58ae280e2eeb1c844cbc8a457
[]
no_license
Annihilatorrr/Embedded
9c7259e1f6cff80c4d76cf405fa09f7d4d34274b
16479a6c37653d48466d83d323dec8c3a2b192d1
refs/heads/main
2023-03-18T00:14:14.848205
2023-03-11T22:49:04
2023-03-11T22:49:04
248,601,212
0
0
null
null
null
null
UTF-8
C++
false
false
108
cpp
/* * spiStm32f1.cpp * * Created on: 2 mar. 2023 * Author: VertexNi */ #include "spiStm32f401.h"
[ "ruslanmgaifulin@gmail.com" ]
ruslanmgaifulin@gmail.com
f02fed4b84d96d998ec84af59496ae996783f17b
5b7ae29242b4bb8cc9dfad217b0df5c16d31dc1f
/11047.cpp
4401b3cb0ad022071b45ffbd0ddca19400201a6f
[]
no_license
voidsatisfaction/Baekjoon-Online-Judge
63ba03bb27f99283e37245e196857c5dbf3d1d32
7fe9338e35f5df9d59bd04eb72d4310ff216b337
refs/heads/master
2021-01-11T10:27:58.039240
2020-07-26T10:30:12
2020-07-26T10:30:12
79,091,570
1
0
null
null
null
null
UTF-8
C++
false
false
380
cpp
#include <cstdio> #include <vector> using namespace std; int N, K, counts; vector<int> coins; int main() { scanf("%d %d", &N, &K); for (int i = 0; i < N; i++) { int c; scanf("%d", &c); coins.push_back(c); } for (int i = coins.size() - 1; i >= 0; i--) { int c = coins[i]; counts += K /...
[ "lourie@naver.com" ]
lourie@naver.com
8edfbe8a224e1c618c0bbd52f2edcd2d12bfbd6d
b7f3edb5b7c62174bed808079c3b21fb9ea51d52
/ash/public/cpp/event_rewriter_controller.h
41be3dac038a7303adcd2a95cd7c35ddaf89b9f1
[ "BSD-3-Clause" ]
permissive
otcshare/chromium-src
26a7372773b53b236784c51677c566dc0ad839e4
64bee65c921db7e78e25d08f1e98da2668b57be5
refs/heads/webml
2023-03-21T03:20:15.377034
2020-11-16T01:40:14
2020-11-16T01:40:14
209,262,645
18
21
BSD-3-Clause
2023-03-23T06:20:07
2019-09-18T08:52:07
null
UTF-8
C++
false
false
2,185
h
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef ASH_PUBLIC_CPP_EVENT_REWRITER_CONTROLLER_H_ #define ASH_PUBLIC_CPP_EVENT_REWRITER_CONTROLLER_H_ #include <memory> #include "ash/ash_export.h" #i...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
c2903ff1f7dda2833b58da1ce5af5fcf91bc7daa
ee40e669a2d60b757a22d2e97bd443f6f5c86c4b
/flowdesigner.h
580de2afaa852bb57ebaf4e5316df3199f905d8c
[ "MIT" ]
permissive
paule32/RETRO_BuildSet
c8c044c4475f727a52a3a18b5265b55aff563aa2
a38375e871d3e623b388d8e1f247f3980dcb48b8
refs/heads/master
2020-12-10T06:10:09.479044
2020-01-13T05:56:28
2020-01-13T05:56:28
233,521,240
0
0
null
null
null
null
UTF-8
C++
false
false
554
h
#ifndef FLOWDESIGNER_H #define FLOWDESIGNER_H #include <QMessageBox> #include <QDragEnterEvent> #include <QDropEvent> #include <QGraphicsView> #include <QGraphicsScene> #include <QGraphicsSceneMouseEvent> #include "scene.h" #include "flowitem.h" class FlowDesigner : public QGraphicsView { public: explicit FlowDe...
[ "kallup.jens@web.de" ]
kallup.jens@web.de
296aff0b295b75725279670393e1b7bfcc556a28
9ed894c032c605af64fb4587ea4113a3256c42b0
/src/usr/diag/prdf/common/framework/rule/prdfRuleChip.H
5eb6619257d58d873a8bb925e782fd5c0b11c6f1
[ "Apache-2.0" ]
permissive
MikeJi/hostboot
6d89436d924463766caac8844eecb67ce123c58f
66921b4bc0df457e3ea44b804c8450b3d120e3b7
refs/heads/master
2020-12-01T01:18:22.187877
2015-09-09T15:53:36
2015-09-11T18:37:57
39,750,285
1
0
null
2015-07-27T02:06:22
2015-07-27T02:06:22
null
UTF-8
C++
false
false
6,653
h
/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/usr/diag/prdf/common/framework/rule/prdfRuleChip.H $ */ /* ...
[ "iawillia@us.ibm.com" ]
iawillia@us.ibm.com
ac4199d6246191a3c7cce22a6d148faa2dff1b53
bb6ebff7a7f6140903d37905c350954ff6599091
/chrome/browser/chromeos/policy/policy_cert_service.cc
53b61f93b4668e06a9bbd3751438de40d4e429be
[ "BSD-3-Clause" ]
permissive
PDi-Communication-Systems-Inc/lollipop_external_chromium_org
faa6602bd6bfd9b9b6277ce3cd16df0bd26e7f2f
ccadf4e63dd34be157281f53fe213d09a8c66d2c
refs/heads/master
2022-12-23T18:07:04.568931
2016-04-11T16:03:36
2016-04-11T16:03:36
53,677,925
0
1
BSD-3-Clause
2022-12-09T23:46:46
2016-03-11T15:49:07
C++
UTF-8
C++
false
false
4,244
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 "chrome/browser/chromeos/policy/policy_cert_service.h" #include "base/bind.h" #include "base/bind_helpers.h" #include "base/logging.h" #include ...
[ "mrobbeloth@pdiarm.com" ]
mrobbeloth@pdiarm.com
c087e10092d4aff42ce88b568275d38f0835de13
3cf9e141cc8fee9d490224741297d3eca3f5feff
/C++ Benchmark Programs/Benchmark Files 1/classtester/autogen-sources/source-5800.cpp
64d9547f69b75aaa9ea26ac3289ac13ae2af537b
[]
no_license
TeamVault/tauCFI
e0ac60b8106fc1bb9874adc515fc01672b775123
e677d8cc7acd0b1dd0ac0212ff8362fcd4178c10
refs/heads/master
2023-05-30T20:57:13.450360
2021-06-14T09:10:24
2021-06-14T09:10:24
154,563,655
0
1
null
null
null
null
UTF-8
C++
false
false
2,808
cpp
struct c0; void __attribute__ ((noinline)) tester0(c0* p); struct c0 { bool active0; c0() : active0(true) {} virtual ~c0() { tester0(this); active0 = false; } virtual void f0(){} }; void __attribute__ ((noinline)) tester0(c0* p) { p->f0(); } struct c1; void __attribute__ ((noinline)) tester1(c1* p); struct c1 { bool ac...
[ "ga72foq@mytum.de" ]
ga72foq@mytum.de
18c702594e40431eb36a734856d76bd662ea91de
3306ffb058ea67d4140dcbc641a735d3cafdfd68
/src/qt/darksendconfig.cpp
0d96cd5cef2d4fbdbb3319aed196d0aea85e9230
[ "MIT" ]
permissive
niobiumcoin/niobiumcoin
a98f724f3f5047ff6cdda4aba2d5e7e6ddf6fd44
b6f3d8691231f51aa83c119740fb0971d764267a
refs/heads/master
2019-07-12T20:14:00.837924
2017-11-21T19:59:34
2017-11-21T19:59:34
107,165,666
2
4
null
null
null
null
UTF-8
C++
false
false
2,419
cpp
#include "darksendconfig.h" #include "ui_darksendconfig.h" #include "bitcoinunits.h" #include "guiconstants.h" #include "optionsmodel.h" #include "walletmodel.h" #include "init.h" #include <QMessageBox> #include <QPushButton> #include <QKeyEvent> #include <QSettings> DarksendConfig::DarksendConfig(QWidget *parent) :...
[ "dev@niobiumcoin.org" ]
dev@niobiumcoin.org
d402a790f6731d99dd7bed8524eda333a6d96477
e140c1c7087d6a4e130ebde2ce7962c40ee7fd0c
/codeforces/1195/C.cpp
0c69aa7c10d92a781d17cff1f771d7bdb40e00d2
[]
no_license
diptayan2k/CP-Submissions
543ccf94b4d43b6f040f975ccce834e883a5efc7
dc32f1dd474cf250f71795f991132f3d52cc1771
refs/heads/master
2023-02-05T15:26:51.480986
2018-07-03T14:25:00
2020-12-21T10:20:15
323,290,119
0
0
null
null
null
null
UTF-8
C++
false
false
2,210
cpp
#include <iostream> #include<bits/stdc++.h> #define ll long long int #define f(i,a,b) for(ll i=a;i<=b;i++) #define g(i,b,a) for(ll i=a;i>=b;i--) #define F first #define vv vector #define S second #define mp make_pair #define pb push_back using namespace std; /* ll s;dcklsvkn dsk kmlasknd void dfs(vv<ll> v[],bool vis...
[ "diptayan2k@gmail.com" ]
diptayan2k@gmail.com
782cf468c3b9841b4f53e64149eba604fc5c29a7
d543f5d11fc812b82f76c92aebd6f20624bbce9d
/src/Board_AI.cpp
bda1b308b81b5d45885865882a7ad03aecc7590b
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
goorkamateusz/Warcaby
3500f462b2971eba3c0fc68c73a3f6dc16d5d619
1cfa0f538e8bbf8b768c88ed9cbebdab463334f3
refs/heads/master
2023-02-19T16:26:13.313967
2023-02-08T18:36:07
2023-02-08T18:36:07
274,140,898
3
0
null
null
null
null
UTF-8
C++
false
false
8,428
cpp
#include "Board.hpp" #include "Interface.hpp" #include <iostream> using namespace std; ////--------------------------------------------------------------------------------------- ////--------------------------------------------------------------------------------------- void Board::makeBotsMove( Interface *const gui, ...
[ "maatiug@gmail.com" ]
maatiug@gmail.com
ed4187c0cdd45e0b86963be6edef2ed250983fb3
b5b56ce3eb1dfe324eafbda3e0e5f338c5dd72e2
/Server/Servers/src/XMLZoomSettings.cpp
87f6b7d46ad465efabffe812a543340ccd888b9b
[]
no_license
wayfinder/Wayfinder-Server
5cb91281b33cea6d8f6d74550b6564a71c4be1d7
a688546589f246ee12a8a167a568a9c4c4ef8151
refs/heads/master
2021-01-22T22:39:08.348787
2012-03-31T11:34:42
2012-03-31T11:34:42
727,490
8
1
null
null
null
null
UTF-8
C++
false
false
4,994
cpp
/* Copyright (c) 1999 - 2010, Vodafone Group Services Ltd 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 list of condit...
[ "daniel.n.pettersson@gmail.com" ]
daniel.n.pettersson@gmail.com
deee119f972cb4eb00fa95f725e0c50e4e408279
917d50b3bd07b1e193044b561d4d9ea11cad477b
/Project25/소스.cpp
767808880cbcb20c482e09d0af0eb694e6a67678
[]
no_license
siwoo-kim1/19126773-c-1-
48e894ff88f613c02faea5e21289095073ee274a
7d41f59900bb55772ed7e00f8cd21959a0420dfe
refs/heads/master
2020-08-14T20:02:53.977484
2019-10-15T06:58:45
2019-10-15T06:58:45
215,226,286
0
0
null
null
null
null
UHC
C++
false
false
337
cpp
#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> int main() { int num; printf(" 4자리 정수 입력: "); scanf("%d", &num); printf("%10d\n", num); printf("%010d\n", num); printf("%0+10d\n", num); printf("%-10d\n", num); printf("%10o\n", num); printf("%0#10o\n", num); printf("%10x\n", num); printf("%0#10x\n", nu...
[ "tpdbs72@cu.ac.kr" ]
tpdbs72@cu.ac.kr
2f15e4e497127aa1a72eadbc6cc2be23f6cb2289
fb70ac3242f1296408ec709e4a5b2fc3ef16bd4b
/bin/windows.build/cpp/include/phoenix/_Batcher/BlendMode_Impl_.h
ef29e1a2b898ae9b6dd27fe36232e6387e5fb504
[]
no_license
desttinghim/luxeout
bc4dfb29efd72c0b62bcacb2add4cf89cccef63e
9bfa2bc2666a3d1b55169870cbca535c94901540
refs/heads/master
2020-05-19T09:05:51.552189
2015-01-08T21:03:07
2015-01-08T21:03:07
28,525,348
0
0
null
null
null
null
UTF-8
C++
false
false
1,293
h
#ifndef INCLUDED_phoenix__Batcher_BlendMode_Impl_ #define INCLUDED_phoenix__Batcher_BlendMode_Impl_ #ifndef HXCPP_H #include <hxcpp.h> #endif HX_DECLARE_CLASS2(phoenix,_Batcher,BlendMode_Impl_) namespace phoenix{ namespace _Batcher{ class HXCPP_CLASS_ATTRIBUTES BlendMode_Impl__obj : public hx::Object{ public: t...
[ "desttinghimgame@gmail.com" ]
desttinghimgame@gmail.com
2b9b822a54328d3e83405f3eeb0576058f44be22
1ce90d5444e28a59475faa09e29ac00da54555ac
/src/CStaticFile.h
96d292a8932268842d767e744e3f5bcd180d8610
[ "MIT" ]
permissive
MrBlueHere/SServer
52953b8ae605e5364f4ee1bc2d3159790f6675cd
05db88b0b5710cf018f86a962baf024ca4b1a8af
refs/heads/master
2022-12-07T18:06:54.610621
2020-08-29T17:22:58
2020-08-29T17:22:58
261,283,443
0
0
null
null
null
null
UTF-8
C++
false
false
785
h
/** * @author Ladislav Floriš * @date 13.06.20 */ #pragma once #include "CFile.h" /// Class representing a static file (html, js, css, image, etc.) class CStaticFile : public CFile { public: /// Default constructor CStaticFile() = default; /// Constructor accepting a path to the file and a logger ///...
[ "skyrunner5656@gmail.com" ]
skyrunner5656@gmail.com
84df149cdcc8fd1704629f3b459794a292c62644
241cd6191df5a87f6411861961e8620ffcf1010a
/C/HelloWorld/HelloWorld/HelloWorld.cpp
36764d942b04316b0627088cdbb6d50811bfc84f
[ "MIT" ]
permissive
kopyaeslp/PyaePhyoAung
babedaa92736252c65b4d792abaf4e6cf52c6c49
e516e930a27faa1712e21e571e178b7fecef2fb1
refs/heads/master
2021-01-18T05:30:12.412301
2016-02-10T07:40:20
2016-02-10T07:40:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
385
cpp
#include<stdio.h> //printf() scanf() #include<conio.h> //_getch() int main() { //int float char float fAreaOfCircle=0.0; //Area of Circle %f float fRadiusOfCircle=0.0; //Radius of Circle printf("Please Enter Radius "); scanf("%f",&fRadiusOfCircle); fAreaOfCircle=3.1415*fRadiusOfCircle*fRadiusOfCircle; prin...
[ "aungwinnhtut@gmail.com" ]
aungwinnhtut@gmail.com
c7d58f4f770c2ee46a59652467bd323cb8f41201
eda2b66cd014e529bcaa4440d79b5109422ceb99
/Battleship/Temp/il2cppOutput/il2cppOutput/System_Core_System_Linq_Expressions_MemberAssignme3485557308.h
bae85e2c766897e314f3daa630a571704de28dd8
[]
no_license
jrbyam/CS372Battleship
a8b9cf491e5fdea6d466a7f5693feed70a348dfb
cb186e0a5777fc4d8879923f8cec4b5d83dac19e
refs/heads/master
2021-01-10T09:24:55.403518
2016-03-11T22:29:00
2016-03-11T22:29:00
51,184,324
0
0
null
null
null
null
UTF-8
C++
false
false
2,618
h
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> // System.Linq.Expressions.EmitContext struct EmitContext_t3183126624; // System.Reflection.Emit.LocalBuilder struct LocalBuilder_t625143165; // System.Linq.Expressions.MemberAssignme...
[ "jrbyam@Brock.local" ]
jrbyam@Brock.local
33fc9ed6e12f4ef6e57403372ad015d1fafa2ec6
d24432da6a645d31d1cba894046b438c6490b0a0
/main.cpp
f06445b826b3e0a265959920912997dad82ceb3a
[]
no_license
Valiev2002/LR2
7292da298f1dfb86caac7a672b2e0279c8266b5f
c9266b2eb46ce3afdee248a9e413b4eba8f759e7
refs/heads/master
2023-03-03T01:17:30.412652
2021-02-13T18:53:58
2021-02-13T18:53:58
294,126,281
0
0
null
null
null
null
UTF-8
C++
false
false
1,945
cpp
#include <iostream> #include <cmath> using namespace std; long double fact(int N) { if(N < 0) return 0; if (N == 0) return 1; else return N * fact(N - 1); } int main() { cout << "Hello,dear friend" << endl; cout << "Task 1" << endl; for (int i = 0; i < 128; i++) ...
[ "noreply@github.com" ]
Valiev2002.noreply@github.com
bc4e122d5dbdb9564fc1882a98c86a05971a1096
16a3bcbae21c898b9b7a90027cddb972da2570d2
/cmake-3.1.3/Source/cmStandardIncludes.h
8baf7b3039716c27a2f468f3eb77c4a7eab84292
[ "BSD-3-Clause" ]
permissive
jackieli123723/clearlinux
62de94ba2546087d273e974bc55249afc61f8cb6
adecc8f17bc34f31d47fc25c5a46ca567ab875b8
refs/heads/master
2021-04-15T12:28:02.146045
2015-05-21T18:34:17
2015-05-21T18:34:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
13,240
h
/*============================================================================ CMake - Cross Platform Makefile Generator Copyright 2000-2009 Kitware, Inc., Insight Software Consortium Distributed under the OSI-approved BSD License (the "License"); see accompanying file Copyright.txt for details. This softwa...
[ "mckinley1411@gmail.com" ]
mckinley1411@gmail.com
d78bceefa73d79969a244ba5d2ab065b3e33648c
aff28d3b7fbbdc9f3a73528d30b6a9e6c2b9adb7
/src/test/bip32_tests.cpp
009ef03bfbe3834eb8fceaaeff0c1946261c2993
[ "MIT" ]
permissive
shehzad002/blockdee_x11
9f2d01db32c6088164b795fb91cb950379f52795
bc2fbd55192e462980e59bb6e8c0e5aa6740283e
refs/heads/master
2023-03-04T08:13:25.969953
2021-02-20T20:08:24
2021-02-20T20:08:24
340,743,519
0
0
null
null
null
null
UTF-8
C++
false
false
7,106
cpp
// Copyright (c) 2013-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. #include <boost/test/unit_test.hpp> #include "base58.h" #include "key.h" #include "uint256.h" #include "util.h" #include "ut...
[ "shehzad.khan145@yahoo.com" ]
shehzad.khan145@yahoo.com
b2e85c19adb373d020b3fd9245a5c50cbc2f0216
d81bab653594436cd1056adfcf259d3248924cb2
/src/attached_probe.cpp
779f0494471e0628a7455de9b26d721ca037304f
[ "MIT" ]
permissive
xbe/bpftrace
6eed0eb6b8dc12fcd90bbcfe9306719631a5b539
7ae4de5e136a254d545d45a25d74bcdcf1edaef8
refs/heads/master
2020-03-17T13:27:52.156628
2018-05-05T23:38:57
2018-05-05T23:38:57
133,632,622
0
0
null
2018-05-16T08:11:26
2018-05-16T08:11:26
null
UTF-8
C++
false
false
6,682
cpp
#include <fcntl.h> #include <iostream> #include <regex> #include <sys/utsname.h> #include <tuple> #include <unistd.h> #include "attached_probe.h" #include "bcc_syms.h" #include "common.h" #include "libbpf.h" #include <linux/perf_event.h> #include <linux/version.h> namespace bpftrace { bpf_probe_attach_type attachtyp...
[ "alastair@ajor.co.uk" ]
alastair@ajor.co.uk
3e82ddef349d1a38f9ee4b7351506c6a2670ac1d
53bf9673ec6cedfbc1946ed1517539c677e36e26
/HR-Two Sttrings.cpp
25128a81f787220be3e03a48ce9f9b75bcab57d9
[]
no_license
AsifurRahman/HackerRank-Solutions
08cf0290015c165ca4a1ce18104decc9652412f6
2ef27fdf07c0ec41ce6a9c1d256385202e4c3385
refs/heads/master
2021-09-10T07:08:51.087980
2018-03-22T04:34:39
2018-03-22T04:34:39
60,609,045
1
0
null
null
null
null
UTF-8
C++
false
false
838
cpp
#include<bits/stdc++.h> using namespace std; #define ll long long ll a[200],b[200]; int main() { ll i,j,n,tc; string fs,ss; cin>>tc; while(tc--) { cin>>fs>>ss; memset(a,0,sizeof(a)); memset(b,0,sizeof(b)); for(i=0;i<fs.size();i++){ if(a[fs[i]]==0) ...
[ "asifur355@gmail.com" ]
asifur355@gmail.com
a44bf963428be8ab68a56eed8a2711510979f204
4b2671bbf64246ad3739350aabfd97e58c8c917c
/Shade/src/Util/Timer.h
9198b49e95d9d422a19738948fd3b20e41dbdcf6
[]
no_license
Przemog1/Shade
c78af744d22b55c99e42cf38948e4bcab7469653
03452ea7d26b76d218fcf5cd62a0eca3a508fdab
refs/heads/master
2021-07-19T22:58:50.747956
2020-06-11T17:57:39
2020-06-11T17:57:39
175,986,528
4
0
null
null
null
null
UTF-8
C++
false
false
193
h
#pragma once #include <chrono> class Timer { public: Timer(); void reset(); float getTimeElapsed(); private: std::chrono::time_point<std::chrono::high_resolution_clock> starting_time; };
[ "minikers21@gmail.com" ]
minikers21@gmail.com
d0e7649e8a41c89d928a16f41a5da3dca4eda2bc
1a828ba1d1225ad7775cf803787cc7bc43ec5328
/src/IntSet.h
ef58e8b12f341fea01004b85c5ebad29f48e5eab
[ "BSD-2-Clause", "BSD-4-Clause", "ISC" ]
permissive
sarvex/bro
bebe36893f15a700e1de0eed6251d386794addb2
958ab0c6ff34508d51b13190427ad243aed76316
refs/heads/master
2023-06-08T03:13:22.428757
2023-05-30T16:03:59
2023-05-30T16:03:59
32,274,294
0
0
NOASSERTION
2023-05-30T16:04:00
2015-03-15T17:36:21
C++
UTF-8
C++
false
false
1,224
h
// A simple but fast data structure for sets of integers. // Only supported operations are insert, remove and membership test. // // It's implemented via a bitmap so the memory usage increases linearly // with max(set). #ifndef intset_h #define intset_h #include <string.h> class IntSet { public: // n is a hint for ...
[ "robin@icir.org" ]
robin@icir.org
fd531abc7f296a4256a85f8148b5dc383e77a84f
4ebdef761fd282ca6fa1058ba8e6741c9547bb3a
/nc/class2/05_433.cpp
acf9a25453c031373b93744e1992112f1f22f2ea
[]
no_license
yolunghiu/algo_code
ee2f0c7385bd410111d8831b62564b3cee1bba40
f5c6b770d53e2396e9a847655c39d97cd4d0e7b2
refs/heads/master
2022-03-31T00:55:31.686381
2020-01-23T02:03:00
2020-01-23T02:03:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,532
cpp
#include <iostream> #include <vector> #include <map> using namespace std; class UnionFindSet { private: map<int, int> parents; map<int, int> sizes; int mergeTimes; public: UnionFindSet(int n) { mergeTimes = 0; for (int i = 0; i < n; ++i) { parents[i] = i; ...
[ "190978752@qq.com" ]
190978752@qq.com
06a8f8d399824398005575b16df8a629649be1cc
b66208cedcbca09c44f007dcd0e01e4d5f04a0b1
/frameworks/av/media/libstagefright/mpeg2ts/AnotherPacketSource.h
dd6849ef5a128b496f8b9e90772f8ef7cfaa1779
[ "Apache-2.0", "LicenseRef-scancode-unicode" ]
permissive
hua3505/AndroidFrameworkSource
2bb848110ec93f650fa8285f7dbb5524ee78e42e
c2fb180c9dbcc657456bab9feb62c351bec7f91e
refs/heads/master
2021-08-31T17:36:52.205076
2017-12-13T09:38:34
2017-12-13T09:38:34
111,386,259
8
1
null
null
null
null
UTF-8
C++
false
false
3,799
h
/* * Copyright (C) 2010 The Android Open Source Project * * 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 app...
[ "wolf.xu@ximalaya.com" ]
wolf.xu@ximalaya.com
e231f655af979fdc30ea9e9f765acee65f67d6fd
a27cefcc18626a5c7726cd4a3edeb6f6d5d2dd50
/parciales/parcial02/cajacambios/helper.h
880211120de45505bc6013e1f2c947e048b7a450
[]
no_license
ebovio/programming-languages
f1d6482881c07ebec576b413749edfd3c277e17a
32c06e3aa73fa5ef4e208bef44f3c87c7bb34d55
refs/heads/master
2020-05-23T19:02:02.676360
2019-05-15T21:11:53
2019-05-15T21:11:53
186,903,144
0
0
null
null
null
null
UTF-8
C++
false
false
116
h
#pragma once #include "cambios.h" #include <string> void traducirEstadoCambioACadena(const EstadoCambio, string&);
[ "e.bovio08@gmail.com" ]
e.bovio08@gmail.com
176f42b43e6e94d091df44363bbbab9278444285
2050c7cbc10fd486cb95d47d696b3047d5a1486a
/Consolidation2/P92998.cc
14169842c2f652a36def915271a1a514675fe3c4
[]
no_license
SplendiX/Text
4c62e20b349e35e050fb06855c288fad5e6f948d
f9f7b37635c326fd10319dccf5cd40c3b7775aa0
refs/heads/master
2022-11-08T07:22:21.926465
2020-06-26T11:08:24
2020-06-26T11:08:24
273,982,382
0
0
null
null
null
null
UTF-8
C++
false
false
265
cc
//Girant una llista de paraules (3) #include <iostream> #include <string> using namespace std; void llegir(int n) { if (n > 0) { string s; cin >> s; --n; llegir(n); cout << s << endl; } } int main() { int n; cin >> n; llegir(n); }
[ "mariandaci7@gmail.com" ]
mariandaci7@gmail.com
a7dc0ddd8247f2c8257be2e0874936351b95402c
0c40aeaf35cd89139f89e919c87874dc677bab82
/ui_canvas/src/shared/pen.cpp
4781aee57d5fcb9d23cca48102f6538a70a4b9ff
[ "MIT" ]
permissive
frankfanslc/XamlCpp
1e693de3540c868fa51548baefa118e025677012
cc7da0cf83892ceb88926292b7c90b9f8da6128d
refs/heads/master
2023-06-06T08:37:48.623334
2021-06-16T07:59:31
2021-06-16T07:59:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
505
cpp
#include <shared/pen.hpp> #include <xaml/ui/controls/pen.h> xaml_result XAML_CALL xaml_brush_pen_new(xaml_brush* brush, double width, xaml_brush_pen** ptr) noexcept { return xaml_object_new<xaml_brush_pen_impl>(ptr, brush, width); } xaml_result XAML_CALL xaml_brush_pen_new_solid(xaml_color color, double width, xa...
[ "Strawberry_Str@hotmail.com" ]
Strawberry_Str@hotmail.com