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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1548057eb9881d463ea5c4e4bcc3c760b2996b78 | 0ede806372e66372edabd130593e6660c222f21f | /hw3/test.cpp | aee8e4339d2c6d6e38b6f1669a9ec432e2238feb | [] | no_license | elijahverdoorn/SD-Spring-15 | ee47022dbe30a595efe649fcfd19a52406aedb10 | 7b9afb05d874dc939ecd686905754c5dd54a5d81 | refs/heads/master | 2016-09-05T17:03:05.423101 | 2015-09-15T15:16:43 | 2015-09-15T15:16:43 | 34,302,490 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 93 | cpp | #include <iostream>
using namespace std;
main()
{
int x = 382;
cout << 3829 % 2 << endl;
} | [
"elijahverdoorn@gmail.com"
] | elijahverdoorn@gmail.com |
0704143b84ac786b53a54e3c6ee89bde5a1f42a9 | f61c5cbe165b3d37cd93528e70653930895d2144 | /SM/src/NNParams.cc | 895cce1783d068457c0f2a193d5c81854d08c1e0 | [
"BSD-3-Clause"
] | permissive | huizee/MTF | 5fe26ac651c00ef4de751c8ac6ef40b983ebaf60 | 6e04023844b0f46161a95e0dbaf92769c4dc851f | refs/heads/master | 2021-01-19T13:56:10.512940 | 2017-02-17T05:02:44 | 2017-02-17T05:02:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,011 | cc | #include "mtf/SM/NNParams.h"
#include "mtf/Utilities/miscUtils.h"
#include "mtf/SM/GNN.h"
_MTF_BEGIN_NAMESPACE
NNParams::NNParams(
const gnn::GNNParams *_gnn,
int _n_samples,
int _max_iters,
double _epsilon,
const vectorvd &_ssm_sigma,
const vectorvd &_ssm_mean,
const vectord &_pix_sigma,
bool _additive_upda... | [
"asingh1@ualberta.ca"
] | asingh1@ualberta.ca |
5dd7fde27e45911782a9ad46209d74b4650268a9 | a781d330745d9512add3164436832ba25f92c3b6 | /yhteystiedot/contactManager.cpp | 363108cfa13f6b91685ab654cd5f30a7c2c0837a | [] | no_license | Ciridal/c-juttuja | 172077bf1bc8f9ded5241ed1275f67626a315c4c | 82de2d620daba1062a18e5ea82f1b7540a8e0e2c | refs/heads/master | 2021-01-10T18:20:25.667120 | 2016-01-26T12:46:11 | 2016-01-26T12:46:11 | 50,427,386 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 910 | cpp | #include "contactManager.h"
#include <iostream>
#include "Contact.h"
contactManager::contactManager()
{
}
contactManager::~contactManager()
{
}
void contactManager::addContact()
{
std::string name;
std::cout << "Anna nimi: " ;
std::cin >> name;
int number;
std::cout << "Anna numero: " ;
std::cin >> number;
... | [
"sinja.montonen@hotmail.com"
] | sinja.montonen@hotmail.com |
d5e85261009c0944140b95bde2249d756ce62e68 | 8bd30da01c1f22f9c360153311b429b7ce65980b | /PortSIPUC/include/PortSIPLib/PortSIPErrors.hxx | 33baf0374dc444e14cf2f7d2e995deffa99a7cb5 | [
"BSD-2-Clause"
] | permissive | jiaojian8063868/portsip-softphone-windows | 33adf93c21b97a684219d4cc3bf5cad3ea14b008 | df1b6391ff5d074cbc98cb559e52b181ef8e1b17 | refs/heads/master | 2022-11-19T20:22:40.519351 | 2020-07-24T04:06:23 | 2020-07-24T04:06:23 | 282,122,371 | 1 | 2 | BSD-2-Clause | 2020-07-24T04:26:24 | 2020-07-24T04:26:23 | null | UTF-8 | C++ | false | false | 6,238 | hxx |
#ifndef PORTSIP_ERRORS_hxx
#define PORTSIP_ERRORS_hxx
#define INVALID_SESSION_ID -1
#define CONFERENCE_SESSION_ID 0x7FFF //Conference Session Id, only use on enableVideoStreamCallback API
#define ECoreAlreadyInitialized -60000
#define ECoreNotInitialized -60001
#define ECoreSDKObjectNu... | [
"122019077@qq.com"
] | 122019077@qq.com |
579a171abfb5d99754c289b1eaac4f1aa85f5523 | b3e05f0357c5c232242c736e0f0631e3c1562db1 | /BAMEngine/RenderingEngine_VertexDescription.cpp | 26f7275645ffb03e8597fae3fcf3af03738e5347 | [] | no_license | ravarcade/BPS | f5656276b5f3e2da0da8cf3cf2ee0c1026a9b27a | a34c8f5aed356ae36f28997c2c923978b51fb13d | refs/heads/master | 2022-07-13T17:20:05.703849 | 2020-05-18T13:03:00 | 2020-05-18T13:03:00 | 200,522,330 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,977 | cpp | #include "stdafx.h"
#include <glm\glm.hpp>
namespace BAMS {
enum STDDT {
TF32, TF16, TU32, TI16, TU16, TU8, TUPACK, TIPACK
};
struct StreamTypeDataDescription {
uint8_t len;
uint8_t parts;
STDDT type;
};
StreamTypeDataDescription stdd[VAT_MAX_TYPE] = {
{ 0, 0, TF32 }, // UNUSED = 0,
{ 4, 1, T... | [
"ravarcade@gmail.com"
] | ravarcade@gmail.com |
829de2ab9af2e9374ec9d4389c379fe6a22f52c2 | afdb08cbcd011f1d3d5e6130268fae3927961b66 | /math/matrix33.h | 3c8a8c1c6b5a40319f2a2a819078f734169097be | [] | no_license | GaigeKinsey/CSC196 | 746801cfd0403ce245a295dd9f3aee1be5dc2247 | 073c99ebc0d821e5d68b2a473da3f3b494230831 | refs/heads/master | 2020-06-10T05:13:25.622340 | 2019-07-24T20:03:47 | 2019-07-24T20:03:47 | 193,592,455 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,165 | h | #pragma once
#include "vector2.h"
struct matrix33 {
public:
float m[3][3];
public:
matrix33() {}
void set_identity() {
m[0][0] = 1.0f; m[1][0] = 0.0f; m[2][0] = 0.0f;
m[0][1] = 0.0f; m[1][1] = 1.0f; m[2][1] = 0.0f;
m[0][2] = 0.0f; m[1][2] = 0.0f; m[2][2] = 1.0f;
}
void scale(float s) {
m[0][0] = s; ... | [
"gaigekinsey@yahoo.com"
] | gaigekinsey@yahoo.com |
7d0dd440314cf6d865149622cfc225700e64aa8f | 312ac2db68db9bae2ea5db87ca05329a77564216 | /867/A [Between the Offices].cpp | 5500c54b70300c3565d533ac974fa6f447d7601f | [] | no_license | Nikhil-Medam/Codeforces-Solutions | 3107023a4bbfc6bcf82ab05ed840a6d621567876 | 71f6304d7b9d87aac05f5b5c27a9f277ffdad4cd | refs/heads/master | 2020-06-17T07:30:24.618634 | 2019-07-08T16:13:35 | 2019-07-08T16:13:35 | 195,846,206 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,941 | cpp | #include<bits/stdc++.h>
using namespace std;
#define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define endl "\n"
#define ll long long
#define int long long
const int N=1e6+5;
ll max(ll a,ll b)
{
if(a>=b)
return a;
else
return b;
}
ll min(ll a,ll b)
{
if(a>=b)
return b;
... | [
"medam.nikhil@gmail.com"
] | medam.nikhil@gmail.com |
6b831bab401d6a9b99ab8af3a4d7246266c214f3 | a3e0accf00a331ef78a05dda7cce0afbbff56e22 | /src/TCPRole.cc | cca0f3268802b6ac4396f2a741757eb65de5435f | [
"BSD-3-Clause"
] | permissive | dantin/srt-server | e315d02cbed7e9aef5b87975d53a8e44275a80be | d355f78b0f8e44e0fdfd164d515e2df978d30dcd | refs/heads/main | 2023-05-09T07:08:40.269346 | 2021-06-10T08:12:53 | 2021-06-10T08:12:53 | 362,320,221 | 0 | 0 | BSD-3-Clause | 2021-06-10T08:12:54 | 2021-04-28T03:01:26 | C++ | UTF-8 | C++ | false | false | 6,419 | cc | #include <errno.h>
#include <string.h>
#include "TCPRole.hpp"
#include "SLSLog.hpp"
#define MAX_TCP_SOCK_COUNT 1
/**
* CTCPRole class implementation
*/
CTCPRole::CTCPRole()
{
m_fd = 0;
m_port = 0;
m_remote_port = 0;
m_valid = false;
strcpy(m_remote_host, "");
sprintf... | [
"noreply@github.com"
] | dantin.noreply@github.com |
ac52f388e49f5377b373a414733feae2faaebcf9 | 480da67fbafb8f6602e0b112e85adf3a71966453 | /solutions/7. Reverse Integer.cpp | 09d6784d66076383b9d73a65a1e51f3f4f7904c7 | [] | no_license | Mugdha-Hazra/leetcode-practice-solutions | 6e464284ca9a4598e8589f4698ac1ca76674ba45 | 7d20dfd34b41af7ce69d6d05af2378786d8286e7 | refs/heads/main | 2023-02-04T22:24:46.564619 | 2020-12-25T08:21:56 | 2020-12-25T08:21:56 | 324,975,905 | 1 | 0 | null | 2020-12-28T10:04:31 | 2020-12-28T10:04:31 | null | UTF-8 | C++ | false | false | 492 | cpp | class Solution {
public:
int reverse(int x) {
int ret = 0;
int last_digit = 0;
while(true) {
last_digit = x % 10;
ret = ret + last_digit;
x = x/10;
if (x == 0) break;
else {
if (ret > INT_MAX/10 || ret < INT_MIN/10) ... | [
"40270033+sounishnath003@users.noreply.github.com"
] | 40270033+sounishnath003@users.noreply.github.com |
e3e032bfe55156679dd6c9c5358026d4143a0795 | 5ebd5cee801215bc3302fca26dbe534e6992c086 | /blazetest/src/mathtest/dmatdmatmax/MDaSDa.cpp | fa7673427f5647b394995d3127127056a33bd8d0 | [
"BSD-3-Clause"
] | permissive | mhochsteger/blaze | c66d8cf179deeab4f5bd692001cc917fe23e1811 | fd397e60717c4870d942055496d5b484beac9f1a | refs/heads/master | 2020-09-17T01:56:48.483627 | 2019-11-20T05:40:29 | 2019-11-20T05:41:35 | 223,951,030 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,016 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dmatdmatmax/MDaSDa.cpp
// \brief Source file for the MDaSDa dense matrix/dense matrix maximum math test
//
// Copyright (C) 2012-2019 Klaus Iglberger - All Rights Reserved
//
// This file is... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
9bd43a2741bf922ba83985363063003ec5fe171a | 4243274a79e6f66ce1b35398c391356d8b5da56f | /flashpolicy/server_config.h | 05f7a3295651e49fc214a79279d68eab58634758 | [] | no_license | zhenyouluo/media_service | 7c806b301a8319e71f2560671c8fbcf8653ff879 | 251b4c521a3e6ad87cd8a5f203a6692d35090baf | refs/heads/master | 2020-05-29T11:36:04.376031 | 2014-11-24T05:18:24 | 2014-11-24T05:18:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 963 | h | /*
* server_config.h
*
* Created on: 2014年1月24日
* Author: jimm
*/
#ifndef SERVER_CONFIG_H_
#define SERVER_CONFIG_H_
#include "../frame/frame_impl.h"
#include "../frame/frame.h"
#include "../common/common_api.h"
#include "public_define.h"
#include "server_typedef.h"
#include <string.h>
using namespace FR... | [
"jimingmin@gmail.com"
] | jimingmin@gmail.com |
920d0f46e1ef318d1add9060b23eda5e895eaf56 | 16beecfc25480e7a784fd81a6bdefd3e48168c1b | /gunman position/gunman_position.cpp | 120e66516819d936d7eb12362562d698b5ceb9c6 | [] | no_license | lihaosky/poj | b0796b629f8fc5126d5fa9a6e9d34af3082d3adf | 8612ff723747c655233c9e8b969002621445184c | refs/heads/master | 2016-09-05T18:05:35.487377 | 2013-01-19T21:41:42 | 2013-01-19T21:41:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,930 | cpp | //suppose we have a nXn square
//there are certain blocks in the square and some gunmen
//suppose gunmen can only shoot vertically or horizontally and they can shoot each other through blocks
//now input n and the blocks use 'x' and blank place use '.'
//find the maximum gunmen such that it's safe(they can shoot each o... | [
"lihaosky@hotmail.com"
] | lihaosky@hotmail.com |
d20219dcc1b883321d6d38ceb8a7738f0db41cb7 | 07318127752c82cd19cc90d9297754a1ac6f2f53 | /SeRoNet-Tooling-ROS-Mixed-Port/DomainRosModelsRepositories/ROSCommon_msgs/smartsoft/src/ROSCommon_msgs/Nav_msgs_GetMapFeedback.cc | 763fd79ff6e41f775264fa51e2b00b9a3732700b | [] | no_license | seronet-project/SeRoNet-examples | 2dc694a2e36d80e5a852d328b324dd5cc30dffbb | 1d712c2bfab7ab54e43b6282cef94e5cdf6df8ca | refs/heads/master | 2020-08-15T08:35:16.025675 | 2020-08-14T06:14:55 | 2020-08-14T06:14:55 | 215,308,821 | 0 | 2 | null | 2020-04-16T09:59:21 | 2019-10-15T13:41:37 | C++ | UTF-8 | C++ | false | false | 1,649 | cc | //--------------------------------------------------------------------------
// Code generated by the SmartSoft MDSD Toolchain
// The SmartSoft Toolchain has been developed by:
//
// Service Robotics Research Center
// University of Applied Sciences Ulm
// Prittwitzstr. 10
// 89075 Ulm (Germany)
//
// Information abo... | [
"nhg@ipa.fhg.de"
] | nhg@ipa.fhg.de |
a467f2eb7451570235a70b39d0f13a03f16770cb | e502d2b62d23b9b7bf067065566eb93939ea11ef | /CSMGameProject/CSMGameProject/AnimationSample.cpp | a8bbfcacb3108134682e5fbd77fe6a5cdcaa8c14 | [
"MIT"
] | permissive | SlowT/CSM | 124db9ca05bb9481cf1d80737d3bfcec6882a0b8 | 628230b59bafa7cd265e14535ac0d9dfa9d4f484 | refs/heads/master | 2020-05-29T12:27:23.614610 | 2013-12-04T01:34:30 | 2013-12-04T01:34:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 570 | cpp |
#ifdef _DEBUG
#include "AnimationSample.h"
AnimationSample::AnimationSample()
{
m_Animation = NNAnimation::Create( 6, L"Sprite/attack_0.png",
L"Sprite/attack_1.png",
L"Sprite/die_0.png",
L"Sprite/die_1.png",
L"Sprite/idle_0.png",
L"Sprite/idle_1.png");
m_Animat... | [
"kciter@naver.com"
] | kciter@naver.com |
f1ef7f4e22f9b46816a9c37c306726f7c6212450 | 9fad4848e43f4487730185e4f50e05a044f865ab | /src/blimp/client/app/blimp_startup.cc | ad36ed10866c1e05e7e57e58bcf05fb64a85a999 | [
"BSD-3-Clause"
] | permissive | dummas2008/chromium | d1b30da64f0630823cb97f58ec82825998dbb93e | 82d2e84ce3ed8a00dc26c948219192c3229dfdaa | refs/heads/master | 2020-12-31T07:18:45.026190 | 2016-04-14T03:17:45 | 2016-04-14T03:17:45 | 56,194,439 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,953 | cc | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "blimp/client/app/blimp_startup.h"
#include "base/command_line.h"
#include "base/files/file_path.h"
#include "base/lazy_instance.h"
#include "ba... | [
"dummas@163.com"
] | dummas@163.com |
b72558ddd10704be81c27bb8c00095232b2e9869 | 4df89b640e2af8001d6fdcde93b83801edede16a | /devices/test-meas/Novatech409B/src/NovatechMain.cpp | 4f5073d1367b45a7dba5a8a6bc631a57ed9ade15 | [] | no_license | jasonhogan/sti-devices | 581337d3b95b6a32120facaa6017bfc6af55a281 | 93dc14fe0d87d75f9211ce1b7cc9d2cd52972910 | refs/heads/master | 2023-04-01T03:04:12.344384 | 2023-03-24T23:11:57 | 2023-03-24T23:11:57 | 49,023,260 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,973 | cpp | /*! \file main.cpp
* \author Susannah Dickerson
* \brief main file for Novatech409B
* \section license License
*
* Copyright (C) 2011 Susannah M Dickerson <sdickers@stanford.edu>\n
* This file is part of the Stanford Timing Interface (STI).
*
* This structure shamlessly derived from source code o... | [
"hogan@stanford.edu"
] | hogan@stanford.edu |
27f4448c6b998f522ed796ba2a26889c54f7f88f | 31554d8679815dca52c5004ff2edb41b13c2235a | /cavedb/src/store/sparse_hash_map_minimal.cpp | 33e08557994487a474e0c17213d4ff414db9bbb6 | [
"Apache-2.0"
] | permissive | ly-sql/leveldb_redis | 41f6519315d73fca5bcf8c3e03c2fc9d4834506e | 458f7bcb390a1d95e13d969de7efca5f4ddf2ae6 | refs/heads/master | 2020-07-28T04:15:37.238760 | 2019-08-13T03:29:38 | 2019-08-13T03:29:38 | 209,306,013 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,660 | cpp | #include "sparse_hash_map_minimal.h"
#ifdef Z_HAVE_SPARSEHASH
#include <google/sparse_hash_map>
#include <google/dense_hash_map>
#else
#include <sparsehash/sparse_hash_map>
#include <sparsehash/dense_hash_map>
#endif
typedef std::tr1::unordered_map<std::string,std::string> datamap_type;
typedef google::sparse... | [
"lyramilk@qq.com"
] | lyramilk@qq.com |
6a466f64ba89b7120723499ab1e917cd613d89b6 | 0ecf2d067e8fe6cdec12b79bfd68fe79ec222ffd | /components/drive/local_file_reader.cc | b4bcd3b4a650a428b6d923f008b00bcd0b1ab884 | [
"BSD-3-Clause"
] | permissive | yachtcaptain23/browser-android-tabs | e5144cee9141890590d6d6faeb1bdc5d58a6cbf1 | a016aade8f8333c822d00d62738a922671a52b85 | refs/heads/master | 2021-04-28T17:07:06.955483 | 2018-09-26T06:22:11 | 2018-09-26T06:22:11 | 122,005,560 | 0 | 0 | NOASSERTION | 2019-05-17T19:37:59 | 2018-02-19T01:00:10 | null | UTF-8 | C++ | false | false | 2,260 | cc | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/drive/local_file_reader.h"
#include "base/bind.h"
#include "base/files/file_path.h"
#include "base/sequenced_task_runner.h"
#include... | [
"artem@brave.com"
] | artem@brave.com |
e8606b01bbc3a594dbc5d2b1987107e9f1eb0892 | 91b7a4ad95fb2eaa433f57ef165ff1cbd00d69da | /EVA/ShaderManager.cpp | 6e17fbee3bb6e616b6280d98d28448f7067d7f87 | [] | no_license | Voldakk/IMT2531-Graphics-Programming-Exam | 4b39ffc700c2bf202de21d9c65029c81b2db350e | 8e53cdfb8ec8b4158a2935e44137e3d401c5ac24 | refs/heads/master | 2020-03-16T22:23:27.953572 | 2018-05-14T05:36:52 | 2018-05-14T05:36:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,896 | cpp | #include "ShaderManager.hpp"
#include <vector>
#include <fstream>
#include <iostream>
#include "GL/glew.h"
#include "Parsers/ShaderParser.hpp"
namespace EVA
{
std::map<FS::path, std::shared_ptr<Shader>> ShaderManager::m_Shaders;
std::shared_ptr<Shader> ShaderManager::LoadShader(const FS::path& path)
{
if (m_Sh... | [
"eivind@aunebakk.no"
] | eivind@aunebakk.no |
fead456d003b9ed56a6930b7cab871f7e9d296af | 2e30c9c3554509b1c83a4bfb1195d91262828bc9 | /countEvensTest.cpp | b97f385ea5acb1fa5619ecf80a536ff6fc171ef5 | [] | no_license | ChristinaChyi/lab04_ronak45 | f3494ba6abb7c02ee6a09f991d3ed262fe1294a4 | 8b854e0d7c939947d4f7d1dbd525fde67c96c1b8 | refs/heads/master | 2020-04-24T01:12:37.206030 | 2019-02-18T03:28:44 | 2019-02-18T03:28:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 982 | cpp | #include "arrayFuncs.h"
#include "tddFuncs.h"
#include "utility.h"
int main() {
int fiveThrees[5]={3,3,3,3,3};
assertEquals(0,
countEvens(fiveThrees,5),
"countEvens(fiveThrees,5)");
int zeros[3]={0,0,0}; // initializes all elements to 0
assertEquals(3,
countEvens(zeros,3),
"... | [
"rsparikh@cs.ucsb.edu"
] | rsparikh@cs.ucsb.edu |
df7f0f4ddb84a4fe2198230a7908b8a41098401f | e50d8d5a2c77fab8449ba2641e068f6bcaa25e99 | /include/pbs/string_reader_impl.h | 2231dff99614a23ad5a046c70dadd38504fd5dc9 | [] | no_license | knighton/pbs | c4521853476a52dfa29dbf9ff08db5efe843524c | 05ba3164ad300b01e5f1cb796e9e74c2105df0a3 | refs/heads/master | 2020-04-23T12:30:09.188136 | 2019-02-17T20:04:33 | 2019-02-17T20:04:33 | 171,170,923 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 333 | h | #pragma once
#include "string_func.h"
namespace pbs {
template <typename T>
StringReader<T>::StringReader(const string* data, size_t* index) {
data_ = data;
index_ = index;
}
template <typename T>
ReadResult StringReader<T>::ReadOne(T* proto) {
return ReadOneFromString(*data_, index_, proto);
}
} // n... | [
"iamknighton@gmail.com"
] | iamknighton@gmail.com |
51ce428656a61f1ddd27963ab78fa5a15d9bd497 | 430a32871c7597a582fcab812316c746e2d09840 | /src/gl/gl_object_3d.h | 4eef10203df52328552a213dfddb38343877576d | [
"MIT"
] | permissive | balix18/minercaftVK | a954729d46114c1511de136fd0427f893d49afa8 | c2b36ae623d80fd4cf95df779458d40ac45c2863 | refs/heads/master | 2023-01-31T00:28:20.629521 | 2020-12-14T22:35:09 | 2020-12-14T22:35:09 | 300,431,718 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,318 | h | #pragma once
struct Camera;
struct GpuProgram;
#include "surface_texture.h"
#include "../model_loader.h"
enum struct VertexLayout
{
POSITION,
NORMAL,
UV,
TANGENT,
BITANGENT,
INDEX
};
struct Transformation
{
glm::vec3 translate;
glm::vec3 scale;
float rotate;
glm::vec3 rotationAxis;
Transformation();
};
... | [
"balix18@gmail.com"
] | balix18@gmail.com |
518731c7dd3fc7b7ca515fd47594f034d7f76365 | fb3c1e036f18193d6ffe59f443dad8323cb6e371 | /application/iphone/Shared/log/ZKey.h | 370808de0f444267f010e534a6a65978b3da7fd1 | [] | no_license | playbar/nstest | a61aed443af816fdc6e7beab65e935824dcd07b2 | d56141912bc2b0e22d1652aa7aff182e05142005 | refs/heads/master | 2021-06-03T21:56:17.779018 | 2016-08-01T03:17:39 | 2016-08-01T03:17:39 | 64,627,195 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,010 | h | #ifndef ZKey_h
#define ZKey_h
#include "ZKeyArray.h"
#include "ELogType.h"
#include "GGBase.h"
/**
* log键值
* @author zhangchen
* @version 1.0
*/
class ZKey{
public:
ZKey();
ZKey(ELogType name, int value);
ZKey(ELogType name, char *value);
ZKe... | [
"hgl868@126.com"
] | hgl868@126.com |
95d2a743d5f1647fcb605b6cce9014c5e74001d8 | 75791b7f138acb94a1c9a34fb721de8ef71b6d5d | /f9tws/ExgTradingLineMgr.cpp | 2760f2793e60f3b9c7478de0a99f533d13ff6a03 | [
"Apache-2.0"
] | permissive | yuan0105/libfon9 | 2418467e34cbe797ad6a7bc42aaf30ad3535ce8f | e4b7da9cb04181c36fc15305409a04772b774fd8 | refs/heads/master | 2022-12-30T02:45:55.775354 | 2020-09-21T07:25:36 | 2020-09-21T07:25:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 882 | cpp | // \file f9tws/ExgTradingLineMgr.cpp
// \author fonwinz@gmail.com
#include "f9tws/ExgTradingLineMgr.hpp"
namespace f9tws {
void ExgTradingLineMgr::OnParentSeedClear() {
this->OnBeforeDestroy();
baseIo::OnParentSeedClear();
}
void ExgTradingLineMgr::OnFixSessionApReady(f9fix::IoFixSession& fixses) {
if (auto... | [
"fonwinz@gmail.com"
] | fonwinz@gmail.com |
6d64a06f81931d8ef0ac482daa381a38ded13432 | 366391e8126ca5462fe6480dda718fe6cd749461 | /Histograms_Matching/calcHist_Demo.cpp | e827179c1836c4a945cb6fabac3308b9099bb878 | [] | no_license | zhangqizky/eat-opencv-in-21-days | 0eb5e66a086bbcf0d0f70292e804ab8eb6a682a5 | accaf030c0aabf335e4a0b5f00073cab76e3f7d3 | refs/heads/master | 2023-01-08T19:45:54.848522 | 2020-11-06T09:29:26 | 2020-11-06T09:29:26 | 295,769,046 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,364 | cpp | //
// Hist.cpp
// LearnOpenCV
//
// Created by Zhang,Qi on 2020/10/17.
// Copyright © 2020 Zhang,Qi. All rights reserved.
//
#include <stdio.h>
#include <opencv2/opencv.hpp>
using namespace std;
using namespace cv;
int main()
{
Mat src = imread("/Users/zhangqi44/Desktop/hehua.jpg");
if(src.empty())
... | [
"noreply@github.com"
] | zhangqizky.noreply@github.com |
2c831628ab1b95b0b27b2cf0551ab4e7af5a4cf4 | 913a56012739e40a17bb5309b40d5ef6971e28d5 | /Source/Runtime/Private/Physics/PhysicsSliderConstraint.cpp | 5be8de9021640b44988ddad69b9f56bfa89a8e4a | [
"LicenseRef-scancode-free-unknown",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | davchezt/BlueshiftEngine | 4265b0bf4ef7a2dbd0d726977f0bae333d1025bb | fbc374cbc391e1147c744649f405a66a27c35d89 | refs/heads/master | 2020-12-05T22:42:44.353929 | 2020-11-28T22:37:08 | 2020-11-28T22:37:08 | 232,265,027 | 2 | 0 | Apache-2.0 | 2020-11-29T01:38:17 | 2020-01-07T07:10:48 | null | UTF-8 | C++ | false | false | 6,990 | cpp | // Copyright(c) 2017 POLYGONTEK
//
// 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 agreed to i... | [
"jufoot@gmail.com"
] | jufoot@gmail.com |
8df761b262135a8b660b4c22c4333516a3cf06db | 652a48a7e02d75c3022063830da2e838fddc1c6c | /sensors.hpp | 9ae782098ac9d8810a695292ba05604e434e4aa6 | [] | no_license | Xingyuxingyu/FlightController | fd0d6c17cafd407ad1ea58f58582b088277e14dc | 047e9040eb3bf95b26591ff8e642ebfde5940d6c | refs/heads/master | 2020-12-02T22:50:14.228370 | 2017-06-10T23:29:39 | 2017-06-10T23:29:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,268 | hpp | #include "mbed.h"
#include "hal/i2c/bno055.hpp"
#include "hal/i2c/srf02.hpp"
#include "hal/i2c/mpl3115a2.hpp"
#include "defines.hpp"
enum HeightSource{
US, BARO
};
namespace sensors{
Ticker ticker;
I2C i2c(D4, D5);
Bno055 imu(i2c);
Mpl3115a2 baro(i2c);
Srf02 us(i2c);
uint16_t initialHe... | [
"paul.nykiel@gmail.com"
] | paul.nykiel@gmail.com |
e6e4b4bc4d99a4c092ae574b5067bc8751d0da93 | af29aa48ba4364ba5c2c57d7462ee9cb02852252 | /Events/ArrivalEvent.h | d2f972ea53816f103c54dfefc5b06737f5b481ef | [] | no_license | HanaAmr/RestaurantServing | 6c81a9ccc345634fe6c0ae3a79589b88a4a99aa0 | 3788584bb92330ab3bea735375564e0aec0b5229 | refs/heads/master | 2022-07-31T03:52:56.592646 | 2020-05-10T21:36:22 | 2020-05-10T21:36:22 | 262,876,741 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 601 | h | #ifndef __ARRIVAL_EVENT_H_
#define __ARRIVAL_EVENT_H_
#include "Event.h"
//class for the arrival event
class ArrivalEvent: public Event
{
//info about the order ralted to arrival event
int OrdDistance; //order distance
ORD_TYPE OrdType; //order type: Normal, Frozen, VIP
REGION OrdRegion; //Region of ... | [
"noreply@github.com"
] | HanaAmr.noreply@github.com |
4abce7934b0a6935f35f2d8db9ac9b7d6bf201ba | 9ff69f2638fe679b9fbb3ac682d356b59c50b068 | /code archive/TIOJ/2020.cpp | 17ed653e517c19ef372bea9fd25fe46a9d451e97 | [
"MIT"
] | permissive | brianbbsu/program | 7f7c3d4aacea32ada7f74cf5caffa9931be280c4 | c4505f2b8c0b91010e157db914a63c49638516bc | refs/heads/master | 2021-05-23T04:53:49.618057 | 2020-04-18T15:21:10 | 2020-04-18T15:21:10 | 81,056,684 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,923 | cpp | //{
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef double lf;
typedef pair<ll,ll> ii;
#define REP(i,n) for(ll i=0;i<n;i++)
#define REP1(i,n) for(ll i=1;i<=n;i++)
#define FILL(i,n) memset(i,n,sizeof i)
#define X first
#define Y second
#define SZ(_a) (int)_a.size()
#define ALL(_a) _a.begin(),_... | [
"brianbb.su@gmail.com"
] | brianbb.su@gmail.com |
135aef8a91cdf39da005509d776bd5a15abab020 | db7eacb4c0644266709e845cecfeb98139fca978 | /socialgraph/OfferFriends/share/OfferFriendsUtil.h | bd2273466d094fa91f34a9c762de60131bf784bd | [] | no_license | bradenwu/oce | ce893b762cf91e71f26a72378153cab57bfa18c6 | 73d2efa57f896a10953428b278babc109cdc2aa4 | refs/heads/master | 2021-01-22T16:53:20.542536 | 2012-07-13T17:38:05 | 2012-07-14T02:08:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,327 | h | #ifndef OFFERFRIENDSUTIL_H_
#define OFFERFRIENDSUTIL_H_
#include <Ice/Ice.h>
#include <IceUtil/IceUtil.h>
#include "ObjectCacheI.h"
#include "Util.h"
#include "QueryRunner.h"
#include <FriendFinder.h>
#include <FriendFinderInfoCache.h>
#include <FriendFinderByIP.h>
#include <IPRecord.h>
namespace xce {
namespace offe... | [
"shanshan@localhost.(none)"
] | shanshan@localhost.(none) |
6fa8396d4eff9fd7b3da85543cfe8d5207679ede | 1f6ed4c03ed117f3440f3d48c95d4a0c3a70ebbd | /YAPOG.Client/include/Battle/Phase/BeginTrainerBattlePhase.hpp | b4920c7a1bc0956ce19cf6ec134ed4dc7322b79d | [] | no_license | hackerlank/YAPOG | d2aa8b1dcc9231049bd8a5d27107c9cc32616094 | 93f5a9d00b14ae1343ff5666617ffc1b14c87ec2 | refs/heads/master | 2020-06-13T09:40:57.312506 | 2013-04-23T11:03:24 | 2013-04-23T11:03:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,237 | hpp | #ifndef YAPOG_CLIENT_BEGINTRAINERBATTLEPHASE_HPP
# define YAPOG_CLIENT_BEGINTRAINERBATTLEPHASE_HPP
# include "YAPOG/Macros.hpp"
# include "YAPOG/System/String.hpp"
# include "YAPOG/Graphics/IDrawable.hpp"
# include "Battle/Phase/BeginBattlePhase.hpp"
namespace yap
{
class PhaseArgs;
} // namespace yap
namespace y... | [
"noxalus@gmail.com"
] | noxalus@gmail.com |
1f0cabfad28a23a7bba60f0a0605757ea0123eab | 43c8baa77270ddf1fbebcb16bf1521ab0e2bffbc | /src/tinyxmlerror.cpp | 6c98d64ce76e4c77b4d95f14fc22c21f44254eae | [
"MIT"
] | permissive | slate6715/GUtilities | 11888485f359edcbfdff6b17825939b8fa9b77eb | 642f8dfadef06073320e38deab614a7807e3d332 | refs/heads/master | 2022-03-08T15:58:25.361744 | 2019-11-08T22:02:21 | 2019-11-08T22:02:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,900 | cpp | /*
www.sourceforge.net/projects/tinyxml
Original code (2.0 and earlier )copyright (c) 2000-2006 Lee Thomason (www.grinninglizard.com)
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.
Permiss... | [
"slate6715@yahoo.com"
] | slate6715@yahoo.com |
11632a6f614b405f1b8341f96c77cb08f4f4e40a | 0c4bd1b977cc714a8a6b2839f51c4247ecfd32b1 | /C++/nnForge/nnforge/cuda/untile_layer_testing_schema.h | 4b5b27888dbf8ad20378cbef2c2fcf4c5d2991aa | [
"Apache-2.0"
] | permissive | ishine/neuralLOGIC | 281d498b40159308815cee6327e6cf79c9426b16 | 3eb3b9980e7f7a7d87a77ef40b1794fb5137c459 | refs/heads/master | 2020-08-14T14:11:54.487922 | 2019-10-14T05:32:53 | 2019-10-14T05:32:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,329 | h | /*
* Copyright 2011-2015 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... | [
"the.new.horizon@outlook.com"
] | the.new.horizon@outlook.com |
f762e8e914ee79c5e3a4c28c1d8ecebf8182669c | b29e115eee50d46e0844e8db387dbdc9c452e3ef | /model/model.cpp | 3a80ef5885222ac92bb1d01b5a122ddfa7e33427 | [] | no_license | zwergon/q3D | f1b238f19af760dfa7560e3e328dea881bf13931 | 1163f989807560a8936df29c4febc79b6eff181e | refs/heads/master | 2020-04-08T20:57:40.895024 | 2019-11-27T16:30:52 | 2019-11-27T16:30:52 | 159,722,922 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 551 | cpp | /**
* Copyright (C) 2008-@year@ by IFP-GROUP.
* All rights reserved.
*
* IFP Headquarters:
* 1 & 4, avenue de Bois-Preau
* 92852 Rueil-Malmaison Cedex - France
*
* \author Lecomte Jean-Francois
*
* $Id: model.cpp 7 2008-08-01 13:07:36Z lecomtje $
*/
#include "model.h"
#include <QMenu>
namespace Q3D {
voi... | [
"jean-francois.lecomte@ifpen.fr"
] | jean-francois.lecomte@ifpen.fr |
363bfbfd09b1a7e1157615676da74904d98f2915 | 80ce0543c91e3f7d796eb8b98abdafd3deeb914f | /PhTempEc.ino | 38dd9e125fc78138845277664d9f54b4f574b2d0 | [] | no_license | aaronwash99/Fooderator | ef75008a60341f4369afd081f661a3e060d0df62 | 387ac48495d5feb417352730ba43fe11552e4bed | refs/heads/master | 2020-07-23T02:02:44.039048 | 2020-01-23T01:16:10 | 2020-01-23T01:16:10 | 207,410,768 | 0 | 0 | null | 2020-01-23T01:24:00 | 2019-09-09T21:46:36 | C++ | UTF-8 | C++ | false | false | 2,052 | ino |
#include "DFRobot_PH.h"
#include "DFRobot_EC.h"
#include <EEPROM.h>
#include <dht11.h>
dht11 DHT;
#define DHT11_PIN A0
#define PH_PIN A1
#define EC_PIN A2
float voltagePH, voltageEC, phValue, ecValue, temperature = 25;
DFRobot_PH ph;
DFRobot_EC ec;
void setup()
{
Serial.begin(115200);
ph.begi... | [
"noreply@github.com"
] | aaronwash99.noreply@github.com |
0cd8e58a805b6f84aadbbf8f6967d37ee896aba3 | 68e8f6bf9ea4f5c2b1e5c99b61911b69c546db60 | /src/RE/MagicTarget.cpp | a1869cc4f1fa9424a66b9463df1833fb7f57bd06 | [
"MIT"
] | permissive | FruitsBerriesMelons123/CommonLibSSE | aaa2d4cd66d39f7cb4d25f076735ef4b0187353e | 7ae21d11b9e9c86b0596fc1cfa58b6993a568125 | refs/heads/master | 2021-01-16T12:36:20.612433 | 2020-02-25T09:58:05 | 2020-02-25T09:58:05 | 243,124,317 | 0 | 0 | MIT | 2020-02-25T23:24:47 | 2020-02-25T23:24:47 | null | UTF-8 | C++ | false | false | 1,123 | cpp | #include "RE/MagicTarget.h"
#include "RE/ActiveEffect.h"
#include "RE/EffectSetting.h"
#include "RE/BSTList.h"
#include "RE/Offsets.h"
#include "REL/Relocation.h"
namespace RE
{
void MagicTarget::DispellEffectsWithArchetype(Archetype a_type, bool a_force)
{
auto effects = GetActiveEffectList();
if (!effects) {... | [
"ryan__mckenzie@hotmail.com"
] | ryan__mckenzie@hotmail.com |
52a3e33b6b9aa0f942e0990d3b19621c5d2d50d5 | 9fa2502e98b9779e16be62c65cca060ee4282061 | /test/source/poker_msgs/MsgNotifyPlayerLevelUp.h | 201a76ed7431fdaff3397a951fcc2a1f6a4d1990 | [] | no_license | zjhlogo/spank_old | 558d617c44e3f6b53bb4e26167f55d8cb7f5098c | 8030f21d98ac743baf0681bbb626e76c489d8711 | refs/heads/master | 2021-01-23T13:48:16.189834 | 2012-12-16T03:45:40 | 2012-12-16T03:45:40 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 758 | h | /*!
* \file MsgNotifyPlayerLevelUp.h
* \date unknown
*
* 通知玩家升级
* \author Auto Generate by MsgGen
*/
#ifndef __MSGNOTIFYPLAYERLEVELUP_H__
#define __MSGNOTIFYPLAYERLEVELUP_H__
#include "PokerMsgBase.h"
#include "NetDataType.h"
class MsgNotifyPlayerLevelUp : public PokerMsgBase
{
public:
enum CONST_DEFINE
{
... | [
"zjhlogo@181a2263-6311-9be6-e15f-e484ee8db88e"
] | zjhlogo@181a2263-6311-9be6-e15f-e484ee8db88e |
d9ad29ca3229ea53d6dd862e91b62f0b588bcf0a | bb6ebff7a7f6140903d37905c350954ff6599091 | /third_party/WebKit/Source/core/rendering/RenderGeometryMap.cpp | 13782a8af3da947e07cf742d6a522afc4fcf2302 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"BSD-3-Clause",
"LGPL-2.0-only",
"BSD-2-Clause",
"LGPL-2.1-only"
] | permissive | PDi-Communication-Systems-Inc/lollipop_external_chromium_org | faa6602bd6bfd9b9b6277ce3cd16df0bd26e7f2f | ccadf4e63dd34be157281f53fe213d09a8c66d2c | refs/heads/master | 2022-12-23T18:07:04.568931 | 2016-04-11T16:03:36 | 2016-04-11T16:03:36 | 53,677,925 | 0 | 1 | BSD-3-Clause | 2022-12-09T23:46:46 | 2016-03-11T15:49:07 | C++ | UTF-8 | C++ | false | false | 14,308 | cpp | /*
* Copyright (C) 2012 Apple Inc. All rights reserved.
*
* 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 a... | [
"mrobbeloth@pdiarm.com"
] | mrobbeloth@pdiarm.com |
451685155de273984f6285933980607c913f299e | 19a0a81d7eae4fb955a9d6485ded1262e193d332 | /CGImplementation/Math/CGMat2.h | 3a2c77ff05de2f6eb0f4e4e53e10390251b8711c | [] | no_license | lch32111/ChanGameEngine | 2335d36fd381f73bfe4c38a496dcfa4a480dea6d | 94dc85b10ac9273ebcf7032733acf9796b37b714 | refs/heads/master | 2021-09-28T10:34:50.217412 | 2021-09-13T07:07:28 | 2021-09-13T07:07:28 | 162,899,092 | 4 | 0 | null | 2019-01-20T07:48:29 | 2018-12-23T14:45:48 | C++ | UTF-8 | C++ | false | false | 5,326 | h | #ifndef __CG_MAT2_H__
#define __CG_MAT2_H__
#include <Math/CGVector2.h>
namespace CG
{
template<typename Scalar>
class CGMat2
{
public:
CGMat2() { }
explicit CGMat2(Scalar s)
: m_col{ s, 0, 0, s } { }
explicit CGMat2(Scalar s00, Scalar s10, Scalar s01, Scalar s11)
: m_col{ s00, s10, s01, s11} { }... | [
"lch32111@naver.com"
] | lch32111@naver.com |
8108eafb90cfff7c88b76be3d6a4dc72cc0bc340 | 500749abf3d1618809483a434dfcc38779b2ad84 | /CPUT/CPUT/CPUTVertexShaderDX11.cpp | b7d542c57cef0fa0f60367dcbb77a15166e482f1 | [] | no_license | bagobor/Foliage | d26e0f4918ac25314ea0a7153df82e6e1bb2ae79 | c26228958c0d0fb6a500494d37d6f73bbb442b11 | refs/heads/master | 2021-01-18T00:17:03.484930 | 2014-09-26T10:50:28 | 2014-09-26T10:50:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,266 | cpp | //--------------------------------------------------------------------------------------
// Copyright 2013 Intel Corporation
// All Rights Reserved
//
// Permission is granted to use, copy, distribute and prepare derivative works of this
// software for any purpose and without fee, provided, that the above copyright no... | [
"doug.mcnabb@intel.com"
] | doug.mcnabb@intel.com |
e680e5ac1249f79901ea606c1844699b3d7cf907 | bb38c44037a99d0a12a12d92059678f2faebbc80 | /src/common/interfaces/libpq/client_logic_hooks/abstract_hook_executor.cpp | 029ec1c18543a3c8d3053e6733d2b277dfe82b27 | [
"LicenseRef-scancode-mulanpsl-2.0-en",
"LicenseRef-scancode-unknown-license-reference",
"PostgreSQL",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LicenseRef-scancode-unicode",
"LicenseRef-scancode-warranty-disclaimer",
"curl",
"GPL-1.0-or-later",
"LGPL-2.1-or-later",
"LGPL-2.1-only",
"CC-BY-4.0",
... | permissive | opengauss-mirror/openGauss-server | a9c5a62908643492347830826c56da49f0942796 | 310e84631c68c8bf37b004148b66f94064f701e4 | refs/heads/master | 2023-07-26T19:29:12.495484 | 2023-07-17T12:23:32 | 2023-07-17T12:23:32 | 276,117,477 | 591 | 208 | MulanPSL-2.0 | 2023-04-28T12:30:18 | 2020-06-30T14:08:59 | C++ | UTF-8 | C++ | false | false | 3,481 | cpp | /*
* Copyright (c) 2020 Huawei Technologies Co.,Ltd.
*
* openGauss is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
*
* http://license.coscl.org.cn/MulanPSL2
*
* THIS SOFTWARE IS PROVIDED ... | [
"dengxuyue@huawei.com"
] | dengxuyue@huawei.com |
c5c59d60b4639eadf6ff2316ed7a0907248ec9dd | d343d58771766db73e641b771f861b7844079bf7 | /lab3/ListNode.cpp | 7888447f1caaccb071a886f4ef735397f46f28dd | [] | no_license | noahfrench/CS2150-Labs | 22e774fd0fd5ad901851c789033abd5887a67905 | de346f13aa925b8025c78a1a017b88db54f8d104 | refs/heads/master | 2020-03-20T01:31:20.660211 | 2018-06-12T13:52:27 | 2018-06-12T13:52:27 | 137,076,141 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 262 | cpp | /*
* Noah French (njf5cu)
* Lab 3
* Filename: ListNode.cpp
* Description: ListNode class implementation
* 9/14/17
*/
#include <iostream>
#include "ListNode.h"
using namespace std;
// Constructor
ListNode::ListNode() {
value = 0;
next = NULL;
}
| [
"noahjfrench@gmail.com"
] | noahjfrench@gmail.com |
0f1f540de5698e4b09ce7e799568fe5f98dd843b | ecea58ea1959bea019cc3e4ae33fb409b3161431 | /CVE_Project/Source/Engine/IManager.h | 4bb3286e31d61f9f68be41a31fa876cc067a4d59 | [] | no_license | chrisverm/CVEngine | 255d7b123e339ffb74feac3a016cb1ed7e94b872 | 8c3c32aa5c1986e5b0baff4d07fce9a6bcc22697 | refs/heads/master | 2021-01-10T20:28:21.434544 | 2015-12-02T00:40:56 | 2015-12-02T00:40:56 | 37,203,371 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 220 | h | #ifndef I_MANAGER_H
#define I_MANAGER_H
#include "Singleton.h"
namespace CVE
{
namespace Utilities
{
class IManager
{
virtual void initialize( void ) = 0;
virtual void release( void ) = 0;
};
}
}
#endif | [
"crv3744@g.rit.edu"
] | crv3744@g.rit.edu |
c2bf00efb7c1179829f042dfd2224265edd7cb7e | 0847104cf80a8cb6eef0aa92ac33b27eeb84e468 | /FinalProjectUE4/XtremeJanitor/Source/XtremeJanitor/PickupActor.h | f97bcd1adc2623c47367668dbf12d9a4c0614bcd | [] | no_license | MelBeee/UE4_FinalProject_A15 | d7a8611531c69ac6d655176d6d86d42413a88645 | f7e51c947e559f8d64686c7890bfd2ed3eb76a38 | refs/heads/master | 2021-01-24T19:12:49.612748 | 2015-11-28T19:56:30 | 2015-11-28T19:56:30 | 46,091,031 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 456 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "UsableActor.h"
#include "PickupActor.generated.h"
/**
*
*/
UCLASS()
class XTREMEJANITOR_API APickupActor : public AUsableActor
{
GENERATED_BODY()
public:
APickupActor();
void Destroy();
void BeginPlay() o... | [
"david.sylvestre@sympatico.ca"
] | david.sylvestre@sympatico.ca |
f1751634e60bc002bbef9a501ede4e1da9f0ebfe | 2e29726224c886bacd23cb07e16cda3542fc7a43 | /CPP/167. Two Sum II - Input array is sorted.cpp | d7bebf88b81014ba528a26646a9f80935794a6ab | [] | no_license | suym7962018/Leetcode | aaf9aa34210586c7e32204182445ea18ef6e942b | cf164b0a55c3b26c94fe77a2a53f62a31640d8bc | refs/heads/master | 2020-04-24T04:07:25.974817 | 2019-07-24T14:52:25 | 2019-07-24T14:52:25 | 171,692,508 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 379 | cpp | //O(n)
class Solution {
public:
vector<int> twoSum(vector<int>& numbers, int target) {
int l = 0, r = numbers.size() - 1;
while(l < r){
if(numbers[l] + numbers[r] == target)
return {l + 1, r + 1};
else
{
if(numbers[l] + numbers[r] > target)
r--;
else
... | [
"ys3587@nyu.edu"
] | ys3587@nyu.edu |
2548720b9dcf3061d731c1781d7525de3420d534 | 6c0d99835b06400e9821a8ca6e67a56375671b97 | /public/GBboard/GB board/09-Distance_Alarm/09-Distance_Alarm.ino | 0cbb555b9c10f85e7832a4120ec8ab30ac38969d | [] | no_license | fdmxfarhan/iranroboticacademy | 2b67c1fd1ac944263d6970e830ffebc732a67e35 | 14be1965ead9fe8bf85b04d7bb34dc923b4bc307 | refs/heads/master | 2022-12-11T04:22:22.090897 | 2020-10-10T13:38:46 | 2020-10-10T13:38:46 | 202,143,740 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 678 | ino | #include <LiquidCrystal.h>
const int rs = 10, en = 9, d4 = 8, d5 = 7, d6 = 6, d7 = 5;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
int a;
int srf(int trig,int echo){
digitalWrite(trig,1);
delayMicroseconds(10);
digitalWrite(trig,0);
return(pulseIn(echo, 1)*0.034/2);
}
void setup() {
pinMode(2, OUTP... | [
"fdmxfarhan@yahoo.com"
] | fdmxfarhan@yahoo.com |
8e7462418a14b2bd551d0acf72e9e8e66cbd25cd | a0e402b5bebdf3eed677336832f916845308661f | /leetcode/0198.House-Robber/house_robber.cpp | 582c251a06b7438c0d16ea33b1efafb62fac3496 | [] | no_license | masszhou/leetcode-exercise | df909a9e456c8db6e5b8779e73bdd8bad3f61218 | 658024e060bc1f809ec7929d9031193835b89b97 | refs/heads/main | 2023-04-23T22:04:28.781491 | 2021-04-12T14:14:11 | 2021-04-12T14:14:11 | 309,758,337 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,204 | cpp | //
// Created by zzhou on 11.11.20.
//
#include <vector>
#include <iostream>
using std::vector;
namespace leetcode{
// summary:
// 1. fundamental DP practice, bottom to up
class HouseRobber
{
public:
static int solve(vector<int>& nums){
if (nums.empty())
return 0;
else if (nums.size... | [
"zhouzhiliang@gmail.com"
] | zhouzhiliang@gmail.com |
b775c3752d01033018e2e2b918e9db4d6c5e98e3 | a3415f8c72f99778af4599a9e84240ad707c125f | /Scripts/PKU-Course1-task5/3-RideandWalk.cpp | cf8fc663ae5b5e0ee2882cf3cfd2fe48b52a9275 | [] | no_license | Happykelee/the-study-of-C | 48d4a63fd28abb28325ea947adba0a16e874e2fb | c9db3ad060f5f4a1b5aa8f7160636d7621faabb5 | refs/heads/master | 2021-06-23T17:39:23.982622 | 2021-06-21T03:20:33 | 2021-06-21T03:20:33 | 147,782,897 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,335 | cpp | /*
【骑车与走路】
来源: POJ
注意:总时间限制: 1000ms 内存限制: 65536kB
描述:在北大校园里,没有自行车,上课办事会很不方便.
但实际上,并非去办任何事情都是骑车快,因为骑车总要找车、开锁、停车、锁车等,这要耽误一些时间.
假设找到自行车,开锁并车上自行车的时间为27秒;
停车锁车的时间为23秒;步行每秒行走1.2米,骑车每秒行走3.0米.
请判断走不同的距离去办事,是骑车快还是走路快.
输入:第一行为待处理的数据的数量n
其后每一行整数为一次办事要行走的距离,单位为米.
输出:对应每个整数,如果骑车快,输出一行"Bike";如果走路快,输出一行... | [
"jety2858@163.com"
] | jety2858@163.com |
96bc2ade6002615590b6dc0664a8360ddd2908be | 59dc5d428e102bf72eb7245dbbe7a47a66728378 | /common/state/Axes3D.h | 94616cda103e5a9be0d6b311434664a127f80a63 | [] | no_license | HarinarayanKrishnan/VisIt26RC_Trunk | 6716769694d1a309f994056209171f67e5131642 | 581a0825d81169572b48dd80c1946131c03d0858 | refs/heads/master | 2016-09-06T07:14:00.094983 | 2013-05-15T14:36:48 | 2013-05-15T14:36:48 | 7,009,345 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,178 | h | /*****************************************************************************
*
* Copyright (c) 2000 - 2012, Lawrence Livermore National Security, LLC
* Produced at the Lawrence Livermore National Laboratory
* LLNL-CODE-442911
* All rights reserved.
*
* This file is part of VisIt. For details, see https://visit.llnl... | [
"brugger@18c085ea-50e0-402c-830e-de6fd14e8384"
] | brugger@18c085ea-50e0-402c-830e-de6fd14e8384 |
667485202081586c46d6bb1559c16cc2586ed7d7 | a5f35d0dfaddb561d3595c534b6b47f304dbb63d | /Source/BansheeEditor/EditorWindow/BsDockManagerLayout.cpp | 081d83f102858e2856b392355a0bb608fc8a1962 | [] | no_license | danielkrupinski/BansheeEngine | 3ff835e59c909853684d4985bd21bcfa2ac86f75 | ae820eb3c37b75f2998ddeaf7b35837ceb1bbc5e | refs/heads/master | 2021-05-12T08:30:30.564763 | 2018-01-27T12:55:25 | 2018-01-27T12:55:25 | 117,285,819 | 1 | 0 | null | 2018-01-12T20:38:41 | 2018-01-12T20:38:41 | null | UTF-8 | C++ | false | false | 4,472 | cpp | //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
//**************** Copyright (c) 2016 Marko Pintera (marko.pintera@gmail.com). All rights reserved. **********************//
#include "EditorWindow/BsDockManagerLayout.h"
#include "RTTI/BsDockMan... | [
"bearishsun@gmail.com"
] | bearishsun@gmail.com |
163d54669f29c6286746f9c561af25f77ab13939 | 1b739407894c9f65ca05d63bcc207419e88283a7 | /ftduino/libraries/Ftduino/Ftduino.h | f9e2750b5f7244dafe8e009cf9f54f024d6289d4 | [] | no_license | intrigus/ftduino | f25ea51b9e236016d216bfbffe2a3ba4b7d4c7c2 | f469f51c3a75dd499262891ff4a4a9488f6bfe87 | refs/heads/master | 2020-09-01T04:05:58.794692 | 2019-10-25T14:17:27 | 2019-10-25T14:17:27 | 218,876,200 | 0 | 0 | null | 2019-10-31T23:10:13 | 2019-10-31T23:10:12 | null | UTF-8 | C++ | false | false | 5,852 | h | /*
Ftduino.h - Library for ftduino
(c) 2017 by Till Harbaum <till@harbaum.org>
*/
#ifndef ftduino_h
#define ftduino_h
#include "Arduino.h"
#define STRINGIFY(name) #name
#define CLASS_IRQ(name, vector) \
static void name(void) asm(STRINGIFY(vector)) \
__attribute__ ((signal, __INTR_ATTRS))
extern const ... | [
"till@harbaum.org"
] | till@harbaum.org |
0fedb3ad9de116893e5380d63a30048cd0741c60 | f7ef7dabcc31ce5e2684a028f25f059302040392 | /src/gs2/log/result/QueryIssueStampSheetLogResult.hpp | 00ea4acd2c8e5c560e9bfce05bcc23a220952192 | [] | no_license | gs2io/gs2-cpp-sdk | 68bb09c0979588b850913feb07406698f661b012 | 8dc862e247e4cc2924a060701be783096d307a44 | refs/heads/develop | 2021-08-16T17:11:59.557099 | 2020-08-03T09:26:00 | 2020-08-03T09:26:10 | 148,787,757 | 0 | 0 | null | 2020-11-15T08:08:06 | 2018-09-14T12:50:30 | C++ | UTF-8 | C++ | false | false | 7,026 | hpp | /*
* Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*... | [
"imatake_haruhiko@gs2.io"
] | imatake_haruhiko@gs2.io |
0d302a026ded8d976c4609e7496683126b70f204 | 856681311592de03828ffaffe8c8a38c3e275efb | /GenesisEngine/src/Components/TileComponent.h | c4a036bf65417e7e708d6a4076b834c5d1c399aa | [] | no_license | AdityaSinhaGD/GenesisEngine | ce6e0637f0e53d37f6c184f2121d6e52fc736ea4 | 3bce6c8b5dc10d5d7df09e8706de603a042baf93 | refs/heads/master | 2023-08-01T12:30:06.684307 | 2021-04-17T03:14:25 | 2021-04-17T03:14:25 | 339,365,913 | 0 | 0 | null | 2021-03-07T05:52:08 | 2021-02-16T10:46:09 | C++ | UTF-8 | C++ | false | false | 1,141 | h | #pragma once
#include <SDL.h>
#include "../libs/glm/glm.hpp"
#include "../EntityManager.h"
#include "../AssetManager.h"
class TileComponent :public Component
{
public:
SDL_Texture* texture;
SDL_Rect sourceRectangle;
SDL_Rect targetRectangle;
glm::vec2 position;
TileComponent(int sourceRectX, int sourceRectY, in... | [
"sinha.aditya02@gmail.com"
] | sinha.aditya02@gmail.com |
3fb304d70deb7394d85da91df371d144ef2c65e5 | 2b3b5203233ebb11ccbf3c9830de9e26cc2785ee | /XRay/xr_3da/xrGame/ui/UIStats.cpp | b3e9c9aeabb2ac5fa520cd916037a55d713bbe38 | [
"Apache-2.0"
] | permissive | OLR-xray/XRay-NEW | b308aeefada0f0361706e8e57f23ebafc7fe3bc5 | f6988c98b45a9ff4eefec9538c6dffadef170ed7 | refs/heads/master | 2021-01-24T19:12:44.173491 | 2016-02-17T21:42:31 | 2016-02-17T21:42:31 | 50,777,026 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,118 | cpp | #include "StdAfx.h"
#include "UIStats.h"
#include "UIXmlInit.h"
#include "UIStatsPlayerList.h"
#include "UIStatic.h"
#include "UIFrameWindow.h"
#include "../level.h"
#include "../game_base_space.h"
CUIStats::CUIStats(){
}
CUIStats::~CUIStats(){
}
CUIWindow* CUIStats::Init(CUIXml& xml_doc, LPCSTR path, int team){... | [
"vlad_tislenko@mail.ru"
] | vlad_tislenko@mail.ru |
02148676b3d94464e07fe6c404aad61b45adb5eb | 3cb889e26a8e94782c637aa1126ad897ccc0d7a9 | /C++/HuffmanCodec/Test05/BitStream.h | e0f04714e3d8cf36d97e4a89b7e5e89ff701e40b | [] | no_license | GHScan/DailyProjects | 1d35fd5d69e574758d68980ac25b979ef2dc2b4d | 52e0ca903ee4e89c825a14042ca502bb1b1d2e31 | refs/heads/master | 2021-04-22T06:43:42.374366 | 2020-06-15T17:04:59 | 2020-06-15T17:04:59 | 8,292,627 | 29 | 10 | null | null | null | null | UTF-8 | C++ | false | false | 8,135 | h | #pragma once
#include <cassert>
#include <vector>
#include <sstream>
typedef unsigned char Byte;
inline void bitsCopy_front2Front(Byte& dest, Byte src, size_t bitCnt)
{
assert(bitCnt > 0);
Byte t = 0xff >> bitCnt;
dest = (dest & t) | (src & ~t);
}
inline void bitsCopy_front2Back(Byte& dest, Byte src, si... | [
"ppscan@qq.com"
] | ppscan@qq.com |
7a776a2d7979ecf681cdcea682363e3849a9d198 | 0bfc6e65c931b9f66a40966cfe630b3ff2e01be8 | /lib/evmone/limits.hpp | a97a5c19829e525c90f16b2173c42be1500fc7d2 | [
"Apache-2.0"
] | permissive | jwasinger/evmone | d6a1dd49a547476eb2542d56c3fe578466f7f58d | 2c4b8ae39081b55b0f16671d4cd9b2129cc16fc3 | refs/heads/master | 2023-06-04T18:43:24.431091 | 2020-04-24T08:21:02 | 2020-04-24T08:21:02 | 261,371,494 | 0 | 0 | Apache-2.0 | 2020-11-09T18:26:08 | 2020-05-05T05:42:52 | null | UTF-8 | C++ | false | false | 651 | hpp | // evmone: Fast Ethereum Virtual Machine implementation
// Copyright 2019 Pawel Bylica.
// Licensed under the Apache License, Version 2.0.
#pragma once
/// The maximum EVM bytecode size allowed by the Ethereum spec.
constexpr auto max_code_size = 0x6000;
/// The maximum base cost of any EVM instruction.
/// The value... | [
"chfast@gmail.com"
] | chfast@gmail.com |
7c27f673208bc38eb8b6cbb58705b433efc5d99a | bd3c4280266c656f01891ff3d7afc2a1c931c306 | /library/mapreduce/internal_communication/reducer_input.cpp | 4e5684cbf249ceafad847913a5373cfcce03ad71 | [] | no_license | edgarshmavonyan/homemade_mapreduce | 64860d2bec0611425f15ab6cc7817ab1f25a1934 | b68a141a6e85ce7431ef588af36c62b8d0f2cbd0 | refs/heads/master | 2020-08-14T15:55:43.914080 | 2019-10-15T03:08:10 | 2019-10-15T03:08:10 | 215,194,653 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27 | cpp | #include "reducer_input.h"
| [
"shmavonyan.eha@phystech.edu"
] | shmavonyan.eha@phystech.edu |
f505ab788ae725a4816963fed7f64ee56da6b23a | 9bdb1f22538df70d0d8500bb7f3fe6800950d7cc | /OMEdit/OMEditGUI/OMEditApplication.h | 92798f2475b28631394d330c2e176b1f3d99f18e | [] | no_license | vatmi/OMEdit | e2053d450793e2c740fbef67cc1c527414f7f3b2 | 86f97b68023aed5d3a888cc1c6bdd555ebd083f1 | refs/heads/master | 2021-01-19T23:20:47.338932 | 2017-08-23T21:58:31 | 2017-08-23T21:58:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,648 | h | /*
* This file is part of OpenModelica.
*
* Copyright (c) 1998-CurrentYear, Open Source Modelica Consortium (OSMC),
* c/o Linköpings universitet, Department of Computer and Information Science,
* SE-58183 Linköping, Sweden.
*
* All rights reserved.
*
* THIS PROGRAM IS PROVIDED UNDER THE TERMS OF GPL VERSION 3 ... | [
"adeel.asghar@liu.se"
] | adeel.asghar@liu.se |
57d11d7eca0d07ee5cee13a8670241dcb66a8eb4 | 858df19465b0ec408f91ec5d7fab80a571ac5429 | /GuiLib/GuiDropDownEdit.cpp | d97e20f85af64768e30c31fcf07fb4c25933add7 | [
"MIT"
] | permissive | imxingquan/hotelMIS | 59eba812025e5cbd2890dc388487980389a4c2fa | f0da91dd5b4ffbe7d69a7038206a329e065d4c94 | refs/heads/master | 2020-09-20T17:42:27.191987 | 2019-12-15T11:01:12 | 2019-12-15T11:01:12 | 224,550,279 | 12 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,690 | cpp | /****************************************************************************
* *
* GuiToolKit *
* (MFC extension) *
* Created by Francisco Campos G. www.beyondata.com fcampos@beyondata.com *
*------------------------------------------------------------------... | [
"402059985@qq.com"
] | 402059985@qq.com |
d98d7c20533e6157a69680954057ebad34afcd38 | 261c6328aeda21fe0f004c3b35fb22fd07489d5c | /64-bit-padding.cpp | 9f573a4f14ba859d5f6cc59c1aa54eb729a7f54c | [] | no_license | olegtsts/parallel_programming | f944bf3d76f3b2087195f08f4267d17da596082e | 81cfa07657857fee5f3413fb1473ce9fd67a328e | refs/heads/master | 2021-01-22T08:02:11.976694 | 2017-08-12T10:14:58 | 2017-08-12T10:14:58 | 92,596,740 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,734 | cpp | #include <cstring>
#include <iostream>
struct CountedNodePtr {
int external_count;
char ch[4];
int * c;
};
struct CountedNodePtr2 {
int * c;
char ch[4];
int external_count;
};
struct CountedNodePtr3 {
int * c;
int external_count;
};
struct CountedNodePtr4 {
int external_count;
... | [
"olegtsts@gmail.com"
] | olegtsts@gmail.com |
1bcac4ab336bf0eaae9248a202129b5213225112 | 4d9eaa7e00a510f073b6dd3f3e38e6f8224c93aa | /libs/Common-cpp/include/Microsoft/MixedReality/Sharing/Common/InternedBlob.h | 24c2fd5d040eccf2f91062f9e504d16a2914a25e | [
"MIT",
"LicenseRef-scancode-generic-cla"
] | permissive | microsoft/MixedReality-Sharing | 80b0bf1bff4adbefaf90e02998939bf98e813a11 | 0b2305d011e14e0e1e1553077cf4a9476331bd30 | refs/heads/master | 2023-06-29T21:57:54.760470 | 2021-01-06T12:15:44 | 2021-01-14T10:00:33 | 190,377,638 | 28 | 14 | MIT | 2020-02-13T10:31:46 | 2019-06-05T10:51:06 | C++ | UTF-8 | C++ | false | false | 2,886 | h | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
#include <Microsoft/MixedReality/Sharing/Common/RefPtr.h>
#include <atomic>
#include <cstdint>
#include <string_view>
namespace Microsoft::MixedReality::Sharing {
// An interned reference-counted immutable blob of bytes.
// Unli... | [
"noreply@github.com"
] | microsoft.noreply@github.com |
431adb850c1a32a4bf794ce3bd0de3bcff2165ec | bcb569fb7eefce77ef4f31bca0cfa73029298ae0 | /httpserver/comm/HttpLib.cpp | 64882326bf16f09efe79f728fb40703d6f5054fb | [] | no_license | xubingyue/GP | e3b3f69b3d412057933ca32e61a57005ab19df80 | 7b0e7b48c1389e39aafb83a7337723400f18ada5 | refs/heads/master | 2020-09-15T01:32:03.539712 | 2018-07-18T10:46:19 | 2018-07-18T10:46:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,579 | cpp | //
// Created by new on 2016/11/11.
//
#include "HttpLib.h"
#include "Logger.h"
#include <stdlib.h>
#include "base64.h"
#include "CConfig.h"
#include "threadres.h"
#include "StrFunc.h"
#include "SqlLogic.h"
// (default)
#define HTTP_CONTENT_TYPE_URL_ENCODED "application/x-www-form-urlencoded"
// (use for files: pi... | [
"wintersky08@163.com"
] | wintersky08@163.com |
d28b7499f128268bf8ab93f8643512c4a4469f5c | de6e9dcb37d94300c6a170de9de3847c21e73906 | /ash/wm/client_controlled_state.cc | 2a880cf62001436dbf6ec125765af7164971735f | [
"BSD-3-Clause"
] | permissive | Jubata/Cheetah-browser | cadc8770eb74c79083a77ffe9f04f2c316ca71a4 | f8f5e873250e4413161cc36950ff20b1ff73ef6a | refs/heads/master | 2023-01-09T03:03:08.233816 | 2017-12-25T16:41:35 | 2017-12-25T16:41:35 | 109,480,960 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,367 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/wm/client_controlled_state.h"
#include "ash/public/cpp/shell_window_ids.h"
#include "ash/public/cpp/window_state_type.h"
#include "ash/root... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
40988b891eac7258f532269351571e4117584e60 | b2139a7f5e04114c39faea797f0f619e69b8b4ae | /src/poeticon/poeticonpp/demoAffv3/src/affordanceControlModule/include/iCub/pnl/pnlpnlType.hpp | 0e6a02752b9bd5d560449e7a5ef3728262c23c3f | [] | no_license | hychyc07/contrib_bk | 6b82391a965587603813f1553084a777fb54d9d7 | 6f3df0079b7ea52d5093042112f55a921c9ed14e | refs/heads/master | 2020-05-29T14:01:20.368837 | 2015-04-02T21:00:31 | 2015-04-02T21:00:31 | 33,312,790 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,352 | hpp | /////////////////////////////////////////////////////////////////////////////
// //
// INTEL CORPORATION PROPRIETARY INFORMATION //
// This software is supplied under the terms of a license agreement or //
// nond... | [
"hychyc07@cs.utexas.edu"
] | hychyc07@cs.utexas.edu |
0275a631e8c2193fd81c3765e8d813554e10f8b5 | 942faf1cc3c256d6aa0f5efa2028a0c7e0363b13 | /include/Hardware/AxioDeviceConfiguration.hpp | 93c201dce550d9d7418289a9d41e31f1ed9afe59 | [
"MIT"
] | permissive | sdurbin-pxc/plcnext-io-drivers-cpp | 2b7e1c4cb09672913cf96f751c86c87a2c1a3626 | 31293184d28828f7a87afdeb9abf54528dbafba5 | refs/heads/master | 2023-08-02T10:58:31.070244 | 2023-07-27T01:33:06 | 2023-07-27T01:33:06 | 208,402,975 | 9 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 160 | hpp | #pragma once
#include <stdint.h>
namespace PLCnext
{
struct AxioDeviceConfiguration
{
uint32_t Type = 0;
uint32_t Id = 0;
uint16_t Length = 0;
};
} | [
"sdurbin@phoenixcontact.com"
] | sdurbin@phoenixcontact.com |
fc1a8f7f22f9f758dfc7d1ef38754bc79c9a8f3f | 9254d35b527df03c1791a21d5bc43fbcd4bea0f1 | /AppliIHM/serviceControle2/productionPersonnalise.cpp | efcac6a5d10f8f92541a978f0dd18c371c5a99d0 | [] | no_license | BaptisteAngot/BTSEpreuve | 40273e0a05b45cc50d17a37033f8c33908db8c5b | e51508e0bccff122ef156fae10ec888a36c09994 | refs/heads/master | 2020-11-30T05:49:01.736882 | 2019-12-26T20:59:03 | 2019-12-26T20:59:03 | 230,323,176 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 220 | cpp | #include "productionPersonnalise.h"
#include <iostream>
using namespace std;
ProductionPersonnalise::ProductionPersonnalise(string nom, Boitier &b, Traitement &t) : boitier(b), traitement(t)
{
this->nom = nom;
}
| [
"bat76640@gmail.com"
] | bat76640@gmail.com |
c34034cbea8d8cbe4c57745677cbb051dbba76cd | 33f1b5f6afa115be45cade93479bb7fbc33e7da0 | /CodeForces/404C/17078945_AC_140ms_4800kB.cpp | c1cdce690a98ea2d73ad95d4ec16dda4b57e14e6 | [] | no_license | showmic96/Online-Judge-Solution | 3960c37a646f4885210c09096c21dabd7f2154d2 | 94c34e9db2833fb84d0ac885b637dfebac30a5a2 | refs/heads/master | 2022-11-26T09:56:58.469560 | 2020-08-02T04:42:33 | 2020-08-02T04:42:33 | 230,185,618 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,423 | cpp | // In the name of Allah the Most Merciful.
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
bool taken[100005];
vector<pair<int , int> > ans;
vector<int>v[100005];
int rem[100005];
int main(void)
{
ios::sync_with_stdio(0);
cin.tie(0);cout.tie(0);
int n , k;
cin >> n >> k;
for... | [
"57711640+showmic96@users.noreply.github.com"
] | 57711640+showmic96@users.noreply.github.com |
a0e93b1fe3c0bf30bdd25cf1195e6df3778ec931 | 92494691d9de19d64254d4a5e8c59c184773906f | /src/qt/placehunits.h | b8e6a4458018021567f1b16d8d77293c8a0317fa | [
"LicenseRef-scancode-proprietary-license",
"MIT"
] | permissive | xagau/Placeholders-X16R | ffaad0c6b0cb24872932c6663c2d7ee4cc6c3c97 | 5f96720e1d7f5bd6d5b574d9f3c12485c265ef33 | refs/heads/master | 2022-01-24T03:58:04.558002 | 2022-01-13T22:21:18 | 2022-01-13T22:21:18 | 162,598,084 | 23 | 10 | MIT | 2021-04-23T03:09:01 | 2018-12-20T15:31:28 | C++ | UTF-8 | C++ | false | false | 4,366 | h | // Copyright (c) 2011-2016 The Bitcoin Core developers
// Copyright (c) 2017 The Placeholder Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef PLACEH_QT_PLACEHUNITS_H
#define PLACEH_QT_PLACEHUNITS_H
#inclu... | [
"seanbeecroft@gmail.com"
] | seanbeecroft@gmail.com |
76a1b81c02d88e7e7de3d71d13dff7805dea2dfc | d27f503f7d5ff1368de0a95fd500d5dc70eaa995 | /src/main.cpp | 1b483269bf73993fa48f3a332583cc4c81dbc04c | [] | no_license | willog11/CarND-Unscented-Kalman-Filter-Project | 9604b60d4f191f873169cc3072a8b35e7d700240 | a3380df643440120aa8efb895e3e054e57280d89 | refs/heads/master | 2021-07-08T23:34:10.448403 | 2017-10-09T07:12:54 | 2017-10-09T07:12:54 | 104,847,881 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,557 | cpp | #include <uWS/uWS.h>
#include <iostream>
#include "json.hpp"
#include <math.h>
#include "ukf.h"
#include "tools.h"
#include <fstream>
using namespace std;
// for convenience
using json = nlohmann::json;
// Checks if the SocketIO event has JSON data.
// If there is data the JSON object in string format will be return... | [
"willog11@gmail.com"
] | willog11@gmail.com |
b9ea535280ff35e32dd9d3ebec3843d721aaf5bd | ed4485942e9e92785ead30181d1fb76a794054be | /fable_build/equivalence_04_fem.cpp | 039f47c97cfee4a2d10e24ba419a47095aac8b22 | [] | no_license | ctessum/fable-go | 4f2491edba2718b8d70245a0ad2aa603d54c532a | 656e3c1c974e8988ac42be0022d739f143af05b9 | refs/heads/master | 2016-09-05T13:54:23.197073 | 2014-12-27T20:50:51 | 2014-12-27T20:50:51 | 28,546,046 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 851 | cpp | #include <fem.hpp> // Fortran EMulation library of fable module
namespace placeholder_please_replace {
using namespace fem::major_types;
using fem::common;
void
program_prog(
int argc,
char const* argv[])
{
common cmn(argc, argv);
common_write write(cmn);
local_equivalences loc_equivalences;
{
using... | [
"ctessum@gmail.com"
] | ctessum@gmail.com |
f4ef47a578874710ebf7b13994a884da7c3e2585 | 39ea60238d340b7a8302935c7c08552ffe799644 | /3.cpp | 7755475cc726876a4e208bfb5d4873098ae83568 | [] | no_license | ppamorim/Doge | e5548db0c54f89ca615c1dc12889145fd385cc8c | 53c95451459d7baf568d3910df5f0c03ae2656c2 | refs/heads/master | 2021-01-10T05:18:26.599379 | 2016-01-27T13:04:42 | 2016-01-27T13:04:42 | 50,506,805 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 88 | cpp | ───────▐▄▀▒▒▀▀▀▀▄▄▄▀▒▒▒▒▒▐───
| [
"pedro.amorim@vejoaovivo.com.br"
] | pedro.amorim@vejoaovivo.com.br |
138b8aba2f1586c83521592cf637b04eb5110d14 | 44d5f40308ce067331777c9a3ff620ae87d3891e | /387. First Unique Character in a String/src.cpp | 07bd5679f1064f4313cca431a94aecad58da802d | [] | no_license | moaiweishui/leetcode | 7542e919a3082aed3257393d760d220dd69f025b | 748f6ccfc34aed162f4ee64a1df67c9666602779 | refs/heads/master | 2021-07-15T10:28:26.983900 | 2019-03-13T08:56:33 | 2019-03-13T08:56:33 | 97,549,732 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 727 | cpp | class Solution {
public:
int firstUniqChar(string s) {
vector<char> v;
if(s.length() == 1)
return 0;
for(int i = 0; i<s.length(); i++)
{
v.push_back(s[i]);
}
int res = -1;
for(int i = 0; i<s.length(); i++)
... | [
"noreply@github.com"
] | moaiweishui.noreply@github.com |
eeba4d1217fadfb1259d9898d5da406d638ed17d | 97e02ecd270f47176ef8b6c5b89cfa9dd335d2a1 | /华东师范大学oj/A - 算盘.cpp | 29ccf57f0e8a05df9ea058774fe174d3b74cbebb | [] | no_license | TechAoba/OJ-code | 61f06ce7a94cadd501457853da2f3c4932bb226e | 7e91b734bae170c4a7415984d4760740f677a26f | refs/heads/main | 2023-07-08T23:49:10.258066 | 2021-08-17T11:47:26 | 2021-08-17T11:47:26 | 300,805,551 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 546 | cpp | #include<iostream>
#include<cstdio>
#include<cstring>
#define Max(a,b) (a>b?a:b)
using namespace std;
void fun(int n) {
if(n>=5) {
n-=5;
printf("-O|");
}
else {
printf("O-|");
}
if(n==0) {
printf("-OOOO\n");
}
else if(n==1) {
printf("O-OOO\n");
}
else if(n==2) {
printf("OO-OO\n");
}
else if(n==3... | [
"Techaoba@163.com"
] | Techaoba@163.com |
047d4a357478a7f5781a5f58d7fad0158aa29f23 | 207cd6c4feefcaf8f2b8a17b00f2151a549dc215 | /resources/cpp/csv/record_csv_writer.hpp | 9daf0e1bb9ea1a2ec2b1d5e45d79e1bf62eff6ea | [] | no_license | zigit/mytrainingpage | 6c3001a11d5aa02773cc44642af579962be15709 | fa4a60f677a772db5706c6540603d2bf441cf1ee | refs/heads/master | 2020-04-28T12:25:04.141858 | 2016-11-12T00:56:48 | 2016-11-12T00:56:48 | 33,022,566 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,271 | hpp | ////////////////////////////////////////////////////////////////////////////////
// The following FIT Protocol software provided may be used with FIT protocol
// devices only and remains the copyrighted property of Dynastream Innovations Inc.
// The software is being provided on an "as-is" basis and as an accommodat... | [
"lancea12@04a8d5fa-f31d-11de-8b01-fd14ac940ccb"
] | lancea12@04a8d5fa-f31d-11de-8b01-fd14ac940ccb |
7ad08f010970382c7cce753cb7c74d9d94af1ac1 | 72a146dad10c3330548f175643822e6cc2e2ccba | /chrome_elf/chrome_elf_main.cc | 027821adfa3e2c72367155f5af5b4330eb9cbdf7 | [
"BSD-3-Clause"
] | permissive | daotianya/browser-android-tabs | bb6772394c2138e2f3859a83ec6e0860d01a6161 | 44e83a97eb1c7775944a04144e161d99cbb7de5b | refs/heads/master | 2020-06-10T18:07:58.392087 | 2016-12-07T15:37:13 | 2016-12-07T15:37:13 | 75,914,703 | 1 | 0 | null | 2016-12-08T07:37:51 | 2016-12-08T07:37:51 | null | UTF-8 | C++ | false | false | 4,909 | cc | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome_elf/chrome_elf_main.h"
#include <windows.h>
#include <algorithm>
#include "base/lazy_instance.h"
#include "base/strings/string16.h"
#in... | [
"serg.zhukovsky@gmail.com"
] | serg.zhukovsky@gmail.com |
ce7efaa70ab8a0e6bc77ee3d6d94d0dd78d3d6ce | 162df93ae73f7e3a799572ead9175ded52a84a7f | /src/Ui/mkUiLayout.cpp | 17aacbc7652a02ad2997c7161100efb80a8eb403 | [
"Zlib"
] | permissive | raph-amiard/kiui | 5e3f9c6e08c62e6684dc27e3208f076ebafe84e9 | d8cdaaa279deea7e31899a13425f3eee86b52986 | refs/heads/master | 2020-12-24T12:00:45.261078 | 2015-03-03T01:21:59 | 2015-03-03T01:21:59 | 31,464,697 | 0 | 0 | null | 2015-02-28T14:21:10 | 2015-02-28T14:21:10 | null | UTF-8 | C++ | false | false | 20,292 | cpp | // Copyright (c) 2015 Hugo Amiard hugo.amiard@laposte.net
// This software is provided 'as-is' under the zlib License, see the LICENSE.txt file.
// This notice and the license may not be removed or altered from any source distribution.
#include <Ui/mkUiConfig.h>
#include <Ui/mkUiLayout.h>
#include <Ui/mkUiWindow.h... | [
"hugo.amiard@laposte.net"
] | hugo.amiard@laposte.net |
c528a00e36fe925d0d299e70b74149591ba9fb1e | 01f2cdd59b3d560ed5f1fa78f1afa4972bb9eeb6 | /src/game/exception/NotImplementedException.cpp | faf9a29d8723c48f902c71cb8b5f90f08a72ee38 | [] | no_license | mrombout/CPP1-DungeonCrawler | faf2352ead62c316223f6bda42a2ab2fb70137f6 | 440b220fb2c12d643a5ec1a412eacd3a5e05e6f7 | refs/heads/master | 2021-01-16T21:51:21.565260 | 2015-11-04T14:51:08 | 2015-11-04T14:51:08 | 42,866,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37 | cpp | #include "NotImplementedException.h"
| [
"mike.rombout1@gmail.com"
] | mike.rombout1@gmail.com |
7c7f03519c34d2babd713cda17715285c17e8497 | 098ce12addefecaf65116789d0530dc5bac6a358 | /PeterCode/BioBloomControl5/chart.h | c0b3cca239b67f170bfd359a767e7fb67efef57d | [] | no_license | SteliosSoton/SmartFish | 62ee1c222899d33b986db64fa2c48a9372d8a23f | 1b414c69235a56fcba2e8b0024ad3f7314e80b82 | refs/heads/master | 2021-09-08T01:55:29.620595 | 2018-03-05T17:51:55 | 2018-03-05T17:51:55 | 122,071,910 | 2 | 2 | null | 2018-02-23T12:47:11 | 2018-02-19T14:13:07 | C++ | UTF-8 | C++ | false | false | 584 | h | #ifndef CHART_H
#define CHART_H
#include <QtCharts>
class Chart: public QChart
{
Q_OBJECT
public:
Chart(QString desiredType);
~Chart();
void addPoint(QDateTime dataNumber, int dataValue);//int dataNumber
void setIdeal(float ideal);
void setYmax();
void setYmin();
public slots:
void ... | [
"nrs1g15@soton.ac.uk"
] | nrs1g15@soton.ac.uk |
0103cd444c76f6c7946c83001fec0971b97c2549 | a428fc234acb6c9602383fce5540c969d4d6423e | /cpp/template_guides/template_unbound_array.cpp | 43f845aad652990144f7139177edad21be43fa24 | [] | no_license | OldSensei/practices | bfc3610bd0f5c0b6d511923d35aeba75c13d8934 | 5600f78966b77ec8bece55000a82b4b07d226a11 | refs/heads/master | 2023-08-16T11:41:09.366961 | 2023-08-13T18:11:56 | 2023-08-13T18:11:56 | 148,993,304 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 455 | cpp | // example of template for unbound c array type like int a[] = { 1, 2, 3 };
#include <iostream>
template<typename T>
void foo( T (& array)[] )
{
std::cout << "foo(T(&array)[])" << std::endl;
}
template<typename T, size_t sz>
void foo( T (& array)[sz] )
{
std::cout << "foo(T(&array)[sz])" << std::endl;
}
extern int... | [
"oldsensei07@gmail.com"
] | oldsensei07@gmail.com |
d92860c2362acc6f5287c6df41ded64e3ff6dd22 | 80111f66f7b8915719aaf3e6d6eebe365501c81b | /V1.0/PraSys/gddialog.cpp | 62d799d0f9c1d29de5fb28312af13c9781dfd274 | [] | no_license | KeplerStr/PraSys | 48ba93dfa6a7c4b697718a7a7cad39c01c918703 | e50cbe56b947c7bfcd07a8248d2b344537972afd | refs/heads/main | 2023-02-06T09:39:22.925755 | 2020-12-28T07:51:50 | 2020-12-28T07:51:50 | 324,940,562 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,041 | cpp | #include "gddialog.h"
#include "ui_gddialog.h"
#include <QString>
#include <QDebug>
GdDialog::GdDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::GdDialog)
{
ui->setupUi(this);
}
GdDialog::GdDialog(QWidget *parent,QSqlQuery *query,qint8 res) :
QDialog(parent),
ui(new Ui::GdDialog)
{
ui->se... | [
"keplerlh@qq.com"
] | keplerlh@qq.com |
86c9817d2e5e40d84bb0ed5d30adfbe9dedb60b1 | 0505a8beec291c56cf425008acad09440e7ef497 | /lc_473_MatchsticksToSquare.cpp | afae3629206259c429b907ff354a27cc4bbae709 | [] | no_license | fankai1019/leetCode | e67f5a23f80a7aa6c6ce40ea8f05ecdbc1ac3419 | 193a0aa006a1534f5da288f1f5bf3109f6a6919c | refs/heads/master | 2022-07-05T07:34:31.348761 | 2022-06-20T04:38:46 | 2022-06-20T04:38:46 | 153,708,033 | 0 | 0 | null | 2022-04-10T17:09:13 | 2018-10-19T01:15:16 | C++ | UTF-8 | C++ | false | false | 3,447 | cpp | #include "utils.h"
using namespace std;
// Backtracking
// TC: O(4^n) each stick has 4 choices to be placed.
// SC: O(n) recursion stack
class Solution1
{
public:
bool makesquare(vector<int> &matchsticks)
{
int target = accumulate(matchsticks.begin(), matchsticks.end(), 0);
vector<bool> visited... | [
"kai.fan.1019@gmail.com"
] | kai.fan.1019@gmail.com |
f1c6dffabef2f3a89657e79d8f4363b50282e0da | c7850d478e1a62fc8b016225d7a748cf1b0cb81f | /tp1/traductor/templates/template-reg.cpp | 25c3d1b50f8b3b2bd16f4851ae9e744a362da2b9 | [] | no_license | dioh/sed_2017_tps | 8bac2bd824335581a33ad9b010747ea4af273130 | c17d1d2d4b1d80bafe33053f7f2b58661b9bcc65 | refs/heads/master | 2021-09-14T07:35:57.009752 | 2018-05-09T19:16:33 | 2018-05-09T19:16:33 | 103,854,748 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 592 | cpp | #include "pmodeladm.h"
#include "register.h"
#include "qss1.h"
#include "Cte.h"
{% for modelName, modelAttr in models.items() -%}
#include "{{modelName}}.h"
{% endfor -%}
// Registro modelos atomicos
void register_atomics_on(ParallelModelAdmin &admin)
{
// Atomicos base
admin.registerAtomic(NewAtomicFunction<QSS1>(... | [
"hemodrow@tmoviles.com.ar"
] | hemodrow@tmoviles.com.ar |
ca8c19b17de2fd5ec0a233024e4e42f16ccc5f97 | dbdf7b5700326a695ec035cde8ee44418433f873 | /src/1696/1696.cpp | 77bd6fc7abe2e17351b9769d44938f5af1746600 | [] | no_license | garywei944/aris_vijos | 90625458462e7469c1cf47b91db0eaf9be935395 | 0649fafd7899489b782c5f8e832e4b2a0992d3b7 | refs/heads/master | 2021-07-15T12:06:47.307717 | 2021-01-17T03:28:52 | 2021-01-17T03:28:52 | 229,247,586 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,414 | cpp | #include <iostream>
#include <cstdlib>
#include <string>
#include <list>
#include <algorithm>
using namespace std;
list<int> fraction;
int gcd(int a, int b) {
if (a < b) swap(a, b);
int c;
while (b != 0) {
c = b;
b = a % b;
a = c;
}
return a;
}
int main(int argc, char *argv[]) {
#ifdef DEBUG
freopen("a.i... | [
"33930674+garywei944@users.noreply.github.com"
] | 33930674+garywei944@users.noreply.github.com |
54abfeebff35dbb18e4049b9520a1dace9369c9f | 4a0f4198c485773afd7ea062d26a61238a79fad8 | /aws-cpp-sdk-dax/include/aws/dax/model/DeleteSubnetGroupRequest.h | f5ab540892d656af920360c7ca9a33f7e7d0b148 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | haifeng2170/aws-sdk-cpp | 8e1a76ff166aee982c1e7c2397fe9e62200fcba0 | 216cb4f71c512734c9d46925eb7c2f9e064c6da1 | refs/heads/master | 2021-06-28T18:57:02.281151 | 2017-09-16T02:46:59 | 2017-09-16T02:46:59 | 103,816,783 | 1 | 0 | null | 2017-09-17T09:16:41 | 2017-09-17T09:16:40 | null | UTF-8 | C++ | false | false | 2,534 | h | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
461e9931344a7730480ae7f7005564021fa0e533 | 4fb1ba01e0ad4ab6b95b0b002683cd463cdd97e5 | /src/session.h | 6ce5a2c820c596db50091686f15adcdddced8ff6 | [] | no_license | wtkns/stoichonome | 3a5f050028598e0b3aff1479d47825efe8b85948 | 53d352ea157d0a1f7fb4c4ca310be7cd82dc429b | refs/heads/main | 2023-07-06T23:43:50.019606 | 2021-08-16T03:32:07 | 2021-08-16T03:32:07 | 390,876,713 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 458 | h | // session.h
namespace Stoichonome
{
class Session
{
private:
static int patchID;
static bool playing;
static int randSeed;
static void LoadPatch(int);
static void SetLastPatchID(int);
static int GetLastPatchID();
public:
static void Initialize... | [
"jms@wtkns.com"
] | jms@wtkns.com |
987821bacf2745e1ccd1780b46a5d1e27e70036f | 6030e0ee3da7deba381d1c93673c5257d3f096ca | /UML/classes/commandes/Commande.hpp | a67a1ccdf75a5d3b3bf3513b8ebb212d1df95386 | [] | no_license | mathiascouste/SchoolProjects | 01921ba6f1c165e3a4a25bc64adfe44019e52cad | 03aaa3efc4491c99fdd2d23b5a956e1c8ce27a08 | refs/heads/master | 2020-12-02T19:19:47.212472 | 2017-07-05T14:04:00 | 2017-07-05T14:04:00 | 96,325,650 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 733 | hpp | #ifndef _COMMANDE_HPP_
#define _COMMANDE_HPP_
#include <string>
#include <map>
#include <stack>
#include "../Robot.hpp"
#include "Invocateur.hpp"
using namespace std;
class Invocateur;
class Commande {
protected:
static stack<Commande*> historique;
static stack<Commande*> futurique;
bool reversible;
strin... | [
"mathias.couste@amadeus.com"
] | mathias.couste@amadeus.com |
5ee657c1f4ba4f20be9508f28730c325c7a8f7a0 | d00a988b9e3dcdfb1554c3529c8579c3db09b514 | /Utilities/GUIEditor/Sources/ComponentTypes/PropertyItems/property_item_type_name.h | 6d0917139b6b19b8efef53e0dbb5323324d8d5e4 | [
"Zlib"
] | permissive | authenticate/ClanLib | 32734b3d81e8fef3b8bb9143f4bf1ad6b12f34da | 7c66f10bc568fd383e27fca77898ae7c4ec2d419 | refs/heads/master | 2021-01-25T00:29:41.596876 | 2013-09-18T03:55:11 | 2013-09-18T03:59:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,599 | h | /*
** ClanLib SDK
** Copyright (c) 1997-2012 The ClanLib Team
**
** 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 use this software for a... | [
"rombust@hotmail.co.uk"
] | rombust@hotmail.co.uk |
5427d86a074a9a35cde55b7e8147dae885dd98eb | 57843f681db36dfaf188f87730e0a81ba345a7f2 | /2.cpp | c0e44255d2e1601db04e9cc54d939546ae3aa8a5 | [] | no_license | anubhav-jangra/leetCode | ff9445f7d5099362d6e24b3e7f06b64d5051caed | e54bd5256fa388291869f06e51f13a711372816b | refs/heads/master | 2021-06-20T01:24:54.497394 | 2021-01-15T16:07:11 | 2021-01-15T16:07:11 | 151,030,216 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,335 | cpp | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
ListNode* addTwoNumbers(ListNode* l1, ListNode* l2) {
int carry = 0, sum = 0;
ListNode *head = nullptr, *temp = null... | [
"anubhav0603@gmail.com"
] | anubhav0603@gmail.com |
24c95f15ac871be7f9a2b71579876efb270077b0 | 5276f3c7c4c4e213d208784723e37190c00d032c | /algorithms_and_data_structures/term_4/lab_3/a.cpp | 350acf07e20c9bcd3c136269386f1b4694045c4b | [
"MIT"
] | permissive | RevealMind/itmo | 16a62e4a21b0a7034853fceb3712ae4e4e41fe49 | fc076d385fd46c50056cfb72d1990e10a1369f2b | refs/heads/master | 2023-01-22T10:46:16.918977 | 2020-07-20T10:11:57 | 2020-07-20T10:11:57 | 279,388,468 | 2 | 1 | MIT | 2023-01-05T11:56:48 | 2020-07-13T19:02:13 | C++ | UTF-8 | C++ | false | false | 881 | cpp | #include <iostream>
#include <vector>
using std::vector;
const size_t MAXN = 20000000 + 10;
vector<uint32_t> numbers;
vector<char> prime(MAXN, true);
void init() {
size_t n;
std::cin >> n;
numbers.resize(n);
for (size_t i = 0; i < n; i++) {
std::cin >> numbers[i];
}
}
void process() {
... | [
"99_dimas@mail.ru"
] | 99_dimas@mail.ru |
2535e36c90d3bd3eecf86da08b7606c585b6f268 | 29697c0008e95ab31611fd5987e376585df8a2af | /传说中的北京招婿.cpp | 3a532cf0f58c9e02bd47dd26537d7c1313ac0b40 | [] | no_license | xzzxwmsl/- | b4216dd2dc1f2077b00a4d4bd28f27a11ef41aa6 | 8e11d187fc99882e9baaac2c4add48673726ef21 | refs/heads/master | 2020-05-01T17:38:10.570156 | 2019-07-01T03:51:28 | 2019-07-01T03:51:28 | 177,604,796 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,288 | cpp | //1、取第 i 位左边的数字(高位),乘以 10 ^(i-1) ,得到基础值 a 。
//2、取第 i 位数字,计算修正值:
//1、如果大于 X,则结果为 a+ 10 ^(i-1) 。
//2、如果小于 X,则结果为 a 。
//3、如果等 X,则取第 i 位右边(低位)数字,设为 b ,最后结果为 a+b+1 。
// 以上为无需考虑数是奇数的情况,是奇数的情况做剪枝即可
// 条件为1时的可供参考解决方式: https://blog.csdn.net/u013132035/article/details/80768636
#include<iostream>
#include<cmath>
using namespace... | [
"noreply@github.com"
] | xzzxwmsl.noreply@github.com |
560366acf7ab4a490c3b2e1655fad6bc6ac80ad3 | e1a6af52111a1dfa0ae053183e2b3d0180d1e9ec | /src/test/fuzz/descriptor_parse.cpp | b8c1bf620661f77bbe82f5eae0bfd6996692e29c | [
"MIT"
] | permissive | UFO-ETL/ufo | df392b66b3f528a3442c2a26304e061fb6e1a631 | e85dde0c8b12c1bf3357003afb77ea85b1476d6b | refs/heads/main | 2023-03-12T04:27:35.910420 | 2021-03-05T06:54:21 | 2021-03-05T06:54:21 | 344,399,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 954 | cpp | // Copyright (c) 2009-2020 The UFO Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <chainparams.h>
#include <pubkey.h>
#include <script/descriptor.h>
#include <test/fuzz/fuzz.h>
#include <util/memory.h>
... | [
"xiaka53@vip.qq.com"
] | xiaka53@vip.qq.com |
d86a7a81e30ac152bcfa9acac10517570abdd33f | d3d06862f7dd855ea555c6f67e5c42aa0a64204d | /src/engine/gameobjects/group.h | 1cdd91e4b5439ba5ac01a27a0cfc5aa431ead8e7 | [] | no_license | arendjr/FoggyText | ef5c80f7962419aad5e7ecee38e1cc744caf25f0 | 9ac1cdde8797485b034cb91ff0ac533d6a0765b4 | refs/heads/master | 2021-01-10T18:31:55.535981 | 2013-06-09T16:29:38 | 2013-06-09T17:52:34 | 6,307,962 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 955 | h | #ifndef GROUP_H
#define GROUP_H
#include "gameobject.h"
#include "gameobjectptr.h"
class Group : public GameObject {
Q_OBJECT
public:
Group(Realm *realm, uint id = 0, Options options = NoOptions);
virtual ~Group();
const GameObjectPtr &leader() const { return m_leader; }
vo... | [
"arendjr@gmail.com"
] | arendjr@gmail.com |
0855e2a3041b89f58f410ea6ec2a95b435737669 | 3525be850c8065e292a1770f19a89730a7095d0d | /ra_cpp/include/i_cat.h | 0e95fc68b8c9156f986314577e9997def151247a | [] | no_license | pokjnb/ra | a0e323fa0165e27eb2d36641a40d6cf19343582a | 345be1496d2c3f59f0aaa3594977f495c80f50e3 | refs/heads/master | 2022-04-21T08:09:24.325333 | 2020-04-17T19:04:32 | 2020-04-17T19:04:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 432 | h | #ifndef I_CAT_H
#define I_CAT_H
#include <iostream>
#include "pybind11/complex.h"
#include "pybind11/eigen.h"
#include <vector>
#include "pybind11/numpy.h"
#include "pybind11/stl.h"
#include "pybind11/pybind11.h"
#include "unsupported/Eigen/Polynomials"
#include "ray.h"
namespace py = pybind11;
Eigen::MatrixXf inte... | [
"ericbacustica@gmail.com"
] | ericbacustica@gmail.com |
e3f0a8a8d0ed07a36caff127ec37ec51c808c6ea | 8a13626dcd5724331353249c4d5aa06f2d79d47f | /ex3_eliyhoTsuri/Ln.cpp | 9c12d9c2109121e967d32f8118858387fb2951a7 | [] | no_license | elitsuri/ex3_eliyhoTsuri_OOP_B | 09bb6029130f03799f96d79287545325ff8ef52d | 440538d0f5cb4bdcf8175f4b4b6816a9e31b09bc | refs/heads/master | 2023-07-01T09:46:50.340397 | 2021-08-04T08:45:24 | 2021-08-04T08:45:24 | 392,614,829 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 296 | cpp | #include "Ln.h"
Ln::Ln(double num)
: m_num(num)
{
m_name = "ln";
}
const double Ln::getCalc()
{
return log(m_num);
}
const std::string Ln::getDimens()
{
std::ostringstream osString;
if (m_num > 0)
osString << '(' << m_num << ')';
else
osString << "ln(x)";
return osString.str();
}
| [
"zelitesuri@gmail.com"
] | zelitesuri@gmail.com |
45aa5aee20635a8d0022e8d5f6140c9d2029baee | 1d9657b1b2b79b25b5ead387b5cdd70bc2470b38 | /cppyellow/week3-4/programDecomposition2/src/bus_manager.h | 052862153ec359bae0258dacca79bc6c133278cf | [] | no_license | vgtutf081/CourseraCppCourseYellow | 60fed8e36c3e893ee947c7c2fdf10ac74f5268b9 | b7a9ba767a0c108b012a2f33a113b3dc5c93eb08 | refs/heads/main | 2023-07-03T06:50:13.365518 | 2021-07-29T18:57:20 | 2021-07-29T18:57:20 | 390,822,775 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 455 | h | #pragma once
#include "responses.h"
using namespace std;
class BusManager {
public:
void AddBus(const string& bus, const vector<string>& stops);
BusesForStopResponse GetBusesForStop(const string& stop) const;
StopsForBusResponse GetStopsForBus(const string& bus) const;
AllBusesResponse Get... | [
"noreply@github.com"
] | vgtutf081.noreply@github.com |
2dd622f119c972ec755263b53804a12923f8d489 | e542522d4bcddbe88a66879a7183a73c1bbdbb17 | /Codeforces/Rounds/Div2/658/A/solve.cpp | 663c036cda776ac8494774e731a65adb7b3f2bf7 | [] | no_license | ishank-katiyar/Competitive-programming | 1103792f0196284cf24ef3f24bd243d18536f2f6 | 5240227828d5e94e2587d5d2fd69fa242d9d44ef | refs/heads/master | 2023-06-21T17:30:48.855410 | 2021-08-13T14:51:53 | 2021-08-13T14:51:53 | 367,391,580 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,981 | cpp | #include <bits/stdc++.h>
using namespace std;
static const auto fast_io = [] {
ios_base::sync_with_stdio(false);
cin.tie(nullptr); cout.tie(nullptr);
return nullptr;
}();
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
int rnd() {
return uniform_int_distribution<int> (1, (int) 1e9) (rng);
... | [
"ishankkatiyar162@gmail.com"
] | ishankkatiyar162@gmail.com |
13386c42db4fa47bbacdaae1982ef72156a61288 | 02792a66bbd66a1ffc31477e5ef10f9c38800773 | /src/include/functions.cpp | 499d1220169c640b2a040c0a14d1a376a49c99c8 | [] | no_license | ProfessorChill/NCurses-RogueLike | a2d1a7671f5f8aebde94aef8968a4fff505a1995 | b4947dfd6550eae14fe1b0342067aec1f50a0b2e | refs/heads/master | 2021-01-02T11:09:32.803788 | 2020-04-27T19:51:30 | 2020-04-27T19:51:30 | 239,595,416 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 360 | cpp | #include "functions.hpp"
int Function::getRandNum(int maxNum)
{
std::random_device rd;
std::mt19937 gen(rd());
std::uniform_int_distribution<> dis(1, maxNum);
return dis(gen);
}
int Function::getRandNum(int minNum, int maxNum)
{
std::random_device rd;
std::mt19937 gen(rd());
std::uniform_int_distribution<> di... | [
"codezmusic@gmail.com"
] | codezmusic@gmail.com |
f052f3951816a6af7014f86a651fb4f63123f676 | c563158de185ca6d4a02e77ee33fad658884ff72 | /src/main_window.cpp | fe5e1ffdc19aed6377f82a27abba0d61bc5b0def | [] | no_license | ciorva/sudoku_solver | a8eb980582b57845d31a495c30ed92f40316d16f | a7e64d212dbc4be3b4c6ea7863d1eaa582536cf2 | refs/heads/master | 2020-04-27T01:44:01.199729 | 2019-03-05T16:22:23 | 2019-03-05T16:22:23 | 173,973,886 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,192 | cpp | #include "main_window.hpp"
#include "sudoku_solver.h"
//Deb include
#include <iostream>
main_window::main_window(){
int i,j;
main_window::set_title("Sudoku Solver");
main_window::set_border_width(12);
main_window::entry_grid.resize(9);
for(i=0;i<9;i++){
main_window::entry_grid[i].resize(9);
for(j=0;j<9;j++){... | [
"matteo@MacBook-Pro-di-Matteo.local"
] | matteo@MacBook-Pro-di-Matteo.local |
f3477f5c9ac1c3c726511110f2454bd938f46466 | 352f43aab0521dcdb4897298961daed575d457f6 | /BOCA/BJ/src/generator.cpp | a2f1dc69bd0bfa53082fe6c2cc5ea0dd03301514 | [
"MIT"
] | permissive | danielsaad/PC1-IFB-CC | 012947dff72b55a1acb83fd1453102ff55dd2247 | 36b55e95373a5f022651545248d8cb66bac1cd3f | refs/heads/master | 2022-02-21T22:23:59.122236 | 2019-10-18T14:06:08 | 2019-10-18T14:06:08 | 100,300,073 | 1 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,089 | cpp | #include <iostream>
#include <sstream>
#include <vector>
#include "testlib.h"
using namespace std;
using ll = long long;
vector<string> sample_tests {
// Palíndromo
"ABA\n",
// Palíndromo fora de ordem
"SUSMUM\n",
// Não forma palíndromo
"ABC\n",
};
vector<string> manual_tests {
// Palín... | [
"daniel.saad.nunes@gmail.com"
] | daniel.saad.nunes@gmail.com |
13f735008b8ea2ceb8f552733a6aa2dc3cd38b1e | 5966d4a3a07f0f04266ff6eafb55aaa00b2e7b02 | /mediasoup-client/deps/libmediasoupclient/include/Producer.hpp | 51237cba057544923927d70a0b0db9a08ba7f391 | [
"MIT",
"ISC"
] | permissive | gaoyingie/mediasoup-client-android | 8d8c7b4428c85f853a022dba943a4831af5d6bd2 | a1821dc830e2319cd27829f380cb99e923a6dc55 | refs/heads/dev | 2020-08-16T06:56:20.175473 | 2019-10-25T07:10:21 | 2019-10-25T07:10:21 | 215,470,822 | 1 | 0 | MIT | 2019-10-25T07:10:25 | 2019-10-16T06:13:13 | C++ | UTF-8 | C++ | false | false | 3,197 | hpp | #ifndef MSC_PRODUCER_HPP
#define MSC_PRODUCER_HPP
#include "Exception.hpp"
#include "json.hpp"
#include "api/media_stream_interface.h" // MediaStreamTrackInterface
#include <string>
namespace mediasoupclient
{
// Fast forward declarations.
class Transport;
class SendTransport;
class Producer
{
public:
class Private... | [
"wuhaiyang1213@gmail.com"
] | wuhaiyang1213@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.