blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
eb03174eb171262bd14b6eea7f7414c74a2f9923 | 99afd32a341fc466431a3710e3722f5632a749df | /MajorityElement2.cpp | ee2ee4f3031759e78626299dbc1d8ad138850b1b | [] | no_license | shuaijiang/LeetCode | 0f537a14c5f185505ed3e75074b221fce54b93c4 | ea614fa1eb6cad7bc23b4361f3f575129977cb62 | refs/heads/master | 2021-01-19T15:34:07.375565 | 2015-10-21T02:21:50 | 2015-10-21T02:21:50 | 32,854,479 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 823 | cpp | /*
*Majority Element II
*Author: shuaijiang
*Email: zhaoshuaijiang8@gmail.com
*/
#include<iostream>
#include<vector>
#include<stdlib.h>
using namespace std;
class Solution {
public:
vector<int> majorityElement(vector<int>& nums) {
int size = nums.size();
vector<int> result;
if(size <= 1)
... | [
"zhaoshuaijiang@sina.com"
] | zhaoshuaijiang@sina.com |
68997c2a43de293859a76b6b386ada96f74ff5e7 | a5b83e833a8bb998676b5053cbcdc59d39afb16b | /analyzer.cpp | 58d3b15d642681b23c80328e3930aadb49b00075 | [] | no_license | ArtKomarov/ExpressionAnalyzer | 56e08bb85f8bfa1f90c2ba8e5e019b66f1b9c280 | a4dc183a5ab2896dd4c235c78deab4ba05e1045b | refs/heads/master | 2020-11-26T01:53:55.232024 | 2020-01-09T12:53:16 | 2020-01-09T12:53:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,436 | cpp | #include <iostream>
#include <string>
#include <string.h>
#include <assert.h>
#include <math.h>
#include "analyzer.h"
#include "analyzerconsts.h"
//private
/*Node* Analyzer::OpUnion(Node* nod1, Node* nod2, char op) {
assert(nod1 != NULL);
assert(nod2... | [
"Komarov.A@phystech.edu"
] | Komarov.A@phystech.edu |
ecd3dd429ca7061f2d2eb54728fb5db277ebf6e6 | 4a17ffbbad80656dd7303dbba247d85cd937964e | /662-MaxWidthOfBiTree/bfsOpt.cpp | 37f747d1c68960d94d30640f9c3960ab0d1b49ad | [] | no_license | ZephyrLFY/Leetcode | 0dbff7816076a8a40f52a1a22fe236d5b4fede19 | 2fa8b3e25d9895ab1ccd795568903fc48d352e33 | refs/heads/master | 2021-03-08T05:45:39.657804 | 2020-12-15T17:50:30 | 2020-12-15T17:50:30 | 246,322,611 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,101 | cpp | #include "../cppLib.h"
#include <list>
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
class Solution {
public:
int widthOfBinaryTree(TreeNode* root) {
if (!root) return 0;
double res = 1;
queue<TreeNode*> ... | [
"conpheedence@gmail.com"
] | conpheedence@gmail.com |
f1f6bf48cf0a24a59aa3169510feba4efb20af97 | a3d660495145e2dbeefabf1f76b5d2c690992c50 | /Native/Live2DCubismFrameworkJNI/math/moe_leekcake_live2dforjvm_framework_jni_math_CubismMatrix44JNI.cpp | 5136162b51392e5121e1a6bea220a47a16622d21 | [
"MIT"
] | permissive | leekcake/Live2D-for-JVM | ea24010ccb37941b5a014cb9182189d72800dff5 | 686931131b43a1a1c0a6ca6cf01839b28876af2f | refs/heads/master | 2021-05-11T17:28:38.707819 | 2019-01-15T11:39:54 | 2019-01-15T11:39:54 | 117,797,529 | 13 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,073 | cpp | #include <jni.h>
#include <Math/CubismMatrix44.hpp>
#include "moe_leekcake_live2dforjvm_framework_jni_math_CubismMatrix44JNI.h"
using namespace Live2D::Cubism::Framework;
/*
* Class: moe_leekcake_live2dforjvm_framework_jni_math_CubismMatrix44JNI
* Method: Construct
* Signature: ()J
*/
JNIEXPORT jlong JNICA... | [
"fkdlxmslrx@gmail.com"
] | fkdlxmslrx@gmail.com |
83dc107fb50323afd727d53223990d221a027e8f | 6838efa75ba5de45b55fd45932750a054732f80d | /net/quic/crypto/crypto_handshake_test.cc | 67d2caba4eb87b5a2e5f2208432e91ccb1b4ce0f | [
"BSD-3-Clause"
] | permissive | Sidney84/pa-chromium | 3436ef9d5c786ce7f11456811143ee6db1f063f7 | 1816ff80336a6efd1616f9e936880af460b1e105 | refs/heads/master | 2021-01-15T20:48:51.636457 | 2013-07-11T17:09:48 | 2013-07-12T16:16:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,791 | cc | // Copyright (c) 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 "net/quic/crypto/crypto_handshake.h"
#include <stdarg.h>
#include "base/stl_util.h"
#include "net/quic/crypto/aes_128_gcm_12_encrypter.h"
#... | [
"rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98"
] | rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98 |
3f3f15ee353b9d4d12f83101b49088d8fab95fb0 | 6c77cf237697f252d48b287ae60ccf61b3220044 | /aws-cpp-sdk-iot/source/model/DescribeStreamRequest.cpp | 21c9b2c6e62e07050edccda404b411b96575ba59 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | Gohan/aws-sdk-cpp | 9a9672de05a96b89d82180a217ccb280537b9e8e | 51aa785289d9a76ac27f026d169ddf71ec2d0686 | refs/heads/master | 2020-03-26T18:48:43.043121 | 2018-11-09T08:44:41 | 2018-11-09T08:44:41 | 145,232,234 | 1 | 0 | Apache-2.0 | 2018-08-30T13:42:27 | 2018-08-18T15:42:39 | C++ | UTF-8 | C++ | false | false | 958 | cpp | /*
* 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 |
7988330deb54296797d6327f6dd8011b98a11b1b | bb2381d2c243729a063dd137b38c13905427790f | /Source/NodeGraphLink.h | 7672e6cab0f21b4d97e7e4a1c754534c141a1b62 | [
"MIT"
] | permissive | JTippetts/U3DTerrainEditor | 1840db2228d41f33ac2fbe8c7e6c1d6be0015ceb | 90625d5ad9fb1720f10b8d054aa67d55465c7dff | refs/heads/master | 2022-11-23T20:23:36.439180 | 2022-11-22T19:58:48 | 2022-11-22T19:58:48 | 29,431,415 | 120 | 41 | null | 2017-05-02T17:32:36 | 2015-01-18T16:03:52 | HTML | UTF-8 | C++ | false | false | 2,582 | h | #ifndef GRAPH_NODE_LINK_H
#define GRAPH_NODE_LINK_H
#include <Urho3D/UI/BorderImage.h>
#include <Urho3D/UI/Button.h>
using namespace Urho3D;
class NodeGraphLink;
class NodeGraphLinkDest;
class NodeGraphLinkSource : public Button
{
URHO3D_OBJECT(NodeGraphLinkSource, Button);
public:
static void RegisterObject... | [
"vertexnormal@gmail.com"
] | vertexnormal@gmail.com |
9c6e470feb4ea218aff17ed1b5cc660a338b1471 | a443c88fef23bbc5dab98e8b0461175f6a8536ea | /CoCaNgua/CoCaNgua/Graphic.cpp | 183fe05cec26589b0599aa682906360440cda89a | [] | no_license | thuydx55/CoCaNgua | 12be3db1e1664daa102e257e4236588f0c882fb8 | 81b61f796ffa18ed8573474fd573c3cf5edeb32c | refs/heads/master | 2020-05-15T15:06:41.601986 | 2014-07-14T04:39:31 | 2014-07-14T04:39:31 | 8,817,293 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,345 | cpp | #include "Graphic.h"
Graphic::Graphic(void)
{
mAppScene = APP_LOADING;
near_height = 0.5;
zNear = 1;
zFar = 1000;
}
Graphic& Graphic::inst()
{
static Graphic Instance;
return Instance;
}
void Graphic::drawString(const char *str, int x, int y, float color[4], void *font)
{
glPushAttrib(GL_LIGHTING_BIT ... | [
"thuydx_55@vnu.edu.vn"
] | thuydx_55@vnu.edu.vn |
a1ffd73ce7f374c5016f4ba6c8af24acba3a1420 | 8514a3f47a6edfdc129cb33b777b4c3ffbc592a9 | /src/mypackage/src/go_straight.cpp | 96a81c5bb4b144818254a1aadb0c7ae4c32b61a1 | [] | no_license | coderofchina/catkin_ws | 2486b0fcc412762069d4a64ebd309cccc0f8cdd4 | dccd9d55bf34e6b1ccef208d803254a2c1a41721 | refs/heads/master | 2020-04-01T19:25:22.051977 | 2018-10-18T03:41:38 | 2018-10-18T03:41:38 | 153,552,863 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,918 | cpp | #include <ros/ros.h>
#include <signal.h>
#include <geometry_msgs/Twist.h>
#include <tf/transform_listener.h>
#include <nav_msgs/Odometry.h>
#include <string.h>
ros::Publisher cmdVelPub;
void shutdown(int sig)
{
cmdVelPub.publish(geometry_msgs::Twist());
ROS_INFO("odom_out_and_back.cpp ended!");
ros::shutdown();... | [
"1793426191@qq.com"
] | 1793426191@qq.com |
a74f061283b2c3b352fadba73377e49efd94c971 | 23c4109411bb6490d76430d485c19152c56e037a | /llvm-project/clang-tools-extra/clangd/ClangdLSPServer.cpp | 99c2465a579c01ee5ec621b5ba7b9441fd41399b | [
"Apache-2.0",
"LLVM-exception",
"NCSA"
] | permissive | AlexErf/GPUProject | f9a060e63caec0c07584aa2a2826432dc6cfc0b5 | c2740b6ca052436a73d05564187c473a37f362b9 | refs/heads/main | 2023-02-02T05:41:53.330592 | 2020-12-14T03:04:19 | 2020-12-14T03:04:19 | 310,434,160 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 66,830 | cpp | //===--- ClangdLSPServer.cpp - LSP server ------------------------*- C++-*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"nlbrow@umich.edu"
] | nlbrow@umich.edu |
3d20f0fc970afa37ac44c18f7d50c25b1acf4a8e | 41cb99bb83887b2a2d9a6b4ba3570ccc27ac9152 | /perception/src/PointMapCell.cpp | 34e4fad9cd28cb0a198437eba39a304c4ba595f6 | [
"BSD-2-Clause"
] | permissive | samigroup/DrivingAgent-2020-melodic | 2d08ed7b008b559ffc85bc09d7c0ed0d801faf9e | b4ace8140313499702c4fd0f3270f2a82ebe0d1a | refs/heads/master | 2023-02-01T15:42:29.029726 | 2020-12-21T23:13:36 | 2020-12-21T23:13:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,833 | cpp | #include "PointMapCell.hpp"
/*!
Removes a set of points from the cell based on the update ID.
@param id The ID of the update to be removed.
*/
void PointMapCell::RemoveUpdate(const int& id)
{
auto it = updates.begin();
while( it != updates.end() )
{
if(it->id == id)
{
updates.er... | [
"slabban2@gmail.com"
] | slabban2@gmail.com |
ec16c84e0faba77bd6ec6a8005cd3466f0714404 | d08784112bc3d868d0df650a61e91d5377cfa1e5 | /SubMeter_Nano328p.ino | 723fd65c22b116d0e2d8c57eacb75d013128fb14 | [] | no_license | geraldcells18/Aquater-Hardware | 1b8bbb520762ad1f47eab887bca2eb4ed99ada31 | b626408f42476fca97c0490b46ee68aab1d1afe5 | refs/heads/master | 2020-04-29T12:01:09.925889 | 2019-03-17T15:56:22 | 2019-03-17T15:56:22 | 176,122,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,961 | ino | #include <SoftwareSerial.h>
#define VALVE_PIN 4
SoftwareSerial wemos(5, 6); // Rx - Tx
byte sensorInterrupt = 0; //Interrupt pin for the process of interrupt function.
byte sensorPin = 2; //Water flow sensor pin for the water measuring.
float calibrationFactor = 6.5; //This object used for water measuring (6.5 revo... | [
"diazgerald13@gmail.com"
] | diazgerald13@gmail.com |
4890b17b9f511d69c6b4924780e0db2e7fce6c47 | ae571e01b5fb10cd98dc6b79472170c0f567e6b9 | /include/Map/Path.h | c72fd1e4d659ac4270afdf00434678eca30349d3 | [] | no_license | Oscillation/oscMrk-II | 9cda29f66db59148e0bfbb1ba640665ba423bda2 | 34833b85a42cf12514095d3a28ac3b3627fd712a | refs/heads/master | 2021-01-23T04:09:27.631400 | 2014-03-03T06:34:41 | 2014-03-03T06:34:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 123 | h | #pragma once
#include "Tile.h"
class Path{
public:
Path();
~Path();
short x;
short y;
short width;
short height;
}; | [
"trickepiclyawesome@gmail.com"
] | trickepiclyawesome@gmail.com |
57cf2ed39e9ac32e9049c0adec57af8f7e23c0ba | ba8f56b4292be78b6df3cd423497f1962f855965 | /Frameworks/JuceModules/juce_data_structures/values/juce_ValueTreeSynchroniser.h | 30441adf444078622c251c2db918b7285b4b6c14 | [
"MIT"
] | permissive | Sin-tel/protoplug | 644355f4dbf072eea68ac1e548f9f164b1364cc4 | 236344b1c3b1cc64d7dc01ea0c0c2a656bdc4ba1 | refs/heads/master | 2023-09-01T00:45:02.745857 | 2023-08-15T22:54:52 | 2023-08-15T22:54:52 | 151,246,506 | 17 | 4 | NOASSERTION | 2018-10-02T11:54:37 | 2018-10-02T11:54:37 | null | UTF-8 | C++ | false | false | 3,848 | h | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2017 - ROLI Ltd.
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 5 End-User Lic... | [
"pierre@osar.fr"
] | pierre@osar.fr |
ae61ac83644c30be455e71ff24b8cb463739fa04 | c655f456c4892624f20652e540117dbbc26affd4 | /BST.cpp | 4cc261bb57ea33626c51b39c2b8646f341776d4a | [] | no_license | jrod0975/tree | 7015d408a712781ac2a2301a85744a5ad08680b8 | 90d1a49fbcf0bc56fb7202d117d2943f85350071 | refs/heads/main | 2023-01-04T06:22:39.956261 | 2020-10-29T00:18:36 | 2020-10-29T00:18:36 | 308,173,150 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,002 | cpp | #include <iostream>
#include <stdlib.h>
#include "BST.h"
using namespace std;
BST* createNode(BST* root, int value) {
BST* newNode = (BST*)malloc(sizeof(BST));
if (root == NULL) {
newNode->value = value;
newNode->left = NULL;
newNode->right = NULL;
return newNode;
}
else if (value <= root->val... | [
"noreply@github.com"
] | noreply@github.com |
4281407258a5457e27bdaf4f1d877fe30f44cfbf | 35f72ecafb4ad6b013eb629a965abd75ef0a082a | /日常/Math_1/J.cpp | 554c7af0218c6e4bc799965ff971ce13bb2c0185 | [] | no_license | cdegree/ACM | d8d478d789a4f57acd2f340e956d5b7a46f33f8f | 42038ec0cbf99120e8416eed18b8a30dc6873947 | refs/heads/master | 2021-01-18T21:25:43.017457 | 2016-04-06T09:16:41 | 2016-04-06T09:16:41 | 29,577,653 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,669 | cpp | #include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <cctype>
#include <vector>
#include <stack>
#include <queue>
#include <map>
#include <algorithm>
#include <iostream>
#include <string>
#include <set>
#define X first
#define Y second
#define sqr(x) (x)*(x)
using namespace std;
const doubl... | [
"316403398@qq.com"
] | 316403398@qq.com |
6d974475b1d9549ffdc4dc0ac1989bfaba9add76 | b7f1b4df5d350e0edf55521172091c81f02f639e | /storage/browser/blob/blob_registry_impl_unittest.cc | 5d1b2793226c3fdf0f81c9e51354042d27fe21dd | [
"BSD-3-Clause"
] | permissive | blusno1/chromium-1 | f13b84547474da4d2702341228167328d8cd3083 | 9dd22fe142b48f14765a36f69344ed4dbc289eb3 | refs/heads/master | 2023-05-17T23:50:16.605396 | 2018-01-12T19:39:49 | 2018-01-12T19:39:49 | 117,339,342 | 4 | 2 | NOASSERTION | 2020-07-17T07:35:37 | 2018-01-13T11:48:57 | null | UTF-8 | C++ | false | false | 36,421 | 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 "storage/browser/blob/blob_registry_impl.h"
#include <limits>
#include "base/files/scoped_temp_dir.h"
#include "base/rand_util.h"
#include "base... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
ab15758caed8952d2209cec466e701d34b854214 | aeb853c66226f0ff06cb6ddfb3aed7d94a54a5d5 | /TurboTowerTrouble/PlayerManual.cpp | 9bd187d2e5793622592244b0d7c007abebdd42d4 | [] | no_license | C00192781/TurboTowerTrouble-GroupProject | 5c2ca13911290be1d4e8c412508327fd45150209 | 3ba66a07eeae5d356b584b701b1ae37ed52772ba | refs/heads/master | 2020-09-09T09:12:58.238626 | 2020-07-20T17:07:10 | 2020-07-20T17:07:10 | 221,408,336 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 530 | cpp | ////////////////////////////////////////////////////////////
// Name: Kevin Boylan
// Student ID: C00192781
////////////////////////////////////////////////////////////
//#include "PlayerManual.h"
//#include <iostream>
//
//
//
//
//PlayerManual::PlayerManual()
//{
// if (!playerTexture.loadFromFile("Sprites Folder/Tow... | [
"idakev2396@gmail.com"
] | idakev2396@gmail.com |
9506a2fd33239864f6e755f63d3b8d396e9b9c59 | db23016a502292b8c1cd66498b9264a045ce7c89 | /pipeline_kernel/hello.cpp | ed559c715f8bb684cfec931a0b396b47121856af | [] | no_license | xuhz/xrt_testsuite | 7ce73b5adce17f4c0b91271a9d26663bbb73be65 | 05a816007f4d8109048eaf5aac62aef741ddf032 | refs/heads/master | 2023-04-20T21:18:49.411060 | 2021-05-07T00:13:48 | 2021-05-07T00:13:48 | 286,532,910 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,121 | cpp | /**
* Copyright (C) 2016-2020 Xilinx, Inc
*
* 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
*
* Unless required by applicable law or agre... | [
"brianx@xilinx.com"
] | brianx@xilinx.com |
5b940ecfa45783012a749b9615a12e18eb3ea440 | 800965a478f1c8d68c25d0837d1a3ffab75b50e9 | /Week-02/day-2/Functions/11.cpp | eca06814595ce334c1bf699d6a4f27ec167ce8cd | [] | no_license | greenfox-zerda-sparta/Ak0s | 8ed1eea5a63249cabb58f5de8620884aea7a8503 | 2f37db6512f6aa7057048ed189ed2259e3ee48ba | refs/heads/master | 2021-01-12T18:15:08.523009 | 2017-02-13T18:06:12 | 2017-02-13T18:06:12 | 71,350,507 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 513 | cpp | //============================================================================
// Name : 11.cpp
// Author : Ak0s
//============================================================================
// write a function that gets a string as an input
// and appends an 'a' character to its end
#include <iostream>
... | [
"modis1akos@msn.com"
] | modis1akos@msn.com |
3a8ddf190113ccc2bd05bbbb0a0e1b7a8ff6227b | 50eeb07fb93d89d981a7c95ed9141405b3105736 | /move/inv_between_2opt.hpp | b9fd364ab7d83b0c5a309499c2358013eae892d8 | [
"MIT"
] | permissive | zmdsn/MANSP | b143e47e2b7772b43e1132ff4c4a73586feac27a | 180b985ed4abc255f5ccce5ee9e4da4e473433e2 | refs/heads/main | 2023-04-12T06:53:39.728665 | 2021-05-05T07:31:27 | 2021-05-05T07:31:27 | 360,737,970 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,376 | hpp | /*************************************************************************
* Name : move.hpp
* Author: zmdsn
* Mail : zmdsn@126.com
* Created Time: 2020年11月18日 星期三 13时47分27秒
*
************************************************************************/
#ifndef __INV_BETWEEN_2OPT__HPP__
#define __INV_BETWEEN... | [
"zmdsn@126.com"
] | zmdsn@126.com |
6681d21f5973d5bc3e348ec87a6de6aa12a24da0 | eecf307b289299f444274c41152215f6ae5a9484 | /Window.cpp | 7b0bee7a1f260c7372429ec53df2b425837f470f | [] | no_license | Josue-Santos/shapes | c4f8d18c56fd633390382dfd4ea149b36f4fde9d | ebe940409cf57f1c5fb15bb5c947bb4b2a681dc4 | refs/heads/main | 2023-07-12T22:49:08.735898 | 2021-09-03T16:34:49 | 2021-09-03T16:34:49 | 402,820,775 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,346 | cpp | #include "Window.hpp"
#include "Win32dow.hpp"
#include <stdexcept>
using namespace std;
namespace easywin {
void Window::requestRepaint() {
InvalidateRect(hwnd, NULL, true);
}
void Window::addMenu(string name) {
HMENU hmenu = GetMenu(hwnd);
if (hmenu == 0) {
hmenu = CreateMenu();
}
HMENU hPopup = ... | [
"josuesantosfls@gmail.com"
] | josuesantosfls@gmail.com |
0d1fb392d692ae51d30d35315116e81d7d2b60dd | f8517de40106c2fc190f0a8c46128e8b67f7c169 | /AllJoyn/Samples/MyLivingRoom/Models/org.allseen.LSF/LampServiceProducer.h | 639ef1b31f80c3f806658f98b8b44ed3d82b41ed | [
"MIT"
] | permissive | ferreiramarcelo/samples | eb77df10fe39567b7ebf72b75dc8800e2470108a | 4691f529dae5c440a5df71deda40c57976ee4928 | refs/heads/develop | 2023-06-21T00:31:52.939554 | 2021-01-23T16:26:59 | 2021-01-23T16:26:59 | 66,746,116 | 0 | 0 | MIT | 2023-06-19T20:52:43 | 2016-08-28T02:48:20 | C | UTF-8 | C++ | false | false | 6,526 | h | #pragma once
namespace org { namespace allseen { namespace LSF {
extern PCSTR c_LampServiceIntrospectionXml;
ref class LampServiceProducer;
public interface class ILampServiceProducer
{
event Windows::Foundation::TypedEventHandler<LampServiceProducer^, Windows::Devices::AllJoyn::AllJoynProducerStoppedEventArgs^... | [
"artemz@microsoft.com"
] | artemz@microsoft.com |
bf57b56627c2017670899fbcb38e16d6dc99ce61 | 928863f83611e4cd3256f58c0c0199b72baefabb | /3rd_party_libs/chai3d_a4/src/graphics/CDisplayList.h | 7c77b392263fd705c7eb52c7c675fa660cb8c0d2 | [
"BSD-3-Clause"
] | permissive | salisbury-robotics/jks-ros-pkg | b3c2f813885e48b1fcd732d1298027a4ee041a5c | 367fc00f2a9699f33d05c7957d319a80337f1ed4 | refs/heads/master | 2020-03-31T01:20:29.860477 | 2015-09-03T22:13:17 | 2015-09-03T22:13:17 | 41,575,746 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,459 | h | //===========================================================================
/*
Software License Agreement (BSD License)
Copyright (c) 2003-2012, CHAI3D.
(www.chai3d.org)
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitt... | [
"adamleeper@gmail.com"
] | adamleeper@gmail.com |
2982e986cffd0a621797e82884d486b079a95917 | 2d7022c3705637183d67c7a43703360fe701ea37 | /source/mileToKilometer.cpp | 0318a0b04151f5c318209f21734315a539d10aae | [
"MIT"
] | permissive | guvo6384/programmiersprachen-blatt-1 | 9fec307c0fef479dd7c4424e4c93839b2e0c7cc2 | 6e44c524d64d508142f711d447644244fbbb9b8d | refs/heads/master | 2016-09-13T19:06:52.978235 | 2016-04-25T13:58:58 | 2016-04-25T13:58:58 | 56,522,182 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 413 | cpp |
#include <iostream>
#include <string>
double convert_to_kilometers(double miles);
int main ()
{
std :: cout << " Bitte geben Sie Meilen ein:" << std :: endl;
double miles;
std :: cin >> miles ;
std :: cout << miles << " entspricht " << convert_to_kilometers(miles)<< std :: endl;
}
double convert_to_kilometers(double... | [
"jan-niklas.stumpe@uni-weimar.de"
] | jan-niklas.stumpe@uni-weimar.de |
f169b5edc8a623decec28bc8277ef5859c8a87f1 | 57775c8be6575493be4968f939ecdb8a2fc42d85 | /src/Texture.cpp | 434f53e0bf720a0777968643939af764a6686da6 | [] | no_license | nikunjarora12345/Opengl-Demo | f751e9e607fd9b8ac6684a30ad8141741b4bb999 | df4ee62aff176781ddf17982f8c05471a6dd2128 | refs/heads/master | 2023-03-13T12:53:43.974177 | 2021-03-04T11:06:03 | 2021-03-04T11:06:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,415 | cpp | #include "Texture.hpp"
#include "stb_image.h"
namespace Renderer {
Texture::Texture(const std::string& path, bool freeMemory):
m_RendererID(0), m_FilePath(path), m_LocalBuffer(nullptr),
m_Width(0), m_Height(0), m_BitsPerPixel(0) {
stbi_set_flip_vertically_on_load(1);
m_LocalBuffer = stbi_load(m_FilePath.c_str... | [
"nikunjarora12345@gmail.com"
] | nikunjarora12345@gmail.com |
75e8983519352b521f4557a81ac6c89ab459ad31 | 8b2263d84d6888e62bff1773d7f737943efe78dd | /src/qt/optionsmodel.cpp | cb48a94fbdd31d98752e1ed505fd3630c45fc2e0 | [
"MIT"
] | permissive | sigmabitorg/Sigmabitsha | c73d1bcb17bb0fb9aa0db821ef9ce0981b3b162f | 7b06e46897ad0469210e01edaad3e5b0d9a533b4 | refs/heads/master | 2021-01-12T11:38:25.431054 | 2016-10-28T21:48:30 | 2016-10-28T21:48:30 | 72,244,305 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,071 | cpp | #include "optionsmodel.h"
#include "bitcoinunits.h"
#include "init.h"
#include "walletdb.h"
#include "guiutil.h"
#include <QSettings>
OptionsModel::OptionsModel(QObject *parent) :
QAbstractListModel(parent)
{
Init();
}
bool static ApplyProxySettings()
{
QSettings settings;
CService addrProxy(setting... | [
"admin@sigmabit.org"
] | admin@sigmabit.org |
730e1b83c9ff942a1d219643a8d7139f8512147b | 24b7fd2c31eae72646204ff94dfe13c1c05d1e00 | /TDgame/CritterFactory.h | 39c5763a9b9f676c314dad750b765eba5ba692e8 | [] | no_license | patch100/comp345 | e745019225c53ad7d4113ba66c08231b6d7dc9ba | e31bfe7b411ebc3096a2f534f5bd83cf13535c76 | refs/heads/master | 2021-01-17T12:19:11.646567 | 2014-10-04T15:39:45 | 2014-10-04T15:39:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 248 | h | #ifndef CRITTERFACTORY_H
#define CRITTERFACTORY_H
#include"Critter.h"
class CritterFactory
{
public:
int level;
int critterNumber;
CritterFactory();
~CritterFactory();
void nextLevel();
bool canCreate();
Critter createCritter();
};
#endif
| [
"haoran.sun.1993@gmail.com"
] | haoran.sun.1993@gmail.com |
0a2d1e2f4fe9953a24dc451ecdd32afae65dbea6 | e091e411012a603f14b58c3d05117b50312986c4 | /GamePingPong_SweptAABB/Game/Game.cpp | 1710c8f7a612de19b6295b9510b2421ec5adb607 | [] | no_license | phamphuckhai/GameDirectX | 071e477d4cae8ab60303ec989f7bfa1f20ad6a4b | f34a72b0bee71112f52a1b0aa22a3e8a025a3a9b | refs/heads/master | 2020-06-24T03:56:28.697876 | 2019-07-25T14:01:36 | 2019-07-25T14:01:36 | 198,841,279 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,632 | cpp | #include<d3d9.h>
#include<d3dx9.h>
#include<time.h>
#include<dinput.h>
#include"game.h"
#include"dxgraphics.h"
#include"dxinput.h"
#include<tchar.h>
#include<sstream>
#include<string>
LPD3DXSPRITE sprite_handler;
LPDIRECT3DSURFACE9 surface;
SPRITE ball, paddle1, paddle2;
LPDIRECT3DTEXTURE9 ball_image;
LPDIRECT3DTEXTUR... | [
"phamphuckhai@gmail.com"
] | phamphuckhai@gmail.com |
d204f7c8a1eb9f9f48a621d11872701494669c61 | dda6338397aa5d386ea1f49b6efcd1876a1d8aba | /src/draw/fonts.cpp | 359f40e0fee28b4242f0a8dd46adf59aacbd63f6 | [] | no_license | esimionato/lanarts | 964fa3f3632ff7ac5e4c480078dc2289fb887153 | a1301cd63f7d7b39963a1d661ddefeb34f071913 | refs/heads/master | 2020-03-16T17:49:29.940200 | 2018-03-30T22:30:19 | 2018-03-30T22:30:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 306 | cpp | /*
* fonts.cpp:
* Accessors for the fonts used by the game.
*/
#include "fonts.h"
using namespace ldraw;
static Font __primary, __menu;
namespace res {
Font& font_primary() {
return __primary;
}
Font& font_menu() {
return __menu;
}
void font_free() {
__primary.clear();
__menu.clear();
}
}
| [
"domuradical@gmail.com"
] | domuradical@gmail.com |
3d3b34be8c7f4eef2bddcb39e36ad1c7555a6fbc | 6296408663242e9504c2305b521d9bfcf3630e52 | /Week_06/1143-longest-common-subsequence.cpp | 0c2655e2bce60af0121bb2d5f3eded5947fde5c3 | [] | no_license | chenzj-czj/algorithm012 | b0870cdf97ceaf02a6a8155cccc7f5da741b0747 | 763ca6f8a0777a41c699ef9f4163442b0e4872cc | refs/heads/master | 2022-12-18T17:55:57.634808 | 2020-09-20T09:46:53 | 2020-09-20T09:46:53 | 277,009,126 | 0 | 0 | null | 2020-09-20T08:54:28 | 2020-07-04T00:17:11 | C++ | UTF-8 | C++ | false | false | 710 | cpp | class Solution {
public:
int longestCommonSubsequence(string text1, string text2) {
int row = text1.length();
int col = text2.length();
int dp[row+1][col+1];
for (int i = 0; i <= row; i++) {
dp[i][0] = 0;
}
for (int j = 0; j <= col; j++) {
dp[... | [
"chenzhijie_dream@163.com"
] | chenzhijie_dream@163.com |
8af7434967da2183ab93f518be8e118b15241cda | 8465159705a71cede7f2e9970904aeba83e4fc6c | /src_change_the_layout/modules/IEC61131-3/Conversion/DINT/F_DINT_TO_STRING.h | 01155adb36546aa57b6de097c0884ddb6216e14f | [] | no_license | TuojianLYU/forte_IO_OPCUA_Integration | 051591b61f902258e3d0d6608bf68e2302f67ac1 | 4a3aed7b89f8a7d5f9554ac5937cf0a93607a4c6 | refs/heads/main | 2023-08-20T16:17:58.147635 | 2021-10-27T05:34:43 | 2021-10-27T05:34:43 | 419,704,624 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,857 | h | /*******************************************************************************
* Copyright (c) 2012 ACIN
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier:... | [
"tuojianlyu@gmail.com"
] | tuojianlyu@gmail.com |
078a63aaca6e145f2fddfa6cc4482deafbe9a83c | 3bbad6f1f610ad8cc4edec00aae854f27e9abf73 | /cpp/BFS/走迷宫/main.cpp | e0cfe59e10888acda15c910df773102d30a779e2 | [] | no_license | torresng/Algorithms_practice | c765e6e60c4e2a84486a1a88fb6d42503629876a | dae0eaa1dd0663fb428a0002dc5fa8528ff4204f | refs/heads/master | 2021-08-07T08:57:16.690536 | 2020-04-15T06:24:12 | 2020-04-15T06:24:12 | 152,349,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 932 | cpp | #include <cstring>
#include <algorithm>
#include <iostream>
using namespace std;
typedef pair<int, int> PII;
int n, m;
const int N = 110;
int g[N][N];
int d[N][N];
PII q[N * N];
int bfs() {
int hh = 0, tt = 0;
q[0] = {0, 0};
memset(d, -1, sizeof d);
d[0][0] = 0;
int dx[4] = {-1, 0, 1, 0}, dy[4... | [
"torresng2684cte@gmail.com"
] | torresng2684cte@gmail.com |
24a3f98c08a1a25e33bdee5538e64f7f3f851689 | fe87d809058b57da26ffde0b494cc4e5aef85102 | /qt5_study/hellostackview/currentform.cpp | 7e71bc61bfe59174013e1134114c58b17460cc72 | [
"MIT"
] | permissive | happyrabbit456/Qt5_dev | 4f2c354d1cead315dc1b2c43fa6a4fceb1a09131 | 1812df2f04d4b6d24eaf0195ae25d4c67d4f3da2 | refs/heads/master | 2020-07-08T05:39:16.436243 | 2020-01-02T07:53:04 | 2020-01-02T07:53:04 | 203,581,423 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 222 | cpp | #include "currentform.h"
#include "ui_currentform.h"
CurrentForm::CurrentForm(QWidget *parent) :
QWidget(parent),
ui(new Ui::CurrentForm)
{
ui->setupUi(this);
}
CurrentForm::~CurrentForm()
{
delete ui;
}
| [
"530633668@qq.com"
] | 530633668@qq.com |
71a0e88b2ff4ebac8e9b640c4898db3d95b821c2 | 99f164e96e13db29deef720de9fa4ce0bd114c62 | /mediatek/frameworks-ext/av/media/libstagefright/wifi-display-mediatek/uibc/UibcHandler.cpp | 56b6b141224e559b4417b8fec2966e91d44756be | [] | no_license | GrapheneCt/android_kernel_zte_run4g_mod | 75bb5092273ba4cd75d10f3fa09968853a822300 | fbba1d6727878b70954cc4186a7b30504527cd20 | refs/heads/master | 2020-09-07T14:50:54.230550 | 2019-11-10T16:37:19 | 2019-11-10T16:37:19 | 220,814,914 | 0 | 0 | null | 2019-11-10T16:11:22 | 2019-11-10T16:11:22 | null | UTF-8 | C++ | false | false | 3,328 | cpp |
#define LOG_TAG "UibcHandler"
#include "UibcHandler.h"
#include <utils/Log.h>
#include "UibcMessage.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <errno.h>
#include <netinet/in.h>
#include <unistd.h>
#include <linux/fb.h>
#include ... | [
"danile71@gmail.com"
] | danile71@gmail.com |
fa784f7557c8dfefdd7c0b0f969cc590c0f0dc06 | 4a233bdaf1ff70c579063cbf240928afa45a228c | /code/include/Ip_stream.h | f2b8b6fd0aac16a0596eb163fdfb579aeaac35ea | [] | no_license | ShasankaBorah/Ip.Analyzer | 063ebaab0fbd667cfe85f2360d1c92114c35d010 | fb1475bf9677265f5e8610994252d76eaddd7356 | refs/heads/master | 2021-04-27T17:19:02.675059 | 2018-08-08T20:16:52 | 2018-08-08T20:16:52 | 122,319,988 | 3 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,533 | h | #pragma once
#include "Tcp_stream.h"
#include <string>
#include <iostream>
#include <map>
#include <vector>
#include <algorithm>
#include <fstream>
#include <set>
#include <boost/filesystem.hpp>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/json_parser.hpp>
#include "boost/date_time/posix_time/... | [
"31131175+ShasankaBorah@users.noreply.github.com"
] | 31131175+ShasankaBorah@users.noreply.github.com |
8e10ce4a663bda0f0f34e37e89678e51da044a1e | 4063bee0b810f5d308eab6b427108441c5033704 | /Programming Languae/Syracuse C++/554Lec/2019_02_26_Lecture_Overload_sort_find_if.cpp | d2fafd9c93730c13fb0a7781abeaccbedbc6b340 | [] | no_license | liulanz/Study-Personal-Lab | bece371164635131b3958efb72b88bf850557f94 | 895949bd87a06571daf80483e34b24c238c058b9 | refs/heads/master | 2022-12-04T10:50:25.004879 | 2020-07-31T07:55:16 | 2020-07-31T07:55:16 | 287,768,300 | 1 | 0 | null | 2020-08-15T15:00:35 | 2020-08-15T15:00:35 | null | UTF-8 | C++ | false | false | 969 | cpp | #include <iostream>
#include <list>
#include <vector>
#include <map>
#include <string>
#include <algorithm> //find_if
using namespace std;
bool comp1(int i) {return (i % 10 == 3); }
bool comp2(int * p1, int * p2) { return *p1 < *p2; }
int main() {
vector<int> V1 = { 1,2,3,4,5 };
auto it1 = find(V1.begin(), V1.end... | [
"junbinliang816@gmail.com"
] | junbinliang816@gmail.com |
87d7c3530a5607e6a1c024e08994f7a4d6786790 | 14c685102101327da349f7da83099e90101c690c | /Service/jni/innoextract/src/util/fstream.hpp | 1137ba758f0bbefbe0efcd79249702ebee522de2 | [
"MIT",
"Zlib",
"Apache-2.0"
] | permissive | alanwoolley/innoextract-android | a59647cfe675ca404f4b041b7bd0acbef139deee | d0a72015a4a7898e0b5a24cae8642a4028c4d24b | refs/heads/master | 2023-07-22T12:20:39.590781 | 2023-06-02T11:47:31 | 2023-06-02T11:47:31 | 14,408,419 | 23 | 11 | null | null | null | null | UTF-8 | C++ | false | false | 3,759 | hpp | /*
* Copyright (C) 2013-2014 Daniel Scharrer
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the author(s) be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
* inclu... | [
"alan@armedpineapple.co.uk"
] | alan@armedpineapple.co.uk |
6f976dbba31ae12711647fc975b936fad547c364 | 2d926da3a7e99582bcc09e9a61e70a0d7175e8f8 | /src/Magnum/Vk/Test/RenderPassVkTest.cpp | 5c23db4fc37e65a370ad2a465ac2a0dc310d3ec3 | [
"MIT"
] | permissive | black6816/magnum | 5879fdf569b19bd835c1db87d3d5ce2f211e6c9f | a49602987499379e4a2d155472961d99ddfc75ba | refs/heads/master | 2022-12-12T23:11:44.387207 | 2022-11-16T16:53:06 | 2022-11-19T14:26:39 | 155,795,059 | 0 | 0 | null | 2018-11-02T01:01:51 | 2018-11-02T01:01:51 | null | UTF-8 | C++ | false | false | 10,287 | cpp | /*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019,
2020, 2021, 2022 Vladimír Vondruš <mosra@centrum.cz>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files ... | [
"mosra@centrum.cz"
] | mosra@centrum.cz |
3deafb5db885919fc5f195c72f7878a56b67a418 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/git/new_hunk_2065.cpp | 956860db5301c2dd1bf7ce60a5eee08d8019c148 | [] | 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 | 182 | cpp | free(store.key);
if ( ENOENT != errno ) {
error_errno("opening %s", config_filename);
ret = CONFIG_INVALID_FILE; /* same as "invalid config file" */
goto out_free;
}
| [
"993273596@qq.com"
] | 993273596@qq.com |
2c10518d4d8e9e913375461c60bbbbc592fcaa49 | cd0ae1b0bec851eca3dabd27ccbfec5d5fbeea95 | /src/BooleanOperation.cc | d4a5bd8a760cd81c64c3932925501e3ffbb559b7 | [
"MIT"
] | permissive | liangcheng/node-occ | b64976746f80b19d1f62adcf0e62449b51acaea5 | ea55726d6229f3cf754e8dce599748f6083af506 | refs/heads/master | 2020-07-10T09:57:50.850738 | 2015-07-09T08:14:55 | 2015-07-09T08:14:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,939 | cc | #include "BooleanOperation.h"
BooleanOperation::BooleanOperation()
:m_bop(0)
{
}
BooleanOperation::~BooleanOperation()
{
delete m_bop;
}
v8::Persistent<v8::FunctionTemplate> BooleanOperation::_template;
v8::Handle<v8::Value> BooleanOperation::NewInstance(BOPAlgo_Operation op)
{
Local<Object> instance = NanNe... | [
"etienne.rossignon@gadz.org"
] | etienne.rossignon@gadz.org |
dee5e3cec5bd26035f385982ff37e6c020ebe7b5 | f52d7d227e774dcb2520ef649273f49403487951 | /struct:file:class practice/Player.h | 2531f3f654d48b54ceec96f6ea8877d7bc43d451 | [] | no_license | zoeschmitt/common-algorithms | 7ad345cc1fa01766095ad78273c9a3c1f191e4ee | d870f14bf2d99ae73db255d54e24212190716444 | refs/heads/master | 2022-04-29T14:28:11.605326 | 2019-03-07T17:19:11 | 2019-03-07T17:19:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,125 | h | // File Name: Player.h
// Holds the class for Player.cpp,
// Which manages the songs on a music player device.
#ifndef PLAYER_H
#define PLAYER_H
#include<iostream>
using namespace std;
#include "TimeStamp.h"
const int SIZE = 1000; //Max size for amount of songs.
class Player {
private:
struct Song
{
... | [
"mica@Zoes-MacBook-Pro.local"
] | mica@Zoes-MacBook-Pro.local |
73291d1d3b88049e0cf713752f9a0906d70dae0d | 697f7f1964eadc95ccc6fa1eb871ae38e165b73c | /Day-27: Perfect Squares.cpp | 0da4439b72ecb78fb8165b3db01d4ece257540d2 | [] | no_license | amansharma07/June-Challenge-LeetCode | bc836af1d3e1751293b5878b69e40664dc343082 | f4754e6ee0389daf411417c620240c88691df05b | refs/heads/master | 2023-01-30T09:40:40.536949 | 2020-12-16T16:17:06 | 2020-12-16T16:17:06 | 268,540,990 | 1 | 0 | null | 2020-06-28T08:10:41 | 2020-06-01T14:12:08 | C++ | UTF-8 | C++ | false | false | 498 | cpp | class Solution {
public:
int numSquares(int n) {
if(n<=3)
return n;
int dp[n+1];
dp[0] = 0;
dp[1] = 1;
dp[2] = 2;
dp[3] = 3;
for(int i=4; i<=n; i++)
{
dp[i] = i;
for(int p=1; p<=ceil(sqrt(i)); p++)
{
... | [
"noreply@github.com"
] | noreply@github.com |
d341a57050edd787301deffdfa7763fd42cfa22c | 4fb752a8b52ce3ebfa587fe7d08077486cf7e4a3 | /tp5-bon/tp5-bon/ProduitAuxEncheres.cpp | 90216cf4cb6de3e930fb7122e1a0f2cccd15e6e8 | [] | no_license | YacerRazouani/INF1010 | 8a75d3d0cb97149dca250b190bd6ebe04e1ec78b | 78be0c456ef2c77d45a4695c52321683167cb29e | refs/heads/master | 2021-09-12T16:58:36.591142 | 2018-04-19T02:44:37 | 2018-04-19T02:44:37 | 118,972,459 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,373 | cpp | /********************************************
* Titre: Travail pratique #5 - ProduitAuxEncheres.cpp
* Date: 6 avril 2018
* Modifier par: Amar Ghaly (1905322) & Yacer Razouani (1899606)
*******************************************/
#include "ProduitAuxEncheres.h"
/********************************************... | [
"amar-gh@hotmail.com"
] | amar-gh@hotmail.com |
cd17282f14cb468f16271b88e794c886fd0e42e4 | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/chromium_org/chrome/common/extensions/manifest_handlers/nacl_modules_handler.h | 9c7a4090ecb5ebcaa357356b7d158b03aeeee08b | [
"MIT",
"BSD-3-Clause"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 1,203 | h | // 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.
#ifndef CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_NACL_MODULES_HANDLER_H_
#define CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_NACL_MODULES_HANDLER_H_
#in... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
a55b3f98972787c8a5e23f6169588b3265423b91 | 04251e142abab46720229970dab4f7060456d361 | /lib/rosetta/source/src/core/scoring/nmr/pre/PREData.cc | c29d756aaa9046540d08c572c181e3fc3f47826b | [] | no_license | sailfish009/binding_affinity_calculator | 216257449a627d196709f9743ca58d8764043f12 | 7af9ce221519e373aa823dadc2005de7a377670d | refs/heads/master | 2022-12-29T11:15:45.164881 | 2020-10-22T09:35:32 | 2020-10-22T09:35:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,190 | cc | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"lzhangbk@connect.ust.hk"
] | lzhangbk@connect.ust.hk |
7cd5da523830e0d163c7f2945dc965a1ab06031d | 1d6415afa337aae0e398b28bbf2e7d101f3de29a | /TestProject/data_structure/栈与队列/栈的链式结构/Stack.h | 08b78be7af55951d28b4ef2d783fed7203c3778a | [] | no_license | WinstonLy/Job | 131a0ecbb1b28eef1cd22fac4f196d46354093b0 | b76d917c7f2cb2d6d4cb5613d447c43393448751 | refs/heads/master | 2022-12-04T01:23:01.072209 | 2020-08-30T08:56:09 | 2020-08-30T08:56:09 | 272,469,143 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 277 | h | /**
* 定义栈的链式存储结构
*/
#ifndef __LIST_H__
#define __LIST_H__
#include "Node.h"
class Stack
{
public:
Stack();
~Stack();
void clearStack();
bool pushStack(Node* node);
bool popStack(Node* node);
int getTop();
private:
int top;
Node* head;
};
#endif | [
"19961130g@gmail.com"
] | 19961130g@gmail.com |
256e41068a871428607a25d3e6acf4a3888219f9 | 00a2411cf452a3f1b69a9413432233deb594f914 | /include/sqthird/poco/Foundation/StreamUtil.h | b9b3c427b3ec56ff7d44de571398a47a34f596e1 | [] | no_license | willing827/lyCommon | a16aa60cd6d1c6ec84c109c17ce2b26197a57550 | 206651ca3022eda45c083bbf6e796d854ae808fc | refs/heads/master | 2021-06-26T21:01:21.314451 | 2020-11-06T05:34:23 | 2020-11-06T05:34:23 | 156,497,356 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,335 | h | //
// StreamUtil.h
//
// $Id: //poco/1.4/Foundation/include/Poco/StreamUtil.h#1 $
//
// Library: Foundation
// Package: Streams
// Module: StreamUtil
//
// Stream implementation support.
//
// Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BS... | [
"willing827@163.com"
] | willing827@163.com |
2bc2e4df6e4e0724945a9b86df8c517e6a985ab3 | dc3be2481effa326f8556e8263e5502ef166f081 | /firebase/firebase.h | 1a0639e78cd412c934d31aa2fbdcef92a6b01549 | [] | no_license | DrMoriarty/godot-firebase | e56199b0c0bd970d967a4020ccf7dbf370531b2a | d8b47af3961e2653433dabb8f3244019ade29e02 | refs/heads/master | 2020-04-13T15:11:22.643264 | 2019-10-11T10:01:02 | 2019-10-11T10:01:02 | 163,284,099 | 14 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 715 | h | #ifndef Firebase_h
#define Firebase_h
#include "core/reference.h"
#include "firebase/app.h"
#if defined(__ANDROID__)
/// An Android Activity from Java.
typedef jobject AppActivity;
#elif defined(TARGET_OS_IPHONE)
/// A pointer to an iOS UIView.
typedef id AppActivity;
#else
/// A void pointer for stub classes.
typede... | [
"drmoriarty.0@gmail.com"
] | drmoriarty.0@gmail.com |
3ce47de620bb0b974cfaa2a924b92e744f3310fd | 684b85c6ca7d336ef1e778c1367d8d5e65e758d4 | /linuxqq_client/moc_filerecieve.cpp | 7a4860893631b840cc1bbb681486b7938d6c3b85 | [] | no_license | jerrypy/linuxqq | a8bdaac689fff1d6a7474a15ac8502a303a112be | 00e70a61750098546463b0c78285b7e4b41415fb | refs/heads/master | 2021-01-01T05:47:01.363621 | 2014-12-16T10:03:54 | 2014-12-16T10:03:54 | 28,081,000 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,365 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'filerecieve.h'
**
** Created: Wed Mar 12 08:23:10 2014
** by: The Qt Meta Object Compiler version 63 (Qt 4.8.3)
**
** WARNING! All changes made in this file will be lost!
***********************... | [
"jerrynwin@gmail.com"
] | jerrynwin@gmail.com |
25ff27a2083f5fc3deff0275b45f86303a247404 | fab5498a07621a3a1fe642aba754d3efeb582017 | /src/osg/Viewer/View_wrap.cpp | 6ba7f6dde79992c7428a8652b29d8be60ceb7964 | [
"MIT"
] | permissive | vuvk/osg_vala_wrapper | e0beb1cdde040a1ac0917be40cbab7c333a63bc9 | 1d764277926a745844f8f7a9e5e1fe46f128bed1 | refs/heads/master | 2022-10-08T16:58:42.617097 | 2020-06-09T03:47:43 | 2020-06-09T03:47:43 | 268,712,396 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,595 | cpp |
#include <osg/View>
extern "C"
{
void* _view_new()
{
return new osg::View();
}
void _view_dispose(void* view)
{
static_cast<osg::View*>(view)->unref();
}
/** Take all the settings, Camera and Slaves from the passed in view, leaving it empty. */
void _view_take(void* view, void* rhs)
{
static_cast<osg:... | [
"panknd@mail.ru"
] | panknd@mail.ru |
27ff6961f599bbb52dc8d50fb4cd95c1dc53c540 | ad361ddd3e64fdcd2ffda107c2ff121172b5e23d | /fieldsAtlantik/bateauVoyageur.h | 1c768857b7d00679910d8f49a0a47a3d048e126d | [] | no_license | prostain/casAtlantik | 622caf75fb12267f344908044bdb4b13eb521934 | c6a53b90022886522abf00482de751b409de29ce | refs/heads/master | 2020-03-11T18:18:33.900657 | 2018-04-19T07:14:25 | 2018-04-19T07:14:25 | 130,173,868 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 532 | h | #ifndef BATEAUVOYAGEUR_H
#define BATEAUVOYAGEUR_H
#include <iostream>
#include <vector>
#include "bateau.h"
#include "colEquipement.h"
#include <QString>
using namespace std;
class BateauVoyageur : public Bateau
{
private:
int vitesseBatVoy;
string imageBatVoy;
ColEquipement lesEquipements;
public:
string ver... | [
"peterson.rostain@gmail.com"
] | peterson.rostain@gmail.com |
c1befc0dbb1a5bb399f691db82d42a8125797c68 | 39cabd2d103523b8ee758009ecc4f0beaf768a1f | /reverseK.h | fbd05f12187a5172b4d293cfb558b1544be51fdb | [] | no_license | Yindong-Zhang/nowcoder | 4de67b78b7ddb8cbae213f40cfc3dfa3d9ec05a0 | 28473f535d6ca564165bb8edad97f83e99202c42 | refs/heads/master | 2021-07-02T04:30:41.417765 | 2020-12-02T12:50:01 | 2020-12-02T12:50:01 | 202,059,878 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,822 | h | //
// Created by so_go on 2020/4/23.
//
#ifndef UNTITLED_REVERSEK_H
#define UNTITLED_REVERSEK_H
# include <bits/stdc++.h>
using namespace std;
struct list_node{
int val;
struct list_node * next;
};
list_node * input_list()
{
int val, n;
scanf("%d", &n);
list_node * phead = new list_node();
li... | [
"so_go_flying@163.com"
] | so_go_flying@163.com |
99fd4968da62970cb55ea1ddf36e97adadce5772 | 97e03fe85120edb2416a336d200fd2af471f17ca | /Personnal-projects-C++/2048/Sources/main.cpp | 745459dd84851ab5dbb9afd49c62e9e4a7160cdf | [] | no_license | ericJz/Personnal-projects | 06136ae4f34b99b3b60fbcb4eb4f0bcfaa913412 | 5d3dafd5bfe165480311176826219f1880e4af7b | refs/heads/master | 2021-01-17T16:22:20.224633 | 2016-07-07T07:52:24 | 2016-07-07T07:52:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,521 | cpp | #include <iostream>
#include <conio.h>
#include <ctime>
#include "app.h"
int main()
{
int order;
int i = 0;
// time_t start, end, period;
int basechoix, dimension;
std::cout << "you want to play with 2 or 3 as your base?" << std::endl;
std::cin >> basechoix;
while (basechoix != 2 && basecho... | [
"zcy.scott@gmail.com"
] | zcy.scott@gmail.com |
3caecf2ea3fbb64ead927ae690071d82c1ea9172 | abc47d74bd60ee1655c0bae2af29391978674643 | /yellow_belt/2_week/test_person.cpp | cf2383d309c8dbdd6b616091ec24ad0a3c02214c | [] | no_license | ivantishchenko/modern-cpp | 1d021b9b7531449cfde056ea92e10458f0d9cc2c | 695267d6e8d48c1b0bb276b497e362c0dd2c14b3 | refs/heads/main | 2023-07-15T18:37:55.854043 | 2021-08-25T20:09:26 | 2021-08-25T20:09:26 | 364,678,150 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,092 | cpp | #include <iostream>
#include <map>
#include <set>
#include <sstream>
#include <stdexcept>
#include <string>
#include <vector>
using namespace std;
template <class T>
ostream& operator << (ostream& os, const vector<T>& s) {
os << "{";
bool first = true;
for (const auto& x : s) {
if (!first) {
os << ", ... | [
"johnny.tishchenko@gmail.com"
] | johnny.tishchenko@gmail.com |
12613abfa9f0c9754b6284e227d43b0f3c006f19 | 0a4a0a089733395fc6207324ad8c9f1609e46c9f | /Maze C++/src/solve_line.cpp | fc94b39334c5acf575e3ff2e24b1f1a747688434 | [] | no_license | suribe1010/University_Projects | 2e913533337c3ee2e5c513aef29c5a664bdd66bc | fdda288cea4ce612d2e2ca21ba05f7c771858336 | refs/heads/master | 2021-01-04T20:17:07.572850 | 2020-02-15T16:35:19 | 2020-02-15T16:35:19 | 240,731,514 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,783 | cpp | #include <a_star.h>
#include <maze.h>
using namespace std;
using namespace ecn;
// a node is a x-y position, we move from 1 each time
class Position : public Point
{
typedef std::unique_ptr<Position> PositionPtr;
private:
const int height=Position::maze.height();
const int width=Position::maze.width();
... | [
"noreply@github.com"
] | noreply@github.com |
f722f16ea42010ca8bb64e324afcb01fc875e98d | cbbcfcb52e48025cb6c83fbdbfa28119b90efbd2 | /codechef/snackB/E.cpp | 9ad8e01f252ae631a79a4abad824cb76c72fb6d4 | [] | no_license | dmehrab06/Time_wasters | c1198b9f2f24e06bfb2199253c74a874696947a8 | a158f87fb09d880dd19582dce55861512e951f8a | refs/heads/master | 2022-04-02T10:57:05.105651 | 2019-12-05T20:33:25 | 2019-12-05T20:33:25 | 104,850,524 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,774 | cpp |
/*-------property of the half blood prince-----*/
#include <bits/stdc++.h>
#include <dirent.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include <ext/pb_ds/detail/standard_policies.hpp>
#define MIN(X,Y) X<Y?X:Y
#define MAX(X,Y) X>Y?X:Y
#define ISNUM(a) ('0'<=(a) && (a)<='9')
#defi... | [
"1205112.zm@ugrad.cse.buet.ac.bd"
] | 1205112.zm@ugrad.cse.buet.ac.bd |
e0c723b9434967159f888ac5f2263d03cd11391e | 1c4626a0898cf2f1fe40c9c573b986a8e3c1468c | /SpaceInvaders/Bullet.h | 8d67c35d722d2bb0195351bc8ce85ec9c5184548 | [] | no_license | Nerys-Thamm/SpaceInvaders-SFML | ae24a02d5fde5eb9d1d8af02982e24935bc3839d | 14c58140f120e7de2063f94a57ed5cfbab0439e0 | refs/heads/master | 2022-12-20T19:01:07.324467 | 2020-10-03T02:14:30 | 2020-10-03T02:14:30 | 299,588,991 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,662 | h | ////////////////////////////////////////////////////////////
//==========================================================
// Bachelor of Software Engineering
// Media Design School
// Auckland
// New Zealand ... | [
"NerysThamm@gmail.com"
] | NerysThamm@gmail.com |
764b0e69b28dc70485247698c4399d173208ccaf | 7cb47a1edbc5a74a00af0e9e7b67cacf448994f0 | /src/app/ext/media/gfx/gfx-scene.cpp | 00bf0dfcb505bd0efe011135201b5bb54d07f272 | [
"MIT"
] | permissive | indigoabstract/techno-globe | 2c24819abe9774309fa7a9175c1c63676c31571a | 1f01b231bece534282344fa660d5f9a8cc07262e | refs/heads/master | 2021-04-06T10:25:27.866859 | 2018-04-11T12:18:42 | 2018-04-11T12:18:42 | 125,355,507 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,791 | cpp | #include "stdafx.h"
#include "gfx-scene.hpp"
#include "gfx-state.hpp"
#include "gfx-camera.hpp"
#include "gfx-vxo.hpp"
#include "gfx.hpp"
#include "gfx-tex.hpp"
#include "gfx-util.hpp"
#include "gfx-shader.hpp"
#include "pfmgl.h"
glm::vec3 gfx_transform::get_forward_dir()
{
return orientation() * glm::vec3(0, 0, ... | [
"indigoabstract@gmail.com"
] | indigoabstract@gmail.com |
56557d70c471b3d5f0b9b34d7ae1b885f55aa803 | c18fe82db18be9ac493d94362e5f08ae676a5b9a | /algorithms/dyanmic_programming/longestcommonsubs/main.cpp | 47330d32d358de230fab90be41a5f04070a59c69 | [] | no_license | charlesq/Euthenia | e05347d8dadd3249d06aece62d28bf3e10866339 | 5ca738a249215c439156e29dca495840a6488cbb | refs/heads/master | 2021-01-15T19:40:13.679311 | 2019-01-21T04:05:11 | 2019-01-21T04:05:11 | 15,544,644 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,308 | cpp | #include <iostream>
#include <utility>
#include <ctime>
#include <cstdlib>
#include <climits>
#include <forward_list>
#include <stack>
#include <queue>
#include <string.h>
#include <vector>
using namespace std;
string lcs(const string &a, const string & b)
{
unsigned int ai = 0, bi = 0;
unsigned int l = 0;
... | [
"Charles.Zxxx@gmail.com"
] | Charles.Zxxx@gmail.com |
e1362858ae247a1454af14cc23bb595b02450087 | 02d1be45f769b40ccf1a28977019948443e49eab | /Regex_Example.cc | e208f6e94716bfe5a78a5744ba7394f4898bbe6b | [
"MIT"
] | permissive | ucarlos/Programming-Principles-Chapter23 | 79c20beae8758d1e93bb23a4ed18c7c75415c947 | 30234d31720e9194880cc84d04d3d6247ce1c1a0 | refs/heads/master | 2023-03-08T11:38:54.714376 | 2021-02-23T19:35:07 | 2021-02-23T19:35:07 | 327,123,124 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 910 | cc | /*
* -----------------------------------------------------------------------------
* Created by Ulysses Carlos on 01/03/2021 at 06:10 PM
*
* Regex_Example.cc
*
* -----------------------------------------------------------------------------
*/
#include <iostream>
#include <string>
#include <fstream>
#include <... | [
"ulysses_carlos@protonmail.com"
] | ulysses_carlos@protonmail.com |
0418101e870fedd4da20173e2c19448733d96765 | 7bc58e0e6a34f3d74c2da7b367ad348e1a8862d0 | /tools/kactus2/kactus2-3.2.35/IPXACTmodels/kactusExtensions/Kactus2Value.h | 9aae03d5ae84212df357e414fbd92b1f0c40b8bf | [] | no_license | ouabache/fossi | 3069e7440597b283b657eaee11fbc203909d54aa | e780307bff0bb702e6da36df5d15305354c95f42 | refs/heads/master | 2020-07-02T08:58:41.834354 | 2017-04-06T15:59:09 | 2017-04-06T15:59:09 | 67,724,364 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,423 | h | //-----------------------------------------------------------------------------
// File: Kactus2Value.h
//-----------------------------------------------------------------------------
// Project: Kactus 2
// Author: Esko Pekkarinen
// Date: 20.5.2014
//
// Description:
// Kactus2 vendor extension for name-value... | [
"z3qmtr45@gmail.com"
] | z3qmtr45@gmail.com |
0f92e3dfa43af89dbc4ab4a9bbbe397b242fa3d3 | 9f149db67482ca24c8abf8294a0b1e1d58b9a71f | /drake/examples/QPInverseDynamicsForHumanoids/humanoid_status.cc | a6498b3d59dcdf8dcf97e0e5fd3b97920f3d36fb | [
"BSD-3-Clause"
] | permissive | katanachan/drake | cbe57a07ab1042487b2703703dc3fff4e5894b05 | 07090bc103333304dfdbd78accfa64feb30ea197 | refs/heads/master | 2021-01-24T11:18:34.606922 | 2016-10-07T00:46:53 | 2016-10-07T00:46:53 | 70,239,226 | 1 | 0 | null | 2016-10-07T11:07:56 | 2016-10-07T11:07:56 | null | UTF-8 | C++ | false | false | 4,408 | cc | #include "humanoid_status.h"
#include <iostream>
namespace drake {
namespace example {
namespace qp_inverse_dynamics {
// TODO(siyuan.feng@tri.global): These are hard coded for Valkyrie, and they
// should be included in the model file or loaded from a separate config file.
const Eigen::Vector3d HumanoidStatus::kFoot... | [
"siyuan.feng@tri.global"
] | siyuan.feng@tri.global |
e24dff503d78b9ab57338b6469aa165d2870867a | 44622e013415d2bcb82522b7bffdca652bd5d6e5 | /stage_2/stage_2/StateShowProblem.h | 4d753060f0b9a1c9696cd5e573be903765de98fa | [] | no_license | JeLLek1/pea-project | 87d4a3a64d23e454e5fc9c2757a4bf170943490f | 89214478fd253def7d6d072542f733c46dd90ea5 | refs/heads/main | 2023-02-28T06:14:42.650964 | 2021-01-25T20:21:28 | 2021-01-25T20:21:28 | 311,528,815 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 273 | h | #pragma once
#include <string>
#include "AState.h"
class StateShowProblem : public AState
{
public:
// przetwarzanie rządań i wyświetlanie informacji na ekranie
virtual void process();
// przetwarzanie wciśniętych klawiszy
virtual bool handleInput(char key);
};
| [
"jellek@wp.pl"
] | jellek@wp.pl |
177fb037c5d544333b315adab0921caa628e8368 | 9923e30eb99716bfc179ba2bb789dcddc28f45e6 | /openapi-generator/cpp-restsdk/model/InlineObject4.cpp | 84fc2c921f171c9479f66d2a539f9e7a187d6b9d | [] | no_license | silverspace/samsara-sdks | cefcd61458ed3c3753ac5e6bf767229dd8df9485 | c054b91e488ab4266f3b3874e9b8e1c9e2d4d5fa | refs/heads/master | 2020-04-25T13:16:59.137551 | 2019-03-01T05:49:05 | 2019-03-01T05:49:05 | 172,804,041 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,638 | cpp | /**
* Samsara API
* # Introduction Samsara provides API endpoints for interacting with Samsara Cloud, so that you can build powerful applications and custom solutions with sensor data. Samsara has endpoints available to track and analyze sensors, vehicles, and entire fleets. The Samsara Cloud API is a [RESTful API]... | [
"greg@samsara.com"
] | greg@samsara.com |
c62cf54977f7d7080016934d0a8eed1698101f81 | ab9301143be53a6bd407f84c98356f5963c9f9be | /gr-demod_8/lib/qa_demod_8.h | a84e0b48a0b16ef9ee665bc9e7a63fcd6c79ceff | [] | no_license | Agrim9/FHSS_GNUradio | 69511752207b28091c93c4d0750869b5aba8f0bf | b303a88cb62257c6167aa705e3f19d6eb60713c5 | refs/heads/master | 2021-01-11T08:00:11.419803 | 2016-12-31T12:24:37 | 2016-12-31T12:24:37 | 72,123,437 | 29 | 19 | null | null | null | null | UTF-8 | C++ | false | false | 1,163 | h | /* -*- c++ -*- */
/*
* Copyright 2012 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* GNU Radio is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option... | [
"agrim9gupta@gmail.com"
] | agrim9gupta@gmail.com |
7b2ae738b1eb8fd925422f3ed00f256c57917871 | 8f63c9342469fc4055e76d85116a8188dd7e10b3 | /CefSharp/JsTask.cpp | 9c160b7887d8c93cdbefac904855cff473e00679 | [
"BSD-3-Clause"
] | permissive | tenbits/CefSharp | f9391a584e1cedb0ee1b4ea12218493aaf0ce338 | 14e184d3f21e6a747c4bb7a016bfbe638d16e30c | refs/heads/master | 2021-01-15T21:49:44.450599 | 2011-06-26T09:34:43 | 2011-06-26T09:34:43 | 2,000,629 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 449 | cpp | #include "stdafx.h"
#include "JsTask.h"
#include "Utils.h"
namespace CefSharp
{
void JsTask::HandleSuccess(CefRefPtr<CefV8Value> result)
{
Object^ obj = convertFromCef(result);
if(obj != nullptr)
{
_browser->SetJsResult(obj->ToString());
}
else
{
... | [
"tom.rathbone@gmail.com"
] | tom.rathbone@gmail.com |
7edb301eb3b7779a15f3e4d5c5e8c863186371fc | e95bc36d974257613aca5c54ede8cae688071c62 | /Anul 1/POO/QuizGame/QuizGame/QuestionCreationDialog.h | 2c66825189597bf33aad288ed4d4e2e4e2baa377 | [] | no_license | PredaMihaiDragos/Facultate | 7891a5f07a372e0e06262b517956318a26fcdab4 | f4080e537dee781200b129a4869151796f889ce1 | refs/heads/master | 2022-12-22T02:02:09.485931 | 2021-04-23T06:19:35 | 2021-04-23T06:19:35 | 249,676,290 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 671 | h | #pragma once
#include <wx/wxprec.h>
#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif
#include <wx/display.h>
#include <wx/dialog.h>
#include "Question.h"
#include "style.h"
class QuestionCreationDialog :
public wxDialog
{
public:
QuestionCreationDialog(wxWindow* parent);
virtual ~QuestionCreationDialog() {};
protecte... | [
"48451420+PredaMihaiDragos@users.noreply.github.com"
] | 48451420+PredaMihaiDragos@users.noreply.github.com |
a53578e227bd4bba0033bfea95a0a491f8382679 | b401b6b804827c1cd017251130e506542d8eb554 | /src/daemon/rpc_command_executor.cpp | c11dd7085b766083599b675f90481c92fe079281 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | Drewsy0613/monerov | 133faa7d6c66171d2b76ad9dc9823c07df1e80d0 | 2c78dc01aae6cbef447faa25a06371338b72aef8 | refs/heads/master | 2020-04-14T06:42:17.115523 | 2018-12-08T13:25:22 | 2018-12-08T13:25:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 60,712 | cpp | // Copyright (c) 2014-2018, The Monero Project
//
// 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 o... | [
"miltonf@monerov.org"
] | miltonf@monerov.org |
09d76eb450306d7231e54f448ef7f7a47d4b03b0 | 9de18ef120a8ae68483b866c1d4c7b9c2fbef46e | /src/Symbols/include/Symbols/MockSymbolCache.h | 53314830326f0b5613f6455be70947377fae7a2c | [
"BSD-2-Clause",
"LicenseRef-scancode-free-unknown"
] | permissive | google/orbit | 02a5b4556cd2f979f377b87c24dd2b0a90dff1e2 | 68c4ae85a6fe7b91047d020259234f7e4961361c | refs/heads/main | 2023-09-03T13:14:49.830576 | 2023-08-25T06:28:36 | 2023-08-25T06:28:36 | 104,358,587 | 2,680 | 325 | BSD-2-Clause | 2023-08-25T06:28:37 | 2017-09-21T14:28:35 | C++ | UTF-8 | C++ | false | false | 600 | h | // Copyright (c) 2022 The Orbit 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 SYMBOLS_MOCK_SYMBOL_CACHE_H_
#define SYMBOLS_MOCK_SYMBOL_CACHE_H_
#include <gmock/gmock.h>
#include "Symbols/SymbolCacheInterface.h"
namespace... | [
"noreply@github.com"
] | noreply@github.com |
ced9f45ce1946c1c3c187ced4a42124a3b9efb34 | a17379e70b7b8bcd4b826475961666f25f4b7269 | /image.hpp | 74bdd02e4a404ea07e3d383646f9b6b436e8360e | [] | no_license | eightys3v3n/imageViewer | 0e2aa7e4e92ed5255f866c5d40cc4178eed79019 | e159fa36aa2a1d6d8ca2a1f64ef3447c697009f3 | refs/heads/master | 2020-05-25T22:42:11.588756 | 2017-01-16T03:00:19 | 2017-01-16T03:00:19 | 59,589,742 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 337 | hpp | #ifndef IMAGE_
#define IMAGE_
#include <string>
#include <vector>
#include <SFML/Graphics.hpp>
#include <SFML/System.hpp>
#include "filesystem.hpp"
#include "sorting.hpp"
typedef std::string string;
bool loadImage();
void fitImage();
bool nextImage();
bool lastImage();
#endif // IMAGE_
// written by terrence plunk... | [
"eightys3v3n+github@gmail.com"
] | eightys3v3n+github@gmail.com |
5ffbecfe8c51d1aa578ba619d17b582bd9ce15ab | bc6baf9bce6867566c41e051bfa96da22ea36017 | /OOP/test_file.cpp | 8c6de4bc6dfc23536324cc26825ab61ce0a255c3 | [] | no_license | hoangnamwar/c- | 9ca1267e5ac9df9b39ae7c4c955eb624b301f3bd | d53b3cbc0015dca6d200afc31bcd51b763e3df79 | refs/heads/master | 2022-12-11T17:17:41.466844 | 2020-09-19T23:16:32 | 2020-09-19T23:16:32 | 297,013,998 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,830 | cpp | #include<iostream>
#include<fstream>
#include<string>
using namespace std;
#define MAX 200
string ten[MAX];
string sdt[MAX];
string email[MAX];
int main()
{
//----------Doc file--------------------------------
int N = 0;
fstream fin("test_file.dat", ios::binary);
fin >> N;
char temp... | [
"58459427+hoangnamwar@users.noreply.github.com"
] | 58459427+hoangnamwar@users.noreply.github.com |
9ed7588f9485b003f287e9cf364bdab614d3e39d | 029c481b44b44c42605a8a828c358af39679300f | /basic/Calculator10869.cpp | 150d9c143b7389956e78e20eca9c70d557f2e522 | [] | no_license | cbajs12/BOJ | 93f4406c8820b834a48166f18abf89b7481cab7e | 1e6ac6c98fe1336dd48db146199f8ebe7c4e216f | refs/heads/master | 2020-05-29T12:23:11.757012 | 2019-06-08T12:14:58 | 2019-06-08T12:14:58 | 68,577,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 349 | cpp | #include <iostream>
using namespace std;
int main(void){
int num1;
int num2;
cin>>num1>>num2;
if(num1 < 1 || num1 > 10000)
return 0;
if(num2 < 1 || num2 > 10000)
return 0;
cout<<num1+num2<<endl;
cout<<num1-num2<<endl;
cout<<num1*num2<<endl;
cout<<num1/num2<<endl;... | [
"cbajs20@gmail.com"
] | cbajs20@gmail.com |
0ca0392e2f08b2e2aca0f90c333d8d4b71fe6f5d | d66e521445d85a1ff8a56140ffa9d09cb3b259cd | /exercicioPraticoMain.h | 611c55e39b10aed38792fbb11dc090f3c191f0cc | [] | no_license | EdmilsonOSJr/exercicioPratico | 783669b1137999dbf25da186a8a34f5c398ddf02 | aa3e7d38b51fef91db5f28980110c3e5770396d2 | refs/heads/main | 2023-01-06T03:11:46.090269 | 2020-11-11T00:49:45 | 2020-11-11T00:49:45 | 311,811,761 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,278 | h | /***************************************************************
* Name: exercicioPraticoMain.h
* Purpose: Defines Application Frame
* Author: ()
* Created: 2020-11-10
* Copyright: ()
* License:
**************************************************************/
#ifndef EXERCICIOPRATICOMAIN_H
#define ... | [
"44274029+EdmilsonOSJr@users.noreply.github.com"
] | 44274029+EdmilsonOSJr@users.noreply.github.com |
fcb8e53eadf41f791b0a15206961a86de636f634 | bcf138c82fcba9acc7d7ce4d3a92618b06ebe7c7 | /rdr2/0x5EE6FCCC9C832CA2.cpp | 958259ed15c82616a2eb969096be260b8d2c01c8 | [] | no_license | DeepWolf413/additional-native-data | aded47e042f0feb30057e753910e0884c44121a0 | e015b2500b52065252ffbe3c53865fe3cdd3e06c | refs/heads/main | 2023-07-10T00:19:54.416083 | 2021-08-12T16:00:12 | 2021-08-12T16:00:12 | 395,340,507 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 438 | cpp | // annesburg.ysc @ L6193
void func_181(int iParam0, int iParam1)
{
if (iParam0 < 0 || iParam0 >= Global_40.f_9829)
{
return;
}
func_289(&(Global_40.f_9829[iParam0 /*4*/].f_2), iParam1);
}
Vector3 func_182(int iParam0)
{
if (!func_140(iParam0))
{
return 0f, 0f, 0f;
}
if (!PERSCHAR::_0x800DF3FC91... | [
"jesper15fuji@live.dk"
] | jesper15fuji@live.dk |
0a24cdde859c99e62a90a2508c4c41a79cbe2843 | 4c23be1a0ca76f68e7146f7d098e26c2bbfb2650 | /ic8h18/0.0055/DC6H13 | a409246699b37685f60ea72b72f5cfe6afe1430c | [] | no_license | labsandy/OpenFOAM_workspace | a74b473903ddbd34b31dc93917e3719bc051e379 | 6e0193ad9dabd613acf40d6b3ec4c0536c90aed4 | refs/heads/master | 2022-02-25T02:36:04.164324 | 2019-08-23T02:27:16 | 2019-08-23T02:27:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 839 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"jfeatherstone123@gmail.com"
] | jfeatherstone123@gmail.com | |
475557ea5dda2187be9ad27020cafc18bfa94cd5 | 80ce148b64401defbfdb2a9becdfbfcee25e4a01 | /src/wallet/test/wallet_tests.cpp | 7b33eb22fba564154bec7dd6936ede5944dd28a6 | [
"MIT"
] | permissive | KhryptorGraphics/starshipscrypt | 1015e19644aff5a79fe25e21a79492917c27f2f1 | 3a7e32fae33bc382fb31c4d588d2e9773ea490bc | refs/heads/master | 2021-09-23T09:00:47.454818 | 2021-09-13T22:34:18 | 2021-09-13T22:34:18 | 138,207,950 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,401 | cpp | // Copyright (c) 2012-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "wallet/wallet.h"
#include <set>
#include <stdint.h>
#include <utility>
#include <vector>
#include "consensus/vali... | [
"khryptor@starshipcoin.com"
] | khryptor@starshipcoin.com |
e58bc7187aeace46ade77bf0662b0b2af539723e | 4623f7baa370845e384d2b613a4c1be4bfe53ab3 | /planar_rgb_pose/planar_rgb_pose_estimator.h | 9e29200828d498b542ea336ce2ffc8f0d0b3c840 | [] | no_license | EricCousineau-TRI/tri_exp | 97a9f65f4232cdca55de2606f17ec4fe5004de6c | 6ca5b13451833907de9cce26bb869ff6ece471ac | refs/heads/master | 2021-01-16T18:22:38.899595 | 2017-08-11T21:49:29 | 2017-08-11T21:49:29 | 100,066,964 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 721 | h | #include "planar_rgb_model.h"
#include <memory>
// This class loads a rgb template and a feature detector to do template matching.
// KNN matching is used. Then a rigid transformation is estimated.
// Todo (Jiaji): right now only takes orb feature. Use others later.
// Provides interface to estimate pose given a query ... | [
"robinzhou55@gmail.com"
] | robinzhou55@gmail.com |
370ab3b36a1e8b979e906efe3b23b3a9688cfb20 | 43a54d76227b48d851a11cc30bbe4212f59e1154 | /mps/src/v20190612/model/EditMediaTask.cpp | 9fe7531fef679d8daad6f060c831ece2991943e0 | [
"Apache-2.0"
] | permissive | make1122/tencentcloud-sdk-cpp | 175ce4d143c90d7ea06f2034dabdb348697a6c1c | 2af6954b2ee6c9c9f61489472b800c8ce00fb949 | refs/heads/master | 2023-06-04T03:18:47.169750 | 2021-06-18T03:00:01 | 2021-06-18T03:00:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,113 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | [
"tencentcloudapi@tenent.com"
] | tencentcloudapi@tenent.com |
6ecd57bbd1268701c5b4e836c8f4603287d11fb4 | c4d312876a4eeb2aea8cec7b971a802ab49640d8 | /LearnOpenglGPGPU/HistogramEqualizationTask.h | e3cc2afa0f494786481d424df896feb66291332a | [] | no_license | cjj19970505/LearnOpenglGPGPU | 510709a22cae43395a927d750f109ea94386cd28 | 3612734252ccee80675532a6c3c671d1fce20f41 | refs/heads/master | 2021-04-18T21:30:57.004604 | 2018-04-05T14:59:45 | 2018-04-05T14:59:45 | 126,440,948 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,306 | h | #pragma once
#include "ComputeTask.h"
#include "ComputeShader.h"
#include <glad\glad.h>
#include "HistogramComputeTask.h"
///输入一副图像RGB,输出直方图均衡化的结果(只有灰度)
class HistogramEqualizationTask :
public ComputeTask
{
private:
GLuint summedHistogramArrayId = 0;
//GL_TEXTURE_2D, GL_RED, GL_R32F 灰度图!!
GLuint sourceTextureId =... | [
"cjj19970505@live.cn"
] | cjj19970505@live.cn |
0a453a6e70d45e5e8e9e771b460e146ddd5594ea | ca71a8028ae57cac5e8f9b10fa0db3333efec086 | /ACC sharedmemory exposer/SDK/ACC_SprintToEndurance_parameters.hpp | 955d84336d72c66a02e1b6f6496c9ec0094ce8cb | [] | no_license | Sparten/ACC | 42d08b17854329c245d9543e5184888d119251c1 | 3ee1e5c032dcd508e5913539feb575f42d74365e | refs/heads/master | 2020-03-28T20:47:48.649504 | 2018-10-19T20:47:39 | 2018-10-19T20:47:39 | 149,102,523 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 383 | hpp | #pragma once
// Assetto Corsa Competizione (0.1.0) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ACC_SprintToEndurance_classes.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//-----------------------------------------------------------... | [
"sportcorp@hotmail.com"
] | sportcorp@hotmail.com |
a42d49c460226ee30735a2ba60eae47047ff2941 | ab6feef7a398abf812bc23e19d71bdb3b6d27710 | /c++/Others/Final Crisis.cpp | ff636442f588d17b8b4f4fbb2f7398a4bb2fb7f7 | [] | no_license | VimForLaNie/C-Coding-Practice | 90a6ad03008838b8d3da11a2c05f716f5425738d | 42c6a7fa4a88352d8e3252cd717bf67d1a8fa42f | refs/heads/master | 2023-03-24T09:38:45.464439 | 2021-03-07T12:24:40 | 2021-03-07T12:24:40 | 210,138,389 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 925 | cpp | #include <bits/stdc++.h>
using namespace std;
int n,m,q,a,b,c,d,k,i,j,i_b,i_h;
vector <int> bio;
vector <int> sum_bio;
vector <int> his;
vector <int> sum_his;
int temp;
int main(){
cin >> n >> m >> q;
for(i = 0; i < n; i++){
cin >> temp;
bio.push_back(temp);
if(i > 1){
sum_bio.push_back(bio[i] + sum_bio[i... | [
"new.giant098@gmail.com"
] | new.giant098@gmail.com |
7c6522f38cf902f9b0a4b71b137cbad463584fae | a8f4ba1a8144d461e4bfe7c41e674615de10ee34 | /client/Classes/View/Layers/GameOverLayer/GameOverLayer.h | e267baaf3d2995799763d02e9f001f0c2caaaca8 | [
"Apache-2.0"
] | permissive | gdtdftdqtd/BaseWar | 0e8ff1e9a8809b32bfe11474da5aa94f8b556fe3 | c1c98a9f431ebca7944a55495938da0334319afb | refs/heads/master | 2023-03-08T13:00:20.847125 | 2023-02-12T15:05:40 | 2023-02-12T15:05:40 | 42,637,417 | 0 | 0 | Apache-2.0 | 2023-02-12T15:05:41 | 2015-09-17T05:47:29 | C++ | UTF-8 | C++ | false | false | 572 | h | #ifndef __GAMEOVERLAYER_H__
#define __GAMEOVERLAYER_H__
#include "cocos2d.h"
class GameOverLayer: public cocos2d::CCLayerColor {
public:
// Here's a difference. Method 'init' in cocos2d-x returns bool, instead of returning 'id' in cocos2d-iphone
virtual bool init();
// a selector callback
void leaveTouched(cocos... | [
"klaus.plankensteiner@gmx.at"
] | klaus.plankensteiner@gmx.at |
b5168d6063ff06156d3130361484d59099a795a1 | 1ca4630d295872283280b5f953ffb4fc2b69d8b3 | /PRIORITY_QUEUE-MIN_HEAP/priority_queue-min_heap.h | 3f20217aa481426c80ea111c67482642a5a9e9b4 | [] | no_license | Amit-Khobragade/Data-Structures-in-cpp | 4759d3daca425bd0862a841b974673d978462344 | a895d1cd0a6b0dbcd47f78eb80a0b94ec8ffa8fa | refs/heads/master | 2022-11-28T04:16:27.288645 | 2020-07-17T12:25:24 | 2020-07-17T12:25:24 | 280,367,576 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,592 | h | #pragma once
#include <iostream>
#include <vector>
//single queue element with priority and some overloaded
//operator for cleaner code
template<typename T>
struct queue_element {
T key;
int priority;
queue_element( T _key = 0, int _priority = 0 )
:key{ _key }, priority{ _priority }
{}
bool operator<( const qu... | [
"amitmusicstar@gmail.com"
] | amitmusicstar@gmail.com |
be46bdcb3ff03c4d80cf2256940f7047e3a8c8fa | d68065af759b97bc2b078a893cd88a894e67a105 | /src/binstats.hpp | 37fdd7c05c20ae48a1ec97db0b27ec155ec99f12 | [] | no_license | daniel-starke/binstats | 3fa27a701ed3269356186dd4832c70f1240a56b4 | 5ead93b1dfdd0193ba74094d37276ef1b2235825 | refs/heads/master | 2023-05-04T19:55:39.257305 | 2023-04-22T08:25:39 | 2023-04-22T08:25:39 | 112,926,633 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 247 | hpp | /**
* @file binstats.hpp
* @author Daniel Starke
* @copyright Copyright 2017-2023 Daniel Starke
* @date 2017-12-01
* @version 2017-12-01
*/
#ifndef __BINSTATS_HPP__
#define __BINSTATS_HPP__
#include <FL/Fl.H>
#endif /* __BINSTATS_HPP__ */
| [
"daniel-email@gmx.net"
] | daniel-email@gmx.net |
281e5f0713a20d3e0f5abeea5703f68b6314a27f | 43e8ddb15cbc59b871f10cc83395480a381c799b | /open_set.cpp | e9f0a3c08f7425ec35d5b75863cc676acff57638 | [] | no_license | HarindiP/AdvancedRobotics | 3d786a467ea0b99ffb98b0521055bacbe9b04c6b | a670bf011fd4694baeac8f4388cf49fa1db000ed | refs/heads/master | 2020-07-14T11:51:14.711076 | 2019-09-11T11:36:36 | 2019-09-11T11:36:36 | 205,313,375 | 0 | 0 | null | 2019-11-27T06:34:46 | 2019-08-30T05:49:32 | C++ | UTF-8 | C++ | false | false | 2,344 | cpp | #include "astar_path_planner/open_set.h"
#include <limits>
#include <ros/ros.h>
namespace astar_path_planner
{
void OpenSet::push(const Node& n)
{
nodes_.push_back(n);
}
Node OpenSet::pop(double heuristic_cost_weight)
{
int index = 0; //saves the id
// double best_combined_cost = nodes_[0].cost + ( nodes_[0].heu... | [
"noreply@github.com"
] | noreply@github.com |
cf91ff6b2656656e64c75d5c3ce97e8376962be8 | dbaa6e4666f52806c661379e4a67906bbf547b22 | /test/exampleTest.cpp | fb9c25578d1220c61f48e81df8ff451230c1c89d | [
"BSD-2-Clause"
] | permissive | andy-c-jones/cpp-http-service | 0aeec04fd90b7029569177c7884dbc8f3ab10a14 | c81de2d4b5f4c031e4a16562882d570fa00239da | refs/heads/master | 2021-05-06T19:42:14.106696 | 2017-11-29T16:29:36 | 2017-11-29T16:29:36 | 112,173,167 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 365 | cpp | #include <gmock/gmock.h>
#include "../src/service/Example.h"
using ::testing::_;
class ExampleTest : public ::testing::Test {
};
TEST(ExampleTest, test_something) {
auto something = std::make_unique<Example>();
crow::json::wvalue actual;
actual = something->doSomething();
EXPECT_EQ(crow::json::dump(... | [
"acjones@protonmail.com"
] | acjones@protonmail.com |
6096a7f4d082ad33f1250725be448b69988abd06 | 924c3b051dacc55d5d561572300368b1cc038bca | /cpp/testutils/src/core/OperationTestUtils.cpp | 4732feb027ecedeaed543c7133fba9ae60e989e4 | [
"MIT"
] | permissive | rohitphogat19/spectrum | ce803dcf5ed6ad28b4a680ac6653bbd4fa526758 | 71fa694d66de3513d57ba9b5afd620e8a0bdc571 | refs/heads/master | 2021-06-16T10:39:04.181349 | 2021-03-04T12:58:10 | 2021-03-04T12:58:10 | 172,004,814 | 0 | 0 | MIT | 2019-02-22T06:12:04 | 2019-02-22T06:12:01 | null | UTF-8 | C++ | false | false | 1,195 | cpp | // Copyright (c) Facebook, Inc. and its affiliates.
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
#include "OperationTestUtils.h"
#include <spectrum/testutils/image/SpecificationTestUtils.h>
namespace facebook {
namespace spectrum {
n... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
c2b3e29e8278468c39c89a0095917c736dca478a | 0e56ee6fdfe0dd3dad736e608c2e823e8bbed521 | /egen/TestHarness/Reference/inc/FlatTaxrateLoad.h | c134ea9b531109a0821b33fe063c2201ff9f77e7 | [
"Artistic-1.0"
] | permissive | dotweiba/dbt5 | d510ab80e979704db71b6d25a9cd7a1a754640b4 | 39e23b0a0bfd4dfcb80cb2231270324f6bbf4b42 | refs/heads/master | 2021-03-09T23:10:31.789560 | 2020-04-27T00:07:33 | 2020-04-27T00:38:06 | 246,391,034 | 0 | 0 | NOASSERTION | 2020-03-10T19:36:36 | 2020-03-10T19:36:36 | null | UTF-8 | C++ | false | false | 2,632 | h | /*
* Legal Notice
*
* This document and associated source code (the "Work") is a preliminary
* version of a benchmark specification being developed by the TPC. The
* Work is being made available to the public for review and comment only.
* The TPC reserves all right, title, and interest to the Work as provided
*... | [
"devnull@localhost"
] | devnull@localhost |
d6b25dec8ab05395f94aa49872c55bcf2f12c8c7 | 5da79123d203da34fd45d1f5849f29d15a7ed211 | /BST/search.cpp | 93cf99bd9a686f0f03a5a8174c106b6d749a4195 | [] | no_license | PrshntS/PREP | 6d7c1f1ad3f1235e1f9c9b49b34e4b0a64c7a552 | ca5a8c00006927a19a995e84253bfdd315e34bd4 | refs/heads/master | 2023-05-06T00:52:22.293090 | 2021-05-28T09:12:12 | 2021-05-28T09:12:12 | 305,622,125 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,310 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long
#define endl "\n"
#define mx INT_MAX
#define mn INT_MIN
#define pb push_back
class node
{
public:
int x;
node* left;
node* right;
node(int d)
{
x = d;
left = NULL;
right = NULL;
}
};
node* insert(node* root, int key)
{
if (!root)
{
retur... | [
"51121370+PrshntS@users.noreply.github.com"
] | 51121370+PrshntS@users.noreply.github.com |
3b4a45f965f6560e64dd4411b9df3886ddc9e50d | 3b80b8cf0fdc3c3e7572df708b71fa0fee08f6ca | /Source/TgK/TrafficManager.h | 9866620ecda213a4acf042743e5c48584909976c | [] | no_license | AaronReyes-ML/Game-Practice-1 | 6804b9a37437400cf63e39a7e7484c5b0f4021b1 | ed47eb9459258c33ce2c606829a9fbaa77406ff7 | refs/heads/master | 2020-06-18T17:41:45.283904 | 2019-07-11T12:02:04 | 2019-07-11T12:02:04 | 196,385,939 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,568 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "Engine.h"
#include "TrafficManager.generated.h"
UCLASS()
class TGK_API ATrafficManager : public AActor
{
GENERATED_BODY()
public:
// Sets... | [
"52780561+AaronReyes-ML@users.noreply.github.com"
] | 52780561+AaronReyes-ML@users.noreply.github.com |
a35a453b9f14a9ff5523f6475707033c20ba3f70 | c9a8813b53bc0ad229220f710c1f2b5a17b078b0 | /example/Uniteller/InterchangeFormats/Kernel/System/t0262/references/kernel/message.h | f1abbc699fb8cb2924a37988cc5e581aa38ae0bb | [] | no_license | Adramalek/CppTestTask | b83c36aea9eca01491eb33af24fcfe7d3b10139a | 6f3008dcbfa25d2cf6ced34e301bae03cb6934ba | refs/heads/master | 2020-03-28T14:30:06.579277 | 2018-09-18T12:35:21 | 2018-09-18T12:35:21 | 147,964,408 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 7,979 | h | // Uniteller.Framework.Kernel
// Version: 1.0.0
// Generation: 1
// Файл содержит реализацию сообщения, передаваемого по шине передачи сообщений
#pragma once
#include "imessage.h" // IMessage
#include "variant.h" // Variant
#include "smartpointer.h" // SmartPointer<T>
#include <vector> // std::vector
namespace Unit... | [
"beherith10.02@gmail.com"
] | beherith10.02@gmail.com |
e82ff26bb080a03047571c3dcb70c5af994b3c37 | d09945668f19bb4bc17087c0cb8ccbab2b2dd688 | /codeforce/241-260/cf252/b2.cpp | 45648729db2d80792d5de6f872c69e34b9ec0125 | [] | no_license | kmjp/procon | 27270f605f3ae5d80fbdb28708318a6557273a57 | 8083028ece4be1460150aa3f0e69bdb57e510b53 | refs/heads/master | 2023-09-04T11:01:09.452170 | 2023-09-03T15:25:21 | 2023-09-03T15:25:21 | 30,825,508 | 23 | 2 | null | 2023-08-18T14:02:07 | 2015-02-15T11:25:23 | C++ | UTF-8 | C++ | false | false | 1,184 | cpp | #include <cstdlib>
#include <cstring>
#include <memory>
#include <cstdio>
#include <iostream>
#include <cmath>
#include <string>
#include <stack>
#include <queue>
#include <vector>
#include <set>
#include <map>
#include <algorithm>
using namespace std;
typedef signed long long ll;
#undef _P
#define _P... | [
"kmjp"
] | kmjp |
ea20d6760c096a59a6bdc325f2abc4df6d4e8a64 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/hunk_6533.cpp | bbd9f66ff6b248cb1800af21cdbc107a9a059aff | [] | 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 | 1,283 | cpp | storeAppendPrintf(sentry, "\tRequests given to unlinkd:\t%d\n",
Counter.unlink.requests);
+ storeAppendPrintf(sentry, "Median Service Times (seconds) 5 min 60 min:\n");
+ storeAppendPrintf(sentry, "\tHTTP Requests (All): %8.5f %8.5f\n",
+ statMedianSvc(5, MEDIAN_HTTP) / 1000.0,
+ statMedianSvc(60, M... | [
"993273596@qq.com"
] | 993273596@qq.com |
24972c139f87b1e0038aeb647e38086ef6de5551 | 739732d3a6b548404f432ad8ff918841249a18ec | /src/TransController/TransSession.cc | 7c52691faa56b3cc1416e722c33530ad67fcf171 | [] | no_license | yiique/TranslationSystemSimple | 9417e14c198c9622fbb9e1f046445ba1462b458f | 62a9eea538bae1739b7a4e2bfa39fd0e27d8967d | refs/heads/master | 2020-04-09T21:25:23.550131 | 2016-09-12T12:59:12 | 2016-09-12T12:59:12 | 68,007,511 | 0 | 0 | null | 2016-09-12T12:59:12 | 2016-09-12T12:37:25 | C++ | GB18030 | C++ | false | false | 8,529 | cc | #include "TransSession.h"
#ifdef ENABLE_SOFT_PROTECT
#include "SoftProtect/PermitKey.h"
#endif
TransSession::TransSession(const CallID & cid,
const int sockfd,
trans_task_share_ptr sp_task):
CSession(cid, sockfd),
m_sp_task(sp_task)
{
#ifdef OUTPUT_TRANS_TIME
... | [
"liushuman@liushumandeMBP.lan"
] | liushuman@liushumandeMBP.lan |
dea59eb3395e43baa55ff9bb3a632126d3de0f0a | 1d928c3f90d4a0a9a3919a804597aa0a4aab19a3 | /c++/ClickHouse/2016/12/MergeList.cpp | 0ed1d753a810f6f521c252b8d9f6da514ed45e23 | [
"BSL-1.0"
] | permissive | rosoareslv/SED99 | d8b2ff5811e7f0ffc59be066a5a0349a92cbb845 | a062c118f12b93172e31e8ca115ce3f871b64461 | refs/heads/main | 2023-02-22T21:59:02.703005 | 2021-01-28T19:40:51 | 2021-01-28T19:40:51 | 306,497,459 | 1 | 1 | null | 2020-11-24T20:56:18 | 2020-10-23T01:18:07 | null | UTF-8 | C++ | false | false | 1,825 | cpp | #include <DB/Storages/MergeTree/MergeList.h>
#include <DB/Common/CurrentMetrics.h>
#include <Poco/Ext/ThreadNumber.h>
namespace CurrentMetrics
{
extern const Metric MemoryTrackingForMerges;
}
namespace DB
{
MergeListElement::MergeListElement(const std::string & database, const std::string & table, const std::stri... | [
"rodrigosoaresilva@gmail.com"
] | rodrigosoaresilva@gmail.com |
d1281cbdec66f42542d7bab4c481a44e246a2030 | ced7da9b1460271e91f6f7516109cd7511dd9f44 | /cppwamp/include/cppwamp/internal/conversion.ipp | 58dc45efef410457dd4d426879884207ee9e695b | [
"BSL-1.0"
] | permissive | estan/cppwamp | 850a586e6fb38aa98a07b276c84cfe6cb0e8fadb | f17db901b2ad444ab0191fade791845868c774e0 | refs/heads/master | 2021-01-15T11:24:21.259564 | 2015-10-26T20:52:39 | 2015-10-26T20:52:39 | 48,390,357 | 0 | 0 | null | 2015-12-21T19:36:15 | 2015-12-21T19:36:15 | null | UTF-8 | C++ | false | false | 6,771 | ipp | /*------------------------------------------------------------------------------
Copyright Butterfly Energy Systems 2014-2015.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LI... | [
"ecorm@users.noreply.github.com"
] | ecorm@users.noreply.github.com |
2f5847ee2ab1443a28661cfa6e0fd7f7c5ddb3c6 | 3a78fcd2c9a66789f995513d9beba219c8a45fe8 | /Hardware/krnl_cornertracker.build/link/vivado/vpl/prj/prj.srcs/sources_1/bd/zcu104_base/ip/zcu104_base_auto_pc_0/sim/zcu104_base_auto_pc_0.h | 15d8e713ab15613f707a69f123490000597f3620 | [] | no_license | msimpsonbbx/test_fast | d25a36e3c067a75c1bae7163ece026879f1cb2aa | 01b00070b2d4165c7796726f5a32be93bfee8482 | refs/heads/main | 2023-03-26T00:04:16.541544 | 2021-03-25T16:15:28 | 2021-03-25T16:15:28 | 351,492,336 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,863 | h | #ifndef IP_ZCU104_BASE_AUTO_PC_0_H_
#define IP_ZCU104_BASE_AUTO_PC_0_H_
// (c) Copyright 1995-2021 Xilinx, Inc. All rights reserved.
//
// This file contains confidential and proprietary information
// of Xilinx, Inc. and is protected under U.S. and
// international copyright and other intellectual property
// laws.
... | [
"m.simpson@beetlebox.org"
] | m.simpson@beetlebox.org |
9cfc704a616e9a60ad599281f928cdea64791a2a | d31aed88f751ec8f9dd0a51ea215dba4577b5a9b | /framework/core/network_manager/sources/connection_manager/nm_connection_manager.hpp | 4d3bd7a750a27b2596adea1761ed602f5715593d | [] | no_license | valeriyr/Hedgehog | 56a4f186286608140f0e4ce5ef962e9a10b123a8 | c045f262ca036570416c793f589ba1650223edd9 | refs/heads/master | 2016-09-05T20:00:51.747169 | 2015-09-04T05:21:38 | 2015-09-04T05:21:38 | 3,336,071 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,911 | hpp |
#ifndef __NM_CONNECTION_MANAGER_HPP__
#define __NM_CONNECTION_MANAGER_HPP__
/*---------------------------------------------------------------------------*/
#include "network_manager/ih/nm_iconnection_manager.hpp"
/*---------------------------------------------------------------------------*/
namespace Framework {
... | [
"valeriy.reutov@gmail.com"
] | valeriy.reutov@gmail.com |
70073af5b1f03721b19502d2a9cb85048ab9be66 | 5ac069e45cafd2ae9e0056bccf0537fa55f0f066 | /UVA OJ - ALL/p671.cc | 4e6968a521af57a63c3dcebab1f47acfd2d29414 | [] | no_license | fernandesitalo-zz/Competitive-Progamming | ed9b4879f6d2b443a6d17a1426821d1674506eb8 | a89f770b8616c00198f74c92a09b59d4a278711d | refs/heads/master | 2022-02-12T17:44:19.641129 | 2019-07-30T12:26:02 | 2019-07-30T12:26:02 | 92,948,182 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,434 | cc | #include <bits/stdc++.h>
using namespace std;
//~ int pd[16][16];
//~ int ed(string str1,string str2, int n, int m){
//~ if(n == 0) return m;
//~ if(m == 0) return n;
//~ int &ref = pd[n][m];
//~ if(ref != -1) return ref;
//~ if(str1[n-1] == str2[m-1]) return ref = ed(str1,str2,n-1,m-1);
//~ return re... | [
"italofernandes.fg@gmail.com"
] | italofernandes.fg@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.