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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3d8cc73a8b914d36bec85ac431a29dec2db5f721 | a39c53a90833972e162944c109bd1c735ffe886e | /1_ CS-2420-601/1_Projects/Project 2/CS-2420_Program_2_RCA_V3.0/CS-2420_Program_2_RCA_V3.0/SingleList.cpp | 2b9fee67a172f8c52aa2dc9760996687c4f8177a | [] | no_license | Zamzee/1_SPRING-2015 | b3316642af662d2998e6ce4fe175b5c8c4091d1d | 390a719509d589c074d304fc1fb5c9d0e851abd6 | refs/heads/master | 2021-01-10T19:00:05.290201 | 2015-04-18T18:22:12 | 2015-04-18T18:22:12 | 29,507,793 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,230 | cpp | /////////////////////////////////////////
// File Prologue
// Author: Russell Andlauer
// Class: CS-2420-601
// Project: Program 2 - Linked Lists
// Date Last Modified: February 5th, 2015
/////////////////////////////////////////
#include "SingleList.h"
SingleList::SingleList()
{
Node* head = nullptr;
int count = 0... | [
"randlauer@gmail.com"
] | randlauer@gmail.com |
67d6ffb31aca2c67cd6579f79e83dd4389119e33 | 28aeecd4968c3285f46bc5428814e7a1cac22587 | /pmdk-include/libpmemobj++/install/include/libpmemobj++/utils.hpp | 8e0a058f699d0b5934a3868eb6cb37753f0ac798 | [
"BSD-2-Clause"
] | permissive | GlitterIsMe/rocksdb-pmdk | 740c9ce5c5fe815697e4564d33dea7f80bab7276 | c50f32fca8e94334d343fb97a7489090e4d3bb4a | refs/heads/master | 2020-04-05T14:49:24.758032 | 2018-11-10T12:29:37 | 2018-11-10T12:29:37 | 156,942,170 | 0 | 0 | BSD-2-Clause | 2019-07-15T07:31:42 | 2018-11-10T03:03:22 | C++ | UTF-8 | C++ | false | false | 2,886 | hpp | /*
* Copyright 2016-2017, Intel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and ... | [
"coderhzx@gmail.com"
] | coderhzx@gmail.com |
11cfaf49e5d6c820c963cc8df9110cd4b82f4e3f | 1d7ab0a15d66449b00b11687cf8f5a5e4cf4c3a3 | /Game/zNPCTypeBossSB2.cpp | 3b567c77e704bb1718f96592b901609b7d9c33a2 | [] | no_license | seilweiss/bfbbpc-old | 5be41b728cc9b5f21af655226efbb5a94fd1a3ce | 0459d01f9fa33cc46b5247399e3d2aab9b38e09e | refs/heads/master | 2023-03-04T01:47:58.869582 | 2020-07-20T02:41:49 | 2020-07-20T02:41:49 | 258,961,400 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 144 | cpp | #include "zNPCTypeBossSB2.h"
#include "print.h"
xAnimTable *ZNPC_AnimTable_BossSB2()
{
BFBBSTUB("ZNPC_AnimTable_BossSB2");
return 0;
} | [
"32021834+seilweiss@users.noreply.github.com"
] | 32021834+seilweiss@users.noreply.github.com |
79518f83fae895c7cc40f00455c42188b0242355 | 4a158febef59077abb201c7ed658892d2c6507f9 | /Spatial/impl/Container.cpp | 9db155f0bf4baed371b70cbc73e420e2ce3130ba | [] | no_license | hard7/boostGeometryDemo | bb3ba0995f422ebc6d04e8bbc4a0f9520e74290b | ca60554fc2d2fca542885ccc3d001a4df1bdb05f | refs/heads/master | 2021-01-10T11:03:36.129215 | 2016-08-16T04:51:40 | 2016-08-16T04:51:40 | 55,776,200 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,754 | cpp | #include "../Container.h"
#include "box.h"
#include <boost/geometry.hpp>
#include <boost/geometry/geometries/register/point.hpp>
#include <boost/geometry/geometries/register/box.hpp>
#include <boost/range/adaptor/indexed.hpp>
#include <boost/range/adaptor/transformed.hpp>
#include <boost/geometry/algorithms/intersectio... | [
"anosov@ivc.nnov.ru"
] | anosov@ivc.nnov.ru |
b56e7dd75b356f637b7a0cca1b9f21063d5d966c | 1998ec53473d93b6d38fe83469a2f6d610c98e34 | /ARFinal/Temp/il2cppOutput/il2cppOutput/Generics2.cpp | 720eede9e07f15a796224981008e907494365547 | [] | no_license | obrana/carParking | 3342e8a7d7306f309c8dd6cf526795e7b4b5eb43 | 6d21838b685b2f4cbaaafe0e4f07200f3342f2b9 | refs/heads/master | 2020-11-25T14:39:11.035971 | 2019-12-17T23:37:22 | 2019-12-17T23:37:22 | 228,719,536 | 0 | 0 | null | 2019-12-17T23:37:23 | 2019-12-17T23:31:43 | null | UTF-8 | C++ | false | false | 1,561,567 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "codegen/il2cpp-codegen.h"
#include "il2cpp-object-internals.h"
template ... | [
"ome.bikram@gmail.com"
] | ome.bikram@gmail.com |
cc989757c805752961db1e808a046b05f4ef0ff0 | 51a58bcf0dc5436e20241180efa7476bfd1937a9 | /Qt/Gui/main.cpp | 37de4122690bd0a8d2a2c5b7266aa779f28d52b5 | [] | no_license | ChaofanChen/ogs5_bhe | 63b6f016f76f8d793efb69eb90efb78069d7dfcb | 18db624140f64631a9652e9bff5c7f8083201b8c | refs/heads/master | 2020-03-12T15:22:10.125612 | 2018-12-14T11:29:29 | 2018-12-14T11:29:29 | 130,688,198 | 0 | 2 | null | 2018-06-12T22:58:55 | 2018-04-23T11:47:05 | C++ | UTF-8 | C++ | false | false | 555 | cpp | #include "Configure.h"
#include "mainwindow.h"
#include <QtGui/QApplication>
#ifdef OGS_USE_OPENSG
#include <OpenSG/OSGBaseFunctions.h>
#endif
int main(int argc, char* argv[])
{
#ifdef OGS_USE_OPENSG
OSG::osgInit(argc, argv);
#endif
QApplication a(argc, argv);
setlocale(LC_NUMERIC,"C");
MainWindow* w = new MainWi... | [
"lars.bilke@ufz.de"
] | lars.bilke@ufz.de |
169b9c6fcff99d3416385dfcb2f33da9efed900c | 648369cb70b5016d2d22681e7c6f7a71a24995be | /practice/graph_zzt/graph.cpp | 8d228aa8cf6585407a79c379fddd821a4ae783d4 | [] | no_license | Alexander5421/PAT | d044003027481bdd260a4a0dae8a8a8c764377a9 | 80a97336b7f2a39d8724fb798da383b42009e90c | refs/heads/master | 2023-03-29T18:15:54.520079 | 2021-04-07T04:10:11 | 2021-04-07T04:10:11 | 355,408,452 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,138 | cpp | #include<iostream>
#include<vector>
#include<set>
using namespace std;
struct node {int t1, t2;};
int main(int argc, char const *argv[])
{
int N, M,K;
cin >> N >> M;
vector<node> v(M);
for (size_t i = 0; i < M; i++)
{
int vertex1, vertex2;
cin >> vertex1 >> vertex2;
v[i].t... | [
"zhanyuf2@illinois.edu"
] | zhanyuf2@illinois.edu |
7163fcbfc3ea2210c7ef3097b1287213da73826c | 67fc9e51437e351579fe9d2d349040c25936472a | /wrappers/8.1.1/vtkRectilinearGridOutlineFilterWrap.cc | aa6923d5320b325d964d4ddf6605a3285bc77c26 | [] | permissive | axkibe/node-vtk | 51b3207c7a7d3b59a4dd46a51e754984c3302dec | 900ad7b5500f672519da5aa24c99aa5a96466ef3 | refs/heads/master | 2023-03-05T07:45:45.577220 | 2020-03-30T09:31:07 | 2020-03-30T09:31:07 | 48,490,707 | 6 | 0 | BSD-3-Clause | 2022-12-07T20:41:45 | 2015-12-23T12:58:43 | C++ | UTF-8 | C++ | false | false | 4,928 | cc | /* this file has been autogenerated by vtkNodeJsWrap */
/* editing this might proof futile */
#define VTK_WRAPPING_CXX
#define VTK_STREAMS_FWD_ONLY
#include <nan.h>
#include "vtkPolyDataAlgorithmWrap.h"
#include "vtkRectilinearGridOutlineFilterWrap.h"
#include "vtkObjectBaseWrap.h"
#include "../../plus/plus.h"
using... | [
"axkibe@gmail.com"
] | axkibe@gmail.com |
4acc3c7962d5da6d5d81ee64d8370b62cb0ace9f | b52c1e5d62ca399bd4be4fd03d3aa609f98bac04 | /task1/src/LocalBuffer.cpp | f386ccaa0c75b3a2ae32c9a0b4d64ff016bb9c40 | [] | no_license | eranbh/lab1 | ba3218b721b2591c963945e57457b35d47f53ab2 | 14f92258db22ae39b2fa0c580d0c50eeb047c1d4 | refs/heads/local_building | 2021-05-25T09:50:28.927160 | 2016-05-21T08:51:03 | 2016-05-21T08:51:03 | 42,773,472 | 0 | 0 | null | 2018-12-02T10:41:56 | 2015-09-19T13:14:54 | C++ | UTF-8 | C++ | false | false | 387 | cpp | #include "LocalBuffer.h"
/*
template <class TYPE>
LocalBuffer<TYPE>::LocalBuffer(UQWordType xi_bufferSize)
{
m_buffer = new (nothrow) TYPE[xi_bufferSize];
if (m_buffer == NULL) {
cout << "failed too allocate buffer. size: " << xi_bufferSize << endl;
throw exception();
}
}
template <class TYPE>
T... | [
"eran.benhorin@gmail.com"
] | eran.benhorin@gmail.com |
ab1d8069c3b7088d3cecbe73dc108b41da7396a3 | a4969a529a33a93366dca995d7b7ed9685cb98a3 | /Tutorial1/src/PrimaryGeneratorAction.cc | 1a8955583d41646faff9a6e33960f0ac1dadfe55 | [] | no_license | wjcheon/education_geant4 | f4100d7eebee6b8a0fbe2827db6e6c87232d5413 | 81b6f8c62aa08a9c604e407265f21a6cb200d705 | refs/heads/master | 2021-01-20T07:12:37.659876 | 2017-05-02T01:04:38 | 2017-05-02T01:04:38 | 89,975,787 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,135 | cc | // ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. ... | [
"wonjoongcheon@gmail.com"
] | wonjoongcheon@gmail.com |
157b1d2f904cc56e56cdbc44d12d62363522e6c2 | 60db84d8cb6a58bdb3fb8df8db954d9d66024137 | /android-cpp-sdk/platforms/android-7/android/database/CursorWrapper.hpp | f92356b14e1ef261ad32d2448cc460a7f209a235 | [
"BSL-1.0"
] | permissive | tpurtell/android-cpp-sdk | ba853335b3a5bd7e2b5c56dcb5a5be848da6550c | 8313bb88332c5476645d5850fe5fdee8998c2415 | refs/heads/master | 2021-01-10T20:46:37.322718 | 2012-07-17T22:06:16 | 2012-07-17T22:06:16 | 37,555,992 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 21,788 | hpp | /*================================================================================
code generated by: java2cpp
author: Zoran Angelov, mailto://baldzar@gmail.com
class: android.database.CursorWrapper
================================================================================*/
#ifndef J2CPP_INCLUDE_I... | [
"baldzar@gmail.com"
] | baldzar@gmail.com |
0b0cbc79de547ce54bea755e340560733c3fc068 | 8ccb631069cb9847c599d014b4e426e17e92c092 | /lab1/Rendering/GeometryViewer.cpp | 307b0b3cb073af6c9080c702f6e5a88193a9f9eb | [] | no_license | lxuan94-pp/CG1 | 11d29c9f889deef1fd9db93b62f0cd40516fb8f2 | 225c08251b0981215665e32053f1484ea082d5c6 | refs/heads/master | 2022-12-02T14:45:41.364677 | 2020-08-18T19:38:10 | 2020-08-18T19:38:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,575 | cpp | #include "Rendering/GeometryViewer.h"
#include "Common/TinyGeom.h"
#include <FL/gl.h>
#include <GL/glu.h>
#include <iostream>
using namespace std;
extern "C"{
#include "Common/bmpfile.h"
}
using namespace TinyGeom;
GeometryViewer::GeometryViewer(int x, int y, int w, int h, const char* l)
: Fl_Gl_Window(x,y,w,h,... | [
"729022080@qq.com"
] | 729022080@qq.com |
ee45de92c67be6e8c2ac34ad7e881a166e40c1e2 | 31aa0bd1eaad4cd452d0e2c367d8905f8ed44ba3 | /algorithms/removeLinkedListElements/removeLinkedListElements.cpp | 934492411907db8a85dc3ad85b873898648c3c01 | [] | no_license | Sean-Lan/leetcode | 0bb0bfaf3a63d483794a0e5213a983db3bbe6ef6 | 1583c1b81c30140df78d188c327413a351d8c0af | refs/heads/master | 2021-04-19T02:49:33.572569 | 2021-01-04T01:40:06 | 2021-01-04T01:40:06 | 33,580,092 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,256 | cpp | /**
*
* Sean
* 2016-09-28
* https://leetcode.com/problems/remove-linked-list-elements/
*
* Remove all elements from a linked list of integers that have value val.
*
* Example
* Given: 1 --> 2 --> 6 --> 3 --> 4 --> 5 --> 6, val = 6
* Return: 1 --> 2 --> 3 --> 4 --> 5
*
*/
#include <iostream>
using namespace ... | [
"sean.lan.thu@gmail.com"
] | sean.lan.thu@gmail.com |
085c51f7b19b982c543cf8fd54c3cdb1d9a581c2 | e9cd80f63e3934b3ae493ca6e285415b2cc0928e | /GUM_mk3/sim_cell.h | ad4244ae6b04108ab5760f65f30b5030245991d0 | [] | no_license | bjblank2/MC_code_for_review | 9dba29f6100306d3e5fa48ec8592ec62c9b67810 | f44d18a6e2975ef7177d1eae9349d66b8cad3c5b | refs/heads/main | 2023-03-30T23:48:25.200202 | 2021-03-26T19:45:17 | 2021-03-26T19:45:17 | 351,894,666 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,267 | h | #pragma once
#ifndef sim_cell_h
#define sim_cell_h
#include <random>
#include <chrono>
#include <vector>
#include <string>
#include <fstream>
#include <iterator>
#include <iostream>
#include <sstream>
#include <algorithm>
#include "file_io.h"
using namespace std;
class SimCell {
public:
float cutoff;
string sim_typ... | [
"bjblank2@illinois.edu"
] | bjblank2@illinois.edu |
fcde9680b6c552b0840b1fe81c00875cd26e72b3 | 857eba1f107688482b046641e909fb2a9535d181 | /max_subarray_bruteforce.cpp | eaa5f5b2001a444917642b191e4f46aebc5e7781 | [] | no_license | varunkapoor/Algorithms-and-Data-Structures | 4c4f710adaef24038ceaf182d7b3e75fbdf71e72 | 4df7d969d921cbd54525629704368cd98899bbb2 | refs/heads/master | 2021-01-04T14:07:15.845724 | 2012-11-25T11:50:28 | 2012-11-25T11:50:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,107 | cpp | #include <iostream>
#include <limits>
#include <vector>
template<class T>
struct Result
{
size_t max_left, max_right;
T sum;
};
template<class T>
Result<T> FindMaxSubarray(std::vector<T>& A)
{
Result<T> retval;
retval.sum = std::numeric_limits<T>::min();
T sum;
for(int i=0; i<A.size(); ++... | [
"varun.kapoor89@gmail.com"
] | varun.kapoor89@gmail.com |
9050368fb43b0fb6d5011bc50d6ca60d2c74a800 | 960765e3c2e8680b282606c1fbc4e6f471e2db4e | /src/ceph-0.72.2-src/tools/rest_bench.cc | feea4de49321f67e84f7138e1059769c28e38f16 | [] | no_license | StarThinking/MOBBS | 7115060a2233e7bd8bb1a9848d6b9a0a469c2bef | 3f9bfe391a3fa0e454b43c6286a33bdda49a44fb | refs/heads/master | 2021-01-13T02:22:18.410864 | 2014-11-05T08:56:41 | 2014-11-05T08:56:41 | 14,044,431 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 20,487 | cc | // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab
/*
* Ceph - scalable distributed file system
*
* Copyright (C) 2004-2006 Sage Weil <sage@newdream.net>
*
* This is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General P... | [
"sixiangma0408@foxmail.com"
] | sixiangma0408@foxmail.com |
c1b4d3b33a18cb8bc360aae71f332c508deb88a5 | 9eba2c46d6e9377c409d4d8486d35e1729684a94 | /Ancora/src/Ancora/Renderer/Buffer.h | 38a7d87ecff4f1fa668156f98a69e7e719e75be4 | [
"Apache-2.0"
] | permissive | SpiritSeeker/AncoraEngine | f6c4f2436a228364bec3bd2c9cc15e90bad3d255 | 892d276b9421f6eb25a7a7803d8526b01281ba22 | refs/heads/main | 2023-07-01T03:57:48.041009 | 2021-08-04T15:17:52 | 2021-08-04T15:17:52 | 392,576,415 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,697 | h | #pragma once
namespace Ancora {
enum class ShaderDataType
{
None = 0, Float, Float2, Float3, Float4, Mat3, Mat4, Int, Int2, Int3, Int4, Bool
};
static uint32_t ShaderDataTypeSize(ShaderDataType type)
{
switch (type)
{
case ShaderDataType::Float: return 4;
case ShaderDataType::Float... | [
"sanjeet029@gmail.com"
] | sanjeet029@gmail.com |
6870a238125438ae0ab9fcb51e37876884d7f109 | 8c28987faba20d4bcd4ba0dffa4d0a8210799034 | /lab6/lab6.cpp | 5eb0d1a41e4a064bf9363907cd547d462005d3ea | [] | no_license | ivar1990/pf2 | 53d0dd8202a0aba28ff03e9111b5bd3ce8fff3a0 | 976e6964683b89457e89428411cafc9846a45e77 | refs/heads/master | 2020-12-21T11:04:43.932884 | 2020-01-27T05:14:33 | 2020-01-27T05:14:33 | 236,412,461 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,084 | cpp | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: lab6.cpp
* Author: ivarm
*
* Created on October 2, 2019, 8:22 AM
*/
#include <cstdlib>
#include <iostream>
#inclu... | [
"ivar.m.juarez@gmail.com"
] | ivar.m.juarez@gmail.com |
95d9a334e3594e3b93400bc167a0ea0a536adf09 | a823d48f9c18a308d389492471f205365bb4e578 | /leetcode/1340-Jump-Game-V/cpp-1340/main2.cpp | 11ec7ef88d07ac25c6c5d14ae9cfb91ce31606e4 | [] | no_license | liuawen/Learning-Algorithms | 3e145915ceecb93e88ca92df5dc1d0bf623db429 | 983c93a96ce0807534285782a55b22bb31252078 | refs/heads/master | 2023-07-19T17:04:39.723755 | 2023-07-14T14:59:03 | 2023-07-14T14:59:03 | 200,856,810 | 16 | 6 | null | 2023-04-17T19:13:20 | 2019-08-06T13:26:41 | Java | UTF-8 | C++ | false | false | 1,598 | cpp | /// Source : https://leetcode.com/problems/jump-game-v/
/// Author : liuyubobobo
/// Time : 2019-02-10
#include <iostream>
#include <vector>
using namespace std;
/// Dynamic Programming
/// Time Complexity: O(nlogn + n * d)
/// Space Complexity: O(n)
class Solution {
public:
int maxJumps(vector<int>& arr, int... | [
"157514367@qq.com"
] | 157514367@qq.com |
5fb8ba13027dc9fe4bd0419b8d8fbe616736017f | d3fbeefac0809af5c6f194988c700b5d5a421537 | /Controls/QuotationBox_Control.h | 368585fc37b4ce0f14ecbba2d34431983904597a | [] | no_license | dreamsql/QtUiDemo | c546fd03e1530906aef3552ac56d6b57c8baf38e | 6c46ce760fdc72edaa5c36a6d1c32285c97d5c85 | refs/heads/master | 2021-05-27T05:03:41.050276 | 2014-01-21T12:02:53 | 2014-01-21T12:02:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 779 | h | #ifndef _QUOTATIONBOX_CONTROL_H
#define _QUOTATIONBOX_CONTROL_H
#include "QuotationInfo_Control.h"
#include "QuotationBoxCommon_Control.h"
namespace Controls
{
class QuotationBox:public QuotationBoxCommon
{
public:
QuotationBox(const QString& boxStyle,const QString& labelStyle,const QuotationInfo& quotationInf... | [
"huhuabo111@gmail.com"
] | huhuabo111@gmail.com |
959312736427cfc3586198b080512b591f9e5361 | 68dcf585fc0b1d31254d25d5cf51aae503310d81 | /Others/easy_Queue_Implementation.cpp | a8004ddd1e58ea7aed4518f31f9bf911b7932070 | [] | no_license | Sarthakdtu/C-Codes | 0a45b7b4e8fb6f7e85d0be56d0289e231850621a | 02da5037f165c962dfd3ceee660ff80ab36059a8 | refs/heads/master | 2020-06-16T06:33:09.267452 | 2020-02-01T16:24:35 | 2020-02-01T16:24:35 | 195,502,879 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,503 | cpp | #include<iostream>
using namespace std;
struct node
{
int data;
node *next;
};
void enqueue(int data, node *&front, node *&rear)
{
node *n = new node;
n->data=data;
n->next= NULL;
//cout<<"Node Created "<<endl;
if(front==NULL && rear ==NULL)
{
cout<<"Entering "<<n->data<<endl;
front =... | [
"sarthaksrivastavadtu712@gmail.com"
] | sarthaksrivastavadtu712@gmail.com |
0ac6486677a2e6a5419a3178a9cc4dc771e23d18 | ece46d54db148fcd1717ae33e9c277e156067155 | /SDK/arxsdk2020/inc/rxmfcapi.h | b240d84b292c39200a058004035ca1afb4a7d0c9 | [] | no_license | 15831944/ObjectArx | ffb3675875681b1478930aeac596cff6f4187ffd | 8c15611148264593730ff5b6213214cebd647d23 | refs/heads/main | 2023-06-16T07:36:01.588122 | 2021-07-09T10:17:27 | 2021-07-09T10:17:27 | 384,473,453 | 0 | 1 | null | 2021-07-09T15:08:56 | 2021-07-09T15:08:56 | null | UTF-8 | C++ | false | false | 7,977 | h | //
//////////////////////////////////////////////////////////////////////////////
//
// Copyright 2019 Autodesk, Inc. All rights reserved.
//
// Use of this software is subject to the terms of the Autodesk license
// agreement provided at the time of installation or download, or which
// otherwise accompanies th... | [
"3494543191@qq.com"
] | 3494543191@qq.com |
ad31a6867faf8b2631a07fc9f0f391fc77c3c310 | 322e7a8b9387a37685f4c9ec51440a9eadf96c83 | /folly/compression/CompressionContextPool.h | d5862e29d71c0fbb84032bcf2b210bef24064090 | [
"MIT",
"Apache-2.0"
] | permissive | sjfink/folly | a119cf4b8546f3d714033ca6759175b04828db82 | b797de382febdc9696bc2a38a388e1c9de0be053 | refs/heads/master | 2020-08-15T17:25:36.010641 | 2019-10-15T16:12:12 | 2019-10-15T16:15:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,276 | h | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
196f27824db14adfae0b01d5196c75dd41506adb | 933f2ea0a1605ef3fa053dc7a2c7d85490d01597 | /torch/csrc/jit/python/pybind_utils.h | 65f5a49145c8ca1c4b01f60a5fb83ab2da797eda | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | gcatron/pytorch | cf623092ec55c4aa4909b04090d81f8a4effb8da | 2efc618f1971e91fe0f0ca454e7c78b503089b18 | refs/heads/master | 2023-03-31T18:55:14.957252 | 2020-09-16T03:25:59 | 2020-09-16T03:28:39 | 295,918,845 | 1 | 0 | NOASSERTION | 2020-09-16T04:02:50 | 2020-09-16T04:02:49 | null | UTF-8 | C++ | false | false | 41,992 | h | #pragma once
#include <ATen/core/ivalue.h>
#include <ATen/core/jit_type.h>
#include <ATen/core/qualified_name.h>
#include <ATen/core/stack.h>
#include <pybind11/pybind11.h>
#include <pybind11/pytypes.h>
#include <torch/csrc/Device.h>
#include <torch/csrc/Dtype.h>
#include <torch/csrc/Layout.h>
#include <torch/csrc/QSc... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
b95dfc30fa32eec716e6c255ca1596234d3bc882 | acce8697e43d34466e2bf527e0c1188d21916e9a | /src/pPrimeFactorTester/PrimeFactorTester.h | 3bf12938858b58fd6a7f49fb3f47503a3a58e636 | [] | no_license | crosslore/moos-ivp-yhhuang | ac87b0548ee4aa071fe4cd2d3f89d13c75df5a09 | 1ed0901c222ff21868557f4c55cca1f2b4fa5d9a | refs/heads/master | 2022-11-20T10:22:06.194058 | 2020-07-29T08:09:32 | 2020-07-29T08:09:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,157 | h | /************************************************************/
/* NAME: YH_Huang */
/* ORGN: MIT */
/* FILE: PrimeFactorTester.h */
/* DATE: ... | [
"36514538+sp123456g@users.noreply.github.com"
] | 36514538+sp123456g@users.noreply.github.com |
85a1c9133d3ed2ee805fa04641bf21d32e680903 | 7a56d4684fd450381898cc86d22f11a1f06afb37 | /QueueEx/QueueEx/Queue.h | a34ce0516fe1814262d369d4be0c6ed46b28e01d | [] | no_license | kingofBokgu/ConsoleEx | de33637f0adca7c223baebf6094c2320d63584e5 | d92aca013b6d034651214bc2c46d922649d027aa | refs/heads/master | 2021-07-14T02:35:08.523022 | 2017-10-14T09:27:01 | 2017-10-14T09:27:01 | 106,915,732 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 2,243 | h | #include<iostream>
#include<string.h>
#include<crtdbg.h>
#ifndef _DEBUG
#define new new (_CLIENT_BLOCK,_FILE,_LINE)
#endif
using namespace std;
class Node{
public:
char data;
Node *nextNode;
public:
Node();
};
Node::Node()
{
data = '\0';
nextNode = nullptr;
}
//1. Queue 초기화
//2. Queue Node put
//3. Queue Node... | [
"sourcedev5@gmail.com"
] | sourcedev5@gmail.com |
03799d3693a49782d91aa4577007861892b50bcd | 2964d7c9a9ad7e6603d3fa1a9567feda96d8969a | /IO.cpp | f6c50695b0f7041af5b05f36d1c6711e93f6993b | [] | no_license | retrodump/Wars | a78f424f2fd2ae7c79e170a9b025a826adb35a7d | a39c52b3722df4a06ce63a6b1b4feae96bd2d516 | refs/heads/master | 2021-09-11T01:14:05.988162 | 2018-04-05T13:25:51 | 2018-04-05T13:25:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,841 | cpp | // IO.cpp
#include "IO.h"
#include "Welt.h"
#include "graph.h"
#include "path.h"
Graph graph;
extern Pathfinding leut[ANZMANN];
extern haeuser_class haus[ANZHAUS];
extern pflanzen_class pflanz[ANZPFLANZ];
extern unsigned int scrollx,scrolly,feinx,feiny;
extern long xx,yy,k;
void Input::Scroll(char direction)
{
switc... | [
"contact@lode.de"
] | contact@lode.de |
68aba96d6a44869f45ebfcbf4ede644471531c2a | 1cdc76b152fc40a5b33f6f160a5b3a429dba1485 | /main.cpp | 9c22591634f8d7ac53034ea9370a8ec8083efd02 | [
"Zlib"
] | permissive | BB-Beta/auplay | 22089a861ccc0ca7f12c535476e6bde64baf25d5 | 8ff1acd848c04b14b87ea2a15e5eb5f3f985f4c1 | refs/heads/master | 2021-05-27T13:28:27.444589 | 2011-07-12T15:41:48 | 2011-07-12T15:41:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,252 | cpp |
#include <CoreFoundation/CoreFoundation.h>
#include <iostream>
#include "AudioPlayer.h"
int main() {
const char *fn = "music.mp3";
AudioPlayer* ap = AudioPlayer::file(fn);
if(!ap) {
std::cerr << "Error loading audio" << std::endl;
return 1;
}
ap->play();
... | [
"scoopr@iki.fi"
] | scoopr@iki.fi |
03be27307579aa013347d3a0366ce6c0643ba08a | 35e8269ff96c6ca1d77d2a6ac251bf9c91120b98 | /src/main.cpp | 3f6d21d6db30aa3204937fba3c58c5935e0d6a39 | [
"Apache-2.0"
] | permissive | edmBernard/rename-cpp | d5fee03542d1d009d440699670f0ce00c9e99aae | 833e835ea60bc329beab9feffcfa6aa1090f2582 | refs/heads/master | 2023-04-27T18:03:11.901963 | 2021-05-17T19:04:47 | 2021-05-17T19:04:47 | 306,844,968 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,828 | cpp | // Tool to rename files based on Regex
#include <filesystem>
#include <regex>
#include <string>
#include <vector>
#include <cxxopts.hpp>
#include <fmt/color.h>
#include <fmt/core.h>
#include <spdlog/cfg/env.h>
#include <spdlog/spdlog.h>
namespace fs = std::filesystem;
int main(int argc, char **argv) {
try {
s... | [
"bernard.erwan@gmail.com"
] | bernard.erwan@gmail.com |
cce4509a76bf01c311f872f985b48c45c3cdffc5 | ac1ae1b456c36f2dfc97b8d38d5da742176e7516 | /2014/s2/adds/assignment2/Referee.h | 1e0e95c0f64c42e6ce3e3d175273896f0ee6a41a | [] | no_license | OniityanH/project6 | c5ff91129ba89c33fdb608d789dfe94faff1b6a3 | d4d3ba639e400ec8be1dad6d74e9b4094d6403e0 | refs/heads/master | 2020-05-29T09:14:51.538903 | 2018-03-09T14:36:35 | 2018-03-09T14:36:35 | 70,125,425 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 309 | h | #ifndef REFEREE_H
#define REFEREE_H
#include "Referee.h"
#include<iostream>
#include<string>
#include"human.h"
using namespace std;
class Referee
{
public:
Referee();
char compare(char H_moves,char C_moves);
private:
char H_element;
char C_element;
};
#endif // REFEREE_H
| [
"a1657884@21812873-c04a-464d-95cf-c10f675487a6"
] | a1657884@21812873-c04a-464d-95cf-c10f675487a6 |
c45516ab72378c708523f78d78e23d43fc3720f2 | 8e9e8d1273438e38271b4b55e87be7b91a657c5f | /src/server/game/Instances/InstanceScript.cpp | be6d4d3148c61b15bb52fd8e6d1592b7dd13c280 | [] | no_license | kmN666/Leroy | 43df8105252851e4e756cf36e02e0ffd674cce15 | 189c990d7227d0aa4ad21f20c319d49ccaeb262e | refs/heads/master | 2020-12-24T15:23:25.403594 | 2012-08-01T08:42:58 | 2012-08-01T08:42:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,078 | cpp | /*
* Copyright (C) 2012 DeadCore <https://bitbucket.org/selectorcore/deadcore-private>
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
* 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 Founda... | [
"wowall@mail.com"
] | wowall@mail.com |
11ff95e70b510b51c7de769855b8a97eda21cee5 | 0cb85cd0c88a9b9f0cca4472742c2bf9febef2d8 | /CS AdminKit/development2/include/boost/filesystem/operations.hpp | 476bbd46f58ba636a5eb8c4b0dafe822a2be13a7 | [] | no_license | seth1002/antivirus-1 | 9dfbadc68e16e51f141ac8b3bb283c1d25792572 | 3752a3b20e1a8390f0889f6192ee6b851e99e8a4 | refs/heads/master | 2020-07-15T00:30:19.131934 | 2016-07-21T13:59:11 | 2016-07-21T13:59:11 | null | 0 | 0 | null | null | null | null | ISO-8859-9 | C++ | false | false | 5,286 | hpp | // boost/filesystem/directory.hpp ------------------------------------------//
// Copyright © 2002, 2003 Beman Dawes
// Copyright © 2002 Jan Langer
// Copyright © 2001 Dietmar Kühl
//
// Use, modification, and distribution is subject to the Boost Software
// Lice... | [
"idrez.mochamad@gmail.com"
] | idrez.mochamad@gmail.com |
734e0fb23e48a3c710f10001ff1d869982b82fbb | 0bd092c0dacfaefbe203383dd5621c4a474a4524 | /Snake/SpriteRender.h | 56b9eea791b7c3111160c861106dbe460202d088 | [] | no_license | CookiesChen/OpenGL-Snake | 49478123594eccac90092e82c08b3ffd78376e1b | 7d35365f2b6d8c8e0405e0f8de4a1fc8c3654c45 | refs/heads/master | 2020-05-27T16:04:34.623418 | 2019-05-26T14:27:20 | 2019-05-26T14:27:20 | 188,692,464 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 700 | h | #ifndef SPRITE_RENDERER_H
#define SPRITE_RENDERER_H
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include "Texture.h"
#include "Shader.h"
#include "Model.h"
class SpriteRender
{
public:
// Constructor (inits shaders/sha... | [
"1109349604@qq.com"
] | 1109349604@qq.com |
3e057d10401dae64c8a569e4a2fcf19d953377dd | 53436ae6ea4741ae28799167406f9b2a9b3dd0d1 | /src/RcppExports.cpp | 1a1b395ece2a0731efbb50fc1d3d67c1ea95ee69 | [
"MIT"
] | permissive | nt-williams/formatix | db91723dcce625d8caedd8549e2bbcfd4a4b704b | 5d7ff39b1569d74097c99b33090c3b907a7e9512 | refs/heads/master | 2020-12-18T11:44:20.730117 | 2020-03-31T17:12:10 | 2020-03-31T17:12:10 | 235,367,322 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 821 | cpp | // Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#include <Rcpp.h>
using namespace Rcpp;
// DataFrameToList
List DataFrameToList(DataFrame df);
RcppExport SEXP _formatix_DataFrameToList(SEXP dfSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_res... | [
"ntwilliams.personal@gmail.com"
] | ntwilliams.personal@gmail.com |
d8713c357205fe100a1107cda36f360b661d4431 | c65f5b2e5c01c946a363deec95524a6a356f20c3 | /tensorflow/lite/delegates/gpu/metal/kernels/max_unpooling.cc | 77379576ab9aad3c9f2194ff885663bb62f82245 | [
"Apache-2.0"
] | permissive | harryboneuk/tensorflow | 776b5b721934773018dea1095d204e466215cc76 | d514a6c13f076b1cdc2fa5c0b3494e37e5c94d71 | refs/heads/master | 2023-01-21T11:26:52.356388 | 2020-12-03T17:43:27 | 2020-12-03T17:43:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,383 | cc | /* Copyright 2019 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 |
e8894ba4f804db003ea76d7dbf2d8a2f0d06a76e | a964c0239d4c5663c85bfb067db385757b5227d7 | /SnowScene/Sky.cpp | 21ebb314f9835a31a461a849a3ba9e2b119877e5 | [] | no_license | HuangJavier/3D-Base | 286275cd587a59799782775182951dfaf9fd8a9e | b51855a95d4f01b64253c72f803d12f921b1215e | refs/heads/master | 2021-05-08T13:29:35.048844 | 2018-02-08T16:10:30 | 2018-02-08T16:10:56 | 120,013,505 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,936 | cpp | //***************************************************************************************
// Sky.cpp
//***************************************************************************************
#include "Sky.h"
#include "GeometryGenerator.h"
#include "Camera.h"
#include "Vertex.h"
#include "Effect.h"
Sky::Sky(ID3D11Dev... | [
"275832750@qq.com"
] | 275832750@qq.com |
bf25276dea5078d771b8387eee20e6e359428a92 | b215b52973d879e4f72390cfe1c7cc57e7f26569 | /qt/intTableModel/moc_intTableModel.cpp | 5d9068bcebfa8b0b25b79d0fae67cad8b2bb50ef | [] | no_license | chemikadze/oldschool | 41d9479b25afe81e9afe093658a54c96051995e7 | 416f0825ad6dacef2158c819e41be58ec73e4a75 | refs/heads/master | 2021-01-18T13:45:50.274717 | 2013-12-21T23:30:08 | 2013-12-21T23:43:37 | 15,367,414 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,134 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'intTableModel.h'
**
** Created: Thu Feb 25 01:00:29 2010
** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
**
** WARNING! All changes made in this file will be lost!
*********************... | [
"chemikadze@gmail.com"
] | chemikadze@gmail.com |
1520a56f94630807e070ae9db7c7e9701ebfacab | ee5098863c91ddb53f2bcf13f9c0f5b06c049bdb | /src/PID.cpp | 1b931916fef56ab57445f6eb42276c2d31fddd93 | [
"MIT"
] | permissive | ligenchang/t2_p4_CarND-PID-Control-Project | b7a889755b0bcae7e980515655ac1700be3beeb5 | e65681de459efdeb5abeb072fe3a3cd6bab4f2e1 | refs/heads/master | 2020-03-12T22:45:11.818570 | 2018-04-24T13:23:01 | 2018-04-24T13:23:01 | 130,853,042 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,037 | cpp | #include "PID.h"
#include <math.h>
using namespace std;
#include <iostream>
/*
* TODO: Complete the PID class.
*/
PID::PID() {}
PID::~PID() {}
void PID::Init(double _Kp, double _Ki, double _Kd) {
Kp=_Kp;
Ki=_Ki;
Kd=_Kd;
best_err=100;
Dp=0.5;
Di=0.5;
Dd=0.5;
dp = {Dp,Di,Dd};
... | [
"michaelli@michaels-MacBook-Pro.local"
] | michaelli@michaels-MacBook-Pro.local |
0ff705801e1644534ed5b0181f3bb87d508f380b | 9a646821b5a9cda524de716caf4225a733527876 | /LakhovKirill/Task5/include/Connector.h | 4c7bf675aaac7b1e7bd00c30be6901d28239deb4 | [] | no_license | SemyonBevzuk/Programming_practice_381908-1-2 | 5cc584508de1ef2871cffad20b293d33b7a41609 | d09de61f3ea11cbc792ba117e0e3ca0171e32310 | refs/heads/master | 2021-01-01T14:47:13.137338 | 2020-06-02T12:36:11 | 2020-06-02T12:36:11 | 239,323,892 | 0 | 19 | null | 2020-06-02T12:36:12 | 2020-02-09T15:08:11 | C++ | UTF-8 | C++ | false | false | 854 | h | //
// Created by Kirill on 23.04.2020.
//
#ifndef TASK5_CONNECTOR_H
#define TASK5_CONNECTOR_H
#include "string"
#include <SQLiteCpp/SQLiteCpp.h>
#include "vector"
#include "Hall.h"
#include "SessionTemplate.h"
#include "Session.h"
using namespace std;
using namespace SQLite;
class Connector {
public:
Connector(... | [
"50956430+S11as@users.noreply.github.com"
] | 50956430+S11as@users.noreply.github.com |
b1c4dcc20110d1e58e9669146b28168f2a5f8d9d | a2afa516576b661b1e4bae5fad35a9441e7c94b6 | /1847/1.cpp | e1b481c26e55b9093f9b98561782c6dcb587b05e | [] | no_license | airbornemihir/poj | dbb94dcfd1929a359a0f0e0e9a88302b65c633a3 | 58afbd70eff5e9e5602ef3bf91b96af19cfe6cb7 | refs/heads/master | 2022-01-28T23:07:34.684217 | 2022-01-13T09:14:12 | 2022-01-13T10:24:42 | 17,974,616 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,746 | cpp | #include <cstdio>
struct edge {
unsigned int src;
unsigned int dst;
unsigned int weight;
edge(unsigned int src,
unsigned int dst,
unsigned int weight):
src(src),
dst(dst),
weight(weight) {}
};
#include <map>
typedef std::multimap<unsigned int, edge> weight_edge_map;
#include <vector>
t... | [
"mihir.mehta@samsung.com"
] | mihir.mehta@samsung.com |
014f8c9e71f7394cad6f2f23f6cf527515afcf8a | 3707b62980338125a5d96a09385387cfa20438aa | /src/main.cpp | 4d4edd80d96ec24b204367b6585d66c6053397ba | [] | no_license | illantalex/power_meter_http | b7e1fbc5dd359ad36c37da80fcc4c9b4801e6559 | 54ab1f1190323585e02b8bc1b35da03a6993c238 | refs/heads/master | 2023-01-16T05:28:08.832625 | 2020-11-20T16:09:26 | 2020-11-20T16:09:26 | 313,971,981 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,503 | cpp | #include <ArduinoJson.h>
#include <HttpClient.h>
#include <PZEM004Tv30.h>
#include <SPI.h>
#include <UIPEthernet.h>
// Name of the server we want to connect to
const char server[] = "192.168.1.103";
// Mac address of the Ethernet
byte mac[] = {0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED};
char buffer_http[32];
// Path to down... | [
"illantalex84@gmail.com"
] | illantalex84@gmail.com |
6d858dc640cc8c4b290da59c774bbeb5345012b3 | bf19f77fdef85e76a7ebdedfa04a207ba7afcada | /Tech Demo/TMNT Tactics Tech Demo/Source/CParticleSystem.h | 31f27f797b6b80adde32e9c3b980ffe65b3f02da | [] | no_license | marvelman610/tmntactis | 2aa3176d913a72ed985709843634933b80d7cb4a | a4e290960510e5f23ff7dbc1e805e130ee9bb57d | refs/heads/master | 2020-12-24T13:36:54.332385 | 2010-07-12T08:08:12 | 2010-07-12T08:08:12 | 39,046,976 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,615 | h | #pragma once
#include "SGD Wrappers/CSGD_Direct3D.h"
#include "SGD Wrappers/CSGD_TextureManager.h"
#include "CGame.h"
#include <ctime>
#include <fstream>
#include <string>
using namespace std;
#define RandomFloat(min,max) (((rand()/(float)RAND_MAX)*((max)-(min)))+(min))
struct VERTEX
{
D3DXVECTO... | [
"AllThingsCandid@7dc79cba-3e6d-11de-b8bc-ddcf2599578a"
] | AllThingsCandid@7dc79cba-3e6d-11de-b8bc-ddcf2599578a |
2725d865a016097152050fad41e7ac3a326ce84b | cfe29794d9e0e7889afe8acb91e12b5ef1f7a9bd | /source/tests/jacdac_tests_dut.cpp | 3fe570dbe5bc69e05d4e05226fdf486f0f9bb4c7 | [
"MIT"
] | permissive | lancaster-university/jacdac-compliance | 1e76d3fbfcf474e56b4d699dd81ff5ab90d6a617 | c6beca9df2fbdc4a1e97a6bf463d0c1e23471a93 | refs/heads/master | 2020-04-16T13:59:34.589403 | 2019-03-19T23:23:19 | 2019-03-19T23:23:19 | 165,650,542 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,984 | cpp | #include "compliance_interface.h"
#include "jacdac_tests.h"
#include "CodalDmesg.h"
#ifdef DEVICE_UNDER_TEST
volatile int tx_rx = 0;
volatile int error = 0;
void on_reset_gpio_high()
{
device_reset();
}
void on_tx_rx_gpio_high()
{
tx_rx = 1;
}
void on_error_gpio_high()
{
error = 1;
}
JACDAC_TEST(0)
{
... | [
"j.devine@lancaster.ac.uk"
] | j.devine@lancaster.ac.uk |
e3a88ed9d139e15c808c8a5804c0a8ae0037e313 | 551d15d28066bc3c56045ff2009423f147ef0d9c | /cpp/面试题01.03.URL化.cpp | 2f1aa575c410b03e0760a0348440d0edcf14d02b | [] | no_license | tesion99/LeetCode | 6d393dcb5721f2e9df7a239b8f8823fcfba95c49 | 823d3b7d298bbbb2d72a1b0e96c8e6a20bb84e40 | refs/heads/master | 2021-07-11T12:34:11.243119 | 2020-08-22T14:51:10 | 2020-08-22T14:51:10 | 171,787,201 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,396 | cpp | /*
URL化。编写一种方法,将字符串中的空格全部替换为%20。假定该字符串尾部有足够的空间存放新增字符,并且知道字符串的“真实”长度。(注:用Java实现的话,请使用字符数组实现,以便直接在数组上操作。)
示例1:
输入:"Mr John Smith ", 13
输出:"Mr%20John%20Smith"
示例2:
输入:" ", 5
输出:"%20%20%20%20%20"
提示:
字符串长度在[0, 500000]范围内。
来源:力扣(LeetCode)
链接:https://leetcode-cn.com/problems/string-to-url-lcci
*/
//... | [
"tesion@sina.cn"
] | tesion@sina.cn |
6d02078ceee65981ed56fa618ef3dd45fe4d0657 | 7ec00adb99b922e07433f95b96e1483a8af95a2c | /examples/DisplayLifi_example/DisplayLifi_example.ino | 3d24f18cab47b2c2487402c1f91642503c10c90a | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | ikeyasu/DisplayLiFi | 55a8c19a19da6f1570a75e3183e1776d34482052 | 786b6c50ee0ac792e52325504d3485afcfe36633 | refs/heads/master | 2021-01-13T01:08:38.866552 | 2015-12-29T16:13:27 | 2015-12-29T16:13:27 | 28,771,425 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 409 | ino | #include "DisplayLiFi.h"
#define LED 4
void leaderCodeListener(char* receivedString) {
Serial.print("L:");
Serial.println(receivedString);
}
DisplayLiFi lifi = DisplayLiFi(A0, leaderCodeListener);
void setup() {
pinMode(LED, OUTPUT);
Serial.begin(115200);
delay(100);
Serial.println("");
Serial.println... | [
"ikeyasu@gmail.com"
] | ikeyasu@gmail.com |
2c564979f05dd20404c65fea69419f930d68648e | 9644f19ffdac3a5d0eec4c8f802a9ab998719f82 | /Online Judges/TJU/2498.cpp | 46ee4a5f8981b0524756682da31734bf720f186c | [] | no_license | ypizarroza1990/ACM | ca472a3773be0c925cc312960aa82046fc4057fa | 3a5a81a66540bcdae9960b497d9cf8ef4c8a50f0 | refs/heads/master | 2021-01-18T19:14:19.920891 | 2020-02-18T19:18:10 | 2020-02-18T19:18:10 | 56,805,153 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 689 | cpp | #include <bits/stdc++.h>
#define MAX 12009
#define ifc(x)(flag[x>>6]&(1<<((x>>1)&31)))
#define isc(x)(flag[x>>6]|=(1<<((x>>1)&31)))
#define P(x)(x)*(x)
using namespace std;
typedef long long i64;
template <class T > string to_str(const T &n){
stringstream ss;ss<<n;return ss.str();
}
int n,m,pw[100],len;
void power(int... | [
"ypizarroza@uci.cu"
] | ypizarroza@uci.cu |
09b65492310e21ee96e030f43488dc8ec38b2f6d | b034dff5726afd3ec88fc3f8434b83080fd68b12 | /HttpPostMfc/HttpPostMfc.h | aaba492656519ca9f16219ea86b4b20ad3f1054c | [] | no_license | deaconwu/VehicleMonitor | 0faeb3fce1c33aa1046c4d73d12e29888409e11c | d0502fb037fcec5bbf16f04556753a4aa5845ca9 | refs/heads/master | 2023-03-11T15:56:21.951937 | 2021-02-26T07:14:46 | 2021-02-26T07:14:46 | 318,038,581 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 474 | h |
// HttpPostMfc.h: PROJECT_NAME 应用程序的主头文件
//
#pragma once
#ifndef __AFXWIN_H__
#error "include 'pch.h' before including this file for PCH"
#endif
#include "resource.h" // 主符号
// CHttpPostMfcApp:
// 有关此类的实现,请参阅 HttpPostMfc.cpp
//
class CHttpPostMfcApp : public CWinApp
{
public:
CHttpPostMfcApp();
// 重写
public... | [
"deaconwu@163.com"
] | deaconwu@163.com |
a72f2452a23103666f9ba8994c552a978fd5b789 | b61c6d07a7330f9bc0d22a41f86d869a818afeb6 | /ThunderJBolt/LevelSelectScene.h | 5b1f6e7c4227fc32ad81630effb83c64236fbfb1 | [] | no_license | HolicXXX/GameDevelopmentPractices | 57341d36cd3acb95e64db5e6d2f58d8b0ba5380b | d8977075d84b78bc0cabcf98e431588210f7e5c6 | refs/heads/master | 2021-05-15T06:21:50.639074 | 2017-12-18T07:54:47 | 2017-12-18T07:54:47 | 114,593,375 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 260 | h | #ifndef _LEVELSELECTSCENE_H_
#define _LEVELSELECTSCENE_H_
#include "cocos2d.h"
class LevelSelectScene : public cocos2d::Layer
{
public:
static cocos2d::Scene* createScene();
static LevelSelectScene* create();
virtual bool init();
};
#endif | [
"allendk@foxmail.com"
] | allendk@foxmail.com |
ea5d3997b82ca3869d35383c2701fc9fba90e284 | fedab0f33c77be6c21d34ebc39f5174c199c142a | /move_base_test/src/simple_navigation_goals/src/cmd_vel_to_turtlebot.cpp | 0d048b3b144d7341e45da574cd8c391002868277 | [] | no_license | JamesVal/navigation_with_turtlesim | 0638ae3615ee2c342782c97399a6bf60da959913 | dfbf4d4b482b19fb259a42ffa5425baecba3d622 | refs/heads/master | 2020-03-21T09:53:47.954288 | 2018-06-24T12:26:58 | 2018-06-24T12:26:58 | 138,423,160 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 459 | cpp | #include "ros/ros.h"
#include "geometry_msgs/Twist.h"
ros::Publisher turtle_pub;
void cmdVelCallback(const geometry_msgs::Twist::ConstPtr& msg)
{
turtle_pub.publish(msg);
}
int main(int argc, char **argv)
{
ros::init(argc, argv, "cmd_vel_to_turtlebot");
ros::NodeHandle n;
ros::Subscriber sub = n.subscribe("/... | [
"james.jo.val@gmail.com"
] | james.jo.val@gmail.com |
31a1a9cf088065469b51fe96e4dc98a46be62337 | a4d8cb480cbdb196e79ce482f5f9221fc74855e2 | /2010/201005/20100530_mult_connect.cpp | 5c376ed53101d09eddf573dd3db2ef4ab95ce40f | [] | no_license | bonly/exercise | 96cd21e5aa65e2f4c8ba18adda63c28a5634c033 | dccf193a401c386719b8dcd7440d1f3bb74cb693 | refs/heads/master | 2020-05-06T13:51:29.957349 | 2018-02-10T16:14:52 | 2018-02-10T16:14:52 | 3,512,855 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,966 | cpp | /**
* @file 20100530_mult_connect.cpp
* @brief
*
* @author bonly
* @date 2012-7-17 bonly created
*/
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <boost/asio.hpp>
#include <boost/bind.hpp>
using boost::asio::ip::tcp;
using namespace std;
static int id = 1;
const char message[] = "test write s... | [
"bonly@163.com"
] | bonly@163.com |
34e1ada85deaf4264f4530b32d3f1ee2aa11efc5 | b17703a2c53f6462262236124c2e467078b244b2 | /app/src/main/cpp/cppLib/iterator | 7aa2b06dd33c6c530e0bd9f9ad44cd34720a9d00 | [
"NCSA",
"MIT"
] | permissive | JoaoDias-223/Computer-Components-AR-Android-App | 8932879ea41581aa523408455ba102aece86089a | 9ec29ba20478f9335b5d6c78a5cfd63c7fea5596 | refs/heads/master | 2022-12-25T13:40:20.015336 | 2020-10-09T19:07:53 | 2020-10-09T19:07:53 | 297,498,016 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 64,345 | // -*- C++ -*-
//===-------------------------- iterator ----------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===-------------------------... | [
"joao.dias.santos223@gmail.com"
] | joao.dias.santos223@gmail.com | |
1bd7e78b12775576454ac0338ebd2ee3361ed80d | fe2836176ca940977734312801f647c12e32a297 | /LeetCode/EPFL/69.cpp | da00f322993da0a541c9fac6241352b6e5974d39 | [] | no_license | henrybear327/Sandbox | ef26d96bc5cbcdc1ce04bf507e19212ca3ceb064 | d77627dd713035ab89c755a515da95ecb1b1121b | refs/heads/master | 2022-12-25T16:11:03.363028 | 2022-12-10T21:08:41 | 2022-12-10T21:08:41 | 53,817,848 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 331 | cpp | class Solution {
public:
int mySqrt(int x) {
long long int l = 0, r = 50000;
while(r - l > 1) {
long long int mid = l + (r - l) / 2; // [l, r)
if(mid * mid <= x) {
l = mid;
} else {
r = mid;
}
}
return l... | [
"henrybear327@gmail.com"
] | henrybear327@gmail.com |
bb4d582210b7b42232de19fa9f20df6746f21455 | 14348563938cf268fce5efd922295ee31af6dec9 | /src/addon.cc | 0bb2ecd08634e0b2388267f0ce5fdaa2bdd89b82 | [
"MIT"
] | permissive | gongfan99/node_napi_promise_example | bc9a0dc8b679ef1800cc086a81516fe7eea0419d | 3aceefb114b4b2fc93f3438dee5c569b98493bf6 | refs/heads/master | 2021-05-14T18:41:30.130445 | 2018-08-07T01:01:03 | 2018-08-07T01:01:03 | 116,084,809 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,382 | cc | #include <stdexcept>
#include <node_api.h>
#include "addon.h"
#define napiErrChk(status) \
if (status != napi_ok){ \
const napi_extended_error_info* err_info_ptr; \
napi_get_last_error_info(env, &err_info_ptr); \
throw std::runtime_error(err_info_ptr->error_message); \
}
#define processRuntimeError(de... | [
"gongfan99@hotmail.com"
] | gongfan99@hotmail.com |
6756813e74f103e50e305d4dda2d549ad3e96d02 | 5a8b9a20f7c498981eb4ea33c1cba4b9554440b4 | /Xindows/src/site/text/LineServices.cpp | 159aa396b37b9a4b6ba767b3f7a076f6125e6021 | [] | no_license | mensong/IE5.5_vs2008 | 82ae91b3e45d312589b6fb461ceef5608dfb2f6b | 6149654180d0f422355e38b0c5d8e84e6e8c6a0c | refs/heads/master | 2022-05-01T07:32:15.727457 | 2018-11-14T03:07:51 | 2018-11-14T03:07:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 386,478 | cpp |
#include "stdafx.h"
#include "LineServices.h"
#include "OneRun.h"
#include "LSMeasurer.h"
#include "MarginInfo.h"
#include "lsobj.h"
#include "fontlnk.h"
#include "selrensv.h"
#include "lsrender.h"
#include "msls/lsdefs.h"
#include "msls/lskysr.h"
#include "msls/lscontxt.h"
#include "msls/tatenak.h"
#include "msls/h... | [
"mail0668@gmail.com"
] | mail0668@gmail.com |
c0002ce61740fbb1908e2338ad29db426bb6a43a | 2a77419a7ca40e8eba9659e3ab2084d216af8c03 | /Software/Cpp/ThCombination/src/CongruenceClosureDST.cpp | b4df60226bd88273b3d29d7bb8b08aeab617f9e2 | [] | no_license | typesAreSpaces/master-thesis | 6e69430fa373607a4984c91ad1f1b747918572dd | 717cb60330d263e2ffd81357a67b0f1e06da63ed | refs/heads/master | 2023-07-09T18:59:38.120748 | 2021-08-09T18:48:44 | 2021-08-09T18:48:44 | 137,972,830 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,503 | cpp | #include "CongruenceClosureDST.h"
CongruenceClosureDST::CongruenceClosureDST(const Z3Subterms & subterms,
PredList & pred_list, UnionFindExplain & uf,
std::list<unsigned> & pending) :
CongruenceClosure(subterms, uf),
pred_list(pred_list)
{
std::list<std::pair<unsigned, unsigned> > combine;
... | [
"jabelcastellanosjoo@unm.edu"
] | jabelcastellanosjoo@unm.edu |
28102360481d55b7b8522dddc06f667998948eff | 04bcdccf8386ddf39db1d638f0b0083e78ae99be | /Classes/UI_Interface/UI_Daily_Mission.cpp | 9d11e38ac8753f3df8506c5e55e8d61b34cdaa60 | [] | no_license | hackerlank/son | 3d71f9019fefea4898cf20601995231de000cccf | bf9175241d4f10ba4461c798f2752d1a0634bb3d | refs/heads/master | 2020-03-12T21:30:59.635554 | 2016-06-28T09:39:49 | 2016-06-28T09:39:49 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 14,870 | cpp | #include "UI_Daily_Mission.h"
#include "UI_MainMenu_Layer.h"
#include "UI_Mission_Layer.h"
#include "Item_System/Item_Desc_Config_Mgr.h"
#include "Daily_Task_System/Daily_Task_Mgr_Cl.h"
#include "Daily_Task_System/Daily_Task_Logic_Cl.h"
#include "Daily_Task_System/Daily_Task_Config_Mgr.h"
#include "Player_Account/Acc... | [
"58469983@qq.com"
] | 58469983@qq.com |
32533fbe7febe317fac4f1177541aa32110c6ee0 | 4282d16a7811237f10c92fde77164c88737beb8d | /Programmers_Level1/0717_divisorCntSum.cpp | 217e3ccb74920823915fd6807916d84b723f5b4d | [] | no_license | 19sProgrammersStudy/Seohyun | 701038860f0f458a0c8ddc9d19ba91f17e093d2c | 4f388e7736d5efbd05601ca098f4d092a51c4b70 | refs/heads/master | 2023-08-05T09:55:12.876368 | 2021-09-21T09:04:13 | 2021-09-21T09:04:13 | 383,292,425 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 526 | cpp | // Level 1. 약수의 개수와 덧셈
// https://programmers.co.kr/learn/courses/30/lessons/77884?language=cpp
#include <string>
#include <vector>
#include <cmath>
using namespace std;
int solution(int left, int right)
{
int answer = 0;
int count;
for (int idx = left; idx <= right; idx++)
{
if (idx > 1)
count = ... | [
"bewisessong@gmail.com"
] | bewisessong@gmail.com |
7b6bdc44195b00b842847b6d27f7d6ed4322c005 | cb74f5a5433c9aa1c402243d4e9642f623f65e67 | /pat/pat1009.cpp | 12406fda53eaa527690ba6be606adbe93f6455c3 | [
"MIT"
] | permissive | zofvbeaf/algorithm-practices | 290d6279046b7a8d67b2b66be69153095518b926 | 9772808fdf1b73ac55887291d9fb680e90b60958 | refs/heads/master | 2020-04-19T01:45:45.420591 | 2019-09-10T06:24:04 | 2019-09-10T06:24:04 | 167,881,506 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 892 | cpp | #include<cstdio>
#include<string.h> //memset
using namespace std;
int main(){
int k,m;
double a[1002],b[1002],c[2002];
memset(a,0,sizeof(a));
memset(b,0,sizeof(b));
memset(c,0,sizeof(c));
scanf("%d",&k);
for(int i=0; i<k; i++){
scanf("%d",&m);
scanf("%lf",a+m); ... | [
"aoqiping@gmail.com"
] | aoqiping@gmail.com |
74d273e31e718047c2d34823338a722729e3e427 | b7a05ba26dc82a8a837b371744fd8b17c4c2b505 | /cpp/AlgoLibR/sort/heap_sort.h | 82511bcfc38c0c2c18ee70d0eaac238b3c571da7 | [] | no_license | raoqiyu/AlgoLibR | 357c71b0ce659dd34a0172aee9089199818f3b73 | a8836b368b286cf0e75fa2a831ca357edc04115d | refs/heads/master | 2022-03-22T17:15:09.242066 | 2020-10-22T14:57:48 | 2020-10-22T14:57:48 | 202,102,550 | 2 | 1 | null | 2023-05-04T09:32:52 | 2019-08-13T08:46:23 | C++ | UTF-8 | C++ | false | false | 415 | h | /*
* @Author: raoqiyu@gmail.com
* @Date: 2020-02-02 15:06:35
* @FilePath: /AlgoLibR/cpp/AlgoLibR/sort/heap_sort.h
* @Description:
*/
#ifndef heap_sort_H
#define heap_sort_H
#include <stdlib.h>
namespace AlgoLibR{
namespace sort{
namespace heap_sort{
template<typename T>
void heapSortKernel(T arr[], size_t n, ... | [
"raoqiyu@yeah.net"
] | raoqiyu@yeah.net |
0c310b362bbb95ce5de0c0fd9671f3ae3a791ac7 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14587/function14587_schedule_15/function14587_schedule_15.cpp | e6a6102453d346165f2c91580aa8238c5cee5971 | [] | 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 | 728 | cpp | #include <tiramisu/tiramisu.h>
using namespace tiramisu;
int main(int argc, char **argv){
tiramisu::init("function14587_schedule_15");
constant c0("c0", 2048), c1("c1", 256), c2("c2", 64);
var i0("i0", 0, c0), i1("i1", 0, c1), i2("i2", 0, c2), i01("i01"), i02("i02"), i03("i03"), i04("i04"), i05("i05"), ... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
bdc418b8d1b9236712b8b99bfe224d079880b59c | 4c3371e3fcd1cc463b7d8c70b32e624672955262 | /projects/ChessWatchArduino2SSD1306/ChessWatchArduino2SSD1306PrototypV2/Adafruit_SSD1306.h | 883c85dd307200007cd6a3b278dc0d94282fcaeb | [] | no_license | sfambach/arduino | b2f9aaac3c7e723c0058e9582fc1b1360f4a0787 | 19560dd872118a86e1cdd0faa4f884eac674d571 | refs/heads/master | 2022-05-15T09:29:22.848044 | 2022-03-29T19:48:17 | 2022-03-29T19:48:17 | 193,207,559 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,705 | h | /*!
* @file Adafruit_SSD1306.h
*
* This is part of for Adafruit's SSD1306 library for monochrome
* OLED displays: http://www.adafruit.com/category/63_98
*
* These displays use I2C or SPI to communicate. I2C requires 2 pins
* (SCL+SDA) and optionally a RESET pin. SPI requires 4 pins (MOSI, SCK,
* select, data/co... | [
"spam1@bobbelsche.de"
] | spam1@bobbelsche.de |
0cb0cce23a7f983fbdd4373bb550a80793ef25df | 1bd9e3cda029e15d43a2e537663495ff27e317e2 | /buoyantPimpleFoam_timevaryingBC/timevaryingCavityFoam/52/nut | 2d66bd20890510d935d6b0dff55d07095e9a6eed | [] | no_license | tsam1307/OpenFoam_heatTrf | 810b81164d3b67001bfce5ab9311d9b3d45b5c9d | 799753d24862607a3383aa582a6d9e23840c3b15 | refs/heads/main | 2023-08-10T23:27:40.420639 | 2021-09-18T12:46:01 | 2021-09-18T12:46:01 | 382,377,763 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,052,149 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2006 |
... | [
"tsinghsamant@gmail.com"
] | tsinghsamant@gmail.com | |
88e6781a315891f8552d367eb81fe23fde344e05 | a799dc8bd21971835ce26716b84cb3df81ee92b0 | /src/SVC.cpp | 8e67a29e50f0051cf771f7a45fc6aac1ec52db82 | [] | no_license | vilhena1/mlRFinance | 44a6096382c1c489a91473fe3b5922e5197ac2d7 | 579f277eecd4cf86492c30dd0ec4cbd2bf635445 | refs/heads/master | 2021-01-23T14:11:27.631941 | 2017-09-09T16:18:08 | 2017-09-09T16:18:08 | 102,677,556 | 0 | 0 | null | 2017-09-09T16:18:09 | 2017-09-07T01:45:20 | C++ | UTF-8 | C++ | false | false | 15,820 | cpp | #include <RcppEigen.h>
#include "eiquadprog.h"
#include "KernelMatrix.h"
#include "Utils.h"
#include "progress.hpp"
#include <cmath>
// [[Rcpp::depends(RcppEigen)]]
// [[Rcpp::depends(RcppProgress)]]
/***********************************************************************************************/
/*******************... | [
"pedro.melo.albuquerque@gmail.com"
] | pedro.melo.albuquerque@gmail.com |
752522272fa183b35faaf8fb9d7df6cf52724bf8 | 62d5fd2277ed20029b656d18d6738c248273eedd | /A.cpp | cc46c0f2cc3e4ac33bc53234ab279a504cd1dbce | [] | no_license | guinao/poj | c2bc9f8d498dd0bb2a36443b854f49583adb46ae | 80795e41c22c6b4a2d046e58d49c337576577f8f | refs/heads/master | 2021-01-01T05:41:22.621218 | 2015-09-05T12:05:38 | 2015-09-05T12:05:38 | 21,536,515 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,222 | cpp | #include<cstdio>
#include<cstring>
#include<vector>
#include <algorithm>
using namespace std;
void compute_prefix(const int p[], int pi[], int m)
{
pi[0] = -1;
int k = -1;
for(int i=1; i<m; ++i){
while(k>=0 && p[k+1]!=p[i])
k = pi[k];
if(p[k+1] == p[i])
++k;
pi[i] = k;
}
}
int pit[100];
void extended... | [
"yingyuanxiang34@sina.com"
] | yingyuanxiang34@sina.com |
563be63abad22f707626335deb516b71b4a34686 | 3503ca10b545f4a758e7f50e6170909a45cbb544 | /2576.cpp | 7190143e8c42362aea717f5c74d9164c5cf81a67 | [] | no_license | YongHoonJJo/BOJ | 531f660e841b7e9dce2afcf1f16a4acf0b408f32 | 575caa436abdb69eae48ac4d482365e4801c8a08 | refs/heads/master | 2021-05-02T18:32:33.936520 | 2019-06-22T17:16:13 | 2019-06-22T17:16:13 | 63,855,378 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 247 | cpp | #include <stdio.h>
int main()
{
int i, n, sum=0, Min=-1;
for(i=0; i<7; i++) {
scanf("%d", &n);
if(n&1) {
sum += n;
if(Min == -1 || Min > n)
Min = n;
}
}
if(Min != -1) printf("%d\n", sum);
printf("%d\n", Min);
return 0;
}
| [
"starctak@gmail.com"
] | starctak@gmail.com |
d3254e15af26ad35ced9b8fd79751027fe2c22cb | b0e8ca207c12f22207bf6c43869fb8c52d181d4f | /host/flash_table_widget.cpp | 9e7057e741ab21698b42a01ed93bebcd4f4241c8 | [] | no_license | huanzheng/burner | 6b8324ff9e44d887597cdbc1b7778cb9fa132faa | d7ccfc5cb5a26f3b228205c0a2a843cbc7e210a6 | refs/heads/master | 2020-07-26T06:41:32.298406 | 2019-09-15T09:01:08 | 2019-09-15T09:01:08 | 208,567,006 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,233 | cpp | /*
Copyright 2010, 2011 Huan Zheng <huan.zheng.ray@gmail.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3 of the License, or (at your option) any later vers... | [
"huanzheng@huans-MacBook-Pro-2.local"
] | huanzheng@huans-MacBook-Pro-2.local |
014e0c60cd115e9ef0bc6a462ec4e704196c7da1 | 2948d1810269e81530db93fec1f790b8fbf80bdf | /base/base64.cc | 4742bc28d6801f36663b94a5de0b8a2d404dc4e5 | [] | no_license | kornwilliams/linux_server | eee94949fcb51088f58c203689b7f97a45cca967 | b4bf891574b6b2290fd60d67d9da5ee67d699718 | refs/heads/master | 2021-01-22T03:13:41.502127 | 2015-06-29T07:36:25 | 2015-06-29T07:36:25 | 38,231,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,913 | cc | #include "base64.h"
namespace base {
const std::string Base64::alphabet64("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/");
const char Base64::pad = '=';
const std::string::size_type Base64::np = std::string::npos;
const std::string::size_type Base64::table64[] = { np, np, np, np, np, np, np,
np... | [
"yuanyin@iZ23xg2ynavZ.(none)"
] | yuanyin@iZ23xg2ynavZ.(none) |
5eac49ae7c7fab45641a8c6117cbb938710638cf | da00ce9705f90632ae10600baa8bc92f695b7d49 | /soloud/soloud.h | 4cec09ffc37996805c64b33dafbe9caa5958220c | [] | no_license | notnullnotvoid/VII | 98a7ac496d04db7456ab90dcc410cdeafde9b646 | cd6747d587e5d4e237a082c28a31ff7fe6dafa65 | refs/heads/master | 2022-09-01T14:10:16.945381 | 2020-05-31T11:04:36 | 2020-05-31T11:04:36 | 267,976,235 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,703 | h | /*
SoLoud audio engine
Copyright (c) 2013-2018 Jari Komppa
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
inclu... | [
"notnullnotvoid@gmail.com"
] | notnullnotvoid@gmail.com |
d1fb81746d803610f24ec7c199708ef4916a51c5 | 9d621e7ad2960608d475b44a1a6426c95e7e8955 | /SPOJ/AIBOHP-22882283-src.cpp | dbb82a22471d6df0930c114a213936827210a314 | [] | no_license | vijayphoenix/Competitive-programming | 0c80a69135205c12f18e29292da77f073993590b | 5332c6ac016a9dc1753a5e6737ef93f688b8a4f6 | refs/heads/master | 2020-04-22T17:52:12.882748 | 2019-02-13T18:16:25 | 2019-02-13T18:16:25 | 170,556,782 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 454 | cpp | #include<bits/stdc++.h>
using namespace std;
#include<bits/stdc++.h>
int main(){
int test;
cin>>test;
while(test--){
string s;
cin>>s;
int len=s.length();
int dp[len+1][len+1]={};
for (int i = 0; i <=len; ++i)
{
for (int j = 0; j <=len; ++j)
{
if(i==0||j==0)dp[i][j]=0;
else if(s[i-1]==s[... | [
"cs17btech11040@iith.ac.in"
] | cs17btech11040@iith.ac.in |
b574b7f8841a99d6b97fb9ae92cf692f418bb631 | 66a76b9761fd730fbda64fac92e3fcffa37cfa8f | /src/TextBox.cpp | 2629208834817f9d31e94ebadd705ded69fde7a0 | [] | no_license | JaceRiehl/Council-Of-Jerrys | 699cb618bab89aa2a0fe6bd4149701a68274c078 | 1991b0de7130d642201a46ab94f2189b715f4824 | refs/heads/master | 2021-09-01T04:39:33.385827 | 2017-04-08T05:53:51 | 2017-04-08T05:53:51 | 115,288,568 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,344 | cpp | #include "TextBox.h"
#include <string>
#include <iostream>
using namespace std;
char ch = '*';
TextBox::TextBox(std::string body)
{
if(body == "")
deallocateMem();
else
this->assignText(body);
}
TextBox::~TextBox()
{
this->deallocateMem();
}
TextBox::TextBox(TextBox& tb)
{
this->copy(t... | [
"n.tipper05@gmail.com"
] | n.tipper05@gmail.com |
e36f7f3a8d2e1299869c1cc7a5a085e5d5c59797 | e1d6417b995823e507a1e53ff81504e4bc795c8f | /gbk/client/ClientLib/Tools/MrSmith/MrSmith/DlgParamEdit.cpp | 158be628c4fe02d535ebe74df94d0577e20b3d5c | [] | no_license | cjmxp/pap_full | f05d9e3f9390c2820a1e51d9ad4b38fe044e05a6 | 1963a8a7bda5156a772ccb3c3e35219a644a1566 | refs/heads/master | 2020-12-02T22:50:41.786682 | 2013-11-15T08:02:30 | 2013-11-15T08:02:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,580 | cpp | // DlgParamEdit.cpp : implementation file
//
#include "stdafx.h"
#include "MrSmith.h"
#include "DlgParamEdit.h"
#include ".\dlgparamedit.h"
// CDlgParamEdit dialog
IMPLEMENT_DYNAMIC(CDlgParamEdit, CDialog)
CDlgParamEdit::CDlgParamEdit(const char* szName, const char* szValue, CWnd* pParent /*=NULL*/)
: CDialog(CDlg... | [
"viticm@126.com"
] | viticm@126.com |
637ce6ee398c646c3d1e4988809678c3be51470f | 2fa764b33e15edd3b53175456f7df61a594f0bb5 | /appseed/base/base/os/macos/aaa_want_to_remove_macos_time.cpp | 2f710e411100948583de4fff1f0dc1dbaf13e3e3 | [] | no_license | PeterAlfonsLoch/app | 5f6ac8f92d7f468bc99e0811537380fcbd828f65 | 268d0c7083d9be366529e4049adedc71d90e516e | refs/heads/master | 2021-01-01T17:44:15.914503 | 2017-07-23T16:58:08 | 2017-07-23T16:58:08 | 98,142,329 | 1 | 0 | null | 2017-07-24T02:44:10 | 2017-07-24T02:44:10 | null | UTF-8 | C++ | false | false | 258 | cpp | #include "framework.h"
#include <sys/time.h>
inline DWORD GetTickCount()
{
timeval ts;
gettimeofday(&ts,0);
return (ts.tv_sec * 1000 + (ts.tv_usec / 1000)) % 0xffffffffu;
}
dword get_tick_count()
{
return (dword) GetTickCount();
}
| [
"camilo@ca2.email"
] | camilo@ca2.email |
3b6c7f45de34f8875f264c9a64a3906f4b1cbfa3 | d5f05df8294f95af1365a7351bb3510900ee7e4e | /example.cpp | 0a17ab979a914697c4b3d1286825e2dceca1d7a7 | [
"MIT"
] | permissive | pdanford/SpecFile | bb763bde16b6d4a28d306a647665cfa391db294e | fa669fd67e17bbacd04f3b90b0060aef589f3fc7 | refs/heads/master | 2020-06-03T08:26:32.287438 | 2020-04-18T23:17:37 | 2020-04-18T23:17:37 | 28,101,423 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,496 | cpp |
#include "SpecFile.h"
#include <iostream>
int main(int argc, const char * argv[])
{
try
{
//Load config file.
TSpecFile configFile("example.cfg");
//Read in a tag who has a single value (or a tag that has multiple values but you only want the first).
int port_number_int;
... | [
"pdanford@gmail.com"
] | pdanford@gmail.com |
68f2bb3a1dfb08fcfc28b517e41cbf93e1092b4f | 710ea99e5b8f88efb1460d6a7f3662f7bd635f33 | /src/chainparamsbase.cpp | 3e08456d1a06c5edaf6e3f89fad186c6e84d864c | [
"MIT"
] | permissive | Christmas-Coin/ChristmasCoin-Core | 262b4689b920d3e49eff1f73a0601f53e1d122f1 | 31b1582d8720d7d0d3c1b47a8083ad87d64e9693 | refs/heads/master | 2020-04-06T18:16:03.702946 | 2019-02-19T19:06:32 | 2019-02-19T19:06:32 | 157,691,676 | 1 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,779 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "chainparamsbase.h"
#include "util.h"
#include <assert.h>
#include <boost/assig... | [
"chainadmin@christmas-coin.net"
] | chainadmin@christmas-coin.net |
823d397543ae7d9dc1ed2f873338664b6501eb6d | 03565927bae4b336625dfefeb714898fcfccda79 | /spooler/Origins.cpp | a95518e76e87bad68a4da39df20160b2ec97c3c7 | [
"MIT"
] | permissive | stjordanis/spool | 8a0a2328f2b221003958cec44813489752845215 | 5ff994ce1f626ef52e4bd2422ca76e2424d32bca | refs/heads/master | 2020-05-30T09:06:36.799880 | 2019-05-30T06:09:28 | 2019-05-30T08:26:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,709 | cpp | #include "Origins.hpp"
#include "Database.hpp"
#include <cstring>
#include <stdexcept>
#include <thread>
static const char* query = "SELECT id, ref_count from origins WHERE path_id = ?;";
static const char* insert = "INSERT INTO origins (path_id, id, ref_count) VALUES (?, ?, ?);";
// Avoid redefinition of remove
stat... | [
"jeremycong@gmail.com"
] | jeremycong@gmail.com |
d395644014fd61cbccf44f432be8cf845f9f1b03 | f9ab0508de95c99ced2905b5f95173b7b52853d9 | /arduino_sketches/test_sketches/test_record_button/test_record_button.ino | 5c3b2ce5d637c3ad4b23dc84e25b9a1647e98240 | [] | no_license | id-studiolab/MLTK01 | 1ea16f2b125447302014d315e9c85bee9cc101a4 | 2672d1ab051c1b68825374b7a7ebe681a9456720 | refs/heads/master | 2023-06-13T05:00:31.488994 | 2023-06-12T20:36:00 | 2023-06-12T20:36:00 | 242,084,394 | 3 | 1 | null | 2023-05-26T10:16:11 | 2020-02-21T07:56:15 | HTML | UTF-8 | C++ | false | false | 684 | ino | #include <Bounce2.h>
const byte REC_BTN_PIN = 3;
Bounce REC_BTN_debounder = Bounce();
bool isRecBtnPressed = 0;
void setup() {
Serial.begin(9600);
init_record_button();
}
// the loop routine runs over and over again forever:
void loop() {
read_record_Button();
}
void read_record_Button() {
REC_BTN_debounder.u... | [
"lorenzormgnl@gmail.com"
] | lorenzormgnl@gmail.com |
8b4150cc81b63a9aa9d104f74a6a7dc5cb4f6e2a | f2ab276449e4e08bd86b89d936b293eb358bd2eb | /src/qt/paymentserver.cpp | 99ad77e292abfdab98371507d816c79331d93da4 | [
"MIT"
] | permissive | dukkankuver/ohmcoin | 6002cac5d3bdc4c1ee33ce9f5f39627a6cdf0efc | c1e800636ecabc035e8c22f260da01e63846a95f | refs/heads/master | 2020-03-18T16:50:42.046956 | 2018-05-21T19:35:09 | 2018-05-21T19:35:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,959 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The OHMC developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "paymentserver.h"
#include... | [
"bob@thedailygoblin.com"
] | bob@thedailygoblin.com |
c7a4c8256ba672b333d296f6696bf3402b335d36 | 891b40e5adb05f77b47d8d6c8b5518049e3c52d0 | /src/components/Settings/ValueBox.cpp | ed422e8959a817659dea6c4c6ce73a3396a28b62 | [] | no_license | olexta/Toolkit | 7701d4fbb7ea98af23e7eaf710c694be023d6eb2 | a09e9ee548ad98ab2d10267910c726989c68a989 | refs/heads/master | 2021-01-10T05:54:46.045184 | 2015-09-22T15:14:46 | 2015-09-22T15:14:46 | 49,786,905 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,022 | cpp | /****************************************************************************/
/* */
/* Project: Toolkit Settings */
/* */
/* Module: ValueBox.cpp */
/* */
/* Content: Implementation of Node::ValueBox class */
/* *... | [
"oleksii.tkachuk@gmail.com"
] | oleksii.tkachuk@gmail.com |
8bdebc6d578db2a3d483aaab86b75894cc432f2b | 0e40a0486826825c2c8adba9a538e16ad3efafaf | /lib/wxAdditions/include/wx/treelistctrl/treelistctrl.h | 9acc335b150a1157afca5660f7f711499b92e0d1 | [
"MIT"
] | permissive | iraqigeek/iZ3D | 4c45e69a6e476ad434d5477f21f5b5eb48336727 | ced8b3a4b0a152d0177f2e94008918efc76935d5 | refs/heads/master | 2023-05-25T19:04:06.082744 | 2020-12-28T03:27:55 | 2020-12-28T03:27:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,244 | h | /////////////////////////////////////////////////////////////////////////////
// Name: treelistctrl.h
// Purpose: wxTreeListCtrl class
// Author: Robert Roebling
// Maintainer: Otto Wyss
// Created: 01/02/97
// RCS-ID: $Id$
// Copyright: (c) 2004 Robert Roebling, Julian Smart, Alberto Griggi... | [
"github@bo3b.net"
] | github@bo3b.net |
3ecf4235f5cd6a758c53a0c59e3681725b3dd50a | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /third_party/blink/public/platform/web_input_event_result.h | 6b7da2d4e46297b3627d36facdeeea933fdfaea0 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 828 | h | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_PUBLIC_PLATFORM_WEB_INPUT_EVENT_RESULT_H_
#define THIRD_PARTY_BLINK_PUBLIC_PLATFORM_WEB_INPUT_EVENT_RESULT_H_
namespace blink {... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
b19300d2540372d6a74adbe4ee33fa883017d430 | ea8d301d3d31ce6b1cb71382ea5b2bdebb682638 | /ia2/sparkapp/SparkJson/StaticJsonBuffer.h | 5d4b6810032e4d96cb51dc58bc5859280538f929 | [
"MIT"
] | permissive | tonyjmnz/hcin720 | 43029ffcd628c2366280e003c6e331121e7a4c53 | 1741b396e12bad43bbfb1978e2d17deac2b07b81 | refs/heads/master | 2021-06-08T07:10:42.213208 | 2015-11-12T16:07:00 | 2015-11-12T16:07:00 | 41,457,387 | 0 | 2 | MIT | 2018-12-08T07:11:24 | 2015-08-27T00:56:37 | JavaScript | UTF-8 | C++ | false | false | 769 | h | // Copyright Benoit Blanchon 2014
// MIT License
//
// Arduino JSON library
// https://github.com/bblanchon/ArduinoJson
#pragma once
#include "JsonBuffer.h"
namespace ArduinoJson {
// Implements a JsonBuffer with fixed memory allocation.
// The template paramenter CAPACITY specifies the capacity of the buffer in
//... | [
"anthony.jimenezb@gmail.com"
] | anthony.jimenezb@gmail.com |
8795457c2e65dd45db4095e9fce3b0a504483f59 | af89ab14564d06a760221e95fe13bb87cab04c2e | /misal4_5.cpp | 33396e759cf60027645dd6787da045eeaae57b1a | [] | no_license | ReyhanaKarimly/REYHANA_KARIMLI_PROJECTS_C | 73251aff2ab0a0e5b1df8900f229c37925d2219c | b3c067b17580e645448867cc6407a2864599bfd0 | refs/heads/master | 2020-05-25T19:44:51.876121 | 2017-03-14T14:48:16 | 2017-03-14T14:48:16 | 84,960,776 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 187 | cpp | #include <stdio.h>
#include <conio.h>
int main()
{
float x,y;
printf("Enter x,y: ");
scanf("%f%f",&x,&y);
if (y>=x && y<=1 && x>=-1)
printf("YES");
else
printf("NO");
getch();
} | [
"karimlyreyhana@gmail.com"
] | karimlyreyhana@gmail.com |
c71bf77311ddb234223363a3ab32ad2bcb6d3f19 | 5de42c4e14a7ddbc284a742c66cb01b230ba43ce | /codeforces/1147/D.cpp | 3c53852f4cd3b8f8a21bf3120a30e9c72a91feb6 | [] | no_license | NhatMinh0208/CP-Archive | 42d6cc9b1d2d6b8c85e637b8a88a6852a398cc23 | f95784d53708003e7ba74cbe4f2c7a888d29eac4 | refs/heads/master | 2023-05-09T15:50:34.344385 | 2021-05-04T14:25:00 | 2021-05-19T16:10:11 | 323,779,542 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,404 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;
const int mod = 998244353;
void ad(int& x, int y) {
x += y;
if (x >= mod)
x -= mod;
}
string s;
int m, res;
int n;
basic_string<pair<int, int>> e[2005];
int vis[2005];
void ae(int ... | [
"minhkhicon2468@gmail.com"
] | minhkhicon2468@gmail.com |
382988a2ea56e388bc4ffdfd397fd9d858878497 | 00d46a1fd4f89e453a516fb671e19279ec276346 | /libs/hwui/tests/common/scenes/BitmapFillrate.cpp | be58d09b7f4d14a1068cc3568fee438adc9c3bb6 | [
"Apache-2.0",
"LicenseRef-scancode-unicode"
] | permissive | PixelExperience/frameworks_base | 0e2e5a46488ac2c783040a6c9869706094ce443c | ca5a74a85004cf9bb6813c23ddba3c94e3f4fcb7 | refs/heads/oreo-mr1 | 2023-08-03T04:08:15.038905 | 2018-12-04T20:39:27 | 2018-12-04T20:39:27 | 220,296,956 | 70 | 778 | NOASSERTION | 2023-08-08T16:29:08 | 2019-11-07T17:52:10 | Java | UTF-8 | C++ | false | false | 2,975 | cpp | /*
* Copyright (C) 2016 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... | [
"sergeyv@google.com"
] | sergeyv@google.com |
b5cd4f29b135cd96e4c6db505cb19b078d8ec985 | ab36b7323b660db12194eb451d35c0b9b91867f2 | /연습 프로젝트/연습 프로젝트/HighCreditAccount.cpp | aff4dc998471e33fbccd820cdcd9c38817919525 | [] | no_license | ggzerosum/CPP_Practice | d9ffd1ef3cb244a912942b44ee83410b85646976 | e54a2b62adfeb87b2f6b3d520e32d78f6bcd3df7 | refs/heads/master | 2020-05-23T10:17:56.789242 | 2017-03-28T14:07:50 | 2017-03-28T14:07:50 | 80,415,168 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 2,207 | cpp | #include "headers.h"
#include "HighCreditAccount.h"
namespace ES = My_EnumSpace;
namespace My_NameSpace
{
HighCreditAccount::HighCreditAccount()
:interest(1), grade(ES::Grade_C)
{}
HighCreditAccount::HighCreditAccount(int id, const char* name, int cash, int interest, int grade)
:ACCOUNT(id, name, cash), inter... | [
"ggzerosum@naver.com"
] | ggzerosum@naver.com |
cbf4a43446d737f8b235373aa82a5201962c70c3 | 5af0dd38b1560660db3859a85ee95d772a49321f | /Game/gameObject/IGameObject.cpp | af434e52efafffeaef3242e0d9e4cff2e2717845 | [] | no_license | w-kaoru/Game_01 | dbeac2d4035955c049ea288324835942b0dfa33e | debd81c9314495e54197e7a352484d7b66a86ed8 | refs/heads/master | 2020-03-29T18:08:48.086475 | 2019-08-12T12:59:42 | 2019-08-12T12:59:42 | 150,196,815 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 142 | cpp | #include "stdafx.h"
#include "GameObjectManager.h"
#include "IGameObject.h"
IGameObject::IGameObject()
{
}
IGameObject::~IGameObject()
{
}
| [
"kbc17b28@stu.kawahara.ac.jp"
] | kbc17b28@stu.kawahara.ac.jp |
88ce4362c08cf1a60cc8bce77d05d60a8bb9e0d5 | b067b1fc5239eaf4354871dcb9d64f10901af2a8 | /Labor_5/L5_A2/Medium.h | 5d6d4cf664adb444401cca121afe6a24a43cf49b | [] | no_license | Dream-Dev-Team/Labor_OOS1 | 37d9282de9da0d87745a63ac91d917e06d74e45b | cf6c6679acaf4a4844f8955896af16e2b2b7229d | refs/heads/master | 2022-11-26T01:44:59.534960 | 2020-07-24T08:39:20 | 2020-07-24T08:39:20 | 261,707,092 | 2 | 1 | null | null | null | null | ISO-8859-1 | C++ | false | false | 953 | h | // Medium.hpp
#pragma once
#include <string>
#include "Datum.h"
#include "Person.h"
using namespace std;
// Klasse für die Medien, die in der Bibliothek ausgeliehen werden
// können
class Medium {
// Titel des Mediums
const string titel;
// Verlag, der das Medium herausgibt
const string verlag;
// Jahr, in dem ... | [
"mabeit10@hs-esslingen.de"
] | mabeit10@hs-esslingen.de |
52ce6bced531c90d46c3d42374175584c730b064 | 37f172115175d2ba7b6dba30a85b3d737273c5a3 | /src/caffe/solver.cpp | 749f426cda3090fa485fc485f45f58e8430c8f0c | [
"BSD-3-Clause",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-generic-cla"
] | permissive | daijialun/caffe_mvco | 7c6ff8ab57239f40c6e49701f62b708944dcab68 | 6676efabc4a2819efd4dba18fe3c65a89d30553c | refs/heads/master | 2021-01-21T14:11:28.580875 | 2016-07-30T16:45:21 | 2016-07-30T16:45:21 | 58,255,560 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,919 | cpp | #include <cstdio>
#include <string>
#include <vector>
#include "caffe/solver.hpp"
#include "caffe/util/format.hpp"
#include "caffe/util/hdf5.hpp"
#include "caffe/util/io.hpp"
#include "caffe/util/upgrade_proto.hpp"
namespace caffe {
template<typename Dtype>
void Solver<Dtype>::SetActionFunction(ActionCallback func)... | [
"zynzl120@163.com"
] | zynzl120@163.com |
f0961fba2b2f33a4f10cdf554d582e8a6e2f1552 | 71400d7e6ff96f65aeedc177dd71647d21cc28cb | /main.cpp | 2e4f71cb31e2dbcedd61cb949e58784dfaebcdee | [] | no_license | huynhthientung/ag_device_manager | 6abc4dc272bdddc613ad0b4ea29877cf6c365d89 | 9ce7095d77b685a40d29a1ac33e85c9415561f5e | refs/heads/master | 2022-08-02T17:01:52.254596 | 2020-06-04T04:25:55 | 2020-06-04T04:25:55 | 269,259,308 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,749 | cpp | /****************************************************************************
**
** Copyright (C) 2012 Denis Shienkov <denis.shienkov@gmail.com>
** Copyright (C) 2012 Laszlo Papp <lpapp@kde.org>
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtSerialPort module of the Qt Toolkit.
**
** $QT_BEGI... | [
"huynhthientung.dev@example.com"
] | huynhthientung.dev@example.com |
f32a67ff49fc16b9c84375293ed28e8f1936760e | fc3a2fe0d6737450c17383212d10ce9f1f1d12c0 | /src/saveload/saveloadhouse.cpp | 070d77a53c6a252042514ff495eec41958775916 | [] | no_license | SkrilaxCZ/Dune2 | d717e271ebc47ff7ad125c4cc6c9a72fa42ea376 | 84b270888ce9d0b0e348e53f6814f6e1b8ac3fe4 | refs/heads/master | 2021-01-17T08:39:06.023631 | 2016-08-13T04:06:54 | 2016-08-13T04:06:54 | 63,850,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,692 | cpp | /** @file src/saveload/house.c Load/save routines for House. */
#include <string.h>
#include "saveload.h"
#include "../house.h"
#include "../pool/housepool.h"
#include "../pool/pool.h"
static const SaveLoadDesc s_saveHouse[] = {
SLD_ENTRY2(House, SLDT_UINT16, index, SLDT_UINT8),
SLD_ENTRY (House, SLDT_UINT16, harv... | [
"skrilax@gmail.com"
] | skrilax@gmail.com |
a00f2ae1ab1a8425629f2826b2ea72a24eb73116 | da98782e6e34278ab4f139855d959c6512197de4 | /algorithm/code/graph/Hungarian_algorithm.cpp | 2947af5ab3892f705e5607ad07942fc180dd0cc2 | [] | no_license | SiuTo/ModelCode | 7e1d8a35ea490f419f15a7ef591d9fdf18bd7c9f | 26e74042b099cf90e1446e6ef52d9b07ed2aa1cb | refs/heads/master | 2021-01-18T23:03:41.317414 | 2016-12-05T08:50:00 | 2016-12-05T08:50:00 | 31,450,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 607 | cpp | #include <cstdio>
#include <cstring>
const int Maxn=201;
bool u[Maxn];
int g[Maxn],link[Maxn],x[Maxn*Maxn],next[Maxn*Maxn];
bool dfs(int v)
{
for (int p=g[v]; p; p=next[p])
if (!u[x[p]])
{
u[x[p]]=true;
if (!link[x[p]] || dfs(link[x[p]]))
{
link[x[p]]=v; return true;
}
}
return false;
}
int ma... | [
"418xiaotao@163.com"
] | 418xiaotao@163.com |
45efebb9a31a059cbe5738b218a782b5fcf72026 | f7b9fdb07697c645158325624eb937d636ac37b8 | /CometWriteTxt.cpp | 4a20c50951b9a43354b9708d1f5c8377ffbb6dfc | [
"Zlib",
"MIT"
] | permissive | DarrenEnos/CometSearch | 9079a52f9b70ef0cbe9cb4773b8507642ead3005 | c25fcff2f52e025aae7fb023c156dc075b543564 | refs/heads/master | 2020-04-23T23:09:08.724586 | 2019-02-19T20:05:27 | 2019-02-19T20:05:27 | 171,525,833 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,164 | cpp | /*
Copyright 2012 University of Washington
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed ... | [
"darren@primelabs.ms"
] | darren@primelabs.ms |
db23b75ec4ca64922beec322dbfa48e581658c05 | 1fe81ba754c8e214220df9d29ba70e6c51492f32 | /PP3Prizma/main/main/pp3prizma.hpp | f42ce8f0571f361bb62712ffc9475e4a3d6feb5b | [] | no_license | sasaxopajic/OOP | db2d19ec9e7c21d0e7df771e5d7497bd6aaf4e42 | 2b9638c37c03f6e3d76767faf78f53d9ea448579 | refs/heads/master | 2022-12-01T13:32:50.924687 | 2020-08-19T15:38:06 | 2020-08-19T15:38:06 | 285,808,443 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 483 | hpp | #ifndef PP3PRIZMA_DEF
#define PP3PRIZMA_DEF
#include "jstrougao.hpp"
#include "pravougaonik.hpp"
class PP3Prizma {
private:
JSTrougao B;
Pravougaonik M;
public:
PP3Prizma(double aa = 1, double hh = 1) :B(aa), M(3 * aa, hh) {} // stranica baze, visina prizme
double getA() const {
return B.getA();
}
double ... | [
"sasaxxxpajic@gmail.com"
] | sasaxxxpajic@gmail.com |
9852a209768b94e26f9b713943e2749d8270a844 | aade1e73011f72554e3bd7f13b6934386daf5313 | /Contest/Europe/NERC/FinalsOnsite-2020/G.cpp | 92b0b17c58ca5fb7ee632eacefb971523aa98e74 | [] | no_license | edisonhello/waynedisonitau123 | 3a57bc595cb6a17fc37154ed0ec246b145ab8b32 | 48658467ae94e60ef36cab51a36d784c4144b565 | refs/heads/master | 2022-09-21T04:24:11.154204 | 2022-09-18T15:23:47 | 2022-09-18T15:23:47 | 101,478,520 | 34 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 1,393 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int t;
cin >> t;
while (t--) {
int n, k;
cin >> n >> k;
vector<int> p(n + 5);
vector<vector<int>> g(n + 5);
for (int i = 2; i <= n; ++i) {
cin >> p[i];
g[p[i]].push_back(i);
}
vector<int> dep(n + 5, 0);
auto d... | [
"tu.da.wei@gmail.com"
] | tu.da.wei@gmail.com |
7e2586a81ff09412accc07ddddd27cf2eb3837c5 | d0eb4e64839ea850dae814641a510e134f7ede43 | /Pruebas_Termistor/Pruebas_Termistor.ino | 3db7ac70a79a5faba34c5cf319e218e640933c7b | [] | no_license | OscarAlvaradoM/Grafeno | 3eb9b8e80ea8396f152101c680b500086827dbdc | 0b6be0eb36e319b4fee8b4884e9e1f0512342cab | refs/heads/master | 2020-07-17T04:24:53.628124 | 2019-10-14T06:30:11 | 2019-10-14T06:30:11 | 194,043,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,029 | ino | //Se utilizaron los siguientes tutoriales para realizar este código, en especial el del segundo link.
//https://www.rinconingenieril.es/como-usar-un-termistor-ntc/
//http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/
int TermistorPin = A0; //Pin en donde leemos el voltaje proveniente del term... | [
"oscaralvarado@ciencias.unam.mx"
] | oscaralvarado@ciencias.unam.mx |
ec9f680a452e78ff1a755136dc6fb0708ea6bd1c | 0b8d7c121a389448a52d4f7d4009ef82be8d0c73 | /LIB/src/sonic/util/String.cpp | dacc5347ccc2cdc09aaf3ba48fda3ab31125b72a | [] | no_license | FahJulian/RuntimeCodeReload | e9bed54edb5719c514de8ed67cb2bf9b38e6c863 | b602cea07d30b466f4ffda14c11106d10fdf9416 | refs/heads/master | 2023-03-28T01:15:42.112699 | 2021-03-31T12:08:51 | 2021-03-31T12:08:51 | 353,340,885 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,526 | cpp | #include "String.h"
#include <cmath>
#include <istream>
#include <charconv>
#include "sonic/Base.h"
#include "StaticArray.h"
namespace sonic
{
namespace
{
StaticArray<char, 8 * sizeof(long long)> STRING_CAST_BUFFER;
template<typename T>
String _floatToString(T value, bool scientific)
{
auto result = st... | [
"fah.julian@protonmail.com"
] | fah.julian@protonmail.com |
249710b09efb4c7ccb7979f07cbbe3145a47e908 | 8bac4ac361528361486654fc375e1e07e2cd4e8a | /color/color.cc | 5b6d5411ca9ed77f930ef23a02b4ad750f159766 | [
"BSD-3-Clause"
] | permissive | chokobole/color | c042fc563d9d019101e5e7a6b5d706fa57a0ecf2 | 703ae9e1a30868cecd6bb0962c475a15c656b109 | refs/heads/master | 2020-12-02T15:29:42.482349 | 2020-01-02T05:35:42 | 2020-01-03T06:59:12 | 231,049,660 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,196 | cc | // Copyright (c) 2019 The Color 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 "color/color.h"
#include "absl/strings/str_format.h"
#include "absl/strings/str_split.h"
#include "base/strings/string_number_conversions.h"
#i... | [
"chokobole33@gmail.com"
] | chokobole33@gmail.com |
201bc93539545180545773d82c2f41dd664b3e80 | ec7d1269672e09ff8ff2720b60f350677c8c15f1 | /arm-linux-gcc-4.5.1/4.5.1/arm-none-linux-gnueabi/sys-root/usr/include/c++/4.5.1/tr1/hashtable.h | 96ffa144bada2b6867a36dea11a4deeb074cd803 | [] | no_license | ElevenH/First-Blood | 6a4d8ed48e93660c44b0623405bf30530eeea16b | 44ee02b8126c5609dc78d917633bde9caf4d0d68 | refs/heads/master | 2022-02-07T16:20:43.634359 | 2022-01-28T08:04:42 | 2022-01-28T08:04:42 | 46,023,766 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41,559 | h | // TR1 hashtable.h header -*- C++ -*-
// Copyright (C) 2007, 2009, 2010 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 License as published by the
// Free Software ... | [
"pangchol@163.com"
] | pangchol@163.com |
7f6401d290c66c79daab47657c1186ae63c11113 | 3783865230deac9a7e39eeba19ad571fffa34672 | /Engine/src/core/util/shaders/lamp/LampShader.cpp | 0328637e6e9383b74ee55bccd757b39de6474c47 | [] | no_license | manugildev/opengl-rendering-engine | f18fd2a0a03ad8d92dfc490bf24f337b4ba1f01c | d5f8ba583b1bcd551ca3052c5f8b54a87a06a3ce | refs/heads/master | 2018-11-21T03:44:38.287254 | 2018-10-09T21:22:07 | 2018-10-09T21:22:07 | 109,459,612 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,003 | cpp | #include "LampShader.h"
LampShader *LampShader::create() {
LampShader *p = new LampShader();
p->init();
return p;
}
LampShader::LampShader() : ShaderProgram(VERTEX_FILE, FRAGMENT_FILE) {}
LampShader::~LampShader() {}
void LampShader::bind_attributes() {
ShaderProgram::bind_attribute(0, "vertex_positions");
}
... | [
"madtriangl3@gmail.com"
] | madtriangl3@gmail.com |
ea4c1f815a0e9d467b126543da824a6acdda4ef0 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function13863/function13863_schedule_7/function13863_schedule_7_wrapper.cpp | e3b26a62350c8f235b6bc527c5e8e64adab8bcc2 | [] | 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 | 926 | cpp | #include "Halide.h"
#include "function13863_schedule_7_wrapper.h"
#include "tiramisu/utils.h"
#include <cstdlib>
#include <iostream>
#include <time.h>
#include <fstream>
#include <chrono>
#define MAX_RAND 200
int main(int, char **){
Halide::Buffer<int32_t> buf00(65536, 1024);
Halide::Buffer<int32_t> buf0(655... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.