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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fd14049a3bcc1c8117a44df2dab23a089fc69bc7 | a533d4198ee1237df55c94ee8ae3df4aefdc55bd | /dp/HeadFirstDesignPatterns/c_plusplus/Silver/Compound/Ducks/DuckSimulator/RubberDuck.hpp | 5ec54f6a7a69a6be1d95a06255bec0ca74a841e8 | [] | no_license | jufenghua596/book | c15aeb9b96e5fbb2e998286ef50bc5f569fa31a5 | 8b7d2db6b91268b3dcca39da4b067630768afdb6 | refs/heads/master | 2021-05-06T16:44:30.339828 | 2017-12-10T06:57:50 | 2017-12-10T06:57:50 | 113,723,089 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 412 | hpp | #ifndef _HFDP_CPP_COMPOUND_DUCKS_RUBBER_DUCK_HPP_
#define _HFDP_CPP_COMPOUND_DUCKS_RUBBER_DUCK_HPP_
#include "DuckSimulator.hpp"
namespace HeadFirstDesignPatterns {
namespace Compound {
namespace Ducks {
class RubberDuck : public Quackable {
public: void quack() const {
std::cout << "Squeak" << std::endl;
}
};
... | [
"jufenghua596@163.com"
] | jufenghua596@163.com |
e508626a48c66b530c278f728d37388c7d481f37 | 2232c179ab4aafbac2e53475447a5494b26aa3fb | /src/solver/rdm/bc/WeakBC.hpp | 4579c50c18e0cd9845b269faf2d348fe55651292 | [] | no_license | martinv/pdekit | 689986d252d13fb3ed0aa52a0f8f6edd8eef943c | 37e127c81702f62f744c11cc2483869d8079f43e | refs/heads/master | 2020-03-31T09:24:32.541648 | 2018-10-08T15:23:43 | 2018-10-08T15:23:43 | 152,095,058 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,188 | hpp | #ifndef RDM_Weak_Boundary_Condition_hpp
#define RDM_Weak_Boundary_Condition_hpp
#include "solver/rdm/bc/RDMBCBase.hpp"
#include "solver/rdm/bc/RDMBCMetricData.hpp"
namespace pdekit
{
namespace solver
{
namespace rdm
{
// Base class to implement boundary conditions
// Physics ... physical model of given boundary co... | [
"martin.vymazal@gmail.com"
] | martin.vymazal@gmail.com |
50e7b9590b4f649cc54a4748256a23d44d6e6704 | d9f9200a941640799ee39f7ffdd0d3455443ba4b | /Raytra1.5/Point.cc | 18ed72cdd90c0c14904bf441fd4776d034233154 | [] | no_license | paoptu023/COMS4160 | 058fb80f3319c85ada56d9024b409147bdd2770a | d7c43fadd6630fcad8e5c059268e28ab6fdc713b | refs/heads/master | 2021-06-07T16:23:58.424551 | 2016-11-14T20:30:16 | 2016-11-14T20:30:16 | 52,846,831 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,082 | cc | //
// Point.cc
// Raytra
//
// Created by Qi Wang on 2/6/16.
// Copyright © 2016 Wang Qi. All rights reserved.
//
#include "Point.h"
Point & Point::operator =(const Point &p){
_xyz[0] = p[0];
_xyz[1] = p[1];
_xyz[2] = p[2];
return *this;
}
Point Point::operator +(const Vector &v) const{
retur... | [
"wang.qi@columbia.edu"
] | wang.qi@columbia.edu |
3e0161781b92590d777bccd47459db2cd7f3d0a0 | ceff13ff947c4850b6c7814ca486440215157873 | /applications/Pasha/PreGraph/AlshaComms.cpp | 7771c06c9fc8e98bf11c66dab55421f4a1f82475 | [] | no_license | LingxiWu/DBGAcc | b2718be17fb1c39bc6ff3e2390a2c9507aac91d3 | 6a235b0fcf7926c4d3f5dadea4c66a325c0f023b | refs/heads/master | 2023-03-15T20:01:42.439470 | 2021-02-08T09:57:45 | 2021-02-08T09:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,641 | cpp | #include "AlshaComms.h"
#include "AlshaParams.h"
#include <mpi.h>
MPI_Request AlshaComms::msgRequest = MPI_REQUEST_NULL;
uint8_t* AlshaComms::RX_BUFFER = NULL;
NumType AlshaComms::txPackets = 0;
NumType AlshaComms::rxPackets = 0;
void AlshaComms::init()
{
RX_BUFFER = (uint8_t*)AlshaUtils::memAlloc(RX_BUFFER_SIZE);
}... | [
"mul023@ucsd.edu"
] | mul023@ucsd.edu |
ee30ec8ec6e7894c16fc218910a88d717859e4de | db84bf6382c21920c3649b184f20ea48f54c3048 | /legendgeometry/legendgeometry/LGND_FiberCore.hh | 05032c4875c39c79f5e6c5419413b670fb970f39 | [] | no_license | liebercanis/MaGeLAr | 85c540e3b4c5a48edea9bc0520c9d1a1dcbae73c | aa30b01f3c9c0f5de0f040d05681d358860a31b3 | refs/heads/master | 2020-09-20T12:48:38.106634 | 2020-03-06T18:43:19 | 2020-03-06T18:43:19 | 224,483,424 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,240 | hh | //---------------------------------------------------------------------------//
//bb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nu//
// //
// //
... | [
"mgold@unm.edu"
] | mgold@unm.edu |
4b957a5e3b6ea749c1dfa217f15eefb39e3c50ee | 82770c7bc5e2f27a48b8c370b0bab2ee41f24d86 | /graph-tool/src/graph/community/graph_community.hh | d0728fd90a80a507cb4f043539f823f6f375e0c8 | [
"Apache-2.0",
"GPL-3.0-only",
"LicenseRef-scancode-philippe-de-muyter",
"GPL-3.0-or-later"
] | permissive | johankaito/fufuka | 77ddb841f27f6ce8036d7b38cb51dc62e85b2679 | 32a96ecf98ce305c2206c38443e58fdec88c788d | refs/heads/master | 2022-07-20T00:51:55.922063 | 2015-08-21T20:56:48 | 2015-08-21T20:56:48 | 39,845,849 | 2 | 0 | Apache-2.0 | 2022-06-29T23:30:11 | 2015-07-28T16:39:54 | Python | UTF-8 | C++ | false | false | 17,368 | hh | // graph-tool -- a general graph modification and manipulation thingy
//
// Copyright (C) 2006-2015 Tiago de Paula Peixoto <tiago@skewed.de>
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation;... | [
"john.g.keto@gmail.com"
] | john.g.keto@gmail.com |
d2b60ba08eb365f12a4789ea8f6b3a006f33653c | e7d860d7596459166c16cfe36ec28c2d6fc1f263 | /src/multi_threaded_session.cpp | daf9201f1e23f69ae2bd975558253b0d86f5e658 | [
"Apache-2.0"
] | permissive | staticlibs/staticlib_http | 5aa47ff6b2d687691d7dac7b0a51edb17a285c24 | 254120a142d3aa4c669a62a21b7d13949cf1814d | refs/heads/master | 2023-03-10T06:31:37.066617 | 2021-03-03T17:55:36 | 2021-03-03T17:55:36 | 46,565,017 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,184 | cpp | /*
* Copyright 2017, alex at staticlibs.net
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | [
"alex@staticlibs.net"
] | alex@staticlibs.net |
4cc31b4a61195b1fef68b1138231bb9aea2c31da | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14174/function14174_schedule_9/function14174_schedule_9.cpp | 18605de3c16a602760b0adfe18b6c023619ce9c3 | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,477 | cpp | #include <tiramisu/tiramisu.h>
using namespace tiramisu;
int main(int argc, char **argv){
tiramisu::init("function14174_schedule_9");
constant c0("c0", 256), c1("c1", 1024), c2("c2", 256);
var i0("i0", 0, c0), i1("i1", 0, c1), i2("i2", 0, c2), i01("i01"), i02("i02"), i03("i03"), i04("i04");
input i... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
aee9d0e6a6a14891f32c49edf315ed7636358ecb | de1c9eeec2bcc9b28a36b5c4f67fecf47fb0605c | /code/math/vector2d.h | c058f3255d3479ce810f6220ac32e53aca3d001a | [
"MIT"
] | permissive | danganea/software-rasterizer | 77f2cd7521bdd3a18dbe7f79c907069c88d9901f | 41123c223ed8a1567fc016dc0a009fa75415f4d4 | refs/heads/master | 2020-04-13T11:28:08.608090 | 2019-06-25T14:56:17 | 2019-06-25T14:56:17 | 163,175,530 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,690 | h | #pragma once
#include <defs.h>
namespace rast {
template <typename T>
class Vector2D {
// TODO(DAN): Consistent usage of Vector<T> or just "Vector"
public:
T x, y;
Vector2D() = default;
Vector2D(T x, T y) : x(x), y(y) {}
// Allow explicit vector conversions
template <typename U>
explicit Vector2D(const... | [
"obidan2@gmail.com"
] | obidan2@gmail.com |
657aa7bdee9d5bac7e5a324c843d029f4d58bed5 | 762faf2ecadaa88d7b1f4c24ac5243651711628d | /PDFPageItemDelegate.cpp | d0b63afe2488b6822df22b3a9c6111665454ea87 | [] | no_license | TheRikke/pdfmart | 2dbf2801a0a9639c669f5c0260867a67f0172572 | 9bad9ae9a09af7746dd2e64faf549ee31228fe21 | refs/heads/master | 2020-04-02T04:44:12.272926 | 2016-06-22T20:17:19 | 2016-06-22T20:17:19 | 61,746,519 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,436 | cpp | #include "PDFPageItemDelegate.h"
#include "PageList.h"
#include <poppler-qt5.h>
#include <QPainter>
#include <QCache>
#include <QScreen>
#include <QApplication>
#include <QDebug>
Q_DECLARE_METATYPE(Poppler::Document*)
namespace {
const int MAX_CACHED_IMAGES = 500;
}
PDFPageItemDelegate::PDFPa... | [
"rikky@web.de"
] | rikky@web.de |
b4a9ab2cab1659c902bd5b28141abf3050988ef2 | 3f28d1318412b850711ae4eded21319180a6b502 | /LinkedList/LinkedList.h | a4b32c3d577e467b0e5734b9c7aee36e6698dcc7 | [
"MIT"
] | permissive | thisisyoussef/LinkedList | f79cd3a26458040ed4b0478a9ee72a106ec11004 | f4639fd437a3484891babb5d3af59d1185cad77e | refs/heads/master | 2023-06-10T18:24:46.806841 | 2023-05-27T12:56:46 | 2023-05-27T12:56:46 | 365,536,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,381 | h | #include <vector>
#include <algorithm>
//#include "leaker.h"
using namespace std;
template<typename T>
class LinkedList {
public:
LinkedList();
LinkedList(const LinkedList<T>& list);
~LinkedList();
LinkedList<T> operator=(const LinkedList<T> j);
struct Node {
T data;
Node* next = ... | [
"youssefiahmedis@gmail.com"
] | youssefiahmedis@gmail.com |
5faa232a523d15a4b1bd63705cacb6e1fc8d1593 | 792e697ba0f9c11ef10b7de81edb1161a5580cfb | /tools/clang/test/SemaCXX/cxx11-inheriting-ctors.cpp | 39582660984b8a71d3450a8ee852af88491b2c92 | [
"Apache-2.0",
"LLVM-exception",
"NCSA"
] | permissive | opencor/llvmclang | 9eb76cb6529b6a3aab2e6cd266ef9751b644f753 | 63b45a7928f2a8ff823db51648102ea4822b74a6 | refs/heads/master | 2023-08-26T04:52:56.472505 | 2022-11-02T04:35:46 | 2022-11-03T03:55:06 | 115,094,625 | 0 | 1 | Apache-2.0 | 2021-08-12T22:29:21 | 2017-12-22T08:29:14 | LLVM | UTF-8 | C++ | false | false | 3,770 | cpp | // RUN: %clang_cc1 -std=c++11 %s -verify
namespace PR15757 {
struct S {
};
template<typename X, typename Y> struct T {
template<typename A> T(X x, A &&a) {}
template<typename A> explicit T(A &&a)
noexcept(noexcept(T(X(), static_cast<A &&>(a))))
: T(X(), static_cast<A &&>(a)) {}
};
te... | [
"agarny@hellix.com"
] | agarny@hellix.com |
a48e5f05e6639d9542b5de5bb34a41ae3e85a971 | b142216f65c6a571a0158c707c5930b6eacf29e5 | /algorithm/segmenttree.cpp | b50534319b2a9a17f349b431d4e601a18556a816 | [] | no_license | beardnick/my_acm | 992260719470d52d1d6e1235e0bc3e276dfc76f2 | 682404af6bab8834d75cfc11183226eec7a98a4e | refs/heads/master | 2021-08-16T19:44:47.841459 | 2019-03-19T11:25:07 | 2019-03-19T11:25:07 | 102,596,550 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 924 | cpp | #include <cstdio>
#include <algorithm>
using namespace std;
#define lson l , m , rt << 1
#define rson m + 1 , r , rt << 1 | 1
const int maxn = 222222;
int h , w , n;
int MAX[maxn<<2];
void PushUP(int rt) {
MAX[rt] = max(MAX[rt<<1] , MAX[rt<<1|1]);
}
void build(int l,int r,int rt) {
MAX[rt] = w;
if (l == r)... | [
"1685437606@qq.com"
] | 1685437606@qq.com |
d0126e4ecd0646850fa80be8577a99beb21873bd | 85e7114ea63a080c1b9b0579e66c7a2d126cffec | /SDK/SoT_wsp_Pole_Orb_Light_b_functions.cpp | b9341d072315c9acc7dfbb20056eee338c7a6534 | [] | no_license | EO-Zanzo/SeaOfThieves-Hack | 97094307d943c2b8e2af071ba777a000cf1369c2 | d8e2a77b1553154e1d911a3e0c4e68ff1c02ee51 | refs/heads/master | 2020-04-02T14:18:24.844616 | 2018-10-24T15:02:43 | 2018-10-24T15:02:43 | 154,519,316 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 788 | cpp | // Sea of Thieves (1.2.6) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_wsp_Pole_Orb_Light_b_parameters.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
// ... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
3504c9584b4c8aaab8359f36579fb07530e58c12 | 580f51a5344f94a5a31b2a19943e60ad973e96bc | /sora/gl_env.cpp | bb86255a077855b421f665b68bfff709531b5cfa | [] | no_license | weimingtom/sora_old | e22b844d71b99e73fba33309977cca51e7f93d2c | 45f842b3d40948542b859a6e21bed898ab542b6f | refs/heads/master | 2021-01-16T19:11:07.138568 | 2012-05-21T15:46:14 | 2012-05-21T15:46:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,498 | cpp | /* Copyright (C) 2011 by if1live */
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publis... | [
"4ipperz@gmail.com"
] | 4ipperz@gmail.com |
c2ab047f7ee8257302cb95e1e9608c170e8bc9b0 | 5eb685b218cedf230b5ee556ec18d53b3ce12aea | /Project2/main.cpp | 436fb18319ae9ae338917d65ef28fb7bc6136791 | [
"MIT"
] | permissive | harrisonyei/CPP2021Project2 | a59c306225c07b31b3b2bd88e2fd3318b85d8cae | 6dba0e669e7ffb4f6cb0ce22d1d0723b693568f1 | refs/heads/main | 2023-05-01T13:18:51.013551 | 2021-05-03T04:51:36 | 2021-05-03T04:51:36 | 361,139,198 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 111 | cpp | #include "GameManager.h"
#include <iostream>
int main()
{
chess::GameManager game;
return game.Run();
}
| [
"tinghaoyei"
] | tinghaoyei |
56b0c00887c5b8f51783fe31d1fd293fec110b25 | ebe8246fb06c08fff880d5356ada6c8abf796aa0 | /Ivanov/ordinary polar/polar 2/mexbind0x/examples/funcs.cpp | 8fd37b786d35293eba6d6088a7d57ce0899e8513 | [
"MIT"
] | permissive | ISChetverikov/PolarCodesUnion | d6e6156d0b0a0e90cd4e8f08796c8fe27e4dcb38 | 6fe1818c7845808f19efa256a7ee36f7e2a2ef46 | refs/heads/master | 2023-02-05T10:21:46.141613 | 2020-12-24T14:44:47 | 2020-12-24T14:44:47 | 290,478,579 | 4 | 7 | null | 2020-12-24T14:44:48 | 2020-08-26T11:31:53 | Jupyter Notebook | UTF-8 | C++ | false | false | 928 | cpp | #include <mex_commands.h>
#include <vector>
using namespace mexbind0x;
int add(int a, int b) { return a + b; }
void mex(MXCommands &m) {
m.on("add", add);
m.on("sub", [](int a, int b) { return a - b; });
m.on("sum", [](std::vector<std::vector<int>> v) {
int r = 0;
for (const auto &a : v)
for (aut... | [
"ischetverikov@gmail.com"
] | ischetverikov@gmail.com |
6bd270691d09a0c7377c614b7567dca33e9768cb | 5c63b0e637d53dd7b5a17b7e97bd9170ad63a3bb | /Structural/Adapter.Exercise/text.cpp | de98d462119d5e2e4f05683bb8ac93fc78a366d5 | [] | no_license | infotraining/cpp-dp-2021-06-30 | 24750fa173ad1184e5809b7ce445feff057df666 | 6edd71490f9bfc76c1cf0c07dd0ab6fd354fea65 | refs/heads/master | 2023-06-05T20:58:03.019024 | 2021-07-02T14:11:42 | 2021-07-02T14:11:42 | 380,954,754 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 83 | cpp | #include "text.hpp"
namespace
{
// TODO - register creator for a Text class
}
| [
"krystian.piekos@infotraining.pl"
] | krystian.piekos@infotraining.pl |
83abfd0b4a6e9b05ee5cfa139d440931665a866f | 90a19a82c1b2c11c25c54debb932c400cef0844a | /demos/008_Image_Based_Lighting/vk_initializers.cpp | d7cd301edf184c1dc21554ce5fe537f4e58fd8a0 | [] | no_license | manuel76413/Vulkan_Demos | bcb0abff31752307049c6ef0630bf9adc9e26242 | 09a0df5c7b358d7b172854f61912547f4f3097dd | refs/heads/master | 2023-08-23T12:09:36.186423 | 2021-10-13T10:18:15 | 2021-10-13T10:18:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,680 | cpp | #include "vk_initializers.h"
#include "vk_mesh.h"
#include "vk_material.h"
#include <array>
VkCommandPoolCreateInfo vkinit::commandPoolCreateInfo(uint32_t queueFamilyIndex, VkCommandPoolCreateFlags flags /*= 0*/)
{
VkCommandPoolCreateInfo commandPoolInfo = { VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO };
commandPoo... | [
"hooyuser@outlook.com"
] | hooyuser@outlook.com |
e1cd099caa98ad44a2810de5eb7425962bb0f478 | 37ab17d6648d7493684cb2d94e5c3c7576fcf72a | /learning/programming_2/программирование2сем/лаб4/4.fix2.cpp | 6f5c97f1dbdd30907d6b5b2222dd389fcaa360de | [] | no_license | ArtyomAdov/learning_sibsutis | 74780d96658fe23efda916047ebc857215f81fc4 | 4a55314b91f7326ff792ca4521bd8bdf96f44bce | refs/heads/main | 2023-02-11T17:44:42.124067 | 2021-01-03T11:25:46 | 2021-01-03T11:25:46 | 326,384,347 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 875 | cpp | #include <iostream>
#include <stdlib.h>
#include <stdio.h>
#include <ctime>
using namespace std;
int random (int N){return rand ()%N;}
int main()
{
int **B, n, *A, i, j, *tmp;
cout<<"vvedite razmer massiva\n";
cin>>n;
cout<<endl;
A=new int[n];
if (A==NULL)
{
cout<<"error";
return 1;
};
B=... | [
"death1angel1annushka1@gmail.com"
] | death1angel1annushka1@gmail.com |
9e208ee847afe310a8b8769bbe6c1c27338fb2a5 | 234efff5291e2ab5e87ef71eb8ad80ec3b1854a2 | /TestingHexThrombus/processor10/0.0025/s | 7c8995feff5bcb43b2df32a7db637d5970a7e7a9 | [] | no_license | tomwpeach/thrombus-code | 5c6f86f0436177d9bbacae70d43f645d70be1a97 | 8cd3182c333452543f3feaecde08282bebdc00ed | refs/heads/master | 2021-05-01T12:25:22.036621 | 2018-04-10T21:45:28 | 2018-04-10T21:45:28 | 121,060,409 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,830 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.1 |
... | [
"tom@tom-VirtualBox.(none)"
] | tom@tom-VirtualBox.(none) | |
c243025120eb69861bfec3cd22ecc8e77dfdbe71 | 52ca1b5adba2ca71c41b66f5ba7c9de655718a36 | /src/parallel_omp/src/compare.cpp | d69bc704a1b07e0168060f838ab3d4853dbd24dd | [
"MIT"
] | permissive | IGMercier/15418-S20-Parallel-Compression- | 80b8eb3f7a48a09a0435f6e95900ab596bd1c489 | b6521ff5d668908ee8493aa04108b56dd04aaa26 | refs/heads/master | 2022-06-30T01:24:32.786669 | 2020-05-10T23:44:56 | 2020-05-10T23:44:56 | 258,647,046 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,166 | cpp | #include <iostream>
#include <dirent.h>
#include <vector>
#include <string>
#include <algorithm>
#include <unordered_map>
#define STB_IMAGE_IMPLEMENTATION
#define STB_IMAGE_WRITE_IMPLEMENTATION
#include "../../../include/stb_image.h"
#include "../../../include/stb_image_write.h"
bool same(std::string &save_dir, std... | [
"dhananjs@ghc66.ghc.andrew.cmu.edu"
] | dhananjs@ghc66.ghc.andrew.cmu.edu |
87a9c7a93a934824409f5cb0ca0e3c7f2de0f36d | f2fcefde8c9f1faa98542392a80b80cf78389249 | /trees/BST.h | 00d8161d8c9abf45494b9027791646910a4bad55 | [] | no_license | nicolopizzo/algorithms-cpp | b080a0fd46178e2f6691747ea03a2cc9b5db59d5 | 9aa1d2b856b2d693f05c485c4a18c83f8120ceb0 | refs/heads/main | 2023-06-03T21:17:20.205836 | 2021-06-14T15:21:43 | 2021-06-14T15:21:43 | 374,140,295 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 955 | h | #ifndef BST_H
#define BST_H
template <class T>
struct BSTNode {
T value;
BSTNode<T>* left;
BSTNode<T>* right;
BSTNode(T v) {
value = v;
left = nullptr;
right = nullptr;
}
};
template <class T>
class BST {
BSTNode<T>* root;
public:
BST();
BST(T*, in... | [
"nicolopizzo@outlook.com"
] | nicolopizzo@outlook.com |
776e20d424cff9d3be1632338cb6eeacefacfd61 | dae4878b1febbdc8350a53402a9db051b272c1e2 | /src/lib/DriverFramework/drivers/ms5611/MS5611.hpp | 5b67a12a1d0562cafa1b60db3a0fa41a5ffae062 | [] | no_license | ANCL/UAV_DOBIBS | 5c86a38e65a58654957ae8344205ef2581ff00a8 | 65f39f5ff8baeed71338b7476963d7f4662bc6a6 | refs/heads/master | 2020-09-05T04:07:33.932986 | 2020-08-05T15:44:45 | 2020-08-05T15:44:45 | 219,977,726 | 6 | 5 | null | 2020-03-18T03:10:25 | 2019-11-06T11:08:15 | C | UTF-8 | C++ | false | false | 4,590 | hpp | /****************************************************************************
*
* Copyright (C) 2015 Mark Charlebois. All rights reserved.
* Copyright (C) 2016 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provid... | [
"moeini@ualberta.ca"
] | moeini@ualberta.ca |
c63ac7ee63d64787b4f124bf72a0d6eb4e2477b3 | 9bdbbaebf9fa0091d74d0ebdf6cc9fd1ee09d837 | /inference-engine/tests/functional/plugin/gpu/shared_tests_instances/single_layer_tests/interpolate.cpp | f3391fd11698b58ffd186b6bc47b2fec338c5584 | [
"Apache-2.0"
] | permissive | bani-intelaipg/openvino | 81673665d70eb7fbd39a2648d230d781ecf18972 | 1e2f669afdb2186c9aef8cee84048283f6d77d5a | refs/heads/master | 2022-12-30T05:00:49.206432 | 2020-10-12T17:41:04 | 2020-10-12T17:41:04 | 283,008,664 | 1 | 0 | Apache-2.0 | 2020-10-12T00:01:44 | 2020-07-27T20:27:48 | C++ | UTF-8 | C++ | false | false | 4,902 | cpp | // Copyright (C) 2020 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <vector>
#include "single_layer_tests/interpolate.hpp"
#include "common_test_utils/test_constants.hpp"
using namespace LayerTestsDefinitions;
namespace {
const std::vector<InferenceEngine::Precision> netPrecisions = {
... | [
"noreply@github.com"
] | bani-intelaipg.noreply@github.com |
de6fe18f25b07329cc0481e1eb0d3310a1f6f90a | 66a54367813a7941aa9586382ab1f8447e5bed7b | /748. Shortest Completing Word.cpp | 99be3a9241241e0d836cf11bded79a8d0ff112ce | [] | no_license | OgnjenArsenijevic/LeetCode-solutions | 46e0a145f80485b145b9357eb78759975b3865fd | 1b513a5110effafc0f446f671d45e4ff32e0e6a7 | refs/heads/master | 2020-04-29T06:29:33.269476 | 2020-03-30T21:03:12 | 2020-03-30T21:03:12 | 175,917,592 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,119 | cpp | ///748. Shortest Completing Word
///Author: Ognjen Arsenijevic
///username: ognjen1998
class Solution
{
public:
string shortestCompletingWord(string licensePlate, vector<string>& words)
{
int sz=1e9;
string ans="";
int arr[26];
memset(arr,0,sizeof(arr));
for(int i=0;i<l... | [
"noreply@github.com"
] | OgnjenArsenijevic.noreply@github.com |
0c2892fff0a7370e2a6e1eeac45c7d1f83b90b40 | 986c21d401983789d9b3e5255bcf9d76070f65ec | /src/plugins/lmp/sync/clouduploader.h | 4f1d892e5666543c92d62e8387d3775d0b94a94c | [
"BSL-1.0"
] | permissive | 0xd34df00d/leechcraft | 613454669be3a0cecddd11504950372c8614c4c8 | 15c091d15262abb0a011db03a98322248b96b46f | refs/heads/master | 2023-07-21T05:08:21.348281 | 2023-06-04T16:50:17 | 2023-06-04T16:50:17 | 119,854 | 149 | 71 | null | 2017-09-03T14:16:15 | 2009-02-02T13:52:45 | C++ | UTF-8 | C++ | false | false | 1,184 | h | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE... | [
"0xd34df00d@gmail.com"
] | 0xd34df00d@gmail.com |
6633a135158cb378d5a5b49bd8d729a9d2ba3630 | de3b6cb3696b2b9f6a6c3568408d3889f12244ae | /libs/img/src/jpeglib/jerror.cpp | a4130281568399d8761dd5768de48e0c020b191b | [
"BSD-3-Clause",
"IJG"
] | permissive | HitLumino/mrpt | a8cc3bf6e61b8e7478390de76f5caab3afd37e7b | 827122befe5d7b20e1e36b0b34212b98087dd205 | refs/heads/master | 2021-04-15T05:24:30.519492 | 2018-03-27T08:44:56 | 2018-03-27T08:44:56 | 126,834,177 | 1 | 0 | BSD-3-Clause | 2018-03-26T13:36:55 | 2018-03-26T13:36:55 | null | UTF-8 | C++ | false | false | 7,517 | cpp | /* +------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| http://www.mrpt.org/ |
| |
| Cop... | [
"joseluisblancoc@gmail.com"
] | joseluisblancoc@gmail.com |
8314c352c4e6974da82c0ee035d7164ce16aefda | e2c3bc4ac8501c0681d770d94e7e744ae1cfd4a3 | /libraries/pfodESP8266WiFi/src/pfodESP8266WiFiMulti.h | 73416ff3c0541471d142bf83877923b674940c4d | [] | no_license | fionachui/herbertBasil | baf37e1c9e969962d360d0f133ab00afadfa843f | 0419fddb5b6cfd439b6464e64402db2e2fda6b46 | refs/heads/master | 2016-09-13T23:41:26.239504 | 2016-05-06T03:41:20 | 2016-05-06T03:41:20 | 58,089,865 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,747 | h | /**
*
* @file ESP8266WiFiMulti.h
* @date 16.05.2015
* @author Markus Sattler
*
* Copyright (c) 2015 Markus Sattler. All rights reserved.
* This file is part of the esp8266 core for Arduino environment.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of t... | [
"fionachui.23@gmail.com"
] | fionachui.23@gmail.com |
9aa173a2549db98cc3394eaa27a9823422429e30 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /components/variations/cros_evaluate_seed/evaluate_seed.cc | efd2cfd35e04219a0ecae3c7c3def56f698a5744 | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 4,184 | cc | // Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/variations/cros_evaluate_seed/evaluate_seed.h"
#include "base/check.h"
#include "base/containers/flat_set.h"
#include "base/files/file_util.h"
#include "b... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
68a9b73ab43926a02beef61b1f096d4c597a7e10 | be3c35d27245654e53c47619a485ef3d0e50901d | /C++/CPPDemos/cppSTLreview/modernCpp/modernCpp/random.cpp | 26d26f7f0c40fdde9c54ad6a9cbb96007321412e | [] | no_license | zzhan08/Exercises | 9aa6a439e36222806310eef50199250353291c4d | 1be3566206ead9cc329c809c7ad1a2f03c010056 | refs/heads/main | 2023-03-03T05:52:30.539181 | 2021-02-07T20:43:03 | 2021-02-07T20:43:03 | 336,820,822 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37 | cpp | #include "stdafx.h"
#include <random> | [
"zhangz@innopharmalabs.com"
] | zhangz@innopharmalabs.com |
eb37f7fe55533ea4e3676a68379fac0a7fde975e | 0ca50389f4b300fa318452128ab5437ecc97da65 | /src/color/hsl/get/gray.hpp | 63abdea574030fc743127d47d70fa95199af1a2b | [
"Apache-2.0"
] | permissive | dmilos/color | 5981a07d85632d5c959747dac646ac9976f1c238 | 84dc0512cb5fcf6536d79f0bee2530e678c01b03 | refs/heads/master | 2022-09-03T05:13:16.959970 | 2022-08-20T09:22:24 | 2022-08-22T06:03:32 | 47,105,546 | 160 | 25 | Apache-2.0 | 2021-09-29T07:11:04 | 2015-11-30T08:37:43 | C++ | UTF-8 | C++ | false | false | 1,398 | hpp | #ifndef color_hsl_get_gray
#define color_hsl_get_gray
// ::color::get::gray( c )
#include "../../gray/place/place.hpp"
#include "../../gray/akin/hsl.hpp"
#include "../../gray/trait/component.hpp"
#include "../category.hpp"
#include "../../_internal/normalize.hpp"
#include "../../_internal/diverse.hpp"
#include "../... | [
"dmilos@gmail.com"
] | dmilos@gmail.com |
8cbf3c54e526e63e20656a6f242b4a9c992756b7 | 7b46f4140b078c5cb7954b6735fff6a31e2e7751 | /aten/src/TH/THTensorCopy.cpp | 482a7b986f5302cc5363d098902099e7758c2726 | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | jcjohnson/pytorch | f704a5a602f54f6074f6b49d1696f30e05dea429 | ab253c2bf17747a396c12929eaee9d379bb116c4 | refs/heads/master | 2020-04-02T15:36:09.877841 | 2018-10-24T21:57:42 | 2018-10-24T22:02:40 | 101,438,891 | 8 | 2 | NOASSERTION | 2018-10-24T21:55:49 | 2017-08-25T20:13:19 | Python | UTF-8 | C++ | false | false | 206 | cpp | #include "THTensor.hpp"
#include "THVector.h"
#include <algorithm>
#include "generic/THTensorCopy.cpp"
#include "THGenerateAllTypes.h"
#include "generic/THTensorCopy.cpp"
#include "THGenerateHalfType.h"
| [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
0a73bf07ad89254669f0149b93a2dce25d13cb71 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/old_hunk_6943.cpp | d3815f880bdd46588e960210e2cdec7579cf1f65 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 748 | cpp | }
nexttype = get_token(fp, nexttoken);
}
if (nexttype != ACCESS){
print_error("Should be ACCESS", nexttoken, nexttype);
free_node(np);
return 0;
}
type = get_token(fp, token);
if (type != READONLY && type != READWRITE && type != WRITEONLY
&& type != NOACCESS && type != READCREATE){
print_erro... | [
"993273596@qq.com"
] | 993273596@qq.com |
1eee6733540ea6aa410e3aa4d250449eaa9ebb9c | df7bade8db21b3730a8475571efa41c7f57fc478 | /Arduino/Complete_wearable/Challenge2GMMHrMonitor/Accelerometer.ino | 29fbca92d2b2f0c3b95e0b8a5b2aa26727688cc2 | [] | no_license | williamliuzhenwei/MyWatch | 2d59c3a48571b9a269539787ea7db1ee472b872c | 29ce13aeda74ffe416546ec377956c323e5272ee | refs/heads/master | 2023-05-24T14:57:14.004960 | 2021-06-13T18:52:49 | 2021-06-13T18:52:49 | 376,611,838 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 323 | ino | const int accelX = A2;
const int accelY = A3;
const int accelZ = A4;
void setupAccelSensor(){
Serial.begin(115200);
pinMode(accelX, INPUT);
pinMode(accelY, INPUT);
pinMode(accelZ, INPUT);
}
void readAccelSensor(){
ax = analogRead(accelX);
ay = analogRead(accelY);
az = analogRead(accelZ);
... | [
"zhl012@ucsd.edu"
] | zhl012@ucsd.edu |
a57e1d67181e6e3e60d3af16f4ff03b043880316 | db8be521b8e2eab424f594a50886275d68dd5a1b | /Competitive Programming/codechef/NOV13/SPOTWO.cpp | e3d5d55ae680d347d5b7d32c695054e67a9eb9f7 | [] | no_license | purnimamehta/Articles-n-Algorithms | 7f2aa8046c8eef0e510689771a493f84707e9297 | aaea50bf1627585b935f8e43465360866b3b4eac | refs/heads/master | 2021-01-11T01:01:53.382696 | 2017-01-15T04:12:44 | 2017-01-15T04:12:44 | 70,463,305 | 10 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 642 | cpp | #include<iostream>
using namespace std;
#define MOD 1000000007
long long power[]={2, 1024, 976371285, 688423210, 905611805, 607723520, 235042059, 255718402, 494499948, 140625001, 291251492, 25600497, 959366170, 836339738, 621966918, 264444359, 271283348, 952065854, 719476260, 28918236LL, 894102506LL, 663968931LL, 72... | [
"me@lefeeza.com"
] | me@lefeeza.com |
60062b240a87e6db39a8dc3d314ced4d2ab1c8cc | b01e58e74ba0f989c5beb8f532eec2c11f5439b5 | /contests/samara/A.cpp | 085446d7946051c3ee984c1c2b7f3a7bce938645 | [] | no_license | breno-helf/TAPA.EXE | 54d56e2a2c15e709819c172695200479b1b34729 | 3ac36a3d2401a2d4861fc7a51ce9b1b6a20ab112 | refs/heads/master | 2021-01-19T11:18:15.958602 | 2018-08-03T22:25:03 | 2018-08-03T22:25:03 | 82,236,704 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 711 | cpp | #include <bits/stdc++.h>
using namespace std;
const long double PI = acos(-1);
int main(){
long double a, b, c, r;
long double p;
cin >> a >> b >> c >> r;
p = (a+b+c)/2;
long double area = sqrt(p) * sqrt(p-a) * sqrt(p-b) * sqrt(p-c);
long double ri = (2.0 * area) / (a + b + c);
long double ratio =... | [
"breno.moura@hotmail.com"
] | breno.moura@hotmail.com |
d08d682f9f9fce9e3dd0d187bdd25534bc2f53b7 | 4a3ca65ba2228c20e3f04f3ab1538dd00f87e976 | /src/qt/notificator.cpp | 6d5e26ea55d31b1cccdde63bf128f49629a3d20c | [
"MIT"
] | permissive | bonoproject/Bonorum | dd5b29a80b41a8e9fc0e0311b11730b5bf6fb3c2 | d0dede6c416b812398a6c88cb2f54dad049c932e | refs/heads/master | 2020-12-20T16:41:40.978500 | 2020-06-08T12:04:16 | 2020-06-08T12:04:16 | 236,138,813 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,418 | cpp | // Copyright (c) 2011-2013 The Bitcoin developers
// Copyright (c) 2017-2019 The PIVX developers
// Copyright (c) 2020 The BonorumCoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "notificator.h"
#inc... | [
"60004952+bonoproject@users.noreply.github.com"
] | 60004952+bonoproject@users.noreply.github.com |
1133c8f2d588ff52914933a1e1269e8a88246df8 | d3cfaa7be41b70205e027d718f5546723f59906d | /network_programming/WebServer/WebServer/Epoll.h | 15ff5e899f86dcdf64f47dab4c12309d9652d282 | [
"MIT"
] | permissive | 15757170756/All-Code-I-Have-Done | 8836c11ad1648f06cb815ab76f3378cddc41ac63 | e8985935efa641e68b76c231dddaf6326e3f3f98 | refs/heads/master | 2022-12-12T10:01:26.132458 | 2021-09-02T13:34:00 | 2021-09-02T13:34:09 | 111,758,971 | 9 | 3 | null | 2022-12-07T23:30:17 | 2017-11-23T03:31:03 | Jupyter Notebook | UTF-8 | C++ | false | false | 914 | h | // @Author Lin Ya
// @Email xxbbb@vip.qq.com
#pragma once
#include "Channel.h"
#include "HttpData.h"
#include "Timer.h"
#include <vector>
#include <unordered_map>
#include <sys/epoll.h>
#include <memory>
class Epoll
{
public:
Epoll();
~Epoll();
void epoll_add(SP_Channel request, int timeout);
void epol... | [
"15757170756@139.com"
] | 15757170756@139.com |
8e3025d7f0a14946cee3b945754b95d4f0872eda | 0c7ee2d3762f5537e27304cd66e3ed11a09276d6 | /SRC/qosgabsolutemodeltransform.cpp | 121599c429eb71214c5c97cc55515685ef5dc2bb | [] | no_license | codingman/osgQTWidget | 2df469a2db0dca482dad37a96f0c6e314f5a7534 | 7b9b1a74b5bb3bf2a0dd90e1213ba80622ff0abe | refs/heads/master | 2023-03-15T16:35:24.354807 | 2018-07-16T08:33:12 | 2018-07-16T08:33:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,936 | cpp | #include "qosgabsolutemodeltransform.h"
#include <osgUtil/CullVisitor>
QOSGAbsoluteModelTransform::QOSGAbsoluteModelTransform(QObject *parent) : QObject(parent)
{
setReferenceFrame( osg::Transform::ABSOLUTE_RF );
}
QOSGAbsoluteModelTransform::QOSGAbsoluteModelTransform( const osg::Matrix& m,QObject *parent ) : QOb... | [
"kangjie.wang@aqrose.com"
] | kangjie.wang@aqrose.com |
c536b7be340e05f95cbac5636ba84f9cb2e3a8f5 | c22c724e867b013c39cfea9cb1c86c7562fb8750 | /Insertion_sort.cpp | 766e8760bd3031efece3a8fc0cee02667c337570 | [] | no_license | Raichu-007/DS-ALGO-C- | 38d4e998b4a710caefcf8f7f2c163896dc6b367c | 813182ae3fbff423a39af38d3ad4f21ed79aa59c | refs/heads/main | 2023-01-01T11:51:08.667009 | 2020-10-16T06:05:40 | 2020-10-16T06:05:40 | 304,534,303 | 1 | 0 | null | 2020-10-16T06:04:05 | 2020-10-16T06:04:04 | null | UTF-8 | C++ | false | false | 956 | cpp | #include <bits/stdc++.h>
using namespace std;
/* Function to sort an array using insertion sort*/
void insertionSort(int arr[], int n)
{
int i, key, j;
for (i = 1; i < n; i++)
{
key = arr[i];
j = i - 1;
/* Move elements of arr[0..i-1], that are
greater ... | [
"noreply@github.com"
] | Raichu-007.noreply@github.com |
9c1572368999ea52be1aadfd259c9ae7ced938af | 40712dc426dfb114dfabe5913b0bfa08ab618961 | /Extras/wxWidgets-2.9.0/include/wx/osx/dataobj.h | 876cf0e78c0bbf2dd12d60eedc73c7d0641692ca | [] | no_license | erwincoumans/dynamica | 7dc8e06966ca1ced3fc56bd3b655a40c38dae8fa | 8b5eb35467de0495f43ed929d82617c21d2abecb | refs/heads/master | 2021-01-17T05:53:34.958159 | 2015-02-10T18:34:11 | 2015-02-10T18:34:11 | 31,622,543 | 7 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,488 | h | ///////////////////////////////////////////////////////////////////////////////
// Name: mac/dataobj.h
// Purpose: declaration of the wxDataObject
// Author: Stefan Csomor (adapted from Robert Roebling's gtk port)
// Modified by:
// Created: 10/21/99
// RCS-ID: $Id: dataobj.h 58168 2009-01-17 1... | [
"erwin.coumans@e05b9ecc-110c-11df-b47a-af0d17c1a499"
] | erwin.coumans@e05b9ecc-110c-11df-b47a-af0d17c1a499 |
9aa30cdecaf4453a27103f5a3cbf003ab76e0ee7 | 11267ffd08839606fc4d8fd53c49cd3d373eedcd | /third_party/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h | e11d5ed22e7797a2e132b343a865485c4c274311 | [
"LGPL-2.0-or-later",
"MPL-2.0",
"LGPL-3.0-only",
"BSD-3-Clause",
"LGPL-2.1-or-later",
"GPL-3.0-only",
"Minpack",
"LGPL-2.1-only",
"Apache-2.0"
] | permissive | him-28/TensorFlow | 65b7044fd1f74a85cde1e025861a628b3ee9c214 | 9871a5ef21785b720d75e46bd38b49eea829e808 | refs/heads/master | 2023-01-21T20:29:20.006510 | 2015-11-24T07:10:25 | 2015-11-24T07:10:25 | 66,283,292 | 1 | 1 | Apache-2.0 | 2022-12-20T11:37:24 | 2016-08-22T15:13:19 | C++ | UTF-8 | C++ | false | false | 5,180 | h | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2014 Benoit Steiner <benoit.steiner.goog@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You ca... | [
"keveman@gmail.com"
] | keveman@gmail.com |
1bb70383c68bdabae837724fea259f389986d389 | dba68ca53ce02985ed1b49f6813d578d24e94b27 | /ProjectsServer/GameServer/FieldServer/InfinityManager.cpp | b018bdb7c7268f191f1be405ebd50bc322326ecf | [] | no_license | DeathRivals/OpenAo | afd6c1fe6ddc00e3765c290f485805a7b3e0db59 | bf6be4ee29b1f08588fe7fd12c02c8df94d705f5 | refs/heads/master | 2021-02-15T18:23:37.814569 | 2020-03-04T14:39:38 | 2020-03-04T14:39:38 | 244,919,960 | 2 | 2 | null | 2020-03-04T14:22:07 | 2020-03-04T14:22:07 | null | UHC | C++ | false | false | 82,182 | cpp | // InfinityManager.cpp: implementation of the CInfinityManager class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "InfinityManager.h"
#include "FieldGlobal.h"
#include "InfinityTickManager.h"
#include "FieldIOCPSocket.h" // 2010-04-05 by cmkwon, 인피 재입장 카드 관련... | [
"guss@nemerian.fr"
] | guss@nemerian.fr |
8c2543a49c87a33cf2bdef4a49e846ba27604a12 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/curl/gumtree/curl_repos_function_2213_last_repos.cpp | 49cdb871b7d8e87a10617eaf82762adb2a56738d | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 531 | cpp | static CURLcode smtp_perform_rcpt_to(struct connectdata *conn)
{
CURLcode result = CURLE_OK;
struct Curl_easy *data = conn->data;
struct SMTP *smtp = data->req.protop;
/* Send the RCPT TO command */
if(smtp->rcpt->data[0] == '<')
result = Curl_pp_sendf(&conn->proto.smtpc.pp, "RCPT TO:%s",
... | [
"993273596@qq.com"
] | 993273596@qq.com |
6c0af95970f24812f0c98a6e1579c5ceaae6d306 | e4ec5b6cf3cfe2568ef0b5654c019e398b4ecc67 | /aws-sdk-cpp/1.2.10/include/aws/iot/model/AttachPrincipalPolicyRequest.h | 0079c026aafbf3a554c17a39e7273d35c17e1be8 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | EnjoyLifeFund/macHighSierra-cellars | 59051e496ed0e68d14e0d5d91367a2c92c95e1fb | 49a477d42f081e52f4c5bdd39535156a2df52d09 | refs/heads/master | 2022-12-25T19:28:29.992466 | 2017-10-10T13:00:08 | 2017-10-10T13:00:08 | 96,081,471 | 3 | 1 | null | 2022-12-17T02:26:21 | 2017-07-03T07:17:34 | null | UTF-8 | C++ | false | false | 4,925 | h | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"Raliclo@gmail.com"
] | Raliclo@gmail.com |
acd26cfcd25982402a766460c5c54ba874f9d65b | b7499a6a26127832561faeeabb2090cf7806813a | /C++/28list容器/28list容器/07list容器-排序案例.cpp | 96f6e62e2dfacf0a07719c42b2a5079b141cadd5 | [] | no_license | zeroTwozeroTwo/MyNoteBook | fd0f76ff6f13ea7a9f5e28daf479ac7fb338f350 | ac0c6aeb58c18d30eea09e723fb5a682ab5829bf | refs/heads/master | 2021-01-04T18:58:04.986431 | 2020-02-27T18:02:41 | 2020-02-27T18:02:41 | 240,718,475 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,650 | cpp | #include <iostream>
using namespace std;
#include <list>
#include <string>
//list容器 排序案例 对于自定义数据类型 做排序
//按照年龄进行升序,如果年龄相同按照身高进行降序
class Person
{
public:
Person(string name, int age, int height)
{
this->m_Name = name;
this->m_Age = age;
this->m_Height = height;
}
string m_Name;//姓名
int ... | [
"noreply@github.com"
] | zeroTwozeroTwo.noreply@github.com |
a13d5ed969d00a49e828fda2356f71a632d7b71a | af0ecafb5428bd556d49575da2a72f6f80d3d14b | /CodeJamCrawler/dataset/11_2785_18.cpp | ab3654f4eae1720f73bfcf78b5c450dbeb2990d8 | [] | no_license | gbrlas/AVSP | 0a2a08be5661c1b4a2238e875b6cdc88b4ee0997 | e259090bf282694676b2568023745f9ffb6d73fd | refs/heads/master | 2021-06-16T22:25:41.585830 | 2017-06-09T06:32:01 | 2017-06-09T06:32:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,182 | cpp | // A.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include<cstdlib>
#include<cstdio>
#include<iostream>
#include<string>
#include<conio.h>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
int n,nop,*a,x,flag=0;
float low,high;
... | [
"nikola.mrzljak@fer.hr"
] | nikola.mrzljak@fer.hr |
a92f7987382d904caff20ad1946a728c7629d5bc | e817d1835eaf541703b055985fade1fac84a07db | /hw9-1/classes.cc | cd654dae138bf8575e64fac4eb5e74e22276e083 | [] | no_license | FYLSunghwan/2019_ITE1015 | b260b26639aba11f7c102144b8f8011d92eb9796 | 4eaa2341db79a74293cb82f79c2c5018b4ea6f1a | refs/heads/master | 2021-01-03T09:40:55.686875 | 2020-02-12T13:55:14 | 2020-02-12T13:55:14 | 240,024,961 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 229 | cc | #include "classes.h"
#include <iostream>
void A::test()
{
std::cout << "A::test()" << std::endl;
}
void B::test()
{
std::cout << "B::test()" << std::endl;
}
void C::test()
{
std::cout << "C::test()" << std::endl;
} | [
"sunghwan519@hotmail.com"
] | sunghwan519@hotmail.com |
71763b415cb24d6cc30679645e68b40c43403d12 | f22ebc1404ee597fecbb08ecba4bc01f7fbb0150 | /ch01/exercise1.9.cpp | dd934a8df61feaf10b38e5500c05e6edfba87cff | [] | no_license | matriiix67/cpp-primer | ccb3bd12771488090121d0f336cbb4bfd825f058 | ee10f444ecfb66c5dcf9b88a6af3766f98f152ed | refs/heads/master | 2021-01-21T04:44:31.816805 | 2018-04-02T10:15:00 | 2018-04-02T10:15:00 | 45,467,049 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 260 | cpp | #include <iostream>
int main(int argc, char *argv[])
{
int sum = 0, val = 50;
while (val <= 100) {
sum += val;
++val;
}
std::cout << "Sum of 50 to 100 inclusive is "
<< sum << std::endl;
return 0;
}
| [
"matriiix67@gmail.com"
] | matriiix67@gmail.com |
24048a7b72dd8d138c54738ed3986c33c1490b8c | 3a30fefcb893e3a0f1b40a46f57f3d50376d868d | /client-qt/fpv_service.cpp | 635f3a265b8652685ad81b302a0b2c42d212dde0 | [] | no_license | ming4883/mkart | 7d2640797fa319782a100e8472bb8986597789b0 | 6489abe7949967215c277a085d3748cd31359815 | refs/heads/master | 2021-09-01T06:34:00.942782 | 2017-12-24T05:06:04 | 2017-12-24T05:06:04 | 115,331,734 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,375 | cpp | #include "fpv_service.h"
#include "timing.h"
#include <QtNetwork>
#include <QOpenGLTexture>
#include <QOpenGLPixelTransferOptions>
class FpvContext : public QObject
{
//Q_OBJECT
public:
Tcp m_tcp;
QOpenGLTexture* m_tex;
bool m_capture;
float m_last_recv_time;
float m_avg_recv_time;
FpvCon... | [
"ming4883@hotmail.com"
] | ming4883@hotmail.com |
a641d0e04725ba344ac2b8c464e002471838d994 | 8eac6a6d838ceb06c44daa28bb9ef7aaccddbf9b | /Chapter11/ch11_11_4.cpp | 54b8449b56f956e3ab00d75ca7b0477788bf9c11 | [] | no_license | Song621/CPP-Classes-and-Data-Structures | e66def3fca5eb85c2e7503e5d8293879e53250c6 | d9c1ede3c92ab123a600a18ae03f124e41ba3c6f | refs/heads/master | 2023-08-30T12:56:06.279988 | 2021-11-10T16:53:46 | 2021-11-10T16:53:46 | 303,077,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 544 | cpp | #include <iostream>
using namespace std;
void foo(int a, int b)
{
cout<<"a is: "<<a<<endl;
cout<<"b is: "<<b<<endl;
}
int main()
{
void (*fptr) (int a, int b);
//函数指针,指针名为fptr,*fptr两边的小括号是必须的,
//fptr可以指向的函数的返回类型位于指针名称的左边,
//指针函数的参数列表位于指针名称的右边。
fptr = foo;//将foo的地址赋给fptr
fptr(10,25);/... | [
"2972918569@qq.com"
] | 2972918569@qq.com |
e1ae2f12cda17e23ca59ab7efcbe747573e7a4c9 | 0d11203e6a143b2383b5baa8a9a2b3e48383c9b1 | /DSA01018.cpp | 41c34cddce08f33c403d43a541bf7be7353bdcbb | [] | no_license | namnguyen215/CTDLGT | c36b8526b3af00ea2d4bd113efe378f95091f895 | 6e7e602940fb5c28b7af830f44f58443375b7666 | refs/heads/main | 2023-06-25T08:48:47.269848 | 2021-07-21T16:36:36 | 2021-07-21T16:36:36 | 360,927,428 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 626 | cpp | #include<bits/stdc++.h>
using namespace std;
void sinh(int a[],int n, int k)
{
int i=k;
while(a[i]==a[i-1]+1)
i--;
if(i>0)
{
a[i]--;
for(int j=i+1;j<=k;j++)
a[j]=n-k+j;
}
else
{
for(int j=1;j<=k;j++)
a[j]=n-k+j;
}
}
void p... | [
"namnguyenphuong215@gmail.com"
] | namnguyenphuong215@gmail.com |
c1e90eb0bd8a4cbe609e894b92e14e0c74dcf0b7 | 019b1b4fc4a0c8bf0f65f5bec2431599e5de5300 | /device/bluetooth/bluetooth_socket_bluez_unittest.cc | 80585bc373b899143e4f8f5676b680b3a59dedd8 | [
"BSD-3-Clause"
] | permissive | wyrover/downloader | bd61b858d82ad437df36fbbaaf58d293f2f77445 | a2239a4de6b8b545d6d88f6beccaad2b0c831e07 | refs/heads/master | 2020-12-30T14:45:13.193034 | 2017-04-23T07:39:04 | 2017-04-23T07:39:04 | 91,083,169 | 1 | 2 | null | 2017-05-12T11:06:42 | 2017-05-12T11:06:42 | null | UTF-8 | C++ | false | false | 22,632 | 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.
#include "base/bind.h"
#include "base/memory/ref_counted.h"
#include "base/message_loop/message_loop.h"
#include "device/bluetooth/bluetooth_adapter.h"
#i... | [
"wangpp_os@sari.ac.cn"
] | wangpp_os@sari.ac.cn |
f423a007134313e02b104af37e7be86c144a784e | 780d89a45e6a75834cb4e72fd679a5605f42b250 | /find_the_duplicate_number_lc287.cpp | 6bb2b4e82f33b33511196bb5d75434dd7f2e0662 | [] | no_license | omkarlenka/leetcode | d55a29d6dbfcf1c819d58152c61e3cf629bb170a | 0a12474a96beeda25e396977b927d45ae7a67016 | refs/heads/master | 2023-04-19T00:36:47.405066 | 2021-05-05T18:30:20 | 2021-05-05T18:30:20 | 254,595,595 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 635 | cpp | //
// find_the_duplicate_number_lc287.cpp
//
// Created by omlenka on 09/01/21.
// Copyright © 2021 omkar lenka. All rights reserved.
//
#include <iostream>
#include <vector>
using namespace std;
class Solution {
public:
int findDuplicate(vector<int>& nums) {
for(int i = 0;i<nums.size();i++){
... | [
"omkar.lenka@gmail.com"
] | omkar.lenka@gmail.com |
58314fe79b81e42c8192280452c1f1a8d693d352 | ca9002d2410225bfe3df85ea0c2e419b51effdcc | /CppND-System-Monitor/src/system.cpp | 1c6c155168494b0fa9f932848628fc14be06f124 | [
"MIT"
] | permissive | ranjitmahadik/CPP-Nanodegree | c1bbe1afa4dcf76a891594ae5f4c8085e5404125 | bf8273e09012d7c0e6a80cc6e1c7d64c749bddf1 | refs/heads/master | 2022-05-27T21:34:26.374236 | 2020-04-24T09:10:52 | 2020-04-24T09:10:52 | 258,457,607 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,629 | cpp | #include <unistd.h>
#include <cstddef>
#include <set>
#include <string>
#include <vector>
#include "process.h"
#include "processor.h"
#include "system.h"
#include "linux_parser.h"
using std::set;
using std::size_t;
using std::string;
using std::vector;
System::System(){
cpu_ = Processor();
Processes();
}
/... | [
"ran.mahadik14@gmail.com"
] | ran.mahadik14@gmail.com |
de3a488d7b1da745e08ff6dc80fd5b4d02016ee5 | 614911fac5e9c6c4932123db4ec2b2f60e2c8e31 | /polymorphism/regular_polymorphism/shapes_drawer.cpp | 3825329fe5e18220533b2af132b96239fa773ce8 | [
"Apache-2.0"
] | permissive | google/cpp-from-the-sky-down | 9460e76e71c8b36f698ccc7959cf1386f3fc2f38 | 0d4417f574be620d1d97184997a036f1e8d6408a | refs/heads/master | 2023-08-30T15:57:28.476415 | 2022-06-07T00:02:12 | 2022-06-07T00:02:12 | 144,897,672 | 247 | 36 | Apache-2.0 | 2023-04-13T17:28:08 | 2018-08-15T19:59:21 | HTML | UTF-8 | C++ | false | false | 144 | cpp | #include "shapes_drawer.hpp"
void draw_shapes(const std::vector<my_shapes::shape>& shapes) {
for (const auto& shape : shapes) shape.draw();
}
| [
"jbandela@ad.corp.google.com"
] | jbandela@ad.corp.google.com |
87c12889cf4bc4d857da23d9e6a4befb8dd9632a | 208dc025a8ddf6643d29091b39f2548837fbb18e | /include/GLtank.h | e8f024e42f8daeeaec9ffce0f1a4243515d8615c | [] | no_license | Pefes/TankSimulatorOpenGL | da641c79ce8b442be899bfa879743f772925f9e9 | 302c737134e4fdc73cf91acd63e71028bcb62fed | refs/heads/master | 2021-03-05T12:49:22.253051 | 2020-03-09T19:24:13 | 2020-03-09T19:24:13 | 246,123,109 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,785 | h | #ifndef GLTANK_H
#define GLTANK_H
#include "GLobject.h"
namespace GLmodels
{
class GLtank
{
public:
GLtank();
void left();
void right();
void forward();
void backward();
void turretLeft();
void turretRight();
... | [
"pawlo898@gmail.com"
] | pawlo898@gmail.com |
03ed37a3056142c156fc30395b3f870619d491bc | d68eb2a3f13dee7ef8a93563b2d6fe16a9b771e6 | /SpMV/spmvf_with_data_formatting/src/spmv_mohammad_tb.cpp | 72677a6b601bfdfb92ccb318361f2e597554268f | [] | no_license | AminSahebi/SDSoC-Benchmarks | f0ad6cdc6604fbd6365be545cf75fe790635b8bd | 9a78baf6e2929e789cfabab6f7458dbc4b64b4cf | refs/heads/master | 2023-02-17T11:54:04.951358 | 2021-01-20T15:57:17 | 2021-01-20T15:57:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,134 | cpp | /* File: spmv_mohammad_tb.h
*
Copyright (c) [2016] [Mohammad Hosseinabady (mohammad@hosseinabady.com)]
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 limit... | [
"csxmh@bristol.ac.uk"
] | csxmh@bristol.ac.uk |
51f5d29f19432ea5dabba65cab22b7a0b95a521a | 90c95fd7a5687b1095bf499892b8c9ba40f59533 | /sprout/functional/bit_or.hpp | a5adf0712662cdd418f30a43b439a143114d34fb | [
"BSL-1.0"
] | permissive | CreativeLabs0X3CF/Sprout | af60a938fd12e8439a831d4d538c4c48011ca54f | f08464943fbe2ac2030060e6ff20e4bb9782cd8e | refs/heads/master | 2021-01-20T17:03:24.630813 | 2016-08-15T04:44:46 | 2016-08-15T04:44:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,361 | hpp | /*=============================================================================
Copyright (c) 2011-2016 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.tx... | [
"bolero.murakami@gmail.com"
] | bolero.murakami@gmail.com |
8fb42a832502589cca1b2a3bf4a3d065cc440a6f | 7cc367b30964ac4376f289ff0495831c77f7f38c | /20.有效的括号.cpp | 6dd7b25ba07c88753d7d18468330de06086870dc | [] | no_license | HOoOF88/.leetcode | 484bbead7128055fe392ed282fb63fddbe5a84e6 | aba79b4727b505b5cd834ebb3177dd531628aa17 | refs/heads/master | 2023-06-10T05:18:18.392939 | 2021-06-13T05:56:00 | 2021-06-13T05:56:00 | 373,693,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,248 | cpp | // @before-stub-for-debug-begin
#include <vector>
#include <string>
#include "commoncppproblem20.h"
using namespace std;
// @before-stub-for-debug-end
/*
* @lc app=leetcode.cn id=20 lang=cpp
*
* [20] 有效的括号
*/
// @lc code=start
#include <bits/stdc++.h>
using namespace std;
class Solution
{
public:
bool isVa... | [
"hf904178460@gmail.com"
] | hf904178460@gmail.com |
81e5b7fac2c85b9050cd6ecfc400180cb0c24bb7 | e5694cdc45c5eb77f699bdccff936f341d0e87e2 | /a/zdr/ZSEMail.cpp | 8f9f9cfeb18569ee20c9a7001d3f34cf128d55ec | [] | no_license | arksoftgit/10d | 2bee2f20d78dccf0b5401bb7129494499a3c547d | 4940b9473beebfbc2f4d934fc013b86aa32f5887 | refs/heads/master | 2020-04-16T02:26:52.876019 | 2017-10-10T20:27:34 | 2017-10-10T20:27:34 | 49,138,607 | 0 | 3 | null | 2016-08-29T13:03:58 | 2016-01-06T14:02:53 | C | UTF-8 | C++ | false | false | 49,160 | cpp | // ZSEM.cpp : Defines the initialization routines for the DLL.
//
#define KZSYSSVC_INCL
#include "KZOENGAA.H"
#include "ZDrvrOpr.h"
#include <winsock2.h> // includes windows.h
#include <time.h>
#include <iostream>
#include <io.h>
#include <tchar.h>
#include "zsemail.h"
#pragma warning(disable: 4996) // This function... | [
"arksoft@comcast.net"
] | arksoft@comcast.net |
3f51685a54bfb5ed2d3f0ac101073ba1ed06a73b | 1abf985d2784efce3196976fc1b13ab91d6a2a9e | /opentracker/include/OpenTracker/input/PhantomSink.h | a76e0ff3a5b64377c5769c87e97ee788fd4a3240 | [
"BSD-3-Clause"
] | permissive | dolphinking/mirror-studierstube | 2550e246f270eb406109d4c3a2af7885cd7d86d0 | 57249d050e4195982c5380fcf78197073d3139a5 | refs/heads/master | 2021-01-11T02:19:48.803878 | 2012-09-14T13:01:15 | 2012-09-14T13:01:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,095 | h | #ifndef _PHANTOM_SINK_H
#define _PHANTOM_SINK_H
/* ========================================================================
* Copyright (c) 2006,
* Institute for Computer Graphics and Vision
* Graz University of Technology
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or with... | [
"s.astanin@gmail.com"
] | s.astanin@gmail.com |
c5afbe0b63090d9a30b1f33ec4d6438854d01d38 | 914be969990885182d03b5c99d7a338ce9d76f57 | /stack_balanced.cpp | 7055f999cc15a7705fa65d20305f07cc410eb86f | [] | no_license | ketaki04/Data_structures | 6cd1fd8f1cbda51437fffeaa065afbaf1f448829 | bc79f11c2c708c98f3af1495d7155a5a578a14e4 | refs/heads/master | 2022-11-20T01:18:43.166678 | 2020-07-16T09:29:15 | 2020-07-16T09:29:15 | 263,404,422 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 958 | cpp | //Using stack to detect the the balanced paranthesis
#include<iostream>
#include<stack>
#include<string>
using namespace std;
bool ArePair(char opening,char closing)
{
if(opening== '(' && closing==')') return true;
else if(opening== '[' && closing==']') return true;
else if(opening== '{' && closing=='}... | [
"ketaki.s.k2000@gmail.com"
] | ketaki.s.k2000@gmail.com |
dccaf6011b1d5fc600816ed9fa7af39eff900eb1 | af7974d03f96c5701c60206e1d34ca3f5b6919a8 | /content/common/gpu/gpu_channel_manager_delegate.h | c89a165ff4a89f0748ee1eca148a7438fed97753 | [
"BSD-3-Clause"
] | permissive | bfgeek/chromium | 985d563c2bccbff8cf227696f5b5120a961d81e6 | 3de75ff3508e61832615c0524b686d17c70e7095 | refs/heads/master | 2023-03-16T01:41:26.468268 | 2016-03-14T20:23:28 | 2016-03-14T20:23:28 | 53,888,352 | 0 | 0 | null | 2016-03-14T20:09:10 | 2016-03-14T20:09:10 | null | UTF-8 | C++ | false | false | 2,862 | h | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_COMMON_GPU_GPU_CHANNEL_MANAGER_DELEGATE_H_
#define CONTENT_COMMON_GPU_GPU_CHANNEL_MANAGER_DELEGATE_H_
#include "gpu/command_buffer/common... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
ce4acd78705a416c63df5d353ae80a20dbe83548 | 9b00394d404ab351050175950b929b09bd0d7351 | /11364 - Parking.cpp | eaf721252e24810a4d9f001363abebe061054353 | [] | no_license | IElgohary/Uva-solutions | f7a5150942ba6222fc59d455e0164ad462964551 | de5b309d4c588eecf52de89a571c2504b55bec5a | refs/heads/master | 2021-01-10T17:53:07.719432 | 2017-11-20T19:18:47 | 2017-11-20T19:18:47 | 49,293,636 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 365 | cpp | /*input
2
4
24 13 89 37
6
7 30 41 14 39 42
*/
#include <bits/stdc++.h>
using namespace std;
int main()
{
int t , n;
int arr[25];
cin >> t;
while ( t--)
{
cin >> n;
for ( int i = 0 ; i < n ; i++)
cin >> arr[i];
sort(arr , arr+n);
int sum = 0;
for ( int i = n-1 ; i > 0; i--)
{
sum += (arr[i] - a... | [
"eslam.elgohary@hotmail.ca"
] | eslam.elgohary@hotmail.ca |
2205cbc43c6d91960aa9bf0527c20e5df5f37fe7 | 4e59032d4fff982f3ddffa95eee2f6b8def94b87 | /Chapter 09/14 anonymous unions/anonymunions.cpp | bc535f50d395502fa2f37e791930599d06d080c2 | [] | no_license | ArmandoReyesRepo/Cplusplus2 | bfb810b0468402242523b1efe98e83ec1c8253da | b3733d83c5acfc30c7e4b922b70d1a39c04e2443 | refs/heads/main | 2023-05-27T19:03:58.098312 | 2021-06-16T04:23:12 | 2021-06-16T04:23:12 | 377,368,861 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 437 | cpp | // Demonstrate an anonymous union.
#include <iostream>
#include <cstring>
using namespace std;
int main()
{
// define anonymous union
union
{
long l;
double d;
char s[4];
} ;
// now, reference union elements directly
l = 100000;
cout << l << " ";
d = ... | [
"noreply@github.com"
] | ArmandoReyesRepo.noreply@github.com |
3867551257fc1fab2d3ac39933eeb71a7100697a | e059ee7a86a53a902ca25017ac2bc667f55bd70a | /test/과제1_login/login_ifstream.cpp | fa461f8fd9007760642224a539b669899a32dd10 | [] | no_license | cultivo-hy/Baekjoon-Algorithm | 1fe2362f4841fd1136155290cf7b554a7cc71ec9 | e677e351d8f9d38d1a66efeec52116dd9439815b | refs/heads/master | 2021-01-09T05:50:41.427863 | 2017-03-11T12:54:00 | 2017-03-11T12:54:00 | 80,842,034 | 0 | 0 | null | 2017-03-11T12:36:37 | 2017-02-03T15:33:02 | C++ | UHC | C++ | false | false | 757 | cpp | /*Baekjoon 2차원 배열 문제와 유사,
2016.08.29 inStream 연습,
DP로 풀다.
*/
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
int S[1001][1001];
using namespace std;
int main(){
ifstream inStream("login.inp");
ofstream outStream("login.out");
int iL = 0, iR = 0, value = 0, count = 0;
in... | [
"noreply@github.com"
] | cultivo-hy.noreply@github.com |
688c4d6889ee3fc7f59daa2d229f249313ce66c4 | 9f81d77e028503dcbb6d7d4c0c302391b8fdd50c | /google/cloud/discoveryengine/v1/internal/search_option_defaults.cc | 9ac11a6b4b06967cc1751e6efe3521ef99e24f2a | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | googleapis/google-cloud-cpp | b96a6ee50c972371daa8b8067ddd803de95f54ba | 178d6581b499242c52f9150817d91e6c95b773a5 | refs/heads/main | 2023-08-31T09:30:11.624568 | 2023-08-31T03:29:11 | 2023-08-31T03:29:11 | 111,860,063 | 450 | 351 | Apache-2.0 | 2023-09-14T21:52:02 | 2017-11-24T00:19:31 | C++ | UTF-8 | C++ | false | false | 2,715 | cc | // Copyright 2023 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | [
"noreply@github.com"
] | googleapis.noreply@github.com |
377467d3b3d07e6ea04ed0ba54ccb7ced31c7597 | c9e21a642e00c306f6b47c3393327a1796fc76ca | /huskyTech1/ht_types.h | 14346d8e5c495f02a6e527bf10daf4c0548d989a | [
"MIT"
] | permissive | floppydiskette/huskytech1 | 95cbb6e176859d8acb18dfa288cc0c5964ac3639 | 42458984cfca68e88f1cbfd2d63e5d14a7f51726 | refs/heads/main | 2023-07-21T14:15:18.444866 | 2021-08-25T05:25:53 | 2021-08-25T05:25:53 | 398,931,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 83 | h | #pragma once
#include <string>
#include "Sprite.h"
struct Point {
float x, y;
};
| [
"77258311+floppydiskette@users.noreply.github.com"
] | 77258311+floppydiskette@users.noreply.github.com |
c07e1692e5afa546ad9c7329c75ac053b027d5a4 | 0f1510c57ef15588f8fb6e4c444b075d43340887 | /remesher/src/argparser.h | c54e919c05d3a7c7755cc756279ab529cad69e62 | [] | no_license | graphics-rpi/oasis_dependencies | c553ee678ad9ccccb8b223afcc6c9ed4851d43a8 | 384553df4842c1b2868db344c48b1d7e88bfe873 | refs/heads/master | 2021-10-08T13:23:00.351524 | 2018-12-12T16:37:53 | 2018-12-12T16:37:53 | 123,350,193 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,513 | h | #ifndef __ARG_PARSER_H__
#define __ARG_PARSER_H__
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <iostream>
#include <fstream>
#include <cassert>
#include <glui.h>
#include "mtrand.h"
#include "OpenGLProjector.h"
#include "vectors.h"
#include "utils.h"
class ArgParser {
public:
... | [
"sensen.chen7@gmail.com"
] | sensen.chen7@gmail.com |
cbb4ab04908a7f07322ac4f752533d43cb79f21f | 23ba742dbd55d9d2cef68e624f2d23e4fd76e8a3 | /src/saiga/opengl/query/gpuTimer.h | 9d2c587984a72bce5fec1b5579e1a0450d502390 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | darglein/saiga | a4026b86e7397266e5036294a6435d85657f39ee | 7617871a8ccdde58847e4f6871bd527f32652a79 | refs/heads/master | 2023-08-17T03:33:44.387706 | 2023-08-15T14:54:47 | 2023-08-15T14:54:47 | 97,219,629 | 135 | 26 | MIT | 2023-02-13T16:24:21 | 2017-07-14T09:55:50 | C++ | UTF-8 | C++ | false | false | 2,691 | h | /**
* Copyright (c) 2021 Darius Rückert
* Licensed under the MIT License.
* See LICENSE file for more information.
*/
#pragma once
#include "saiga/opengl/query/timeStampQuery.h"
#include "saiga/core/time/timer.h"
namespace Saiga
{
/**
* Asynchronous OpenGL GPU timer.
*
* Meassuers the time of the OpenGL calls ... | [
"darius.rueckert@fau.de"
] | darius.rueckert@fau.de |
3851640744335480fe11d8270aba3309c0511f49 | 6c85b4dfbbfc1600fe0de1f0f6eb12a9c9ba6610 | /Rotation Array.cpp | 3c96195b68d30cb5556e3a1aa1c8f1f63953510e | [] | no_license | royal-sheikh-04/geeksforgeeks-Array- | ce3f4dbc95d56fb57a2aa052f3fcaf10f9829d1f | db22a382617eed02ca2946d9733200a9cacd4460 | refs/heads/main | 2023-02-06T23:53:24.346851 | 2020-12-26T15:45:08 | 2020-12-26T15:45:08 | 324,331,662 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 360 | cpp | #include<iostream>
using namespace std;
void rotate(int arr[], int n)
{
int x = arr[n - 1], i;
for(i = n - 1; i > 0; i--)
arr[i] = arr[i - 1];
arr[0] = x;
}
int main()
{
int arr[] = {1, 2, 3, 4, 5}, i;
int n = sizeof(arr)/sizeof(arr[0]);
rotate(arr, n);
for(i = 0;i < n; i++)
{
... | [
"noreply@github.com"
] | royal-sheikh-04.noreply@github.com |
1ba2b55fd8c2ee56281fe1c91ecdb61a126d6daf | 1d928c3f90d4a0a9a3919a804597aa0a4aab19a3 | /c++/godot/2017/12/global_constants.cpp | b390590cf21c8b0f0bb70493823da8c17c0fae01 | [
"MIT"
] | permissive | rosoareslv/SED99 | d8b2ff5811e7f0ffc59be066a5a0349a92cbb845 | a062c118f12b93172e31e8ca115ce3f871b64461 | refs/heads/main | 2023-02-22T21:59:02.703005 | 2021-01-28T19:40:51 | 2021-01-28T19:40:51 | 306,497,459 | 1 | 1 | null | 2020-11-24T20:56:18 | 2020-10-23T01:18:07 | null | UTF-8 | C++ | false | false | 27,211 | cpp | /*************************************************************************/
/* global_constants.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | [
"rodrigosoaresilva@gmail.com"
] | rodrigosoaresilva@gmail.com |
3bac51bd24c11ba948f935d1f3e2ca9c68612013 | 3f78a9da3eecc6d8e401f1cce37e054a252930bc | /[Client]MH/interface/cIconGridDialog.cpp | a4b1837c37fa8aaf5b6eb5e843b1c19a7ae94883 | [] | no_license | apik1997/Mosiang-Online-Titan-DarkStroy-Azuga-Source-Code | 9055aa319c5371afd1ebd504044160234ddbb418 | 74d6441754efb6da87855ee4916994adb7f838d5 | refs/heads/master | 2020-06-14T07:46:03.383719 | 2019-04-09T00:07:28 | 2019-04-09T00:07:28 | 194,951,315 | 0 | 0 | null | 2019-07-03T00:14:59 | 2019-07-03T00:14:59 | null | UHC | C++ | false | false | 13,520 | cpp | // cIconGridDialog.cpp: implementation of the cIconGridDialog class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "cIconGridDialog.h"
#include "cWindowManager.h"
#include "cIcon.h"
#include "../Input/Mouse.h"
#include "cScriptManager.h"
/////////////////////... | [
"lixeon.lij@gmail.com"
] | lixeon.lij@gmail.com |
76c2f5c166e9f124b914389fbc28537bbf4e3a73 | 5042b6aa6b3d12239e3c9f7ce7f93088f0591cd8 | /lab8/InsertASM/InsertASM/Source.cpp | 9495ca5e689e37a90fab0d86a778c411531a1d51 | [] | no_license | Neroben/Assembler | 02674fc16d285c0ba25bda34d53356941d4933bc | cc4eb0b4c463df6805f53bbd1df4f7bd7e4a290d | refs/heads/master | 2021-03-29T09:20:14.124375 | 2020-03-17T10:34:42 | 2020-03-17T10:34:42 | 247,941,306 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 709 | cpp | #include <iostream>
int* sort(int* a, int start, int end, int* res);
void swap(int* a, int index);
int main() {
int a[10] = { 10,9,8,7,6,5,4,3,2,1 };
int res[10];
sort(a, 0, 9, res);
for (int i = 0; i < 10; i++)
std::cout << res[i] << " ";
}
int* sort(int *a, int start, int end, int *res) {
int index = 0;
fo... | [
"s.dontsow39@gmail.com"
] | s.dontsow39@gmail.com |
8baea03f4f4f5dd692edacf32684d752b69577f4 | 3fbe8a583c440bbe9467cf64bf01ead18903f937 | /plasma-with-examples/ch5/ZR/PotentialSolver.h | 5dac88f8e2b4480c44fcd415f466b2bd42d24098 | [] | no_license | athulpg007/magsail-deorbit | 778de5b019972de0ab8177327bc0bfc0a6765cd4 | e95d88b7da890e55b06dab0ecd31f71654e6e4b3 | refs/heads/main | 2023-03-18T01:59:52.687242 | 2021-02-26T20:06:59 | 2021-02-26T20:06:59 | 341,635,931 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,949 | h | #ifndef _SOLVER_H
#define _SOLVER_H
#include <assert.h>
#include "World.h"
//structure to hold data for a single row
template <int S>
struct Row {
Row() {for (int i=0;i<S;i++) {a[i]=0;col[i]=-1;}}
void operator= (const Row &o) {for (int i=0;i<S;i++) {a[i] = o.a[i];col[i]=o.col[i];}}
double a[S]; //coefficients
i... | [
"athulpg007@gmail.com"
] | athulpg007@gmail.com |
46897dd0b432b2e5c036e366cc49f92116196cdd | 73023c191f3afc1f13b39dffea22b7f65a664f7d | /MatrixEngine/Classes/MCocoStudio/Native/ScriptBind_UICheckBox.cpp | c924a079ce5c9d70a74c60ba05d37e27ad180d71 | [] | no_license | ugsgame/Matrix | 0a2c2abb3be9966c3cf7a4164799ed107c8f2920 | 1311b77bd9a917ec770e428efb9530ee6038617a | refs/heads/master | 2020-09-05T15:45:45.973221 | 2019-11-07T07:20:38 | 2019-11-07T07:20:38 | 220,145,853 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,383 | cpp | //#include "stdneb.h"
#include "cocos2d.h"
#include "cocos-ext.h"
#include "ScriptBind_UICheckBox.h"
USING_NS_CC;
using namespace cocos2d::ui;
class CheckBoxEvent:public CCObject
{
public:
CheckBoxEvent(){}
~CheckBoxEvent(){}
static CheckBoxEvent* Create(IMonoObject* obj)
{
CheckBoxEvent* event = new CheckBox... | [
"670563380@qq.com"
] | 670563380@qq.com |
2f5b5059e1b775cfd0b615c03052af394f4d6a9d | 7f92683ba382a8242597277afb72aa97c40818b3 | /Temp/il2cppOutput/il2cppOutput/AssemblyU2DCSharp_BezierCurve4194209710.h | ae39cf444899b384829a0a5afb1234a6540f44b8 | [] | no_license | pramit46/game-off-2016 | 5833734908123bbfcc1ee41c16a7f33fdc9640cc | e9a98c27e6848d3f2109a952a921643a6a9300c8 | refs/heads/master | 2021-01-11T08:38:36.810368 | 2016-11-28T19:42:15 | 2016-11-28T19:42:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,399 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// BezierPoint[]
struct BezierPointU5BU5D_t1242557692;
#include "UnityEngine_UnityEngine_MonoBehaviour1158329972.h"
#include "UnityEngine_UnityEngine_Color2020392075.h"
#ifdef __cla... | [
"adamstox@gmail.com"
] | adamstox@gmail.com |
754b247a94d09344d83d21ca824268e814ad7d56 | 225e224f2d06bf34d30bb221d3a513527a6d123f | /framework/protocol_buffers/varint.inl | f6eb76667bbd3af7373429fb2a652a472da74222 | [
"MIT"
] | permissive | molw5/framework | 68763ceb6ba52c43262d7084530953d436ef98b9 | 4ebb4ff15cc656f60bd61626a0893c02e5f3bbcd | refs/heads/master | 2021-01-10T21:33:59.970104 | 2013-04-10T23:15:31 | 2013-04-11T00:44:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,183 | inl | // Copyright (C) 2013 iwg molw5
// For conditions of distribution and use, see copyright notice in COPYING
/**
* \file
* \brief Varint mutator.
*
* \copyright
* Copyright © 2013 iwg molw5<br>
* For conditions of distribution and use, see copyright notice in COPYING
*/
namespace framework
{
namespace protocol... | [
"iwg.molw5@gmail.com"
] | iwg.molw5@gmail.com |
3403070d584048fcbac169c13567a56c440e8b11 | 0e5ea03c2455b34a2f416c6c94c1669d7fe26e37 | /_2017_11_28 Kinect 2048/MainTitle.h | cd84b83d43dbbcb8dc18acda8181b611c41ccda5 | [] | no_license | Arroria/__old_project | 8682652fac9a95898b41eff5b4fdfab023cda699 | efb655b2356bd95744ba19093f25ab266a625722 | refs/heads/master | 2020-09-05T08:02:44.806509 | 2019-11-06T18:01:23 | 2019-11-06T18:01:23 | 220,033,980 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 533 | h | #pragma once
#include "BaseScene.h"
class SettingUI;
class GameModeUI;
class MainTitle :
public BaseScene
{
private:
//Render
LPD3DXFONT m_titleFont;
LPD3DXFONT m_menuFont;
RECT_ex m_startPosition;
RECT_ex m_optionPosition;
RECT_ex m_exitPosition;
//Menu
int m_seletedMenu;
GameModeUI* m_gameModeUI;
Settin... | [
"mermerkwon@naver.com"
] | mermerkwon@naver.com |
8fe4653dbede6b394b141a989fb41e36d387455c | c6cff4b194fe2ab1a0d5a3449c6ff361927d198f | /Prog_lab4_z2.cpp | e99f6c30bf794b89c9a067b6591cc2abc22277be | [] | no_license | Sidenko-M-E/MyCRepo | 9850d80527447193140caaa24c28f69986f1cb86 | b1aade165c95ae5f707f565903b0a8ea7f3e4df3 | refs/heads/master | 2023-07-18T12:52:37.529521 | 2021-09-06T10:11:40 | 2021-09-06T10:11:40 | 403,558,002 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,119 | cpp | #define _CRT_SECURE_NO_WARNINGS
#define PI 3.14159265
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <locale.h>
#include <conio.h>
void prt(double x, double y, double e) {
printf("Значение переменной - %lf\n", x);
printf("Значение функции - %lf\n", y);
printf("Значение точности - %lf\n", e);
}
... | [
"matvey.sidenko@mail.ru"
] | matvey.sidenko@mail.ru |
f57b014465c52b8f35f27648dd25253029815f33 | d8fb09c5c748528be73e18456ceb951a45228f03 | /circle_V2/circle_V2.ino | 01dfbeacdd7578532ea065fc1e47c8ddcc986d97 | [] | no_license | noob-master147/Electronics-basics | 382d419ed7a6a399d52d161daf4255e0b4c892b0 | 58fab5bd9032ff43de9d3f41dfd345bc7a6fbfd1 | refs/heads/master | 2020-05-20T23:02:54.431593 | 2020-04-17T18:54:56 | 2020-04-17T18:54:56 | 185,794,264 | 0 | 2 | null | 2019-10-01T08:01:20 | 2019-05-09T12:26:10 | C++ | UTF-8 | C++ | false | false | 895 | ino | #include<Servo.h>
Servo s1;
Servo s2;
Servo s3;
void setup() {
pinMode(8,OUTPUT);
pinMode(9,OUTPUT);
pinMode(10,OUTPUT);
s1.attach(8);
s1.write(90);
s2.attach(9);
s2.write(90);
s3.attach(10);
s3.write(90);
delay(5000);
// s1.write(60);
// s2.write(90);
// s3.write(120);
}
void loop() {
c... | [
"divyanshkhandelwal147@gmail.com"
] | divyanshkhandelwal147@gmail.com |
e5eb340d3c7f87feb4b463d9842388d832df849b | c93f0772d1ed25fc575f989d46ff2cf3427a98c7 | /ImageToolBox/ImageToolBox.cpp | 37a7724bcf80b4d5e9fcd3e9e0f8b47a3ab3b1ed | [] | no_license | datakun/ImageToolBox | 97c315bafc53530636f9a5c7623e7f4ec3a5193a | 1d8e54e0da04fbe7eb1de6e3eedb562010e2db5b | refs/heads/master | 2021-01-22T08:48:43.894931 | 2013-12-11T18:07:34 | 2013-12-11T18:07:34 | 15,259,154 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,124 | cpp |
// ImageToolBox.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "afxwinappex.h"
#include "afxdialogex.h"
#include "ImageToolBox.h"
#include "MainFrm.h"
#include "ChildFrm.h"
#include "ImageToolBoxDoc.h"
#include "ImageToolBoxView.h"
#include "Dib.h"
#ifdef _DEBUG
#define new ... | [
"sigmadream@gmail.com"
] | sigmadream@gmail.com |
a28c451dc0fe8d9733f58b6ac280279146198c83 | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/CodeJamData/12/04/13.cpp | 6920f2b2bda984c5d5d5b1e8c330629e564fbb19 | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 12,232 | cpp | #include <iostream>
#include <fstream>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <string>
#include <vector>
#include <map>
#include <algorithm>
#include <queue>
#include <set>
#define MAXN 40
#define eps 1e-09
using namespace std;
struct coor
{
double x, y, z;
};
int t, h, w, d, sol;
int mei... | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
a8cbf6d6ee407bf25023c108f04880a5b557c48e | 5a119bbe5544c4605f80acab39da9fdce05140b6 | /Test_MetaProgramming/main.cpp | 9acd38e5f13bd3e92308c503eb3511423ddaee19 | [] | no_license | alevya/Test_MetaProgramming | 55dfe9a5fd1a67a02a28fe4f27b9acd8f6b08b34 | 1dd61bb69dbe6b616007902900f5d1428ed24d1b | refs/heads/master | 2021-02-17T19:14:31.330076 | 2020-03-05T13:33:44 | 2020-03-05T13:33:44 | 245,120,776 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 275 | cpp | #include <iostream>
#include "template.h"
using namespace std;
int main()
{
unsigned const n = 5;
// cout << "Input unsigner number:" << endl;
// cin >> n;
const unsigned result = factorial<n>::value;
cout << n << "! = " << result << endl;
return 0;
}
| [
"aleksei.viaznikov@monitoringcnc.ru"
] | aleksei.viaznikov@monitoringcnc.ru |
dce34cd35bcbe13dc27a70a1b5e2a30f81b2fab0 | c03615f53093643e3c1e323b83cbe77970966575 | /PRT/3rdParty/cgal/cgal/include/CGAL/internal/Surface_mesh_deformation/Spokes_and_rims_iterator.h | 3432cca51e1050c3ea859f65c21cdf9f08327fad | [] | no_license | fangguanya/PRT | 0925b28671e756a6e9431fd57149cf2eebc94818 | 77c1b8e5f3a7a149825ad0cc3ef6002816222622 | refs/heads/master | 2021-06-08T20:54:22.954395 | 2016-11-24T07:38:11 | 2016-11-24T07:38:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,120 | h | // Copyright (c) 2014 GeometryFactory
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
// You can redistribute it and/or modify it under the terms of the GNU
// General Public License as published by the Free Software Foundation,
// either version 3 of the License, or (at your option) any l... | [
"succeed.2009@163.com"
] | succeed.2009@163.com |
8ee9e74d5444bd6d758e5cbe898a4d4f5f29e3fa | e63e4d24817724cbb7e5f49543779d351aee0b49 | /test/Socket.cpp | 2f45dc1f9e0bd258f847519cfc7cf910dfe134d1 | [] | no_license | CasperBHansen/DN | 4b14b9aa0c05b69b9bf7e698c9de0f78dfd18e81 | 1262cd66aaacaebdd8f65ddf24c70a9bb59a0a7e | refs/heads/master | 2020-12-25T22:38:02.381377 | 2015-05-27T07:20:09 | 2015-05-27T07:20:09 | 17,723,189 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,650 | cpp | /*
* Datanet
*
* Socket.cpp
*
*/
#include "Socket.h"
#include <iostream>
#include <memory.h>
#include <errno.h>
#include <fcntl.h>
#include <netdb.h>
#include <unistd.h>
#include <arpa/inet.h>
Socket::Socket()
: sock(-1)
{
memset (&addr, 0, sizeof(addr));
sock = socket(AF_INET, SOCK_STREAM, 0... | [
"fvx507@alumni.ku.dk"
] | fvx507@alumni.ku.dk |
eb1d810aacb32bbe84ca28d5290b665d5871f3d3 | 49e022421f4474fd505ec1d01beb8dd470a1f274 | /test.cpp | 96b4151baab118aab26bca7a1e484edb9fdf4c7e | [] | no_license | azure1995/codeforces | 569741eb7c4a167e81d5155fbe1421b62974173f | 358ae4b1db420dac161b6c2d998bc4b00375f03c | refs/heads/master | 2020-05-06T15:36:11.582099 | 2019-05-09T20:35:59 | 2019-05-09T20:35:59 | 180,198,784 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,477 | cpp | #include <bits/stdc++.h>
using namespace std;
// #define what_is(x) cout << #x << " is " << x << "\n";
// #define rep(i, begin, end) \
// for (__typeof(end) i = (begin) - ((begin) > (end)); \
// i != (end) - ((begin) > (end)); i += 1 - 2 * ((begin) > (end)))
// template <typename T>... | [
"gzg19950308@gmail.com"
] | gzg19950308@gmail.com |
be4f2ca6f5608cb3abb386ca697b539977d325a2 | d93159d0784fc489a5066d3ee592e6c9563b228b | /HLTrigger/HLTanalyzers/test/rates/OHltTree.cpp | 04f1032f3693089901e7ae36caa11a61757d3576 | [] | permissive | simonecid/cmssw | 86396e31d41a003a179690f8c322e82e250e33b2 | 2559fdc9545b2c7e337f5113b231025106dd22ab | refs/heads/CAallInOne_81X | 2021-08-15T23:25:02.901905 | 2016-09-13T08:10:20 | 2016-09-13T08:53:42 | 176,462,898 | 0 | 1 | Apache-2.0 | 2019-03-19T08:30:28 | 2019-03-19T08:30:24 | null | UTF-8 | C++ | false | false | 28,089 | cpp | #define OHltTree_cxx
#include "OHltTree.h"
#include <TH2.h>
#include <TStyle.h>
#include <TCanvas.h>
#include <TLeaf.h>
#include <TFormula.h>
#include <TMath.h>
#include <iostream>
#include <iomanip>
#include <string>
using namespace std;
void OHltTree::Loop(vector<int> * iCount, vector<int> * sPureCount, vector<int... | [
"giulio.eulisse@gmail.com"
] | giulio.eulisse@gmail.com |
d1b0adc0f3448adb1aaf0d8fcb97cad505b67dde | c28a6f2c8ce8f986b5c22fd602e7349e68af8f9c | /android/hardware/realtek/hwc/arbiter/ResourceArbiter.h | 90abcf97e4a12e867d86937f70d78719a048002f | [] | no_license | BPI-SINOVOIP/BPI-1296-Android6 | d6ade74367696c644a1b053b308d164ba53d3f8c | 1ba45ab7555440dc3721d6acda3e831e7a3e3ff3 | refs/heads/master | 2023-02-24T18:23:02.110515 | 2019-08-09T04:01:16 | 2019-08-09T04:01:16 | 166,341,197 | 0 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 3,328 | h | #ifndef __RTK_HWC_RESOURCEARBITER_H_
#define __RTK_HWC_RESOURCEARBITER_H_
#include <hwc_utils.h>
#include <utils/Vector.h>
#define DEFAULT_PRIORITY 100
class ResourceArbiter {
public:
class Client {
public:
enum Sort {
V1_Window = 0,
V2_Window,
OSD1_Window,
... | [
"Justin"
] | Justin |
f769226a465190f8fa40af1be3c78661dec65ce5 | 38bfb3adf5c065a52d0e13c84131f04ec44d7c34 | /QiUiSolution/QiUiSolution/QiWidgetGroup.h | 11f959fc713fb14eead09cc3281c25b37d70d1d0 | [] | no_license | zyqifly/QiUi | 4c352a3e5501144a5995349968a78d306b98ec8c | 7d54c1fec7432a34539156d0e88da5e56d4b5e6d | refs/heads/main | 2023-02-22T13:31:46.340291 | 2021-01-21T14:30:42 | 2021-01-21T14:30:42 | 329,620,219 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 343 | h | #ifndef QI_WIDGET_GROUP_H
#define QI_WIDGET_GROUP_H
#include "QiWidgetBase.h"
#include <vector>
namespace QiUi
{
class QiWidgetGroup
{
public:
QiWidgetGroup();
virtual ~QiWidgetGroup();
void Add(QiWidgetBase &widget);
virtual void SetupUi();
protected:
std::vector<QiWidgetBase *> container_;
};
}
#endif ... | [
"zyqifly@hotmail.com"
] | zyqifly@hotmail.com |
382a6d96a4cfd1671830e99ee038d7ad76816332 | 76afd4f03b6067db1459648fa95af72e437bf010 | /OpenGLCourseApp/Shader.h | 06d2a2d8508b084e3f7f73c0c79a0ac3f0d23a91 | [] | no_license | V1aD1/OpenGLCourseApp | ab9d871d17b86480a44061be16bcb20690487def | dc49512ab29031d5cc5ee472fcdb04faad743143 | refs/heads/master | 2020-04-08T17:24:09.493545 | 2019-01-05T11:06:05 | 2019-01-05T11:06:05 | 159,565,071 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,136 | h | #pragma once
#include <stdio.h>
#include <string>
#include <iostream>
#include <fstream>
#include <GL/glew.h>
#include "DirectionalLight.h"
#include "PointLight.h"
#include "SpotLight.h"
#include "CommonValues.h"
class Shader
{
public:
Shader();
void CreateFromString(const char* vertexCode, const char* fragmentC... | [
"vladfriends@yahoo.ca"
] | vladfriends@yahoo.ca |
a74cf6e92ff56bd413af04a8d282731f6db8fede | 1106985164494c361c6ef017189cd6f53f6009d4 | /zzz_Unsorted/FileOperations.cpp | dbb81a131f08655ce7310a95ce53771dae8cb4ad | [] | no_license | SlickHackz/famous-problems-cpp-solutions | b7f0066a03404a20c1a4b483acffda021595c530 | f954b4a8ca856cc749e232bd9d8894a672637ae2 | refs/heads/master | 2022-08-25T23:14:11.975270 | 2022-07-17T22:07:03 | 2022-07-17T22:07:03 | 71,126,427 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 324 | cpp | #include<iostream>
#include<fstream>
using namespace std;
int main()
{
int arr[] = {20,8,-1,-1,22,-1,-1};
int n = sizeof(arr)/sizeof(arr[0]);
// (variable to file)
ofstream fileobj_v2f;
fileobj_v2f.open();
for(int i=0 ; i<=n-1 ; i++)
{
fprintf(fileobj_v2f,"%d",arr[i]);
}
cin.get();
cin.get();
return ... | [
"prasath17101990@gmail.com"
] | prasath17101990@gmail.com |
819d332d128b8a4b57462be9c797abf4f9da50a6 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/git/hunk_6399.cpp | 71a285a10dfd9b832edb0a33c7009a4b1b49a04e | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 345 | cpp | die("Unexpected option --remote");
if (exec)
die("Option --exec can only be used together with --remote");
+ if (output)
+ die("Unexpected option --output");
if (!base)
base = "";
- if (output)
- create_output_file(output);
-
if (list) {
for (i = 0; i < ARRAY_SIZE(archivers); i++)
printf("%s... | [
"993273596@qq.com"
] | 993273596@qq.com |
467cf431b3f0cec171055bf4e3643be8407f7ccd | 64eb45498720afa68aaeaf87a217e5ab8799060e | /src/algorithms/cpp/Divide_Two_Integers.cpp | ec0e53ac3fafe038f0cb82218ec9e2eac63fb2b5 | [] | no_license | brickgao/leetcode | 822be49c19b999684f60052f76faa606c0ab48c2 | c55892c27abcd6f23a86a76e4c42351695470459 | refs/heads/master | 2021-01-21T04:54:22.532153 | 2016-06-01T04:16:24 | 2016-06-01T04:16:24 | 33,587,350 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 949 | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <cstdlib>
#include <algorithm>
#include <vector>
#include <stack>
#include <map>
#include <set>
using namespace std;
#define out(v) cerr << #v << ": " << (v) << endl
#define SZ(v) ((int)(v).size())
const int maxint = -1u>>1;
template <cl... | [
"brickgao@gmail.com"
] | brickgao@gmail.com |
9564787bc5dee8a56b437ecdd0c82ffef430b5b6 | 94d891c5534ade7e5640f13a5454fe22da361d8c | /lib/queue.cpp | 57a483c02e9cb037a9936bcd3f361def104f28b6 | [] | no_license | delins/multitun | e19e52dfcc9bd1956048aacedc324bcb920ef71f | 252e9dd083fcd74b1fb406e0442eb2340fb1de8f | refs/heads/master | 2021-01-01T05:14:13.357833 | 2016-05-24T21:26:48 | 2016-05-24T21:26:48 | 59,524,847 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 46 | cpp | #include "queue.h"
/*
Queue::Queue() {
}
*/ | [
"delins@gmail.com"
] | delins@gmail.com |
54de662816fdf3fffe4af42efc72e7a067e0f976 | 203379e4e4ecea2cdd0b97e2d9b6eae01ca47227 | /ex2_gtest_gmock/mytest.cpp | d417cb428583051b4ad6c59463ed6296fa864e6e | [
"MIT"
] | permissive | 19317362/cmake | 189ef4480de0b20b79e59ad3b161d01136724e42 | 7d79dff8b696d5e07cfd75fe014a321d4975b9ba | refs/heads/master | 2020-03-31T23:42:36.398770 | 2016-08-26T19:09:20 | 2016-08-26T19:09:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 143 | cpp | #include "gmock/gmock.h"
using namespace testing;
TEST(Go, TwoIsEven)
{
std::cout << "here" << std::endl;
ASSERT_THAT(2 % 2, Eq(0));
}
| [
"ajneu@users.noreply.github.com"
] | ajneu@users.noreply.github.com |
a30c50acb5ace0c95d7c35ef695fcf6b5ddbd920 | 5974ad69d9e3d17e3411507c9f9e7cd273b092c5 | /wikioi/1204.cpp | 84a6bb27d61ad4a17ce4c77abb69dfea61b5c531 | [] | no_license | daisygao/OnlineJudge | 4b4bb4105bc67a71e8d1c8a95f5a56c5911f3bd2 | 4a87e7ed8e449649bbc52a2af2fb843096f623c8 | refs/heads/master | 2021-01-18T20:05:14.352157 | 2017-04-06T15:30:50 | 2017-04-06T15:30:50 | 10,666,438 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 331 | cpp | #include <iostream>
#include <string>
using namespace std;
int main() {
string s1, s2;
cin >> s1 >> s2;
int i, j;
for (i = 0; i < s1.length(); i++) {
for (j = 0; j < s2.length(); j++) {
if (s1[i + j] != s2[j]) break;
}
if (j == s2.length()) cout << i + 1;
}
re... | [
"aringao@gmail.com"
] | aringao@gmail.com |
e7afc25c79d78ea75bca19cd7f40895b7ed7a872 | 03c6d91afa813b32aa0c0f5710c8ccc68e5d7c05 | /codeforces 1353 C. Board Moves.cpp | 7ab95c8f18a8441e7f069ea523dba7c2a938ae58 | [] | no_license | DorianBajorek/Codeforces-solutions | 96fe6c54b55681fe030f3e9015367d2176d10daf | d8e936de286342fef7230da2afbc50dd13164c93 | refs/heads/master | 2023-05-29T00:52:16.680588 | 2020-10-05T16:33:52 | 2020-10-05T16:33:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,440 | cpp |
// Problem : C. Board Moves
// Contest : Codeforces - Codeforces Round #642 (Div. 3)
// URL : https://codeforces.com/contest/1353/problem/C
// Memory Limit : 256.000000 MB
// Time Limit : 1000.000000 milisec
// Powered by CP Editor (https://github.com/coder3101/cp-editor)
#include<bits/stdc++.h>
#define ll... | [
"noreply@github.com"
] | DorianBajorek.noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.