blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bd22d9f375faaf494520f6ab61b8c62b4cabb668 | e44a2dfb4419f46830c0d43ffb4ba4da02cfb432 | /ui/accessibility/ax_live_region_tracker.cc | b5e53f0603c7ebd9ccb9cafc304dfde7ec44cd8e | [
"BSD-3-Clause"
] | permissive | LiamKapeel/chromium | 20bfd1f20b601fb952d9340c374b09a9e79bda0b | 46e6963c51b1c7c31f3367769416f30f00b1a123 | refs/heads/main | 2023-07-01T09:37:53.807035 | 2021-08-04T18:51:40 | 2021-08-04T18:51:40 | 392,797,830 | 0 | 0 | BSD-3-Clause | 2021-08-04T18:58:36 | 2021-08-04T18:58:35 | null | UTF-8 | C++ | false | false | 2,411 | cc | // Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/accessibility/ax_live_region_tracker.h"
#include "ui/accessibility/ax_node.h"
#include "ui/accessibility/ax_role_properties.h"
namespace ui... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
35a47b126c31dfb5a19816db61c97ff47d2a4169 | ecac474a3f5095c61cfccd0e69cab0d4ca050ebd | /BZOJ/BZOJ2780.cpp | 62602c0f0b94280fc77fb42cb3b9d0ec98d76955 | [
"Apache-2.0"
] | permissive | xehoth/OnlineJudgeCodes | 478e678b35ba1b7e168b8230da594f03532aa74c | 013d31cccaaa1d2b6d652c2f5d5d6cb2e39884a7 | refs/heads/master | 2021-01-20T05:37:25.194545 | 2019-08-17T16:07:02 | 2019-08-17T16:07:02 | 101,457,867 | 7 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,207 | cpp | #include <bits/stdc++.h>
namespace IO {
inline char read() {
static const int IN_LEN = 1000000;
static char buf[IN_LEN], *s, *t;
s == t ? t = (s = buf) + fread(buf, 1, IN_LEN, stdin) : 0;
return s == t ? -1 : *s++;
}
template <typename T>
inline bool read(T &x) {
static char c;
static bool io... | [
"824547322@qq.com"
] | 824547322@qq.com |
95f4ad31fd981ed5f79606f671527ca3f543a564 | 9de18ef120a8ae68483b866c1d4c7b9c2fbef46e | /third_party/abseil-cpp/absl/container/btree_benchmark.cc | cc9a106d4e5fe406fac1da92b22186fabad4d279 | [
"BSD-2-Clause",
"LicenseRef-scancode-free-unknown",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | google/orbit | 02a5b4556cd2f979f377b87c24dd2b0a90dff1e2 | 68c4ae85a6fe7b91047d020259234f7e4961361c | refs/heads/main | 2023-09-03T13:14:49.830576 | 2023-08-25T06:28:36 | 2023-08-25T06:28:36 | 104,358,587 | 2,680 | 325 | BSD-2-Clause | 2023-08-25T06:28:37 | 2017-09-21T14:28:35 | C++ | UTF-8 | C++ | false | false | 27,375 | cc | // Copyright 2018 The Abseil Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | [
"noreply@github.com"
] | noreply@github.com |
f3d0c23b72178755d6f13beddcf234ebdec08078 | 191460258090bcabe392785948025887696ccd1b | /src/xenia/gpu/gl4/gl4_graphics_system.cc | bd2ee1f87d76ae3940ffcfe02227548ddb6bda94 | [] | no_license | DrChat/xenia | 1b81ab13298229cb568c1385774f47792a802767 | 0dc06a7e6fedaa4dd7bbe4e3c34bc288a58f6c49 | refs/heads/master | 2020-04-05T18:29:57.710202 | 2015-05-20T05:31:37 | 2015-05-20T05:31:37 | 34,922,300 | 5 | 5 | null | 2015-05-01T20:21:14 | 2015-05-01T20:21:14 | null | UTF-8 | C++ | false | false | 11,051 | cc | /**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2014 Ben Vanik. All rights reserved. ... | [
"ben.vanik@gmail.com"
] | ben.vanik@gmail.com |
9ee7cc9c6147b82567a9f4874461bcc7ff43c351 | f81124e4a52878ceeb3e4b85afca44431ce68af2 | /re110_2/41/U | 39132c5a7eb5fbf141515b11e0a8b5f4fd8d2f13 | [] | no_license | chaseguy15/coe-of2 | 7f47a72987638e60fd7491ee1310ee6a153a5c10 | dc09e8d5f172489eaa32610e08e1ee7fc665068c | refs/heads/master | 2023-03-29T16:59:14.421456 | 2021-04-06T23:26:52 | 2021-04-06T23:26:52 | 355,040,336 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,160,665 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"chaseguy15"
] | chaseguy15 | |
f991f3f31fd0dee8125bff2270f7b85b4f84206c | 9f69234cf5cc725258fb21593458e3a6b771aa69 | /05-Binary-Search-Tree/10-The-Disadvantages-of-BST-and-More-Trees/BinarySearchTree.h | 4703a3fa263d08e000c2774827bdc78b84578be9 | [] | no_license | muzigef/Play-with-Algorithms | b8c1b1da2f2221d4b5d6529ef72f4b43cdfb1af0 | cce083e1387436b7b1fd8912cb129afa0e5cf6e0 | refs/heads/master | 2021-05-17T19:36:49.388814 | 2020-03-29T03:26:04 | 2020-03-29T03:26:04 | 250,938,684 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,124 | h | #pragma once
#include <iostream>
using namespace std;
// 二分搜索树
template<typename Key,typename Value>
class BinarySearchTree {
private:
// 二分搜索树中的节点为私有的结构体, 外界不需要了解二分搜索树节点的具体实现
struct Node {
Key key;
Value value;
Node* left;
Node* right;
Node(Key key, Value value) {
... | [
"muzigef@163.com"
] | muzigef@163.com |
fb1ec218c29899d1e97647f1cbfff29b3f6bcf30 | 55263cf5b3e6e727d46e39a0f9a5bba050a2e090 | /ode/examples/lamgoussismech.hh | 91c0e0cdf9854d3ec82145f6b1f594f68794d5d4 | [] | no_license | qooldeel/adonis | a6fc4d2fc3cb23211ccd4830891b4dc599d53f9d | 7222cb3d298306944548a8617a1db79d9333baab | refs/heads/master | 2021-01-20T18:33:06.985900 | 2016-06-15T20:33:00 | 2016-06-15T20:33:00 | 61,237,667 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,227 | hh | #ifndef LAM_GOUSSIS_MECHANISM_HH
#define LAM_GOUSSIS_MECHANISM_HH
#include "../common/adonisassert.hh"
#include "../../misc/misctmps.hh"
#include "../../io/readinparameters.hh"
namespace Adonis{
/**
* \brief Lam-Goussis combustion mechanism
*
* ODEs are given in [1], the full stuff can be found in [2]
... | [
"mfein@debian"
] | mfein@debian |
24e63253e7f931073e6bf5b10d5e0e7c1c7d7d68 | c789cb8f60eb6b4f8e0c31cefb69bd1715b3c22e | /include/Queue.hpp | 1523b72a36d07238146da67ff1f8d2f522f944ee | [] | no_license | przestaw/Theater | ea1b8e621988875a006ed6cfd1215802e388e948 | 5ecc0c0171f0ba0be73c4b8e77871b1c7987331a | refs/heads/master | 2020-03-10T21:33:21.845858 | 2018-10-19T08:42:50 | 2018-10-19T08:42:50 | 129,597,061 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,600 | hpp | /*
* Queue.hpp
*
* Class Queue - a template linked list queue to contain any type of data:
* - Able to:
* > attach, detach an element
* > return data containted by a specific node
* > check if an element is containted in the queue
* - Contains its own custom iterator
* ^ DECLARATION AND DEFINITION
... | [
"pstawczy@mion.elka.pw.edu.pl"
] | pstawczy@mion.elka.pw.edu.pl |
f3c693697bec177df7e7d794d1eacd947e45d306 | 00f76c215b31d3fca29d2fc884239ca9a82e8969 | /stm32_uart_driver.h | ac9fa6d441acb705cef65eef1841621c6e907a23 | [
"MIT"
] | permissive | antongus/stm32tpl | 9d4b069d1a3726e2f42b57ed6a912826a565f421 | aa8da9f615782ed4d36c81ab262626a1b65a3656 | refs/heads/master | 2023-07-09T07:53:51.526087 | 2020-01-02T16:45:07 | 2020-01-02T16:45:07 | 19,882,916 | 59 | 23 | null | null | null | null | UTF-8 | C++ | false | false | 19,434 | h | /**
* stm32tpl -- STM32 C++ Template Peripheral Library
* Visit https://github.com/antongus/stm32tpl for new versions
*
* Copyright (c) 2011-2020 Anton B. Gusev aka AHTOXA
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files ... | [
"antongus@mail.ru"
] | antongus@mail.ru |
abf967ef3b536a56752f290d320dc4b2f57fad5a | 46cb45d9ddeb58aa1fe4276637b8d866d4a5ac13 | /Source/HeliGame/Private/Bots/HeliBot.cpp | 09bbd304ef5b21977c19baa44c6046c60be94b70 | [] | no_license | andreybicalho/HeliGame | 8d680c8537150c7f9bdcdfd0c68e583114bc9b6a | a7268d18d832169f7c39577786d5294d757246de | refs/heads/master | 2021-01-23T12:26:35.181833 | 2018-05-09T21:22:39 | 2018-05-09T21:22:39 | 101,119,646 | 19 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 5,251 | cpp | // Copyright 2017 Andrey Bicalho Santos. All Rights Reserved.
#include "HeliBot.h"
#include "HeliGame.h"
#include "HeliProjectile.h"
#include "Curves/CurveFloat.h"
#include "Components/AudioComponent.h"
#include "GameFramework/FloatingPawnMovement.h"
AHeliBot::AHeliBot(const FObjectInitializer &ObjectInitializer) : ... | [
"andreybicalho@gmail.com"
] | andreybicalho@gmail.com |
176ac782073a83489e1849879805abde96d64eb8 | b3dcddeadfbaa57ef2bad9fb64dfbbc4aec0b7c2 | /geek/sortByParity.cpp | 1280062e536009bbc29bd131fdb7f59d2a374051 | [] | no_license | cmiyachi/CygWinAlgorithms | 6b211fd42f41e5126c15b3fe4c2f6a7e780671c1 | 9132f0049e1474a0d232d23db3b85b3b5335dadb | refs/heads/master | 2021-12-14T21:42:21.075024 | 2021-12-08T19:45:43 | 2021-12-08T19:45:43 | 174,758,849 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 347 | cpp | class Solution {
public:
vector<int> sortArrayByParity(vector<int>& A) {
int i = 0, j = A.size() - 1;
while (i < j) {
while ((i < j) && (A[i] % 2 == 0)) ++ i;
while ((i < j) && (A[j] % 2 == 1)) -- j;
swap(A[i], A[j]);
i ++;
j --;
}... | [
"cmiyachi@alum.mit.edu"
] | cmiyachi@alum.mit.edu |
8c0eebd6289fe5e575c88eff7aa092a61616e90c | 780456e367d103c96fd134269ccf2d21b20cd74f | /src/telemetry_status_Subscriber.cpp | 5f3bd22b046fa6512f9b4da21627fe1d2f7aa75e | [
"BSD-3-Clause"
] | permissive | PX4/micrortps_agent | eddad4f25119cbebc0f9f262cca07ea576994d20 | 420689a5cab1712318f8756b2b537b04d089aa69 | refs/heads/main | 2023-08-28T17:49:52.164863 | 2022-10-11T22:02:12 | 2022-10-11T22:02:12 | 288,444,071 | 10 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 6,096 | cpp | /****************************************************************************
*
* Copyright 2017 Proyectos y Sistemas de Mantenimiento SL (eProsima).
* Copyright (c) 2018-2021 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are perm... | [
"bot@px4.io"
] | bot@px4.io |
549774b7adea4bea155121394c6444171133e0c6 | c919c591cc0ead8cea7275c11812d5725b41a298 | /Engine/Include/Component/ColliderPoint_Com.h | 4e74e26f0464fd45e100ad377016ed8115e7b58b | [] | no_license | qjagh95/In-Game-AStar | bbfe34de23838a56a4f4c2961e8bbeae3c7db973 | c367d294ba8d0f0ff7548da5b945f8be059a88e2 | refs/heads/master | 2020-11-30T12:25:55.368369 | 2020-01-31T15:45:31 | 2020-01-31T15:45:31 | 230,396,302 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 825 | h | #pragma once
#include "Collider_Com.h"
JEONG_BEGIN
class JEONG_DLL ColliderPoint_Com : public Collider_Com
{
public:
bool Init() override;
int Input(float DeltaTime) override;
int Update(float DeltaTime) override;
int LateUpdate(float DeltaTime) override;
void Collision(float DeltaTime) override;
bool Collsion(... | [
"qjagh95@gmail.com"
] | qjagh95@gmail.com |
9a004f6576d30341dfa50ac025f9421706e71ce4 | e7be2ee48f952308f5672240c2c833d718d9d431 | /Juliet_Test_Suite_v1.3_for_C_Cpp/C/testcases/CWE588_Attempt_to_Access_Child_of_Non_Structure_Pointer/CWE588_Attempt_to_Access_Child_of_Non_Structure_Pointer__class_08.cpp | d009cdb09bc338119eccbe18cecfa27b5301eb12 | [] | no_license | buihuynhduc/tooltest | 5146c44cd1b7bc36b3b2912232ff8a881269f998 | b3bb7a6436b3ab7170078860d6bcb7d386762b5e | refs/heads/master | 2020-08-27T20:46:53.725182 | 2019-10-25T05:42:36 | 2019-10-25T05:42:36 | 217,485,049 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,589 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE588_Attempt_to_Access_Child_of_Non_Structure_Pointer__class_08.cpp
Label Definition File: CWE588_Attempt_to_Access_Child_of_Non_Structure_Pointer__class.label.xml
Template File: sources-sink-08.tmpl.cpp
*/
/*
* @description
* CWE: 588 Attempt to Access Child of Non Str... | [
"43197106+buihuynhduc@users.noreply.github.com"
] | 43197106+buihuynhduc@users.noreply.github.com |
cd925d6fb2511154c8366a7c3fd01b4db16b1919 | 56dc7e982796ac7e68cd4873cb00f9e1f67aff43 | /algo/pajak.cpp | a5f003950b5b57cf234e14870cc83944e058ba75 | [] | no_license | geraldefrata/Algorithm-and-Programming | 3e1ebf208c94933480e5dddedbaac012efc0a5f5 | a36df2edce6d0aa8becaaa2278cf87fef745cb5d | refs/heads/main | 2022-12-27T10:25:16.843503 | 2020-10-05T09:06:53 | 2020-10-05T09:06:53 | 301,348,262 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,690 | cpp | #include<stdio.h>
int main()
{
long long int gaji, gajitotal, total;
int anak, istri;
long long int pajaktotal, pajak1, pajak2, pajak3, pajak4, tunjangan;
long long int tahunan;
printf("penghasilan perbulan : ");
scanf("%11d", &gaji);
tahunan=gaji*12;
printf("jumlah istri : ");
scanf("%d", &ist... | [
"noreply@github.com"
] | noreply@github.com |
55b1303f254bb4fd1f6d4f6b02a474c3e0d3d770 | 10dd26ca1ad20b90980fa18aa6b60fccd6377a1b | /code/atom/src/server/Server.cpp | 429c8da411d4bb86ceb6f885b2159f0f9f0ab49b | [
"MIT"
] | permissive | KasumiL5x/atom | 7c200f875fa1a2d5766ec181504fbde52e4fa3b8 | 90262f59e56a829017f95f297c1a6701fc4e200e | refs/heads/master | 2020-04-30T04:29:30.736024 | 2019-03-20T07:16:59 | 2019-03-20T07:16:59 | 176,611,886 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,576 | cpp | #include "Server.hpp"
using namespace atom;
Server::Server()
: acceptor_(ioService_), acceptorSocket_(ioService_), running_(false) {
}
Server::~Server() {
stop();
}
bool Server::start( int port ) {
if( running_ ) {
return false;
}
auto ep = tcp::endpoint(tcp::v4(), port);
acceptor_.open(ep.protocol());
ac... | [
"KasumiL5x@gmail.com"
] | KasumiL5x@gmail.com |
0f3925d57ba8ba506c96636151cc5d3ebe37f443 | e641bd95bff4a447e25235c265a58df8e7e57c84 | /chrome/common/extensions/manifest_tests/permissions_parser_unittest.cc | 56f86de5c7b055b44d9f8428ff476ea46dd70e89 | [
"BSD-3-Clause"
] | permissive | zaourzag/chromium | e50cb6553b4f30e42f452e666885d511f53604da | 2370de33e232b282bd45faa084e5a8660cb396ed | refs/heads/master | 2023-01-02T08:48:14.707555 | 2020-11-13T13:47:30 | 2020-11-13T13:47:30 | 312,600,463 | 0 | 0 | BSD-3-Clause | 2022-12-23T17:01:30 | 2020-11-13T14:39:10 | null | UTF-8 | C++ | false | false | 10,452 | cc | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "extensions/common/manifest_handlers/permissions_parser.h"
#include "base/stl_util.h"
#include "base/strings/stringprintf.h"
#include "base/test... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
cbce981f076bbaddf335f011f847b86927c37406 | a678a757b10028cb552276d78894b5b5ddf55ce7 | /PRIME_T - Liczby Pierwsze.cpp | 1649fed4c5b7780830100629df819d2c8d23adcc | [
"Unlicense"
] | permissive | ArkadiuszLatka/SPOJ---moje-zadania | 78f6fd2b13b62f41dc89ea694395f9175f89d515 | 5c65280effb328172c390eb05a1d0f08be496fb3 | refs/heads/master | 2022-04-18T15:19:36.574685 | 2020-04-12T13:42:46 | 2020-04-12T13:42:46 | 255,086,548 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 546 | cpp | #include <iostream>
using namespace std;
bool czyToLiczbaPierwsza(int liczba)
{
if (liczba<2)
return false;
for (int i = 2; i*i<=liczba; i++ )
if (liczba%i ==0)
return false;
return true;
}
int main()
{
int podajLiczbe ;
int test,wynik;
cin>>test;
for(int i =... | [
"arkadiusz.latka.programista@gmail.com"
] | arkadiusz.latka.programista@gmail.com |
7762e839bfa29aeac4b911d15d5ee579e6106f4f | ff2365298ad897c75b987a336e68ca2bed92c9a8 | /code/pro/new_way_to_solve_gcd.cpp | 902ff2a950e7cd53419246fcf27babaf0feea6cb | [] | no_license | ajaymalik2592/practice_cpp_code | ec6e85c74614d1a3bf409c09d0e80fb927238e21 | d48ff131384cb10d8dab9d9388ea62c8a7d47726 | refs/heads/master | 2023-03-22T13:06:57.560400 | 2021-03-24T14:02:24 | 2021-03-24T14:02:24 | 350,808,987 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,405 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
#define F(i,a,b) for(int i = a ; i <=b ; i++)
#define R(i,a,b) for(int i = a ; i >= b ; i--)
#define pb push_back
#define speed ios_base::sync_with_stdio(0);cin.tie(NULL);cout.tie(NULL);
#define ub(a,x) upper_bound(a.begin(),a.end(),x)-a.begin()
#define... | [
"majay2592@gmail.com"
] | majay2592@gmail.com |
58b00d7c2e2ba719babf092fb6a2ce8d2b5abfcd | 6bf89c2b6979e542814c25a130378540dc256d66 | /Firmware/MouseAid.ino | b0855d0add88fa471a150397ec306412d88c20db | [] | no_license | Danjovic/MouseAid | c612a5918bfef90239345dce247cfab0493382a1 | 9912c7c357dbe856e383f406e242886786aa0ee8 | refs/heads/master | 2021-01-18T21:13:02.244585 | 2017-04-02T22:33:41 | 2017-04-02T22:33:41 | 87,013,555 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,183 | ino | //
// Mouse Aid - HAD Prize 2017
//
// danjovic@hotmail.com
// April 2th 2017
//
#include <DigiMouse.h>
// State Table
// --------------+---------
// OUTPUT | INPUT
// ----+----+----+----+----
// P0 | P1 | P2 | P0 | P2
// ----+----+----+----+----
// Z | 0 | Z | !L | !R
// ----+----+----+----+... | [
"danjovic@hotmail.com"
] | danjovic@hotmail.com |
0242415fb2eb6835a608850fe57a053b46a36343 | a708c92485fd90af83635aa81c7fddd7362d085a | /lib/NewCellIMDetector/NewCellIMDetector.cpp | d12a98d6e25b30f5f6f8d2fe27a4ee517b2679bb | [] | no_license | BurtonQin/RustBugDetector | 573446b7ab0d580276f41130a4e5a7372fa50a72 | a55d4127dd7074f6f6bba0f2ca76b0519c61218b | refs/heads/master | 2020-08-12T11:21:46.042586 | 2020-05-27T04:34:47 | 2020-05-27T04:34:47 | 214,758,211 | 1 | 1 | null | 2020-04-29T03:41:23 | 2019-10-13T04:04:56 | C++ | UTF-8 | C++ | false | false | 24,819 | cpp | #include "NewCellIMDetector/NewCellIMDetector.h"
#include <fstream>
#include <string>
#include <set>
#include <stack>
#include <CFG/CFG.h>
#include "llvm/Pass.h"
#include "llvm/Analysis/AliasAnalysis.h"
#include "llvm/IR/DebugInfoMetadata.h"
#include "llvm/IR/DebugLoc.h"
#include "llvm/IR/Instruction.h"
#include "llv... | [
"bobbqqin@gmail.com"
] | bobbqqin@gmail.com |
dd1525cf20441afdaf02d7fe8ab9f0833395b69e | f565ec6b613a8b31f405eee58af9f3147510edcc | /exer 3-1 if.cpp | 0c7721857bee26d9b12f63f95beead15db4c4be2 | [] | no_license | liuchao678/zuoye | 911106bb0844b4a028587234f1d7067d4a8def51 | c90e4ba0181b042c32bdaef0c5c258dea33f0d83 | refs/heads/master | 2021-08-30T10:33:09.065146 | 2017-12-17T14:32:20 | 2017-12-17T14:32:20 | 103,815,670 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 331 | cpp | #include<iostream.h>
void main()
{
int x;
cout<<"please input x:"<<endl;
cin>>x;
if(x<=9)
cout<<"数值小于10"<<endl;
else
if(x>=10&&x<=99)
cout<<"数值10~99"<<endl;
else
if(x>=100&&x<=999)
cout<<"数值100~999"<<endl;
else
if(x>=1000)
cout<<"数值1000以上"<<endl;
}
| [
"noreply@github.com"
] | noreply@github.com |
442185786e649ab2c64c64f39833010c89ae8a98 | 3112428ad36f25251ddda72186e98aadbc79e997 | /vxl/vgl/vgl_convex.h | e733e5e46ab8ac3719cd62de9009f36d9f81c2c8 | [
"BSD-2-Clause"
] | permissive | lood339/tiny-vxl | 1ebe4cee85c00e442977874d44158d16e821775f | 52259ef588932ac61e5f1caab552af7dc117eca6 | refs/heads/master | 2023-02-10T13:21:51.147300 | 2020-12-31T23:39:29 | 2020-12-31T23:39:29 | 273,761,906 | 2 | 0 | BSD-2-Clause | 2020-12-31T23:39:30 | 2020-06-20T18:20:05 | C++ | UTF-8 | C++ | false | false | 3,448 | h | // This is core/vgl/vgl_convex.h
#ifndef vgl_convex_h_
#define vgl_convex_h_
//:
// \file
// \brief Functions such as convex hull, convex union, convexify polygon, ...
// \author Peter Vanroose
// \date 14 November 2003
#include <vector>
#include <limits>
#include <cmath>
#include <list>
#include "vgl_point_2d.h"
#in... | [
"jimmy@Jimmys-MacBook-Pro.local"
] | jimmy@Jimmys-MacBook-Pro.local |
52b1fcba39a9b7d1c6343db90b99f17860295c45 | 51d4e96950c2930764d1c05fdfb2bb88e24286d3 | /projects/project2/CanadianExperience/Testing/CDrawableTest.cpp | c9d4060206d61d241706f6aa1c879de01ff86e97 | [] | no_license | nicwigs/335 | b47d8586828ff3ad1200db3325405599b4901eb1 | 1d6f42649fc4d0b48c05a61c56faf90d99fd7319 | refs/heads/master | 2020-03-28T12:17:17.563805 | 2018-09-13T05:49:33 | 2018-12-23T23:17:11 | 148,285,082 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,329 | cpp | #include "stdafx.h"
#include "CppUnitTest.h"
#include <cmath>
#include "Drawable.h"
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
namespace Testing
{
/** Drawable mock class for testing */
class CDrawableMock : public CDrawable
{
public:
/** Constructor
... | [
"wiggins.nic@gmail.com"
] | wiggins.nic@gmail.com |
1cee9476ee64e151f135a902665bd9c7598416b4 | fb51638f6a20d050f7cb10eeb278ebe0605ce4aa | /singlenet-tflite-class/include/tensorflow/lite/optional_debug_tools.h | 12e96f57854f6588995a9c8ec45420f36d8a2ed8 | [
"Apache-2.0"
] | permissive | maxenergy/graduation-design | cd6ad3cd942e5374edcb51b6631832f7a6eff98f | deaaa11ed652ac0b8843a039f04665da67181566 | refs/heads/main | 2023-05-15T18:00:59.806220 | 2021-06-18T06:05:00 | 2021-06-18T06:05:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,134 | h | /* Copyright 2017 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... | [
"793881807@qq.com"
] | 793881807@qq.com |
2953993eeac0553c280d4b3701fd4c2a7ef26ea1 | 3a0fd458f253a2284cb58608822c108a8601a553 | /NY10E/NY10E-17149433.cpp | a293406d16fb83b4a3d2c02b5c7c06134909eefc | [] | no_license | shahsid104/Spoj | df87a6017098828c29e0e03965c8be8247e1cec9 | 3f31829d66463b5ecd6623ff724bbb92e2bd88d0 | refs/heads/master | 2021-04-26T15:58:27.894539 | 2016-10-17T16:01:37 | 2016-10-17T16:01:37 | 71,153,790 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 693 | cpp | #include <iostream>
#include<stdio.h>
#include<vector>
#include<cstring>
using namespace std;
void nonDecDigit(int sr,int n)
{
long long int a[10][n+1],count=0;
memset(a,0,sizeof(a));
for(int i=0;i<=9;i++)
a[i][1]=1;
for(int digit=0;digit<=9;digit++)
{
for(int len=2;len<=n;len++)
{
for(int x=0;x<=dig... | [
"Sid Shah"
] | Sid Shah |
a4433fff9368489511fe11d187b7cfecc549da62 | 357cf4bd4cb19c78691899b11a63c6812edde87f | /test-helpers/helpers.h | 900df1b48fd953606adb69af1efc4fe1ba62f75f | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | tyoma/micro-profiler | 28da088b299d7877548b2ae647559f413de03b1e | 784c09586dc5316fe76858be85bbb57a34ef8ff9 | refs/heads/master | 2023-07-29T07:32:47.273465 | 2023-07-18T05:36:07 | 2023-07-18T05:40:10 | 35,499,826 | 234 | 37 | null | null | null | null | UTF-8 | C++ | false | false | 3,810 | h | #pragma once
#include <common/primitives.h>
#include <common/range.h>
#include <common/types.h>
#include <algorithm>
#include <memory>
#include <mt/thread.h>
#include <stdlib.h>
#include <string>
#include <vector>
#include <ut/assert.h>
namespace micro_profiler
{
namespace tests
{
struct plural_
{
template ... | [
"artem.gevorkyan@gmail.com"
] | artem.gevorkyan@gmail.com |
3e7bbfbffb2d8e577c8dd7af5990004700905e16 | 8f4c989af7046e81e011798dceeb70e21ed30b13 | /Qt_version/HETEVAL/HETEVAL/GeneratedFiles/Release/moc_heteval.cpp | e384b88875b353a2f059c2a5e5e46d1fe3f9b587 | [] | no_license | ArashMassoudieh/SpaMarkovMod | b7f01d71cd14750a22bfc43a110741f7c876e4e0 | 9bff95d2b68deb074cd01cb5f0c1a06a476d42f9 | refs/heads/master | 2021-09-15T03:22:47.351834 | 2018-05-25T03:56:52 | 2018-05-25T03:56:52 | 106,888,815 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,560 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'heteval.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.6.1)
**
** WARNING! All changes made in this file will be lost!
*******************************************************... | [
"arash@arash-HP-Z400-Workstation"
] | arash@arash-HP-Z400-Workstation |
9023cb2a1c21288f3eb79564bbf56ef579dc4384 | 1dd521e69331aefcce34c2c733ea8cc518d8fa5d | /src/Externals/cleaver/test/volumeMesh.cpp | 5b7a1a73f261679a3e0d49dfd68054f907429960 | [
"MIT"
] | permissive | Nahusa/SCIRun | b75d4d283d9cc6f802aed390d4c8d210a901ba2d | c54e714d4c7e956d053597cf194e07616e28a498 | refs/heads/master | 2020-03-23T20:23:00.688044 | 2018-08-15T17:48:35 | 2018-08-15T17:48:35 | 142,037,816 | 0 | 0 | MIT | 2018-07-23T16:04:23 | 2018-07-23T16:04:23 | null | UTF-8 | C++ | false | false | 3,179 | cpp |
#include <iostream>
#include <vector>
#include <string>
#include <Cleaver/Cleaver.h>
#include <Cleaver/InverseField.h>
#include <Cleaver/FloatField.h>
//#include "nrrd2cleaver.h"
#include "MyFunction.h"
using namespace std;
//using namespace Cleaver;
const std::string scirun = "scirun";
const std::string tetgen = ... | [
"moritz@sci.utah.edu"
] | moritz@sci.utah.edu |
f10b761da45d1b25f7d41fd5b6d3c62277101d51 | 852d6eae0694164a3f18bb1bdaab45d7ab5ca362 | /src/ansa/networklayer/arp/AnsaARP.cc | ce772137a7dee4ba3287dced724e3a01efa8e3cb | [] | no_license | mrazjak/Ansa | ef58c3ed0a8788faf09d48b4ce4f69330db6a4d4 | 9390d69a0553c16a098b4f160d5f26d233bc531e | HEAD | 2016-08-03T11:10:48.474904 | 2014-05-08T14:02:37 | 2014-05-08T14:02:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,590 | cc | //
// This program 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 version.
//
// This program is distributed in the hope that it wil... | [
"kvetak@msn.com"
] | kvetak@msn.com |
6d6adb339e5021ad3e7de75b5243d8d494d6ad9a | 6477752292bfca7b9c07b7dcdd4935c1b472c9f9 | /test/c++11/intel_x64/cr3.cpp | 13f184c53cc3d6bdfa1b1363d16f589dd6eb9417 | [
"MIT"
] | permissive | jaysongiroux/pal | 2f152acdb06b5025742211e4edbc96792406e4ef | 8114d14e0e02f9a7c729c3315de346177c8edbd1 | refs/heads/master | 2022-12-30T14:30:31.478546 | 2020-09-03T15:35:50 | 2020-09-03T15:35:50 | 296,163,078 | 0 | 0 | MIT | 2020-09-16T22:42:51 | 2020-09-16T22:42:50 | null | UTF-8 | C++ | false | false | 860 | cpp | #include <pal/control_register/cr3.h>
void test_cr3_compile(void)
{
// Register accessors
pal::cr3::set(0xA55A5AA5);
auto value = pal::cr3::get();
// Field accessors
pal::cr3::pcd::enable();
pal::cr3::pcd::enable(value);
pal::cr3::pcd::disable();
pal::cr3::pcd::disable(value);
pal:... | [
"jared.wright12@gmail.com"
] | jared.wright12@gmail.com |
b5599e807d6688b36940c03c8ab3acc201778036 | 511d7cd374cf8ecdc6a9d72223bed16a32d83c78 | /msdk/include/arith/compress/ICompress.h | c662a68e9894f31da526c0345b9d486903e9b847 | [] | no_license | mynick777/msdk | 1818c718a181de772b9a3e2dd6d7b9a66296dc86 | 4ee669c60148ad72e1d8af9bea05e05019af79e6 | refs/heads/master | 2020-05-18T00:56:37.308774 | 2019-05-01T16:19:13 | 2019-05-01T16:19:13 | 184,075,465 | 0 | 0 | null | 2019-04-29T13:22:32 | 2019-04-29T13:22:32 | null | GB18030 | C++ | false | false | 1,095 | h | #ifndef __ICOMPRESS_H__
#define __ICOMPRESS_H__
namespace msdk{
////////////////////////////////////////////////////////////////////////////////
//压缩算法类型
enum COMPRESSARITHMETIC_TYPE
{
eNone = 0,
eZip = 1,
e7z = 2
};
////////////////////////////////////////////////////////////////////////////////
//注意:Zlib库要求,要... | [
"maguojun123@126.com"
] | maguojun123@126.com |
14d7de80e85976d7a9c1793529d3c4f49f123b3b | d1c4eae980f600e318ba9e26227bada9338cc35e | /src/chainparams.h | b76384e24038d3f89ab8a55d6ec4f3bc8aba0792 | [
"MIT"
] | permissive | EmbeddedAndroid/frozen | f2b35665ede237381b7f74cbaf3f2c2b76569711 | e0639200898ef8a67ef289370fc02d82e928cfb7 | refs/heads/master | 2020-03-18T07:41:08.780763 | 2018-05-22T23:46:08 | 2018-05-22T23:46:08 | 134,467,423 | 0 | 0 | MIT | 2018-05-22T19:44:26 | 2018-05-22T19:44:25 | null | UTF-8 | C++ | false | false | 7,188 | h | // Copyright (c) 2009-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.
#ifndef BITCOIN_CHAINPARAMS_H
#define BITCOIN_CHAINPARAMS_H
#include "chainparamsbase... | [
"frzn@protonmail.com"
] | frzn@protonmail.com |
29e07033cc6dc2c7af3accb63712976e17a060d2 | c76634ef22088f77eb2012ca3dbc1380da06c03e | /piscinec++/j01/ex03/Zombie.cpp | 78ff8b9315ac7ee5839bd1c6c7b699d0696b5453 | [] | no_license | timal75/Ecole42Dev | a7cca904968a421afc22c497d3ba1b07f6eac46c | e11482f70f130a86261e2ad45e02e5b192cd2a63 | refs/heads/master | 2020-06-30T05:44:04.032497 | 2017-09-26T12:08:55 | 2017-09-26T12:08:55 | 74,390,173 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,355 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Zombie.cpp :+: :+: :+: ... | [
"jblancha@e1r4p17.42.fr"
] | jblancha@e1r4p17.42.fr |
4a4c06ebb4c7cd54945c15017416fccb6f16d285 | c4e6b007149119ca402e6f1d8cfc666f1827261e | /datastruct/day02/expr.cpp | b7e64615f94b8962f75176db32a471ca9a6ae47a | [] | no_license | soplist/study-c-cpp | b55246466b67a00aa843624f81790be784649c95 | 52a8e6214077d13d41a15df6aaaa7a0af39e7aa8 | refs/heads/master | 2020-12-25T00:19:37.758048 | 2016-05-09T03:27:53 | 2016-05-09T03:27:53 | 58,338,307 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,405 | cpp | #include <iostream>
#include <cctype>
using namespace std;
typedef char T;
const int LEN = 50;
class Stack{
T data[LEN];
int sz;
public:
Stack():sz(){}
void push(const T& d)
throw(const char*){
if(sz==LEN)throw "full";
data[sz++] = d;
}
void pop()throw(const char*){
if(sz==0)throw "empty";
sz--;
}
T... | [
"sopcase@yahoo.com"
] | sopcase@yahoo.com |
1a7355375975c030eafb2e745888e3be6c685ab7 | 8ae31e5db1f7c25b6ce1c708655ab55c15dde14e | /比赛/学校/2019-9-16测试/source/PC23_熊泽恩/escape/escape'.cpp | 1d9772ef0e5ac10fbd9ca7cfd72b75c4db24ccc0 | [] | no_license | LeverImmy/Codes | 99786afd826ae786b5024a3a73c8f92af09aae5d | ca28e61f55977e5b45d6731bc993c66e09f716a3 | refs/heads/master | 2020-09-03T13:00:29.025752 | 2019-12-16T12:11:23 | 2019-12-16T12:11:23 | 219,466,644 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,958 | cpp | #include <cstdio>
#include <algorithm>
#include <cstring>
#include <cctype>
#include <iostream>
#include <iomanip>
#define il inline
#define rgi register int
#define ll long long
using namespace std;
const int oo = 0x3f3f3f3f;
const int N = 20 + 10;
const int M = 20 + 10;
int n, m, ans = oo;
char op[5], tmp[N][M];
i... | [
"506503360@qq.com"
] | 506503360@qq.com |
1724b3e7822fadbf2a9eb8c99a2ef36edaf690d6 | 4a6e83f655843c8057e063d9edfbc4321bafa3d3 | /DP/NumOFBalancedBT_BruteForce.cpp | 52bdd4877bb02853ec996d905d37c27092851c4a | [] | no_license | capchitts/Coding | 5c5edcdbee5af4e863ed00f0ef0c873a72c1ff6c | a38e05e10965695fd26b4dbed8ddaf2840302d44 | refs/heads/master | 2023-05-04T21:01:20.925665 | 2021-06-01T06:12:57 | 2021-06-01T06:12:57 | 355,104,113 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 372 | cpp | #include<bits/stdc++.h>
using namespace std;
int balancedBTs(int n) {
// Write your code here
if(n<=1)
{
return 1;
}
int mod = (int)(pow(10,9))+7;
int x = balancedBTs(n-1);
int y = balancedBTs(n-2);
int tmp1 = (int)(((long)(x)*x)%mod);
int tmp2 = (int)((2*(l... | [
"ltchitts@gmail.com"
] | ltchitts@gmail.com |
4f1d7c5da5bafd50d5e7aa64986f52e55326dfc4 | 9163f83ad5dc22ce456897565a022fc7788a2f6f | /include/selain/tab-label.hpp | 139830d8046f62e671ca9e06dd0749384e4a269a | [
"BSD-2-Clause"
] | permissive | RauliL/selain | a91174602757005698d5e6080b06872a57cada2b | 4a89d918ef29bb943a494f610d8e8837410aba00 | refs/heads/master | 2021-06-23T10:14:36.337336 | 2019-01-27T19:41:45 | 2019-02-26T18:16:55 | 165,522,794 | 5 | 4 | BSD-2-Clause | 2019-01-23T21:35:42 | 2019-01-13T15:40:33 | C++ | UTF-8 | C++ | false | false | 1,977 | hpp | /*
* Copyright (c) 2019, Rauli Laine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditi... | [
"rauli.laine@iki.fi"
] | rauli.laine@iki.fi |
6d8acea4af4193bc319632c5fb09c982f116ffe7 | c3503456de3a4e03d70a2dd577e58ad6f3ebfcdd | /PopUpExample/mainwindow.h | f6982584802e9e6a3efa5380ae234ba62899474f | [] | no_license | QtWorks/stackoverflow | 728d055fa98fc67c75798a8e24d70ba37ec77dc5 | 59b84ff91eae15bc1fd21bb520e56d9b7c90d9f9 | refs/heads/master | 2020-12-02T20:59:07.733732 | 2018-01-07T19:04:17 | 2018-01-07T19:04:17 | 96,238,926 | 1 | 0 | null | 2018-01-07T19:04:18 | 2017-07-04T17:04:07 | JavaScript | UTF-8 | C++ | false | false | 447 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include "popup.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private:
Ui::MainWindow *ui;
PopUp *popup;
void movePop... | [
"e.yllanescucho@gmail.com"
] | e.yllanescucho@gmail.com |
fa29d24505032fb7396e63e61fd6d4aac46d44d4 | 624bd0329b1a9e67c415f1c1a64b91789b384833 | /Homework 1/Sequence.h | db9b3496621a88f0d868e199c0ebae35ce397007 | [] | no_license | weslynclarke/CS32 | 8d51a41ad32c505e7039007d7f2096d3e8c12d7b | f79418d38f03f1abab83180a89aee90be2e2ea79 | refs/heads/master | 2020-03-29T10:27:06.918847 | 2018-10-01T05:39:57 | 2018-10-01T05:39:57 | 149,805,969 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,889 | h | // Created by Weslyn Clarke
// Copyright (c) 2018 Weslyn Clarke. All rights reserved.
#ifndef SEQUENCE_H
#define SEQUENCE_H
#include <string>
using ItemType = unsigned long;
const int DEFAULT_MAX_ITEMS = 200;
class Sequence
{
public:
Sequence(); // Create an empty sequence (i.e., one with no items)
bool empty(... | [
"noreply@github.com"
] | noreply@github.com |
1039a93637e474a387ac6084337c52943441466b | e331362ef9150ecf6a1b5f5563dbe69602fe5d78 | /src/fmpolicytctocsv/main.cpp | 12f6a942739ac6814708ac8dbe584b2d6343b567 | [
"BSD-3-Clause"
] | permissive | cdlhub/ktools | e28cbf8762e1272667c6496d1066f3827281492e | cb3f0d72cca089ffa1c6a586d4188f8354729769 | refs/heads/master | 2021-08-11T03:29:38.071345 | 2019-03-05T10:56:37 | 2019-03-05T10:56:37 | 102,210,768 | 0 | 0 | null | 2017-09-02T16:56:38 | 2017-09-02T16:56:38 | null | UTF-8 | C++ | false | false | 3,163 | cpp | /*
* Copyright (c)2015 - 2016 Oasis LMF Limited
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of ... | [
"neb@sky.com"
] | neb@sky.com |
b9c1ee2fbd8103becfb605d2620c1bab4e94ae83 | 68c7d60bcbfd7b2b887d8dfd64bbec0bd710c9da | /14469.cpp | 3a12d0459e85b2e03295727a633883a82e67603d | [] | no_license | 1000ship/BOJ | 42b6cc67b06412fb95f132849f6d5843f6feb351 | 491d479fbd57663f297a935f3505650bc840744e | refs/heads/master | 2021-08-03T23:36:50.788794 | 2021-07-22T01:10:59 | 2021-07-22T01:10:59 | 212,285,659 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 662 | cpp | #include <stdio.h>
#include <stdlib.h>
typedef struct {
int visit;
int wait;
} Cow;
int compare ( const void* a, const void* b )
{
if( ((Cow*)a)->visit > ((Cow*)b)->visit )
return 1;
return 0;
}
int main ( void )
{
int n;
scanf( "%d", &n );
Cow cows[ n ];
for( int i = 0; ... | [
"cjstjdgur1234@gmail.com"
] | cjstjdgur1234@gmail.com |
c7d46308b7f3a4e14043c2a4de9693631b1cf8f3 | 8bfa3c91abe7f22bffc3115c1fa48ed1a4aabd82 | /AGC/15/B/evilator.cpp | 7976fb27581cbd927deb0ba211c8bc2d79055d3c | [] | no_license | yugo1103/atcoder | 96a0dcd41704fadc0a1ef3253cdffa4a961fdc0a | 9b2d0b1a0f178cd442d51d2ad07added982d2a92 | refs/heads/master | 2020-07-26T04:04:41.019118 | 2020-03-30T10:42:39 | 2020-03-30T10:42:39 | 208,528,448 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 554 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
#define rep(i,a,b) for(ll i=a;i<b;i++)
#define rrep(i,a,b) for(ll i=a;i>=b;i--)
#define fore(i,a) for(auto &i:a)
#define all(x) (x).begin(),(x).end()
int main(void){
string s;
cin >> s;
ll sum = 0;
rep(i, 0, s.s... | [
"y1103orz@akane.waseda.jp"
] | y1103orz@akane.waseda.jp |
fb6ef2f07b7957ee706b6a8f3f279719e3ea07a3 | 429c0c5962b0fb11eeded1448a1df2a3fa8150d0 | /GTech/src/GTech.h | 4187d09c36b894dd31cc1dfe35641d09f3e864b8 | [] | no_license | j070249/Library | 07701e575e3e6255715bd691e1f5811490b5561a | 86701d5f101263c7b6b0528797affe0e0dd3cf2d | refs/heads/master | 2022-01-11T21:08:41.110582 | 2019-04-15T02:33:29 | 2019-04-15T02:33:29 | 181,398,668 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 506 | h | /*
* GTech.h
*
* Created on: 2018年1月24日
* Author: JimmyTai
*/
#ifndef GTECH_H_
#define GTECH_H_
#include "Arduino.h"
#include "WiFiConfig.h"
class GTech {
public:
GTech(const char *productName, float firmware_ver);
String getDeviceId();
void setDeviceId(String deviceId);
String getProductName();
fl... | [
"j070249@gmail.com"
] | j070249@gmail.com |
d4d41f0ce9ddbc19002f85f994a0675574d03e82 | b565143dbd490ad2721af7d8578483aa053383d0 | /recipes/diligent-core/all/test_package/test_package.cpp | 3a2aacb2d6c1efa0b2a314e482a470d6eb36ed60 | [
"MIT"
] | permissive | czoido/conan-center-index | da7fbe837c88e3a65f7f2d6ed24ada62eb601c69 | 7952190873e49e23996fc7192a76e5917c49ec8a | refs/heads/master | 2023-07-20T02:13:08.706521 | 2022-12-13T17:01:47 | 2022-12-13T17:01:47 | 228,573,093 | 0 | 0 | MIT | 2022-12-13T17:01:49 | 2019-12-17T08:49:29 | Python | UTF-8 | C++ | false | false | 512 | cpp | #include "Common/interface/RefCntAutoPtr.hpp"
#include "Graphics/GraphicsEngine/interface/PipelineState.h"
#include "Graphics/GraphicsEngine/interface/SwapChain.h"
#include "Graphics/GraphicsEngine/interface/DeviceContext.h"
#include "Graphics/GraphicsEngine/interface/RenderDevice.h"
int main()
{
Diligent::RefCntAut... | [
"noreply@github.com"
] | noreply@github.com |
52545f516d9a940de4b2e38f7ff43aa36db3b816 | b73eec3a26bdcffb6a19dec6b8b048079befe04c | /3rdparty/meshlab-master/src/meshlab/multiViewer_Container.cpp | 7ef94cf8882e05bb3e203938cb81668f7237c629 | [
"GPL-1.0-or-later",
"GPL-3.0-only",
"MIT"
] | permissive | HoEmpire/slambook2 | c876494174e7f636bdf5b5743fab7d9918c52898 | 96d360f32aa5d8b5c5dcbbf9ee7ba865e84409f4 | refs/heads/master | 2020-07-24T02:35:39.488466 | 2019-11-25T03:08:17 | 2019-11-25T03:08:17 | 207,775,582 | 0 | 0 | MIT | 2019-09-11T09:35:56 | 2019-09-11T09:35:56 | null | UTF-8 | C++ | false | false | 13,445 | cpp | /****************************************************************************
* MeshLab o o *
* A versatile mesh processing toolbox o o *
* _ O _ *
* Co... | [
"541218251@qq.com"
] | 541218251@qq.com |
0bbf8fa1c2b23f66714b1bfbb303c4faf93c09e9 | 870566857168b9e6ff7c5e18df99e2a633028c09 | /dynamic_graph_service/dataloader/apps/graphscope_loader/core/checkpoint_parser.h | 7389311001340bc6a8760660557f7649544c69c4 | [
"Apache-2.0"
] | permissive | baoleai/graph-learn | f44b03d69282e3aa8e671ab48d1e40911b989806 | 08df600be4b8a71007dda08b2297de6b28fb8103 | refs/heads/master | 2022-07-17T21:30:46.190967 | 2022-07-11T09:19:17 | 2022-07-11T09:19:17 | 252,142,889 | 0 | 0 | Apache-2.0 | 2020-04-01T10:27:09 | 2020-04-01T10:27:09 | null | UTF-8 | C++ | false | false | 1,767 | h | /* Copyright 2020 Alibaba Group Holding Limited. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law o... | [
"noreply@github.com"
] | noreply@github.com |
ace6eeaaae34e0fd3b5cbec16bc8a99daeff98f0 | 1bd9e3cda029e15d43a2e537663495ff27e317e2 | /buoyantPimpleFoam_timevaryingBC/heatfluxtimevary/97/p | cda06fa4e1245793683bbf3a6080e5106eb475f7 | [] | 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 | 665,046 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2006 |
... | [
"tsinghsamant@gmail.com"
] | tsinghsamant@gmail.com | |
4c69f25db9d12ad3faf2d8f4a58071b9fcf44c5d | f270f4c5520dae105b79bf247c0c01dd27a0a808 | /include/numMixer.h | c2ac2caa1e461762f2b9ea078d06f7e5762bbd1b | [] | no_license | ryanmckenzie-rsm/p5 | 163cf584cf9310a49319a861acc6ff58811ff265 | f088e9605d0f8f1eb05289d567b466b684cfee67 | refs/heads/master | 2020-03-18T23:30:47.562669 | 2018-05-30T07:54:41 | 2018-05-30T07:54:41 | 135,407,244 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,914 | h | // AUTHOR: Ryan McKenzie
// FILENAME: numMixer.h
// DATE: May 29, 2018
// REVISION HISTORY: v4.0.0
// PLATFORM: GCC v7.1.0
// DESCRIPTION:
// * This class outputs a random set of integers selected either from user
// seeded input, or from an auto-generated set.
// * This class can be placed into an illegal state shoul... | [
"ryanmckenzie.rsm@gmail.com"
] | ryanmckenzie.rsm@gmail.com |
c78d495bb68bbd89ae11165935e08dc464f5b608 | 29b81bdc013d76b057a2ba12e912d6d4c5b033ef | /boost/include/boost/log/sources/global_logger_storage.hpp | acaf7da2aa80f24974a56facf4a11991df7e8bcd | [] | no_license | GSIL-Monitor/third_dependences | 864d2ad73955ffe0ce4912966a4f0d1c60ebd960 | 888ebf538db072a92d444a9e5aaa5e18b0f11083 | refs/heads/master | 2020-04-17T07:32:49.546337 | 2019-01-18T08:47:28 | 2019-01-18T08:47:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | hpp | version https://git-lfs.github.com/spec/v1
oid sha256:b1ea07f7e69756c620f12f8a43dd5f0d806684096632a6998457fa72a681291b
size 7789
| [
"you@example.com"
] | you@example.com |
208a9264bcd82cc714f09a8d9a479f9832b10285 | 7e7d4d34ff9c5bf8d360d3bb46d1ad4f79c481f1 | /Project_2/DoubleLink.cpp | da9e87d8754457426be505add2cf4938c2bfd325 | [] | no_license | wescase/CS2420-Linked-List | 9a992c369e59128607dccdbc7517fd8ba6e61da3 | 30857692c037dcf6de9a26e943b9055025352923 | refs/heads/master | 2021-01-01T05:49:22.698433 | 2015-06-11T17:50:03 | 2015-06-11T17:50:03 | 37,276,354 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,600 | cpp | // Author: Westley Case
// Assignment: Project 2
// File: DoubleLink.cpp
// Instructor: Dr. Reza Sanati
// Class: CS2420
// Date Written: 5/21/2015
// Description: Create single as well as doule linked list, output the data.
// ======================================================================
... | [
"wcaseaz@gmail.com"
] | wcaseaz@gmail.com |
cd0747784cdb57b3a73af452f4b5693a61ab7099 | 4b183d513677b2387bc1f9e2643bf7cd003ec220 | /Functions/Function.h | 121dd9edb135d4c96c650202c8ea6fe40c149363 | [
"MIT"
] | permissive | alisa-vernigor/MathForTypingAnalysis | 13bde0e38472ff51cd48278fcf1c937d41824f47 | 28e72c8fbf116ddb379b1d823efbf3c5b99b3896 | refs/heads/main | 2023-05-15T17:27:22.955311 | 2021-06-10T07:12:19 | 2021-06-10T07:12:19 | 362,897,299 | 0 | 0 | MIT | 2021-06-09T20:02:19 | 2021-04-29T17:33:34 | C++ | UTF-8 | C++ | false | false | 4,450 | h | #pragma once
#ifndef FUNCTION_H
#define FUNCTION_H
#include "FunctionModuleBase.h"
#include "InstructionLevels.h"
#include "MathFunction.h"
#include "vectorclass/vectorclass.h"
#include "vectorclass/vectormath_exp.h"
#include <vector>
namespace NSMathModule {
namespace NSFunctions {
namespace NSFunctionsDetail {
... | [
"55710346+alisa-vernigor@users.noreply.github.com"
] | 55710346+alisa-vernigor@users.noreply.github.com |
f2cbc3f078a4916341114a2dae42cf1849ae4baf | 4611246da421dead871a787083fac8682be43f70 | /codeforces/1440/A.cpp | e91f599492d83a7a89ab907e71bb4462ad7a702b | [] | no_license | InojosaCS/Codeforces_AC | 8917de167cbe1070b4b14b4b90da88cda2304871 | ee02ff4b67f8079ccab78b5a2909f77bd2f144c4 | refs/heads/master | 2023-03-01T14:14:20.221143 | 2020-05-25T02:44:00 | 2021-02-08T23:42:20 | 337,227,703 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 730 | cpp | #include <bits/stdc++.h>
using namespace std;
#define int int64_t
void solve(){
int64_t n, c0, c1, h;
cin >> n >> c0 >> c1 >> h;
string s;
cin >> s;
int64_t cnt1 = 0;
for (int i = 0; i < n; i++)
{
cnt1 += s[i] - '0';
}
int64_t cnt2 = n - cnt1, ans = 1e18;
... | [
"cristianinojosa@gmail.com"
] | cristianinojosa@gmail.com |
a2fd9c6335aed724b69c830f03c2b2fafb823973 | 1665396d3ee72421d4d2b434ea2f565ce1bc1299 | /TC1_potential_reward/Potential_Reward/Car.h | 56ea18451d77c8a96afa1acd68212c2dd89578a8 | [] | no_license | syh948918760/Reinforcement-learning | df58ab29b77b64923aae151c2625ac91a7ad8bab | 21cce4973e94a3dd74349088d57f6b5b57ee2a1b | refs/heads/master | 2020-03-28T12:39:43.134538 | 2019-05-12T12:13:02 | 2019-05-12T12:13:02 | 148,320,864 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,505 | h | //
// Car.hpp
// Traffiic_TC1
//
// Created by 沈彦昊 on 2018/11/19.
// Copyright © 2018年 沈彦昊. All rights reserved.
//
#ifndef Car_hpp
#define Car_hpp
#include <stdio.h>
#include <iostream>
#include <string>
#include<vector>
#include<list>
#include<map>
#include<ctime>
#include"Road.h"
using namespace std;
#define... | [
"948918760@qq.con"
] | 948918760@qq.con |
335e197245db81ad7814dbf9983584e45af3f376 | b77349e25b6154dae08820d92ac01601d4e761ee | /List/Ultimate Grid/Examples/Splitter/SplitterView.cpp | 0121ec6bd98c80de700bca082d720dc688d6f8b9 | [] | no_license | ShiverZm/MFC | e084c3460fe78f820ff1fec46fe1fc575c3e3538 | 3d05380d2e02b67269d2f0eb136a3ac3de0dbbab | refs/heads/master | 2023-02-21T08:57:39.316634 | 2021-01-26T10:18:38 | 2021-01-26T10:18:38 | 332,725,087 | 0 | 0 | null | 2021-01-25T11:35:20 | 2021-01-25T11:29:59 | null | UTF-8 | C++ | false | false | 3,650 | cpp | // SplitterView.cpp : implementation of the CSplitterView class
//
#include "stdafx.h"
#include "Splitter.h"
#include "SplitterDoc.h"
#include "SplitterView.h"
#include "MyCUG.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
////////////////////////////////////////... | [
"w.z.y2006@163.com"
] | w.z.y2006@163.com |
8d5598c5fd42a085f170c5496cb9d8a54344835b | 2e422acfa15846823bb4105c312f301e9cb2a740 | /CPPtest/HPC/CUDA/project/tmain.cpp | 898d8ee17aece179509a98e844e636f4a728d837 | [] | no_license | Jinnan-Zhang/CodeEx | 2443f37b56c5ceef83b3c5729b33b2eb7bcaed95 | 32fdea95b4bb0266d38c435cb2c08ba2f0c4a1dd | refs/heads/master | 2022-05-02T06:12:33.978802 | 2022-03-25T02:37:42 | 2022-03-25T02:37:42 | 220,944,459 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 217 | cpp | #include <stdlib.h>
#include <iostream>
#include <tFCN.h>
#include <HelloWorld.h>
void tWork();
int main()
{
tWork();
return 0;
}
void tWork()
{
// printf("here\n");
DoVector();
}
| [
"zhangjinnan14@mails.ucas.ac.cn"
] | zhangjinnan14@mails.ucas.ac.cn |
796f889adc50375d27a70b7cf501cb728adee51e | 7628771508ddb859a7e8e6447d64f1bdc377469e | /Hungry_Student_Problem.cpp | d3b19c52455463b787ecd42f474577862b8a6aed | [] | no_license | leocaodou/first | 582d3b7d5b6ea2ea88815a775058f8b45e28edcb | 78b18243ca6f11c96086108d08cb0408b0e93f7c | refs/heads/master | 2023-01-10T07:13:05.635703 | 2020-12-26T09:38:40 | 2020-12-26T09:38:40 | 157,556,967 | 0 | 0 | null | 2023-01-04T18:02:06 | 2018-11-14T13:59:42 | C++ | UTF-8 | C++ | false | false | 414 | cpp | #include <stdio.h>
#include <iostream>
#include <string>
#include <string.h>
#include <math.h>
#include <algorithm>
#include <stdlib.h>
using namespace std;
int main()
{
int t;
cin >> t;
int n;
while(t--)
{
cin >> n;
int k = 0;
while(1)
{
if(n % 7 == 0)
{
k = 1;
break;
}
n -= 3;
... | [
"1210579369@qq.com"
] | 1210579369@qq.com |
9ee3a25fbfea29a613c67a69eeb1446849da096f | d5777e41124da6f5578e5b7b393f5980baa7e764 | /edge_detection/grad1.cpp | ce25749ea677f16b232db3dc35216a6743a295fc | [
"MIT"
] | permissive | janwieners/TED | 2f8872a9ad547ebc3a6ccc70ebeb1228cbe3d2ce | 62b05dc34c0c91b272c176c01de46b27dd9440d2 | refs/heads/master | 2020-05-04T19:42:15.402887 | 2017-05-10T07:16:29 | 2017-05-10T07:16:29 | 27,594,712 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,526 | cpp | #include <QImage>
/* Gradient edge detector - no templates */
/* G1 */
#include "grad1.h"
#include <math.h>
void grad1(QImage *image)
{
int i,j;
double z, dx, dy;
int pmax=0, pmin=255, thresh = 128;
QRgb *RGB;
QRgb *RGBTemp;
int width=image->width();
int height=image->height();
for (i=height-1; i>=1; i--)
... | [
"jan@jan-wieners.de"
] | jan@jan-wieners.de |
a2c61e7efa263743deb4d387ad5dc14ede1ebe64 | 5af9fb86a62ceb40c6675b4569270aa41d92c40d | /largest_sum_contiguous_subarray.cpp | 31a8e5234c74c80e4ced351b34dc3f04d8292bad | [] | no_license | riyaz-ahmad/DSA-Practice | 4d01542aa9130c33fc1351cf3720f53ac1a3b083 | 67c00fadfa608d3b41e6e9918af60982af6ce48f | refs/heads/main | 2023-08-21T12:20:31.076987 | 2021-10-02T18:11:13 | 2021-10-02T18:11:13 | 382,444,245 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 758 | cpp | #include<bits/stdc++.h>
using namespace std;
int maxSubarraySum(int arr[], int n){
// Your code here
int max_so_far = INT_MIN;
int max_ending_here = 0;
for(int i=0;i<n;i++){
if (arr[i] <= max_ending_here + arr[i]) {
max_ending_h... | [
"noreply@github.com"
] | noreply@github.com |
349fcd25c88b9a447bce305eb05e60066139e8aa | 850995eb80e15e5822ff76f291cb3f8678e07649 | /src/utility/object_model.h | 42249f6e6e5c1037ba7e7cccfc10a592cb990825 | [] | no_license | m43/fer-irg | c9007ca0e1c1f55634e43cf3062fbf6db4fe3975 | 7ba9b4a2f289f565ff99912dfb87c0d1c82c20fb | refs/heads/master | 2022-12-28T18:35:39.403485 | 2020-10-10T15:10:17 | 2020-10-10T15:10:17 | 250,395,554 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,226 | h | //
// Created by m43 on 05. 04. 2020..
//
#ifndef FER_IRG_OBJECT_MODEL_H
#define FER_IRG_OBJECT_MODEL_H
#include <fstream>
#include <string>
#include <vector>
#include <memory>
#include <bits/stdc++.h>
#include <iomanip>
#include <math.h>
// TODO fix imports and project structure
#include "../linalg/i_vector.h"
#inc... | [
"frano.rajich@gmail.com"
] | frano.rajich@gmail.com |
72721ba50cc041adc63ad6800b244929ee09da1b | 47be465bc1cae1aa3f6dd30df405dd092e86bf6c | /code/ANO-Challenger-V3-Sensor/applications/AnoCopter.cpp | 788a5ab521cd4fdedfa778bae2ac8f935f53f132 | [] | no_license | YuMeiLau/UAV | 08f817c842bc82e2c16376b2961266201a853ca6 | 6958853cc98d429433326a8b0300ba6923e09165 | refs/heads/master | 2020-06-06T10:47:23.987644 | 2015-09-09T06:30:31 | 2015-09-09T06:30:31 | 42,041,022 | 0 | 2 | null | 2015-09-07T08:43:21 | 2015-09-07T08:32:21 | null | GB18030 | C++ | false | false | 735 | cpp | /******************** (C) COPYRIGHT 2014 ANO Tech ***************************
* 作者 :匿名科创
* 文件名 :AnoCopter.cpp
* 描述 :匿名微型六轴飞行器
* 代码版本:V1.0
* 时间 :2014/10/13
* 官网 :www.anotc.com
* 淘宝 :anotc.taobao.com
* 技术Q群 :190169595
*********************************************************************************... | [
"liuyuwei_@hotmail.com"
] | liuyuwei_@hotmail.com |
672b6ba8a93ac5e8e67f2d686f543b6c0b313acd | 5f4630fef781c5b16e8c27ade502c5fd5ac43b96 | /hybrid_inheritance.cpp | ecf3dc0d2d4860205a686165c44486c24c20ef24 | [] | no_license | PhebeJ/Learning-CPP | ca67af929ccbab93e219250bf818d8c293c92a20 | 7dc8c10d5c86517f50466f76c3859f7674d868f5 | refs/heads/main | 2023-06-21T03:23:42.410044 | 2021-07-18T10:12:47 | 2021-07-18T10:12:47 | 387,105,149 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,048 | cpp | #include<iostream>
using namespace std;
class person{
protected:
char name[20];
int code;
public:
void getdata()
{
cout<<"enter name";
cin>>name;
cout<<"enter code";
cin>>code;
}
void putdata()
{
cout<<"name is"<<name<<endl;
cout<<"code is"<<code<<endl;
}
};
class account:public pers... | [
"noreply@github.com"
] | noreply@github.com |
98041173883b2f09cfe0b2178c34b1553eb6adee | 481c587fc2cb1c61bbee9803afec1cce21c819c5 | /async_chat/messages/chat_data_packet.h | b1056899ee0acddc78c27e094898ae0ff91c9ace | [] | no_license | ReinisLusis/AsyncChat | db2a4e68d9dcd567c6fa47732c79ecfb6ba7ddd0 | bf755bebf6796d5fecce54e7f9e79f06b2501db9 | refs/heads/master | 2021-01-10T15:29:22.099513 | 2015-11-16T09:34:47 | 2015-11-16T09:34:47 | 45,795,308 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,066 | h | //
// chat_data_packet.h
// async_chat
//
// Created by Reinis on 08/11/15.
// Copyright © 2015 Reinis. All rights reserved.
//
#ifndef chat_data_packet_h
#define chat_data_packet_h
#include "chat_message.h"
#include <boost/asio.hpp>
namespace async_chat
{
class ChatDataPacket
{
public:
Chat... | [
"reinis@Tutanhamons.local"
] | reinis@Tutanhamons.local |
88b555d2155e317ad8a7da208a2940787c080660 | 04f5d240f8fd7cf588fe24450245a59594e7f7fd | /src/JsRepeater.cpp | deedbc48746a8cb03e1cea4c5f6f18a7e5a55dec | [
"MIT"
] | permissive | SammyEnigma/QuickStreams | 5f9d74eb91a294c50e9267c10520947a24304de5 | 999b517cf6c9321dee61ea80d9b51adf1e32aeec | refs/heads/master | 2021-06-25T18:47:33.299812 | 2018-04-23T16:13:50 | 2018-04-23T16:13:50 | 142,071,865 | 0 | 0 | MIT | 2020-08-01T12:37:39 | 2018-07-23T21:34:09 | C++ | UTF-8 | C++ | false | false | 314 | cpp | #include "JsRepeater.hpp"
#include <QJSValue>
quickstreams::JsRepeater::JsRepeater(const QJSValue& function) :
_function(function)
{}
bool quickstreams::JsRepeater::evaluate(bool isAborted) {
QJSValue result(_function.call({QJSValue(isAborted)}));
if(result.isBool()) return result.toBool();
return false;
}
| [
"roman.sharkov@qbeon.com"
] | roman.sharkov@qbeon.com |
59d859d0aef50f303f02f371df7fb586f9f90487 | c31ee8136a57a96649196081e1cfde0676c2a481 | /larcv/app/SBNDImageMod/LeptonSegLabel3D.h | 23ab88406e2e7b4d5eda2100b62536f4d4d908d2 | [
"MIT"
] | permissive | DeepLearnPhysics/larcv2 | b12b46168e5c6795c70461c9495e29b427cd88b5 | 31863c9b094a09db2a0286cfbb63ccd2f161e14d | refs/heads/develop | 2023-06-11T03:15:51.679864 | 2023-05-30T17:51:19 | 2023-05-30T17:51:19 | 107,551,725 | 16 | 19 | MIT | 2023-04-10T10:15:13 | 2017-10-19T13:42:39 | C++ | UTF-8 | C++ | false | false | 1,763 | h | /**
* \file LeptonSegLabel3D.h
*
* \ingroup ImageMod
*
* \brief Class def header for a class LeptonSegLabel3D
*
* @author cadams
*/
/** \addtogroup ImageMod
@{*/
#ifndef __LEPTONSEGLABEL3D_H__
#define __LEPTONSEGLABEL3D_H__
#include "larcv/core/Processor/ProcessBase.h"
#include "larcv/core/Processor/Proc... | [
"coreyadams@fas.harvard.edu"
] | coreyadams@fas.harvard.edu |
a2ec48ab4ffce2d99d21ceef33e8a509fbf25b3e | 31b04b0640c97df200701fb795465bc0d8d57d1c | /include/SSVOpenHexagon/SSVUtilsJson/Utils/Utils.hpp | 398c591f53464c6a06c7ac771e78a99563d06f58 | [
"AFL-3.0",
"AFL-2.1",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | mehlon/SSVOpenHexagon | 1a8dfd5e4b544902ee23cbaff8e36a487281968b | a6abf3bcf41b4f6821c53f92a86f9b8c00ecbaad | refs/heads/master | 2020-09-29T03:06:10.440688 | 2019-12-24T19:15:07 | 2019-12-24T19:15:07 | 226,935,365 | 1 | 0 | AFL-3.0 | 2019-12-09T18:03:14 | 2019-12-09T18:03:13 | null | UTF-8 | C++ | false | false | 439 | hpp | // Copyright (c) 2013-2015 Vittorio Romeo
// License: Academic Free License ("AFL") v. 3.0
// AFL License page: http://opensource.org/licenses/AFL-3.0
#ifndef SSVUJ_OH_UTILS
#define SSVUJ_OH_UTILS
#include "SSVOpenHexagon/SSVUtilsJson/Utils/TypeChecker.hpp"
#include "SSVOpenHexagon/SSVUtilsJson/Utils/Main.hpp"
#inclu... | [
"vittorio.romeo@outlook.com"
] | vittorio.romeo@outlook.com |
cb26e0ceddd3cf11940aafbf6b11663622719845 | 4c23be1a0ca76f68e7146f7d098e26c2bbfb2650 | /ic8h18/0.007/O-PC7H14O | 208589e96e880d4e9aff58ff0c4c3ced31e3bf89 | [] | no_license | labsandy/OpenFOAM_workspace | a74b473903ddbd34b31dc93917e3719bc051e379 | 6e0193ad9dabd613acf40d6b3ec4c0536c90aed4 | refs/heads/master | 2022-02-25T02:36:04.164324 | 2019-08-23T02:27:16 | 2019-08-23T02:27:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 840 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"jfeatherstone123@gmail.com"
] | jfeatherstone123@gmail.com | |
651d87b3f81f65303d917361ed8051d3743e71e5 | 4c924b7a1566cdded21747b4c001828dfd1b346a | /car/car.ino | aa74ff0168fe7c036869c847feb82fba578b823f | [] | no_license | Ridvmodi/Arduino_Toycar | dfe70f1849b2b6b254c4542039d4114071cc019b | 0f0f0a2079d80e0e4a94a6eb0d4bbc2e7184dd81 | refs/heads/master | 2020-04-01T23:54:56.282019 | 2018-10-19T12:33:20 | 2018-10-19T12:33:20 | 153,779,072 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,909 | ino | #include <VirtualWire.h>
#include <VirtualWire_Config.h>
// connect motor controller pins to Arduino digital pins
// motor one
int enA = 10;
int in1 = 9;
int in2 = 8;
// motor two
int enB = 5;
int in3 = 7;
int in4 = 6;
int xaxis=A0;
int yaxis=A1;
int value=0;
int value1=0;
///int 12;
void setup()
{
// set all the mo... | [
"ridhavgarg01@gmail.com"
] | ridhavgarg01@gmail.com |
3e94c5eae5e3c1ae8bbb2bbb95532cb17ad3c4d5 | e05deacb320558a878c92b03a59bf22096a9a73e | /main1.cpp | a468c3fecf89189acec0310defe0c050a09c7d07 | [] | no_license | Arunish98/multilevel-feedback-queue-scheduling-algorithm | 41e48fade6efc43d244b7d393a033584ec633208 | 78ad318285ba5d44025c15863bb9160799358bd5 | refs/heads/master | 2020-05-04T18:29:44.922817 | 2019-04-09T14:30:28 | 2019-04-09T14:30:28 | 179,355,772 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,316 | cpp | #include<stdio.h>
#include<vector>
#include<iterator>
struct process
{
int Burst_Time;
int Turnaround_Time;
int Waiting_Time;
int Remaining_Time;
};
void RoundRobin_Schedular(std::vector<process> &v1,int quantum)
{
for(int i = 0;i < v1.size();i++)
{
if(v1.at... | [
"noreply@github.com"
] | noreply@github.com |
82438e2563e2470f0e62a8120b2e2626e71a9cfe | 87277679709a087af99a15249efdb67af17d96be | /browser/src/vts-libbrowser/resources/mesh.cpp | 7c032db5dabe707530293349101c51bda4385690 | [
"BSD-2-Clause"
] | permissive | examyes/vts-browser-cpp | 7625d9dfd26f9b752054f4bf78d0511ffc9ae2c7 | 13fab3c8c71261dbdfce914375d7b63586db2f1f | refs/heads/master | 2022-04-16T17:24:46.031492 | 2020-03-24T12:07:39 | 2020-03-24T12:07:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,317 | cpp | /**
* Copyright (c) 2017 Melown Technologies SE
*
* 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 the f... | [
"tomas.maly@melown.com"
] | tomas.maly@melown.com |
8110e4c7d91a62fc75f6602b1bfc5cc764a96ab5 | 868778cfaff0103c350abbb7af2aaddb62eae40c | /Chapter 10/10-4/main.cpp | 1feb5a556c643d6713b664cd86f9929eb01010dc | [] | no_license | Jerrydepon/C_plus_plus_Practice | a1f3287f98a0fb625218cfccfb9228d040186f13 | d75a4d3be64c6030d020c10a5bbb86e8313415c1 | refs/heads/master | 2020-07-06T16:36:38.765385 | 2019-08-19T02:03:19 | 2019-08-19T02:03:19 | 203,080,358 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 416 | cpp | #include <iostream>
using namespace std;
int main()
{
int x = 25, y = 50, z = 75;
int* ptr;
cout << "Here are the values of x, y, and z:\n";
cout << x << " " << y << " " << z << endl;
ptr = &x;
*ptr *= 2;
ptr = &y;
*ptr *= 2;
ptr = &z;
*ptr *= 2;
cout << "Once again, here are ... | [
"jerry2285@yahoo.com.tw"
] | jerry2285@yahoo.com.tw |
f0e3885c169685c7e0509edba76e1edfe33f21c4 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5631989306621952_1/C++/superfish/a.cpp | a0c3841c47ab01bdb4abf2bc2cbb1d8b5da5b6db | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 957 | cpp | #include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <string>
#include <vector>
#include <map>
#include <set>
#include <algorithm>
using namespace std;
#define rep(i,n) for (int i=1;i<=(n);++i)
#define rep2(i,x,y) for (int i=(x);i<=(y);++i)
#define pb push_back
#define mp ... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
1e5633e356b3b3e92aa8c15502949ae47ff7fd36 | 7cffbb9b16de7e15e850216251291e2bbdaca4eb | /chapter28/makebinary.cpp | 6f2a9d5a3da7082be6f11c344f6ec6d3fd8513d3 | [] | no_license | petergartland/jumping-into-C- | d248a75d39a7e32c8abbb2834a9f634dc31e88dd | e669cf70b8a3b50702b2d91085c2f2b17fc7f2f9 | refs/heads/master | 2022-10-17T19:16:11.979026 | 2020-06-11T04:15:09 | 2020-06-11T04:15:09 | 255,167,869 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 308 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include <vector>
using namespace std;
int main()
{
ifstream infile("highscores.txt");
ofstream outfile ("highscoresbinary.bin", ios::binary);
int number;
while(infile>>number)
outfile.write(reinterpret_cast<char*>(&number),sizeof(number));
}
| [
"petergartland@ucsb.edu"
] | petergartland@ucsb.edu |
baa3b7b7cbc41e231da13e8c70575d09f3d6c407 | 5cca9464d6535052557f71b6309bf704922292be | /Game1011_A1_Das/Student.h | 1bce9ad8645519f67bfc981d2e8f9d222dd2dc5b | [] | no_license | shilaranidas/Game1011_A1 | 0f0a5c9bf5d85f9cbbde010b84e911f40150bcb2 | 7618eaa22f1b759433689f632c3f6e93978b27c9 | refs/heads/master | 2023-03-02T20:31:52.731116 | 2021-02-13T02:15:55 | 2021-02-13T02:15:55 | 338,422,891 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 892 | h | #pragma once
#include <iostream>
#include <string>
#include "Person.h"
using namespace std;
class Student : public Person
{
//Name of College, Program enrolled into, Current semester #
private:
string m_collegeName;
string m_programName;
int m_semester;
public:
Student() {
m_collegeName = "";
m_programName =... | [
"shilarani.das@georgebrown.ca"
] | shilarani.das@georgebrown.ca |
db3b9dd41a18b07d04f1b6e62b802a701136822d | 304778fafc1198cc6af9ef2c2ea943af84d6f097 | /city_name_preprocessor.h | 9e4e103267edd935c72a907ef0bf0f46dab4fa8d | [] | no_license | keigezellig/numplaat | 0e2aa6e2b8a29478aacc0429b65b28bc71d72795 | b4d88fd249cdaa5b63cfa81453d1f3751824c97c | refs/heads/master | 2023-04-28T15:37:25.250482 | 2021-05-07T14:17:25 | 2021-05-07T14:18:47 | 365,257,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,552 | h | #ifndef CITYNAME_PREPROCESSOR_H
#define CITYNAME_PREPROCESSOR_H
#include <algorithm>
#include <string>
using namespace std;
bool isForbiddenWord(string & str)
{
return true;
//return std::find(std::begin(forbiddenWords), std::end(forbiddenWords), str) == std::end(forbiddenWords);
}
... | [
"mh.joosten666@gmail.com"
] | mh.joosten666@gmail.com |
84af94659486a69f9f6042e46831d868624c199c | da944da503e10218203e31cf865d15972ee28f4e | /source/MemoryStream.h | a3a1ce98af822ae176523e397c03a3fd9f62ef86 | [] | no_license | bacsmar/Pakal | 764b593357bd47fc58de0bd803cc8cc23eefe988 | 95bc5f8106ef8ab7a29ae75c69b43be30bd82a8d | refs/heads/master | 2021-01-15T14:42:08.309984 | 2016-07-09T01:19:13 | 2016-07-09T01:19:13 | 68,760,375 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,098 | h | #pragma once
#include "Config.h"
#include "TaskFwd.h"
#include "Utils.h"
#include <memory>
#include <strstream>
namespace Pakal
{
class _PAKALExport memory_istream : public std::istream
{
SharedPtr<std::string> m_data;
std::strstreambuf m_buffer;
memory_istream(const memory_istream& other) =... | [
"elios264@deab2f4f-25c9-4a44-aba5-3c43511eb6ab"
] | elios264@deab2f4f-25c9-4a44-aba5-3c43511eb6ab |
7304065e87c22298cea425e1d6ebfe2f5d5aa830 | b0dd7779c225971e71ae12c1093dc75ed9889921 | /libs/test/test/result_report_test.cpp | 67db8206fd1717b3a8d1e74c8557bee0c242ea04 | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | blackberry/Boost | 6e653cd91a7806855a162347a5aeebd2a8c055a2 | fc90c3fde129c62565c023f091eddc4a7ed9902b | refs/heads/1_48_0-gnu | 2021-01-15T14:31:33.706351 | 2013-06-25T16:02:41 | 2013-06-25T16:02:41 | 2,599,411 | 244 | 154 | BSL-1.0 | 2018-10-13T18:35:09 | 2011-10-18T14:25:18 | C++ | UTF-8 | C++ | false | false | 5,297 | cpp | // (C) Copyright Gennadiy Rozental 2001-2008.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// See http://www.boost.org/libs/test for the library home page.
//
// File : $RCSfile$
//
// ... | [
"tvaneerd@rim.com"
] | tvaneerd@rim.com |
b4cedf7a1bf3c3186c2d7cc2ebbb97ccd117a0ad | c9decb6851833b6fd3b8d0e85a14a79407d4b54d | /MQTT_firmware/LoRa_Simple_Server_Yun/LoRa_Simple_Server_Yun.ino | aab3676b458dfbf2911e8bf68991deb3e1001812 | [] | no_license | gkasprow/Sensor-Box | 95dd470b77178097c053cde7943ed7cd39fc4a17 | a7d94712ec78ab4d14e168b620f6817814102398 | refs/heads/master | 2022-02-02T19:07:53.614805 | 2022-01-12T09:31:34 | 2022-01-12T09:31:34 | 112,847,290 | 12 | 10 | null | null | null | null | UTF-8 | C++ | false | false | 3,073 | ino | #include "credentials.h"
/*
LoRa Simple Yun Server :
Support Devices: LG01.
Example sketch showing how to create a simple messageing server,
with the RH_RF95 class. RH_RF95 class does not provide for addressing or
reliability, so you should only use RH_RF95 if you do not need the higher
level messaging... | [
"gkasprow@gmail.com"
] | gkasprow@gmail.com |
8c82e62a76b214a1f4139a2a89ef71b68e04c9b6 | aca00d5efba62beb0f2f779f6023b7997ef6c5d1 | /BasicConnect/qtelnetcluster.cpp | 32d2de76160dd995632b3db3a3f320a70aa2b99b | [] | no_license | timseed/DxCluster-Aggregator | 001523c4da5c36919b32252f9d2e2aa65ca75d13 | 653ce8945780622b7b6570ba92d80ed8e1a8c55b | refs/heads/main | 2023-01-20T13:21:45.114959 | 2020-11-30T05:34:13 | 2020-11-30T05:34:13 | 315,894,574 | 0 | 0 | null | 2020-11-30T05:34:14 | 2020-11-25T09:47:03 | C++ | UTF-8 | C++ | false | false | 1,957 | cpp | #include "qtelnetcluster.h"
QTelnetCluster::QTelnetCluster(QObject *parent, QString logname):
QTelnet(parent)
{
//connect( this, SIGNAL(readyRead()), this, SLOT(onReadyRead()) );
QString LogName=QString("%1.log").arg(logname);
initLogger(LogName.toLatin1().data(), ldebug);
}
void QTelnetCluster::Set... | [
"tim@sy-edm.com"
] | tim@sy-edm.com |
6170b6f564de496bf635af3ac06f77d4e6e9877a | 5da9eedbfa0a625fe27d66c9c43eb96ba76b8087 | /src/loop_header_basic_block.h | 44047e12decf75193a274958141b2b6818f155d9 | [] | no_license | CamFlow/PathExaminer2 | 2fcb0c286853c0b987edbb2c1b656940e97415ff | bc50be5bf8c33aa369de0882bd9ec321bb988f4a | refs/heads/master | 2020-05-16T18:51:47.931767 | 2016-04-08T08:23:02 | 2016-04-08T08:23:02 | 183,240,574 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 474 | h | #ifndef LOOP_HEADER_BASIC_BLOCK_H
#define LOOP_HEADER_BASIC_BLOCK_H
#include <gcc-plugin.h>
#include <basic-block.h>
#include <tree.h>
#include <gimple.h>
#include <iostream>
#include "rich_basic_block.h"
class LoopHeaderBasicBlock : public RichBasicBlock
{
public:
explicit LoopHeaderBasicBlock(basic_block bb);
v... | [
"laurent.georget@supelec.fr"
] | laurent.georget@supelec.fr |
f162ecf6a5a236c970b1ee67646919b8b7620938 | 69c1af3387b19ae79ad614b45df8342a1ef0ffd9 | /version10/TimerQueue.h | 6cc72db8ad1b4763a4b915503878dc21320e36d8 | [] | no_license | sean-augustine/netlib | f17114b7dafc6e112e58c3a937af7f960b0d528f | d34b9c908b21ce53858f6c2207b96c75cffd6c6c | refs/heads/master | 2023-07-01T10:20:14.819434 | 2021-08-09T12:41:00 | 2021-08-09T12:41:00 | 391,553,732 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,321 | h | #ifndef TIMEQUEUE_H
#define TIMEQUEUE_H
#include<boost/noncopyable.hpp>
#include"../base/Timestamp.h"
#include"Callbacks.h"
#include"Channel.h"
#include<vector>
#include<set>
#include<utility>
#include<memory>
namespace muduo
{
class Eventloop;//should include Eventloop.h in .cc file
class Timer;
clas... | [
"xinxihuangsai@126.com"
] | xinxihuangsai@126.com |
ac720fa7af4ec1270f73f7d2c61d234c044ce0bd | 5ff80a43bc2037b1e8d1656490d6302fdf61a1ab | /insersort.cpp | 70fc4ca642045d30b8f6a3e6df43670abd2246c9 | [] | no_license | samikshasadana/data_structures | a22544e761494c90621bbda318995a0e79df177e | af19220a48d5f0855175dbc4743de0646a0a2302 | refs/heads/master | 2020-04-20T20:49:41.488322 | 2019-02-04T14:23:38 | 2019-02-04T14:23:38 | 169,089,201 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 292 | cpp | #include<iostream>
using namespace std;
int main(){
int a[100];
int n,i,j,k,temp;
cin>>n;
for(i=0;i<n;i++){
cin>>a[i];
}
for(i=0;i<n;i++){
temp=a[i];
j=i;
while(j<0 && a[j-1]>temp){
a[j]=a[j-1];
j=j-1;
}
a[j]=temp;
}
for(i=0;i<n;i++){
cout<<a[i]<<endl;
}
}
| [
"sadanasamiksha@gmail.com"
] | sadanasamiksha@gmail.com |
baf5cf9f7a340f6e206129cad578ba3f096a53ec | 13959af367e398ed935855a68dbe4c06dede2ba5 | /graphs/hackerearth-MONK.cpp | 8aebf4fe98223962ff4f4e1619fe0522a4342ac0 | [] | no_license | v-rohan/dsa-cpp | 1d0085abe6e8afffdab7315bc98847dc5d63b702 | 1c0b0088a96ebaba8c3270a89319ba789e93fa53 | refs/heads/main | 2023-06-02T17:53:23.772304 | 2021-06-28T19:16:14 | 2021-06-28T19:16:14 | 358,817,241 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,237 | cpp | /*
https://www.hackerearth.com/practice/algorithms/graphs/breadth-first-search/practice-problems/algorithm/monk-and-the-islands/
Topics - BFS
*/
// Write your code here
#include <iostream>
#include <vector>
#include <queue>
using namespace std;
#define mod 1000000007
#define lli long long int
#define li long int
que... | [
"rohanrao@pop-os.localdomain"
] | rohanrao@pop-os.localdomain |
56c742d5e855ee6837af53b6eecc8e71181cc3c6 | 3670f2ca6f5609e14cce8c31cb1348052d0b6358 | /control_toolbox/include/control_toolbox/dither.h | 03b6e1638925141040548405a21f859be116718a | [] | no_license | jincheng-ai/ros-melodic-python3-opencv4 | b0f4d3860ab7ae3d683ade8aa03e74341eff7fcf | 47c74188560c2274b8304647722d0c9763299a4b | refs/heads/main | 2023-05-28T17:37:34.345164 | 2021-06-17T09:59:25 | 2021-06-17T09:59:25 | 377,856,153 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,541 | h | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2009, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following... | [
"shuyuanhao@cetiti.com"
] | shuyuanhao@cetiti.com |
ec1c56adad4a7126868cc78284f80a66a4e97ec6 | 9aa3060a7422f0aa589d81a9ad01d6d454710921 | /examples/xtd.forms.examples/components/translator/src/translator.cpp | a8a1fb95e54dab70e9479a7e99e9d98923ce7f6a | [
"MIT"
] | permissive | bigplayszn/xtd | febd2f63675b6b8673f798e10c29070d515e3746 | 99c73e011efb701cdff2bbd80e16e02867d4d527 | refs/heads/master | 2023-05-26T13:43:44.613991 | 2021-06-10T15:54:08 | 2021-06-10T15:54:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 927 | cpp | #include <xtd/xtd>
using namespace std;
using namespace xtd;
using namespace xtd::forms;
class form1 : public form {
public:
form1() {
text("Translator example"_t);
client_size({500, 300});
controls().push_back_range({open_button, close_button, text_label});
open_button.location({10, 10});
... | [
"gammasoft71@gmail.com"
] | gammasoft71@gmail.com |
686fc9a0ea1cbc3956ac3d23636b0c4dd950e05d | 29eb66c7d378e212c78278b3e622a77436db1f58 | /Tool/BeyondEngineEditor/ScrollableTreeCtrl.cpp | b86269988424e4c938ec32bcfa4bb490fd13e3e5 | [] | no_license | yf885188/BeyondEngine | b71dc0db844e5e9769e30a341e1ca55fc784d9de | 9950c12e6c34450c234905731454b40a6f55609c | refs/heads/master | 2021-06-16T16:02:09.778944 | 2017-03-06T07:01:33 | 2017-03-06T07:01:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,084 | cpp | #include "stdafx.h"
#include "ScrollableTreeCtrl.h"
#include "wx/msw/private.h"
BEGIN_EVENT_TABLE(CScrollableTreeCtrl, wxTreeCtrl)
EVT_SCROLLWIN(CScrollableTreeCtrl::OnScroll)
EVT_MOUSEWHEEL(CScrollableTreeCtrl::OnMouseWheel)
END_EVENT_TABLE()
CScrollableTreeCtrl::CScrollableTreeCtrl(wxWindow *parent, wxWindowID id)
... | [
"loveybeyond@163.com"
] | loveybeyond@163.com |
e9d8b4619b4b0b661683cdbc1ca1a0dac1d106a4 | 7a0dba543905a01f1e8c20bd4bd7a342013e0092 | /Phase2/monkey.h | 8ca691218ea8918a1ae76b7298b465afffe65dac | [] | no_license | tovakarp/CPP-Zoo | dcda6cf39c85da58678b87be9851bc194d7be624 | 0e2cda3f8808f971606cf10799284916a21074e2 | refs/heads/master | 2022-11-14T09:26:34.652709 | 2020-05-31T12:24:19 | 2020-05-31T12:24:19 | 276,728,633 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 617 | h | #ifndef __MONKEY_H__
#define __MONKEY_H__
#include "mammal.h"
/*Monkey Class*/
class Monkey : public Mammal{
public:
Monkey(std::string);
/*virtual*/ std::string getSpecies() const;
/*virtual*/ unsigned char getLifeExpectancy() const;
/*virtual*/ std::string getContinents() const;
/*virtual*/ std... | [
"tovasimak@gmail.com"
] | tovasimak@gmail.com |
d419c2fc8c1a3c2a8b9c225577deed58993a8927 | 3faf84b52c9dac137aa8e72c4a42dfd79c9f8e97 | /examples/CBuildr6/exdbrv20.h | 254c2052056f5ec9a17d7b57e2d11aaa0df85da9 | [] | no_license | lynxnake/TurboPower-Orpheus | e3d9b7c03d946ea0d7c6c663d8cf3649e1deb48a | 18748d4a79a0a82503796d40a019e243704e866e | refs/heads/master | 2021-07-14T07:26:01.044028 | 2019-01-11T12:35:45 | 2019-01-11T12:35:45 | 144,685,117 | 4 | 4 | null | 2020-05-20T19:01:57 | 2018-08-14T07:33:47 | Pascal | UTF-8 | C++ | false | false | 1,195 | h | //---------------------------------------------------------------------------
#ifndef ExDbRv20H
#define ExDbRv20H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "OvcBase.hpp"
#inc... | [
"romankassebaum@fbd941df-1b1f-4d16-88fd-9a14aed2154d"
] | romankassebaum@fbd941df-1b1f-4d16-88fd-9a14aed2154d |
4bbffe71b43e3434e850d21ea8caa2292825e2f1 | c4c2efb20c9840715d1c4337c4baec67b19772e3 | /libtxt/txtSki.cpp | 3a29496e2ee2a39f226077522415f6e32cc8d169 | [
"MIT"
] | permissive | gite-hub/cc3172 | 3cd3d717a1fe2d94614b5b3f2f0afc3d423ed3bc | f64b1af87e088ad8a8c0c3fd952c0abbf9346e49 | refs/heads/master | 2023-03-16T15:55:53.911226 | 2020-05-18T06:05:14 | 2020-05-18T06:05:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,745 | cpp | #include "txtSki.h"
#include "_cc8.h"
const int txtSki::cTargetMax = 20;
sSkiCost txtSki::sCost::getCost(int hpMax, int ulv, int targetsCount)
{
sSkiCost cost;
if (ap > 0)
{
cost.ap = ap;
return cost;
}
if (hpper > 0)
{
cost.hp += hpMax * hpper / 100;
}
if (lv > 0)
{
cost.mp += ulv / lv + mp;
}
el... | [
"790951046@qq.com"
] | 790951046@qq.com |
952d5d8f074c9171d910c9d89f2ed5801dcacfba | 76fe0a0404ca1d71779fc6c1122b87e0d7a7aa1b | /judges/spoj/tubos.cpp | db0778a63d57f0b29b79aec3d3ce2cee4ef4e87e | [] | no_license | vitorguidi/Competitive-Programming | 905dd835671275284418c5885a4a1fae2160f451 | 823a9299dce7b7f662ea741f31b4687f854bb963 | refs/heads/master | 2021-06-25T06:58:53.670233 | 2020-12-19T16:53:15 | 2020-12-19T16:53:15 | 133,260,248 | 3 | 0 | null | 2018-05-13T17:46:43 | 2018-05-13T17:40:24 | null | UTF-8 | C++ | false | false | 1,567 | cpp | #include "bits/stdc++.h"
using namespace std;
#define pb push_back
#define mp make_pair
#define fst first
#define snd second
#define fr(i,n) for(int i=0;i<n;i++)
#define frr(i,n) for(int i=1;i<=n;i++)
#define ms(x,i) memset(x,i,sizeof(x))
#define dbg(x) cout << #x << " = " << x << endl
#define all(x) x.begi... | [
"vitorguidi@gmail.com"
] | vitorguidi@gmail.com |
e90141135acd55448282ec9bb2a2df0e3c14c800 | e58910b9d14243b7981c34966452d709afcf9f21 | /c++ craxx/bits.cpp | d2962722404b30e4ea271a52815873d6db5db3dc | [] | no_license | Dips2705/DSandAlgoLab | 8f49681a18f2d3e562eadf160b7085821ce492b2 | cfe9bf0ea87e57e7decbab8becae0fe07f3437c1 | refs/heads/master | 2021-07-08T00:48:29.804004 | 2020-10-17T07:26:59 | 2020-10-17T07:26:59 | 199,438,490 | 0 | 2 | null | 2020-10-17T07:27:01 | 2019-07-29T11:18:31 | C++ | UTF-8 | C++ | false | false | 293 | cpp | #include<bits/stdc++.h>
The bits/stdc++.h is a header that is included in order to include all standard libraries. In other word including bits/stdc++.h includes every standard library you want. This is quite helpful in situations when you want to waste time including different header files. | [
"rganguly143@gmail.com"
] | rganguly143@gmail.com |
de08ee7263ad7daa644e59e5446a1c6b7b58be27 | 34b1e68da51e623e3714d28d42aadb2401ee3823 | /spiral/chapter13/ex3_single_source_shortest_path_2.cpp | f77f0f3956b75a8411f8ef969e9abc1bfdc2704b | [] | no_license | adshidtadka/algorithm | b26018dde234d2642d623c1eb525477f5db53db2 | 73657e9a3759b9544e7a97c8d7fb880b3fd217da | refs/heads/master | 2021-06-01T11:20:58.364212 | 2020-10-18T12:33:00 | 2020-10-18T12:33:00 | 134,664,830 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,021 | cpp | // include
//------------------------------------------
#include <bits/stdc++.h>
using namespace std;
// conversion
//------------------------------------------
inline int toInt(string s) {
int v;
istringstream sin(s);
sin >> v;
return v;
}
template <class T>
inline string toString(T x) {
ostrings... | [
"nextage900fx@gmail.com"
] | nextage900fx@gmail.com |
aa0bc7a1d2f6c1beae9dd7d3caae2d740712439b | 001cb78aa36e82e71ac94649e613f83c77ef21ea | /Data Structure/Trie.cpp | 9eefaf797f19a8c3cbe0c648789afcf69ea75cbf | [] | no_license | ajami1331/CodeBook | 412a6e85db897db84bb1cb8ee720c4c5c9451831 | 3216caa4c171eb7e4a067d69589613abaf86d875 | refs/heads/master | 2023-08-08T15:38:47.380773 | 2019-11-07T19:36:57 | 2019-11-07T19:36:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 853 | cpp | const int sz = 1e5 + 10;
const int szz = 1e6 + 5e5 + 10;
string s[sz];
int n, m, state;
ll ans = 0;
struct nd {
int nxt[27];
ll cnt;
nd(){
cnt = 0;
memset( nxt, -1, sizeof nxt );
}
} tree[szz];
void insrt( int idx ) {
int root = 0;
int id;
for( int i=0; i<m; i++ ) {
... | [
"clown1331@yahoo.com"
] | clown1331@yahoo.com |
e4e15bdfb3dbe6948ddbc3912ed65cf7ea197774 | 479a9c76b19b84d6cde69305828031cd2531aa56 | /io/testing/epoller_test.cc | 3af3497210b49fb9a9f4aece2f9e575ef3969256 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | mldbai/mldb | d36801bd99dd3f82d7557cd0f438b0121f63f22c | 19bc4bc92a41ee8ad4eab0979dffd9c985d95758 | refs/heads/master | 2023-09-03T22:59:11.621839 | 2022-12-30T18:42:24 | 2022-12-30T18:42:24 | 47,634,692 | 701 | 107 | Apache-2.0 | 2023-02-10T23:08:05 | 2015-12-08T16:34:16 | C++ | UTF-8 | C++ | false | false | 6,632 | cc | // This file is part of MLDB. Copyright 2015 mldb.ai inc. All rights reserved.
/* epoll_test.cc
Wolfgang Sourdeau, 17 November 2014
Copyright (c) 2014 mldb.ai inc. All rights reserved.
Assumption tests for epoll
*/
#define BOOST_TEST_MAIN
#define BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#i... | [
"jeremy@barneso.com"
] | jeremy@barneso.com |
bdd93f1830d024244b73a89a26344fb5899407f6 | 1394f934380108d9cf8cb69a8a2c81647523fdf3 | /src/ak/main.cpp | c36a175b145985a180bf2fdc6e9a4f07e3cb96b1 | [] | no_license | WildPig1998/akhelper | 0857b860e5b64fd27c13ef55be994915074f2cf8 | 9a681bcc13dbfe8e03efcc080a3b0517ba288706 | refs/heads/master | 2020-07-13T23:48:11.807172 | 2019-08-29T08:36:48 | 2019-08-29T08:36:48 | 205,181,945 | 1 | 0 | null | 2019-08-29T14:25:41 | 2019-08-29T14:25:41 | null | UTF-8 | C++ | false | false | 1,710 | cpp | #include "form/quiwidget.h"
#include "form/appinit.h"
#include "form/uidemo1.h"
#include "LesCrashHandler.h"
#include <QApplication>
#pragma comment(lib, "User32.lib")
int main(int argc, char *argv[])
{
QFileInfo appPath(QString::fromLocal8Bit(argv[0]));
QString appDir(appPath.absoluteDir().path());
QString ... | [
"kensou.24@hotmail.com"
] | kensou.24@hotmail.com |
480b35535294d0510d1e6e9e3596f42dea6c1956 | 422c32ca6bd0bc49722895868c31c19785aebc2f | /src/atom.h | f522748db684c50d523bde3d4ecbdea174413946 | [] | no_license | computational-biology/metallic | 7d08e63ffc462fa1e4042577124145f688c249b1 | a59bc54097dc1fda06d63662e65fd99fdc23eb55 | refs/heads/master | 2023-08-13T22:16:25.268147 | 2021-07-22T16:45:13 | 2021-07-22T16:45:13 | 388,488,598 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,819 | h | //
// Created by parthajit on 10/7/20.
//
#ifndef CPPMET_ATOM_H
#define CPPMET_ATOM_H
#include <stdio.h>
#include <cmath>
#include <cstring>
class Atom {
public:
long id;
char loc[5];
char resname[5];
long resid;
char chain[5];
double x;
double y;
double z;
double occu;
char ... | [
"cs.roy.parthajit@gmail.com"
] | cs.roy.parthajit@gmail.com |
637153fe482a996540ed2be118d7444ae2b45fff | aa7d27e63dab15e99e937ae5a533aa7b2982cf32 | /src/compat/glibc_compat.cpp | e35b4df944bcd2e23ae22b9a4007bf340a63cce1 | [
"MIT"
] | permissive | kayserp/lqx | 000b805d97130b8eef522640f53b182e840171f1 | 9c446543ef311f36a524c3aa35654b79440d5d45 | refs/heads/master | 2020-12-21T20:58:15.890848 | 2020-01-27T18:11:03 | 2020-01-27T18:11:03 | 236,557,328 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,766 | cpp | // Copyright (c) 2009-2014 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include "config/lqx-config.h"
#endif
#include <cstddef>
#include <cstdint>
#if defined(HAVE_SYS... | [
"gerkayser@hotmail.com"
] | gerkayser@hotmail.com |
ccb802e37b81c0a774e7f46ff1bc4efda2210aba | 2aaa99b48e4d7bc10f4e5d7a933a595195019589 | /examples/chess/pieces/Bishop.h | 9a8ec1d7b81a66df80ae611bd54afeb1439ad497 | [
"Apache-2.0"
] | permissive | InfiniBrains/mobagen | 6fdd278efa5fc84f09d30f2bdea18004d649d402 | 3f438c0baac898c16cf321c924d6008ccf0f3e53 | refs/heads/master | 2023-07-19T19:23:55.814867 | 2023-07-14T23:54:53 | 2023-07-14T23:54:53 | 35,370,123 | 53 | 88 | Apache-2.0 | 2023-04-17T17:42:01 | 2015-05-10T12:31:45 | C++ | UTF-8 | C++ | false | false | 299 | h | #ifndef CHESS_BISHOP_H
#define CHESS_BISHOP_H
#include "../WorldState.h"
#include <unordered_set>
struct Bishop {
static unordered_set<Point2D> AttackMoves(WorldState& world, const Point2D& origin);
static unordered_set<Point2D> CoverMoves(WorldState& world, const Point2D& origin);
};
#endif
| [
"tolstenko@gmail.com"
] | tolstenko@gmail.com |
9679e12a96477d690930ee795ecb6485c63956fe | a696549255433a0d499d7c5dda18d3128ab66055 | /src/rdb_protocol/datum_stream/readers.hpp | 21c5ec76e01f97eac86a42a7f039a189a604d9d4 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | dk-dev/rethinkdb | 90cdfdff672a2693842f779d21d60d87c290a39d | bb4f5cc28242dc1e29e9a46a8a931ec54420070c | refs/heads/next | 2022-03-14T15:43:50.758116 | 2021-11-30T02:49:09 | 2022-02-20T22:47:44 | 12,976,019 | 0 | 0 | Apache-2.0 | 2022-02-21T01:10:42 | 2013-09-20T14:50:36 | C++ | UTF-8 | C++ | false | false | 7,455 | hpp | #ifndef RDB_PROTOCOL_DATUM_STREAM_READERS_HPP_
#define RDB_PROTOCOL_DATUM_STREAM_READERS_HPP_
#include "containers/optional.hpp"
#include "rdb_protocol/datum_stream.hpp"
#include "rdb_protocol/datum_stream/readgens.hpp"
#include "rdb_protocol/real_table.hpp"
namespace ql {
class reader_t {
public:
virtual ~reade... | [
"sam@samuelhughes.com"
] | sam@samuelhughes.com |
1d2268924080f06359d55d720ba6c01d4c5ea311 | d064c451464c2ef89dd98954a61b176c653b51d0 | /XmlDocument/XmlParser/XmlParser.h | 3eafa652cd0b2c9618c23d3f2decba3293e76ec3 | [] | no_license | idiwg2/NoSqlDB | b1620063be703f59c8c68790ff3e3338e954a7aa | dd5c2582b0471954b3c8faaea5916652f92b3628 | refs/heads/master | 2020-03-22T09:54:37.057250 | 2018-07-05T15:30:22 | 2018-07-05T15:30:22 | 139,868,567 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,503 | h | #ifndef XMLPARSER_H
#define XMLPARSER_H
///////////////////////////////////////////////////////////////////
// XmlParser.h - build XML parse tree //
// ver 1.3 //
// Application: Support for XmlDocument, Summer 2015 //
// Platf... | [
"tejaspassion214@gmail.com"
] | tejaspassion214@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.