blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6855923216f403fc40c058e0cd38733df8bf6657 | 0ef4f71c8ff2f233945ee4effdba893fed3b8fad | /misc_microsoft_gamedev_source_code/misc_microsoft_gamedev_source_code/tools/TexSynth/C++ Preprocess/Lib/libhh/HashStruct.h | 91d22523e892de6a4c368036afc61df07147add3 | [] | no_license | sgzwiz/misc_microsoft_gamedev_source_code | 1f482b2259f413241392832effcbc64c4c3d79ca | 39c200a1642102b484736b51892033cc575b341a | refs/heads/master | 2022-12-22T11:03:53.930024 | 2020-09-28T20:39:56 | 2020-09-28T20:39:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,498 | h | // This may look like C code, but it is really -*- C++ -*-
// Copyright Microsoft Corporation. Written by Hugues Hoppe.
#if defined(__WIN32) && _MSC_VER>1000
#pragma once
#endif
#ifndef HashStruct_h
#define HashStruct_h
#if 0
{
HashStruct<segment> hs(hashf,cmpf);
ForHashStruct(hs,segment,s) { do(... | [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
0966363110a1727553a43387eadb95474eb10ed8 | 083eb66d642e4e1f8bfa58445a0c246aba55c1f4 | /google/CodeJam20/Round1B/ahacker.cpp | 59e649fb4cacdf6e8b4ac3e78169b96c089c907a | [] | no_license | amanjoshi668/Progrmming | 466441f9a49b3e00ec5502be6710072c5fdd307e | cc43bc4be2bb2bbe11c415a2252827e1be16d03a | refs/heads/master | 2021-07-08T03:05:15.925215 | 2020-07-25T04:06:47 | 2020-07-25T04:06:47 | 150,414,535 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,824 | cpp | #include <bits/stdc++.h>
#include <unistd.h>
//#include <ext/pb_ds/assoc_container.hpp> // Common file
//#include <ext/pb_ds/tree_policy.hpp> // Including seg_tree_order_statistics_node_update
#include <stdio.h>
#include <cassert>
using namespace std;
//using namespace __gnu_pbds;
typedef long long lo;
typedef long dou... | [
"amanjoshi668@gamil.com"
] | amanjoshi668@gamil.com |
b50611278e052cb575d6c210ff5ae6e3baeadf90 | df81135b7711691086abe2832bc97377d905c8e9 | /2016.02.25 Skinned Ani/DirectX3D_Framework_1.4/cObj_Camera.h | 3e4145c8a610082d31d86dbaeb036e3c92e7569c | [] | no_license | kwansu/3DEngineProgramming_Practice | b52b806e569cec4457701308dd2390ce2670b537 | 26d43c251b7e9f810784dffb19ff0bfd19419d49 | refs/heads/master | 2023-04-21T16:54:10.951063 | 2021-05-17T06:32:15 | 2021-05-17T06:32:15 | 368,079,698 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 823 | h | #pragma once
#include "cGameObject.h"
#define CAMERA_MOVE_SPEED 0.5f
#define CAMERA_ROTATE_SPEED 0.35f
#define CAMERA_ZOOM_SPEED 0.5f
enum CAMERA_MODE
{
FLY_VIEW, ORIGIN_VIEW, TRAIL_VIEW
};
class cObj_Camera :
public cGameObject
{
SINGLETONE(cObj_Camera);
private:
float m_fFoV;
float m_fNear;
float m_fF... | [
"kwansu91@naver.com"
] | kwansu91@naver.com |
ae48d38bf7ca92dfa6a890648f5bf98e93f08cd9 | ab33b145535c3855e4e4fb7227fdcf75df9d91bc | /branche-116/tp/tp7/pb2/tp7_pb2.cpp | 68546e58f4f55f1c0f175982e523ae68191c9ecb | [] | no_license | christophebedard/inf1995-h18 | 6b8a4d90148f8ac2e34389598172709049ad3c13 | 1c80b1ab46a6fbfc75fbed6cabbb875aaecc99a9 | refs/heads/master | 2021-03-22T01:10:12.736315 | 2018-04-18T11:23:29 | 2018-04-18T11:23:29 | 118,963,593 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,131 | cpp | #define F_CPU 8000000
#include <avr/io.h>
#include <util/delay.h>
#include "can.h"
int main(){
const uint8_t ROUGE = 0x02;
const uint8_t VERT = 0x01;
const uint8_t PIN = 0x02; //Selection du pin 2 comme position de lecture pour la classe can
const uint16_t VH = 254; //Doit etre elevee pour que l'... | [
"faouab@l3818-04.info.polymtl.ca"
] | faouab@l3818-04.info.polymtl.ca |
56facc81e418a51f4dc256ebd5798e49a51b0ba2 | 58a0ba5ee99ec7a0bba36748ba96a557eb798023 | /Olympiad Solutions/SPOJ/TAP2013I.cpp | 1966550c0c9926af64917942df67baf49cf99811 | [
"MIT"
] | permissive | adityanjr/code-DS-ALGO | 5bdd503fb5f70d459c8e9b8e58690f9da159dd53 | 1c104c33d2f56fe671d586b702528a559925f875 | refs/heads/master | 2022-10-22T21:22:09.640237 | 2022-10-18T15:38:46 | 2022-10-18T15:38:46 | 217,567,198 | 40 | 54 | MIT | 2022-10-18T15:38:47 | 2019-10-25T15:50:28 | C++ | UTF-8 | C++ | false | false | 1,325 | cpp | // Ivan Carvalho
// Solution to https://www.spoj.com/problems/TAP2013I/
#include <cstdio>
#include <queue>
#define MP make_pair
using namespace std;
typedef pair<int,int> ii;
typedef pair<int,ii> iii;
const int MAXR = 501;
const int UBOUND = 1e6 + 1e5;
int matriz[MAXR][MAXR],processado[MAXR][MAXR],iteracao,r,c;
int dx[... | [
"samant04aditya@gmail.com"
] | samant04aditya@gmail.com |
7ad50ef829c11f1443872d815cf142db7b2559af | 33152af93821a3baee32ebe9e9184adb515b7ef7 | /src/sys/appmgr/storage_watchdog.h | a71a1e1544f504df7a2cb27b8d45afdbd4d41b06 | [
"BSD-3-Clause"
] | permissive | casey/fuchsia | bca750f13f1beba94b73d75b1e660bc3eb912ec3 | 2b965e9a1e8f2ea346db540f3611a5be16bb4d6b | refs/heads/master | 2021-06-20T01:46:38.891626 | 2020-04-09T23:41:46 | 2020-04-09T23:41:46 | 254,491,837 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,118 | h | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SRC_SYS_APPMGR_STORAGE_WATCHDOG_H_
#define SRC_SYS_APPMGR_STORAGE_WATCHDOG_H_
#include <fuchsia/io/c/fidl.h>
#include <lib/async/dispatcher.h>
#in... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
6b906c3b664f56f03742524b781fd7b6b0bc64ec | e3b3c3da20d700f919ddd84bbac7b1c10aeb5f32 | /A3P0A/main.cpp | b6e002166a63165671390c56734ec0c9ccc5af73 | [] | no_license | grahamrp/cs106b | f6a55fd73608117a5f9daf1b082f30ac404b0af0 | eb9a878abdbbb1f09d411e7d6b35b9239a32f3ec | refs/heads/master | 2023-02-06T11:13:57.577390 | 2020-12-31T16:18:11 | 2020-12-31T16:18:11 | 297,124,986 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,737 | cpp | #include <iostream>
#include "set.h"
#include "random.h"
using namespace std;
// Number of Paths Home
int numPathsHome(int street, int avenue) {
// Base case: we're home.
if (street == 1 && avenue == 1) return 1;
// We fell off the map, not a valid path.
if (street < 1 || avenue < 1) return 0;
... | [
"graham@grahamrp.com"
] | graham@grahamrp.com |
6ad5d3544eee8312c7ec5eed0c8545a646c644f2 | 084006eb442b60b82b3d85d61a3b53d21c5c8855 | /shared/util/boost/boost/smart_ptr/detail/sp_counted_base_gcc_ppc.hpp | 0ac945deccb972410125443a1c6ce1f210cb76d6 | [
"XFree86-1.1",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | SethRobinson/proton | 7aadcb38bc676c136dce01b8f6773fd75fa33d55 | 6b1474e75a2acf48d848c70fcb043ce8223001a9 | refs/heads/master | 2023-08-31T11:04:21.575522 | 2023-08-29T07:44:50 | 2023-08-29T07:44:50 | 142,253,855 | 81 | 31 | NOASSERTION | 2023-08-07T22:02:41 | 2018-07-25T05:55:38 | C++ | UTF-8 | C++ | false | false | 4,071 | hpp | #ifndef BOOST_SMART_PTR_DETAIL_SP_COUNTED_BASE_GCC_PPC_HPP_INCLUDED
#define BOOST_SMART_PTR_DETAIL_SP_COUNTED_BASE_GCC_PPC_HPP_INCLUDED
// MS compatible compilers support #pragma once
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif
//
// detail/sp_counted_base_gcc_ppc.hpp - g++ on PowerPC... | [
"seth@rtsoft.com"
] | seth@rtsoft.com |
e2c144c6bdc814aaf27f934ba37e00660f2d66d2 | 64e3a035e30e68849f39ca1e3ab12ac5a13b0522 | /Week 9/CollisionDetection/CollisionDetection/Tile.cpp | 25c4059e185f59980376b8c9d28356f66d640958 | [] | no_license | Carthur-P/Programming-4 | 598bc6810cafa1ba11d3472ac2c40ed4b1052d37 | 1934d57e4033e5a308f01d318a4a4714eee435d3 | refs/heads/master | 2022-06-27T03:38:49.474381 | 2020-05-07T08:49:25 | 2020-05-07T08:49:25 | 259,894,215 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 114 | cpp | #include "Tile.h"
Tile::Tile(String^ filePath)//constructor
{
tile = gcnew Bitmap(Image::FromFile(filePath));
}
| [
"pongp1@student.op.ac.nz"
] | pongp1@student.op.ac.nz |
2a400bc674621eec2460d1bffba9fd40b4e8ca64 | a138ba3db86bd07b0e744b8d98e7d7d691d66cfe | /samples/hello_mesh/main.cpp | ba7da1a0b5c6cb760d38fcf4d2d31bfa56f23ff7 | [
"MIT"
] | permissive | jigneshBadrakhiya/vcglib_samples | ef9f2fd942bd6a4569eecb5948a4e1c29bb8cfa1 | dbe70bd21bbc618286bbdf7533782a398a4f276d | refs/heads/master | 2023-03-16T21:06:39.772428 | 2020-10-09T09:27:03 | 2020-10-09T09:27:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 960 | cpp | #include<vcg/complex/algorithms/create/platonic.h>
#include<vcg/complex/allocate.h>
class MyFace;
class MyVertex;
struct MyUsedTypes : public vcg::UsedTypes< vcg::Use<MyVertex>::AsVertexType, vcg::Use<MyFace>::AsFaceType> {};
class MyVertex : public vcg::Vertex< MyUsedTypes, vcg::vertex::Coord3f, vcg::vertex::BitFlag... | [
"kyohei.nitta@arithmer.co.jp"
] | kyohei.nitta@arithmer.co.jp |
7e4d1b2ad3305c1c1c0e7c57a3fef62e9e6b7c52 | e1cd579c8dcd952cc338ce3684397eddb0920760 | /stas-2018/pawian.cpp | 7c3701805a80061862f967c0fe4552d832316324 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | Aleshkev/algoritmika | 0b5de063870cb8a87654613241a204b534037079 | fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189 | refs/heads/master | 2021-06-05T10:46:59.313945 | 2020-02-02T12:39:47 | 2020-02-02T12:39:47 | 148,994,588 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,347 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef intmax_t I;
template <typename T>
ostream &operator<<(ostream &o, const vector<T> &v) {
o << "[";
for (auto i = v.begin(); i != v.end(); ++i) {
cout << *i;
if (i != prev(v.end())) cout << ", ";
}
cout << "]";
return o;
}
int main() {
ios_base... | [
"j.aleszkiewicz@gmail.com"
] | j.aleszkiewicz@gmail.com |
8aa3a4a83b3e481ecc547a69e7c19d0f1902febf | 7fcc2e69f02d981ca4d280b41436cce34932b905 | /20-libstdcpp/strings.cpp | 9cc314d75164e145562d1df5c3d4dea6976a4354 | [
"LicenseRef-scancode-public-domain"
] | permissive | AlekSi/valgrind-suppressions | ab76afb9b507f5e4a0cc34f393c2804dcb885e25 | 242fd828d2f70bc3372c01d6cf29fd9ae1ed46ef | refs/heads/master | 2020-05-18T18:08:20.662981 | 2010-02-13T15:57:29 | 2010-02-13T15:57:29 | 605,210 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 202 | cpp | #include "strings.h"
#include <string>
using namespace std;
ValgrindSuppressionsForString::ValgrindSuppressionsForString()
{
string str1("looks nice!");
string str2 = str1;
str2.insert(4, str1);
}
| [
"alek.silverstone@gmail.com"
] | alek.silverstone@gmail.com |
ff853ebd85d213b4f02f182c1111c728a65fbbd7 | b3d704a69fb833da81b8eb729cbdd0718e29b53f | /Persistent_Set/my_shared_ptr.h | 1a50c219bbf740c905ec42c72bfebcab10ecf553 | [] | no_license | DaminovN/CPP | e8eb833d9ee899afa3f76d6729bee36639fad1db | 4575412c60a0ce5dfa8fd7e1cdafc0851321d732 | refs/heads/master | 2021-01-18T18:39:44.048854 | 2018-09-29T10:31:38 | 2018-09-29T10:31:38 | 86,868,377 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,981 | h | #pragma once
#include <bits/stdc++.h>
template <typename T>
struct my_shared_ptr
{
my_shared_ptr() = delete;
my_shared_ptr(T* other) : cnt(nullptr), ptr(other)
{
if (ptr)
{
try
{
cnt = new size_t(1);
}
catch(...)
{
delete ptr;
throw;
}
}
}
my_shared_ptr(my_shared_ptr const& o... | [
"ndnodir@gmail.com"
] | ndnodir@gmail.com |
f8fa67b920e8800bd5d0b2c309a913cddda844fe | aa3e285508d43ff92658692308c812f8d1c6091a | /UnitTest/GaussJordanTest.h | 082174a99b9381af5ac89579166f047a70984221 | [] | no_license | svenschmidt75/LinearSolverLibrary | f861df18fad424495236a076bf782619b69c51c3 | 05476d1c94a7d3c2028277985b1968b7c7f949fb | refs/heads/master | 2021-01-10T03:09:26.513698 | 2015-11-22T18:38:29 | 2015-11-22T18:38:29 | 55,301,958 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 936 | h | /*
* Name : GaussJordanTest
* Path :
* Use :
* Author: Sven Schmidt
* Date : 08/03/2013
*/
#pragma once
#include <cppunit/extensions/HelperMacros.h>
class GaussJordanTest : public CppUnit::TestFixture {
CPPUNIT_TEST_SUITE(GaussJordanTest);
CPPUNIT_TEST(Test2by2_1);
CPPUNIT_TEST(Test2by2_2);
... | [
"svenschmidt75@googlemail.com"
] | svenschmidt75@googlemail.com |
6691ca37bcf072b1374af1ea1a4c797d8e36698c | 0106a54ff8393e97495d414560d7d5b06fec895a | /Problems[LV3]/[LV3]기지국 설치.cpp | aed16228ce2409620ef5969c7736865ac97496c3 | [] | no_license | ssoo2024/Programmers | 28cab1a7a3fb2cafd28e8d80bcaf8ec2388f7494 | 8aa9c50df029dd622e23c80477f7fc96c267e1d2 | refs/heads/main | 2022-12-28T21:36:50.424355 | 2020-10-16T05:36:10 | 2020-10-16T05:36:10 | 303,936,542 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 479 | cpp | #include <iostream>
#include <vector>
#include <cmath>
using namespace std;
int answer, from, to, ind = 1;
int solution(int n, vector<int> stations, int w) {
vector<pair<int, int>> interval;
stations.push_back(n+w+1);
stations.insert(stations.begin(), -w);
while(ind < stations.size()){
fr... | [
"sskim@gimseongsuui-MacBookPro.local"
] | sskim@gimseongsuui-MacBookPro.local |
8ad4d2c9d3f6e43bae4cef8ac33c32be7387dbff | 260ae00f90fad711abbb45a1bc5aae6f41ecdfea | /Exception.cpp | e59023ab2d5f7753b45b1dff9a2ff72598763ad7 | [] | no_license | JDM-ULL-93/DAA_Practica_2_Ram_Simulator | 97a30096db803541cfeb58160388a4d1f1b07027 | 70c30cb1948ea8f1538ce0aa0677219dafd2e2e0 | refs/heads/master | 2021-01-05T21:38:37.789424 | 2020-05-27T20:12:29 | 2020-05-27T20:12:29 | 241,145,006 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 452 | cpp | #include "Exception.h"
const char * Exception::what() const throw()
{
return _errorMsg.c_str();
}
const char * ExceptionErrorNumber::what() const throw()
{
const size_t SIZE = 30;
char* buffer = new char[SIZE]; memset(buffer, '\0', SIZE);
size_t written = sprintf_s(buffer, SIZE, ". Error Number: %d\0", _errorNumb... | [
"alu0101160337@ull.edu.es"
] | alu0101160337@ull.edu.es |
05d6f309b4879bf77f9d9f9a367b40d0217a8090 | b21bcc5c2203ce4a7d5ceb9bcf0d72cf79db6abc | /leetcode/easy/longest_cont_increasing_subseq/src/main.cpp | 9306d6787a6587a97e7a565248b5cde6921a3045 | [] | no_license | zhaoyunfuture/study | 81ad69a4abfedb3d14efa1080a2bcf091ab2e1a8 | ebed9809c84c31ff67b988b3bb3c3289b2b818d7 | refs/heads/master | 2022-01-18T21:33:06.613463 | 2022-01-09T13:19:58 | 2022-01-09T13:19:58 | 47,873,321 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 637 | cpp | #include <string.h>
#include <string>
#include <iostream>
using namespace std;
class Solution {
public:
int findLengthOfLCIS(vector<int>& nums) {
int size = nums.size();
if(size ==0)
return 0;
if(size == 1)
return 1;
int max = 1;
int t = 1;
fo... | [
"zyfuture@qq.com"
] | zyfuture@qq.com |
f35dd756f66487c53be08ab01191182cee88fbda | b85265172651aebdd90ee6a383a2339c304a7b3d | /exercises/pointer_array.cpp | b5a15ecba92c0b539621bfe50e301479a09d8083 | [] | no_license | tertiarycourses/CPlusPlusTraining | e8d4e495dd81c7845caee7c9369f0b0c4295a481 | 6bbb28580f856c8a2e56c8080753e75ef70b2e1f | refs/heads/master | 2020-06-16T14:16:15.232567 | 2017-05-11T14:43:25 | 2017-05-11T14:43:25 | 75,093,145 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 509 | cpp | #include <cstdio>
int main(void) {
int data[] = {15, 20, 30, 45, 60, 80};
int *ptr = data; //ptr points to start of array
printf("data[] starts at address %x with value %d\n", ptr, *ptr);
//Calculate the length of the array
int numElements = sizeof(data) / sizeof(int);
printf("There ... | [
"angch@tertiaryinfotech.com"
] | angch@tertiaryinfotech.com |
ce95bd7d67830fa006bb80cc55d8bbdd5eb29296 | 1e523e9004c7be60d891a1e8d403bd3ca20f72cb | /src/common/ValPos.cpp | 90fa01b2f2b372cf8a8ae127ca110c51dcae0f57 | [] | no_license | Kamilll/LRCS | 4e6516c9eebadc81f90920acbff3cef8cf8210e9 | dcbe3aa3a4fd916d04a93012e6d64e06a5e6e431 | refs/heads/master | 2020-05-23T10:10:47.607250 | 2013-09-22T07:02:09 | 2013-09-22T07:02:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 96 | cpp | #include "ValPos.h"
ValPos::~ValPos()
{
if (value && type != STRINGTYPE)
delete[] value;
} | [
"vincezklee@gmail.com"
] | vincezklee@gmail.com |
f5b4a02a31a5bf7e13269aeaf12c97f5745a8e0c | be76cc4c873d6edd62426a0ad7a19e3f44630979 | /omi/match/result.hpp | d28e10df59a22360e2adec9d673c9eb369832459 | [] | no_license | valmac/latency-lab | c5893f89ec4af486ecde93c1f03e17e921d44c36 | 33b6645cd9fa01c86d67cc5693bf916f2b117bd3 | refs/heads/master | 2022-12-11T21:02:39.861617 | 2020-09-09T03:03:47 | 2020-09-09T03:03:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,013 | hpp | #ifndef OMI_MATCH_RESULT_HPP_
#define OMI_MATCH_RESULT_HPP_
#include <omi/match/paths.hpp>
#include <omi/match/events.hpp>
#include <omi/match/run.hpp>
// Matching results
namespace omi::match {
template <typename inbound, typename outbound>
struct result {
//// Member Variables ///////////
std::string name... | [
"contact.omi@protonmail.com"
] | contact.omi@protonmail.com |
74b5bc1e7c5a4f6be89b656abc4a19660711045b | c2aa1ea6ec509a457a21b82d24243f69101f5e56 | /pathtracer/src/scene/bounds.cpp | dff343c310f1290aa0c7bfbf50b9a50dbca49a67 | [] | no_license | AgentLee/PathTracer | 96647ab7ccb19dee30ccb582d0817e3de4f086e2 | 104c4de02f5ef7ad4663a59b1ceececda6215b53 | refs/heads/master | 2021-06-16T15:27:31.648587 | 2017-10-26T12:25:37 | 2017-10-26T12:25:37 | 101,907,807 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,656 | cpp | #include "bounds.h"
// Computes the intersection given the ray
// Only computes the t value and returns true/false on intersection
// -t values are valid iff the ray's origin lies within the box
bool Bounds3f::Intersect(const Ray &r, float* t) const
{
//TODO
float t_n = -1000000;
float t_f = 1000000;
... | [
"agentlee927@gmail.com"
] | agentlee927@gmail.com |
7ead6c82e82bb6c4b8d19d69949d84dbffa2b157 | 127bdd5a83e358e0860f4e0b8baac2485e2c7535 | /the game/GeometryBuilder.cpp | f20ac745d9cc09576d758c6cad23f09eacab580e | [] | no_license | agerse/PFG-assignment | 46de33670274d8b34d9de3afee81b6bc6251aae5 | 53ae12783c98789bce59dcfff510efc272c7010a | refs/heads/master | 2021-01-10T14:55:23.895057 | 2016-04-03T18:30:53 | 2016-04-03T18:30:53 | 52,002,425 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,105 | cpp | #include "SimpleMath.h"
#include "ShaderTypes.h"
#include "GeometryBuilder.h"
#include "Mesh.h"
#include "Model.h"
using namespace DirectX;
using namespace DirectX::SimpleMath;
Mesh& BuildQuad(MeshManager& mgr)
{
// Create vertex buffer
VertexPosNormTex vertices[] =
{ //quad in the XZ plane
{ Vector3(-1, 0, -1)... | [
"agerse12345@hotmail.com"
] | agerse12345@hotmail.com |
64414c7fefe89eccb581f4de36ebef0115685653 | 8f9e7d1b57b4fa28ea067d71d4b1a72763af035e | /src/GafferSceneUIModule/InspectorBinding.h | 4250fc7457b8d176d97c930cb03f22616d61fed5 | [
"BSD-3-Clause"
] | permissive | hradec/gaffer | e4e798739b45df624595c9980b8c649cea04522c | 43ea3477775a4c425501f082548b67e8a1526273 | refs/heads/master | 2023-04-28T15:29:15.015254 | 2022-05-24T23:34:29 | 2022-05-24T23:34:29 | 9,508,356 | 0 | 1 | BSD-3-Clause | 2021-09-09T21:19:26 | 2013-04-17T21:52:17 | Python | UTF-8 | C++ | false | false | 2,065 | h | //////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2021, Cinesite VFX 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:
//
// * Redistri... | [
"thehaddonyoof@gmail.com"
] | thehaddonyoof@gmail.com |
3bb0a7358f1626ffe66b51d0900681dc73f15fe2 | 2cf50b13626bac0424822f5e2e25751d310fddb3 | /src/shaders/TileMapShader.cpp | 2b2e3c0748f3ee7a4e7551c78a7b82100969e9cb | [] | no_license | ClaudioCheli/C-TileEngine- | 761934adc139f81e1a8731bf523eaf9bb4068143 | 79dec82f5834f7efd7a160e53d5fc92a5c0309f1 | refs/heads/master | 2020-05-20T23:25:16.332937 | 2019-02-10T11:30:08 | 2019-02-10T11:30:08 | 84,544,132 | 0 | 0 | null | 2019-02-10T11:30:09 | 2017-03-10T09:41:00 | C++ | UTF-8 | C++ | false | false | 2,166 | cpp | /*
* BaseShader.cpp
*
* Created on: 04 ott 2016
* Author: clasb
*/
#include "TileMapShader.h"
TileMapShader::TileMapShader(){
std::string vertexShaderSource = loadShader(this->VERTEX_SHADER_PATH);
std::string fragmentShaderSource = loadShader(this->FRAGMENT_SHADER_PATH);
this->vertexShaderID = comp... | [
"claudiocheli.dev@gmail.com"
] | claudiocheli.dev@gmail.com |
2d368f7a535f4e5977cfe22b9c61a7e513807d63 | 75d212c5444f5fb8234beb66a129d6fb6b521f78 | /include/Box3d.hpp | ce34e7b5095e1e3642e6f2b3c2f581b87f9deb71 | [
"MIT"
] | permissive | geraldc-unm/Comb | e8c6d2b3c839f774a050699e3508877783986f8f | 790d054f9722e6752a27a1c2e08c135f9d5b8e75 | refs/heads/develop | 2023-07-13T19:13:29.015994 | 2021-07-20T21:12:36 | 2021-07-20T21:12:36 | 381,495,498 | 0 | 0 | MIT | 2021-08-05T21:39:23 | 2021-06-29T20:59:17 | C++ | UTF-8 | C++ | false | false | 13,144 | hpp | //////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2018-2021, Lawrence Livermore National Security, LLC.
//
// Produced at the Lawrence Livermore National Laboratory
//
// LLNL-CODE-758885
//
// All rights reserved.
//
// This file is part of Comb.
//
// For details, see htt... | [
"burmark1@llnl.gov"
] | burmark1@llnl.gov |
6a866f3b154281c4dbcaffcde3ce338e7e5c4627 | b3287cda4d87f652756cd17826ad0ec1df4afb42 | /Object-Oriented Programming/design patterns/Lecture12_demo_Observer/main.cpp | fe8d99961297dbad3bbbbe550ceb7d94fabab9f0 | [] | no_license | skiry/University | 52e0eab4d18d6623250ac3b3588822aebe278844 | 1ad8f02eca0f8876f7436283c4637ae594cf40b9 | refs/heads/master | 2022-12-24T11:00:53.304614 | 2020-06-16T17:23:03 | 2020-06-16T17:23:03 | 116,440,486 | 0 | 0 | null | 2022-12-10T16:05:40 | 2018-01-06T00:29:33 | Python | UTF-8 | C++ | false | false | 712 | cpp | #include "lecture12_demo_observer.h"
#include <QtWidgets/QApplication>
#include "auctionleader.h"
#include "Auctioneer.h"
#include "BidderWithDescription.h"
#include "BidderWithPhoto.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
Auctioneer auct;
auct.addCastle("Highclere Castle", "... | [
"skiry@localhost.localdomain"
] | skiry@localhost.localdomain |
10798fe5fab98660b57564e0da033fbb01abe443 | 3874989396b41ec423b2878253633f303edd5656 | /src/players/Player.cpp | 0fc1cd08f21fa8dd900c2b17e7d89df2a4ff2c01 | [] | no_license | joetde/SuperBadbar | 7477e2fb6d662676ce70795f9d1287df65eb6023 | 7f0e09a57bc9754522588f1015363b1f1d0e046e | refs/heads/master | 2021-01-01T17:05:43.711037 | 2014-02-20T13:17:09 | 2014-02-20T13:17:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 642 | cpp |
#include "Player.h"
#include "actors/Babar.h"
#include "events/Stats.h"
Player::Player (int id, Analyser * analyser, bool local)
{
m_dmgs = new std::list<dmg_chan>();
m_id = id;
if ( local )
{
m_actor = new Babar (analyser);
}
else
{
/*m_actor = new Another_Babar();*/
... | [
"berardgui@gmail.com"
] | berardgui@gmail.com |
09804e168ff9a70079ceca0c2ed2f143c3465680 | bad16eb9b35971135f8fc055b40d87006621d2de | /nowcoder/2020通常比赛/contest5759/E.cc | 374618590c589ea2f6912bf70275178b46e59625 | [] | no_license | ymd45921/HUST-ACM-training | 1e1c47e40d419987731e047f493d614f0220346b | 1976e8351c0ba445ad8bfe0124dd88215d768cc8 | refs/heads/master | 2023-06-12T13:52:31.974586 | 2021-07-14T14:30:49 | 2021-07-14T14:30:49 | 317,748,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,780 | cc | /**
*
*/
#include <iostream>
#include <cmath>
#include <cstring>
#include <algorithm>
using namespace std;
using longs = long long;
using longd = long double;
using ulongs = unsigned long long;
const int inf = 0x3f3f3f3f;
const longs INF = 0x3f3f3f3f3f3f3f3f;
const double eps = 1e-8;
namespace Geo
{
using num... | [
"ymd45921@163.com"
] | ymd45921@163.com |
65f6fb67ed33fa3dd40d92064cd606ceff4802e8 | 022bca7becb6423cec611c2f4f7e20380989885e | /codeforces/Subtractions.cpp | e98a8c3d8ad7481751fe77b03d03206768b15a7d | [] | no_license | pervez19/Pratice-Programming- | e43ec935136b5b1350e8b2c1f749c4742f59d922 | 1110e7e38c21ea08b2028a6793c0eb1dda1a0c39 | refs/heads/master | 2021-11-03T17:17:03.787553 | 2019-04-09T15:26:10 | 2019-04-09T15:26:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 392 | cpp | #include<iostream>
#include <cmath>
using namespace std;
long long n,t;
int check(int a1,int a2)
{
t=t+a1/a2;
a1=a1%a2;
if(a1==0)
return t;
else
check(a2,a1);
}
int main()
{
cin>>n;
int a,b,a1,a2;
while(n>0)
{
cin>>a>>b;
a1=fmax(a,b);
a2=fmin(a,... | [
"parvezdiu16@gmail.com"
] | parvezdiu16@gmail.com |
f9643a3860f0d1eacba56cac084823c2704cc662 | 7c1d74d50c0ac16827615856920b94c311d722f5 | /renderfarmmanagerwindow.cpp | 979f5d529e1c4e8655af11d2ca9c0a1365f86c60 | [] | no_license | samcrow/RenderFarmManager | 06868a7ee2e23f9c02cf7a366c29e1f7ef9fae99 | 2dbf1d3c7378cca34988294f318ed8c0a6d0a085 | refs/heads/master | 2021-01-22T23:49:10.880041 | 2012-11-20T02:46:11 | 2012-11-20T02:46:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | cpp | #include "renderfarmmanagerwindow.hpp"
#include "ui_renderfarmmanagerwindow.h"
RenderFarmManagerWindow::RenderFarmManagerWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::RenderFarmManagerWindow)
{
ui->setupUi(this);
}
RenderFarmManagerWindow::~RenderFarmManagerWindow()
{
delete ui;
}
| [
"sam.crow@liquidr.com"
] | sam.crow@liquidr.com |
21eb681ff208927061f3f3c29d60263232fbb8fb | 39c37c017e25a0933c6febeb5f17232df405a1dd | /HeapSort/HeapSort/main.cpp | feff99bffeec8c9e0778dccfae392c22db55843e | [] | no_license | TripppleG/DAA-Sorts | 99453d2a9ee1ec51c75304297c8cd29bbc096819 | fc5dd5b7b81f4f9798104029031f8649b9ba6040 | refs/heads/master | 2020-05-14T18:53:49.881136 | 2020-04-19T20:40:02 | 2020-04-19T20:40:02 | 181,918,020 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 835 | cpp | #include <iostream>
#include <vector>
void Swap(int& a, int& b)
{
int temp = a;
a = b;
b = temp;
}
void Heapify(std::vector<int>& arr, int n, int i)
{
int largest = i;
int left = 2 * i + 1;
int right = 2 * i + 2;
if (left < n && arr[left] > arr[largest])
{
largest = left;
}
if (right < n && arr[right] > ... | [
"georgi.gazepov@gmail.com"
] | georgi.gazepov@gmail.com |
41aa53f5c470c3814bbd8b0ed7f4b29cb471bf74 | 0aceab344c20ed0af5113158a0de4a35f39c2ae1 | /src/masternode-sync.h | 5bcb70ee1f8bd32e3b23c901e4a088acf8fde599 | [
"MIT"
] | permissive | piklock/qynocoin | 34304e12cc162d9ce268901124279992939002dd | 40fc81e8d52c58916e8be0ff7593a495dd481726 | refs/heads/master | 2020-04-02T01:46:50.747748 | 2018-10-20T16:23:06 | 2018-10-20T16:23:06 | 153,874,573 | 0 | 0 | MIT | 2018-10-20T05:58:57 | 2018-10-20T05:58:57 | null | UTF-8 | C++ | false | false | 2,238 | h | // Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017-2018 The Qyno Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef MASTERNODE_SYNC_H
#def... | [
"contact@qyno.org"
] | contact@qyno.org |
d2573e7c3ae3ca6746bf6e3cfc9c608725c0d4d7 | a998aab501cdf3bc2a0274c5835540fd49b2b0cb | /src/10-9-1-105.cpp | b75bab5f7fac2dfc76118e3cc9e76cd0651f76c3 | [
"MIT"
] | permissive | XuZhixuan/cpp_homework | 7247ff2682362ccbe721d2c7f9405a495497d963 | 31bcfd9a8df4df3af354240dfa2d72ed3b62057e | refs/heads/master | 2020-07-29T08:49:14.292112 | 2019-12-17T09:54:21 | 2019-12-17T09:54:21 | 209,735,499 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,251 | cpp | #include <iostream>
using namespace std;
class Shape
{
public:
virtual void printName() = 0;
virtual double printArea() = 0;
};
class Circle : public Shape
{
protected:
double radius_;
public:
Circle(double);
void printName();
double printArea();
};
class Square : public Shape
{
prote... | [
"sxxuzhixuan@hotmail.com"
] | sxxuzhixuan@hotmail.com |
1e763bdbc3c1f10bcf8b1ab782f12a1976a64495 | cbc870f2e6cafada1e171ea1ad7c4a61377e69d0 | /src/core/io/file_output.tpp | 81fef71ceaea4f86b339671ba8ed180100b06367 | [] | no_license | SrTobi/minijava | 719634577eea3113f9fc625ab2f7c515b07cb5a0 | 034e0e351951f05766e7bca7f6a1e689b789ee9d | refs/heads/master | 2021-01-12T12:13:42.793808 | 2017-02-13T06:45:03 | 2017-02-13T06:45:03 | 72,376,450 | 2 | 0 | null | 2016-12-12T02:43:53 | 2016-10-30T21:24:12 | C++ | UTF-8 | C++ | false | false | 4,496 | tpp | #ifndef MINIJAVA_INCLUDED_FROM_IO_FILE_OUTPUT_HPP
#error "Never `#include <io/file_output.tpp>` directly; `#include <io/file_output.hpp>` instead."
#endif
#include <cstdarg>
#include <utility>
#include "exceptions.hpp"
#include "io/misc.hpp"
namespace minijava
{
namespace detail
{
// `throw`s a `std::system_e... | [
"moritz.klammler@student.kit.edu"
] | moritz.klammler@student.kit.edu |
acd37574c959b0619f32f2832746e954873dbe95 | e1e43f3e90aa96d758be7b7a8356413a61a2716f | /commsfwtools/commstools/utracedecoder/inc/logevents/rdebuglogevent.h | 62b815e8e7a0e240cdd78b210d453815b0352a16 | [] | no_license | SymbianSource/oss.FCL.sf.os.commsfw | 76b450b5f52119f6bf23ae8a5974c9a09018fdfa | bc8ac1a6d5273cbfa7852bbb8ce27d6ddc076984 | refs/heads/master | 2021-01-18T23:55:06.285537 | 2010-10-03T23:21:43 | 2010-10-03T23:21:43 | 72,773,202 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,262 | h | // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/e... | [
"kirill.dremov@nokia.com"
] | kirill.dremov@nokia.com |
b7b895fe15922b78cbe5b8f8ef644d7bdaade86a | e5147d9abc2b7acf8a1977b633b8faf593d5272b | /drape_frontend/animation/arrow_animation.cpp | 8116b1886130e35548db70afa922f82386bcf4ff | [
"Apache-2.0"
] | permissive | igortomko/omim | 55110f18b64ac25c7b0273f958715afaa711643d | 378bec71845f445e08bc40542ba2d88abdba1b65 | refs/heads/master | 2020-12-11T09:03:38.848046 | 2016-07-11T09:01:49 | 2016-07-11T09:01:49 | 57,289,449 | 0 | 0 | null | 2016-04-28T09:40:09 | 2016-04-28T09:40:09 | null | UTF-8 | C++ | false | false | 2,836 | cpp | #include "arrow_animation.hpp"
namespace df
{
ArrowAnimation::ArrowAnimation(m2::PointD const & startPos, m2::PointD const & endPos, double moveDuration,
double startAngle, double endAngle)
: Animation(true /* couldBeInterrupted */, true /* couldBeBlended */)
, m_positionInterpolator(moveDuration,... | [
"d.volvenkova@corp.mail.ru"
] | d.volvenkova@corp.mail.ru |
36453fc14dd4c8e7400687007065524c20dfb482 | 7dd0365a1e98abf47755fe2bfa889d4dde6eb872 | /libraries/libio/BitWriter.h | edea2b31b1d452b6a94353dbb93ed3ea5653667b | [
"MIT",
"Zlib",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | dalalsunil1986/skift | d8b005ce8588a98b29c4ce51412347831a38e248 | f2ce030fadac62e4aa6912ed6367a93c37c16ade | refs/heads/main | 2023-03-25T01:54:42.903273 | 2021-03-26T14:49:16 | 2021-03-26T18:32:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 986 | h | #pragma once
#include <libio/Write.h>
#include <libsystem/Common.h>
namespace IO
{
class BitWriter
{
public:
BitWriter(Writer &writer) : _writer(writer)
{
}
~BitWriter()
{
flush();
}
inline void put_bits(unsigned int v, const size_t num_bits)
{
_bit_buffer |= v << _bit... | [
"nicovb30@hotmail.com"
] | nicovb30@hotmail.com |
e098f47c8debc29b9af126023ffa768fd699ef50 | cf9543c0957a1fb79d33dfcd20fad529474b7b97 | /Practica-1-usuario/Monomio.cpp | ccd9b696e33ef08d05f3e8c7525354215cb9858f | [] | no_license | alexariza95/Estructuras-de-Datos | af003811b95481df000284e495f692b73457a98b | b1eafaaae8a93fa1566642ff83b961e02d10b8dd | refs/heads/master | 2022-01-13T16:00:42.433341 | 2019-05-19T20:15:50 | 2019-05-19T20:15:50 | 170,174,547 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,713 | cpp | /*!
\file Monomio.cpp
\brief Fichero que contiene el código de las funciones de la clase Monomio
*/
// Ficheros de cabecera
#include <iostream>
#include "Monomio.hpp"
#define COTA_ERROR 1.0e-6
// Operadores de asignación
ed::Monomio & ed::Monomio::operator=(ed::Monomio const &m)
{
this->setCoeficiente(m.g... | [
"p42argea@uco.es"
] | p42argea@uco.es |
1567172a1f799d7919fcdc4021d6b2904c5febef | b0f1b0e2a57e8f080207ea3c4d8369993eecb5c6 | /day11/cpp/src/part2.cpp | 1cc36e4a68d7a12b1e4c80c4a3f05fa1ad6d62a2 | [] | no_license | tboschi/advent-of-code-2020 | 70f7f4a9152a53893c31eeb46ca6faa13677520b | 78660891d295cafbd752a141c293b5b364940271 | refs/heads/master | 2023-02-03T02:53:36.099021 | 2020-12-21T17:41:59 | 2020-12-21T17:41:59 | 317,653,096 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,808 | cpp | #include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include <sstream>
#include <algorithm>
#include <numeric>
#include <map>
using floormap = std::vector<std::string>;
// cont number of occupied seats around x, y
size_t check(const floormap &state, size_t x, size_t y) {
size_t busy = 0;
long... | [
"boschi.tommaso@gmail.com"
] | boschi.tommaso@gmail.com |
03ba0c4f3b5293b0cf50942c10dbb55ececbdf43 | e69c9f9cc90c99833eaa030f047772232436f3bd | /videochat/message_codes.h | a3b06bef31607bd994319242bb5a84ef372a505e | [] | no_license | DungeonMaster47/videochat | 4e5290095fcdc83b2e1a719fcc02c0a85132cc7a | d85cd8253d3e3187a0f0f05115234d25d89521a2 | refs/heads/master | 2020-12-18T13:08:39.211173 | 2020-06-20T20:17:35 | 2020-06-20T20:17:35 | 235,393,330 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 280 | h | #pragma once
namespace message_codes {
constexpr unsigned char WAIT = 0xF0;
constexpr unsigned char READY = 0xF1;
constexpr unsigned char TEXT = 0xF2;
constexpr unsigned char FRAME = 0xF3;
constexpr unsigned char SOUND = 0xF5;
constexpr unsigned char DISCONNECTED = 0xF4;
} | [
"leonsc757@gmail.com"
] | leonsc757@gmail.com |
c96de526db1669cb2ed2298fcbba11082b7e6d72 | b88922ee39b1d0032b51cf9171162fadbf0367fa | /coupledFoam/anisoSPE10/0/K | 09c9ef4312241e67a62df3d8a5596a2f1ddc80d8 | [] | no_license | FoamScience/OpenRSR.tutorials | 57f7a185bc5ef158ecf59bd1ab66da2b20ca064e | 5e3a14e7895c257bae69cb228d468aceb66866fe | refs/heads/master | 2020-06-18T07:35:03.207734 | 2020-03-08T11:53:55 | 2020-03-08T11:53:55 | 196,216,260 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 512 | // -*- C++ -*-
// File generated by PyFoam - sorry for the ugliness
FoamFile
{
version 2.0;
format ascii;
class volTensorField;
location "0";
object K;
}
dimensions [ 0 2 0 0 0 0 0 ];
internalField uniform (1e-10 0 0 0 1e-10 0 0 0 1e-11);
boundaryField
{
outlet
{
type zeroGradient;
}
inlet
{
... | [
"elwardifadeli@gmail.com"
] | elwardifadeli@gmail.com | |
9fb802d2fce31c918ddb5964695ff3f9477b4f74 | b4c705bcbf8e287bb5a814523aa9f9e1568a575e | /src/ds/ffi.h | 41172ac7a3c38353347e1992380ce6253d3e4ba9 | [
"MIT"
] | permissive | iomeone/BSL-AlgorithmW | c69c1e0dc42972c204ce1cb32f9ce268b85d9265 | c1774f8a4a37dbe792ef5b17a18030027604aa20 | refs/heads/master | 2020-12-01T15:16:28.680766 | 2019-03-22T13:34:59 | 2019-03-22T13:34:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 163 | h | #ifndef SU_BOLEYN_BSL_DS_FFI_H
#define SU_BOLEYN_BSL_DS_FFI_H
#include <string>
#include <vector>
using namespace std;
struct Ffi {
string source;
};
#endif
| [
"boleyn.su@gmail.com"
] | boleyn.su@gmail.com |
17a02857714da63b3860ac1ea64ff3aa56853dd3 | ad13a6d7903fed27959d9bbcd7a41a637331facc | /c++/Classes_abstractas.cpp | ef03a5d26f61d30ae08ac77a0a871901787d01f8 | [] | no_license | Juanp-Romero/Programacion-J1_21_1 | a03fe6228bd80e68421122858e6d77abc5e7e60f | c3bdf44e743875f6d7bd3c072bcc8324c7cd69cf | refs/heads/main | 2023-08-25T21:03:18.710649 | 2021-09-24T15:32:12 | 2021-09-24T15:32:12 | 395,698,744 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,237 | cpp | /******************************************************************************
Name: Clases Abstractas
Author: Juan Romero
Date: 14/09/2021
Purpose:
Usage: Plug and place
*******************************************************************************/
#include <stdio.h>
#include <iostream>
using namespace std;
... | [
"juan.p.romero.uis@gmail.com"
] | juan.p.romero.uis@gmail.com |
b80b2a8029ec7c325943ba3e7bb0de0b84644d9a | 5e3fac6568bc351c0500b87fb4842d23cb14646e | /logdevice/common/ClientAPIHitsTracer.h | 9e3b448c50ae2906e6bb8ab18645994eeeb3bdd1 | [
"BSD-3-Clause"
] | permissive | ahmad-diaa/LogDevice | ab7be8721095164eda33a4de468d6e76d034a4bf | d9caf3ede45cbfadac96f1e1670c6ab4acfce136 | refs/heads/master | 2020-06-04T18:37:15.067334 | 2019-06-20T06:01:46 | 2019-06-20T06:06:32 | 192,147,164 | 0 | 0 | NOASSERTION | 2019-06-16T03:45:48 | 2019-06-16T03:45:47 | null | UTF-8 | C++ | false | false | 3,449 | h | /**
* Copyright (c) 2017-present, Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <chrono>
#include <memory>
#include <string>
#include "folly/Sy... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
0f53b92e2dd6bd93e2a866d3890972591dc351cd | 13d750a9867dbd9527fe5e2205199b785ba08935 | /T1/Layer.cpp | d804df91261dd9183193a5465fefed2c922eb8ff | [] | no_license | nikom1912/CC5114 | 0aea4817d818e010d2af356d2f098ce28c401205 | f60ff9ac58e3e258fb35064fea8e23832cfa7d50 | refs/heads/master | 2020-07-09T01:21:28.769782 | 2019-12-15T23:54:53 | 2019-12-15T23:54:53 | 203,834,302 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,032 | cpp | //
// Created by nikom on 19-08-2019.
//
#include "Layer.h"
#include <random>
template <class T>
void OutLayer<T>::train() {
for(int i = 0; i < this->largo; i++)
this->capa[i]->train();
}
template <class T>
HiddenLayer<T>::HiddenLayer(int entrada, int n, Funciones* nfunc): Layer<T>(entrada, n, nfunc) {
}... | [
"nikom_1912@hotmail.com"
] | nikom_1912@hotmail.com |
c032f3c9cae9c839d8da9760a329727223baa761 | 568ecb37a72fbed153f2ae01872b1464c925b35a | /connor/csem_interpreter/magic.cpp | f27b5ab6390e72af42338c18c4842cc76f63a26a | [] | no_license | cosc402/project | 5e8109dffbb3bb3fb7d5a43fe6ae1b58f7e0ab6e | 1d92956b1a5bc1a7a283bd96052b97387157c714 | refs/heads/master | 2021-01-10T13:18:06.839206 | 2016-05-06T17:38:47 | 2016-05-06T17:38:47 | 51,712,800 | 0 | 0 | null | 2016-02-26T04:08:42 | 2016-02-14T20:50:14 | Python | UTF-8 | C++ | false | false | 170 | cpp | int magic(int b, int e) {
int i;
int result;
result = 1;
for (i=0; i<e; i+=1)
result *= b;
return result;
}
int main() {
int i;
_print(magic(2,10));
}
| [
"cminton3@utk.edu"
] | cminton3@utk.edu |
eaf9fa5efafa55fb062272d3c90ef85c441f1abb | 2ae12dcaf6ae43264cb16935ddd30b80fd50fad2 | /InterviewStreet/src/grouping_game.h | 55519fce7bcb1d67fe197053af7e1da5a89a93b4 | [] | no_license | saich/cpp-practice | 8cae3a87666735b28b610643037daa4b123da55a | 036469c77340737ae424bdc38aa2c0c88f5ef224 | refs/heads/master | 2020-05-20T07:52:21.621959 | 2013-10-15T06:37:50 | 2013-10-15T06:37:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,626 | h | #include <iostream>
typedef unsigned long ul;
// https://adobe.interviewstreet.com/challenges/dashboard/#problem/4f651708b2919
// WRONG ANSWER!! MISSED THE CONSECUTIVE PART IN THE QUESTION
const int kMaxN = 1000;
#define MOD 1000000007
unsigned long long Facts[kMaxN + 1];
int group_game()
{
int ... | [
"saiprasad.ch@gmail.com"
] | saiprasad.ch@gmail.com |
5140c3652bccd511a754e45f283b26b8024b2deb | 7030bdc16a529c04ebacc9d18c5eff9251320ca9 | /dev/player/datastream/qsoundfilter/src/QSoundFilter.cpp | 2fc19117496a44be7b1b790186c62f43345cd56a | [] | no_license | pleasemarkdarkly/iomega_hipzip | cd770e6cf1b1e719098d5e33e810d897249c0f69 | ee741ddf30d3f0875420384837ba8eb9581f5bf2 | refs/heads/master | 2021-05-24T18:53:04.662340 | 2020-04-07T08:22:21 | 2020-04-07T08:22:21 | 253,705,949 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,917 | cpp | // QSoundFilter.cpp: qsound filter implmementation
// danc@iobjects.com 07/26/01
// (c) Interactive Objects
#include <util/rbuf/rbuf.h> // rbufs
#include <string.h> // memset
#include "QSoundFilter.h"
REGISTER_FILTER( CQSoundFilter, QSOUND_FILTER_ID );
CQSoundFilter::CQSoundFilter()
{
memset( (void*... | [
"pleasemarkdarkly@gmail.com"
] | pleasemarkdarkly@gmail.com |
3826f2221cb46b8983bd1eb846b7e7ffb057fece | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5648941810974720_1/C++/whatyouthink/main.cpp | 22e58a48dbfba09c44079f31aa63ea1b9bf9abc5 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 981 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
freopen("A-large.in","r",stdin);
freopen("A-large.out","w",stdout);
int t;
cin>>t;
for(int cas = 1; cas <= t; cas++)
{
char s[2010];
cin>>s;
int num[100];
int ans[10];
memset(num,0,si... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
21e1d461212f0072ec8a6e862b8ecdd7ed004219 | bb464ccd86e514d26b9c8398f52e5318d81962fc | /ESP8266_Arduino.original/ESP8266_Arduino.ino | a59727f42ffbb76876cd8fe1b5c27e146b9fb6fd | [] | no_license | camus122/SEAR2018_COMIDA_GATO | eddb71aea70da6fedc433f87016b740258c09356 | f2cf94a071cea9dba0792883fb1ea2573d3dcbc5 | refs/heads/master | 2021-07-22T22:34:43.581106 | 2020-04-12T15:39:49 | 2020-04-12T15:39:49 | 135,390,827 | 0 | 0 | null | 2020-04-12T15:39:50 | 2018-05-30T05:08:38 | null | UTF-8 | C++ | false | false | 8,004 | ino | #define DEBUG true
// Credenciales del WiFi
#define SSID "ssid"
#define PASS "passwd" // AccessAir
// Datos API ThingSpeak
#define THINGSPEAK "184.106.153.149" // thingspeak.com184.106.153.149
String statusChWriteKey = "7HAsdsaHF4QB0BNTWZ";
String statusChId = "511182";
// MiniBomba
String pumpChReadKey = "DGSAW"E... | [
"mu122@msn.com"
] | mu122@msn.com |
19bfa8291ef839fa2a542e633f2b6fa857275ff5 | d07551302729869f9e82bea32ce64ef9e8a985e8 | /src/governance-vote.h | 96467aa19ed30c2c181303ceed758b8ba166df96 | [
"MIT"
] | permissive | jinycoin/jinycoin | 724d94762b2f0d5d892dcbd3adb5314c9425091b | f752414a2c7593970d296ab8156e34411ebbf782 | refs/heads/master | 2020-05-15T20:49:39.132348 | 2019-07-26T11:09:49 | 2019-07-26T11:09:49 | 181,805,922 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,848 | h | // Copyright (c) 2014-2017 The Dash Core developers
// Copyright (c) 2019 JINY developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef JINY_GOVERNANCE_VOTE_H
#define JINY_GOVERNANCE_VOTE_H
#include <key.h>
#incl... | [
"info@jinycoin.com"
] | info@jinycoin.com |
ddea54bef44cb2d75b18251bef8709be39bfbcfe | 4c919af4f89b5f73198464af0c0f9414c695f664 | /Dungeon.cpp | e042b1819230fabb26f6bf72cc2addec80302ac1 | [] | no_license | erickarlsmyrTGA/Diablo-v1 | eb3f21f465d0adc1a1b4cd79ec86cc572e2d047b | efe07a57d504a7e2c5d57ac677ae3d0e1c416e93 | refs/heads/main | 2023-01-06T03:16:40.884162 | 2020-10-19T14:00:00 | 2020-10-19T14:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 305 | cpp | #include "Dungeon.h"
#include "Utility.h"
Dungeon::Dungeon()
{
int totalNumberOfDoorsInDungeon = Utility::RandomNumberGenerator(7, 15);
for (int i = 0; i < 10; i++)
{
Room room;
myRooms.push_back(room);
}
}
Dungeon::~Dungeon()
{
}
std::vector<Room>& Dungeon::GetRooms()
{
return myRooms;
}
| [
"71003093+erickarlsmyrTGA@users.noreply.github.com"
] | 71003093+erickarlsmyrTGA@users.noreply.github.com |
5f0e9cfc05fc7cacbc68ffb36b083911988f0ad4 | 21d213e50acf5d72f631d5f12bca2d6020d8e52c | /ordo-mirror/src/db/dbx1000/storage/index_btree.cpp | 68e6d357f6f0398a5aa32023c8661f9a8ccc1b5b | [] | no_license | yazici/numa-stm | 512bec290ca2e72e297132b7baa307b3d8c2b827 | 78b4aa4963aca6c73c1c4c1661b32b5aab3b1949 | refs/heads/master | 2021-01-05T10:33:40.815580 | 2018-03-26T19:29:12 | 2018-03-26T19:29:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,123 | cpp | #include "mem_alloc.h"
#include "index_btree.h"
#include "row.h"
RC index_btree::init(uint64_t part_cnt) {
this->part_cnt = part_cnt;
order = BTREE_ORDER;
// these pointers can be mapped anywhere. They won't be changed
roots = (bt_node **) malloc(part_cnt * sizeof(bt_node *));
// "cur_xxx_per_thd" is only for SCA... | [
"changwoo@vt.edu"
] | changwoo@vt.edu |
4745ad8756965d3d32b02a7c9c7c0d3ac71fa7ce | 4e803914ed1488152e17b3205cc1fa7121739eb1 | /tabla de multiplicar/main.cpp | d89a40e019b0d3543f363686822896c231f326c9 | [] | no_license | anderson36/taller-3 | 7ad337c7e046d8f7f76e1c9910bbcccea1abccf3 | 4acc97151db2d97170dbaa0e16351e2cb5fe54bf | refs/heads/master | 2020-04-17T14:09:41.953376 | 2016-08-21T01:10:00 | 2016-08-21T01:10:00 | 66,174,963 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 218 | cpp | #include <iostream>
using namespace std;
int main() {
int i;
int n;
cout << "ingrese numero a multiplicar" << endl;
cin >> n;
for (i=1;i<=10;i++) {
cout << n << "x" << i << "=" << n*i << endl;
}
return 0;
}
| [
"andersons_36@hotmail.com"
] | andersons_36@hotmail.com |
5ca1d494e490edd229b078cb2ddb38d5835457c4 | 4e68f780a2a07db809a3b0b4643086587a21957f | /AdvancedLevel_C++/1005 Spell It Right.cpp | 122e842ce2c6cbadeb17dfdba2e5ca44729083b0 | [] | no_license | honchen22/PAT | 960a3e17cfabda6cd9f33be7880f20c981158cc6 | 4d9be16a6da3b6bb42560f0020eb2f33e44d8a86 | refs/heads/master | 2020-04-12T10:14:21.621558 | 2019-07-22T02:28:48 | 2019-07-22T02:28:48 | 162,423,396 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 487 | cpp | #include <iostream>
using namespace std;
int main() {
string table[10] = {"zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"};
string str;
cin >> str;
int sum = 0;
for (int i = 0; i < str.size(); i++) {
sum += (str[i] - '0');
}
string tmp = to_string(sum... | [
"tencen@Tencen.local"
] | tencen@Tencen.local |
559c07b4d373194d1af8425ca5e02a5b4a0bf24c | f7e42d22b49a3a66016492bc53233386533db9cf | /Module05/ex02/Bureaucrat.hpp | 07768446ab4b58a3ab871fef1d59ad5f21a6743b | [] | no_license | 42Curriculum/CPP_Modules | 5737ce1f55aca98ac0e8ff470f91cd66de343fcc | 930eaf99008c2c2605a7f69981738a6cabb7796f | refs/heads/master | 2022-12-31T22:34:20.394057 | 2020-10-24T10:03:45 | 2020-10-24T10:03:45 | 281,915,486 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,737 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Bureaucrat.hpp :+: :+: :+: ... | [
"mahthaki@gmail.com"
] | mahthaki@gmail.com |
5d8a68df1f234a92dea80f7cbf159672f0274776 | 19b4aea6c829b272ae29692ccc51f9ab8dcf573f | /src/winrt/impl/Windows.ApplicationModel.Wallet.System.1.h | 94921ad2230ac026c441a19c169263edb460eb9b | [
"MIT"
] | permissive | liquidboy/X | 9665573b6e30dff8912ab64a8daf08f9f3176628 | bf94a0af4dd06ab6c66027afdcda88eda0b4ae47 | refs/heads/master | 2022-12-10T17:41:15.490231 | 2021-12-07T01:31:38 | 2021-12-07T01:31:38 | 51,222,325 | 29 | 9 | null | 2021-08-04T21:30:44 | 2016-02-06T21:16:04 | C++ | UTF-8 | C++ | false | false | 967 | h | // C++/WinRT v1.0.170906.1
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.
#pragma once
#include "winrt/impl/Windows.ApplicationModel.Wallet.0.h"
#include "winrt/impl/Windows.Storage.Streams.0.h"
#include "winrt/impl/Windows.ApplicationModel.Wallet.System.0.h"
WINRT_EXPORT namespace winrt::Windows:... | [
"fajardo_jf@hotmail.com"
] | fajardo_jf@hotmail.com |
b4d20b429c9c6b1d584d84e17ad5b6f7ad0ace64 | 505eafaaf28b795a73d2f8c56facb7f0498922fa | /LiveArchive/2281.cpp | 3cd0c6c462a7eaa81028e26978dff4bf2862e357 | [] | no_license | thabetx/CompetitiveProgramming | f4b0798ee58ba91962ae635cd3b89ef41a5dc9a4 | ead587846ff0753fa793701ef4b28fab3476cd32 | refs/heads/master | 2021-04-30T17:43:49.779095 | 2017-04-16T10:22:03 | 2017-04-16T10:22:03 | 80,250,690 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 554 | cpp | #include <iostream>
#include <vector>
using namespace std;
#define f first
#define s second.first
#define t second.second
int main(){
vector<pair<int, pair<int,int>>>v(16);
for(int i=0; i<16; i++) cin>>v[i].f>>v[i].s>>v[i].t;
int x,y,z;
while(cin>>x>>y>>z){
if(x==-1)break;
pair<int, pair<int,int>>ans... | [
"thabetx@gmail.com"
] | thabetx@gmail.com |
6cf0e4de0d7d18269f3e0b4ddee4127a88b24fac | 3ca0354d3e76345b1b9aaac56380a7ba8b9a8385 | /Digital Image Processing/Homework2/Code & Image1/main.cpp | a31bd81568f03a6323ac52a3d91d83c311db7101 | [
"MIT"
] | permissive | wpn-zju/Undergraduate-Course-Homework-ZJU | c58d1262b1cb30b10e8f4e0f82447c66a20a649e | ee75ddd73b13fe7df471b77d9da1532d2fb11c5c | refs/heads/master | 2023-05-12T06:50:37.650218 | 2023-04-30T00:39:11 | 2023-04-30T00:39:11 | 218,277,876 | 9 | 3 | MIT | 2020-10-22T01:38:58 | 2019-10-29T12:06:57 | C++ | UTF-8 | C++ | false | false | 2,753 | cpp | #include<iostream>
#include<cstdlib>
#include<opencv2\opencv.hpp>
#include<opencv2\highgui.hpp>
#include<opencv2\imgproc\imgproc.hpp>
using namespace std;
using namespace cv;
void QuickSort(uchar* list, int low, int high)
{
int i = low;
int j = high;
int temp = list[i];
if (low < high) {
while (i < j) {
whil... | [
"3150102239@zju.edu.cn"
] | 3150102239@zju.edu.cn |
40b07479bfb2742edcd44ec3743cd8463db9b1be | 0b1e8f4216323b524bd2f13173ac2f2d11e9825c | /Volume 23 (2300 - 2399)/2376/2376.cpp | f233b0148b1b09b378df2561f1aff89e9dccd195 | [] | no_license | RodrigoRossetti/URI-OJ | cba0a77b229afc3addac5181319f8077c970deb6 | 5c4f7ecd10d095e102ad12363371a01eaad84bf7 | refs/heads/master | 2023-01-31T06:11:51.236100 | 2020-12-15T01:06:31 | 2020-12-15T01:06:31 | 277,349,412 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,095 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int arr[16];
memset(arr, 0, sizeof(arr));
for (int i = 0; i < 16; i += 2) {
int n, m;
cin >> n >> m;
if (n < m) arr[i] = 1;
else arr[i+1] = 1;
}
for (int i = 0; i < 16; i += 4) {
int n, m... | [
"aracknock@gmail.com"
] | aracknock@gmail.com |
93221ae878f75109abe31fd4a2aa80d5f80a0def | 05cf250793d00cdd7fc7c03cd60a2a705865eab9 | /afrodita-firefox/src/main/include-deps/msvc/nsIASN1Sequence.h | 792756b2c729639cfe0f0fdfa0a3a31252046012 | [] | no_license | SoffidIAM/esso | 53dcfcbf22b02f0b2fdc1314eb55749c5d1ca158 | 8b3e04e596a549b9b8ecab186f16680298afd1dc | refs/heads/master | 2022-07-25T06:59:29.348943 | 2022-07-07T13:10:37 | 2022-07-07T13:10:37 | 19,988,314 | 9 | 5 | null | 2020-10-12T23:51:27 | 2014-05-20T16:25:21 | C++ | UTF-8 | C++ | false | false | 7,016 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/moz2_slave/rel-192-xr-w32-bld/build/security/manager/ssl/public/nsIASN1Sequence.idl
*/
#ifndef __gen_nsIASN1Sequence_h__
#define __gen_nsIASN1Sequence_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
#ifndef __gen_nsIASN1Object_... | [
"open@forge.brujula.es"
] | open@forge.brujula.es |
3922299c917e8e8346e611b1567c517d2f57b89b | 88ae8695987ada722184307301e221e1ba3cc2fa | /sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc | 790b65c5870a5ee91ada250f26dac164628d22b2 | [
"BSD-3-Clause"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 18,172 | cc | // Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Note: any code in this file MUST be async-signal safe.
#include "sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.h"
#include <fcntl.h>
#include <stddef.h>
#include <stdi... | [
"jengelh@inai.de"
] | jengelh@inai.de |
16c2f67e4bf31aaae0939fe072177e8c59ee9693 | c8bc6c56271d1cc9affe08d9f282360e8d7500a9 | /android/unityLibrary/src/main/Il2CppOutputProject/Source/il2cppOutput/UnityEngine.InputLegacyModule.cpp | 530bd7577dd32a9f95284c80c903525fb6e3e3ef | [] | no_license | AlmiranteFuchs/StructAR | 4d9bc951bb18df458c00f308ac6f720aef03966c | 7b88090f65a4bc2b044380ea836b8a680f2d1b51 | refs/heads/main | 2023-04-05T20:33:24.611165 | 2021-04-09T01:26:31 | 2021-04-09T01:26:31 | 355,631,100 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 148,450 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
// System.Void
struct Void_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5;
// UnityEngine.Camera/CameraCallback
struct CameraCallback_tD9E7B69E561CE2EFDEEDB0E7F1406AC52247160D;
// Unity... | [
"58078331+AlmiranteFuchs@users.noreply.github.com"
] | 58078331+AlmiranteFuchs@users.noreply.github.com |
e214231680d78808886fd17936fdfae4e7109bbd | 619c5da0729e38b049b956ab37f7af15ad6b63e7 | /practical 4(function overloading)/function_overloading.cpp | 4519eca19020db06aeedf7180abbc2deb7900add | [] | no_license | RachitSharma-191927/Assignment-1 | eae1d852962b2231d7c14a896a2f9a36eedddfa3 | e5c7a84f2417a22b35ce0bfa276f8f7b5efc79f1 | refs/heads/main | 2023-05-08T01:21:31.156967 | 2021-05-29T13:56:25 | 2021-05-29T13:56:25 | 343,523,575 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 562 | cpp | #include<iostream>
#include<cmath>
float power(float n,float m)
{
float a;
a=pow(n,m);
return a;
}
float power(float n)
{
float b;
b=pow(n,2.0);
return b;
}
void display(float a)
{
std::cout<<"\nThe required result is :"<<a;
}
int main()
{
float exponent,base;
float a,b;
... | [
"rachitsharmarashr@gmail.com"
] | rachitsharmarashr@gmail.com |
8ddde8345d3f79363c7678b61774d18ccd0838ec | 39ab815dfdbab9628ede8ec3b4aedb5da3fd456a | /aql/benchmark/lib_37/class_1.cpp | 3d7850043a8a9a694fe15730ff73fb66f123af5a | [
"MIT"
] | permissive | menify/sandbox | c03b1bf24c1527b47eb473f1acc433f17bfb1d4f | 32166c71044f0d5b414335b2b6559adc571f568c | refs/heads/master | 2016-09-05T21:46:53.369065 | 2015-04-20T06:35:27 | 2015-04-20T06:35:27 | 25,891,580 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 311 | cpp | #include "class_1.h"
#include "class_1.h"
#include "class_4.h"
#include "class_0.h"
#include "class_9.h"
#include "class_3.h"
#include <lib_19/class_8.h>
#include <lib_33/class_3.h>
#include <lib_24/class_2.h>
#include <lib_9/class_7.h>
#include <lib_14/class_5.h>
class_1::class_1() {}
class_1::~class_1() {}
| [
"menify@a28edc5c-ec3e-0410-a3da-1b30b3a8704b"
] | menify@a28edc5c-ec3e-0410-a3da-1b30b3a8704b |
9e1af3883b96dd8aae5aec4dd2fd53fbc76cecca | ad1fde10f5960a810eb92c7db888907b426b5f24 | /src/glcontext.h | 7a16fc906087176d05902ccc484d7ea9cb498b49 | [] | no_license | wjlgryx/node-webgl | 0859f5e48567d8ee66a2dc529cf7eeba6a4c7207 | 3f138238153044d38b1c2af717bc71dea6e848b5 | refs/heads/master | 2021-01-15T17:56:20.244046 | 2010-09-21T01:39:03 | 2010-09-21T01:39:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,654 | h | #include <SDL/SDL_opengl.h>
#include <v8.h>
#include <node.h>
#include <node_events.h>
#include "typedarray.h"
#include "image.h"
using namespace v8;
using namespace node;
class GLContext : public ObjectWrap {
public:
static void
Initialize (Handle<Object> target) {
HandleScope scope;
Loc... | [
"brian@brianmckenna.org"
] | brian@brianmckenna.org |
d8a3058ef1afb3d708688642bcfd2d019dfda22d | 25799d6c9d90e2b3bf8cc40877c3a9171ec6ca8c | /arduino/libraries/ros_lib/wfov_camera_msgs/WFOVImage.h | 19d6b5a930551d07698df54c0732f102f8c255be | [
"MIT"
] | permissive | i-am-neet/ir-auto-recharge | 92370fabcd0af0efa5cc3499a04d586463d1557f | 9b95d5e9ac89f4dc43a3cc070de219f44ab53ae6 | refs/heads/master | 2020-09-13T22:56:06.577803 | 2019-11-26T16:13:42 | 2019-11-26T16:13:42 | 222,930,706 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,235 | h | #ifndef _ROS_wfov_camera_msgs_WFOVImage_h
#define _ROS_wfov_camera_msgs_WFOVImage_h
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "ros/msg.h"
#include "std_msgs/Header.h"
#include "sensor_msgs/Image.h"
#include "sensor_msgs/CameraInfo.h"
namespace wfov_camera_msgs
{
class WFOVImage : public ... | [
"iclab@tku.com"
] | iclab@tku.com |
f4d6eb8fc45955a65a89f062bd1e52a366331803 | fb9302f1435585c6e146fcc61c23e350fc650c07 | /tests/gf_test.cc | 4c9c214362a582d7da918e8dd3eff745fc952e3a | [
"0BSD"
] | permissive | aicodix/code | cdd03463d394f66ebd61b6f31f0775a98794345a | 47b520638b71c596460089a80a435449fa0435c1 | refs/heads/master | 2023-08-16T19:21:44.952336 | 2023-07-25T09:50:53 | 2023-07-25T09:50:53 | 149,567,710 | 34 | 10 | null | null | null | null | UTF-8 | C++ | false | false | 1,871 | cc | /*
Test for the Galois field arithmetic
Copyright 2018 Ahmet Inan <inan@aicodix.de>
*/
#include <cassert>
#include <iostream>
#include "galois_field.hh"
template <typename GF, typename GFR>
void exhaustive_test()
{
for (int j = 0; j < GF::Q; ++j) {
typename GF::ValueType a(j);
for (int i = 0; i < GF::Q; ++i) {
... | [
"inan@aicodix.de"
] | inan@aicodix.de |
5fa983da9685ca153220d1a99687e03d6399925a | 2f4d181ec20f4137f231e2d12c75e854cc7d7755 | /Source/MyProjectkk/Public/MyActor_Lasse.h | c53ac4a65fe18923f5fc3637e8f8143f246a1499 | [] | no_license | laslauk/basic_rpg_exercise_UE4 | 530372efbbdce8335f98a2a940783d216ccdc35f | f652670b68c9515bd764dc99685a331e032d7fc2 | refs/heads/master | 2021-05-20T19:06:31.799335 | 2020-04-02T07:28:02 | 2020-04-02T07:28:02 | 252,383,824 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 533 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "MyActor_Lasse.generated.h"
UCLASS()
class MYPROJECTKK_API AMyActor_Lasse : public AActor
{
GENERATED_BODY()
public:
// Sets default values for this acto... | [
"larpatin@gmail.com"
] | larpatin@gmail.com |
d9076b4adcf443cface72770b23919b3d91d4806 | 3b8643a1588e92256e605b08f0a4991566fda12b | /16. stack/challenges/stack_span.cpp | 6ce1ff677f3dfa440d660dc2c165312d70817d6c | [] | no_license | aditya34608/coding_blocks | d63236457b525d548a5cee16c4f90e96a55e32f6 | 9d22e3dd3c644639563e868f68762a5f7a75a343 | refs/heads/master | 2022-11-12T19:05:36.427865 | 2020-07-07T10:10:24 | 2020-07-07T10:10:24 | 253,659,950 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,676 | cpp | /*
The stock span problem is a financial problem where we have a series of N daily price quotes for a stock and we need to calculate span of stock’s price for all N days. You are given an array of length N, where ith element of array denotes the price of a stock on ith. Find the span of stock's price on ith day, for ... | [
"38347787+aditya34608@users.noreply.github.com"
] | 38347787+aditya34608@users.noreply.github.com |
4ad92f7b5a3b40fe641d4423e13237328a93d532 | e37df9d2c4c8466b24f2bb75388c25342d419a72 | /test/test_szconv.cpp | d54bf48a00515a363069aadee928b1c49aaa79e7 | [
"MIT",
"BSL-1.0"
] | permissive | biojppm/c4core | 55f941ffec344df2ef24275ee332c036b3560fac | 1d2920fc208a4e27dec9416bdb38cf830ba64edc | refs/heads/master | 2023-08-30T09:02:53.446066 | 2023-06-30T19:25:25 | 2023-06-30T19:25:25 | 126,163,502 | 85 | 41 | MIT | 2023-09-05T18:51:56 | 2018-03-21T10:41:11 | C++ | UTF-8 | C++ | false | false | 6,293 | cpp | #ifndef C4CORE_SINGLE_HEADER
#include "c4/szconv.hpp"
#endif
#include "c4/libtest/supprwarn_push.hpp"
#include "c4/test.hpp"
#define C4_EXPECT_NARROWER(yes_or_no, ty_out, ty_in) \
CHECK_UNARY(( yes_or_no (is_narrower_size<ty_out C4_COMMA ty_in>::value)));
namespace c4 {
TEST_CASE("is_narrower_size.signed_types"... | [
"dev@jpmag.me"
] | dev@jpmag.me |
229651e3a7a3b232bcdc564bd85a5907368e47a4 | fae468b07542a6b923109a60efbb93835b55a14a | /UVaOJ/game-card/12247.cpp | cbbfd52195398f504461bae283a4108e8bb6f1a5 | [] | no_license | arbtfnf/codechef | 0b7625e5f2257169011bf4d7bb2dbe28800fde36 | a5447044157e0a0a2b7e0678dc7157f534fba9b8 | refs/heads/master | 2020-04-10T19:30:12.131826 | 2018-12-10T21:15:06 | 2018-12-10T21:15:06 | 161,237,381 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,525 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
long long int fix,i,test,insrt,X,Y,ar[6],count,ans;
cin >> test;
while(test--){
count=0;
for(i=0; i<3;i++){
cin >> ar[i];
}
sort(ar,ar+3);
cin >> ar[i] >> ar[i+1];
X=ar[i];
... | [
"anuragbandhu007@gmail.com"
] | anuragbandhu007@gmail.com |
9975189a9dd8f73c83fa5f53da6ae7335115a547 | b42a774e667e97076195f7da026d709411d52b26 | /day17_is_sorted_and_is_sorted_until.h | 5c4d0648be347a023a314cd89bfece193268355b | [
"MIT"
] | permissive | KuKuXia/30-Days-Plan-for-Practicing-C-Plus-Plus-11-STL | 5efa9b5d8a24d637622145e6b038751af2caae26 | dddb1f3f6b43b628b87dcb26b72495e5c7d19e55 | refs/heads/master | 2020-04-10T15:12:37.263427 | 2019-01-05T14:25:32 | 2019-01-05T14:25:32 | 161,101,067 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 343 | h | //
// Created by LongXiaJun on 2018/12/23 0023.
//
#ifndef INC_30_DAY_S_PLAN_DAY17_IS_SORTED_AND_IS_SORTED_UNTIL_H
#define INC_30_DAY_S_PLAN_DAY17_IS_SORTED_AND_IS_SORTED_UNTIL_H
namespace demo_is_sorted_and_is_sorted_until {
void stl_is_sorted_and_is_sorted_until();
};
#endif //INC_30_DAY_S_PLAN_DAY17_IS_SORTED... | [
"liuxiaolongsdu@mail.sdu.edu.cn"
] | liuxiaolongsdu@mail.sdu.edu.cn |
99c088083d44e9e68d5218046cf1b4b8430c76b3 | c314097153ab7921679acb1a13b921a8578ccf8a | /test/worker_test.cpp | f451728102a77665cdb8c4080d28a9ad3bb913fc | [
"MIT"
] | permissive | blockspacer/nodenative | 5d6b9b576462566b48d86a0cc6d127143e2e5238 | cf988c9399e0793b1b8c29a8ffd09e910d1a0cb3 | refs/heads/master | 2022-07-19T09:10:57.366051 | 2020-05-27T21:58:16 | 2020-05-27T21:58:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,705 | cpp | #include "native/native.hpp"
#include "gtest/gtest.h"
#include <thread>
TEST(WorkerTest, simple) {
bool called = false;
std::shared_ptr<native::Loop> currLoop = native::Loop::Create();
std::thread::id mainThreadId = std::this_thread::get_id();
{
native::worker(currLoop, [&called, &mainThreadId]() {
... | [
"ionlupascu@gmail.com"
] | ionlupascu@gmail.com |
4b8a0db76f7e01d4be6ffa83a6c16066d1a2734b | 055188c4700702db3f9e04bbc382ce792caf8679 | /src/util/src/hrpc_uid.cpp | 9edab42ef02e4da5b9a656027933fb1502dcc81d | [] | no_license | qq911712051/Hrpc | a2a6d32fe9a9377e2d26102128cb4eb5557d381e | 1b1ffa3cf9173e5fde16c3d193df6b4566d38055 | refs/heads/master | 2020-05-01T14:47:07.744389 | 2019-05-12T08:58:41 | 2019-05-12T08:58:41 | 177,529,628 | 10 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 739 | cpp | #include <cassert>
#include <hrpc_uid.h>
namespace Hrpc
{
void UidGenarator::init(int maxConn)
{
if (maxConn < 0)
{
_MaxUid = 1024;
}
else
{
_MaxUid = maxConn;
}
std::lock_guard<std::mutex> sync(_lock);
for (size_t index = 1; index <= _MaxUid; index++)
{
_l... | [
"yqz8888888@gmail.com"
] | yqz8888888@gmail.com |
ad9d98e4f40b188d94d83e47b06d8087ee66bbe3 | d84a7017da6be87b4a1c28608cf01cbb56e64c42 | /JetsonNano/Onboard/codegen/lib/colourSegmentationCPU/applyToMultipleDims.h | 48621767db6457e5c02e2a4eaa237d1be07fed5f | [] | no_license | AIGRIP/AIGRIP2020HT | dfed02bca6abcf5e5f8e3ee877188250230979d7 | b51b046f3b756bf6f6641993d6613b1c68eeb709 | refs/heads/Development | 2023-02-21T19:39:13.859432 | 2021-01-17T17:08:20 | 2021-01-17T17:08:20 | 307,370,873 | 0 | 0 | null | 2021-01-17T19:33:43 | 2020-10-26T12:50:56 | C | UTF-8 | C++ | false | false | 712 | h | //
// Academic License - for use in teaching, academic research, and meeting
// course requirements at degree granting institutions only. Not for
// government, commercial, or other organizational use.
// File: applyToMultipleDims.h
//
// MATLAB Coder version : 5.1
// C/C++ source code generated on : 06-No... | [
"samuel_wikstrom@hotmail.com"
] | samuel_wikstrom@hotmail.com |
64b744a2201af887ae3598eb668401904968b1b1 | 2834f98b53d78bafc9f765344ded24cf41ffebb0 | /ui/ozone/platform/wayland/test/test_subsurface.h | 4f984a5eccda8b353073c9f556c43ae64034aa4b | [
"BSD-3-Clause"
] | permissive | cea56/chromium | 81bffdf706df8b356c2e821c1a299f9d4bd4c620 | 013d244f2a747275da76758d2e6240f88c0165dd | refs/heads/master | 2023-01-11T05:44:41.185820 | 2019-12-09T04:14:16 | 2019-12-09T04:14:16 | 226,785,888 | 1 | 0 | BSD-3-Clause | 2019-12-09T04:40:07 | 2019-12-09T04:40:07 | null | UTF-8 | C++ | false | false | 1,174 | h | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_OZONE_PLATFORM_WAYLAND_TEST_TEST_SUBSURFACE_H_
#define UI_OZONE_PLATFORM_WAYLAND_TEST_TEST_SUBSURFACE_H_
#include <wayland-server-protocol-cor... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
40f2995481a89df5d3540a5087c7b2e8bff6837f | 0efb71923c02367a1194a9b47779e8def49a7b9f | /Oblig1/les/0.97/U | 7e022169b16956e3efeee5a1c94b78e68ad43eb0 | [] | no_license | andergsv/blandet | bbff505e8663c7547b5412700f51e3f42f088d78 | f648b164ea066c918e297001a8049dd5e6f786f9 | refs/heads/master | 2021-01-17T13:23:44.372215 | 2016-06-14T21:32:00 | 2016-06-14T21:32:00 | 41,495,450 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 193,006 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
... | [
"g.svenn@online.no"
] | g.svenn@online.no | |
ae567c40a00fde05344766c9485841d579724553 | f14626611951a4f11a84cd71f5a2161cd144a53a | /武侠世界/代码/Common/Packets/CGMissionCheck.h | e931cafec617e0cfbeee0dab32a788eee690eda0 | [] | no_license | Deadmanovi4/mmo-resourse | 045616f9be76f3b9cd4a39605accd2afa8099297 | 1c310e15147ae775a59626aa5b5587c6895014de | refs/heads/master | 2021-05-29T06:14:28.650762 | 2015-06-18T01:16:43 | 2015-06-18T01:16:43 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,103 | h | // CGMissionCheck.h
//
// 任务完成验证
//
//////////////////////////////////////////////////////
#ifndef __CGMISSIONCHECK_H__
#define __CGMISSIONCHECK_H__
#include "Type.h"
#include "Packet.h"
#include "PacketFactory.h"
namespace Packets
{
class CGMissionCheck : public Packet
{
public:
enum
{
... | [
"ichenq@gmail.com"
] | ichenq@gmail.com |
c7927e7ff853599fe7f29a79fba67c2832e999f7 | 9f25ac38773b5ccdc0247c9d43948d50e60ab97a | /chrome/chrome_cleaner/ipc/mock_chrome_prompt_ipc.h | d9d564c29325eac45f5d343f5f3a94a4b80e81a0 | [
"BSD-3-Clause"
] | permissive | liang0/chromium | e206553170eab7b4ac643ef7edc8cc57d4c74342 | 7a028876adcc46c7f7079f894a810ea1f511c3a7 | refs/heads/main | 2023-03-25T05:49:21.688462 | 2021-04-28T06:07:52 | 2021-04-28T06:07:52 | 362,370,889 | 1 | 0 | BSD-3-Clause | 2021-04-28T07:04:42 | 2021-04-28T07:04:41 | null | UTF-8 | C++ | false | false | 1,498 | h | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_CHROME_CLEANER_IPC_MOCK_CHROME_PROMPT_IPC_H_
#define CHROME_CHROME_CLEANER_IPC_MOCK_CHROME_PROMPT_IPC_H_
#include "chrome/chrome_cleaner/i... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
e83b2304cb307047f9c588e304198dcb64ddf772 | 3ceb2cf88a3cf65b3735c547a65b0b7eee7e8e19 | /graph.cpp | 8322ca40bdceb2675cd6518fafa3e26bcc6b4e64 | [] | no_license | Yao-Shao/MiniPainter | a21065599afc08f17811317c969005568c21c62e | c8c3d915b6c68e8c1b2af3b52e50017783659d7a | refs/heads/master | 2020-06-03T12:59:45.047684 | 2019-07-24T14:51:52 | 2019-07-24T14:51:52 | 191,576,907 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 106 | cpp | #include "graph.h"
myGraph::myGraph(QPoint p1, QPoint p2, int type)
: p1(p1), p2(p2), type(type){
}
| [
"yshao998@gmail.com"
] | yshao998@gmail.com |
6766de5f3ada7b46818663c019b7aaa010a8398c | 1b3cfb1ca9d1fafea187c0a8f7b65af7311c71cb | /assignment3/Computer System Assignment3/includes/tokeniser.h | c607fd7e4956124af77fcf7a5bc8eead2d94d873 | [] | no_license | YinhaoDeng/Computer-System | c5ddeafbd0392fef88d84d15368026101eca3e78 | bf98166115edf71d19aa19e47d8eaefcad41cbcf | refs/heads/master | 2021-11-13T10:59:29.614105 | 2021-10-31T13:47:12 | 2021-10-31T13:47:12 | 189,527,187 | 7 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 8,155 | h | #ifndef JACK_COMPILER_TOKENISER_H
#define JACK_COMPILER_TOKENISER_H
#include <string>
#include <iostream>
// we have one namespace per language, eg Jack_Compiler
namespace Jack_Compiler
{
// to make our code shorter
typedef std::string string ;
// the type of a token returned by the tokeniser
typede... | [
"1454135273@qq.com"
] | 1454135273@qq.com |
4a80138d109afe4c3ba6abce153a543805230751 | 06c5176ef581dcd7e7bf715fec92ca0a363f14fc | /ffl/source/pipeline/FFL_PipelineNode.cpp | ffd07e38fa661b6c7974c91a18c0baf40822b124 | [
"MIT"
] | permissive | zhenfei2016/FFL-v2 | 543270eae8683b4dc95592fbe9b255e2bd16aa34 | 376c79a0611af580d4767a4bbb05822f1a4fd454 | refs/heads/master | 2020-03-19T18:09:11.886719 | 2018-07-20T00:02:52 | 2018-07-20T00:02:52 | 136,796,233 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,165 | cpp | /*
* This file is part of FFL project.
*
* The MIT License (MIT)
* Copyright (C) 2017-2018 zhufeifei All rights reserved.
*
* FFL_PipelineNode.cpp
* Created by zhufeifei(34008081@qq.com) on 2018/02/03
* https://github.com/zhenfei2016/FFL-v2.git
*
* Pipelin系统中的Node节点
*
*/
#include <pipeline/FFL_Pipeli... | [
"34008081@qq.com"
] | 34008081@qq.com |
115cd50c6f9e71782693a3d918241e553092cf1b | eda7f1e5c79682bf55cfa09582a82ce071ee6cee | /ms-utils/properties/FluidProperties.cpp | 31d52b89b33ad044a5881b1d20f782d1c6c4d7bc | [
"LicenseRef-scancode-us-govt-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | nasa/gunns | 923f4f7218e2ecd0a18213fe5494c2d79a566bb3 | d5455e3eaa8b50599bdb16e4867a880705298f62 | refs/heads/master | 2023-08-30T06:39:08.984844 | 2023-07-27T12:18:42 | 2023-07-27T12:18:42 | 235,422,976 | 34 | 11 | NOASSERTION | 2023-08-30T15:11:41 | 2020-01-21T19:21:16 | C++ | UTF-8 | C++ | false | false | 88,134 | cpp | /*
@copyright Copyright 2022 United States Government as represented by the Administrator of the
National Aeronautics and Space Administration. All Rights Reserved.
PURPOSE:
(Provides the class for modeling the properties of liquids and gases.)
REQUIREMENTS:
()
REFERENCE:
()
ASSUMPTIO... | [
"jason.l.harvey@nasa.gov"
] | jason.l.harvey@nasa.gov |
f668f31c441f1285e51580e4b0678b496bc47749 | 395ed8df4dff6db2ad0185d8c853dc33ea1f87c8 | /DataFormats/L1TMuon/interface/EMTF/EventHeader.h | fab229eb2671df4413355166a049d7c0638f3d0a | [] | no_license | quertenmont/cmssw | 37f52b9cdb7db8a7e5bab96edd44aaf1dbad54db | 4b3b34c7057baff9d0c2700c778ef0f6893e0fa7 | refs/heads/Run2HSCP_8XY_v0 | 2021-01-09T06:18:40.140547 | 2016-07-20T11:55:14 | 2016-07-20T11:55:14 | 11,897,542 | 1 | 0 | null | 2016-07-25T19:42:11 | 2013-08-05T12:21:12 | C++ | UTF-8 | C++ | false | false | 4,682 | h | // Class for Event Record Header
#ifndef __l1t_emtf_EventHeader_h__
#define __l1t_emtf_EventHeader_h__
#include <boost/cstdint.hpp>
namespace l1t {
namespace emtf {
class EventHeader {
public:
explicit EventHeader(uint64_t dataword);
EventHeader() :
l1a(-99), l1a_bxn(-99), sp_... | [
"mulhearn@cern.ch"
] | mulhearn@cern.ch |
599748c571650e18890b667e5a19a34ced2655dd | 2eb806e1a88fc2718fc142167c17528944c53303 | /BaekJoon/2020/200125_1939.cpp | 4aebfe03aab9230968df1f36b793ce8b827dfb94 | [] | no_license | chichchic/algorithmPrac | 4eec4bfbcadbeb78ada671bf19fab0b9304e1a34 | bca786c8e2c983fe9ca54b5efe5b959cc7e67013 | refs/heads/master | 2022-11-22T09:10:21.642831 | 2022-11-10T14:16:04 | 2022-11-10T14:16:04 | 192,276,545 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,450 | cpp | #include <iostream>
#include <vector>
#include <queue>
using namespace std;
struct bridge
{
int end;
long long weight;
};
vector<vector<bridge>> bMap;
int n, m;
int sPoint, ePoint;
long long ans;
void bSearch(long long start, long long end)
{
long long mid = (start + end) / 2; //최대 무게
bool arrive = false;
... | [
"pch6789@naver.com"
] | pch6789@naver.com |
80f2640e765355f2a7f0bf410216a630844009d5 | 49f88ff91aa582e1a9d5ae5a7014f5c07eab7503 | /gen/third_party/blink/renderer/bindings/modules/v8/v8_credentials_container.cc | 2574026798824b535eecc391f19a1ae4fd57deae | [] | no_license | AoEiuV020/kiwibrowser-arm64 | b6c719b5f35d65906ae08503ec32f6775c9bb048 | ae7383776e0978b945e85e54242b4e3f7b930284 | refs/heads/main | 2023-06-01T21:09:33.928929 | 2021-06-22T15:56:53 | 2021-06-22T15:56:53 | 379,186,747 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 15,338 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file has been auto-generated from the Jinja2 template
// third_party/blink/renderer/bindings/templates/interface.cpp.tmpl
// by the script code_ge... | [
"aoeiuv020@gmail.com"
] | aoeiuv020@gmail.com |
428ffd8995716236aa271dff4abccad4773f6ff3 | e3c1378a36143a73643f8ce32decffcbc748365e | /Bronze/December 2018, Bronze/December 2018, Bronze P3/December 2018, Bronze P3/main.cpp | d0629c33b9bea248f8091acc1a8474205b69fd29 | [] | no_license | VittalT/USACO-Solutions | 27f8de3726adc424983ebbf444a621cf0e2080ef | 5a9dfc28a64d0f45a849ace9f2506e323157aece | refs/heads/main | 2023-02-27T00:46:43.096312 | 2021-02-02T05:53:40 | 2021-02-02T05:53:40 | 335,173,178 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,454 | cpp | /*
ID: vittal.2
TASK: measurement
LANG: C++
*/
/* LANG can be C++11 or C++14 for those more recent releases */
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
bool sortcol (vector<int> v1, vector<int> v2){
return v1[0]<v2[0];
}
int main() {
... | [
"Vittal.Thirumalai@warriorlife.net"
] | Vittal.Thirumalai@warriorlife.net |
2652d42301761282d26aa6fe51bb142ea7388afc | ee2b7a0a184d714dac804a023e4e2dd1367e0ddf | /blaze/math/adaptors/lowermatrix/Dense.h | 27d34e444f492ab50128589f214813fc9989d107 | [
"BSD-3-Clause"
] | permissive | fpzh2011/blaze | b51d4c4825bc7cf0f696e852b279efcc92b82484 | 7bf9ff8dddea687264bd8ce834ec15345f1135f1 | refs/heads/master | 2020-03-14T20:45:14.626274 | 2015-10-15T21:39:17 | 2016-01-17T01:05:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 104,999 | h | //=================================================================================================
/*!
// \file blaze/math/adaptors/lowermatrix/Dense.h
// \brief LowerMatrix specialization for dense matrices
//
// Copyright (C) 2013 Klaus Iglberger - All Rights Reserved
//
// This file is part of the Blaze library... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
27a29efb5230c4143a26b9fdd54ab98e74212063 | 6695a7d1fa64cb8cd7b53d0000523baa8e811fbb | /Josephus/Josephus/Josephus.cpp | 4479a907efba513bf05aa6070032486b68fb6227 | [] | no_license | Ravenm/DataStruct3013 | 76fa851714770d81afcfddfc36de55697406954a | b7614af5b10058fb21b51f858340d00b8195504f | refs/heads/master | 2020-04-18T16:20:52.529825 | 2017-05-03T10:37:28 | 2017-05-03T10:37:28 | 67,566,714 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 747 | cpp | //**************************************************************
// Project #1 Josephus
// Name: Andrew Nash
// Data Structures Date: 09/05/16
//***************************************************************
// This program solves the Josephus problem by cre... | [
"ravenmetals@gmail.com"
] | ravenmetals@gmail.com |
ba3137753f6db0bbb434404c2bf1bdb879df1543 | b857790369bbc8df2657dc6a2e5ab63240079287 | /test/vault.cpp | e7e98f7ebda111448a1154a0ea452ef02ad8deba | [
"MIT"
] | permissive | detunized/lastpass-cpp | ae705ae0ec1551c193ba467b2ce022b62b8faf1a | d938cb142abee6c6f19b5f35a70da802d8a41ffa | refs/heads/master | 2016-09-10T19:49:41.643034 | 2014-02-10T16:43:36 | 2014-02-10T16:43:36 | 16,339,491 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 606 | cpp | // Copyright (C) 2014 Dmitry Yakimenko (detunized@gmail.com).
// Licensed under the terms of the MIT license. See LICENCE for details.
#include "test.h"
namespace
{
using namespace lastpass;
using namespace test;
BOOST_AUTO_TEST_CASE(vault_create_creates_vault_from_blob)
{
auto vault = Vault::create(Blob(data::... | [
"detunized@gmail.com"
] | detunized@gmail.com |
23f2369bc33db5ecba7fde19f1e48f6597bf7c97 | 56fcab9393f0ec379e2abb00d2d8eda36f64e823 | /uintah/kokkos_src/CCA/Components/MPM/ConstitutiveModel/TransIsoHyper.h | f3fd2c8aa4abb0e1db24153b6dc5687389233d3e | [
"MIT",
"CC-BY-4.0"
] | permissive | damu1000/hypre_ep | 4a13a5545ac90b231ca9e0f29f23f041f344afb9 | a6701de3d455fa4ee95ac7d79608bffa3eb115ee | refs/heads/master | 2023-04-11T11:38:21.157249 | 2021-08-16T21:50:44 | 2021-08-16T21:50:44 | 41,874,948 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,371 | h | /*
* The MIT License
*
* Copyright (c) 1997-2017 The University of Utah
*
* 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
* right... | [
"damodars@sci.utah.edu"
] | damodars@sci.utah.edu |
04c888a507b47e4246408d556512c9e2ed4e4dd4 | 5470644b5f0834b9646649da365c96101a2f9b2a | /Sources/Elastos/Frameworks/Droid/Base/Services/Server/src/CInputMethodManagerService.cpp | 1b4bc579665b1ae56afec1f3d287d8bd5955ac6b | [] | no_license | dothithuy/ElastosRDK5_0 | 42372da3c749170581b5ee9b3884f4a27ae81608 | 2cf231e9f09f8b3b8bcacb11080b4a87d047833f | refs/heads/master | 2021-05-13T15:02:22.363934 | 2015-05-25T01:54:38 | 2015-05-25T01:54:38 | 116,755,452 | 1 | 0 | null | 2018-01-09T02:33:06 | 2018-01-09T02:33:06 | null | UTF-8 | C++ | false | false | 205,524 | cpp |
#include "CInputMethodManagerService.h"
#include "CInputMethodManagerServiceMethodCallback.h"
#include "CInputMethodManagerServiceUserSwitchObserver.h"
#include "pm/CPackageManagerService.h"
#include "app/AppGlobals.h"
#include "app/ActivityManagerNative.h"
#include "os/ServiceManager.h"
#include "os/Binder.h"
#includ... | [
"chen.yunzhi@kortide.com"
] | chen.yunzhi@kortide.com |
7c64a63f94eeec28373f84f6165bbc545e89e887 | feea02f16d15de899b5b54f5023f9b0290b63297 | /labelsCUDA/WordFinder/WordFinder.cpp | c1ccbb3c11d7cc7c4fcadaf070f4d6a1218e28a1 | [] | no_license | suilevap/labelcuda | ebf94b52416d17c519f96461d6a64425ff57743e | ec5c7cce6bbb384932c9f7d2aa8e44efde8f48af | refs/heads/master | 2021-01-10T03:08:13.758495 | 2010-06-20T07:14:00 | 2010-06-20T07:14:00 | 49,495,287 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,275 | cpp | // WordFinder.cpp : Defines the entry point for the console application.
//
#include "WordFinder.h"
WordFinder::WordFinder(void)
{
State* state = new State();
_states.push_back(state);
}
WordFinder::~WordFinder(void)
{
}
void WordFinder::AddWord( std::string word, int id )
{
int stateId;
Sta... | [
"suilevap@gmail.com"
] | suilevap@gmail.com |
7f742ec0e0b13b96791b0096a8e83abaa8998216 | 569e079f8cc8bc4a1b6918137c951c0a049ea593 | /src/game/CGameManager.h | 9399f9f9a8bbc4dbc5c1d797d8036e9b5e3dfc57 | [] | no_license | zdementor/my-base | c741daee7f032408fa47f02f715f9066f1f9871f | 2635462c0a57bd423551251f04da10bada277821 | refs/heads/master | 2021-01-10T01:43:03.318268 | 2020-11-19T18:18:32 | 2020-11-19T18:18:32 | 51,708,595 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,389 | h | //|-------------------------------------------------------------------------
//| File: CGameManager.h
//|
//| Descr: This file is a part of the 'MyEngine'
//| Author: Zhuk 'zdementor' Dmitry (aka ZDimitor)
//| Email: zdimitor@pochta.ru, sibergames@nm.ru
//|
//| Copyright (c) 2004-2009... | [
"zdimitor@gmail.com"
] | zdimitor@gmail.com |
f8a698199a3e1d29330d131e66139efc823c9f97 | a7764174fb0351ea666faa9f3b5dfe304390a011 | /inc/Handle_TDocStd_Modified.hxx | 1d628da8d17efd104aa68b4dc2cc651a59f639c2 | [] | no_license | uel-dataexchange/Opencascade_uel | f7123943e9d8124f4fa67579e3cd3f85cfe52d91 | 06ec93d238d3e3ea2881ff44ba8c21cf870435cd | refs/heads/master | 2022-11-16T07:40:30.837854 | 2020-07-08T01:56:37 | 2020-07-08T01:56:37 | 276,290,778 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 789 | hxx | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _Handle_TDocStd_Modified_HeaderFile
#... | [
"shoka.sho2@excel.co.jp"
] | shoka.sho2@excel.co.jp |
a12c7c700777d2f607737d660ba1897cc38c94d1 | 8a1c8ad0346d5d8e64704b393c594de86371b61e | /Codeforces/1433C.cpp | 9511b6c51d6fac0b773ce574ba328480da9d2725 | [
"MIT"
] | permissive | mayankdutta/competitive-programming | 416c2a8ea772689ddf54f343bcfc6e56431d61a8 | fdbbfe723efe2139c5f82a9dd68c52b8f20a9c85 | refs/heads/master | 2023-01-20T12:34:26.066490 | 2020-11-26T17:05:22 | 2020-11-26T17:05:22 | 316,291,346 | 0 | 0 | MIT | 2020-11-26T17:01:35 | 2020-11-26T17:01:26 | null | UTF-8 | C++ | false | false | 1,662 | cpp | #pragma GCC optimize("O3")
#pragma GCC optimize("Ofast")
#pragma GCC optimize("unroll-loops")
#pragma GCC optimize("no-stack-protector")
#pragma GCC optimize("fast-math")
#pragma GCC optimize("trapv")
#pragma GCC target("sse4")
#include <bits/stdc++.h>
using namespace std;
#define deb(x) cout << #x << " is " << x << ... | [
"thedevelopersanjeev@gmail.com"
] | thedevelopersanjeev@gmail.com |
10253d84ab94797c50e0a25f873ceb44d8df40d4 | be48c453f874f50439f2406c2761f36cdcafd4cc | /genivi/layer_management/LayerManagerPlugins/Communicators/GenericCommunicator/test/mock_Renderer.h | ef33d734412d1d63d0a02ab8720320fba7e5758c | [
"Apache-2.0",
"BSD-3-Clause",
"Zlib",
"MIT"
] | permissive | parmarjh/iCar | 498ee2fb52d285c4d75f4f79b0c30a7df8470513 | c4268fa326a06ec185296f708cdb9c834f8a3a21 | refs/heads/master | 2023-02-25T10:44:51.375171 | 2017-08-16T07:23:50 | 2017-08-16T07:23:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,220 | h | /***************************************************************************
*
* Copyright 2010,2011 BMW Car IT GmbH
*
*
* 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.ap... | [
"tdamdouni@Peters-MBP.fritz.box"
] | tdamdouni@Peters-MBP.fritz.box |
f14e6c6366cad2b6957471000931e6ec6622a50a | caa1f13c1ebb4c2b4e494264d870453a6cf17e94 | /src/ui/base/ime/input_method_auralinux.cc | b0375b8d2b167f27bf77b5606050a8295bfb40fd | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | chojpsh1/chromium53 | 401736b578cb76c6abba2ac65547c0f4a73726b6 | d0434e060bd6a6e617e72c921094150b436bef83 | refs/heads/master | 2020-03-27T02:43:19.240872 | 2018-08-23T08:35:17 | 2018-09-14T06:38:27 | 145,813,483 | 0 | 0 | null | 2018-08-23T06:54:11 | 2018-08-23T06:54:10 | null | UTF-8 | C++ | false | false | 21,170 | 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 "ui/base/ime/input_method_auralinux.h"
#include "base/auto_reset.h"
#include "base/environment.h"
#include "base/strings/utf_string_conversions.... | [
"changhyeok.bae@lge.com"
] | changhyeok.bae@lge.com |
1c15a9d0aab021e807ab949b2c79bbafbcff534e | 23bd4d770483e0c6baa3ba08758b5b07c32e67f7 | /trial.cpp | 109f47efb59a6194c9cdc7a89a8132b1e392ad6f | [] | no_license | naveenk2k/Project-Euler | 43d674493bcd51df1594dfc193509f0f39146c5a | a9cf76d5d7473f3f839850d42009ead8cfbd41c5 | refs/heads/master | 2022-03-07T11:56:55.204995 | 2022-02-27T11:08:03 | 2022-02-27T11:08:03 | 175,922,458 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 763 | cpp |
#include <iostream>
#include <numeric>
#include <vector>
using namespace std;
int main() {
vector<int> nums;
// nums.push_back(-242);
// nums.push_back(-1);
nums.push_back(1);
nums.push_back(5);
nums.push_back(8);
nums.push_back(8);
nums.push_back(11);
cout << "Before nums is: ";
... | [
"naveenk2k@gmail.com"
] | naveenk2k@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.