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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a2bf9ded95ed7b6157c0978c18d2c414b6fdbfbb | 05a21fe6f557555e99353620be3c5eb8de142ffe | /src/qt/test/test_main.cpp | febb05c1290cca7ddaae8546fd4c7212546f6234 | [
"MIT"
] | permissive | KRAITcoin/krait | 7cdfd563dacd88b67f4fcddc85e748bebf16c04b | dee09d08458d990d1bedc084c8db2b16891cc39d | refs/heads/master | 2021-04-06T06:36:25.104549 | 2018-11-16T13:36:52 | 2018-11-16T13:36:52 | 124,469,221 | 8 | 5 | MIT | 2018-11-17T03:31:13 | 2018-03-09T01:21:30 | C++ | UTF-8 | C++ | false | false | 1,282 | cpp | // Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017-2018 The Krait developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-li... | [
"Kraitcoin@gmail.com"
] | Kraitcoin@gmail.com |
12375e858df1ed9e4471bb46f7231e7843fb36fd | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/22/3aa9607e2b809f/main.cpp | 29da95f8ceb51b957683b442b5f6bcab252474d9 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 553 | cpp | #include <iostream>
#include <type_traits>
#include <typeinfo>
template<typename T>
using Remove_cv_ref = std::remove_cv<typename std::remove_reference<T>::type>;
template<typename T>
using Remove_ref_cv = std::remove_reference<typename std::remove_cv<T>::type>;
int main()
{
std::cout << std::is_same<typenam... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
fff9c32ccb8662cdd363bc91964298b33eb81af2 | 34b06fe618cf54973c9bf064f16fd9f8e07698a9 | /headers/InputManager.h | 8b6684ed4560a711e8528874bba30b49e4ff2389 | [] | no_license | theoldestsc/TanksGame | cdea13fb8e20d14538971afeabf48dbd4679ed54 | d4f4fc11aa4ab4b7a937a2903625f227878bfc09 | refs/heads/master | 2023-08-21T10:56:24.449745 | 2021-08-26T20:51:08 | 2021-08-26T20:51:08 | 389,638,940 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 904 | h | #ifndef INPUTHANDLER_H
#define INPUTHANDLER_H
#include "SDL.h"
#include <memory>
#include "Game.h"
#include <SDL.h>
#include "Vector2D.h"
#include <vector>
//TODO: FIX All enums, use EnumClass
enum mouse_buttons
{
LEFT_MB = 0,
MIDDLE_MB = 1,
RIGHT_MB = 2
};
class InputManager
{
public:
s... | [
"ferrarigto733@gmail.com"
] | ferrarigto733@gmail.com |
c8eaf7e9e858d3bb0801d9dfc3b9735785d1957a | ee8855f9405bd96bb77e07cf852d6800a6fa07c6 | /cc/prf/prf_set.h | 556c220d82f5f5f59aede47feae20ebc2251b8cb | [
"Apache-2.0"
] | permissive | RAJSINGH-Bitian/tink | f286d40ef452f15984e748e042c0b55784c764de | b3fa4e47216fcb2aeaf952d059132f8c39451c2c | refs/heads/master | 2023-07-16T20:14:08.650806 | 2021-08-31T10:19:27 | 2021-08-31T10:19:27 | 401,657,836 | 0 | 0 | Apache-2.0 | 2021-08-31T10:11:13 | 2021-08-31T10:11:13 | null | UTF-8 | C++ | false | false | 3,685 | h | // Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in w... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
6e2c8b1c31712349c7f178053a173c063625b6f7 | 67ed24f7e68014e3dbe8970ca759301f670dc885 | /win10.19042/SysWOW64/gamingtcui.dll.cpp | 5b8c000ae0a4245b64aef20ea5beb7c1962c2823 | [] | no_license | nil-ref/dll-exports | d010bd77a00048e52875d2a739ea6a0576c82839 | 42ccc11589b2eb91b1aa82261455df8ee88fa40c | refs/heads/main | 2023-04-20T21:28:05.295797 | 2021-05-07T14:06:23 | 2021-05-07T14:06:23 | 401,055,938 | 1 | 0 | null | 2021-08-29T14:00:50 | 2021-08-29T14:00:49 | null | UTF-8 | C++ | false | false | 3,606 | cpp | #pragma comment(linker, "/export:CheckGamingPrivilegeSilently=\"C:\\Windows\\SysWOW64\\gamingtcui.CheckGamingPrivilegeSilently\"")
#pragma comment(linker, "/export:CheckGamingPrivilegeSilentlyForUser=\"C:\\Windows\\SysWOW64\\gamingtcui.CheckGamingPrivilegeSilentlyForUser\"")
#pragma comment(linker, "/export:CheckGami... | [
"magnus@stubman.eu"
] | magnus@stubman.eu |
26ee367836facf34ad4f7effdad169cc07fc1b1b | fcf03ead74f6dc103ec3b07ffe3bce81c820660d | /Bluetooth/BTExample1/inc/player.h | 01d0c27049d2cb556fd5e4dbd8bf1442c1d36d9f | [] | no_license | huellif/symbian-example | 72097c9aec6d45d555a79a30d576dddc04a65a16 | 56f6c5e67a3d37961408fc51188d46d49bddcfdc | refs/heads/master | 2016-09-06T12:49:32.021854 | 2010-10-14T06:31:20 | 2010-10-14T06:31:20 | 38,062,421 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,287 | h | // player.H
//
// Copyright (c)Symbian Software Ltd 2006. All rights reserved.
//
#ifndef PLAYER_H
#define PLAYER_H
#include <e32base.h>
#include <es_sock.h>
#include <in_sock.h>
#include "gameconstants.h"
#include "cardgameplayer.h"
/**
* CScabbyQueenPlayer is the concrete class of the card gam... | [
"liuxk99@bdc341c6-17c0-11de-ac9f-1d9250355bca"
] | liuxk99@bdc341c6-17c0-11de-ac9f-1d9250355bca |
43c2088af06b451d7dd61edc5ecffcc14671f413 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /sas/src/model/GetAlarmMachineCountRequest.cc | 068fafadfc12070463028f8edabc288f2be8f2f9 | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 1,220 | cc | /*
* Copyright 2009-2017 Alibaba Cloud 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... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
35925041e7d36c158668784ef5cd45805339b994 | 5f6fb4212f93d774dfc5b1a6ae1716b7548634ea | /Samples/DMSpy/src/DMSpyAfx.cpp | fb739da2455720ec5175e42e603dc5f458937d24 | [] | no_license | jjzhang166/REDM | df8f2436ee21927681437d8a73b158177b47a95d | 19a8516b3be192a426f43d49a2250383a40426fa | refs/heads/master | 2021-06-21T11:49:34.943910 | 2017-05-02T08:38:13 | 2017-05-02T08:38:13 | 100,325,896 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21 | cpp | #include "DMSpyAfx.h" | [
"80718901@qq.com"
] | 80718901@qq.com |
036e0d78a89b54bca80da5b6af0e26fcf8c8b98d | 903767e9e1bd7ae4c273621f2787e8e93ed38553 | /AtCoder/others/asakatsu/2021-09-19/D.cpp | 0b6137eef09df31878d7fa83d443a97d70740815 | [] | no_license | itohdak/Competitive_Programming | 609e6a9e17a4fa21b8f3f7fc9bbc13204d7f7ac4 | e14ab7a92813755d97a85be4ead68620753a6d4b | refs/heads/master | 2023-08-04T08:57:55.546063 | 2023-08-01T21:09:28 | 2023-08-01T21:09:28 | 304,704,923 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,137 | cpp | #include <bits/stdc++.h>
#include <print.hpp>
using namespace std;
// #include <atcoder/all>
// using namespace atcoder;
#define ll long long
#define ld long double
#define REP(i,m,n) for(int i=(int)(m); i<(int)(n); i++)
#define rep(i,n) REP(i,0,n)
#define RREP(i,m,n) for(int i=(int)(m); i>=(int)(n); i--)
#define rrep(... | [
"itohdak@gmail.com"
] | itohdak@gmail.com |
4c250995c1b32265128950b42d382e46cd4d68f8 | 4a0c7284d3737a285eda472b46dbf7ffffd3186b | /granitecore/include/rslMethod.h | cffdccc0e611a24e33ac0b10f6e9325c94f6444d | [
"Unlicense"
] | permissive | russellholt/gf-rsl2 | 3f8e3971b02580cdc5ae4dcaf891db601082de14 | bf38ccad74af73519bbdb40b0f945bba4d95dcf3 | refs/heads/master | 2016-08-05T09:42:07.368005 | 2013-10-27T18:33:12 | 2013-10-27T18:33:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 830 | h | // rslmethod.h
// $Id: rslMethod.h,v 1.1 1998/11/17 23:56:03 toddm Exp $
// *******************
// * System Includes *
// *******************
// ******************
// * Local Includes *
// ******************
#include "res_param.h"
#include "b.h"
#include "rslEvents.h"
#include "Resource.h"
#ifndef _RSL_METHOD_H_
#def... | [
"russell.holt@gmail.com"
] | russell.holt@gmail.com |
da28fde78a03860bb458a2c488b21931e38cb326 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive/e6cf9f0b6d94d09bbc8e393255cfeccd-f674c1a6d04c632b71a62362c0ccfc51/main.cpp | b0d4cbd5259da697d4c601565c71c97255602bfc | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 612 | cpp | #include <iostream>
#include <string>
#include <vector>
template<typename T>
const std::string& name_of(T&& t = T()) noexcept // all or nothing
{
static std::string result = [](std::string s) {
auto offset = s.find("= ") + 2;
return s.substr(offset, s.find(";") - offset);
}(__PRETTY_FUNCTION__)... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
14e775be0e1a26f296a82708b5e4d8381fc98918 | 3e2e144797b061cbbff6eae77b9267d91b34ab13 | /ShootingGame/Bullet.h | 96979a3159f98080f6d5614b90ab9c17703e6029 | [] | no_license | vrushtee/ShootingGame | 241fe53327a236fe119764941884a244891620af | 7aedb252701427586d736c3fa84e79a15f07255f | refs/heads/master | 2023-04-01T03:02:34.916904 | 2021-04-01T10:50:55 | 2021-04-01T10:50:55 | 353,353,032 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 247 | h | #pragma once
#include"Player.h"
class Bullet:public Player
{
public:
int bullets[20][4];
int bulletsLife[20];
int bCounter = 0;
void drawBullet();
void eraseBullets();
void eraseBullet(int a);
void genBullet();
void moveBullet();
};
| [
"vrushtee.vaghela@gmail.com"
] | vrushtee.vaghela@gmail.com |
59adceea1d88e737d146d6c466926cc1fb2c2c35 | ac4966442523a2cb5384bbe49312ae0733b87aa6 | /codeBase/CodeJam/2015/2015_2_A/2015_2_A.cpp | 50d83e0c1d3017aff7716e71469b57071495cc79 | [
"Apache-2.0"
] | permissive | suren3141/codeBase | d23b5e18768ba6763334f5cbafbcdff117d6cc74 | 10ed9a56aca33631dc8c419cd83859c19dd6ff09 | refs/heads/master | 2021-07-15T05:35:19.890877 | 2021-07-09T02:18:49 | 2021-07-09T02:18:49 | 100,670,600 | 0 | 0 | Apache-2.0 | 2021-07-09T02:18:50 | 2017-08-18T03:49:22 | C++ | UTF-8 | C++ | false | false | 2,741 | cpp | /*
Copyright Hackers' Club, University Of Peradeniya
Author : E/13/181 (Samurdhi Karunarathne)
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 re... | [
"samurdhilbk@gmail.com"
] | samurdhilbk@gmail.com |
8a0bc2676529e3d944cf29c02e4794178ede7fea | 2cf838b54b556987cfc49f42935f8aa7563ea1f4 | /aws-cpp-sdk-mediaconvert/include/aws/mediaconvert/model/DolbyVision.h | eab2cc71aef87ca10b342c52a4bf71993d1a94d2 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | QPC-database/aws-sdk-cpp | d11e9f0ff6958c64e793c87a49f1e034813dac32 | 9f83105f7e07fe04380232981ab073c247d6fc85 | refs/heads/main | 2023-06-14T17:41:04.817304 | 2021-07-09T20:28:20 | 2021-07-09T20:28:20 | 384,714,703 | 1 | 0 | Apache-2.0 | 2021-07-10T14:16:41 | 2021-07-10T14:16:41 | null | UTF-8 | C++ | false | false | 6,403 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
#include <aws/mediaconvert/model/DolbyVisionLevel6Metadata.h>
#include <aws/mediaconvert/model/DolbyVisionLevel6Mode.h>
#include <aws/me... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
efc8cc78315d659aa8b6fe1aee302911ca9045e1 | b0eecb618ae76484b3368cef8b28ca7ab3c4e556 | /ash/wm/overview/scoped_transform_overview_window.h | 939f940a1ffa649b28c63e9caa1371c0ae8d5406 | [
"BSD-3-Clause"
] | permissive | Chikdolman/Castanets | 733e6959ae28b81a8d5a77f869dd62957c1b1c2b | 620e7d42205619ee061dff77d0001c7e6a4d1a8d | refs/heads/castanets_63 | 2021-06-28T04:35:42.424423 | 2019-06-04T06:56:51 | 2019-06-04T06:56:51 | 183,328,181 | 0 | 1 | BSD-3-Clause | 2019-07-02T10:59:54 | 2019-04-25T00:51:09 | null | UTF-8 | C++ | false | false | 7,649 | 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 ASH_WM_OVERVIEW_SCOPED_TRANSFORM_OVERVIEW_WINDOW_H_
#define ASH_WM_OVERVIEW_SCOPED_TRANSFORM_OVERVIEW_WINDOW_H_
#include <memory>
#include <vecto... | [
"suyambu.rm@samsung.com"
] | suyambu.rm@samsung.com |
153720c9a50e2285c92a5437154698e052b0d05d | e4639a220639ff68186b88dcad95de73256a3094 | /ESP8266SPIFFSUpdateFirmware.h | 3953d8b77e778b1e464861f83661267a2ba02f8f | [] | no_license | seco/ESP8266SPIFFSUpdateFirmware | 61ef23cc9609cd264a59db0ed6e86f39426587e2 | 7ea7d800394d899514d8ff13ffaf0414b6ad9e1d | refs/heads/master | 2021-01-21T10:19:40.723249 | 2017-02-27T21:21:01 | 2017-02-27T21:21:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,246 | h | /*
* 2017 Reaper7
*/
#ifndef __SPIFFS_UPDATE_FIRMWARE
#define __SPIFFS_UPDATE_FIRMWARE
#include <FS.h>
#include <functional>
#undef min
#undef max
#include <vector>
#define FIRMWAREEXT ".bin"
#define FIRMWAREPATH "/f"
#define MINBINSIZE 100000
typedef struct {
char * fmname;
char * fmsi... | [
"reaper7md@gmail.com"
] | reaper7md@gmail.com |
cf26d925cf70d915b58530eb487895d42554f153 | a1f2f6634f1dd59d1a91c6b5a898c80048c89a8e | /Dithering/floydsteinbergdither.cpp | 860c215eb53b26d2c676f00e0b58362d2b3d4189 | [] | no_license | TischenkoArseny/Dithering | 3e938befedf6021826644befd8feac175ec31fb3 | 69b83398b46e2a637c7673cbe104afa09ccddf2f | refs/heads/master | 2020-04-15T23:39:19.129306 | 2019-01-11T09:11:08 | 2019-01-11T09:11:08 | 165,112,815 | 0 | 0 | null | 2019-01-10T18:45:19 | 2019-01-10T18:45:19 | null | UTF-8 | C++ | false | false | 3,119 | cpp | #include "floydsteinbergdither.h"
void FloydSteinbergDither::execute(QImage &img, palette &plt)
{
RgbColor offsetPixel;
RgbColor oldcolor;
RgbColor newcolor;
int redError;
int blueError;
int greenError;
std::map<RgbColor, RgbColor> *p = new map<RgbColor, RgbColor>;
for (unsigned short y = 0; y < img.height()... | [
"sevenby1@gmail.com"
] | sevenby1@gmail.com |
f551fa10d4a7b23db455133531ddd7b4a9652115 | 47e38182f90bf87685e889ae9159e9ccb8eae74b | /Stack_CPP/Stack_CPP/stack.cpp | 2acd520f14a557286c20b43cd3f9bd832eb3720e | [] | no_license | ArtemGord1728/Implementation-of-algorithms | 3f04a6da9d52b665ad20d4df1003acd44d9853b8 | 341bb6cc70d42480f35146d1b39362f9151badae | refs/heads/master | 2020-03-31T19:14:06.651300 | 2019-09-28T23:03:59 | 2019-09-28T23:03:59 | 152,489,820 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 98 | cpp | #include "stack.h"
int main() {
Stack<int> s;
std::cout << s.size() << std::endl;
return 0;
} | [
"artemseraf01@mail.ru"
] | artemseraf01@mail.ru |
8693e1a502712e8daa7521fa0e40819274785c7e | b3711761bd59446fe228f39229cc5e036d442e43 | /File1/竞赛/竞赛/xxxx.cpp | 164434cb477bfa49a3745e6184bd47cc6e97cd09 | [] | no_license | zhangqiang216/C | b410dc819d7b06470b6673642a5a4bfb3dd04ed5 | b80428d6478fadf7f53ec0be527b32cea1452eb9 | refs/heads/master | 2021-10-20T21:58:04.771022 | 2019-03-02T05:39:10 | 2019-03-02T05:39:10 | 103,729,036 | 0 | 1 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 711 | cpp | Status T(TSmatrx M,TSmastrx &T)
{
T.mu=M.nu;T.nu=M.mu;T.tu=M.tu;
if(T.tu)
{
q=1;
for(col=1;col<=M.nu;++col)
{
for(p=1;p<=M.tu;++p)
{
T.data[q].i=M.data[p].j;
T.data[q].j=M.data[p].i;
T.data[q].e=M.data[p].e;
}
}
}
}
//¿ìËÙתÖÃ
Status FasttransposeSMatrix(TSMatrix M,TSMatrix &T)
{
T.mu=... | [
"3489927956@qq.com"
] | 3489927956@qq.com |
d6608040001424deae2a4266bd739718812d58d9 | 07bd6d166bfe69f62559d51476ac724c380f932b | /devel/include/webots_demo/node_get_name.h | eefbb078b2948042d7cb387797e2d8b5956efd0d | [] | no_license | Dangko/webots_differential_car | 0efa45e1d729a14839e6e318da64c7f8398edd17 | 188fe93c2fb8d2e681b617df78b93dcdf52e09a9 | refs/heads/master | 2023-06-02T16:40:58.472884 | 2021-06-14T09:19:58 | 2021-06-14T09:19:58 | 376,771,194 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,803 | h | // Generated by gencpp from file webots_demo/node_get_name.msg
// DO NOT EDIT!
#ifndef WEBOTS_DEMO_MESSAGE_NODE_GET_NAME_H
#define WEBOTS_DEMO_MESSAGE_NODE_GET_NAME_H
#include <ros/service_traits.h>
#include <webots_demo/node_get_nameRequest.h>
#include <webots_demo/node_get_nameResponse.h>
namespace webots_demo... | [
"1477055603@qq.com"
] | 1477055603@qq.com |
6329ba68b2a0a4ae8198308d7a1bd6b2c9085af3 | 4642dc21e8f0867682a563854a1b00df2a3bf14c | /LinkMes.h | 5aaf99427658f7a94c8f8f4cd6baecdea80bbabc | [] | no_license | tongxuenihao/MesInfoUpload | 742604d879e157075f28491d0ea8ef9e11bdd0fd | 1ba0c5fdb866b77f889b5ed32af6acffa5d989fc | refs/heads/master | 2020-04-28T09:29:45.815228 | 2019-03-12T08:41:58 | 2019-03-12T08:41:58 | 175,168,884 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,184 | h | #ifndef __WT_LINK_MES_H__
#define __WT_LINK_MES_H__
#include <string>
#include "logheader.h"
using namespace std;
#ifdef WTLINKMES_EXPORTS
#define MES_Decl __declspec(dllexport)
#else
#define MES_Decl __declspec(dllimport)
#endif
enum{
eumMacType_Wifi=0,
eumMacType_Lan=1,
eumMacType_Wan=2,
eumMacType_Wifi_5G=3, ... | [
"m18565645723_2@163.com"
] | m18565645723_2@163.com |
5300aef36d044773529e5a4c455e1aad0ec8ae4e | 562aaeeb36128a12f31245b49b52584409ac9e79 | /10.0.15063.0/winrt/internal/Windows.Devices.I2c.Provider.0.h | 0f03e58f7bb1b1848019520d8310cab4454e0e52 | [
"LicenseRef-scancode-generic-cla",
"MIT"
] | permissive | PlainRubbish/cppwinrt | af6b2fde4bb56a8c310f338b440e8db7943e2f2e | 532b09e3796bd883394f510ce7b4c35a2fc75743 | refs/heads/master | 2021-01-19T05:06:17.990730 | 2017-03-31T20:03:28 | 2017-03-31T20:03:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,487 | h | // C++ for the Windows Runtime v1.0.170331.7
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.
#pragma once
WINRT_EXPORT namespace winrt {
namespace ABI::Windows::Devices::I2c::Provider {
struct ProviderI2cTransferResult;
}
namespace Windows::Devices::I2c::Provider {
using Provid... | [
"kwelton@microsoft.com"
] | kwelton@microsoft.com |
0512f7fb8ed958570581faf7ffe4d7b625935b17 | 2f78e134c5b55c816fa8ee939f54bde4918696a5 | /code/core/stringutil.h | 35eef8799ec5aa395f8fe87f8935b55b3ed6be24 | [] | no_license | narayanr7/HeavenlySword | b53afa6a7a6c344e9a139279fbbd74bfbe70350c | a255b26020933e2336f024558fefcdddb48038b2 | refs/heads/master | 2022-08-23T01:32:46.029376 | 2020-05-26T04:45:56 | 2020-05-26T04:45:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,438 | h | /***************************************************************************************************
*
* $Header:: /game/stringutil.h 1 15/08/03 15:50 Giles $
*
*
*
* CHANGES
*
* 15/8/2003 Giles Created
*
************************************************************************... | [
"hopefullyidontgetbanned735@gmail.com"
] | hopefullyidontgetbanned735@gmail.com |
40e0d9231ec45d8124d4f65c00b950dd4407c028 | 2b631cb14b185044e4201c9cc8be8219c5ab7556 | /ml/nn/runtime/test/fuzzing/operation_signatures/Convolutions.cpp | 7a502897aab1c0558beb611935565a11022076db | [
"Apache-2.0"
] | permissive | yuchuangu85/Android-framework-code | 59837ba3e41ebdda7de74ce82e1af2d0367610ce | fb27715328b4b0064b0f4e7b499b8c0f2e728d61 | refs/heads/master | 2020-09-03T09:00:20.642461 | 2019-11-04T16:21:25 | 2019-11-04T16:21:25 | 219,429,555 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 39,977 | cpp | /*
* Copyright (C) 2019 The Android Open Source Project
*
* 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 app... | [
"yuchuangu85@gmail.com"
] | yuchuangu85@gmail.com |
ce69b3552382e585bf6d80fc82cb7eb5c900da28 | 81de44f68ba9598d0e4373765ef2a27628d812b7 | /hr_time.h | d1680e85b0a784ff5addd2e1ddbe6ac2a2e46aed | [] | no_license | tipusarowar/RTree | 75824fa9f701f52ece8927245b714952b30f9fd4 | 865d2c594d3a26436f924d31d253983d2ca719e3 | refs/heads/master | 2021-01-19T07:39:20.540433 | 2014-09-30T05:44:20 | 2014-09-30T05:44:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 331 | h | #include <windows.h>
typedef struct {
LARGE_INTEGER start;
LARGE_INTEGER stop;
} stopWatch;
class CStopWatch {
private:
stopWatch timer;
LARGE_INTEGER frequency;
double LIToSecs( LARGE_INTEGER & L) ;
public:
CStopWatch() ;
void startTimer( ) ;
void stopTimer( ) ;
double getElapsed... | [
"tipusarowar@yahoo.com"
] | tipusarowar@yahoo.com |
83628da6ebd7b8b757cc097c715f9cd8faf05683 | 6cbf130f693558c80cbaff9c5c68177eba8ec89c | /assignment2/nachos-3.4/code/userprog/threadSafeSynchronizedConsole.h | a040a0e883c0ec469d7214db941bdd8125f49119 | [
"MIT-Modern-Variant"
] | permissive | MdAbuNafeeIbnaZahid/Not-another-completely-heuristic-operating-system | 0360146f850bbc5ca80cadc68a07435d15715bb9 | 496222c31fbd7fe30ec8b15e74fea6f16a91ec31 | refs/heads/master | 2021-03-27T09:42:52.223334 | 2017-06-02T09:36:54 | 2017-06-02T09:36:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 547 | h | #ifndef THREAD_SAFE_SYNCHRONIZED_CONSOLE_H
#define THREAD_SAFE_SYNCHRONIZED_CONSOLE_H
#include "console.h"
#include "synch.h"
class ThreadSafeSynchronizedConsole
{
public:
ThreadSafeSynchronizedConsole();
~ThreadSafeSynchronizedConsole();
void PutChar(char ch);
char GetChar();
void UpConsoleReadSemaphore(... | [
"1305023.maniz@ugrad.cse.buet.ac.bd"
] | 1305023.maniz@ugrad.cse.buet.ac.bd |
134256c4161a50d7284a79eb9cc49dcedf931f42 | 8a2b0eed5de488898f161e0cbb492aa015fe9c28 | /Kiwi-Engine/Kiwi-Engine/Utilities/PerlinNoiseGenerator.h | f96b016fdc62d80050cae37f5b97bb48b4b754fe | [] | no_license | nicoawalker/Kiwi-Engine | 5ded0273806d481381699396d9d4eb8ed2b974cd | f51c9e13ba3fddbe29ca672d96443ab091fa054b | refs/heads/master | 2021-01-20T23:27:06.419846 | 2017-11-06T22:59:32 | 2017-11-06T22:59:32 | 42,185,047 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 975 | h | #ifndef _KIWI_PERLINNOISEGENERATOR_H_
#define _KIWI_PERLINNOISEGENERATOR_H_
#include <vector>
namespace Kiwi
{
class Vector3d;
class PerlinNoiseGenerator
{
protected:
int m_octaveCount;
double m_persistence;
double m_frequency;
std::vector<unsigned int> m_pTable;
public:
PerlinNoiseGenerator();
... | [
"nicoawalker@gmail.com"
] | nicoawalker@gmail.com |
002816115dccf203fbf1de65a3fb5d90cf4b0e57 | 184180d341d2928ab7c5a626d94f2a9863726c65 | /issuestests/immer/inst/testfiles/immer_ccml_opt_function/AFL_immer_ccml_opt_function/immer_ccml_opt_function_DeepState_TestHarness.cpp | f7a61609c5d6d3ba9e8993e6f0fa1653c343b1c4 | [] | no_license | akhikolla/RcppDeepStateTest | f102ddf03a22b0fc05e02239d53405c8977cbc2b | 97e73fe4f8cb0f8e5415f52a2474c8bc322bbbe5 | refs/heads/master | 2023-03-03T12:19:31.725234 | 2021-02-12T21:50:12 | 2021-02-12T21:50:12 | 254,214,504 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,632 | cpp | #include <fstream>
#include <ctime>
#include <RInside.h>
#include <iostream>
#include <RcppDeepState.h>
#include <qs.h>
#include <DeepState.hpp>
double immer_ccml_opt_function(Rcpp::NumericMatrix b, Rcpp::NumericVector ll_index1, Rcpp::NumericVector item10, Rcpp::NumericVector item20, Rcpp::NumericVector cat1, Rcpp::N... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
6058cdeb77bcc74beed81f953953f6406c19411a | e267e5b2ca55b05ebc36918ecf0e4d23bf163c7c | /leetcode/054-Spiral-Matrix/derek.cpp | 20f85c4bceed9898955b9dc2c094b39df278fcd5 | [] | no_license | praesepe/study | b5a47b465bdf5603d6f810a74815c33fe051c1b7 | 9b8cc59d2d49be07ff0a39dfbeb2f348db4973f4 | refs/heads/master | 2021-01-22T21:21:53.050156 | 2017-11-05T09:51:56 | 2017-11-05T09:51:56 | 85,413,438 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,122 | cpp | class Solution {
public:
vector<int> spiralOrder(vector<vector<int>>& matrix) {
vector<int> result;
if (matrix.size() == 0) {
return result;
}
int m = matrix.size();
int n = matrix[0].size();
int x = 0;
int y = -1;
while (true) {
... | [
"derek@exmaple.com"
] | derek@exmaple.com |
294551e216c7215de9e5282c6c5950ba9cd53f85 | a01d52a8f159614c26fd9fb56b516aa58f4bd809 | /DragonSlayer/Classes/Monster.cpp | e928cc5fc25ec2c6fedcd93f54a5da76412d8b9c | [] | no_license | gziproject/DragonSlayer | 5d9c31ec724575183c9d285df3f167d233a5b877 | 2a9c0f7a49ace7352a93dc818efdc7ffcee4c340 | refs/heads/master | 2021-01-16T18:20:42.900917 | 2014-11-24T02:42:10 | 2014-11-24T02:42:10 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,507 | cpp | #include "Monster.h"
#include "ArmatureLoader.h"
USING_NS_CC;
CMonster::CMonster(void)
{
m_fB2Width = 2.5f;
m_fB2Height = 1.5f;
m_bIsTouchGroundRemove = false;
}
CMonster::~CMonster(void)
{
}
CGameObject* CMonster::create(int rid)
{
CGameObject *armature = new CMonster();
string name = ArmatureL... | [
"403547081@qq.com"
] | 403547081@qq.com |
40cff1c7ebb845447b30e33ce0b579566b6c79e2 | 3eee8b29fa6122c2fcf6f587b862e6f3628b82b8 | /test_3_2/SortTestHelper.h | 68217025a073a4bf2fd2c7441683646fbabfe575 | [] | no_license | yhgao96/Data_Structure | d808a27e3c1b26e5546e94e4fc1b0000a35c4f0b | cd4434e9d4cb1d738ad04faa3bf6e2377e0346f4 | refs/heads/master | 2022-06-05T16:02:35.097305 | 2020-05-05T01:43:06 | 2020-05-05T01:43:06 | 258,482,651 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,007 | h | #ifndef SELECTIONSORT_SORTTESTHELPER_H
#define SELECTIONSORT_SORTTESRHELPER_H
#include <iostream>
#include <ctime>
#include <cassert>
#include <string>
using namespace std;
namespace SortTestHelper{
int* generateRandArray(int n, int rangeL, int rangeR){
assert(rangeL <= rangeR);
int *arr = new int[n];
srand(t... | [
"535374674@qq.com"
] | 535374674@qq.com |
85ba0dffa2dd257bf51e129ff189725b92dd70c8 | 00bb26fc4fc1fe1942e30c1873d7f442e0ea08c8 | /VM08/Div2/G/Ming.cpp | 60099b495ff55f94f4aeecc7fae4bcf95386bd91 | [] | no_license | dntai/VNOI_contests | 1230b4562e3aa32d61a6a4d9b28704792b430dc2 | c9d3dae5586a4e0b49a052d92d4b67d629332f1d | refs/heads/master | 2020-03-26T19:02:40.088628 | 2017-05-07T08:32:09 | 2017-05-07T08:32:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 882 | cpp | #include <bits/stdc++.h>
#define ff(i, a, b) for(int i = (a), _b = (b); i <= _b; i++)
#define fb(i, a, b) for(int i = (a), _b = (b); i >= _b; i--)
#define pb push_back
typedef long long ll;
using namespace std;
typedef vector <int> vi;
int N, M, K;
int a[505][505], s[505], v[505];
int main(void) {
cin >> N >> M ... | [
"nguyentt@garena.com"
] | nguyentt@garena.com |
7cdf05d0c0422505ec9a2351b018efa8081973dc | 85c21db9ebd65aa7aead022e5b7e4b3b6292c7bf | /1-100/54.cpp | 544088e565fc5ab9964a03722561a04f3b849440 | [] | no_license | benbendexiaobangbang/algorithm | 2ab43b6551dcab819f344cf3246936fadfc2faf9 | d0269332ebd4f7bd7343a6f35c67f52e921ed750 | refs/heads/master | 2020-05-02T14:37:22.324224 | 2019-03-29T11:18:00 | 2019-03-29T11:18:00 | 178,016,344 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,235 | cpp | //
// Created by dyf on 18-11-24.
//
#include<iostream>
#include<vector>
std::vector<int> spiralOrder(std::vector<std::vector<int>>& matrix) {
int top=0;
int right=matrix[0].size()-1;
int left=0;
int bottom=matrix.size()-1;
std::vector<int> c;
int i=0;
while(top<=bottom&&left<=right){
... | [
"dyf0126@163.com"
] | dyf0126@163.com |
7d44ce7ce6fdac3e82ebc71e824e6518ae7b7d72 | df13eeef80d456058fb07e2db4de47dcf64f35e8 | /hphp/runtime/ext/vsdebug/command.cpp | 2c9882f434c9d4ff35bbaded1a75b86d3d1d4e39 | [
"BSD-3-Clause",
"PHP-3.01",
"Zend-2.0"
] | permissive | mjsorribas/hhvm | 390cd419b6f848ce14be7de0e70774faa8591a6d | a98996917356dde7457b7f242359fe4d71b87ad9 | refs/heads/master | 2021-04-06T05:22:25.626614 | 2018-03-13T20:52:41 | 2018-03-13T21:14:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,604 | cpp | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2017-present Facebook, Inc. (http://www.facebook.com) |
+---------... | [
"hhvm-bot@users.noreply.github.com"
] | hhvm-bot@users.noreply.github.com |
9e7e1a41b440cb12385bd1414a0bf717ba0ff09a | e557ce74c9fe34aa2b68441254b7def699067501 | /src/libtsduck/dtv/descriptors/tsDataBroadcastIdDescriptor.cpp | 9d26ba117202bc2a5e654e616486a5bddf200726 | [
"BSD-2-Clause"
] | permissive | cedinu/tsduck-mod | 53d9b4061d0eab9864d40b1d47b34f5908f99d8a | 6c97507b63e7882a146eee3613d4184b7e535101 | refs/heads/master | 2023-05-10T12:56:33.185589 | 2023-05-02T09:00:57 | 2023-05-02T09:00:57 | 236,732,523 | 0 | 0 | BSD-2-Clause | 2021-09-23T08:36:08 | 2020-01-28T12:41:10 | C++ | UTF-8 | C++ | false | false | 10,299 | cpp | //----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2023, Thierry Lelegard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | [
"thierry@lelegard.fr"
] | thierry@lelegard.fr |
a319bc1dcda726a725de2f6fe99f9b57f7479d6d | 82dab2784f295efb916f10d3c06c10f95dbb26b3 | /Arrays/MaxSumContiguousSubarray.cpp | 9a09afea3d482560b4aba777f27de85579a3919d | [] | no_license | rahulgoume/Interviewbit-solutions | 41b23580fd0925910f83034f399a9037a984f391 | 70de2e999b8fec57cad087d9406cd9978fb2ab81 | refs/heads/main | 2023-03-29T23:54:24.709830 | 2021-04-03T10:52:06 | 2021-04-03T10:52:06 | 354,195,300 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 276 | cpp | int Solution::maxSubArray(const vector<int> &A) {
int sum=0,max_sum=A[0],i;
int n=A.size();
for(i=1;i<n;i++)
{
sum+=A[i];
if(max_sum<sum)
max_sum=sum;
if(sum<0)
sum=0;
}
return max_sum;
}
| [
"rahulgoume05@gmail.com"
] | rahulgoume05@gmail.com |
a2010511db1b1e04746f8b450855ae49a52a3bbb | 2a88b58673d0314ed00e37ab7329ab0bbddd3bdc | /blazetest/src/mathtest/dmatdvecmult/SLDaVDa.cpp | a299807a9e5683756298bf146b50333b88dd7e74 | [
"BSD-3-Clause"
] | permissive | shiver/blaze-lib | 3083de9600a66a586e73166e105585a954e324ea | 824925ed21faf82bb6edc48da89d3c84b8246cbf | refs/heads/master | 2020-09-05T23:00:34.583144 | 2016-08-24T03:55:17 | 2016-08-24T03:55:17 | 66,765,250 | 2 | 1 | NOASSERTION | 2020-04-06T05:02:41 | 2016-08-28T11:43:51 | C++ | UTF-8 | C++ | false | false | 4,204 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dmatdvecmult/SLDaVDa.cpp
// \brief Source file for the SLDaVDa dense matrix/dense vector multiplication math test
//
// Copyright (C) 2013 Klaus Iglberger - All Rights Reserved
//
// This fi... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
2a70fb0636d41a0e2ec46f78fa088c07c008a923 | 9fe084f3004906cd5ce2b0a4a7a845d75aaba8ad | /src/window.cpp | bd55ed1071a896c19881811af8141e7c2bbbad25 | [] | no_license | chirprush/schore | 18a4d804d484d1f2dfafd065ba76d2ef7cde7058 | f27fa7f0e7a319c50b89a8b60b256b546b22255c | refs/heads/master | 2023-04-30T05:40:12.043417 | 2021-06-01T00:21:45 | 2021-06-01T00:21:45 | 344,932,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,818 | cpp | #include <SDL2/SDL.h>
#include <SDL2/SDL2_gfxPrimitives.h>
#include <map>
#include "window.hpp"
Window::Window(const char *title, int w, int h, const char *font_path) {
SDL_Init(SDL_INIT_VIDEO);
TTF_Init();
this->w = w;
this->h = h;
this->running = true;
SDL_Window *window = SDL_CreateWindow(title, SDL_WINDOWPOS... | [
"chirpyboat73@gmail.com"
] | chirpyboat73@gmail.com |
d97b979dd7b350f61cc9daf4d47b241d9a242b11 | ec68c973b7cd3821dd70ed6787497a0f808e18e1 | /Cpp/SDK/BP_WaterDrips_01_classes.h | 885a864af5ea2687848a144b69437543f8d20722 | [] | no_license | Hengle/zRemnant-SDK | 05be5801567a8cf67e8b03c50010f590d4e2599d | be2d99fb54f44a09ca52abc5f898e665964a24cb | refs/heads/main | 2023-07-16T04:44:43.113226 | 2021-08-27T14:26:40 | 2021-08-27T14:26:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 671 | h | #pragma once
// Name: Remnant, Version: 1.0
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//------------------------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
f731f71f8e0eb8c8307f966ae3da7bd3e3dd2ab0 | 42db3f58b13b6187b1e15448e2b1a26221f0a359 | /MartinHongFinalExam/MyDate.h | 2399c939e721750c9d34bd3597de1b329450a357 | [] | no_license | jaxkewl/MartinHongFinalExam | 69df4cb1b09204394b191654da796941b663f5d7 | d0ab94c4cf268bbbc677ae55f223f188ebcf6c89 | refs/heads/master | 2020-03-26T01:53:17.512048 | 2018-08-11T13:34:53 | 2018-08-11T13:34:53 | 144,387,242 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,374 | h | #pragma once
#include <iostream>
#include <string>
#include <sstream>
using namespace std;
class MyDate
{
private:
int year = 0;
int month = 0;
int day = 0;
string rawStr = "";
public:
int getYear() const { return year; }
int getMonth() const { return month; }
int getDay() const { return day; }
MyDate(const... | [
"martinhong79@hotmail.com"
] | martinhong79@hotmail.com |
c951ba79c023be3fe199a0024ec4bfb617e22d4d | 186de7c3c11f0f5db7042fd261eac2997559e0b6 | /include/util/queue.h | bd7f465291efd3acda834160adb959b03476e159 | [] | no_license | duane/checkedheap | 3db66de32a5961e4c474d2331148b60d684c500a | a3c1d2a93891c58858d333e0c0596bb4a3818b5f | refs/heads/master | 2016-09-05T18:40:49.619939 | 2012-12-17T04:13:25 | 2012-12-17T04:13:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,343 | h | #ifndef __INCLUDE_UTIL_QUEUE_H__
#define __INCLUDE_UTIL_QUEUE_H__
#include <cassert>
#include <cstdlib>
template <typename Element,
size_t N>
class StaticQueue {
public:
StaticQueue() : _size(0), _head(0) {}
~StaticQueue() {}
//
inline bool queue(Element ele, Element* invalidated) {
bool fu... | [
"bailey.d.r@gmail.com"
] | bailey.d.r@gmail.com |
ca9d369410cef323fb159632f67919d9a949e216 | e758d61b9e8c3f6d17c91bf7e02f851bb999581f | /core/src/WatchingObjects.cxx | 0809041928f4f620279987ea4f6d7409054d946e | [] | no_license | mstoev/UHH2 | ac2f49440bbe64e670a1c871479a62760f277b2a | 47ec6b5dbd5c828f96a8bb9691bb17b5e9926434 | refs/heads/master | 2021-01-18T02:02:00.713395 | 2015-02-03T14:32:31 | 2015-02-03T14:32:31 | 28,814,205 | 0 | 0 | null | 2015-01-05T13:44:46 | 2015-01-05T13:44:46 | null | UTF-8 | C++ | false | false | 3,129 | cxx | #include "UHH2/core/include/WatchingObjects.h"
#include "UHH2/core/include/Utils.h"
using namespace uhh2;
using namespace std;
WatchingObjects::Handle WatchingObjects::put(const std::string & name, const std::shared_ptr<obj> & object){
int index = find(name);
if(index >= 0){
if(objects[index].value){
... | [
"jott@cern.ch"
] | jott@cern.ch |
1382a9e35415c1fcd267a4c3860081b50a5bc6a4 | 8ac71deabc7376dc4f958ba708e460dccb6b938b | /program/testdata/int2res.cpp | feaac3c6bfb27d84ee6871b9bd9289596e2905c2 | [] | no_license | ultmaster/aiplay2 | db035026d51b025ecf6c0a3232e0a40baedbbceb | e337fe3c570f9da40a8d9878588bc0f626e55b4a | refs/heads/master | 2020-03-08T18:10:54.079217 | 2018-04-16T01:53:09 | 2018-04-16T01:53:09 | 128,289,430 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 181 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
while (~scanf("%d", &a)) {
printf("%d\n", a + 1);
fflush(stdout);
}
return 0;
} | [
"scottyugochang@hotmail.com"
] | scottyugochang@hotmail.com |
993b99e2e5a8fdc4299f1b496603b78024b59fa5 | 122287275ec1666cc27a6b6d06bab4f8b1c4ff33 | /z3/src/tactic/tactic.cpp | 0cfc9e3b28e8647632a632c7278481168d4af217 | [
"MIT"
] | permissive | NJUCWL/symbolic_tools | f036691918b147019c99584efb4dcbe1228ae6c0 | 669f549b0a97045de4cd95b1df43de93b1462e45 | refs/heads/main | 2023-05-09T12:00:57.836897 | 2021-06-01T13:34:40 | 2021-06-01T13:34:40 | 370,017,201 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,574 | cpp | /*++
Copyright (c) 2011 Microsoft Corporation
Module Name:
tactic.h
Abstract:
Abstract tactic object.
Author:
Leonardo (leonardo) 2011-10-13
Notes:
--*/
#include<iomanip>
#include"tactic.h"
#include"probe.h"
#include"stopwatch.h"
#include"model_v2_pp.h"
void tactic::cancel() {
#pragma omp criti... | [
"48467952+NJUCWL@users.noreply.github.com"
] | 48467952+NJUCWL@users.noreply.github.com |
392574175823bd5594627efd27bec58435f7b82d | f3f6bcb891dd82444eaaeb354d0f480dddb09141 | /Misc/RecCheck.cpp | ed4ebe2d3750b1f1dab60ffdd94917275ae74f3d | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | icalvo/sws | 3199ed4864a94f6eaafda2cfcd15d3c98db895ef | d89add2b49d4619b7e354e8c22fd5854f9f68f60 | refs/heads/master | 2022-07-01T21:37:31.254757 | 2020-05-07T12:22:30 | 2020-05-07T12:22:30 | 261,805,800 | 0 | 0 | NOASSERTION | 2020-05-06T15:44:41 | 2020-05-06T15:44:41 | null | UTF-8 | C++ | false | false | 4,547 | cpp | /******************************************************************************
/ RecCheck.cpp
/
/ Copyright (c) 2011 Tim Payne (SWS)
/
/
/ Permission is hereby granted, free of charge, to any person obtaining a copy
/ of this software and associated documentation files (the "Software"), to deal
/ in the Software witho... | [
"cfillion@users.noreply.github.com"
] | cfillion@users.noreply.github.com |
139ac00dee0df0d9fbc27431bcaec7fb116ebc2e | 208e438fb8cf61c1a89ab6783cc86dddce7a947b | /Source/WebKit/NetworkProcess/PrivateClickMeasurement/PrivateClickMeasurementDatabase.h | 623d9b662a37178a1bda9834a649078f279404c7 | [] | no_license | yangboyd/WebKit | 59d6bc9ffa84b754ea00b01d740501cc04bfd1de | dc87edce39ad7ba62ed677a29ab3e6fe1960cd30 | refs/heads/main | 2023-07-14T23:27:30.337572 | 2021-08-29T09:50:28 | 2021-08-29T09:50:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,539 | h | /*
* Copyright (C) 2021 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | [
"achristensen@apple.com"
] | achristensen@apple.com |
d4aac59852133c3f5dc4621b0ebff0e034428d21 | e7102397dc88c98513e2117201204cb9b17b2916 | /Public/oppositeSigns.cpp | 1b80439e49bcfb619eb01418bc8cc043f0533301 | [] | no_license | Prithvirajbilla/AlgorithmCoding | bdd2060aa64e17ebb46410320d33c08c469a1983 | 6f59cc7f7637c48dcee906b61af63a2497eb4300 | refs/heads/master | 2021-01-18T21:52:15.233263 | 2018-08-05T23:10:01 | 2018-08-05T23:10:01 | 25,050,293 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 242 | cpp | #include <bits/stdc++.h>
using namespace std;
bool detectOpposite(int a,int b)
{
return (a ^ b)>>31;
}
int main()
{
int a = -100,b = -1;
if(detectOpposite(a,b))
{
cout<<"different"<<endl;
}
else
{
cout<<"not different"<<endl;
}
} | [
"prithviraj.m.billa@gmail.com"
] | prithviraj.m.billa@gmail.com |
8319ebbf23a39fac60d519db6f31c613e952648e | 1541ee31b42025437e53adb5dc3a8954963d2f29 | /SpeedTreeImport/Source/SpeedTreeImport/Public/SpeedTreeImportCommands.cpp | 5942f3ee2fb5c4d89ab74fa7e6c35a5d4517dd96 | [] | no_license | VISCO-HUB/UE-SpeedTree-Importer | f30fc72f4538ea6d857eda5adb10c77962e844d2 | da6da52c1461f9ce019fee01bf4447b4dc5ea61b | refs/heads/master | 2021-06-01T15:01:23.422326 | 2016-07-21T11:28:48 | 2016-07-21T11:28:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 402 | cpp | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#include "SpeedTreeImportPrivatePCH.h"
#include "SpeedTreeImportCommands.h"
#define LOCTEXT_NAMESPACE "FSpeedTreeImportModule"
void FSpeedTreeImportCommands::RegisterCommands()
{
UI_COMMAND(PluginAction, "SpeedTreeImport", "Execute SpeedTreeImport action"... | [
"lukuanenko@gmail.com"
] | lukuanenko@gmail.com |
4749b2871c8493768a46085c722d58f6e9606328 | 0ef4f71c8ff2f233945ee4effdba893fed3b8fad | /misc_microsoft_gamedev_source_code/misc_microsoft_gamedev_source_code/extlib/Rockall/Code/Common/Library/Sharelock.cpp | fa1b005c65c1eb7ce118d1d8e2821aea8f158644 | [] | no_license | sgzwiz/misc_microsoft_gamedev_source_code | 1f482b2259f413241392832effcbc64c4c3d79ca | 39c200a1642102b484736b51892033cc575b341a | refs/heads/master | 2022-12-22T11:03:53.930024 | 2020-09-28T20:39:56 | 2020-09-28T20:39:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,895 | cpp |
// Ruler
// 1 2 3 4 5 6 7 8
//345678901234567890123456789012345678901234567890123456789012345678901234567890
/********************************************************************/
... | [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
f970f250dff1379ab8c78b36d560598064e19b83 | 8f3f0bdef1578768ba7f01fd62ab52edc7717001 | /src/compat/stdin.cpp | b53cdd7d75cd45d5d96f89ab1776c69aea12c341 | [
"MIT"
] | permissive | Veil-Project/veil | c956c8c6675bf5c516b4dd01052edfa36e9eb716 | 9f547115e457a37a5bfb57995516b60d9e5ca89c | refs/heads/master | 2023-08-05T05:00:05.324398 | 2023-07-31T11:12:54 | 2023-07-31T11:12:54 | 161,596,132 | 138 | 167 | MIT | 2023-08-18T17:35:54 | 2018-12-13T06:48:16 | C++ | UTF-8 | C++ | false | false | 1,645 | cpp | // Copyright (c) 2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/veil-config.h>
#endif
#include <cstdio> // for fileno(), stdin
#ifdef WIN32
#i... | [
"pitwuu@gmail.com"
] | pitwuu@gmail.com |
737af817c06e69873b3b794e9156330865b39e15 | 1dbf007249acad6038d2aaa1751cbde7e7842c53 | /ocr/src/v1/model/RecognizeThailandIdcardResponse.cpp | 7dd4efa51f14612477a9014f62c545efa0f383ec | [] | permissive | huaweicloud/huaweicloud-sdk-cpp-v3 | 24fc8d93c922598376bdb7d009e12378dff5dd20 | 71674f4afbb0cd5950f880ec516cfabcde71afe4 | refs/heads/master | 2023-08-04T19:37:47.187698 | 2023-08-03T08:25:43 | 2023-08-03T08:25:43 | 324,328,641 | 11 | 10 | Apache-2.0 | 2021-06-24T07:25:26 | 2020-12-25T09:11:43 | C++ | UTF-8 | C++ | false | false | 1,550 | cpp |
#include "huaweicloud/ocr/v1/model/RecognizeThailandIdcardResponse.h"
namespace HuaweiCloud {
namespace Sdk {
namespace Ocr {
namespace V1 {
namespace Model {
RecognizeThailandIdcardResponse::RecognizeThailandIdcardResponse()
{
resultIsSet_ = false;
}
RecognizeThailandIdcardResponse::~RecognizeThailandIdcar... | [
"hwcloudsdk@huawei.com"
] | hwcloudsdk@huawei.com |
be52d98804c74466a981a2976546e71d13a94347 | 3e1ac5a6f5473c93fb9d4174ced2e721a7c1ff4c | /build/iOS/Preview/include/Fuse.Controls.FuseTextRenderer.TextControlData.h | 6df6dddbf80ff9ab3ad03ba7e9277d0e009217d5 | [] | no_license | dream-plus/DreamPlus_popup | 49d42d313e9cf1c9bd5ffa01a42d4b7c2cf0c929 | 76bb86b1f2e36a513effbc4bc055efae78331746 | refs/heads/master | 2020-04-28T20:47:24.361319 | 2019-05-13T12:04:14 | 2019-05-13T12:04:14 | 175,556,703 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,855 | h | // This file was generated based on /usr/local/share/uno/Packages/Fuse.Controls.Primitives/1.9.0/TextControls/FuseTextRenderer/CacheState.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Object.h>
namespace g{namespace Fuse{namespace Controls{namespace FuseTextRenderer{... | [
"cowodbs156@gmail.com"
] | cowodbs156@gmail.com |
2354d1a6d6b67bfc89cd0aea91dd618a97dee131 | 435f79cf136034f86850780796536c82efebc83f | /src/qt/walletframe.h | b6977f392b5f76205d59f40bf918a4d98a79196d | [
"MIT"
] | permissive | KazuPay/kazusilver | d7d3946cd677cf0f49c8c0d944544194df8bb0b4 | fc81623ed5fd5f9f9fd9ce85139201ece6a2332e | refs/heads/master | 2020-04-15T08:55:32.528511 | 2019-01-13T13:34:41 | 2019-01-13T13:34:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,024 | h | // Copyright (c) 2011-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef KSLVCOIN_QT_WALLETFRAME_H
#define KSLVCOIN_QT_WALLETFRAME_H
#include <QFrame>
#include <QMap>
#include <QHBoxLayout>... | [
"mike@altilly.com"
] | mike@altilly.com |
e3df5bae4528a634be02e83b32c89eb90c79e8ef | 9a465ffb69f2e3bd3a8e0dade7fbf17c51e38edb | /pu/src/PlaylistPLS.cpp | 8e6a5d8ed243618fc26a6e8dead89e23b2a9705d | [] | no_license | jdduke/playlistutils | 612ec43640bf1400155a4521eaecb6668be6fa1d | dd587be08edb02375b5aa57a722b8bf3f35533be | refs/heads/master | 2021-01-20T07:28:31.427831 | 2012-04-15T20:11:43 | 2012-04-15T20:11:43 | 3,058,551 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 333 | cpp | /////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2011, Jared Duke.
// This code is released under the MIT License.
// www.opensource.org/licenses/mit-license.php
/////////////////////////////////////////////////////////////////////////////
#include "PlaylistPLS.h"
using n... | [
"glorindel@gmail.com"
] | glorindel@gmail.com |
18000c9a405488cb71ce62840ceaad8d3c901f09 | 8584afff21c31c843f520bd28587a741e6ffd402 | /Codeforces/div3/624/b.cpp | 705f044a2047dc8afd26a3cfd42e82b9fd4ea3de | [] | no_license | YuanzhongLi/CompetitiveProgramming | 237e900f1c906c16cbbe3dd09104a1b7ad53862b | f9a72d507d4dda082a344eb19de22f1011dcee5a | refs/heads/master | 2021-11-20T18:35:35.412146 | 2021-08-25T11:39:32 | 2021-08-25T11:39:32 | 249,442,987 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,779 | cpp | #include <bits/stdc++.h>
using namespace std;
#define rep(i,s,n) for (int i = (int)s; i < (int)n; i++)
#define ll long long
#define pb push_back
#define All(x) x.begin(), x.end()
#define Range(x, i, j) x.begin() + i, x.begin() + j
#define lbidx(x, y) lower_bound(x.begin(), x.end(), y) - x.begin()
#define ubidx(x, y) u... | [
"liyuanzhongutokyos1@gmail.com"
] | liyuanzhongutokyos1@gmail.com |
62075986edfcccee6b65a3ed6346eaf10d51aa7c | 5ce1cfef38de5443cf95d6b9f128cf0b09e42a2f | /src/synchronization.cpp | 5aff6ccf6f57c3c9e9fa5d9e905c2e8c68f554e5 | [] | no_license | devnir/Bellatrix | 29bdb6dfacbef2bb8618a1c3138dae7c50fdf300 | a50fd0f4997271fbcadeb9b4d5aac85a81766edd | refs/heads/master | 2021-01-10T20:21:46.760679 | 2015-05-20T10:01:12 | 2015-05-20T10:01:12 | 17,202,357 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,302 | cpp | #include "synchronization.h"
#include <QDebug>
INT32U baudTable[_BAUD_TABLE_SIZE_] =
{
9600,
38400,
115200,
230400,
};
BINR2_POINTERS b2Ptr;
BINR2x80 x80;
INT8U outBuff[128];
Synchronization::Synchronization()
{
timer = new QTimer();
timer->setSingleShot(false);
timer->setInterval(1000);
port = new Q... | [
"to.devnir@gmail.com"
] | to.devnir@gmail.com |
3a1edab82e6c51241f3687bf1bf3adfcffe8599d | 3a7cea52cbc6dd0394a2f164516f770e4bff818d | /content/browser/download/parallel_download_job_unittest.cc | 41a3b7919bce5ee1c315203e081d38256978567f | [
"BSD-3-Clause"
] | permissive | gyf821/chromium | d73b4219963b6827ecd9a8cf9995147dcf10cafd | 04968fe41e04b5f33305d9584561909760d9c3c7 | refs/heads/master | 2023-03-04T13:49:23.432721 | 2017-06-02T22:34:00 | 2017-06-02T22:34:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,263 | 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 "content/browser/download/parallel_download_job.h"
#include <utility>
#include <vector>
#include "base/memory/ptr_util.h"
#include "base/run_lo... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
31eaec10918e049405f281ee8cc18fa8ca721a74 | 0fcebbefe4a00928f4b1eff562a8bf6cd70468f3 | /Sort/ShakerSort.cpp | 70eca494259c050c5898a163d67c2d18d5064301 | [] | no_license | XiuyeXYE/Algorithms | c6674819b224844a38515ca8eb66c915a6e04377 | c94de02201965070652001bb54bc3d569b8f627d | refs/heads/master | 2021-09-13T20:01:32.886796 | 2018-05-03T16:32:32 | 2018-05-03T16:32:32 | 125,994,294 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,319 | cpp | #include"MyOutput.hpp"
template<typename T>
void MyShakerSort(T a[],int len){
int i=0;
int j=len-1;
while(i<j){
//max ,min1,min2,min3
//==> min1,min2,min3,max
for(int m=i;m<j;m++){
if(a[m] > a[m+1]){
swap(a+m,a+m+1);
}
}
for(i... | [
"xiuye_engineer@outlook.com"
] | xiuye_engineer@outlook.com |
3c4d935a0c7396a83f5552d8c74296e221950979 | 9d87bd6e8a94be5b0282d197b5ff2ef09dd14212 | /domain-server/src/DomainServer.h | cc44bd95a8a024d9fdb1b610708441e5131eaa68 | [
"Apache-2.0"
] | permissive | palomapalmer97/hifi | d46306aac4643e9d2d0daa76414e090d03ce5146 | 9571098b8b40f0f2c3dfcca8a907f260280230af | refs/heads/master | 2021-01-16T20:40:26.208017 | 2014-07-21T21:10:09 | 2014-07-21T21:10:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,401 | h | //
// DomainServer.h
// domain-server/src
//
// Created by Stephen Birarda on 9/26/13.
// Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#ifndef hifi_DomainServer_h
#define hifi... | [
"commit@birarda.com"
] | commit@birarda.com |
48d32bee5298f1c9792794a67fc49f079f042e89 | c82e5be5e781f6a1503c702471a38b48c48045c1 | /week3-1/wall.hpp | de73ac581c03a16c5533e1e9beb8fa1748fc3037 | [] | no_license | EelkeFeitz/OOPC-Eelke-Feitz | db2c0b5b567308df3f7396008c9b5bf0dd059051 | e469d2449689811c419e804d5bcbeba5a6271bf1 | refs/heads/master | 2021-01-21T21:00:41.368761 | 2017-06-08T10:22:30 | 2017-06-08T10:22:30 | 92,297,601 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 422 | hpp | #ifndef WALL_HPP
#define WALL_HPP
#include "window.hpp"
#include "rectangle.hpp"
#include "vector.hpp"
class wall : public rectangle {
private:
vector top_left;
vector bot_right;
int updateCounter = 0;
public:
int updateFrequency;
wall( window & w, const vector & top_left , const vector & bot_righ... | [
"eelkefeitz@live.nl"
] | eelkefeitz@live.nl |
df3700d83c970b2873d4a6ee3738edc6037ef8bd | 980a5dcc800a27f460d5b2b61e9d120aa694b260 | /OOP_lab4/Traveler.cpp | d73909cefe4a51edecf630ebe9140a0571874623 | [] | no_license | liuluke0325/OOP244workshop | 545b47089279aec5cde4e16e4c49f63cb0bbe997 | 37aa666ad9310f9e2ed9bfd99d5acb5c2a28e2b2 | refs/heads/master | 2020-05-22T12:27:00.721064 | 2019-05-13T03:15:28 | 2019-05-13T03:15:28 | 186,337,411 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,452 | cpp | // TODO: add file header comments here
//name : hsueh chih liu
//student id : 116131186
// TODO: add your headers here
#include <iostream>
#include <cstring>
#include "Traveler.h"
// TODO: continue your namespace here
using namespace std;
namespace sict {
// TODO: implement the default constructor here
Tr... | [
"liuluke0325@gmail.com"
] | liuluke0325@gmail.com |
69708e56336ff228a9aa84425378547ea50c6387 | 5e99905feaadc98c4c89e6900151ec922d480735 | /530.cpp | d5ca9f405f1a1fb546d2f50e3c6385f5873202c3 | [] | no_license | suraj021/LeetCode-Solutions | 0bc7407fa35e1a9390fd32325c2fca2e50482c0f | 02f3a4302f93443bf2c79935717770abd9b79d03 | refs/heads/master | 2020-06-10T05:57:06.344586 | 2020-03-21T07:22:00 | 2020-03-21T07:22:00 | 76,068,210 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 771 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
int getMinimumDifference(TreeNode* root) {
int min_diff= INT_MAX;
TreeNode* pre... | [
"surajbora021@gmail.com"
] | surajbora021@gmail.com |
4986c54b83ca426e9aa5963540c1253183c4c287 | 98b1e51f55fe389379b0db00365402359309186a | /midterm/cavity_new/cavity/1.7/U | adcc2fb357a214a0c9e33900b18aa24809e5bfe0 | [] | no_license | taddyb/597-009 | f14c0e75a03ae2fd741905c4c0bc92440d10adda | 5f67e7d3910e3ec115fb3f3dc89a21dcc9a1b927 | refs/heads/main | 2023-01-23T08:14:47.028429 | 2020-12-03T13:24:27 | 2020-12-03T13:24:27 | 311,713,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,298 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 8
\\/ M anipulation |
\*-------... | [
"tbindas@pop-os.localdomain"
] | tbindas@pop-os.localdomain | |
8433df83240705f203f7d439d22affb8a693e861 | 62be88a75eea118259c4299304d37e4e81f36def | /src/shapes/instance.cpp | 6c6805541cbcc921b9d4d11613d930ab0120c0ce | [] | no_license | tvs/sol | 9048c35188e70148be9ffcf7189ffb887d947560 | b936c4110ed7fb3f9e0b27e7e6bb340f4206a109 | refs/heads/master | 2021-01-16T21:02:19.796754 | 2013-07-24T17:53:54 | 2013-07-24T17:53:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,117 | cpp | #include "instance.h"
Instance::Instance(Matrix trans, Matrix trans_inverse, Shape* _prim)
: M(trans), N(trans_inverse), prim(_prim) {}
Instance::Instance(Matrix trans, Shape* _prim)
: M(trans), N(trans), prim(_prim)
{ N.invert(); }
bool Instance::hit(const Ray& r, double tmin, double tmax, HitRecord& rec) co... | [
"trvs.hll@gmail.com"
] | trvs.hll@gmail.com |
c62c4c99ca1c9d85cc779424f2472686bfad044d | fc9509b72acc753eaae129a1fcb27cd9f8ee56b0 | /zhengtu/MiniServer/MiniHall.cpp | 88b4294fde8cc1d3804395b5ac5cf4b9dae3365b | [] | no_license | edolphin-ydf/hydzhengtu | 25df5567226c5b7533e24631ae3d641ee0182aa9 | 724601751c00702438ffb93c1411226ae21f46a0 | refs/heads/master | 2020-12-31T03:25:48.625000 | 2012-10-24T10:58:00 | 2012-10-24T10:58:00 | 49,243,199 | 2 | 1 | null | null | null | null | GB18030 | C++ | false | false | 11,348 | cpp | #include "MiniServer.h"
MiniHall::MiniHall()
:roomDataCmd(0)
{}
MiniHall::~MiniHall()
{
if (roomDataCmd)
{
delete[] roomDataCmd;
roomDataCmd = 0;
}
}
bool MiniHall::init()
{
zXMLParser xml;
if (!xml.initFile(Zebra::global["confdir"] +"miniConfig.xml"))
{
Zebra::logger-... | [
"hyd998877@gmail.com"
] | hyd998877@gmail.com |
76d4eb3036161334f4ff8a51f75b326f0102c2ae | cc08baa9d3490ed9689315166f972f6cf6e66e86 | /Classes/Graph.cpp | e85352bf7cb02e423822c2ad2a527e4ac14c4e4e | [] | no_license | DenysRisukhin/PathFindingGame | 99c75761824ae43aef0beb9b89e45d041a3c32f0 | 7ba2dac9f717ce1fe5339ab2820c3ae8dbca598e | refs/heads/master | 2020-03-15T21:44:07.013051 | 2018-09-21T13:20:19 | 2018-09-21T13:20:19 | 132,360,658 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,085 | cpp | //
// Graph.cpp
// PathFindingDemo01
//
// Created by Denys Risukhin on 18/10/2017.
//
//
#include "Graph.hpp"
#include "LevelScene.h"
using PathStepData = Graph::PathStepData;
const PathStepData PathStepData::NONE {Vec2{-1,-1}, Vec2{-1,-1}, 0};
const Graph::Node Graph::Node::INVALID {Vec2{-1,-1}};
std::shared_p... | [
"risukhindenysit@gmail.com"
] | risukhindenysit@gmail.com |
6b7c0e925197ed521a29ed1366895898ffa55652 | 6fe1629aad4a18c7d8669fc30fb9f5631313524d | /20180502b/virtual1.cc | 23aba287a62e0eed0d6ee1e34523e4d91035c526 | [] | no_license | jcxioo/Cpp-Learning | f5ad606223cfcc5462029f1ff09b0391e630e551 | 307ba17e848e996cd52e43795352a16eb292edab | refs/heads/master | 2020-03-09T10:13:17.754414 | 2018-05-06T06:57:48 | 2018-05-06T06:57:48 | 128,731,989 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,105 | cc | ///
/// @file virtual2.cc
/// @author jcx(yxjcxstack@gmail.com)
/// @date 2018-05-03 15:09:45
///
#include <iostream>
using std::cout;
using std::endl;
class Base
{
public:
explicit
Base(int ibase)
: _ibase(ibase)
{
cout << "Base(int)" << endl;
}
virtual
void display()
{
cout << "... | [
"yxjcxstack@gmail.com"
] | yxjcxstack@gmail.com |
a090b13e7cb0734ac52ede60a356f086ae6f07df | 3171a0eb062b56b4c073cdaaf5c5b69a3d376f81 | /source/render.cpp | 4bc7f363e7d2b1dcde65ce7dc3da28e23f106d75 | [] | no_license | PelleJuul/dais | 9b19d364faf2181bacbf881a6a6cc13d9138fc1f | 24dc669ccbd929ead806027a81b7ebe0e0b14308 | refs/heads/master | 2020-12-22T16:04:09.836098 | 2020-11-24T10:15:30 | 2020-11-24T10:15:30 | 236,852,281 | 19 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,431 | cpp | #include <Bela.h>
#include <cmath>
#include <iostream>
#include <Midi.h>
#include "I2C_APDS9900.h"
#include "ExpCal.h"
#include "BowedString.h"
#include "BNO055.h"
#include "imumaths.h"
#include <vector>
#define NUM_SENSORS (3)
#define NUM_VIBROS (15)
void midiMessageCallback(MidiChannelMessage message, void* arg);
... | [
"pelle.juul@tuta.io"
] | pelle.juul@tuta.io |
7712630123810f4940b8d095c793fe40817333f4 | 70b87a7a182c71bb8969dffd3c1cdfea25ad65d3 | /RPG/Rpg/Rpg/BattleManager.cpp | e7bdcc4da8b3771a119bdf60c53d55495d7c54dd | [] | no_license | StillOP/RPG | d2a8959384a5036e31de15eb93f27e68620de2dd | 95747bf939ed1cf546cf307df9fa7466bab54d07 | refs/heads/master | 2021-01-20T17:40:14.138144 | 2017-05-14T21:15:27 | 2017-05-14T21:15:41 | 90,881,082 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,050 | cpp | #include "BattleManager.h"
BattleManager::BattleManager(Shared* l_shared) : m_shared(l_shared)
{
m_player = new Personnage(1000, 50, true, "image/r2.png");
m_opponent = new Personnage(1000, 50, false, "image/l3.png");
m_player->SetPosition(sf::Vector2f(0, 300));
m_opponent->SetPosition(sf::Vector2f(500, 300));
}
... | [
"pierrebetambo@yahoo.fr"
] | pierrebetambo@yahoo.fr |
2c0655ee8545465e1dee85f1b082142d672b8584 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_2458486_0/C++/dexy/D.cpp | 0c8887008f6cc3bcf28c926eb6ec289b2b5a059d | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,979 | cpp | #include <iomanip>
#include <algorithm>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <vector>
#include <queue>
#include <fstream>
#include <sstream>
#include <set>
#include <cmath>
#include <map>
#include <iomanip>
using namespace std;
typedef long long int64 ;
typedef pair<int, int> ... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
8fe2954a422c849b6d0079c535fbf40b1b6020fb | f7f09782d15ee7bdd14e637bd717dfb8327bc57c | /POJ/1002.cpp | 7147702f7e5d82bd4a976334aa54e1b984a3a084 | [] | no_license | whywhyzhang/ACM-ICPC-Code | 14f3f6b0532c18da9694d7f70914a97e0983913f | d15bd475774ff104ebfe9504f8ea0acffdb5ddb0 | refs/heads/master | 2022-12-09T06:27:14.893967 | 2017-03-09T14:31:49 | 2017-03-09T14:31:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,080 | cpp | #include <stdio.h>
#include <string.h>
#include <iostream>
#include <algorithm>
#include <vector>
#include <queue>
#include <set>
#include <map>
#include <string>
#include <math.h>
#include <stdlib.h>
#include <time.h>
using namespace std;
int change(char s[])
{
int ret=0;
int t;
for(int i=0;s[i];++i)
{
if(s[... | [
"daxiaonewwhy@163.com"
] | daxiaonewwhy@163.com |
9a1a9dd853690302a3628d8ca16898aa9cb1e7eb | 94893dfe16f99894a361a5d69542fff0c74365ac | /extensions/src/TTime.cpp | db4b04e00f6cfbd06b757f33e42f47a8eb452852 | [] | no_license | alexander-sholohov/libgpredict | a7581579fd02791266e75e37734d935991f38d44 | f90d726d3db40bc04174b18d752d821c13c0a5be | refs/heads/master | 2021-01-13T11:59:07.292285 | 2015-10-19T15:40:07 | 2015-10-19T15:40:07 | 44,043,328 | 2 | 0 | null | 2015-10-11T07:35:14 | 2015-10-11T07:35:12 | C | UTF-8 | C++ | false | false | 4,316 | cpp | /*
Author: Alexander Sholohov <ra9yer@yahoo.com>
*/
#include "TTime.h"
#include "utils.h"
//-----------------------------------------------------------------------------
TTime::TTime()
{
m_julianDate = 0;
}
//-----------------------------------------------------------------------------
TTime::~TTime()
{
}
/... | [
"ra9yer@yahoo.com"
] | ra9yer@yahoo.com |
01e4112aca502103a110431c5b47874f45675244 | e69f6653526b7038e521717ebddf85ca5fbe290d | /1625.lexicographically-smallest-string-after-applying-operations.cpp | 00923bb06c6052208a13c0dcdef6db904480b9ec | [] | no_license | wonter/leetcode-solutions | c35e43c5f5001468be97df2e25291d0816129a17 | 1498977eeb5b1efd4411aaabdc2e46fee0d33f1d | refs/heads/master | 2021-06-27T23:42:43.254844 | 2020-11-15T10:37:32 | 2020-11-15T10:37:32 | 181,292,471 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,348 | cpp | /*
* @lc app=leetcode id=1625 lang=cpp
*
* [1625] Lexicographically Smallest String After Applying Operations
*/
// @lc code=start
class Solution {
public:
string findLexSmallestString(string s, int a, int b) {
string ret = s;
int n = s.size();
int even_max_add = b&1 ? 9 : 0;
in... | [
"100wonter@gmail.com"
] | 100wonter@gmail.com |
76e0cab823eb6e436d7c9865adc11323b8bfaaf0 | ee0cfbb03280a2549f88b0d2f6e7e5d905438c4d | /src/compressionexps/LZ2DataRunner.cpp | 005112e0618bb64ee12be2012975416fe24b31df | [] | no_license | liminglives/c-store | 6d8f71e33fc130b3c779087c752910ddd9bf84a3 | 8516db5caa32620e24fab308a6659b369ff3bce6 | refs/heads/master | 2020-04-16T23:12:18.944454 | 2019-01-16T08:26:47 | 2019-01-16T08:26:47 | 166,002,609 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,269 | cpp | /* Copyright (c) 2005, Regents of Massachusetts Institute of Technology,
* Brandeis University, Brown University, and University of Massachusetts
* Boston. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condit... | [
"zhengliming"
] | zhengliming |
f95a1f1c8fbf0d6a26dd16256ba8a84569cb4fd6 | 8cc95381e7c810f0ee4921fb2e6140748dd3ea57 | /700_799/764_order_of_largest_plus_sign.h | 02e104c6a0d210de38834e939192c90326cdea59 | [] | no_license | wangchenwc/leetcode_cpp | 5691fd6091050cd09ececfa94c02497f78b88293 | 6c0c847f25710781f40a2817cb0e0152002f1755 | refs/heads/master | 2020-04-22T02:36:02.836904 | 2018-11-08T06:13:00 | 2018-11-08T06:13:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,060 | h | //
// 764_order_of_largest_plus_sign.h
// cpp_code
//
// Created by zhongyingli on 2018/8/23.
// Copyright © 2018 zhongyingli. All rights reserved.
//
#ifndef _64_order_of_largest_plus_sign_h
#define _64_order_of_largest_plus_sign_h
class Solution {
public:
int orderOfLargestPlusSign(int N, vector<vector<int>... | [
"lizhongying@ofo.com"
] | lizhongying@ofo.com |
5233e7dc190f4a43ea43de1b770d4be79f8874e1 | 4269b9e2097fcd78e83e443551caae0117c64c04 | /json_test.cpp | 2f4e813a21c1cf40181d467fed0c8d8a49fe0bc4 | [] | no_license | vincent-thevenin/fmod_wanderingmind | 20d2011b42751f8d0891bd83716c30cb962665f4 | 7a9c58d998cafe5bd8bb7c2325f97ac4dfcaab7c | refs/heads/main | 2023-07-29T14:57:15.284365 | 2021-09-23T12:05:21 | 2021-09-23T12:05:21 | 386,328,966 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,611 | cpp | #include "vendors/json.hpp"
#include <fstream>
#include <iostream>
#include <vector>
using json = nlohmann::json;
struct data
{
std::vector<float> embedding;
std::string path;
int chunk;
};
int main()
{
std::ifstream i("../ocean_samples_fmod.json");
// json j;
// i >> j;
json j = json::p... | [
"thevenin.vincent@hotmail.com"
] | thevenin.vincent@hotmail.com |
1025397a1e5e584ee7707841e896e33bd2955214 | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/boost/beast/http/status.hpp | be626994f5d298fec622fb75bb20a8f70b891844 | [
"BSL-1.0"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,342 | hpp | //
// Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// 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)
//
// Official repository: https://github.com/boostorg/beast
//
#ifndef BOOST_BEAST... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
724eeb9665fbe7b78bbfb57364982756dde1ed2a | 1a8331d4d2220a5c37232f766b726d0429622cfb | /spoj/VO17/day2/vo17xxx_gen.cpp | e8cc7774a9268806fe06107b2cfb172e356ec1ac | [] | no_license | ngthanhvinh/competitive-programming | 90918dda51b7020348d2c63b68320a52702eba47 | cad90ac623e362d54df9a7d71c317de555d35080 | refs/heads/master | 2022-04-21T07:02:07.239086 | 2020-04-18T08:05:59 | 2020-04-18T08:05:59 | 176,119,804 | 0 | 1 | null | 2020-04-18T08:06:01 | 2019-03-17T15:19:38 | Roff | UTF-8 | C++ | false | false | 346 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
freopen("vo17xxx.inp", "w", stdout);
ios_base::sync_with_stdio(false); cin.tie(0);
srand(time(NULL));
int N = 20;
cout << N << ' ' << rand() % 1000000 + 1 << endl;
for (int i = 1; i <= N; ++i) {
cout << rand() % 100000... | [
"ngthanhvinh2000@gmail.com"
] | ngthanhvinh2000@gmail.com |
76b85bfcc834f019731617d78745f26da5d8ad02 | fbebec969b9aa6cc2fe984b4a05e4338604b43b6 | /Project101/Player's_Tool/Chopping_Sword.cpp | bd710c2a884e2eb15059216e2422343d4e933d27 | [] | no_license | rwfchan/From-the-Below-Mini-RPG | 1270832fb9e5e5a8269fa7e153089c105beddd6d | d6a856c0f7df1f087ba8e301e38a2ba2a60f89db | refs/heads/master | 2022-02-24T00:45:14.559256 | 2019-09-15T04:39:07 | 2019-09-15T04:39:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,074 | cpp | //
// Created by Raymond Chan on 8/10/18.
//
#include <iostream>
#include <iomanip>
#include "Chopping_Sword.h"
Chopping_Sword::Chopping_Sword() : Weapon("Chopping Sword", Sword, Primary, 1){}
std::string Chopping_Sword::description() const {
return " Deal damage with the most Basic Attack";
}
void Chopping_S... | [
"raymondchan@Raymonds-MacBook-Air.local"
] | raymondchan@Raymonds-MacBook-Air.local |
0217143697d2298c216c4e6b043b7f19167a4cde | ec259beef8c61f42d2e9eb8e851cacd36cf5e391 | /Spot/spot.cpp | dc4d198254e5dd04c946de7835b7c8b893278faa | [] | no_license | AlexanderJHill/Software-Engineering | 4b19844b01f8b9213d6d884a808667d8ed9b2009 | 63ac151d57b60a752e9307cbc5a129861c1c2ff6 | refs/heads/master | 2021-01-01T16:45:27.099696 | 2015-05-09T20:41:26 | 2015-05-09T20:41:26 | 31,767,606 | 0 | 0 | null | 2015-04-27T14:59:25 | 2015-03-06T12:06:11 | C++ | UTF-8 | C++ | false | false | 1,927 | cpp | //! \file spot.h
//! \brief Used to create a spot and calculate how crowded a spot is.
//! \brief Created and edited by Orielle Joy Yu
#ifndef ____spot__
#define ____spot__
#include <stdio.h>
#include <list>
#include "agent.h"
//! \brief Spot is used to create a location and calculate how crowded it is.
class Spot{... | [
"oby1@scarletmail.rutgers.edu"
] | oby1@scarletmail.rutgers.edu |
188e7580734d7245b8a8d84d0274b6fe9d2a6ef6 | 29c28b80cfd734d171cfcfee7bd1f1344cdca0e9 | /Edu82/d.cpp | ab59b9c9e9cf9c1a8059e3fb69fb21c4ad25cf5a | [] | no_license | Elitedj/codeforces_sloved | b2c190a2bd5b4337a17ccc835c156bec3333b87f | e8270f6ce624818f3fadaa21380919aac582f4c3 | refs/heads/master | 2023-03-31T00:43:24.313196 | 2021-04-02T08:48:10 | 2021-04-02T08:48:10 | 234,066,362 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 883 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
#define inf 0x3f3f3f3f
#define INF 0x3f3f3f3f3f3f3f3f
#define IO ios::sync_with_stdio(0)
typedef pair<int, int> P;
const int maxn = 2e5+5;
const ll mod = 1e9+7;
const double eps = 1e-9;
using namespace std;
int cnt[70... | [
"747527651@qq.com"
] | 747527651@qq.com |
64e79e5511f1d82808f67154c1abd3f02ae835b1 | 75cbbcea2b90f6d303d589b47bfc041a0e13690f | /Graphic/Table/OTabBasis.h | 55b1e4100f73b1e93847e5eed2a3a290246861dc | [
"MIT"
] | permissive | RePag-net/Graphic-User-Interface | ed39896e5a593bd342d93621154a9910b4ef2ef0 | ff6a1f7e0e9dc57786c31e152f49dee265f667c5 | refs/heads/master | 2023-04-26T16:39:44.436176 | 2021-05-31T06:05:25 | 2021-05-31T06:05:25 | 300,610,844 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 12,507 | h | /****************************************************************************
OTabBasis.h
For more information see https://github.com/RePag-net/Graphic-User-Interface
*****************************************************************************/
/**********************************************************************... | [
"66637830+RePag-de@users.noreply.github.com"
] | 66637830+RePag-de@users.noreply.github.com |
a4096371ca7a70d4286f9d95fdbb94a102bb63d9 | 04782689f9bcd1d542f895a03968a9c2ff0b2646 | /Server/src/Message.h | 6d0374b59a96afc74c5d309edeed2ee45911c8a7 | [] | no_license | bailongxian/network | 5fe95694baed6e51da4f01c54c7ddefad6726466 | bdb585ab08e3ee945799da747b9e561bddc3b942 | refs/heads/master | 2016-09-05T22:31:57.392812 | 2015-09-07T07:06:20 | 2015-09-07T07:06:20 | 41,648,614 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,650 | h | #ifndef _MESSAGE_H_
#define _MESSAGE_H_
#define PACK_LEN sizeof(unsigned short)
#define PACK_HEAD_SIZE PACK_LEN+ sizeof(int)
#define MIN_MSG_LEN 128
#define DEFAUL_MSG_LEN 256 - PACK_HEAD_SIZE
#define MAX_MSG_LEN 65535
class CMessage
{
public:
CMessage(int type = 0, unsigned short size = DEFAUL_MSG_... | [
"bljswpu@163.com"
] | bljswpu@163.com |
9b3510a76d97a810d9dcf66b317e46ce1809f8fa | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/pdfium/xfa/fxfa/parser/cxfa_base.h | b27877fc119ee983a7854dc5f41ce753943ce874 | [
"BSD-3-Clause",
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 567 | h | // Copyright 2017 The PDFium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#ifndef XFA_FXFA_PARSER_CXFA_BASE_H_
#define XFA_FXFA_PARSER_CXFA_BASE_H_
#include "xfa/fxfa/pa... | [
"jengelh@inai.de"
] | jengelh@inai.de |
e82154495f5536b12cb610b5d9a5947cb4ef8ae9 | 1ecbf87aeeede7009b859a4a02b5a22a73d456e9 | /TP3/src/Serie.cpp | a54c98fa25f3e8262f5bb60e174d40e827b7db29 | [] | no_license | Jamesley55/INF1010 | d1ab6324bfe30675a2fbb0f652acc7eb197538e9 | 84374de828c32a272245129c0c494c6084bb676e | refs/heads/master | 2020-12-13T15:13:22.942639 | 2020-04-16T19:31:11 | 2020-04-16T19:31:11 | 234,454,369 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,254 | cpp | // To do
#include "Serie.h"
// constructeur par defaut de la classe Serie
Serie::Serie(Auteur *auteur) : Media(auteur, Media::TypeMedia::Serie),
GestionnaireSaisons()
{
auteur->setNbMedias(auteur->getNbMedias() + 1);
}
// constructeur par parametre de la classe Serie
Serie::Serie(cons... | [
"jamesleyjoseph5@gmail.com"
] | jamesleyjoseph5@gmail.com |
aa4b507bbe5baa4e931effac7b6fbf794691d3d9 | e00aa4d1c9245f67df7fb7f0f33eafbcacfbf718 | /Lab/Module 4/Assignment 3/Practice/Q3InsertionSort.cpp | c914e1cf7713128934ef728ccfc145d6c48efef5 | [] | no_license | alok27a/CSE2011-Data-Structures-Algorithm | a063a466bfc01393a4c42c8e8435b7b4657fbcd6 | 809e0be51daf8c4225b7e71d40cdde8c5f60b2a9 | refs/heads/main | 2023-06-19T10:05:23.068027 | 2021-07-16T06:52:09 | 2021-07-16T06:52:09 | 366,003,352 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,459 | cpp | #include <stdio.h>
#include <iostream>
#include <string.h>
using namespace std;
struct phone{
char model[100];
int year;
float cam;
int ram;
int mem;
char os[100];
}s[10];
void insertion_sort(struct phone p[],int n)
{
int i,key,j;
for(i=1;i<n;i++)
{
key=p[i].ram;
... | [
"73957024+alok27a@users.noreply.github.com"
] | 73957024+alok27a@users.noreply.github.com |
a0c839f7a0f81694351b588998d8ac110be9db84 | b5580a62f007bb066a87981d0f68cac3847e0e23 | /wemos_owm.ino | 90b30e1fc384bccb2927be848928f4c83f1bc288 | [] | no_license | delhoume/wemos_owm | 7f2d77c5fb6c2a341a48d50dc900768c750d4b16 | 6a5883f0addc142135e790ba754a7ffac84ee633 | refs/heads/master | 2020-04-22T11:07:07.989977 | 2019-02-12T14:07:40 | 2019-02-12T14:07:40 | 170,328,497 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,717 | ino | #include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#include "pixel-millenium5.h"
#include "LatoMedium8.h"
#include "LatoMedium12.h"
#include "digital12.h"
#include "invader.h"
#include "wemoslogo.h"
#include "wifilogo.h"
#include <ESP8266WiFi.h>
#include <DNSServer.h>
#include <WiFiManager.h> //https:... | [
"delhoume@fr.ibm.com"
] | delhoume@fr.ibm.com |
96bdea844258d3139d2b801811654d8679d47c65 | f7a6fd59ded5c9259649ddb2258391715cd16baa | /src/MusicWheelItem.cpp | fc94f85d2a69359acac57cd9ed6f519d2518853e | [] | no_license | sillybear/StepMania-3.9-r2017 | 1b25cc9cd06f53c9fddea7ea98aa939146c66873 | ae40fb35f9d6c439bb1c9820dc2daf249a675b93 | refs/heads/master | 2021-01-19T09:57:03.481713 | 2018-02-09T21:39:03 | 2018-02-09T21:39:03 | 82,153,677 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,007 | cpp | #include "global.h"
#include "MusicWheelItem.h"
#include "RageUtil.h"
#include "SongManager.h"
#include "GameManager.h"
#include "PrefsManager.h"
#include "ScreenManager.h" // for sending SM_PlayMusicSample
#include "RageLog.h"
#include "GameConstantsAndTypes.h"
#include "GameState.h"
#include "ThemeManager.h"
#include... | [
"jindev2k7@yahoo.com"
] | jindev2k7@yahoo.com |
ab9c376f170789e00f0141ad9f16b3fb29bd0ce7 | 1d5284897306047280ffd6dae47d64af503cbefa | /Indio.h | ce064e73d6a1b47c27cb0e8103d7da9f42dd6b27 | [] | no_license | mvandenabeele/Indio | a8de9844ab71cff6b43f2e65b1ed943be7de6832 | 7b9e909a80ec084dbc4aa9ef421cf16ca8469f60 | refs/heads/master | 2021-01-22T01:14:15.694338 | 2015-05-11T17:11:23 | 2015-05-11T17:11:23 | 44,193,015 | 0 | 1 | null | 2018-07-17T09:40:46 | 2015-10-13T17:27:02 | C++ | UTF-8 | C++ | false | false | 2,973 | h | /*
* Indio - Interface with i2c PCA9555 MCP3424 MCP4725 Modbus-master/slave
*
* Copyright (c) 2014 Rustem Iskuzhin
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction... | [
"connect@industruino.com"
] | connect@industruino.com |
5f5e99cfb1720fab25765a77789df95454891c3e | 90f57d1161fe3dde440270c28612cc5952457144 | /inheritance/src/account.cpp | d65969b9adc6aedbc5fe6e25640a3858d699045d | [] | no_license | sourabbr/cpp_basics | fdc6a4f7823dc8e89c1524cec9337d0b08f51a86 | a97b09f9d223604bece6840361195c76c73f1196 | refs/heads/master | 2023-01-21T18:52:06.644784 | 2020-11-14T07:50:59 | 2020-11-15T15:13:58 | 286,274,241 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 591 | cpp | #include "account.hpp"
Account::Account ()
: uName {svDefAccName}, uBalance {svDefBalance}
{
}
Account::Account (String pName, Double pBalance)
: uName {pName}, uBalance {pBalance}
{
}
Bool Account::Deposit (Double pAmount)
{
if (pAmount < 0)
return false;
uBalance += pAmount;
return ... | [
"sourabbr@gmail.com"
] | sourabbr@gmail.com |
a143a1ef29dc7b9c97c9269e26f43ce9103a78ab | 0a896b5e04faae5759bb9b70dc647157ac28c529 | /src/kernel/options_tool/include/options_tool/valijson/validator.hpp | e3db3edbc23530f49ca3b4856281a02e8234f47a | [] | no_license | arobosys/sirius | f26782db421c1f2b4762d117f1a6867e43439a30 | 1d3fee9dd1480bd2b6c444cefcddc647c8836c44 | refs/heads/master | 2020-03-21T10:59:56.990168 | 2018-07-05T15:15:50 | 2018-07-05T15:15:50 | 138,483,198 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,230 | hpp | #pragma once
#ifndef __VALIJSON_VALIDATOR_HPP
#define __VALIJSON_VALIDATOR_HPP
#include <options_tool/valijson/schema.hpp>
#include <options_tool/valijson/validation_visitor.hpp>
namespace valijson {
class Schema;
class ValidationResults;
/**
* @brief Class that provides validation functionality.
*/
class Valida... | [
"ostroumov.gr@arobosys.com"
] | ostroumov.gr@arobosys.com |
4a30ec2fbb1d9396d90abe817cebe2ec1c15a6a4 | 38613f8ecefa798fbf4b80e227c7a89cccac1a0d | /requestLib.cpp | 5225e5f932ac015b3957b6cad9f8cbf69688c435 | [
"MIT"
] | permissive | L0wBat7erY/AssignmentGPS | 7ac0d5ae069c24522459f28fe59d1e4ce592f7de | 853854cc7b4526dd86570427a845db4a176f9765 | refs/heads/master | 2021-09-04T03:47:05.053809 | 2018-01-15T13:18:40 | 2018-01-15T13:18:40 | 113,936,915 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,144 | cpp | /*
* =========================================================================================
* Name : eventLib.cpp
* Author : Duc Dung Nguyen
* Email : nddung@hcmut.edu.vn
* Copyright : Faculty of Computer Science and Engineering - Bach Khoa University
* Description : library for Assignment ... | [
"sierra@macOS.local"
] | sierra@macOS.local |
e25d49ee3c0e104a8ab368a47135ab453d427e9d | 7ba38c6279cb97793b137a1f2461cd258472f205 | /Classes/ItemFood.h | c0b59337525e406998366907cd694e89d74751fa | [] | no_license | asdlei99/ForAlive | 0d14007a75a6a71396c43f6a4670f5bc1aa62958 | 894513c69d6a7a69b5a750fa0612ffcc1a08bd06 | refs/heads/master | 2022-01-11T14:55:57.264348 | 2019-07-03T13:26:02 | 2019-07-03T13:26:02 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,091 | h | #ifndef _FOOD_ITEM_H_
#define _FOOD_ITEM_H_
#include "Item.h"
#include "ItemFoodAttacher.h"
class ItemFood : public Item{
protected:
CC_SYNTHESIZE_PASS_BY_REF(ItemFoodAttacher, m_attacher, Attacher);
public:
ItemFood();
virtual ~ItemFood();
double getAdditionHealth() { return ItemDataBase::getInstance()->getData(... | [
"xupangzihezicong@qq.com"
] | xupangzihezicong@qq.com |
b371c1f2199f7f94f819a1f5cab4cc5d71479eed | 104a516c6079af009a5adc8d5c70cc83c06a2bc1 | /advance1.12/stack1.cpp | ca0c416fa2d59ff320edd21101ddc27d4a3027c0 | [] | no_license | mauliktrapas/data-structure-and-algorithm | 6322a5002770fcb5743b4fd05bb080f807fb5d5a | cbb2ac4eab8a577e68dcdf0c05eaa316312d9a46 | refs/heads/master | 2021-01-10T07:25:02.607864 | 2016-03-19T08:41:24 | 2016-03-19T08:41:24 | 54,255,809 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 478 | cpp | #include "stack1.h"
#include <iostream>
using namespace std;
int stack[100];
int i=0;
stack1::stack1()
{
//ctor
}
void stack1::push(int input){
stack[i++]=input;
}
int stack1::pop(){
if(i<=0){
cout << "you cannot pop more" << endl;
return 0;
}
else{
i--;
return stack[i];
}
}
void stack1::print... | [
"mauliktrapasiya@gmail.com"
] | mauliktrapasiya@gmail.com |
dfccffc3e0f1be12a7bac2e9e553fd8c396f46d4 | 3b183fc148e60195a08dde1cd9271360483dc5c2 | /34.find-first-and-last-position-of-element-in-sorted-array.cpp | 287ce4b7fbc247a118e1bd1e7ed0cbda3b2208d2 | [] | no_license | Elliotshui/leetcode_solution | 781febc845f346124d1d0f40341d6c228fe83d4a | 8fdc95f63e43b4a71ff99e3c4627c12c3379b2b9 | refs/heads/master | 2022-11-16T02:39:23.211852 | 2020-07-11T04:59:21 | 2020-07-11T04:59:21 | 274,080,469 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 965 | cpp | /*
* @lc app=leetcode id=34 lang=cpp
*
* [34] Find First and Last Position of Element in Sorted Array
*/
class Solution {
public:
vector<int> searchRange(vector<int>& nums, int target) {
int l = 0, r = nums.size() - 1, m1 = -1, m2 = -1, m;
while(l <= r) {
m = (l + r) / 2;
... | [
"shuitianxiao_eecs@pku.edu.cn"
] | shuitianxiao_eecs@pku.edu.cn |
aea63fe907ffa936795a9e21e3e50dcdae03fe2a | f0943f3e3c8c8c08f2c6bc59f1863a402c295e41 | /Webserver.h | c33ba8210243378155baa8770af2ae1a37d0a6aa | [
"MIT"
] | permissive | ketaro/ESP8266_DHT22_TempSensor | bddd63fd633f15d9f53cbdad120125f787735945 | 45a92e3dbed0c12413bdbc076b34c37bac334453 | refs/heads/master | 2021-04-03T06:30:25.337438 | 2018-08-07T19:59:59 | 2018-08-07T19:59:59 | 124,795,191 | 1 | 1 | MIT | 2018-04-30T18:48:25 | 2018-03-11T20:12:26 | C++ | UTF-8 | C++ | false | false | 1,472 | h | //
// Webserver.h - Library for wrapping the ESP8266 Web Server
// also manages the SPIFFS files
//
#ifndef Webserver_h
#define Webserver_h
#include <ESP8266HTTPUpdateServer.h>
#include <ESP8266HTTPClient.h>
#include "defaults.h"
#include "Config.h"
#include "Sensor.h"
#include "DB.h"
#define FW_CHE... | [
"navgerinos@laika.com"
] | navgerinos@laika.com |
67219f6a99addb9265c8c18b55d34d1067fb0a58 | 45e0fbd9a9dbcdd4fbe6aaa2fdb2aed296f81e33 | /FindSecret/Classes/Native/System_Xml_System_Xml_Schema_XmlSchemaTotalDigitsFa297930215.h | 2356f4b5638493b22d762f619d1f5b87bb9802e8 | [
"MIT"
] | permissive | GodIsWord/NewFindSecret | d4a5d2d810ee1f9d6b3bc91168895cc808bac817 | 4f98f316d29936380f9665d6a6d89962d9ee5478 | refs/heads/master | 2020-03-24T09:54:50.239014 | 2018-10-27T05:22:11 | 2018-10-27T05:22:11 | 142,641,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 608 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "System_Xml_System_Xml_Schema_XmlSchemaNumericFacet3753040035.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winval... | [
"zhangyide@9fbank.cc"
] | zhangyide@9fbank.cc |
e0df3d9657838e38c5dde8658ec7501ab934db73 | 860dc13d71ee32d52fe83f6d3e66c1b1a695c51a | /buy_item_nomade/buy_item_nomade.ino | 6cb0afcea2a3eba7da51011a957749a87fb80ce0 | [
"MIT"
] | permissive | association-mesnil/arduino-payment-system | cc6c75d0cec1ffa284b3adcff6516fec242c86bd | 66e110c7b35d09c99be56bdecc16e9e8ab7cd1d7 | refs/heads/master | 2020-03-31T10:43:12.545654 | 2020-02-21T00:10:15 | 2020-02-21T00:10:15 | 152,146,588 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 7,667 | ino | /**
* ----------------------------------------------------------------------------
* TODO doc
* ----------------------------------------------------------------------------
*
* Typical pin layout used:
* ----------------------------------------------------------------------------
* MFRC522 Ardu... | [
"code@alexandredubreuil.com"
] | code@alexandredubreuil.com |
756353e5b08dc6c40db7f6691529f26c749afd30 | a8428581abe5241a9bd8e079a0d19fddccff3f3a | /src/TrafficLight.cpp | 8bd08ee8dce719ec29f0c160ad886dfb00939a82 | [] | no_license | Mahmoud-Abdelkareem/Concurrent-Traffic-Simulation | 4c19f1a7c51aacf149c30a28f5102fbc4c1b39a6 | 212651996c39701a437830131db2a0025fac6980 | refs/heads/master | 2023-02-11T22:29:39.132130 | 2021-01-05T05:16:25 | 2021-01-05T05:16:25 | 324,844,446 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,524 | cpp | #include <iostream>
#include <random>
#include <thread>
#include <chrono>
#include <random>
#include <future>
#include "TrafficLight.h"
/* Implementation of class "MessageQueue" */
template <typename T>
T MessageQueue<T>::receive()
{
std::unique_lock<std::mutex> lck(_mtx);
_condition.wait(lck, [this] {r... | [
"mahmoudabdelkareem92@gmail.com"
] | mahmoudabdelkareem92@gmail.com |
febb4961a6323924763b2e0537495c3f4c09832c | 2d36ac7285664ce798edb27bafa00e0dbc0f25fb | /LSL/liblsl/external/lslboost/spirit/repository/home/qi/operator/keywords.hpp | fafe7ed1493584801410b6c1ee825f5c91e460a1 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | nagarjunvinukonda/Brain-Computer-Interface-for-Bionic-Arm | af1a6241df167e747a7d9426e497f95dda632fda | 839cb0dc798d2bf274d3df7c4db0fef62af3770d | refs/heads/master | 2023-02-13T12:02:36.692225 | 2021-01-14T08:32:35 | 2021-01-14T08:32:35 | 297,540,583 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,472 | hpp | /*=============================================================================
Copyright (c) 2001-2011 Joel de Guzman
Copyright (c) 2011-2012 Thomas Bernard
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.lslboost.org/LICENSE_1_0.... | [
"vinukondanagarjun4@gmail.com"
] | vinukondanagarjun4@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.