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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
28a869f3980f74c5d82a62d99dbdfab37f232051 | 8193108a50b92916226ba62d0bee1023d4717824 | /FutVasf2D/src/BehaviorDefense.cpp | 21772bf5c8811ce6af400c84d86d196041550cd2 | [
"BSD-2-Clause",
"MIT"
] | permissive | joaopedrofn/UndergraduateDissertation | ee4f801fbb9b988ea5c4824336540a6d05540b88 | f6179a286d3a1940288c8ad54fd992d97c5684d7 | refs/heads/master | 2020-06-30T22:47:21.195354 | 2019-08-22T02:02:20 | 2019-08-22T02:02:20 | 200,972,616 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,131 | cpp | /************************************************************************************
* WrightEagle (Soccer Simulation League 2D) *
* BASE SOURCE CODE RELEASE 2016 *
* Copyright (c) 1998-2016 WrightEagle 2D Soccer Simulation Te... | [
"joaopedrofn@gmail.com"
] | joaopedrofn@gmail.com |
7879bd6683f9aae4b5877a6e4c80909eb79897c4 | 94bc03ffdf3291935f07c8bd5fe566269221bf18 | /dom/camera/TestGonkCameraHardware.cpp | d3c79e907b75225253f2d2c51fa2616dd58fe137 | [] | no_license | testitesti22/palemoon27 | 7dd331b4ab582b40c2e6b7967a18153259dc5f38 | 7529dc68e857243d3587ccee6378cc51193b8df5 | refs/heads/master | 2023-04-09T14:32:33.535467 | 2021-04-19T03:02:56 | 2021-04-19T03:02:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,334 | cpp | /*
* Copyright (C) 2013-2015 Mozilla Foundation
*
* 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 ... | [
"roytam@gmail.com"
] | roytam@gmail.com |
d4b1e8137c4a3a887dc890bdf4d108c25603811f | 87a953395833e367ad2c4394fbbd68bff7cd5686 | /Pibrary/include/INIReader.h | 95be262433e3fc759dc013b6bcae0957159a2e6f | [] | no_license | Gurman8r/Pi | 1232833302b5755f3bee9dfba0ef6a4f4d0e3290 | e4e505c9cd8b7a2fa9bd286082d1ef72dabc7c67 | refs/heads/master | 2020-03-22T08:28:16.763142 | 2018-09-05T14:45:32 | 2018-09-05T14:45:32 | 139,768,350 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,058 | h | // Read an INI file into easy-to-access name/value pairs.
// inih and INIReader are released under the New BSD license (see LICENSE.txt).
// Go to the project home page for more info:
//
// https://github.com/benhoyt/inih
/* inih -- simple .INI file parser
inih is released under the New BSD license (see LICENSE.txt). ... | [
"gurman8r@gmail.com"
] | gurman8r@gmail.com |
2b349f670ef7f04de40c29369e8175ceb26c95de | 5447b996093629956847d692aa1f92f7bb48ad92 | /ROS/stuff/sweepServos/src/sweepServos.ino | 42fd6818601b50a417eb8359eca8e3a0aa122515 | [] | no_license | AndreasGerken/selfRegulation | ff6f31544eade0880c0b8ee59672c389d336339f | 7f41d7c0270f2c0e61744e9cb0fd57dda6c630d2 | refs/heads/master | 2021-01-13T01:08:10.076866 | 2017-05-26T13:39:00 | 2017-05-26T13:39:00 | 81,458,302 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,389 | ino | /* Sweep
by BARRAGAN <http://barraganstudio.com>
This example code is in the public domain.
modified 8 Nov 2013
by Scott Fitzgerald
http://www.arduino.cc/en/Tutorial/Sweep
*/
#include <Servo.h>
#define SERVO_PIN 9
#define SERVO_PIN2 5
Servo myservo; // create servo object to control a servo
Servo myservo2; /... | [
"andi.gerken@gmail.com"
] | andi.gerken@gmail.com |
2412526d0478dfd43e0321e220094123c3417324 | f313c6df81673cfb79c478359d00aad4a38d4c54 | /sb-movie-demo-ps2/SB04_Multi_Sku/Engine/Game/zPickupTable.cpp | 495af78fe9631dbb06addbcf683347711f022ae0 | [] | no_license | seilweiss/dwarfdb | 2ee1a1d748d83f6d14413bd58312c99059af99bc | 9afc2132cd69f11ed6e69bd4b2b67805bc1828b9 | refs/heads/main | 2023-08-14T23:48:48.254038 | 2021-10-07T05:40:50 | 2021-10-07T05:40:50 | 414,475,004 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 549 | cpp |
void zPickupTableInit();
// zPickupTableInit__Fv
// Start address: 0x30de00
void zPickupTableInit()
{
zAssetPickup* ptbl;
uint32 i;
uint32 j;
// Line 48, Address: 0x30de00, Func Offset: 0
// Line 52, Address: 0x30de04, Func Offset: 0x4
// Line 48, Address: 0x30de08, Func Offset: 0x8
// Line 63, Address: 0x3... | [
"32021834+seilweiss@users.noreply.github.com"
] | 32021834+seilweiss@users.noreply.github.com |
b4a817413cb2d17ed84ffdbc20175623c72ffacb | 28a0090863d4bc49106240a5c94eb88f7c860a49 | /base/filerotatingstream.cc | 7b3c1672b93b58412b39728a6bee514142436df1 | [] | no_license | luohuanjun123/ProjKits | 284d26b19ed7dd72e7fc10ffc4ad9d8801efc25b | 2a29ec34c2396d3b35cecd17bcb0a1370b727d46 | refs/heads/master | 2021-01-17T08:37:58.566717 | 2016-07-17T10:39:04 | 2016-07-17T10:39:04 | 63,526,382 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,495 | cc | /*
* Copyright 2015 The WebRTC Project Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing ... | [
"luohuanjun@xuexibao.cn"
] | luohuanjun@xuexibao.cn |
9659efeb17619cfaada832af8c4a75dbf94cb537 | 777c71c2721bda3bf45b9600f54e226d1595a967 | /JCudaCommonJNI/src/Logger.cpp | 12517882f0b0a709146406bec0bd1214ef8f2545 | [
"MIT"
] | permissive | kiszk/jcuda-common | 44ac2810d3e87c6b032f3bda273bc7ffd8397c7c | f9a6079fa0745865a64e1d45acca5d67d08fa77d | refs/heads/master | 2021-01-15T09:56:48.368968 | 2017-02-24T17:25:23 | 2017-02-24T17:25:23 | 43,773,145 | 1 | 0 | null | 2015-10-06T19:22:18 | 2015-10-06T19:22:18 | null | UTF-8 | C++ | false | false | 1,732 | cpp | /*
* JCuda - Java bindings for NVIDIA CUDA driver and runtime API
*
* Copyright (c) 2009-2015 Marco Hutter - http://www.jcuda.org
*
* 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 Softwa... | [
"jcuda@jcuda.org"
] | jcuda@jcuda.org |
928b5452a638a8d7405ebe03008a99ec51d6611d | 9030ce2789a58888904d0c50c21591632eddffd7 | /SDK/ARKSurvivalEvolved_BogSpider_AnimBlueprint_classes.hpp | 53e5536b31dd349c326625f92e70d176923112e5 | [
"MIT"
] | permissive | 2bite/ARK-SDK | 8ce93f504b2e3bd4f8e7ced184980b13f127b7bf | ce1f4906ccf82ed38518558c0163c4f92f5f7b14 | refs/heads/master | 2022-09-19T06:28:20.076298 | 2022-09-03T17:21:00 | 2022-09-03T17:21:00 | 232,411,353 | 14 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 131,181 | hpp | #pragma once
// ARKSurvivalEvolved (332.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_BogSpider_AnimBlueprint_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//-------------------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
33b0ff436a34620099a290393664240e47abecee | c9365783e6a3e0c21fea1a74b5a96fbf5d4cd134 | /Project8/src/utilities/shapes.cpp | 3aa518bde142afd68534418e9f530e5639bf4deb | [] | no_license | atran06/CS53-Final-Game | 4f4893bcd2f8e26319618227f346d1cdee4e83a4 | 72a5c033d676ffa3442bf8e794b55887d8a03310 | refs/heads/master | 2020-04-09T10:15:34.171739 | 2018-12-04T05:59:18 | 2018-12-04T05:59:18 | 160,264,190 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 230 | cpp | #include "shapes.h"
void Shapes::drawRectangle(int x, int y, int width, int height) {
glBegin(GL_QUADS);
glVertex2i(x, y);
glVertex2i(x + width, y);
glVertex2i(x + width, y + height);
glVertex2i(x, y + height);
glEnd();
} | [
"tran.art13@gmail.com"
] | tran.art13@gmail.com |
43bd94316d0080fd3b643c6f0ab0075fe562e4c4 | 149f2b47b7a5952feab584f8038501d697aa55c8 | /semana11/p1.cpp | 9515718d10d5d2c5a1be765f562c1bd1c4159424 | [] | no_license | GonzaloCirilo/Taller-Programacion | 50662410580022defe0b9d4af8d8ae614f6aaad3 | 9b8da5e7c6d6413680b8f28bb32a0c0d2c7a4624 | refs/heads/master | 2020-07-09T17:37:19.702894 | 2019-11-25T18:03:59 | 2019-11-25T18:03:59 | 204,035,952 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,037 | cpp | #include <iostream>
#include <stdlib.h>
#include <time.h>
using namespace std;
void generarYMostrarDatos(int *arr) {
for (int i = 0; i < 30; i++) {
arr[i] = rand() % 4 + 1;
if (i != 0)
cout << "-";
cout << arr[i];
}
cout << endl;
}
void listaPuntajes(int *arr, int *cantXPunt) {
for (int i = 0; i < 30; i... | [
"gonzalo_cirilo@hotmail.com"
] | gonzalo_cirilo@hotmail.com |
11eb446db106f2d27ee57df3e64369a62dcca276 | 351bbc1c779b064c3baba1899fd9418043dab284 | /Classes/Enemy.cpp | 5b0da8042dd93be67695f0de1df7af83bf9f9370 | [
"MIT"
] | permissive | melatron/CellTurnBasedGame | 9c808f31f44f9c5239a05ab8b14e340c16fb94f8 | 89fbd27313e8164c1904a7c0cd4b1c6953eec6dc | refs/heads/master | 2020-06-26T20:27:01.139595 | 2016-09-09T14:54:21 | 2016-09-09T14:54:21 | 67,501,626 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,786 | cpp | #include "Enemy.h"
#include "Zombie.h"
bool Enemy::init()
{
if (!Node::init())
{
return false;
}
this->isMoving = false;
//this should be rewritten if there are more than 1 team
this->teamID = 2;
this->health = Constants::startingHealth;
this->energy = Constants::startingEnergy;
this->energyCap = Constants... | [
"antony.dikov@live.com"
] | antony.dikov@live.com |
694e6614aa99375f06c1012286e40bd67d21a9a9 | 9ceacf33fd96913cac7ef15492c126d96cae6911 | /gnu/lib/libstdc++/libstdc++/config/locale/generic/time_members.h | 6f2a8417f2ada7dcb7d46529f6db9a7c62213ffe | [] | no_license | openbsd/src | ab97ef834fd2d5a7f6729814665e9782b586c130 | 9e79f3a0ebd11a25b4bff61e900cb6de9e7795e9 | refs/heads/master | 2023-09-02T18:54:56.624627 | 2023-09-02T15:16:12 | 2023-09-02T15:16:12 | 66,966,208 | 3,394 | 1,235 | null | 2023-08-08T02:42:25 | 2016-08-30T18:18:25 | C | UTF-8 | C++ | false | false | 2,357 | h | // std::time_get, std::time_put implementation, generic version -*- C++ -*-
// Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public Licen... | [
"espie@openbsd.org"
] | espie@openbsd.org |
81cfa76a454f3538ff73bd910e582fc980aed4fa | 4dbaea97b6b6ba4f94f8996b60734888b163f69a | /TOJ/Conversions.cpp | eae23188112c65371a8f8fd2f01fedcc35628078 | [] | no_license | Ph0en1xGSeek/ACM | 099954dedfccd6e87767acb5d39780d04932fc63 | b6730843ab0455ac72b857c0dff1094df0ae40f5 | refs/heads/master | 2022-10-25T09:15:41.614817 | 2022-10-04T12:17:11 | 2022-10-04T12:17:11 | 63,936,497 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 714 | cpp | #include <iostream>
#include <stdio.h>
#include <iomanip>
using namespace std;
int main()
{
int num;
cin >> num;
string str;
double n;
for(int i = 1; i <= num; i++)
{
cin >> n >> str;
if(str == "kg")
cout << i << ' ' << setprecision(4) << fixed << 2.... | [
"54panguosheng@gmail.com"
] | 54panguosheng@gmail.com |
7201eaeeb0f1049325ac497b98062786828a7a89 | 4c2d0d20b38a62f8c938e2d30f5e85b0d4b7d5b4 | /src/failure.hpp | 4dcb25fd725b0ef8b963f7bf97d1f629c8346d7d | [] | no_license | kmehrunes/automaniac | aa8bf8817fbf55ca15922d60c6f2798b43c26d36 | f62de73f4dacf33c731a02ead52dcef12005e0b3 | refs/heads/master | 2020-03-28T20:50:30.667893 | 2018-11-30T10:30:14 | 2018-11-30T10:30:14 | 149,107,430 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,953 | hpp | #ifndef FAILURE_HPP
#define FAILURE_HPP
#include <ostream>
#include <functional>
struct Error
{
int code;
std::string message;
public:
Error(int _code, std::string & _msg):
code(_code), message(_msg) {}
Error(const std::string & _msg):
code(-1), message(_msg) {}
Error(const char * _msg):
code(-1), mess... | [
"kmehrunes@gmail.com"
] | kmehrunes@gmail.com |
58880ed747fd1455ac1b3cb15fda50dfa02bfcb0 | cdf6a6efdc6469199790eb3835b6e9f3914ceeb5 | /Snake++/Snake.cpp | 4d351ff64b068370b8ba1d8650fb5ea689d227db | [] | no_license | NyxWallace/Snake | 8921889d075e9d56c50547304168e5044f0013b9 | 0d80269c428988c23eb736df2288ab23ce73fa61 | refs/heads/master | 2023-02-15T14:55:35.654799 | 2021-01-14T22:57:22 | 2021-01-14T22:57:22 | 328,800,134 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,896 | cpp | #include "Snake.h"
Snake::Snake()
{
Head = new Body(0, 0);
Tail = new Body(-1, 0);
Head->Next = Tail;
Tail->Prev = Head;
}
/// <summary>
/// Move to the next cell without increasing the size
/// </summary>
/// <param name="pos_x">Number of units moved on the X ax</param>
/// <param name="pos_y">Number of units ... | [
"antoine.farine@hotmail.com"
] | antoine.farine@hotmail.com |
551d33bd11f016e78e6a0d767af24bfffb0e215f | 5c8a1e57d619332dbaca41bbf364523506fb7049 | /Includes/IObserver.hpp | dba287eb494ce1b798b8f34afe89647cfab6be61 | [] | no_license | thomas-le-moullec/Interactive-Distributed-Scraper | 330f1f6bb89a58a21e1818b72d4c7483eb29cd69 | fa59d3ea9593a1ca4e66032b1bf480322fcd6453 | refs/heads/master | 2020-03-28T18:50:52.516612 | 2018-09-15T16:20:50 | 2018-09-15T16:20:50 | 148,918,416 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 233 | hpp | #ifndef IOBSERVER_HPP_
# define IOBSERVER_HPP_
#include <iostream>
#include <vector>
namespace Plazza {
class IObserver {
public:
virtual ~IObserver() {};
virtual void Update(std::vector<std::string> data) = 0;
};
}
#endif
| [
"thomas.le-moullec@epitech.eu"
] | thomas.le-moullec@epitech.eu |
4ac8518e520e91f999c5ea74ff622b4f42436578 | acd268e1d744f2a21052ca62301ff6159cbf8c37 | /Components/Bites/src/OgreAdvancedRenderControls.cpp | 88d4285ed57fa7ae850c740115c7bae30d3de204 | [
"MIT"
] | permissive | digimatic/ogre | 07dbcd67936082f31573df55b000f5ceebc387fa | f071f20c82c4df4e96b705d50a178712a7ff90da | refs/heads/master | 2020-04-12T08:16:28.479960 | 2017-01-10T21:32:36 | 2017-01-10T21:32:36 | 64,395,447 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,532 | cpp | /*
* AdvancedRenderControls.cpp
*
* Created on: 24.12.2016
* Author: pavel
*/
#include "OgreAdvancedRenderControls.h"
#include <OgreTextureManager.h>
#include <OgreMaterialManager.h>
#include "OgreTrays.h"
namespace OgreBites {
AdvancedRenderControls::AdvancedRenderControls(TrayManager* trayMgr, Ogre::Cam... | [
"rojtberg@gmail.com"
] | rojtberg@gmail.com |
5b13e530f205a18ace5ac5173f67644a383e58cf | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE23_Relative_Path_Traversal/s01/CWE23_Relative_Path_Traversal__char_connect_socket_ifstream_81_bad.cpp | 8dfdf246de905013de3387a2f5bbb35d1f951a10 | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 1,192 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE23_Relative_Path_Traversal__char_connect_socket_ifstream_81_bad.cpp
Label Definition File: CWE23_Relative_Path_Traversal.label.xml
Template File: sources-sink-81_bad.tmpl.cpp
*/
/*
* @description
* CWE: 23 Relative Path Traversal
* BadSource: connect_socket Re... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
481007d2d396d60ac0eaee6029f9b58266f59a01 | 69b4f7c49f18fc193f49275a2d32ffbcbe70471d | /Random contest/ICPC North America Qualifier 2016 Open/J.cpp | 629794674363ec286c096c968be47eb0a69eb4fc | [] | no_license | TD2106/Competitive-Programming | 05f322a14f1e7a1d62633b713f1416ab0c547b3b | 2905c9d5f36909330fc3637f5461aaba8928a154 | refs/heads/master | 2020-04-03T12:59:49.790124 | 2019-09-21T14:51:08 | 2019-09-21T14:51:08 | 155,270,877 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 137 | cpp | #include <iostream>
using namespace std;
int main (){
int tc;
string s;
cin>>tc;
while(tc--){
cin>>s;
cout<<s.size()<<endl;
}
}
| [
"duy.le@ubitec.ch"
] | duy.le@ubitec.ch |
21c5082f55c562314018b8691875a230274b3e59 | 18488c64ea8073545133e78a884cac4d6669ccf0 | /28_NhamChuSo.cpp | 38cc7114fb9dd0d107d8c751a8f23087c51bd246 | [] | no_license | manhtung001/Datastructure-Algorithm-PTIT | f6b1c3bbc2476af3989b8796696dbbb7750e91fe | c41a344d4fbfd92bf587eac14861568d2029321b | refs/heads/master | 2023-06-24T07:19:33.970580 | 2021-07-21T13:44:54 | 2021-07-21T13:44:54 | 344,992,505 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 622 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
ll SO(string s)
{
ll so = 0;
for (int i = 0; i < s.size(); i++)
{
so = so * 10 + s[i] - '0';
}
return so;
}
main()
{
string a, b;
cin >> a >> b;
for (int i = 0; i < a.size(); i++)
{
if (a[i] == '6')
a[i] = '5';
}
... | [
"khongtung001@gmail.com"
] | khongtung001@gmail.com |
62919695b27365d1a53656f6da2623a82f06a8ed | fbc8bbdf2fcafbbcf06ea87aac99aad103dfc773 | /VTK/Accelerators/Vtkm/vtkmlib/UnstructuredGridConverter.cxx | a134f38a3f7286aba7921c18c3c583670967192d | [
"BSD-3-Clause"
] | permissive | vildenst/In_Silico_Heart_Models | a6d3449479f2ae1226796ca8ae9c8315966c231e | dab84821e678f98cdd702620a3f0952699eace7c | refs/heads/master | 2020-12-02T20:50:19.721226 | 2017-07-24T17:27:45 | 2017-07-24T17:27:45 | 96,219,496 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,098 | cxx | //=============================================================================
//
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
//
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// ... | [
"vilde@Vildes-MBP"
] | vilde@Vildes-MBP |
a673a60ed1224ccb28a8c3693fbfe01cca2bf5dd | 83f193d9bdeff2449d02d8ce3b4b7fb391c41ab8 | /cpp/mahjong.pb.cc | 8c18f97541deb6ef4ad0f568d85e95e8eeb4cede | [] | no_license | ruaruagerry/mahjong_proto | 384725e8e81b1866e52d9b447b4b370a10099183 | d488cb44585eab36a5f94567409442662951585e | refs/heads/master | 2022-07-14T15:30:59.188397 | 2020-05-11T15:25:28 | 2020-05-11T15:25:28 | 263,081,126 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 785,498 | cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mahjong.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "mahjong.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/io/coded_stream.h>
#includ... | [
"gerry"
] | gerry |
aafc5882a1c52410105f435ecd0fb1010240570f | 3964a952f3f37885415861614215f898b7582bc4 | /lrn-sycl/main.cpp | 188a990b67bfed62f7743ee4898e98e749fc0eda | [
"BSD-3-Clause"
] | permissive | ChiaCheng-Tsai/oneAPI-DirectProgramming | 4b713dcf1f69f613b0678925df0bbeda0b09b21d | 7d01c299ee4b8b424f7738cff549bf39e9fc1240 | refs/heads/master | 2023-03-18T06:07:27.312185 | 2023-03-02T00:32:31 | 2023-03-02T00:32:31 | 317,786,545 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,879 | cpp | #include <chrono>
#include <cstdio>
#include <iostream>
#include <vector>
#include "common.h"
#include "kernels.h"
using namespace std::chrono;
void Forward(queue &q, int repeat)
{
int64_t ndims = 5;
int64_t size = 5;
float alpha = 0.000122;
float beta = 0.750000;
float k = 1.000000;
int64_t N = 6;
int6... | [
"5zj@equinox.ftpn.ornl.gov"
] | 5zj@equinox.ftpn.ornl.gov |
4e51bf301c50b64622ceed4907c153ded00c118f | 5476bce4a326c9adf16a34ba488615cdc0725a1f | /AppWindow.h | 1c5731174b6b655462a8091ed539f3355a506ee1 | [
"MIT"
] | permissive | ahitech/Skeleton | e03fa0383b3efb96825fcd80b9c1113a03fa78e8 | b76cff1b6b8516b50e3940a4864a2680aef3e07b | refs/heads/main | 2023-01-22T04:46:22.697852 | 2020-11-28T22:03:37 | 2020-11-28T22:03:37 | 316,829,460 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 510 | h | /*
* Copyright 2020, Alex Hitech <ahitech@gmail.com>
* All rights reserved. Distributed under the terms of the MIT license.
*/
#ifndef APP_WINDOW_H
#define APP_WINODW_H
#include <View.h>
#include <Rect.h>
#include <Window.h>
#include <SupportDefs.h>
#include "MainView.h"
class AppWindow : public BWindow
{
public... | [
"ahitech@gmail.com"
] | ahitech@gmail.com |
ce601da5f4f1c177a886b25f67a5c19d2df9a3a0 | 549526b112480aab8d7d1c2a9f930fd37d080254 | /Test/Test.cpp | 90e1ba2bc88645fd3437496d4ec1677d611b2249 | [] | no_license | topkoong/NoSqlDb | c53de06f70fad22db117e967f6356121733b2759 | 55e3b675eab322a2bfc2e49a65405bebcecd5ff4 | refs/heads/master | 2021-04-06T09:57:46.510656 | 2018-03-11T01:30:09 | 2018-03-11T01:30:09 | 124,710,460 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,402 | cpp | #include "Test.h"
//#include "../DbCore/DbCore.h"
#include "../Utilities/StringUtilities/StringUtilities.h"
#include "../Utilities/TestUtilities/TestUtilities.h"
#include <iostream>
using namespace Utilities;
int main()
{
Utilities::Title("Testing DbCore - He said, she said database");
putLine();
//TestDB testDb;;
... | [
"engineer_top@msn.com"
] | engineer_top@msn.com |
aa874a3312fd34d48b0d7273b64ee00694f8e6ac | 36aab89d53d4e373b9b7e6e9bc61d7622afb4902 | /hackerearth/practo/2.cpp | 05183349ab38fadf6708473e767f63540855aa41 | [] | no_license | vikram-rathore1/competitive_programming | 052518f36053eab24a2b0343cd6965549a919b42 | 598cbcb3dfde75751ee9a820fb52ebe3b4d64d44 | refs/heads/master | 2022-04-12T11:14:44.968592 | 2020-04-03T21:10:12 | 2020-04-03T21:10:12 | 65,635,969 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,526 | cpp | #include <bits/stdc++.h>
using namespace std;
string str;
int s[100001], e[100001], max_len;
void precomp() {
for (int i = 0; i < 100001; i++) {
s[i] = e[i] = -1;
}
int f = -1;
for (int i = 0; i < str.length(); i++) {
if (str[i] == '1') {
if (f == -1) {
f = i;
s[i] = i;
}
}
else {
if (f !... | [
"rathore.vikram624@gmail.com"
] | rathore.vikram624@gmail.com |
57720e29996f1774c5a43e239b2b06939b167375 | e6954f48532a61ba1f55bf93e4e2854c53ef28d1 | /SiSiMEX/UCP.cpp | 8bfd24f7cd8c076b2350a9b26fe02a00ae0261de | [] | no_license | mlluch/SiSiMEX-1 | b7863423e93ee11f0cf15d8f0b9afab2b3b9a667 | b64c039ed430339b3931ca8fdb9598e737949f64 | refs/heads/master | 2021-08-20T05:27:59.719140 | 2017-11-24T03:51:11 | 2017-11-24T03:51:11 | 112,304,386 | 0 | 0 | null | 2017-11-28T07:58:39 | 2017-11-28T07:58:39 | null | UTF-8 | C++ | false | false | 2,885 | cpp | #include "UCP.h"
#include "MCP.h"
#include "AgentContainer.h"
enum State
{
ST_INIT,
ST_REQUESTING_ITEM,
ST_RESOLVING_CONSTRAINT,
ST_NEGOTIATION_FINISHED,
};
UCP::UCP(Node *node, uint16_t requestedItemId, const AgentLocation &uccLocation) :
Agent(node),
_requestedItemId(requestedItemId),
_uccLocation(uccLocati... | [
"jesusdz@gmail.com"
] | jesusdz@gmail.com |
869ce27b66cd039d3374e08699b145d46b2c24c7 | 55d560fe6678a3edc9232ef14de8fafd7b7ece12 | /libs/log/src/unique_ptr.hpp | 602618de17c0a4cde641e2d82a6638efd072e78b | [
"BSL-1.0"
] | permissive | stardog-union/boost | ec3abeeef1b45389228df031bf25b470d3d123c5 | caa4a540db892caa92e5346e0094c63dea51cbfb | refs/heads/stardog/develop | 2021-06-25T02:15:10.697006 | 2020-11-17T19:50:35 | 2020-11-17T19:50:35 | 148,681,713 | 0 | 0 | BSL-1.0 | 2020-11-17T19:50:36 | 2018-09-13T18:38:54 | C++ | UTF-8 | C++ | false | false | 1,263 | hpp | /*
* Copyright Andrey Semashev 2007 - 2015.
* 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)
*/
/*!
* \file unique_ptr.hpp
* \author Andrey Semashev
* \date 18.07.2015
*
... | [
"james.pack@stardog.com"
] | james.pack@stardog.com |
9bd103cb7d5352ea1cdf8b4a76a7d42da276ad6a | 562d69fbf4aae6c3835f3bd7403403ff1c0f1f61 | /build-03_SignalAndSlot-Desktop_Qt_5_6_1_MinGW_32bit-Debug/debug/moc_mainwidget.cpp | 34b95b7b356c51d6745fe113addb8042180baab1 | [] | no_license | wilson2Hong/QT-day01 | cc5adb40e84c1cac9413533edf626f6b901eabc2 | ca4d28775f3efd5b66189a53c342a09ab0cf67f4 | refs/heads/master | 2022-12-23T11:34:21.043713 | 2020-09-21T06:58:18 | 2020-09-21T06:58:18 | 297,254,389 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,634 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'mainwidget.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.6.1)
**
** WARNING! All changes made in this file will be lost!
**********************************************************... | [
"20181218010@nuist.edu.cn"
] | 20181218010@nuist.edu.cn |
0c769533ae6d9dbe2ecfd040623eb7a2b5a2698f | 9f2b07eb0e9467e17448de413162a14f8207e5d0 | /tests/libtests/meshio/TestDataWriterHDF5ExtMesh.cc | 5f4ecf9727a59e511269502573a296070b7bec56 | [
"MIT"
] | permissive | fjiaqi/pylith | 2aa3f7fdbd18f1205a5023f8c6c4182ff533c195 | 67bfe2e75e0a20bb55c93eb98bef7a9b3694523a | refs/heads/main | 2023-09-04T19:24:51.783273 | 2021-10-19T17:01:41 | 2021-10-19T17:01:41 | 373,739,198 | 0 | 0 | MIT | 2021-06-04T06:12:08 | 2021-06-04T06:12:07 | null | UTF-8 | C++ | false | false | 7,346 | cc | // -*- C++ -*-
//
// ----------------------------------------------------------------------
//
// Brad T. Aagaard, U.S. Geological Survey
// Charles A. Williams, GNS Science
// Matthew G. Knepley, University at Buffalo
//
// This code was developed as part of the Computational Infrastructure
// for Geodynamics (http://... | [
"baagaard@usgs.gov"
] | baagaard@usgs.gov |
cf3dae24d92e870c874bf75c46d42caf0091be12 | cb7f4e9e4be108167ba6403e30ebb15c540677f8 | /backend_t/backends/umesimd/plugins/avx2/int/UMESimdVecInt32_32.h | e92eb78a237ea320c24e52ad1a75ffdfd0670177 | [] | no_license | nicholasferguson/Portable_SIMD | 9aee993d97668985533625b5dce8c9b41af6167c | 2d2ec5bf89890a618759dabb59fbd9b2a989f839 | refs/heads/master | 2021-01-12T17:24:51.220527 | 2017-10-18T23:35:43 | 2017-10-18T23:35:43 | 68,247,847 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,903 | h | // The MIT License (MIT)
//
// Copyright (c) 2015 CERN
//
// Author: Przemyslaw Karpinski
//
// 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 limitati... | [
"nicholasferguson@wingarch.com"
] | nicholasferguson@wingarch.com |
50061dfdfc4afe7c04ea3008534387ca6ce85df0 | 53798d960a6022813e35c55e9049226a315ff9e3 | /src/qt/test/rpcnestedtests.h | c91f67c16b64c29fa50d6ad31b0d20b03c976e7b | [
"MIT"
] | permissive | ACB201887/acbx | 8c6cfe1a5ef5da5d5da8c69a88d70784dc376597 | 26933485d6d9cab9580942e8bbd461e76065064f | refs/heads/master | 2020-03-25T10:35:06.857735 | 2018-08-06T08:30:07 | 2018-08-06T08:30:07 | 143,697,575 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 548 | h | // Copyright (c) 2016 The ACB coin bt developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_TEST_RPC_NESTED_TESTS_H
#define BITCOIN_QT_TEST_RPC_NESTED_TESTS_H
#include <QObject>
#include <QTest>
#includ... | [
"test@gmail.com"
] | test@gmail.com |
61ed519575f8c91b49612263b1907400334f4d5f | ec68c973b7cd3821dd70ed6787497a0f808e18e1 | /Cpp/SDK/Mod_SongOfSwords_functions.cpp | 127c023b05fb6a7c32aebb7dd7fd13f21b1998d9 | [] | no_license | Hengle/zRemnant-SDK | 05be5801567a8cf67e8b03c50010f590d4e2599d | be2d99fb54f44a09ca52abc5f898e665964a24cb | refs/heads/main | 2023-07-16T04:44:43.113226 | 2021-08-27T14:26:40 | 2021-08-27T14:26:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,972 | cpp | // Name: Remnant, Version: 1.0
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//----------------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
ff72e764c4f2b40196b95b2fbbc5c3290ed87737 | ecb78d552c2c13e177293bd26785459d21bc310d | /widget.cpp | 8f434fb11cf06de1b44cf553804685e00478a057 | [] | no_license | porrizxx/Cube | 03ccbfb33e93a2aae441cec272badcb2ba30d38f | 1314d4e0618bd965d478be8e050fb4868f36b54c | refs/heads/master | 2023-08-10T09:54:23.844406 | 2017-12-04T01:27:51 | 2017-12-04T01:27:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,548 | cpp | #include "widget.h"
#include <QGridLayout>
#include <QHBoxLayout>
#include <QMessageBox>
#include <QDebug>
#include <iostream>
#include <Qtsql/QSqlDatabase>
#include <Qtsql/QSqlQuery>
#include <QtSql/QSql>
#include <QDebug>
Widget::Widget(QWidget *parent)
: QWidget(parent)
{
setWindowTitle(tr("... | [
"1119864054@qq.com"
] | 1119864054@qq.com |
678031c6b5388194bdd79d3439a08850fb04a637 | 61f27012e7029abe7026d50d64083d1d18616f01 | /back/w_rpt_report_frame_member.cpp | a06214d528e7bc5abd364a4941e55fe41285aa9e | [] | no_license | sulwan/fastfdmain | 504806817b46147bef5fef87e0f067dd04e94f0c | 8ab6af657697300e030dbac1f8032d67e4da2459 | refs/heads/master | 2020-08-08T23:53:15.896897 | 2019-06-14T01:18:31 | 2019-06-14T01:18:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 44,835 | cpp | #include "w_rpt_report_frame_member.h"
#include "ui_w_rpt_report_frame_member.h"
#include "ui_w_rpt_report_frame.h"
#include "n_func.h"
#include "backheader.h"
#include <QtDebug>
#include "lds_model_sqltablemodel_delegate_com.h"
#include <QTableWidget>
#include <QScrollBar>
#include "w_m_member.h"
#include "w_m_member_... | [
"279892744@qq.com"
] | 279892744@qq.com |
c40849b53ec9c866a5a7b2b5d85fd9ea3139ba17 | bf09b499edc5bf2e47a43c7c2dd4cd4bcc53255b | /App/Admin/RefDataSettingDlg.cpp | c8916e6bd61ab4dbf11659033ba0050932c90416 | [] | no_license | 15831944/SmartISO | 95ab3319f1005daf9aa3fc1e38a3f010118a8d20 | 5040e76891190b2146f171e03445343dc005d3be | refs/heads/main | 2023-04-12T19:06:21.472281 | 2021-05-03T04:12:59 | 2021-05-03T04:12:59 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 17,905 | cpp | // RefDataSettingDlg.cpp : implementation file
//
#include "stdafx.h"
#include <ProjectData.h>
#include "admin.h"
#include "RefDataSettingDlg.h"
#include "AdminDocData.h"
#include "StandardNoteTableFile.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
///////////////... | [
"humkyung@atools.co.kr"
] | humkyung@atools.co.kr |
88af9dbced7b4c133935df680a09e85edc1ae86e | 3af7ea325c4fe72680aa650df5d43a308c67d793 | /geometry/StarMesh.h | 0bd2a13225658730fc48feddbf52da9b0557b69b | [
"MIT"
] | permissive | sunglab/StarEngine | 232d579b705fcacef000c11a9d18615a0bf01b95 | 6767536b9aafd5dacc1cb4d7751f860e9b16c743 | refs/heads/master | 2023-08-04T13:44:27.501075 | 2023-07-24T05:27:04 | 2023-07-24T06:00:10 | 6,444,927 | 37 | 12 | null | 2023-07-24T06:00:11 | 2012-10-29T17:53:00 | C++ | UTF-8 | C++ | false | false | 4,159 | h | //
// StarGeo.h
//
// Created by Sungwoo Choi on 7/30/15.
// Copyright (c) 2015 SungLab. All rights reserved.
//
#ifndef STARMESH_H
#define STARMESH_H
#include "../StarMain.h"
//#inlcude "../star
class StarMesh
{
private:
protected:
Vec3* grid_position;
Vec3* grid_destination;
Vec3* grid_power;
... | [
"sunglab@gmail.com"
] | sunglab@gmail.com |
4cabba77536ed5666a54d1a892175f73324d40c2 | 4fbd844113ec9d8c526d5f186274b40ad5502aa3 | /algorithms/cpp/number_of_lines_to_write_string.cpp | 02b13e74e6efbc5ac744b30d01c450d0b2f0d10f | [] | no_license | capric8416/leetcode | 51f9bdc3fa26b010e8a1e8203a7e1bcd70ace9e1 | 503b2e303b10a455be9596c31975ee7973819a3c | refs/heads/master | 2022-07-16T21:41:07.492706 | 2020-04-22T06:18:16 | 2020-04-22T06:18:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,697 | cpp | /*
We are to write the letters of a given string S, from left to right into lines.
Each line has maximum width 100 units, and if writing a letter would cause the width of the line to exceed 100 units, it is written on the next line.
We are given an array widths, an array where widths[0] is the width of 'a', widths[1]... | [
"capric8416@gmail.com"
] | capric8416@gmail.com |
cb6701748fd6016c055eaf0392870318dcb59d1e | a9c12a1da0794eaf9a1d1f37ab5c404e3b95e4ec | /pbserializer/PBUserInfoSerializer.h | 801d7a1ac15d5fc155e6a64c15340406c5cfafb5 | [] | no_license | shzdtech/FutureXPlatform | 37d395511d603a9e92191f55b8f8a6d60e4095d6 | 734cfc3c3d2026d60361874001fc20f00e8bb038 | refs/heads/master | 2021-03-30T17:49:22.010954 | 2018-06-19T13:21:53 | 2018-06-19T13:21:53 | 56,828,437 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 793 | h | /***********************************************************************
* Module: PBUserInfoSerializer.h
* Author: milk
* Modified: 2015年8月23日 23:23:10
* Purpose: Declaration of the class PBUserInfoSerializer
***********************************************************************/
#if !defined(__pbserializer_P... | [
"rainmilk@gmail.com"
] | rainmilk@gmail.com |
59870f7e8322bfc5e1ef3d99d8fe81307ef6f3bc | e2c5b733f7b0e3cca1f71db439a9318bb61ba8f3 | /Routing_Vector_Protocols/include/file_handler.h | 2a424d036bd3de85756de87c81eb7290aa4acdc6 | [] | no_license | nishantravi92/Networks | bf1e97021dd5d7b18d40b9b1cb6c73a95704ce1c | 90e1ddcc6fecace31afaadec82d21a5cf164d7b5 | refs/heads/master | 2021-01-09T05:36:05.501205 | 2017-02-03T07:07:29 | 2017-02-03T07:07:29 | 80,798,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 828 | h | #ifndef FILE_HANDLER_H
#define FILE_HANDLER_H
#define N_1024 1024
#define N_12 12
#include <vector>
#include "router.h"
struct File_handler {
uint8_t transfer_id;
std::vector<int> sequence_numbers;
uint16_t sequence_number;
int packets_to_send;
uint8_t time_to_live;
int fd;
char file_name[512];
char dest_ip... | [
"nishantravi92@gmail.com"
] | nishantravi92@gmail.com |
6b78b23c4eec88ba3c5d1741b8975a6bd144b4e0 | 2d24e08d4511a5c4900b6a05797f5e2350f12498 | /Tetris/Tetris/TBrick.h | ae4e148c4d6367649008aca89c3f09a1a9477130 | [] | no_license | Niceug/learngit | 7a5eb2da68f6d9bd81c6b4b0178ca72413c7e4b3 | b9f78cc741a9872aec9953db18aa09367af48982 | refs/heads/master | 2021-01-02T22:52:39.857138 | 2018-05-04T03:59:20 | 2018-05-04T03:59:20 | 99,409,724 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 345 | h | #pragma once
#include "Bin.h"
#include "Brick.h"
class CTBrick : public CBrick {
public:
int shiftLeft(CBin* bin);
int shiftRight(CBin* bin);
int shiftDown(CBin* bin);
int rotateClockwise(CBin* bin);
int checkCollision(CBin* bin);
void operator>>(unsigned char** binImage);
void putAtTop(unsigned int newOrient, ... | [
"2235422344@qq.com"
] | 2235422344@qq.com |
e9cd1e284f5906b9205716fad53e3c0fa4ed662e | c322776b39fd9a7cd993f483a5384b700b0c520e | /soloud.mod/soloud/ext/libopenmpt/common/mptString.cpp | e07e6e6b61d0e4ab3c402844b771fc5a9b7ac811 | [
"Zlib",
"WTFPL",
"LicenseRef-scancode-public-domain",
"Unlicense",
"BSD-3-Clause"
] | permissive | maxmods/bah.mod | c1af2b009c9f0c41150000aeae3263952787c889 | 6b7b7cb2565820c287eaff049071dba8588b70f7 | refs/heads/master | 2023-04-13T10:12:43.196598 | 2023-04-04T20:54:11 | 2023-04-04T20:54:11 | 14,444,179 | 28 | 26 | null | 2021-11-01T06:50:06 | 2013-11-16T08:29:27 | C++ | UTF-8 | C++ | false | false | 53,046 | cpp | /*
* mptString.cpp
* -------------
* Purpose: Small string-related utilities, number and message formatting.
* Notes : Currently none.
* Authors: OpenMPT Devs
* The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
*/
#include "stdafx.h"
#include "mptString.h"
#if defined(M... | [
"woollybah@gmail.com"
] | woollybah@gmail.com |
9252a1612ab26d41713090f7f739e8af89bed0ce | ffa40e15ee8285423092163fb3e447c21d248b8e | /src/50.cpp | 3cdc4ca6eeee95209912b13ea64079a068a006f7 | [] | no_license | jxyy/leetcode | e97f9f43cb595c918bba813ddadf76e9e92960ea | 37cdcc98a795a98e0cb41abeb1adc42888cc6371 | refs/heads/master | 2021-01-19T21:28:41.457100 | 2019-08-03T09:56:30 | 2019-08-03T09:56:30 | 40,013,083 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 680 | cpp | #include<iostream>
#include<vector>
using namespace std;
class Solution {
public:
double myPow(double x, int n) {
if(n == INT_MIN){
return 1 / myPow(x, INT_MAX) / x;
}
if(n < 0){
return 1 / myPow(x, -n);
}
if(n == 0){
return 1;
}
... | [
"xia.jing@wanweifund.com"
] | xia.jing@wanweifund.com |
202958bac71dfca86e516b8539298f109f7d3f91 | 524299063b2532e3f094551062b6e18fd92c111c | /linkedList.h | 3b01f0799fc0bc1684a0da8c49e2bf11105e3c47 | [] | no_license | hmckelvie/Grep-Search | cd5b5e2db1a5a9d38453676f76eab8a3047616d4 | 8bc5699a5a19b1f4afde014a6c9653ea4fe842fd | refs/heads/master | 2022-11-14T03:36:44.187108 | 2020-07-13T16:02:20 | 2020-07-13T16:02:20 | 279,330,212 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,453 | h | /*
Hailey McKelvie
Comp15 proj2
linkedList.h
12/3/19
The LinkedList class handles the chaining for collisions in
The HashTable. Each node of the LinkedList contains a "List"
of all instances of a case insensitive "string."
*/
#include <iostream>
#include <vector>
#include <fstream>
#include "List.h"
#include "Path... | [
"hmckel01@dell27.eecs.tufts.edu"
] | hmckel01@dell27.eecs.tufts.edu |
9a139b659e15268db8a66ceed3c4be8bc760fb7a | cc2ff70c799eb5748bb32ca3d6a275c4153ccc60 | /src/nnr/ManagerFactory.h | 30d0dd145ae3c90cf8d902b21f60f11f8a9206f4 | [] | no_license | charme000/nnr | 6d78c797b8b91750b595490780c0ba1a8c302c43 | 66af9a6634a446b446bbdd806954e5fe383936ee | refs/heads/master | 2021-01-22T04:57:06.077576 | 2013-06-24T05:39:58 | 2013-06-24T05:39:58 | 10,899,369 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 969 | h | #ifndef MANAGERFACTORY_H
#define MANAGERFACTORY_H
#include "Common.h"
#include "Manager.h"
#include "TcpManager.h"
#include "PipeManager.h"
#include "Bus.h"
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
class Bus;
class Manager;
/*! \class ManagerFactory
\brief 管理器工厂类
\version 1.0
\date 2012.12.1-2012.1.30
*/
... | [
"909152171@qq.com"
] | 909152171@qq.com |
d1c22730fc6355263f3d1a22a5abd8ada4ef9117 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14453/function14453_schedule_28/function14453_schedule_28.cpp | bc0c760fcee19c9efb83857d6144df54e2c2981a | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,057 | cpp | #include <tiramisu/tiramisu.h>
using namespace tiramisu;
int main(int argc, char **argv){
tiramisu::init("function14453_schedule_28");
constant c0("c0", 64), c1("c1", 128), c2("c2", 64), c3("c3", 64);
var i0("i0", 0, c0), i1("i1", 0, c1), i2("i2", 0, c2), i3("i3", 0, c3), i01("i01"), i02("i02"), i03("i0... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
854218b3b6ac75091ec521c472d1f32f422901da | 2476e036866ebf861e834eb0ddb2a8cd49104285 | /competition/wap201510_B/wap201510_B/main.cpp | b40063df4422ec31665601334c62824fd0bab42c | [] | no_license | xchmwang/algorithm | 7deaedecb58e3925cc23239020553ffed8cc3f04 | 55345160b6d8ef02bc89e01247b4dbd1bc094d5e | refs/heads/master | 2021-09-17T23:54:40.785962 | 2018-07-07T06:40:27 | 2018-07-07T06:40:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,849 | cpp | #include <cstdio>
#include <set>
#include <cstring>
using namespace std;
const int maxn = 1e5 + 10;
const int INF = 0x3f3f3f3f;
int n, m;
multiset<int> near[maxn];
int stamp;
int cluster[maxn], father[maxn], kid[maxn];
int top[maxn], idx[maxn], pos[maxn];
int festiveNum;
bool isFestive[maxn];
inline int min(int x, i... | [
"ChenminWang.Dk@gmail.com"
] | ChenminWang.Dk@gmail.com |
f0e804f4298a76d99886911d4eda62101308073c | c5dbf850e49a5cfe1d9ca6ad7f91781d928d0747 | /EASTL/benchmark/source/EASTLBenchmark.h | b9feb944bc0901696506100bfd10f3f6c4bfc7ce | [
"MIT",
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | nsgomez/sc4fix | f0c92711bafc1eb2109d80355c240ef4452f5185 | 1f6ee00eee8a34a3ab092f4bca6745031f571a54 | refs/heads/master | 2022-06-04T23:54:04.979600 | 2022-05-21T01:49:01 | 2022-05-21T01:49:01 | 48,570,607 | 29 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,972 | h | /////////////////////////////////////////////////////////////////////////////
// Copyright (c) Electronic Arts Inc. All rights reserved.
/////////////////////////////////////////////////////////////////////////////
#ifndef EASTLBENCHMARK_H
#define EASTLBENCHMARK_H
// Intrinsic control
//
// Our benchmark results ar... | [
"nelson.gomez.msd@gmail.com"
] | nelson.gomez.msd@gmail.com |
5326ffb8b4c8d70d83d73ddea4530985d2dcdced | 3e4f9c2856564e2314cb71d07909891d1b740e6a | /src/ExtLib/MediaInfo/MediaInfo/Multiple/File_Wm_Elements.cpp | 658f611f2099a864e162ebc709e422db0dc6a672 | [
"Zlib",
"curl",
"NCSA",
"BSD-2-Clause",
"MIT"
] | permissive | chinajeffery/MPC-BE--1.2.3 | 62dd1adbb2c0ef3deed85c6c8ad7de03764e7144 | 2229fde5535f565ba4a496a7f73267bd2c1ad338 | refs/heads/master | 2021-01-10T13:36:59.981218 | 2016-03-16T07:46:05 | 2016-03-16T07:46:05 | 53,302,468 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 81,846 | cpp | /* Copyright (c) MediaArea.net SARL. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license that can
* be found in the License.html file in the root of the source tree.
*/
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//
// Elements part
//
//++++++++... | [
"china_jeffery@163.com"
] | china_jeffery@163.com |
91d12f0b317227b67a6bf14db79017662f49bdca | fae551eb54ab3a907ba13cf38aba1db288708d92 | /chrome/browser/ui/autofill/payments/virtual_card_manual_fallback_bubble_controller.h | 6f201b2417aa70c8a373a6295cc846879d8ebee2 | [
"BSD-3-Clause"
] | permissive | xtblock/chromium | d4506722fc6e4c9bc04b54921a4382165d875f9a | 5fe0705b86e692c65684cdb067d9b452cc5f063f | refs/heads/main | 2023-04-26T18:34:42.207215 | 2021-05-27T04:45:24 | 2021-05-27T04:45:24 | 371,258,442 | 2 | 1 | BSD-3-Clause | 2021-05-27T05:36:28 | 2021-05-27T05:36:28 | null | UTF-8 | C++ | false | false | 3,141 | h | // Copyright 2021 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_UI_AUTOFILL_PAYMENTS_VIRTUAL_CARD_MANUAL_FALLBACK_BUBBLE_CONTROLLER_H_
#define CHROME_BROWSER_UI_AUTOFILL_PAYMENTS_VIRTUAL_CARD_MAN... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
944563f150bd6a4efdc5f81890b972d1a26c1109 | 7ee32ddb0cdfdf1993aa4967e1045790690d7089 | /ACM-ICPC/NWERC 2012/NWERC12ProblemD.cpp | 5809e66453f711f998ca09cf98c568fa58bd6a3f | [] | no_license | ajimenezh/Programing-Contests | b9b91c31814875fd5544d63d7365b3fc20abd354 | ad47d1f38b780de46997f16fbaa3338c9aca0e1a | refs/heads/master | 2020-12-24T14:56:14.154367 | 2017-10-16T21:05:01 | 2017-10-16T21:05:01 | 11,746,917 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,488 | cpp | #include <iostream>
#include <sstream>
#include <vector>
#include <string>
#include <algorithm>
#include <utility>
#include <set>
#include <map>
#include <deque>
#include <queue>
#include <cmath>
#include <cstdlib>
#include <ctime>
#include <cstdio>
#include <stdio.h>
using namespace std;
#define fo(i,n) for(int i=0;... | [
"alejandrojh90@gmail.com"
] | alejandrojh90@gmail.com |
626948553fb9e9e491fc0fcdd89ce4ec6011112a | 0a1eb091a59dd8eabfa972920095c357f4137bc8 | /atcoder/typical90/013/Main.cpp | eafd999e29ef8ba1a264bcdd86c4cb518ba6badc | [] | no_license | y-kamiya/contest | ec033a0b4340b1c8aed074a3a04f7007279b91ae | 2af56ac79231a4d7bad3637771d1a985b6162b2e | refs/heads/master | 2023-03-13T03:18:13.294463 | 2023-02-19T07:24:08 | 2023-02-19T07:24:08 | 17,743,711 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,454 | cpp | #include <bits/stdc++.h>
#include <queue>
using namespace std;
using ll = long long;
#define REP(i,n) for(int i=0, i##_len=(n); i<i##_len; ++i)
#define REPR(i,n) for(int i=n;i>=0;i--)
#define FOR(i,a,b) for(int i=(a);i<(b);++i)
#define FORR(i,a,b) for(int i=(a);i>=(b);--i)
#define ALL(x) (x).begin(),(x).end()
#define... | [
"y.kamiya0@gmail.com"
] | y.kamiya0@gmail.com |
d2715ee9512781c88d495473b5472365fb88cb35 | 16ecbc714de16d5e8b11d4fa44bdf976cd5984fd | /tensorflow/compiler/jit/xla_platform_info.h | fdd0681898cd5ba27433acb2c3f3bf2d50278491 | [
"Apache-2.0"
] | permissive | adk9/tensorflow | 9f73a8352981683ba34f7834e11641cc6d9c534d | 29cde405e05632d1b0e5a65940d80afbe3b12ca4 | refs/heads/master | 2022-12-05T19:50:36.859514 | 2020-08-28T17:25:15 | 2020-08-28T17:31:11 | 276,285,904 | 0 | 0 | Apache-2.0 | 2020-09-04T17:03:19 | 2020-07-01T05:33:55 | C++ | UTF-8 | C++ | false | false | 4,394 | h | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
c4d5b9646154e10e49d7ee90c2d44d4150d26794 | 4a8fca797b8b5edb3c11ae334bcb106af2dbf90b | /CS260/lab6/table.cpp | d4a622041aa08103960b1e69b8d50f7b6c253876 | [] | no_license | AaronRito/OSU-and-PCC-Coursework | b1e95022617ed9810af450a07564b0c4ac37e95e | ced4d282ee50cfe1f16382bf5ab34f8724a5786b | refs/heads/master | 2021-09-26T17:55:36.693259 | 2018-11-01T03:55:42 | 2018-11-01T03:55:42 | 155,659,595 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 589 | cpp | #include "table.h"
int size(node *root)
{
if(root == NULL)
return 0;
else
return (size(root->left) + size(root->right) + 1);
}
int sumR(node * root)
{
if (root == NULL)
return 0;
return (root->data + sumR(root->left) + sumR(root->right));
}
int height(node * root)
{
if (root == NULL)
re... | [
"aaronrito@gmail.com"
] | aaronrito@gmail.com |
109a7aa793d2d39d39f35f1068a83d33b6412865 | 06945dd959ddf9d4865bb96c088ce0a630edf38e | /Lista auxiliar/Peça.cpp | d2d2b81928ff298059e2012f7d2bb891b35b3a63 | [] | no_license | GabrielSchenato/algoritmos | 0acc240f1d66237b5b096b3c4f3fd661e0cef47e | 750531e459239faaeee8298616370458939d94b9 | refs/heads/master | 2020-12-06T11:02:26.597398 | 2020-01-08T00:57:21 | 2020-01-08T00:57:21 | 232,447,205 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 520 | cpp | #include <iostream>
using namespace std;
main ()
{
string nome;
float preco, qtde, valor_total;
cout << "\nOla, seja bem vindo";
while (1){
cout << "\n\nPor favor, digite o nome da pessoa: ";
cin >> nome;
cout << "\nPor favor, digite o preco da peca: ";
cin >> preco;
cout << "\nPor favor, digite a ... | [
"gabrielschenato152@hotmail.com"
] | gabrielschenato152@hotmail.com |
3786dd2b6e194a29f2ba3e6a5138c5f614b9c470 | 7a3a99e2c023358112c7f280c91fc0d227ec5f6b | /projects/2BD Engine 3.0/src/NotImportant.h | 8c534b8e89278cbf7deeb2b22a279c105817aa00 | [] | no_license | Eric-Aivaliotis/Phobrynth | 508bbc1ba6a3ed7b1c459b16a242681899ea6fde | e73a1e490d33e49c29aaeceea20a46a00f447c79 | refs/heads/master | 2020-12-19T08:47:45.430385 | 2020-01-22T01:08:56 | 2020-01-22T01:08:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,715 | h | #pragma once
/*
auto& ecs = GetRegistry("Test");
entt::entity e1 = ecs.create();
MeshRenderer& m1 = ecs.assign<MeshRenderer>(e1);
ecs.assign<TempTransform>(e1).Scale = glm::vec3(1.0f);
m1.Material = testMat;
m1.Mesh = myMesh;
//Spider
entt::entity e2 = ecs.create();
MeshRenderer& m2 ... | [
"chrisgrigorsalas@gmailcome"
] | chrisgrigorsalas@gmailcome |
958f82dc32366b361182ed909744e29dd750c70e | 9b48da12e8d70fb3d633b988b9c7d63a954434bf | /ECC8.1/Server/kennel/monitor/unix/aimparser/aimparser.cpp | 9a39af7a4e2c859af79f692ebd22536a369334b1 | [] | no_license | SiteView/ECC8.1.3 | 446e222e33f37f0bb6b67a9799e1353db6308095 | 7d7d8c7e7d7e7e03fa14f9f0e3ce5e04aacdb033 | refs/heads/master | 2021-01-01T18:07:05.104362 | 2012-08-30T08:58:28 | 2012-08-30T08:58:28 | 4,735,167 | 1 | 3 | null | null | null | null | GB18030 | C++ | false | false | 133,080 | cpp | // AimParser.cpp : Defines the initialization routines for the DLL.
//
#include "stdafx.h"
#include "AimParser.h"
//#include "../Global/global.h"
#include "base/funcgeneral.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
//在卓望版本打开,标准6.2关闭
//#def... | [
"136122085@163.com"
] | 136122085@163.com |
6c64130bf883d35ffb1b0907593b2859f40f830a | 08699fd7b96d48de7c3f70ce83dc2ea59ec20af7 | /atcoder/algorithim/a.cpp | 02938c4cf5e5dd57a043fafe6279e304a382189a | [] | no_license | KazutoYunoki/programing-contest | 0b89f92145a3e9ef09f6522cabe200259960a981 | b8123f8902a157678bd8fe860f0b1da9f2b1883d | refs/heads/master | 2022-11-05T01:25:35.900951 | 2020-06-22T10:01:57 | 2020-06-22T10:01:57 | 267,318,061 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 427 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
string s, t;
cin >> s >> t;
if (s == t)
{
cout << "same" << endl;
return 0;
}
transform(s.begin(), s.end(), s.begin(), ::toupper);
transform(t.begin(), t.end(), t.begin(), ::toupper);
if (s == t)
{
... | [
"kazuto233@gmail.com"
] | kazuto233@gmail.com |
8325614619c25e37cecaddf9bc513c852f46edd3 | 16ec69fdf8d34ebd0167fc35cc632d44fc20ba28 | /C++/STL/STL/stdafx.cpp | 2e547fda6f645fea7958bc56646b27563ad7e579 | [] | no_license | elixir67/Sandbox | 63dac0a914ca5c336538e7d4be044a722d435a1a | 9d55f5f179ed607dc81151023e62388b048068ab | refs/heads/master | 2020-04-06T12:13:53.649701 | 2016-09-27T05:33:33 | 2016-09-27T05:33:33 | 4,214,156 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 282 | cpp | // stdafx.cpp : source file that includes just the standard includes
// STL.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"lind@SHACNG028WC4Y.ads.autodesk.com"
] | lind@SHACNG028WC4Y.ads.autodesk.com |
e3cfbe62d8a5e31cde5f64efc2536b1c1c5cc1dd | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /tcr/src/v20190924/model/DescribeImagePersonalRequest.cpp | 38cc3100d5d23dee4704aad44208a176eeb61664 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 3,675 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"tencentcloudapi@tenent.com"
] | tencentcloudapi@tenent.com |
ad633ea9380a9f3328934d6556eb214db642991d | aedec0779dca9bf78daeeb7b30b0fe02dee139dc | /Modules/PointSet/src/CloseCellData.cc | 1cdc950fd8f124a51b2fc5f047ba64eb7e2f0b6f | [
"LicenseRef-scancode-proprietary-license",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | BioMedIA/MIRTK | ca92f52b60f7db98c16940cd427a898a461f856c | 973ce2fe3f9508dec68892dbf97cca39067aa3d6 | refs/heads/master | 2022-08-08T01:05:11.841458 | 2022-07-28T00:03:25 | 2022-07-28T10:18:00 | 48,962,880 | 171 | 78 | Apache-2.0 | 2022-07-28T10:18:01 | 2016-01-03T22:25:55 | C++ | UTF-8 | C++ | false | false | 2,731 | cc | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2016 Imperial College London
* Copyright 2016 Andreas Schuh
*
* 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
*
* htt... | [
"andreas.schuh.84@gmail.com"
] | andreas.schuh.84@gmail.com |
51ee9fee20066e1476c6ae8f589d048df684db0f | 45c70e9a492f929208d4bbb9d9efcb6992b38f2f | /Illuminatrix-Arduino/ino/.build/diecimila/src/sketch.cpp | 393b4b28fab27273603014e334060291f01af01e | [] | no_license | docdawning/Illuminatrix | bc39e4ae1956578c131e15af52575f7aa2a5c1ee | 7a057d6bae7c5116499d35232b82e4a7e7d95db3 | refs/heads/master | 2021-01-24T03:48:39.497324 | 2016-12-19T08:38:05 | 2016-12-19T08:38:05 | 48,871,111 | 18 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 9,065 | cpp | #include <Arduino.h>
#include "LED.cpp"
#include "Color.cpp"
void refreshLEDs();
void setup();
void resetColorParameters();
void printLEDs();
void setLEDs(boolean state);
char* findSpaceDelimitedSubstring(String input, int numberOfLeadingSpaces);
void setLED(String input);
void setColor(Color color);
void cycleOn();
vo... | [
"doc@dawning.ca"
] | doc@dawning.ca |
4ce1ad61f28d8da273177fe6b344401cd827da7c | 9ed6a9e2331999ee4cda5afca9965562dc813b1b | /libsrcs/angelscript/angelSVN/sdk/tests/test_performance/source/test_fib.cpp | 56c88aa47cc89d7a1725e70bbe00a0df810b4c46 | [] | no_license | kalhartt/racesow | 20152e59c4dab85252b26b15960ffb75c2cc810a | 7616bb7d98d2ef0933231c811f0ca81b5a130e8a | refs/heads/master | 2021-01-16T22:28:27.663990 | 2013-12-20T13:23:30 | 2013-12-20T13:23:30 | 16,124,051 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,849 | cpp | //
// Test author: Andreas Jonsson
//
#include "utils.h"
namespace TestFib
{
#define TESTNAME "TestFib"
static const char *script =
"int fibR(int n) \n"
"{ \n"
" if (n < 2) return n; \n"
" return (fibR(n-2) + fibR(n-1)); \n"
... | [
"karl.glatzer@gmx.de"
] | karl.glatzer@gmx.de |
9ac9288f6da22d1fb50c468d6258799ffa2f91a2 | 09930eb8ac588565bb6e784ddff344f351f2e89f | /hw/hw4/t1.cpp | 48c49ab3505e2e294f2f5a5b4e952db30dbc5fb6 | [] | no_license | gbhb/alg | a2adde5f477aa2ab9ac6c5671c28f896a06e389e | 96723854ab99f8adf8be4282663b09ae4ac54e77 | refs/heads/master | 2023-05-06T11:00:05.170966 | 2021-06-02T04:19:38 | 2021-06-02T04:19:38 | 373,037,372 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,948 | cpp | #include <deque>
#include <iostream>
#include <sstream>
#include <string>
#define MAX 10001
using namespace std;
typedef struct node
{
int value;
struct node *left;
struct node *right;
node() { value = -1, left = NULL, right = NULL; } //預設tree node的值
} binaryNode;
binaryNode *root;
deque<binaryNode *> q... | [
"5221abcd@gmail.com"
] | 5221abcd@gmail.com |
8067676a6f573a11d1698996890dcc7e249f9160 | fd3255bcbd1c0dc05e7bc62ef9be5de40e915cac | /Classes/myListView.h | 17b909d419b0bec53ac5a6096e2cf80e64d11254 | [] | no_license | JakubDziworski/BumpRace | e3a11540274d2aff8305d455fc34a26df32a3e11 | 7b57f81f4c620f39a90c0e5405a4d4ae27e93663 | refs/heads/master | 2021-01-19T00:57:34.059042 | 2016-07-31T18:27:20 | 2016-07-31T18:27:20 | 21,311,448 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 360 | h |
#ifndef _MYSCROLL_H__
#define _MYSCROLL_H__
#include "ui/UILayout.h"
#include "ui/UIPageView.h"
#include "cocos2d.h"
class PageViewController : public cocos2d::ui::Layout
{
private:
cocos2d::ui::PageView *pageview;
public:
virtual bool init();
void setControlledpageView(cocos2d::ui::PageView*);
CREATE... | [
"kuba@MacBook-Pro-kuba.local"
] | kuba@MacBook-Pro-kuba.local |
1607d284a548f5a53a47e5ae29155d5450ccc3f6 | f4fa14818f3d8b722e82e8562acf6b2740847633 | /3rdparty/dcmtk-3.5.4/include/dcmtk/dcmsign/sicreapr.h | 2ef9e4c2fba2c07844088a65592187a790073e55 | [
"BSD-3-Clause",
"LicenseRef-scancode-warranty-disclaimer",
"BSD-4.3TAHOE",
"JasPer-2.0",
"xlock",
"IJG",
"OFFIS",
"LicenseRef-scancode-other-permissive"
] | permissive | bxgaillard/dicomsel | fafb5a87d56cf51e1abbf8bf9b5c7c768d85816d | 711adabecc0fa4cebae6cb12ff27a3a9ef554c36 | refs/heads/master | 2020-03-14T17:58:43.740137 | 2006-11-17T08:51:21 | 2018-05-01T15:49:25 | 131,732,345 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,217 | h | /*
*
* Copyright (C) 1998-2005, OFFIS
*
* This software and supporting documentation were developed by
*
* Kuratorium OFFIS e.V.
* Healthcare Information and Communication Systems
* Escherweg 2
* D-26121 Oldenburg, Germany
*
* THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND OFFIS MAKES NO WARRA... | [
"git@benjamin.gaillard.name"
] | git@benjamin.gaillard.name |
8cabf9d33d77739e9858f73b00c596cecc672fce | 3965dbe726debbd1347ae5bf284fdcab899a1f43 | /lab 11 (baru)/q3.cpp | b9649f8a27ca9790fa16e540ce15e4fc515f0451 | [] | no_license | chamad14/Muchamad-Rizki-Fadillah_FOP2020 | 68c9b1135805af12baf1aa919df5ca178d279ff4 | 8ba6fa47c6e6ccea94d0786d836bf5ef98417715 | refs/heads/master | 2023-02-10T11:00:17.618604 | 2020-12-31T04:01:54 | 2020-12-31T04:01:54 | 294,573,818 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,549 | cpp | #include <iostream>
#include <fstream>
#include <cstdlib>
#include <bits/stdc++.h>
using namespace std;
int main(){
ifstream input;
input.open("lab11_grade.txt");
const int SizeArray = 40;
string students_name[SizeArray];
double students_grade[SizeArray];
int i = 0;
double average_grade = 0;
string... | [
"replituser@example.com"
] | replituser@example.com |
1604ce14b7ed172e62251e5b6e23d990c8fb1414 | 8812cddcaa19671817e2b9cc179d3f41f6c620b2 | /MaxExporter/trunk/MaxInterface.cpp | 10069f11e7abb9482e4d4e3cc5aaec20ccc6b005 | [] | no_license | Hengle/airengine | 7e6956a8a649ef0ca07fcf892c55ae2451ce993c | 2f5fbfbfe83eb3f2d1d44af4401b3a48ae75cb24 | refs/heads/master | 2023-03-17T00:17:33.284538 | 2020-02-04T03:25:48 | 2020-02-04T03:25:48 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,802 | cpp | #include "MaxInterface.h"
#include "MaxNode.h"
#include "decomp.h"
DWORD WINAPI ProgressFunction(LPVOID arg)
{
return 0;
}
CMaxInterface::CMaxInterface() : m_pExpInterface(NULL), m_pInterface(NULL)
{
}
CMaxInterface::~CMaxInterface()
{
}
bool CMaxInterface::Create(ExpInterface *pExpInterface, Interface *pInt... | [
"air_liang1212@163.com"
] | air_liang1212@163.com |
2d4c6ff3000fa1c5703af15b2d065623cc137a54 | 5bc1574077bcc42ff95799ac56aefe94e9c22970 | /517-7 C.cpp | c098c23a97d585c7f0c115afc5e81d4052e283a1 | [
"MIT"
] | permissive | AndrewWayne/OI_Learning | 2d641e8b5e4752c02549b67e201f0987f8ddce46 | 0fe8580066704c8d120a131f6186fd7985924dd4 | refs/heads/master | 2020-03-26T21:15:44.059884 | 2020-02-26T08:00:53 | 2020-02-26T08:00:53 | 145,377,729 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,384 | cpp | /*
* Author: xiaohei_AWM
* Date:
* Motto: Face to the weakness, expect for the strength.
*/
#include<cstdio>
#include<cstring>
#include<algorithm>
#include<iostream>
#include<cstdlib>
#include<ctime>
#include<utility>
#include<functional>
#include<cmath>
#include<vector>
#include<assert.h>
using namespace std;
#defi... | [
"AndrewWayne2016@gmail.com"
] | AndrewWayne2016@gmail.com |
64471acb3a672d537bc00650e8d4d6fb2629cc9f | d9f78cc6722c2c6d1af2af9e2aff0d9a78f5e7f3 | /Cookie/PhysicsTask.h | a8bd7dcd87b050488b4cdc887c80ff112503c088 | [] | no_license | MaximeWYZUJ/2019-CppNoEngine-SuperRacingGalaxy | 74d0cd2b46f69b6c58c9ef52ab6bbfc23df592c6 | c26fa7806bc54593ce74382743068dc3cc1dd847 | refs/heads/master | 2020-12-06T11:27:15.450156 | 2019-12-21T14:58:12 | 2019-12-21T14:58:12 | 232,447,666 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 294 | h | #pragma once
#include "PhysicCollisionCallback.h"
#include "PhysicsComponent.h"
namespace Cookie {
struct PhysicsTask
{
PhysicsComponent* taskOrigin;
PhysicsComponent* taskDestination;
PhysicsCollisionCallback* f;
void job() const {
(*f)(taskOrigin, taskDestination);
}
};
} | [
"36268562+Gloubii@users.noreply.github.com"
] | 36268562+Gloubii@users.noreply.github.com |
039087253cbcb8fd9511c91df78d41cfdf55dec3 | 7a3d678ddc527aa6f56adb6bce0b3d93aa53995f | /iree/tools/debugger/debug_prompt.cc | e257d6cd224f9a0c036bf4ecf434b7f65ed26d4d | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | aniket-daphale/iree | 428d2be0abf3b7cf30a9eb7cc9910d3171fb9757 | 6fdbbf8656a20a5ce00c465bef99c01c16e33409 | refs/heads/master | 2020-08-06T06:12:36.813816 | 2019-10-04T17:17:12 | 2019-10-04T17:17:12 | 212,866,703 | 1 | 0 | Apache-2.0 | 2019-10-04T17:16:36 | 2019-10-04T17:16:36 | null | UTF-8 | C++ | false | false | 2,506 | cc | // Copyright 2019 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... | [
"ben.vanik@gmail.com"
] | ben.vanik@gmail.com |
9f56336d40ecc66e8633a70fd2af180c588cddad | bffe9f6f5f9cd5ec6035cea617c1a236bd4b99e7 | /datastructures/stackUsingLinkedList/stackUsingLinkedList.cpp | 3fe8d98dc048ebd9270493c756c17ee1d0fe814c | [] | no_license | NagarajuPeduri/NCR-INTERN | 0d1ee3edf4343ece378041343915e900f3c42931 | eb5f4e7189aff5218595e47704f62051fbbbb709 | refs/heads/master | 2021-01-09T00:02:59.757180 | 2020-03-19T07:59:03 | 2020-03-19T07:59:03 | 242,111,640 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,845 | cpp | //pnr7
// stackUsingLinkedList.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include <iostream>
using namespace std;
class Node {
public:
int data;
Node* next;
};
Node* createNode(int x) {
Node* n = new Node;
n->data = x;
n->next = NULL;
return n;
... | [
"pedurinagaraju7@gmail.com"
] | pedurinagaraju7@gmail.com |
87916c7ac7fba75ee75f1db09e4d148658da85e0 | cadb836d9ac9c9e3b618cf44c936015a0aea24a8 | /ge1200/LT1233_Remove_Sub-Folders_from_the_Filesystem.cpp | bff1198001dbfaf3cbe82b61ac973c46a935aca3 | [] | no_license | checkoutb/LeetCodeCCpp | c6341a9fa5583a69046555a892bb41052624e83c | 38832f7ccadf26b781cd8c9783c50916d1380554 | refs/heads/master | 2023-09-03T22:35:50.266523 | 2023-09-03T06:31:51 | 2023-09-03T06:31:51 | 182,722,336 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,464 | cpp |
#include "../header/myheader.h"
class LT1233
{
public:
// D D
// 直接sort folder。。。可以的。字典顺序,保证了 父文件夹一定在 它的子文件夹之前。。
// for(string &s:folder)
// if(res.empty()
// ||s.rfind(res.back(), 0) != 0
// ||s[res.back().length()]!='/')
// res.push_back(s);
// 而且 父文... | [
"f12.628@hotmail.com"
] | f12.628@hotmail.com |
132283c5ff94c63ba0bb2efb2d0def2e3b425297 | 711e5c8b643dd2a93fbcbada982d7ad489fb0169 | /XPSP1/NT/termsrv/setup/nttype/nttype.cpp | ab8eec45dbdfe7e3d058117cadc3e5d8bd0aea0c | [] | 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 | 2,752 | cpp | // Copyright (c) 1998 - 1999 Microsoft Corporation
#include <windows.h>
#include <iostream.h>
#include <fstream.h>
#include <strstrea.h>
int
#if !defined(_MIPS_) && !defined(_ALPHA_) && !defined(_PPC_)
_cdecl
#endif
main( int /* argc */, char ** /* argv */)
{
OSVERSIONINFOEX osVersion;
... | [
"112426112@qq.com"
] | 112426112@qq.com |
ed5eeec0fa3be42eff33f7c35eecf4f86fc90eb9 | 567d8343721671734aebaaf7e401b746e27a6a35 | /math/Basis.h | ed04b33f03ac09e61b83f6d31542dabe37c3e0d2 | [] | no_license | Jon0/opengl-project | ef3a0c0a4ff1b9141fe854375f2b88034728be62 | fda6b235791d5ef7af9437819fa5c07351c32795 | refs/heads/master | 2021-01-19T07:55:10.867134 | 2013-10-24T16:04:41 | 2013-10-24T16:04:41 | 12,919,805 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 481 | h | /*
* Basis.h
*
* Created on: 22/09/2013
* Author: remnanjona
*/
#ifndef BASIS_H_
#define BASIS_H_
#include "Vec3D.h"
namespace std {
class GVertex;
class Basis {
public:
Vec3D v[3];
Basis();
Basis(Vec3D a, Vec3D b, Vec3D c);
virtual ~Basis();
void normalise();
void print();
Basis &operator=(con... | [
"jono4728@gmail.com"
] | jono4728@gmail.com |
00c0ac2c9b2ee6257a1a00a9496ed38b7f78bd62 | e695d0ddeffa22aed711e72aacdbd88a950a5abb | /图/图论500/最小生成树并查集/hdoj1232并查集图再加多少边联通.cpp | 01b2c5871cac2fb65b97585ef1516336a44b5e68 | [] | no_license | nNbSzxx/ACM | febe12eae960950bb4f03d0e14e72d54e66b4eee | e3994e292f2848b3fbe190b6273fdc30d69e887b | refs/heads/master | 2020-03-23T22:08:11.582054 | 2019-02-07T12:45:27 | 2019-02-07T12:45:27 | 142,155,512 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 630 | cpp | #include <iostream>
#include <cstring>
#include <algorithm>
#include <cstdio>
using namespace std;
const int MAX = 1005;
int n,m,cnt;
int father[MAX];
int find(int x)
{
while (x != father[x]) {
father[x] = father[father[x]];
x = father[x];
}
return x;
}
void unite(int a, int b)
{
a = find(a);
b = find(b);
if ... | [
"hpzhuxiaoxie@163.com"
] | hpzhuxiaoxie@163.com |
e587a44a9f9844b6a637ff53a734d41844233983 | 0585b7592670a84fc9627b5c0f40a98c1b68b0b5 | /9 MOSSE/MosseFilters-C++/src/FeatureRX.h | 79cc4db1cb420724bc61912c4cbdf84683766695 | [] | no_license | loric0612/bisheing1 | 10a198868e603df9ed5b433cc4ec8e8b57520cd1 | 037f9fd444f176eb9abd8c6ad90d04a4377c3bff | refs/heads/master | 2020-09-27T08:44:51.996268 | 2017-10-19T14:08:31 | 2017-10-19T14:08:31 | 226,477,376 | 1 | 0 | null | 2019-12-07T08:08:27 | 2019-12-07T08:08:27 | null | UTF-8 | C++ | false | false | 592 | h | #ifndef __FEATURERX_H
#define __FEATURERX_H
// FeatureRX.h
// The right eye location feature
#include "Feature.h"
class FeatureRX : public Feature {
public:
FeatureRX() : Feature(Feature::RX) {
minVal = FLT_MAX;
maxVal = FLT_MIN;
}
virtual ~FeatureRX() {
}
// the extract method is expected to be ... | [
"wyuzyf@aliyun.com"
] | wyuzyf@aliyun.com |
041bcfc5ddcbb06c7faa0b52fea896b2aacbc3b8 | 08aceda373c0bbf54660ec459581ea552e299ae4 | /mainwindow.h | d3770722dc63058dacdd2933fb8856cdd11a4344 | [] | no_license | Alleng909/Grade-GUI | 5c63b6afdd9b59286e46ee84512663a99a214734 | 644a71cdfdb21022ebc97b8a89f41b9ec33be8db | refs/heads/master | 2021-08-28T07:15:09.604873 | 2017-12-11T15:04:41 | 2017-12-11T15:04:41 | 113,872,613 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 448 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private slots:
void on_pushButton_clicked();
void on_pushButton_2_clicked();
... | [
"alleng909@gmail.com"
] | alleng909@gmail.com |
4ec19b49d3216acbcded5a19bd86744fe2a7f8bb | 4f07dffbbc1dcf3c06c33219296eb72d99b08ab0 | /components/arc/usb/usb_host_bridge.cc | 111b9d8957c0bcf1eab3ce684ed539280d244aa8 | [
"BSD-3-Clause"
] | permissive | zeyiwu/chromium | 4815e89f8a9acd0e9e6957dc2be6e6d6f4995a52 | 2969192f368b295477a3348584160a854fd3316b | refs/heads/master | 2023-02-21T20:39:29.821478 | 2018-05-22T02:04:26 | 2018-05-22T02:04:26 | 134,348,434 | 1 | 0 | null | 2018-05-22T02:16:57 | 2018-05-22T02:16:57 | null | UTF-8 | C++ | false | false | 11,752 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/arc/usb/usb_host_bridge.h"
#include <utility>
#include "base/bind.h"
#include "base/logging.h"
#include "base/memory/singleton.h"
#... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
fab4eccedcd2682e406c2b21c3283f2324116254 | 3593129f78daf47423c04aa2bdcb52d4b4e7e331 | /src/include/AST/print.hpp | 7374ab5b2d2240b38c8d82acfa3201fd737ad9f9 | [
"MIT"
] | permissive | allen880117/NCTU-compiler-f19-hw3 | 15bc89f3e512fe3a6ad0699510bf189fb0d858be | a8ab821ae4c2c3ba70ccff19d8aced6f8ea7c008 | refs/heads/master | 2022-04-06T13:25:26.111384 | 2020-02-12T12:35:02 | 2020-02-12T12:35:02 | 235,930,243 | 8 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 461 | hpp | #pragma once
#include "AST/ast.hpp"
#include "visitor/visitor.hpp"
class PrintNode : public ASTNodeBase
{
public:
int line_number; // print
int col_number; // print
Node expression_node; // Target
public:
PrintNode(
int _line_number,
int _col_number,... | [
"wangallen880117@gmail.com"
] | wangallen880117@gmail.com |
24c419e265ff21fad2cd1ee1b497a3308c014e64 | d2260a6d52ed839ce407eb8326a7fb06ab1276e9 | /Experiment02/Banker.cpp | 4179d1920673ef597e33170cd355bd379ef91290 | [] | no_license | caihongye/OperatingSystem | 434ff593d16c8cf7068a12f0802fd5c2de8e9d8e | 5da51aa210d6558178dbcab28739e58f1ba3c534 | refs/heads/master | 2021-08-19T07:54:24.833906 | 2017-11-25T09:38:46 | 2017-11-25T09:38:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,727 | cpp | //
// Created by chy on 17-11-16.
//
#include "Banker.h"
Banker::Banker(int rn, int pn) {
resourceNum = rn;
processNum = pn;
total = new int[rn];
available = new int[rn];
available_t = new int[rn];
process = new Process *[pn];
for (int i = 0; i < pn; i++) {
process[i] = new Process... | [
"466071353@qq.com"
] | 466071353@qq.com |
84cca426bc07b79d68de1032ddb73772fddc868a | 57ca39d53d448d8645add6b7e077535f057c17cd | /src/include/mallocMC/distributionPolicies/XMallocSIMD_impl.hpp | f80db7aad584785353d274cd92a865f1e7295fef | [
"MIT"
] | permissive | BenjaminW3/mallocMC | 776f15894b53841e03cdfafee16cfc41e61212ce | ee60581d1f5011f1c34f418c337eb5fb9cbe8b28 | refs/heads/dev | 2020-12-29T00:25:04.150122 | 2015-06-03T13:17:31 | 2015-06-03T13:17:31 | 37,183,363 | 0 | 0 | null | 2015-06-10T07:54:30 | 2015-06-10T07:54:30 | null | UTF-8 | C++ | false | false | 4,802 | hpp | /*
mallocMC: Memory Allocator for Many Core Architectures.
http://www.icg.tugraz.at/project/mvp
Copyright (C) 2012 Institute for Computer Graphics and Vision,
Graz University of Technology
Copyright (C) 2014 Institute of Radiation Physics,
Helmholtz-Zentrum Dresden - R... | [
"c.eckert@hzdr.de"
] | c.eckert@hzdr.de |
8c0d7e270c6574040dcf7cea8964951ba20e50e2 | 1c8e5a1fc7f9dfee4969194c1bd77918eea73095 | /Source/AllProjects/CIDLib/CIDLib_UTFConverter.cpp | cbf81b0f8f09151e53f0d2f1a13d111823c51a19 | [] | no_license | naushad-rahman/CIDLib | bcb579a6f9517d23d25ad17a152cc99b7508330e | 577c343d33d01e0f064d76dfc0b3433d1686f488 | refs/heads/master | 2020-04-28T01:08:35.084154 | 2019-03-10T02:03:20 | 2019-03-10T02:03:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,367 | cpp | //
// FILE NAME: CIDLib_UTFConverter.cpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 02/17/1999
//
// COPYRIGHT: $_CIDLib_CopyRight_$
//
// $_CIDLib_CopyRight2_$
//
// DESCRIPTION:
//
// This file implements the TUTFConverter class, which handles converting
// the UTF-8/16 family of encodings to/from the internal UTF-1... | [
"droddey@charmedquark.com"
] | droddey@charmedquark.com |
56a5e5e407c62d644b937f5a1f9abf3eb8202ea4 | 38ab92fca23c1f3ff664af568121af0e016b946d | /Lab4/keyed_bag.cpp | aa4a8f6e05acfdcef3ac373893920433c4b6da3f | [] | no_license | Lleeshen/COEN-79 | 4a97b74ccc115768eb44a66990db28229b03cb67 | 03951326b6cfb49eaea73f209e94e8821b77723d | refs/heads/master | 2020-03-13T09:47:37.912076 | 2018-04-26T23:17:15 | 2018-04-26T23:17:15 | 131,071,498 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,507 | cpp | /*
Lyman Shen, October 21 2017
FILE: keyed_bag.cpp
CLASS implemented: keyed_bag (see keyed_bag.h for documentation)
INVARIANT for the sequence class:
1. The number of items in the keyed_bag is in the member variable used;
2. For an empty keyed bag, we do not care what is stored in any of data; for a non-empty... | [
"lshen@linux60810.dc.engr.scu.edu"
] | lshen@linux60810.dc.engr.scu.edu |
91d8b30c8dad63db062fc16fe4f1900fde42d03f | 39afb3724b3d2e7ebc0ae7959e6f19103e639128 | /Classes/models/objects/other/level9/destroying_weapons/Bullet.cpp | 0a128cf3846eb3aec403ee318f17bd903d92f811 | [] | no_license | tungnguyenvan/MyGame_ios | 36f80464fcee8d9b30126b9d3ef47fbb7ff163d6 | 04f19685fe7771c3359cb4b7e22e4e000321d077 | refs/heads/master | 2020-06-03T01:20:14.484028 | 2019-06-11T13:16:23 | 2019-06-11T13:16:23 | 191,374,758 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,741 | cpp | #include "Bullet.h"
#include "../../../../../common/Definition.h"
#include "../../../../../common/definitionlevels/DefinitionLevel9.h"
Bullet::Bullet(cocos2d::Scene* scene, const std::string& name) : DestroyingWeapon(name)
{
// The core sprite //
mCoreSprite = cocos2d::Sprite::create("sprites/gameplay/level9/destro... | [
"nguyentungtungtungnguyen@gmail.com"
] | nguyentungtungtungnguyen@gmail.com |
40cb6c1a215169bbb644f3bbcdb26a56ac78e5ab | 755f9e1bbc82a8beb0471c0cb932181a6f83dce3 | /surfaceflinger/SurfaceFlinger.cpp | 32928bf6b257d2ca9366c30b8b2211a6b10f8573 | [] | no_license | wjfsanhe/AndroidM_SF | f52d3bba070ce7c9c59c3f18749cecdcb43c5dd9 | 426e4bfa15e44fe8d96f416eb0e404ba84172d30 | refs/heads/master | 2020-06-23T12:33:10.479615 | 2017-02-17T03:18:12 | 2017-02-17T03:18:12 | 74,648,648 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 137,391 | cpp | /*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | [
"wangjianfeng@baofeng.com"
] | wangjianfeng@baofeng.com |
6165a97d0b7526c33a14c6731db557c6067e3a55 | ae99db8a12c4e22a6e844100144babc5f452a152 | /DSA/Leetcode/13.cc | 39549a31e80829bcba3b80e857cfbef4e3eafff3 | [
"MIT"
] | permissive | zhmz90/Lan | 6d7591344029b80e16c39b41cddce500bcf32418 | d7bb1b38ecb5a082276efaafdadca8d9700fbc27 | refs/heads/master | 2021-01-21T12:53:58.281744 | 2017-07-21T11:54:45 | 2017-07-21T11:54:45 | 48,616,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,384 | cc | /**
13. Roman to Integer
Given a roman numeral, convert it to an integer.
Input is guaranteed to be within the range from 1 to 3999.
*/
#include <iostream>
#include <unordered_map>
#include <stdexcept>
using namespace std;
class Solution {
public:
int romanToInt(string s) {
if (s.length()==0) return 0;... | [
"zhmz90@gmail.com"
] | zhmz90@gmail.com |
0f9c123cdc889efeb88da2d980f04f6dfc977d0a | 55d560fe6678a3edc9232ef14de8fafd7b7ece12 | /libs/test/test/test-organization-ts/datasets-test/implicit-test.cpp | b039ab02bac16d9014543ca6cf0913153fa93d6e | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | stardog-union/boost | ec3abeeef1b45389228df031bf25b470d3d123c5 | caa4a540db892caa92e5346e0094c63dea51cbfb | refs/heads/stardog/develop | 2021-06-25T02:15:10.697006 | 2020-11-17T19:50:35 | 2020-11-17T19:50:35 | 148,681,713 | 0 | 0 | BSL-1.0 | 2020-11-17T19:50:36 | 2018-09-13T18:38:54 | C++ | UTF-8 | C++ | false | false | 2,701 | cpp | // (C) Copyright Gennadiy Rozental 2011-2015.
// 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)
// See http://www.boost.org/libs/test for the library home page.
//
// File : $RCSfile$
//
// ... | [
"james.pack@stardog.com"
] | james.pack@stardog.com |
b4592c04d5b3ef007b1f2b3aa08ce6043a156128 | ca8d391aeccd96865491d117fa07bf79d0bf7569 | /bluetooth.ino | ba523deb5c171598369f3db140f78a82132f99c8 | [] | no_license | ahad14017/bluetooth-object-finder | 288f2cd300410571073f8f5275029cf1edbfd53a | 248dab642e81917c97e1c0a40d32d0a426565706 | refs/heads/main | 2023-08-23T18:53:12.207230 | 2021-09-30T10:01:55 | 2021-09-30T10:01:55 | 412,011,627 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 362 | ino | void setup()
{
pinMode(4,OUTPUT);
Serial.begin(9600);
}
void loop()
{
if(Serial.available()>0)
{
int data = Serial.read();
Serial.println(data);
switch(data)
{
case 49:
tone(4,523);
break;
case 50:
noTone(4);
break;
... | [
"imranraz92@gmail.com"
] | imranraz92@gmail.com |
015d7966f536986bd1c58c8fde1f2e9857735fe7 | 3af0a15b5bef3e77dd5e1955a7b14a8b0573c48d | /LeetCode/Sort List/main.cpp | 057691674cf2fc7cf8a150bfb2e02e010ef7b2bc | [] | no_license | tinglai/Algorithm-Practice | 7ef98585e52585d6deed92e669c3af767d3e8033 | e51831e43e00e935d19e2a8ca934eede9d1f6367 | refs/heads/master | 2021-01-25T10:29:19.107639 | 2015-06-02T13:09:04 | 2015-06-02T13:09:04 | 25,283,963 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,178 | cpp | #include <iostream>
using namespace std;
struct ListNode{
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL){}
};
class Solution{
public:
ListNode *sortList(ListNode *head){
int size = 0;
ListNode* itr = head;
while(itr){
size++;
itr = itr->next;
}
if(size <= 1) return head;
head ... | [
"laiting@umich.edu"
] | laiting@umich.edu |
992ca09f614de8e3c1fa69eebfa6f002d962d22b | ed444c4a0ed1fe679da64b81ec6aa1ddf885a185 | /Foundation/Render/3d/Shape/MultiFaceCube.cpp | fd8fdb580e0e86ad32a315eaac80c088ecc29297 | [] | no_license | swaphack/CodeLib | 54e07db129d38be0fd55504ef917bbe522338aa6 | fff8ed54afc334e1ff5e3dd34ec5cfcf6ce7bdc9 | refs/heads/master | 2022-05-16T20:31:45.123321 | 2022-05-12T03:38:45 | 2022-05-12T03:38:45 | 58,099,874 | 1 | 0 | null | 2016-05-11T09:46:07 | 2016-05-05T02:57:24 | C++ | UTF-8 | C++ | false | false | 2,552 | cpp | #include "MultiFaceCube.h"
#include "Common/Texture/Texture.h"
#include "Common/Tool/VertexTool.h"
#include "Common/DrawNode/import.h"
#include "Common/Mesh/import.h"
#include "Common/Material/import.h"
#include "Common/DrawNode/DrawTextureCache.h"
using namespace render;
MultiFaceCube::MultiFaceCube()
{
}
MultiFace... | [
"809406730@qq.com"
] | 809406730@qq.com |
25b0f0117f15549b71635d08d73011eb338b2331 | 7102140a692cd0a4584728f87176b9ac80538963 | /src/qt/eMarkgui.h | 5b3104b45a6fc24c24ef20de7612a87d64042435 | [
"MIT"
] | permissive | chris2286266/eMarkTest | 7bb98c5cf2acd0828048a106d347e37a764f810a | f6cad1addae0d8064a421ce34eae2a7a62289c38 | refs/heads/master | 2020-04-06T06:58:33.040353 | 2014-03-20T11:15:18 | 2014-03-20T11:15:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,899 | h | #ifndef EMARKGUI_H
#define EMARKGUI_H
#include <QMainWindow>
#include <QSystemTrayIcon>
class TransactionTableModel;
class ClientModel;
class WalletModel;
class TransactionView;
class OverviewPage;
class AddressBookPage;
class SendCoinsDialog;
class SignVerifyMessageDialog;
class Notificator;
class RPC... | [
"c2@localhost.localdomain"
] | c2@localhost.localdomain |
e22001fa72c31972bd27f338b1a0917e607f364c | c51064f0e88a44339d3f4ea729bad3e2df4cd336 | /cpp/tests/integration/fixtures/MockKeyStore.cpp | 0d14a946c4b39c56763b706ec9457c2982dfc8ce | [] | no_license | ssp21/ssp21-cpp | 219e0da72d5d9a8bf4a0cc4a25e22dcdb3a9ad81 | 90e111a8e369ce44276824e4abec66e6a83927e6 | refs/heads/master | 2021-07-17T03:47:50.888364 | 2020-10-09T18:14:02 | 2020-10-09T18:14:02 | 65,405,723 | 3 | 2 | null | 2021-04-26T18:58:41 | 2016-08-10T18:13:40 | C++ | UTF-8 | C++ | false | false | 763 | cpp | #include "MockKeyStore.h"
namespace ssp21 {
std::shared_ptr<const SymmetricKey> MockKeyStore::find_and_consume_key(uint64_t key_id)
{
if (this->current_key) {
if (key_id != this->current_key->id)
return nullptr;
const auto key = this->current_key->key;
this->current_key.reset(... | [
"jadamcrain@gmail.com"
] | jadamcrain@gmail.com |
9bd82174cb6ed96853a2f9210aa735a43bbf48de | d205793571b39fe254f513f4437f37c47f4db011 | /src/CubeFace.cpp | 098223986d80d605f1194ec9c7e4c3be2ef3d4f7 | [] | no_license | memanuel/kepler-sieve | ba996c4008edec3458ac0afbfa3bee95367467cd | 9f11f377d82cb941d77159fd7b97ae2300b6ca6a | refs/heads/main | 2021-11-22T19:07:13.725263 | 2021-08-08T20:44:47 | 2021-08-08T20:44:47 | 236,581,914 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,516 | cpp | /** @file CubeFace.cpp
* @brief Implmentation of CubeFace class.
*
* @author Michael S. Emanuel
* @date 2021-06-24
*/
// *****************************************************************************
// Included files
#include "CubeFace.hpp"
using ks::CubeFace;
// *****************************************... | [
"michael.s.emanuel@gmail.com"
] | michael.s.emanuel@gmail.com |
79cff3488096aea2c1e064accf2241bab01af291 | 9195c9c3b81126b2d8eb73728746cac1647fc1a2 | /send-video.cpp | 8c19c0bed78a5005aca94a817519e828cabe24ec | [] | no_license | 4ndr3w/scopevision | 88c8e4272cb36199a5109ab3d644a164a8eb9e32 | 7212c9e4c5f84f7e21fc5e503f3f47c6e5d77e17 | refs/heads/master | 2021-05-07T14:32:08.281685 | 2017-11-08T16:53:22 | 2017-11-08T16:53:22 | 109,897,506 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,088 | cpp | #include <iostream>
#include <opencv2/opencv.hpp>
#include "SerialPort.h"
#include <sys/time.h>
#include <mpv/client.h>
using namespace std;
using namespace cv;
struct ArduinoData {
char s;
char x;
char y;
};
ArduinoData* sendBuf;
int sendLen = 0;
int bufSize = 500;
void addPointToBuf(ArduinoData d) {
... | [
"andrew@lobos.me"
] | andrew@lobos.me |
69d4e822593d95d70156eaa5cc153327d566556d | 75964ad1e5c0b1e37580ab87a5653df5e894faf1 | /lib/mexopencv-2.4.11/src/+cv/getRotationMatrix2D.cpp | 75ee708c725f8359cea87a258185da64005addea | [
"BSD-3-Clause"
] | permissive | bittnt/paperdoll | c254beadc0622875832aa4d0af80b0ba6dc13469 | ebab66d4d6cfcc984c2df342104846769538fb79 | refs/heads/master | 2021-06-10T07:13:41.605486 | 2018-11-01T20:13:50 | 2018-11-01T20:13:50 | 96,577,914 | 0 | 0 | NOASSERTION | 2018-11-01T20:13:51 | 2017-07-07T21:29:20 | C | UTF-8 | C++ | false | false | 1,207 | cpp | /**
* @file getRotationMatrix2D.cpp
* @brief mex interface for getRotationMatrix2D
* @author Kota Yamaguchi
* @date 2012
*/
#include "mexopencv.hpp"
using namespace std;
using namespace cv;
/**
* Main entry called from Matlab
* @param nlhs number of left-hand-side arguments
* @param plhs pointers to mxArrays i... | [
"KotaYamaguchi1984@gmail.com"
] | KotaYamaguchi1984@gmail.com |
26299daec85caea2d941f441b45b6168d8de0ec9 | cd0dab83377c1486516fb4f2d603b42913fd18b3 | /chrome/browser/optimization_guide/optimization_guide_keyed_service.h | aed9b0332d67e44fe1d46c326c009351c60b96ff | [
"BSD-3-Clause"
] | permissive | XifeiNi/chromium | 44edfd049b3c0702fad852d9286ce48ff50f926e | c2b3ac899f45c86a4ab19152fe161974020bcc46 | refs/heads/master | 2023-01-14T13:14:38.428430 | 2019-07-30T12:13:47 | 2019-07-30T12:13:47 | 199,645,684 | 2 | 0 | null | 2019-07-30T12:17:18 | 2019-07-30T12:17:18 | null | UTF-8 | C++ | false | false | 1,817 | h | // 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 CHROME_BROWSER_OPTIMIZATION_GUIDE_OPTIMIZATION_GUIDE_KEYED_SERVICE_H_
#define CHROME_BROWSER_OPTIMIZATION_GUIDE_OPTIMIZATION_GUIDE_KEYED_SERVICE_H... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
924479fe8d950f918298c4331ca133e56fd5e059 | 43c0e6c59df4a320e19863b4e1df6e8c8ef90471 | /cyclic_sort/find_missing_numer.cpp | a9db4446b99d45d3fa27c69dfefce044f89e5436 | [] | no_license | NimaMan/coding_interview | 7130c8da04f78fdbdaa6b5d7d12271edc016e07a | 117b8a34db97385ce06d6bb161cb19c54a905059 | refs/heads/main | 2023-09-01T21:28:48.634157 | 2021-10-24T11:34:05 | 2021-10-24T11:34:05 | 398,330,852 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 781 | cpp | using namespace std;
#include <iostream>
#include <vector>
void swap(vector<int>& arr, int i, int j) {
int temp = arr[i];
arr[i] = arr[j];
arr[j] = temp;
}
int findMissingNumber(vector<int>& nums) {
int i = 0;
int numSwaps = 0;
int n = nums.size();
while (numSwaps <= n - i) {
int... | [
"ndizbin14@ku.edu.tr"
] | ndizbin14@ku.edu.tr |
8d212d03a9f7a84826a45fb94634c4bcaba3df63 | 81464366d3d2ab91a6600be8646d0856d413d8be | /Union_of_two_sorted_arrays.cpp | 768186cc113688cf6c4fcdc5e1a6f5761ee3393f | [] | no_license | SunnyJaiswal5297/Basic_c_programs | 08f289d04817f81222ceaacd7362e47fbae2935e | a2fd6168ce4ff075be6488c172200da21058dd93 | refs/heads/master | 2022-12-03T09:53:35.189234 | 2020-07-28T17:17:17 | 2020-07-28T17:17:17 | 283,201,986 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,375 | cpp | #include <bits/stdc++.h>
using namespace std;
void findUnion(int arr1[], int arr2[], int n, int m)
{
int i=0,j=0;
int arr3[n+m]={0},k=0;
while(i<n && j<m)
{
if(arr1[i]==arr2[j])
{
if(k==0)
arr3[k++]=arr1[i];
else if(k>=1 && arr3[k-1]!=arr1[i])
... | [
"s2jaiswal.sj@gmail.com"
] | s2jaiswal.sj@gmail.com |
b394692ee2acd1e704cc2a6fb0199c208ab35523 | 0cd925175e12f423ce8790f5b482806f52cda3ed | /sample/tutorial2.cpp | a09518a9a8d1d2210af90e2cdf85f3856cdf5768 | [
"MIT"
] | permissive | veblush/CppAuParser | b08e40847621629053443efcaf453385679b8a60 | 1aa0254fd9012cc07e619a5bbeb32dcd96fb9bd1 | refs/heads/master | 2020-04-08T09:09:10.155266 | 2012-12-19T06:11:35 | 2012-12-19T06:11:35 | 7,078,538 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,250 | cpp | // Copyright 2012 Esun Kim
#include <cppauparser/all.h>
#include <stdio.h>
int main(int argc, char* argv[]) {
// load grammar
cppauparser::Grammar grammar;
if (grammar.LoadFile(PATHSTR("data\\operator.egt")) == false) {
printf("fail to open a grammar file\n");
return 1;
}
// parse a string with a ... | [
"veblush+git@gmail.com"
] | veblush+git@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.