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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d365466f753cd65409b9f7fc319aade63e1b8f12 | 07cda1295da0370c630697701df0fc5e3e45ca28 | /components/html_viewer/ui_setup.h | 7ab091513328d4133e53249779e95a7459f027f6 | [
"BSD-3-Clause"
] | permissive | anawhj/chromium-crosswalk | 8221f9510bfb9df29dab12e6cdc57030380eb3f5 | 97959a5c98a1e18513f3ea21697323634d2fd696 | refs/heads/master | 2021-01-24T17:23:55.447032 | 2015-08-11T23:14:52 | 2015-08-11T23:14:52 | 40,750,463 | 0 | 1 | null | 2015-08-15T07:18:53 | 2015-08-15T07:18:52 | null | UTF-8 | C++ | false | false | 641 | h | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_HTML_VIEWER_UI_SETUP_H_
#define COMPONENTS_HTML_VIEWER_UI_SETUP_H_
#include "base/basictypes.h"
namespace gfx {
class Size;
}
namesp... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
b1e418ff8eaf9ce31b490bf479c000e9b76c0731 | 47d17974297e8afc06e8da763239501bcdb8a94d | /windows/HILIB/trans/VARIDLG.HPP | f1b4e865fdf12eaadf85df4ebbe41e7a54d0006a | [] | no_license | cenit/Transport | 0fb5dfedc018c7478f831ba37df04cc2551d9137 | 65a563237051954e4164a7d5d90eb69e14571a63 | refs/heads/master | 2018-12-18T12:30:39.866455 | 2018-09-14T14:34:59 | 2018-09-14T14:34:59 | 112,599,468 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,755 | hpp | ///////////////////////////////////////////////////////////////////////////////
////////////////////////// VariDialog class definition ////////////////////////
///////////////////////////////////////////////////////////////////////////////
#ifndef VARIDLG_HPP
#define VARIDLG_HPP
class TransGrafFile;
class BeamInfoDia... | [
"stesinigardi@hotmail.com"
] | stesinigardi@hotmail.com |
3e9195c8b336b318644efe26cc4270e7710ea41a | 8789a1cee570e5431a1e0db9aebd038402661f3e | /src/ShaderHandler.cpp | 1400cd1a646ef6d8e2895a0e5f76df1c35f453ce | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Crupette/decent-engine-old | 09d15a957a3beb157d616837cd557d3050c32853 | 9934df33e8f1e87adf7298baa731c48eee2b2b5b | refs/heads/master | 2020-04-04T14:24:20.156151 | 2020-01-06T14:46:26 | 2020-01-06T14:46:26 | 155,998,022 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,061 | cpp | #include "ShaderHandler.h"
#include <fstream>
#include <iostream>
#include <sstream>
namespace DecentEngine {
Logger ShaderHandler::m_logger("ShaderHandler");
ShaderHandler::~ShaderHandler(){
if(m_program != 0) glDeleteProgram(m_program);
}
void ShaderHandler::buildProgram(){
m_program = glCreateProgram();
std... | [
"jonsantmyer@gmail.com"
] | jonsantmyer@gmail.com |
222ae9ac88afec1ce1be6dd94bedadd9ae11f692 | 390bab42fb4a9589ff54a9eff7c96d1c250037de | /sw/iss/cpu/FetchUnit.hh | 6af9dddca392b14b0c03fae16019eaf6de1524b1 | [] | no_license | hmellifera/aemb | 759b3e97c77c9cfe2d984ff87b2d4dca8bc48b54 | 2a12703f0e92de81b1319fda8f898c7618d6b500 | refs/heads/master | 2020-04-07T07:35:11.038050 | 2012-02-08T16:19:41 | 2012-02-08T16:19:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,351 | hh | /*!
AEMB INSTRUCTION SET SIMULATOR
Copyright (C) 2009 Shawn Tan <shawn.tan@aeste.net>
This program 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 of the License, or
(at your opti... | [
"shawn.tan@aeste.my"
] | shawn.tan@aeste.my |
3d61bfffc81753c92f784ceff884b0163772ff23 | 13a28512d570eabb27d40362bce194805f4ab266 | /Lab2/Src/Application/myMesh.cpp | e953438b5cffacd0d841cddfbbc5168667b046ff | [] | no_license | hmpbmp/CGLabs | c5116f04a7f84cba56f3f20e537cfb2b9d157ec3 | f7ccaa556cf3dba3c217444e392786a9b1b3be7a | refs/heads/master | 2020-05-20T03:53:42.042286 | 2014-12-19T22:00:02 | 2014-12-19T22:00:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,223 | cpp | #include "myMesh.h"
#include <cstdlib>
//Loading mesh from file
void MyMesh::load(char *filename, IDirect3DDevice9 *device)
{
ID3DXBuffer *matBuff = NULL;
size_t size = strlen(filename) + 1;
wchar_t *wFileName = new wchar_t[size];
size_t convChars = 0;
mbstowcs_s(&convChars,wFileName,size,filename,_TRUNCATE)... | [
"ck-47@mail.ru"
] | ck-47@mail.ru |
652d9e5af6e5a5493d192471174c9f2eeb5ea8e9 | 9c0987e2a040902a82ed04d5e788a074a2161d2f | /cpp/platform/impl/windows/generated/winrt/impl/Windows.Storage.Provider.1.h | d35445afee94eac4431570ad37c29c02b19be106 | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0"
] | permissive | l1kw1d/nearby-connections | ff9119338a6bd3e5c61bc2c93d8d28b96e5ebae5 | ea231c7138d3dea8cd4cd75692137e078cbdd73d | refs/heads/master | 2023-06-15T04:15:54.683855 | 2021-07-12T23:05:16 | 2021-07-12T23:06:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,584 | 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
3631b52340358d45ac8ec3606cd5bcd1ec11f2a2 | 3844678a0fb3b1f0838fb04bc57fd93dee6ee631 | /siteApps/PVAccessGW/v4workspace/pvAccess/src/server/pv/responseHandlers.h | 44447ed4eb0b219f7ee2b11c28ac88fa3519b610 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | jeonghanlee/Work | daa9295da3af3ff6c3a68daf51fac804dd1942cd | bef817911ea29fe091547f001ac35ac3765d8258 | refs/heads/master | 2022-09-28T03:59:29.435017 | 2022-09-15T18:26:34 | 2022-09-15T18:26:34 | 91,843,357 | 3 | 0 | null | 2019-01-08T16:10:37 | 2017-05-19T20:34:36 | VHDL | UTF-8 | C++ | false | false | 34,583 | h | /**
* Copyright - See the COPYRIGHT that is included with this distribution.
* pvAccessCPP is distributed subject to a Software License Agreement found
* in file LICENSE that is included with this distribution.
*/
#ifndef RESPONSEHANDLERS_H_
#define RESPONSEHANDLERS_H_
#ifdef epicsExportSharedSymbols
# define r... | [
"silee7103@gmail.com"
] | silee7103@gmail.com |
26d948521c9db098c9235f0c4735b9d622418e3f | edffd1f3ded4f31bcdb6de236628a536992dd835 | /musicplayer.h | 27de49c169728f8fbe26dd7844e7011fbd5c3374 | [] | no_license | chuchen138/github-slideshow | 8eb02aecd8a1363171f2e4eefb001dbd29cdddef | a680e3c94322f96c5cb20fe26b07f635d9f2e95d | refs/heads/master | 2023-07-19T22:03:32.529691 | 2023-07-17T07:11:38 | 2023-07-17T07:11:38 | 329,574,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,276 | h | #ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
#include <QMediaPlayer>
#include <QMediaPlaylist>
#include <QThread>
#include "lyrics.h"
namespace Ui {
class MusicPlayer;
}
class MusicPlayer : public QWidget
{
Q_OBJECT
public:
explicit MusicPlayer(QWidget *parent = 0);
~MusicPlayer();
private slots... | [
"3193088097@qq.com"
] | 3193088097@qq.com |
6e4fffbc392e99e10432c5833d7985f71da49dff | 1af656c548d631368638f76d30a74bf93550b1d3 | /ui/aura/mus/embed_root.h | 46293ee61fc394875b34ea45c825f5ca7d270e5c | [
"BSD-3-Clause"
] | permissive | pineal/chromium | 8d246c746141ef526a55a0b387ea48cd4e7d42e8 | e6901925dd5b37d55accbac55564f639bf4f788a | refs/heads/master | 2023-03-17T05:50:14.231220 | 2018-10-24T20:11:12 | 2018-10-24T20:11:12 | 154,564,128 | 1 | 0 | NOASSERTION | 2018-10-24T20:20:43 | 2018-10-24T20:20:43 | null | UTF-8 | C++ | false | false | 2,208 | h | // Copyright 2018 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 UI_AURA_MUS_EMBED_ROOT_H_
#define UI_AURA_MUS_EMBED_ROOT_H_
#include <memory>
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#includ... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
104c7962e1bef07fc5f889dbca0456eea69c9590 | 969987a50394a9ebab0f8cce0ff22f6e2cfd7fb2 | /devel/athenasub/src/section_entry.h | 1c600ced9b3fe58ea0ff6111c7e8afbce486edc9 | [] | no_license | jeeb/aegisub-historical | 67bd9cf24e05926f1979942594e04d6b1ffce40c | b81be20fd953bd61be80bfe4c8944f1757605995 | refs/heads/master | 2021-05-28T03:49:26.880613 | 2011-09-02T00:03:40 | 2011-09-02T00:03:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,090 | h | // Copyright (c) 2008, Rodrigo Braz Monteiro
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice,
// this list o... | [
"verm@93549f3f-7f0a-0410-a4b3-e966c9c94f04"
] | verm@93549f3f-7f0a-0410-a4b3-e966c9c94f04 |
0eefa8d8bd2535a8e4ec336d80a8afeb66293ef9 | 1bd73d963555af5c5aa81d1ac7ceda8d9e90edd2 | /dotacoin-src/qt/paymentserver.cpp | baadeb55c9bc39e7f5a518b1e374a67fcf7df23d | [] | no_license | 5mil/dotacoin | 695a6e64bdc979afd290b097ef9073c9b9827f0b | cdcffe96d29b014a83cb9c329b669bd0647e4cd0 | refs/heads/master | 2021-01-10T19:44:20.969310 | 2014-02-17T05:02:55 | 2014-02-17T05:02:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,472 | cpp | // Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <QApplication>
#include "paymentserver.h"
#include "guiconstants.h"
#include "ui_interface.h"
#include "util.h"
#i... | [
"Jdaurio09@gmail.com"
] | Jdaurio09@gmail.com |
1c58cf3d4bc21d0035b102b386e8c3a1cfa77b31 | cd5085baca2cb292fae8f0bb9938828e122ac6ab | /fuchsia/engine/browser/web_engine_content_browser_client.cc | 4a17ef7a810f11dae27a2a1602d0f51b56b31f83 | [
"BSD-3-Clause"
] | permissive | goodwilliam126/chromium | 57fe15fe5b4d9e2f46db634bc2ffcbfc9b2a54ea | 650f49ceb4b41445b5dbc6e6dc9fa8600f0bbd7f | refs/heads/master | 2022-12-31T16:25:47.481496 | 2020-10-24T02:25:45 | 2020-10-24T02:25:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,645 | cc | // Copyright 2018 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 "fuchsia/engine/browser/web_engine_content_browser_client.h"
#include <fuchsia/web/cpp/fidl.h>
#include <string>
#include <utility>
#include "b... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
26975e14cb66ed5d5f5bd549780c986b4362e6f1 | ffe2b339b843fce443f4880d7d0d8847006b99cb | /1074/1074.cpp | b72e7e8152923dd23dacbf8108cca0c2d4249007 | [] | no_license | scnb/PAT_Basic-Level | be5c696c0ba3eae6efe1ae76c0cba97bfc02f6b6 | d59c8eb31e92ba6504f1f7672ce931c6809569dd | refs/heads/master | 2021-09-01T14:31:58.083361 | 2017-12-27T13:20:40 | 2017-12-27T13:20:40 | 110,704,755 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,236 | cpp | // 1074.cpp : 定义控制台应用程序的入口点。
//最终19分,还差一点
#include "stdafx.h"
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
using namespace std;
int main()
{
string N; //进制表
string add1;
string add2;
cin >> N;
cin >> add1;
cin >> add2;
int len1 = add1.size();
int len2 = add2.size();
string tm... | [
"18633910528@163.com"
] | 18633910528@163.com |
5df464f756b2e60ccf00c66790f4908fc92faf10 | 1be7a7361812dc0ab6e7fae1216d594c57752948 | /src/09_Sorting/chapter9_part1.h | d5f8da073b3b4508ca46cd12717e91e0dec78d07 | [] | no_license | CongXue0/DataStructure | 395b891b9f1d30a51010aa3f2ba0047398126eef | 2e38795e0d348b6988bf339d041f0398de9be228 | refs/heads/master | 2020-04-04T12:45:48.368629 | 2019-02-21T09:28:29 | 2019-02-21T09:28:29 | 155,937,037 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 551 | h | #ifndef CHAPTER9_PART1_H
#define CHAPTER9_PART1_H
#include <QString>
class Chapter9_Part1
{
public:
Chapter9_Part1() = delete;
static void practice_000();
static void practice_001();
static void practice_002();
static void practice_003();
static void practice_004();
static void practice_0... | [
"724960890@qq.com"
] | 724960890@qq.com |
ad76bdd4c710f2a676340b9159bbcb537c30f753 | 46d4712c82816290417d611a75b604d51b046ecc | /Samples/Win7Samples/winbase/wtsapi/WaitDlg.Cpp | 395d6f37aa79a959b1c40f8f22c05c7cdf7be10c | [
"MIT"
] | permissive | ennoherr/Windows-classic-samples | 00edd65e4808c21ca73def0a9bb2af9fa78b4f77 | a26f029a1385c7bea1c500b7f182d41fb6bcf571 | refs/heads/master | 2022-12-09T20:11:56.456977 | 2022-12-04T16:46:55 | 2022-12-04T16:46:55 | 156,835,248 | 1 | 0 | NOASSERTION | 2022-12-04T16:46:55 | 2018-11-09T08:50:41 | null | UTF-8 | C++ | false | false | 1,031 | cpp | // WaitDlg.cpp : implementation file
// Copyright 1995-1999, Citrix Systems Inc.
// Copyright (c) 1997 - 2000 Microsoft Corporation
//
#include "stdafx.h"
#include "API.h"
#include "APIDoc.h"
#include "WaitDlg.h"
#include "wtsapi32.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = _... | [
"chrisg@microsoft.com"
] | chrisg@microsoft.com |
68954c9521449e372fb45ad1b46e2737460f6e0b | d053e0e8687f122d120bcd0fa1f9076deb35afa5 | /Olymp/NEERC/Internet_olymp/2008-2009/8/E.cpp | e7b263fa9fce901528892de01780ac507a4ec763 | [] | no_license | shaihitdin/CP | e8911bc543932866d6fc83eb1d48d9cf79918c61 | dc90082f3ebedaccbfb0818cc68539c887f86553 | refs/heads/master | 2021-01-11T17:10:20.356635 | 2017-10-05T08:53:56 | 2017-10-05T08:53:56 | 79,729,913 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,056 | cpp | #include <bits/stdc++.h>
using namespace std;
const int N = 2e5;
int w, h, l, k;
int main () {
freopen ("painting.in", "r", stdin);
freopen ("painting.out", "w", stdout);
ios_base :: sync_with_stdio (0);
cin.tie (0);
cin >> w >> h >> l >> k;
if (w > h) swap(w, h);
if (h > l) swap(h, l);
if (w > h) swa... | [
"shaihitdin@gmail.com"
] | shaihitdin@gmail.com |
f7a3092f48f1459ce1cdc4eef6edc2dd7f01e07e | da1053cc5d90f0a875d00ff79e5b53a4cc3c9586 | /imm_include/ui_base.h | 6cbc98849b52c5fae0922bccc8e5445e3facdfbd | [
"BSD-3-Clause"
] | permissive | chenbk85/imm_engine | efcd95275f29ecfb4047ea839b1d1dbe14dc9e52 | ad8c21a170bcd600dca8ddee333bd47f788ad465 | refs/heads/master | 2021-01-16T23:00:42.506936 | 2016-01-31T09:12:42 | 2016-01-31T09:12:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,922 | h | ////////////////
// ui_base.h
// This file is a portion of the immature engine.
// It is distributed under the BSD license.
// Copyright 2015-2016 Huang Yiting (http://endrollex.com)
////////////////
////////////////
#ifndef UI_BASE_H
#define UI_BASE_H
#include "ui_text_help.h"
#include "ui_sprite.h"
#include "ui_dwrit... | [
"seebook@126.com"
] | seebook@126.com |
bd9f45d1d15ff80bd4c2b293acb37916cc5a0961 | 1cf86f3b8a75e4b9e2256a49dd7f904d1bc3667c | /src/stl/string_view.h | 4123d6f031597422e98d37322f3ccd435cd7fe8f | [
"Zlib"
] | permissive | hugoam/two | bfaa6f0184e7e45e4f2fbc0e2d6257ed51dfe54d | d4b386f48c572da03ac5c89e702cf08f388d434d | refs/heads/master | 2023-04-27T11:10:21.640620 | 2023-04-18T21:04:38 | 2023-04-18T21:04:38 | 116,430,022 | 717 | 63 | Zlib | 2019-05-11T16:04:24 | 2018-01-05T21:48:50 | C++ | UTF-8 | C++ | false | false | 2,807 | h | #pragma once
#ifdef USE_STL
#include <string_view>
namespace stl
{
using std::string_view;
}
#else
#include <stl/stddef.h>
namespace stl {
class string_view
{
public:
typedef char value_type;
typedef char* pointer;
typedef const char* const_pointer;
typedef char& reference;
typedef const char& const_ref... | [
"hugo.amiard@wonderlandengine.com"
] | hugo.amiard@wonderlandengine.com |
3ab4a3fad829f8c8503b72a798646c306396cb5b | 5456502f97627278cbd6e16d002d50f1de3da7bb | /chrome/browser/history/android/bookmark_model_sql_handler.h | 998a291028491a480bbf19064c86f67525870453 | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,784 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_HISTORY_ANDROID_BOOKMARK_MODEL_SQL_HANDLER_H_
#define CHROME_BROWSER_HISTORY_ANDROID_BOOKMARK_MODEL_SQL_HANDLER_H_
#inc... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
87ec7514f15dc6d2d3f47167a0fc6a91dc66d970 | d57e7c2e043b5b06a9ab90edf033cba51e133003 | /main.cpp | 64627201a9229a8b4dbfb83d4ca287a210d2d62e | [] | no_license | hugoziviani/POO-TP1 | 1311d62a9898ab687a210fded2de878748f58647 | 313f6a63a5e69f7c1ece79e2acf9169d128df4cc | refs/heads/master | 2020-03-18T02:42:03.935567 | 2018-05-21T16:15:12 | 2018-05-21T16:15:12 | 134,203,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,009 | cpp | #include "Campeonato.h"
#include "Data.h"
#include "Jogador.h"
#include "JogadorAtacante.h"
#include "JogadorDefesa.h"
#include "JogadorGoleiro.h"
#include "Partida.h"
#include "Time.h"
using namespace std;
int main() {
Time time1;
int opc = 1;
string nomeJog;
int numJog = 0;
string nomeT = "Atlet... | [
"hugo_ziviani@hotmail.com"
] | hugo_ziviani@hotmail.com |
bc4391d6a6f4f9bf3c9554e5cc2756b15543cd03 | d9bd0ab22950fa2182a6d9a1604c7c967db77135 | /codeblocks/Core_Node/src/Message_handler.cpp | 24b111cc15f162d64960c16f15f359472b4f1c10 | [] | no_license | jeccey/Core_Area | 903abc2aefe90684a781133fc643ea5fecdd8eba | 04a09db4757817a90687c6ed3e5efc4220a84e6c | refs/heads/master | 2020-05-17T18:34:19.097190 | 2014-03-04T06:57:10 | 2014-03-04T06:57:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,323 | cpp | #include "../include/Message_handler.h"
#include <iostream>
#include <sstream>
Message_handler::Message_handler()
{
//ctor
}
Message_handler::~Message_handler()
{
//dtor
}
//将 sip 信息 转换为 字符串 sx_msg
int Message_handler::msg_to_str(string &sx_msg, struct sip_message *sipmsg)
{
sx_msg.clear();
sx_msg +=... | [
"super3e5@gmail.com"
] | super3e5@gmail.com |
a89179bd15eaf72470e1eb9ed5c72a1d9f2d43cf | c9af5f28520affead192172d277cde888db1670c | /Easy/206ReverseLinkedList.cpp | 9d874e14359770befe72129849d8d317ee8d97f5 | [] | no_license | animebing/leetcode | feb3a85698bf978759898e2cf44f288621fe0140 | 68c1f3f4e36ebc03bf7e85003fd73ce3d24cad60 | refs/heads/master | 2020-06-27T07:08:45.276535 | 2017-05-02T01:34:11 | 2017-05-02T01:34:11 | 74,529,950 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,425 | cpp | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
// reverse one by one, i need record pre, current and next, that is prev_1, prev_2, and tmp in my program
class Solution {
public:
ListNode* reverseList(List... | [
"yanbing_dong@hotmail.com"
] | yanbing_dong@hotmail.com |
1cf23aebeb3cb95e4594e3e6ee21cc319b8e172c | e91dfa029ff2eac7ddbbe06d4a2aa2cf92111b34 | /array/moveZeroes.cc | 8f04603e0dd9523630d675561c5120d6021e75eb | [] | no_license | MISSCHERYLWANG/leetcode | b51e93f5baf3c2dbdec64ff4a5497d4cc1a44309 | 25e48e81bf394aef3b44a84f4adf24170dfa5a16 | refs/heads/master | 2020-07-02T01:47:26.375733 | 2020-03-12T05:02:49 | 2020-03-12T05:02:49 | 201,373,105 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 594 | cc | #include<iostream>
#include<vector>
using namespace std;
class Solution {
public:
void moveZeroes(vector<int>& nums) {
int j = 0;
for (int i = 0; i < nums.size(); ++i)
{
if (nums[i] != 0)
{
nums[j] = nums[i];
++j;
}
... | [
"1285145078@qq.com"
] | 1285145078@qq.com |
6612ea015c8fc02fe68744f25671350767a19cd9 | 12150dc18c7515fa838ef2a9fcfb1f4e78ac352a | /Visitor.h | e4d681f7b72b95da562f6ee70f9f8425af862194 | [] | no_license | TimePastry/cimple | 8a691a129cf141661c874e4d64e7d3dd94b48cd3 | ed90d45b734b4ccdc4f8f4845740e29bb13f231d | refs/heads/master | 2020-03-29T10:35:31.719412 | 2018-12-14T00:30:40 | 2018-12-14T00:30:40 | 149,813,254 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,602 | h | #pragma once
#include "ASTNodeDefines.h"
#include <string>
#include <vector>
using namespace std;
/*
* Base class for visitor pattern
*/
class Visitor
{
public:
virtual bool previsit(ASTNode* n) { return false; };
virtual bool previsit(ProgramNode* n) { return false; };
virtual bool previsit(Declaratio... | [
"timepastry@gmail.com"
] | timepastry@gmail.com |
890a4a12953c808729cbc9a2ba24a636e5f0201e | 4091b14a01126afec9c96abf19b64fd0adaab75f | /src/beerocks/master/tasks/channel_selection_task.h | ee3b48bc660f430ce18067698591a73f7c75608c | [
"BSD-2-Clause-Patent"
] | permissive | prplfoundation/prplMesh-controller | fea8f1af6d86b63648cf4367e7e9638428aff747 | 896f8ab22a43578b70ce18605e1d8946c7236e6d | refs/heads/master | 2020-05-22T17:41:16.407497 | 2019-05-28T07:05:15 | 2019-05-28T13:04:14 | 186,454,510 | 1 | 0 | NOASSERTION | 2019-05-28T13:04:16 | 2019-05-13T16:10:09 | C++ | UTF-8 | C++ | false | false | 13,695 | h | /* SPDX-License-Identifier: BSD-2-Clause-Patent
*
* Copyright (c) 2016-2019 Intel Corporation
*
* This code is subject to the terms of the BSD+Patent license.
* See LICENSE file for more details.
*/
#ifndef _CHANNEL_SELECTION_TASK_H_
#define _CHANNEL_SELECTION_TASK_H_
#include "../db/db.h"
#include "task.h"
#in... | [
"tomer.b.eliyahu@intel.com"
] | tomer.b.eliyahu@intel.com |
2096cdfaaa61eb30531029d6a8cd54549abbd09b | 3b9b4049a8e7d38b49e07bb752780b2f1d792851 | /src/base/message_loop/message_pump_libevent_unittest.cc | 6d1cf7ef31f9a9ab55da3de7730148bb8de4aacb | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | webosce/chromium53 | f8e745e91363586aee9620c609aacf15b3261540 | 9171447efcf0bb393d41d1dc877c7c13c46d8e38 | refs/heads/webosce | 2020-03-26T23:08:14.416858 | 2018-08-23T08:35:17 | 2018-09-20T14:25:18 | 145,513,343 | 0 | 2 | Apache-2.0 | 2019-08-21T22:44:55 | 2018-08-21T05:52:31 | null | UTF-8 | C++ | false | false | 9,179 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/message_loop/message_pump_libevent.h"
#include <unistd.h>
#include <memory>
#include "base/bind.h"
#include "base/bind_helpers.h"
#i... | [
"changhyeok.bae@lge.com"
] | changhyeok.bae@lge.com |
0dbea7fcf47e2241cc97988593278e9ad93363ad | 7caf728ccebe5606caa415bdfe30d3e415ce88c0 | /ECS.hpp | 6f7b83a5ce7d950851d396b1a21b8f26efe4c4f2 | [] | no_license | Gelberdaniel19/Grimmond | 922d3aece6334cfbf0bd8e0f7ceb251833a081c8 | 42552b93073a7083bd01881b22a3dbfa01846e38 | refs/heads/master | 2020-04-03T14:13:11.693581 | 2019-01-30T21:27:03 | 2019-01-30T21:27:03 | 155,314,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,026 | hpp | #pragma once
#include <vector>
#include <array>
#include <bitset>
#include <memory>
#define MAX_COMPONENTS 8
inline std::size_t getComponentTypeID()
{
static std::size_t lastID = 0;
return lastID++;
}
template <typename T> std::size_t getComponentTypeID() noexcept
{
static std::size_t typeID = getComponentTypeI... | [
"gelberdaniel19@gmail.com"
] | gelberdaniel19@gmail.com |
3a71b9f4e98177f64fffb55ba38d17c914cbc7b8 | 13e787f7e3d972526203129aaa1cee64edf50f12 | /110688/CWE680_Integer_Overflow_to_Buffer_Overflow__new_fgets_68b.cpp | 0b3bb8acdec896691855e8bd032e3109c60bbfcc | [] | no_license | jingjinl/compiled | 995d96f1f616fb28e4afca817363db2078efa673 | cd27273a5867ba213e9964141cb6e0c202437791 | refs/heads/main | 2023-08-19T07:42:21.100132 | 2021-09-19T12:22:39 | 2021-09-19T12:22:39 | 403,235,611 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,502 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE680_Integer_Overflow_to_Buffer_Overflow__new_fgets_68b.cpp
Label Definition File: CWE680_Integer_Overflow_to_Buffer_Overflow__new.label.xml
Template File: sources-sink-68b.tmpl.cpp
*/
/*
* @description
* CWE: 680 Integer Overflow to Buffer Overflow
* BadSource: fgets ... | [
"66043269+jingjinl@users.noreply.github.com"
] | 66043269+jingjinl@users.noreply.github.com |
60d0f8db61ae309b6a9ff3b2810ab78cdfe057ac | c2c7aeb65f63c7ed63106684d2a5a35b19d91748 | /src/host/PciDevice.h | 3c77dc7448b162d9dd99672c1278fe517adc3211 | [] | no_license | monocasa/gen7 | c17f11b407e6754160924d20224da4a1f1f46156 | d71b5c8bdf6d610671b795f3f7de770382c57b3d | refs/heads/master | 2021-03-22T04:56:51.340208 | 2014-05-13T01:09:47 | 2014-05-13T01:09:47 | 10,744,405 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 776 | h | #ifndef GEN7_HOST_PCIDEVICE_H
#define GEN7_HOST_PCIDEVICE_H
#include "sys/Exception.h"
#include "util/BitOps.h"
#include <cstdint>
namespace gen7 {
template<bool SwapConfig>
class PciDevice
{
private:
const char * name;
const uint16_t vendorId;
const uint16_t deviceId;
public:
uint32_t ReadConfig32( int offs... | [
"trismandev@gmail.com"
] | trismandev@gmail.com |
2671859e8bfddf9666099369e6142b3f6ced213e | e8143d86689065311c5d0971f45373f0e4152082 | /main.cpp | 9dad8d71e9eaba2c303b8b2465c09fb734720e4a | [] | no_license | gurbinder533/DynamicVector | eba2806c6464f48a43949168795be52c0bd82d2c | 24c117901ce2931f4e83f2be03227dfaf3254c7d | refs/heads/master | 2020-05-18T03:36:24.611759 | 2014-05-26T07:58:49 | 2014-05-26T07:58:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,301 | cpp | #include <iostream>
#include <cstdint>
#include "Vector_Project1c.h"
using namespace epl;
using namespace std;
class Foo {
public:
bool alive;
static uint64_t constructions;
static uint64_t destructions;
static uint64_t copies;
static void reset(){ copies=destructions=constructions=0; }
... | [
"gurbinder533@gmail.com"
] | gurbinder533@gmail.com |
09ec003203264c97d1c29a3de5a5a05b7facf672 | 00ed3f287739d07968a22d6c5eaedf3c9b9eedb6 | /cow/include/multimedia/recorder_common.h | c0091ff92197bb150026311ea82554835bbc773f | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla"
] | permissive | halleyzhao/cow-mmf | afeffda4e43273e2f64b3323ae821ba785447e24 | 5aada0bd06533ee8100ed4385448856be8d5ac97 | refs/heads/master | 2021-05-08T20:51:38.875878 | 2018-01-31T03:02:09 | 2018-01-31T03:02:09 | 119,620,752 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,373 | h | /**
* Copyright (C) 2017 Alibaba Group Holding Limited. 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
*
* ... | [
"aihua.zah@alibaba-inc.com"
] | aihua.zah@alibaba-inc.com |
b7a38cb7e9d3862a5dea12afba3ffbf663a1d8e8 | e65e6b345e98633cccc501ad0d6df9918b2aa25e | /Contests/Andrew Stankevich Contests/ASC10/A.cpp | 28285c4dcdf214d7e4e8f3fe95585d8c5266f2a9 | [] | no_license | wcysai/CodeLibrary | 6eb99df0232066cf06a9267bdcc39dc07f5aab29 | 6517cef736f1799b77646fe04fb280c9503d7238 | refs/heads/master | 2023-08-10T08:31:58.057363 | 2023-07-29T11:56:38 | 2023-07-29T11:56:38 | 134,228,833 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 593 | cpp | #include<bits/stdc++.h>
#define MAXN 100005
#define INF 1000000000
#define MOD 1000000007
#define F first
#define S second
using namespace std;
typedef long long ll;
typedef long double db;
typedef pair<ll,ll> P;
P p,q,r;
db dis(P p,P q)
{
return sqrt((db)(p.F-q.F)*(p.F-q.F)+(p.S-q.S)*(p.S-q.S));
}
int main()
{
... | [
"wcysai@foxmail.com"
] | wcysai@foxmail.com |
167499f619e67ac2cdacec78fb5a3066ed81546c | 4daed53ef188fe57fc90771c9042dd137e306261 | /WebKit/Source/WebKit/chromium/src/WebCString.cpp | 63eb9c68535931d2ace58f6e8136d5e7592d9f5b | [
"Apache-2.0",
"BSD-2-Clause"
] | permissive | JavaScriptTesting/LJS | ece7d0537b514e06f7f6b26cb06a9ab4e6cd7e10 | 9818dbdb421036569fff93124ac2385d45d01c3a | refs/heads/master | 2020-03-12T14:28:41.437178 | 2018-04-25T10:55:15 | 2018-04-25T10:55:15 | 130,668,210 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,603 | cpp | /*
* Copyright (C) 2009 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | [
"cumtcsgpf@gmail.com"
] | cumtcsgpf@gmail.com |
b28e0d433c4b293ccbf2398dac46dc97fe0f2ff9 | 51faca0ffd1c452a427e551cd8c528a4ac80fc75 | /vg/summer/contest/4/tA.cpp | 6da6b53ec908c3ff7ce1a389e003736ede39f4b6 | [] | no_license | xLLLxLLLx/xLLLx | 37f4127a34374b27f14fe856d854c9a13a9b2e28 | 7ec2ddf39d903c0cdfd52268edd44b2ccbe7e73b | refs/heads/master | 2020-04-18T16:19:24.099657 | 2019-11-03T05:11:41 | 2019-11-03T05:11:41 | 167,631,326 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 435 | cpp | #include <bits/stdc++.h>
using namespace std;
const int N = 1010;
char lx[N], ll[N];
int main() {
scanf("%s%s", lx + 1, ll + 1);
int lenx = strlen(lx + 1);
int lenl = strlen(ll + 1);
int pos = 0, tmp = 0;
for(int i = 1; i <= lenx; ++i) {
pos += (lx[i] == '1');
}
for(int i = 1; i <= lenl; ++i) {
tmp += (ll[i... | [
"2656020973@qq.com"
] | 2656020973@qq.com |
c2885f73c3d8ed1e54b42fe5ddac8d5f8fcebab1 | ecb0c8f9c23ae68408c4e92da440b626ffca6e83 | /problem5.cpp | 5c9d8339e4799a51ce3f8c05211f639ec0ae40e6 | [] | no_license | ghanisol/project_euler | af51c89fc2011ab072bac156135e0f862371ad98 | f13618ab9067b339ebd40a83a730d2690c7fe968 | refs/heads/master | 2021-09-26T17:35:58.564735 | 2018-10-31T22:20:14 | 2018-10-31T22:20:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 271 | cpp | #include <iostream>
using namespace std;
int main()
{
int isDivisible = 0, num = 1;
while (isDivisible != 1)
{
isDivisible = 1;
num++;
for (int i = 1; i <= 20; i++)
{
if (num % i != 0)
{
isDivisible = 0;
break;
}
}
}
cout << num;
}
| [
"ghani@w3cube.com"
] | ghani@w3cube.com |
b7642075d947fb91c364d808fd7aea8cc1cc44e6 | 200df01c4c9eb9f6cca4e8b453acc782086340ef | /cpp/octree.cpp | 49515dcac8c4dbfc2a1c43df3be4b4a3f1b59bf1 | [] | no_license | lacrymose/3bem | 18255b0e1e65d7f844c24ff489cb2ea817bd785d | 8558df4b0786c55593078f261e20739f40fe3701 | refs/heads/master | 2021-05-29T07:08:41.197154 | 2015-09-17T21:29:33 | 2015-09-17T21:29:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,898 | cpp | #include <assert.h>
#include <limits>
#include <algorithm>
#include "octree.h"
#include "numerics.h"
#include "vec_ops.h"
#include "util.h"
#include "geometry.h"
namespace tbem {
template <size_t dim>
size_t Octree<dim>::n_immediate_children() const {
size_t c = 0;
for (const auto& p: children) {
if (... | [
"t.ben.thompson@gmail.com"
] | t.ben.thompson@gmail.com |
0ee9d4cb6b66751078cb2501b20a41e3cf56bfc6 | 2a60eb5064dcc45824fe7a1ea073c35647c5407f | /src/modules/persistence/DBHandler.cpp | f8707d575231ca6a99f6dab354e8cb8021db3aaf | [] | no_license | Victorique-GOSICK/engine | a20627a34191c4cdcd6f71acb7970e9176c55214 | a7828cfc610530080dafb70c5664794bde2aaac7 | refs/heads/master | 2021-07-20T00:04:28.543152 | 2017-10-27T18:42:29 | 2017-10-27T18:42:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,009 | cpp | /**
* @file
*/
#include "DBHandler.h"
#include "core/Singleton.h"
#include "core/Assert.h"
#include "ConnectionPool.h"
#include "core/Log.h"
namespace persistence {
DBHandler::DBHandler() {
}
DBHandler::~DBHandler() {
core_assert_always(!_initialized);
}
bool DBHandler::init() {
if (core::Singleton<ConnectionP... | [
"martin.gerhardy@gmail.com"
] | martin.gerhardy@gmail.com |
1b8587afcd61c570ebb13d0824e365e96f28c5fc | acc2f5336d768a7d86dbd2eec441283cfd11d52d | /src/server/gameserver/skill/RottenApple.cpp | 17e2a2e2341719a33e3c594f000e9f8ad7738c71 | [] | no_license | stevexk/server | 86df9e8c2448ad97db9c3ab86820beec507ef092 | 4ddb6e7cfa510bb13ccd87f56db008aa1be1baad | refs/heads/master | 2020-01-23T22:00:57.359964 | 2015-09-18T14:58:27 | 2015-09-18T14:58:27 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 2,124 | cpp | //////////////////////////////////////////////////////////////////////////////
// Filename : RottenApple.cpp
// Written by :
// Description :
//////////////////////////////////////////////////////////////////////////////
#include "RottenApple.h"
#include "SimpleTileMissileSkill.h"
//////////////////////////////////... | [
"tiancaiamao@gmail.com"
] | tiancaiamao@gmail.com |
d6deee1d8ddd867df86d83f66af0bc1a6d228f5e | 34c5456bb48c86fd5657423b738372a283da6919 | /garnet/public/lib/escher/test/util/intrusive_list_unittest.cc | b8ee5471f37054da15cea3b259458066d8713346 | [
"BSD-3-Clause"
] | permissive | yanyushr/fuchsia | 75ab66df4158cdcaf515cece0511c73736a23fad | 98e70672a81a206d235503e398f37b7b65581f79 | refs/heads/master | 2022-11-20T03:27:48.996258 | 2019-04-24T17:25:35 | 2019-04-24T17:25:35 | 183,284,990 | 0 | 1 | BSD-3-Clause | 2022-10-28T17:30:27 | 2019-04-24T18:27:17 | C++ | UTF-8 | C++ | false | false | 4,611 | cc | // Copyright 2018 The Fuchsia 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 "lib/escher/util/intrusive_list.h"
#include "gtest/gtest.h"
namespace {
using namespace escher;
class TestObj : public IntrusiveListItem<TestOb... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
1306454b2a5ad1bc4c5fb050337da0c81f52eb91 | 41453d9d2f02c1e464394e7db499b5c975bf3e31 | /headers/mc/Item.h | a09a5a157c473d43362a074bab22e78fc88c0148 | [] | no_license | wzyyyyyyy/LuaUtils | d4d5322648ba5a9d7665623964dafd95205dd4fa | bc2a370017d12fd86a0b125e4952504ac2626906 | refs/heads/main | 2023-03-22T10:29:27.070034 | 2021-03-20T05:45:52 | 2021-03-20T05:45:52 | 349,640,330 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 52,915 | h | #pragma once
#include "Core.h"
#include <vector>
class ItemStackBase {
char filler[136];
public:
MCINLINE class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>> toString() const {
class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>> (ItemStack... | [
"382271046@qq.com"
] | 382271046@qq.com |
71368162f7bc6caf9135b42dfde5ab8342cd04fd | 2a0ffcda9186a2c1fe37e59b2d8f25f90918a888 | /sdl/guiAudio.cpp | d27d14964c5009c11c33f02b11bf969fbe4105bd | [] | no_license | hendersa/beaglesnes-src | d3eccadefbff8b5518808048f9d8f4839c72886d | 19ce4a663833b9f5cff5028d32c7ae5bb35a6277 | refs/heads/master | 2018-12-31T14:35:35.632839 | 2014-09-13T19:30:07 | 2014-09-13T19:30:07 | 24,002,253 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,124 | cpp | /*****************************************************************************
BeagleSNES - Super Nintendo Entertainment System (TM) emulator for the
BeagleBoard-xM platform.
See CREDITS file to find the copyright owners of this file.
GUI front-end code (c) Copyright 2013 Andrew Henderson (hendersa@icculus.or... | [
"hendersa@icculus.org"
] | hendersa@icculus.org |
f4d988356767141400f68f1a0f42bea959945d47 | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/Tracking/TrkDetDescr/TrkDetDescrUtils/TrkDetDescrUtils/CompactBinnedArray2D.h | 9c2451ad98cf677fd533ce771368aefc05d17e98 | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,802 | h | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
///////////////////////////////////////////////////////////////////
// CompactBinnedArray1D.h, (c) ATLAS Detector software
///////////////////////////////////////////////////////////////////
#ifndef TRKDETDESCRUTILS_COMPACTBINNEDARRAY2D_H... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
e947cd76d0fb1af8e7ae9cabfb542342b9fc18aa | 61b43e9b190d145603a196411e17707a029d4aa4 | /RFM69_2way_node/RFM69_2way_node.ino | 36f5b44a8c29fe0c3d64bd65602a6120486d3d51 | [] | no_license | sushyad/Arduino | 07d0e546c056acb7052e7426f00cfb2782543bc6 | 5f3562b61b82e9ea4ffa81982c28b94851d07720 | refs/heads/master | 2021-01-01T16:13:44.322811 | 2015-11-29T21:37:09 | 2015-11-29T21:37:09 | 14,848,713 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,216 | ino | // Test sketch that is loaded on slave Moteinos
// It will send an encrypted message to the master/gateway every TRANSMITPERIOD
// It will respond to any ACKed messages from the master
// Every 3rd message will also be ACKed (request ACK from master).
#include <RFM69.h>
#include <SPI.h>
#include <SPIFlash.h>
#include <... | [
"sushyad@gmail.com"
] | sushyad@gmail.com |
f5d2b0676f36fb84735510c7a1dd697fd7552a06 | c3154e8620d3a97cdea9491b2cb37b152eb07d91 | /Framework/AI/Inc/NeatConfig.h | 1d2b7bd9d0164f69d79fe9b025b2b185c68edeb4 | [
"MIT"
] | permissive | amyrhzhao/CooEngine | e9283e10f6f374b2420c7f20117850beb82f6a93 | 8d467cc53fd8fe3806d726cfe4d7482ad0aca06a | refs/heads/master | 2020-12-24T03:43:35.021231 | 2020-09-19T00:18:43 | 2020-09-19T00:18:43 | 281,494,528 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 701 | h | #pragma once
namespace Coo::AI::NEAT
{
struct MutationConfig
{
double connection_mutate_chance = 0.25;
double perturb_chance = 0.90;
double crossover_chance = 0.75;
double link_mutation_chance = 2.0;
double node_mutation_chance = 0.50;
double bias_mutation_chance = 0.40;
double step_size = 0.1;
doubl... | [
"amy.rh.zhao@gmail.com"
] | amy.rh.zhao@gmail.com |
eb445f15ffa459e0bf0e6552f4e830593b8ec19f | 1f25f8adb39ece73ce111d759e2104bd0b0b4cd2 | /acm/msbop2015/round2a/2.cpp | 2331c7e3303c5b57693039ce23edee166b07cf75 | [] | no_license | LTzycLT/code | 75f31ecc02ddd1ca8d264f7640d37c02fb7750b9 | 47cb2cfa7c6f3318a35e4763e1827197227e468b | refs/heads/master | 2021-01-10T16:51:05.866008 | 2018-04-25T12:33:06 | 2018-04-25T12:33:06 | 36,212,582 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,464 | cpp | #include<stdio.h>
#include<string.h>
#include<iostream>
#include<algorithm>
#include<math.h>
#include<map>
#include<vector>
#include<string>
#include<set>
#include<queue>
#define MP(x,y) make_pair(x,y)
#define clr(x,y) memset(x,y,sizeof(x))
#define forn(i,n) for(int i=0;i<n;i++)
#define sqr(x) ((x)*(x))
#define MAX(a,b... | [
"LTzycLT@gmail.com"
] | LTzycLT@gmail.com |
6c42aa945809107b2eef766e624e9dfa8b3075e6 | 90ae9b1cfee6dae152045f68e3d98178f51a7d59 | /Classes/SunShine.h | 0ef801e7881f6ea353e20c88c4fef704e09a62f9 | [] | no_license | guinao/CallofDefense | 8db9ac5a7db05cd7d90375b5bf8570acd1d178df | e54085583c62b40734f6cca7b3520f0479a47177 | refs/heads/master | 2021-01-23T12:46:34.344347 | 2014-03-25T02:18:32 | 2014-03-25T02:18:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 327 | h | #ifndef _SunShine_H_
#define _SunShine_H_
#include "cocos2d.h"
#include <vector>
using namespace std;
USING_NS_CC;
class SunShine : public CCNode
{
public:
SunShine();
~SunShine();
static SunShine* createSunShine(int value);
private:
void sunDisappear();
vector<CCSprite*> vc;
int m_value;
bool m_over;
};
... | [
"yingyuanxiang34@sina.com"
] | yingyuanxiang34@sina.com |
28213048eb94bd9a99941122ab763b1323a54e4f | 5012f1a7f9d746c117f04ff56f7ebe6d5fc9128f | /1.Server/2.Midware/KFPlugin/KFRobot/KFCancleMatchState.cpp | 259a111d9405d650ee3a5dfc00d21c89c0f6f23c | [
"Apache-2.0"
] | permissive | hw233/KFrame | c9badd576ab7c75f4e5aea2cfb3b20f6f102177f | a7e300c301225d0ba3241abcf81e871d8932f326 | refs/heads/master | 2023-05-11T07:50:30.349114 | 2019-01-25T08:20:11 | 2019-01-25T08:20:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 695 | cpp | #include "KFCancleMatchState.h"
#include "KFRobot.h"
namespace KFrame
{
void KFCancleMatchState::EnterState( KFRobot* kfrobot )
{
// 启动定时器, 10秒认证一次
kfrobot->StartTimer( _kf_robot_config->_state_rep_time );
}
void KFCancleMatchState::LeaveState( KFRobot* kfrobot )
{
kfrobot... | [
"lori227@qq.com"
] | lori227@qq.com |
1393b58b8d6bf31819a054d92060ba58e8bc5b42 | 6a98ab1a4800e6f169b75c17e01c2fa491989a79 | /Weapons/LaserShot.h | 20f7934971442e1663428b43d2d2533cfee5b915 | [] | no_license | OpenEngineDK/branches-Prototype | 966eccfb9ddb0e4a3a68f8fb6a1c1a0d0314dd5c | 1364da5ca25a6eb00c829a63db8e083b2e03cc8b | refs/heads/master | 2021-01-01T05:18:26.599471 | 2008-08-13T09:52:42 | 2008-08-13T09:52:42 | 58,077,163 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,616 | h | // Rigid body rendering.
// -------------------------------------------------------------------
// Copyright (C) 2007 (See AUTHORS)
//
// This program is free software; It is covered by the GNU General
// Public License version 2 or any later version.
// See the GNU General Public License for more details (se... | [
"jfblaa@gmail.com"
] | jfblaa@gmail.com |
d55d6f7241550df5c47605a993165778ff2e57f3 | 2144eda35be6541b190bb4f2493548cf236d99ad | /src/either.cpp | 6ad5d8d0de759b717729fb79d242062b148cdb38 | [] | no_license | claudiouzelac/functional-cpp | b00da085d4f6265215a83fbbfb571523baee1e6e | 193f423e737b52389a6db356da47a74e587857c7 | refs/heads/master | 2022-10-07T09:20:56.084091 | 2013-10-22T10:04:54 | 2013-10-22T10:04:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,380 | cpp | #include "proto.hpp"
#include "show.hpp"
#include "either.hpp"
///////////////////////////////////////////////////////
int ei_0()
{
auto val = Either<std::string, std::string>::Left("hello");
std::cerr << val << std::endl;
auto v2 = Either<std::string, std::string>::Right("hello");
std::cerr << v2 << std::endl... | [
"fons.haffmans@gmail.com"
] | fons.haffmans@gmail.com |
3228f238132b5be3d14b59a1ae1cda9e518f0d7f | b8ce859b04c66d6872c6ffb86d1329b30f8b4f6d | /Tempest/core/wrappers/texture2d.h | 98579be399c95593843037ac12f59677fe7be323 | [
"MIT"
] | permissive | enotio/Tempest | fc8cca311ae10b1cf7825202296cdbabec373834 | 1a7105cfca3669d54c696ad8188f04f25159c0a0 | refs/heads/master | 2023-02-04T11:38:58.829324 | 2020-12-26T12:49:34 | 2020-12-26T12:49:34 | 8,636,507 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,514 | h | #ifndef TEXTURE2D_H
#define TEXTURE2D_H
#include <Tempest/AbstractTexture>
#include <Tempest/TextureHolder>
#include <Tempest/CopyWhenNeedPtr>
#include <Tempest/Utility>
namespace Tempest{
//! simple 2d texture class
class Texture2d : public AbstractTexture {
public:
Texture2d();
Texture2d( Abst... | [
"try9998@gmail.com"
] | try9998@gmail.com |
a1b28b725c3c3e370e91748f684afd3a2c984645 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /quickbi-public/include/alibabacloud/quickbi-public/model/ListCollectionsRequest.h | acbfde4e7a587104566857ceb55f49275664eeec | [
"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,670 | h | /*
* 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 |
a1354b5657066b23a3306a0290830fcbf1747e00 | 7df2715a538a4e10f336c2ce19bc799ec43f73b2 | /source/ReadAlign_oneRead.cpp | 827d9fe31adbeab3d9ccd8dd1da196872782f3d9 | [
"MIT"
] | permissive | sunrash/STAR | bbc7ab2e95d68b6a8848ff152d4291843a36cebf | 50a6504f83988349ca52277e84f6aa892c04589c | refs/heads/master | 2022-12-16T01:50:22.050615 | 2020-09-21T21:41:35 | 2020-09-21T21:41:35 | 119,049,791 | 0 | 0 | NOASSERTION | 2020-09-21T21:41:37 | 2018-01-26T12:36:55 | C | UTF-8 | C++ | false | false | 4,157 | cpp | #include "ReadAlign.h"
#include "readLoad.h"
#include "SequenceFuns.h"
#include "ErrorWarning.h"
int ReadAlign::oneRead() {//process one read: load, map, write
//load read name, sequence, quality from the streams into internal arrays
int readStatus[2];
readStatus[0]=readLoad(*(readInStream[0]), P, 0, re... | [
"dobin@cshl.edu"
] | dobin@cshl.edu |
12d867443f2ec9e81b9b95408d46635663658a7d | 8cd2efac9e750e81ac9732cd94876260437f8315 | /PharmPlatform/viewmodel/mainviewmodel.cpp | abd0d8f130898fa26c66087ec3410d253e9bf339 | [] | no_license | jackfeng44/testGit | d085c1f81050db4e091738ab9adb9dd2c6bbed12 | 73df94c74d47ff1f72222688646fd105bedeab80 | refs/heads/master | 2021-08-06T11:16:23.373157 | 2017-11-05T13:51:36 | 2017-11-05T13:51:36 | 109,575,720 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,541 | cpp | #include "mainviewmodel.h"
MainViewModel::MainViewModel(QObject *parent) : QObject(parent),
m_model(NULL)
{
setModel(new MainModel());
}
MainModel *MainViewModel::model()
{
return m_model;
}
void MainViewModel::setModel(MainModel *model)
{
m_model = model;
if (m_model)
{
connect(thi... | [
"1061819014@qq.com"
] | 1061819014@qq.com |
8e5c48c7fd20cfacd1351a68dbee96d6c3c354be | 85e0fc0d8ada5e07e11b8ca5c4ecbb95d1eae2de | /project2D/Grid.cpp | 70c607dec5ee33d657b07da596267cc90664f5a1 | [
"MIT"
] | permissive | ben-rasooli/ai-subject-submission | b1cd88322c6648ec67fa510a9d5dc3103c3abb8a | 888bd969bd0d81bf898326b94f50afe57de75633 | refs/heads/master | 2020-06-25T15:06:09.520910 | 2019-08-05T05:56:14 | 2019-08-05T05:56:14 | 199,346,989 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,743 | cpp | #include "Grid.h"
Grid::Grid()
{
populateNodes();
_path = nullptr;
_wanderingTargetPosition = Vector2(-1, -1);
}
Grid::~Grid()
{
for (int i = 0; i < _nodes.Count(); i++)
{
for (int ii = 0; ii < _nodes[i]->Neighbors.Count(); ii++)
delete _nodes[i]->Neighbors[ii];
delete _nodes[i];
}
}
void Grid::Draw(ai... | [
"ben.rasooli@gmail.com"
] | ben.rasooli@gmail.com |
ec6be5952519c6d2386ef02f41dec1be10e5f10e | bd8bcdb88c102a1ddf2c0f429dbef392296b67af | /include/fengine/Video/RenderSystem/RenderContext.h | 736c5d6d53753b18a5cb83eacc257691d28164b0 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | LukasBanana/ForkENGINE | be03cee942b0e20e30a01318c2639de87a72c79c | 8b575bd1d47741ad5025a499cb87909dbabc3492 | refs/heads/master | 2020-05-23T09:08:44.864715 | 2017-01-30T16:35:34 | 2017-01-30T16:35:34 | 80,437,868 | 14 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 39,330 | h | /*
* Render context header
*
* This file is part of the "ForkENGINE" (Copyright (c) 2014 by Lukas Hermanns)
* See "LICENSE.txt" for license information.
*/
#ifndef __FORK_RENDER_CONTEXT_H__
#define __FORK_RENDER_CONTEXT_H__
#include "Core/Export.h"
#include "Core/DeclPtr.h"
#include "Platform/Core/Frame.h"
#in... | [
"lukas.hermanns90@gmail.com"
] | lukas.hermanns90@gmail.com |
7eb4fcc1bfe4afb82f76bf5478bd14a6b91768b6 | 8a4440178698c6565e5ccf739f727809bf07cc9d | /Compressonator/Source/Common/HDR_Encode.h | 6f7598fabfbe76476b554924b686ccc16027e46b | [
"MIT"
] | permissive | AlexanderN/Compressonator | 70059778f1e63b71c6a31d05cccffc43a550103f | b67bc1db011da59e452ecdd650feaea28cab83b1 | refs/heads/master | 2021-01-23T10:07:30.483318 | 2017-09-06T12:49:18 | 2017-09-06T12:49:18 | 102,604,428 | 0 | 0 | null | 2017-09-06T12:14:29 | 2017-09-06T12:14:29 | null | UTF-8 | C++ | false | false | 5,415 | h | #ifndef HDR_Encode_H
#define HDR_Encode_H
//===============================================================================
// Copyright (c) 2007-2017 Advanced Micro Devices, Inc. All rights reserved.
// Copyright (c) 2004-2006 ATI Technologies Inc.
//==================================================================... | [
"xooi@amd.com"
] | xooi@amd.com |
9ec8ad87c91b831607053599c7690b3f72cb0616 | 79df31e52d5561595256fbe3a1a42c6dddcf2349 | /src/Lib/DBModel/Private/Base.h | 860974f3c4c47f0bbcfee0621e9ec9c330f119fc | [] | no_license | gitcommit/geologist | ab2e4c0a1f21d99f827d96ff670c9d82e2f490cf | 0cff4697cff6899b6263af712a86b9701e994f57 | refs/heads/master | 2021-01-01T06:32:47.007872 | 2010-12-17T10:16:23 | 2010-12-17T10:16:23 | 1,123,829 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 355 | h | #ifndef BASE_H_
#define BASE_H_
#include <QtCore/QSharedData>
#include <QtCore/QString>
class Base: public QSharedData {
public:
Base(const QString& name = QString::null);
Base(const Base& other);
virtual ~Base();
void setName(const QString& n) { _name = n; }
QString name() const { return _name; }
private:
QStr... | [
"johannes.lochmann@gmail.com"
] | johannes.lochmann@gmail.com |
2861064a650d0283e11edfff351efe4d5da275b6 | 7f6893aa047ed9cfe338188711083e61d76a1975 | /src/Utils.h | 4eb6f495d67970476b298af494d8db8196a646d3 | [] | no_license | anahitH/introspection-result-checking | 31303f1b56d7111d076260fb8b68d554cddaa5da | fc7329d935b3f78e6000c2b90ca5937a099e4955 | refs/heads/master | 2021-01-25T05:08:58.967967 | 2017-07-24T16:38:54 | 2017-07-24T16:38:54 | 93,507,872 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 757 | h | #pragma once
#include <cxxabi.h>
namespace result_checking {
class NameUtilities
{
public:
static std::string demangle(const std::string& mangled_name)
{
int status = -1;
char* demangled = abi::__cxa_demangle(mangled_name.c_str(), NULL, NULL, &status);
if (status == 0) {
r... | [
"anahithayrapetyan91@gmail.com"
] | anahithayrapetyan91@gmail.com |
773395bc63a82ee4a00c1d5851b4a651d114c284 | efa70357cf81a98d146ce857e082f4a7093f68c1 | /KDZ/Dictionary.hpp | 3ddb5e523f8fced73cd3742969d5161b60ba5374 | [] | no_license | futures-dev/Homework | 8afe8a651010324fd0b9f01e8167642f1a6248d0 | 4051d01dcdbbade2f72b8f832e72a66c24e22fab | refs/heads/master | 2020-04-10T11:56:14.078477 | 2017-03-19T20:33:03 | 2017-03-19T20:33:03 | 42,048,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,141 | hpp | //
// Andrei Kolomiets 143-1
// CLion 2016.1.2 MinGW 3.21 GCC 4.9.1
// 22.05.2016
//
#ifndef HOMEWORK_DICTIONARY_H
#define HOMEWORK_DICTIONARY_H
#include <string>
#include <fstream>
#include <stdexcept>
#include <iostream>
#include <set>
#include <regex>
#ifdef _MSC_VER
#include <intrin.h>
#else
#include <x86intrin... | [
"futures_dev@outlook.com"
] | futures_dev@outlook.com |
c638452aa6cca14a8c061418f5229b7637465930 | 7115c23c1e37bd6a1c2540cd78c12518859a4a77 | /chap 06 ex_13/main.cpp | ed92beed1f2a6ef21b44cb7a1ce75122330be14b | [] | no_license | liuxiaomim/liu_xiaomi | 67ac47b7e08327695ac72b8a380966ed36af9ba6 | 95dbb7d7a5e8b4e56976bc0b6d80265e5c6351c7 | refs/heads/master | 2020-04-02T10:16:48.958449 | 2019-04-21T09:40:25 | 2019-04-21T09:40:25 | 154,332,314 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 371 | cpp | #include <iostream>
#include<cmath>
#include<iomanip>
using namespace std;
int main()
{
double a,b,c,d;
int y1,y2,y3,y4;
cin>>a>>b>>c>>d;
y1=floor(a+0.5);
y2=floor(b+0.5);
y3=floor(c+0.5);
y4=floor(d+0.5);
cout<<a<<'\t'<<y1<<endl;
cout<<b<<'\t'<<y2<<endl;
cout<<c<<'\t'<<y3<<... | [
"2739808567@qq.com"
] | 2739808567@qq.com |
1a7249c8d530a47af45164d9a585659f0d988dac | 94c647a218b1111785dca500b95cabfe98ee26d9 | /ssdb/src/range_migrate.h | 5082082521a9057f4481bb8be7a896fd9ec3151d | [
"BSD-3-Clause",
"Apache-2.0",
"BSD-4-Clause-UC",
"MIT",
"BSD-2-Clause"
] | permissive | taihedeveloper/SSDB_Cluster | a417f497e3228a6251574c26c6ad1481624c9d02 | b8279dc42af24f8a244842f4d5191b3d1894ce88 | refs/heads/master | 2021-06-23T16:15:17.326140 | 2017-08-21T10:22:02 | 2017-08-21T10:22:02 | 94,286,919 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,400 | h | #ifndef SSDB_RANGE_MIGRATE_H_
#define SSDB_RANGE_MIGRATE_H_
#include "include.h"
#include "leveldb/slice.h"
#include "net/fde.h"
#include "ssdb/ssdb.h"
#include "ssdb/ssdb_impl.h"
#include "ssdb/binlog2.h"
#include "ssdb/ttl.h"
class Link;
class Response;
class SegKeyLock;
class RangeMigrate {
public:
RangeMigrate(S... | [
"wangchangqing@taihe.com"
] | wangchangqing@taihe.com |
f7554b069c1f4e930cf64746d61d5554f23104e9 | 14582f8c74c28d346399f877b9957d0332ba1c3c | /tags/pstade_2007/libs/oven/example/permutations.cpp | f0eca405d446b1a0491fb313ee388c7581207370 | [] | no_license | svn2github/p-stade | c7b421be9eeb8327ddd04d3cb36822ba1331a43e | 909b46567aa203d960fe76055adafc3fdc48e8a5 | refs/heads/master | 2016-09-05T22:14:09.460711 | 2014-08-22T08:16:11 | 2014-08-22T08:16:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,799 | cpp | #include <pstade/detect_result_type.hpp>
#include <pstade/vodka/drink.hpp>
// PStade.Oven
//
// Copyright Shunsuke Sogame 2005-2007.
// 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)
// don't ask me... | [
"mb2sync@350e9bb6-6311-0410-90c3-be67731b76ec"
] | mb2sync@350e9bb6-6311-0410-90c3-be67731b76ec |
d9973fa3066d85d1674c5be683056457c7a5c88b | dcc668891c58cd594234d49a209c4a5e788e2341 | /include/lol/def/LolChampSelectLegacyCollectionsChampion.hpp | 1d0ef9937632627fc335b15c1204832fb459c171 | [
"BSD-3-Clause"
] | permissive | Arryboom/LeagueAPI | 56d6832f125d1843d575330ae5b0c8172945cca8 | be7cb5093aab3f27d95b3c0e1d5700aa50126c47 | refs/heads/master | 2021-09-28T01:05:12.713109 | 2018-11-13T03:05:31 | 2018-11-13T03:05:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 711 | hpp | #pragma once
#include "../base_def.hpp"
#include "LolChampSelectLegacyCollectionsOwnership.hpp"
namespace lol {
struct LolChampSelectLegacyCollectionsChampion {
bool freeToPlay;
int32_t id;
LolChampSelectLegacyCollectionsOwnership ownership;
};
inline void to_json(json& j, const LolChampSelectLegac... | [
"moonshadow565@gmail.com"
] | moonshadow565@gmail.com |
a094313dcbc1b7584064e03d328b3c3ebfe80557 | 2eecd74bcc98db5c9215155c650cb5639224b6a7 | /hpx/runtime/actions/preprocessed/construct_continuation_function_objects_20.hpp | 24d7974a27123e7c3af0dba92b32913ae9c306c8 | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | sqandr/hpx | ce1a7f4e06e7f2249c1d7ba59934486ab3381241 | 8a0032be63debae7022fb3b28ec32fcff8e31c5d | refs/heads/master | 2023-09-01T00:17:28.376961 | 2012-08-08T03:02:06 | 2012-08-08T03:02:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 137,228 | hpp | // Copyright (c) 2007-2012 Hartmut Kaiser
//
// 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)
// This file has been automatically generated using the Boost.Wave tool.
// Do not edit manually.
namespace detail
{
... | [
"hartmut.kaiser@gmail.com"
] | hartmut.kaiser@gmail.com |
76bbf6a9d9042e80db0164b391690f2b7e6fc7d7 | 79cd409b4b12f8ab76a31130750753e147c5dd4e | /wiselib.testing/algorithms/topology/adjust_power/sequential_try_ping_message.h | 14622587186a7adbeb85957fbba9ae3c96045de0 | [] | no_license | bjoerke/wiselib | d28eb39e9095c9bfcec6b4c635b773f5fcaf87fa | 183726cbf744be9d65f12dd01bece0f7fd842541 | refs/heads/master | 2020-12-28T20:30:40.829538 | 2014-08-18T14:10:42 | 2014-08-18T14:10:42 | 19,933,324 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,844 | h | /***************************************************************************
** This file is part of the generic algorithm library Wiselib. **
** Copyright (C) 2008,2009 by the Wisebed (www.wisebed.eu) project. **
** **
** The Wise... | [
"tbaum@guest215.ibr.cs.tu-bs.de.ibr.cs.tu-bs.de"
] | tbaum@guest215.ibr.cs.tu-bs.de.ibr.cs.tu-bs.de |
cc0329a5720831c9d1e2be8410376648e6e1187c | d9142bdff80cad8a1bf5a138f55c442a04e2674d | /1707.cpp | e1535477d2fb46c18b07a249b08f2177b98934d2 | [] | no_license | epicurean21/Algorithm | 280a84d5f73db7787eb2589a3a37901983496691 | d5fa2f0318d45bdd17c5ccda9e72468b4711100c | refs/heads/master | 2023-07-22T05:30:47.982546 | 2023-07-09T06:22:09 | 2023-07-09T06:22:09 | 199,615,976 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,105 | cpp | #include <iostream>
#include <vector>
#include <cstring>
using namespace std;
#define MAX 20001
int K, V, E, a, b;
vector<vector<int>> map;
int flag[MAX];
bool isBigraph;
void init() {
map.clear();
memset(flag, 0, sizeof(flag));
isBigraph = true;
}
void dfs(int cur, int color) {
flag[cur] = color;
... | [
"jm_company@naver.com"
] | jm_company@naver.com |
9c8d0738a8d2f9fc072c618bc33d5af12a693947 | 1ec423ffbb2af3324d2b3974ce5e3818f993a316 | /Sensor_EC.ino | 908ebcfd73c483eb813ba693f33f89970fb8c779 | [
"Apache-2.0"
] | permissive | daessar/BHF-Tech | cabb3f393dbd2f7e63986649cbedfe23aab8184b | 44d55248f7754959de9fccdcbf35b06aafdc8772 | refs/heads/master | 2020-11-27T23:09:29.555196 | 2019-12-24T01:57:57 | 2019-12-24T01:57:57 | 229,641,148 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,088 | ino | void SensorEC(){
currentTime = millis();
// Read Sensors
// Check for start read time
if ( currentTime - readStartTime >= READ_INTERVAL ){ // Initialize EC Meter read sequence
readStartTime = currentTime; // Set start time
}
else if ( currentTime - READ_DURATION ... | [
"daessar12@gmail.com"
] | daessar12@gmail.com |
31cf738c3f3cb5982522d48aa22c3453c731e86d | 2d7654100abad2244666bcf46229f9f1f274d521 | /task_manager/src/correction.cpp | 2bc8bddb60fcd2cbee5d896f777afddf42356a2d | [] | no_license | lkova/uav_planning_confined_spaces | 49aa7e3f977985f5ed882ecb24a27ada4e31d596 | aa2d7c9aaafc0b68faf49ffb63127cdb50e3d91a | refs/heads/master | 2023-08-30T11:01:23.844183 | 2021-11-04T08:33:58 | 2021-11-04T08:33:58 | 281,786,853 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,942 | cpp | /*
* Copyright 2015 Fadri Furrer, ASL, ETH Zurich, Switzerland
* Copyright 2015 Michael Burri, ASL, ETH Zurich, Switzerland
* Copyright 2015 Mina Kamel, ASL, ETH Zurich, Switzerland
* Copyright 2015 Janosch Nikolic, ASL, ETH Zurich, Switzerland
* Copyright 2015 Markus Achtelik, ASL, ETH Zurich, Switzerland
*
* L... | [
"lkova7@gmail.com"
] | lkova7@gmail.com |
91c3dc8a6f06dbc46e25ecba2d24d5f58c3fc055 | 4bf8273b90fe1ac4f0a26db494526af2940d07b9 | /problem/backup/tryout/a_pll_spice/spc_2_c/1105/run_spv2.cpp | 82bee0633443c241452c7fb081df542c23eeb75a | [] | no_license | timberjack/mpo | 1ac93ab132d289b25d0fef6a373fd3b63385fab6 | 1d0011cb997d5d69b64b9103b775dbcb9c428b2a | refs/heads/master | 2020-04-18T09:46:56.512648 | 2019-06-03T04:59:43 | 2019-06-03T04:59:43 | 167,446,826 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,308 | cpp | #include <iostream>
#include <fstream>
#include <stdlib.h>
#include <pthread.h>
#include <string.h>
#include <sstream>
#include <ctype.h>
//#include <cstdlib> // for std::rand
//#include <cmath> // for std::sqrt and std::log
using namespace std;
#include <systemc-ams.h>
SCA_TDF_MODULE(spv)
{
// double output_time[100... | [
"xnwang30@gmail.com"
] | xnwang30@gmail.com |
29579a320569629f02d472c96e2c7e72051db780 | c225d891cd03c73da3798062139f95021773e1af | /2513.cpp | 686490292958eb56b2c8c8a2bdcc00b15ebf2cf1 | [] | no_license | ototsuyume/poj-solution | 8061614654cab96b61c654ba6c2bd369a806cb86 | eb3746cb16a21f19d85b795b65fed8544ac99764 | refs/heads/master | 2016-09-06T00:19:32.312260 | 2015-02-27T09:21:49 | 2015-02-27T09:21:49 | 25,431,563 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,209 | cpp | #include<stdio.h>
#include<string.h>
struct _trie{
int child[26];
int num,count;
};
_trie trie[2550000*2];
int set[510000];
int cur=1,diff=0,total=0,odd=0;
int find(int i)
{
if(set[i]==-1)
set[i]=i;
if(set[i]==i)return i;
set[i] = find(set[i]);
return set[i];
}
int merge(int i,int j)
{
int pj=find(j),... | [
"yume@ototsuyume.(none)"
] | yume@ototsuyume.(none) |
627cf28c8da0d2a1b6e859b9fc59c06a164e472c | 9526edb531bca23e527bf956134008d8ab51011b | /test/tailoring_rule_test_bs_standard_000.cpp | 3fe1eb5089ee605b5d75606b6318300c1e949529 | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | mikezackles/text | f2d4fa2431479ab0bed3feba1aae249e179394af | a5a21f87bbe8a1f8b893951f318f25802c52aa0d | refs/heads/master | 2021-05-20T16:39:09.467828 | 2020-05-19T17:55:40 | 2020-05-19T17:55:40 | 252,369,260 | 0 | 0 | BSL-1.0 | 2020-04-02T06:02:42 | 2020-04-02T06:02:42 | null | UTF-8 | C++ | false | false | 28,414 | cpp |
// Warning! This file is autogenerated.
#include <boost/text/collation_table.hpp>
#include <boost/text/collate.hpp>
#include <boost/text/data/all.hpp>
#ifndef LIMIT_TESTING_FOR_CI
#include <boost/text/save_load_table.hpp>
#include <boost/filesystem.hpp>
#endif
#include <gtest/gtest.h>
using namespace boost::text;
... | [
"whatwasthataddress@gmail.com"
] | whatwasthataddress@gmail.com |
7004cfe702fcf785e390fb49febde3a40559ebbc | f21514c40415ae34aa790c5d69f02a9d563c79fd | /Graph/grafo.h | b6d37841b09921d85059599b6da97c5b6c81247a | [
"MIT"
] | permissive | projeto-de-algoritmos/Grafos1-Kevin_Bacon_Number | eb20b3d18c7dd0438be8e96d70d366c4e700e11f | c51e7555f78c21adf329e4b813464046c5f1166d | refs/heads/master | 2020-07-10T08:31:14.547785 | 2019-09-13T11:14:01 | 2019-09-13T11:14:01 | 204,218,645 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 770 | h | #ifndef GRAFO_H
#define GRAFO_H
#include <pessoa.h>
#include <vector>
#include <bitset>
#include <list>
#include <queue>
#include <map>
using namespace std;
extern vector<Pessoa> nodes;
extern vector<vector<unsigned int>> edges;
const int MAX = 20000000;
bool BFS(const unsigned int src, const unsigned int dest, vec... | [
"henrikem100@gmail.com"
] | henrikem100@gmail.com |
537702e7ca64c300afe028091e52052c7b4ae322 | 1c03f9dee9380fe95f582ab39275f58fd38de25c | /lab3_car/src/command_control/command/turn_engine_off_command/TurnEngineOffCommand.cpp | b0790dd955429a3ffe901d24dd3174c834928d93 | [] | no_license | KernelMrex/oop_labs | 80cc630f8a30be299db85a411f197015acac8121 | f0308217633d70bffa9a921709a7697be9722435 | refs/heads/master | 2022-07-20T15:39:48.973014 | 2022-06-29T23:56:49 | 2022-06-29T23:56:49 | 240,644,668 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 175 | cpp | #include "TurnEngineOffCommand.h"
TurnEngineOffCommand::TurnEngineOffCommand(Car& car)
: car(car)
{
}
bool TurnEngineOffCommand::Execute()
{
return car.TurnEngineOff();
}
| [
"ilya.shulepov@ispringsolutions.com"
] | ilya.shulepov@ispringsolutions.com |
90f5892ac0ca8f4c13c2f7737917d4f6d91fd49d | efb25a20ecddb3a0a8795bc616069fc1a94e5375 | /sdk_k64f/middleware/mcu-boot/tools/tools/elftosb/common/OutputSection.h | eb3eb29c21a292665725324985b7bded7debd318 | [
"MIT"
] | permissive | Sir-Branch/k64f-starter-template | f6119d67a4d661affca4ca8b5b72a971d0a65754 | f8959fd185f090363d180d69f84c2727e37cbeeb | refs/heads/master | 2022-12-18T22:24:58.356426 | 2020-09-08T02:52:56 | 2020-09-08T02:52:56 | 289,200,355 | 1 | 0 | MIT | 2020-08-24T02:16:20 | 2020-08-21T06:55:08 | C | UTF-8 | C++ | false | false | 2,107 | h | /*
* Copyright (c) 2008-2015 Freescale Semiconductor, Inc.
* Copyright 2016-2018 NXP
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#if !defined(_OutputSection_h_)
#define _OutputSection_h_
#include "Operation.h"
#include "smart_ptr.h"
#include "Blob.h"
#include "OptionContext.h"
namespace ... | [
"rmerello@itba.edu.ar"
] | rmerello@itba.edu.ar |
b3f9f5e459e2690946cbc55c16fe3b30ca7ec4b7 | 5b2953ac5e58d502e682e34931a45657d71c2744 | /SFCGAL/include/SFCGAL/Coordinate.h | 4db5ade87de295442d3a3037d34767fe4a9d2ab8 | [] | no_license | cuulee/sfcgal-with-postgis | 3817bae920dbf0da5d8ede6dd653670170a15836 | 25bbaf83316f62208da7544e8f6dab816fa0d293 | refs/heads/master | 2020-03-12T12:54:45.005274 | 2012-06-11T09:33:54 | 2012-06-11T09:33:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 441 | h | #ifndef _SFCGAL_COORDINATE_H_
#define _SFCGAL_COORDINATE_H_
#include <sstream>
#include <boost/numeric/ublas/vector.hpp>
namespace SFCGAL {
/**
* mathematical vector supporting based on boost::ublas representing
* Point coordinates.
*/
typedef boost::numeric::ublas::vector< double > Coordinate ;
/**
* W... | [
"hugo.mercier@oslandia.com"
] | hugo.mercier@oslandia.com |
f8189cd75c1afc07327c4c892f85749112a178c7 | befaf0dfc5880d18f42e1fa7e39e27f8d2f8dde9 | /SDK/SCUM_UI_GameEventInfoWidget_classes.hpp | e66e37443260f5c2bbcfd27c5ceb8a79c53ba49e | [] | no_license | cpkt9762/SCUM-SDK | 0b59c99748a9e131eb37e5e3d3b95ebc893d7024 | c0dbd67e10a288086120cde4f44d60eb12e12273 | refs/heads/master | 2020-03-28T00:04:48.016948 | 2018-09-04T13:32:38 | 2018-09-04T13:32:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,322 | hpp | #pragma once
// SCUM (0.1.17.8320) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SCUM_UI_GameEventInfoWidget_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//------------------------------------------------------------------------... | [
"igromanru@yahoo.de"
] | igromanru@yahoo.de |
ac903815d4bf3ba0f5f326b8a0094467a027bda7 | 76fe0a0404ca1d71779fc6c1122b87e0d7a7aa1b | /Treinos equipe/arrebento/2018/09-24 (Just Programming Contest 2018)/d.cpp | a045d23bf94b56794d601b952a9f7022af00b8e7 | [] | no_license | vitorguidi/Competitive-Programming | 905dd835671275284418c5885a4a1fae2160f451 | 823a9299dce7b7f662ea741f31b4687f854bb963 | refs/heads/master | 2021-06-25T06:58:53.670233 | 2020-12-19T16:53:15 | 2020-12-19T16:53:15 | 133,260,248 | 3 | 0 | null | 2018-05-13T17:46:43 | 2018-05-13T17:40:24 | null | UTF-8 | C++ | false | false | 788 | cpp | #include "bits/stdc++.h"
using namespace std;
#define pb push_back
#define mp make_pair
#define fst first
#define snd second
#define fr(i,n) for(int i=0;i<n;i++)
#define frr(i,n) for(int i=1;i<=n;i++)
#define ms(x,i) memset(x,i,sizeof(x))
#define dbg(x) cout << #x << " = " << x << endl
#define all(x) x.begin(),x.en... | [
"vitorguidi@gmail.com"
] | vitorguidi@gmail.com |
257fa82d5ee87c57af1bc7a81e80807aaddd940c | d841092be0b7ca3d1df58ff2b38a02226b3b6ca9 | /src/Animations/Smootherstep.cpp | 9268557931c09f0e188ea0c38a7feb0e9b4ef242 | [] | no_license | Kladdy/deltaXi | 0a3d9093c8105c96aeba6ce0aa4f5df3551fb322 | 7e1df6b99634105eaa6e5b9a738389da1873c148 | refs/heads/master | 2023-04-27T12:59:10.205653 | 2023-04-22T21:16:28 | 2023-04-22T21:16:28 | 194,934,244 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,402 | cpp | #include "Smootherstep.hpp"
namespace
{
float clamp(float x, float lowerlimit, float upperlimit) {
if (x < lowerlimit)
x = lowerlimit;
else if (x > upperlimit)
x = upperlimit;
return x;
}
float smootherStep(float edge0, float edge1, float x) { // Gives a smooth value between 0 and 1
// Scale, and cla... | [
"sigge.stjarnholm@gmail.com"
] | sigge.stjarnholm@gmail.com |
58f203152128fede3f977113cf73e1682d76eef1 | 0ef832d8eaedc16253cc220bc704a52597d248fe | /devxAdapter/devxAdapter.cxx | 3eb01ac0b47b79646b4149f95a32bbb5174db899 | [
"BSD-2-Clause"
] | permissive | radtek/software-emancipation-discover | 9c0474b1abe1a8a3f91be899a834868ee0edfc18 | bec6f4ef404d72f361d91de954eae9a3bd669ce3 | refs/heads/master | 2020-05-24T19:03:26.967346 | 2015-11-21T22:23:54 | 2015-11-21T22:23:54 | 187,425,106 | 1 | 0 | BSD-2-Clause | 2019-05-19T02:26:08 | 2019-05-19T02:26:07 | null | UTF-8 | C++ | false | false | 8,337 | cxx | /*************************************************************************
* Copyright (c) 2015, Synopsys, Inc. *
* All rights reserved. *
* *
* Redistribution and... | [
"ktransue@synopsys.com"
] | ktransue@synopsys.com |
d47fcc4c8eac21455c3ef9d758282598f38486ee | 4322fe8fe7007fd23b75951db53b435d448e7cbd | /code/curve.cpp | 562f49124ce1bda2d608acb5a9125a9957896601 | [] | no_license | Ragyal/ComputerGraphicsProject2 | 13c80299094c213e83d1717f23933f83fcbb9ff2 | dc492362838055eb5e413a0d6ec8a9a058031c2e | refs/heads/master | 2020-03-14T22:16:37.306566 | 2018-05-14T08:05:45 | 2018-05-14T08:05:45 | 131,817,456 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,566 | cpp | ///////////////////////////////////////////////////////////
/// Annika Diekmann, Sven Fröhling, Ove von Stackelberg ///
///////////////////////////////////////////////////////////
#include "curve.h"
#include <QOpenGLFunctions>
#include <iostream>
#include <fstream>
#include <math.h>
#define PI 3.14159265
Curve::Cu... | [
"26764163+Ragyal@users.noreply.github.com"
] | 26764163+Ragyal@users.noreply.github.com |
61f90b522a47ca90636152eb43f1d9feaf15efc7 | 4dc9caed5cb3f4639587d3d596a82cd748254045 | /lib/common/Memory/SmallNormalHeapBucket.h | 47ecc5b6c61d29cab7133dc63064b40e66d752c2 | [
"MIT"
] | permissive | jkrems/ChakraCore | 2e68c27a8a278c36bfa144f77dbd79398279c52b | 59b31e5821b7b8df3ed1f5021ed971da82cde9e1 | refs/heads/master | 2021-01-18T04:42:10.298111 | 2016-01-22T23:45:30 | 2016-01-22T23:45:30 | 50,215,307 | 2 | 0 | null | 2016-01-23T00:06:01 | 2016-01-23T00:06:00 | null | UTF-8 | C++ | false | false | 4,615 | h | //-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//---------------------------------------------------------... | [
"chakrabot@users.noreply.github.com"
] | chakrabot@users.noreply.github.com |
03ab54e3196f228030e5c4edba6facced66cd54b | 93db59fa8f5a0a727837deb3e8a8632017436d37 | /three_sum/three_sum.cpp | 665e3faa5fd70be2f17f70fdb0e671213bedd7b7 | [] | no_license | river06/leetcode | 5b3e0e04b678d83e3ef999bcf3906d993b9eac00 | 3cacc0f832b66328e047ab47e0026b0245b980fd | refs/heads/master | 2021-01-23T16:43:18.216879 | 2015-02-10T18:56:20 | 2015-02-10T18:56:20 | 29,867,786 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,530 | cpp | class Solution {
public:
vector<vector<int> > threeSum(vector<int> &num) {
// IMPORTANT: Please reset any member data you declared, as
// the same Solution instance will be reused for each test case.
vector<vector<int>> buff;
vector<int> temp;
if(num.size()<3)
return buff;
// ... | [
"weihc06@gmail.com"
] | weihc06@gmail.com |
958a864b349778a9bdf84df22e01abd718f2c8f2 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/inetsrv/iis/svcs/nntp/server/seo/utest/nntpseot.cpp | 7fd3a445e8302a2c7864da336147d416441a16bb | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,237 | cpp | #include "stdafx.h"
#include <dbgtrace.h>
#include "testlib.h"
#include "nntpseot.h"
void WalkEventPropertyBag(CTLStream *pStream, CComPtr<IEventPropertyBag> pEventPropertyBag) {
TraceFunctEnter("WalkEventPropertyBag");
HRESULT hr;
CComPtr<IUnknown> punkEventPropertyBagEnum;
hr = pEventPropertyBag->get__NewEnum(... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
30c442e2a1b729942027c503f4a64274291dafa7 | b78b8015d7ad729c0f9e40b26ef7344ea4ccb7ed | /threadsworker/src/system/interactivefactory.cpp | 7ea2a3ea27bfd08080c6bbf7f9f3d2e02da341a6 | [
"MIT"
] | permissive | YoxFox/ThreadsWorker | bf6d88b551f065771c01a54c205369a8acc61555 | bf64e73fdb5dfb361ac24ff6a1771ca580d177bc | refs/heads/master | 2020-07-26T08:00:01.843482 | 2019-10-07T06:27:54 | 2019-10-07T06:27:54 | 208,583,892 | 1 | 0 | MIT | 2019-10-07T06:27:55 | 2019-09-15T11:28:50 | C++ | UTF-8 | C++ | false | false | 448 | cpp | #include "interactivefactory.h"
namespace twPro {
InteractiveFactory::InteractiveFactory() noexcept :
m_interactive(nullptr)
{
}
std::shared_ptr<IInteractive> InteractiveFactory::interactive() const noexcept
{
return m_interactive;
}
void InteractiveFactory:... | [
"anatoliyyoxfox@gmail.com"
] | anatoliyyoxfox@gmail.com |
d899621ce7ff30246813585f785577f46720ef26 | d1f11d6a04b115e57dc0a2e517b9bb81c7a0a31b | /N_继承和组合/A_组合语法/B_Composition.cpp | 36f303ee7eecbb6fa6b85a7af0b1bddd64408eed | [] | no_license | syzwdong/ThinkingInCppNote | 36973cd20a167d845128a2b6b6e9aed0f187d86c | 7cd23b72c0e2253773df57bc19d32f5a29278192 | refs/heads/master | 2023-03-19T23:31:49.422074 | 2018-02-14T17:44:55 | 2018-02-14T17:44:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 280 | cpp | //
// Created by 何时夕 on 2018/1/6.
//
#include "A_Useful.h"
class Y {
int i;
public:
X x;
Y() {
i = 0;
}
void f(int ii) {
i = ii;
}
int g() const {
return i;
}
};
int main() {
Y y;
y.f(47);
y.x.set(37);
}
| [
"a1018998632@gmail.com"
] | a1018998632@gmail.com |
be4523bd3527dd694d1f662fd538f5568d96fe75 | 20a2030b2bbcd535df704f9fd85672458692dcc4 | /11.WorkingwithClasses/11.13.vect.h | 7bb3768599a7042af08c45631ed0ee962d8d7d9c | [] | no_license | EstelleWu/LearnCppPlusPrimer | 6face108f5bdcc7dcb1b87ec9642598d9d7276a8 | a8971f69d778d94405e953d799eef9b5c0aef144 | refs/heads/main | 2023-05-03T21:36:39.003974 | 2021-05-30T05:45:12 | 2021-05-30T05:45:12 | 317,128,128 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,648 | h | // vect.h -- Vector class with <<, mode state
#ifndef VECTOR_H_
#define VECTOR_H_
#include <iostream>
namespace VECTOR
{
class Vector
{
public:
enum Mode {RECT, POL};
// RECT for rectangle, POL for polar modes
private:
double x; // horizontal value
double y; // verti... | [
"estellewuhaha@gmail.com"
] | estellewuhaha@gmail.com |
f0aaa31db972612d0f441933fd8db78b928a0049 | 49f88ff91aa582e1a9d5ae5a7014f5c07eab7503 | /gen/gpu/ipc/common/gpu_feature_info.mojom-blink.h | 8c1af03ed419fcb59af228a390ce546450ac446d | [] | no_license | AoEiuV020/kiwibrowser-arm64 | b6c719b5f35d65906ae08503ec32f6775c9bb048 | ae7383776e0978b945e85e54242b4e3f7b930284 | refs/heads/main | 2023-06-01T21:09:33.928929 | 2021-06-22T15:56:53 | 2021-06-22T15:56:53 | 379,186,747 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,157 | 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 GPU_IPC_COMMON_GPU_FEATURE_INFO_MOJOM_BLINK_H_
#define GPU_IPC_COMMON_GPU_FEATURE_INFO_MOJOM_BLINK_H_
#include <stdint.h>
#include <limits>
#inc... | [
"aoeiuv020@gmail.com"
] | aoeiuv020@gmail.com |
e56baa370f40957600f0612b3d0fb5d548ce345a | 7f5eaa2a7803fd7466d04fa1289934b04ea37eef | /PL [.cpp and .h files]/CPU for PL/Commands.h | c189a23a90f90d1670b81912bee6730b53ef7aea | [] | no_license | Hollbrok/Prog-Lang | b3f0b2f5576de6bd7f54f0dc74c2cf296ca16511 | 49cd3279e336ddba538dc40988ffcdba39edb8d8 | refs/heads/master | 2023-04-24T14:38:35.438742 | 2021-05-15T22:21:47 | 2021-05-15T22:21:47 | 363,445,259 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 4,765 | h | #ifndef COMMANDS_H_INCLUDED
#define COMMANDS_H_INCLUDED
constexpr int MAX_SIZE_COMMAND = 20;
constexpr int MAX_SIZE_LABLE = 15;
constexpr int DEBUG_STATE = 0;
constexpr int S_NUMBER_SPEC = 1; // push 2 S -- working with a Stack
constexpr int S_REGIST_SPEC = 0; // push rbx S -- working ... | [
"talashkevich.da@phystech.edu"
] | talashkevich.da@phystech.edu |
6bb9674be2aa39eea6c601553542a5590acee653 | e2271fa026cdfb5aaf145970e1d9252b8c2dd001 | /atcoder.jp/abc081/abc081_b/Main.cpp | ebe0fa27d61dc31efa9e869b807a04d00b83d45f | [] | no_license | tsuchan19991218/atcoder_achievement | 802daaae640d5157f1bd55cc5d6ef08546fc4ca2 | 15502aba97dada1809deed05ea6c349122578a01 | refs/heads/master | 2023-06-11T11:52:11.896838 | 2021-07-02T20:44:40 | 2021-07-02T20:44:40 | 290,015,565 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 486 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int N;
cin >> N;
int a, min_cnt;
//bool flag = true;
min_cnt = 1000000000;
for (int i = 0; i < N; i ++){
cin >> a;
if (a % 2 != 0){
//flag = false;
min_cnt = 0;
break;
}
... | [
"ylwrvr.t.koga+git@gmail.com"
] | ylwrvr.t.koga+git@gmail.com |
faa7c237c8e30222cea0c4ba086bbda80e6f68ac | ab1c643f224197ca8c44ebd562953f0984df321e | /display/proppage/admin/scopedelegation.cxx | a7d761c5f6124092f659e7e6ca3c47fcff0b6adb | [] | no_license | KernelPanic-OpenSource/Win2K3_NT_admin | e162e0452fb2067f0675745f2273d5c569798709 | d36e522f16bd866384bec440517f954a1a5c4a4d | refs/heads/master | 2023-04-12T13:25:45.807158 | 2021-04-13T16:33:59 | 2021-04-13T16:33:59 | 357,613,696 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 85,566 | cxx | //+----------------------------------------------------------------------------
//
// Windows NT Directory Service Property Pages
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 2001
//
// File: ScopeDelegation.cxx
//
// Contents: CDsScopeDelegationPage, the class that implements the... | [
"polarisdp@gmail.com"
] | polarisdp@gmail.com |
ef8d5d58d676890a6007eed2361d31c866afb268 | 0c397eba834d7000f3fe20a500b46742d0f77b22 | /docs/math/code/mobius/mobius_2.cpp | b7041501ac018de5174c308122e596f598a1bc7e | [
"MIT"
] | permissive | xiaocairush/xiaocairush.github.io | 4548ecd7e3eecd13d2380d740d51ef3593658f30 | e1a536dd5c0100f1f13835dfc8354fed13ff18e9 | refs/heads/master | 2023-08-31T12:55:34.427476 | 2023-07-29T10:37:38 | 2023-07-29T10:37:38 | 64,105,374 | 4 | 1 | MIT | 2023-09-11T04:51:21 | 2016-07-25T05:13:22 | HTML | UTF-8 | C++ | false | false | 739 | cpp | #include <cstdio>
const int N = 1000000;
int tot, p[N + 5];
long long g[N + 5];
bool flg[N + 5]; // 标记数组
void solve() {
g[1] = 1;
for (int i = 2; i <= N; ++i) {
if (!flg[i]) {
p[++tot] = i;
g[i] = (long long)1 * i * (i - 1) + 1;
}
for (int j = 1; j <= tot && i * p[j] <= N; ++j) {
flg... | [
"xiaocairush@gmail.com"
] | xiaocairush@gmail.com |
25d5eeb319cc3b0d950747df68b4cb68dfac4947 | 6aeccfb60568a360d2d143e0271f0def40747d73 | /sandbox/assign_v2/boost/assign/v2/ref/array/size_type.hpp | f68e7be67593a19a8ad24c928a44f20659c13319 | [] | no_license | ttyang/sandbox | 1066b324a13813cb1113beca75cdaf518e952276 | e1d6fde18ced644bb63e231829b2fe0664e51fac | refs/heads/trunk | 2021-01-19T17:17:47.452557 | 2013-06-07T14:19:55 | 2013-06-07T14:19:55 | 13,488,698 | 1 | 3 | null | 2023-03-20T11:52:19 | 2013-10-11T03:08:51 | C++ | UTF-8 | C++ | false | false | 1,126 | hpp | //////////////////////////////////////////////////////////////////////////////
// Boost.Assign v2 //
// //
// Copyright (C) 2003-2004 Thorsten Ottosen //
// ... | [
"erwann.rogard@gmail.com"
] | erwann.rogard@gmail.com |
620febd6cce6d42d77abb495df26f0e1ecefb681 | de1b3a1676502589ecfdbd3c5dca73c27565a705 | /src/main.cpp | 75eed5536d8fe3a5ddaf08710898aebaf5d2ec17 | [] | no_license | panter-dsd/UniversalUpdater | a691b7e1f38a37dd5eb68dd87532d35bf53ce88f | b9ec89da138a96bfbb404a7f569ea45199898f22 | refs/heads/master | 2020-04-15T15:43:01.890586 | 2011-07-19T11:42:30 | 2011-07-19T11:42:30 | 1,458,256 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,935 | cpp | #include <QtCore/QDebug>
#include <QtCore/QStringList>
#include <QtCore/QTranslator>
#include <QtGui/QApplication>
#ifdef NDEBUG
#include "qtsingleapplication.h"
#endif
#include "configloader.h"
#include "updateschecker.h"
#include "settingschangechecker.h"
#include "core.h"
#include "mainwindow.h"
const QString v... | [
"panter.dsd@gmail.com"
] | panter.dsd@gmail.com |
39304dba3b6f5f50285d89a65087344921987094 | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/dawn/src/dawn/native/Commands.h | 8e388f298d0522156b1e19acb1cc8b81379ede21 | [
"BSD-3-Clause",
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later",
"LicenseRef-scancode-unknown-license-reference"
] | 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 | 8,062 | h | // Copyright 2017 The Dawn Authors
//
// 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 t... | [
"jengelh@inai.de"
] | jengelh@inai.de |
7d2df60a2768d0a6af78eceda1709b4c25f5f38a | e8ec34d70269c175a26c60b18fac4a46953bd87d | /app/src/main/cpp/inject_test.cpp | f7d1174f1adba293ca4541f568bd477bda3f366f | [] | no_license | angrykobe/UnityGameLocalizationDemo | beddc7795af4615c032b4eff8b07e9bc526e53c5 | 56ea66d2ecb2331f6c30477a3eb6e3af8024e41b | refs/heads/master | 2023-01-14T00:57:59.318090 | 2020-11-23T02:47:45 | 2020-11-23T02:47:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,944 | cpp | #include <stdio.h>
#include <jni.h>
#include "inlineHook/include/inlineHook.h"
#include "Tools/tools.h"
#include <android/log.h>
#include <unistd.h>
#include <stdlib.h>
#include <dlfcn.h>
#include <sys/time.h>
#include <cstring>
typedef int (*m_dlopen)(const char* __filename, int __flag);
typedef int (*m_dlsym)(void... | [
"axhlzy@live.cn"
] | axhlzy@live.cn |
6b25bdccd694eacaf6e0fb633d02d013cffbde4d | d4a7ccc5e99e641976f075a4413bf9c9f712dfd7 | /main.cpp | 557043a9ab5c51f37049aae51dc361661e33bc52 | [] | no_license | Fedorov-Kirill/Strategy2 | 8ced5d81e9fc3ac64fde77202b8db1a665704751 | 1a340d581d073e29a2890e634a10f29722e1a22a | refs/heads/master | 2020-07-23T04:10:27.693883 | 2019-09-10T02:50:55 | 2019-09-10T02:50:55 | 207,441,798 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 251 | cpp | #include <QCoreApplication>
#include "compressor.h"
#include "zip_compressor.h"
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
Compressor *p =new Compressor(new Zip_Compressor());
p->compress();
return a.exec();
}
| [
"matveev-andreyka1997@mail.ru"
] | matveev-andreyka1997@mail.ru |
b89e7815aa9d4bee65c3c6b98c942fc8bbcbc7c7 | 2a5eb4d7478f13b4c83c37833ba6a3980333b39b | /myBitSet.h | 79b0a4c0d6b38bc144fcee7436827c15d5d9736d | [] | no_license | foocoder/myBitSet | bab32ea6a14e3f60fab78f55089b68a646d0667d | e952312e384d7b4661aabef1b9c0da564250f72b | refs/heads/master | 2021-01-10T11:44:53.008594 | 2016-02-14T04:22:23 | 2016-02-14T04:22:23 | 51,679,165 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,639 | h | // ---- Program Info Start----
//FileName: myBitSet.h
//
//Author: Fuchen Duan
//
//Email: slow295185031@gmail.com
//
//CreatedAt: 2016-01-14 15:09:22
// ---- Program Info End ----
#include <cstddef> // For size_t
#include <cassert>
#include <nmmintrin.h>
#include <vector>
template <size_t _Nw>
c... | [
"slow295185031@gmail.com"
] | slow295185031@gmail.com |
e651d2f11e379f3aae7b108dca8d34ed7d12dae9 | 5b9aab8091c4bc9e5776e8a8f79763d3f38b1061 | /AnalogKbd_Test/AnalogKbd_Test.ino | fa79641a0d2bd79bc5907b2d03c11a21582d39eb | [] | no_license | infrapale/VA_LightControl | fd34dbe67721d93b74d568d22700b01332b0bdf3 | bba2ce13cc617bb7666f0978a3ce2e6631108a83 | refs/heads/master | 2023-04-27T18:09:24.675414 | 2023-04-23T11:29:42 | 2023-04-23T11:29:42 | 206,929,965 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 673 | ino | // T124 Analog Keyboard 2 ADC
// 2015-11-08
// Row1-4: 179 - 409 - 605 - 830
// Col1-4: 0-1-2-3
#include <Arduino.h>
#include <Wire.h>
#include <SimpleTimer.h>
#define seven_x_three
#include "AnalogKbd.h"
akbd kbd(1,2,KBD_4x4);
char key;
int aval;
void setup()
{
Serial.begin(9600); // start serial for outp... | [
"infrapale@gmail.com"
] | infrapale@gmail.com |
35681aee828808579bad2c5668ce0a8075a8b85c | 38d4f23e2a7e82529b42eca6f98336991dfe54c1 | /CS204/CS204_W8/CS204_W8/CS204Lab8_Student/TemplatedVector/User.h | 729eeb89c50d25028ef9cf9597389b3f640caefe | [] | no_license | roy-basmacier/Advanced-Programming-cs204-and-Data-Structures-cs300- | 77f46b9cc16855271f7efa6d212bcb4eab74e70b | cbb0e0a2a1c41a885fe17b4ceeee27d97409077b | refs/heads/master | 2020-05-23T16:10:56.495510 | 2019-05-15T14:24:03 | 2019-05-15T14:24:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 663 | h | /* Author: Zeynep Dogmus
* Date: April 2013
* Templated Vector Example
*/
#ifndef USER_H_
#define USER_H_
using namespace std;
template <class T>
class User
{
public:
User();
User(MyVector<T> &vec,string n):
sharedVector(vec), userName(n)
{};
//Adds the given vector to the shared vector
void add(T value)
{
... | [
"roy@sabanciuniv.edu"
] | roy@sabanciuniv.edu |
9bc61493f18f92d47ce69888382b236787643c71 | 1dbed0f84a670c787d2217d97ae3984401c7edb3 | /cf/816/B.cpp | 176aa269e3c3208698e7a99ee2050bdbd644e823 | [] | no_license | prprprpony/oj | 311d12a25f06e6c54b88bc2bcd38003f7b6696a9 | 84988be500c06cb62130585333fddd1a278f0aaa | refs/heads/master | 2021-07-13T16:03:54.398841 | 2021-03-27T14:19:52 | 2021-03-27T14:19:52 | 46,796,050 | 9 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,907 | cpp | #include <bits/stdc++.h>
using namespace std;
// nichijou
#define REP(i,a,b) for (int i(a), _B(b); i < _B; ++i)
#define RP(i,n) REP(i,0,n)
#define PER(i,a,b) for(int i((a)-1), _B(b); i >= _B; --i)
#define PR(i,n) PER(i,n,0)
#define REP1(i,a,b) REP(i,a,(b)+1)
#define RP1(i,n) REP1(i,1,n)
#define PER1(i,a,b) PER(i,(a)+1,... | [
"3254tg89@gmail.com"
] | 3254tg89@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.