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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
18c387c72bc7909537d61890c3fd9543335e8ec0 | cfdfd31ec1113b37c155ed7b43dddb3f4b15bd0d | /src/content/public/common/content_switches.cc | dc85eb72658827fcb9708928d168c31208546632 | [
"BSD-3-Clause"
] | permissive | JEderonn/chromium79 | 42ea345f200865250d42f3db0cc0ddbffd38c3d5 | 3c188e38482cee3932b038aeb9407732997627b4 | refs/heads/master | 2022-07-24T17:04:40.964513 | 2020-03-24T16:32:23 | 2020-04-01T16:13:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 49,805 | cc | // Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/public/common/content_switches.h"
#include "build/build_config.h"
#include "media/media_buildflags.h"
namespace switches {
// The num... | [
"lokeshkumar.goel@lge.com"
] | lokeshkumar.goel@lge.com |
e2cd19265fc572dc1b2fafcf093b16a2cf18c48a | 2f10f807d3307b83293a521da600c02623cdda82 | /deps/boost/win/debug/include/boost/compute/detail/assert_cl_success.hpp | 113752810d2aa0c75a0f1cba3f135c2b05e28afa | [] | no_license | xpierrohk/dpt-rp1-cpp | 2ca4e377628363c3e9d41f88c8cbccc0fc2f1a1e | 643d053983fce3e6b099e2d3c9ab8387d0ea5a75 | refs/heads/master | 2021-05-23T08:19:48.823198 | 2019-07-26T17:35:28 | 2019-07-26T17:35:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 128 | hpp | version https://git-lfs.github.com/spec/v1
oid sha256:b59b724c411e5ba16673b3a6e5a7782a7f27285fa355294b9607a390883fc60a
size 851
| [
"YLiLarry@gmail.com"
] | YLiLarry@gmail.com |
46d74cdfeabfc7e592a313da24bb1a4104656eb8 | 408b353395e065131f0f575aa62c69a9cedda06e | /isgw/comm/ibc_oper_base.cpp | 89b8145605e309a9fd66cf44ce1d045de5ee4563 | [] | no_license | cytu0911/isgw | 1104718671c60d3c70198de34ba7dffcc50a9e80 | cbddbee4685f35506c6152e26bd89466102557e7 | refs/heads/master | 2020-12-03T09:14:09.440717 | 2015-01-22T11:50:50 | 2015-01-22T11:50:50 | 38,683,603 | 3 | 4 | null | 2015-07-07T11:32:53 | 2015-07-07T11:32:53 | null | UTF-8 | C++ | false | false | 965 | cpp | #include "ibc_oper_base.h"
int IBCOperBase::process(QModeMsg& req, char* ack, int& ack_len)
{
ACE_DEBUG((LM_DEBUG, "[%D] IBCOperBase start to process msg\n"));
sprintf(ack, "%s|", (*(req.get_map()))["info"].c_str());
return 0;
}
int IBCOperBase::merge(IBCRValue& rvalue, const char* new_item)
{
AC... | [
"awayfang@awayfang-PC1.tencent.com"
] | awayfang@awayfang-PC1.tencent.com |
04ba3d74f924a40ad968914e6d01dcd6c5c924f1 | 9ed21a220915236b2b85791ce5f25abd9a33c94e | /xfa/fwl/core/ifwl_listbox.h | 5912656ac55b312241ee343399faaa08f30c7e58 | [
"BSD-3-Clause"
] | permissive | SnowCicala/pdfium | c63e57673687a57e1834eb1b75c3b6f492fac139 | d8f710cedd62c1d28beee15d7dc3d31ddd148437 | refs/heads/master | 2020-09-04T23:56:26.061470 | 2016-11-20T09:00:29 | 2016-11-20T09:00:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,048 | h | // Copyright 2014 PDFium Authors. All rights reserved.
// 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_FWL_CORE_IFWL_LISTBOX_H_
#define XFA_FWL_CORE_IFWL_LISTBOX_H_
#in... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
2a2aef31b4b4877ab8ec5ba4c94af338ff788ccb | ac1c9fbc1f1019efb19d0a8f3a088e8889f1e83c | /out/release/gen/third_party/blink/public/mojom/devtools/devtools_agent.mojom-forward.h | 38dbf4dfad114107629284a972d9b3278f6b7929 | [
"BSD-3-Clause"
] | permissive | xueqiya/chromium_src | 5d20b4d3a2a0251c063a7fb9952195cda6d29e34 | d4aa7a8f0e07cfaa448fcad8c12b29242a615103 | refs/heads/main | 2022-07-30T03:15:14.818330 | 2021-01-16T16:47:22 | 2021-01-16T16:47:22 | 330,115,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,010 | h | // third_party/blink/public/mojom/devtools/devtools_agent.mojom-forward.h is auto generated by mojom_bindings_generator.py, do not edit
// Copyright 2019 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 THIRD_PAR... | [
"xueqi@zjmedia.net"
] | xueqi@zjmedia.net |
edbe54c7c683d6870dec1502e9b619a4aa4560f9 | 740f73dc663636491fdb7ca707b9c908b15eb507 | /macOS/Frameworks/CoreMotion/2368.3.3/CDStructures.h | 2ecc355bb13e13d53cd83a09838c3c8f3fdb67b3 | [] | no_license | samyk/macOS_headers | 33280e3c57bb4053786e59d5b4e26a2cd6f2539d | 5f28802b4a41443017aeb7fe8c4b2f68329107ba | refs/heads/master | 2022-11-11T14:34:01.732364 | 2020-06-22T22:18:36 | 2020-06-22T22:18:36 | 274,790,617 | 9 | 1 | null | 2020-06-24T23:38:30 | 2020-06-24T23:38:30 | null | UTF-8 | C++ | false | false | 9,240 | h | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Jun 9 2015 22:53:21).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2014 by Steve Nygard.
//
#pragma mark Blocks
typedef void (^CDUnknownBlockType)(void); // return type and parameters are unknown
#pragma mark Named Structures... | [
"aguywithlonghair@yahoo.com"
] | aguywithlonghair@yahoo.com |
be1a22c102d614168899b01fcced05add60b990c | f5171b8711f471106207ba35ac0a73ce4e744ff9 | /modules/core/util/yangtools/lib/confd_xml.cpp | bc20feb257598d76baa6846e3007f55af4a3c7ee | [
"Apache-2.0"
] | permissive | RIFTIO/RIFT.ware | 94d3a34836a04546ea02ec0576dae78d566dabb3 | d65a23ac2563a43f11e64a862e9bda4362a82e30 | refs/heads/master | 2020-05-21T14:07:31.092287 | 2016-12-08T15:38:03 | 2016-12-08T15:38:03 | 52,545,688 | 9 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 49,085 | cpp |
/*
*
* Copyright 2016 RIFT.IO Inc
*
* 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 ... | [
"Leslie.Giles@riftio.com"
] | Leslie.Giles@riftio.com |
60f6ca7d8e6e2470fcf27b04650950890d1d5e1d | e93e33cdf3df6aa6f41dc0c61ebd425a2bb730f7 | /advanced_programming_ex06/advanced_programming_ex06/Diary.cpp | c94e6585db947ede037660c458c886cff043ed18 | [] | no_license | arielstolerman/tau-cs-spring-2010-advanced-topics-in-programming-ariel-shay | 537f4936e1c6a386952c4cc81af0f26deb300578 | 714cbf1d0b1555b3a3c673143f02af0a584a1648 | refs/heads/master | 2021-01-20T09:32:59.237122 | 2011-12-20T05:45:45 | 2011-12-20T05:45:45 | 32,401,930 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,248 | cpp | /******************************************************************************
* Exercise 06 - Advanced Programming 2010b, TAU.
* Authors: Ariel Stolerman (-) and Shay Davidson (-).
* Diary Source File.
*****************************************************************************/
#include "stdafx.h"
#include "Di... | [
"arielstolerman@885801dc-8b0f-3d06-18ec-ad975b9ac306"
] | arielstolerman@885801dc-8b0f-3d06-18ec-ad975b9ac306 |
09596fa4e4a5db0931dc5d0d316a3197104dfc1d | 68c7d60bcbfd7b2b887d8dfd64bbec0bd710c9da | /2588.cpp | 04396bf02eef34b6c89e75d1562538200ef8cc4c | [] | no_license | 1000ship/BOJ | 42b6cc67b06412fb95f132849f6d5843f6feb351 | 491d479fbd57663f297a935f3505650bc840744e | refs/heads/master | 2021-08-03T23:36:50.788794 | 2021-07-22T01:10:59 | 2021-07-22T01:10:59 | 212,285,659 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 176 | cpp | #include <stdio.h>
int main ( void )
{
int a, b;
scanf( "%d %d", &a, &b );
printf( "%d\n%d\n%d\n%d", a*(b%10), a*((b/10)%10), a*((b/100)%10), a*b);
return 0;
} | [
"cjstjdgur1234@gmail.com"
] | cjstjdgur1234@gmail.com |
0ca695a73c2f9daa81d968168cd3920b6fc29ed8 | df02b8cdf15be1d973bb1462ea57891a9ab6255c | /widgets/canvas/SceneBackground.cpp | b8b8feecf50ff0843dbde4c5dde5cfabb5293c40 | [] | no_license | coder89/PhotoFramesEditor | 6d965fa87884d5d46110d9e87d2879046c562170 | 5c6e54085387aa603944bf931ab99a8991a2e331 | refs/heads/master | 2021-01-20T01:03:47.857809 | 2011-08-31T13:30:07 | 2011-08-31T13:30:07 | 1,955,861 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,356 | cpp | #include "SceneBackground.h"
#include "global.h"
#include <QPainter>
#include <QGraphicsScene>
#include <QUndoCommand>
#include <QStyleOptionGraphicsItem>
#include <QDebug>
#include <QPixmap>
#include <QBuffer>
#include <klocalizedstring.h>
using namespace KIPIPhotoFramesEditor;
class KIPIPhotoFramesEditor::SceneBa... | [
"lukasz.spas@gmail.com"
] | lukasz.spas@gmail.com |
6bc95195bb5072c9fcd2c38c9bf1c1142c6d1f92 | 9ab0bce5cca0e3aa0965bbd58d212144d8c51669 | /include/modules/nickserv/set_misc.h | 18d49dd0f3de621a301cabf6cb11a03760dbe01d | [] | no_license | Adam-/anope | 250671fae7b9e18b5ee734893faabcc85ca4f76e | a3c8afae00c54d5b95c620248b51f90679d7d53f | refs/heads/master | 2023-06-08T13:34:59.062359 | 2016-01-03T22:15:31 | 2016-01-03T22:16:55 | 6,416,073 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 639 | h | /*
* (C) 2014 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
*/
class NSMiscData : public Serialize::Object
{
protected:
using Serialize::Object::Object;
public:
virtual NickServ::Account *GetAccount() anope_abstract;
virtual void SetAccount(NickServ::Accou... | [
"Adam@anope.org"
] | Adam@anope.org |
1d840f64e4056f4bc95853136cbb01ad4f90e0a8 | 4a8c93591269fba8e7f87ffacf2d1e18f049a682 | /Uva/10193.cpp | 521828c6e552e296e556ea3349db733a3bcf976e | [] | no_license | Pooh1223/Online-Judge | fd3c237b21bd07396e841b4d077a997c51383d8a | afb208ccc5ecc6f3fa42693d190dc64e19195ff6 | refs/heads/master | 2020-07-25T19:28:30.163074 | 2020-06-29T15:15:32 | 2020-06-29T15:15:32 | 208,401,769 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 512 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int n;
cin >> n;
for(int i = 1;i <= n;++i){
string s1,s2;
cin >> s1 >> s2;
bitset<32> b1(s1);
bitset<32> b2(s2);
long long nm1 = b1.to_ulong(),nm2 = b2.to_ulong();
cout << "Pair #" << i << ... | [
"leo891223@gmail.com"
] | leo891223@gmail.com |
daa8f1e00d46d184edc7391918713711272b16e8 | 711e5c8b643dd2a93fbcbada982d7ad489fb0169 | /XPSP1/NT/inetsrv/msmq/src/mqsec/encrypt/pbkeys.cpp | 89ddb21923ff7733d63b974352b500fb4e4cde62 | [] | no_license | aurantst/windows-XP-SP1 | 629a7763c082fd04d3b881e0d32a1cfbd523b5ce | d521b6360fcff4294ae6c5651c539f1b9a6cbb49 | refs/heads/master | 2023-03-21T01:08:39.870106 | 2020-09-28T08:10:11 | 2020-09-28T08:10:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,512 | cpp | /*++
Copyright (c) 1996 Microsoft Corporation
Module Name:
pbkeys.cpp
Abstract:
Public keys operations.
1. If the machine key container does not exist, create it, and create
the key exchange and signature key sets.
2. If the machine key container exist and the keys should be
re-g... | [
"112426112@qq.com"
] | 112426112@qq.com |
659dd5eaa00c49c7a3ca17e7c2b4f6a1cbe76530 | 1929c33f96719af6ce62da7d76e5cba6d361eea8 | /matrizes/exemplo de matriz.cpp | 97050a9d07c8dd2f234f5ea5732889e117ec883f | [
"MIT"
] | permissive | RuthMaria/algoritmo | b863a6d3610fbce4e29a3fcf3641f2179b7df818 | ec9ebf629598dd75a05e33861706f1a6bc956cd5 | refs/heads/master | 2022-06-26T09:50:28.224747 | 2020-05-04T04:32:25 | 2020-05-04T04:32:25 | 261,061,115 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 950 | cpp | #include<stdio.h>
#include<conio.h>
#define LIN 2
#define COL 3
main(){
float mat[LIN][COL], soma = 0, soma2 = 0, maior = 0;
int i, j;
for(i = 1; i <= LIN; i++){
printf("\n");
for(j = 1; j <= COL; j++){
printf("Linha %d e coluna %d: ", i, j)... | [
"ruth-15rms@hotmail.com"
] | ruth-15rms@hotmail.com |
890e7960955fbf43e12f87912079a38f0b09141d | 3013aca68b0f2b51e4709532c6e81f963236c260 | /ClientDisforbook.h | f71e5ee4de36d2448b722e784d882bb4698b1d70 | [] | no_license | kevinchenbin/retail | c4e383c4edbf8699207b9606f7dabf0a506568dd | f875aef1c1d8790899ef1cdb7d1e984761912c7e | refs/heads/master | 2020-08-03T10:18:00.835937 | 2016-11-12T11:45:11 | 2016-11-12T11:45:11 | 73,549,161 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,962 | h | //---------------------------------------------------------------------------
#ifndef ClientDisforbookH
#define ClientDisforbookH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.... | [
"legendbin@gmail.com"
] | legendbin@gmail.com |
afc2e7921ed52066cd8d4ad7bb963cabdadeac90 | 8d6c298d5b37ac55c777a3215e8668fdfef3fd4a | /modules/CollectdClient/collectd_handler.hpp | 9c630f41a456a6b169718e0e60a2de10e6d1317a | [] | no_license | kain64/nscp | 326d2c7223b7bec3c88ec5f8b66bb14d92b6ae7a | 58b6d2bcf910b57c84b8271c4392f937898e970b | refs/heads/master | 2021-01-14T10:52:28.874449 | 2016-08-28T15:22:18 | 2016-08-28T15:22:18 | 66,774,814 | 0 | 0 | null | 2016-08-28T15:10:23 | 2016-08-28T15:10:23 | null | UTF-8 | C++ | false | false | 2,826 | hpp | #pragma once
#include <utils.h>
#include <strEx.h>
#include <collectd/collectd_packet.hpp>
#include <socket/client.hpp>
#include <nscapi/nscapi_settings_helper.hpp>
#include <nscapi/nscapi_protobuf_functions.hpp>
#include <nscapi/nscapi_core_helper.hpp>
#include <boost/make_shared.hpp>
#include "collectd_client.h... | [
"michael@medin.name"
] | michael@medin.name |
d48cb991a6535045df16866ba310e4e87aead733 | 7bc58e0e6a34f3d74c2da7b367ad348e1a8862d0 | /tools/kactus2/kactus2-3.1.0/designEditors/SystemDesign/UndoCommands/SystemMoveCommands.h | 3b1ef2ed460dd1e54a2f64ace4cecfbdd4302ce3 | [] | no_license | ouabache/fossi | 3069e7440597b283b657eaee11fbc203909d54aa | e780307bff0bb702e6da36df5d15305354c95f42 | refs/heads/master | 2020-07-02T08:58:41.834354 | 2017-04-06T15:59:09 | 2017-04-06T15:59:09 | 67,724,364 | 4 | 1 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 3,803 | h | //-----------------------------------------------------------------------------
// File: SystemMoveCommands.h
//-----------------------------------------------------------------------------
// Project: Kactus 2
// Author: Joni-Matti Määttä
// Date: 17.10.2011
//
// Description:
// Undo move commands for system ... | [
"z3qmtr45@gmail.com"
] | z3qmtr45@gmail.com |
b0c9a9b6e34a8a574538a2fc6d93c07b14866560 | ff0335c49b4d0dc90615ba9ce1df7e42f2da3a41 | /src/oauth.cpp | 155b47bf51cb30e622697c2311dd9b37dc55b094 | [
"ISC",
"MIT"
] | permissive | ueshita/tinytwit | d83050a8a32a4b103db9ae065648d3db2fe16ecf | 33a1832b5e8c165ef28f91d64cb78c5c4ce1572f | refs/heads/master | 2020-03-25T04:19:33.429816 | 2013-10-14T14:17:07 | 2013-10-14T14:17:07 | 6,529,948 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 22,362 | cpp | /*
* OAuth string functions in POSIX-C.
*
* Copyright 2007-2010 Robin Gareus <robin@gareus.org>
*
* The base64 functions are by Jan-Henrik Haukeland, <hauk@tildeslash.com>
* and un/escape_url() was inspired by libcurl's curl_escape under ISC-license
* many thanks to Daniel Stenberg <daniel@haxx.se>.
*
... | [
"nalto32@gmail.com"
] | nalto32@gmail.com |
b5173d2d123b6f16603079eb38adcb7d178fd189 | 1fea1b1bcb283931afea6aa3103795236f12fb6d | /test_xtensor/src/main.cpp | 604803e7253601e23fc098afa4eebaedd4a31aef | [] | no_license | LeoBaro/rtadqlibcpp_proto | 09b3ec479117fec37ce5a5dd6441a16316a3bc8f | 9802c180e29a3aecc9bfbee4735ec51c8328f755 | refs/heads/master | 2022-12-06T13:10:59.449412 | 2020-08-22T09:21:49 | 2020-08-22T09:21:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 507 | cpp | #include <iostream>
#include "xtensor/xarray.hpp"
#include "xtensor/xio.hpp"
#include "xtensor/xview.hpp"
int main(int argc, char* argv[])
{
xt::xarray<double> arr1
{{1.0, 2.0, 3.0},
{2.0, 5.0, 7.0},
{2.0, 5.0, 7.0}};
xt::xarray<double> arr2
{5.0, 6.0, 7.0};
xt::xarray<double> r... | [
"leonardo.baroncelli@inaf.it"
] | leonardo.baroncelli@inaf.it |
44fe74758c849a685fa49d8cc68762c4afe148e2 | 9685b931b456818682197e0fef5ac5e086416a15 | /analysis/test/exampleParamConfig.cpp | 4c79572da7c4c93d200f8a8c5858c2dc7901e7bf | [] | no_license | dromeroa/CMSDASHiggsInv | 5448443655b5d7a8a70ca24424b3c2a09a531116 | 9aa3487abc25387033b9ec6866d4cba87cba61e5 | refs/heads/master | 2021-01-15T10:34:45.035501 | 2015-01-23T11:29:17 | 2015-01-23T11:29:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,920 | cpp | #include <boost/algorithm/string.hpp>
#include "boost/lexical_cast.hpp"
#include "boost/program_options.hpp"
#include "boost/format.hpp"
#include "boost/function.hpp"
using boost::lexical_cast;
namespace po=boost::program_options;
int main(int argc, char** argv){//main
//Input output and config options
std::s... | [
"a.magnan@imperial.ac.uk"
] | a.magnan@imperial.ac.uk |
6164b50b62d3df92f590cc717c9ec656df86c753 | 83857373cf14478a9db0002c9c17e317401dfd03 | /1790_Rotate_String_II.cpp | c1b46d2982b9f3af3d86bb48a47549343cb6b028 | [] | no_license | neoVincent/LeetCodePlayground | acdefed387158f4c53b9199498d9cd1c62b5e50e | 994b80108fd6dac8b413c858f5182a0e80adbf7b | refs/heads/master | 2021-06-11T03:37:46.534237 | 2019-10-03T00:28:16 | 2019-10-03T00:28:16 | 128,283,607 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 761 | cpp | 1790_Rotate_String_II.cpp
class Solution {
public:
/**
* @param str: An array of char
* @param left: a left offset
* @param right: a right offset
* @return: return a rotate string
*/
string RotateString2(string &str, int left, int right) {
// left, append end
// right, ... | [
"neovincent@163.com"
] | neovincent@163.com |
39818fa703a7d0d7fbe2711ecbf997ac112d43e1 | 6b1c4163a5192347ad1407b1fc4d1b35a1a86330 | /src/TouchDownConfig.cpp | a3d6b85338d1036c71c426afb1d7bb48970842ed | [
"MIT"
] | permissive | ShihaoWang/Online-Contact-Planning-for-Fall-Mitigation | 278422f48855fe3b0d1c46a51434b815c60fd607 | ef63e67e92e369edbff9854f681e1c2329f2a6d3 | refs/heads/master | 2020-09-06T23:31:51.272153 | 2020-05-29T15:03:56 | 2020-05-29T15:03:56 | 220,543,163 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,048 | cpp | #include <iostream>
#include <fstream>
#include <sstream>
#include "CommonHeader.h"
#include <omp.h>
#include "NonlinearOptimizerInfo.h"
static Robot SimRobotObj;
static int SwingLimbIndex;
static std::vector<int> SwingLimbChain;
static Vector3 PosGoal;
static Vector3 GradGoal;
static double EndEffectorDist;
static st... | [
"sw309@duke.edu"
] | sw309@duke.edu |
da32818d49aec2ea74e92a87128af629df34885b | 4e53bc7b0159337b1c6b9633c66ef93a60649ac9 | /week8/trees/tree_52.cpp | b28e0d290ea710d64fe2190bdff6d4719dfb8e45 | [] | no_license | NanthR/IPMP | 8ee6fb4577c38a91640ef8a1735742b08d887e14 | 1b6ca8999a9e27d9aeb201ca7863f3261598b049 | refs/heads/main | 2023-06-06T01:58:10.581967 | 2021-06-26T16:30:33 | 2021-06-26T16:30:33 | 352,302,818 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 474 | cpp | #include "tree.h"
node* array_to_bst(int arr[], int start, int end) {
if (start > end)
return NULL;
int mid = (start + end)/2;
node *head = new node(arr[mid]);
head->left = array_to_bst(arr, start, mid - 1);
head->right = array_to_bst(arr, mid + 1, end);
return head;
}
int main() {
... | [
"nanth.raghul@gmail.com"
] | nanth.raghul@gmail.com |
6083cf682e12bcbcfe8796a57eb51c008fa56caf | 38c10c01007624cd2056884f25e0d6ab85442194 | /components/autofill/content/browser/content_autofill_driver.h | b9e93299c463766963f25ee04cb71dbecf976eeb | [
"BSD-3-Clause"
] | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 3,944 | h | // Copyright 2014 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_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_
#define COMPONENTS_AUTOFILL_CONTENT_BROWSER_CONTENT_AUTOFILL_DRIVER_H_
#include <s... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
1bdc6fa53132ba04b66b6a40b7cb363e46f19bc5 | 14cd1a06fc36753d4c25ae952e9500813bd17b4a | /source/utils/BufferedLogger.cpp | a3d496d4cb2aca7029d5fab51612eb47ed2db5ee | [
"MIT"
] | permissive | knut0815/CubismUP_3D | 5191237d8cbccf41b9b6e8733e5b73b5636847f6 | de9a31945d8dde975a3a2f34c1f3423eae160581 | refs/heads/master | 2022-12-27T14:01:48.962191 | 2020-10-18T17:40:59 | 2020-10-18T17:40:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,928 | cpp | //
// Cubism3D
// Copyright (c) 2018 CSE-Lab, ETH Zurich, Switzerland.
// Distributed under the terms of the MIT license.
//
// Created by Ivica Kicic (kicici@ethz.ch) in May 2018.
//
#include "BufferedLogger.h"
#include <fstream>
#include <unordered_map>
namespace cubismup3d {
BufferedLogger logger;
struct Bu... | [
"novatig@ethz.ch"
] | novatig@ethz.ch |
b0f5ce8389ac18d2356bd28ba0acde8b812c7208 | a3273f0fb34638b4518d75eb094359a9c6ec897c | /WIPTitel/Source/WIPTitel/WIPTitelGameModeBase.cpp | c91f428dcea8a56709c1c7d73a9dc330a00947cb | [] | no_license | umatin/TiefeSGJ | a3d24d1de1f13d83d55e51dfaa63299f1a4ee6f1 | 24e1d3f082dc81f891fdb47a59aa603194a51f19 | refs/heads/master | 2021-01-25T10:55:43.465488 | 2017-06-11T15:02:56 | 2017-06-11T15:02:56 | 93,890,561 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 118 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "WIPTitelGameModeBase.h"
| [
"martin.eppert@web.de"
] | martin.eppert@web.de |
bd78ce86d85ff099c993f86d270e1592bed5c57d | d6e724186efb6ed39eb581201824940dfd89c1ce | /tokenizer_list.h | 0f8f7a24f441dbbf0a37b62cabfcedc8d1337f59 | [] | no_license | lineCode/unqlite-dictionary | bcee2bc3238b6ed8adecad5e903ac703937c2412 | 0c0cbe0c152fa1b83d2c354f42de3b5d8dc36956 | refs/heads/master | 2021-01-19T21:54:46.833312 | 2014-10-20T00:55:56 | 2014-10-20T00:55:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 719 | h | #define TOKEN_SIZE 128
template<typename Type, class Wrapper, class List, class Tokenizer>class TokenizerList {
public:
TokenizerList(Wrapper * wrapper, Tokenizer * tokenizer):wrapper(wrapper), tokenizer(tokenizer) {}
void tokens(Type key, List * & list) {
tokens(wrapper, tokenizer, key, list);
}
private:
W... | [
"nikola_pav@eunet.rs"
] | nikola_pav@eunet.rs |
bef659d6b8ed2598fad7f8329dcd7bad34282637 | cb5ed402b086c58b7d67600f0b8d49662a0a9dc6 | /examples/ResampleMontage2D.cxx | 3be5acf153f18950b43d733ca67a7905014293d1 | [
"Apache-2.0"
] | permissive | fbudin69500/ITKMontage | 9e0fa050506f8650550399d5abd72f37fc52b91d | 4982fda5b0809ff0ef5e24b6570ef5ec9e002630 | refs/heads/master | 2021-05-04T00:54:04.384005 | 2019-05-10T20:15:16 | 2019-05-10T21:31:37 | 120,355,349 | 0 | 0 | null | 2018-02-05T20:06:08 | 2018-02-05T20:06:07 | null | UTF-8 | C++ | false | false | 6,181 | cxx | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | [
"dzenan.zukic@kitware.com"
] | dzenan.zukic@kitware.com |
029a1310e3ac0183c2b5c82a3150ab4ebe707b3d | 718c37490e1e1b343daf6600ac1f12db1da4ce71 | /app/src/main/cpp/platform/android/egl.cpp | 09ac7c75fa3390fa112cd578aca6574a740f2501 | [] | no_license | BobDeng1974/glstitcher | 890cd80504c24a4c74e4ec58cf4f65cb57599367 | 4a728c866166063075a63b8cbc7693b078b41d7f | refs/heads/master | 2020-04-08T11:10:13.895068 | 2018-04-21T04:57:21 | 2018-04-21T04:57:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,387 | cpp | //
// ogles_gpgpu project - GPGPU for mobile devices and embedded systems using OpenGL ES 2.0
//
// Author: Markus Konrad <post@mkonrad.net>, Winter 2014/2015
// http://www.mkonrad.net
//
// See LICENSE file in project repository root for the license.
//
#include "egl.h"
#include "../../common/common_includes.h"
u... | [
"su.jin@xiaoyi.com"
] | su.jin@xiaoyi.com |
c077564f666378556ff477ddd6ae8bca4aefa121 | a549bb936dc9003a79509999f1113f5e97f24c69 | /vital/types/track_set.h | 0a23b89b4f6930eaa5c87a44bdce7171faf1746d | [] | no_license | kfieldho/vital | 98a7132f0f5fa52d1acea5bb1c6a455dedbc3f06 | 17e4b9b6cc9a464136c38f60bce89dd84fdfc587 | refs/heads/master | 2021-01-18T18:21:36.164460 | 2015-07-31T16:56:41 | 2015-07-31T16:56:41 | 43,644,265 | 0 | 0 | null | 2015-10-04T17:02:25 | 2015-10-04T17:02:25 | null | UTF-8 | C++ | false | false | 8,982 | h | /*ckwg +29
* Copyright 2013-2014 by Kitware, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this li... | [
"linus.sherrill@kitware.com"
] | linus.sherrill@kitware.com |
3034f97e8927b110e2effd315656a58482a8ff07 | 290cb27a296aeb6f8b22530de28db2481d6d126a | /pic-core/include/MathUtils.h | 3930aa504266a0903271161e863cc655fa7f8397 | [] | no_license | LHugueniot/APIC_FLUID_SIM | cabd9adff37902bc6b0079c038be3fd20dfc1e74 | 41f981158cd31901ffc7b376047a90099f70fed2 | refs/heads/master | 2023-01-15T16:45:50.683657 | 2020-11-10T23:27:30 | 2020-11-10T23:27:30 | 239,333,578 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 8,027 | h | #pragma once
#ifndef MATH_UTILS_H
#define MATH_UTILS_H
#include <array>
#include <cmath>
#include <random>
#include <vector>
#include <algorithm>
#include <chrono>
#include <string>
#include <iostream>
#include <iomanip>
#include <stdexcept>
#include <cassert>
#include <system_error>
#include <Eigen/Dense>
#include... | [
"lucien98@gmail.com"
] | lucien98@gmail.com |
78f0a787925ff7048014255a1c417b74687faaf1 | 05f7573db159e870fb26c847991c4cb8c407ed4c | /VBF/Source/VBF_App/ModelingTool/C_WizardRelationCreateBatch.cpp | ce8ca3810b923e88fba5a0ad84b2bb45f1988f12 | [] | no_license | riyue625/OneGIS.ModelingTool | e126ef43429ce58d22c65832d96dbd113eacbf85 | daf3dc91584df7ecfed6a51130ecdf6671614ac4 | refs/heads/master | 2020-05-28T12:12:43.543730 | 2018-09-06T07:42:00 | 2018-09-06T07:42:00 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 699 | cpp | #include "C_WizardRelationCreateBatch.h"
C_WizardRelationCreateBatch::C_WizardRelationCreateBatch(QWidget* pParent)
:QWizard(pParent)
{
m_pSelectType = new C_WizardPageSelectType(this);
addPage(m_pSelectType);
m_pSelectRule = new C_WizardPageSelectRule(this);
addPage(m_pSelectRule);
m_pSetParams = new C_Wizar... | [
"robertsam@126.com"
] | robertsam@126.com |
ebb72e0f0c99b80f0305e1e478ac75d702038a99 | 4328806eb344f0aa156ebe403d9a1f80243b945b | /sms/StorageManager.h | 87fe320ffcb611f07839796967f807b9895b19dc | [
"BSD-3-Clause"
] | permissive | stuartcampbell/adara | 3faecf15cea176358d7db43c6a302152b152e9dc | 692ce3a4d150d43c4f1205793c3968a8b48f2dff | refs/heads/master | 2021-12-03T06:03:15.550105 | 2014-04-24T14:37:17 | 2014-04-24T14:37:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,557 | h | #ifndef __STORAGE_MANAGER_H
#define __STORAGE_MANAGER_H
#include <boost/property_tree/ptree.hpp>
#include <boost/smart_ptr.hpp>
#include <boost/function.hpp>
#include <boost/signal.hpp>
#include <boost/thread.hpp>
#include <stdint.h>
#include <sys/uio.h>
#include <string>
#include <vector>
#include "ADARA.h"
#include... | [
"stansberrydv@ornl.gov"
] | stansberrydv@ornl.gov |
04d1c1593142ca040b32a1ce97f1f7e72198f137 | 365e39ea0cb61a1d9df6fc5d5523212b45ca8252 | /src/client_main.cpp | 2cb1f961f62f60124800947bf65a739e37409b9a | [] | no_license | zhengly123/YourSQL | 51653e6f0c15b2361e7ca2b29f2fcdaf60665b92 | d32fb30982d99d71af2091adec7d6d83272e56c5 | refs/heads/master | 2020-04-03T21:20:35.997928 | 2019-01-18T14:27:12 | 2019-01-18T14:27:12 | 155,571,546 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,138 | cpp | //
// Created by eric on 19-1-6.
//
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <string.h>
#include <stdlib.h>
#include <cstdio>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
#define BUFFER... | [
"zhengly123@foxmail.com"
] | zhengly123@foxmail.com |
8a3111179e4efdc5e8a38104366c32166ee8ac44 | fe5bce6f5496c3ca66c1742fe53366cc3b2cd7fe | /lldb/source/Plugins/Language/ObjC/ObjCLanguage.cpp | 7598571b411a6aa4610945e27075dacc24bd6e16 | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"NCSA"
] | permissive | lgq2015/SiriusObfuscator-SymbolExtractorAndRenamer | f3ce7d235343df4ec84eae26f6cc7b641aca02b6 | bb45190d8dd92b795bfa0307da5e593eb4733d9a | refs/heads/master | 2022-01-09T02:41:08.991909 | 2018-08-08T13:52:49 | 2018-08-08T13:52:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 45,942 | cpp | //===-- ObjCLanguage.cpp ----------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"krzysztof.siejkowski@polidea.com"
] | krzysztof.siejkowski@polidea.com |
9e1e2a0b6752f4266be002f54130d3b0b5eed3dd | ff85bf7d3147c8b44dc54626671f80d91feaf01d | /src/oliview/text_line_reader.h | 7b321a1b095f0d8b532e6dedb40068912e206f36 | [] | no_license | omochi/oliview | 9d471e7dfd067c6ae6600bd51188ba481863322a | 3d42511a565ee6c5f09c0ccdf4816aa70db1f815 | refs/heads/master | 2021-01-19T09:04:49.407547 | 2017-08-07T14:53:34 | 2017-08-07T14:53:34 | 87,720,255 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | h | #pragma once
#include "./string_slice.h"
namespace oliview {
class TextLineReader {
public:
TextLineReader(const Ptr<const std::string> & string);
Option<std::string> Read();
private:
Ptr<const std::string> string_;
size_t index_;
};
}
| [
"omochi.metaru@gmail.com"
] | omochi.metaru@gmail.com |
dcd7d51217c9620cd47804a7478d0c1d2bed7a70 | b37c7589c4ebb165684b232364761753b038ff13 | /y/y/math/random.h | ff25dafde5e908454b654ea8d283851f4f5f43b7 | [
"MIT"
] | permissive | blizmax/Yave | a0bcbbfe202f7ed724c3fc74a8814f79967a3ec2 | cd02ed27fbd0f807ed245294d67fcb9428783803 | refs/heads/master | 2023-04-08T19:33:11.083102 | 2021-04-21T20:05:08 | 2021-04-21T20:05:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,346 | h | /*******************************
Copyright (c) 2016-2021 Grégoire Angerand
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, including without limitation the rights
to use, copy... | [
"gregoire.angerand@gmail.com"
] | gregoire.angerand@gmail.com |
048dae3fba9bcb8a99c7fd48ab4e2e9e539d8b61 | fb3455b672f7969752418c2705513902ebf9b1d9 | /src/shader.hpp | 1f1890cecc9ef68c8728b67a55dfa14b8fb2b156 | [
"MIT"
] | permissive | momo5502/stereogram-model-viewer | 0934e6e41e5f93410e2b9d3b89297eb2f361e395 | fb4d2a1e8d280484547f9f030b64b0bf800dc402 | refs/heads/master | 2020-04-02T17:08:06.179416 | 2018-11-18T17:41:17 | 2018-11-18T17:43:04 | 154,645,313 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 282 | hpp | #pragma once
class shader
{
public:
shader(std::string vertex_source, std::string fragment_source, std::vector<std::string> attributes = {});
~shader();
void use();
private:
GLuint vertex_shader = 0;
GLuint fragment_shader = 0;
GLuint shader_program = 0;
};
| [
"mauriceheumann@gmail.com"
] | mauriceheumann@gmail.com |
f922d6bfa30ff2cb2fc37058826c17fc18c4cee5 | bb8f274708d49605ac9eaa567e98d32c3a6fb568 | /examples/athena/athena.cc | 74ccfa0cf95bfb55e3f98f9976c68c7178f73abd | [
"BSD-3-Clause"
] | permissive | Akash-Harapanahalli/drake | a57ebb40ee6c709d44458dd02d16264512fa83bf | a4f0e93dbd7ab4c6a1f346423d7ad45ea9795ad0 | refs/heads/master | 2023-02-20T22:35:58.508165 | 2021-01-25T04:37:58 | 2021-01-25T04:37:58 | 277,863,997 | 0 | 0 | NOASSERTION | 2020-07-07T16:10:32 | 2020-07-07T16:10:31 | null | UTF-8 | C++ | false | false | 6,252 | cc | #include "drake/examples/athena/athena.h"
#define PI 3.1416
namespace drake {
namespace examples {
namespace athena {
Athena::Athena() {
DeclareDiscreteState(59);
DeclareVectorOutputPort("floating_base_state",
drake::systems::BasicVector<double>(59),
&A... | [
"akash@akash-pc.localdomain"
] | akash@akash-pc.localdomain |
bd96018538cdc86825ac0d946f67e534258eaa41 | 30773b649ebd89ffadd16d30fd62740b77ca7865 | /SDK/BP_gmp_compass_pio_01_a_ItemDesc_classes.h | 40666ce8c59acd5fa1eced2de80bf2a3a8b484dc | [] | no_license | The-Jani/Sot-SDK | 7f2772fb5df421e02b8fec237248af407cb2540b | 2a158a461c697cca8db67aa28ffe3e43677dcf11 | refs/heads/main | 2023-07-09T07:17:56.972569 | 2021-08-18T23:45:06 | 2021-08-18T23:45:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 796 | h | #pragma once
// Name: S, Version: 2.2.1
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//----------------------------------------------------------------... | [
"ploszjanos9844@gmail.com"
] | ploszjanos9844@gmail.com |
89aa4f60038f09f1994324a23b53ddc41bdb3a04 | f2f33c88da831f90a7740de3abeaeac6d2eb5d77 | /leetcodeOJ/461_Hamming Distance.cpp | 1bc3657d4ca0ef23f3bb9aa851b9e34477347ad8 | [] | no_license | fangjinxia/leetcodeOJ | 537e4b9514c5b356d7ea5e6045fbc19cc85c46d7 | 3ad465f189ec6e649101c6ee9e42ef9988f9509b | refs/heads/master | 2021-01-22T17:52:34.960033 | 2017-10-08T01:11:18 | 2017-10-08T01:11:18 | 85,039,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 261 | cpp | class Solution {
public:
int hammingDistance(int x, int y) {
int cnt = 0;
while(x != 0 || y != 0){
if(x%2 != y%2)
++cnt;
x >>= 1;
y >>= 1;
}
return cnt;
}
}; | [
"1173865548@qq.com"
] | 1173865548@qq.com |
5f5fde4e42a134e593f67745fe1cf00b986cceba | ff4d4757d9c811510c8c755901ef4d4c361cd731 | /Tools/ADsdk/ADefx/HeRaY/myefx.cpp | 2b2f6899be7ed170fbb65b9b384049d8a48587ab | [
"LicenseRef-scancode-public-domain"
] | permissive | ApocalypseDesign/ad_public | 4b6a623885808625b54b2888e79b7e2e1f834ac3 | 4c6a2759395a3ad36e072ffed79a7d9b48da219c | refs/heads/master | 2020-06-01T02:12:11.640297 | 2013-05-31T19:53:30 | 2013-05-31T19:53:30 | 9,555,519 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,239 | cpp | #include "myefx.h"
#include <math.h>
#include <time.h>
void myefx::defineControllers(tChannel *defaultChannel)
{
// immagini in input/output:
addChannel(defaultChannel,"Out","canale in input/output");
}
void myefx::updateControllers()
{
// immagini in input/output:
tOut=getChannelImage("Out");
}
void myefx::... | [
"r.gerosa@gmail.com"
] | r.gerosa@gmail.com |
895456496f4e8bdd25df97ddd6a430026b56bc7f | b03aefe71117bb80ac125d4097e3be4e592fc8f9 | /Index/Analyser/Test.cpp | 3ac1ad1f78878841a4a922bac7b09087d7d9eb9b | [] | no_license | saifulkhan/dphil_project_search_index | bbc44c1f6fe448eb7f4827be09b50e5a3ce619d6 | 7a55e8194ee12713764b4cf9469c3c31463a7d53 | refs/heads/master | 2021-09-20T16:20:30.424865 | 2018-08-12T10:55:23 | 2018-08-12T10:55:23 | 71,154,825 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 952 | cpp | #include <string>
#include <iostream>
#include <fstream>
#include <DateTime.h>
#include <Index.h>
#include <vector>
#include <FileInfo.h>
using namespace std;
void test_index_search();
void test_index_read();
int main(int argc, char* argv[]) {
test_index_read();
test_index_search();
return EXIT_SUCCESS... | [
"saiful.etc@gmail.com"
] | saiful.etc@gmail.com |
6593b6e3cda45025ddb87db096fc4b54594752ba | 608bc4314c5d91744c0731b91882e124fd44fb9a | /mdl/interface/force/nonbonded/Hermite.cpp | edf6a994ec219831593751ff139c5599d8c2bca5 | [] | no_license | kuangchen/ProtoMolAddon | bfd1a4f10e7d732b8ed22d38bfa3c7d1f0b228c0 | 78c96b72204e301d36f8cbe03397f2a02377279f | refs/heads/master | 2021-01-10T19:55:40.467574 | 2015-06-09T21:18:51 | 2015-06-09T21:18:51 | 19,328,104 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,446 | cpp | #include "Hermite.h"
#include <protomol/base/MathUtilities.h>
#include <protomol/base/Report.h>
using namespace ProtoMol::Report;
using std::string;
namespace ProtoMol {
//#define DEBUG_HERMITE
//_________________________________________________________________ Hermite
const string Hermite::keyword("Hermite")... | [
"kuangchen@ucla.edu"
] | kuangchen@ucla.edu |
6fb9024d556266d20506793c7f7233b8437f2dc4 | b0a12ff4208797ded085a8124e01314d8491507d | /libraries/chain/include/futurepia/chain/compound.hpp | 6aff82dc6c3842143cdc149c01a6bb33947fe8eb | [
"MIT"
] | permissive | park-com/futurepia | cad25611bf326f4813ddd50d508009acf7f60a0f | 31163047b18082223a86ec4f95a820748275ceaa | refs/heads/master | 2021-03-28T16:34:45.731755 | 2020-01-15T01:40:38 | 2020-01-15T01:40:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 191 | hpp | #pragma once
#include <cstdint>
#include <futurepia/protocol/config.hpp>
#include <futurepia/protocol/types.hpp>
#include <fc/uint128.hpp>
namespace futurepia { namespace protocol {
} }
| [
"sdajfaei@sigmachain.net"
] | sdajfaei@sigmachain.net |
1b1fa29218af5da7464811a7955d8f748d211634 | c0bc2bfdba0819ae8ec97b5f5b54833b1357854a | /main.cpp | f744a8adfb0ffde55483204d67734304e6fbe8be | [] | no_license | EdSwArchitect/cpp-etcd-play | 04581c80bc5a673772dce01c916fcf60676d908a | 05c1c1feb7a709f5feb8ec09900a068cec949792 | refs/heads/master | 2022-12-05T00:24:37.626251 | 2020-08-29T21:25:00 | 2020-08-29T21:25:00 | 291,137,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 597 | cpp | #include <iostream>
#include "etcd/Client.hpp"
int main() {
std::cout << "Hello, World!" << std::endl;
etcd::Client etcd("http://127.0.0.1:2379");
etcd::Response resp = etcd.get("/Common/Data").get();
std::cout << "Error code: " << resp.error_code() << std::endl;
std::cout << "Is_OK: " << resp... | [
"edswarchitect@gmail.com"
] | edswarchitect@gmail.com |
eefedadb2db28a612f8e317aa06c3f7aa21587ba | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /third_party/blink/public/platform/modules/indexeddb/web_idb_metadata.h | 5be6cdbf9e3d7dfb942e8a4685a87a0d11e2b263 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 2,676 | h | /*
* Copyright (C) 2012 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:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condit... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
833d4983a69c2f3cf4277c7875462717666441c6 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5769900270288896_0/C++/zakharvoit/main.cpp | 9efe971551f8df40d239cc2b9eeb3b9a765b5b5b | [] | 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 | 1,313 | cpp | #include <iostream>
#include <vector>
#include <sstream>
#include <algorithm>
using namespace std;
#define endl "\n"
#define all(x) x.begin(), x.end()
typedef long long ll;
int solve(int r, int c, int n, int st)
{
vector <vector <char> > v(r, vector <char>(c));
int cnt = 0;
ll ans = 0;
for (int i = 0; i < r... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
59e4b73811249dbe14e9982f31f1cc67e1c0d46d | ad408c6244d3474d7631acbbf38476a16ff80730 | /LaonSill/src/layer/InterpolationLayer.cpp | f257280122ffd6152c22693572d4bb48e78fdbff | [
"Apache-2.0"
] | permissive | alice965/LaonSillv2 | e229cc9351bd4befb23a50820108f489125e18e7 | 826f664d5fd8a8625f2abfb9cd566e4f700c16d1 | refs/heads/main | 2023-02-16T16:57:06.699971 | 2020-11-30T06:44:43 | 2020-11-30T06:44:43 | 354,684,554 | 1 | 0 | null | 2021-04-05T01:25:49 | 2021-04-05T01:25:43 | null | UTF-8 | C++ | false | false | 9,402 | cpp | /*
* InterpolationLayer.cpp
*
* Created on: Aug 7, 2017
* Author: jkim
*/
#include "InterpolationLayer.h"
#include "PropMgmt.h"
#include "SysLog.h"
#include "StdOutLog.h"
#include "MathFunctions.h"
#include "MemoryMgmt.h"
using namespace std;
template <typename Dtype>
InterpolationLayer<Dtype>::Interpola... | [
"12prog@naver.com"
] | 12prog@naver.com |
67d0751baec3a6f1b28ab6cdb7bda756a3f78bdb | e6cd51943f682a006da8b1245e6585e453334687 | /Classes/Native/GenericMethods0.cpp | 70f9c9506e74a98fb4a3dc850d8c1de8d6383523 | [] | no_license | JasonRy/Seer_0.9.1 | a7495d385a6c5bcec6040ce061410d9eea4d09eb | f727a9442015b2dc03fc19d2fa68dc88ca8bfac0 | refs/heads/master | 2021-07-23T06:23:40.432032 | 2017-11-03T07:57:23 | 2017-11-03T08:53:35 | 109,366,091 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,643,002 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
// DG.Tweening.Core.TweenerCore`3<UnityEngine.Color,UnityEngine.Color,DG.Tweening.Plugins.Options.ColorO... | [
"renxiaoyi@me.com"
] | renxiaoyi@me.com |
f731fa9afcba9c0412aeb2aa7fcea98aae74d0e2 | 0da362f8adb9f0770a51f8b8936bede867377793 | /DigitalDashBoard - Copy - Copy/Dial/qcgaugewidget.h | ee951c7a5e77187eddd3c6bdc5a1820acee55bd9 | [] | no_license | pprasad14/Ship-Dashboard-Simulator | 14f0e00c1b690ea8ecebcf9f393e1eae775b0d0a | 77633297f5cbce04eb7001e50d738246a1dc500a | refs/heads/master | 2020-05-05T09:03:36.540801 | 2019-04-06T21:41:43 | 2019-04-06T21:41:43 | 179,889,468 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,103 | h | /***************************************************************************
** **
** QcGauge, for instrumentation, and real time data measurement **
** visualization widget for Qt. **
** Copyrigh... | [
"prem.p@cumulations.com"
] | prem.p@cumulations.com |
aefa7fe8cc8d2c020f5b53b852251bf7323ed8bb | 079b935db7d36089fd55060a6c80e30ac54b041a | /sw/simulation/agents/gas_agent/gas_agent.h | 330bc8d3483c53714b2962334e96887151b5f666 | [] | no_license | chengyh23/drunksearch | f53eff391a56a8866b31bd975b592ba3c7dd3cdf | 9526c44293de0b76b70757c58a7c791251e585a0 | refs/heads/master | 2023-06-16T03:13:24.261861 | 2021-07-09T07:38:20 | 2021-07-09T07:38:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 322 | h | #ifndef GAS_AGENT_H
#define GAS_AGENT_H
#include <vector>
#include <stdio.h>
#include <iostream>
#include "agent.h"
class gas_agent: public Agent
{
public:
gas_agent(int i, std::vector<float> state, float tstep);
std::vector<float> state_update(std::vector<float> state);
void animation();
};
#endif /*GAS_AGENT_H*... | [
"b.p.duisterhof@student.tudelft.nl"
] | b.p.duisterhof@student.tudelft.nl |
5b94664e44049c3c2d2ac824ed654812f90ec06f | 32ab8962dd2fd0e7ebff651a8a662dac157a9c6c | /core/fxge/ifx_renderdevicedriver.h | 6a5b63ba326961bb726cbb72aa0d1190201af4d3 | [
"BSD-3-Clause"
] | permissive | aliakseis/pdfium-fork | 95bd907bb97f2c485e060a1755a73e817d4401e6 | 4505756eacc9bbc48a1e3f19a86ad6f1ec6150fc | refs/heads/master | 2021-01-11T22:51:29.671837 | 2017-01-10T08:56:12 | 2017-01-10T08:56:12 | 78,513,253 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,530 | h | // Copyright 2016 PDFium Authors. All rights reserved.
// 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 CORE_FXGE_IFX_RENDERDEVICEDRIVER_H_
#define CORE_FXGE_IFX_RENDERDEVICE... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
2e5fb2f78feccea30e8a1db284072839893822aa | 55d71cdbf0d60d89be90e5b7843e496dab23cac9 | /SDK/MachIncludes/ConfCheck.h | 6455edf14ac3233bd324bdd40f16b538f9119bc1 | [
"MIT"
] | permissive | mariusl/step2mach | 13f5838471e41a759b352afd0297c43ff7b17791 | 3ac7ff6c3b29a25f4520e4325e7922f2d34c547a | refs/heads/master | 2020-05-25T02:22:29.182553 | 2019-06-21T11:54:01 | 2019-06-21T11:54:01 | 187,577,085 | 0 | 0 | MIT | 2019-06-21T11:54:02 | 2019-05-20T06:03:55 | C | UTF-8 | C++ | false | false | 201 | h | #pragma once
// CConfCheck
class CConfCheck : public CWnd
{
DECLARE_DYNAMIC(CConfCheck)
public:
CConfCheck();
virtual ~CConfCheck();
void CheckIt();
protected:
DECLARE_MESSAGE_MAP()
};
| [
"jkpublic@kartech.biz"
] | jkpublic@kartech.biz |
3782c4be11b99deb2e612cd0e645370e5dc13da4 | 04251e142abab46720229970dab4f7060456d361 | /lib/rosetta/source/src/core/energy_methods/SASAEnergy.cc | d0137f6e99982d1f94c6c6ecc191ee78267679fa | [] | no_license | sailfish009/binding_affinity_calculator | 216257449a627d196709f9743ca58d8764043f12 | 7af9ce221519e373aa823dadc2005de7a377670d | refs/heads/master | 2022-12-29T11:15:45.164881 | 2020-10-22T09:35:32 | 2020-10-22T09:35:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,096 | cc | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"lzhangbk@connect.ust.hk"
] | lzhangbk@connect.ust.hk |
6418582e3cfd6083d3ae92eb2e2097d373cc6045 | 8b6942dae1c72de4b0d373a5ec246093f2aeba1c | /courseworks/congestion/date.h | b861ac938c982cf9c2cb6bff9ff7d8df82735fc1 | [
"MIT"
] | permissive | henryaddison/C---coursework | cef5b2e42e27d739fd619162789ef9efb54c2734 | 26d3f8dd787239622a6e682828f2826f2a1cf35b | refs/heads/master | 2020-04-18T09:07:26.358757 | 2013-07-24T22:20:16 | 2013-07-24T22:20:16 | 11,646,420 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 355 | h | #ifndef DATE_H
#define DATE_H
class Date {
friend class DateTest;
friend std::ostream& operator<<(std::ostream& out, const Date& date);
friend bool operator==(const Date& date1, const Date& date2);
friend bool operator!=(const Date& date1, const Date& date2);
public:
Date(int d, int m, int y);
private:
... | [
"hja22@hja22.co.uk"
] | hja22@hja22.co.uk |
16b05f6fb9ecd9e19716b206dc3293ce44e7b839 | e979844d55c1ef0313d9eb6703e48defbcd29aa1 | /Terabit/app/examples/ex5/ex5.cpp | 2337fba0a4d0cbd7eca213689966444b7cce727d | [] | no_license | sue602/Terabit4ACE6.x | cfb365d816b77fdf43836d76fa36dcf854da7005 | 1b1366fc1ae9fd7c42b69f151ece9d1d858ed66f | refs/heads/master | 2021-01-01T06:15:04.594124 | 2017-07-16T15:55:19 | 2017-07-16T15:55:19 | 97,391,901 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 12,390 | cpp | /*********************************************************************
** Copyright (C) 2003 Terabit Pty Ltd. All rights reserved.
**
** This file is part of the POSIX-Proactor module.
**
** @file ex5.cpp
**
** ex5.cpp
**
** This program illustrates how the TRB_Proactor can be used to
** implement an applic... | [
"suyinxiang@onemt.com.cn"
] | suyinxiang@onemt.com.cn |
6421960b871d83424b4422525a9b32ab3dd3bc88 | 1fe10ee5e34cd76067c720ef4b4a054f6107b286 | /chromium/src/content/browser/renderer_host/render_widget_host_view_mus.h | c913d00f569e1af4d162a2295bf759022819de41 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | bopopescu/ofa | 9f001c4f36b07fa27347ade37337422fd6719dcc | 84e319101d4a1200657337dcdf9ed3857fc59e03 | refs/heads/master | 2021-06-14T08:53:05.865737 | 2017-04-03T12:50:44 | 2017-04-03T12:50:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,676 | 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_
#define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_
#include <stdde... | [
"jimmym@opera.com"
] | jimmym@opera.com |
466529e86a6f3b128f99934416628d22ab15cb6b | 663e6946a2091178cd5ffd6a9f92e748dcabb1b0 | /generic_algorithm/pair_sort.cpp | 572a5341d0129d08dbbed39c8058099805840cec | [] | no_license | wssbygone/mydepot | b9425b4df259457d82ce54e5227771e0daa2406d | e4106958a80ae16d2410bb29c6131a243b4221ca | refs/heads/master | 2023-08-24T18:12:18.286550 | 2023-08-09T02:42:13 | 2023-08-09T02:42:13 | 132,110,129 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 664 | cpp | /* 泛型算法,sort排序 */
#include<algorithm>
#include<vector>
#include<iostream>
#include<string.h>
#include<unistd.h>
using namespace std;
bool judge(const pair<double,char> a, const pair<double ,char> b) {
return a.first<b.first;
}
int main()
{
vector<pair<double ,char>> p;
p.push_back(make_pair(1... | [
"wushishun@bimwinner.com"
] | wushishun@bimwinner.com |
8f86804bdac6d0ad89cdb950c43b6f09b2e18ce9 | fdb2c67670d6966eecfaa5d6520461c50953b069 | /C2CurveEvaluator.cpp | 9966b621e02562c27a178b056a3e638b8f2d35eb | [] | no_license | Reapor-Yurnero/COMP4411-Animator | 58e2ad256a9adc5e87c6993756368ea817cfb15a | a57f884afae4eb1a01918dad879c1733c2daa644 | refs/heads/master | 2020-03-09T09:51:11.596061 | 2018-04-27T15:35:59 | 2018-04-27T15:35:59 | 128,722,439 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,621 | cpp | #include "C2CurveEvaluator.h"
#include <Eigen/Dense>
#include <iostream>
#include <vector>
#include "BezierCurveEvaluator.h"
#include "modelerapp.h"
#include "modelerglobals.h"
void C2CurveEvaluator::evaluateCurve(std::vector<Point>& ptvCtrlPts,
std::vector<Point>& ptvEvaluatedCurvePts,
const float& fAniLe... | [
"xlide@connect.ust.com"
] | xlide@connect.ust.com |
27aa9606945122b5d625b8dcada9c4470982c0b2 | 772d932a0e5f6849227a38cf4b154fdc21741c6b | /CPP_Joc_Windows_Android/SH_Client_Win_Cpp_Cmake/App/src/base/view/debug/DeV_PageMisc.cpp | c7718dfccfc7e7558465afe2eb24f15c5accc95a | [] | no_license | AdrianNostromo/CodeSamples | 1a7b30fb6874f2059b7d03951dfe529f2464a3c0 | a0307a4b896ba722dd520f49d74c0f08c0e0042c | refs/heads/main | 2023-02-16T04:18:32.176006 | 2021-01-11T17:47:45 | 2021-01-11T17:47:45 | 328,739,437 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,199 | cpp | #include "DeV_PageMisc.h"
#include <base/app/IApp.h>
#include <base/threadsManager/IThreadsManager.h>
#include "entryUser/IDebugEntryUser.h"
#include <base/MM.h>
#include <base/math/Math.h>
#include <base/opengl/util/GLUtil.h>
#include <base/runtimeSettings/IRuntimeSettings.h>
#include <rpg3D/gw/physics3D/IGamePartPhys... | [
"adriannostromo@gmail.com"
] | adriannostromo@gmail.com |
a85fe8890c2e28f5e950c75c1cbe54a56cd38f0c | 93fe28a154e9d3184c3800b144b3bde6e5052f03 | /core/src/index/ElementGeometryClipper.cpp | 4f53496f8fdfe23483b93668d9e9a8834df44b39 | [
"Apache-2.0"
] | permissive | captain-switz/utymap | 4e11a0f7c2183c7d504787875ae63eafab24de90 | a347d889d1b0c2e7373babf32423e0f91d1ee642 | refs/heads/master | 2021-01-01T20:01:58.491136 | 2017-07-29T10:24:51 | 2017-07-29T10:24:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,665 | cpp | #include "BoundingBox.hpp"
#include "QuadKey.hpp"
#include "entities/Element.hpp"
#include "entities/Node.hpp"
#include "entities/Way.hpp"
#include "entities/Area.hpp"
#include "entities/Relation.hpp"
#include "index/ElementStore.hpp"
#include "index/ElementGeometryClipper.hpp"
using namespace utymap;
using namespace ... | [
"ilya.builuk@gmail.com"
] | ilya.builuk@gmail.com |
f2407bcd06d9712e06ba1a9234c0a0ab6230fe59 | 52e241aeade9988d6962929f371720fd05f3a6de | /pxtone/pxtnDescriptor.cpp | eaa6e855cf982e9a5f219e33e7ee0c32d1d00e7c | [
"LicenseRef-scancode-public-domain",
"CC0-1.0"
] | permissive | xl1/pxtone-js | 6291569c07e8a497fca3e5100822713ebc12375b | 95beed941b3dd7304544b60404dee3c2e468a75e | refs/heads/master | 2020-04-16T13:50:21.087490 | 2019-05-02T15:52:54 | 2019-05-02T15:53:54 | 165,644,853 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,436 | cpp |
#include "./pxtn.h"
#include "./pxtnDescriptor.h"
pxtnDescriptor::pxtnDescriptor()
{
_p_desc = NULL ;
_size = 0;
_b_file = false;
_b_read = false;
_cur = 0;
}
int pxtnDescriptor::get_size_bytes() const { return _size; }
bool pxtnDescriptor::set_memory_r( void *p_mem, int size )
{
if( !p_mem || ... | [
"shiba200712@gmail.com"
] | shiba200712@gmail.com |
876b565dba84a23d5480ccfc3b0411c33e3516bd | c19e5a265e314343c77493106e6a19fdedca4d5a | /C++/1890.cpp | d44cd30b11762cefee48c8bd062b750653290844 | [] | no_license | tsfo1489/BOJ | 54e410cbb4c7ef73b2ca5800818a7125ed94735f | fefce86ea76b1c7d8c6f7201779e015548a72db3 | refs/heads/master | 2020-03-22T03:06:33.636359 | 2018-07-06T02:02:10 | 2018-07-06T02:02:10 | 139,410,028 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 475 | cpp | #include<stdio.h>
long long int dy[105][105], map[105][105], n;
int main()
{
int i, j;
scanf("%lld", &n);
for (i = 1; i <= n; i++)for (j = 1; j <= n; j++) scanf("%lld", &map[i][j]);
dy[1][1] = 1;
for (i = 1; i <= n; i++)
{
for (j = 1; j <= n; j++)
{
if (map[i][j] == 0) break;
if (i + map[i][j] <= n)
... | [
"tsfo1489@gmail.com"
] | tsfo1489@gmail.com |
b9d9cedba35211c5ce49aaa7a2c1560e4546cf77 | 04d61edd60e2ae8fcf296abb6e92669752308704 | /src/caffe/data_transformer.cpp | 5b1224be96555aec4807afed5563bbe9a51d71e6 | [
"BSD-2-Clause"
] | permissive | liu09114/caffe-windows | 4c9fbac39e272c0a5eaef07cb2ba322a66753758 | cdfcc8d49e5be627a082dc29bc558e641ee34fd5 | refs/heads/master | 2016-10-22T06:38:05.633539 | 2016-02-29T09:29:25 | 2016-02-29T09:29:25 | 50,644,563 | 0 | 0 | null | 2016-01-29T06:58:57 | 2016-01-29T06:58:57 | null | UTF-8 | C++ | false | false | 16,781 | cpp | #include <string>
#include <opencv2/core/core_c.h>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/highgui/highgui_c.h>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/imgproc/imgproc_c.h>
#include "caffe/data_transformer.hpp"
#include "caffe/util/math_functions.hpp"... | [
"c.chenglong@gmail.com"
] | c.chenglong@gmail.com |
1b2f9d74d5e5170472c6e18db1199b41128e3d2e | 6e8dd1d0953d606ed5a594eead2653315f616dd3 | /2015/q16/q16.cpp | 0dbeb6530453c3ee74da6f16a4211dedaa40b580 | [] | no_license | aexhg/aoc | c701c94ef37fb65f9aaa05c5497651d1033057fe | eb03f6de30b7ae78d58ccd91eafda03d8984dedd | refs/heads/master | 2020-05-20T16:40:36.447548 | 2019-06-16T19:01:32 | 2019-06-16T19:01:32 | 185,670,636 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,522 | cpp | #include <iostream>
#include <fstream>
#include <regex>
#include <unordered_map>
#include <vector>
int main(int argv, char* argc[]){
const static std::regex r(
"(children|cats|samoyeds|pomeranians|akitas|vizslas|goldfish|trees|cars|"
"perfumes): (\\d+)");
const std::unordered_map<std::string,int> mfcsam{
... | [
""
] | |
7bc18d98e1dd960e774a42dbc5a8f7d5b1f72971 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /chrome/browser/media/router/media_router_metrics_unittest.cc | 6002a8645353728597fdfc1e6641bfa049be9dce | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 9,095 | cc | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/media/router/media_router_metrics.h"
#include "base/macros.h"
#include "base/metrics/histogram_macros.h"
#include "base/test/hist... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
1502e8330456d1284b989f084daa849bd911c758 | d9f0884408b993db4326560dda83a6482caf861e | /1535_Hello/main.cpp | bc8403c3ab81c0dc53fc573c383f102d97223778 | [] | no_license | skysaver00/C-Algorithm-2021 | 9feb0b9f73ac47f960d48e5e60db5e6a35e320e7 | 10e6f61b7c213a92ef5eecb43b1046ce3b2a277f | refs/heads/master | 2023-09-03T00:17:08.755999 | 2021-11-11T08:18:41 | 2021-11-11T08:18:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,101 | cpp | #include <iostream>
using namespace std;
int hello[21][100];
int health[21];
int happy[21];
int max(int i , int j) {
return i > j ? i : j;
}
int main() {
int n;
cin >> n;
for(int i = 1; i <= n; i++) {
cin >> health[i];
}
for(int i = 1; i <= n; i++) {
cin >> happy[i];
}
... | [
"skysaver00@naver.com"
] | skysaver00@naver.com |
81b9b02036d99d724e498e421f8681423e4715f8 | 94710c631f114be4c35409108d303df70d81c2d6 | /spoj_mul.cpp | 040106e4ec308b49fc9484b19c81300e5a905991 | [] | no_license | kanirudh/spoj | 4f25574bced703f0e2348e8dded8e02f742d27e8 | f160f7bc8d25049168f29976358c573c30a5f9ad | refs/heads/master | 2020-06-04T20:19:36.120948 | 2015-12-21T07:12:25 | 2015-12-21T07:12:25 | 10,152,684 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 933 | cpp | //SPOJ problem for solving large integer multiplication ,
// Algorithm Used : Karastuba Multiplication Algorithm
// Category : Recursive
// Author : Anirudh Agrawal
// Date: 04/06/2013
#include <cstdio>
#include <cstring>
void karatsuba(char* num1, char* num2,char *num3,int l1, int h1 , int l2,int h2,){
}
int m... | [
"annumarch@gmail.com"
] | annumarch@gmail.com |
b7cab04ae17a96e46f3ccde71408f4a9e9fde720 | 243af6f697c16c54af3613988ddaef62a2b29212 | /firmware/uvc_controller/mbed-os/features/nanostack/mbed-mesh-api/source/NanostackEMACInterface.cpp | 467495367526796b5305e8c78e59aa173425e86e | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"MIT"
] | permissive | davewhiiite/uvc | 0020fcc99d279a70878baf7cdc5c02c19b08499a | fd45223097eed5a824294db975b3c74aa5f5cc8f | refs/heads/main | 2023-05-29T10:18:08.520756 | 2021-06-12T13:06:40 | 2021-06-12T13:06:40 | 376,287,264 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,733 | cpp | /*
* Copyright (c) 2017 ARM Limited. All rights reserved.
*/
#include "NanostackEthernetInterface.h"
#include "NanostackEthernetPhy.h"
#include "nsdynmemLIB.h"
#include "arm_hal_phy.h"
#include "EMAC.h"
#include "enet_tasklet.h"
#include "mbed_interface.h"
class EMACPhy : public NanostackEthernetPhy {
... | [
"13125501+davewhiiite@users.noreply.github.com"
] | 13125501+davewhiiite@users.noreply.github.com |
c0d4b6f4af4211385031c2d0e00b0a01e0c2a89c | 35be930e6da806a7642fd2668230bb434bd8031c | /template/compiler.h | 5445232cc95d10a3c11bb9d21886ae8a43a391b0 | [] | no_license | hhelibebc/DataStruct-learn | 2aafa8a21d26ea568d94203874a53a00cc701c05 | af26238f3141c7960744779c4ddf4e624e78571c | refs/heads/master | 2022-12-03T21:00:47.568532 | 2020-08-21T13:30:20 | 2020-08-21T13:30:20 | 276,140,065 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 729 | h | #pragma once
#include "template.h"
using namespace std;
typedef enum {
CHAR_NULL,
CHAR_EOF,
CHAR_DIGIT,
CHAR_LETTER,
CHAR_SYMBOL,
CHAR_BLANK,
}CHAR_TYPE;
typedef enum {
TOKEN_NULL,
TOKEN_SINGLE_NOTE,
TOKEN_MULTI_NOTE,
TOKEN_CHAR,
TOKEN_STRING,
TOKEN_VARNAME,
TOKEN_SYMBOL,
TOKEN_DIGIT,
TOKEN_HEX,
TOKEN... | [
"50080470+hhelibebc@users.noreply.github.com"
] | 50080470+hhelibebc@users.noreply.github.com |
33f4dce155009e60f9131bce8b206362bd08dfed | feed18dd891fdae460777b886db8acaee33a97ee | /oprating-system/OSTEP/examples/conditional-variable/main.cpp | 2f587eadfa56f7ff3d5014422b478b7a373ad7c3 | [] | no_license | JX-Wang/myNotes | daa8a82a696896f3e286b7594ad134e7dff11c8a | ea783741a526ac0774221dcb8bc89062cfcc4bdb | refs/heads/master | 2020-04-20T16:01:14.899199 | 2018-02-08T09:12:12 | 2018-02-08T09:12:12 | 168,947,431 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 949 | cpp | #include <chrono>
#include <condition_variable>
#include <iostream>
#include <mutex>
#include <thread>
#include <vector>
using namespace std;
mutex m;
condition_variable cv;
int data;
void wait_thread(int num) {
unique_lock<mutex> lock(m);
cout << "ChildThread " << num << ",lock acquired." << endl;
// while... | [
"zn.moon2016@gmail.com"
] | zn.moon2016@gmail.com |
a7c5a571e1c1e4a7248cbd12b1a298501780c673 | e85cf20c41c3a0c264d82c335090d86690fa195d | /Camera.cpp | 915862711a8a85abacda38973196a132a85cea3f | [] | no_license | thanhpd/Rubik | ffa0d761dce62d51de6692234c720e0779205a53 | 5336f198c58a928b17e1f01a680b2a73e9098249 | refs/heads/master | 2016-09-06T14:14:22.205467 | 2015-05-21T06:47:15 | 2015-05-21T06:47:15 | 34,130,195 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,326 | cpp | #include "GL/glu.h"
#include <cmath>
#include "Camera.h"
Camera::Camera() {
setDefaultCamera();
}
Camera::~Camera() {
}
void Camera::setModelViewMatrix() {
float m[16];
Vector3D eVec(eye.getX(), eye.getY(), eye.getZ());
m[0] = u.getX(); m[4] = u.getY(); m[8] = u.getZ(); m[12] = -eVec.dot(u);
m[1] = v.getX... | [
"ntlam94@gmail.com"
] | ntlam94@gmail.com |
a46aa3bfdfb451815119f42818388a8f2f8e0c24 | 2ba8763af1e918668f38698da4be720c0a5272ec | /Classes/Effects/TuoYuanRotateNode.h | cb2c78a14dd647b1d8e727f85fbb766b5685a98d | [] | no_license | linger2334/Grow | 1c4a2e47162c555481dfb28eda2b33ddade19483 | 0c4e253959bbba58aef3a58239a7a7bab277bc1b | refs/heads/master | 2021-01-20T09:32:44.260387 | 2014-12-30T15:54:52 | 2014-12-30T15:54:52 | 24,794,483 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,333 | h | #ifndef __Grow_Beta_01__TuoYuanRotateNode__
#define __Grow_Beta_01__TuoYuanRotateNode__
#include <cocos2d.h>
#include "RandomHelper.h"
using namespace cocos2d;
typedef struct OvalConfig {
//椭圆a长半轴
float a;
//椭圆b短半轴
float b;
//中心点坐标
Vec2 centerPosition;
//是否逆时针运动
bool moveInAnticlockwise... | [
"pinle2006@163.com"
] | pinle2006@163.com |
c4acb85796aad70146406f6b348638c49ac32803 | e6cf1c7b30207e0f3fe3bda1bf6dc18a585b721a | /Data-Structures/Strings/SubsequenceAndSubstring/8- count-distinct-subsequences/countDistinctSubsequences.cpp | d6253d0e5645b549a0b6143a5e66720464c87aa5 | [] | no_license | tege3000/geeksforgeeks-algorithmic-challenges | 30cd4439b2bcd0a49100cac56f159370086d6226 | da57108fbe12a941f45368eefc11d3499328ce05 | refs/heads/master | 2023-01-29T03:21:54.921574 | 2020-12-05T09:11:10 | 2020-12-05T09:11:10 | 280,691,606 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,331 | cpp | /*
* Topic: Count Distinct Subsequences
*
* Description: Given a string, find the count
* of distinct subsequences of it.
*/
#include <iostream>
#include <vector>
#include <math.h>
#include <set>
using namespace std;
// For a string of numbers, get all subsequences
// NOTE: This is a naive approach, learn better ... | [
"teetoegeonu@gmail.com"
] | teetoegeonu@gmail.com |
18a5b6070559b29acd31cd0946620dfdaa9e8f15 | e750354074de25de034a4427b48802164e7b30ce | /device/port.h | 9de5be9872bb1a189933fd12d8b345cebca8d6c3 | [] | no_license | madsen-git/NTools | 62a65e51547ea89cdba48a2d5553c30c4da76ab5 | c7b1244a4e9b93cdff939f4f608a269f307aa37e | refs/heads/master | 2021-01-01T03:35:46.030354 | 2018-09-29T00:48:31 | 2018-09-29T00:48:31 | 58,266,851 | 0 | 7 | null | null | null | null | GB18030 | C++ | false | false | 3,201 | h | #ifndef __DEV_PORT_H__
#define __DEV_PORT_H__
#pragma once
#include "device.h"
namespace dev {
////////////////////////////////////////////////////////////////////////////////////////////////////////
// IChannel 类 2016-1-12
// 通讯设备接口
////////////////////////////////////////////////////////////////////////////////... | [
"xu_ping_2003@163.com"
] | xu_ping_2003@163.com |
cfa54c5a628fbf72ae47f9e32f6fb0db70124cc3 | bed61e3f302058e7ad6997132ed82783393112fd | /mfand/upnptest.cc | 05e874c356daca01917841c1a9e0cffaa025390e | [] | no_license | mlkazar/cazamar | f780004d04e8a6bac3bbf3a2c4b378e46ec88898 | 7afe34909394bac12514d861c3edda32b698e280 | refs/heads/master | 2023-07-19T20:11:19.764086 | 2023-07-05T17:18:49 | 2023-07-05T17:18:49 | 136,724,635 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,655 | cc | #include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <netinet/udp.h>
#include <errno.h>
#include <string>
#include <stdio.h>
#include <dqueue.h>
#include "bufsocket.h"
#include "rst.h"
#include "json.h"
#include "xapi.h"
#include "oasha1.h"
#include <xgml.h>
#include... | [
"michael.kazar@verizon.net"
] | michael.kazar@verizon.net |
6c2940c2776188852a8be8b6e38ce94bb37c0d61 | 04599ada39282ca9ae9368c3ba65bfbb0b371cc1 | /Sort Algorithm/merge_sort.cc | fc7cca6d01df342c19a1e201af983046cdfc2550 | [] | no_license | gaooz/AlgorithmandDS | 877a52fb2068b89e58dbb7b50f6ec865b287b832 | a32507bf7224a6cf07d376924bf5708247de9b02 | refs/heads/master | 2021-01-11T06:06:56.817526 | 2016-09-24T14:12:26 | 2016-09-24T14:12:26 | 69,072,509 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 709 | cc | /**
date: 2012年09月
author: gaooz.com
*/
void Merge(Sqlist L,Sqlist &T,int i,int m,int n)
{//将顺序表L中的[1....m-1]和[m...n]归并为顺序表T
int j,k;
for(j=m+1,k=i;i<=m&&j<=n;k++)
{
if(L.data[i]<L.data[j]) T.data[k]=L.data[i++];
else T.data[k]=L.data[j++];
}
if(i<=m)
for(;i<=m;)
T.data[k++]=L.data[i++];
if(j<=n)
for(... | [
"5611085@qq.com"
] | 5611085@qq.com |
d88ff0b2958cad8954bad0746426c9ed14cc5944 | 2ac428cdbaf107456dd4da40de8006b14d662d0e | /src/41_bitmap_fonts.cpp | 7ecd03e239752343a401d66b51ec5dccda15fc75 | [] | no_license | gongluck/SDL2-study | 06f1e769da280af542fec0ca1cdf8698b215dfe2 | db253516876cb034eea93bc9c7e369bcf439e349 | refs/heads/master | 2020-05-25T03:46:54.210858 | 2019-06-19T06:58:07 | 2019-06-19T06:58:07 | 187,612,050 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,142 | cpp | /*This source code copyrighted by Lazy Foo' Productions (2004-2019)
and may not be redistributed without written permission.*/
//Using SDL, SDL_image, SDL_ttf, standard IO, math, strings, and string streams
#include <SDL.h>
#include <SDL_image.h>
#include <stdio.h>
#include <string>
//Screen dimension constants
const... | [
"1039994845@qq.com"
] | 1039994845@qq.com |
2e95d026af971b17afdc99fb3beafe995eefcb08 | ebe3283aa61ec59341f64bf0bdef21065b67bb0e | /src/model/header/Environment/Body/Pose.h | b5738bea92e9d7a7c3de0a52dde171d0e451f069 | [] | no_license | Menta25/awareHouse | d6eac4248f1fd6436f71431c8dbe2b9fd559458c | 748e00c0d10640bbf5056b965ebce61c33339b53 | refs/heads/master | 2023-08-23T22:50:22.886357 | 2021-09-28T21:09:10 | 2021-09-28T21:09:10 | 411,421,192 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,724 | h | #ifndef POSE__H
#define POSE__H
#include "DirectionVector.h"
#include "Point.h"
/*****************************************************************
* @brief A type that aggregates a position and an orientation.
*
* @tparam PointCoordT Type of position coordinates.
* @tparam VectorCoordT Type of orientation coordi... | [
"vmt982@inf.elte.hu"
] | vmt982@inf.elte.hu |
b6ebe724c73dc41217050a5d445383dd25f7ac34 | cc40d6b758088e9ba56641e91c35e1ea85b64e07 | /third_party/spirv-tools/source/val/validate_capability.cpp | bb97ded2cc4a06f9a35571c83f1c9c0696ed963f | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | chinmaygarde/filament | 1091b664f1ba4cc9b63c31c73f63ec8b449acd22 | 030ba324e0db96dfd31c0c1e016ae44001d92b00 | refs/heads/master | 2020-03-26T00:25:48.310901 | 2018-08-13T22:26:23 | 2018-08-13T22:26:23 | 144,320,013 | 1 | 0 | Apache-2.0 | 2018-08-10T18:29:11 | 2018-08-10T18:29:11 | null | UTF-8 | C++ | false | false | 10,723 | cpp | // Copyright (c) 2017 Google Inc.
//
// 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... | [
"romainguy@google.com"
] | romainguy@google.com |
031456d38d464afaa8476108f0679019fae80edf | fedcd61f23899ad757a95fbe82fd43b03f867c22 | /UVa00900.cpp | 5f699d708f277b7e2d0f54b740a58499f88a7094 | [] | no_license | ric113/OnlineAlgoPractice | f77bbaa36ddfbb04549fd9685f92b8aeea93935a | 2c8904fb1df4c31ab7c0c1762738250c7a74bd66 | refs/heads/master | 2020-07-02T22:08:50.322977 | 2018-02-26T13:45:21 | 2018-02-26T13:45:21 | 74,280,007 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 411 | cpp | #include <iostream>
#include <string>
#include <stdlib.h>
using namespace std;
int main(int argc, const char * argv[]) {
int n = 1 ;
long long fib[51] ;
fib[1] = 1;
fib[2] = 2;
/* 需建表 , 否則單純跑 recursive 會 timeout */
for(int i = 3 ; i <= 50 ; i ++)
{
fib[i] = fib[i-1] + fib[i-2];
}
while( n != 0 )
{
c... | [
"ricky@Rickyde-MacBook-Pro.local"
] | ricky@Rickyde-MacBook-Pro.local |
9e508bc11ace785339b6fd2b0d773e0aeb2625b3 | d3aa092d471d90ab7b374c65407749a4c6c5b147 | /Inne/Laboratorium9/consoleLogger.h | e0e2004a10a4c56afc5faf8ae645327772f0675a | [] | no_license | klasycznienielogiczny/PodstawyProgramowania2 | 70aa94242a34cd1e8700dabaa4fd316b3a7ed7b3 | 0caa4069eecdb200739eb8a493a8d11e3c9fe60f | refs/heads/main | 2023-05-27T21:58:41.796451 | 2021-06-11T06:52:29 | 2021-06-11T06:52:29 | 346,115,028 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 530 | h | #ifndef LABORATORIUM9_CONSOLELOGGER_H
#define LABORATORIUM9_CONSOLELOGGER_H
#include "logger.h"
namespace loggers{
class ConsoleLogger:public Logger{
private:
ConsoleLogger() = default;
~ConsoleLogger() = default;
public:
friend std::ostream& operator<<(std::ostream &os, const std::s... | [
"ppaluch@student.agh.edu.pl"
] | ppaluch@student.agh.edu.pl |
25de590edcf845269fd58024d2adc2e2f0f3f540 | 46201d4f09a2f94228bd01c13be507fce283d0c9 | /cpp/Runoob/defaultparameter.cpp | 0b6260c3ff7ff770fff1dfe52fdb572a05025d1e | [] | no_license | VimIcewind/Code | 43b858e65cd20be9a8cab9f756eb7acee4b2bd6f | c83e5cb7d55ec3a19c0284e416450334547ff303 | refs/heads/master | 2023-08-03T10:30:44.748670 | 2023-08-02T08:56:15 | 2023-08-02T08:56:15 | 87,601,193 | 2 | 0 | null | 2022-12-16T00:44:34 | 2017-04-08T02:11:49 | JavaScript | UTF-8 | C++ | false | false | 402 | cpp | #include <iostream>
using namespace std;
int sum(int a, int b = 20)
{
int result;
result = a + b;
return (result);
}
int main()
{
// 局部变量声明
int a = 100;
int b = 200;
int result;
// 调用函数来添加值
result = sum(a, b);
cout << "Total value is :" << result << endl;
// 再次调用函数
result = sum(a);
cout << "Total val... | [
"VimIcewind@gmail.com"
] | VimIcewind@gmail.com |
28a6e1b1a9d75db5313384232a7158bc3a6e16a1 | 8d74aca63f7154522dc28b064da03af12b7d29b5 | /src/qt/iancoin.cpp | 68f4e8f5c8faed351b12408b121f73afebf8c748 | [
"MIT"
] | permissive | PayQ/iancoin | c4695c5830f63f774fb3138e025dd8c40b8e15ab | f55c56d3a0ae773b1d88f0cea56d33e6fb164d52 | refs/heads/master | 2020-04-13T06:50:59.866808 | 2018-12-17T06:34:12 | 2018-12-17T06:34:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,449 | cpp | // Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2018-2019 The IanCoin Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/lice... | [
"iancoin11@gmail.com"
] | iancoin11@gmail.com |
e2f9fb2012df0ca5e163643a6487120fb424e6b1 | 4a9305839059ae4ed91815ac2bb3c6dd1a6c68c5 | /VideoCapture/grabbers/abstractframecapture.h | 13ae78ce48216770feef27570a53be34e0753525 | [] | no_license | Tags80/Invision | 5df38e4509bbd13fbe4c99f7890205354f22b824 | 9a2a40e8059fcec87310aaefef6c0a61f609fddc | refs/heads/master | 2021-01-20T04:29:01.642692 | 2016-12-30T07:51:02 | 2016-12-30T07:51:02 | 76,693,033 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,824 | h | #ifndef ABSTRACTFRAMECAPTURE_H
#define ABSTRACTFRAMECAPTURE_H
#include <QObject>
#include <QRect>
#include <QPixmap>
#include <QImage>
#include <QScreen>
#include <QGuiApplication>
#include <QPainter> //may move to openglpainter for hw accel
#include <QCursor>
#include <QPoint>
#include <QDateTime>
#include <QThread>
... | [
"wtangney@iastate.edu"
] | wtangney@iastate.edu |
32a77e74776ce999bb461a5eb7db82a49bb73982 | 90d39aa2f36783b89a17e0687980b1139b6c71ce | /Project Euler/43.cpp | a43c65486db4468be25d1233663fbfc4f57b8728 | [] | no_license | nims11/coding | 634983b21ad98694ef9badf56ec8dfc950f33539 | 390d64aff1f0149e740629c64e1d00cd5fb59042 | refs/heads/master | 2021-03-22T08:15:29.770903 | 2018-05-28T23:27:37 | 2018-05-28T23:27:37 | 247,346,971 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,246 | cpp | /*
Nimesh Ghelani (nims11)
*/
#include<iostream>
#include<cstdio>
#include<cmath>
#include<algorithm>
#include<map>
#include<string>
#include<vector>
#include<queue>
#include<cstring>
#include<cstdlib>
#include<cassert>
#include<cmath>
#include<stack>
#include<set>
#include<utility>
#define in_T int t;for(scanf("%d... | [
"nimeshghelani@gmail.com"
] | nimeshghelani@gmail.com |
420b40bd6205c360a1dc5e6bc14a84805297b2ad | 70238f403826253b36323e0c4700795788c61187 | /thirdparty/iPlug2/WDL/win7filedialog.h | 636916c40599b33864f12973580ad31c85039eab | [
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | tommitytom/RetroPlug | d4d1c9d671cec7373bf3e27030bc0d29b46191be | 40c6f01352d50cb31b1d4f31b7cc17fd2cf47ce8 | refs/heads/main | 2023-06-30T00:28:58.282288 | 2022-11-01T02:03:57 | 2022-11-01T02:03:57 | 185,368,230 | 262 | 11 | MIT | 2021-08-15T04:15:59 | 2019-05-07T09:23:48 | C++ | UTF-8 | C++ | false | false | 72,152 | h | #ifndef _WIN7FILEDIALOG_H
#define _WIN7FILEDIALOG_H
#ifdef _WIN32
#include <comdef.h>
#include "wdlstring.h"
#ifndef __RPC__in_opt
//defines for msvc6
#define __RPC__in_opt
#define __RPC__in
#define __RPC__out
#define __RPC__deref_out_opt
#define __RPC__deref_out_opt_string
#define __RPC__in_ecount_full(x)
#define _... | [
"tommitytom@gmail.com"
] | tommitytom@gmail.com |
3164891e8cf7949376e3409e8ee1820e17e8c085 | 4259aa5a0ff38c24ccd0dd1f27b630511d42065a | /main/permuations.cpp | fd080804f7dfccf1dae2ee057a65372ff963f9ae | [] | no_license | Cnd96/practise | bbd24f3834c56259dd946d4ab59124ba109eaba9 | 4bb005dff1e4ead7c98c62eed262ed54284b4369 | refs/heads/master | 2022-12-14T15:21:24.540203 | 2020-03-19T07:38:28 | 2020-03-19T07:38:28 | 243,745,381 | 0 | 0 | null | 2022-12-12T02:57:01 | 2020-02-28T11:19:28 | JavaScript | UTF-8 | C++ | false | false | 741 | cpp | #include "bits/stdc++.h"
#include <iostream>
#include <vector>
#include <string>
using namespace std;
int main()
{
int t;
cin >> t;
for (int i = 1; i <= t; i++)
{
vector<long long> sumData;
int n, tempSize;
long long num;
cin >> n;
for (int j = 0; j < n; j++)
... | [
"chamalnishageeth@gmail.com"
] | chamalnishageeth@gmail.com |
8fb921ee44efc72526f7fdf304b8d898f5d0eee7 | 0f6a04063067372ce328ec0852c304aacc2c42eb | /cplus_primer/1_ch/main_for.cpp | 8a16019eb0b073b1d4c3ab606372cfc81bec7b97 | [] | no_license | DarkKnight1990/cplus_primer | b97ffcc79369a3cedba4ad9a4201379b952a0b9e | abbbcf006b03bb33832061bf648cdda4c969770b | refs/heads/master | 2022-11-06T02:54:57.112911 | 2020-06-21T15:25:51 | 2020-06-21T15:25:51 | 273,930,837 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 250 | cpp | #include <iostream>
int main()
{
int sum = 0;
// sum of values from 1 to 10 inclusive
for(int i=1; i<=10; ++i)
sum += i;
std::cout << "Sum of values from 1 to 10 inclusive is: "
<< sum << std::endl;
return 0;
}
| [
"pikludey1990@gmail.com"
] | pikludey1990@gmail.com |
141efe6b5a2eeb0dc8cbbf50dee6077e62bea0b2 | 79aef160e22b19d55370beb5dd3760409fd9a3b0 | /core/Madam.cpp | 7a888b9d838fc26da9f77e6973ddeed417b34855 | [] | no_license | fixelsan/freedo | e6392ce92c979edd23cbe710aed387dc750b2da8 | 5e8524a14549f6dd1b4983a925be1b5ab63b8a7e | refs/heads/master | 2021-01-02T09:53:34.370888 | 2018-09-06T15:33:57 | 2018-09-06T15:33:57 | 38,263,445 | 5 | 1 | null | 2018-09-06T15:34:00 | 2015-06-29T18:23:31 | C++ | WINDOWS-1252 | C++ | false | false | 59,692 | cpp | /*
www.freedo.org
The first and only working 3DO multiplayer emulator.
The FreeDO licensed under modified GNU LGPL, with following notes:
* The owners and original authors of the FreeDO have full right to develop closed source derivative work.
* Any non-commercial uses of the FreeDO sources or any knowledge obt... | [
"MaxAkaAltmer@yandex.ru"
] | MaxAkaAltmer@yandex.ru |
05dd1a2e7d6fcd3f9f364f3e15a17c7889ff85f3 | 3051bd4bc0b7f3dace598880caf3364690688bc9 | /plugins/MacAU/SpatializeDither/SpatializeDither.h | 98a0d064ece9f229de443b4ff1e7f0c8cfc44cc6 | [
"MIT"
] | permissive | Atavic/airwindows | aa6802409eb9c7254e405874a267af700cb6ba0d | ac8d974fb5bfa349af37412aa5e1fe2aeea1a8f6 | refs/heads/master | 2020-03-28T08:38:49.668758 | 2018-09-09T01:07:53 | 2018-09-09T01:07:53 | 147,978,977 | 1 | 0 | MIT | 2018-09-09T00:02:49 | 2018-09-09T00:02:49 | null | UTF-8 | C++ | false | false | 5,156 | h | /*
* File: SpatializeDither.h
*
* Version: 1.0
*
* Created: 11/17/16
*
* Copyright: Copyright � 2016 Airwindows, All Rights Reserved
*
* Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Computer, Inc. ("Apple") in
* consideration of your agreement to the following terms, and your use, i... | [
"jinx6568@sover.net"
] | jinx6568@sover.net |
cb2bdc69fe82468cd2546a0d08d9a179d0022ce2 | ac51a57b898dc41ce726c15aff77d1750eacc4b0 | /src/Screen.h | 592a3d6509f89fa80af63a78c6f5918ca18dae4e | [
"MIT"
] | permissive | cadaver/oldschoolengine2-emscripten | 14ee2749f32e4c88258977073ee384cea9089fda | 6c578c2006254d8503e22e0d214ca7357381ea20 | refs/heads/master | 2020-03-23T10:35:27.117789 | 2019-08-17T14:26:51 | 2019-08-17T14:26:51 | 141,451,269 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,236 | h | // MIT License
//
// Copyright (c) 2018 Lasse Oorni
//
// 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, including without limitation the rights
// to use, copy, modif... | [
"loorni@gmail.com"
] | loorni@gmail.com |
4f78f45760927c3ad8ed016e0da71a7bf8ec1e38 | 9d74c3758df140202e49885062037a7e4076c5cf | /c3d source code/lib/cms/util/util.cpp | 45a6f177dea573d1274cc8120e195feb5bb25b94 | [] | no_license | skyforcetw/mygoodjob | 4c3a787b651d8ea181b843848f829facf051fbfe | fcfd34203825282e4adaac5aff7396d06775ed15 | refs/heads/master | 2016-09-06T07:52:18.962274 | 2015-07-21T16:50:17 | 2015-07-21T16:50:17 | 32,502,731 | 0 | 0 | null | null | null | null | BIG5 | C++ | false | false | 8,417 | cpp | #include <includeall.h>
#pragma hdrstop
#include "util.h"
//C系統文件
#include <cstdarg>
//C++系統文件
//其他庫頭文件
#include <boost/tokenizer.hpp>
//本項目內頭文件
#include <debug.h>
namespace cms {
namespace util {
//==========================================================================
// Util
//=======... | [
"skyforce@1153854a-e0ba-11de-81d3-db62269da9c1"
] | skyforce@1153854a-e0ba-11de-81d3-db62269da9c1 |
cbbea2b9d8d225560138fe7d4d368c29fa23c79a | 19e49186a2eb0064fc49a037462a2ca7787e6040 | /game.cpp | 9dc17bff806c78ef05bfdfeb35395bb78679cb4f | [
"MIT"
] | permissive | saurabhkb/tic-tac-toe | 4dbd982bed29b3d8e0c06c74d02421e195543d0b | 4f483637fd5535d9e40f3d3a6441c51e73635325 | refs/heads/master | 2021-01-11T21:25:18.154485 | 2017-01-12T21:37:52 | 2017-01-12T21:42:32 | 78,781,076 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,379 | cpp | #include "game.h"
Game::Game() {
for(int i = 0; i < 9; i++) {
board[i] = BLANK;
}
}
bool Game::is_valid_move(int move) {
if((0 <= move) && (move <= 9) && (board[move] == BLANK)) {
return true;
}
return false;
}
void Game::make_move(int player, int move) {
board[move] = player;
}
int Game::is_game_won() {
... | [
"me"
] | me |
a16c7a15fec38db9b6e7cbaf2532ce6c249d2c7a | 0e3387599933908a1abf982c11da2af407b5728f | /OOP_LAB_4_5/Figure.cpp | 0f79c296ecc6cb9816c946573fa2c9c46448bbba | [] | no_license | rumeone/Oop_Figure | a434acd135d2f43e14e0960a70bd41dc7068e777 | 8715ec496b22e57214417f570c231b74bca46cad | refs/heads/master | 2023-01-01T14:53:23.166809 | 2020-10-26T12:45:25 | 2020-10-26T12:45:25 | 307,369,713 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 392 | cpp | #include "Figure.h"
#include <windows.h>
#include <glut.h>
#include <vector>
#include <array>
#include <vector>
#include <ctime>
Figure::Figure() {
this->speedX = rand() % 10 / 1000.f * pow(-1, rand() % 2);
this->speedY = rand() % 10 / 1000.f * pow(-1, rand() % 2);
this->move = rand() % 2;
printf("constructor F... | [
"yuaroslav_29@mail.ru"
] | yuaroslav_29@mail.ru |
3eb8d70bc177ca7dfc569e34ce7ec85947785c32 | 5330918e825f8d373d3907962ba28215182389c3 | /CMGTools/Common/src/MuonFactory.cc | 55958b27d64a3c52958a334b864766eba67290a3 | [] | no_license | perrozzi/cmg-cmssw | 31103a7179222c7aa94f65e83d090a5cf2748e27 | 1f4cfd936da3a6ca78f25959a41620925c4907ca | refs/heads/CMG_PAT_V5_18_from-CMSSW_5_3_22 | 2021-01-16T23:15:58.556441 | 2017-05-11T22:43:15 | 2017-05-11T22:43:15 | 13,272,641 | 1 | 0 | null | 2017-05-11T22:43:16 | 2013-10-02T14:05:21 | C++ | UTF-8 | C++ | false | false | 5,462 | cc | #include "CMGTools/Common/interface/MuonFactory.h"
#include "TrackingTools/AnalyticalJacobians/interface/JacobianCurvilinearToCartesian.h"
#include "TrackingTools/TrajectoryParametrization/interface/GlobalTrajectoryParameters.h"
#include "TrackingTools/TrajectoryParametrization/interface/CartesianTrajectoryError.h"
... | [
"colin.bernet@cern.ch"
] | colin.bernet@cern.ch |
872a35f4bfcf89591f581cfea2e6b700da64e03a | 4048bac4728ee762943b24bc9fc31a31506ba6e2 | /ciu/CIU/ciu/Classes/Native/mscorlib1.cpp | 55d5b961bca27286a6fa3e7d2b16b0f49d6e2462 | [] | no_license | yasin30/watches | 2e64ffffe3713f93aec13de133a4cd8c9a2e8087 | 0d172bb50dbed84c0a35b8fcfaa9ddf9e31c7c66 | refs/heads/master | 2020-12-31T23:56:51.747375 | 2020-02-10T11:52:03 | 2020-02-10T11:52:03 | 239,084,466 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,675,855 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "codegen/il2cpp-codegen.h"
#include "icalls/mscorlib/System/Array.h"
#incl... | [
"nabky.bjnoon@gmail.com"
] | nabky.bjnoon@gmail.com |
c303bcbf196533f56ca883e8587399597017148e | 8b9095ceb8c2cec16a44bd85b8bda1ce230f4f5f | /SystemInformLibrary/WmiQuerry.h | ae34d02af616a05d58f2afe2e489833363f172e7 | [] | no_license | Striker0629/SystemInformLibrary | 2713688bd8b06c3c29e7b9583db409641956e817 | 2f7ac1d0ffaff9b521ddd55c9bc1f4753f7b51b4 | refs/heads/master | 2020-03-28T19:47:08.524253 | 2018-10-18T12:05:39 | 2018-10-18T12:05:39 | 149,009,438 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 756 | h |
#ifndef WMI_QUERRY_H
#define WMI_QUERRY_H
#include<Windows.h>
#include<driverspecs.h>
#include<wbemidl.h>
#include<string>
#include<iostream>
#include<unordered_map>
#include<comdef.h>
#pragma comment(lib,"wbemuuid.lib")
class WmiCoObject
{
bool connected_;
//std::string querry_;
std::string root_;
HRESULT hres_... | [
"striker0629@gmail.com"
] | striker0629@gmail.com |
593a0921de767c7b0c13b1ee02665f500632cf25 | 711e5c8b643dd2a93fbcbada982d7ad489fb0169 | /XPSP1/NT/ds/security/passport/atls/allocate.cpp | c364372e150bd5532238fc832ceb5582889b8c07 | [] | no_license | aurantst/windows-XP-SP1 | 629a7763c082fd04d3b881e0d32a1cfbd523b5ce | d521b6360fcff4294ae6c5651c539f1b9a6cbb49 | refs/heads/master | 2023-03-21T01:08:39.870106 | 2020-09-28T08:10:11 | 2020-09-28T08:10:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,221 | cpp | // This is a part of the Active Template Library.
// Copyright (C) 1996-2001 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Active Template Library Reference and related
// electronic documentation provided with the library.
// See these sources fo... | [
"112426112@qq.com"
] | 112426112@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.