blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1901fb36fb2452028d7a62c913d89cfbb1c0ccd4 | 943dcf8c6bdbfc729980f6e4432f29f71e048a65 | /examples/doxygen/priorities_example.cpp | c2492b51b86c3a3d3f0dcaa11bcfe77260f096f6 | [
"MIT"
] | permissive | TorstenRobitzki/bluetoe | cfd8576f07ff2235d491874b228175c14bb87f88 | 487c2aff0e944eecff70cb5bd5ca7802d17ce263 | refs/heads/master | 2023-07-31T11:19:05.322271 | 2023-07-06T07:09:54 | 2023-07-06T07:09:54 | 33,478,079 | 166 | 36 | MIT | 2023-06-07T09:52:31 | 2015-04-06T11:04:10 | C++ | UTF-8 | C++ | false | false | 2,816 | cpp |
#include <bluetoe/server.hpp>
#include <bluetoe/service.hpp>
#include <bluetoe/characteristic.hpp>
#include <bluetoe/outgoing_priority.hpp>
#include <cstdint>
// the enumeration of the possible axis
enum class axis {
X, Y, Z
};
// a handler that will use a sensor depending on the axis X
template < axis X >
struc... | [
"Torsten@Robitzki.de"
] | Torsten@Robitzki.de |
106850496307fa3566e7488a73c0ad792e4684f6 | f23b2a3bf8158d123d261123963dcc60d7a3cb92 | /applications/utilities/simpleSmoothMesh/simpleMeshSmoothers/meshSmoother/meshSmoother.H | d8becb6652c54d6e81efafce9d0245f28e247257 | [] | no_license | mfkiwl/solids4foam | 5ea97c3c0dda1d5be4aa12395ffc766f3956f45a | 75bad31ca64e13ed8004feba0d6a03da01ead4b8 | refs/heads/master | 2023-03-18T01:07:09.642578 | 2020-06-21T19:21:24 | 2020-06-21T19:21:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,240 | h | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2004-2007 Hrvoje Jasak
\\/ M anipulation |
---------------... | [
"philipcardiff@gmail.com"
] | philipcardiff@gmail.com |
2cbce4d4a47c4907d7219418517f5ec0a9e820f0 | 0bcf2e8da5f1694f5b38d80d39a5a460e08175b9 | /other/oj/humble.cc | a8738bab2835fb27d2415441b29407c6128f5abe | [] | no_license | jindongh/pyfarm | aa0551dc4524af02d55ee68c6930aedf12b73922 | 6d3553f3bad259227dd8180377a5b749342eb87a | refs/heads/master | 2020-04-16T12:02:04.429416 | 2011-03-05T10:20:33 | 2016-10-20T17:55:30 | 32,198,310 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 946 | cc | /*
ID: hankjin1
LANG: C++
TASK: humble
*/
#include <iostream>
#include <fstream>
#include <cmath>
#include <climits>
#include <set>
#include <algorithm>
using namespace std;
//note: delete used nums in set
//note: notice overflow of multiply
int K,N;
int found;
long long prime[100];//supplied prime
int pcount[100];//p... | [
"jindongh@gmail.com"
] | jindongh@gmail.com |
488cf749274c405227d95b6c60d9a1818cbed19d | 5d1443789b497fa25f04e2b40ff6e46e6e798d14 | /P184.cpp | c62b294289782ac8fb58211380faacbc2b1037b3 | [] | no_license | yao561/aoapc | b2c794d62f27df490c6cf47fe59918b2dfcb3ad5 | 7ec2e375386f694fa5203929c0db1c876e2e2080 | refs/heads/master | 2020-04-06T03:40:09.698009 | 2015-03-03T08:23:56 | 2015-03-03T08:23:56 | 31,587,224 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 567 | cpp | #include <cstdio>
#include <iostream>
#include <cstring>
using namespace std;
void print_permutation(int n, int * A, int cur)
{
if(cur == n)
{
for(int i = 0; i < n; i++)
{
cout << A[i] << " ";
}
cout << "\n";
}
else for(int i = 1; i <= n; i++)
{
int ok = 1;
for(int j = 0; j < cur; j++)
{
if(A... | [
"630481709@qq.com"
] | 630481709@qq.com |
3763dab24d9ed868d79f8485af9209913144b2ad | 686b65baae404e9062ffd1d897b69cfcc22927c8 | /hw11/.svn/text-base/stdtreeset-private.hpp.svn-base | b0ec90a493ba9d23a6d1c9245ed56fae24b98074 | [] | no_license | maruhan2/TestDoxygen | 6565600ae2386459c7aebfd4f23729c12487c8f1 | 1dbe4ad2e199cf7222cc50e7d80b046fb07eb625 | refs/heads/master | 2016-09-06T10:58:59.826339 | 2013-08-23T07:35:21 | 2013-08-23T07:35:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 764 | /**
* \file stdtreeset-private.hpp
* \author Kevin McSwiggen and Mars Park
*
* \brief The private implementation of the StdTreeSet template.
*
*/
#include <cstddef>
#include <set>
#include <iostream>
template <typename T>
size_t StdTreeSet<T>::size() const
{
return treeSet_.size();
}
template <typename T... | [
"maruhanpark@Maruhans-MacBook-Pro.local"
] | maruhanpark@Maruhans-MacBook-Pro.local | |
064bfea246cf93331557ce09ec4b1188a910bee4 | 80798457b026443b0820e1298e9b847da2ec03ff | /src/util/timeutil.h | a87199f9d981ce2e065be14e79333b0558ec7ee3 | [] | no_license | tecle/slotsrv | 9c7058a9874c4b7903d2b7aae0ea69ecca6e10f2 | afb510991948c9d89a33e7e6a7826310c27a1f8f | refs/heads/master | 2021-06-27T13:37:15.523749 | 2017-09-12T03:05:43 | 2017-09-12T03:05:43 | 103,215,276 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,106 | h | #ifndef __UTIL_TIME_UTIL_H_
#define __UTIL_TIME_UTIL_H_
#include <sys/time.h>
#include <time.h>
#include <string>
#include <stdint.h>
namespace cgserver
{
class CTimeUtil
{
public:
static int64_t getCurrentTime();
inline static int64_t getCurrentTimeInSeconds()
{
return getCurrentTime() / 1000000... | [
"tecle@126.com"
] | tecle@126.com |
64e559a4981166809e155613d87ade192d0adbad | 5e6f4676dddf2869afd745a8d5b9ecd9c4731474 | /gui/tools/AbstractTool.cxx | 9e2abf74cf80e54cf78dbcb8ee49f80446fc05db | [] | no_license | doctorwk007/maptk | 8477459da01e19688e0fb93fe360ea29c85abe47 | 50d0ef6ad9403cd082778aa09795021523c3d0f5 | refs/heads/master | 2021-01-15T10:36:32.635825 | 2016-05-25T17:33:48 | 2016-05-25T17:33:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,047 | cxx | /*ckwg +29
* Copyright 2015 by Kitware, 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:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of... | [
"matthew.woehlke@kitware.com"
] | matthew.woehlke@kitware.com |
926c3f0b014630453178ecdd772255d74bd737af | 449a0bb9e5c339d87552449e9d1186d4999fc021 | /test/unit_test/layer_test/test_pixel_shuffle_layer.cc | 8eefe80568277cedcb88c66ba705d9d3b3c44a7a | [
"BSD-3-Clause"
] | permissive | wjc852456/TNN | a3f7e4bef54063c4c1c465d72089da9d30a11ab9 | b7cbf4dc685b8062dfd6ac4da4393e85be7dc841 | refs/heads/master | 2023-02-02T08:44:39.239022 | 2020-12-01T11:08:33 | 2020-12-08T13:46:29 | 293,270,828 | 1 | 0 | NOASSERTION | 2020-11-25T06:52:40 | 2020-09-06T12:19:38 | C++ | UTF-8 | C++ | false | false | 2,204 | cc | // Tencent is pleased to support the open source community by making TNN available.
//
// Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the BSD 3-Clause License (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy o... | [
"62542779+darrenyao87@users.noreply.github.com"
] | 62542779+darrenyao87@users.noreply.github.com |
0a7675f92f62c3f92ac1d7b468372488d9d496fd | 02cec94f01e84979f502a47ff21f3308f69c709f | /Test/GacUISrc/TestCppCodegen/Source/DarkSkin.h | 46c4cf41a5c91a93f46146b88880017d4de8fa47 | [] | no_license | vczh2/GacUI | 05c853e1f4fb89123e2fd82e07fd358f77ef2ea6 | ce100ec13357bbf03ed3d2040c48d6b2b2fefd2f | refs/heads/master | 2020-03-30T03:20:49.033795 | 2018-09-26T09:03:01 | 2018-09-26T09:03:01 | 150,683,634 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 901,005 | h | /***********************************************************************
!!!!!! DO NOT MODIFY !!!!!!
Source: Host.sln
This file is generated by Workflow compiler
https://github.com/vczh-libraries
***********************************************************************/
#ifndef VCZH_WORKFLOW_COMPILER_GENERATED_DARKSK... | [
"vczh@163.com"
] | vczh@163.com |
ff52d1e3ffdff00c58bbfb59d5fd0cf1fef1f7cc | 239cd8f2991c908b8a9a16f9dae56064bd5cd781 | /build/tools/caffe/caffe.pb.h | 372bf9a6f5f5137859712256cfc5c35d3a4888b2 | [
"BSD-3-Clause",
"Zlib",
"BSD-2-Clause"
] | permissive | wangpengcheng/ncnn | 39102029d2e8f6135497a297fd67a590a982af72 | 26bb8c1936a7839065627568efe2ba6fa148b6d5 | refs/heads/master | 2020-06-01T06:43:48.490670 | 2019-07-15T07:25:21 | 2019-07-15T07:25:21 | 190,681,657 | 0 | 0 | null | 2019-06-07T03:11:47 | 2019-06-07T03:11:47 | null | UTF-8 | C++ | false | true | 1,114,243 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: caffe.proto
#ifndef PROTOBUF_caffe_2eproto__INCLUDED
#define PROTOBUF_caffe_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 2006000
#error This file was generated by a newer version of ... | [
"wangpengcheng2018@gmail.com"
] | wangpengcheng2018@gmail.com |
8273fce9224c745d9de4a991a974a71331107469 | d18354f979907799f3f4adbfc1abefc7df26268f | /src/projectlib/src/terms.h | 62009e96a6bd3bc53b551d75769cd6d27e9f860f | [] | no_license | joekain/regex_compiler | 40f9c59efa32d87366d6cbaec093fba5b1930be0 | 7471c9b7d79407d82eec387ce49e4ab4cf2cafe3 | refs/heads/master | 2020-03-21T11:35:59.731757 | 2019-04-08T13:26:51 | 2019-04-08T13:26:51 | 138,513,373 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 618 | h | #pragma once
#include <string>
#include <variant>
#include <vector>
namespace regex_compiler {
// Literals hold a string of characters
struct Literal {
char pattern;
};
struct Group;
struct Alternative;
struct Kleene;
// Sort of like variant but with support for recursion
using Term = std::variant<Literal, Group,... | [
"joekain@gmail.com"
] | joekain@gmail.com |
d182f73f206ce0a9614ad18284123971848d53b2 | 51e245861cf33d14f73e772ebb74230e14d6a58c | /src/Rendering/Shaders/ForwardDirectionalLightShader.h | b0c100446c3321cc115c261cc3c8139f0c4e16a2 | [] | no_license | ErickNK/BlastEngine | 83fbe82b84931be0880d0bfef7ce39268f3bc67f | 96bb7a8fb240d33188761f86afb3aac475d9eb17 | refs/heads/master | 2020-03-31T14:37:25.115378 | 2018-10-27T14:36:08 | 2018-10-27T14:36:08 | 152,302,765 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 482 | h | //
// Created by erick on 9/8/18.
//
#ifndef MORDEROPENGLUDEMYTUTORIAL_FORWARDDIRECTIONALLIGHTSHADER_H
#define MORDEROPENGLUDEMYTUTORIAL_FORWARDDIRECTIONALLIGHTSHADER_H
#include "Shader.h"
class DirectionalLight;
class ForwardDirectionalLightShader: public Shader {
public:
ForwardDirectionalLightShader();
... | [
"eriknjiru73@gmail.com"
] | eriknjiru73@gmail.com |
e0148aaa3b65e795b6ddf03b696eead9fae9be41 | f0a26ec6b779e86a62deaf3f405b7a83868bc743 | /Engine/Source/Runtime/Slate/Private/DockingFramework/TabManager.cpp | 8e3d97da54ea3fd9750904dfa68b3ff0b842f896 | [] | no_license | Tigrouzen/UnrealEngine-4 | 0f15a56176439aef787b29d7c80e13bfe5c89237 | f81fe535e53ac69602bb62c5857bcdd6e9a245ed | refs/heads/master | 2021-01-15T13:29:57.883294 | 2014-03-20T15:12:46 | 2014-03-20T15:12:46 | 18,375,899 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 55,425 | cpp | // Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#include "Slate.h"
#include "DockingPrivate.h"
#include "Json.h"
const FVector2D FTabManager::FallbackWindowSize( 1000, 600 );
DEFINE_LOG_CATEGORY_STATIC(LogAnalytics, Log, All);
#define LOCTEXT_NAMESPACE "TabManager"
////////////////////////////////////... | [
"michaellam430@gmail.com"
] | michaellam430@gmail.com |
30180cfd159eae043c447a6725fc705bcfed270d | b837b417b3a5ea73d8b962c17926316bca788bb9 | /Codeforces/GYM/2013-2014 CT S01E10: 2013 ACM-ICPC Egyptian Collegiate Programming Contest (ECPC 2013)/in.cpp | f26c93600a5718282e20f5e72283a2b6dab62c3c | [] | no_license | wulangbnu/ACM | 4280e267b986fd628c4f54a87f0242a1cf4c3839 | b134d0981e00b5b1b72659ce934894a4fc01bde6 | refs/heads/master | 2021-01-02T08:20:30.537293 | 2013-12-10T04:32:55 | 2013-12-10T04:32:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 131 | cpp | 2
5 7
1 2 2
1 4 5
2 3 14
2 4 5
2 5 4
3 5 34
4 5 58
7 11
1 2 40
1 3 8
1 4 11
2 3 29
2 6 17
3 4 3
3 6 31
4 5 46
5 6 40
5 7 15
6 7 53
| [
"wulang@wulang-debian.wulang.bnu.edu.cn"
] | wulang@wulang-debian.wulang.bnu.edu.cn |
fe14de11e16ce620e283b545a17d8450502045d9 | 5b02a21ff1b7080912d072a6bae17c4718808505 | /ui_simulation.h | 9b04b293cacf8008795df2d73a97f12a22090df8 | [
"BSD-3-Clause"
] | permissive | mhough/DSI-Studio | 315641293807a1c2d1ee13123d52aa114841b8ea | 06ec875a21e6609f1fea41e28358b6ea6d3e78a6 | refs/heads/master | 2020-12-24T21:45:07.133859 | 2013-01-18T04:31:49 | 2013-01-18T04:31:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,041 | h | /********************************************************************************
** Form generated from reading UI file 'simulation.ui'
**
** Created: Tue Dec 11 12:52:20 2012
** by: Qt User Interface Compiler version 4.8.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
... | [
"frank.yeh@gmail.com"
] | frank.yeh@gmail.com |
d18f5f8e9336d7d625fbecc3521c6b886eed4a84 | 9055c093cd4ba9ab67470fd40d1ef13330f42492 | /Source/Client/ConsolidateData.cpp | 3a824263ab02413a870f6db9cdd6ae0b33bdc048 | [] | no_license | webdes27/LoongSource | 379875f51df0c9d9753515f1952d5f11afdc7dec | 6c248e3340788041714c3006906e704dd5853f71 | refs/heads/master | 2022-01-10T18:38:11.764963 | 2019-06-06T12:33:52 | 2019-06-06T12:33:52 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 16,491 | cpp | #include "stdafx.h"
#include "ConsolidateData.h"
#include "..\WorldDefine\compose_define.h"
#include "..\WorldDefine\container_define.h"
ConsolidateData::ConsolidateData()
{
}
ConsolidateData::~ConsolidateData()
{
}
ConsolidateData g_Consolidate;
ConsolidateData* ConsolidateData::Inst()
{
return &g_Consolidate;
}
... | [
"prihodko@dlit.dp.ua"
] | prihodko@dlit.dp.ua |
efbe4f3751c8c5f7e72a7e577ba0a591f022d54b | 460f981dfe1a05f14d2a4cdc6cc71e9ad798b785 | /3/amd64/envs/navigator/include/qt/QtQuick/5.9.7/QtQuick/private/qquickgridview_p.h | 5c6da2b433a34d10d5718d4fe4e070818df1b85f | [
"LicenseRef-scancode-proprietary-license",
"BSD-3-Clause",
"Intel",
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"Zlib",
"BSD-2-Clause",
"GPL-2.0-only",
"GPL-1.0-or-later",
"LGPL-2.0-or-later",
"LicenseRef-scancode-mit-old-style",
"dtoa",
"LicenseRef-scancode-public-domain-disclai... | permissive | DFO-Ocean-Navigator/navigator-toolchain | d8c7351b477e66d674b50da54ec6ddc0f3a325ee | 930d26886fdf8591b51da9d53e2aca743bf128ba | refs/heads/master | 2022-11-05T18:57:30.938372 | 2021-04-22T02:02:45 | 2021-04-22T02:02:45 | 234,445,230 | 0 | 1 | BSD-3-Clause | 2022-10-25T06:46:23 | 2020-01-17T01:26:49 | C++ | UTF-8 | C++ | false | false | 4,525 | h | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtQuick module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid commer... | [
"dwayne.hart@gmail.com"
] | dwayne.hart@gmail.com |
4bd442e196e24f7cf016dd4e2f1daa5c1933dd3f | 34a9b6345c958b0093528abe05bda7f6f3c8bfc6 | /relacy/Taubenfeld.cc | 40ec1410571d7818ec6e850fe3146cca0fa4390d | [] | no_license | pramalhe/concurrent-locking | 2146c87eca449eff6099c5b61e309cb455fd9e87 | 29d91569a2614d4e0e685ff5e06b7a5a12aaf1a5 | refs/heads/master | 2020-12-03T06:42:15.556654 | 2015-05-27T21:55:49 | 2015-05-27T21:55:49 | 36,398,022 | 5 | 1 | null | 2015-05-27T21:51:15 | 2015-05-27T21:51:15 | null | UTF-8 | C++ | false | false | 1,602 | cc | #include "relacy/relacy_std.hpp"
#include "Common.h"
enum { N = 8 };
struct Taubenfeld : rl::test_suite<Taubenfeld, N> {
std::atomic<unsigned int> intents[N][N]; // triangular matrix of intents
std::atomic<unsigned int> turns[N][N]; // triangular matrix of turns
int depth;
rl::var<int> data;
void before()... | [
"pabuhr@uwaterloo.ca"
] | pabuhr@uwaterloo.ca |
b6eaae6a7ce3041f0679472e9a9002ca34e389af | 4be0d4939c1a84afd6636da4d0df7fe0d2973193 | /code/303.cpp | 501ed53a5f15c69391f7fb348d454c63be03ddfe | [] | no_license | jiangwenming27488/leet_code | b8c53bf6aa91a0269321abf66560c4a335394454 | 6a3fdce2043431470fd22707c7529a9fa523b3d0 | refs/heads/master | 2022-03-09T08:42:29.218723 | 2022-02-13T14:51:15 | 2022-02-13T14:51:15 | 142,032,833 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 394 | cpp | class NumArray {
public:
NumArray(vector<int> nums) {
int m=nums.size();
vec.resize(m,0);
for(int i=0;i<m;++i){
if(i==0) vec[0]=nums[0];
else vec[i]=vec[i-1]+nums[i];
}
}
int sumRange(int i, int j) {
if(i==0) return vec[j];
... | [
"1747391469@qq.com"
] | 1747391469@qq.com |
881ffd4cc83b982f3e5a2ca58c488de8c863fce7 | 1bd32667e49749cada7681f44714d1c901485d67 | /IPK_Programmierkurs/Ubungsblatt06/Aufgabe1/statistics.hh | 360faf47b094e3f91bd942938369ffaf5fc354b9 | [] | no_license | MarkCarbonell98/UniFirstSemester | a8385b94c00d8a1097ef28f28cc23a31e8683bdc | 0604a78a492ba31131541a595ce5ea47b7c8de90 | refs/heads/master | 2020-04-05T03:48:04.535694 | 2019-04-18T09:53:54 | 2019-04-18T09:53:54 | 156,527,731 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 939 | hh | #ifndef STATISTICS_HH
#define STATISTICS_HH
#include "io.cc"
#include <algorithm>
#include <map>
#include <utility>
// HEADER FUNCTIONS AUFGABE 1A
std::vector<double> readvector(std::vector<double> input) {
for(auto element : input) {
std::cout << element << std::endl;
}
return input;
}
std::... | [
"markcarbonell2013@gmail.com"
] | markcarbonell2013@gmail.com |
a6f3d0a49c0f59108fe1bb51be543694d87c134a | adddfff48b680fca56c057ccacd3ceaedce3f286 | /include/assistDS/TypeChecks.h | c47c5251cee65769c7d420cdb05c4c7edc0b26b6 | [
"NCSA"
] | permissive | brills/pfpa | f3ca22c0dcf4142e311813f1a562bce8b0889255 | cdc8c2f97b5da96c91b431ba13af2083b494d125 | refs/heads/master | 2020-07-21T23:15:28.530761 | 2012-12-15T01:01:04 | 2012-12-15T01:01:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,648 | h | //===------------- TypeChecks.h - Insert runtime type checks --------------===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by the LLVM research group and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===----------... | [
"brillsp@gmail.com"
] | brillsp@gmail.com |
93c69a88472e4357d4480fa5eb29508dd61dbcb6 | e198926bd750c78d66c291d0180f33cbeab5853f | /src/RenderData.cpp | 52965195b2b807c189e9a54a578c20af5def9da6 | [] | no_license | calcmogul/BananaPiano | 60cec5977c5cb8142e068a25201a76b1f5489106 | 09cfc2df63309d2d03094cbc63ac75a2ba856ff8 | refs/heads/main | 2021-03-12T20:04:46.375221 | 2017-02-27T08:43:51 | 2017-02-27T08:43:51 | 34,849,291 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 151 | cpp | // Copyright (c) Tyler Veness 2015-2017. All Rights Reserved.
#include "RenderData.hpp"
RenderData::RenderData() { font.loadFromFile("arial.ttf"); }
| [
"calcmogul@gmail.com"
] | calcmogul@gmail.com |
ce1c5ad7bb7e2717283ba4439e3e996d09bafeb4 | ddf18ada3b38d1f8ba81c0fdf86843e1e11f25b0 | /arreglo.h | d16121e2ae960caed4c7ebcbf43f11a3b02c8fc1 | [] | no_license | cerm01/Actividad_14 | 2fc1778a704a78a2c293937097399050cb86425b | 4eb5da00d48abdf26b34abc48f20f823af35a033 | refs/heads/main | 2023-01-07T16:42:20.163649 | 2020-11-05T23:41:53 | 2020-11-05T23:41:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,078 | h | #ifndef ARREGLO_H
#define ARREGLO_H
#include <iostream>
using namespace std;
template <class T>
class Arreglo{
private:
T *arreglo;
size_t tam;
size_t cont;
const static size_t MAX = 1000;
void expandir();
public:
Arreglo();
~Arreglo();
void ins... | [
"carlos.rosas7476@alumnos.udg.mx"
] | carlos.rosas7476@alumnos.udg.mx |
ec67e8a338885c37dd8fea07c593045b5591d3f2 | eabe92ff958be0e5894ed7501780d8eb608b6ae9 | /chrome/test/values_test_util.cc | 69237b578284e421c8f9331e449c1fb2dfce87aa | [
"BSD-3-Clause"
] | permissive | meego-tablet-ux/meego-app-browser | 51bf8a8b8f15d702151a3f32a2598d4621b6926d | 0f4ef17bd4b399c9c990a2f6ca939099495c2b9c | refs/heads/master | 2021-01-10T21:33:19.677680 | 2011-07-20T01:19:53 | 2011-08-01T07:18:37 | 32,045,345 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,903 | cc | // Copyright (c) 2011 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/test/values_test_util.h"
#include "base/string_number_conversions.h"
#include "base/values.h"
#include "testing/gtest/include/gtest/... | [
"akalin@chromium.org@4ff67af0-8c30-449e-8e8b-ad334ec8d88c"
] | akalin@chromium.org@4ff67af0-8c30-449e-8e8b-ad334ec8d88c |
fb237a8847652f68998259d9807549ac5bb21d2e | f6b98c50e1bd110ae076f98747fceaff60ce82c5 | /4/4.1.cpp | 3736c7a264e9ec9e95589d347a5373d1200d13c6 | [] | no_license | shizihao123/CtCI | 13c5a3a9e51b82061142aa2a101d09c7cc0b7126 | c935fbea41cedd1ee1c20a9a366ee5488f54b374 | refs/heads/master | 2021-01-23T01:56:52.399554 | 2014-07-08T14:53:45 | 2014-07-08T14:53:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 479 | cpp | #include <iostream>
#include <cmath>
struct TreeNode {
int value;
TreeNode *left, *right;
};
bool isBalance(TreeNode *root, int &depth) {
if (root == NULL) {
depth = 0;
return true;
}
int left_depth, right_depth;
if (isBalance(root->left, left_depth)
&& isBalance(ro... | [
"hustsxh@gmail.com"
] | hustsxh@gmail.com |
033ff28b961120adf719cef459abc0736642a22e | 0010b3d8b8f806d6065e1bb1aa3c18f9714001a7 | /src/RealGalaxy.cpp | 7acef0f6eab206ed9fd201e635030003d1f39f6e | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | GalSim-developers/GalSim | bfd2d5e57f20874ad81bc735195c5c62efad63eb | f1c0319600cc713373f1cea7459171fbf388848e | refs/heads/main | 2023-08-17T07:30:44.583679 | 2023-08-15T02:52:00 | 2023-08-15T02:52:00 | 3,510,804 | 194 | 104 | NOASSERTION | 2023-09-12T04:03:38 | 2012-02-22T02:51:45 | Python | UTF-8 | C++ | false | false | 7,325 | cpp | /* -*- c++ -*-
* Copyright (c) 2012-2022 by the GalSim developers team on GitHub
* https://github.com/GalSim-developers
*
* This file is part of GalSim: The modular galaxy image simulation toolkit.
* https://github.com/GalSim-developers/GalSim
*
* GalSim is free software: redistribution and use in source and bin... | [
"michael@jarvis.net"
] | michael@jarvis.net |
a6c0f996d53fe2e81a50eb41f7711ab90deb5c73 | 1e2a45e953e873cf183a296ad36837e6daa3a775 | /Trabalho Pratico 1/src/file_compressor.cpp | e764436d307eda65b4a66b748a092ccc8471ce88 | [] | no_license | matheusmtta/Algorithms-2 | e362964eb093766495dceaa083c2738ccfd458ca | ff693566665d6c1b60768b80a2bc91c23d273b9a | refs/heads/main | 2023-04-04T23:22:16.242940 | 2021-04-02T13:50:43 | 2021-04-02T13:50:43 | 336,695,748 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,028 | cpp | #include "trie.h"
using namespace std;
bool compress(string input_path, string output_path){
Trie trie;
ifstream infile(input_path);
ofstream outfile(output_path);
if (infile.is_open() == false){
cout << "Input file not found" << endl;
return false;
}
if (outfile.is_open() == false){
cout << "Output fi... | [
"matheusaquino199@gmail.com"
] | matheusaquino199@gmail.com |
215dde02fedb1e3971ff2a1368145376353a8a4e | 30d1247c83557eeafc8a6a9a71fe9cc6af090cf2 | /Simple1/simple1.cpp | e269e51bf1186d5ad642fd1a66104464f54bebd8 | [] | no_license | leepedro/Win32ApiTests_VS2013 | 5b3526076c36c336ffe2fe2a97689cec16bd72dc | 8d9615ab0e28e3de2bc4517528290efe584f6ea8 | refs/heads/master | 2021-01-10T20:19:48.564957 | 2014-08-01T08:15:47 | 2014-08-01T08:16:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,668 | cpp | // This project demonstrates a simple example of Windows native API.
// It opens up a window without a menu, and pops up a message box when asked to close.
#include <Windows.h>
LRESULT CALLBACK WindowProc(HWND hWnd, unsigned int msg, WPARAM wParam, LPARAM lParam);
int WINAPI wWinMain(HINSTANCE hInstance, HINS... | [
"leecheolha@gmail.com"
] | leecheolha@gmail.com |
eb9071875dd0412ef38ea1e66ce7f9a979103fb5 | 2f10f807d3307b83293a521da600c02623cdda82 | /deps/boost/win/debug/include/boost/flyweight/tracking_tag.hpp | d9cfff313c27920965bebfe90443651aceb4cf54 | [] | no_license | xpierrohk/dpt-rp1-cpp | 2ca4e377628363c3e9d41f88c8cbccc0fc2f1a1e | 643d053983fce3e6b099e2d3c9ab8387d0ea5a75 | refs/heads/master | 2021-05-23T08:19:48.823198 | 2019-07-26T17:35:28 | 2019-07-26T17:35:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | hpp | version https://git-lfs.github.com/spec/v1
oid sha256:b16d1ab8f228658a78f99d05be2fa3b251a581f9af63f36ba9c4b3bf7b1a41f9
size 1140
| [
"YLiLarry@gmail.com"
] | YLiLarry@gmail.com |
d919e7623ff10e8d44148dacfb8016d15e1e0c5c | dfef374d256adb9d159ae275c42b15b6c97a2c77 | /solutions/ACAlgorithm/src/Aho.cpp | c622112d24f42d0cb88e65bca980fd711648c1f0 | [] | no_license | snrahman01/hackerrank_problem | 893bf161e8f33004c372fa787b6ac3abe75e7c2e | 8b43b4b86b3ad5a7a807b9881a1ab45c819c7fbb | refs/heads/master | 2020-04-20T21:43:58.144645 | 2019-10-31T09:32:49 | 2019-10-31T09:32:49 | 169,117,630 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,821 | cpp | #include "Aho.h"
class Aho;
Aho::Aho()
{
//ctor
size = 0;
root = 0;
Init();
}
Aho::~Aho()
{
}
void Aho::Init()
{
Vertex v;
Trie.push_back(v);
size++;
}
void Aho::AddString(string s, int wordID)
{
int curVertex = root;
for (int i = 0; i < s.size(); ++i) // Iterating over the string's ... | [
"nargis.rhmn@gmail.com"
] | nargis.rhmn@gmail.com |
dcee7f18a1c5039d21d45eab68a1b2ee06c30dc7 | c766bece263e5149d0dbab04ea20308bf1191ab8 | /AdobeInDesignCCProductsSDK.2020/source/public/interfaces/text/IStylePositionInfo.h | 2e375ea54c8f9bbf09fdbbb5d79c4b23238613a1 | [] | no_license | stevenstong/adobe-tools | 37a36868619db90984d5303187305c9da1e024f7 | c74d61d882363a91da4938fd525b97f83084cb2e | refs/heads/master | 2022-04-08T17:31:35.516938 | 2020-03-18T20:57:40 | 2020-03-18T20:57:40 | 248,061,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,655 | h | //========================================================================================
//
// $File: //depot/devtech/15.0/plugin/source/public/interfaces/text/IStylePositionInfo.h $
//
// Owner: Sanjay Kumar
//
// $Author: pmbuilder $
//
// $DateTime: 2019/10/11 10:48:01 $
//
// $Revision: #2 $
//
/... | [
"steven.tong@hcl.com"
] | steven.tong@hcl.com |
6cd9186e30f657cadd1b5dc1facc1ff9908c43de | 5a6a992288c66f2281ac1d7619adfc4732950d4a | /LED2017资料/v2.00.200(libusb)/HAAS/Page2.cpp | 21f07dad711175e503852a8bc3639fc96669f8ff | [] | no_license | chg95211/LED2017 | e605cc6ec574f5acfecd7b81f0818f7188dec5d8 | d3831ed6bb58328d368ff2d22488ba3156c9624a | refs/heads/master | 2020-04-05T11:37:34.061767 | 2018-01-26T02:41:16 | 2018-01-26T02:41:16 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 4,210 | cpp | // Page2.cpp : implementation file
//
#include "stdafx.h"
#include "MySpec.h"
#include "Page2.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CPage2 dialog
extern CString g_strCurPath;
... | [
"21575602@qq.com"
] | 21575602@qq.com |
667593eb436a93bc26102c3984f7e94ac61e9092 | 59138b1b34e2a9356ad7154a9705007349209e9a | /platform/RemotingNG/src/SerializerBase.cpp | a44c6f2711767eeae65858430c155d59f74c366f | [
"Apache-2.0"
] | permissive | gboyraz/macchina.io | 6b879fca2329e7060122adfc691b4870d4dc06ac | de79c4d2eace01e24d685ac7f7c2e8aadf6b2668 | refs/heads/master | 2020-06-29T13:18:05.975243 | 2019-08-04T22:43:08 | 2019-08-04T22:43:08 | 200,547,738 | 2 | 0 | Apache-2.0 | 2019-08-04T22:29:19 | 2019-08-04T22:29:19 | null | UTF-8 | C++ | false | false | 2,519 | cpp | //
// SerializerBase.cpp
//
// Library: RemotingNG
// Package: Serialization
// Module: SerializerBase
//
// Copyright (c) 2006-2014, Applied Informatics Software Engineering GmbH.
// All rights reserved.
//
// SPDX-License-Identifier: Apache-2.0
//
#include "Poco/RemotingNG/SerializerBase.h"
#include "Poco/Exceptio... | [
"guenter.obiltschnig@appinf.com"
] | guenter.obiltschnig@appinf.com |
c9578f3d731a4357e59f619e54afeccbab207e73 | e668804617c64191139d76991f5b7261e2d57ed9 | /libraries/include/mlab/mlab.h | e38667197f09dd7b11aefdd65f739e659a34e10f | [
"Apache-2.0"
] | permissive | commshare/testIPv6 | 064356102a5777fcad1bddd01ed511dd552ce7c2 | c6ba4190a6ba89ec86894351ab4480143eef8a25 | refs/heads/master | 2020-03-24T06:54:30.409726 | 2018-11-01T02:20:11 | 2018-11-01T02:20:11 | 142,545,942 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,380 | h | // Copyright 2012 M-Lab. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law ... | [
"nowget@qq.comf"
] | nowget@qq.comf |
ca80c3422ccd53b7248897ce594899f5684e7bad | 6fd3d7340eaaab551a22f5918d3c5fd3d27040c0 | /SERVERS/WorldServer/ZoneEventManager.h | 5bba1b5eb83029a6fabbf357e9c641cee297960d | [] | no_license | Aden2018/WinServer | beda5bb9058a08d1961f2852b48ca5217ca80e86 | f3c068cd8afed691e32fc6516060187014ba3a71 | refs/heads/master | 2023-03-18T20:10:55.698791 | 2018-03-02T03:50:21 | 2018-03-02T03:50:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 503 | h | /*#include <hash_map>
#include "ManagerBase.h"
#include "LockCommon.h"
#include "Common/GlobalEvent.h"
class CZoneEventManager : public CManagerBase< CZoneEventManager, MSG_ZONEEVENT_BEGIN, MSG_ZONEEVENT_END >
{
public:
CZoneEventManager(void);
~CZoneEventManager(void);
void HandleSetSeverEvent(int SocketHandle,s... | [
"754266963@qq.com"
] | 754266963@qq.com |
9f0d1bc88f175ef97e983542ca696d0154ee815c | 0bf1f7b901118b5cbe3d51bbc5885fcb634419c5 | /Cpp/SDK/Dungeons_functions.cpp | 76334ebc6cf5c3297e16365851e1b325185c6a4d | [] | no_license | zH4x-SDK/zMCDungeons-SDK | 3a90a959e4a72f4007fc749c53b8775b7155f3da | ab9d8f0ab04b215577dd2eb067e65015b5a70521 | refs/heads/main | 2023-07-15T15:43:17.217894 | 2021-08-27T13:49:22 | 2021-08-27T13:49:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 833,693 | cpp | // Name: DBZKakarot, Version: 1.0.3
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//-----------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
691bfbe57fc368f08dcd04a0080450fb5ea332d8 | 0865e654df8684a4cb137e8a6de0007e1583629c | /vendor/grpc/grpc/src/node/ext/timeval.cc | 741c324c66bc0cb081e10c04880afc41a54fac80 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | bakins/grpc-fastcgi-example | f0e6cf3056c76d3991824e4ea7d9343ed926b65d | 83e89ff1b69d6e31de1ed24bfd35c33efaea7e2f | refs/heads/master | 2022-03-15T01:04:41.240887 | 2022-02-15T17:24:25 | 2022-02-15T17:24:25 | 101,287,872 | 1 | 1 | Apache-2.0 | 2022-02-15T17:24:26 | 2017-08-24T11:31:25 | PHP | UTF-8 | C++ | false | false | 2,688 | cc | /*
*
* Copyright 2015, Google 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:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of condi... | [
"bakins@rsglab.com"
] | bakins@rsglab.com |
ce52dcc74dca47db72f2410ab405f1cf756646e2 | 9802284a0f2f13a6a7ac93278f8efa09cc0ec26b | /SDK/Bait_trap_for_small_animals_classes.h | 2ea283ab05be4425d4512728ea3e74473bcc43aa | [] | no_license | Berxz/Scum-SDK | 05eb0a27eec71ce89988636f04224a81a12131d8 | 74887c5497b435f535bbf8608fcf1010ff5e948c | refs/heads/master | 2021-05-17T15:38:25.915711 | 2020-03-31T06:32:10 | 2020-03-31T06:32:10 | 250,842,227 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 694 | h | #pragma once
// Name: SCUM, Version: 3.75.21350
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass Bait_trap_... | [
"37065724+Berxz@users.noreply.github.com"
] | 37065724+Berxz@users.noreply.github.com |
6ff3133cc10e44633de09b168e4b728ddc295fdf | 5dd112c8d6a31d10c26e0f59b94e37595b5e2db9 | /library/cpp/coroutine/engine/trampoline.h | 5312a6cb21f8d09d68507ea66b356908f7a69c33 | [
"Apache-2.0"
] | permissive | kizill/catboost | 4433dd467f48120793a397b3485355ccb59d08bf | 3f3597bf7691a3b4e49d5b41309f57edaf4f2f19 | refs/heads/master | 2021-11-02T08:34:14.084130 | 2021-08-09T15:50:07 | 2021-08-09T15:50:07 | 116,815,185 | 0 | 0 | Apache-2.0 | 2019-02-01T19:51:07 | 2018-01-09T12:47:08 | C++ | UTF-8 | C++ | false | false | 1,632 | h | #pragma once
#include "stack/stack_common.h"
#include "stack/stack.h"
#include <util/generic/noncopyable.h>
#include <util/generic/ptr.h>
#include <util/system/context.h>
#include <util/system/defaults.h>
#if !defined(STACK_GROW_DOWN)
# error "unsupported"
#endif
// TODO(velavokr): allow any std::function objects... | [
"arcadia-devtools@yandex-team.ru"
] | arcadia-devtools@yandex-team.ru |
88c4f4e3d781911ca289eb0a4595744aeff4451e | c11628ef375629a05da01a5271c1d43d3d5b0a2e | /codeforces/291/c-specialized.cpp | 74c2bc7c018b6cee32574d696505c452abc20516 | [] | no_license | knst/Competitive-programming | 8d6a45fafe95d592b107d65f05a22510cfd97883 | 9b109ce1a2ddc9118a8b4a61a7f0ea81f50b6d43 | refs/heads/master | 2022-07-29T15:39:42.182329 | 2022-07-18T12:36:24 | 2022-07-18T12:36:46 | 31,777,461 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,522 | cpp | /*****************************************************************************
* codeforces: knst
* topcoder: knstqq
* projecteuler: knstqq
* **************************************************************************/
#include <algorithm>
#include <iostream>
#include <limits>
#include <map>
#include <set>
#i... | [
"knstqq@gmail.com"
] | knstqq@gmail.com |
7835558b7d1d127eb2c4efe294a6d76e0423d3b2 | af49d8ef58d4fe1a3a940b7d7b05451f71cdcd64 | /moost/threads/win/win_mutex.hpp | 4e47a96c6b484b0261080e7e4fc3475bf568b59d | [] | no_license | nizox/moost | 049ae56863e1c2bbbd75a8a5244c3648c539ba3b | 66d057025a610cb62b346690914331ca0bf6d09a | refs/heads/master | 2020-05-16T21:43:47.271901 | 2011-10-28T10:20:22 | 2011-10-28T10:20:22 | 2,664,434 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 469 | hpp | #ifndef WIN_MUTEX_HPP__
#define WIN_MUTEX_HPP__
#include <windows.h>
namespace moost {
namespace cond {
class win_cond;
}
namespace mutex {
class win_mutex
{
public:
win_mutex();
void lock();
void unlock();
void try_lock();
~win_mutex();
private:
CRITICAL_SECTI... | [
"nizzox@gmail.com"
] | nizzox@gmail.com |
e9100f5d121a9ab6e416a92b8b19fea1a0d1253c | 1fe68ae9038a855b9cb2720ae5d2162897cdc296 | /trunk/棋牌出牌器/龙岩LoserWindow/UserMessagePump.h | 79e60cc4718314c64e093cffd841473136acaa1e | [] | no_license | cnceo/myhistoryprojects | e2075b74ed06bc0c4a560560887c2fd3256187c5 | b9a4f63525e62c621c2b64297301a7b8e3ad9944 | refs/heads/master | 2021-01-11T13:29:34.973668 | 2015-03-30T16:12:38 | 2015-03-30T16:12:38 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,263 | h | #pragma once
#include <afxmt.h>
#include <list>
using namespace std;
#define USERMSGSTART WM_USER + 500
#define USERWINDOWMSG_1 USERMSGSTART + 1
#define USERWINDOWMSG_2 USERMSGSTART + 2
#define USERWINDOWMSG_3 USERMSGSTART + 3
#define USERWINDOWMSG_4 USERMSGSTART + 4
#define USERWINDOWMSG_5 USERMSGSTAR... | [
"814732400@qq.com"
] | 814732400@qq.com |
a7d675138ff69f3530c02167ddf063e1e926300e | 13dafbe0e33771bd24496637a761c4703fb0beb4 | /Atcoder/PredictionAndRestriction.cpp | 8e14218127c8b270b1f9745f6a8a46aef09b93b3 | [] | no_license | Owmicron/CPStuff | 121d498b2418141fa45d27fcbfa0a1fd851a4293 | 436f3234ed2f2930b13169f30428ded5da557b75 | refs/heads/master | 2022-12-30T06:43:18.425735 | 2020-10-20T12:21:59 | 2020-10-20T12:21:59 | 258,448,760 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,088 | cpp | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#pragma GCC target ("avx2")
#pragma GCC optimization ("O3")
#pragma GCC optimization ("unroll-loops")
#pragma comment(linker, "/stack:200000000")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=n... | [
"owenultima@gmail.com"
] | owenultima@gmail.com |
dea5b9116b405540020e7fd64feb8b11723d01c9 | 056e018ed98a151276cb7464c098d2a0d89bd418 | /contestants/radiantsearch/RadiantSearch37_03/BubbleSort35/BubbleSort35/main.cpp | 3e8bdd637f60b8fc7ed3587380b87c5aae84302d | [] | no_license | lyysdy/challenge1 | 5c7d5a829dc94aa200e5d311fcbabd73606db5ec | deea5c606cbc7188e3e665a78033a3b553e6f4e8 | refs/heads/master | 2021-01-24T01:51:53.490192 | 2015-02-16T17:23:47 | 2015-02-16T17:23:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,238 | cpp | /* Given 10 million uniquely ranked points on a 2D plane, design a datastructure and an algorithm that can find the 20
most important points inside any given rectangle. The solution has to be reasonably fast even in the worst case, while
also not using an unreasonably large amount of memory.
Create an x64 Windows DL... | [
"andras@churchillnavigation.com"
] | andras@churchillnavigation.com |
cf88ebfa10848b923278dd4eb3bf23eaa4b4fc58 | d63fab683358ff1488f281498c03dea1ab869343 | /main.cpp | 63d47a34f0ce525be9fa546b36dd2008ca20290e | [] | no_license | EdgarCordero/actividad-12 | d28640082b2db3415ca8b3c28900edb44ec55dd8 | 9074b98f2651e05ab057c191595b170935305e05 | refs/heads/main | 2023-01-05T00:37:07.168967 | 2020-10-30T01:17:13 | 2020-10-30T01:17:13 | 308,491,262 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 684 | cpp | #include <iostream>
#include "array.h"
using namespace std;
int main()
{
Array myArray;
myArray.insertAtEnd("HOLA");
myArray.insertAtEnd("MUNDO");
myArray.insertAtEnd("TIERRA");
myArray.insertAtEnd("MARTE");
myArray.insertAtEnd("JUPITER");
myArray.insertAtEnd("SATURNO");
myArray.inser... | [
"edgar.cordero2890@alumnos.udg.mx"
] | edgar.cordero2890@alumnos.udg.mx |
e8c85bdaa95aad38438c9495ad84e4a281c90a6a | d4a7925e995cdb49a8d6b7af39a4807a03565fe8 | /dbHandler.cc | b62074defbf5fc7687a5d61c1482b6960d563f50 | [] | no_license | chronologos/ECE590-AmazonSim | 3ea37431022018398f8fc828961ef52bcf97ecf5 | c7bd8378bfe07f9d0b14b4c84fa0159cbd935d2f | refs/heads/master | 2021-01-19T13:50:02.335318 | 2017-11-09T19:24:46 | 2017-11-09T19:24:46 | 88,111,984 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 21,560 | cc | #include "./dbHandler.h"
std::vector<std::tuple<unsigned long, std::string, int>> getShipmentProducts(unsigned long shipid) {
//pqxx::connection c{"dbname=amazonsim user=radithya"};
pqxx::connection c{"dbname=amazon_db user=postgres"};
pqxx::work txn{c};
std::string queryString("SELECT * FROM store_shipmentite... | [
"ra102@duke.edu"
] | ra102@duke.edu |
678018d17a3ea5462bd142a6ce1f17ffded378ac | 413d28b0b3a2efd312b07153b905773f9872ebfe | /src/qt/bitcoin.cpp | e1f2fedd7094a90886711e9bcafa6748ce788cec | [
"MIT"
] | permissive | DeepCoin/coino | 1a0d3b4e758150b9668a05e7c20ceeb5501a6197 | 7b5cdca0400ce39287f378cb86abd472c964327b | refs/heads/master | 2021-01-21T04:13:22.238357 | 2014-01-14T02:37:05 | 2014-01-14T02:37:05 | 16,052,256 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,952 | cpp | /*
* W.J. van der Laan 2011-2012
*/
#include "bitcoingui.h"
#include "clientmodel.h"
#include "walletmodel.h"
#include "optionsmodel.h"
#include "guiutil.h"
#include "guiconstants.h"
#include "init.h"
#include "ui_interface.h"
#include "qtipcserver.h"
#include <QApplication>
#include <QMessageBox>
#include <QTextCo... | [
"root@root.root"
] | root@root.root |
a44084beee4a1e89af56287b7118b2f1caf0c5b9 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/new_hunk_6518.cpp | 7824562f8b8644a3707295f2e7ace32c791df731 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 817 | cpp | DnsStats.replies);
storeAppendPrintf(sentry, "number of dnsservers: %d\n",
NDnsServersAlloc);
storeAppendPrintf(sentry, "\n");
storeAppendPrintf(sentry, "%7s\t%7s\t%11s\t%s\t%7s\t%7s\n",
"#",
"FD",
"# Requests",
"Flags",
"Time",
"Offset");
for (k = 0; k < NDnsServersAlloc; k++) {
dns = *(dns_ch... | [
"993273596@qq.com"
] | 993273596@qq.com |
d015e9c25a153c4dc53f9a4ab1d1600a3006a6d7 | 5a6bd5404f2788408f427a46e1b860cf5068f56a | /include/SymbolTable/Array.h | bcec3f34771be4235e19bf4e6c22b0a4930e055a | [
"Apache-2.0"
] | permissive | erhoof/eCompiler | 0e690c994d4d34cfcd2a534fad433d6e359a4174 | 6e0a4f97d1b0c7f11f90e1c28c75cd8a85c31cc9 | refs/heads/master | 2023-04-06T17:37:55.888618 | 2021-04-13T09:14:39 | 2021-04-13T09:14:39 | 264,937,308 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 349 | h | //
// Created by Pavel Bibichenko on 20.06.2020.
//
#ifndef ECOMPILER_ARRAY_H
#define ECOMPILER_ARRAY_H
#include "Type.h"
class Array : public Type {
public:
Array(int size, Type& type);
std::string toString();
Type* type() const;
int size() const;
private:
Type* m_type;
int m_size = 1;
};... | [
"erhoof@icloud.com"
] | erhoof@icloud.com |
90bd75bfd1d091c9048f5d3075d41235bfff759e | 2dd4c5c8d6a456c267ba3b5a92810333cf177a45 | /rootqt/bookcode/jingtongqt4biancheng/chapter06/basicdrawPrint/moc_previewlabel.cpp | c14387d3768fe700e74cbd6f9c018eccbc26fb34 | [] | no_license | wuhongyi/QtNote | f9b35ae2d22b86352bdc3144f6cf450421e9f1c9 | 4b2d0398d9d7e18f73a4efcb619dcf386ebb801f | refs/heads/master | 2021-09-14T13:23:06.491510 | 2018-05-14T08:43:19 | 2018-05-14T08:43:19 | 114,108,906 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,966 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'previewlabel.h'
**
** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5)
**
** WARNING! All changes made in this file will be lost!
********************************************************... | [
"wuhongyi@pku.edu.cn"
] | wuhongyi@pku.edu.cn |
f15def04bfdddf220329e102e0a87e0005b43496 | 38c10c01007624cd2056884f25e0d6ab85442194 | /third_party/skia/gm/bigtileimagefilter.cpp | f2164e8e2fc3d02231b5f31fdfc0da519cf72b91 | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-public-domain"
] | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 3,334 | cpp | /*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkImageSource.h"
#include "SkSurface.h"
#include "SkTileImageFilter.h"
#include "gm.h"
static SkImage* create_circle_texture(int size, SkColor color) {
SkAutoTU... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
b3a8ce76889b8cef6e47417445f1f00a1ca6f568 | f113b7f7695bf2f5c09e5e8afb28cc99ee06c63a | /src/DOTk_LineSearchAlgorithmsDataMng/DOTk_LineSearchMngTypeULP.cpp | a0a220632a72d5911a55aad852c1d0f605d5f19d | [] | no_license | maguilo11/locus | 501a074a12e260e2b9f0940a6eb389ad36aefb89 | cbf926808493c621893cc11f124f813b9e0fcbde | refs/heads/master | 2021-09-24T21:35:27.503003 | 2018-10-15T02:58:38 | 2018-10-15T02:58:38 | 72,475,433 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,320 | cpp | /*
* DOTk_LineSearchMngTypeULP.cpp
*
* Created on: Sep 15, 2014
* Author: Miguel A. Aguilo Valentin
*/
#include <sstream>
#include "vector.hpp"
#include "DOTk_Primal.hpp"
#include "DOTk_RoutinesTypeULP.hpp"
#include "DOTk_ObjectiveFunction.hpp"
#include "DOTk_FirstOrderOperator.hpp"
#include "DOTk_LineSear... | [
"aguilo.miguel@gmail.com"
] | aguilo.miguel@gmail.com |
cbe57205e6cb504a3ef6554ffafb8ff677599442 | d049c4a82c6d815ab257ac7a0c9920a92a523a13 | /model.h | 40969c458e7d2f225fc5f0796a914ae60bb4da91 | [] | no_license | wangxiaochaun/NIQSV | 8c8475ebd7e83bd2d0d8a0d90de46e25876b36c1 | 06860f0238344bad8580c4ed72476bed36c84952 | refs/heads/master | 2020-04-06T09:37:11.297110 | 2018-11-20T07:32:33 | 2018-11-20T07:32:33 | 157,349,642 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,536 | h | //
// Created by wangxc on 18-11-13.
//
#ifndef NIQSV_MODEL_H
#define NIQSV_MODEL_H
#include <iostream>
#include <opencv2/opencv.hpp>
class model {
public:
model(){};
model(float k_c, int open_size, int close_size, int diameter, float significant_level,
float k_z, float C);
/**
* @brief:... | [
"wangxiaochaun@163.com"
] | wangxiaochaun@163.com |
9815d656efa34d2280f8a7fa8495e20d2a2f2b83 | 44227276cdce0d15ee0cdd19a9f38a37b9da33d7 | /arcane/src/arcane/core/Parallel.cc | 50643aa2e8464a2c14859e6b063a53df053d7f4c | [
"Apache-2.0",
"LGPL-2.1-or-later"
] | permissive | arcaneframework/framework | 7d0050f0bbceb8cc43c60168ba74fff0d605e9a3 | 813cfb5eda537ce2073f32b1a9de6b08529c5ab6 | refs/heads/main | 2023-08-19T05:44:47.722046 | 2023-08-11T16:22:12 | 2023-08-11T16:22:12 | 357,932,008 | 31 | 21 | Apache-2.0 | 2023-09-14T16:42:12 | 2021-04-14T14:21:07 | C++ | UTF-8 | C++ | false | false | 5,756 | cc | // -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
//-----------------------------------------------------------------------------
// Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: Apache-2... | [
"Gilles.Grospellier@cea.fr"
] | Gilles.Grospellier@cea.fr |
5105bbeaa90436908107d246c33af666d60aa9c3 | 9a263c41b00a61b5d75bdbec3b4517a0c56e3df7 | /FFdynamic/davImpl/mux/ffmpegMux.h | 6f11e2467a11550204e1694c4e641a2e0aa9103b | [
"MIT"
] | permissive | Xingtao/FFdynamic | 3db747c44784e0624532864f6516a9c2a0c840e5 | 94fde0863a65b57e200741638af0d03e1dafaa9d | refs/heads/master | 2022-07-24T01:54:21.275822 | 2021-05-21T08:14:26 | 2021-05-21T08:14:26 | 153,915,331 | 347 | 76 | MIT | 2021-05-21T08:12:37 | 2018-10-20T14:43:11 | C++ | UTF-8 | C++ | false | false | 1,235 | h | #pragma once
#include <map>
#include "ffmpegHeaders.h"
#include "davImpl.h"
namespace ff_dynamic {
using ::std::map;
class FFmpegMux : public DavImpl {
public:
FFmpegMux(const DavWaveOption & options) : DavImpl(options) {
implDefaultInstantiate();
}
virtual ~FFmpegMux () {onDestruct... | [
"pengxingtao@kuaishou.com"
] | pengxingtao@kuaishou.com |
d07364dd22b36151eeacfe36198d387030d024dc | 0d05eb1603de8203cf32fbf56ff03b96d64142ae | /simdjson/bindings.h | fee83e256acd67ccf12d8b4d168c061c4272e45f | [
"Apache-2.0"
] | permissive | brinkqiang2javascript/simdjson_nodejs | b39cabe76813b2e6546ea0139cd9b12739971079 | b76089cd6f51bd032acb26b3c596eb03d15db323 | refs/heads/master | 2020-07-27T01:02:41.976335 | 2019-08-03T03:40:01 | 2019-08-03T03:40:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 796 | h | #if defined __AVX2__ || defined __SSE42__
#include <napi.h>
#include "src/simdjson.h"
namespace simdjsonnode {
using namespace simdjson;
Napi::Boolean HasAVX2Wrapped(const Napi::CallbackInfo& info);
bool isValid(std::string p);
Napi::Boolean IsValidWrapped(const Napi::CallbackInfo& info);
Napi::Object par... | [
"luiz_peres10@hotmail.com"
] | luiz_peres10@hotmail.com |
99c0131242f6cd9d128424d594e7ad1c27b426e6 | 3da0b0276bc8c3d7d1bcdbabfb0e763a38d3a24c | /zju.finished/2646.cpp | ba7bf5a0bd26c6609c5b263f366bb7be8d288ccc | [] | no_license | usherfu/zoj | 4af6de9798bcb0ffa9dbb7f773b903f630e06617 | 8bb41d209b54292d6f596c5be55babd781610a52 | refs/heads/master | 2021-05-28T11:21:55.965737 | 2009-12-15T07:58:33 | 2009-12-15T07:58:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 858 | cpp | #include<iostream>
using namespace std;
// 利用余数的数列性质
int direct(int n, int k){
int ret = 0;
while(n>=2){
ret += k%n;
n--;
}
return ret;
}
long long fun(int n, int k){
long long ret = 0;
long long diff, s, e;
if(n<= 100){
return direct(n, k);
}
... | [
"zhouweikuan@gmail.com"
] | zhouweikuan@gmail.com |
57675ebe0a3dc6716157c9a19b15f344181beaed | 2acaca9d56262c3374a2b2e3e2f7000024915fdf | /Network/activationfunctions.hpp | f1bf349192166136ce90868f97ec33cf2e00cbf8 | [] | no_license | WillTheVideoMan/neural-network-foundations | 4c63f7bbab37cea1f1ebf103361f8ab24abaa606 | bd9093f16eb0d971759da1501127cf103f7d447a | refs/heads/master | 2020-06-08T01:07:26.691285 | 2020-05-04T12:20:19 | 2020-05-04T12:20:19 | 193,130,329 | 1 | 0 | null | 2020-05-04T12:20:40 | 2019-06-21T16:34:43 | C++ | UTF-8 | C++ | false | false | 231 | hpp | #pragma once
#include "vector.hpp"
class Sigmoid {
public:
//sigmoid
static double f(double x);
static Vector f(Vector x);
//derivative of sigmoid
static double fPrime(double x);
static Vector fPrime(Vector x);
}; | [
"martincosta2000@outlook.com"
] | martincosta2000@outlook.com |
260d832b28ddfce9e48171f2310f4159f73b6465 | 209790acca0bbcf14609ce6a5d629e2f6008bf8f | /Spring_Training/ACM-ICPC/Round7/D.cpp | d9fe7fa1e0d3f7da3581434a3c8b02ac77b8c664 | [] | no_license | JackieZhai/ICPC_Training | bf598188b7b78d5b529eb40d1e5cfa86c8fb9434 | 582400e33b68a753f8b4e92f50001141811f2127 | refs/heads/master | 2021-08-27T16:30:45.183200 | 2021-08-19T04:27:53 | 2021-08-19T04:27:53 | 128,522,278 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,255 | cpp | #include <bits/stdc++.h>
using namespace std;
const int MOD=1e9+7;
int dp[2007][2007];
int n, k;
int main()
{
scanf("%d%d", &n, &k);
for(int i=1; i<=n; i++)
dp[i][1]=1;
for(int i=1; i<=n; i++)
for(int j=1; j<=k; j++)
for(int k=1; i*k<=n; k++)
{
... | [
"jackieturing@gmail.com"
] | jackieturing@gmail.com |
7d96d6a6ad39e99e1558b7b8dfc88f5264c08fcb | 800cb4371ba4d5744b57e5e37465971728a806ec | /Llama/source/graphics/llwindow.cpp | 10be97ccdd6d8163a014fe651db8c5772dfe8951 | [] | no_license | jonathan-matai/llama | e204b66033163685b247cb8b96b78d938fd08b62 | e02da8373b712421d18c17817e77a9e767c9c6a3 | refs/heads/master | 2021-04-11T12:37:13.151414 | 2020-05-17T12:59:45 | 2020-05-17T12:59:45 | 249,021,011 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,891 | cpp | #include "llpch.h"
#include "graphics/llwindow.h"
#define GLFW_INCLUDE_VULKAN
#include <GLFW/glfw3.h>
namespace llama
{
class Window_I : public Window_T
{
public:
Window_I(EventNode node, const WindowDesc& description);
~Window_I() override;
private:
static void debugCallba... | [
"jonathan.zehrer@gmail.com"
] | jonathan.zehrer@gmail.com |
b5d123f75174cc9db4f2b85e9fcdd5704edb2046 | af290978c4d9d7008e71243e413b9b83507ebc37 | /TOE2.cpp | adabab26a4daa93203c1b58fcc74dce63296a6a9 | [] | no_license | dkrdharmesh/SPOJ-Solutions | 17f51d9e9b86459fe10e18fa5794aa4194d31ef1 | 9b9342e2cdbb8bc95de9c6debeaaa64d010c275d | refs/heads/master | 2021-01-23T07:26:50.703872 | 2014-10-17T17:11:42 | 2014-10-17T17:11:42 | 25,368,375 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,608 | cpp | #include<stdio.h>
using namespace std;
int main()
{
char a[3][4];
char zz[20];
char c;
int n,i,j,cx,co,wx,wo,t,k,d;
scanf("%d",&n);
//c=getchar();
gets(zz);
while(zz[0]!='e')
{
//scanf("%c%c%c%c%c%c%c%c%c",&a[0][0],&a[0][1],&a[0][2],&a[1][0],&a[1][1],&a[1][2]... | [
"dkrdharmesh@gmail.com"
] | dkrdharmesh@gmail.com |
a28da620a4d150a451a9150f3facfcc654d54649 | 595ac6345e106a7c61087c8acab8f59d5cb842fd | /NodeMCU_Client/NodeMCU_MQTT_Client_RevOTA_STM32F103_as_slave/NodeMCU_MQTT_Client_RevOTA_STM32F103_as_slave.ino | 9d3097e847d78cfd2972262c2106e9c9a4bb165a | [] | no_license | pwnrazr/Arduino-Projects | 327c6aa4d5b73eced3abb0fdfaf571aaedf5fed4 | d10d4a4cc8ad76bab847357f4ce047ce38e31335 | refs/heads/master | 2020-06-01T04:51:04.921316 | 2020-01-24T02:12:48 | 2020-01-24T02:12:48 | 190,643,977 | 0 | 0 | null | 2020-01-12T19:17:10 | 2019-06-06T20:15:53 | C++ | UTF-8 | C++ | false | false | 2,440 | ino | #include <ESP8266WiFi.h>
#include <PubSubClient.h>
//#include <Wire.h> //STM32F103
#include "wifiConf.h"
#include "comms.h"
#include "mqttfunc.h"
#include "OTAfunc.h"
#include <ESP8266mDNS.h>
#include <WiFiUdp.h>
#include <ArduinoOTA.h>
unsigned long previousMillis = 0, currentMillis;
unsigned int interval = 15000;
... | [
"amirz98@hotmail.com"
] | amirz98@hotmail.com |
3515a6ac4744c7061e1f95719fd66fbd424d1699 | 9fb4cfad9189c56c6c1f61be97d61656e6178761 | /src/example/secyandemo.cpp | 41b6d67c822e1899f9c2eda95dc9f6db5c12eebf | [] | no_license | hkustDB/SECYAN | 2eb7294f009230912558ec7bd102abaf7e76d47e | 59391004856d4e265b3276cc90acee29e8c745b5 | refs/heads/main | 2023-09-05T21:29:33.486844 | 2021-11-23T05:18:39 | 2021-11-23T05:18:39 | 333,286,321 | 16 | 11 | null | null | null | null | UTF-8 | C++ | false | false | 1,518 | cpp | #include <cstdint>
#include <string>
#include <functional>
#include "TPCH.h"
using namespace std;
function<run_query> query_funcs[QTOTAL] = {run_Q3, run_Q10, run_Q18, run_Q8, run_Q9};
int main(int argc, char **)
{
int irole, iqn, ids;
string address = "127.0.0.1";
uint16_t port = 7766;
e_... | [
"597013296@qq.com"
] | 597013296@qq.com |
803067dbda7f09690f8192ed3b3d58db783801cf | 21d95c8e302242eb03e334d97ff51b9fee8fff90 | /server/src/_jMetalCpp/problems/singleObjective/cec2005Competition/F10ShiftedRotatedRastrigin.cpp | f474ca13e9c668822214150afd087657109381c8 | [] | no_license | nszknao/master | 8e909336476efba112e27bd5c4478373a191db12 | ef7fd255209e7ef3d63a483ae03a55b54727a194 | refs/heads/master | 2023-04-30T16:23:17.485757 | 2023-04-26T07:26:17 | 2023-04-26T07:26:17 | 45,908,367 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,126 | cpp | // F10ShiftedRotatedRastrigin.cpp
//
// Authors:
// Esteban López-Camacho <esteban@lcc.uma.es>
// Antonio J. Nebro <antonio@lcc.uma.es>
//
// Copyright (c) 2014 Antonio J. Nebro
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Pu... | [
"iloilo_has@yahoo.co.jp"
] | iloilo_has@yahoo.co.jp |
8a31605bf43401fb7e280578772b616d5e8d7382 | 41b4e949f031f189ac27f16cb45fc29801c1cebb | /frameworks/base/media/libstagefright/LPAPlayer.cpp | d912981c2c4164a75c48dd304de45ca004d445b6 | [
"Apache-2.0",
"LicenseRef-scancode-unicode"
] | permissive | MeteorOS-project/android_gingerbread_inspiration | b9d498c79ace82c6dd1a0ec9f26aedca8e9804d5 | 80269edd6df74514e37d87cfabd3570123cd80f1 | refs/heads/master | 2023-05-23T04:42:55.879988 | 2015-02-22T06:14:57 | 2015-02-22T06:14:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 59,961 | cpp | /*
* Copyright (C) 2009 The Android Open Source Project
* Copyright (c) 2009-2011, Code Aurora Forum. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... | [
"xdtianyu@gmail.com"
] | xdtianyu@gmail.com |
23d54e2c90f8d7dec9857bb137ddd143de3012ea | f8fdae4ee2edde98f5989479f1bb2bd25c44390c | /QTimer/widget.h | be6ac5fcc048d16ce3c73e1b11e8202054c1867a | [] | no_license | lds10452/qt-for-cplusplus | db6d780030e6b208ee9365ea835bfbd7945d0290 | 8a83230790b397b2e72095a117134aada158fe97 | refs/heads/master | 2020-09-02T14:20:18.031958 | 2020-06-01T11:41:42 | 2020-06-01T11:41:42 | 219,239,826 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 382 | h | #ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
#include<QTimer>
namespace Ui {
class Widget;
}
class Widget : public QWidget
{
Q_OBJECT
public:
explicit Widget(QWidget *parent = 0);
~Widget();
private slots:
void on_pushButtonstartstop_clicked();
void on_pushButton_2_clicked();
private:
... | [
"57306299+lds10452@users.noreply.github.com"
] | 57306299+lds10452@users.noreply.github.com |
fe541d93124c60a4a3dfb883e5f69b72946ae540 | 632f140a30146b7ca2a1954bacd410b6910d2db9 | /builder/samsungBuilder.cpp | 2e6aac68708dfbc0eeb23607acc35e8e57a58cfa | [] | no_license | Delcior/Design-patterns | 3b825a364b99b8d79bc67d5835bd3cec58a6a422 | c506b841c5051384476e940c4829547cdf77dae1 | refs/heads/master | 2023-03-06T22:29:25.635609 | 2021-02-21T14:16:30 | 2021-02-21T14:16:30 | 266,061,228 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 585 | cpp | //
//
// Generated by StarUML(tm) C++ Add-In
//
// @ Project : Untitled
// @ File Name : samsungBuilder.cpp
// @ Date : 15.05.2020
// @ Author :
//
//
#include "samsungBuilder.h"
void samsungBuilder::initializePhone(){
samsungPhone=new Phone;
}
void samsungBuilder::placeProcessor() {
samsungPhone->setPr... | [
"51274280+Delcior@users.noreply.github.com"
] | 51274280+Delcior@users.noreply.github.com |
a6a1d6e5d73bac981d8d639943b26a7d2778dac2 | 159eca4cff17d9c11e8764e834f421901374ea20 | /main/src/network/Raknet/RakNetworkFactory.h | fdadf9f0f39bcd608c339b7b738c3509e294e8bb | [] | no_license | CyberSys/MkIV | 252cb744f9d653a4281f30a73700f91d865a36e2 | fdbc553ba3f24fd0cea42d558f234fe0b8f8ac75 | refs/heads/master | 2021-02-08T05:19:16.362868 | 2020-03-01T08:54:00 | 2020-03-01T08:54:00 | 244,113,305 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,887 | h | /// \file
/// \brief Factory class for RakNet objects
///
/// This file is part of RakNet Copyright 2003 Kevin Jenkins.
///
/// Usage of RakNet is subject to the appropriate license agreement.
/// Creative Commons Licensees are subject to the
/// license found at
/// http://creativecommons.org/licenses/by-nc/2.5/
/// S... | [
"cybersys.jmr@gmail.com"
] | cybersys.jmr@gmail.com |
d8c418308957f412e2e5b1dcb96f10fb3e9e2540 | 55cf4bf18ed297235d1acf680fb8d23bf0456647 | /genres/data_structures/dancing_links/hdu_5046_1.cpp | 868342dfbc1656afbed1a36f219f412522e4a977 | [] | no_license | sequix/algorithm | 82186891c56bb74182e2849ece00464bb0f85aa4 | 1b47637e517d9bb49ea63945dd282cd8e9d7b5bf | refs/heads/master | 2021-01-12T08:55:11.475288 | 2017-05-24T13:38:23 | 2017-05-24T13:38:23 | 76,718,512 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,116 | cpp | // HUD No.5046 Airport (DLX重复覆盖) (795MS 1684K)
// 选择K个点,使其他点到最近被选择点的最大距离最小。
// 二分距离,由距离构建DLX的行列,行表示选择某个城市
// 列表示该城市所能在该距离能能覆盖到的点
#include <bits/stdc++.h>
using namespace std;
typedef long long LL;
const int maxn = 65;
const int maxm = 65;
const int maxnode = maxn * maxm;
struct DLX {
int size, ans;
int H[maxn]... | [
"sequix@163.com"
] | sequix@163.com |
0748541f1d0fcb9c92da2499d336386e38c712e9 | 1dc7c6c53fbd5fad95dbe19c49d8db224757b504 | /lsn4/lsn4.cpp | 323f73bc12e71794dade98d28ceadb3006240565 | [] | no_license | ab503044120/NDK | 05b9453515d11f8884f9b798811e37d21269c218 | e4bd64999ba3b58e05e561f2e0403ff8d8a8090f | refs/heads/master | 2020-04-07T23:59:22.904126 | 2018-10-30T06:26:37 | 2018-10-30T06:26:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 247 | cpp | //
// Created by xiucheng yin on 2018/10/22.
//
#include "lsn4.h"
template <class T>
T max(T a, T b){
return a > b ? a:b;
}
template <class T, class E>
class Q{
public:
T test(T t, E e){
return t + e;
}
};
int main(){
} | [
"yxc@meitu.com"
] | yxc@meitu.com |
3893fb6cd0ff18ad1430573ea75393164e1ee06b | c149e3970bd71ffe3c5122430065707623ced34d | /src/objects/Sprite.hpp | 9f2e476e278479ef85218fff9e3ea6689c444349 | [] | no_license | Vazzi/Pseudo3DShooter | 5b0cd2d6764a6569f6efd4c673ada6d7532a75a2 | aaf33347ebd34802dac3bda8b222d2174403fd79 | refs/heads/master | 2021-01-15T10:47:16.287142 | 2015-08-28T12:03:17 | 2015-08-28T12:03:17 | 39,090,659 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 851 | hpp | #ifndef __SPRITE__
#define __SPRITE__
#include "GameObject.hpp"
#include "../utility/Vector2D.hpp"
#include <string>
class Sprite : public GameObject {
public:
Sprite();
virtual ~Sprite();
virtual void render();
virtual void update(unsigned int deltaTime);
virtual void clea... | [
"vlasakjakub@gmail.com"
] | vlasakjakub@gmail.com |
b5ce5e7c31db91437db14e77203c3ab98329c46c | d8b9ff2697e7776094b587ae66d85d6a75610bfa | /RegionDetector/RegionAllocator.hpp | 7ed9035b143c48b8ca402dfddfc7c4d3e8ed5dff | [
"MIT"
] | permissive | schenker/RegionDetector | 86f1da53e148adb25998a97e8ac8f8ed805eea8c | 4a3afd6fdb25d56db46b59a84a41a58c8dae08af | refs/heads/master | 2022-06-27T00:36:09.688641 | 2022-06-16T11:08:18 | 2022-06-16T11:08:18 | 80,006,876 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 950 | hpp | #ifndef _REGIONDETECTOR_REGIONALLOCATOR_HPP_
#define _REGIONDETECTOR_REGIONALLOCATOR_HPP_
#include "Region.hpp"
#include <vector>
#include <cassert>
namespace RegionDetector {
template <class REGION_TYPE> class RegionAllocator {
private:
std::vector<std::vector<REGION_TYPE>> pool;
size_t chunkPos;
size_t re... | [
"mail.thomas.schenker@googlemail.com"
] | mail.thomas.schenker@googlemail.com |
2ad024c997a31bff68ce5e39d2c96de385c70cc0 | d26ea4c87fab1f8737a0ea27215ba49581b73791 | /src/GafferScene/FilterSwitch.cpp | 99bf5d14c03d0f5ad8dc8deb54e9b91d3ea51a0d | [
"BSD-3-Clause"
] | permissive | lento/gaffer | 1335920e63dbf44cfdc6791d1b33e3b31ed1edb6 | 478eeb9152a269e4ace87d236a77b794ae6f0a6c | refs/heads/master | 2020-12-30T18:37:43.377108 | 2015-08-05T16:25:58 | 2015-08-05T16:25:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,127 | cpp | //////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2015, Image Engine Design 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:
//
// * R... | [
"thehaddonyoof@gmail.com"
] | thehaddonyoof@gmail.com |
8ffbac166a230a99e1757605ff489b45fe283db5 | 3965fcb70ef69d7fc8138807af953c3c3422b74a | /sw/scene/kdtree/kdtest.cc | dcd4ecf56297eec2336c8cc09c6d02de3c199cab | [] | no_license | mrbrian/PhotonMap | 05e129c8b8289d0efa091c304e36901677155b05 | 0bc1a0ba0d0e6733824138a6e1823162052b931b | refs/heads/master | 2020-03-18T22:49:23.645471 | 2019-10-26T18:53:07 | 2019-10-26T18:53:07 | 135,367,198 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,489 | cc | #include <kdtree/kdtree.h>
//#include "../kdtree2/kdtree.h"
#include <cstdio>
#include <vector>
#include <iostream>
#include <ctime>
#include "timingstats.h"
using namespace std;
typedef float real;
class Vector{
private:
real m_data[3];
public:
Vector(){
m_data[0] = 0, m_data[1] = 0, m... | [
"brianyee@hotmail.com"
] | brianyee@hotmail.com |
10a7a690ba2151382f514bb67d2857c1cb6dd69a | 1190e772186dbdc16efd19f5f6e129486b046622 | /src/common.cpp | a96b00e6d06b977e923e9512431b2ff53aefca0a | [] | no_license | pablomvb/rateljs | ae58023bc3c40f48a1fd6e00c500ec040ee7c1c4 | 0fd8f482b1f18c6833b75a38549b6dc746a4c969 | refs/heads/master | 2021-03-11T01:31:24.286389 | 2020-05-12T12:07:03 | 2020-05-12T12:07:03 | 246,482,478 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,093 | cpp | #include "common.h"
#include "ratel.h"
#include <QJSEngine>
#include <QQmlEngine>
#include <QDebug>
Globals::Globals()
{
}
void Globals::registerObject(QObject *ref)
{
if( Ratel* obj = dynamic_cast<Ratel*>(ref) ) m_app = obj;
else if( QJSEngine* obj = dynamic_cast<QJSEngine*>(ref) ) m_jsengine = obj;
}
... | [
"pablomvb@lenovo"
] | pablomvb@lenovo |
ba11ed928a5c6b63f27954cc834407f28e46494c | ba4db75b9d1f08c6334bf7b621783759cd3209c7 | /src_main/game/server/tf2/tf_walker_ministrider.cpp | 38a2c8f92780a8eac116e37bbf7a672c8bf37155 | [] | no_license | equalent/source-2007 | a27326c6eb1e63899e3b77da57f23b79637060c0 | d07be8d02519ff5c902e1eb6430e028e1b302c8b | refs/heads/master | 2020-03-28T22:46:44.606988 | 2017-03-27T18:05:57 | 2017-03-27T18:05:57 | 149,257,460 | 2 | 0 | null | 2018-09-18T08:52:10 | 2018-09-18T08:52:09 | null | WINDOWS-1252 | C++ | false | false | 12,126 | cpp | //========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#include "cbase.h"
#include "tf_walker_ministrider.h"
#include "in_buttons.h"
#include "studio.h"
#include "shake.h"
... | [
"sean@csnxs.uk"
] | sean@csnxs.uk |
c89d48d436463f8705c0054c7566bdd59625a802 | 4b1251dc930794de37a7b08966b1590e9cf8e2e8 | /Engine/RectI.cpp | cec546165c08d8f8db443ea06453a80ce7cdc516 | [] | no_license | yg2356/EndMemeSweeper | f74d0f2693d5f4bbc19dd0a32ea06d008ab64a58 | 4c141c2b4aaebc7730934a32157f2a0286b62965 | refs/heads/master | 2023-07-15T09:38:23.366895 | 2021-08-22T06:08:47 | 2021-08-22T06:08:47 | 398,727,631 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,248 | cpp | #include "RectI.h"
RectI::RectI( int left_in,int right_in,int top_in,int bottom_in )
:
left( left_in ),
right( right_in ),
top( top_in ),
bottom( bottom_in )
{
}
RectI::RectI( const Vei2& topLeft,const Vei2 & bottomRight )
:
RectI( topLeft.x,bottomRight.x,topLeft.y,bottomRight.y )
{
}
RectI::RectI( const Vei2... | [
"kmnfcg@naver.com"
] | kmnfcg@naver.com |
a56ce7c62f33427ee2f8e1cec1fe161951dcb7e4 | 4413d0129ad3b9423e4bb1a6ba04385dc7ebd94e | /ZorkTerror/Exit.cpp | eed87dc940d6dd69c573098f40d5115826a660a5 | [
"MIT"
] | permissive | AlbertVVila/ZorkTerror | 6215299885352291defea7f83d9460b8021a300b | 922d33e1c9068692370dd144761f4d90436a0b91 | refs/heads/master | 2021-04-06T06:20:47.793244 | 2018-03-16T12:03:51 | 2018-03-16T12:03:51 | 124,688,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,108 | cpp | #include "stdafx.h"
#include "Exit.h"
#include "Room.h"
Exit::Exit(const string & name, const string &dSource, const string &dDest,Room *source, Room * destination, const direction & dirSource, const direction &dirDest,
const bool &isHidden, const string &hint, const bool &isLocked, State exitState, const bool &isOne... | [
"albert.val.vila@est.fib.upc.edu"
] | albert.val.vila@est.fib.upc.edu |
2aa473bfb8f1e1fec0aefdff298f1fae5dda5d8e | 944f82cd2107b3123788fbdcdececc592c98d0cd | /boost/network/protocol/http/support/is_client.hpp | 0958401e8d4b3e2add964cd2d42fbfeb083ceb02 | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | joseph-gamedev/cpp-netlib | c6ed92ec75ba78f2312fbfefbca6a429d8df99cd | a4dabd50dcd42f46ac152c733a3d39f32040185d | refs/heads/master | 2020-03-25T13:38:18.124666 | 2012-07-30T19:26:40 | 2012-07-30T19:27:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 754 | hpp | #ifndef BOOST_NETWORK_PROTOCOL_SUPPORT_IS_CLIENT_HPP_20101118
#define BOOST_NETWORK_PROTOCOL_SUPPORT_IS_CLIENT_HPP_20101118
// Copyright 2010 Dean Michael Berris.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)... | [
"mikhailberis@gmail.com"
] | mikhailberis@gmail.com |
e6e2843501af58497a9721d5ea33ece62a083e5f | 16acd62ba59b0a1a86b82048b89496c01a617479 | /Kernal/Fat12/fat12.cpp | 3c002b1020d268d0f8628634c802f238b363ba4d | [] | no_license | circle601/OperatingSystem | f349b1de5dadf1df4a0355ab10df2e3294af57d7 | eda4bc22e924762e6e286e56d1ab679381ab1cd0 | refs/heads/master | 2021-08-26T09:26:43.049708 | 2017-11-22T23:23:33 | 2017-11-22T23:23:33 | 111,614,874 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,995 | cpp | /******************************************************************************
fat12.cpp
-FAT12 Minidriver
arthor\ Mike
******************************************************************************/
#include <DebugDisplay.h>
#include <fat12.h>
#include <string.h>
#include <flpydsk.h>
#include <bpb.h>
#inclu... | [
"circle601@gmail.com"
] | circle601@gmail.com |
de1b777e2749a05ef252f35bb10e08dba845a740 | 3253b7c280a74450b54362b61e67bf566875bedb | /ch5/UnsortedList/src/unsorted_list.h | 0d72a564a5304393b58fd94d20c69d7bf7677cc8 | [] | no_license | kdj6724/DataStructures1 | f5349759be6161dc21ad4ae8c789d8d00a03e0c3 | 8e72708ae81843928a3160baa896f57b612556ff | refs/heads/master | 2020-03-23T05:02:32.383638 | 2018-08-06T06:36:38 | 2018-08-06T06:36:38 | 141,121,071 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,014 | h | // unsorted_list.h
// 2018-07-24
// kdj6724@gmail.com
#ifndef CH5_UNSORTED_LIST_H_
#define CH5_UNSORTED_LIST_H_
template <class ItemType>
struct NodeType {
ItemType info;
NodeType* next;
};
template <class ItemType>
class UnsortedType {
public:
UnsortedType();
virtual ~UnsortedType();
bool IsFull() const;
... | [
"kdj6724@gmail.com"
] | kdj6724@gmail.com |
1c91bbd5f3d255165fd5a63fcf92515b92a9658a | 46f53e9a564192eed2f40dc927af6448f8608d13 | /sync/api/syncable_service.h | 0d5aae4c5b534a1b9244e755b681c712274fd94b | [
"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,325 | h | // Copyright 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 SYNC_API_SYNCABLE_SERVICE_H_
#define SYNC_API_SYNCABLE_SERVICE_H_
#include <vector>
#include "base/callback.h"
#include "base/compiler_specific.... | [
"scottmg@chromium.org"
] | scottmg@chromium.org |
06d91a6c4fa6132094038e2bbc77d84fba0120df | bb9b83b2526d3ff8a932a1992885a3fac7ee064d | /src/modules/osgDB/generated_code/ofstream.pypp.hpp | febd8bd27ddb84e1becc5211f92131f2892cb390 | [] | no_license | JaneliaSciComp/osgpyplusplus | 4ceb65237772fe6686ddc0805b8c77d7b4b61b40 | a5ae3f69c7e9101a32d8cc95fe680dab292f75ac | refs/heads/master | 2021-01-10T19:12:31.756663 | 2015-09-09T19:10:16 | 2015-09-09T19:10:16 | 23,578,052 | 20 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 199 | hpp | // This file has been generated by Py++.
#ifndef ofstream_hpp__pyplusplus_wrapper
#define ofstream_hpp__pyplusplus_wrapper
void register_ofstream_class();
#endif//ofstream_hpp__pyplusplus_wrapper
| [
"brunsc@janelia.hhmi.org"
] | brunsc@janelia.hhmi.org |
62d6d76d0e82e9fe72e27f450a295982953c2f4c | 731d0d3e1d1cc11f31ca8f8c0aa7951814052c15 | /InetSpeed/Generated Files/winrt/impl/Windows.ApplicationModel.ConversationalAgent.0.h | f82ef7a96bb4b0a8504b4571d32d31c303a734c0 | [] | no_license | serzh82saratov/InetSpeedCppWinRT | 07623c08b5c8135c7d55c17fed1164c8d9e56c8f | e5051f8c44469bbed0488c1d38731afe874f8c1f | refs/heads/master | 2022-04-20T05:48:22.203411 | 2020-04-02T19:36:13 | 2020-04-02T19:36:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 51,382 | h | // WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.200316.3
#ifndef WINRT_Windows_ApplicationModel_ConversationalAgent_0_H
#define WINRT_Windows_ApplicationModel_ConversationalAgent_0_H
WINRT_EXPORT namespace winrt::Windows::Foundation
{
struct EventRegistrationToken;
struct IAsyncActi... | [
"ctorre@microsoft.com"
] | ctorre@microsoft.com |
97d77842b43da09638f65a6ca9a25bae8b202329 | 502f2ff4dddc707b2ced51e3cd4058b5ad8f1502 | /codeforces/397/C.cpp | 495bb5c15e63966ba8e2770617c1bf2092451f93 | [] | no_license | miguelAlessandro/CompetitiveProgramming | 609a68a646f0976ed1c00fbcf861777844c7040d | 64ac15eafb9c62dc713ce3d4b679ba6a032e1d5f | refs/heads/master | 2021-06-01T11:02:22.439109 | 2020-10-08T06:26:27 | 2020-10-08T06:26:27 | 51,873,676 | 1 | 1 | null | 2020-10-08T06:26:28 | 2016-02-16T22:01:20 | C++ | UTF-8 | C++ | false | false | 328 | cpp | /**********************
round: 397
handle: _threat_
theme: ad-hoc, greedy
complexity: O(1)
**********************/
#include <bits/stdc++.h>
using namespace std;
int a, b, k;
int main(){
scanf("%d %d %d", &k, &a, &b);
if(a > b) swap(a, b);
if(b < k or b%k and a<k) puts("-1");
else printf("%d\n", a/k+b/k);
retu... | [
"mminih@uni.pe"
] | mminih@uni.pe |
db1e519d4073947a8525f3817e7adec82ddc8965 | 481c44177611ee9cf9cb5660d3506ac299b764a1 | /MainHeader.h | 62e29415692bad59586f5bc15ac38e433bfdee96 | [] | no_license | pwwpcheng/BUPT_DNS_Project | c858b8bb140803a1ca6976d803b7bf07b6842e2d | c9033f332018b39c83f1461f68d78adf1cce114d | refs/heads/master | 2021-03-12T20:01:30.353600 | 2015-05-27T06:45:45 | 2015-05-27T06:45:45 | 34,061,595 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,773 | h | #ifndef MAINHEADER_H
#define MAINHEADER_H
#include <winsock2.h>
#include <ws2tcpip.h>
#include <windows.h>
#include <stdio.h>
#include <iostream>
#include <fstream>
#include <thread>
#include <mutex>
#include <vector>
#include <regex>
#pragma comment (lib, "Ws2_32.lib")
#define DNS_PORT 53 //DNS serves on port 53
... | [
"pwwp@outlook.com"
] | pwwp@outlook.com |
47b9fc97b7963da9fdd3ee9ebb8d8f45fc9e5092 | 907fed355293a1356a8a0557803e2f817aa8f59c | /demos/shockTube/constant/polyMesh/faces | 719b733c02b5eca7a2806b6e993442704c39c84b | [] | no_license | aakash30jan/OpenFOAM-toolbox | e4e29ce573b570667279c13551b5f1efed3fff2f | 0c6e32b622f8b58f0d2cdebafb34e2982fe7c186 | refs/heads/master | 2021-04-09T15:27:03.435814 | 2017-08-24T19:48:49 | 2017-08-24T19:48:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 110,355 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
... | [
"aashay225@gmail.com"
] | aashay225@gmail.com | |
9742d0c99c1dda283a042e1d91427554f640d93f | 0eccd46469f5ba551d05d63e409a063a54b9954d | /Lab2/Program/ChartCtrl/ChartXYSerie.cpp | 47dafdc3726e3d5c2bcb3039b62774fb8c349cdc | [] | no_license | SiSoi/Mobile-device-management | 70c78ee52f51c11b9acbb9870af29e3ed382b061 | aeaf645b18d09477b6dcce7396a3698879063248 | refs/heads/master | 2021-05-24T15:53:01.862111 | 2020-08-31T23:51:23 | 2020-08-31T23:51:23 | 253,642,070 | 0 | 0 | null | null | null | null | IBM852 | C++ | false | false | 4,902 | cpp | /*
*
* ChartXYSerie.cpp
*
* Written by CÚdric Moonen (cedric_moonen@hotmail.com)
*
*
*
* This code may be used for any non-commercial and commercial purposes in a compiled form.
* The code may be redistributed as long as it remains unmodified and providing that the
* author name and this disclaimer remain in... | [
"kap_pi2000@yahoo.com"
] | kap_pi2000@yahoo.com |
b41ce573d3b7d703f4dbc34a706564e41b711823 | 903dfaa0d5725f47decce70cc5a0caa33189c5d0 | /Chapter4/4.23.cpp | 076a04ee9239cb8ee61919bde2d53a71fe1d0f52 | [] | no_license | Gapex/CppPrimer | 45fb499fca544fc9f82f3862fd2f8f03db5a2179 | f86bdf44ee0b6f471999cabf1cd3d14e81346c16 | refs/heads/master | 2022-04-25T14:39:16.645854 | 2020-04-30T03:26:25 | 2020-04-30T03:26:25 | 256,712,628 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 324 | cpp | /*
条件运算符优先级很低,因此等价于
((s + s[s.size() - 1]) == 's') ? "" : "s";
s + s[s.size() - 1]的结果是`string`
string与's'无法比较相等性!
*/
#include <string>
using std::string;
int main(){
string s = "world";
// string pl = s + s[s.size() - 1] == 's' ? "" : "s";
return 0;
} | [
"1377762942@qq.com"
] | 1377762942@qq.com |
b74a80389d54962a1507451fc8cfba71f38053ac | 2c78de0b151238b1c0c26e6a4d1a36c7fa09268c | /MDProcess/MDAAddinLib/LibHome.h | b941e159f3ad4d8f205f41823f2dde9e00957a73 | [] | no_license | bravesoftdz/realwork | 05a3b308cef59bed8a9efda4212849c391b4b267 | 19b446ce8ad2adf82ab8ce7988bc003221accad2 | refs/heads/master | 2021-06-07T23:57:22.429896 | 2016-11-01T18:30:21 | 2016-11-01T18:30:21 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,408 | h | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Модуль: "w:/MDProcess/MDAAddinLib/LibHome.h"
// генератор заголовочных файлов C++ (.h)
// Generated from UML model, root element: <<Library::Category>> MDProcess::MDAAddinLib
//
// бибилиотека ... | [
"instigator21@gmail.com"
] | instigator21@gmail.com |
cb6f12e3900ed2ead008b5e938f014603a145a4a | 01f45b127114d9578ff0b33be525899a02c587f2 | /InheritanceAndTest/InheritanceAndTest/ProduceItem.hpp | 0fe83363df92b0808e23d076e8e1c10e56b7e209 | [] | no_license | decoy4hire/CIS200-Fall2016 | 5b28dd3eb74bb90aeff5d09d2e5295c79f6c49bb | c6b0c153da25e37944b35b5f0202788b16fcecac | refs/heads/master | 2020-12-24T11:38:04.915902 | 2016-11-04T19:59:49 | 2016-11-04T19:59:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 324 | hpp | #include "GenericItem.hpp"
#include <iostream>
#pragma once
class ProduceItem : public GenericItem { // Derived from GenericItem
public:
ProduceItem(string name, int quantity, string expirationDate);
void SetExpiration(string newDate);
string GetExpiration();
void PrintItem();
private:
string expirationDate... | [
"eric.charnesky@careevolution.com"
] | eric.charnesky@careevolution.com |
99a60b2ef9ca157b711d024c8222ae6d7dff2986 | 7cab374e344fc18065b7bc8ca3efff3b918600d4 | /include/Ultralight/View.h | 44b5328f592321837a9c2a7afc98ef4ce6f2f14b | [] | no_license | rohdesamuel/ultralight | 612b45c14731bdf25c5102ce539abcc7c66d419a | dcdadbc712fa321c2c1c47264a85bf108dc8621c | refs/heads/master | 2020-04-09T17:42:32.769639 | 2018-12-01T03:06:10 | 2018-12-01T03:06:10 | 160,488,888 | 1 | 0 | null | 2018-12-05T08:54:53 | 2018-12-05T08:54:53 | null | UTF-8 | C++ | false | false | 4,012 | h | // Copyright 2018 Ultralight, Inc. All rights reserved.
#pragma once
#include <JavaScriptCore/JavaScript.h>
#include <Ultralight/Defines.h>
#include <Ultralight/RefPtr.h>
#include <Ultralight/KeyEvent.h>
#include <Ultralight/MouseEvent.h>
#include <Ultralight/ScrollEvent.h>
#include <Ultralight/RenderTarget.h>
... | [
"hi@adamjsimmons.com"
] | hi@adamjsimmons.com |
79f412fb6db3b580d4d6a4c4c20fa3cac8a842fd | bfa701005855b5efe5947f577f5320153d348f50 | /tool/visualization/visit/GAMER_Data2Visit.2.4.0/GAMER_Functions/Aux_Message.cpp | 6c0fa772426c9b7005582bbac24937d79f24e25a | [
"BSD-3-Clause"
] | permissive | hyschive/gamer-fork | b9849fa6c497d762ed3ab85dd223245d49682292 | c0eb589c8013dc120ea47ef9b3890260031cc941 | refs/heads/main | 2023-09-05T20:20:12.743585 | 2023-09-05T10:05:17 | 2023-09-05T10:05:17 | 114,169,587 | 3 | 20 | NOASSERTION | 2023-09-13T05:59:29 | 2017-12-13T21:15:01 | C++ | UTF-8 | C++ | false | false | 1,058 | cpp | #include "Data2Visit.h"
#include <cstdarg>
//-------------------------------------------------------------------------------------------------------
// Function : Aux_Message
// Description : Output the message and flush it
//
// Note : Use the variable argument lists provided in "cstdarg"
//
// Parame... | [
"hyschive@gmail.com"
] | hyschive@gmail.com |
7d7b873805977fe44778baf726ee00a55b4dffc8 | fa564e9c60fc940fcf85a939946172646977f1e9 | /raycastfurstum.cpp | 0626deaf0bb26b4a5c53ed42779be5f84850b153 | [] | no_license | marwan-abdellah/VolRen | ecfe1ea88b757c5e94df71d7afb5d41c5c901393 | d873540badb8f69719ebeb1fa23e90f0008e65ee | refs/heads/master | 2021-01-15T12:25:16.483810 | 2015-11-30T23:12:48 | 2015-11-30T23:12:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,975 | cpp | #include "raycastfurstum.h"
#include <QOpenGLFunctions>
namespace yy {
namespace volren {
RaycastFurstum::RaycastFurstum()
: texWidth(defaultFBOSize), texHeight(defaultFBOSize)
, volWidth(0), volHeight(0), volDepth(0)
{
}
RaycastFurstum::~RaycastFurstum()
{
}
void RaycastFurstum::initializeG... | [
"chrisyeshi@gmail.com"
] | chrisyeshi@gmail.com |
649787c56fe0a27f9030c06467bf38e447d72bb8 | c3744c8c230573a4bcdb76bf49493a1ea61c72d1 | /form_runtime/test/unittest/fms_form_timer_mgr_test/fms_form_timer_mgr_test.cpp | 60697794b76d72c8ff7dbe505a4972958674d47b | [
"Apache-2.0"
] | permissive | openharmony/aafwk_standard | 31d1f9d2c19067b804f1236d73df744586bbe7f7 | 834a566b1372268c7bbb0c40362322f812ca6efc | refs/heads/master | 2022-07-22T02:08:02.526908 | 2022-05-27T02:39:48 | 2022-05-27T02:39:48 | 400,083,557 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 18,646 | cpp | /*
* Copyright (c) 2021-2022 Huawei Device Co., Ltd.
* 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... | [
"hanhaibin@huawei.com"
] | hanhaibin@huawei.com |
52467e4edc9ff743e39a23afd7c91cd724f3a923 | 956b44da83e61508cd44f5622fec47f7e82f7b32 | /IdAllocator.hpp | f9ff648a9f78a6852177dc437e8fa7d88327177f | [] | no_license | kezhuw/wild | 2594ae0ffcf3f66fe57a439d2aa60746d3ca32d7 | e4218de11c9010a406cf8d25541198e97ec09348 | refs/heads/master | 2021-01-21T11:14:59.028932 | 2018-04-13T03:07:21 | 2018-04-13T04:59:57 | 16,068,077 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,072 | hpp | #pragma once
#include "likely.hpp"
#include <unordered_set>
namespace wild {
template<typename Type>
class IdAllocator {
public:
enum {
Zero = Type(),
};
IdAllocator()
: _seq(Zero) {
}
~IdAllocator() = default;
Type NewId() {
for (;;) {
auto val = ++_s... | [
"kezhuw@gmail.com"
] | kezhuw@gmail.com |
03147d9f5606164ed196566011969f48c333d764 | 9d7aea884466c4a1ef14c8865850a791905214a0 | /Project/Scene.h | 4abb99edffc47277d20a4b131c54b93746d78ef3 | [] | no_license | fullop2/Direct3DStudy | 8995a259bf3d0712828adbd7a07db9cbe3817423 | 0db9004f9be534017d3eddf6920896ac4e02750a | refs/heads/master | 2021-01-11T08:48:45.652995 | 2019-05-28T05:01:41 | 2019-05-28T05:01:41 | 76,770,718 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 653 | h | #pragma once
#include "stdafx.h"
#include "ObjectManager.h"
class Camera;
class Renderer;
class ParticleSystem;
class CText;
class CTerrain;
class Light;
class Scene
{
public:
Scene(Renderer* renderer);
virtual ~Scene();
virtual bool Init() = 0;
void Draw();
//void DrawStencil();
void Destroy();
void Update... | [
"parkth32@gmail.com"
] | parkth32@gmail.com |
a2778c1f06a380398a9c3cc5a5d1be6c91505e42 | 1af60c49bffd6ad795bfbb157f1e0ee90c029e63 | /include/mitsuba/render/normalmap.h | 591aa1309d1a5d15461776d195455f910d029386 | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla"
] | permissive | ommaury/specular-manifold-sampling | 5f22d50be41e1b12117ea23e8cc0d35ba9cfbeaa | 7e65ac273265df715c255abd8b55b06fd0833003 | refs/heads/master | 2022-12-02T15:04:44.181321 | 2020-08-10T16:54:04 | 2020-08-10T16:54:04 | 286,530,110 | 0 | 0 | NOASSERTION | 2020-08-10T16:49:14 | 2020-08-10T16:49:13 | null | UTF-8 | C++ | false | false | 11,094 | h | #pragma once
#include <mitsuba/core/bitmap.h>
NAMESPACE_BEGIN(mitsuba)
/**
* Datastructure for (mipmapped) normal or LEAN map data
*
* We assume square textures with power-of-two resolution.
* Normal data can either be accessed based on interpolated normals or slopes.
*/
template <typename Float, typename Spect... | [
"tizian.zeltner@epfl.ch"
] | tizian.zeltner@epfl.ch |
b6e67422203bf23aac56989c927fdfa659724c06 | 37ab765231df28e619cd460831fb796383ab0fc4 | /server/headers/spatial/bits/spatial_mapping.hpp | e7837e6b6409cce81f95cf716640307a3e6605c8 | [] | no_license | gitter-badger/rmns | c9689a93e643ffb8012ed58a7d984862df80f921 | f05dc261db319b0c8c3b636bbc7a578c02809a53 | refs/heads/master | 2021-01-14T14:33:18.061345 | 2015-11-14T20:08:03 | 2015-11-14T20:08:03 | 46,190,306 | 0 | 0 | null | 2015-11-14T20:11:23 | 2015-11-14T20:11:22 | null | UTF-8 | C++ | false | false | 7,104 | hpp | // -*- C++ -*-
//
// Copyright Sylvain Bougerel 2009 - 2013.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file COPYING or copy at
// http://www.boost.org/LICENSE_1_0.txt)
/**
* \file spatial_mapping.hpp
*
* Contains the definition of \ref spatial::details::minimum_mapping an... | [
"insert-email"
] | insert-email |
25806f31ab47a2d5a0617d334f17316b8f98cf9f | 6b3fa487428d3e2c66376572fd3c6dd3501b282c | /exercise1/trunk/source/embsysx/src/rpy/Configure.cpp | 80c02f210d5ba2e40943b6bb7845b253f5f12d4c | [] | no_license | kimbjerge/iirtsf10grp5 | 8626a10b23ee5cdde9944280c3cd06833e326adb | 3cbdd2ded74369d2cd455f63691abc834edfb95c | refs/heads/master | 2021-01-25T06:36:48.487881 | 2010-06-03T09:26:19 | 2010-06-03T09:26:19 | 32,920,746 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,015 | cpp | /********************************************************************
Rhapsody : 7.5
Login : KBE
Component : DefaultComponent
Configuration : LinuxSource
Model Element : Configure
//! Generated Date : Sun, 21, Feb 2010
File Path : C:/IHA/TI-IRTS/exercise2/source/embsysx/src/rpy/Configure.cpp
***************... | [
"bjergekim@49e60964-1571-11df-9d2a-2365f6df44e6"
] | bjergekim@49e60964-1571-11df-9d2a-2365f6df44e6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.