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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fe90ef80bc566d87ff9717d988ce7bac4398d513 | da8c988ddefa4a7ddf20c8498d6e007be0ae866c | /src/codegen/symbol.cpp | e37b892d9c2a1112bfe382664e6fd457d8b88cf3 | [] | no_license | nkoturovic/compiler-project | 5626bbfe6672733216a3ccb0a832101de387cbea | 761c86a0b1531065a1521958568979ad09a45320 | refs/heads/master | 2020-06-15T06:34:24.354497 | 2019-09-17T04:13:41 | 2019-09-17T04:13:41 | 195,227,775 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,310 | cpp | #include "../../include/codegen/symbol.hpp"
#include <sstream>
namespace compiler::codegen {
const char* SymbolException::what() const noexcept {
std::string retval = "[SymbolTable]: " + m_msg;
return retval.c_str();
}
SymbolException::SymbolException(std::string msg) : m_msg(msg) {}
void SymbolTable::begin... | [
"necer95@gmail.com"
] | necer95@gmail.com |
665b929f8a64c4c1887ac92c893dde17638fcac6 | a49f8ef3e9b5e2a2cd35f0a10db1e87903f2bf91 | /doc/3.7.3/MPG/non-shared-domain-equal.cpp | f7022a5478d97653a51e7686098b153ae1f2db98 | [
"MIT"
] | permissive | Gecode/gecode.github.io | 03008605c67c2adf30197a3fa64d0f222520a0ef | 80d66747da11ce866e20cfff29669f37aa3185eb | refs/heads/master | 2023-08-04T06:53:52.102092 | 2021-07-14T23:05:02 | 2021-07-14T23:05:02 | 119,788,513 | 2 | 4 | NOASSERTION | 2020-12-17T04:17:27 | 2018-02-01T05:41:48 | HTML | UTF-8 | C++ | false | false | 2,415 | cpp | /*
* Authors:
* Christian Schulte <schulte@gecode.org>
*
* Copyright:
* Christian Schulte, 2008-2012
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software, to deal in the software without restriction,
* including without limitation the rights to use, cop... | [
"cschulte@sics.se"
] | cschulte@sics.se |
83f1b1dfc79a41bd21c292def909557643f60886 | 46f53e9a564192eed2f40dc927af6448f8608d13 | /ash/wm/maximize_mode/maximize_mode_window_manager.h | b29bd6d973ad28c77b2ae231b9a1845392d1fe03 | [
"BSD-3-Clause"
] | permissive | sgraham/nope | deb2d106a090d71ae882ac1e32e7c371f42eaca9 | f974e0c234388a330aab71a3e5bbf33c4dcfc33c | refs/heads/master | 2022-12-21T01:44:15.776329 | 2015-03-23T17:25:47 | 2015-03-23T17:25:47 | 32,344,868 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,938 | h | // 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.
#ifndef ASH_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_MANAGER_H_
#define ASH_WM_MAXIMIZE_MODE_MAXIMIZE_MODE_WINDOW_MANAGER_H_
#include <map>
#include <set>
... | [
"scottmg@chromium.org"
] | scottmg@chromium.org |
97d0510980c8081a8109e5f9799d6c8bffdc4368 | 62545d146d12b8dd1d46485d0f209b4f26f4412c | /CLASSEMP.CPP | ff729ebdd6590c3beb11a7369c254c6dd622e3c9 | [] | no_license | abhish3kjaswal/DataStructures_in_C | 38a4ebc1023599e96d45daf8982a71aa0597c096 | b82c794ea96c76733fb0fa10a297865a814ebbd9 | refs/heads/master | 2022-11-16T16:29:21.483702 | 2020-07-06T11:18:37 | 2020-07-06T11:18:37 | 277,517,180 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 636 | cpp | #include<iostream.h>
#include<conio.h>
class employee
{
long empid;
protected:
long phnno;
char name[120];
public:
void enter()
{
cout<<"enter emp id=";
cin>>empid;
cout<<"enter phn no=";
cin>>phnno;
cout<<"enter the name of the employee=";
cin>... | [
"abhishek.jaswal.1999@gmail.com"
] | abhishek.jaswal.1999@gmail.com |
61e331b5db9b2c2580c6bb0aa4762d77007bef44 | fa6d5ae41b1e6b5a260a74f2b6d99a876be27094 | /Set/main.cpp | 8825fd90b0477f56f1833157abec44ffdc8c0e38 | [] | no_license | okprogrammer/STL_IN_C- | 120d94d6e29ed993d3aae4ecbed43868165fcc9c | 36cb70d51a09b15c2efb5ca19eeea32bc6a2866e | refs/heads/master | 2020-03-13T23:25:01.300495 | 2018-04-29T15:50:04 | 2018-04-29T15:50:04 | 131,334,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,363 | cpp | #include <iostream>
#include<set>
//#include<iterator>
using namespace std;
class Test {
private:
string name;
int id;
public:
Test(int id, string name):id(id),name(name){
}
void print() const{
cout<<id<<": "<<name<<endl;
}
//this will return the unique object
bool operator<(const ... | [
"omk7912@gmail.com"
] | omk7912@gmail.com |
bdfdbcbd9388da5712c584f68667cea464277ec3 | 6af86f5e275224947b83cdabd71b438ce7a6af8b | /src/vnsw/agent/ksync/vnswif_listener.cc | 0f5e4d6a5a80292d17cdf4a7a957ca2eca76bc70 | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | npchandran/contrail-controller | 4799d066bbe56ccc5ffcd6bfec1e3b980879a110 | 893de3e41aa7b8e40092fba4a5da34284f5ee00f | refs/heads/master | 2022-06-01T19:19:04.096858 | 2013-10-18T10:33:15 | 2013-10-18T10:33:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,279 | cc | /*
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
*/
#include <assert.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
#include <net/if.h>
#include <sys/ioctl.h>
#include <net/address.h>
#include <oper/inet4_ucroute.h>
#include "base/logging... | [
"roque@juniper.net"
] | roque@juniper.net |
3437e5253586494262c04552d748bd29110b9342 | b62c89b9cd80bc9248bc0f8c2a6d1b3a696fd8da | /ANNTweet/network_layer.h | adae14edb2da353547dfc9d3ebb2de87e5058f12 | [] | no_license | nileshkulkarni/AI_lab | c283d934b00c562b06405774d3ce45915a204b0a | 75cd654e9b912c07a9877a47d66fb1b84bdcbc3a | refs/heads/master | 2021-01-02T08:47:28.254171 | 2014-04-16T05:35:15 | 2014-04-16T05:35:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 834 | h | #ifndef __NETWORK_LAYER_H__
#define __NETWORK_LAYER_H__
#include <iostream>
#include <stdio.h>
#include <vector>
#include "neuron.h"
//#define NEURON_INPUTS 5
//#define NETA 0.2
//double NEURON_INPUTS= 5;
//double NETA= 0.2;
class NetworkLayer{
private:
vector<Neuron> Neurons;
int N; //Neuro... | [
"nileshsatishkulkarni@gmail.com"
] | nileshsatishkulkarni@gmail.com |
ed42776ca03a01fe818cfa77cc59f3babe54597a | cf1ea40fd061c5042cebe8e97c436bc931afb4f3 | /ComplexExample/complex.cpp | 08ae645431773319fbbd0d7d317259b450a0719c | [] | no_license | cptnSeldon/CppCourse | 9615029ba27a0ec8e12c07fb9998f9dc247ddec3 | 3d64fab28babcb7464b338d40a733c4ec52aa04e | refs/heads/master | 2020-04-24T03:20:13.278329 | 2020-03-11T13:40:42 | 2020-03-11T13:40:42 | 171,667,050 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,710 | cpp | //FICHIER SOURCE
#include "complex.h"
/**
* ! ATTENTION !
* - La signature d'une méthode doit être la même dans le header (.h) que dans le fichier source (.cpp);
* - Toutes les méthodes ont un type de retour, sauf les constructeurs et destructeurs; (1)
* - NomDeClasse:: -> permet d'accéder (afin de pouvoir définir... | [
"julia.nemeth@he-arc.ch"
] | julia.nemeth@he-arc.ch |
51ff2a2077b35aa67ea4c4e8b87255f29a515752 | a5ca7cec475c59a35979bf89df5095de0cc04a29 | /scegliclifordialog.cpp | 1be51b100a3ddc54deb19054fa63192dff589a50 | [
"MIT"
] | permissive | GiadaTrevisani/SimpleBusinessManager | d75a2d57b4a18dc32d04d100fbc23cf0adb56806 | dec23378faffd4390befecfd52df8103a78b8523 | refs/heads/master | 2021-05-14T12:04:36.505563 | 2018-01-16T00:25:59 | 2018-01-16T00:25:59 | 116,398,204 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,446 | cpp | #include "scegliclifordialog.h"
#include "ui_scegliclifordialog.h"
ScegliCliForDialog::ScegliCliForDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::ScegliCliForDialog)
{
ui->setupUi(this);
ui->searchTxt->setPlaceholderText("Cerca");
ui->tableView->setSelectionBehavior(QAbstractItemView::Select... | [
"trevisani.giada@gmail.com"
] | trevisani.giada@gmail.com |
2829453f132c6d960148277fe4996f9652d1b7fc | 981dba78a54b47ed8fea096c8840fa2ba4bde242 | /src/gameworld/objects/Shooter.h | f2258e33a59cf26b576f3f55d43908de98b1d672 | [] | no_license | HALTGames/ICT207Game | aaf0742cb8dfb90e713982e3b3be0961ffa15054 | 947a9e2ee6fe36a04772147ff689453311a2402b | refs/heads/master | 2020-05-30T21:37:04.989569 | 2012-11-04T22:10:04 | 2012-11-04T22:10:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,182 | h | #include "AIObject.h"
//#include "State.h"
//#include "../StateMachine.h"
#include "../Behaviours/Seek.h"
#include "../Behaviours/SeekandShoot.h"
/**
*\Shooter
*\brief Shooter class implementation.
*
*This is the child class of AIobject
*for the Shooter AI
*
*
*\author Arran Ford
*/
class... | [
"arran_ford@live.com"
] | arran_ford@live.com |
b3b3d4862e44b6fb09ddc44325b2499380ea6e09 | 914a83057719d6b9276b1a0ec4f9c66fea064276 | /test/performance-regression/full-apps/qmcpack/src/Estimators/MJPolymerEstimator.h | 9fd58669f4a5656bb88564a520429e4cd781b9d5 | [
"BSD-2-Clause",
"NCSA",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-free-unknown",
"GPL-1.0-or-later"
] | permissive | jjwilke/hclib | e8970675bf49f89c1e5e2120b06387d0b14b6645 | 5c57408ac009386702e9b96ec2401da0e8369dbe | refs/heads/master | 2020-03-31T19:38:28.239603 | 2018-12-21T20:29:44 | 2018-12-21T20:29:44 | 152,505,070 | 0 | 0 | Apache-2.0 | 2018-10-11T00:02:52 | 2018-10-11T00:02:51 | null | UTF-8 | C++ | false | false | 2,563 | h | //////////////////////////////////////////////////////////////////
// (c) Copyright 2003- by Jeongnim Kim
//////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////
// Jeongnim Kim
// National Center for Supercomputing Applications &
// Ma... | [
"jmaxg3@gmail.com"
] | jmaxg3@gmail.com |
690567335cf05958076212cf90f38f4af0bd8954 | 8d1e13912bb99378a024d1ad8c00a29728ec3df9 | /Exercise2/HLS_labs/lab1/matrixmul.prj/solution1/sim/systemc/matrixmul.h | 1198ca66de12cac9c94b359f7f371b6f5f2e64b3 | [] | no_license | KapSteR/TIHSC | 5015cd405d61b71be6cbc20b4f9a1e3044370624 | d1ca023ec6d80063c2fdcdc51c1885e371df3b70 | refs/heads/master | 2021-01-10T21:46:16.824909 | 2015-06-22T12:27:12 | 2015-06-22T12:27:12 | 34,047,709 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,878 | h | // ==============================================================
// RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC
// Version: 2014.4
// Copyright (C) 2014 Xilinx Inc. All rights reserved.
//
// ===========================================================
#ifndef _matrixmul_HH_
... | [
"hr.kasper.nielsen@gmail.com"
] | hr.kasper.nielsen@gmail.com |
0b6bc389da965a58be41a9fa29efda282168cd6a | 65e7c147e50a1ae17269c73c79bf885e3f9b1e30 | /TribesAscendSDK/HeaderDump/UnrealEd.MaterialInstanceTimeVaryingFactoryNew.h | f13fff585c1987a9630a0d94d2e705f2668641fb | [] | no_license | indiecore/TASDK | 05134d7722c941f8e69bbe5bd20616dcc31dd9d5 | b1e7061f0e3695e74cd1bf94b6be38b287f2f2ba | refs/heads/master | 2020-12-25T03:39:55.801138 | 2013-07-31T13:36:10 | 2013-07-31T13:36:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 135 | h | #pragma once
#include "Core.Factory.h"
namespace UnrealScript
{
class MaterialInstanceTimeVaryingFactoryNew : public Factory
{
};
}
| [
"blah38621@gmail.com"
] | blah38621@gmail.com |
44c02a2512bc8fec19f5f5d3c2e0f8aa69d7dadb | 780d89a45e6a75834cb4e72fd679a5605f42b250 | /max_number_of_events.cpp | 4147ea9e2db2bf7d6c7d7c81ed96139cf8a43f52 | [] | 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 | 1,302 | cpp | //
// max_number_of_events.cpp
//
// Created by omlenka on 06/12/20.
// Copyright © 2020 omkar lenka. All rights reserved.
//
#include <iostream>
#include <vector>
#include <set>
using namespace std;
class Comparator{
public:
bool operator()(const vector<int> &a, const vector<int> &b){
if(a[1] < b[1])... | [
"omkar.lenka@gmail.com"
] | omkar.lenka@gmail.com |
0925b0eb69ca49d651f0bcc1bfd957a207d90de3 | da7786893d67d088e7c61f9d7c9a09927ee6f316 | /Benchmarking/BM/benchmarks_2018/linux/mkl/benchmarks/hpcg/src/ComputeDotProduct.hpp | 3e39e7a18fb529e352d7966745632f46adbbe8dd | [
"Intel",
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | rajambani/Cloud-Computing | 0173da29be8f8113abfb8f28b28bcb5d0ed19669 | d4bbc2be07d5d863add9f70acb356e0fbfec73c0 | refs/heads/master | 2020-04-26T22:56:58.483593 | 2019-03-05T07:09:51 | 2019-03-05T07:09:51 | 173,888,175 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,987 | hpp | /*******************************************************************************
* Copyright 2014-2017 Intel Corporation All Rights Reserved.
*
* The source code, information and material ("Material") contained herein is
* owned by Intel Corporation or its suppliers or licensors, and title to such
* Material rem... | [
"ambaniraj007@gmail.com"
] | ambaniraj007@gmail.com |
966e52646538962b237c3965a74fd2ade8ce8da0 | de7e771699065ec21a340ada1060a3cf0bec3091 | /test-framework/src/java/org/apache/lucene/util/RamUsageTester.cpp | 4dfb4ca91e46ed0042b4225e1da6316d853ba210 | [] | no_license | sraihan73/Lucene- | 0d7290bacba05c33b8d5762e0a2a30c1ec8cf110 | 1fe2b48428dcbd1feb3e10202ec991a5ca0d54f3 | refs/heads/master | 2020-03-31T07:23:46.505891 | 2018-12-08T14:57:54 | 2018-12-08T14:57:54 | 152,020,180 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,167 | cpp | using namespace std;
#include "RamUsageTester.h"
namespace org::apache::lucene::util
{
int64_t RamUsageTester::Accumulator::accumulateObject(
any o, int64_t shallowSize,
unordered_map<std::shared_ptr<Field>, any> &fieldValues,
shared_ptr<deque<any>> queue)
{
queue->addAll(fieldValues.values());
retur... | [
"smamunr@fedora.localdomain"
] | smamunr@fedora.localdomain |
93c1696159e24c85936c7c8bed699b9eb083e6a6 | b96a79bd6bea40ddbcef66b86de72873e21c8264 | /myanyCamM/src/main/jni/SDL/src/video/bwindow/SDL_bopengl.cc | f0124140b01a9d7995c7dfa64f9d76b3bfc097f1 | [] | no_license | widsdom-yl/myanycam_118 | 6ff3e70e184a9be59b93e6aaeba2a8a7252879a9 | 3a6d552bb539950dce36b33fd2be050697f04219 | refs/heads/master | 2020-03-18T16:05:40.703661 | 2018-07-22T12:40:50 | 2018-07-22T12:40:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,464 | cc | /*
Simple DirectMedia Layer
Copyright (C) 1997-2012 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to u... | [
"807510889@qq.com"
] | 807510889@qq.com |
04181f63a4cae53c6d55a54679b15a428ce82142 | f4eb261fa0b99aeaee13aaa51eed34a3ed73b595 | /devel/include/brics_actuator/JointValue.h | 05aa4b4f1bc353e93da4f332fd9dc87f6b5ea11d | [] | no_license | utkarshiam/Don-t-Know-Why-Drone | b3bd2d283ebdce69c69a1235844c6e096720570c | a27fcf034116e8ff4531c4e4a4a4b9f2a0c2c798 | refs/heads/master | 2020-04-05T21:37:30.992779 | 2018-11-12T14:42:04 | 2018-11-12T14:42:04 | 157,227,109 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,168 | h | // Generated by gencpp from file brics_actuator/JointValue.msg
// DO NOT EDIT!
#ifndef BRICS_ACTUATOR_MESSAGE_JOINTVALUE_H
#define BRICS_ACTUATOR_MESSAGE_JOINTVALUE_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#in... | [
"utkarshdhy@gmail.com"
] | utkarshdhy@gmail.com |
2af8be38de376213e949d64d79348b10e16d2576 | b31b78d3422b08de6e02f806df54c65bd0847c3a | /hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/x-platform/syscall.h | 9959f215b20689e2eaa52894915f86e184527bf2 | [
"BSD-3-Clause",
"LicenseRef-scancode-jdom",
"EPL-1.0",
"Classpath-exception-2.0",
"MIT",
"GPL-2.0-only",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference",
"CDDL-1.1",
"CC0-1.0",
"CC-BY-3.0",
"CC-PDDC",
"GCC-exception-3.1",... | permissive | snehavarma/hadoop | 3c5f519af4618504909dd802f9bda88cbd2e9d6f | c81f82e21d137b6d45c20c481e7bbc6160d72f94 | refs/heads/trunk | 2023-06-13T03:23:16.200421 | 2021-07-12T01:16:13 | 2021-07-12T01:16:13 | 339,329,608 | 0 | 0 | Apache-2.0 | 2021-06-21T07:34:22 | 2021-02-16T08:22:44 | Java | UTF-8 | C++ | false | false | 4,494 | h | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | [
"noreply@github.com"
] | snehavarma.noreply@github.com |
6849326cd303fd2530a7ac6066f0b6b84128cf06 | 4116241c055f8abde9480764ef8b49a68607a994 | /Ex05/tteam.cpp | 823880bd6f50a111e2b9a5db7b5fa830335960b6 | [] | no_license | fussballteammanager/AKT-7-SS-2016 | 88ee5e7fcdda8d60e083c80492c4517a124352dd | 46ad4f764f18a529ff238335553e598767b4152e | refs/heads/master | 2021-01-17T16:22:48.778133 | 2016-07-04T21:33:10 | 2016-07-04T21:33:10 | 56,082,329 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,929 | cpp | #include <iomanip>
#include <string>
#include <iostream>
#include <fstream>
#include <cstdio>
#include "tteam.h"
#include "ttools.h"
using namespace std;
TTeam::TTeam()
{
this->name = "";
this->trainer = "";
this->NumberOfGames = 0;
this->Goals.setGoals(0,0);
this->NumberOfPoints = 0;
this->N... | [
"ts@ts.de"
] | ts@ts.de |
4e7fe0a93432b7a8b09a638add0c796d01012aac | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_patch_hunk_1775.cpp | 71c0c3643de8ba05679502140dc031cd297c70f5 | [] | 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 | 880 | cpp | argc = parse_options(argc, argv, prefix, options, git_update_ref_usage,
0);
if (msg && !*msg)
die("Refusing to perform update with empty message.");
if (read_stdin) {
- transaction = ref_transaction_begin();
+ struct strbuf err = STRBUF_INIT;
+ struct ref_transaction *transaction;
+
+ transactio... | [
"993273596@qq.com"
] | 993273596@qq.com |
a204ee7d90faf38813b542888ddae08dcc68154a | d908cd542ea2484a37f7a8c1dd56f92778bb869d | /trace.h | e79b6534a2896652063379d0b052f14c609e6cca | [] | no_license | Phew/lucid-lby | 8e84f078cf686b5da37031fd34dce5bdadc6daad | a541fceba7e4727a67df1f11acc691beeedab5ef | refs/heads/main | 2023-07-29T17:21:52.753946 | 2021-09-09T02:38:16 | 2021-09-09T02:38:16 | 394,160,648 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 13,672 | h | #pragma once
using ShouldHitFunc_t = bool (__cdecl *)( Entity *, int );
enum {
CHAR_TEX_ANTLION = 'A',
CHAR_TEX_BLOODYFLESH = 'B',
CHAR_TEX_CONCRETE = 'C',
CHAR_TEX_DIRT = 'D',
CHAR_TEX_EGGSHELL = 'E',
CHAR_TEX_FLESH = 'F',
CHAR_TEX_GRATE = 'G',
CHAR_TEX_ALIENFLESH = ... | [
"noreply@github.com"
] | Phew.noreply@github.com |
6eae319477ffef35dab8c836e501a7da12830e7d | f498d6a411235d61a6cc874bfc90dea9130bdbd7 | /k_frequent_elements.cpp | b786eb6608114ab68bd3104aa1e2cd7be929bd02 | [] | no_license | dandugula/leetcode_random | 249d5d7aa23963112f70e833b16100ffd58e3edb | 0a2c89cbff65fa9fb5bec2d1c7b22463e4b22187 | refs/heads/master | 2020-04-19T18:12:50.056518 | 2020-03-26T11:22:15 | 2020-03-26T11:22:15 | 168,357,068 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 874 | cpp | class Solution {
public:
vector<int> topKFrequent(vector<int>& nums, int k) {
std::map<int, int> freq_map;
std::vector<std::pair<int, int>> sorted;
std::vector<int> res;
std::for_each(nums.begin(), nums.end(), [&freq_map](auto i){
if(freq_map.find(i) == freq_map.end(... | [
"chaitanya@chadan.in"
] | chaitanya@chadan.in |
76db135ca0abce4ab73c18ccb3c02cfd9316d3b7 | c46826890d4f9757da18d6315ee9e9930750a1d5 | /variants_shapes/include/shapes_types.hpp | 69a9f7704776a5257f9b21ea55b8439078dbebb2 | [] | no_license | theblockstalk/eosio-contracts | 6fef294f6d3fed00f121aed2ddcdb658033e75bc | de09b180fcb500486ebc8fabccef6bec8a3dd0eb | refs/heads/master | 2023-01-13T14:50:13.321896 | 2020-04-15T14:17:12 | 2020-04-15T14:17:12 | 225,670,521 | 8 | 3 | null | 2022-12-30T19:53:08 | 2019-12-03T16:49:56 | JavaScript | UTF-8 | C++ | false | false | 247 | hpp | #ifndef shapes_types_h
#define shapes_types_h
#include <string>
struct Shape {
std::string shape_name;
};
struct Rectangle : public Shape {
uint32_t width;
uint32_t height;
};
struct Circle : public Shape {
uint32_t diameter;
};
#endif | [
"jack@jackandtheblockstalk"
] | jack@jackandtheblockstalk |
00e27525a1de48de8940eb99d595504fff19be41 | 19d1c24484c1771c0be7cdef45f3342a6889a4cb | /nnforge/cuda/convolution_1x1_layer_tester_cuda.h | e6ef513ad6f871a6a44d1bf8f77f8b2ebd2e8057 | [
"Apache-2.0"
] | permissive | dreadlord1984/nnForge | 06bc261fa9d9d58c45aafdbf3f7026990809c288 | b4c795ab6ddf3ce9dfe8a628dd1ad33dd19dee9b | refs/heads/master | 2021-01-18T13:40:21.646717 | 2014-08-06T18:23:53 | 2014-08-06T18:23:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,676 | h | /*
* Copyright 2011-2014 Maxim Milakov
*
* 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 applic... | [
"maxim.milakov@gmail.com"
] | maxim.milakov@gmail.com |
15cedbc2e56c59fbefe952ff6d56c04fc083bce8 | b654585463bdf63ddb809f37d0b88bb9af9d6a02 | /src/SpeedEncoder.cpp | 6682e18be814ee964f1ec9fcfd336e39ede45dd6 | [] | no_license | james-ward/aerial-assist | 68469ead8f7849480a6f5eb65cde79306505fbe8 | ac3d9767301bc938b0087c6ea6ab190ad3e4bf15 | refs/heads/master | 2020-12-25T20:20:46.430142 | 2014-11-06T00:36:28 | 2014-11-06T00:36:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 227 | cpp | #include "SpeedEncoder.h"
SpeedEncoder::SpeedEncoder(int channelA, int channelB, bool reverse)
:Encoder(channelA, channelB, reverse){
}
SpeedEncoder::~SpeedEncoder(){
}
double SpeedEncoder:: PIDGet(){
return GetRate();
}
| [
"zlapstun@gmail.com"
] | zlapstun@gmail.com |
cab5f8430191a9f1fda540ef09745c198cf60bb8 | e89fbd2ad53607eb3adcbbd23d78c5c9c6746ef2 | /src/Utils/Tests/GeometricDerivatives/NumericalHessianCalculatorTest.cpp | 7b200df3036738050d06a2833d1b241ca2284b90 | [
"BSD-3-Clause"
] | permissive | qcscine/utilities | 337f0fbd8bb976c892e53f8e4d286e928da6ac15 | a498b9bd3883b10cb095845a9d50c9815f4b7eef | refs/heads/master | 2023-05-25T03:35:19.995036 | 2023-05-12T06:51:08 | 2023-05-12T06:51:08 | 191,567,823 | 4 | 5 | BSD-3-Clause | 2020-04-27T11:53:38 | 2019-06-12T12:35:11 | C++ | UTF-8 | C++ | false | false | 10,667 | cpp | /**
* @file
* @copyright This code is licensed under the 3-clause BSD license.\n
* Copyright ETH Zurich, Laboratory of Physical Chemistry, Reiher Group.\n
* See LICENSE.txt for details.
*/
#include "Utils/GeometricDerivatives/NumericalHessianCalculator.h"
#include "Utils/GeometryOptimization/... | [
"scine@phys.chem.ethz.ch"
] | scine@phys.chem.ethz.ch |
0e3fb82cf95e276ec44961ee1dfa12a8f1c3e41b | e8e6a1a95839970c7935e6403a3f4cb871f9b99b | /CppTextAdvGame/Game.h | 4a5f6d08737e9885c14d8130d8bbec0e7bc9b4ff | [] | no_license | JamesZoft/CppTextAdvGameMkII | 5988c1569bc10c7e20197e76cbd929f0447ac3f9 | 16c272baa9112628fee1efd9686541ffa8debb31 | refs/heads/master | 2021-05-28T09:07:38.196768 | 2014-01-24T17:34:08 | 2014-01-24T17:34:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 71 | h | #pragma once
class Game
{
public:
Game();
void play();
~Game();
};
| [
"james@jamesreed.name"
] | james@jamesreed.name |
1e4e3fc6a519e0b96cbb24235aebe073b70e8f5e | b28e7f27aad765392e3a3e11b4847b47bab43b3d | /AIPDebug/Out-Moc/moc_Widget_INDL.cpp | 502ab5502a6c70c177839001914bfa74a1ba08fc | [
"Apache-2.0"
] | permissive | Bluce-Song/Master-AIP | f7e3692c1ffd023f503dd482a99aabf8f073e405 | 1757ab392504d839de89460da17630d268ff3eed | refs/heads/master | 2020-03-22T21:37:15.628811 | 2018-07-12T11:03:12 | 2018-07-12T11:03:12 | 140,701,059 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,377 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'Widget_INDL.h'
**
** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5)
**
** WARNING! All changes made in this file will be lost!
*********************************************************... | [
"songliang008@163.com"
] | songliang008@163.com |
58e37eb587c3a41043ffabf1bb62dc1cd2668300 | 88e1ba1977eefc8d156ae196e78fc20b579ccc9f | /TouchGFX/generated/fonts/src/Font_verdana_20_4bpp_0.cpp | f5b46f0a15a69f6acbde90659082a0a782bdd5c8 | [] | no_license | mihailozar/DisplayNew | 79d0b5b0c49c19236017bf28c8f55c70987d1f92 | 077fe4b6b88f407ad2debb1a6301009a0c0133a3 | refs/heads/main | 2023-08-19T21:42:53.999831 | 2021-10-20T18:20:41 | 2021-10-20T18:20:41 | 419,431,267 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 630 | cpp | #include <touchgfx/hal/Types.hpp>
FONT_GLYPH_LOCATION_FLASH_PRAGMA
KEEP extern const uint8_t unicodes_verdana_20_4bpp_0[] FONT_GLYPH_LOCATION_FLASH_ATTRIBUTE = {
// Unicode: [0x003F]
0x93, 0xEC, 0xDE, 0x29, 0x00, 0xF7, 0xAD, 0xDA, 0xEF, 0x02, 0x33, 0x00, 0x00, 0xF9, 0x0A, 0x00,
0x00, 0x00, 0xF3, 0x0C, 0x00... | [
"70112156+mihailozar@users.noreply.github.com"
] | 70112156+mihailozar@users.noreply.github.com |
6ac04d0e12c2333a81c0d7336eb5248e17335bdc | 9d364070c646239b2efad7abbab58f4ad602ef7b | /platform/external/chromium_org/chrome/test/base/view_event_test_base.h | a70a6daaefdd362c09e63f65dba72b43954eb55d | [
"BSD-3-Clause"
] | permissive | denix123/a32_ul | 4ffe304b13c1266b6c7409d790979eb8e3b0379c | b2fd25640704f37d5248da9cc147ed267d4771c2 | refs/heads/master | 2021-01-17T20:21:17.196296 | 2016-08-16T04:30:53 | 2016-08-16T04:30:53 | 65,786,970 | 0 | 2 | null | 2020-03-06T22:00:52 | 2016-08-16T04:15:54 | null | UTF-8 | C++ | false | false | 2,475 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_TEST_BASE_VIEW_EVENT_TEST_BASE_H_
#define CHROME_TEST_BASE_VIEW_EVENT_TEST_BASE_H_
#if defined(HAS_OUT_OF_PROC_TEST_RUNNER)
#include ... | [
"allegrant@mail.ru"
] | allegrant@mail.ru |
054ee16c3f5e7f88160ac39707412dc616a564b0 | 7769b6c5f4c11d145e2c06f2c3c9862d999f6b60 | /firmware/keyboards/CNCEncoderPad/keymaps/test/keymap.cpp | 6b27a3736dab2926ce81dcd439e4ac02c691c9cf | [
"BSD-3-Clause"
] | permissive | themmes/BlueMicro_BLE | 97de981e01b4a5daf5adaa227c4e04d4acd3d5b1 | 9097602d33e93a8c3e21e0d472baff1a7cbd4ba2 | refs/heads/master | 2021-06-13T23:48:55.728140 | 2021-04-09T16:12:14 | 2021-04-09T16:12:14 | 186,180,384 | 0 | 0 | BSD-3-Clause | 2021-04-09T16:12:15 | 2019-05-11T20:53:30 | C++ | UTF-8 | C++ | false | false | 2,855 | cpp | /*
Copyright 2018 <Pierre Constantineau>
3-Clause BSD License
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the follow... | [
"jpconstantineau@gmail.com"
] | jpconstantineau@gmail.com |
af8ee724d09e53f05801b498ba7b2eda7b7b86bc | 968ad92cc0b69ec1fb0225f8c6912443e63cc260 | /algorithms/implementation/cavityMap.cpp | 1a95b86f4394f6844c45628348211b25117bfc44 | [] | no_license | duonghdo/hackerrank | ba4c529ae08d58a23daca751c92d605ca69acfea | 0299a2d30b8083f2ec7a5636ae8584e948c77e03 | refs/heads/master | 2021-01-10T20:09:49.396319 | 2015-11-23T05:14:32 | 2015-11-23T05:14:32 | 40,314,113 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 637 | cpp | #include <iostream>
#include <string>
using namespace std;
int main(){
int n;
cin >> n;
string a;
getline(cin, a);
char ar[n][n];
for(int i = 0; i < n; i++){
string s;
getline(cin, s);
for(int j = 0; j < n; j++){
ar[i][j] = s[j];
}
}
for(int i = 0; i < n; i++){
for(int j = 0; j < n; j++){
if(... | [
"duonghdo@users.noreply.github.com"
] | duonghdo@users.noreply.github.com |
520797f7a9f2bb18aa2887c6fcfd3f169c991748 | 6583edc2600e2093e4ed8243c4439c9763171947 | /91minadjustmentcost.cpp | 68ebcf82c1695d2ca2c56eee4eb44d7ef1f61c36 | [] | no_license | adamap/code_test | 41f2cd014541f78ab3ede9c20837668aff8e07bd | 68dac955aac4664087e1a31884b01c2c45b5bca0 | refs/heads/master | 2020-06-07T13:52:12.357152 | 2016-02-16T01:52:14 | 2016-02-16T01:52:14 | 13,907,917 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,105 | cpp | //Given an integer array, adjust each integers so that the difference of every adjacent integers are not greater than a given number target.
//
//If the array before adjustment is A, the array after adjustment is B, you should minimize the sum of |A[i]-B[i]|
//
//
//Given [1,4,2,3] and target = 1, one of the solutions ... | [
"dzheng_box@hotmail.com"
] | dzheng_box@hotmail.com |
571e902eb76ea903663516dffe2bf4903c06fe2c | d14ffa7a58ac5f6661ba8dc9503ed7340aad017f | /jetpack/src/CodeGenFragment.cpp | 7cb64c2e7d1eb42d7386a7c3c458a051564fdc4c | [
"MIT"
] | permissive | prpr2012/jetpack.js | 59e4dd510f743d3a100b27b4ad0b514bd63217d4 | 3ec5fdf9e423539ec57217753735423e5ac23666 | refs/heads/master | 2023-09-02T17:56:40.316795 | 2021-11-23T02:46:24 | 2021-11-23T02:48:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 78 | cpp | //
// Created by Vincent Chan on 2021/11/12.
//
#include "CodeGenFragment.h"
| [
"okcdz@diverse.space"
] | okcdz@diverse.space |
0eeb70663741fe4724c1e7f4e8be86992bb681e8 | 3a2f8cce573d379484878392c4fbe2b9f62808ca | /src/ControlNode.cpp | 6976891e4adb0175d3afb871e8847b69da961908 | [] | no_license | aeonphyxius/AeonBehaviorTree | 7eaf01772473cb06254690d9ac70efc0422e9099 | de95c388c1090930fcf5e53d0137479dd290ab0c | refs/heads/master | 2020-05-30T14:45:52.734150 | 2016-10-02T10:55:15 | 2016-10-02T10:55:15 | 69,695,451 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 174 | cpp | #include "ControlNode.h"
#include "Utils.h"
using namespace AeonBehaviorTree;
ControlNode::ControlNode(std::string name)
: TreeNode(name)
, current(0)
{
state = IDLE;
}
| [
"alejandro@2awesomestudio.com"
] | alejandro@2awesomestudio.com |
75667d3a384b88ee05d0c51048b6ab2fe6146c5b | f9c797f88ed6e1d2a30db5d9df2cc5c4123a4c3f | /src/main.cpp | 468eaba559969637ebd3777778c989e37d88e21e | [] | no_license | hantengx/LeetCode | 4613a60221dd8abc18218cd134cdfa3d8ed9967c | 2ab6c1f3ac4f5d143f9f555c4c2a786b7cb968f2 | refs/heads/master | 2021-12-27T03:17:40.428673 | 2021-11-28T02:57:25 | 2021-11-28T02:57:25 | 179,851,538 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,485 | cpp | #include <iostream>
#include <ctime>
#include <vector>
#include "string/ReverseInteger.h"
#include "string/FirstUniqChar.h"
#include "string/IsPalindrome.h"
#include "string/MyAtoi.h"
#include "string/CountAndSay.h"
#include "SingleLinked.h"
#include "MyTree.h"
#include "MyArray.h"
#include "MyMatrix.h"
#include "MySea... | [
"hantengx@163.com"
] | hantengx@163.com |
ed9b0051d38767a7d530932e5ae038c663127fab | c29673e6eb4d7677219bc9e580269680ee1c882c | /10953.cpp | 6fc07ef382d4dc62f79df485db5e94f789ef49b3 | [] | no_license | hayoonida/bj-study | 3dad8bdcb13b99fc61c342b0105a765a2b68cb71 | 002c0a98973646801134325f24821f69eb03ec09 | refs/heads/master | 2020-09-20T19:26:11.436045 | 2019-12-28T13:42:45 | 2019-12-28T13:42:45 | 224,571,324 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 230 | cpp | #include<iostream>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
int T, A, B;
char c; //comma
cin >> T;
for (int i = 1; i <= T; i++) {
cin >> A >> c >> B;
cout << A + B << "\n";
}
}
| [
"noreply@github.com"
] | hayoonida.noreply@github.com |
8be628432ceda1fa34ebc196cdffb3aca67f5923 | 79391a7d64eee9fe3e775a23131d5ec3a5223c7b | /src/core/collection.hpp | cb0d4962030189a8a036a0dd8de895ce83442d53 | [] | no_license | unnikrishnanta/qac-eval | ff1c5dbd1c992b99db1c866c245d37e87ccf8ab3 | 18898d0b31bd640789f58b3c6ddec2c424895ae9 | refs/heads/master | 2023-02-03T23:18:01.508789 | 2020-12-21T18:15:06 | 2020-12-21T18:15:06 | 213,298,621 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,493 | hpp | #ifndef COLLECTION_H
#define COLLECTION_H
#include<string>
#include<vector>
#include<utility>
#include "dtypes.hpp"
#include "config.hpp"
class Collection {
public:
void read_collection(const char& coll_type, const size_t& n_rows,
const bool& skip_header=false,
... | [
"unnikrishnan.t.a@gmail.com"
] | unnikrishnan.t.a@gmail.com |
e73b907121ce34c6aefb11e1bdbcea922a905470 | 4c8c13eb891b514037d3adb1be7f28af53144e85 | /test/core/test_periodic_verlet_list.cpp | 93ac5efd304265d863277b23eb0953736341c4ba | [
"MIT"
] | permissive | Mjolnir-MD/Mjolnir | f07b501cf60d6d1ca7cdeafc400749423dcde142 | 20dbdea5529c24a49b71e8876ac1651efc512445 | refs/heads/master | 2023-02-03T22:59:33.972243 | 2022-04-12T10:23:04 | 2022-04-12T10:23:04 | 74,558,351 | 14 | 9 | MIT | 2023-01-27T04:46:54 | 2016-11-23T08:53:31 | C++ | UTF-8 | C++ | false | false | 13,065 | cpp | #define BOOST_TEST_MODULE "test_periodic_verlet_list"
#ifdef BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#else
#include <boost/test/included/unit_test.hpp>
#endif
#include <test/util/stub_potential.hpp>
#include <mjolnir/util/empty.hpp>
#include <mjolnir/util/logger.hpp>
#include <mjolnir/util/range.hpp>... | [
"niina.toru.68u@gmail.com"
] | niina.toru.68u@gmail.com |
9a100e5314fdd4ffca34890dda1a395a564fd2ad | 2558d081018b41203812933efe70365b71681987 | /Recursion/occurance.cpp | 781700ad4055da257258a846829969cad5781a0e | [] | no_license | erwasim1/DSA | a166a2b662e1ba0ce64c3c84bc894cec0b5dbcef | c17ec591147142a467ffdc5d54028cdb3efaf1b0 | refs/heads/master | 2023-06-24T14:06:36.261310 | 2021-07-27T04:34:22 | 2021-07-27T04:34:22 | 389,848,274 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 648 | cpp | #include<iostream>
using namespace std;
int firstocc(int arr[],int n,int i,int x){
if(i==n){
return -1;
}
if(arr[i]==x){
return i;
}
return firstocc(arr,n,i+1,x);
}
int lastocc(int arr[],int n,int i,int x){
if(i==n){
return -1;
}
int Restarray=lastocc(arr,n,i... | [
"wasimzaffar58@gmail.com"
] | wasimzaffar58@gmail.com |
d2032c4f2fdf7f868f68f218e9fa3c392633e0f1 | 8ed61980185397f8a11ad5851e3ffff09682c501 | /thirdparty/GeometricTools/WildMagic5/SampleMathematics/NonlocalBlowup/CpuPdeSolver2.h | e0eda6d6950187c1c79371dc89bcbe950153740f | [
"BSD-2-Clause-Views"
] | permissive | SoMa-Project/vision | 8975a2b368f69538a05bd57b0c3eda553b783b55 | ea8199d98edc363b2be79baa7c691da3a5a6cc86 | refs/heads/melodic | 2023-04-12T22:49:13.125788 | 2021-01-11T15:28:30 | 2021-01-11T15:28:30 | 80,823,825 | 1 | 0 | NOASSERTION | 2021-04-20T21:27:03 | 2017-02-03T11:36:44 | C++ | UTF-8 | C++ | false | false | 2,185 | h | // Geometric Tools, LLC
// Copyright (c) 1998-2014
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
//
// File Version: 5.3.0 (2010/09/07)
#ifndef CPUPDESOLVER2_H
#define CPUPDESOLVER2_H
#inc... | [
"j.abele@tu-berlin.de"
] | j.abele@tu-berlin.de |
10d6e7e545972dd2f82db20b526bd0ba655c0f20 | 9fa944da2a34f37466ed55a512433ef591003775 | /FCFS_Queue/FCFSQueue.cpp | 6e1f4767bd057a3fe83b196c3891cff99ee681bd | [] | no_license | guygreenleaf/DiskSimulator | 0352b064e26d112ded3a1c7db8e13a90608a2508 | 10453dbb8e14c0b6163030ca0268c66e906e5a83 | refs/heads/master | 2023-02-19T15:51:27.766325 | 2021-01-21T19:35:41 | 2021-01-21T19:35:41 | 306,846,691 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,065 | cpp | //
// Created by Ali A. Kooshesh on 10/1/18.
//
#include "FCFSQueue.hpp"
#include "../CommonFiles/Request.hpp"
void FCFSQueue::addRequest(Request *request, int cRWHeadTrack, int cRWHeadSector) {
FCFSQueueNode *rNode = new FCFSQueueNode(request);
if( empty() ) {
head = tail = rNode;
} else {
... | [
"yaweh23@gmail.com"
] | yaweh23@gmail.com |
9b939d31489b16a1b15005da6cb82c37a8cf85f9 | 3fedacdc9a43f35609cafa4715c0b098c609c325 | /Contest/YEAR 2012/Contest-20 sep/prob J/Untitled3.cpp | 9187644a81f3c9a98f603e8779f7de19a6bf44de | [] | no_license | codecameo/ProblemSolved | 7f7fc5ce9829cde4bcb239da6c0893852e370d2c | 77fe538c76276319bc40ad98f77b59072d6368a0 | refs/heads/master | 2020-03-14T22:03:30.851199 | 2018-07-13T14:16:19 | 2018-07-13T14:16:19 | 131,319,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 706 | cpp | #include <stdio.h>
#include <iostream>
#include <math.h>
#include <string.h>
#define MAX 10000000
using namespace std;
int prime[1000000];
bool table[MAX];
void sieve()
{
memset(table,0,sizeof(table));
table[0]=table[1]=true;
int i,j;
for(i=4;i<=MAX;i+=2) table[i]=true;
for(i=3;i*i<=MAX;i+=2)
if(table[i]==0)
for(j=i*i;... | [
"code.cameo92@gmail.com"
] | code.cameo92@gmail.com |
5ab6cd867e3e80ed77e804b984314ba058a37637 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-old-new/CMake-old-new/Kitware_CMake_patch_701.cpp | f203be9a9dac6327664621dca8e44e66d6cdf3b3 | [] | 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 | 8,231 | cpp | @@ -16,9 +16,6 @@
=========================================================================*/
#include <SystemTools.hxx>
-#include <RegularExpression.hxx>
-#include <Directory.hxx>
-
#include <std/iostream>
#include <std/fstream>
@@ -525,60 +522,6 @@ bool SystemTools::DeleteRegistryValue(const char *)
}
#endi... | [
"993273596@qq.com"
] | 993273596@qq.com |
2ef97934aeb1b3fa990eca9916677133aa60f988 | 190219e4aca487f7c65de81484b993b362825131 | /v2/external/llvm-2.8/lib/MC/MCDisassembler/EDOperand.h | 6e695224318c56d78286a351bd85742ead8c73fe | [
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | dilawar/ahir | b6a56ed5c61f121c09ef6636d7dd2752d97529b5 | 9c5592a4df7a47b9c1e406778cc7c17316bcfb4e | refs/heads/master | 2021-07-14T18:04:20.484255 | 2020-07-26T20:18:34 | 2020-07-26T20:18:34 | 184,123,680 | 1 | 0 | NOASSERTION | 2019-04-29T18:34:26 | 2019-04-29T18:34:26 | null | UTF-8 | C++ | false | false | 3,084 | h | //===-EDOperand.h - LLVM Enhanced Disassembler ------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===------------------------------------------------------... | [
"dilawars@ncbs.res.in"
] | dilawars@ncbs.res.in |
550594712434ad2bba11883ec3e709c286c92571 | fd89b6118e06a9a89ea22559e11028b4888007d7 | /icd/api/llpc/util/llpcPassDeadFuncRemove.h | 93d89016f8f419918ed806aaf5c4dcfd6248238a | [
"NCSA",
"Apache-2.0",
"MIT"
] | permissive | PetarKirov/xgl | 2d17f133faf821e216d440ad41374470576da656 | f64f29cf31c715e9899a04aa9d866aedbd02cffd | refs/heads/master | 2021-08-31T17:15:05.347340 | 2017-12-22T05:43:21 | 2017-12-22T05:45:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,827 | h | /*
*******************************************************************************
*
* Copyright (c) 2017 Advanced Micro Devices, Inc. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to de... | [
"jacob.he@amd.com"
] | jacob.he@amd.com |
8e4d1ffe2f3264417da864f22773345fbb430929 | f81b774e5306ac01d2c6c1289d9e01b5264aae70 | /chrome/browser/media/router/providers/cast/cast_activity.h | 2278a2d80908a44dadc685acfc44da381f85e463 | [
"BSD-3-Clause"
] | permissive | waaberi/chromium | a4015160d8460233b33fe1304e8fd9960a3650a9 | 6549065bd785179608f7b8828da403f3ca5f7aab | refs/heads/master | 2022-12-13T03:09:16.887475 | 2020-09-05T20:29:36 | 2020-09-05T20:29:36 | 293,153,821 | 1 | 1 | BSD-3-Clause | 2020-09-05T21:02:50 | 2020-09-05T21:02:49 | null | UTF-8 | C++ | false | false | 7,970 | h | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_MEDIA_ROUTER_PROVIDERS_CAST_CAST_ACTIVITY_H_
#define CHROME_BROWSER_MEDIA_ROUTER_PROVIDERS_CAST_CAST_ACTIVITY_H_
#include <memory>... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
f148eff578252d3eb565f6fae6ec016da49df157 | 91883f7714449fd101f6a255bb2a200c9e4ffa60 | /GenericPS2Keyboard/ApplePS2KeyboardDevice.h | 15c7d30cc3e04e8c346b9ece795a61e02d60d6b3 | [] | no_license | fredemmott/GenericPS2Keyboard | 19ecc55f0723195b44ba574505f9645cd57db775 | 69ad95e341acb6d29ccacd4da85770ad3a46db51 | refs/heads/master | 2021-01-10T20:00:55.584586 | 2012-02-01T19:56:44 | 2012-02-01T19:56:44 | 3,328,376 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,516 | h | /*
* Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* The contents of this file constitute Original Code as defined in and
* are subject to the Apple Public Source License Version 1.1 (the
* "License"). You may not use this file except in compliance with th... | [
"mail@fredemmott.co.uk"
] | mail@fredemmott.co.uk |
09c2fd29bae03df28acfee14727d3d5958fd6c38 | e04f52ed50f42ad255c66d7b6f87ba642f41e125 | /appseed/music_midi_xaudio/player/music_midi_xaudio2_player_callback.cpp | 05c6309e2e809e058f4df6f788736c61b8911f91 | [] | no_license | ca2/app2018 | 6b5f3cfecaa56b0e8c8ec92ed26e8ce44f9b44c0 | 89e713c36cdfb31329e753ba9d7b9ff5b80fe867 | refs/heads/main | 2023-03-19T08:41:48.729250 | 2018-11-15T16:27:31 | 2018-11-15T16:27:31 | 98,031,531 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,694 | cpp | #include "framework.h"
namespace music
{
namespace midi
{
namespace mmsystem
{
namespace player
{
callback::callback(sp(base_application) papp) :
m_wnd(papp)
{
}
callback::~callback()
{
... | [
"camilo@ca2.email"
] | camilo@ca2.email |
d5ee44f79a3b9107ff21e3cdc70c64f5ecc783f0 | 8b093181f67b261d219efc68ccc1611431f1fe7b | /racppTest/racppTestDlg.h | 9487db680d0338dd93e4ae5a45f4fbbffacbc85d | [] | no_license | kanbang/racpp | 829b62f53a4adc87dc7aadc182b4f0c6f7704500 | 75c1ee680e4f7f53c86c17ea352044214e6bcf7e | refs/heads/master | 2016-09-06T16:50:46.048162 | 2015-07-23T05:04:35 | 2015-07-23T05:04:35 | 39,546,504 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 651 | h |
// racppTestDlg.h : 头文件
//
#pragma once
// CracppTestDlg 对话框
class CracppTestDlg : public CDialogEx
{
// 构造
public:
CracppTestDlg(CWnd* pParent = NULL); // 标准构造函数
// 对话框数据
enum { IDD = IDD_RACPPTEST_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
// 实现
protected:
HICON m... | [
"kanbang@163.com"
] | kanbang@163.com |
011ca1fbf48b80f940afb7e0032e9f71edd899fb | c57819bebe1a3e1d305ae0cb869cdcc48c7181d1 | /src/qt/src/3rdparty/webkit/Source/WebCore/svg/SVGLength.h | a256ed3b5853c58e5cc303a88178643512897686 | [
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-only",
"Qt-LGPL-exception-1.1",
"LicenseRef-scancode-generic-exception",
"GPL-3.0-only",
"GPL-1.0-or-later",
"GFDL-1.3-only",
"BSD-3-Clause"
] | permissive | blowery/phantomjs | 255829570e90a28d1cd597192e20314578ef0276 | f929d2b04a29ff6c3c5b47cd08a8f741b1335c72 | refs/heads/master | 2023-04-08T01:22:35.426692 | 2012-10-11T17:43:24 | 2012-10-11T17:43:24 | 6,177,895 | 1 | 0 | BSD-3-Clause | 2023-04-03T23:09:40 | 2012-10-11T17:39:25 | C++ | UTF-8 | C++ | false | false | 4,458 | h | /*
* Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org>
* Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Fou... | [
"ariya.hidayat@gmail.com"
] | ariya.hidayat@gmail.com |
4bd229da706428b8eb40f58206b8f8c10db0ee89 | e2d512948692bde571b31301d075af4b2931062b | /Assingment-2/NQueen.cpp | 4c104581525b80d9b57df017b0a8ac9b7466e281 | [] | no_license | kshitij4/CipherSchools_Assignment | 4bcbe317d9773213942618795db0b3e821651ab8 | 56e96000daaf12fbb27eb93fdcb8f66c828c6870 | refs/heads/main | 2023-03-07T23:07:40.230513 | 2021-02-23T10:26:14 | 2021-02-23T10:26:14 | 338,555,191 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,183 | cpp | #include <iostream>
#define N 4
using namespace std;
void printGrid(int g[N][N])
{
for(int i=0;i< N;i++)
{
for(int j=0;j< N;j++)
{
cout<<g[i][j]<<" ";
}
cout<<endl;
}
}
bool isSafe(int a[N][N],int r,int k)
{
for(int i =0;i<r;i++)
{... | [
"noreply@github.com"
] | kshitij4.noreply@github.com |
bb916baf2c9d18155f3b2a34734f1f4453d0dc41 | 49013c67846757527f7c0f3b72e634e2a11089bc | /src/version.cpp | c54f90210e2f40ad33c668773f0eb388a383aae9 | [
"MIT"
] | permissive | unfedcurrency/unfed | 48a795fec4e935b1fdf318dd8481fa5c949ff844 | 3b427992cade685687cb6bac5b32eb94e0eac77b | refs/heads/master | 2021-01-10T02:02:38.775051 | 2016-03-06T15:47:42 | 2016-03-06T15:47:42 | 53,214,213 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,669 | cpp | // Copyright (c) 2012 The Bitcoin developers
// Copyright (c) 2012 Unfed Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <string>
#include "version.h"
// Name of client reported in the 'version' message.... | [
"unfedcurrency@gmail.com"
] | unfedcurrency@gmail.com |
c20b232c23d8a3b9054d4c645441cc54f8b4b37d | b983ae3c456019ae1e94c532619778ac660bef75 | /Programación1/Global2007/inicializarDatos.h | 2515042edb2d709a65e5cc4a31c0b1b30f0b640a | [] | no_license | Kirurai/TecnicaturaUTN | e6cdabfbce81b8dc5702fb1b640a8459a9201785 | 7dc96e401a21726f73998bd302126943f3abe173 | refs/heads/master | 2021-03-13T14:48:41.038375 | 2020-05-14T05:38:04 | 2020-05-14T05:38:04 | 246,689,374 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 359 | h | #ifndef INICIALIZARDATOS_H
#define INICIALIZARDATOS_H
#include <iostream>
#include <fstream>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <cstdlib>
#include <vector>
#include "inicializarDatos.h"
using namespace std;
int dimensionMatriz();
bool dimensionValida(int);
void cargarMatriz(vector<v... | [
"kd.maurii@gmail.com"
] | kd.maurii@gmail.com |
e44350e7082d3be2763d30d297e491092902bc45 | 02c7cde5314c01a5d47b933bc36e4487754968ba | /src/TreeManagerMessenger-XS4GCR.cc | 651ecbf1d4796fdd28d63f57caf34bdf59cfce6f | [] | no_license | carmeloevoli/G4XSECS | 63a36d49b47a6b5262150f2dec068f1fbc9ffa4e | f316d4d3a388b93348570d7c6126c6600ff5a101 | refs/heads/master | 2022-10-06T11:20:46.893887 | 2020-06-05T12:17:34 | 2020-06-05T12:17:34 | 262,058,584 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,139 | cc | #include "TreeManagerMessenger-XS4GCR.hh"
#include "G4UIcmdWithABool.hh"
#include "G4UIcmdWithAString.hh"
#include "G4UIcmdWithAnInteger.hh"
#include "G4UIdirectory.hh"
#include "TreeManager-XS4GCR.hh"
TreeManagerMessenger::TreeManagerMessenger(TreeManager* aTreeManager)
: treeManager(aTreeManager) {
treeMana... | [
"carmelo.evoli@gssi.it"
] | carmelo.evoli@gssi.it |
919b89ed0bd5dec2b5cfe568d10cfb8576fd952b | f1acf87f00008d6dd1291f7a5213d14d7921e721 | /Source/MultiplayerShooter/MultiplayerShooterCharacter.cpp | 7ebb3980990e07c6d1e937017b39d0e92353ddda | [] | no_license | Asterot13/MultiplayerShooter | cc8b529c6fbb36c1a9a44e94a7fc06ed13e14af1 | ada9662a863edc0938c8ff7eadd852e07b0908fa | refs/heads/master | 2021-02-19T06:32:39.158348 | 2020-03-12T22:45:07 | 2020-03-12T22:45:07 | 245,285,558 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,464 | cpp | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#include "MultiplayerShooterCharacter.h"
#include "HeadMountedDisplayFunctionLibrary.h"
#include "Camera/CameraComponent.h"
#include "Components/CapsuleComponent.h"
#include "Components/InputComponent.h"
#include "Components/SkeletalMeshComponent.h"
#include... | [
"46450558+Asterot13@users.noreply.github.com"
] | 46450558+Asterot13@users.noreply.github.com |
7610e50b8239fdccec0ee2e36be3edff7eb41874 | dfccdd0f0dd09a2e6d79343fd3b3d66d1a86c6a1 | /OccupancyLNDecoder/v2/Arduino/SerialCommunication.ino | e22d343334eecc87f56e2d55006e0d28bf2a016d | [] | no_license | lucadentella/PdL | a61b341a186ed3dafeacf88c4ce424665165336d | a476fc2d1333d55f3b1ea9f69b0910ea9813dea4 | refs/heads/master | 2021-01-09T23:26:18.947848 | 2016-12-05T12:57:37 | 2016-12-05T12:57:37 | 75,118,714 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,579 | ino | // Manage incoming serial packets
void onSerialPacket(const uint8_t* buffer, size_t size)
{
// switch on command byte
switch(buffer[0]) {
case CMD_GET_DEVICE: sendByte(DEVICE_ID); break;
case CMD_GET_VERSION: sendByte(DEVICE_VERSION); break;
case CMD_GET_ADDRESS: sendTwoBytes(EEPROM.read(EXT_ADDRESS_L... | [
"luca.dentella@consulente.ingdirect.it"
] | luca.dentella@consulente.ingdirect.it |
fb85f2aed05a8d9bcf156d3c140995ee2f8db583 | 106a9b665bc0ef63eb7406b162ec151200c2a6ab | /test/storage/StorageTest.cpp | bd646d7ca69246c782515a804fc14d1818b0cb10 | [] | no_license | besteady/afina | b96cbff85d2220893c1d824d5f9b277237c5e09b | 04bcd8a26a3b04b3ec7b5f5af2d57a6870df1b2c | refs/heads/master | 2020-04-24T10:39:48.730262 | 2019-03-16T15:47:48 | 2019-03-16T15:47:48 | 171,901,147 | 0 | 0 | null | 2019-02-21T15:54:57 | 2019-02-21T15:54:57 | null | UTF-8 | C++ | false | false | 3,615 | cpp | #include "gtest/gtest.h"
#include <iomanip>
#include <iostream>
#include <set>
#include <vector>
#include <afina/execute/Add.h>
#include <afina/execute/Append.h>
#include <afina/execute/Delete.h>
#include <afina/execute/Get.h>
#include <afina/execute/Set.h>
#include "storage/SimpleLRU.h"
using namespace Afina::Backe... | [
"filipp.andronov@gmail.com"
] | filipp.andronov@gmail.com |
c0faf9bcde4d15059f9d6e90c874a744e2e726ae | e836b973d7993fb589a5c9b9823d686e1cb7cc5c | /cpp/L1800/LeetCode1803.cc | 4a1b4d62883e6de161c52c78c2158e47604baece | [] | no_license | lsry/LeetCode | 5ec3dddca8500f2f7766002275a644a037f3d656 | a7488eb6a3bc2764f3040f34a4c4745c6321d57b | refs/heads/master | 2023-08-30T22:33:50.484281 | 2023-08-27T18:20:37 | 2023-08-27T18:20:37 | 231,709,838 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,344 | cc | #include <vector>
using std::vector;
#include <memory>
struct TireNode {
int count;
std::unique_ptr<TireNode> left, right;
TireNode(): count(0), left(nullptr), right(nullptr) {}
};
class Solution {
constexpr static int HIG_BIT{14};
void addToTree(std::unique_ptr<TireNode> &root, int num) {
... | [
"lsrycx@qq.com"
] | lsrycx@qq.com |
38622620ff974eda90ffb46355a08b5b844e2a01 | 2e9b40d51adbf70f1f43bd561876abba7da2d2aa | /Homework 4/Set.h | 6d736a2d38acb3e492285e75883a5f9738baa069 | [] | no_license | just-ma/CS32 | 5485b05b423f12391fc797d8196337b5abe0ecfd | 4671076df95acae0ad1e9ea0bcc61313fb012942 | refs/heads/master | 2020-03-26T19:06:16.034987 | 2018-08-19T18:23:43 | 2018-08-19T18:23:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,795 | h | // Set.h
#ifndef SET_INCLUDED
#define SET_INCLUDED
#include <string>
// Later in the course, we'll see that templates provide a much nicer
// way of enabling us to have Sets of different types. For now,
// we'll use a typedef.
template <typename ItemType>
class Set
{
public:
Set(); // Create an e... | [
"noreply@github.com"
] | just-ma.noreply@github.com |
6a89d635db55acc7f430196047d47a2eaaffc5b0 | 34f1d13644f01f96ab1f3eb5a68567a2405f7b12 | /ColorChooser.cpp | 37c81979ad7cc2d4539319184acbfa12c677bdfd | [] | no_license | antoniovazquezaraujo/8x8 | 41f49c5dfdc3e7704694a495857943b6f5cb3e4d | 2aaf2d0d99404d5274e40ee184189e1e566738fb | refs/heads/master | 2021-01-15T12:25:50.803723 | 2012-06-01T15:18:04 | 2012-06-01T15:18:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,467 | cpp | #include "ColorChooser.h"
#include <iostream>
ColorChooser::ColorChooser(int x, int y, int w, int h)
:Container(Pos(x,y), Size(w,h), Color(100,10,100,255))
,actualColor(Color(100,100,100,255)){
redInc = new Button(0,0,1,1);
redInc->setColor(Color(255,0,0,255));
redInc->addListener(this);
add(redInc);
redD... | [
"antoniovazquezaraujo@gmail.com"
] | antoniovazquezaraujo@gmail.com |
cd6ef88a9ac826cb285ec224e549c6069484191e | ebaeb8b67b3331df7f28d3df0b051a60434de150 | /ner-system/lstm-parse.cc | 8eb96f50ef1498133b4673bf8005cca852d011c9 | [
"Apache-2.0"
] | permissive | Levstyle/stack-lstm-ner | 7d8f4b51e4a3d9d29e1b0cc236c39b1617a80612 | 145dcb8ad13aa76151e5e283093fa0a78dc79c75 | refs/heads/master | 2021-06-24T14:09:09.793420 | 2017-05-25T13:32:41 | 2017-05-25T13:32:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42,529 | cc | #include <cstdlib>
#include <algorithm>
#include <sstream>
#include <iostream>
#include <vector>
#include <limits>
#include <cmath>
#include <chrono>
#include <ctime>
#include <unordered_map>
#include <unordered_set>
#include <execinfo.h>
#include <unistd.h>
#include <signal.h>
#include <boost/archive/text_oarchive.... | [
"miguelballesteros1@gmail.com"
] | miguelballesteros1@gmail.com |
21ed0bdfcb819705ba25ef73ab0ba2a862613611 | 0a0cc1fa71f5df9b28dee87d1289110c994341db | /Place.hpp | 2aef28f8e8bda566e3063ec7370778cc8188f182 | [] | no_license | MDrance/cpp_project_Gestionport | 18f82ad0954a692769f41dd260522b97242146af | a2dfc80ea9dc22bebd06e9eef18477468f355cff | refs/heads/master | 2021-04-08T13:00:39.742800 | 2020-04-04T14:28:03 | 2020-04-04T14:28:03 | 248,778,053 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,097 | hpp | #ifndef PLACE_HPP
#define PLACE_HPP
#include<fstream>
class Place
{
protected:
int m_numero_place;
int m_type;
float m_taille_max;
bool m_dispo;
public:
static int nbr_place;
Place();
virtual ~Place();
int get_numero_place() const;
int... | [
"martindrance@hotmail.com"
] | martindrance@hotmail.com |
6ce825b0ce8c184d1e251e52d12434b15aa9a58a | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /third_party/zxcvbn-cpp/native-src/zxcvbn/time_estimates.cpp | b5a76d6c8a97c1689775dd1a81057240cb6330b4 | [
"GPL-1.0-or-later",
"MIT",
"LGPL-2.0-or-later",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"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 | 3,272 | cpp | #include <zxcvbn/time_estimates.hpp>
#include <zxcvbn/common.hpp>
#include <zxcvbn/util.hpp>
#include <sstream>
#include <vector>
#include <tuple>
#include <cmath>
namespace zxcvbn {
static
std::string display_time(time_t seconds);
static
score_t guesses_to_score(guesses_t guesses);
AttackTimes estimate_attack_t... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
c19b29f1c7e5aa91aa6f00e0b28546558d025bbf | c4e4b570b1a91495a89c939e876dcd38c7b6247f | /test/area_test.cpp | e511e7a50a1ea950e0222758bc43b1592d4a72ba | [
"Apache-2.0"
] | permissive | texel-sensei/eversim | 5392bc1f4bd5443a2bd8c25e44725acb84af5705 | 187262756186add9ee8583cbaa1d3ef9e6d0aa53 | refs/heads/master | 2021-06-01T10:21:27.586634 | 2020-09-08T15:10:38 | 2020-09-08T15:16:12 | 96,086,158 | 0 | 0 | Apache-2.0 | 2020-09-08T15:16:13 | 2017-07-03T08:07:25 | C++ | UTF-8 | C++ | false | false | 1,635 | cpp | #include "core/utility/area.h"
#include <catch.hpp>
#include <iostream>
using namespace eversim::core::utility;
TEST_CASE("quad_fill","[utility][areadivider]") {
Areadivider a({128,128});
auto pos = a.place_rectangle({64,64});
REQUIRE(pos == glm::ivec2(0,0));
pos = a.place_rectangle({ 64,64 });
REQUIRE(pos != ... | [
"lukasac@gmx.de"
] | lukasac@gmx.de |
75a8cc71c29bf06accb4f0eb1ed90ed9e9f7ba77 | 5341806ed3e026f15b6a06c61c8c9481d73545a8 | /parser/ast/ezast_parameter_list.h | 51b4d26c77760ce9e97d27024b40f0a665f85420 | [] | no_license | chaws/ezparser | f3f17e3515a534f26662779c738c46f7992fa234 | 31dcb3339540028b715c9242a60dd42818177909 | refs/heads/master | 2021-01-23T11:47:49.053345 | 2015-04-13T20:53:53 | 2015-04-13T20:53:53 | 33,893,254 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 279 | h | #ifndef EZAST_PARAMETER_LIST_H
#define EZAST_PARAMETER_LIST_H
#include <ezast.h>
/**
* Define a subclass of ezast: parameter_list
*/
class ezast_parameter_list : public ezast
{
public:
/**
* Constructor, just set up this ast type
*/
ezast_parameter_list();
};
#endif
| [
"18oliveira.charles@gmail.com"
] | 18oliveira.charles@gmail.com |
41277c49a4b5e62efce3478982c6f81b903225ba | 68abba4a775ccae4e6f8eb277e37d7c4bec2ece1 | /search using hashing.cpp | ba0a0ba4a6571e1ffb57fb1f3cb2985a7dda7b62 | [] | no_license | amitkumarshaw393/searching | 643b5e9bdf9145e92988c33870a1bf5421769e33 | 49ff451b8bc1b5279936a13081408e691172b879 | refs/heads/main | 2023-07-26T12:53:00.896399 | 2021-08-29T03:13:26 | 2021-08-29T03:13:26 | 400,937,867 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,030 | cpp | #include <iostream>
#include <math.h>
using namespace std;
#define MAX 1000
bool hashTable[MAX+1][2];
bool search(int x){
if(x>=0){
if(hashTable[x][0] == 1 ){
return true;
}else{
return false;
}
}else{
x = abs(x);
if(hashTable[x][... | [
"noreply@github.com"
] | amitkumarshaw393.noreply@github.com |
174f0641070e35f36dd19a6dbb048d510dd0a52b | cef6aa553e47bc17eb8d88c6afcc47cd71914488 | /Fractals/src/ofApp.cpp | 87013565a1832c751871b4a55999f36a85f700ec | [] | no_license | sAbhay/XCode-Projects | 95085b4cf3f3198c2bb08892d1c9a2a6e58e6dfc | 3614f676aca1b13b1f21bb204bae18dfb913327b | refs/heads/master | 2020-04-17T21:24:33.585121 | 2019-01-22T09:46:19 | 2019-01-22T09:46:19 | 163,640,802 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,848 | cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
cam = ofEasyCam
}
//--------------------------------------------------------------
void ofApp::update(){
}
//--------------------------------------------------------------
void ofApp::draw(){
ofBackgrou... | [
"abhayaaditsinghal@gmail.com"
] | abhayaaditsinghal@gmail.com |
d04d14e40c1a19ddab036e3f5e76cf1693c0c3da | 3b161008c643de556752a01ecf5a84661cf61020 | /70._Climbing_Stairs.cpp | a8d134a1d42536c45b6170811dec8d11c89b77f3 | [] | no_license | ritvikkhanna09/Leetcode | 8cc3320a7a34f93b9e809408973f7e2cea99c044 | 4a563b03f239ff2e578f684eb45cbea086042ee0 | refs/heads/master | 2021-04-28T14:23:39.394122 | 2019-02-03T12:54:18 | 2019-02-03T12:54:18 | 121,964,009 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 315 | cpp | class Solution {
public:
int climbStairs(int n) {
if(n==1) return 1;
if(n==2) return 2;
if(n==3) return 3;
int a=2;
int b=3;
int temp;
for(int i=3;i<n;i++){
temp=a+b;
a=b;
b=temp;
}
return temp;
}
}; | [
"ritvikkhanna09@gmail.com"
] | ritvikkhanna09@gmail.com |
40c6bc2ae972019797ad40af217c2a405bda56c5 | b53795b88ab0201e48c5dc5737e97dfd27e07b22 | /source/client/source/eterBase/MappedFile.cpp | fad574477c9e2961c58a27704cc292734b895e1b | [] | no_license | davidkm2/globalmetin | 9cc63395974eb74b5784a1bf5e733622c7303aa4 | d1a21b549c68e311416544e03ca6218351e12d2f | refs/heads/main | 2023-05-27T08:10:08.506239 | 2021-05-24T01:57:37 | 2021-05-24T01:57:37 | 370,181,109 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,597 | cpp | #include "StdAfx.h"
#include "MappedFile.h"
#include "Debug.h"
CMappedFile::CMappedFile() :
m_hFM(NULL),
m_lpMapData(NULL),
m_dataOffset(0),
m_mapSize(0),
m_seekPosition(0),
m_pLZObj(NULL),
m_pbBufLinkData(NULL),
m_dwBufLinkSize(0),
m_pbAppendResultDataBlock(NULL),
m_dwAppendResultDataSize(0)
{
}
CM... | [
"davidkm2012@gmail.com"
] | davidkm2012@gmail.com |
f81962f654673a2a6768a488c7c14f77ca7dfd4a | 7caaf1f9744478c5916cca169bca6b0ef3c5f72e | /Main.cpp | 4b891f912af1abc5c714062110e6b369d9f36894 | [] | no_license | matsuyoro/cpp-2d-action-game | 023544647f836c1acc84d463cd074a93b872222a | 067c3c5ccb1eb699247162aa8907056b023454f9 | refs/heads/master | 2016-09-11T08:36:58.897146 | 2015-06-12T08:29:10 | 2015-06-12T08:29:10 | 37,311,131 | 4 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 4,776 | cpp | ///////////// インクルード ////////////////////////////
#include <windows.h>
#include <ddraw.h>
#include "Extern.h" //外部変数を扱うためのヘッダ
#include "GameTitle.h" //ゲームタイトルのプロトタイプ宣言のヘッダ
#include "GameMain.h" //ゲームメインのプロトタイプ宣言のヘッダ
#include "GameOver.h" //ゲームオーバーのプロトタイプ宣言のヘッダ
#include "StageSelect.h" //ステージセレクト画面のプロトタイプ宣言のヘ... | [
"matsuyoro@gmail.com"
] | matsuyoro@gmail.com |
d701e0d103a52ff918377b1a09f7e1a0bf4ca5c5 | 7fe48c13055d37b90a4e9a53ab06bbae78aafb08 | /PlatformerGame/Command.cpp | fa459c2dc91cf0a6314ff8945ed96acbffa33990 | [] | no_license | maxim-speshilov/DummyMario | ac8822abfa71fc067cfcc8848c31b06094f9384e | 088f9ef3c2b9e769cc99951940f4507d315f388f | refs/heads/master | 2023-04-14T02:49:23.521749 | 2021-04-02T09:49:41 | 2021-04-02T09:49:41 | 303,531,578 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 93 | cpp | #include "Command.h"
Command::Command() :
category((unsigned int)category::Type::None) {
}
| [
"maxim.speshilov@gmail.com"
] | maxim.speshilov@gmail.com |
8535e735f8b1b7c13aa65059c74bc72c7ebd9ff1 | fdeceff5045ead8c9c0711362ddfea619bdf313d | /LeetCode/3. 无重复字符的最大字串.cpp | abcc48a0c4b73079eaca6db4cf98852c80aafba5 | [] | no_license | VeblenYe/LeetCode | 8017da1c7d296b2b74cd9ee74565195ee62c8504 | c24b7a6f259673efae1ec8c3bb843a070ae4265e | refs/heads/master | 2020-03-14T15:22:43.211947 | 2019-09-20T01:28:57 | 2019-09-20T01:28:57 | 131,669,982 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 860 | cpp |
#include "LeetCode.h"
// 懂这里的思路了,就是动态规划,其中v中的每一个元素记录的都是该字符最后一次出现的位置
// t表示当前的不重复子串的起始位置,而v[s[i]]表示以s[i]这个字符结尾的不重复字串的最长长度
// ans记录整个字符串中最长不重复子串的长度
int lengthOfLongestSubstring(string s) {
vector<int> v(128, 0);
int t = 0;
int ans = 0;
for (int i = 0; i < s.length(); ++i) {
t = max(t, v[s[i]]); // 这里的max是必要的... | [
"930123360@qq.com"
] | 930123360@qq.com |
991699e271dbe7f5d4af57f990d471b64a278a6f | 6c1d8cb25fbba42eeac8ce789cc20e8e935d8dae | /Animation/Ray/raySpotLight.todo.cpp | 795f2535526a5df4bddc2a30622b28a63aac5e51 | [] | no_license | PeiyiZheng/Computer-Graphics | 6a9889bf8df5a488386cd8e98a66e34fbd8e2b16 | acdd0a8000c0d48bd688fca9f15fa0458709f7ae | refs/heads/master | 2021-01-17T08:12:56.996091 | 2017-03-04T02:47:12 | 2017-03-04T02:47:12 | 83,859,846 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,691 | cpp | #include <math.h>
#include <GL/glew.h>
#include <GL/glut.h>
#include "rayScene.h"
#include "raySpotLight.h"
////////////////////////
// Ray-tracing stuff //
////////////////////////
Point3D RaySpotLight::getDiffuse(Point3D cameraPosition,RayIntersectionInfo& iInfo){
Point3D vec_l = (iInfo.iCoordinate - t... | [
"Peiyi@Peiyis-MacBook-Pro.local"
] | Peiyi@Peiyis-MacBook-Pro.local |
8b52ec715e43ba9fe22cc9fd5e01c989502703b7 | f1d190fc7c8c7127363cec5cd68b143606b4aef8 | /zLib/Path.h | ef64008270f21231f9eecd08552c96cc96ca30f1 | [
"Apache-2.0"
] | permissive | Feoggou/zLib | 8b17bb5143346efa2c1edd2063f0debe7c960e2a | d089aa614110f8b40de55c8d1d86cdc848ff4fc0 | refs/heads/master | 2020-04-11T06:49:12.154191 | 2016-08-15T19:19:05 | 2016-08-15T19:19:05 | 31,171,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 876 | h | /*
* Copyright 2015 Samuel Ghineț
*
* 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 agree... | [
"samuel.ghinet@gmail.com"
] | samuel.ghinet@gmail.com |
527a668f20d2e20d8e39cd594ed8f16772914cf7 | 7c14a1347ffcd3f7a1e4353dfbc8a60e5111bc20 | /ThirdRPG/Source/ThirdRPG/ThirdRPGProjectile.h | 5bc92c7493655dd1b33370122a498cf9f1a90946 | [] | no_license | Dyonisian/3rdRPG | 16aaac97b70b9900ed8a1c9be13d3a1a0fa9018b | 7b23a3566ef6ae262cb31a29bdbf33195bf59cac | refs/heads/master | 2022-11-22T16:12:14.836839 | 2022-11-14T15:37:32 | 2022-11-14T15:37:32 | 171,018,219 | 12 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 545 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "ThirdRPGProjectile.generated.h"
UCLASS()
class THIRDRPG_API AThirdRPGProjectile : public AActor
{
GENERATED_BODY()
public:
// Sets default values for th... | [
"divij_sood@yahoo.com"
] | divij_sood@yahoo.com |
358a0d546e40bac9b3dc2186f13aaa1b5b9fc133 | 33a3f66e911b630b9312d75cfbc8d98c2c99e615 | /Type 2/String Processing/Encoder and decoder UVA 444.cpp | c8976e354286ef51a8504a66954bdf1b7b565ad7 | [] | no_license | SouhardyaSaha/Project-150 | 90f67302394acc4652d2bd5f79d72a610aa3cf1d | a762b179f8bddf135c3f1accf2b2bafed9d6e0ce | refs/heads/master | 2020-04-17T22:34:14.969840 | 2019-01-22T13:34:57 | 2019-01-22T13:34:57 | 166,999,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,389 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
string s;
vector<int> vec,test;
list<int>::iterator it;
while(getline(cin,s))
{
if(isdigit(s[0]))
{
reverse(s.begin(),s.end());
int i=0;
while(i<s.size())
{
if(s... | [
"souhardya24@student.sust.edu"
] | souhardya24@student.sust.edu |
5322842d481a7422c829225124ddd7fce1e536f1 | 7e1726bf35ba236c998fa8484c43f1b889182356 | /GKRE/Camera.cpp | 3c15ac9c2639f5edebc57cdcd15850f5796a94db | [
"MIT"
] | permissive | gkovalechyn/Engine | 23420533b8da3a3bd2c5b6bf380e2c9acee310f4 | cb4a0e02e1a9935e8ec05d6594332f1e8724bc4f | refs/heads/master | 2020-05-22T14:29:44.535469 | 2014-01-30T01:26:00 | 2014-01-30T01:26:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,360 | cpp | #define _USE_MATH_DEFINES
#include <cmath>
#include "Camera.h"
#include <glm/gtc/matrix_transform.hpp>
static const float MaxVerticalAngle = 85.0f; //must be less than 90 to avoid gimbal lock
static inline float RadiansToDegrees(float radians) {
return radians * 180.0f / (float)M_PI;
}
Camera::Camera() :
_p... | [
"gkovalechyn@gmail.com"
] | gkovalechyn@gmail.com |
59398f9101deeed2bd13e074b70670001a8a0771 | 3e2e0cf984be2e3efd73d681c5c97e3f9b4f27db | /Manager.h | 246e52583d39155485e89bae8665a6e13e331d2e | [] | no_license | berkayzuhre/Projectile-Motion | b396d1675133927e20f3f0a2951fed008101993b | a5410d15a99c99a9c9d9e55d365a3256deade20b | refs/heads/main | 2022-12-26T17:51:26.915733 | 2020-10-06T09:13:29 | 2020-10-06T09:13:29 | 301,666,292 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 935 | h | #pragma once
#include "olcConsoleGameEngine.h"
class Bullets;
class Cannon;
class Rockets;
class Exp;
constexpr auto BulletNum = 10000;
constexpr auto RocketNum = 100;
#include <iostream>
#include <fstream>
class Manager: public olcConsoleGameEngine
{
public:
Manager();
~Manager();
virtual bool ... | [
"noreply@github.com"
] | berkayzuhre.noreply@github.com |
e49584cdbc1ad2454061f41e8f9bc660e0c8740b | bb7645bab64acc5bc93429a6cdf43e1638237980 | /Official Windows Platform Sample/Windows 8 app samples/[C++]-Windows 8 app samples/C++/Windows 8 app samples/Contact Picker app sample (Windows 8)/C++/Common/LayoutAwarePage.h | dea21544cd28008d41872112327cb03dab1dff74 | [
"MIT"
] | permissive | Violet26/msdn-code-gallery-microsoft | 3b1d9cfb494dc06b0bd3d509b6b4762eae2e2312 | df0f5129fa839a6de8f0f7f7397a8b290c60ffbb | refs/heads/master | 2020-12-02T02:00:48.716941 | 2020-01-05T22:39:02 | 2020-01-05T22:39:02 | 230,851,047 | 1 | 0 | MIT | 2019-12-30T05:06:00 | 2019-12-30T05:05:59 | null | UTF-8 | C++ | false | false | 2,456 | h | //*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
/... | [
"v-tiafe@microsoft.com"
] | v-tiafe@microsoft.com |
e90818568178d42027dbbec3606a2c810f771514 | e1c41cea7d42d6b126fe87948a5357bd8eb40c3c | /longest-substring-without-repeating-characters/longest-substring-without-repeating-characters.cpp | b2304081cd122162332fc4e7a334f01a52dd6e8b | [] | no_license | sklationd/leetcode | 51b31e929fa03cb9875ed48bd534be3470b303d5 | 96a06bc14babdd519179ab329a62d241483a646d | refs/heads/master | 2023-06-04T17:32:53.978378 | 2021-07-04T08:20:02 | 2021-07-04T08:20:02 | 285,795,734 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 709 | cpp | #include <unordered_map>
class Solution {
public:
int lengthOfLongestSubstring(string s) {
unordered_map<char,int> *T = new unordered_map<char,int>();
int M = 0;
int index = 0;
for(int i=0;i<s.length();){
auto it = T->find(s[i]);
if(it == T->end()){
... | [
"sklationd@gmail.com"
] | sklationd@gmail.com |
c3aeb999047724a91369e1e2179be9e39e3be514 | 289288d0bf3f0d03fd590946c1c1f293aaf75726 | /Plugins/PaperZD/Source/PaperZDEditor/Private/Graphs/Nodes/Slate/SPaperZDAnimGraphNode_Conduit.cpp | cbe5a5641aac0ea9dcf8f3b0a0acfd26871b842f | [] | no_license | BlenderGamer/PitchSample | 4722d9a37875ef23f0a84d1ddb824e46551c7170 | 52fa8941982e36c7cfae043e6d239d46333ed6b9 | refs/heads/master | 2023-02-25T16:57:22.260228 | 2021-02-02T14:42:35 | 2021-02-02T14:42:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,272 | cpp | // Copyright 2017 Carlos Ibanez Ch. All Rights Reserved.
#include "SPaperZDAnimGraphNode_Conduit.h"
#include "PaperZDEditor.h"
#include "Widgets/SBoxPanel.h"
#include "Widgets/Images/SImage.h"
#include "Widgets/SToolTip.h"
#include "Kismet2/BlueprintEditorUtils.h"
//#include "IDocumentation.h"
#include "Widgets/Text/S... | [
"77409105+Dmonics@users.noreply.github.com"
] | 77409105+Dmonics@users.noreply.github.com |
9ccb289c5af802e5de949a8cd369ee5c27d1408a | 8b1b3df70b4f8d8755559bfb52b73cb9d35d07b9 | /Step2_DEEFITPoints/DEEFIT/MFitParam.h | df46fba30cf37be7ae54f0162ad159135f35f3ea | [] | no_license | gfh16/HowToCalibrateCsI | b20f2bd73514a8c114386441dc122aea6339de62 | 614250e945ba982287634e6f0d2279382e1915cf | refs/heads/master | 2023-01-20T13:53:41.160581 | 2020-11-25T07:56:03 | 2020-11-25T07:56:03 | 156,129,940 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 973 | h | #ifndef MFITPARAM_H
#define MFITPARAM_H
#include "deefit.h"
using namespace std;
// The MFitParam class manage the parameter fit
// saving and loading from a file
class MFitParam {
private:
Int_t fntel; //telescope number
Int_t fnum; //number of fit parameters for fntel
ecalcmass fmfor;... | [
"noreply@github.com"
] | gfh16.noreply@github.com |
941916119eb0664b570a6b210030befb16879f78 | 524c520e19c00a301eac95db090f7de201521376 | /include/tori/lib/identity.hpp | 4a306d0c7ebfebbc8b72107ea6699e25933ff3e0 | [
"MIT"
] | permissive | mocabe/tori | 7270aaf0c73447f86dfb06cab43e894c849b58d8 | a30075802492fa5c2d1725a2ba0e3e06dde4ce13 | refs/heads/master | 2021-07-11T10:46:45.268587 | 2019-03-10T15:29:31 | 2019-03-10T15:29:31 | 136,322,486 | 0 | 0 | MIT | 2019-03-01T19:06:10 | 2018-06-06T12:00:14 | C++ | UTF-8 | C++ | false | false | 508 | hpp | // Copyright (c) 2018-2019 mocabe(https://github.com/mocabe)
// This code is licensed under MIT license.
#pragma once
/// \file Identity
#if !defined(TORI_NO_LOCAL_INCLUDE)
# include "../core.hpp"
#endif
namespace TORI_NS::detail {
class Identity_X;
namespace interface {
struct Identity : Function<Ident... | [
"hisa.mocabe@gmail.com"
] | hisa.mocabe@gmail.com |
323badecf559ecc52a4bc305ebe5b20251a471cd | a0e625060cfeaa64497546f9a7aa3dd81a2c1290 | /Blatt02/ag02/mcp.h | 3f7ec0f636b5363cb462d2fa8f38f829c6e22a17 | [] | no_license | vogl91/multicore | 8495a49ed33f895d346b14f489c874a850f250ef | 720f55c295926e1337bc3adf9e6e3093e708a1c9 | refs/heads/master | 2021-01-21T14:25:20.435207 | 2016-06-20T09:10:50 | 2016-06-20T09:10:50 | 59,041,387 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 522 | h | #ifndef MCP_H
#define MCP_H
class MCP_CLASS_ {
public:
MCP_CLASS_();
~MCP_CLASS_();
void init(int argc, char *argv[]);
int t();
int n();
void time_start();
void time_stop();
void time_print();
private:
int threads;
int elements;
... | [
"vogel91@gmx.de"
] | vogel91@gmx.de |
334235f845d00b3378a10617341c040681554d44 | 56bd3f2132e03f273e9cfb00f04e69c6ae26827b | /Printf and ScanF returns.cpp | f786d255d1b99c4f1e560e03edee11dec7e0ff28 | [] | no_license | 1InfinityDoesExist/OOPS | 2f0bf36edbb82a999ce4ede61da2da335411e31b | a598d95af842286ad79b280e3699839a757d5194 | refs/heads/master | 2021-10-25T04:38:01.584055 | 2019-04-01T05:55:55 | 2019-04-01T05:55:55 | 113,549,838 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 575 | cpp | #include<bits/stdc++.h>
using namespace std;
class Solution
{
private:
public:
Solution();
void showPrintfScanf();
};
Solution::Solution(){}
void Solution::showPrintfScanf()
{
char array[100];
int scanReturn = scanf("%d", array); // type Avinash Patel in terninal
int printReturn = pr... | [
"noreply@github.com"
] | 1InfinityDoesExist.noreply@github.com |
f8ef74b34b79a763a5e583a3ffe380fc082d84ed | 9bb16f8fbf9f562f1171a3bbff8318a47113823b | /abc121/abc121_c/main.cpp | 86f50bcfc00ff04a0a59aa3fb23c3e564ba2717c | [] | no_license | kyamashiro/atcoder | 83ab0a880e014c167b6e9fe9457e6972901353fc | 999a7852b70b0a022a4d64ba40d4048ee4cc0c9c | refs/heads/master | 2022-06-01T03:01:39.143632 | 2022-05-22T05:38:42 | 2022-05-22T05:38:42 | 464,391,209 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 888 | cpp | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; (i) < (int)(n); ++ (i))
#define REP3(i, m, n) for (int i = (m); (i) < (int)(n); ++ (i))
#define REP_R(i, n) for (int i = (int)(n) - 1; (i) >= 0; -- (i))
#define REP3R(i, m, n) for (int i = (int)(n) - 1; (i) >= (int)(m); -- (i))
#define ALL(x) ::std::begin(x), :... | [
"kyamashiro73@gmail.com"
] | kyamashiro73@gmail.com |
bb1aa00480dd8e9771fb2921adb328439718354e | 09dff1fb65e7a4ec4bdcea79063b1d4489eebcc4 | /chapter 2/2.40.cpp | 3f8aeceb8da90558676b03012c5ee73d8e16f1b8 | [] | no_license | westernLoser/cpp-primer-5th | a831ad46ca561863399c3e981f0108061b17592e | cf99535e1643e89c58ce29af6ef11b908b3ab4c4 | refs/heads/master | 2020-06-01T17:04:25.582772 | 2019-09-19T07:43:11 | 2019-09-19T07:43:11 | 190,859,242 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 237 | cpp | /*
author : szz
date : 2019/06/10
*/
#include<iostream>
struct Sales_data {
std::string bookNo;
unsigned int sold = 0; //已售数量
double total = 0.0; //总价
};
int main() {
system("pause");
return 0;
} | [
"805482395@qq.com"
] | 805482395@qq.com |
5476600c667059bda0482bf82bf34010ee4cf1df | 9cc4ee6abd8dd3598c21562a3aecf8f2aed57e87 | /DS/Graph/Undirect/UndirectGraph.cpp | c3359c720de3b21b4e02462715647264b9eacae8 | [] | no_license | Yariki/alg | e84457bb0cb6ad5e4386703d3d0867044a5e5743 | 49170a99d9f317b5d09bc4b68992da24f2694ddd | refs/heads/master | 2021-01-19T07:09:34.971829 | 2020-05-06T20:21:18 | 2020-05-06T20:21:18 | 60,982,635 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 237 | cpp | //
// Created by Yariki on 3/8/2019.
//
#include <fstream>
#include <iostream>
#include <sstream>
#include "UndirectGraph.h"
void UndirectGraph::addEdge(int v, int w) {
_map->at(v)->push_back(w);
_map->at(w)->push_back(v);
}
| [
"iyariki.ya@gmail.com"
] | iyariki.ya@gmail.com |
6b1f0865fd850fc58c1c76684ab8644929ffd4ef | abc1ba19d957e0f1fc0e8777527a967256c3d208 | /TP2/graph.h | 7b926424d34be4860173367168a62b57dbede959 | [] | no_license | JulianBiancardi/Taller1-75.42 | cd40105ce99513f81a3e3e75f05ae3e15ce2fdd2 | c1bd0f82531dd2e97e06200a3413749730a93781 | refs/heads/main | 2023-04-03T06:34:37.542113 | 2021-04-17T18:19:39 | 2021-04-17T18:19:39 | 356,372,369 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 553 | h | #ifndef __GRAPH_H__
#define __GRAPH_H__
#include <list>
#include <stack>
#include <vector>
struct node {
size_t value;
node* next;
};
struct edge {
size_t start, end;
};
class graph {
private:
size_t n_nodes;
std::list<size_t>* adj;
bool dfs(int head, std::vector<bool>& visited,
std::vector... | [
"JulianBiancardi@github.com"
] | JulianBiancardi@github.com |
a22189ce4c009bfd9699e2ae5563fb780e0f39a9 | 0d5eb5bf9178f6dd6bad291f793d1ee6de364fd3 | /cuda/mpi_tests.cudafe1.cpp | 88ae1683faa46feec72c93b541b70678fb6ed021 | [] | no_license | tutzr/intermediate-test | 57adecee7fe6b1e548b961dd1b406f459372445b | ab2c476c3d7e3f0f62905bdcec27cc0b46cb66d0 | refs/heads/master | 2022-12-02T04:03:58.433136 | 2020-08-21T06:01:23 | 2020-08-21T06:01:23 | 287,793,285 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 483,114 | cpp | # 1 "mpi_tests.c"
#pragma GCC diagnostic ignored "-Wunused-local-typedefs"
# 1
#pragma GCC diagnostic push
# 1
#pragma GCC diagnostic ignored "-Wunused-variable"
# 1
#pragma GCC diagnostic ignored "-Wunused-function"
# 1
static char __nv_inited_managed_rt = 0; static void **__nv_fatbinhandle_for_managed_rt; static void... | [
"s2002958@ed.ac.uk"
] | s2002958@ed.ac.uk |
cf932441ead0aa4f783829acf2416592f2217489 | b3452a6269b00a1a563f52aceb639914b9603a8f | /person.cpp | 7bfb30d04490dfc7dbcb1edae41c5a6c31837d36 | [
"MIT"
] | permissive | mmahdibarghi/codana | 3abb8e7096ff931c04f88e8e2a8b82d369d95ba3 | fdb016a67d3e45728cc6e49ea2147ad2d97ce6e1 | refs/heads/main | 2023-06-05T03:18:45.158183 | 2021-06-14T17:57:01 | 2021-06-14T17:57:01 | 376,911,584 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,418 | cpp | #include "person.h"
person::person()
{
}
person::person(QString _name, QString _lastName, QString _id, QString _username, QString _password, QString _email, QDate _birthDate)
{
this->name = _name;
this->lastName = _lastName;
this->id = _id;
this->username = _username;
this->password = _password;
... | [
"mahdi_b7978@yahoo.com"
] | mahdi_b7978@yahoo.com |
57d1073fc43a58ca78d32414cfd9118c1602956a | df6fbe8c433c484b362cb61136c19e5f375dd1dc | /ilcc2/test/test_calib_lidar_cam.cpp | d03f13dfd3174cf619f3cc2eb22609d3d844b15f | [] | no_license | mfkiwl/lidar_camera_calibration-1 | 08281abfc7628698d5d57a539aafefa8a9ec5337 | 7883199c5fc1e2ee47a7f948f945e18dc2a44945 | refs/heads/master | 2023-02-21T22:32:28.570747 | 2021-01-27T01:57:10 | 2021-01-27T01:57:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,105 | cpp | #include <ros/ros.h>
#include <ros/package.h>
#include <iostream>
#include <string> /// std::to_string()
#include <algorithm> /// std::reverse
/// read rosbag
#include <rosbag/bag.h>
#include <rosbag/view.h>
#include <boost/foreach.hpp>
#define foreach BOOST_FOR... | [
"1216032111@qq.com"
] | 1216032111@qq.com |
0780eb28665a287c5b306b95da2bca2999be1909 | da8aa02b2b98df005c8ffe895b87ee7454071173 | /Engine/TextureEffect.h | 3127c7a7c8dc2ae460c5fc3ee20a97e6ff800bc4 | [] | no_license | goodie000/planetchili_3D_Fundamentals | 4b083296156a90f204ede71932c2e7db638a712b | 64e93abe99473dc0e7bb5b7ce3f845b6a8835eb6 | refs/heads/master | 2021-07-09T02:11:38.847155 | 2017-09-03T06:27:05 | 2017-09-03T07:39:29 | 106,166,166 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,026 | h | #pragma once
#include "Pipeline.h"
// basic texture effect
class TextureEffect
{
public:
// the vertex type that will be input into the pipeline
class Vertex
{
public:
Vertex() = default;
Vertex( const Vec3& pos )
:
pos( pos )
{}
Vertex( const Vec3& pos,const Vertex& src )
:
t( src.t ),
pos... | [
"Chili@users.noreply.github.com"
] | Chili@users.noreply.github.com |
66396e94e3097593b271c949cb03043d2288f533 | b05ceeb88cb7496e3e9efe110aaad2e41fa2f77e | /src/variables.cpp | 24333210808b18570cad960a6b991dd4c9fbb194 | [] | no_license | nrkumar93/Pacer | 7decbac3b41150e99fa51b3219366e48ac8d0e5b | 702425d1a660a4e7008e15aad07961819e94257f | refs/heads/master | 2021-01-15T21:40:03.157449 | 2016-02-08T19:21:08 | 2016-02-08T19:21:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,908 | cpp | /****************************************************************************
* Copyright 2014 Samuel Zapolsky
* This library is distributed under the terms of the Apache V2.0
* License (obtainable from http://www.apache.org/licenses/LICENSE-2.0).
********************************************************************... | [
"samzapo@gmail.com"
] | samzapo@gmail.com |
e2aafb7b6cd517be4ae0c213322299b7aad833ad | 3728db88d8f8268ded2af24c4240eec9f9dc9068 | /mln/core/concept/weighted_window.hh | cdc5ce543d64d5b482bc104f26291da63f2c9a43 | [] | no_license | KDE/kolena | ca01613a49b7d37f0f74953916a49aceb162daf8 | 0e0eff22f44e3834e8ebaf2c226eaba602b1ebf6 | refs/heads/master | 2021-01-19T06:40:53.365100 | 2011-03-29T11:53:16 | 2011-03-29T11:53:16 | 42,732,429 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,185 | hh | // Copyright (C) 2007, 2008, 2009 EPITA Research and Development Laboratory (LRDE)
//
// This file is part of Olena.
//
// Olena 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, version 2 of the License.
//
/... | [
"trueg@kde.org"
] | trueg@kde.org |
3da122c2d5a01f55804fbd6cd73074f705865f3e | 72bc817573e6303801b57437ebe1afcf06285f71 | /code/BugAlgo/src/BugAlgorithms/DistBug.cpp | a5119515f83f97a4e56582e6bec758a2db8d86f6 | [] | no_license | BlackSlashProd/RoboticBugAlgo | ea67dfd57bfbcd96944d5042c32e5700f55a992c | 118e07e64391e72e372deb921ab7be503cc7a500 | refs/heads/master | 2021-01-20T13:47:46.072680 | 2014-01-30T15:23:21 | 2014-01-30T15:23:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,239 | cpp | #include "DistBug.h"
using namespace navigation;
DistBug::DistBug(const std::string& name) : BugAlgorithm(name) {
found = false;
direction = BugAlgorithm::CLOCKWISE;
thickness = 0;
}
bool DistBug::leavePointFound() {
return found;
}
void DistBug::findLeavePoint(geometry_msgs::Point robotPos, geometry_msgs::Po... | [
"clement.bar@gmail.com"
] | clement.bar@gmail.com |
e7b5d05cac8953e39406b199e4750cc9d77cbb0a | 0293949e8c3974530a71d051725d12a34df0695c | /Classes/ECS/ECSMacros.h | 361bd74ef53e02c2831f3d8da73829f9d55f8824 | [] | no_license | wanhuo/EntitySystem | bae1a98583ada49a9e38e8759a819c9ecf2a48d8 | 06266735de204414ab022e156c12aae857349b96 | refs/heads/master | 2020-04-06T03:47:00.128717 | 2014-07-08T09:03:41 | 2014-07-08T09:03:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,639 | h | /****************************************************************************
Copyright (c) 2013-2014 Elvis Qin
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, includin... | [
"hielvis@live.com"
] | hielvis@live.com |
68e2a2c044a7ce16c2b527b11d4caec838528003 | 829faecc97ec07db831c9c138bdf089ee34c9a0f | /cpp/openGLEssential/source/Library/PointLight.h | 3cb7a8a68bd81575212c337764c59212697decae | [] | no_license | sysbender/study | ec1cf8baa3b2971dfb9aa08566bf5db7e5cc663d | d69bd41a269a4936624b6c4bcd53a71616986eb0 | refs/heads/master | 2021-01-20T06:07:56.494951 | 2018-07-16T12:47:01 | 2018-07-16T12:47:01 | 101,484,981 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 699 | h | #pragma once
#include "Light.h"
namespace Library
{
class PointLight : public Light
{
RTTI_DECLARATIONS(PointLight, Light)
public:
PointLight(Game& game);
PointLight(const PointLight&) = default;
PointLight& operator=(const PointLight&) = default;
PointLight(PointLight&&) = default;
PointLight& operat... | [
"sysbender@gmail.com"
] | sysbender@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.