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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
305b4a660b4cbca75f1ed1d302265ec292d7879f | cb1d4663009795ffc1880a1b00eddbdb2c4d1b9d | /src/Dataflow/Engine/Scheduler/DynamicExecutor/WorkQueue.h | 910eee10f95d561bc4d6cb09d644d969120bad51 | [
"MIT"
] | permissive | skitree/SCIRun | e75502956aa193fa8e0d95f67924d2271833da36 | e32f09b71d7e536e9827eb850b18583ad9593182 | refs/heads/master | 2020-03-10T09:20:58.605598 | 2018-03-22T22:39:38 | 2018-03-22T22:39:38 | 129,307,104 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,932 | h | /*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2015 Scientific Computing and Imaging Institute,
University of Utah.
License for the specific language governing rights and limitations under
Permission is hereby granted, free of charge, to any person o... | [
"dwhite@sci.utah.edu"
] | dwhite@sci.utah.edu |
d4053e968978e842cafbba79a0e7cc63a91cd13a | 63a71792808868a78f0784b44e2683a1ac3b12c1 | /labm8/cpp/status_macros.h | e34ad09be2dc73e6d0916185541a4d0b4610635d | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | ChrisCummins/labm8 | f862835f65ca71cb9600276978b0754bfb0b0042 | 913d67f4f454cedc61220a210113bbf0460bb4d5 | refs/heads/master | 2020-12-24T14:02:23.717616 | 2020-11-20T00:14:52 | 2020-11-20T00:14:52 | 35,374,926 | 3 | 2 | NOASSERTION | 2020-11-20T00:14:53 | 2015-05-10T14:48:53 | Python | UTF-8 | C++ | false | false | 3,650 | h | // Adapted from Google's protocol buffer sources. Original comment header:
//
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modifica... | [
"chrisc.101@gmail.com"
] | chrisc.101@gmail.com |
f76f790ab412dc75b4baeb21a46c9a31160ef48f | 9f457adacd0dcb90c4d6f7aeef033d7b338d2c07 | /12.15/hourlyemployee.cpp | 247952cbcfcffa2ddda655a8dfd5b121c42e05e7 | [] | no_license | weijianqingtian/wang_tian_jiao | e6f67f06bd4e4854a581e32433b94326d2c16603 | 71acb8a2a96f850e4326ac044dc2f081254acb9f | refs/heads/master | 2020-04-27T13:22:15.214598 | 2019-08-12T14:14:53 | 2019-08-12T14:14:53 | 174,367,228 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,600 | cpp | #include <iostream>
#include "HourlyEmployee.h" // HourlyEmployee class definition
using namespace std;
// constructor
HourlyEmployee::HourlyEmployee( const string &first, const string &last,
const string &ssn, int month, int day, int year,
double hourlyWage, double hoursWorked )
: Employee( first, last, ssn,... | [
"524682551@qq.com"
] | 524682551@qq.com |
0d36f6e2f101b1f0b6ce31ea3bf6ac590c530cfc | 97b5ff7256b54f48b93e5ac96c289b79234afe96 | /3.x/tags/beta2/src/model/xrcfilter.h | 8c373fbd3ef75d0aa13f18cc66630f4f513f08b1 | [] | no_license | idrassi/wxFormBuilder | 7d2ba2e496d550d387a077901bb4c4629468dced | 71a8e1e43d0f6ad346232fdc8d61f4a2c465f4a0 | refs/heads/master | 2020-04-06T23:59:47.700657 | 2018-06-20T13:46:56 | 2018-06-20T13:46:56 | 53,212,048 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,908 | h | ///////////////////////////////////////////////////////////////////////////////
//
// wxFormBuilder - A Visual Dialog Editor for wxWidgets.
// Copyright (C) 2005 José Antonio Hurtado
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as ... | [
"rjmyst3@1bf5dfe7-1b0e-0410-9632-deacb7090205"
] | rjmyst3@1bf5dfe7-1b0e-0410-9632-deacb7090205 |
880b4779173a84a8a3a30ef3ab9d41c06a416718 | b933ccf18c8c23da44550404bb08a55e1057639b | /scheduler.cpp | 762e21d7385c75e6beb0e387c0211782d5373979 | [
"BSD-2-Clause",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | yibopi/latency-imbalance | 59fc9eeec03f96ee6f56a6ce0b7abb98a42065b5 | 2a5836bdbcf197d3373d1478b27c0ffcc8bd8a77 | refs/heads/master | 2023-03-27T11:23:39.137261 | 2021-03-02T01:41:23 | 2021-03-02T01:41:23 | 255,436,856 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 45,837 | cpp | #include <set>
#include "scheduler.h"
#include "flipr.h"
#include <time.h>
#include <iomanip>
#include <future>
#include <regex>
#define NUM_PKT_TYPE 4
#define NUM_REPEAT 6
#define OUT_RVR_PKT_LB -2
#define OUT_FWD_PKT_LB -1
#define OUT_LATENCY 0
#define OUT_FLOW_NO_LB 1
#define OUT_FLOW_LB 2
#define OUT_LB_REGION 3
... | [
"yibo@umich.edu"
] | yibo@umich.edu |
24ccbe0f6ac51c4e1f804b537b95a8129d82859f | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/make/old_hunk_802.cpp | 11cebfc17c9e9142fcabd6b227823238276f2005 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 302 | cpp | percent = find_percent (name);
if (percent)
{
struct pattern_var *p;
/* Get a reference for this pattern-specific variable struct. */
p = create_pattern_var(name, percent);
vlist = p->vars;
fname = p->target;
}
else
| [
"993273596@qq.com"
] | 993273596@qq.com |
b63613323679c418c7091afe7049281167053da6 | 3b4d05e5f53b79ffb34dc12c7eaad061286aae10 | /launcher-src/launcher/external/chromium/base/trace_event/heap_profiler_allocation_context_tracker.cc | bfa28d7f5377781d5dc263b3197307026ae3bc08 | [
"BSD-2-Clause"
] | permissive | Romantic-LiXuefeng/launcher | dd1966d7647d2ad8fcbbd165f9c77397f13b32db | f782ed9fc88774d4b009ad667546a39640470579 | refs/heads/master | 2022-11-12T17:58:23.715348 | 2020-07-07T13:32:00 | 2020-07-07T13:32:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,019 | cc | // 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.
#include "base/trace_event/heap_profiler_allocation_context_tracker.h"
#include <algorithm>
#include <iterator>
#include "base/atomicops.h"
#include "ba... | [
"service@leagor.com"
] | service@leagor.com |
8608a2b7bab7c404a4a18940b61d0c55ad905e33 | b77cc523c66701d91ecd2e821b3399bd74d08a70 | /RsyncClient/rsync_io.cpp | d760f74d4a3f315bf56b6482b175197a424f89ae | [] | no_license | Rettiwer/SyncApp-Daemon | 37fe0bf45dd7f8d0744ba173ecf44651fba2ac3c | 16e57bda5c9f1eb11dd289fb4f8c401907cd3e7d | refs/heads/master | 2022-12-23T02:51:04.680917 | 2020-10-01T12:20:00 | 2020-10-01T12:20:00 | 296,024,617 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 934 | cpp | // Copyright (C) 2015 Acrosync LLC
//
// Unless explicitly acquired and licensed from Licensor under another
// license, the contents of this file are subject to the Reciprocal Public
// License ("RPL") Version 1.5, or subsequent versions as allowed by the RPL,
// and You may not copy or use this file in either source ... | [
"rettiwerpytania@gmail.com"
] | rettiwerpytania@gmail.com |
c8d01d573bb1e23597d3a47ad19b133d706a45db | dbdf999a1fef8029b626514b4ca06e8a84dc157c | /source/shared/gameplay/elements/menu_pages/menu_leaderboard.h | 5fe594f096e091da5f1c4a6454c2448d49ef9b70 | [] | no_license | StefanSlev/Survival-Shooter | 18fa5f64e6a8a5ff437bb6ba435d308b62d1f5a8 | 32996717f1e4e90616b9c761643ef9cf5bf22b22 | refs/heads/master | 2022-11-22T12:13:42.973406 | 2022-11-20T18:25:50 | 2022-11-20T18:25:50 | 193,385,871 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 847 | h | #ifndef SHARED_GAMEPLAY_ELEMENTS_MENU_LEADERBOARD
#define SHARED_GAMEPLAY_ELEMENTS_MENU_LEADERBOARD
#include "shared/gameplay/gameplay_base.h"
#include "shared/gameplay/engine/menu_item.h"
// -------------------------------------------------------------------------------------
// This is the menu page that appears wh... | [
"stefan_gabriel1997@yahoo.com"
] | stefan_gabriel1997@yahoo.com |
77a41f0b4498b9bbb7e260a50c3248b0faeec1b1 | ca670c6e41c1925c8621473fb25fad76b688f4a3 | /第十六章/第十六章/16.44.cpp | 279cd4a4162f74749ec33c780277177318cc2c26 | [] | no_license | yejh123/cpp-repos | 1460aa817fa67a184d89b956c9d296481d63985d | d74e3b4a14a97c7ffed8898a9a1882564afb3bf2 | refs/heads/master | 2022-02-17T07:58:46.639878 | 2019-09-13T03:09:27 | 2019-09-13T03:09:27 | 208,184,173 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 653 | cpp | #include <iostream>
using namespace std;
template<typename T> void f3(T&& i) {
cout << i << endl;
++i;
cout << i << endl;
}
class Test {
int * arr{ nullptr };
public:
Test() :arr(new int[5000]{ 1,2,3,4 }) {
cout << "default constructor this = "<<this << endl;
}
Test(const Test & t) {
cout << "copy constructo... | [
"51945673+yejh123@users.noreply.github.com"
] | 51945673+yejh123@users.noreply.github.com |
852d1fbbef89aacfca5398acce8a6770249bee50 | 7e2e71956fdf70da787bf4edcfcf7ecd34fd9c99 | /o2Engine/Sources/Render/VectorFont.cpp | 8d7339e93a2fdef501e4831dd20031fa107d6208 | [] | no_license | dmitrykolesnikovich/o2 | 579abb53c805b117d11986017dcdb50f50d75409 | c1b9038c6f56466ab96544c0e9424e4b9baf6553 | refs/heads/master | 2020-03-13T00:31:46.701057 | 2018-04-23T19:33:58 | 2018-04-23T19:33:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,177 | cpp | #include "stdafx.h"
#include "VectorFont.h"
#include "Render/Windows/OpenGL.h"
#include "Application/Application.h"
#include "Render/Render.h"
#include "Utils/Bitmap/Bitmap.h"
#include "Utils/Debug/Debug.h"
#include "Utils/Debug/Log/LogStream.h"
#include "Utils/System/Time/Timer.h"
namespace o2
{
VectorFont::Vector... | [
"zenkovichan@gmail.com"
] | zenkovichan@gmail.com |
8780ef095bc75d42aaba69ba8991e8c29b606bc8 | 7a3ad0b3607e39d3c8ceb516695567399eba3206 | /GtarSdk/AudioController/AudioController/TanhDistortion.h | e05171a7fff57c02ee947080416a1eeaf48bc3c0 | [] | no_license | IncidentTechnologies/iPhone | 2ef113e41d55c8b7f1c165d3c5e31774cd3cb6ed | cd04e42ba6955eb821d5ee2c0d45356d042241a4 | refs/heads/master | 2021-06-13T12:28:15.629410 | 2013-05-14T23:05:33 | 2013-05-14T23:05:33 | 5,958,930 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,997 | h | //
// TanhDistortion.h
// gTarAudioController
//
// Created by Franco Cedano on 12/7/11.
// Copyright (c) 2011 Incident Technologies. All rights reserved.
//
// Distortion effect, applies the input signal to a hyperbolic tangent
// function.
//
#ifndef gTarAudioController_TanhDistortion_h
#define gTarAudioContro... | [
"marty.greenia@gmail.com"
] | marty.greenia@gmail.com |
883b84130a5d1751988fa501aa5818d1ba0f962a | ec76c1297252070d72fd194baebca3146bafac59 | /damBreak_laminar/damBreak/8.05/phi | 558f13f1c6e206ecf5dc22380bcf18aaebe854a4 | [] | no_license | Shivam-IITKGP/CFD_InterFoam_BottleFill | 413cdb5536cf71d95da882821fa36c7bd138e17e | be711e0f19a5331bb1094b8e54982c9ad101da5c | refs/heads/main | 2023-04-13T12:58:09.332312 | 2021-04-15T16:24:42 | 2021-04-15T16:24:42 | 358,315,309 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 226,278 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 8
\\/ M anipulation |
\*-------... | [
"shivamshahi12@gmail.com"
] | shivamshahi12@gmail.com | |
fb318fd15acd900f20a4cc90180e3a35bc042abc | a758d924476bbc8b11e5ccae2dcac309accceeff | /hw2/UVA-408.cpp | ec45a73a606df20249e1fa6a653b005ce5d89cc3 | [] | no_license | st9007a/acm | cf3e98167247d2b2126be9fa568b08ab4701386f | 65894061e397e29a8737b6efb71fe95eceaf03d0 | refs/heads/master | 2020-04-10T03:53:14.486676 | 2018-06-21T03:06:23 | 2018-06-21T03:06:23 | 124,260,369 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 440 | cpp | #include <cstdio>
int gcd(int a, int b);
int main()
{
int step, mod;
while (scanf("%d %d", &step, &mod) != EOF) {
int flag = gcd(step, mod);
if (flag == 1) {
printf("%10d%10d Good Choice\n\n", step, mod);
} else {
printf("%10d%10d Bad Choice\n\n", step, ... | [
"st9007a@gmail.com"
] | st9007a@gmail.com |
03e7b53b5e6ea090e9751332368ef0c3cc83ae0e | ed6def55b1d46d42dee1af05ab49c6676f71747f | /src/vm/Universe.h | 222a9242fdc1179ea9f92fd6b8926dcd866bf268 | [] | no_license | yongqinglu/sompp32rhl | 4b2cc34846d6b1df62daa6d65ecf88c10ed87099 | f88a3fe344f3eca0ba21b6f940137bd72bc22c01 | refs/heads/master | 2021-01-11T00:22:14.165481 | 2016-10-11T04:41:07 | 2016-10-11T04:41:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,452 | h | #pragma once
#ifndef UNIVERSE_H_
#define UNIVERSE_H_
/*
*
*
Copyright (c) 2007 Michael Haupt, Tobias Pape, Arne Bergmann
Software Architecture Group, Hasso Plattner Institute, Potsdam, Germany
http://www.hpi.uni-potsdam.de/swa/
Permission is hereby granted, free of charge, to any person obtaining a copy
... | [
"zhanggan@cn.ibm.com"
] | zhanggan@cn.ibm.com |
e255a9157d23757efef0daff7d6525da739a8538 | d6c88c10b2ed79ed260f3eedeb8a4f544ccd555a | /assignment solutions/assignment 2/2c/main.cpp | cec36f40eff75e8d8999e41ae792a48815b27806 | [] | no_license | prijuly2000/CPP | 4e14141f2f5f6256921715425dc17f3f9ab6e566 | 74b574094787dc2d326c625336144a26ee70521d | refs/heads/master | 2016-09-06T08:26:56.249305 | 2015-08-14T00:02:53 | 2015-08-14T00:02:53 | 40,687,105 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 269 | cpp | #include"Complex.h"
void main()
{
Complex c1[5];
Complex::displaycount();
Complex c2(10,20);
Complex::displaycount();
c2.display();
Complex *p=new Complex[4];
Complex::displaycount();
delete []p;
Complex c4;
c4.accept();
Complex c3(c4);
c3.display();
} | [
"prijuly2000@gmail.com"
] | prijuly2000@gmail.com |
44bc13888ea40aa5e8d0a7510494aaa5759d8e87 | 2421ccec410ff11bba692eae5c493df3cc4f0516 | /OpenCV/OpenCV/methodsForImage.cpp | 6c440788ca5ab4463cc9e6bcee65528557b6c0dd | [] | no_license | Smirnov-Mikhail/SearchTableCell | b0679d5b2156440076db38b353e8bd12b67fa207 | fcd96820d54a9cb5daeb82f3cddee33f708cef5c | refs/heads/master | 2021-01-10T15:47:01.902088 | 2015-09-23T19:47:09 | 2015-09-23T19:47:09 | 43,020,659 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 13,175 | cpp | #include <iostream>
#include "opencv2/core/core.hpp"
#include "opencv2/highgui/highgui.hpp"
#include <string>
#include "methodsForImage.h"
using namespace std;
// Параментры прямоугольников, котрый мы ищем, чтобы обнаружить угол.
int lengthRectangle = 60;
int widthRectangle = 1;
// Определяем является ли пиксель сер... | [
"sm_m_a@mail.ru"
] | sm_m_a@mail.ru |
715873d61f67ebfff9a1b86a3190b0686eb0d28a | 37bac9d36db89e723fe2d9e17e46a1b76063a580 | /Arduino Sketches/AnalogDataloggerWithXandY/AnalogDataloggerWithXandY.ino | 7335b9bf923b4aadd0a6f26bd09814e4f120d65c | [] | no_license | jeremy-daily/TeensyCrashDAQ | 28d81f2e8a5a3f90a7ead3b11c1b954dd80ca1e7 | fa2179516de3cba6c2353aae615295dd8c253293 | refs/heads/master | 2021-01-01T03:34:30.469057 | 2016-04-30T10:59:35 | 2016-04-30T10:59:35 | 55,987,380 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,495 | ino | /*
SD card datalogger
This example shows how to log data from three analog sensors
to an SD card using the SD library.
The circuit:
* analog sensors on analog ins 0, 1, and 2
* SD card attached to SPI bus as follows:
** MOSI - pin 11
** MISO - pin 12
** CLK - pin 13
** CS - pin 4
created 24 Nov 201... | [
"jeremy@synercontechnologies.com"
] | jeremy@synercontechnologies.com |
e370e3515d3f4deb4ee8f6e78df23f2649dc0434 | dccd1058e723b6617148824dc0243dbec4c9bd48 | /atcoder/abc006/d.cpp | 58bd32fba5fa473458115150e97ba4f65c6ee31f | [] | no_license | imulan/procon | 488e49de3bcbab36c624290cf9e370abfc8735bf | 2a86f47614fe0c34e403ffb35108705522785092 | refs/heads/master | 2021-05-22T09:24:19.691191 | 2021-01-02T14:27:13 | 2021-01-02T14:27:13 | 46,834,567 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 566 | cpp | #include <cstdio>
#include <iostream>
using namespace std;
const long INF=100000;
int main(){
long n;
long c[30000];
long up[30001];
scanf(" %ld", &n);
//増加列
up[0]=-INF;
for(long i=1; i<=30001; ++i) up[i]=INF;
for(long i=0; i<n; ++i){
scanf(" %ld", &c[i]);
for(long j=1; j<=n; ++j){
if(up[j]>c[... | [
"k0223.teru@gamil.com"
] | k0223.teru@gamil.com |
41b34e39c29e7c8f37a0b2323463760c10659769 | 6cecd07f26ec061b4abb9464534e07e705f78f12 | /include/multirotor_manipulation_and_control_framework/arm_parsers/arm_parser.h | cd3b0d2effc951d8f84d08e29819ea53da014539 | [] | no_license | garimellagowtham/multirotor_manipulation_and_control_framework | 5509c7832600e91ab1924096dfafb49b7cd99cb3 | ec12bcf85b146353f817af34a47556dc6a7fdcac | refs/heads/master | 2021-01-11T18:04:06.882124 | 2017-01-19T18:48:31 | 2017-01-19T18:48:31 | 79,483,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,242 | h | /* Copyright (C)
* 2015 - Gowtham Garimella
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distri... | [
"garimella.gowtham74@gmail.com"
] | garimella.gowtham74@gmail.com |
880a3634d5df5d7285c6d74d0a22d72c18894391 | 87418f8cd9acad99597d09c40a659a965fd98d09 | /some_qu_jian_dp.cpp | 26a8472a0d7fa3fe9a5449145cbca6d223e6232d | [] | no_license | 1779296311/leetcode | 22541e36af344838480683ef11c3ceb2b16ee92e | a846bae6515c77972d5ee6f5ac07a993f9bd44f3 | refs/heads/master | 2021-05-17T07:00:07.007664 | 2020-12-07T09:49:24 | 2020-12-07T09:49:24 | 250,686,597 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,800 | cpp | /*********************************************
* ------------------------
* ------------------------
* file name: some_qu_jian_dp.cpp
* author : @ JY
* date : 2020--10--07
**********************************************/
#include <iostream>
#include <algorithm>
#include <vector>
#include <stack... | [
"1779296311"
] | 1779296311 |
b5ea40b460bdd27f9ba00e32d4223017411898a2 | fa1ead11618f6a640b4d0b20ceae241f7b7c3e8f | /DMCore/Agents/CoreAgents/DMCoreAgent.h | ca0d7e70fa512c3b14ee0b39b114c4855782de36 | [] | no_license | ishine/RavenClaw | d89ca69089e5a8f905908a60966804f60e2e7295 | 8e4a029a2fd40846ca1ef54101b8d31c7fa535af | refs/heads/master | 2021-10-09T00:18:47.279624 | 2018-12-19T06:34:25 | 2018-12-19T06:34:25 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 32,116 | h | //=============================================================================
//
// Copyright (c) 2000-2004, Carnegie Mellon University.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// ... | [
"1531271510@qq.com"
] | 1531271510@qq.com |
371825086073d7efdb11121bfa2c0135cad00e23 | 7247514c99a991574793fb0ebf837fa7b36fdbb7 | /src/spork.h | 331cee7b1c9313d9bb1ff0c254ff5daaad68c9d0 | [
"MIT"
] | permissive | scottie/Seather | 2409280278e1dbbba89fcb6132e92440044e798b | 6f883a4b289f77160fa4fda8ae38ac43ebd2cdb5 | refs/heads/master | 2020-03-19T10:28:59.502637 | 2018-06-03T05:26:26 | 2018-06-03T05:26:26 | 136,374,998 | 0 | 1 | null | 2018-06-06T19:10:34 | 2018-06-06T19:10:34 | null | UTF-8 | C++ | false | false | 3,912 | h | // Copyright (c) 2014-2016 The Dash developers
// Copyright (c) 2016-2017 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef SPORK_H
#define SPORK_H
#include "base58.h"
#include "key.h"
#include "ma... | [
"seathercoin@gmail.com"
] | seathercoin@gmail.com |
581fa7357afad816205ebe79f948b970b4f180db | 2c2f16f73d691a6e0bc475ab07f12ef22ac6a8d1 | /include/My2048.h | d844464baaab5b3130cf84e56cc3662fb1af902b | [] | no_license | bitpja/My2048 | e878d6b8c99573187d1240bd00bf9fdab3a7e35a | 53d4b2bb3fc006d1fd96e61d949f182c3f2a51d4 | refs/heads/master | 2020-07-10T04:29:41.212900 | 2019-08-24T14:27:00 | 2019-08-24T14:27:00 | 204,167,537 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 641 | h | #ifndef MY2048_H
#define MY2048_H
#include<vector>
#include<iostream>
#include<random>
#include<stdlib.h>
#include<time.h>
using namespace std;
class My2048
{
public:
My2048(int x=4,int y=4);
virtual ~My2048();
bool Init();
char Check();
void Move();
void Print();
... | [
"bit_pja@qq.com"
] | bit_pja@qq.com |
4db9136b89e5d71a6cf85ec6227afe0de90805df | bc5540f59c44b60878f2b60f3029dd837922ef5b | /android/app/src/main/cpp/src/reporter/JavaReporter.cpp | fa1d8ace2d3f972ae20e14a22a78935608a56ffc | [
"MIT"
] | permissive | comword/TCD20-DP-MobileApp | a0a9831e40484587b6674d209c71df7e2daa729d | 94b21fb00f3c7b98dcbb19a3f2715ea6faaa9444 | refs/heads/main | 2023-07-20T13:16:29.486502 | 2021-08-20T19:27:58 | 2021-08-20T19:27:58 | 372,375,425 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,039 | cpp | #include "JavaReporter.h"
#include <cassert>
#include <jni.h>
#include <tuple>
#include "dlog.h"
JavaReporter::JavaReporter() = default;
JavaReporter::~JavaReporter()
{
ScopedEnv scopedEnv( *this );
if( mCls ) {
scopedEnv.GetEnv()->DeleteGlobalRef( mCls );
}
}
bool JavaReporter::init( void *user... | [
"comword@live.com"
] | comword@live.com |
42b457122b63c8c2b4c897d3a8d444a120256b0f | f4a588e3eee9ce4780a29da60fdd9d3ae225022f | /autoinsert/autoinsert.cpp | f59eadce9a9c2729e6b12167613fd23be507164a | [] | no_license | iamslash/emacs_robin | 9aa776a6a35e59b86e5beab09117b983469a051e | 65a08e681b00396c7ada18f754cda2bb8843f5c9 | refs/heads/master | 2023-08-17T12:00:49.040387 | 2023-08-06T03:09:06 | 2023-08-06T03:09:06 | 52,074,208 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 91 | cpp | /* Copyright (C) 2023 by iamslash */
#include <cstdio>
int main() {
return 0;
}
| [
"iamslash@gmail.com"
] | iamslash@gmail.com |
ad26629f0bf971a332b965e693e148f2f84728f0 | 325f4a6ce8aa09a019cae883c0db967b615da5db | /SDK/PUBG_Toy_WeapGroza_functions.cpp | a0082f2fde9344f17ad33ad7f26a6d208da5bb25 | [] | no_license | Rioo-may/PUBG-SDK | 1c9e18b1dc0f893f5e88d5c2f631651ada7e63a4 | fa64ffdc5924e5f3222a30b051daa3a5b3a86fbf | refs/heads/master | 2023-01-07T22:57:11.560093 | 2020-11-11T05:49:47 | 2020-11-11T05:49:47 | 311,240,310 | 0 | 0 | null | 2020-11-11T05:51:42 | 2020-11-09T06:09:27 | C++ | UTF-8 | C++ | false | false | 823 | cpp | // PlayerUnknown's Battlegrounds (2.5.39.19) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace Classes
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
// Functi... | [
"pubgsdk@gmail.com"
] | pubgsdk@gmail.com |
1286f26ba5438958763cf6b2b3d246a8a3a69409 | d123f6c421de255abbba591fa81ea30b7befbd1a | /Arduino_Codes/LoRa/LoRa_TX.ino | a2d5aeaf0117eeadbc4f7ef24e95325dff2a1576 | [] | no_license | jamienhare/HiveMonitor | d5f5ef9e8ce5a2d60fdd64d5972d7b058c9a91ec | 5d5a33d7dbb51a703aac688f1e5863472ef28398 | refs/heads/master | 2023-02-10T00:13:34.368129 | 2020-11-24T17:43:27 | 2020-11-24T17:43:27 | 302,157,007 | 2 | 0 | null | 2020-11-24T02:34:35 | 2020-10-07T20:49:40 | C++ | UTF-8 | C++ | false | false | 1,798 | ino | /*
* Author - Deepen Solanki
* Purpose - LoRa Transmitter Code
* Module - REYAX RYLR890
*/
#include<string.h>
#define NETWORKID 6
#define TXNODE 120
#define RXNODE 100
int sendAT();
int setNetworkID(unsigned int);
int setNodeID(unsigned int);
int sendData(unsigned int nodeID, char* message); ... | [
"dsolanki@umich.edu"
] | dsolanki@umich.edu |
c8082473b9625928669930652cd70c9138afba15 | 7cffa9b29f855c68ec5efcf049f596dc7be6bff6 | /src/color/hsv/make/brown.hpp | 2a3224aa9ad0c05076130ecbb363bb16953f83f0 | [
"Apache-2.0"
] | permissive | lzs4073/color | c4e12e26cfe96022e0a5e6736a7abaadf9912c14 | 290c2c1550c499465f814ba89a214cbec19a72df | refs/heads/master | 2020-04-03T07:16:33.120894 | 2016-02-02T16:18:25 | 2016-02-02T16:18:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,862 | hpp | #ifndef color_hsv_make_brown
#define color_hsv_make_brown
// ::color::make::brown( c )
namespace color
{
namespace make
{ //RGB equivalents: std::array<double,3>( { 0, 74.5455, 64.7059 } ) - rgb(165,42,42) - #a52a2a
inline
void brown( ::color::_internal::model< ::color::category::hsv_uint8 > & ... | [
"dmilos@gmail.com"
] | dmilos@gmail.com |
b528d9a923534c4dc9ea8fdca08d7e85e1346952 | 3c1d68de4dfcedaeea11db403c0a08ec053a3749 | /src/battle/stats.cpp | 968ad88c345189ad82a1b90c3a145c0ff92bd955 | [] | no_license | wreien/turn-based | 38d02192fb5a4f8956dfc5664f73695575e4b6f0 | 3a02db4cda8291f6d35baf3b8be18c032428f2aa | refs/heads/master | 2020-04-15T05:04:26.516125 | 2019-07-12T13:43:58 | 2019-07-12T13:43:58 | 164,407,937 | 1 | 0 | null | 2019-07-12T13:43:59 | 2019-01-07T09:20:54 | C++ | UTF-8 | C++ | false | false | 2,346 | cpp | #include "battle/stats.h"
#include <cmath>
namespace battle {
Stats calculateModifiedStats(Stats s, const std::vector<StatModifier>& mods) noexcept {
static constexpr auto num_stat_types =
static_cast<unsigned>(StatType::resist);
std::array<int, num_stat_types> stat_mult_sum = { 0 };
std::array<i... | [
"natattak@gmail.com"
] | natattak@gmail.com |
79c14faebc2cfd88f062efbc43701917d2164b90 | 48e5e2abfee4a0bd954ee423db2a7057b79856f5 | /second_max.cpp | 0bb43025a2487f8bdf6e159bacc535d223b85375 | [] | no_license | sroy-mirp/sroy-mirp | 6905f27108cc3c6a461ddfc7ce5bbca0107b953e | 461e03e65627930993669457e82f2971429834a3 | refs/heads/master | 2021-01-23T02:00:38.589958 | 2017-06-05T01:32:31 | 2017-06-05T01:32:31 | 92,903,066 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 409 | cpp | #include<iostream>
using namespace std;
int main () {
int n1,n2,n3,n4;
cout<<"Enter the second max value:";
cin>>n1>>n2>>n3>>n4;
if ((n1>n2)&&(n2>n3)&&(n3>n4)){
cout<<"second max value:"<<n1;
}
else if ((n2>n1)&&(n2>n3)&&(n2>n4)){
cout<<"second max value:"<<n2;
}
if ((n3>n1)&&(n3>n2)&&(n3>n4)){
cout<<"second max value:... | [
"adas-mirp@mit.edu"
] | adas-mirp@mit.edu |
b7d125c1a3bf09563d25816b84ba9d6738d32740 | 8ba6192dced3f6a6d231c1fa53773cd941f2c079 | /Classes/AppDelegate.cpp | c81645b7dcc4581ceecd1aac0d99ace62f9edda1 | [] | no_license | NFWSA/DoOrDie | 64500f65fada0264a26532a746a2da6654b6507d | cef63a14bdeb1dc028aaa8d180d033c9ae84b71c | refs/heads/master | 2021-01-19T03:21:20.897653 | 2016-08-16T02:20:39 | 2016-08-16T02:20:39 | 65,780,417 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,994 | cpp | #include "AppDelegate.h"
#include "SplashScene.h"
#include "CreditScene.h"
USING_NS_CC;
AppDelegate::AppDelegate() {
}
AppDelegate::~AppDelegate()
{
}
//if you want a different context,just modify the value of glContextAttrs
//it will takes effect on all platforms
void AppDelegate::initGLContextAttrs()
{
//se... | [
"surgenight@hotmail.com"
] | surgenight@hotmail.com |
8714315497dc49457f222fd4a6839f994022f576 | 7d39397bcd5298f72f7cf3d4671d8357cb819cf9 | /src/DelayGUI/DelayGUI.cpp | a4fa3aa2d6a0bce6f80e27499b958fbda417cb2d | [
"Apache-2.0"
] | permissive | d8euAI8sMs/scm-1-delay | 7d3f6e403f12e988e1e8cf116da4f527d28f1e0d | 78e756b5a0c59b15b3e90366d60339edbdba8951 | refs/heads/master | 2020-07-29T21:48:51.221040 | 2020-01-22T12:49:35 | 2020-01-22T12:49:35 | 209,974,452 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,657 | cpp | // DelayGUI.cpp : Defines the initialization routines for the DLL.
//
#include "pch.h"
#include "framework.h"
#include "DelayGUI.h"
#include "CMainDialog.h"
#include <interop\types.h>
// Dummy exported function (otherwise no .lib is generated and build fails)
#include <cstdio>
extern "C" {
__declspec(dll... | [
"a.kalaider@yandex.ru"
] | a.kalaider@yandex.ru |
21ad51f5d8a9652ca8a33dad365a053679362407 | c0f804a4a98a3eef2a9e4f4a8e9ba919a9716033 | /Frogger/src/Frogger/Tank.cpp | 4410a5547b1e9eb0490c30eec399116b3ad68e7e | [] | no_license | freazert/C---game | 53584d8c23d3900e3b8d8976aab45957fb4cd15a | d4f3caa45053300d077c226ec695378c0148e53f | refs/heads/master | 2020-04-01T18:17:31.889191 | 2018-10-17T15:50:47 | 2018-10-17T15:50:47 | 153,483,215 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 880 | cpp | /*
* Tank.cpp
*
* Created on: 18-jun.-2016
* Author: Kris
*/
#include <Tank.h>
namespace Frogger {
const float width = 1.2f;
const float height = 1;
Tank::Tank(GameProperties* gameProperties, int lane, int grid_width,
int grid_height, Factory* fac, float spawnX) :
RidingObject(gameProperties, grid_wi... | [
"kris.vandevoorde@student.uantwerpen.be"
] | kris.vandevoorde@student.uantwerpen.be |
048efced56d47dad2835602be80120f29f6d87f7 | 5846d9cbd1fe1a27cc467263244741cf2d0a7740 | /dbc/dbcmessageeditor.cpp | 41fdbfa30d1bb62fdf4f16a19b2fd35b32b6519e | [
"MIT"
] | permissive | IanMurphy-Rockfort/SavvyCAN | 09babeea7e980dc63ff2d50162a3318d951c6752 | b7d33ef0b21273791285b582fda2e477a868e2d2 | refs/heads/master | 2023-04-25T20:53:13.160845 | 2021-05-30T01:31:11 | 2021-05-30T01:31:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,641 | cpp | #include "dbcmessageeditor.h"
#include "ui_dbcmessageeditor.h"
#include <QSettings>
#include <QKeyEvent>
#include <QColorDialog>
#include "helpwindow.h"
#include "utility.h"
DBCMessageEditor::DBCMessageEditor(QWidget *parent) :
QDialog(parent),
ui(new Ui::DBCMessageEditor)
{
ui->setupUi(this);
readSe... | [
"collink@kkmfg.com"
] | collink@kkmfg.com |
2fc89985151f75953f1bc79a403a054069badbde | 8d88c774dd7979401f434c1b0e35e4cb9a42938e | /855.Exam Room.cpp | ada7a7d2eaf81a1c3c55ed765ba4a5fdd3b30458 | [] | no_license | yycccccccc/Leetcode | 15a76eca96f6d5420416d806b5372bdf2c55efbf | 8e879cc1495e47f1230e968b941543326cb28f38 | refs/heads/master | 2020-05-27T08:09:58.411710 | 2019-03-28T06:46:43 | 2019-03-28T06:46:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,295 | cpp | 题意:849follow up,找到现有位置距离最远的空位。
思路:
1.首先设置一个全局变量用来记录每次坐下的位置和原始数组的长度。
2.当数组中没有人坐的时候,表示数组为空,那么直接在数组中插入0元素,返回0
当数组中有人的时候,判断目前为止的最大距离。
先用第一个元素和最大值减去数组中的最后一个元素进行比较,再两两遍历数组中的数字求两个数字之间的距离的较大值。
如果当前的最大距离等于数据中的第一个元素,表示第一个位置为空,那么插入0,返回0
3.如果不等于第一位上的值,开始遍历,判断两两之间的差是否等于这个距离。
如果等于,在当前位置上插入这个元素,同时返回。
4.如果数组的个数只有一个,且最大的距离不等于第一位上的值,那么表... | [
"shuaiwang0121@gmail.com"
] | shuaiwang0121@gmail.com |
85d668294bd07ea3af029ff281f83f1206b4049b | b6a78c62271b9be421eb43722d500d717dfa1db8 | /codeforces/A/div.cpp | e981ff61bc357e3daaa5864a747819281d6c48ba | [] | no_license | Zehnun/cp | 474388f44f7e260140335581326ec5788c9b6f21 | 91d5e8517684364ef5e472924affa922da2d708e | refs/heads/main | 2023-01-24T06:39:17.299891 | 2020-12-08T22:09:00 | 2020-12-08T22:09:00 | 267,667,970 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 393 | cpp | #include <bits/stdc++.h>
using namespace std;
int bd(string n){
string num = n;
int dec_value = 0;
int base = 1;
int len = num.length();
for(int i = len -1; i >= 0; i--){
if(num[i] == '1')
dec_value += base;
base = base * 2;
}
return dec_value;
}
int main(){
string s;
cin >> s;
int val = bd(s);
... | [
"keldokuz@gmail.com"
] | keldokuz@gmail.com |
bdb49a2876ca48b698267c3126cf97a581371267 | 96ae90c1b6cb02f22362a38cbac9f469ff5bbc19 | /my_list_test.cpp | 7d08f6a68cda73f7f5c2295dd07d1da40ba45f6e | [] | no_license | zdevt/cpp_code | 67bd106b2cec02376e75937fcd335fed30284a85 | 979cd226e3f45ebfe39cb018df90da8ca7262e60 | refs/heads/master | 2021-06-04T00:14:14.731552 | 2020-12-26T06:58:54 | 2020-12-26T06:58:54 | 131,384,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,815 | cpp |
/*
* =========================================================================
*
* FileName: my_list_test.cpp
*
* Description:
*
* Version: 1.0
* Created: 2018-07-05 11:42:15
* Last Modified: 2019-09-03 11:48:00
* Revision: none
* Compiler: gcc
*
* Author:... | [
"zhangtao.hawk@qq.com"
] | zhangtao.hawk@qq.com |
e3dbf3a1cbcfe05456f2d1d3c70361501111fc37 | f295f1e190bccd3e07a630a79890fac3019c537b | /Engine/Engine/src/graphics/RenderTexture.h | 69fe2627f2f4a55419fd27c0c5e0a4085e69a46e | [] | no_license | Kavarna/Oblivion | f3aaa2fb577548b459115420fad738e82f0337e0 | cca2986ae9e4969b027b4751619ca11b3a241974 | refs/heads/master | 2021-06-14T15:11:28.457996 | 2021-03-15T21:01:31 | 2021-03-15T21:01:31 | 154,550,644 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,206 | h | #pragma once
#include "interfaces/GraphicsObject.h"
#include "Helpers/TextureUtilities.h"
#include "Texture.h"
enum RenderTextureFlags
{
RenderTextureNone = 0b0000,
DepthWriteEnable = 0b00001,
DepthReadEnable = 0b00010,
ColorWriteEnable = 0b00100,
ColorReadEnable = 0b01000,
UnorderedAccess = 0b10000,
Rende... | [
"sdobrica188@gmail.com"
] | sdobrica188@gmail.com |
3118b1de19a626f0f5ee13454454c1d3f529cb9b | 90047daeb462598a924d76ddf4288e832e86417c | /net/cert/cert_verify_proc_mac.cc | 4184294b3436a9ab80600d0466397296a1a3aab3 | [
"BSD-3-Clause"
] | permissive | massbrowser/android | 99b8c21fa4552a13c06bbedd0f9c88dd4a4ad080 | a9c4371682c9443d6e1d66005d4db61a24a9617c | refs/heads/master | 2022-11-04T21:15:50.656802 | 2017-06-08T12:31:39 | 2017-06-08T12:31:39 | 93,747,579 | 2 | 2 | BSD-3-Clause | 2022-10-31T10:34:25 | 2017-06-08T12:36:07 | null | UTF-8 | C++ | false | false | 43,892 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/cert/cert_verify_proc_mac.h"
#include <CommonCrypto/CommonDigest.h>
#include <CoreServices/CoreServices.h>
#include <Security/Security.... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
78de077680f000082d8f836faa5d4dfc4ec15eec | d3c70c27f6c92e784be8be9962571f5330430871 | /Introduction to Embedded Systems/Lab2/Lab 2 Final Code/Display.cpp | 2a118bee0dd54e414ea9b6efc147f84469bc9fb4 | [] | no_license | KhoaDTran/UW-Embedded-Systems-Coursework-Projects | 30382eae18940041e86b88121a577fe6d9584e75 | ea6510e22ee3fd0b58859a6e1f8cb40e4281c127 | refs/heads/main | 2023-07-20T13:22:19.570910 | 2021-08-31T06:43:16 | 2021-08-31T06:43:16 | 401,482,156 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,104 | cpp | #include "Display.h"
#include "Colors.h"
void buttons(Elegoo_TFTLCD tft) {
/****************
* Function name: buttons
* Function inputs: the TFT screen
* Function outputs: none
* Function description: Sets up the page-change buttons. Only runs at startup
* Author(s): Yasin Alissa
**********... | [
"ktdt01@uw.edu"
] | ktdt01@uw.edu |
a769b0e042138c82f077aa8dc51ddad6f2a90240 | 76d0e84b1efd2249497b26287ad3a301658af852 | /CPP/minperm.cpp | 9c6cdf94ba6acc7eaf1e4744ab5a9e46c2e36c2e | [] | no_license | nickzuck/Codechef | e5409e31343350fb884770a96161d18689f96536 | cfcd7e9aeeec29e1434162e077ca05793eec7184 | refs/heads/master | 2021-05-22T04:18:09.764528 | 2021-04-05T03:32:02 | 2021-04-05T03:32:02 | 38,664,793 | 0 | 2 | null | 2021-04-05T03:32:03 | 2015-07-07T04:49:14 | C++ | UTF-8 | C++ | false | false | 706 | cpp | #include<bits/stdc++.h>
using namespace std ;
void pa(int arr[], int n){
for(int i = 0; i <n ; i++){
cout << arr[i] << " " ;
}
cout << endl ;
}
int main()
{
int t, n ;
cin >> t ;
while(t--){
cin >> n ;
int arr[n+1] ;
for(int i = 0 ;i < n ; i++){
arr[... | [
"nikhil1945.singh@gmail.com"
] | nikhil1945.singh@gmail.com |
4c49bf2e6ab94dbc2697d659b53909b70937f987 | 9f3de216919290f4c23027b7c29bcef73197df66 | /gamestates/cMainMenuGameState.cpp | ad2334cc46fc2da5a0b2145f50f1b6e9b67701fa | [] | no_license | mbielsk/Dune-II---The-Maker | ba0c5743a63a2738ffdc447b068d4ca025f3831f | ae03b6ca84fac8ebbab8a6b20dcfad04b4c5f395 | refs/heads/master | 2023-08-31T18:52:45.004538 | 2021-10-30T14:10:03 | 2021-10-30T14:10:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,328 | cpp | #include "d2tmh.h"
cMainMenuGameState::cMainMenuGameState(cGame &theGame) : cGameState(theGame), textDrawer(cTextDrawer(bene_font)) {
bmp_D2TM_Title = (BITMAP *) gfxinter[BMP_D2TM].dat;
int logoWidth = bmp_D2TM_Title->w;
int logoHeight = bmp_D2TM_Title->h;
int centerOfScreen = game.screen_x / 2;
... | [
"stefan@kaizenbv.nl"
] | stefan@kaizenbv.nl |
f6bf3de69fd24cdfd5ac260d41899a533c1ba3c3 | 431b54f82d61e2bff7b886a20e40291303e01128 | /pewpew.cpp | 9dd6b30dce55fa9cdc291e77fdd7a89a57fb1087 | [] | no_license | slyra/pewpew | 4c209f873438f80762fa147b01cca26b5a1ba242 | 6c93161cd7fc2f57a7bea63684aaaa350f50c95d | refs/heads/master | 2021-01-15T20:24:23.451439 | 2011-06-24T11:17:17 | 2011-06-24T11:17:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,255 | cpp | #include "level.h"
//accumulator buffer
level lv;
void display()
{
lv.play();
}
void reshape(int w,int h)
{
lv.reshape(w,h);
}
void kbRelF(unsigned char key, int x, int y)
{
lv.keyboardReleaseFunction(key,x,y);
}
void kbF(unsigned char key, int x, int y)
{
lv.keyboardFunction(key,x,y);
}
void mF(int x, int y)
{... | [
"gregliras@gmail.com"
] | gregliras@gmail.com |
502fb74662301369e42994c285a30f407ac35c9a | 8392d14754290581debf010e49a59f71c144a0a3 | /UVa/UVa10055.cpp | b73a58df267259e30022045e7b66f4fcd647fee6 | [] | no_license | Tankgq/Code | 5f481c3350addcbd9e04d0d6d07d7d502095ecc7 | 235ff58b4cfeb78260e9cab81291c4c45a7ca6d2 | refs/heads/master | 2020-05-20T03:39:34.585787 | 2015-08-07T14:17:23 | 2015-08-07T14:17:23 | 40,357,100 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 188 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
long long a, b;
while(scanf("%lld%lld", &a, &b) == 2)
printf("%lld\n", a > b ? (a - b) : (b - a));
return 0;
} | [
"tankgq@hotmail.com"
] | tankgq@hotmail.com |
3bd9e0f050198634e259e71fa53a30157446cd50 | 4f66a8b89ba55a701e76da9a6007eb1c8438c8f8 | /test.cpp | 0bce6799c8c59589049a33af9c2a968637d673f0 | [] | no_license | viking05/Test | 147b7b8f19aeee234acac07557d1fc5a5ba9e3c5 | 75be5db6098003e0b31f738304088e06f49591a2 | refs/heads/master | 2016-09-05T18:26:39.610315 | 2013-05-02T05:48:27 | 2013-05-02T05:48:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 63 | cpp | #include <iostream.h>
int main()
{
cout << "Test";
return 0;
} | [
"stevefireball@gmail.com"
] | stevefireball@gmail.com |
50a2e86a83c37196e1c67ec3b2dfb6aab00c6270 | af99369345c372b4f0001d4a8e688e7ed02ad140 | /serial_code/libgol_serial.hpp | 5936786317f994965e922cd08f49c07443612072 | [] | no_license | hariprasadr1hp/GameofLife3D_HPC | 76343fc9615a709f9df1d6fdfd0577fddc299b43 | 070cb343401d90c2e57b5f00658893f5a7aae66b | refs/heads/master | 2020-03-07T19:56:41.498199 | 2019-11-27T13:11:32 | 2019-11-27T13:11:32 | 127,684,206 | 0 | 0 | null | 2019-03-17T23:00:29 | 2018-04-02T00:54:08 | null | UTF-8 | C++ | false | false | 5,182 | hpp | #ifndef LIBGOL_SERIAL_H
#define LIBGOL_SERIAL_H
#include <fstream>
#include <iostream>
#include <math.h>
#include <stdlib.h>
#include <time.h>
#include <malloc.h>
#define MAX_SIZE 256
using namespace std;
//################################# CLASSES ###################################
class Generate
{
private:
... | [
"hariprasadr1hp@gmail.com"
] | hariprasadr1hp@gmail.com |
bf0014276342fe36f9f40483d069f72ffee507e3 | 91315e0f65da503d0a6b9423f3a51e397564f3af | /Hydrax/Mesh.cpp | 932f4ebe903095da084b7e17b579c2e8681d81f0 | [] | no_license | kaaveland/coaster | 76ee1f6f3f252798a7762bfd6763bee3267213d2 | 04cae18cfc6e1b02b617691196a46e04db548a81 | refs/heads/master | 2016-09-10T19:10:45.712532 | 2011-05-10T09:55:09 | 2011-05-10T09:55:09 | 1,295,050 | 1 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 13,830 | cpp | /*
--------------------------------------------------------------------------------
This source file is part of Hydrax.
Visit ---
Copyright (C) 2008 Xavier Verguín González <xavierverguin@hotmail.com>
<xavyiy@gmail.com>
This program is free software; you can redistribute it ... | [
"trondkla@stud.ntnu.no"
] | trondkla@stud.ntnu.no |
87bbb99f2b2afacff0fb42bf98be41c685651492 | d14323b8587fa942bd85a0a7126b419b5d1eb613 | /CodeForces/EDU/Binary Search/Step-1/Fast search.cpp | ba831a25cc11908dd918b4556f603b3de5fc7f16 | [] | no_license | akashksinghal/My-Codes-CP | 7be1dac488da97a51d69158ac737502ea41048a8 | 61e0fea6d894f4d0af2e723350a906adeb7cdacc | refs/heads/master | 2023-06-04T00:40:07.145653 | 2021-06-26T11:09:23 | 2021-06-26T11:09:23 | 287,991,333 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,048 | cpp | #include<bits/stdc++.h>
using namespace std;
#define int long long
pair<int,bool> Closest_to_the_left(int val, int low, int high, vector<int> &A){
bool pb = false;
while(low + 1 < high){
int mid = (low + high) / 2;
if(A[mid]<=val) low = mid, pb = true;
else high = mid;
}
if(pb)... | [
"akashksinghalnewdelhi@gmail.com"
] | akashksinghalnewdelhi@gmail.com |
b2616e769c705b726a99cf2ae68965b351ceeb16 | 84f515d774b84ce3d81681e0188348443e2f4557 | /Run14AuAu/EPAnalyzer/EPAnalyzer.h | 8bcf597475254a9775f7e28db8e86ef169ba0d6d | [] | no_license | XuQiao/flowtutorial | b8b3c59255cb419efe5f09c773406cb8c00ee9c2 | 51fd5d869dc30fec82dc13312a10f79f7e8b6bdd | refs/heads/master | 2020-05-19T10:39:51.654958 | 2019-11-20T01:31:35 | 2019-11-20T01:31:35 | 184,976,546 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 865 | h | #ifndef __EPANALYZER_H__
#define __EPANALYZER_H__
#include <string>
#include "SubsysReco.h"
#include "TFile.h"
#include "TTree.h"
#include "TH1.h"
#include "TH2.h"
#include "TH3.h"
#include "TProfile.h"
class EPAnalyzer: public SubsysReco
{
public:
EPAnalyzer(const char* output="rpanase.root");
virtual ~EPAna... | [
"qixu@cern.ch"
] | qixu@cern.ch |
332ced4219951afca6189e038c15656e395322c1 | fa94f664e9c7046b23f18283dc202665804b0f50 | /miniStack.cpp | 8b69748b485fac8ca2b4ee2d37798f061aa334e7 | [] | no_license | caseymsmith/miniStandardTemplateLibrary | 57870fef2bc763ac09370e33bf618244a0d1c83e | 336f927b0ba7106dc3fe107cad8222903638d517 | refs/heads/master | 2021-01-10T13:30:28.508418 | 2016-01-08T05:47:50 | 2016-01-08T05:47:50 | 49,252,202 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,174 | cpp | #include <iostream>
#include "miniStack.h"
using namespace std;
template<class DataType>
miniStackVT<DataType>::miniStackVT(int variable) {
content.reserve(variable);
}
template<class DataType>
miniStackVT<DataType>::~miniStackVT() {
//delete content
}
template<class DataType>
int miniStackVT<DataType>::siz... | [
"csmith20@gulls.salisbury.edu"
] | csmith20@gulls.salisbury.edu |
f6a403feb44b5b10fe93940b831353ea205b0af0 | ab4d778fff3cb960a88b8fb8aac412c3831d0717 | /source/gloperate-glraw/source/glraw.cpp | 6033b19aebe06af662cca032ca5706b0f317cc3d | [
"MIT"
] | permissive | Highlife1911/gloperate | 5e57381ac562c8630cdddd1d78e3be6d9747f9e9 | 8a0a6b0823714c1b950ef4a427848038759e99e0 | refs/heads/master | 2021-01-15T09:43:46.934426 | 2015-08-07T12:03:10 | 2015-08-07T12:03:10 | 36,447,593 | 0 | 0 | null | 2015-07-18T14:51:50 | 2015-05-28T15:23:14 | C++ | UTF-8 | C++ | false | false | 1,397 | cpp | #include <gloperate-glraw/TextureFilter.h>
#include <globjects/logging.h>
#include <glraw/MemoryProcessor.h>
#include <glraw/Converter.h>
#include <glraw/filter/Filter.hpp>
namespace gloperate_glraw
{
TextureFilter::TextureFilter(std::unique_ptr<gloperate_qt::QtOpenGLWindow>& canvas)
: m_pipeline(new glraw::Memory... | [
"Highlife1911@github.com"
] | Highlife1911@github.com |
ef44f21eb3b893892f2192b1fc9609e6f19c4723 | 9c4f48b6e8c71a0989f04bceb3f223a43d031c15 | /moderate/string_rotation.cpp | 7679866046014ab0d2a578635e613946b08c5de8 | [] | no_license | joeyuan19/CodeEval | c1c696cc7ad4f00e67e788cc6b707fe859aad70d | cf85c8665a6d1b541be7d5aae7d66ce76c32c37b | refs/heads/master | 2020-04-04T22:24:18.680053 | 2018-11-06T03:53:05 | 2018-11-06T03:53:05 | 156,322,997 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 785 | cpp | #include <iostream>
#include <fstream>
#include <string>
using namespace std;
void process(string line) {
int idx = line.find(","), i, j, k;
string a = line.substr(0,idx), b = line.substr(idx+1,line.size()-(idx+1));
bool found;
for (i = 0; i < b.size(); i++) {
found = true;
for (j = 0,... | [
"joe.yuan19@gmail.com"
] | joe.yuan19@gmail.com |
1460767cf230bfbab8e1c20e86ca30d7f5f21c32 | 159aed4755e47623d0aa7b652e178296be5c9604 | /src/swganh_core/messages/chat/chat_on_moderator_add.h | ee0a6b078ad12d4b7e662663bb0ccb740ef20660 | [
"MIT"
] | permissive | anhstudios/swganh | fb67d42776864b1371e95f769f6864d0784061a3 | 41c519f6cdef5a1c68b369e760781652ece7fec9 | refs/heads/develop | 2020-12-24T16:15:31.813207 | 2016-03-08T03:54:32 | 2016-03-08T03:54:32 | 1,380,891 | 33 | 44 | null | 2016-03-08T03:54:32 | 2011-02-18T02:32:45 | Python | UTF-8 | C++ | false | false | 1,543 | h | // This file is part of SWGANH which is released under the MIT license.
// See file LICENSE or go to http://swganh.com/LICENSE
#pragma once
#include <cstdint>
#include "swganh/byte_buffer.h"
#include "swganh_core/messages/base_swg_message.h"
namespace swganh
{
namespace messages
{
struct ChatOnModeratorAdd : public ... | [
"rwl3564@rit.edu"
] | rwl3564@rit.edu |
00577da09758e8035b0d5b44f1ccc7ee36ba4e13 | 46995d862d409431657efdd8b317d1a596c70bff | /shared/poco/include/Poco/Runnable.h | 69797928397382ec4d4b6de7d7a5100f88f89a1e | [] | no_license | killvxk/zerokit | 576b133232c588faef42d66e23bd156118649c7e | 29fe947fafdd590b4dc72391a8441a22f3f83123 | refs/heads/master | 2020-05-02T19:06:57.743802 | 2019-04-15T02:06:19 | 2019-04-15T02:06:19 | 178,149,584 | 1 | 0 | null | 2019-04-15T02:06:20 | 2019-03-28T07:28:31 | C | UTF-8 | C++ | false | false | 885 | h | //
// Runnable.h
//
// $Id: //poco/1.4/Foundation/include/Poco/Runnable.h#1 $
//
// Library: Foundation
// Package: Threading
// Module: Thread
//
// Definition of the Runnable class.
//
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Ide... | [
"darkabode@tuta.io"
] | darkabode@tuta.io |
6c2827665774445eb6f0216ca525dc30ba1d280c | 5f8bc8c43179bbb552bab217af4af6dc4bd1b3ad | /PROG20799/c_program/cint/cint-5.16.19-source/cint-5.16.19/test/t993.c | 00a5462f727176f015305c69e0695c6c3ee35054 | [
"MIT"
] | permissive | juliosueiras/Winter2015Class | 03b5f47ab0866b20aa4240879e664cc384799f33 | 1ef3cbb312afe9d0797f7167e340c19abd393a34 | refs/heads/master | 2020-04-10T21:05:31.931725 | 2015-03-09T15:00:01 | 2015-03-09T15:00:01 | 30,904,651 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 848 | c | /* -*- C++ -*- */
/*************************************************************************
* Copyright(c) 1995~2005 Masaharu Goto (cint@pcroot.cern.ch)
*
* For the licensing terms see the file COPYING
*
************************************************************************/
#ifdef __CINT__
#pragma include "t... | [
"juliosueiras@gmail.com"
] | juliosueiras@gmail.com |
7ecfd1350e46f0f408bf3f6aa8e3f2edda8745c0 | eef88446e87f0026988268344c29fdf30d03d015 | /src/qt/bitcoinunits.cpp | da232b8c7901283d9000c3b287dc371183e38e91 | [
"MIT"
] | permissive | examyes/fsc2 | 118e4c0341f1c09e13542bf0d29258f17e3a0796 | f27e807db711b8ac456350697f8c662c61464ce2 | refs/heads/master | 2020-03-23T21:19:33.282420 | 2015-01-16T10:04:19 | 2015-01-16T10:04:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,308 | cpp | #include "bitcoinunits.h"
#include <QStringList>
BitcoinUnits::BitcoinUnits(QObject *parent):
QAbstractListModel(parent),
unitlist(availableUnits())
{
}
QList<BitcoinUnits::Unit> BitcoinUnits::availableUnits()
{
QList<BitcoinUnits::Unit> unitlist;
unitlist.append(BTC);
unitlist.append(mBT... | [
"tviho@users.noreply.github.com"
] | tviho@users.noreply.github.com |
dddfcf20ed12d3000c31172c95fdbabac1dda38c | b6e8a1fa1085a52d7ba6ed6b6f11dbd82905f3ba | /source/mac/brcriticalsectionmac.cpp | 1105284e9d68d2b895e7238a9ba4adc5faaa594f | [
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"Zlib"
] | permissive | etsangsplk/burgerlib | ed4039b175ec96fe28c0ccd52d19f5715fbeccc9 | bec821be1ba1d7fbe08e3b128b086158d3bb1b21 | refs/heads/master | 2022-04-03T20:56:46.598519 | 2020-02-24T09:25:15 | 2020-02-24T09:25:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,337 | cpp | /***************************************
Class to handle critical sections, MacOS version
Copyright (c) 1995-2017 by Rebecca Ann Heineman <becky@burgerbecky.com>
It is released under an MIT Open Source license. Please see LICENSE
for license details. Yes, you can use it in a
commercial title without paying anyt... | [
"becky@burgerbecky.com"
] | becky@burgerbecky.com |
18827d73ea02edb84dee76aa43ce9f127eee0278 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /chrome/browser/ash/system_web_apps/apps/calculator_app/calculator_app_utils.cc | a87ec60d860e2189484bce8d9f25e7302fa26eb3 | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 822 | cc | // Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ash/system_web_apps/apps/calculator_app/calculator_app_utils.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/web_applications... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
4b229a49e2c2dc882507794148f6a92b6205ea61 | d8dde07d7c9cf75f7f18a91ab1dd74a4a261a9e7 | /tmpleate-2020/code/Graph/BZOJ 1001 [BeiJing2006]狼抓兔子[平面对偶][MLE].cpp | 0542c7251d094ffe5e3b8a66fa08c3ad06613904 | [] | no_license | tiankonguse/ACM | 349109d3804e5b1a1de109ec48a2cb3b0dceaafc | ef70b8794c560cb87a6ba8f267e0cc5e9d06c31b | refs/heads/master | 2022-10-09T19:58:38.805515 | 2022-09-30T06:59:53 | 2022-09-30T06:59:53 | 8,998,504 | 82 | 51 | null | 2020-11-09T05:17:09 | 2013-03-25T04:04:26 | C++ | UTF-8 | C++ | false | false | 21,390 | cpp | /** Micro Mezz o Macro Flation -- Overheated Economy ., Last Update: Mar. 3th 2013 **/ //{
/** Header .. **/ //{
#define LOCAL
#include <functional>
#include <algorithm>
#include <iostream>
#include <fstream>
#include <sstream>
#include <iomanip>
#include <numeric>
#include <cstring>
#include <climits>
#include <cas... | [
"i@tiankonguse.com"
] | i@tiankonguse.com |
96d059195ebae19e7e27429c307f0dafe55a5a16 | 29f46c2ed1c86ffe375c857a77733362486184a1 | /LinkedListClass.cpp | bd45e208e8d9835874b79dbd59229e90d0c79ee7 | [
"Unlicense"
] | permissive | viditaggarwal/mycode | 8441223e15116600510d529c5d117bdad44afbde | 4b55ddb736b1c2de61271318c56fb320fbc5d53a | refs/heads/master | 2021-01-02T08:51:30.403987 | 2014-02-27T21:10:47 | 2014-02-27T21:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,565 | cpp | #include<iostream>
using namespace std;
class node{
int data;
node *next;
public:
node(){
}
node(int n){
this->data = n;
this->next = NULL;
}
node *insert(node *first, int n){
if(first == NULL){
first = new node(n);
}else{
node *nn = new node(n);
nn->next = first;
first = ... | [
"viditagg@usc.edu"
] | viditagg@usc.edu |
4e2330b4717f9031076febd1cc92f6eb1de4f2ff | fef3824265f663fcbb4e6c2f723c8273d08d11ad | /plotter.h | 612a2da569650eed9c3974dcaa8f64db276ece6b | [] | no_license | BrandonScheitlin/Break-Game | 7cbf905d7e3f379e8c5a2898e69e7c96a4e1c26b | 664a8cc0aebe8dc990032804d2f59e657fc239df | refs/heads/master | 2020-05-23T14:24:46.666399 | 2014-11-24T01:28:28 | 2014-11-24T01:28:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 874 | h | #ifndef PLOTTER_H_
#define PLOTTER_H_
#include <windows.h>
#include <mmsystem.h>
#include <conio.h>
const char SQUARE = 219;
const char LEFT = 221;
const char RIGHT = 222;
const char TOP = 223;
const char BOTTOM = 220;
const char BLANK = ' ';
enum ink
{
black = 0x00, darkblue = 0x01, darkgreen = 0x02,... | [
"Brandon_Scheitlin@baylor.edu"
] | Brandon_Scheitlin@baylor.edu |
836ec31a908f611dd868a4364c7ef3bf81c46603 | ba5eabcf0e3880a4cc86e9222fcb2ecd5f53b103 | /src/gpu/graphite/GraphicsPipeline.cpp | 1c3fbad74280c8dcbed2ba3362df1414ae433831 | [
"BSD-3-Clause"
] | permissive | aseprite/skia | d2b63003610c796594e81deea093eb6b13704838 | 478f512f7a84658167d9f83f35d42fb0903b4a37 | refs/heads/aseprite-m102 | 2023-08-24T00:47:30.288547 | 2023-02-28T20:21:26 | 2023-03-03T18:12:59 | 45,053,736 | 139 | 51 | BSD-3-Clause | 2023-03-03T18:14:21 | 2015-10-27T16:20:42 | C++ | UTF-8 | C++ | false | false | 386 | cpp | /*
* Copyright 2021 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "src/gpu/graphite/GraphicsPipeline.h"
namespace skgpu::graphite {
GraphicsPipeline::GraphicsPipeline(const Gpu* gpu) : Resource(gpu, Ownership::kOwned) {
}
Graphics... | [
"skcq-be@skia-corp.google.com.iam.gserviceaccount.com"
] | skcq-be@skia-corp.google.com.iam.gserviceaccount.com |
1e2747dd4bf444f3a5b56e9f6857e06b868574ce | 493ac26ce835200f4844e78d8319156eae5b21f4 | /flow_simulation/ideal_flow/0.95/epsilon | 3d24a67accc29d629babceb85e0fdd9e5b355434 | [] | no_license | mohan-padmanabha/worm_project | 46f65090b06a2659a49b77cbde3844410c978954 | 7a39f9384034e381d5f71191122457a740de3ff0 | refs/heads/master | 2022-12-14T14:41:21.237400 | 2020-08-21T13:33:10 | 2020-08-21T13:33:10 | 289,277,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 56,190 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | [
"mohan.2611@gmail.com"
] | mohan.2611@gmail.com | |
4bc1b9a9dcb7aba2d6fc8e9ef6f09087684c024b | ea5e24990d56c94ba9bff975c6358c197dad9df2 | /socket/src/scheduler.cpp | 41bd68c0afb2ad79ef2f69aca862780ea013f895 | [] | no_license | jinliangwei/CommTest | 921e69788dad35b6d10a6f1b1a16c3a2f5426899 | ce3ed6119a8f0d3107b9e271de64038bf6d62069 | refs/heads/master | 2021-01-17T14:53:57.135880 | 2013-06-13T17:00:03 | 2013-06-13T17:00:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,027 | cpp |
#include <boost/program_options.hpp>
namespace boost_po = boost::program_options;
#include "threadpool.hpp"
#include "util.hpp"
#include "tcp_comm.hpp"
#include <string.h>
#include <stdio.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <assert.h>
#include <semaphore.h>
int loglevel = 0;
using namespace co... | [
"jinliangwei1@gmail.com"
] | jinliangwei1@gmail.com |
9b006f943f4158e0c19a26722c30f5799ccf5047 | e5e0d729f082999a9bec142611365b00f7bfc684 | /tensorflow/stream_executor/cuda/cuda_runtime_12_0.inc | 1ef990d04d76a7bf2de2f0027096bd9bdb46f9a9 | [
"Apache-2.0"
] | permissive | NVIDIA/tensorflow | ed6294098c7354dfc9f09631fc5ae22dbc278138 | 7cbba04a2ee16d21309eefad5be6585183a2d5a9 | refs/heads/r1.15.5+nv23.03 | 2023-08-16T22:25:18.037979 | 2023-08-03T22:09:23 | 2023-08-03T22:09:23 | 263,748,045 | 763 | 117 | Apache-2.0 | 2023-07-03T15:45:19 | 2020-05-13T21:34:32 | C++ | UTF-8 | C++ | false | false | 101,713 | inc | // Auto-generated, do not edit.
extern "C" {
extern __host__ cudaError_t CUDARTAPI cudaDeviceReset(void) {
using FuncPtr = cudaError_t(CUDARTAPI *)();
static auto func_ptr = LoadSymbol<FuncPtr>("cudaDeviceReset");
if (!func_ptr) return GetSymbolNotFoundError();
return func_ptr();
}
extern __host__ __cudart_bu... | [
"nluehr@nvidia.com"
] | nluehr@nvidia.com |
42828542de6f1757d93a501d2d594a217acf78be | 7c76235f9909d8569b0dbc75defcceb4174d166c | /backends/smt2/smt2.cc | ca1ceacc7245c211cdc9598a5f289f8f5c968f50 | [
"ISC",
"MIT",
"LicenseRef-scancode-other-copyleft",
"BSD-2-Clause"
] | permissive | gundy/yosys | 121e45b0d7a06f957e4b522a3c9ecc42044b1e60 | 1dd156f5167d9949eccb7abcbc65d9bc74f49ee8 | refs/heads/master | 2020-03-26T10:08:03.250454 | 2018-08-14T21:31:25 | 2018-08-14T21:31:25 | 144,782,458 | 1 | 0 | ISC | 2018-08-14T23:33:59 | 2018-08-14T23:33:59 | null | UTF-8 | C++ | false | false | 60,063 | cc | /*
* yosys -- Yosys Open SYnthesis Suite
*
* Copyright (C) 2012 Clifford Wolf <clifford@clifford.at>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in ... | [
"clifford@clifford.at"
] | clifford@clifford.at |
09c74b716186c7e007fd3f17e915e7b000005892 | 508bfb3220be28811600a2cbf0aabae382f78775 | /AcademicCrawler-sdk/Qt/Qt-4.6.2/include/Qt/qbenchmark.h | 92db35deee7622c6b7c2af5072fa7ae37040359a | [] | no_license | darkbtf/academic-crawler | 295f3bd74b18e700402bc2be59f15694d6195471 | 5dfcb0f1b88b93aa7545ef233344a41570011532 | refs/heads/master | 2021-01-01T19:21:00.162442 | 2011-03-10T16:29:25 | 2011-03-10T16:29:25 | 42,468,175 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,128 | h | /****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtTest module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:... | [
"ulmonkey1987@7c5ce3f8-edad-37de-be84-b98c484540b5"
] | ulmonkey1987@7c5ce3f8-edad-37de-be84-b98c484540b5 |
02777cae9b9cd27c23d2b7960b9fd7ea1e7906eb | 6627d27fc69922f179b14b612b366bbf0bc4eff9 | /old/robots/claymore/executive/auto_drive_straight_neg30.cpp | 93fe80f35076ee9aff57fd9713b635e787fdd390 | [] | no_license | errorcodexero/newarch | 1a4773377197174ae58b6e4ef6d670bf197c643b | e69a864012e09548014ad208affeb8901835a654 | refs/heads/master | 2021-06-03T16:28:41.840622 | 2020-03-15T18:15:08 | 2020-03-15T18:15:08 | 139,747,384 | 9 | 6 | null | 2020-01-31T05:35:34 | 2018-07-04T16:54:36 | C++ | UTF-8 | C++ | false | false | 517 | cpp | #include "autosteps.h"
#include "chain.h"
#include <vector>
using namespace std ;
///////////////////////////////////////////////////////////////////////////////////////
//
// Start: Center
// Action: Score on right switch
//
///////////////////////////////////////////////////////////////////////////////////////
stat... | [
"butchg@comcast.net"
] | butchg@comcast.net |
7157ab126a6ebc72a62a376b7f39e74c274e1c8d | 8ccb3e79e325c7ead24da72880574083cef25697 | /toolbox/src/Clothoids/G2lib.hxx | ef434c6b8e0ac2e26bd98513898bf5449d1b5617 | [
"BSD-2-Clause"
] | permissive | traj-planning-curve/Clothoids | aadea9c5ce4b7796e742a72166df1706734aff3c | 980b7294d00690a4e5c7a174ef3735ddb43e4a6e | refs/heads/master | 2023-03-23T14:05:43.278883 | 2021-02-20T16:22:47 | 2021-02-20T16:22:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 51,060 | hxx | /*--------------------------------------------------------------------------*\
| |
| Copyright (C) 2017 |
| |
| ... | [
"enrico.bertolazzi@unitn.it"
] | enrico.bertolazzi@unitn.it |
808f6118ff1981b930a490abff276e123a3ca1ec | 877f0ffaba231368fedbe84514d84fbbcf2c01f7 | /codeforces/141-A/141-A-30202301.cpp | 7a3d910480366174ac6714a822f926f5dfc02d25 | [] | no_license | AyushAgnihotri/Practise | cb113191b7d958c95c92a296dcb73e64fdd22ef9 | 7822e20233e683004965a6287285097d85734aa8 | refs/heads/master | 2021-03-27T08:45:32.755018 | 2018-03-08T14:43:47 | 2018-03-08T14:43:47 | 119,174,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 233 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
string s,s1,s2;
cin>>s1;
cin>>s2;
cin>>s;
s1=s1+s2;
sort(s.begin(),s.end());
sort(s1.begin(),s1.end());
if(s==s1)
printf("YES");
else
printf("NO");
return 0;
} | [
"hsuyaagnihotri@gmail.com"
] | hsuyaagnihotri@gmail.com |
cf8bd14e524c68dc4673b186af20c63cf0fce8f8 | 3795d26105e3e899f59660115f5ff1e089516130 | /Chapter13/exercises/13.12/BasePlusCommissionEmployee.cpp | 3a3653ce339691fa5d6aa0faa8c8807314fda692 | [] | no_license | PythonYXY/Cpp-How-To-Program-9E | 1ecfce083e2c5bcf16d3780d7067d60572bf0d9f | d13359a839179e78715c89b0d8e27a28942c333f | refs/heads/master | 2021-05-03T07:26:39.202381 | 2018-02-07T11:59:34 | 2018-02-07T11:59:34 | 120,609,419 | 0 | 0 | null | 2018-02-07T11:58:57 | 2018-02-07T11:58:57 | null | UTF-8 | C++ | false | false | 1,680 | cpp | /*
* =====================================================================================
*
* Filename: BasePlusCommissionEmployee.cpp
*
* Description: Fig. 13.16: BasePlusCommissionEmployee member-function
* definition.
*
* Version: 1.0
* Created: 12/08/16 20:08:28... | [
"siidney.watson.work@gmail.com"
] | siidney.watson.work@gmail.com |
4eaab2765a8dbb70ed57b1d676bf56df702b9965 | 53f4fff66f7765d38ba4838b5e58c2e9423ec6a1 | /SlimePreproduction/ControllerTest/XController.h | 2ee48aa6dfe8fbd003446a87dec0a18cf8ad59e7 | [] | no_license | Therrato/Slime | 6b15e4b635fccefb127ef42e1917465b00be8834 | 23d1e629bf32c8f92ad2e0859158a9672d5ed941 | refs/heads/master | 2020-05-19T08:42:43.407076 | 2013-11-26T15:34:40 | 2013-11-26T15:34:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,911 | h | #ifndef _XCONTROLLER_H_
#define _XCONTROLLER_H_
//#include <windows.h>
class XController_InputState;
class XController_VibrationState;
class XController
{
public:
class StickState
{
public:
float dirX;
float dirY;
float magnitude;
StickState(float dirX, float dirY, floa... | [
"r.schroder@live.nl"
] | r.schroder@live.nl |
95e162f9c5a514a31762553deb93519d6aa11dbf | ab26019eb3c85bd192d63c9ae5e542c096aeb01f | /Classes/block.cpp | f250156ed80a508f9ef35adf266d0747168b1d78 | [] | no_license | rangerlcy/GeometryEscape | 8e913715205ef17e7b7cb45d3c7952b1b913bbe7 | f41a4dc8fcf879e32290486d5903e1f4a698cc15 | refs/heads/master | 2021-01-20T21:09:03.849599 | 2016-06-04T07:53:24 | 2016-06-04T07:53:24 | 60,399,358 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 11,046 | cpp | #include "block.h"
USING_NS_CC;
//class block...block1...block2...block3...
bool block::init(){
if (!Node::init()){
return false;
}
return true;
}
//block类里的node进行重新设置成初始状态,但不向右移动
void block::restart(){
Size size = Director::getInstance()->getVisibleSize();
//action = action->clone();
//moveRi... | [
"953389375@qq.com"
] | 953389375@qq.com |
d52479119e25e3b1853377caa662791164d0c076 | 367fba5df552aef1ee9aa6add6bb512b781bc6d4 | /3rdParty/oculus/LibOVR/Src/Displays/OVR_Win32_Display.cpp | 6ddf030bbefabe2d68b3273fd66078c5e27431c6 | [
"LicenseRef-scancode-free-unknown",
"MIT",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | hamoriakos/ApertusVR | 2d3e5736b26404198b222d24388bb3c1c162ee69 | 14303ab54963e52409ed376cdafae5c43004074b | refs/heads/master | 2021-09-16T00:13:48.980732 | 2017-06-28T18:23:14 | 2017-06-28T18:23:14 | 105,749,913 | 0 | 1 | MIT | 2018-06-13T13:54:38 | 2017-10-04T09:11:13 | C++ | UTF-8 | C++ | false | false | 37,525 | cpp | /************************************************************************************
Filename : OVR_Win32_Display.cpp
Content : Win32 Display implementation
Created : May 6, 2014
Authors : Dean Beeler
Copyright : Copyright 2014 Oculus VR, LLC All Rights reserved.
Licensed under the Oculus... | [
"peter.kovacs@sztaki.mta.hu"
] | peter.kovacs@sztaki.mta.hu |
8b1a29369a6743a395514aeee578931025b9fdc3 | 5499e8b91353ef910d2514c8a57a80565ba6f05b | /zircon/system/core/devmgr/fshost/encrypted-volume.cc | d636d7645f0caaa8efd41dcc42622fcd56feb841 | [
"BSD-3-Clause",
"MIT"
] | permissive | winksaville/fuchsia | 410f451b8dfc671f6372cb3de6ff0165a2ef30ec | a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f | refs/heads/master | 2022-11-01T11:57:38.343655 | 2019-11-01T17:06:19 | 2019-11-01T17:06:19 | 223,695,500 | 3 | 2 | BSD-3-Clause | 2022-10-13T13:47:02 | 2019-11-24T05:08:59 | C++ | UTF-8 | C++ | false | false | 3,473 | cc | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "encrypted-volume.h"
#include <lib/fdio/fdio.h>
#include <zircon/status.h>
#include <zxcrypt/fdio-volume.h>
#include <stdio.h>
namespace devmgr... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
53a6644b6c552d8687cd14d361451b0032c8123e | 6ad0661a5143a09ada134afb325e2805bd84345f | /my_sylar/http/ws_server.cc | d3fb3eb70f6d7e377a5d2da50a285017e9b01ed5 | [] | no_license | cirno99/my_sylar | 23148dfe79ab9a126d640f982de6f7b7dea8d6f4 | 2fde4a853eb2d3c4787696e598e1e9f039a1cd3c | refs/heads/main | 2023-03-29T08:14:20.868060 | 2021-04-04T03:18:00 | 2021-04-04T03:18:00 | 354,445,240 | 1 | 0 | null | 2021-04-04T03:16:38 | 2021-04-04T03:16:37 | null | UTF-8 | C++ | false | false | 6,654 | cc | #include "ws_server.hh"
#include "my_sylar/log.hh"
#include "my_sylar/hash.hh"
namespace sylar {
namespace http {
sylar::Logger::ptr g_logger = SYLAR_LOG_NAME("system");
WSSession::WSSession(Socket::ptr sock, bool owner)
: HttpSession(sock, owner) {
}
HttpRequest::ptr WSSe... | [
"hankai17@126.com"
] | hankai17@126.com |
904463046ef9b27dab1cac925c2dec7bc8ef6af4 | 69ceae05a77beb37d613b8edff8ac87d7ea7f276 | /newsf6_1.cpp | 4ea2b7a1b4d74e881f13dcac0e4045647b478b2c | [] | no_license | h2128253372/suanfazuoye | 1f473744dbac78d3890d875a3345b1b229169d24 | eb1c444a9d16d0c26d55fb19017d8339666d6ce1 | refs/heads/master | 2020-12-12T01:01:03.855377 | 2020-01-15T05:10:08 | 2020-01-15T05:10:08 | 234,001,922 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 985 | cpp | #include<stdio.h>
#include<string.h>
#include<algorithm>
using namespace std;
#define MAXN 51
int n=5;
double W=100;
struct NodeType
{
double w;
double v;
double p;
bool operator<(const NodeType &s) const
{
return p>s.p;
}
};
NodeType A[]={{0},{10,20},{20,30},{30,60},{40,40},{50,60}};
double V;
double x[MAXN];
... | [
"abc@qq.com"
] | abc@qq.com |
355afab42f19a04c890c5ad96051e79382913d48 | 9e92923889d571924ef8004b1eb455067ca47c29 | /w1/lab_1_2_geometry/intrinsics.cpp | b961d9deeb35d04d97ab09ab401d1855cdf8ba95 | [] | no_license | styanddty/img4690 | 076ab19358cd7e86f60fb853a1bff378b71a79b2 | 7219bebb3ede2b99ca2a12248e753fa54c0ed287 | refs/heads/master | 2020-06-07T04:46:10.000946 | 2018-02-22T16:55:44 | 2018-02-22T16:55:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,295 | cpp | #include "intrinsics.h"
Eigen::Matrix3d Intrinsics::toCalibrationMatrix()
{
// Todo: Construct the calibration matrix correctly.
Eigen::Matrix3d calib_mat;
calib_mat <<
fu, s, cu,
0., fv, cv,
0., 0., 1.;
return calib_mat;
}
Intrinsics::Vector5d Intrinsics::toDistortionCoefficientVe... | [
"al@localhost.localdomain"
] | al@localhost.localdomain |
eba0c02602a5f4083fd62aefd9c8a5208538c2b5 | 09847ce7040a624f46d5169ffb83173e002c1d1d | /Includes.h | 40eaf1fa5312017e1712e5d9db72c5d380c61d36 | [] | no_license | KellianVITRE/MCLike | 31233e7a9010d4fdade12dcf4a69ebf06b89f8c8 | 0c1fa46e68d36ac093217c88fcf1bf00da58f34c | refs/heads/master | 2020-03-25T02:59:13.169067 | 2018-08-02T16:00:58 | 2018-08-02T16:00:58 | 143,316,933 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 173 | h | #pragma once
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <glm.hpp>
#include <ext.hpp> | [
"38815694+KellianVITRE@users.noreply.github.com"
] | 38815694+KellianVITRE@users.noreply.github.com |
b0fdf06500dfa4e7855bd508ea59a5835630f13f | ad08242a535c95f18d91b750bd9572ea41988782 | /Codeforces/726/A/main.cpp | d115ce1c760db5922a0842ea5cb316da7e2961cf | [] | no_license | AnhDungDoan/UIT-ALGO-BOOTCAMP | 1ef981b2ed26ae0db5a1acca86bac14e5f2e8d9d | bbe4f6fc7081b17e24395852f09666eb2e84d2b0 | refs/heads/master | 2023-07-17T20:06:37.096454 | 2021-08-25T13:51:13 | 2021-08-25T13:51:13 | 366,372,364 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 868 | cpp | /*
author: gnudnaod
create: ..............
*/
#include <bits/stdc++.h>
#define F(i,a,b) for (int i = a; i <= b; i++)
#define _F(i,a,b) for (int i = a; i >= b; i--)
#define ll long long
#define pb push_back
using namespace std;
const int maxn = 100;
int n, s = 0, a[maxn];
int solve()
{
ll n;
cin>>n;
i... | [
"khongphaidoandung@gmail.com"
] | khongphaidoandung@gmail.com |
4177c0f8ed8566e084e2f7962b97e4ec9845dca5 | a36ece85a3f8f38823c25c8b811fdb3edaabcdce | /concurrency-tutorial/09_task_graph.cpp | 9a8461224154dfaa2c887454d3a250c955756e26 | [
"MIT"
] | permissive | lucteo/cppnow2021-examples | f5b7c9be579127947db5e5e204197222160befb8 | 8ad8b9675dc7ed64f8600cdad1c8f96f3e7bfc16 | refs/heads/main | 2023-04-27T10:42:37.366150 | 2021-05-05T20:29:03 | 2021-05-05T20:29:03 | 359,230,980 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,249 | cpp | #include <concore/task_graph.hpp>
#include <concore/finish_task.hpp>
#include "../common/utils.hpp"
#include <memory>
#include <vector>
#include <string>
struct data_stream {};
struct parsed_body {};
struct request_handling_resources {};
struct response_data {};
struct request_data {
// Data stream from which w... | [
"lucteo@lucteo.ro"
] | lucteo@lucteo.ro |
2e20f727abc81330e5c3888e04a46ddfd8fa26e3 | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/Control/DataModelTest/DataModelTestDataRead/DataModelTestDataRead/versions/HVec_v2.h | 063384a5c655893357d435a5eadecdeca6f43477 | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 625 | h | // This file's extension implies that it's C, but it's really -*- C++ -*-.
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
// $Id$
/**
* @file DataModelTestDataRead/versions/HVec_v2.h
* @author scott snyder <snyder@bnl.gov>
* @date Jan, 2016
* @brief Test for xAOD schema evolution.... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
b510c570de39cdb9d9d7084203ec647a503a0d67 | 56440b42d3ff55809d6d1fb12f74ceb6d1a24c2e | /lib/Basic/FileSystemStatCache.cpp | e74dabe42aef5894e6a540c039cbf89b3b9f94f9 | [
"NCSA"
] | permissive | f-akazawa/mlang | b8b3c393b78ee606ef7bba65c6b286832bcf8471 | 393edb214478d4185e594ad85ef02779002e6f72 | refs/heads/master | 2020-04-24T09:02:29.181586 | 2012-06-08T07:20:17 | 2012-06-08T07:20:17 | 34,935,578 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,231 | cpp | //===--- FileSystemStatCache.cpp - Caching for 'stat' calls ---------------===//
//
// Copyright (C) 2010 yabin @ CGCL
// HuaZhong University of Science and Technology, China
//
//===----------------------------------------------------------------------===//
//
// This file defines the FileSystemStatCache interface.
/... | [
"yabin.hwu@gmail.com"
] | yabin.hwu@gmail.com |
291764adfb8a0da68b3ae91b72eedc5ba1d9460a | fb227e3635b5c06e49bad48928f7b6d3254c4dca | /codeforces/gym/samaraVIII2015/i.cpp | 54c0001c02d520cdc9c7535c6eb035b962d57916 | [] | no_license | BryanValeriano/marathon | 5be2ab354e49187c865f0296f7dfb5ab3c3d6c9b | 8dadfad7d1a6822f61ba5ed4a06e998541515634 | refs/heads/master | 2022-09-11T00:06:14.982588 | 2022-09-03T17:01:30 | 2022-09-03T17:01:30 | 141,581,750 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,062 | cpp | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define mk make_pair
#define fi first
#define se second
#define eb emplace_back
typedef long long ll;
typedef pair<int,int> ii;
typedef vector< pair<int,int> > vii;
const int INF = 0x3f3f3f3f;
#define loop(x) for(int i = 0;i < x;i++)
int main() {
... | [
"bryan.b.valeriano@gmail.com"
] | bryan.b.valeriano@gmail.com |
4fe890ee389d34a658c35a9f30c0f5a90d2a6c07 | e7bdc920132010fa7b95eaa278973436ea5fd625 | /MultiAgentCircleMap/include/MultiAgentCircleMap/SingleRobotMapper.h | cf8d4a485c1fcfebcd9e83ce2f1f080e102172c9 | [
"BSD-3-Clause"
] | permissive | algprasad/MultiAgentCircleMap | b31c991160eaaa6251fb2366f66a19482a58d55a | 6a94e75c3bbc57c32b4163666f95b8fd3c40273e | refs/heads/master | 2023-01-29T04:22:05.223627 | 2020-12-08T06:57:15 | 2020-12-08T06:57:15 | 314,688,326 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,031 | h | /**
// Created by alg on 21/11/20.
Main class for the algorithm for mapping with single robot (Local Map)
*/
#ifndef MULTIAGENTCIRCLEMAP_SINGLEROBOTMAPPER_H
#define MULTIAGENTCIRCLEMAP_SINGLEROBOTMAPPER_H
#include "RosHandle.hpp"
#include "Graph.h"
#include "CircleVec.h"
class SingleRobotMapper {
//MultiAgentC... | [
"alg.prasad94@gmail.com"
] | alg.prasad94@gmail.com |
504330b8d8f80a4df92a4106e10dd19433a1fe3f | 9b1a0e9ac2c5ffc35f368ca5108cd8953eb2716d | /4/05 Graphics/15 Fiedler/source/Terrain/DirectX/DirectX.h | 8d701a9ecbb186b052918d8e697373dcd7184d81 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | TomasRejhons/gpg-source-backup | c6993579e96bf5a6d8cba85212f94ec20134df11 | bbc8266c6cd7df8a7e2f5ad638cdcd7f6298052e | refs/heads/main | 2023-06-05T05:14:00.374344 | 2021-06-16T15:08:41 | 2021-06-16T15:08:41 | 377,536,509 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 249 | h | // DirectX classes
#pragma once
/// %DirectX implementation of system interfaces.
namespace DirectX
{
class Error;
class Timer;
class Texture;
class Mesh;
class Light;
class Material;
class Display;
}
| [
"t.rejhons@gmail.com"
] | t.rejhons@gmail.com |
71f8089153f378bfaf4169d7da8926117221b642 | 32f541dd6dcb2121f21b13071678a799eb293f10 | /libraries/chain/include/graphene/chain/eth_seri_record.hpp | bfc1259f02bc7ed8e199bdb884d5269225df825b | [
"MIT"
] | permissive | Whitecoin-XWC/Whitecoin-core | b62de0b712ab8557ecd16dc1d0e4389c439eb3db | 8f15e0764fe60ff8d77228a2aca6bdff723439bd | refs/heads/develop | 2022-12-10T18:12:23.027195 | 2022-11-23T03:53:04 | 2022-11-23T03:53:04 | 397,646,406 | 0 | 3 | MIT | 2022-11-28T01:20:26 | 2021-08-18T15:17:39 | C++ | UTF-8 | C++ | false | false | 9,610 | hpp | #pragma once
#pragma once
#include <graphene/chain/protocol/base.hpp>
#include <graphene/crosschain/crosschain_impl.hpp>
namespace graphene {
namespace chain {
struct eth_series_multi_sol_create_operation :public base_operation {
struct fee_parameters_type {
uint64_t fee = 0.001 * GRAPHENE_XWCCHAIN_PRECISION... | [
"WhitecoinFounder@gmail.com"
] | WhitecoinFounder@gmail.com |
5190b2d16b30f35c8219451d7a66f1b55b588ff9 | ace28e29eaa4ff031fdf7aa4d29bb5d85b46eaa3 | /Visual Mercutio/zModelBP/PSS_SelectMainDeliverableDlg.cpp | d9aa1b22d0364b45a38dc9e1872dfe9532786c57 | [
"MIT"
] | permissive | emtee40/Visual-Mercutio | 675ff3d130783247b97d4b0c8760f931fbba68b3 | f079730005b6ce93d5e184bb7c0893ccced3e3ab | refs/heads/master | 2023-07-16T20:30:29.954088 | 2021-08-16T19:19:57 | 2021-08-16T19:19:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,856 | cpp | /****************************************************************************
* ==> PSS_SelectMainDeliverableDlg ----------------------------------------*
****************************************************************************
* Description : Provides a select the main deliverable dialog box *
* Devel... | [
"jean_milost@hotmail.com"
] | jean_milost@hotmail.com |
583ff0ed9c3cebc2ed3639eb1e6277b536cb4683 | b59fee706f75c9a347c8687b1ab7110ec52a69e7 | /hphp/util/text-util.cpp | fdfcac9c595c9570a76c54a9dbc007601c0aabb9 | [
"Zend-2.0",
"LicenseRef-scancode-unknown-license-reference",
"PHP-3.01"
] | permissive | renesugar/hiphop-php | 4391d30b4a05bad1400aa999155bc83ab1f40086 | 4eb05b745fd3018a6d9e51464cae06a4465ee142 | refs/heads/master | 2020-04-11T04:51:03.875501 | 2013-09-11T18:05:53 | 2013-09-13T19:35:48 | 136,534,446 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,308 | cpp | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
+---------... | [
"sgolemon@fb.com"
] | sgolemon@fb.com |
5b759a4f85f3574111d6043060c3ec9f48b8c2a4 | c78419adfaa363fd2df93a2160a88e3c84e15326 | /IntegerHashes.cpp | 1853d6c7302d514fa83f0d5917c6cf73115e19c4 | [] | no_license | gongx18/CS130A_Programming | 82223fd78d2b77c4f32a58a04d3e4b14e8a64dab | 18fec587e7f5ef85a6c98b49bc6d404cc742e19a | refs/heads/master | 2020-05-19T06:00:32.957447 | 2019-05-08T20:01:43 | 2019-05-08T20:01:43 | 184,860,099 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 861 | cpp | //IntegerHashes.cpp
#include "IntegerHashes.h"
#include <cmath>
IntegerHash::IntegerHash(uint64_t i, uint64_t m) {
this->i = i;
this->m = m;
}
DivisionHash::DivisionHash(uint64_t i, uint64_t m): IntegerHash(i, m) {
// Nothing else to do.
}
uint64_t DivisionHash::hash(uint64_t input) const {
return input * (i... | [
"xi@ucsb.edu"
] | xi@ucsb.edu |
45a36194754588b92fe6f8fe0030afc714585aff | 7a7c2cce3ae4af258d6a72ea9fa25e06e3e17685 | /src/movement/motion/followLine.hpp | 08303174a490aa8d7e633b13c47d5123dcf14bd7 | [] | no_license | jvolmer/gridCar | 47a6f3ca69324b85b9422212bf881be9861b9dd1 | 4af61b063e1c7ebb6e9cdea0e3c61c14a7383738 | refs/heads/main | 2023-08-25T22:56:10.357143 | 2021-10-31T22:19:25 | 2021-10-31T23:11:31 | 400,878,669 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 480 | hpp | #ifndef FOLLOW_LINE_H
#define FOLLOW_LINE_H
#include "motion.hpp"
#include "motionName.hpp"
class Pilot;
class Position;
class Tracker;
class Motor;
// Follows a black line.
// Changes to cross motion at crossing.
class FollowLine: public Motion
{
private:
Pilot& _pilot;
Position& _position;
Tracker& _... | [
"juliavolmer@t-online.de"
] | juliavolmer@t-online.de |
74e79ea28ae498c56e2f7f13ef43e6c09dbc4b56 | cf40f5e56233bdd399ebbb7bd2a054e6126ffd74 | /6.cpp | e1e1166b7938ae368d247ab5a3e6dc055d9425c4 | [] | no_license | Siyiming/os | fe15d95946a824600cd18be8246403be394881cc | a2e1eae026e791ec060a5ebb6c3284bce524d7f2 | refs/heads/master | 2021-05-05T21:27:02.944066 | 2017-12-25T05:56:27 | 2017-12-25T05:56:27 | 115,594,788 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,860 | cpp | #include <stdio.h>
#include <string.h>
#include <stdlib.h>
//#define OUTALLINFO //若要输出详细的进程描述信息则打开宏
#define Max 256
#define time 2 //时间片大小
enum pathread_attr{ //进程的状态信息
runing = 1,
wait,
finsih
};
struct Pthread{ //描述进程信息
char *name;
int come_time;
int need_time;
... | [
"siyiming@hotmail.com"
] | siyiming@hotmail.com |
da3c2eb396efaeafcefab743dab27d068128a364 | 8ddf1ae9e439d54e0ceda6705e0bc49df4c3c39f | /VR_Chatting/Plugins/AdvancedSessionsPlugin-4-22/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Mac/UE4Editor/Inc/AdvancedSteamSessions/AdvancedSteamFriendsLibrary.gen.cpp | 65de3f2dd0fac8a7cfeadc42f78bb20267299ac9 | [
"MIT"
] | permissive | Yuni-Children/VR_Chatting | 4a951a33035c30247cf0c1b5930fcd05e4227e2c | 8cec0c224a9ca10ce32093901b5a0bc2323cc4a8 | refs/heads/master | 2022-07-15T00:58:36.856074 | 2020-05-19T10:23:15 | 2020-05-19T10:23:15 | 264,922,475 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 67,691 | cpp | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
==========================================================... | [
"gur6531@naver.com"
] | gur6531@naver.com |
74aacbe3bfbb9132d629dd7e79db95a21b9e949f | 21b9424c7e4391ba179d35861b6fbdff5f937139 | /Plugins/UnityAds/Source/UnityAds/Classes/UnityAdsComponent.h | 193ff6c636252fe77d351853549abef5ca265d8c | [
"MIT"
] | permissive | yewshong/NakJadiPM | 5cad5444218d0a6ad04fd5d0177199950308e345 | 8206e932e16ea3546414ad25d631fc60d660beea | refs/heads/master | 2021-01-12T05:31:03.439085 | 2017-07-04T12:01:38 | 2017-07-04T12:01:38 | 77,944,489 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,109 | h |
#pragma once
#include "UnityAdsFunctions.h"
#include "UnityAdsComponent.generated.h"
UCLASS(ClassGroup=Advertising, HideCategories=(Activation, "Components|Activation", Collision), meta=(BlueprintSpawnableComponent))
class UUnityAdsComponent : public UActorComponent
{
GENERATED_BODY()
public:
DECLARE_MULTICAST_... | [
"yewshong@gmail.com"
] | yewshong@gmail.com |
6771fe42dd0dfa083f64421bc90b51aba4192f15 | f11d4bf90db786cf030c402d2f37de55db1d404e | /ch6/6.44.cpp | 1322dedb4191d773238b7cb5bcdb060d29c2dc02 | [] | no_license | owhyy/cpp-primer | 6d1369fee5774256d5fe46c60d8527dc288901f5 | de22aa737c0af560ae168a8f34405f5de7e4fd66 | refs/heads/main | 2023-06-10T12:32:42.456219 | 2021-07-01T07:07:50 | 2021-07-01T07:07:50 | 361,112,875 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 355 | cpp | #include <iostream>
#include <vector>
#include <string>
#include <fstream>
using namespace std;
using std::string;
using std::vector;
inline bool isShorter(const string &s1, const string &s2)
{
return s1.size() > s2.size();
}
int main()
{
string s1 = "ana are mere";
string s2 = "yes";
cout << isShort... | [
"ionbabin123@mail.ru"
] | ionbabin123@mail.ru |
09e1038da106aba30e426af17eb96c6032cd5319 | 42f1cbf1c8bd1838cf8857c325d5ac2d7a626692 | /C_year2/Prob_Solve_CPE/week3/b04.cpp | 8edbe691c433d2416825c85cb14d2643bb2c0a5f | [] | no_license | Kritsatorn/Competitive-programming | dff3fc9b090f61a00af14374ba3edcf00a82d813 | fc38afb8696847a9372464765b2dd23bb6c07472 | refs/heads/main | 2023-03-27T21:40:34.559210 | 2021-03-28T05:07:01 | 2021-03-28T05:07:01 | 339,636,834 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 824 | cpp | #include<stdio.h>
#include<list>
#include<iterator>
#include<iostream>
#include<string.h>
using namespace std;
int main(int argc, char const *argv[])
{
/* code */
int n;
list<int> list;
scanf("%d",&n);
for(int i=0; i<n ;i++) {
char s[20];
int num ;
scanf("%s",s);
// printf("%s\... | [
"kritsatornsaengweang@MacBook-Pro-4.local"
] | kritsatornsaengweang@MacBook-Pro-4.local |
547f1e24e9b69e7ae85612421c4c618546e66600 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE789_Uncontrolled_Mem_Alloc/s02/CWE789_Uncontrolled_Mem_Alloc__new_char_fscanf_18.cpp | 0764507e2b5145f47f901e4a126a52851b352f6a | [] | 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 | 4,864 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE789_Uncontrolled_Mem_Alloc__new_char_fscanf_18.cpp
Label Definition File: CWE789_Uncontrolled_Mem_Alloc__new.label.xml
Template File: sources-sinks-18.tmpl.cpp
*/
/*
* @description
* CWE: 789 Uncontrolled Memory Allocation
* BadSource: fscanf Read data from th... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
bcdfc06c1bce0cd495040dd1f0815315deb83883 | 6675d1184aea50d9f655e472373d43fa5c35c1ed | /Source/Samples/Publisher/publisher.cpp | 917294d56a5cd1b4bfa2bd63ce5a289ad42ee0c1 | [
"MIT"
] | permissive | LeoYang-Chuese/EventBus | 5dda143b9a80c59768687d6a2746935f2c3117fa | f3dddca26503ba64cc9243edb955633b0d20c12e | refs/heads/master | 2022-12-31T04:49:36.323548 | 2020-10-24T16:39:27 | 2020-10-24T16:39:27 | 306,925,591 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 650 | cpp | #include "pch.h"
#include "publisher.h"
#include "../../EventBus/event_bus.h"
#include "../Shared/entities.h"
#include "../Shared/message_token.h"
using namespace frontier;
/// <summary>
/// 获取事件总线默认实例。
/// </summary>
event_bus& bus = event_bus::get_default();
/// <summary>
/// 发布消息。
/// </summary>
void publisher:... | [
"leolion610@outlook.com"
] | leolion610@outlook.com |
ced4fed68a43ecca34a810eb137310048feb2972 | b33cd5cc98cd79b890849b82e4c5ac303a70d0cd | /external/peparse/nt-headers.h | 033d267e0712820622777aaf046e1ad33ee01fb7 | [
"MIT",
"LicenseRef-scancode-free-unknown",
"BSD-2-Clause"
] | permissive | Mdlglobal-atlassian-net/orbit | 4b70f4b8390ef51e5255d67a7d1153d96eae303a | e054374f69c7609b94d47c77d2f31b77dafdbf5d | refs/heads/master | 2022-08-19T04:48:10.568686 | 2020-05-19T18:51:15 | 2020-05-19T18:51:15 | 265,451,708 | 0 | 1 | BSD-2-Clause | 2020-05-20T04:31:51 | 2020-05-20T04:31:50 | null | UTF-8 | C++ | false | false | 9,484 | h | /*
The MIT License (MIT)
Copyright (c) 2013 Andrew Ruef
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, modify, merge, p... | [
"pierric.gimmig@gmail.com"
] | pierric.gimmig@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.