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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9645c8ec5d6b68fd454fc4c3345673a4ba5bc0fc | 61b638259032db17c0dd07b068d9cb82a96910e2 | /src/LibunwindWrapper/Main.cpp | 34ce451309c5f8a88ae5cc1a88a49ea233aff8b5 | [
"MIT",
"Apache-2.0"
] | permissive | fractalspace/superdump | 0743160ec989ab28c1a075b63dc5475cd1f78982 | e44c1566cdfca7a3b7ab79c784b65909c4927a29 | refs/heads/master | 2020-03-26T14:36:23.544997 | 2017-06-22T11:05:10 | 2017-06-22T11:05:10 | 144,995,613 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,973 | cpp | #include "LibunwindWrapper.h"
#include "Main.h"
#include <stdio.h>
#include <vector>
using namespace std;
LibunwindWrapper* wrapper;
int main(int argc, char** argv) {
if (argc != 3) {
printf("2 arguments required.\r\n");
return 1;
}
printf("Launching with args %s,%s\r\n", argv[1], argv[2]);
fflush(stdout);
... | [
"dominik.steinbinder@dynatrace.com"
] | dominik.steinbinder@dynatrace.com |
52adc12c677a9521c33e309887bbc1aa56dd3b52 | a97b372638717f8b8d7a0aff1f8ec43a80957d3d | /gtest/template_test.cpp | 912789aa5d5fd7af76a5a6a1673c8067a69cb0fb | [] | no_license | ilya1725/ProjectBits | a5cbcdbccfccbbb639df4276e969075e7685233f | 77722bcb74b1ebbcc8def6668c300c42f600686c | refs/heads/master | 2022-12-23T20:31:29.832771 | 2022-12-22T22:30:57 | 2022-12-22T22:30:57 | 45,317,582 | 0 | 0 | null | 2022-11-10T06:41:41 | 2015-10-31T20:40:57 | C++ | UTF-8 | C++ | false | false | 1,251 | cpp | //
// Google test how to test templated classes
//
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <type_traits>
// The actual class to run the test on
template <std::size_t N>
class Line {
public:
explicit Line(){};
std::size_t length() const {
return length_;
}
private:
sta... | [
"katsnelson@gmail.com"
] | katsnelson@gmail.com |
e35197db6ad5bb2d1627575661f4d6d3118aa4f9 | 8928ba08b866447488eac57a813bbb1550f2d7dd | /src/Utility.cpp | 92d9013320ec2280d48ff20f4206e15096d23c99 | [] | no_license | CJavinal/Alpha | 2696fe5956f510d36a969bcfe9e1a0d19339b11f | 2a520fbad5766c434cbf1d3eda97979e9c148882 | refs/heads/master | 2020-03-21T10:39:34.079110 | 2018-07-01T22:20:03 | 2018-07-01T22:20:03 | 138,463,719 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,080 | cpp | #include "Utility.hpp"
#include <SFML/Graphics/Sprite.hpp>
#include <SFML/Graphics/Text.hpp>
#include <cassert>
#include <cmath>
std::string toString(sf::Keyboard::Key key)
{
#define BOOK_KEYTOSTRING_CASE(KEY) case sf::Keyboard::KEY: return #KEY;
switch (key)
{
BOOK_KEYTOSTRING_CASE(Unknown)
BOOK_KEYTOSTRIN... | [
"CJavinal.1@protonmail.com"
] | CJavinal.1@protonmail.com |
da1492b2a3297317dd850a7e25b7f9b084b3b8bd | 5e8d200078e64b97e3bbd1e61f83cb5bae99ab6e | /main/source/src/protocols/simple_moves/UniformPositionMover.hh | 92e4187a34bc1967c67200111af34b4694fd2b9a | [] | no_license | MedicaicloudLink/Rosetta | 3ee2d79d48b31bd8ca898036ad32fe910c9a7a28 | 01affdf77abb773ed375b83cdbbf58439edd8719 | refs/heads/master | 2020-12-07T17:52:01.350906 | 2020-01-10T08:24:09 | 2020-01-10T08:24:09 | 232,757,729 | 2 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 3,993 | hh | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"36790013+MedicaicloudLink@users.noreply.github.com"
] | 36790013+MedicaicloudLink@users.noreply.github.com |
36d2e1500a094f17880a5bfceb35ef6530dc0abb | 3bbfb653b7f13a0b4d130d4e10362f353196504d | /camOdoCalib/src/egsl/egsl_ops.cpp | 6d8c20ff1876b947f73d6d9d8676bfff2abc203e | [] | no_license | guanyinsama/odom_lidar_calibration | 0a5286cff92074bc2eab286677a1a7e044f77e7a | 1e131934cd695fbf756da676687094bc1aaafd0e | refs/heads/main | 2023-07-13T05:41:37.481208 | 2021-08-24T05:39:49 | 2021-08-24T05:39:49 | 399,347,799 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,182 | cpp | //#include <gsl/gsl_matrix.h>
//#include <gsl/gsl_blas.h>
//#include <gsl/gsl_linalg.h>
//#include <gsl/gsl_eigen.h>
#include "egsl/egsl.h"
val egsl_sub(val v1,val v2){
return egsl_sum(v1, egsl_scale(-1.0,v2));
}
val egsl_compose_col(val v1, val v2){
gsl_matrix *m1 = egsl_gslm(v1);
gsl_matrix *m2 = egsl_gslm(v2... | [
"yjyyanw@sunnyoptical.com"
] | yjyyanw@sunnyoptical.com |
5b3b39a80368b993754bc6a39483ac10869e38b8 | 1abd81b2612f0d5c428a90dcfd78e21603529784 | /hackerrank-minimum-penalty-path/main.cpp | 76087382588915289b5117ce0123c2657a48cb1f | [] | no_license | younghyunjo/problem-solving | 1b5a1b663ec60b8156ee6419b399e813e1b9d690 | 9f400816cd4ad21d5c2f6563f21821d43bf95738 | refs/heads/master | 2021-01-25T07:54:31.763546 | 2019-01-31T00:44:08 | 2019-01-31T00:44:08 | 93,679,631 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,391 | cpp |
#include <bits/stdc++.h>
using namespace std;
#define MAX_COST 1024
int minimalPenalty(vector<pair<int, int>>* edges, int from, int to) {
bool visited[1001][MAX_COST];
memset(visited, false, sizeof(visited));
queue<pair<int, int>> bfsQueue;
bfsQueue.push(make_pair(from, 0));
while (!bfsQueue.e... | [
"younghyunjo99@gmail.com"
] | younghyunjo99@gmail.com |
784a92e29bd6f82570b7389cbefca8e9c6291c58 | 5950c4973a1862d2b67e072deeea8f4188d23d97 | /Export/macos/obj/src/lime/_internal/backend/native/NativeCFFI.cpp | 69d449c4ab665329b101e5eef41d3c0249d16d66 | [
"MIT"
] | permissive | TrilateralX/TrilateralLimeTriangle | b3cc0283cd3745b57ccc9131fcc9b81427414718 | 219d8e54fc3861dc1ffeb3da25da6eda349847c1 | refs/heads/master | 2022-10-26T11:51:28.578254 | 2020-06-16T12:32:35 | 2020-06-16T12:32:35 | 272,572,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 1,339,642 | cpp | // Generated by Haxe 4.2.0-rc.1+cb30bd580
#include <hxcpp.h>
#ifndef INCLUDED_cpp_Prime
#include <cpp/Prime.h>
#endif
#ifndef INCLUDED_lime__internal_backend_native_NativeCFFI
#include <lime/_internal/backend/native/NativeCFFI.h>
#endif
HX_LOCAL_STACK_FRAME(_hx_pos_02b9537fa9419772_354_boot,"lime._internal.backend.na... | [
"none"
] | none |
4182fdef700ef14b8bb88f46c6af54a62cbf4991 | 884d8fd8d4e2bc5a71852de7131a7a6476bf9c48 | /grid-test/export/macos/obj/include/lime/media/openal/_ALBuffer/ALBuffer_Impl_.h | 2f348aff495308cdedda44d46eb624602cf6fe2d | [
"Apache-2.0"
] | permissive | VehpuS/learning-haxe-and-haxeflixel | 69655276f504748347decfea66b91a117a722f6c | cb18c074720656797beed7333eeaced2cf323337 | refs/heads/main | 2023-02-16T07:45:59.795832 | 2021-01-07T03:01:46 | 2021-01-07T03:01:46 | 324,458,421 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 2,107 | h | // Generated by Haxe 4.1.4
#ifndef INCLUDED_lime_media_openal__ALBuffer_ALBuffer_Impl_
#define INCLUDED_lime_media_openal__ALBuffer_ALBuffer_Impl_
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS4(lime,media,openal,_ALBuffer,ALBuffer_Impl_)
namespace lime{
namespace media{
namespace openal{
namespace _ALBu... | [
"vehpus@gmail.com"
] | vehpus@gmail.com |
c1cf7984f64e984f30cb9feda9b202a2765f95e2 | 9a48be80edc7692df4918c0222a1640545384dbb | /Libraries/Boost1.40/tools/inspect/unnamed_namespace_check.cpp | 149bb0c654b05c768fd33b3e3508a2886fd7780b | [
"BSL-1.0"
] | permissive | fcrick/RepSnapper | 05e4fb1157f634acad575fffa2029f7f655b7940 | a5809843f37b7162f19765e852b968648b33b694 | refs/heads/master | 2021-01-17T21:42:29.537504 | 2010-06-07T05:38:05 | 2010-06-07T05:38:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,751 | cpp | // unnamed_namespace_check -----------------------------------------//
// Copyright Gennaro Prota 2006.
//
// 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.txt)
#include "boost/regex.hpp"
#include "boos... | [
"metrix@Blended.(none)"
] | metrix@Blended.(none) |
9af3fdb3b0efea2d9ff7d30b0d26ca497cbf0730 | b4db7259ae8c997f20ab5fd6c0dde3f1c156a041 | /src/test/merkle_tests.cpp | 17be56fca9d949ae0a7e30666574d5ffcfb3d032 | [
"MIT"
] | permissive | sparkscrypto/Sparks | 070a74a1ad7388857b9c98f023bdce4a99c3ab6d | 2c807e4a53662b55413e0d9d4c7d12dec6e7b331 | refs/heads/master | 2021-09-16T10:49:22.182869 | 2018-02-27T13:12:14 | 2018-02-27T13:12:14 | 114,945,575 | 14 | 16 | MIT | 2018-06-19T17:50:23 | 2017-12-21T00:55:13 | C++ | UTF-8 | C++ | false | false | 5,910 | cpp | // Copyright (c) 2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "consensus/merkle.h"
#include "test/test_Sparks.h"
#include "random.h"
#include <boost/test/unit_test.hpp>
BOOST_FIXTUR... | [
"xoma200288@mail.ru"
] | xoma200288@mail.ru |
a9a9600f327e4eb63537fd64c5a89dc86651c259 | 2083070b7799082a084e3094e386de8d29dbfe27 | /compil/src/generator/cpp/format/method.h | deeb9643354a4ff038683ec153672e92dd8167f8 | [] | no_license | ggeorgiev/compil | 939a8320ad14e0d4d6fd86ce9b29c57bd3f068b0 | 42b91209c65a11a935b81a64cb15337c9501baa4 | refs/heads/master | 2021-01-10T21:01:24.235578 | 2014-06-29T02:47:17 | 2014-06-29T02:47:17 | 2,500,018 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,263 | h | // CompIL - Component Interface Language
// Copyright 2011 George Georgiev. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copy... | [
"george.georgiev@hotmail.com"
] | george.georgiev@hotmail.com |
8c0eadfc160f0f0614ea25f533f60b369908f92f | 03dab1de4229596fb7dd5eb530dd5ee986f7ef64 | /obstacleavoider.ino | 66fcdf728b03ce1ea33a76dbb1424494e965e0c7 | [] | no_license | Thebackyardelectricks/obstacle-avoider | c3d6cb45d4a9a44b1cfb741a2008095542c3791c | 9cffb30d579db42e191aa27f2fda77b12da57c92 | refs/heads/main | 2023-01-01T23:49:34.434216 | 2020-10-17T06:15:37 | 2020-10-17T06:15:37 | 304,811,029 | 0 | 0 | null | 2020-10-17T06:16:04 | 2020-10-17T06:16:04 | null | UTF-8 | C++ | false | false | 2,135 | ino | int trigPin = 5; // trig pin of HC-SR04
int echoPin = 4; // Echo pin of HC-SR04
int LMP1 = 8; //REVerse motion of Left motor
int LMN2 = 9; //ForWarD motion of Left motor
int RMP3 = 10; //REVerse motion of Right motor
int RMN4 = 11; //ForWarD motion of Right motor
long duration, distance... | [
"noreply@github.com"
] | Thebackyardelectricks.noreply@github.com |
07ebf48b2e00e150a1add18ff739aeb64718fa0b | f986f173065c6a8bdd7f61d6ce25101553570499 | /matrices_stream.h | 44736f15f6741dea928260c277f4fdd58d7162ae | [] | no_license | jfbaer/MinimalResolution | fe6f4d14999ab22cf2a070260e07cfce8e4449e4 | 3006529b9c4cad41715bf46ff749263c60441889 | refs/heads/master | 2023-04-23T10:39:30.426695 | 2020-06-17T02:22:06 | 2020-06-17T02:22:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,132 | h | //matrices_stream.h
#pragma once
#include"matrices.h"
#include"matrices_mem.h"
#include"streams.h"
//matrix stored in streams
template<typename ring>
class matrix_stream : public matrix<ring>{
//the data for a matrix, consisting of a stream and an array of positions
con_streams *datas;
std::vector<std::ios::streamp... | [
"noreply@github.com"
] | jfbaer.noreply@github.com |
c6df620c8353d0682e6b1560d6723d8134cbeb6a | 1ad6afd3a08c5487701038af3ad4511420d7d410 | /llvm/tools/clang/tools/extra/clangd/Protocol.cpp | 566104ba25847f8eaf0e3328e72986d5ff550a7d | [
"NCSA"
] | permissive | geekwish/Bitype | a12a42337d74328f2559513c2b1f3bee4549a63d | 4b9605b6ba4d09efcdc97982ccd8b36e48d253cd | refs/heads/master | 2020-08-19T12:35:44.141934 | 2018-12-23T04:53:26 | 2018-12-23T04:53:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,125 | cpp | //===--- Protocol.cpp - Language Server Protocol Implementation -----------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"1131252124@qq.com"
] | 1131252124@qq.com |
2d3f24179696e896f898d33d0fd594d04cdba742 | ed1343271e50e9feeefffebde8fe0d49c1de13e0 | /GL/src/picopng.h | 46e86d724194f6ae9b16f3c220449ad8c9b29b5d | [] | no_license | alxklk/OGLBase | 7bad233017c905826ce008af1db18663ac05040e | d0605c02f8d3742828491e2854a2ac707868649e | refs/heads/master | 2021-01-10T14:28:50.658502 | 2015-10-17T13:47:33 | 2015-10-17T13:47:33 | 43,898,260 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,068 | h | #include <stddef.h>
namespace ppng
{
template <typename T>struct iter
{
int pos;
iter(int i=-1) :pos(i) {};
};
template <typename T> class varray
{
T dummy;
T* buf;
unsigned int sz;
unsigned int cap;
public:
~varray()
{
delete[] buf;
}
varray()
{
cap=1024;
buf=new T[cap];
sz=0;... | [
"Cinemafarm115%"
] | Cinemafarm115% |
2ab060697f3617755fa1c41870b10b6fa15003d2 | c80bd757f18735452eef1f0f7cd7bd305d4313c7 | /src/Modules/Legacy/Fields/GenerateElectrode.cc | 099b2e92437dbf760090d06908b63b96c10a918d | [
"MIT"
] | permissive | kenlouie/SCIRunGUIPrototype | 956449f4b4ce3ed76ccc1fa23a6656f084c3a9b1 | 062ff605839b076177c4e50f08cf36d83a6a9220 | refs/heads/master | 2020-12-25T03:11:44.510875 | 2013-10-01T05:51:39 | 2013-10-01T05:51:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,560 | cc | /*
* The MIT License
*
* Copyright (c) 2008 Scientific Computing and Imaging Institute,
* 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 restricti... | [
"dwhite@sci.utah.edu"
] | dwhite@sci.utah.edu |
67ff65785a422d7b33edf16847ec83efa8b6a271 | cc2e0a28135cab239998266a9a62e37f5256aa62 | /GraveYard/EventVertex.cc | a2b0bc77d310e84db859f98de8fc677238dd2602 | [] | no_license | AndrewShultz/AraReco | 32e1ecf27686cc717813631a06eba755de89f9f5 | 44b1cd7e6508b731da73b24ce9e13bba42146e18 | refs/heads/master | 2021-01-22T04:15:20.763997 | 2017-05-10T15:27:15 | 2017-05-10T15:27:15 | 92,447,894 | 0 | 0 | null | 2017-05-25T21:59:22 | 2017-05-25T21:59:22 | null | UTF-8 | C++ | false | false | 8,181 | cc | #include "EventVertex.h"
ClassImp(EventVertex);
int EventVertex::debug_bit=0;
EventVertex::EventVertex() : VertexPos() {
initialize();
}
EventVertex::EventVertex(ChannelCollection channels, OpticalIce *ice) : VertexPos() {
initialize();
_channels=channels;
_ice=ice;
}
EventVertex::EventVertex(... | [
"ikrav@cobalt05.icecube.wisc.edu"
] | ikrav@cobalt05.icecube.wisc.edu |
c89eab74b945791f9fea8aaf012cd544827fcdac | c6b483cc2d7bc9eb6dc5c08ae92aa55ff9b3a994 | /hazelcast/generated-sources/include/hazelcast/client/protocol/codec/RingbufferReadManyCodec.h | 3e240fefe6d3609e737bddc012caacd62c8e59e3 | [
"Apache-2.0"
] | permissive | oguzdemir/hazelcast-cpp-client | ebffc7137a3a14b9fc5d96e1a1b0eac8aac1e60f | 95c4687634a8ac4886d0a9b9b4c17622225261f0 | refs/heads/master | 2021-01-21T02:53:05.197319 | 2016-08-24T21:08:14 | 2016-08-24T21:08:14 | 63,674,978 | 0 | 0 | null | 2016-07-19T08:16:24 | 2016-07-19T08:16:23 | null | UTF-8 | C++ | false | false | 4,166 | h | /*
* Copyright (c) 2008-2015, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | [
"ihsan@hazelcast.com"
] | ihsan@hazelcast.com |
8dfa4371823853037b420a768e3d4c1001efbc07 | 23e393f8c385a4e0f8f3d4b9e2d80f98657f4e1f | /Win32 Programming/SynchronizationExplorer/PANEL.H | aefa861ed9c21a4843df335ca7ee9eabf6b7ae25 | [] | no_license | IgorYunusov/Mega-collection-cpp-1 | c7c09e3c76395bcbf95a304db6462a315db921ba | 42d07f16a379a8093b6ddc15675bf777eb10d480 | refs/heads/master | 2020-03-24T10:20:15.783034 | 2018-06-12T13:19:05 | 2018-06-12T13:19:05 | 142,653,486 | 3 | 1 | null | 2018-07-28T06:36:35 | 2018-07-28T06:36:35 | null | UTF-8 | C++ | false | false | 1,813 | h | // Panel.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CPanel form view
#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
class CPanel : public CFormView
{
protected:
CPanel(); // protected constructor used by dynamic creation
... | [
"wyrover@gmail.com"
] | wyrover@gmail.com |
8e5b68b32fc9e3ee2ce84447b3071e990d09ec45 | ec01845dc903df85fc8f8ecd2de6dfd6f369201c | /QtC/EDS/Collection.h | 2956cfac6b729a8043292e78c0cb7daf33f25b55 | [
"MIT"
] | permissive | jotahtin/qtc-sdk-cpp | e95f5bf4725b9a5b87f8127422c235de52f482e5 | 38100db42a15cd843e387dd146df54f33baa68e8 | refs/heads/master | 2020-05-16T20:24:01.506833 | 2014-04-10T12:57:59 | 2014-04-10T12:57:59 | 18,401,099 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,393 | h | /* -*- mode:c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
** File: QtC/EDS/Collection.h
** Copyright: Copyright (c) 2014, Digia Plc. All rights reserved.
** All other trademarks are the property of their respective owners.
** Comment: Engin.IO Data Storage Collection
** Author(s)... | [
"Jorma Tähtinen"
] | Jorma Tähtinen |
7c7742f9ea1dd4da4f1c4fa3cb52a084d9511c20 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/curl/gumtree/curl_old_log_13621.cpp | 14cc0c98d2c3f14428445da8fab1d413e6e503e5 | [] | 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 | 507 | cpp | fputs(
" rection. This option is meaningful only when using -L, --loca-\n"
" tion (Added in 7.26.0)\n"
"\n"
" --proto <protocols>\n"
" Tells curl to use the listed protocols for its initial\n"
" retrieval. Protocols are evaluated left to right, are c... | [
"993273596@qq.com"
] | 993273596@qq.com |
1e82e8860f5efb98f6297e803a640b45aa93fdfc | 4d92d83c6f13c1727b458c5aa7fcf55bc70b8e49 | /Source/ui_win32/HleRendererSettingsWnd.cpp | d656849a4d2908d68e69868eda563ac477784592 | [] | no_license | bigianb/hle_play | c970d4eac92d039a47f9adb71b0687f3fcca2c00 | c7a476a459faaff852eb3434be2a50027c5701f2 | refs/heads/master | 2021-07-11T11:04:00.240700 | 2021-04-20T22:18:40 | 2021-04-20T22:18:40 | 43,740,158 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,577 | cpp | #include "PtrMacro.h"
#include "HleRendererSettingsWnd.h"
#include "layout/HorizontalLayout.h"
#include "layout/LayoutStretch.h"
#include "win32/LayoutWindow.h"
#include "win32/Static.h"
#include "AppConfig.h"
#define CLSNAME _T("HleRendererSettingsWnd")
#define WNDSTYLE (WS_CAPTION | WS_POPUP | WS_CLIPSIBLINGS | W... | [
"bigianb@gmail.com"
] | bigianb@gmail.com |
d2144f665126fcfd774ad70ee43a87bc3eb8b46b | 96cb8fc3f97c7f1db554fa7184ca1ec4c107a22c | /dataobjects/MapLayout.cpp | e5b0c67a3d1831110271491160213eefd988f5a2 | [
"BSD-2-Clause"
] | permissive | Zackmon/SeventhUmbral | f8493a4ae62f6fe10e656d49b999dd3fb63582be | 25580111b361d2fdc2c15fd2cd150e4c763ca774 | refs/heads/master | 2022-01-11T12:43:26.081530 | 2021-12-23T17:01:28 | 2021-12-23T17:01:28 | 439,861,352 | 0 | 0 | NOASSERTION | 2021-12-19T12:46:13 | 2021-12-19T12:46:12 | null | UTF-8 | C++ | false | false | 6,821 | cpp | #include <vector>
#include <algorithm>
#include <map>
#include "MapLayout.h"
//#define _TRACE_TREE
#ifdef _TRACE_TREE
#include <Windows.h>
#include "string_format.h"
#endif
struct UNK1
{
uint32 offset1;
uint32 offset2;
uint32 someFlags1;
uint32 someFlags2;
};
CMapLayout::CMapLayout()
{
}... | [
"jpd002@b2dc461f-b7ed-4520-8422-8e9c2511a46d"
] | jpd002@b2dc461f-b7ed-4520-8422-8e9c2511a46d |
24ab1c8971050bcddefff0699952e510192923f9 | a47faf594ae2b3cf55793ce7ed40a3d4292496bf | /src/monster.cpp | 3fe44b933452563c93921e230a5d1da24797bddb | [] | no_license | Peperone97/SDL2_dungeon_board | 3d31781d8baa325522010838c59fc7a6b5804c5b | 6c99406156495254ad20a643f456bcaa8bd4021b | refs/heads/main | 2023-05-01T04:41:04.057269 | 2021-05-25T18:34:28 | 2021-05-25T18:34:28 | 360,428,221 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 738 | cpp | #include "monster.h"
Monster::Monster(int x, int y, int dim, SDL_Renderer* renderer) : Entity("img/sprites.png", renderer) {
tile = (SDL_Rect*)malloc( sizeof(SDL_Rect) * 2 );
tile[0].x = 0;
tile[0].y = 39;
tile[0].w = 49;
tile[0].h = 46;
//
tile[1].x = 49;
tile[1].y = 39;
tile[1].w = 43;
tile[1... | [
"noreply@github.com"
] | Peperone97.noreply@github.com |
498e5eea904bca591f2a0debab916ef4e50cb009 | 558ee3aa7f340667f69942dd4e67465d0b7849b4 | /OpenGL tutorial (Cherno)/src/VertexBufferLayout.h | 1fe35f04e72dfad2a85d628db775e5f9d438886d | [] | no_license | braedynkenzie/OpenGL-Sandbox | a7c57bfaada9ba5acb8984f4bc13ef68e1db2704 | 43a5ce6dfc164af61b97800929170526db7eb437 | refs/heads/master | 2023-03-09T04:46:12.962538 | 2021-02-20T01:39:39 | 2021-02-20T01:39:39 | 271,402,240 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,574 | h | #pragma once
#include <vector>
#include <GL\glew.h>
#include "Renderer.h"
struct VertexBufferElement
{
unsigned int type;
unsigned int count;
unsigned char isNormalized;
static unsigned int GetSizeOfType(unsigned int type)
{
switch (type)
{
case GL_FLOAT: return 4;
case GL_UNSIGNED_INT: return 4;
... | [
"braedyn26@gmail.com"
] | braedyn26@gmail.com |
dfdea71dcb814d1e898604a7cc72357fd50beddf | 32da723b5c759c98845249bb51332109014b4f62 | /C++OOP.cpp/PracticalProjects/Bank - VisualStudio Solution/Bank/Bank/BankAccount.h | 89fe870bbd461e64a555174ca36b403d224f395a | [] | no_license | IliyanKafedzhiev/FacultyOfMathematicAndInformatic | b8a810ca1100cc0f39c1460f60eb014e4c0b5ffc | a2b05a9aa7e677609447c0311ee79552464434ce | refs/heads/master | 2020-07-06T04:19:30.531000 | 2015-03-02T21:54:42 | 2015-03-02T21:54:42 | 18,809,355 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 690 | h | class BankAccount
{
private:
char* ownerName;
char IBAN[14];
double balance;
public:
/*
BankAccount();
BankAccount(const char* ownerName, const char* IBAN);
BankAccount(const char* ownerName, const char* IBAN, double balance);
*/
BankAccount(cons... | [
"iliqnkafedjiev@gmial.com"
] | iliqnkafedjiev@gmial.com |
5b6313b9708e0169bd8d97c6ff116db6c4946ce8 | fdb63531719c0bf9e4c4593bf7e55ffc0936a93e | /18. Dynamic Programming/38. True Boolean Parenthesization Memoization M-2 Optimization.cpp | 7f6f90314d491b926e89ecde2e4e0f7ba44bb16c | [] | no_license | ashishmohapatra2703/DSA-practice-questions | aec9ca4aa4e619dd5f754088f87fdf142f4049a5 | 791f84fa01fb3156cb0e77da09428eb0b38649d8 | refs/heads/master | 2023-08-16T05:54:33.627700 | 2021-10-17T17:26:28 | 2021-10-17T17:26:28 | 367,565,132 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,350 | cpp | // better use 3D Matrix cuz we don't have to iteratively search in matrix as we are doing with Map.
// Optimization -> memoize at every call in the k loop too
// (For worst of edge cases) In the base condition i==j ,store value 0/1 (T/F)depending on outcome in you dp matrix & then return.
////////Passed in GFG
#includ... | [
"ashishmohapatra2000@gmail.com"
] | ashishmohapatra2000@gmail.com |
3f8c7f5e469de2141747f5f4c52f31b32b4c9c53 | ed11fa2af9ee9832f224515a9ad86c6e54588f26 | /wallet/qt/ntp1/ntp1tokenlistmodel.h | cd12b437d3a94a13eb60348933949e01821e43bb | [
"MIT"
] | permissive | HUSKI3/Neblio-Node | f4fc48917dfc1e27d28fcdabea414af5a4737589 | 9bc65b2b2c90f52baf05182aaaeb0260a410a712 | refs/heads/master | 2023-01-03T03:38:36.171390 | 2020-10-29T20:36:17 | 2020-10-29T20:36:17 | 308,339,643 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,844 | h | #ifndef NTP1TOKENLISTMODEL_H
#define NTP1TOKENLISTMODEL_H
#include <QAbstractTableModel>
#include <QTimer>
#include <atomic>
#include "init.h"
#include "ntp1/ntp1wallet.h"
#include "wallet.h"
class NTP1TokenListModel : public QAbstractTableModel
{
Q_OBJECT
boost::shared_ptr<NTP1Wallet> ntp1wallet;
bool ... | [
"info@afach.de"
] | info@afach.de |
15cb15a5fdff6e9aac049767ee6980f5d9080289 | c2114f2406eaed8d9ebb35665386eccfcdcc16ed | /assignment2.cpp | d9862f277717b93466eba68390ea8317c9218464 | [] | no_license | bombshot/oops_codes | ddc0ce66621a6995d4726692bebf11c81fa4beef | 3a0b33497487231120bb3f79128eea0682e1992c | refs/heads/master | 2021-01-16T23:09:04.039781 | 2016-10-26T13:30:41 | 2016-10-26T13:30:41 | 72,005,917 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,546 | cpp | /*
implement a class complex which represent the complex no datatype .implement the following operatons
1.constructor including a default constructor which create 0+0i
2.overload operator +
3.overload operator *
4.overload insertion and extraction operator to read and output complex no;
*/
#include<iostream>
usin... | [
"noreply@github.com"
] | bombshot.noreply@github.com |
0dd8e45d6919601c76a7bbeb28b6b8021d8810e1 | 666e2ff7aa1a4bcf3592331062ce774373fe6fa6 | /sip/sip_dialog_management.cpp | bcbe501b848015b389f295c710ee33419b687b1e | [] | no_license | asyr625/mini_sip | aeffd6e5ea1dafafa817b1137859b41351fe9580 | 12ea4b9a03585b5c7e5b5faeeed0a5bc6a9c19cc | refs/heads/master | 2021-01-20T12:06:33.212419 | 2015-11-24T02:33:26 | 2015-11-24T02:33:26 | 46,761,914 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 29,437 | cpp | #include <iostream>
#include "sip_dialog_management.h"
#include "sip_command_string.h"
#include "sip_transition_utils.h"
#define SHUTDOWN_CALLS_TIMEOUT 3000
#define SHUTDOWN_DEREGISTER_TIMEOUT 3000
bool Sip_Dialog_Management::a0_start_startShutdown_startShutdown( const Sip_SMCommand &command)
{
if (transition_m... | [
"619695356@qq.com"
] | 619695356@qq.com |
1a17628b6f397ee41a398115d763bc01503483f7 | 0423795c72506eb5cd8ba5226948a9c8c303b008 | /Game Theory/Kitty and Katty.cpp | ea51918bb8c8a13a8177b3aebea09e812891e051 | [
"MIT"
] | permissive | StavrosChryselis/hackerrank | e46f45030afd899c3134d87455905808f48d4b7e | 42a3e393231e237a99a9e54522ce3ec954bf614f | refs/heads/master | 2021-01-17T14:33:07.184340 | 2019-11-10T16:32:16 | 2019-11-10T16:32:16 | 84,091,015 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 801 | cpp | /*
****************************************************************
****************************************************************
-> Coded by Stavros Chryselis
-> Visit my github for more solved problems over multiple sites
-> https://github.com/StavrosChryselis
-> Feel free to email me at stavrikios@gm... | [
"noreply@github.com"
] | StavrosChryselis.noreply@github.com |
c1c4d658042c7fba5c20c51e0092b2df131e820e | 41a76318e5b9eef2c69bbf922724f8b191d7d124 | /kokkos-kernels/src/impl/generated_specializations_cpp/spiluk_symbolic/KokkosSparse_spiluk_symbolic_eti_spec_inst_flt_int_int64_t_LayoutLeft_Threads_HostSpace.cpp | 53725c261abdb8765797bd3045ba86879f6a4600 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | zishengye/compadre | d0ff10deca224284e7e153371a738e053e66012a | 75b738a6a613c89e3c3232cbf7b2589a6b28d0a3 | refs/heads/master | 2021-06-25T06:16:38.327543 | 2021-04-02T02:08:48 | 2021-04-02T02:08:48 | 223,650,267 | 0 | 0 | NOASSERTION | 2019-11-23T20:41:03 | 2019-11-23T20:41:02 | null | UTF-8 | C++ | false | false | 2,615 | cpp | /*
//@HEADER
// ************************************************************************
//
// KokkosKernels 0.9: Linear Algebra and Graph Kernels
// Copyright 2017 Sandia Corporation
//
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
// the U.S. Government retain... | [
"pkuberry@gmail.com"
] | pkuberry@gmail.com |
9b65e9b843f5a63c9e5fbdcf1b13c3fe6f5b5d35 | 59198b35100e4bac4e53aa1773350aa2e951c014 | /Sqlite3DbEngine/DispatchModuleCenter/AccountMgr.cpp | 0ffba4aaa9e3a49504a8eb5dca4dfcc423fcd9d4 | [] | no_license | 15831944/Sqlite3DbEngine | 172e25798c2fc5ee7771f2a81402683d50411205 | 0d5cbd596c18bcac62707165c5f8b80c89a1b677 | refs/heads/master | 2022-03-19T23:10:34.223118 | 2017-10-29T13:08:33 | 2017-10-29T13:08:33 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 112,883 | cpp | // AccountMgr.cpp : CAccountMgr 的实现
#include "stdafx.h"
#include "AccountMgr.h"
#include "SKFHelper.h"
#include "SqliteHelper.h"
#include "openssl/aes.h"
#define TDHXKJ_ACCOUNTSTATUS_LOCK 1
// CAccountMgr
CString CAccountMgr::CreateTable(CComPtr <ISafeService>& spiSafeService)
{
CString strAdminPW;
if(NULL == spiS... | [
"xzm.sakawa@gmail.com"
] | xzm.sakawa@gmail.com |
3a26a033880230fff6cc67b745ba04b62dbb5f83 | 612ab12f872fd7ba2831b3e782ce6c4318ee025b | /practise.cpp | c558fbc7c1fff63aee5418e6a45176ab1190603e | [] | no_license | preetisahani16/CPP-Practice | 362ec7b7689a7f17db9a704900b70d547dd3bec0 | b0ff8aa7439e603ab379f33b5b8f0a5bb09c365c | refs/heads/master | 2023-01-14T02:50:49.433273 | 2020-11-21T14:21:45 | 2020-11-21T14:21:45 | 314,828,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 302 | cpp | #include<iostream>
using namespace std;
class Area
{
public:
void area(int l)
{
cout<<"area of square"<<l*l<<endl;
}
void area(int l ,int b)
{
cout<<"area of rectangle "<<l*b<< endl;
}
};
int main()
{
Area obj;
obj.area(1);
obj.area(2,3);
return 0;
}
| [
"noreply@github.com"
] | preetisahani16.noreply@github.com |
da2f3675aa862fe97859342a1d7557897b654f63 | c88512967628dffb32ba28912480c9fb5344d143 | /_sources/SimpleMC2.cpp | 14137e24d615eee8e4bbe89fe18a652ca4642217 | [] | no_license | cycbill/Cpp_Design_Patterns_and_Derivatives_Pricing | fd31a6cb645588de51eb4516316331526451401c | c44df0e5791b7eb3ea53a3cb7fb3fc7f380d6953 | refs/heads/master | 2020-07-13T07:42:11.233552 | 2019-10-03T01:48:48 | 2019-10-03T01:48:48 | 205,035,734 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 770 | cpp | #include "../_headers/SimpleMC2.h"
#include "../_headers/Random1.h"
#include <cmath>
double SimpleMonteCarlo2(const PayOff& thePayOff,
double Expiry,
double Spot,
double Vol,
double r,
unsigned long NumberOfPaths)
{
double variance = Vol * Vol * Expiry;
double rootVariance = sqrt(variance);
double itoCorrectio... | [
"cuiyechang1991@gmail.com"
] | cuiyechang1991@gmail.com |
3b70a8943850cc572c7958ef148e96defccb129e | e241ab77ec8f6194a7166331657c0bc807da3a42 | /Day11/part1/main.cpp | 795be817fe34664c6a58aae8df721faa9469d7da | [] | no_license | bznein/AoC2018 | 1c6760cee7d2bbcf4aef5507784aed2ab4f3de3b | 10fb30900524796ea0c47cedc38d811a49f6356a | refs/heads/master | 2020-04-08T23:29:13.161000 | 2019-07-24T21:07:26 | 2019-07-24T21:07:26 | 159,826,851 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,355 | cpp | #include <utility>
#include <vector>
#include <iostream>
#include <map>
#include <limits>
using namespace std;
using coords=pair<int,int>;
const int GRID_SERIAL_NUMBER=5177;
const int SQUARE_SIZE=3;
const int GRID_SIZE=300;
int getRackId(coords c)
{
return c.first+10;
}
int getPowerLevel(coords c)
{
int base=... | [
"nikolas.degiorgis@iit.it"
] | nikolas.degiorgis@iit.it |
e2b9b0876ab92b3ec5bd13c43e51d41f3d19212d | 3376d4b197f2bceff1320ca70081bfdc686c88c4 | /Engine/Engine/Model/Model.h | 688bdf244f87edc5164087e6e7395146ab9f6499 | [] | no_license | ChuanChinLai/LaiCraft | 96a86f7e55854f77ee10050526e881f5f17048bb | bba2eb26d9a1e70f7b2a7376e70336bb5f4e8552 | refs/heads/master | 2020-04-23T19:18:13.061286 | 2019-03-22T22:56:36 | 2019-03-22T22:56:36 | 171,398,661 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 850 | h | #pragma once
#include <Engine/Model/Mesh.h>
#include <Engine/Utility/NonCopyable.h>
namespace LaiEngine
{
class Model : public NonCopyable
{
public:
Model() = default;
Model(const Mesh& mesh);
~Model();
Model(Model&& other);
Model& operator= (Model&& other);
void Init(const Mesh& mesh);
void BindVA... | [
"chuanchinlai@gmail.com"
] | chuanchinlai@gmail.com |
bac734e41c8aed1eceaec401ca32509e3354c424 | fffd991af9e271317935d05fbebd4d0886c2146f | /PracticasED/Practicafinal/conecta4_v2.1/src/tablero.cpp | d5022c148c2797fbf34268340d29cede595d5679 | [] | no_license | jocaro97/ED | e541f65d285df15cb81055f208031c8068eb4bff | 169a9a7fcc9903e3ee348b946602250025de9520 | refs/heads/master | 2022-07-18T06:07:47.250179 | 2020-05-18T21:12:04 | 2020-05-18T21:12:04 | 265,046,448 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,916 | cpp | #include "tablero.hpp"
#include <iostream>
using namespace std;
void Tablero::reserve() {
this->tablero.resize(filas);
for(int i = 0; i < filas ; i ++){
this->tablero[i].resize(columnas);
for(int j = 0; j < columnas; j++)
this->tablero[i][j] = 0;
}
}
Tablero::Tablero() : filas... | [
"johanna_capote_robayna@hotmail.com"
] | johanna_capote_robayna@hotmail.com |
f44ef3511b705fcf59eb40ad9051b247e535b55f | ac9e8b1032292f300623eae6a69eecbb9f29fed0 | /Q1/PRO1/P3/Rectangle2.cc | 6de4ec7ec4fdb9ce4adf5a36aaab1a12f156daee | [] | no_license | ericfib/UPC-FIB | 284888753cf300bbbf801b38e4a62eb5861e7c2b | 0cb178994d0ec0be9cab978f9c090641c0b074b9 | refs/heads/master | 2020-12-14T15:34:06.554808 | 2020-04-15T16:41:33 | 2020-04-15T16:41:33 | 234,789,710 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 439 | cc | #include <iostream>
using namespace std;
int main () {
int f, c, cont = 0, cont1 = 0, cont2 = 1;
cin >> f >> c;
for (int y = 1; y <= f; ++y){
cont1 = cont;
for (int j = 0; j <= c; j++) {
if (j == y) cout << "0";
else if (j < y){
cout << cont... | [
"ersele46@gmail.com"
] | ersele46@gmail.com |
a8c28724078b996321619e73f86dfe1619347d46 | cab0e3ca805131c0518056513990b02b3b9585fb | /observables_old.h | 64f8cc7f49fc29975edfe9aa8cb9022d07099136 | [] | no_license | olavfsyljuasen/Exact | d9509e8715a17cf5dfaf0ae8bde240186dda27a7 | b6d69c2f293e0a5a6cdd7e63c031e525e3d247e2 | refs/heads/main | 2023-05-25T17:19:05.921161 | 2021-06-05T14:29:01 | 2021-06-05T14:29:01 | 374,127,877 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,908 | h | #ifndef OBSERVABLES_H
#define OBSERVABLES_H
#include<fstream>
using namespace std;
const double MAXMINENERGY=100000.;
#include "alltemperatures.h"
#include "fulldiagonalization.h"
#include "operator.h"
#include "lowlevelroutines.h"
class BasicObservables
{
public:
#ifdef FULLDIAGONALIZATION
BasicObservables(int,... | [
"sylju@fys.uio.no"
] | sylju@fys.uio.no |
8cad48919a343e656ddc14e7ede6f0f2b70c651a | a2051f83309f0e5327054ed11fad829e9c3d6cba | /Motor.h | c0c5820dd328f56c12c64c4b8258588f5132038c | [] | no_license | isaac-team-polito/snakerobot | 6d7d2ac4325ca54d672ac65b313e1e3f698f0e6d | 3934ec663e3b311d95a7314e3446a88e073d43a5 | refs/heads/main | 2023-08-29T11:48:08.177432 | 2021-10-12T07:49:00 | 2021-10-12T07:49:00 | 351,521,581 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 381 | h | #ifndef MOTOR_H
#define MOTOR_H
#include <Arduino.h>
// TODO ADD ENCODER AND PID CONTROL
/**
* @file
* @version 1.0
* @author Andrea Grillo
*
* Simple class to control a motor object.
*
*/
class Motor {
public:
Motor(byte pwm, byte in1, byte in2);
void go(int speed, bool invert);
void stop();
... | [
"grilloandrea6@gmail.com"
] | grilloandrea6@gmail.com |
1b308b488f21aab8a1b4531d6d81854f4e2a9e78 | bc997f47b4cffef395f0ce85d72f113ceb1466e6 | /ICPC/Korea/icpc21_i.cpp | ef949fe7f0d20827d0dfd4676d51278c8972e26d | [
"LicenseRef-scancode-public-domain"
] | permissive | koosaga/olympiad | 1f069dd480004c9df033b73d87004b765d77d622 | fcb87b58dc8b5715b3ae2fac788bd1b7cac9bffe | refs/heads/master | 2023-09-01T07:37:45.168803 | 2023-08-31T14:18:03 | 2023-08-31T14:18:03 | 45,691,895 | 246 | 49 | null | 2020-10-20T16:52:45 | 2015-11-06T16:01:57 | C++ | UTF-8 | C++ | false | false | 3,802 | cpp | #include <bits/stdc++.h>
#define sz(v) ((int)(v).size())
#define all(v) (v).begin(), (v).end()
using namespace std;
using lint = long long;
using llf = long double;
using pi = pair<lint, lint>;
bool in(pi a, pi b){
return a.first <= b.first && b.second <= a.second;
}
int solve(vector<pi> a){
int n = sz(a);
// for(a... | [
"koosaga@gmail.com"
] | koosaga@gmail.com |
ced3d07faa06b592dc2e01bc4b2a0c8ba791f6c6 | 13c3ab1b675aa446d101dfef6f8138c03334aa49 | /contracts/libraries/include/gxclib/types.hpp | d882e9841ffd0430dfd963d1d220a85e03e50164 | [
"MIT"
] | permissive | Game-X-Coin/gxc-contracts-v1 | 97ecbffd4fc2dc8cbe6dd3612deeae92a79fd005 | cc5cc59cab0422238a44d2c4d909a31200817a35 | refs/heads/master | 2020-04-13T11:41:49.001067 | 2019-06-26T07:25:35 | 2019-06-26T07:25:35 | 163,181,211 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 200 | hpp | /**
* @file
* @copyright defined in gxc/LICENSE
*/
#pragma once
#ifdef __cplusplus
namespace eosio {
using capi_checksum256 = std::array<uint8_t,32> __attribute__ ((aligned(16)));
}
#endif
| [
"conr2d@gmail.com"
] | conr2d@gmail.com |
3dcd0ad7b7f4baeb8cf2acfec9bffb8a99aeb37c | d8ab016a48cbc043a632b24f8ec7a23a850d6368 | /codes/Garnetwzy/218.cpp | 93deb4f19db2ac8b9ee21655ae27b712cae5b634 | [] | no_license | neu-velocity/code-camp-debut | ba52ce5b1a7fe74d8a79115f56117793ba893f0c | 5664a83b0bbb3ae37a88c52dbbc28a3e60c16020 | refs/heads/master | 2020-05-30T12:25:47.900030 | 2019-09-03T00:02:33 | 2019-09-03T00:02:33 | 189,734,016 | 5 | 2 | null | 2019-06-05T15:49:17 | 2019-06-01T13:08:36 | Java | UTF-8 | C++ | false | false | 1,474 | cpp | class cmp
{
public:
bool operator()(vector<int> p1, vector<int> p2)
{
if(p1[0] != p2[0]) {
return p1[0] < p2[0];
}else{
if(p1[2] == p2[2]) {
if(p1[2] == 1) {
return p1[1] > p2[1];
}else{
return p1[1] ... | [
"596913416@qq.com"
] | 596913416@qq.com |
34b4b553bdf63f1df790088ebc87fd0beafbe55c | 44decb474afc5c061e974591e7557e3823306f86 | /linux_c/DesignPattern/CreationalPatterns/Factory/ConcreteProduct.h | 3deb9cb59dafa8b60732b39948d3450529655e7d | [] | no_license | hechengjin/c-cpp | c3023f4f13cc62c7229f8b41d0b3e401c2ba110b | 639fc8abe033899e1056f31247f50625d8b42fe9 | refs/heads/master | 2020-04-25T03:01:23.189048 | 2019-05-11T14:33:55 | 2019-05-11T14:33:55 | 172,461,875 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 229 | h | #ifndef _CONCRETEPRODUCT_H_
#define _CONCRETEPRODUCT_H_
#include "Product.h"
class ConcreteProduct:public Product
{
public:
~ConcreteProduct();
ConcreteProduct();
protected:
private:
};
#endif //_CONCRETEPRODUCT_H_
| [
"he_chengjin@outlook.com"
] | he_chengjin@outlook.com |
89ddbd633543fc2e7e4cdc0c474eba02307c11ad | 98dd7a26d2b9f075bebba06b43c92bbbe2793194 | /llvm/tools/clang/lib/Driver/Tools.cpp | a1682e222f494cb1cf3f78c1590f5b0eb0fc6eef | [
"NCSA",
"MIT"
] | permissive | intel-cgss/cm-compiler | 600abe2fe498e50db07cb915d9c80ea6d44b389a | 350b433b3d1dc40eae9bf7b8b79de75bbee085e8 | refs/heads/master | 2021-05-01T09:52:15.736086 | 2018-02-03T17:28:10 | 2018-02-03T17:30:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 308,272 | cpp | //===--- Tools.cpp - Tools Implementations --------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"gang.y.chen@intel.com"
] | gang.y.chen@intel.com |
c310bd2e41e146c6477c5270e36de5b2eae13f60 | e8c79a50bb3ae6de451fbbae6e6865677626a07c | /std/re-error.cpp | e4e9700f9cc1cb912b38626f5ac36164841b64c9 | [] | no_license | doc-cloud/cpp | 24ddf931a501d4660c6755587500d4989b9b1639 | c9dfe9d527b04d3d0890f2a3effed3b9e7f2a373 | refs/heads/master | 2021-01-23T23:04:17.952391 | 2017-09-09T13:03:47 | 2017-09-09T13:03:47 | 102,954,864 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 763 | cpp | #include <iostream>
using std::cout;
using std::cin;
using std::endl;
#include <string>
using std::string;
#include <regex>
using std::regex;
using std::regex_error;
int main()
{
#if 0
try {
regex r("[[:alnum:]+\\.(cpp|cxx|cc)$", regex::icase);
} catch (regex_error e) {
cout << e.what() << " code " << e.code()... | [
"Linkerist@163.com"
] | Linkerist@163.com |
a878d5909b85afeb7bceb055b253f055bb30b93a | cd03b1817d54dffe21f93b3a3d83e0f6bc6da55a | /src/analyze.cpp | 30349915a210420d486a7dea05b6a61a3bf9c7fe | [] | no_license | Wyatt915/text-analysis | d0f20e25f77b980185243ae59dbac1094926503f | 65200c0e6c1d78213cb2694431a59a382e54abce | refs/heads/master | 2021-01-19T01:47:21.152409 | 2016-07-24T20:00:10 | 2016-07-24T20:00:10 | 64,083,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,444 | cpp | #include "analyze.hpp"
#include <array>
#include <vector>
#include <iostream>
#include <algorithm>
const double LETTERFREQ[] = { 0.08167, 0.01492, 0.02782, 0.04253, 0.12702,
0.02228, 0.02015, 0.06094, 0.06966, 0.00153, 0.00772, 0.04025,
0.02406, 0.06749, 0.07507, 0.01929, 0.00095, 0.05987, 0.06327,
0.0905... | [
"wyatt915@gmail.com"
] | wyatt915@gmail.com |
d9d4f8877e064cc33038ed009fc8997c7d65d389 | 4341f4f95ebd49293cd421bdc86eaa6af1443a4a | /PWS_project.ino | 7e5f3464991029ecbb47ed4054b696c6b310e847 | [] | no_license | Lauwy222/ESP8266-WemosD1-Car | 3d9353a9a4da6f205b7576ba137283a0e84bedce | 19ae5eb2e372907a308b30657fbb32c52f427ca0 | refs/heads/main | 2023-08-28T07:48:52.107473 | 2021-02-07T23:17:55 | 2021-02-07T23:17:55 | 336,902,585 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,835 | ino | #include <ESP8266WiFi.h>
const char* ssid = "x"; //Enter network SSID
const char* password = "x"; //Enter network PASSWORD
WiFiServer server(80);
String header;
String outputState = "?"; //initially set to off
String outputDirection = "?"; //initially no direction
String lightState = "?"; //initially s... | [
"noreply@github.com"
] | Lauwy222.noreply@github.com |
9764620e3f57eddda3776a9483247d9ce62bab8a | 8ab24571e71dfef8ed0bae1748fa2a30cb6eb042 | /BOJ_test/1929_printPrimeNumber/1929_printPrimeNumber.cpp | 82124b81a94b783213e3759c783c775ff9901a8a | [] | no_license | ki815kaisian/BOJ_test | 816d52242195c6bbeb980d5695fcd4d5db045855 | edb1120703313f2a105c4d62ef16be4ea1a06b89 | refs/heads/master | 2021-05-01T20:32:24.578103 | 2019-10-02T08:11:18 | 2019-10-02T08:11:18 | 79,368,508 | 0 | 0 | null | 2017-01-26T08:41:49 | 2017-01-18T18:07:31 | C++ | UTF-8 | C++ | false | false | 419 | cpp | #include <stdio.h>
using namespace std;
int number[1000001] = { 0 };
int main(void)
{
int under = 0;
int upper = 0;
scanf("%d %d", &under, &upper);
number[0] = number[1] = 1;
for (int i = 2; i*i <= upper; i++) {
if (number[i] == 0) {
for (int j = i + i; j <= upper; j += i) {
number[j] = 1;
}
}
... | [
"ki815kaisian@gmail.com"
] | ki815kaisian@gmail.com |
b527fc995d31799e9665e4aeb747cca6917da3ef | 7103802e54b6e91a263a2fdfb6db0e8211c76102 | /test/Resource/ResourceCache.test.cpp | a55d4d9e9563def3821eab0f600523e92852a950 | [
"Zlib",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | lairworks/nas2d-core | 5ff6203c8a984f96fd1d34798a372ed0089c0cd1 | 7dfc1d9e86eaf952caf4824478a79f736be6b880 | refs/heads/main | 2023-06-27T00:38:24.711325 | 2023-06-19T04:46:44 | 2023-06-19T04:46:44 | 40,338,546 | 13 | 9 | Zlib | 2023-06-19T04:46:45 | 2015-08-07T03:11:05 | C++ | UTF-8 | C++ | false | false | 1,483 | cpp | #include "NAS2D/Resource/ResourceCache.h"
#include <gtest/gtest.h>
TEST(ResourceCache, load) {
class MockResource {
public:
MockResource(const std::string& initString, int initValue) :
string{initString},
value{initValue}
{}
bool operator==(const MockResource& other) const {
return string == other.... | [
"Dan.R.Stevens@gmail.com"
] | Dan.R.Stevens@gmail.com |
618cc6d24cd5220528830801bbd311fffd72cde9 | 8cf32b4cbca07bd39341e1d0a29428e420b492a6 | /contracts/libc++/upstream/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_pair_rvalue.pass.cpp | bd63ffa92fde08c7d74f80135e3aadb214242dd9 | [
"NCSA",
"MIT"
] | permissive | cubetrain/CubeTrain | e1cd516d5dbca77082258948d3c7fc70ebd50fdc | b930a3e88e941225c2c54219267f743c790e388f | refs/heads/master | 2020-04-11T23:00:50.245442 | 2018-12-17T16:07:16 | 2018-12-17T16:07:16 | 156,970,178 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,497 | cpp | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===---------------------------------... | [
"1848@shanchain.com"
] | 1848@shanchain.com |
125605fe2c3c90fa533a0e1772cee87b10a89299 | ba5eabcf0e3880a4cc86e9222fcb2ecd5f53b103 | /tools/viewer/SkSLDebuggerSlide.cpp | 4b2183b88f4de9bafc09751a991f45f35289eabc | [
"BSD-3-Clause"
] | permissive | aseprite/skia | d2b63003610c796594e81deea093eb6b13704838 | 478f512f7a84658167d9f83f35d42fb0903b4a37 | refs/heads/aseprite-m102 | 2023-08-24T00:47:30.288547 | 2023-02-28T20:21:26 | 2023-03-03T18:12:59 | 45,053,736 | 139 | 51 | BSD-3-Clause | 2023-03-03T18:14:21 | 2015-10-27T16:20:42 | C++ | UTF-8 | C++ | false | false | 11,473 | cpp | /*
* Copyright 2021 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "tools/viewer/SkSLDebuggerSlide.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkStream.h"
#include "tools/viewer/Viewer.h"
#include <algorithm>
#inclu... | [
"skcq-be@skia-corp.google.com.iam.gserviceaccount.com"
] | skcq-be@skia-corp.google.com.iam.gserviceaccount.com |
b9265a42e25e027e9dd25a150982af138acd34c8 | 71d3a6cf8eb1baf41f0b10d1030447539862b327 | /sources/main/processing/unix/input_file.cpp | 71366fce16de8d5f70c97e0696cab4380d32712c | [] | no_license | lunakoly/CashLegacy | 5ecb838ddc0251a2d77f8e6f06c7ba8cc6254982 | ee423ca7e489962b700c341e34452cd3e0886f3d | refs/heads/master | 2023-01-28T10:46:20.668111 | 2020-12-12T18:49:50 | 2020-12-12T18:49:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,299 | cpp | // Copyright (C) 2020 luna_koly
#include "input_file.hpp"
#include <unistd.h>
#include <sys/wait.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "../../unix/helpers.hpp"
std::optional<std::string> UnixInputFile::then(UnixOutputTask * next) {
this->next = next;
next->previous = this;
// 0666 - pe... | [
"lunyak.kolya@mail.ru"
] | lunyak.kolya@mail.ru |
9508248c7a8a61485be634d34c3b411662c6ed97 | fc6beba5e0e4879051a3b98a512f48d997c8bd6b | /read_lammpstrj/src/read_lammpstrj.cpp | d9bf265f8da2061206dc8021a3ee6dc14f20dd21 | [] | no_license | earunachalam/clearwater | f12bc9536d38e2ba4388b8ae6e11ebd700a0f788 | 97e526a5073805302955ae5932274dff8f618c9a | refs/heads/master | 2020-03-14T12:12:39.172528 | 2018-05-23T22:44:43 | 2018-05-23T22:44:43 | 131,606,538 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,467 | cpp | #include <cmath>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <core/common.h>
#include <core/numeric.h>
namespace nm = numeric;
int main(int argc, char** argv)
{
uint natoms;
if (argc == 2)
{
natoms = std::atoi(argv[1]);
printf("natoms = %d\n",natoms);
}
else
{
printf("Syntax: \n"... | [
"arunachalam.easun@gmail.com"
] | arunachalam.easun@gmail.com |
160b6ab9f19fdc60582532019e5e49e1f39d369e | 2933025b55b34ccf0242de29c41c71a119bfb819 | /2. Coding_Problems/Type1/sum of series 2.cpp | e9bfe49cdf30456489e88a44ea8c8de435a82315 | [] | no_license | rohitshakya/CodeBucket | 460050cf3cb5ae29eac0b92fb15ddc7a5a9d9d80 | 5c3632d5860873c74cce850eb33bd89fdd77ce0a | refs/heads/master | 2022-01-25T09:55:58.151327 | 2022-01-11T06:55:05 | 2022-01-11T06:55:05 | 253,870,196 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 328 | cpp | //print sum of first n terms of series:1-2+3-4+5......
#include<iostream>
using namespace std;
int main()
{
int sum=0,n;
cout<<"Enter number of terms"<<endl;
cin>>n;
for(int i=1;i<=n;i++)
{
int temp=i;
if(i%2==0)
{
temp=-i;
}
sum=sum+temp;
}
cout<<"sum of series upto first "<<n<<" terms is:"<<s... | [
"rohit.rkshakya@gmail.com"
] | rohit.rkshakya@gmail.com |
aef3212101f3e39c7a4a93fad384eb5bcbe1f7bb | e06d1362e0146c472912585c097e04680f7b1a50 | /gameobject.h | ce7d0eef931fb4e18df78c2122ea02889305e124 | [] | no_license | duncansykes/RaylibArcadeGame | 1e47c4f45835241c67fb24e7fa3d6fbbc2f32cb1 | 900f165ddfed58d46be98164259a77dbc5d3e5f4 | refs/heads/main | 2023-02-27T13:59:16.708735 | 2021-02-02T05:53:07 | 2021-02-02T05:53:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,686 | h | //
// Created by s200490 on 25/01/2021.
//
#include <string>
#include "raylib.h"
#include "raymath.h"
#ifndef DEFAULT_GAMEOBJECT_H
#define DEFAULT_GAMEOBJECT_H
class gameobject {
public:
gameobject();
virtual ~gameobject();
void Update(float deltaTime);
void Draw();
void SetVelocity(Vector2 v... | [
"sykesduncan32@gmail.com"
] | sykesduncan32@gmail.com |
d455e9f35c14934444056b90defa244edb6bf0c0 | 92e7a96c196e563b70f78db321680d830af80a53 | /Miscellaneous/PlatformCTP/src/PlatformCTPQuot.cpp | c097bc18d5e613c372ea35d0ba4014a9b999eec7 | [] | no_license | alexfordc/zq | 513723341132dd2b01f5ca3debb567b2fd31c033 | a0b05b7416fe68784e072da477e8c869097584e2 | refs/heads/master | 2021-05-25T14:19:37.317957 | 2018-02-24T05:57:23 | 2018-02-24T05:57:23 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 27,339 | cpp | //#include "stdafx.h"
//
#include <windows.h>
#include "PlatformCTPQuot.h"
#include "FileOpr.h"
#include "tools_util.h"
using std::make_pair;
#pragma unmanaged
#if 0
#define LOG_INFO(fmt, ...) ;
#else
#define LOG_INFO(fmt, ...) CFileOpr::getObj().writelocallogDaily("log","PlatformCTPQuot", "[%s][%d]:"fmt, __FILE_... | [
"w.z.y2006@163.com"
] | w.z.y2006@163.com |
ab13c46a6771d239b37cfc51a8a5b64dde4bfd5e | eaba86a6412fb7c98781164c9754018a379a8214 | /config.cpp | 4feacc085e2881bfc6f8d9bc43b8e878001e6606 | [] | no_license | Shredorama/honestdayswork | ac18f9986ae8b3905386824582af4ea907df0cc6 | ac70a66330c5efdef3c2b4c97a8930dace1559ba | refs/heads/master | 2020-12-27T07:23:30.509614 | 2020-02-14T03:47:53 | 2020-02-14T03:47:53 | 237,812,980 | 0 | 0 | null | 2020-02-02T18:03:33 | 2020-02-02T18:03:33 | null | UTF-8 | C++ | false | false | 321,983 | cpp | enum
{
destructengine = 2,
destructdefault = 6,
destructwreck = 7,
destructtree = 3,
destructtent = 4,
destructno = 0,
destructman = 5,
destructbuilding = 1
};
class CfgMods
{
class ShredAnimals
{
dir="ShredAnimals";
picture="";
action="";
hideName=1;
hidePicture=1;
name="ShredAnimals";
credits=... | [
"60577277+Shredorama@users.noreply.github.com"
] | 60577277+Shredorama@users.noreply.github.com |
64d2106617c38ba3b5232acaa8f11149f2e6d4c1 | a0037c2cc5247e453477a0e8dbd7f52115fc1ac9 | /system_api/libc_time_api.cc | aafd84c1078fe03305b7d09dce8e293eda092963 | [
"Apache-2.0"
] | permissive | max19931/lmctfy | 41cd74e5a79fead2bca381270100ff024c742753 | 02ab42ab4702d3cd577ada230369e3f1d7786351 | refs/heads/master | 2023-04-06T11:54:52.979318 | 2019-09-11T13:11:14 | 2019-09-11T13:11:14 | 198,486,076 | 0 | 0 | NOASSERTION | 2019-07-23T18:21:20 | 2019-07-23T18:21:20 | null | UTF-8 | C++ | false | false | 1,361 | cc | // Copyright 2014 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | [
"vmarmol@google.com"
] | vmarmol@google.com |
75b875c8635f00e9060798bd0518ec1851a3254a | cde198bebb6a4ed98801158b010f971b0000d5fe | /Algorithm Basics/第四讲 数学知识/快速幂/875. 快速幂.cpp | 7a4d51413277d97f0be3cb3c1531fe6a89e93632 | [] | no_license | YTGhost/AcWing | 8e4588624f5c2871b496e3086045ac47d1365e84 | 505cbd50e74ec3aa146c975a563eafea1f757d88 | refs/heads/master | 2021-09-20T15:35:12.406137 | 2021-09-09T14:13:44 | 2021-09-09T14:13:44 | 249,120,388 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 420 | cpp | #include <iostream>
using namespace std;
typedef long long LL;
int qmi(int a, int b, int p)
{
int res = 1;
while(b)
{
if(b&1) res = (LL)res * a % p;
b >>= 1;
a = (LL)a * a % p;
}
return res;
}
int main()
{
int a, b, p, n, res;
cin >> n;
while(n--)
{
... | [
"283304489@qq.com"
] | 283304489@qq.com |
2451792822531616891f210f08fd5ef103acd409 | cae0243512e1614fc9ef945713c9499d1a56d389 | /src/testers/tester_iteration_all_intervals.h | 36fa1f4008ee2873cf176a2a800712023d6fae0e | [] | no_license | alejandro-reyesamaro/POSL | 15b5b58a9649234fa9bedbca4393550d38a69e7d | 0b3b7cf01a0392fc76394bbc04c52070637b3009 | refs/heads/master | 2021-04-15T11:10:24.998562 | 2016-09-06T15:10:54 | 2016-09-06T15:10:54 | 33,991,084 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 188 | h | #pragma once
#include "tester.h"
class Tester_IterationAllIntervals : public Tester
{
public:
Tester_IterationAllIntervals(int argc, char *argv[]);
string test();
};
| [
"alejandro-reyesamaro@univ-nantes.fr"
] | alejandro-reyesamaro@univ-nantes.fr |
60203109a568b7d6a82a757cf20f811ed6dfd01e | aca493ca1e4a86bb42e557b2015683680ea26f4a | /paint.h | 871c3ab12fd4cd97379d0aedd380bd84192de36e | [] | no_license | BridgeHill/bmp | 9eaa61ffc55a25fffd08660d3a03ad7493a7ae3c | fd19db4f324f9470156a6f9d5e4491e4e0ba0a45 | refs/heads/master | 2021-01-15T08:51:53.972382 | 2016-01-03T16:28:33 | 2016-01-03T16:28:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,143 | h | #ifndef PAINT_H
#define PAINT_H
#include "color.h"
#include "bmp32.h"
#include "QR_Encode.h"
class paint:public bmp32
{
public:
int setBcolor(union color_u Bcolor1);
int setBcolor(unsigned long ulg);
int setFcolor(union color_u Fcolor1);
int setFcolor(unsigned long ulg);
void setBrush(short r1);
void setErase(sh... | [
"huangjun.chn@outlook.com"
] | huangjun.chn@outlook.com |
f0e8055ae30fc7d5eddc7d88acc218932e7c0601 | b15e0aa36c90d33a8e76448a82915acfb1e16f50 | /448/lab8/Retailer.h | 5c40dc622493cabe799bdba990d7c912fcaf03d8 | [] | no_license | lcoblamm/EECS | 8f422c40d5b7ce5c8d3081fc7b3e2a6879e3675e | a04f4a05715b567e8aaf606b6484e33d3728caee | refs/heads/master | 2021-05-03T09:11:05.794206 | 2016-04-10T23:37:39 | 2016-04-10T23:37:39 | 30,848,029 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 918 | h | #ifndef RETAILER_H
#define RETAILER_H
#include <list>
#include <string>
#include "Good.h"
#include "Supplier.h"
class Retailer
{
public:
Retailer();
Retailer(std::string retailerName, std::string phone, std::string email, Supplier& supplier);
~Retailer();
void addGood(Good item);
bool acceptPayment(doubl... | [
"lynne.lammers@gmail.com"
] | lynne.lammers@gmail.com |
3a043735788838a700c9a2afc3d0f53fca54dfd2 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_new_log_50.cpp | a31de8c23ad0baa482047a6c133df209e260e642 | [] | 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 | 101 | cpp | usage_msg_opt("-f only makes sense when writing a replacement",
git_replace_usage, options); | [
"993273596@qq.com"
] | 993273596@qq.com |
85969229be724aaab35ebe7150b5d8b7847a94e8 | 187c2f0d83eac13d3fdba74600e5154b89258428 | /generic/libc/stdio/vsnprintf.cpp | 9464f87d34bbae33b1ab59ecd86f8ce4b7ec562c | [] | no_license | ZeusJupiter/PowerPC-Demo-OS | 5bcbc33be267600cacd3da6dde5367d6e6807725 | 23f0f10ba21f9f76dd4fb51402c3b237b5a1be2c | refs/heads/master | 2020-04-02T01:40:56.799983 | 2018-10-30T05:49:10 | 2018-10-30T05:49:10 | 153,867,626 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 362 | cpp | /*
* File name: vsnprintf.cpp
*
* Created on: 2017年6月25日, 下午11:25:50
* Author: victor
* Toolchain:
* Language: C/C++
* description:
*/
#include <macros.h>
#include <types.h>
#include <stdio.h>
#include <stdarg.h>
BEG_EXT_C
int vsnprintf(char *str,size_t n,const char *fmt,va_list ap)
{
int res ... | [
"dangyuedong@baidu.com"
] | dangyuedong@baidu.com |
103074ab4ee9665ebcb5e472a0cd5db5833600b6 | d0764568a235e0fcc45324d2ad92c722d269171e | /catkin_ws/src/neural_networks/darknet_ros/darknet_ros/src/yolo_object_detector_node.cpp | 6758896f1f019eb6f874a6c9a4244f9ea3579fde | [] | no_license | edgarVazquez43/TAKESHI | ec2bd833d5cc31fcc5c3f527b7974b06d882f42d | 187dc0c1f934ea58d78ae03bd7c522550f5e4801 | refs/heads/master | 2022-08-20T16:19:11.322250 | 2020-05-12T19:09:31 | 2020-05-12T19:09:31 | 120,661,771 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 427 | cpp | /*
* yolo_obstacle_detector_node.cpp
*
* Created on: Dec 19, 2016
* Author: Marko Bjelonic
* Institute: ETH Zurich, Robotic Systems Lab
*/
#include <darknet_ros/YoloObjectDetector.hpp>
#include <ros/ros.h>
int main(int argc, char** argv)
{
ros::init(argc, argv, "darknet_ros");
ros::NodeHandle nodeHa... | [
"edgarvazquez1403@gmail.com"
] | edgarvazquez1403@gmail.com |
48cac2425029628709b2ff0f349b1ff66e974a44 | bbcda48854d6890ad029d5973e011d4784d248d2 | /trunk/win/Source/BT_WidgetManager.cpp | c5d5da665a4fd8dc52a778ff3bca77b332dac847 | [
"MIT",
"curl",
"LGPL-2.1-or-later",
"BSD-3-Clause",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"LGPL-2.1-only",
"Zlib",
"LicenseRef-scancode-unknown",
"LicenseRef-scancode-unknown-license-reference",
"MS-LPL"
] | permissive | dyzmapl/BumpTop | 9c396f876e6a9ace1099b3b32e45612a388943ff | 1329ea41411c7368516b942d19add694af3d602f | refs/heads/master | 2020-12-20T22:42:55.100473 | 2020-01-25T21:00:08 | 2020-01-25T21:00:08 | 236,229,087 | 0 | 0 | Apache-2.0 | 2020-01-25T20:58:59 | 2020-01-25T20:58:58 | null | UTF-8 | C++ | false | false | 13,077 | cpp | // Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... | [
"anandx@google.com"
] | anandx@google.com |
994660357469411a23b6c9bde9c39cf9d0acd018 | 45f8bc68c713a6aad91df02553fcf704070d1f14 | /100121_affineDetect_gaHough/ForCompare_ClassicalGA.cpp | d69d7b76c9d16bdf16ad953896c4a205d9887748 | [
"MIT"
] | permissive | ntthuy11/background-compensation-genetic-hough-transforms | f9832f40b67fbe8eae569433c9f08e93de6828d1 | 68c72931f3a732c8a175570856e3d34f99fac838 | refs/heads/master | 2021-06-16T03:25:48.014285 | 2017-05-06T04:58:17 | 2017-05-06T04:58:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,610 | cpp | #include "ForCompare_ClassicalGA.h"
ForCompare_ClassicalGA::ForCompare_ClassicalGA(IplImage* previousImg, IplImage* currentImg, int popSize, double pc, double pm,
double aRangeStart, double aRangeEnd, double bRangeStart, double bRangeEnd) {
this->previousImg = previousImg;
this->currentImg = curren... | [
"noreply@github.com"
] | ntthuy11.noreply@github.com |
45d8347de3b5e6b8dd8655c7c657b3d760181cf6 | 60dbda48a0554a83265d95b973f26e8400865df3 | /Algorith All/Selection Sort/Selection Sort.cpp | 5c233a4f554adf3b285a672da0e32291c739b0cb | [] | no_license | aeronzafar/algorithm | 7260192cc28ba31ae8be320119f970c7bcdebe38 | 91c5b4d7af94d0ec0a5244705bb664e64942278a | refs/heads/master | 2020-05-17T16:39:56.535252 | 2019-04-27T22:09:53 | 2019-04-27T22:09:53 | 183,824,967 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 849 | cpp | #include<stdio.h>
#include<conio.h>
void Selection_Sort(int arr[], int n)
{
int mid, temp;
for(int i=0;i<n-1;i++)
{
mid=i;
for(int j=i+1;j<n;j++)
{
if(arr[mid]>arr[j])
mid=j;
}
if(mid!=i)
{
temp=arr[mid];
... | [
"noreply@github.com"
] | aeronzafar.noreply@github.com |
cc56ca0de51008a01cea450d3c60c46d3c766f59 | 2c101134f5c113ef98fa5ab846965ce6ee27ad0f | /maxHeight.cpp | e4bcbb20b205caa0b3fb25574b5fe8dee3eb9633 | [] | no_license | Gabriel0402/Leetcode_practice | 6a4282d4ce02c5611e39d3f956bb34e2b19efeb1 | f92b10b824ce04db4b689484011bbf3d506d532f | refs/heads/master | 2020-07-05T06:27:31.797868 | 2014-02-10T14:55:32 | 2014-02-10T14:55:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 859 | cpp | #include <iostream>
using namespace std;
/**
* Definition for binary tree
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
int maxHeight(TreeNode *root)
{
if(root==NULL) r... | [
"zhuch@seas.upenn.edu"
] | zhuch@seas.upenn.edu |
509c9c69ad22a2ac9a29cb544b319c5fd40ea1fb | 1d1f67e1a3f98871a1b9ba100704083e426fade9 | /Leet2019/PreimageSizeofFactorialZeroesFunction.cpp | 058bd50e335f890d75b46a2d0fc5299883011ca0 | [] | no_license | flameshimmer/leet2019.io | fae46200ed78fb0478db726b8c31e976e7d57001 | 47808dc97609f5a96c97a6fc703b98c75ad9a2b3 | refs/heads/master | 2022-07-22T10:51:10.651558 | 2022-07-07T18:05:48 | 2022-07-07T18:05:48 | 202,389,705 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 178 | cpp | #include "stdafx.h"
//
namespace Solution2019
{
namespace PreimageSizeofFactorialZeroesFunction
{
void Main() {
string test = "tst test test";
print(test);
}
}
}
| [
"Ning@ningmadev99.redmond.corp.microsoft.com"
] | Ning@ningmadev99.redmond.corp.microsoft.com |
c73011cb8787f559ce3e721fb21031ab893a6b13 | 7fc7f2389e0c356ad853d4cb651ec3020493ee20 | /framework/src/Core/Network/Udp/UdpManager.cpp | 137276529b0d586d6deec624813e5c817467521c | [
"MIT"
] | permissive | gautier-lefebvre/cppframework | 50c5f5c2d83a4431a195578e7ce0c76bdf762913 | bc1c3405913343274d79240b17ab75ae3f2adf56 | refs/heads/master | 2021-01-10T11:16:40.589126 | 2016-09-21T19:10:54 | 2016-09-21T19:10:54 | 43,247,787 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,191 | cpp | #include <algorithm>
#include "Library/ThirdParty/cppformat/format.hh"
#include "Library/Tool/Converter.hpp"
#include "Library/Tool/Macro.hh"
#include "Core/Network/Udp/UdpManager.hh"
#include "Core/Network/Exception.hh"
using namespace fwk;
UdpManager::UdpManager(NotifiableThread& input, NotifiableThread& out... | [
"gautier.lfbvr@gmail.com"
] | gautier.lfbvr@gmail.com |
8138d6bdbca48cd4a59ad6c2a830410ea25818c2 | 24240f765d461af8ce704ed34667ddc53e995b07 | /2_LEETCODE/Easy/basics/deleteNodeLinkedList.cpp | 6e301ee11a283fb335f07fae8cbf18cfde0e91c2 | [] | no_license | Kun4lpal/CodePractice | af0c884e4c8c0036fe5cb525d4e438c6f1435d00 | 5ea616fb9088b74a462b8dbdb56a7d64255f8903 | refs/heads/master | 2020-03-30T11:45:47.545226 | 2018-10-02T11:59:56 | 2018-10-02T11:59:56 | 151,191,389 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 64 | cpp | void deleteNode(ListNode* node) {
*node = *node->next;
} | [
"kupaliwa@syr.edu"
] | kupaliwa@syr.edu |
6857df683365f57f68d57eca3c090ba8cc57fb89 | 88ed2661443c88f9519b39124d32264a825813bd | /tcrbase.h | b6cd8eb135c6b8d25cbd16975548ef443bc59aeb | [] | no_license | aray1982/TCRMeasure | 95755c4869ac1ca5b19555f784ce80880316076a | cd27d2bd244d762f20d2688d96104e15e09c94de | refs/heads/master | 2020-04-12T08:28:12.472540 | 2018-12-24T00:15:34 | 2018-12-24T00:15:34 | 162,385,131 | 0 | 0 | null | 2018-12-24T00:15:35 | 2018-12-19T05:01:33 | C | UTF-8 | C++ | false | false | 1,089 | h | #ifndef TCRBASE_H
#define TCRBASE_H
#include <QWidget>
#include<QPushButton>
#include"gloabaldefine.h"
#include<QCheckBox>
#include<QGroupBox>
//TCR选择界面,基板操作类
class TCRBase : public QWidget
{
Q_OBJECT
public:
explicit TCRBase(QWidget *parent = nullptr,QString name ="TA",int No=0);
void s... | [
"noreply@github.com"
] | aray1982.noreply@github.com |
2fce973db3eeb0df9799e8c597a90e8b217e8422 | 5b8aaf1a97853defedaa7593891c4191612ff09b | /DayThree/DayThreePartTwo.cpp | 67fe22495c4436b5fa7d16756d7586e62ee68b10 | [] | no_license | star8kid/AdventOfCode2020 | 0ef98b7bd3be6200c13cf138895f12ce50ed1611 | 1d0b2ec2646bd422b0ea7e3bcd29451114462f58 | refs/heads/main | 2023-02-06T04:30:29.804196 | 2021-01-03T20:08:14 | 2021-01-03T20:08:14 | 318,045,287 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,684 | cpp | #include<iostream>
#include<string>
#include<vector>
using namespace std;
//Time Lapse: 28 minutes and 37 seconds
// (Yeah, I didn't know there were other datatypes than `int`, don't make fun of me)
uint64_t treeSlopeInterceptCount(vector<string> inputMap, int riseSlope, int runSlope){
int treeCount = 0;
i... | [
"2022younganthonyn@aaps.k12.mi.us"
] | 2022younganthonyn@aaps.k12.mi.us |
7c131cffe50d055c51f8308503cff6bb5a455a1f | dce7fae275df536abacc8328e598a28ac927b8bd | /my_cpp_oop/Shapes.h | a9c7674c32ae5dee63c6539304a6f697782262f1 | [] | no_license | ILevchugov/oop_task | b10eaba0b3ac936a735a101cf9dc98a33ddf0b78 | 12fce1eea1ac555e8f61cd30d33e4a801611ecb0 | refs/heads/master | 2022-05-24T08:24:55.981423 | 2020-04-27T09:21:38 | 2020-04-27T09:21:38 | 258,524,083 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,268 | h | #pragma once
#define _USE_MATH_DEFINES
#include "Container.h"
#include <iostream>
#include <math.h>
#include "Base.h"
#include "Container.h"
#include <sstream>
static double const eps = 0.001;
class Shape : public Printable {
public:
Shape() {
++sm_count;
}
Shape(Shape const& shape) {
++sm_count;
}
virtua... | [
"van5364@ya.ru"
] | van5364@ya.ru |
31f27ec1a85529610c387cf09128b343cfe285de | af9c1566c7f8b7e30ee957ef40de647c1d86d17a | /tek2/cpp/cpp_bomberman/include/Menu.hh | c549a6daba737d6d797b51f747eabb70174e1448 | [] | no_license | Vasrek77/epitech-projects | 471b7503e189000ad1ab491915c950af4b661c01 | 6db30340f7accd04d037ba1ea2bc3e3ecd736251 | refs/heads/master | 2021-01-17T22:41:05.342477 | 2015-08-12T19:10:24 | 2015-08-12T19:10:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 605 | hh | #ifndef MENU_HH_
# define MENU_HH_
# include <iostream>
# include <list>
# include <Clock.hh>
# include <Input.hh>
# include "AItem.hh"
# include "MenuItem.hh"
# include "Bomb.hh"
# include "Cursor.hh"
class Menu
{
private:
std::list<ADrawableObject *> _items;
public:
Menu();
~Menu();
void addI... | [
"pierrick.gicquelais@epitech.eu"
] | pierrick.gicquelais@epitech.eu |
f99d2aeddc3db4c8f9abb5c1e5105b913660dacc | 1a9ef412a09894302ca7df1fedd5d71e7da2f25f | /DP Problems/Kadane.cpp | d755ebdafb5c18155a329b8fbd7195b203497756 | [] | no_license | barnwal-anand/Interview_Preparation | ca87f2fb0cac19f9e6eefe1f8c4ed1e9724e41db | 4fd155ced74910e637b9d6453b2820b53cab7505 | refs/heads/master | 2023-07-19T07:33:34.927883 | 2023-07-07T22:22:47 | 2023-07-07T22:22:47 | 214,193,849 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,042 | cpp | // Largest Sum Contiguous Subarray
#include <iostream>
#include <climits>
using namespace std;
class Kadane {
private:
int *arr;
int size;
public:
Kadane(int size);
void getLargestSum(int &res, int &start, int &end);
};
Kadane::Kadane(int size) {
this->size = size;
arr = new int[... | [
"anandtalks2u@gmail.com"
] | anandtalks2u@gmail.com |
d9044aab3ff9e1a94935cb1509a24a91477336b6 | 3dfc4abe501c3382e12d24a4ee88c4c914e65a3f | /console.cpp | 51c11982e7b2ec1bcbdf745021368b40c2a5383d | [] | no_license | tienquan99/Game_Quan | b42d31bd3761a98457abd3b1ec7d08ff9e2ec3e2 | 7596b0722af555d1197f6e85c3e897dee5f3c0e7 | refs/heads/master | 2021-01-03T03:39:16.640999 | 2019-10-17T06:36:53 | 2019-10-17T06:36:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,691 | cpp | #include <stdio.h>
#include <conio.h>
#include "console.h"
int inputKey() // ham nay dung ddeer lam j
{
if (_kbhit())
{
int key = _getch();
if (key == 224) // special key
{
key = _getch();
return key + 1000;
}
return key;
... | [
"noreply@github.com"
] | tienquan99.noreply@github.com |
2513ed67ab0040e5516f5c544744803bff4da5f0 | 942db7940bec56ed0c660c1325232fbd70396cf2 | /Arduino_Nano_Serial_Case/Arduino_Nano_Serial_Case.ino | 5cf3757807e2145b178c5804e2dc917c84331355 | [
"MIT"
] | permissive | rukvih/Prototype-of-system-Smart-Home | d4adb78a831f880d8513055919c80c9274154ed0 | ad414166bfaa3f252e75105e256a04d0af4513e3 | refs/heads/master | 2020-12-24T13:43:49.985044 | 2016-05-13T09:14:36 | 2016-05-13T09:14:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,547 | ino | #include <Servo.h>
#include "Ultrasonic.h"
#include <SPI.h>
#include <Wire.h>
#define fadePin 5 //ванная
#define fadePin1 9 //периметр
#define fadePin2 3 //гостиная
#define fadePin3 6 //коридор
int val;
byte newinfo, ledDoorLap;
int clocktime;
int cltime;
int valPIR = 0;
int valpir;
int vallight;
int ... | [
"viva-os@mail.ru"
] | viva-os@mail.ru |
892218156352f5b7775a711e756835433bf5604b | e8166fb5d946a9d9212107ea7ef576426d56924d | /src/CSchemaProvider.h | 23b6a835c17b4b42506719cb786f230171c72cb6 | [
"MIT"
] | permissive | tans2MA/jsontool | 3d8726ccf027c8311199365e2b72f614d23b1525 | 7b1211dfda08166e473c236cc486f145d984f0b2 | refs/heads/master | 2022-12-22T11:13:24.781089 | 2020-10-04T14:33:31 | 2020-10-04T14:33:31 | 301,051,214 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 753 | h | #ifndef CSCHEMAPROVIDER_H__
#define CSCHEMAPROVIDER_H__
#include <string>
#include <vector>
#include <map>
#include "JsonConfig.h"
#include "rapidjson/schema.h"
class CSchemaProvider : public rapidjson::IRemoteSchemaDocumentProvider
{
public:
virtual const rapidjson::SchemaDocument* GetRemoteDocument(const char* ur... | [
"Shuilong.Tan@moodys.com"
] | Shuilong.Tan@moodys.com |
f301cdaeac1d7498d3d0c6f33fb96249b2936c92 | aff3ddbb03d28e005c9d7a0654bfe158ebad25c0 | /Vestigium.cpp | aced53f90ae75db3fe6c18c7148a1841bb139c1a | [] | no_license | pradeep-kumar-1705807/Mytest | 600a3b10a65c71a6957bc0ce6f884d4892847776 | 9eea333def183f651753bb4b33a05ba0a42d4c7a | refs/heads/master | 2021-05-18T13:15:21.230079 | 2020-05-06T09:22:44 | 2020-05-06T09:22:44 | 251,258,032 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,228 | cpp | #include<bits/stdc++.h>
using namespace std;
void solve(vector<vector<int>> & matrix, int t)
{
int n=matrix.size();
int k=0,r=0,c=0;
for(int i=0;i<n;i++)
{
k+=matrix[i][i];
}
for(int i=0;i<n;i++)
{
int hashRow[1001]={0};
int hashCol[1001]={0};
bool flagRow=fal... | [
"1705807@kiit.ac.in"
] | 1705807@kiit.ac.in |
90f81163fd9352b499251b1749e700ead53193e8 | 0015191a758eaff526ceee730a53d535f1a292c5 | /include/pdk/base/time/internal/DateTimePrivate.h | 6ce8639aaba7aa4fd1f96319017f36decfde054e | [
"Apache-2.0"
] | permissive | wzugang/libpdk | 820097e564ea2024654dbceb009bd54b4b322711 | 72dd499328c5017f02ccb02389c14f50831481c6 | refs/heads/master | 2021-05-02T12:01:26.573947 | 2018-02-08T07:17:08 | 2018-02-08T07:17:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,827 | h | // @copyright 2017-2018 zzu_softboy <zzu_softboy@163.com>
//
// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
// OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
// IN NO EVENT SHALL THE AUTHOR BE ... | [
"zzu_softboy@163.com"
] | zzu_softboy@163.com |
5b4d92c9fb26c4955f974c1c265dcc8d6aec0747 | d82942a903492663abd49dfed711fe10b21c7225 | /Box2D_v2.2.1/Testbed/Tests/Tutorial/Ball2.h | bd5538ab125393555010b14d4eaa30644ae977d1 | [] | no_license | dnunez02/sfml-project | da9438a238c2996d59b0c801f4c7f85740fe86e0 | f2340f2823da644ff4e3e212f7a2784f327afceb | refs/heads/master | 2016-09-03T06:34:30.286905 | 2013-08-08T19:08:02 | 2013-08-08T19:08:02 | 11,318,144 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,680 | h | #ifndef __BALL2_H__
#define __BALL2_H__
class Ball2 {
#define DEGTORAD 0.0174532925f
#define RADTODEG 57.2957795f
public:
float m_radius, m_angle;
b2Vec2 m_position, m_linearVelocity;
public:
Ball2(b2World *world, float radius){
m_radius = radius;
b2BodyDef myBodyDef;
myBodyDef.type = b2_dyna... | [
"dan@cs.tufts.edu"
] | dan@cs.tufts.edu |
55f115c8ed1769f5f285512c448539b1f5525760 | 269e5ea9b2a845cef8026b61789fa50a31b6dca9 | /src/test/test_join_node_msg_key_matching.cpp | 25ed3597d00b118e0628e40798215893f5b6adcd | [
"Apache-2.0"
] | permissive | Formlabs/tbb | 79fc3524bfe5215486beb5a0ae363d84c5ef74ee | 2098cac88056b2e5b2c081c9fc13746f6735c270 | refs/heads/formlabs | 2021-07-09T10:08:16.547300 | 2021-04-26T16:39:08 | 2021-04-27T12:19:16 | 61,002,993 | 0 | 3 | Apache-2.0 | 2020-09-28T15:49:48 | 2016-06-13T03:01:06 | C++ | UTF-8 | C++ | false | false | 4,023 | cpp | /*
Copyright (c) 2005-2019 Intel Corporation
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 la... | [
"wenzel.jakob@epfl.ch"
] | wenzel.jakob@epfl.ch |
23aa208f8eb0f072c616ddcb765d0b3238ebc737 | 39930ecb367eefdef836b264a980b9d966cfe071 | /programme_9/src/main.cpp | 6cbbcc6438a91763e4c5709e5d4474de62e9e20c | [] | no_license | florian-devin/TP_openGL | b1129f5d437e36afecb3e4e7cfab809309bfd72b | 6643e8005cd4f06b3862bce5c69a3dacded48efb | refs/heads/master | 2023-01-19T20:30:17.582650 | 2020-12-02T10:41:41 | 2020-12-02T10:41:41 | 317,813,861 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,921 | cpp | /*****************************************************************************\
* TP CPE, 4ETI, TP synthese d'images
* --------------
*
* Programme principal des appels OpenGL
\*****************************************************************************/
#include <iostream>
#include <cstdlib>
#include <cstdio>
#... | [
"florian@PC_FIX_FLO"
] | florian@PC_FIX_FLO |
349cfdd5a57a1136eb31ea2a30ab9a886f33d323 | 00fea9459f8ed3955910a0e770af61278c93234b | /349Intersection_Two_Arrays.cpp | 58d00fa45fb098627443ffb602259d8c9de1e54f | [] | no_license | caomincan/leectcode | eff934db566d74e2b0e95b7d462c33dea06c1ee2 | 582e8ac8f37b9f62e90a94b860d4d99c0e530fe0 | refs/heads/master | 2022-12-01T23:32:56.505801 | 2020-08-12T00:51:20 | 2020-08-12T00:51:20 | 271,587,997 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 437 | cpp | class Solution {
public:
vector<int> intersection(vector<int>& nums1, vector<int>& nums2) {
unordered_set<int> total;
vector<int> ans;
for(auto n: nums1){
total.insert(n);
}
// find result
for(auto n: nums2){
if(total.find(n) != total.end()){
... | [
"micao@vt.edu"
] | micao@vt.edu |
48c69a884ecacab920c330275628192d971a894c | 9da42e04bdaebdf0193a78749a80c4e7bf76a6cc | /third_party/gecko-15/win32/include/nsIDOMCSS2Properties.h | 8ed3bea494b185c1f55ce26f2394b2b89f71fb1b | [
"Apache-2.0"
] | permissive | bwp/SeleniumWebDriver | 9d49e6069881845e9c23fb5211a7e1b8959e2dcf | 58221fbe59fcbbde9d9a033a95d45d576b422747 | refs/heads/master | 2021-01-22T21:32:50.541163 | 2012-11-09T16:19:48 | 2012-11-09T16:19:48 | 6,602,097 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 293,594 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/moz2_slave/rel-m-rel-xr-w32-bld/build/dom/interfaces/css/nsIDOMCSS2Properties.idl
*/
#ifndef __gen_nsIDOMCSS2Properties_h__
#define __gen_nsIDOMCSS2Properties_h__
#ifndef __gen_domstubs_h__
#include "domstubs.h"
#endif
/* For IDL files that don't want to in... | [
"haleokekahuna@gmail.com"
] | haleokekahuna@gmail.com |
140ff6081eaae39b21abd9185b3726e783e7274e | c70e3981d2dc8b1ff0bee54171d485c268ca1ab1 | /hw1/hw1.h | 5a60022edb3d3d953476f8ee439955fe965a8b7c | [] | no_license | fishmingyu/THUEEOS | ab725bf9888134da1ad28da37681271bd6dbec4b | b4b855f340b01453d0ac5a3441ccf00b6c5ce72b | refs/heads/main | 2023-06-25T11:01:16.072081 | 2021-06-14T12:15:33 | 2021-06-14T12:15:33 | 374,101,028 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,355 | h | #include <cstring>
#include <ctime>
#include <iostream>
#include <fstream>
#include <pthread.h>
#include <queue>
#include <semaphore.h>
#include <unistd.h>
#include <vector>
struct Customer
{
pthread_t tid;
int id;
int counter;
int enter; // enter time
int begin; // serve begin time
int wait; ... | [
"1661342068@qq.com"
] | 1661342068@qq.com |
c1c46ba8504318a2892e2e7e2747d51a3dfbb722 | 0ac4fb044735c1d8db0276834f4728980655be57 | /WrenCommon/Source/EventHandling/Events/SetTargetEvent.h | c1304677067ad96abcdf8f280ef5eb1f0df759bb | [] | no_license | ericbfriday/wren | 87d0bc21f090d46f3bce40b70a495c82615861df | 5010309a705b7016c546215da01cb5f66e8910dd | refs/heads/master | 2020-12-08T20:38:15.428673 | 2019-12-01T06:52:41 | 2019-12-01T06:52:41 | 233,088,842 | 1 | 0 | null | 2020-01-10T16:40:05 | 2020-01-10T16:40:04 | null | UTF-8 | C++ | false | false | 471 | h | #pragma once
#include <string>
#include "Event.h"
#include "Components/StatsComponent.h"
class SetTargetEvent : public Event
{
public:
SetTargetEvent(const int gameObjectId, const std::string& targetName, StatsComponent* statsComponent)
: Event(EventType::SetTarget),
gameObjectId{ gameObjectId },
targetNam... | [
"drew.kestell@gmail.com"
] | drew.kestell@gmail.com |
05a25b18fac0547d40c439b6aae115f70d17d7d2 | 7dd824a1d9224903b685c6768102fbca1d907316 | /annual/CJ14/C.cpp | 75e8afc6805a3a941f3a2e28feb2ced1aee10412 | [] | no_license | 1ridescent/ACM | c2a50f3619f9480e2bf4a7f690a12eb1574eb6b0 | 41f7b63655edd257eeab223bbaaf78d50960e789 | refs/heads/master | 2020-12-24T17:26:32.650345 | 2015-12-02T01:03:51 | 2015-12-02T01:03:51 | 20,510,103 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,078 | cpp | #include <iostream>
#include <algorithm>
#include <cstring>
using namespace std;
struct point
{
int x, y;
};
struct bdg
{
point ll, ur;
};
int dist(bdg a, bdg b)
{
int dx = min(abs(a.ll.x - b.ur.x), abs(a.ur.x - b.ll.x)) - 1;
int dy = min(abs(a.ll.y - b.ur.y), abs(a.ur.y - b.ll.y)) - 1;
//cout << "dx=" << dx << ... | [
"jasonmli02@gmail.com"
] | jasonmli02@gmail.com |
a571b1babaa0aa9ef6effff6253016a126bac7dd | 40c9df5f01ec6d9cfcbbc21f6d886dcc092b6f23 | /Wildcard_matching.cpp | cc321724d173631a2acdd172fe3d293288ef8bb9 | [] | no_license | ethanboyuan/LeetCode | aa5382023bca451febf36df5f96dad5e98d16105 | 9f22d72fc8a2c21147d93a6bad6931884e3dfa38 | refs/heads/master | 2016-09-10T01:12:29.414425 | 2014-11-01T10:34:03 | 2014-11-01T10:34:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,270 | cpp | #include <vector>
#include <iostream>
#include <string>
#include <stack>
#include <algorithm>
using namespace std;
class Solution {
public:
bool isMatch_Recursive(const char *s, const char *p) {
if(*p == '*'){
while(*p == '*') ++p;
if(*p == '\0') return true;
while(*s != '\0' &&... | [
"paul.boyuan@gmail.com"
] | paul.boyuan@gmail.com |
02aab4c4589ee26d2283940f2a95e947b8e36a7f | 29b6b38972a64f3a8336a9530445c603564cd159 | /BattleTank/Source/BattleTank/Projectile.cpp | 3d55ff70936f03398374e00b5cb015c9924d856a | [] | no_license | djidane535/BattleTank | 2bb3a25a2a0d868978b286316076714bd37e282b | ac9d52568962d64010ea017a40124da4aef9a228 | refs/heads/master | 2020-03-13T01:22:22.273490 | 2018-05-13T20:05:31 | 2018-05-13T20:05:31 | 130,902,622 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 959 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Projectile.h"
#include "Runtime/Engine/Classes/GameFramework/ProjectileMovementComponent.h"
#include "Runtime/Engine/Classes/Engine/World.h"
// Sets default values
AProjectile::AProjectile()
{
// Set this actor to call Tick() ... | [
"djidane535@gmail.com"
] | djidane535@gmail.com |
e580adb8b4abebea10bb13f71806911d79815e23 | 94e9e063763fee0c27e0bf6c3127a1e129384f8c | /cpp/arrayStuff/arrayStuff/main.cpp | 41e9bae103238b4a69a49b261881ea8a205234cc | [] | no_license | frenchbread/learning | 5b66b5a735c51124b6216e6055eec9758d96c00c | a88e62e2feb583895c5b1b8860fcd8f0b8456146 | refs/heads/master | 2021-01-18T09:51:04.585707 | 2017-06-17T12:01:21 | 2017-06-17T12:01:21 | 27,572,299 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,899 | cpp | //
// main.cpp
// arrayStuff
//
// Created by Damir Mustafin on 19/11/15.
// Copyright (c) 2015 Damir Mustafin. All rights reserved.
//
#include "PFArrayD.h"
#include "PFArrayDBak.h"
#include <cstdlib>
#include <cstring>
#include <iostream>
using namespace std;
void testPFArrayDBak();
int main() {
cout << "... | [
"frenchthebread@gmail.com"
] | frenchthebread@gmail.com |
b460c2afc4c86dd1a1e4d370243663001b952a2f | a7df494766b0478e3ab08a295838ffd3da5720ce | /Sartaj2nd/codes-1nd2nd/Data Structures, Algorithms, & Applications in C++, 2nd Edition/timeMatrix.cpp | 8e819427d372681c2aa03fe0e6658ff3d9dbd3b1 | [] | no_license | fwar34/DataStruct | 2e11a7720c3fab48d97dc591efb69d2772282814 | 37b9a51afd81d4f52ecea0f6ca467a3a1e8fd6da | refs/heads/master | 2021-01-23T01:52:26.696585 | 2019-01-04T09:52:58 | 2019-01-04T09:52:58 | 85,944,098 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 906 | cpp | // run time for add, multiply and transpose using class matrix
#include <iostream>
#include<time.h>
#include "matrix.h"
using namespace std;
#pragma optimize("t", on)
int main()
{
int n = 500; // matrix size
matrix<int> a(n,n), b(n,n), c(n,n);
int m = 500; // number of repetitions
// in... | [
"fwar34@126.com"
] | fwar34@126.com |
54851b5a51dd5ab1ada430f580473d4894b09ae5 | 0dce0043384d823586da27473b4b9e206853257c | /nn_cxx_test.cc | a3ce04059f022049a6a9bd7175b3d058bf541ec9 | [] | no_license | lichao2014/nn_cxx | 6b077207a4473ea419be85fd01687bca042da02c | eb0e67eb975d9a4d30be8b21c5f3919759bc14e9 | refs/heads/master | 2020-03-26T18:55:23.209651 | 2018-08-19T11:14:53 | 2018-08-19T11:14:53 | 145,238,861 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,439 | cc | #include "nn_cxx.h"
#include "gtest/gtest.h"
#include "pipeline.h"
#include "reqrep.h"
using namespace nn_cxx;
class SocketTest : public testing::Test {
public:
void SetUp() override {
socket_.reset(new Socket(AF::SP, NN_PUSH));
}
void TearDown() override {
socket_.reset();
}
vo... | [
"240446892@qq.com"
] | 240446892@qq.com |
7e203418a8cb895604cf8303d50346a0774a75d7 | f977b4a1c94b6dddd01f57f8297cb04cc87c5a10 | /src/core/layers/poolinglayer.h | 2ebc1d4db8aad6e6994abb6fbcaa2bd4c770f1e1 | [] | no_license | JanHalozan/ConvolutionalNeuralNetwork | f1582dfb30c24752a9a0e57183df9304bca9b6f2 | e59da46c49c2bdf4ea7d8bf3fef7c7643d1344b5 | refs/heads/master | 2020-04-16T23:34:01.382438 | 2017-04-19T11:09:20 | 2017-04-19T11:09:20 | 48,693,390 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 789 | h | //
// poolinglayer.h
// ConvolutionalNeuralNetwork
//
// Created by Jan Haložan on 29/12/15.
// Copyright © 2015 JanHalozan. All rights reserved.
//
#ifndef poolinglayer_h
#define poolinglayer_h
#include "layer.h"
namespace sf
{
class PoolingLayer;
}
class sf::PoolingLayer : public sf::Layer
{
private:
... | [
"j.halozan@gmail.com"
] | j.halozan@gmail.com |
d8f430bcec9b669cee943f90c051e938d032d5d8 | 0ba81d0995a4bc6571cee6cb5cc4d87b80a3b7fd | /aten/src/ATen/native/cuda/GridSampler.cpp | c98ab7b2d31e99d0808d29e3baf200c9617af885 | [
"BSD-2-Clause",
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"BSL-1.0",
"Apache-2.0"
] | permissive | gml16/pytorch | 07abe1b0bca9923840069e460c68005f022af6a4 | fad60484572c490384c107cf625d484e34dc9bcf | refs/heads/master | 2022-05-06T03:07:11.825083 | 2022-04-01T15:10:37 | 2022-04-01T15:10:37 | 251,362,041 | 0 | 0 | NOASSERTION | 2020-03-30T16:22:49 | 2020-03-30T16:22:48 | null | UTF-8 | C++ | false | false | 2,895 | cpp | #define TORCH_ASSERT_ONLY_METHOD_OPERATORS
#include <ATen/native/cuda/GridSampler.h>
#ifndef AT_PER_OPERATOR_HEADERS
#include <ATen/Functions.h>
#include <ATen/NativeFunctions.h>
#else
#include <ATen/ops/empty.h>
#include <ATen/ops/empty_like.h>
#include <ATen/ops/grid_sampler_2d_backward_native.h>
#include <ATen/ops/... | [
"pytorchmergebot@users.noreply.github.com"
] | pytorchmergebot@users.noreply.github.com |
723ad46b6898ab09aeaa34230d74b45a95c6c94a | fd28c774c3d549d4fec899a213064c5f5a966eb9 | /QtGuiApplication/MyViewer.h | 0415913c6f2ad6642d2687ba4777e7f7e5aae94b | [] | no_license | Maxim-Doronin/CGAL | b01692f4f650a1ee21a5bb756d5e178cfed9c6f2 | fbca96d2ef8224c48e279217ac9d202a17a57be4 | refs/heads/master | 2021-08-28T00:50:17.001633 | 2017-12-09T10:19:17 | 2017-12-09T10:19:17 | 113,611,784 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,290 | h | #pragma once
#include <vector>
#include <QGLViewer/qglviewer.h>
#include <QMessageBox>
#include <QMouseEvent>
#include "BSpline.h"
#include "typedefs.h"
class MyViewer : public QGLViewer {
public:
MyViewer(QWidget* parent);
Points3 points;
bool isRemovePointMode = false;
bool isMovePointMode =... | [
"doronin.maxim.unn@gmail.com"
] | doronin.maxim.unn@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.