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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0182b8c50b080e25ca6f1b638eb6e72cefaa7a99 | 89d38f4c8c5ece12668854bd3ad82483367c4e84 | /servo_setter.ino | d5ee6844a24b73dc891d338a5e07420df121cede | [
"MIT"
] | permissive | cybeaer/arduinoServoSetter | 1e8edce77f9f5c9d2ad2016b392160b0ef77283f | 7d9101b542e23a2cb1c1e604c549a30cbe2e7356 | refs/heads/master | 2021-05-16T01:08:45.623080 | 2017-10-15T18:37:00 | 2017-10-15T18:37:00 | 107,038,506 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,141 | ino | #include <Arduino.h>
#include <Servo.h>
#include <SPI.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#define OLED_RESET 4
Adafruit_SSD1306 display(OLED_RESET);
#if (SSD1306_LCDHEIGHT != 32)
#error("Height incorrect, please fix Adafruit_SSD1306.h!");
#endif
const int buttonPinP10 = 2;
co... | [
"noreply@github.com"
] | noreply@github.com |
56805993d80296cc237ff40fa3c1bc5932dc44e4 | f5b9e575bd3256499802c75d4df5efa1bd99ddcd | /[Internal] BUCC Competitive Programming Contest Series. Segment-2/J - Problem J .cpp | 704425d1cd711ca56ae1c4d4f2319b93031239be | [] | no_license | arafat04/Internal-BUCC-Competitive-Programming-Contest-Series | d4d37b507583fc29d02de325431cf8ad9bd4d196 | 0e76c66126aba79c7dcdc06dfb818fb61dad1aaa | refs/heads/main | 2023-06-12T06:33:26.250910 | 2021-07-08T15:51:40 | 2021-07-08T15:51:40 | 379,742,951 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 653 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int T,N,value,low_count=0,highcount=0;
cin>>T;
for(int i =0;i<T;i++){
cin>>N;
int arr[N];
for(int j=0;j<N;j++){
cin>>value;
arr[j]=value;
}
for(int k=0;k<N-1;k++){
if(arr[k... | [
"noreply@github.com"
] | noreply@github.com |
afc1a91b7395e5a574b57c9ad6a1e18fe1b3b00f | fa52732ced625b455ac9bc7682f5e956a28c77b8 | /r3bsource/R3BFi2bReader.h | 5e45ae159a2cfa39760c63eaffd36239c4734510 | [] | no_license | matthiasholl/R3BRoot | 5ec66c40a7dbbb8371b170abc59ec0faed59469a | abf65dc291f675392959d538a9eee9cba79273a5 | refs/heads/master | 2020-04-27T00:44:33.116026 | 2018-11-05T14:18:02 | 2018-12-18T09:00:43 | 173,944,200 | 1 | 0 | null | 2019-03-05T12:40:41 | 2019-03-05T12:40:40 | null | UTF-8 | C++ | false | false | 477 | h | #ifndef R3BFI2BREADER_H
#define R3BFI2BREADER_H
#include "R3BBunchedFiberReader.h"
typedef struct EXT_STR_h101_FIBTWOB_t EXT_STR_h101_FIBTWOB;
typedef struct EXT_STR_h101_FIBTWOB_onion_t EXT_STR_h101_FIBTWOB_onion;
class R3BFi2bReader: public R3BBunchedFiberReader
{
public:
R3BFi2bReader(EXT_STR_h101_FIBTWOB *... | [
"a.kelic@gsi.de"
] | a.kelic@gsi.de |
13ced44f3febd1b495567b6f155b9a8054cc08c0 | 3d8e58ae6374d141239476f96996f8d3cdd6f265 | /p79_Word_Search/p79.cpp | ad66e40553169772f2aea5217124122c14b4986c | [
"MIT"
] | permissive | Song1996/Leetcode | c07e0c7663c11c61396af0d1740367cf7df56d0e | ecb0a2de67a57b899a12d0cb18272fb37dbf3ceb | refs/heads/master | 2021-06-18T14:52:36.439751 | 2019-08-07T03:35:37 | 2019-08-07T03:35:37 | 140,538,216 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,152 | cpp | #include <iostream>
#include <memory>
#include <vector>
#include <stack>
#include <map>
#include <string>
#include <assert.h>
#include <algorithm>
using namespace std;
class Solution {
public:
bool exist(vector<vector<char> >& board, string word) {
int m = board.size();
if(m<1&&word.length()>=1) re... | [
"greatzhangs@outlook.com"
] | greatzhangs@outlook.com |
0a4c2d6dca23d4cc66d06137b7b066f6e2a65717 | 83f461519bff4467a1a175ca686ad06a2a7e257b | /src/mlpack/bindings/R/print_doc_functions_impl.hpp | 47705c6f28556900bed3050bde98f91e67db378d | [] | no_license | Yashwants19/RcppMLPACK | 3af64c6b1327e895b99637649591d1671adf53a5 | 2d256c02058aa7a183d182079acff9037a80b662 | refs/heads/master | 2022-12-04T05:06:17.578747 | 2020-07-22T12:45:42 | 2020-07-22T12:45:42 | 252,217,735 | 9 | 0 | null | 2020-08-18T06:15:14 | 2020-04-01T15:41:38 | C++ | UTF-8 | C++ | false | false | 9,240 | hpp | /**
* @file bindings/R/print_doc_functions_impl.hpp
* @author Yashwant Singh Parihar
*
* This file contains functions useful for printing documentation strings
* related to R bindings.
*
* mlpack is free software; you may redistribute it and/or modify it under the
* terms of the 3-clause BSD license. You shoul... | [
"yashwantsingh.sngh@gmail.com"
] | yashwantsingh.sngh@gmail.com |
d076fe1b3077065e9da744d0bd163f8ad8f94acf | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/AtCoder/agc014/A/1263908.cpp | 05496b68d22ec36a8e9b3b416d3e84048672f65f | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 678 | cpp | #include <iostream>
using namespace std;
template<typename T>
bool is_even(T const& val){
return val % 2 == 0;
}
template<typename T>
bool is_odd(T const& val){
return !is_even(val);
}
int main(void)
{
int A, B, C;
cin >> A >> B >> C;
if(is_odd(A) || is_odd(B) || is_odd(C)){
cout << 0... | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
13933750d30c11c01eeb054237a39997dbf01e37 | 260e5dec446d12a7dd3f32e331c1fde8157e5cea | /Indi/SDK/Indi_Helmet_DissRioter_Base_classes.hpp | f85516cd1ae485c3bd7d13957068d52e1efe1633 | [] | no_license | jfmherokiller/TheOuterWorldsSdkDump | 6e140fde4fcd1cade94ce0d7ea69f8a3f769e1c0 | 18a8c6b1f5d87bb1ad4334be4a9f22c52897f640 | refs/heads/main | 2023-08-30T09:27:17.723265 | 2021-09-17T00:24:52 | 2021-09-17T00:24:52 | 407,437,218 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 700 | hpp | #pragma once
// TheOuterWorlds SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "Indi_Helmet_DissRioter_Base_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
... | [
"peterpan0413@live.com"
] | peterpan0413@live.com |
54564daa776a25b29e7199244d4ad873c2774532 | 6e8a881b29df08c05496cf5547b6d313d32c0c96 | /TSPAnnealing/Individuo.cpp | f5dfc36a7f7db6cd84798f523746016d19bcf4db | [] | no_license | atorresleticia/TSPAnnealing | 252d2a96e65adf7cbaac2982d4b5535562503aa3 | 994c090d86e0a066aaff8b86e0e36867cece07fe | refs/heads/master | 2021-05-06T03:49:24.374880 | 2017-12-20T12:50:04 | 2017-12-20T12:50:04 | 114,886,975 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 615 | cpp | #include "stdafx.h"
#include "Individuo.h"
individuo individuo::get_melhor(individuo& a)
{
individuo melhor = this->get_aptidao() > a.get_aptidao() ? *this : a;
return melhor;
}
double individuo::distancia_ate(::cidade a, ::cidade b)
{
double dx = abs(a.x() - b.x());
double dy = abs(a.y() - b.y());
return sqrt... | [
"atorresleticia@gmail.com"
] | atorresleticia@gmail.com |
5f2e610ef245e791ae22f3f33fff837c1bf0bcb9 | 534eec831998a1b013d2c24b72b322febade8bc7 | /10 Objects and Classes/Exercise 8/main.cpp | bd8effa595d5d9f9628151fd79bfc6abba804b9a | [] | no_license | DimaZeland/Prata-cpp-Primer-Plus | 902f33def44f56f8382fd4d9f8ade407b9d1f19f | 3ede4943a87c8f53f8a9c96a3248d0f353ddc849 | refs/heads/master | 2023-04-02T01:45:04.120275 | 2023-03-29T15:49:05 | 2023-03-29T15:49:05 | 146,207,518 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 480 | cpp | #include "List.h"
int main() {
Object first;
List Arr;
cout << "\nEnter the name of new object: ";
cin >> first.name;
cout << "\nEnter the years of new object: ";
cin >> first.years;
Arr.Push(first);
Arr.IsEmpty() ? std::cout << "\nThe list is empty\n" : std::cout << "\nThe list isn't ... | [
"onenewinvest@gmail.com"
] | onenewinvest@gmail.com |
de71726c318747319b3ef729e0fdcc5e4d3a71ae | 1db7f51b89e9be64224111fdeae13bcea1edf3a6 | /Program.h | bf0fbceee017a1416fa42fe0eb22a5bde9915462 | [] | no_license | davlondev/weird-graphing-thing | 1f1dcf70ccc8223eb25201a9c0716ed019dc7fac | ec83e7f3a063e873ccd7f8b5166330a89a19d60d | refs/heads/main | 2023-04-02T07:33:52.314550 | 2021-04-02T13:12:56 | 2021-04-02T13:12:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,154 | h | #ifndef PROGRAM_H
#define PROGRAM_H
#include "sdk.h"
struct gridPoint {
gridPoint(float x, float y) {
this->pos.x = x;
this->pos.y = y;
}
sf::Vector2f pos;
};
struct pointSet {
pointSet(sf::Color c = sf::Color::Red, sf::Vector2f initPos = sf::Vector2f(-999, -999)) {
this->clr = c;
if (ini... | [
"noreply@github.com"
] | noreply@github.com |
5af03916fc5092e4c4cea4da62267f3ce3e0d7e2 | 6a924d718c08e3fefe23c12d1f0336b86a1f8491 | /arrows/ocv/detect_features_STAR.cxx | 70e4bf279b50636b9e1108d5bd06d73af8b434a3 | [] | no_license | gitter-badger/kwiver | b137c1d3f2d7a681df13f09ce44c8343286c3183 | ed50d98405f4ed9075957a37b76a306b5e4ed4de | refs/heads/master | 2021-01-23T17:18:52.929957 | 2016-08-30T11:45:50 | 2016-08-30T11:45:50 | 66,963,874 | 0 | 0 | null | 2016-08-30T17:44:33 | 2016-08-30T17:44:30 | null | UTF-8 | C++ | false | false | 5,434 | cxx | /*ckwg +29
* Copyright 2016 by Kitware, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of... | [
"linus.sherrill@kitware.com"
] | linus.sherrill@kitware.com |
38b0acec073d5b85a3a1925d4f16fe1551d1bdf7 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/git/new_hunk_4895.cpp | 1e6e610155c9ad9ea8b4844b497e5320febcf181 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 288 | cpp | }
if (commit_tree(sb.buf, active_cache_tree->sha1, parents, commit_sha1,
author_ident.buf)) {
rollback_index_files();
die("failed to write commit object");
}
strbuf_release(&author_ident);
ref_lock = lock_any_ref_for_update("HEAD",
initial_commit ? NULL : head_sha1, | [
"993273596@qq.com"
] | 993273596@qq.com |
0d7e347306c54911d712352754827c7a51e770a5 | 27237ed26f25f096ca9daddc4ca3b2c9a92cfaeb | /02_concurrency/example03/Ex03_02.cpp | 472e2dedb78d06639bd2804d3ec34e7cb768a302 | [] | no_license | wanglg007/Cplusplus17 | 490fc71ef0f6bcfb856d95dec3c4ef309c45e9c4 | 423e2cec158148c66542e31d408066434fc2e97f | refs/heads/master | 2021-10-10T14:42:27.425103 | 2019-01-12T09:13:35 | 2019-01-12T09:13:35 | 148,996,016 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,726 | cpp | //不同线程对数据的读写
#include <vector>
#include <atomic>
#include <iostream>
#include <chrono>
#include <thread>
std::vector<int> data;
std::atomic_bool data_ready(false);
void reader_thread() {
while (!data_ready.load()) { // 1
std::this_thread::sleep_for(std::chrono::milliseco... | [
"wangligang"
] | wangligang |
0049b7cdd2de7b7601d7463c8c6dde670665b359 | e45b4a403315b9b14428c40e008adf72ca8561f8 | /Karnet_zjazdowy.cpp | 8b22593c1a444cb727b6e804e2662c816b853c94 | [] | no_license | kjop118/Osrodek-narciarski | e64ddb1739ff00a3b06e386c7660d23cb2a51b3a | 87de3a51e42a225f62c7bb8a46af9f73ec34539e | refs/heads/master | 2020-09-18T18:42:43.228761 | 2020-01-28T10:29:52 | 2020-01-28T10:29:52 | 224,167,837 | 0 | 0 | null | 2020-01-21T11:09:25 | 2019-11-26T10:46:35 | C++ | UTF-8 | C++ | false | false | 55 | cpp | class Zjazdowy
{
public:
int ilosc_zjazdow;
};
| [
"noreply@github.com"
] | noreply@github.com |
3a849fadd5f5e8178de30325cf2414282c390d1e | 9c7acb94cb056b2697b9abf58f074806718b3f90 | /locationitem.cpp | fc7ba5b66c4353bb2f1b12b8871023b17e431ab1 | [] | no_license | sarpich1204/DollarVPN | d7c1667f49b3a73c86ce1a09eef9f3d2d14dce5b | 89623879bf99def3dbda4816b5d1dcccf7600861 | refs/heads/master | 2020-03-20T20:07:59.442699 | 2018-06-17T16:45:35 | 2018-06-17T16:45:35 | 137,671,654 | 1 | 0 | null | 2018-06-17T17:04:40 | 2018-06-17T17:04:39 | null | UTF-8 | C++ | false | false | 100 | cpp | #include "locationitem.h"
LocationItem::LocationItem(QWidget *parent) : QWidget(parent)
{
}
| [
"noreply@github.com"
] | noreply@github.com |
809c1b17b4c66fedc2433642654f0b5876a86061 | 7d35b56f371a98768f2dab2ebfe6671ffbd933bc | /test/unit/src/metal/lambda/trait.cpp | a2959f9934e7447058fdedf368c4f88bd6c23b4f | [
"MIT"
] | permissive | brunocodutra/metal | e3d36d480ce083564e5bc77c28bc8512c66db8fd | 9db9b403e58e0be0bbd295ff64f01e700965f25d | refs/heads/master | 2023-08-18T21:10:56.730925 | 2022-04-10T20:05:57 | 2022-04-10T21:19:44 | 31,686,207 | 362 | 30 | MIT | 2022-04-10T21:19:44 | 2015-03-04T23:47:59 | C++ | UTF-8 | C++ | false | false | 1,300 | cpp | #include <metal.hpp>
#include "test.hpp"
#define MATRIX(M, N) \
CHECK((metal::is_invocable<metal::trait<EXPR(N)>, VALUE(M)>), (BOOL(N == 1))); \
CHECK((metal::is_invocable<metal::trait<EXPR(N)>, NUMBER(M)>), (BOOL(N == 1))); \
CHECK((metal::is_invocable<metal::trait<EXPR(N)>, PAIR(M)>), (BOOL(N == 1))); \... | [
"brunocodutra@gmail.com"
] | brunocodutra@gmail.com |
11d96c52e5dd70bf8bdf2e2347fc88660bdf6814 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /chrome/browser/chromeos/child_accounts/screen_time_controller.cc | eca6d9ad0cd8234f78cc1b6c99ba7eb6fe00fcd2 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 14,277 | 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 "chrome/browser/chromeos/child_accounts/screen_time_controller.h"
#include "ash/public/cpp/vector_icons/vector_icons.h"
#include "base/optional.... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
d4f364d9f4f3a8cf1cec33184917636b30aac058 | ba5d1d776888be6ae9688d850f0445d80973ee8f | /public/XZip.cpp | 2b187a85354b061750344af5c07c2d7622dc2d4c | [
"MIT"
] | permissive | BerntA/tfo-code | eb127b86111dce2b6f66e98c9476adc9ddbbd267 | b82efd940246af8fe90cb76fa6a96bba42c277b7 | refs/heads/master | 2023-08-17T06:57:13.107323 | 2023-08-09T18:37:54 | 2023-08-09T18:37:54 | 41,260,457 | 16 | 5 | MIT | 2023-05-29T23:35:33 | 2015-08-23T17:52:50 | C++ | UTF-8 | C++ | false | false | 113,459 | cpp | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//
//=============================================================================//
// XZip.cpp Version 1.1
//
// Authors: Mark Adler et al. (see below)
//
// Modified by: Lucian Wischik
// ... | [
"bernta1@msn.com"
] | bernta1@msn.com |
de03f4a3b2e4b0a141d67388d1f2110aeef38053 | 8af8871325be3ef2c872fdca0e958254370f4216 | /lab03/List.h | a1f316ac5b7e8a6f2a7d4ac8d9f5db8be2971724 | [] | no_license | czc3wa/CS2150-DataStructures | 3d43703d0e61e35a3b5054d590c2b11048c0e91f | 92a1f76cc22eb01eb0f5d3a66ff18cdb405922f3 | refs/heads/master | 2021-01-22T05:47:20.405985 | 2017-02-12T05:11:43 | 2017-02-12T05:11:43 | 81,704,385 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,172 | h | //Corey Chen 9/8/16 List.h
/*
* Filename: List.h
* Description: List class definition
* also includes the prototype for non-member function print()
*/
#ifndef LIST_H
#define LIST_H
#include <iostream>
#include "ListNode.h"
#include "ListItr.h"
using namespace std;
// When reading in ListItr.h fir... | [
"upnastan@gmail.com"
] | upnastan@gmail.com |
5a62dbe3c0a4c266bd7a7941cb17a62a3c06ba33 | 684d6cd65a59e3cf3674a3c7d1df1005db3814d9 | /src/SG.h | 02e15405f72736212c9848d49105ddac0c23b62d | [] | no_license | ATX-PRAGMA/LoadoutShuffle | c0fc50121ce39026c9ef7279758eebd3dba5c910 | b2c7eaa82c6fb57163ff10ca2265fb78b47c6d5f | refs/heads/master | 2021-03-31T16:45:38.333980 | 2020-03-19T00:53:51 | 2020-03-19T00:53:51 | 248,120,674 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 565 | h | #ifndef SG_H
#define SG_H
#include <string>
#include "PrimWeapon.h"
class SG : public PrimWeapon {
public:
SG();
void setSights();
void setAttachments();
private:
inline static const std::string sg_list[] = {"BY15", "HS0405", "HS2126", "KRM-262", "Striker"};
inline static const std::string sg_sight_lis... | [
"leviathaninwaves@icloud.com"
] | leviathaninwaves@icloud.com |
1ad3b8257f157bd18ae8b9ca0263dac7ed1c3cdf | 813284b9dac4477f4893cb6b30ffafab8e181cc4 | /src/qt/modaloverlay.cpp | ea5ecd7cffbdc668213a751d4b9a45a6c1ba547d | [
"MIT"
] | permissive | phoenixkonsole/xbtx | 609809c29c32e2c4373a26204480a0e2a9f0922e | 2f9db3d0ca34103e315a5bc9ef2fa2d42cb71810 | refs/heads/master | 2023-05-11T17:37:28.762478 | 2023-05-03T09:54:14 | 2023-05-03T09:54:14 | 243,993,348 | 3 | 11 | MIT | 2023-05-03T09:54:15 | 2020-02-29T15:30:47 | C++ | UTF-8 | C++ | false | false | 5,846 | cpp | // Copyright (c) 2016 The Bitcoin Core developers
// Copyright (c) 2017 The BitcoinSubsidium Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "modaloverlay.h"
#include "ui_modaloverlay.h"
#include "guiut... | [
"william.kibbler@googlemail.com"
] | william.kibbler@googlemail.com |
0c96b822488a9d68d73666d5953c7f265728631d | a75149e54ccc92fcd62580add40ec9b4bda797dd | /reto6.cpp | ef91d7f33d93707adef72cb11b4d9a076764686c | [] | no_license | davidrdz1/retosPOO | 640994322753a206805e25c578035899c01415cb | 1e8f9d9fbc2aad820f911dc8133fa27730776482 | refs/heads/master | 2021-03-03T07:13:55.472270 | 2020-05-26T03:34:53 | 2020-05-26T03:34:53 | 245,941,875 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 377 | cpp | #include<iostream>
using namespace std;
#include<vector>
#include <bits/stdc++.h>
int solution(vector <int> A){
sort(A.begin(), A.end());
for(int i=0; i<A.size(); i++){
cout<<A[i];
}
return 5;
}
int main(){
int faltante;
vector<int> A={2, 5, 4, 1, 6};
faltante = solution(A);
... | [
"davideltrailer@gmail.com"
] | davideltrailer@gmail.com |
08e39764d689e5db1dafdaf954caf0b868176ff0 | f366ec7980e9377aeca1d767f48cef84fd07442a | /dijkstra/dijkstra.cpp | a40c354148997c1decf63b89c2841901fc582adb | [
"CC0-1.0",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | RyanRizzo96/Industrial-Path-Planning-Application | 3ad5be6e06cbf477f849b8b0223259f0453e4561 | d19c6f501ebee7554e517271af681682826edd67 | refs/heads/master | 2021-10-26T22:35:37.134208 | 2019-04-14T12:46:08 | 2019-04-14T12:46:08 | 111,674,761 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,672 | cpp | #include <iostream>
#include <vector>
#include <fstream>
#include <string>
using namespace std;
//Declare an input and output file stream (ifstream) (ofstream) variable.
ofstream outFile;
ifstream inFile;
int N; //number of nodes
int a, b, w; //Node a to Node b and weight w
int node_matrix[10][10]; //2D node ma... | [
"31866965+RyanRizzo96@users.noreply.github.com"
] | 31866965+RyanRizzo96@users.noreply.github.com |
421e39bd82bf7f78acec6d8ce499501822e86fb8 | 8875785c91080172101e73215542382c64fbdf67 | /algorithms/Lisa's Workbook.cpp | 1485ad3e10d09891526a1ae4ce2ae7382dae9a6b | [] | no_license | amitoj-singh/HackerRank | 4cfd60c0d9299cf8bcdd00c68a7507c65c0fad87 | 7f191757c59efd4fc366d3eadbfef422c82144f8 | refs/heads/master | 2021-06-26T09:16:33.198417 | 2020-12-09T08:26:14 | 2020-12-09T08:26:14 | 184,209,083 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,784 | cpp | #include <bits/stdc++.h>
using namespace std;
vector<string> split_string(string);
// Complete the workbook function below.
int workbook(int n, int k, vector<int> arr) {
int special = 0, page = 0;
for (int i = 0; i < n; i++) {
page++;
for (int p = 1; p <= arr[i]; p++) {
if (p == p... | [
"noreply@github.com"
] | noreply@github.com |
70a9c2553356f4d7e59f74ac58a2d4a1597a4bb9 | 486a8375d4e9e7b9be325c72c3a592f5dfee7256 | /libraries/MySensors/Sensor.cpp | 69c1b8546c75f691be5ee50b60ad2cdb252e2611 | [] | no_license | datammwv/Arduino-1 | 8a2fc017c7d11dfc2ad2b33d9745392d97429656 | 8681e37f48673fbb9315312d1c0d8efde29431be | refs/heads/master | 2021-01-18T02:19:14.487718 | 2014-03-07T07:49:57 | 2014-03-07T07:49:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,064 | cpp | /*
The Sensor Net Arduino library adds a new layer on top of the RF24 library.
It handles radio network routing, relaying and ids.
Created by Henrik Ekblad <henrik.ekblad@gmail.com>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
version ... | [
"henrik.ekblad@gmail.com"
] | henrik.ekblad@gmail.com |
141f39c7261c5814a64b083a9d08f450288aab1f | cb6ffcac8b7cbae2a724d2f50a50dd02440c15e4 | /E17_BulletConfig/AppClass.h | 2ac0b68d483ecc4c52ebbecb7bcda00430ce8723 | [
"MIT"
] | permissive | APGMac21/ReEngineApp_2015s | 915c0643b4cc94ee19fd5a5f40d7b1675b30e250 | 2ba2a64c5eb83e2fe65bcc6e3b19878dbe998902 | refs/heads/master | 2021-01-16T20:53:21.571280 | 2016-05-10T22:21:58 | 2016-05-10T22:21:58 | 51,518,289 | 0 | 0 | null | 2016-02-11T14:01:42 | 2016-02-11T14:01:41 | null | UTF-8 | C++ | false | false | 2,874 | h | /*----------------------------------------------
Programmer: Alberto Bobadilla (labigm@gmail.com)
Date: 2015/09 (Last Modified on: 15/11)
----------------------------------------------*/
#ifndef __APPLICATION_H_
#define __APPLICATION_H_
#include "RE\ReEngAppClass.h"
#include <SFML\Graphics.hpp>
#include "Bullet\btBul... | [
"gtm3063@ad.rit.edu"
] | gtm3063@ad.rit.edu |
cf8c8be43f998fd0b8c82a8aedf62d07c1435147 | c841ae473f20ac74cdb9ac30243498176411618f | /sapphire/unity_sdk.hpp | 7c9941dab0ec87c42f2e54cb15ca0f57886dc893 | [] | no_license | proflylab/sapphire | bd83d70af6ca7962688feaffd6dcbbde2259be07 | fb8e70c867de45e065e9d87e1437bee8eb0d95e4 | refs/heads/main | 2023-08-25T09:51:50.798279 | 2021-10-29T23:39:22 | 2021-10-29T23:39:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,802 | hpp | #pragma once
#include "il2cpp_lib.hpp"
#include "include.hpp"
namespace unity
{
inline std::uintptr_t asset_bundle, camera;
enum class key_code // todo; clean this mess up. maybe put both of these in enums.hpp
{
Backspace = 8, Delete = 127, Tab = 9, Clear = 12,
Return = 13, Pause = 19, Escape = 27, Space = 32,... | [
"flipflops@riseup.net"
] | flipflops@riseup.net |
ae6dbb1b9ac1ddb6c70ebe05cec30610fbf10271 | a747e79e6670284dd1cf646d3d8eb38e083225f0 | /Classes/LSFEnv.h | fa5a53631bac32864bc50399c861db2f7e2a72c6 | [] | no_license | Gibom/L.S.F | 46b2df6b6d63f6285406126e181ef3d072d3e228 | 1456169e78fc468b94086ff849fa26c462acc53a | refs/heads/master | 2021-01-01T04:06:17.713722 | 2016-06-02T23:08:17 | 2016-06-02T23:08:17 | 56,972,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 255 | h | #ifndef __LSFENV__
#define __LSFENV__
#include "cocos2d.h"
using namespace cocos2d;
class LSFEnv
{
public:
virtual bool init();
void worldDate(float dt);
void worldWeather(float dt);
void fishingProb(float dt);
};
#endif // define __LSFENV__ | [
"rlqha123@gmail.com"
] | rlqha123@gmail.com |
4005258607e720621439926daf9f0f161491c793 | 5246473d1f2ddb7b966c9c2ab978ca6d9b7ae310 | /entity.cpp | b83229d4eb48df1a27c19128d9d0fe18a33fb8a9 | [] | no_license | XushengHai180/FEM | a3cfbfd42c90c19960acbc9eab0449577ca04dc8 | ff0f999ff43131891319a50d98cf706c552f9ff2 | refs/heads/master | 2020-09-16T08:11:43.247574 | 2019-12-10T14:16:08 | 2019-12-10T14:16:08 | 223,707,503 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,680 | cpp | #include"entity.h"
#include"stdlib.h"
void entity::mesh(int ne_new,int nnpe_new,double l_new,double a,double e,double rho)
{
ne=ne_new;
nnpe=nnpe_new;
l=l_new;
nn=ne*(nnpe-1)+1;
ele=(element*)malloc(sizeof(element)*(ne+1));
for(int i=0;i<ne;i++)
{
ele[i].nnpe=nnpe;
ele[i].initial(a,e,rho,i*l/ne,(... | [
"noreply@github.com"
] | noreply@github.com |
545f838a16cea983cef00c04e241ae408664fdc7 | 72852e07bb30adbee608275d6048b2121a5b9d82 | /algorithms/problem_0530/other3.cpp | 13e82ef22b27004602ce169f07f98ffb95618b81 | [] | no_license | drlongle/leetcode | e172ae29ea63911ccc3afb815f6dbff041609939 | 8e61ddf06fb3a4fb4a4e3d8466f3367ee1f27e13 | refs/heads/master | 2023-01-08T16:26:12.370098 | 2023-01-03T09:08:24 | 2023-01-03T09:08:24 | 81,335,609 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 548 | cpp | class Solution {
public:
void helper(TreeNode* root, vector<int>& result) {
if (!root)
return;
helper(root->left, result);
result.push_back(root->val);
helper(root->right, result);
}
int getMinimumDifference(TreeNode* root) {
vector<int> resu... | [
"drlongle@gmail.com"
] | drlongle@gmail.com |
3a80525ad2c350b31952de5e1a5a5659b0f3cdfc | 99f1550e0a3c2e21088e2ffc72bc5dadabb1188f | /ui/UICTRL/Src/Control/RichText/parser/htmlnode_u.cpp | 9fe041b6e02a6da0e90bf59842b623e0e0f2a6f9 | [] | no_license | flymolon/UI2017 | 0d0bb1c173e015e7fe26ada47358b4581f3b0e29 | e7182b19d9227abe6d3f91600e85d13c85917e71 | refs/heads/master | 2020-04-11T01:42:49.336393 | 2017-02-12T04:15:19 | 2017-02-12T04:15:19 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 590 | cpp | #include "stdafx.h"
#include "HtmlNode_U.h"
HtmlNode* HtmlNode_U::CreateInstance(HtmlParser* pParser)
{
HtmlNode_U* p = new HtmlNode_U();
p->SetHtmlParser(pParser);
p->AddRef();
return p;
}
void HtmlNode_U::ParseTag(PARSETAGDATA* pData)
{
if (pData->bStartBacklash)
{
// 取消堆栈上的一个<a>
m_pHtmlParser->RemoveLa... | [
"libo30@lenovo.com"
] | libo30@lenovo.com |
ba42c8c01283296df448ae545330b8a16e039dd1 | d547e16fcea3a1dce5a935b001e2095e5708de33 | /WTF/wtf/UnusedParam.h | 028bd39a1bd3e7f711dbc118f3327369b3d6cac0 | [] | no_license | rognar/webkit-wince-5-6-7-2013-mobile- | a9c963257a56d606fdd2a226e9001fd49e644958 | 1a7fde35a7da9eacfbfc7fd88de13a359408affc | refs/heads/master | 2022-04-11T01:02:02.992600 | 2020-04-10T20:23:55 | 2020-04-10T20:23:55 | 254,726,862 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,509 | h | /*
* Copyright (C) 2006 Apple Computer, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* ... | [
"krybas@tau-technologies.com"
] | krybas@tau-technologies.com |
1e4ca9a0091838be4c8f0fb6e383250586f7d485 | 9b93cf11a522ad3d8a02b9995db98b7cdf165cd0 | /C++_Practice_Codes/6p.cpp | 4f12eed158ec34dd889d26a4959615722ce3fdb9 | [] | no_license | Rachit1606/C_practiceCodes | f62e64f233e89d2a5f5b0a64f602d14ef6db61cd | abcfb25d40eba7f2d4e26c9b011791332a0b3883 | refs/heads/master | 2023-01-23T17:05:52.387494 | 2020-12-09T11:30:10 | 2020-12-09T11:30:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 658 | cpp | #include<iostream>
#include<cstring>
using namespace std;
class city{
char *name;
int len;
public:
city(){
len = 0;
name = new char[len+1];
}
void getname(){
char *s;
s= new char[30];
cout<<"Enter City Name"<<endl;
cin>>s;
len = strlen(s);
name = new char[len+1];
strcpy(name,s);
... | [
"rachukhanna2347@gmail.com"
] | rachukhanna2347@gmail.com |
3030023ad08f614a1c099d61cfb4ddbaabb7e9e2 | d823973228dee483812a03c2e1096932868dbb88 | /example/example.cpp | 52a1feb9451d729f5d8065fec421d69c1ed3dd45 | [
"MIT"
] | permissive | goldbeef/luna | 5648946afb9f72c2255527e6dedf3f3861c6624b | 9f09b86197a95da91585298ee69ead82f345c60e | refs/heads/master | 2021-02-05T02:15:16.796647 | 2020-03-10T02:05:07 | 2020-03-10T02:05:07 | 243,732,622 | 0 | 0 | MIT | 2020-02-28T10:07:59 | 2020-02-28T10:07:58 | null | UTF-8 | C++ | false | false | 3,710 | cpp | #include <iostream>
#include "luna.h"
//#include "luna11.h"
#include <lauxlib.h>
using namespace std;
int add(int a, int b) {
return a + b;
}
int del(int a, int b) {
return a - b;
}
void stackDump1(lua_State* L) {
int top = lua_gettop(L);
printf("stack begin, total[%d]\n", top);
for (int i = 1;... | [
"heng.zhao@shopee.com"
] | heng.zhao@shopee.com |
66dfe2e4a0891c76cf86e09c0482672d27561351 | d06a6d9d29b3675e533d6b5f7fb30b7f98d498b2 | /src/Agent.cpp | 65bb0e82624f66a5816e4855392ef5e7e182c769 | [] | no_license | stevenandrewcarter/bulwark | eb536be961f43a9b1c347bb15eeb26fddaefd0bd | 58c72228d8931bd6926e560b15acb4fd2da9b32e | refs/heads/master | 2020-03-17T20:55:30.634153 | 2018-05-21T19:49:52 | 2018-05-21T19:49:52 | 133,935,373 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 369 | cpp | #include "Agent.h"
#include "State.h"
namespace Bulwark {
Agent::Agent(State *state) {
this->state = state;
}
void Agent::Calculate() {
// Calculate the cost of the columns
// Determine the strongest / weakest column
// Decide if it wants to be aggressive or defensive (Dep... | [
"stonemason@gmail.com"
] | stonemason@gmail.com |
8822d6eebf85ec13b9ae87261546aefd3bbc7a57 | 5b7e69802b8075da18dc14b94ea968a4a2a275ad | /DRG-SDK/SDK/DRG_UI_MissionStats_Categories_functions.cpp | aa4a860694891bb93b1c81af2f98aab8a537b711 | [] | no_license | ue4sdk/DRG-SDK | 7effecf98a08282e07d5190467c71b1021732a00 | 15cc1f8507ccab588480528c65b9623390643abd | refs/heads/master | 2022-07-13T15:34:38.499953 | 2019-03-16T19:29:44 | 2019-03-16T19:29:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,927 | cpp | // Deep Rock Galactic (0.22) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "DRG_UI_MissionStats_Categories_classes.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//--------------------------------------------------------------------------... | [
"igromanru@yahoo.de"
] | igromanru@yahoo.de |
9941434ad7c2a8d28f87e024cc6ae8077cbe86e9 | 2c5fc7a281b7d6d9b4a8062f747c14ae3bddc380 | /webaccess/webaccess.h | 11adc825e004c5a8fe12a1735f9c845cca3e756b | [
"Apache-2.0"
] | permissive | lelazary/qlcplus | 156d647ee201d2b242e6e25d447e734240a0ae4e | ad86b7eeec473f9959bb0e9a478dc05c1afc2de6 | refs/heads/master | 2021-01-17T19:09:09.230225 | 2014-10-23T23:46:29 | 2014-10-23T23:46:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,979 | h | /*
Q Light Controller Plus
webaccess.h
Copyright (c) Massimo Callegari
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.txt
Unless re... | [
"massimocallegari@yahoo.it"
] | massimocallegari@yahoo.it |
20756a15087e99d33e718e33c379bbfa60cb672b | e46bd22112c15d9558ad9531deef183849636d62 | /UVA/Volume 4 (400-499)/422 - Word-Search Wonder.cpp | 31d95b6b27a76609aaa30ca4d0ad68a895c09de5 | [] | no_license | jariasf/Online-Judges-Solutions | 9082b89cc6d572477dbfb89ddd42f81ecdb2859a | 81745281bd0099b8d215754022e1818244407721 | refs/heads/master | 2023-04-29T20:56:32.925487 | 2023-04-21T04:59:27 | 2023-04-21T04:59:27 | 11,259,169 | 34 | 43 | null | 2020-10-01T01:41:21 | 2013-07-08T16:23:08 | C++ | UTF-8 | C++ | false | false | 1,781 | cpp | /*****************************************
***Problema: Word-Search Wonder
***ID: 422
***Juez: UVA
***Tipo: Ad hoc
***Autor: Jhosimar George Arias Figueroa
******************************************/
#include <stdio.h>
#include <algorithm>
#include <cstring>
#include <stdlib.h>
#include <cctype>
#include <cmath>... | [
"jariasf03@gmail.com"
] | jariasf03@gmail.com |
b97a14aea9fcb111a9e5ecc9c797d3d8ef05d393 | c4bb25af13526d3079da2669ce268a9a2f5bedff | /TerraFighterDev/DisplayObject.h | f3a535dfc9a2d5d9dc2aba34645dfdc98c40a221 | [
"Apache-2.0"
] | permissive | cjburchell/terrafighter | 3c0c935cebd58d2ede5dbc54fcf83e4938731732 | 7bbfa22f3616bc0f3a9539afc2af3409e7f524f5 | refs/heads/master | 2023-04-10T21:30:49.717568 | 2023-03-28T00:24:12 | 2023-03-28T00:24:12 | 243,773,669 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,837 | h | // DisplayObject.h: interface for the CDisplayObject class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_DISPLAYOBJECT_H__3D117DB7_F0F1_46B9_9B5C_E20EDA3CE4D1__INCLUDED_)
#define AFX_DISPLAYOBJECT_H__3D117DB7_F0F1_46B9_9B5C_E20EDA3CE4D1__INCLUDED_
#if _MSC_VER > 1000
#pra... | [
"cjburchell@yahoo.com"
] | cjburchell@yahoo.com |
7a96c93cb4bc43e36a97097f19ac32c533995ff2 | 675312546d88d9cbddb351b4462adef38f5e687d | /dir_entry.h | 1959b0ed93bfa0bca305a584cb6f5161347e0908 | [] | no_license | itskyf/failed-fat32 | 0fabba69b43a7f00c0397f94b55d3c998a84f4f8 | 7caeb76da4ea9b52be195f33d473c89151278356 | refs/heads/master | 2022-07-21T08:15:36.719932 | 2020-05-21T12:11:36 | 2020-05-21T12:11:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,392 | h | #pragma once
#include <cstdint>
#include <fstream>
enum class EntryType { main = 0, sub };
class DirEntry {
public:
virtual void Read(char buf[32]) = 0;
virtual void Write(std::ofstream &file) = 0;
virtual bool isEmpty() = 0;
EntryType entryType;
static bool isMain(char buf[32]);
DirEntry(EntryType _entr... | [
"40734986+kerry347@users.noreply.github.com"
] | 40734986+kerry347@users.noreply.github.com |
aa86472dc99387a3dd52c9a2e1bb5df76e151649 | dac5254630fefae851da7c843dcab7f6a6af9703 | /Linux/Sources/PP_Sources/Tables/UNX_LTableArrayStorage.h | e5569b639b6e656c9b47422a5153b50c01485210 | [
"Apache-2.0"
] | permissive | gpreviato/Mulberry-Mail | dd4e3618468fff36361bd2aeb0a725593faa0f8d | ce5c56ca7044e5ea290af8d3d2124c1d06f36f3a | refs/heads/master | 2021-01-20T03:31:39.515653 | 2017-09-21T13:09:55 | 2017-09-21T13:09:55 | 18,178,314 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,474 | h | /*
Copyright (c) 2007 Cyrus Daboo. 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 re... | [
"svnusers@a91246af-f21b-0410-bd1c-c3c7fc455132"
] | svnusers@a91246af-f21b-0410-bd1c-c3c7fc455132 |
93f8322cb1438d46fdb75fae5655c9371a0b3df1 | 6724a50019898d43d53742a7d9d6c73e7baa09af | /Screens.hpp | 09878ae7496dae3e9eb8aba90eb810a032cc5df1 | [
"Apache-2.0"
] | permissive | bvanderlaan/RSSReaderDesktopWidget | 19665295ea7b6f32699125ef20e727d4bc7d5083 | 1b31d7cfcf8fe0b2fb01c7765efc7160005ab942 | refs/heads/master | 2021-01-01T18:17:01.735775 | 2015-08-12T02:53:17 | 2015-08-12T02:53:17 | 40,516,123 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,141 | hpp | /*
* Copyright 2015 ImaginativeThinking
*
* 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 agre... | [
"brad.vanderlaan@gmail.com"
] | brad.vanderlaan@gmail.com |
ddce3f27ff7dc9d4f55f898a93efdd47232a7358 | f37de3f4dc6386c2bbd494f38df1d21318833540 | /library-package/Seeed_Arduino_rpcWiFi/src/WiFiMulti.cpp | 39db103d9d99e497f7ff4055473cc8d0731f732e | [
"MIT"
] | permissive | egouvernante/sensorterminal-quickstart | e740d60715609d5f0a477da1d48fe225e5e2e067 | 5d33b984822f109bde08d976611cbbbef06c08cd | refs/heads/main | 2023-09-06T05:25:51.225555 | 2021-11-17T08:39:16 | 2021-11-17T08:39:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,953 | cpp | /**
*
* @file WiFiMulti.cpp
* @date 16.05.2015
* @author Markus Sattler
*
* Copyright (c) 2015 Markus Sattler. All rights reserved.
* This file is part of the esp8266 core for Arduino environment.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser G... | [
"deBaer@gmail.com"
] | deBaer@gmail.com |
95d2c2b12c4707dec826ff6f3a1165c4c8362ea5 | c60ec627e13fa69677c5c251c8564bc4c87bbaca | /CODE/1011.cpp | dfacf2030f32cff2a6a1a6cf5aea4dbcc67595dd | [] | no_license | chuanchang/noip-langzhenjun | ab682a390ee7e9a1c6e9cf29f3ece0705ec8a7a3 | b79229a0264da17c7a3775dd85c02f89b66fd72c | refs/heads/master | 2023-08-08T05:40:08.617413 | 2019-08-01T15:31:45 | 2019-08-01T15:31:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 232 | cpp | #include <iostream>
int main(int argc, char** args) {
float x, y;
while (scanf("%f %f", &x, &y) != EOF) {
if (x >= -1 && x <= 1 && y >= -1 && y <= 1) {
printf("Yes\r\n");
} else {
printf("No\r\n");
}
}
return 0;
}
| [
"langzhenjun@gmail.com"
] | langzhenjun@gmail.com |
973e74385cdd47ee54482dd35e5c12fa57e9fc37 | 2bfe33dae576a1b642e050a7e75f9a5de44e9266 | /digitanks/src/digitanks/dt_renderer.cpp | ef6722a6df74f89324b1b0b20e6e8c1d83d6d767 | [
"BSD-2-Clause"
] | permissive | BSVino/Digitanks | 5c25dd6576b878b9c887fbf8bd9068b38c0f02d2 | 1bd1ed115493bce22001ae6684b70b8fcf135db0 | refs/heads/master | 2021-03-19T07:11:46.713983 | 2014-04-19T21:15:50 | 2014-04-19T21:15:50 | 1,963,881 | 13 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,367 | cpp | #include "dt_renderer.h"
#include <maths.h>
#include <renderer/shaders.h>
#include <models/models.h>
#include <textures/texturelibrary.h>
#include <renderer/shaders.h>
#include <tinker/cvar.h>
#include <tinker/profiler.h>
#include <renderer/game_renderingcontext.h>
#include <renderer/roperenderer.h>
#include <glgui/r... | [
"jorge@lunarworkshop.com"
] | jorge@lunarworkshop.com |
bbb55d5a74fe61fc5996ad7ed73a86616ede91e6 | 1897eb51e679d3504907d66338eae4c197ce9965 | /Wrappers.cpp | aff9b918c674af923e702e520082cdd9f3aca4e9 | [] | no_license | shaefelinger/PFMCPP_Project5 | 55d0fa8bbf251bf76c10ffd36f3f2533dc51b69d | c8fcf0461f3b8a95c2a6927362d251846fa5c33e | refs/heads/master | 2023-08-04T00:47:45.353713 | 2021-09-28T07:37:56 | 2021-09-28T07:37:56 | 401,021,858 | 0 | 0 | null | 2021-09-28T07:37:56 | 2021-08-29T11:14:47 | C++ | UTF-8 | C++ | false | false | 993 | cpp | #include "Wrappers.h"
#include "ElectricGuitar.h"
#include "Computer.h"
#include "Bus.h"
#include "MusicStore.h"
#include "RentalService.h"
ElectricGuitarWrapper::ElectricGuitarWrapper(ElectricGuitar* ptr) : pointerToElectricGuitar(ptr) { }
ElectricGuitarWrapper::~ElectricGuitarWrapper()
{
delete pointerToElectri... | [
"67802450+shaefelinger@users.noreply.github.com"
] | 67802450+shaefelinger@users.noreply.github.com |
f6c84e9a6c34cd6e25b2781104a78ad48a0975ec | 57569c30cedabe3c4d0692aa0fde01f96951627d | /MRTK ASA/App/Il2CppOutputProject/Source/il2cppOutput/Il2CppComCallableWrappers15.cpp | 4229344186b47f2eac9f1560c9dab633824113bc | [] | no_license | Arunkumar70/Microsoft-Android-ioS-ASA-Tutorial | 933d09af4ed790f434d733fe01a7c17da5423af0 | 2a900903af1513529c8a1f8fc596c4f40275cb4d | refs/heads/master | 2022-04-19T03:28:53.598040 | 2020-04-14T16:55:22 | 2020-04-14T16:55:22 | 255,016,758 | 0 | 0 | null | 2020-04-14T04:25:24 | 2020-04-12T05:40:46 | null | UTF-8 | C++ | false | false | 1,611,905 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "codegen/il2cpp-codegen.h"
#include "vm/CachedCCWBase.h"
#include "os/Unity/UnityPlatformConfigure.h"
#include "il2cpp-object-internals.h"
// <>f__AnonymousType0`2<System.Reflection.Pro... | [
"58801830+Arunkumar70@users.noreply.github.com"
] | 58801830+Arunkumar70@users.noreply.github.com |
f1f2caeefdc779b4bbecb69b863fae865752abbe | 9f273c2d455a356cfee92b2d065cc0c5c9f30291 | /src/libcommon/burstguard.cpp | 770440ba39efb52416a587f320f4ed6aea4a03d0 | [] | no_license | mullvad/windows-libraries | 76ac1efa4e10ac0c860e415fb4fb3df588b78991 | f5114c49bd9845533f193b57d55f27a5fbb47ef0 | refs/heads/master | 2023-06-12T01:21:40.809620 | 2023-05-31T09:05:42 | 2023-05-31T09:07:37 | 134,537,846 | 21 | 14 | null | 2023-06-01T07:43:40 | 2018-05-23T08:26:54 | C++ | UTF-8 | C++ | false | false | 2,439 | cpp | #include "stdafx.h"
#include "burstguard.h"
#include <process.h>
#include <libcommon/error.h>
namespace common
{
BurstGuard::BurstGuard(Callback callback, uint32_t burstDuration, uint32_t interferenceInterval)
: m_callback(callback)
, m_burstDuration(burstDuration)
, m_interferenceInterval(interferenceInterval)
,... | [
"odd@mullvad.net"
] | odd@mullvad.net |
e45ab2dac823b95b0876eba03598fd183b220921 | 573067f1b90749071e17e037b52cdae52398b2b1 | /dpf/internal/pseudorandom_generator.cc | a62ae9b0a18aaede0d3645b2d83abd541860c139 | [
"Apache-2.0"
] | permissive | alabid/distributed_point_functions | 4e60ab6966eaac12e38290f0ef93c7eebbfa2e30 | 82f4da7a109bb4507b770c780b77cc38803b89c4 | refs/heads/master | 2023-03-28T13:57:52.632107 | 2021-04-01T15:20:18 | 2021-04-01T15:20:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,345 | cc | /*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | [
"schoppmann@google.com"
] | schoppmann@google.com |
0d674fc2a24e0c82c4e0d2d7103c0c11012c06a8 | 25da7445d9be46204b273f6b3e00b5384946f826 | /02-safearray-stud/src/safearray.hpp | 42abf15126c66022288f3c8b6a079cb7d3357636 | [] | no_license | drdolgosheev/algo.stud | ccee9aa52a4000ee13b8ffe0944fef449d864a34 | 55635295aba9fd19d5ab5d87b24b90c3aa5a16b7 | refs/heads/master | 2023-01-14T11:33:12.838188 | 2020-11-13T13:43:53 | 2020-11-13T13:43:53 | 311,275,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,836 | hpp | ////////////////////////////////////////////////////////////////////////////////
/// \file
/// \brief Safearray class methods definition
/// \author Sergey Shershakov
/// \version 0.2.0
/// \date 30.01.2017
/// This is a part of the course "Algorithms and Data Structures"
/// provi... | [
"noreply@github.com"
] | noreply@github.com |
909adc714ba9ebb2876d33b46cae8c21a709b7e7 | da3bb1cc842dd73943a5324511c2f7f7fb57002d | /Miscellaneous/Analysis/TimeAnalysis/main.cpp | 218b2483a70bdcd111418158fd02b22595d1e17b | [] | no_license | stanford-futuredata/FEXIPRO-orig | dd9a593b239ae32f30b083bb1ff47f40e338c07f | 4082fed9ab986af2539f2c388e797cd6071b065f | refs/heads/master | 2021-01-25T09:14:39.386862 | 2017-11-01T20:49:46 | 2017-11-01T20:49:46 | 93,802,494 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,652 | cpp | #include "util/Base.h"
#include "structs/Matrix.h"
#include "alg/BasicNormPrune.h"
#include "alg/BasicNormPruneIncr.h"
void scanAndCompute(string qDataPath, string pDataPath, int k) {
Matrix q;
Matrix p;
q.readData(qDataPath);
p.readData(pDataPath);
cout << "q:" << q.rowNum << endl;
cout << "... | [
"hli2@cs.hku.hk"
] | hli2@cs.hku.hk |
b74fc1a6a52f41fb69d55cdf38f4f5e8411c1d1f | f4fa14818f3d8b722e82e8562acf6b2740847633 | /3rdparty/dcmtk-3.5.4/dcmpstat/dviface.cc | e8e07441463536e423af9bfe4a74ddcda0de7745 | [
"BSD-3-Clause",
"LicenseRef-scancode-warranty-disclaimer",
"BSD-4.3TAHOE",
"JasPer-2.0",
"xlock",
"IJG",
"OFFIS",
"LicenseRef-scancode-other-permissive"
] | permissive | bxgaillard/dicomsel | fafb5a87d56cf51e1abbf8bf9b5c7c768d85816d | 711adabecc0fa4cebae6cb12ff27a3a9ef554c36 | refs/heads/master | 2020-03-14T17:58:43.740137 | 2006-11-17T08:51:21 | 2018-05-01T15:49:25 | 131,732,345 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 182,239 | cc | /*
*
* Copyright (C) 1998-2005, OFFIS
*
* This software and supporting documentation were developed by
*
* Kuratorium OFFIS e.V.
* Healthcare Information and Communication Systems
* Escherweg 2
* D-26121 Oldenburg, Germany
*
* THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND OFFIS MAKES NO WARRA... | [
"git@benjamin.gaillard.name"
] | git@benjamin.gaillard.name |
183ca642fdbfeaf1e68bc222c54ac9615fbf9f9e | 6f48c285a873cd7b9c1a448baa21b98436c9cb07 | /workspace_cpp_book/Book15.11/Essay.cpp | 8318c64aaa8c841e21b79b245f04fb685602be48 | [] | no_license | ZaneMSaul/CS-Foundations-II | dc195b4c5126e3acfea4add8a81b04b930eab0a0 | 875486ac9b5f3b7dbd79b9db02100d22b0de3703 | refs/heads/master | 2020-04-05T05:23:17.412601 | 2018-11-07T18:49:01 | 2018-11-07T18:49:01 | 156,592,652 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,430 | cpp | // Implementation file for the Essay class
#include <iostream>
#include "Essay.h"
using namespace std;
//******************************************
// setGrammerPoints member function *
//******************************************
void Essay::setGrammerPoints(double p)
{
// Validate the points.
i... | [
"zms24@txstate.edu"
] | zms24@txstate.edu |
d39586c6325f4a612fa795b18e5c8df71200dd30 | f110b798e9c243873f0b64d19f560e8c323d5910 | /Westons_Project/Westons_Solution/sound_data.cpp | da5b11bfcf72811ce491bd4df74b5d56a58fc722 | [] | no_license | westonsfiala/EE590B | 8cdfa7937e3d6ff9f8a02a0a6b522202e7945b0c | 311ade7267a7d1e711f800d55cb7ed63bff9b81c | refs/heads/master | 2021-05-09T02:09:15.764308 | 2018-03-06T21:45:12 | 2018-03-06T21:45:12 | 119,199,370 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,525 | cpp | #include "sound_data.h"
#include <cassert>
/**
* \brief Adds the given note to the sound.
* \param new_note Note added to the sound.
*/
void sound_data::add_note(const note_data& new_note)
{
m_notes.emplace_back(new_note);
calculate_note_volume();
}
/**
* \brief Removes all the notes with the given freque... | [
"westonsfiala@gmail.com"
] | westonsfiala@gmail.com |
01edd88b0ba78bda1310827ca08564088a98a9de | 210d757836216b1a1d491564ef9c7e6d84ee947e | /src/protocol/CryptoNoteProtocolHandler.cpp | 22000a9909169ad69236006d6f3d32691dbf3565 | [
"MIT"
] | permissive | sunnymiesta/adina | 85a77ed48795cdd67793b645db9f9958b59ed361 | 5b77f6248ef1cb75bd0451b1e4884c5f2c89ecee | refs/heads/master | 2020-03-19T15:56:02.554698 | 2018-06-11T04:10:43 | 2018-06-11T04:10:43 | 136,007,337 | 0 | 0 | MIT | 2018-06-04T21:54:24 | 2018-06-04T10:10:26 | C++ | UTF-8 | C++ | false | false | 29,204 | cpp | #include "CryptoNoteProtocolHandler.h"
#include <future>
#include <boost/scope_exit.hpp>
#include <boost/uuid/uuid_io.hpp>
#include <System/Dispatcher.h>
#include "base/CryptoNoteBasicImpl.h"
#include "base/CryptoNoteFormatUtils.h"
#include "base/CryptoNoteTools.h"
#include "core/Currency.h"
#include "Veri... | [
"root@vps-d103d3611a7812a1.gib58asjnbc9.domain.tld"
] | root@vps-d103d3611a7812a1.gib58asjnbc9.domain.tld |
128f85557eeca63b466c48c93b11112b015d4449 | 6744ae67538488acc2f3f2e5256a7174ab377d93 | /xmltooling/validation/ValidatorSuite.cpp | 05b484a21082b16a92f08ed2fe31592de5525df9 | [] | no_license | janetuk/shibboleth-xmltooling | 3b9fa64cc8fa7ccf89249c55d323326896141ba5 | 630865c301cb48461c332cd5629b9dfac2c15ee8 | refs/heads/master | 2021-01-01T20:27:23.976235 | 2008-03-18T03:06:52 | 2008-03-18T03:06:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,170 | cpp | /*
* Copyright 2001-2007 Internet2
*
* 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 agree... | [
"cantor@de75baf8-a10c-0410-a50a-987c0e22f00f"
] | cantor@de75baf8-a10c-0410-a50a-987c0e22f00f |
7ae7438aa8a957764838edef501c1866aadf28f2 | 8834a7b26b8bd442efb6b5b0a704b188ae9bc966 | /main.cpp | 46fefdf2a26f73310bb99e7d6ac66b9aefea4548 | [] | no_license | DwaipayanPaul/recovery | b06c43b47b62bdc3b595eb4cbf273074c7664c71 | 75bcb26aba7a1a14e531cdce15c26dc4d71f52b8 | refs/heads/master | 2020-03-28T16:56:19.876529 | 2018-11-01T05:33:03 | 2018-11-01T05:33:03 | 148,742,844 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 755 | cpp | /******************************************************************************
Online C++ Compiler.
Code, Compile, Run and Debug C++ program online.
Write your code in this editor and press "Run" button to compile and execute it.
******************************************... | [
"noreply@github.com"
] | noreply@github.com |
9691ab82d35519f476816f0f3d97534da2ba10a3 | 90b4b92b1c77517c9b855e2126c40b5bf94912ab | /东方山寨/图形_三维.cpp | a1b82767487b9ffbc0efe85ddf054bafe2e74ead | [
"MIT"
] | permissive | myhololens/dfsz | 941154a5884a36cde48a5f415e9c547ee727ca52 | 35f50797e9f73507809ff051fef1318132a53373 | refs/heads/master | 2020-05-16T06:56:19.371566 | 2019-03-10T01:16:39 | 2019-03-10T01:16:39 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 6,611 | cpp | #include "图形_三维.h"
#include "游戏.h"
#include "程序.h"
#include "图形引擎.h"
namespace 东方山寨 {
//=============================================================================
// 模型
//=============================================================================
C模型::C模型(const S三维顶点 *p顶点, size_t p顶点数, const uint16_t *p索引, size_t ... | [
"cflw1994@msn.cn"
] | cflw1994@msn.cn |
520f244e81f54c2078c47cf03f33c008e096450b | 828390fe5c5c5ac723eaa7c5854f94ad3328ee7a | /PlatformIO/lib/myUart/myUart.h | 87e3e1a0ea2f5c8714c576b0dea4fb2c343e9ccb | [] | no_license | Ulli2k/HomeControl | 64f58a1cd1978a0c5e1b51d0d58b13785a7c0759 | 767b1e6700ed48bb8bafac450952f7b2e018053b | refs/heads/master | 2021-06-22T01:50:15.473632 | 2019-07-07T19:16:30 | 2019-07-07T19:16:30 | 110,287,523 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,630 | h |
#ifndef MYDISPLAY_h
#define MYDISPLAY_h
#include "myBaseModule.h"
#include "Print.h"
//#include <SoftwareSerial.h>
#define HW_UART 0
#define SW_UART 1
#define MAX_UART_BUFFER (MAX_RING_DATA_SIZE) // Achtung auf Ringbuffergröße
#define UART_HEX_INTERPRETER '#'
class myUart : public myBaseModule {
publi... | [
"14141949+Ulli2k@users.noreply.github.com"
] | 14141949+Ulli2k@users.noreply.github.com |
5f8052dfe526c7349dde8ad914de44fd9e471081 | 1fc6a2b1d6a382127c24540bb922e675e3efb52e | /src/Parser.cpp | 71340ab754dffaba76b9a4dd4f844da68171c36a | [] | no_license | machinamentum/htn | 56d24352792545a28c0927211163fd64860a0a87 | 6a748f106fb1657651c6ff34dfff6673a1b17e26 | refs/heads/vita | 2021-03-13T04:12:15.598875 | 2015-06-21T00:36:17 | 2015-06-21T00:36:17 | 32,373,826 | 5 | 3 | null | 2015-06-19T22:35:50 | 2015-03-17T05:40:37 | C++ | UTF-8 | C++ | false | false | 21,338 | cpp |
#include <cstdio>
#include <string>
#include <fstream>
#include <streambuf>
#include <vector>
#include <cstdint>
#include <stack>
#include <cstring>
#include <fstream>
#include <string>
#include <stdio.h>
#include <sstream>
#include <iostream>
#include "Parser.h"
#include "Code_Gen.h"
static std::stack<std::string> ... | [
"joshuahuelsman@gmail.com"
] | joshuahuelsman@gmail.com |
cfc60d4b4c7b3ec54ecff08afccebd4f04c7f99f | 6d956f8f60c58a927ed64d3757da385162cda500 | /11 Blending/RenderStates.cpp | ef0c9cdd8afa57f63f33a34ceabb2813409728b1 | [
"MIT"
] | permissive | jingshaoqi/DirectX11-With-Windows-SDK | f41d46f2c8593f6160ce56f798e4cc247e7374f3 | a0892892376b2d9c9c7cba21bdadb9aeb3bbe655 | refs/heads/master | 2020-05-29T20:20:41.699342 | 2019-05-22T14:37:32 | 2019-05-22T14:37:32 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,415 | cpp | #include "RenderStates.h"
#include "d3dUtil.h"
#include "DXTrace.h"
using namespace Microsoft::WRL;
ComPtr<ID3D11RasterizerState> RenderStates::RSNoCull = nullptr;
ComPtr<ID3D11RasterizerState> RenderStates::RSWireframe = nullptr;
ComPtr<ID3D11SamplerState> RenderStates::SSLinearWrap = nullptr;
ComPtr<ID3D11Sample... | [
"757919340@qq.com"
] | 757919340@qq.com |
d7be36199371500a6539ec80b0fa12d153748d9f | 7f3e95e825b894a8d015b5905592757a0040220f | /2014/inc/AcDbAssocArrayItem.h | c1cd0f431294c6f0b6098c697399aabc168f2310 | [
"MIT"
] | permissive | AliClouds/ObjectARXCore | b06e2d4bb59df2b45e56ec76d3abb843c7131009 | ce09e150aa7d87675ca15c9416497c0487e3d4d4 | refs/heads/master | 2021-05-28T05:19:12.593781 | 2014-05-08T01:23:33 | 2014-05-08T01:23:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,438 | h | //////////////////////////////////////////////////////////////////////////////
//
// Copyright 2013 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... | [
"kevinzhwl@gmail.com"
] | kevinzhwl@gmail.com |
9c246bab2c98bc6b2041f34e3ccf563b55ba56cb | c3869ba42919ce534216a7585931c0e0a8216955 | /upp/bazaar/ProtectEncrypt/ProtectEncrypt.cpp | 3e2f1fc20d0afb5e36e0b93d268f1941b6349335 | [] | no_license | RanJi0128/Chromium-customization | 018c977c26a270387a2d9b3c1855a0668691b477 | 89b3550d7fc6f1b61f5e6023c293b82c521c509d | refs/heads/master | 2020-07-13T01:31:26.499121 | 2019-08-29T07:07:17 | 2019-08-29T07:07:17 | 204,954,330 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,579 | cpp | #include <Core/Core.h>
#include <Protect/Protect.h>
using namespace Upp;
// search a buffer for a matching pattern
// returns position of pattern
byte *ProtectSearchBuf(byte *buf, byte *bufEnd, const byte *pattern, size_t patternLen)
{
while(buf < bufEnd - patternLen)
{
if(*buf != *pattern)
{
buf++;
cont... | [
"you@example.com"
] | you@example.com |
848362ec49ef13046872b69773a5d078a4562731 | 1472dcb5a3244a51154f798666d0330ff32c68f5 | /src/xxCommandObject.cpp | 36e9b6e21caa6569085c3e8d74ec319231d77c98 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | Osprey-DPD/osprey-dpd | 3961ca5c0fe89514299812ded9c8c16a5f049987 | d6e9bb6771e36c36811ef2d9405f9e287bb5f1c5 | refs/heads/main | 2023-06-11T08:49:06.866378 | 2023-06-08T14:23:39 | 2023-06-08T14:23:39 | 308,352,022 | 22 | 3 | NOASSERTION | 2023-06-08T14:23:41 | 2020-10-29T14:23:30 | C++ | UTF-8 | C++ | false | false | 4,575 | cpp | /* **********************************************************************
Copyright 2020 Dr. J. C. Shillcock and Prof. Dr. R. Lipowsky, Director at the Max Planck Institute (MPI) of Colloids and Interfaces; Head of Department Theory and Bio-Systems.
Redistribution and use in source and binary forms, with or without m... | [
"julian.shillcock@epfl.ch"
] | julian.shillcock@epfl.ch |
6638fe2292b62496babcf4613d0d874ba02f142b | 0c11b29d4b55757ba93f7176fbba88f17c5c45dd | /src/runtime/runtime_base.h | 10a6c5e74df0ee19d4139d2d57de33b3b8750853 | [
"Apache-2.0"
] | permissive | sufeidechabei/dgl | c7c115c5cc113e9b3a77f46c94bb1a1b4d615b7a | f9f92803b422c04b6d8e3f95b18f71cf158f3b1f | refs/heads/master | 2020-04-09T02:02:50.338663 | 2018-12-04T18:03:19 | 2018-12-04T18:03:19 | 159,926,802 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,208 | h | /*!
* Copyright (c) 2016 by Contributors
* \file runtime_base.h
* \brief Base of all C APIs
*/
#ifndef DGL_RUNTIME_RUNTIME_BASE_H_
#define DGL_RUNTIME_RUNTIME_BASE_H_
#include <dgl/runtime/c_runtime_api.h>
#include <stdexcept>
/*! \brief macro to guard beginning and end section of all functions */
#define API_B... | [
"wmjlyjemaine@gmail.com"
] | wmjlyjemaine@gmail.com |
cecadde3667be4e0588b8c2f7c5a57f2d33d693c | d799ab6f5c64bf33fcd6999e3ce82bddfc0d035a | /TaskLevelTest/src/PODOGUI/BasicFiles/SensorDialog.h | 7c720fa2263b6d98f66a92d070c5d064716a213e | [] | no_license | chosaihim/PODOMotionPractice | 242784f98932c09e53957c4dfcd09079d7e262fe | afef0aa1ea0d822af3c98efc9a60a6772ad08691 | refs/heads/master | 2020-03-26T15:42:04.880110 | 2019-07-31T08:32:30 | 2019-07-31T08:32:30 | 145,059,353 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,003 | h | #ifndef SENSORDIALOG_H
#define SENSORDIALOG_H
#include <QDialog>
#include "CommonHeader.h"
namespace Ui {
class SensorDialog;
}
class SensorDialog : public QDialog
{
Q_OBJECT
public:
explicit SensorDialog(QWidget *parent = 0);
~SensorDialog();
private slots:
void on_BTN_SENSOR_ENABLE_clicked();
... | [
"chosaihim@gmail.com"
] | chosaihim@gmail.com |
2b413a0a0b2712f33cc19f81a282234085fa9eb6 | 34af1d961437ea02c492aa9efc812cc8df695dbc | /quicknotedialog.h | 4d86cff5b1a9693e9d7921fa5fa6417a4df2ee7f | [] | no_license | trentzhou/quick-note | 1103e0e3a67b417a4f8a78e6b4573ee359e15ad8 | 779632b553ef3b7c8241cb463199973a2d570c5e | refs/heads/master | 2021-01-14T19:38:22.461891 | 2020-03-24T06:47:00 | 2020-03-24T06:47:00 | 242,733,815 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 598 | h | #ifndef QUICKNOTEDIALOG_H
#define QUICKNOTEDIALOG_H
#include <QDialog>
#include <QAudioRecorder>
#include <QListWidgetItem>
#include "quicknote.h"
namespace Ui {
class QuickNoteDialog;
}
class QuickNoteDialog : public QDialog
{
Q_OBJECT
public:
explicit QuickNoteDialog(QWidget *parent = 0);
~QuickNoteDi... | [
"trent.zhou@qq.com"
] | trent.zhou@qq.com |
38788bf1868ac8be17f958145efdfce17c17e225 | c3e1db92182c69268f9d324788249a8f44862957 | /flog/flogx.h | 37c19258bf36738007de388a69578c4cc0bc8f6f | [
"LicenseRef-scancode-public-domain",
"CC-PDDC"
] | permissive | bilken/Flog | c58cf3391a8d57f1598e611383f28acf9e79e55b | 51770cc6497c4ef92002119a7f5a16945a25bbf1 | refs/heads/master | 2021-01-18T16:31:18.531014 | 2012-04-20T23:14:51 | 2012-04-20T23:14:51 | 3,943,329 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,784 | h | #ifndef __FLOGX_H__
#define __FLOGX_H__
/*
The dollar elements are placeholders for auto-generated content.
If the X-macro-only method is used, those features are ignored.
*/
/* $sevDefs */
/* $modDefs */
#if !defined(FLOG_SEVERITY_LIST) || !defined(FLOG_MODULE_LIST)
#error "Missing FLOG_SEVERITIES/FLOG_MODU... | [
"eyepits@gmail.com"
] | eyepits@gmail.com |
945303e8ff0f4b148a15ce51573cef21c7864cab | c10a275471b875229abc6b6e91abb4d7949c787b | /modules/simulation/SimulatedMag.h | 1bce9c0a6d09c76bed2cc472867fd6ef4b0d7395 | [] | no_license | udacity-fcnd/FCND-AllTogether-CPP | 8d8042f9be431d881b7a11611fb7779d119d8d67 | f4c9e9597bd43c7794e130ca2d61e0c547e21ba6 | refs/heads/master | 2020-05-05T11:49:33.606346 | 2019-05-12T18:00:49 | 2019-05-12T18:00:49 | 180,005,444 | 0 | 0 | null | 2019-05-12T18:00:50 | 2019-04-07T18:20:57 | C++ | UTF-8 | C++ | false | false | 2,250 | h | #pragma once
#include "modules/simulation/SimulatedQuadSensor.h"
#include "modules/simulation/QuadDynamics.h"
#include "modules/math/Random.h"
#include "modules/estimation/BaseQuadEstimator.h"
class SimulatedMag : public SimulatedQuadSensor
{
public:
SimulatedMag(string config, string name) : SimulatedQuadSensor(c... | [
"zhou.412@buckeyemail.osu.edu"
] | zhou.412@buckeyemail.osu.edu |
6a345e76abbc2395d9ec81ae3a5b6f8dc94df88d | ce3e344d18272381a1f7671b0cfcbc246ac80c2d | /ShaderProgram.h | 26fc59be49565125a7b6375f376dc0f6f590ad6e | [] | no_license | superoirNathan/4mans | b43e62551bdfaaaef988ce7d8911d604045376f4 | 8daecd7d8454bb3e5b60c87d1d06cc4805cb9885 | refs/heads/master | 2021-08-08T15:05:03.299361 | 2017-11-10T14:57:08 | 2017-11-10T14:57:08 | 109,861,829 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,741 | h | #pragma once
#include <GL/glew.h>
#include <glm/glm.hpp>
#include <string>
class ShaderProgram
{
public:
ShaderProgram();
~ShaderProgram();
//Load a vertex shader and a fragment shader and place them in a program
bool load(const std::string &vertFile, const std::string &fragFile);
bool isLoaded(... | [
"noreply@github.com"
] | noreply@github.com |
4b6207b9cd296e84543e45be953c3d7b9e2df3a8 | a8d14282a34c3227b25159f7b561ce309b345bde | /src/module/ObstacleDetector/ObstacleDetector/kernel/detect_positive_obstacle.cpp | c524598acb71ba7f43b8f0fa0c7a60326dfd70cf | [] | no_license | yangdaiyu123/LidarObstacle | e22b0f1135108c5f4c7c37cd52cd04a24cab186c | b3d00348cd07ed37c337623f338f5cd877a80ea2 | refs/heads/master | 2020-03-27T13:01:07.373344 | 2018-06-27T12:26:38 | 2018-06-27T12:26:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,026 | cpp | /* Created : Linhui
* Date : 2016-08-05
* Usage :
*/
#include "detect_positive_obstacle.h"
#include <opencv/cv.h>
#include <opencv2/highgui/highgui.hpp>
#include <algorithm>
using namespace std;
using namespace cv;
POSITIVE_DETECTOR * POSITIVE_DETECTOR::p_instance = nullptr;
static std::mutex n_lock; ... | [
"wangzhiqing@zju.edu.cn"
] | wangzhiqing@zju.edu.cn |
c41a110c1585edf2048eeaeffc01db28b3f8f5ba | 522abb59a0355f78bbdc6eb0b00149c0d0f9e511 | /MyProjects/NICE1/nice13/StdAfx.cpp | e4d91df3420f81630ce6d98d6c9e96599aaf7a6c | [] | no_license | 97classmate/aihao | eed89ad2aea28a89fc0b0a19b586698f9e9d915e | a32b83fd5093ab59bf1883da4e90ab4e3b637fc4 | refs/heads/master | 2021-01-21T01:26:54.561425 | 2017-08-30T12:55:00 | 2017-08-30T12:55:00 | 101,874,828 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 285 | cpp | // stdafx.cpp : source file that includes just the standard includes
// nice13.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"classmate979@163.com"
] | classmate979@163.com |
76da722a9e8ab03705bc3af5849b91c4663a1350 | c01bd0a9f24f7850cd6afba1c454d330e978aa38 | /Core/ieditor.h | b6e380f98c873c6505b22445b8a12e708aa36773 | [] | no_license | ABBAPOH/qmpq | c4f5eb14a0088c0830b2152787718c6c124dfce9 | c67a05499dc085167ab9ba8a9e143a89730a5b51 | HEAD | 2016-09-15T23:11:32.143164 | 2010-08-02T19:16:01 | 2010-08-02T19:16:01 | 34,389,570 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 830 | h | #ifndef IEDITOR_H
#define IEDITOR_H
#include <QtCore/QObject>
#include <QtCore/QString>
#include "core.h"
//#include "ieditorfactory.h"
class QToolBar;
class QWidget;
class IEditor : public QObject
{
Q_OBJECT
public:
IEditor() {}
virtual ~IEditor() {}
virtual bool canHandle(const QString & /*filePath... | [
"arch@MacBook-arch.local"
] | arch@MacBook-arch.local |
8e400aac17fb8326a5cf5982d771eee25a01dda8 | 7b7c1d9dbb9d2da7be522ea3b858066d7c527845 | /LOJ/6226. 「网络流 24 题」骑士共存问题.cpp | 27ccd74ab5dd328ea9afac91e3904c77f34e5ac7 | [] | no_license | cyyself/OILife | 97893cf7e1d3de61517b0ddd5e6a064700886667 | 9190e45c6a660bf2e1db6d08d84ddf26eccd85dc | refs/heads/master | 2021-06-03T10:02:33.627522 | 2021-04-17T09:27:49 | 2021-04-17T09:27:49 | 101,148,852 | 12 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,145 | cpp | #include <bits/stdc++.h>
using namespace std;
const int INF = 0x3f3f3f3f;
struct Edge{
int f,v,next;
}e[800005];
int ecnt = 0;
int head[40005];
void _AddEdge(int u,int v,int c) {
e[ecnt].v = v;
e[ecnt].f = c;
e[ecnt].next = head[u];
head[u] = ecnt;
ecnt ++;
}
void AddEdge(int u,int v,int c) {
_AddEdge(u,v,c);
_... | [
"noreply@github.com"
] | noreply@github.com |
33e39e7fae7512fe06ae2640eb97796423d45c0d | 97a3171176b5043149429e0fea99815b436f3a8c | /globin.h | 4c52968168e8e3d44c7f3797be38da29eecfe59d | [] | no_license | RyanDJSee/CC3k | ffadf96b4ca3be488faecd2bb5e6976234875c26 | 6b97ff8f98f96cd4058e1c7ca44c6e2f199b12be | refs/heads/master | 2021-03-30T17:44:30.542278 | 2017-04-03T05:05:02 | 2017-04-03T05:05:02 | 86,274,898 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 251 | h | #ifndef _GLOBIN_H_
#define _GLOBIN_H_
#include "pc.h"
class Subject;
class Globin: public PC {
public:
Globin(int r, int c);
void notify(Subject& whoNotified) override;
void attackedBy(Orc& orc) override;
~Globin();
};
#endif
| [
"noreply@github.com"
] | noreply@github.com |
0121c2fb90fb7866431b3fca04aa9d22dd12c9ac | 77632de89fa907c9e80630959f7635690c1c4496 | /Restaurant Sim/Final Project/Final Project/FileLog.cpp | 74f869acd0db2fd0c746962ba5474eec4c04dcb1 | [] | no_license | A-Pos-DJ/Restaurant-Simulator | c3cfbfe158a4df52ccc72afc06f4c7d9692a6dc1 | 462867ed0096565ba4ab82f073ec817dc205a284 | refs/heads/master | 2020-04-19T22:03:36.106185 | 2019-01-31T04:18:24 | 2019-01-31T04:18:24 | 168,429,450 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,984 | cpp | #include "FileLog.h"
//constructor
FileLog::FileLog()
{
}
//desconstructor
FileLog::~FileLog()
{
}
//singleton Instance
FileLog* FileLog::getInstance()
{
if (_instance == NULL)
_instance = new FileLog;
return _instance;
}
//other functions
vector<string> FileLog::loadFirstNames() ... | [
"noreply@github.com"
] | noreply@github.com |
7bfe1e7c3eddeee0b972d0458e762a998f7e0c34 | 9fad4848e43f4487730185e4f50e05a044f865ab | /src/components/exo/surface_unittest.cc | 935596ff3a64433203fb9ff15f8c00716d3e2cd8 | [
"BSD-3-Clause"
] | permissive | dummas2008/chromium | d1b30da64f0630823cb97f58ec82825998dbb93e | 82d2e84ce3ed8a00dc26c948219192c3229dfdaa | refs/heads/master | 2020-12-31T07:18:45.026190 | 2016-04-14T03:17:45 | 2016-04-14T03:17:45 | 56,194,439 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,248 | cc | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/bind.h"
#include "components/exo/buffer.h"
#include "components/exo/surface.h"
#include "components/exo/test/exo_test_base.h"
#include "com... | [
"dummas@163.com"
] | dummas@163.com |
723a8af2c58ef461a81f3825d08fcce7bdb4dbf1 | 3434e03820417c4591dff8640c2532dfa88afd9d | /include/WordBank.hpp | 780feb71d9cafe0dc50335872ab76bc0d1d6b17e | [
"MIT"
] | permissive | Ro6afF/hangman | 89adc1a6d29bc831bd94fabb13827894a6a353a5 | b209b5093d9588a9f7b293adbf80abd15a715477 | refs/heads/main | 2023-05-28T13:48:03.225955 | 2021-06-11T09:58:29 | 2021-06-11T09:58:29 | 374,556,572 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 264 | hpp | #ifndef __WORD_BANK_HPP
#define __WORD_BANK_HPP
#include <string>
class WordBank {
private:
static int wordCount(std::ifstream &db);
public:
static void addWord(const char *word);
static std::string getRandomWord();
};
#endif // __WORD_BANK_HPP | [
"dimo_chanev@windowslive.com"
] | dimo_chanev@windowslive.com |
de57319c913f885ae8fbb66145d66d7e7ffacfa9 | aab4b7f31a0ac03b6ec8b9745f0119582e01fec0 | /jogodavelha.cpp | f902e5416efbc18fac6c23fe7c9c3db0afd2484d | [] | no_license | anders0n05/Jogo-da-velha | 22ffb3ed15642a71253b813c222ba4e5b90e9daf | c096f752dfb97b060cac2b687fa663d586989f4e | refs/heads/master | 2021-01-20T22:46:02.784772 | 2018-04-02T16:24:11 | 2018-04-02T16:24:11 | 101,825,588 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 144 | cpp | // jogodavelha.cpp: Define o ponto de entrada para a aplicação de console.
//
#include "stdafx.h"
int main()
{
return 0;
}
| [
"anderson.silva@grech.inet"
] | anderson.silva@grech.inet |
8c9df68211283e2227bba8fed6fbd7d1c1e0d5e5 | eb86a1aba27855c46cf5286ecf183f156ad78372 | /trunk/avr/arduino/libraries/Motor298/Motor298.h | 7ceb12966f6c399099f08ac4e35b5ad45d84b2d4 | [] | no_license | BGCX067/fabtronics-svn-to-git | 1ecd2081fc2ad1003b44fe993840a1ffb4894267 | 138eab83d3a39c9d6c7cff2151dbb0549f7528c4 | refs/heads/master | 2016-09-01T08:53:38.518785 | 2015-12-28T14:24:59 | 2015-12-28T14:24:59 | 48,871,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 815 | h | // Motor.h - Library for powering robot motors.
// Created by Maen Artimy, September 30, 2012.
// Copyright (c) 2012 Maen Artimy
#ifndef Motor298_h
#define Motor298_h
#include "Arduino.h"
class Motor298{
public:
static const int Motor_LR = 0;
static const int Motor_R = 1;
static const int Motor_L = ... | [
"you@example.com"
] | you@example.com |
aa6a99101126dec0648116aa9baf0b1049b544e9 | cc225c6a9f0f63d0a18213710b36bdda79480e29 | /2_8.cpp | 2b3eb80239e013c17a09c8b03c73b3fb1e52d707 | [] | no_license | nikox94/FMI_UP_1 | 60854e60fe49cb9e5272baa72d0737398dafff61 | 1ff4d1ad2cfe48b3b7e78b06af4da0442f2d54cc | refs/heads/master | 2020-11-26T09:43:14.677848 | 2014-12-18T17:03:02 | 2014-12-18T17:03:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 445 | cpp | #include <iostream>
using namespace std;
int main(){
cout<<"Vuvedete broi i simvol za da se izobrazi triugulnik."<<endl;
int n; char sym; cin>>n>>sym;
//Purvi red
for(int i=1;i<2*n;++i){
if(i%2==0)
cout<<" ";
else
cout<<sym;
}
cout<<endl;
for(int i=1;i<n;++i){
for(int j=1; j<2*n;+... | [
"nikola.yuroukov@gmail.com"
] | nikola.yuroukov@gmail.com |
7b7d9e047c4ba7fdb6899588308c1bd423132b74 | 4be0c66d6ea72bc8d38a9640932589e1ce989e58 | /MFC/GDI/CGDIMainWindow.h | 5161fca57ac433c30c2e3bf08f8680e960a97241 | [] | no_license | rockchar/MFC | 3a94b9ff36d669c485ec67bd00444772544eeeb2 | 1f4b26854a316f041c9435164b84a388aa40e71a | refs/heads/master | 2020-05-24T07:32:32.236454 | 2019-05-18T22:13:37 | 2019-05-18T22:13:37 | 187,162,978 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 185 | h | #pragma once
#include <afxwin.h>
class CGDIMainWindow : public CFrameWnd
{
public:
CGDIMainWindow();
~CGDIMainWindow();
protected:
DECLARE_MESSAGE_MAP()
afx_msg void OnPaint();
};
| [
"48080540+rockchar@users.noreply.github.com"
] | 48080540+rockchar@users.noreply.github.com |
1c0950665a4be95b95d09abd9967dc28b737fa8f | 548d772fe1b745b4b47143312201ddebfbd8bc88 | /external/scintilla/src/ScintillaBase.cxx | dc154ec6d5660c19c1f65abdc6c5ac484449d63d | [
"LicenseRef-scancode-scintilla"
] | permissive | t4th/win32-gui-wrapper | f88c8badd19652a95aeeea3490a576ad4f0e6fa3 | 3cf54dbc9e9c0607686edd261f2de12aefd3b0c5 | refs/heads/master | 2022-12-26T17:34:21.256812 | 2022-12-17T16:27:08 | 2022-12-17T16:27:08 | 152,134,371 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 26,209 | cxx | // Scintilla source code edit control
/** @file ScintillaBase.cxx
** An enhanced subclass of Editor with calltips, autocomplete and context menu.
**/
// Copyright 1998-2003 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.
#include <s... | [
"tath@o2.pl"
] | tath@o2.pl |
2c1a439fb79c0d007e4ce711d20a698d8729e947 | 77780f9ccc465ae847c92c3a35c8933b0c63fa4e | /HDOJ/43241.cpp | 7311aab4cb7098f0cbe35aea340389ebd3a97fc9 | [] | no_license | changmu/StructureAndAlgorithm | 0e41cf43efba6136849193a0d45dfa9eb7c9c832 | d421179dece969bc1cd4e478e514f2de968c591a | refs/heads/master | 2021-07-18T04:04:46.512455 | 2020-05-17T11:50:26 | 2020-05-17T11:50:26 | 30,492,355 | 1 | 0 | null | null | null | null | ISO-8859-7 | C++ | false | false | 1,367 | cpp | ////////////////////System Comment////////////////////
////Welcome to Hangzhou Dianzi University Online Judge
////http://acm.hdu.edu.cn
//////////////////////////////////////////////////////
////Username: changmu
////Nickname: ³€ΔΎ
////Run ID:
////Submit time: 2014-08-02 11:13:20
////Compiler: GUN C++
////////////////... | [
"2276479303@qq.com"
] | 2276479303@qq.com |
36dff4957de2327ed7a0d7c8704c947634f0fa24 | 19194c2f2c07ab3537f994acfbf6b34ea9b55ae7 | /android-33/android/telephony/CarrierConfigManager_ImsEmergency.hpp | 26f405443fcc9753bfacdd8b11cc84b871013a58 | [
"GPL-3.0-only"
] | permissive | YJBeetle/QtAndroidAPI | e372609e9db0f96602da31b8417c9f5972315cae | ace3f0ea2678967393b5eb8e4edba7fa2ca6a50c | refs/heads/Qt6 | 2023-08-05T03:14:11.842336 | 2023-07-24T08:35:31 | 2023-07-24T08:35:31 | 249,539,770 | 19 | 4 | Apache-2.0 | 2022-03-14T12:15:32 | 2020-03-23T20:42:54 | C++ | UTF-8 | C++ | false | false | 2,128 | hpp | #pragma once
#include "../../JString.hpp"
#include "./CarrierConfigManager_ImsEmergency.def.hpp"
namespace android::telephony
{
// Fields
inline JString CarrierConfigManager_ImsEmergency::KEY_EMERGENCY_CALLBACK_MODE_SUPPORTED_BOOL()
{
return getStaticObjectField(
"android.telephony.CarrierConfigManager$ImsEme... | [
"YJBeetle@gmail.com"
] | YJBeetle@gmail.com |
262a12fa595f8e6965a86ec6bed490f49d7d7022 | 711e5c8b643dd2a93fbcbada982d7ad489fb0169 | /XPSP1/NT/admin/wmi/wbem/providers/win32provider/providers/modem.h | 16bdf798b77bbe39858ab75cf342114ffc753212 | [] | no_license | aurantst/windows-XP-SP1 | 629a7763c082fd04d3b881e0d32a1cfbd523b5ce | d521b6360fcff4294ae6c5651c539f1b9a6cbb49 | refs/heads/master | 2023-03-21T01:08:39.870106 | 2020-09-28T08:10:11 | 2020-09-28T08:10:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,534 | h | ///////////////////////////////////////////////////////////////////////
//
// MOMODEM.h
//
// Copyright (c) 1995-2001 Microsoft Corporation, All Rights Reserved
// ... | [
"112426112@qq.com"
] | 112426112@qq.com |
fd50bb3e6b68129f6554389002fa23d798b0c665 | 9fdf28136d9ba3b05b0e792fc178e1e352e3dc71 | /C++/PlusMinus.cc | a60f6ec67af99fd091d0e7469d515e57025b43eb | [] | no_license | shun-lin/Shun_Hackerrank_Solutions | 4220a7e18fbbef4a4bceb260b67bf26e362a9a73 | 0a36d08da6b454c4fca617546966c12df288f681 | refs/heads/master | 2020-05-25T13:08:25.252586 | 2017-10-23T01:10:05 | 2017-10-23T01:10:05 | 84,932,920 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 792 | cc | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main(){
int n;
cin >> n;
vector<int> arr(n);
for(int arr_i = 0;arr_i < n;arr_i++){
cin >> arr[arr_i];
}
int pos = 0;
int neg = 0;
int zero = 0;
float pos_f ... | [
"s92014721@berkeley.edu"
] | s92014721@berkeley.edu |
280cd8d03aed587f9e4020c493cf3baa67011f96 | 2f9a425e8f5d034da4d35c9f941ff609cb232883 | /poj/2485/POJ_2485_2370739_AC_250MS_444K.cc | 8551849681ed940d2980acdc5effe7cc4d48682a | [] | no_license | wangyongliang/nova | baac90cd8e7bdb03c6c5916fbab9675dabf49af5 | 86b00b1a12f1cc6291635f31a33e791f6fb19d1a | refs/heads/master | 2022-02-18T05:35:02.447764 | 2019-09-08T02:22:06 | 2019-09-08T02:22:06 | 10,247,347 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 793 | cc | #include<stdio.h>
#define inf 66336
int minn(int x,int y)
{
return x>y?y:x;
}
int cost[510],a[510][510],n;
int prime()
{
int i,min,t,sum,vecter;
for(i=1;i<=n;i++)
cost[i]=minn(a[i][1],a[1][i]);
cost[1]=inf;
for(t=1,sum=0;t<n;t++)
{
for(i=1,min=inf;i<=n;i++)
{
if(cost[i]<min)
{
... | [
"wangyongliang.wyl@gmail.com"
] | wangyongliang.wyl@gmail.com |
681a9ed4e32dd5837a84accee90838159daa1812 | 910a373c54f00769d8adb97a3a6868fc2256917d | /Problems/Problem_7.cpp | a13d0426360a0a8d427679f070e9e5e8d2395e25 | [] | no_license | PARVEENSINGH/Project-Eular-Problems | 8e03ce66e013d548f00f246e23c5ada814642549 | 4175d68ba8347db35cef2644b68a4b1e0eabd60d | refs/heads/master | 2022-12-03T00:40:21.861095 | 2020-08-27T07:08:49 | 2020-08-27T07:08:49 | 279,009,697 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 905 | cpp |
#include <iostream>
#include<bits/stdc++.h>
using namespace std;
typedef unsigned long long ll;
int getPrime(int upper_limit)
{
vector<int> list;
list.push_back(2);
int i=3,s=0,count=1;
bool isprime=true;
while(count<upper_limit)
{
s=0;
isprime=true;
//Approach used i... | [
"parveenk8057@gmail.com"
] | parveenk8057@gmail.com |
87d6f977662dceff75a320a1c33a00fc9eca0043 | 61255bb7724c45ff555497114fdd12941e5df6c9 | /Contest/Club algoritmia 2019-01/01/LunarNewYearAndNumberDivision.cpp | 1371711dfb053f903c1592b3c11de9c0ea7da29c | [] | no_license | eerick1997/Club | ddcc0a9d3706bb43723718079441fa227b61ea42 | 5ea13c3a22fafa82751fab25be5cb7f472fa5856 | refs/heads/master | 2021-11-24T00:17:42.270738 | 2021-10-28T02:12:40 | 2021-10-28T02:12:40 | 164,712,369 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 444 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long int lli;
vector< lli > numbers;
int main(){
lli n, ans = 0;
cin >> n;
numbers.assign( n, 0 );
for( int i = 0; i < n; i++ )
cin >> numbers[ i ];
sort(numbers.begin(), numbers.end());
for( int i = 0; i < n / 2; i++ )
... | [
"vargas.erick030997@gmail.com"
] | vargas.erick030997@gmail.com |
acbad949bab5b06fa2523e0b533de1046faaff0b | d6f4fe10f2b06486f166e8610a59f668c7a41186 | /Modules/vtkRigidIntensityRegistration/MutualInformation/vtkITKMutualInformationTransform.cxx | 8f31783e8a36d0718b5a2c2715ff06aa13edddc8 | [] | no_license | nagyistge/slicer2-nohistory | 8a765097be776cbaa4ed1a4dbc297b12b0f8490e | 2e3a0018010bf5ce9416aed5b5554868b24e9295 | refs/heads/master | 2021-01-18T10:55:51.892791 | 2011-02-23T16:49:01 | 2011-02-23T16:49:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,731 | cxx | /*=auto=========================================================================
(c) Copyright 2003 Massachusetts Institute of Technology (MIT) All Rights Reserved.
This software ("3D Slicer") is provided by The Brigham and Women's
Hospital, Inc. on behalf of the copyright holders and contributors.
Permission is here... | [
"pieper@bwh.harvard.edu"
] | pieper@bwh.harvard.edu |
b7c4cedb1ba1a6b20cf1260a034e9c72e18aa34a | e248f7c7696d1c3bd04350eb871e16eb9ce56b73 | /ios5/mozilla-central/media/webrtc/trunk/third_party/libyuv/source/planar_functions.cc | 7a1442d621cbff85057334022cc2d94ef3e4751c | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | redpanda321/Icefox | d64d289f54cf814941d7075ca4e6687e3442fe77 | 8fa976766399bb92b30899b1b851a0d2130c0032 | refs/heads/master | 2021-01-21T01:10:48.492724 | 2016-03-18T04:21:36 | 2016-03-18T04:21:36 | 3,667,868 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 69,661 | cc | /*
* Copyright (c) 2011 The LibYuv project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | [
"redpanda321@hotmail.com"
] | redpanda321@hotmail.com |
691611a99734db08cf41db4ecdd89fad48b49241 | fa88629073749cf936fe5f15168411f274c58e59 | /taglib/riff/wav/wavfile.cpp | 85c4ea68cf016949d841b22febe8501b1bf951c8 | [] | no_license | audioprog/AudioDatabaseForUsbAutoCopyMaster | dd6ebc00db8d68c3b7412642d0f7499b37285876 | c72603324946dca0601d654e020188d95f232aea | refs/heads/master | 2022-09-21T04:08:21.638725 | 2022-09-14T17:32:36 | 2022-09-14T17:32:36 | 38,965,852 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,537 | cpp | /***************************************************************************
copyright : (C) 2008 by Scott Wheeler
email : wheeler@kde.org
***************************************************************************/
/*******************************************************************... | [
"web.n.work.ls+gh@gmail.com"
] | web.n.work.ls+gh@gmail.com |
2f76caa5c76bd72a97c14970c4fdca32d50fce83 | a314c44ef5a8a4c94720501a212d509eadd98264 | /src/Magnum/Trade/SceneData.cpp | d62a7eb18d9b1b01b5cd2d396d05b2ad84949a60 | [
"MIT"
] | permissive | rockgong/magnum | 5c4ac7e189d02d9e0b9e1d0bc9367e2c82cc9fae | b937f3901e8dcb3f108769166fcf9d3be5a43fbc | refs/heads/master | 2020-05-16T09:44:54.922838 | 2019-04-22T12:29:24 | 2019-04-22T12:48:24 | 182,959,433 | 1 | 0 | NOASSERTION | 2019-04-23T07:30:40 | 2019-04-23T07:30:40 | null | UTF-8 | C++ | false | false | 1,846 | cpp | /*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019
Vladimír Vondruš <mosra@centrum.cz>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
... | [
"mosra@centrum.cz"
] | mosra@centrum.cz |
4907a82fdc13c439bde4e21fefb2640150ad9415 | b52ab043d503cf0ba386b831c5bab869524cfa93 | /src/support/allocators/zeroafterfree.h | ba90af0c53fbec4a6c6a2677139e669824f67942 | [
"MIT"
] | permissive | mirzaei-ce/linux-cocabit | f3a07968d96442ac2d94d0b72dc446bb1ec830de | ceadf6346ab64b6bd93927d93dc52007b5fbb5a2 | refs/heads/master | 2021-05-06T12:27:00.077551 | 2017-12-04T14:41:56 | 2017-12-04T14:41:56 | 113,054,485 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,716 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef COCABIT_SUPPORT_ALLOCATORS_ZEROAFTERFREE_H
#define COCABIT_SUPPORT_ALLOCA... | [
"mirzaei@ce.sharif.edu"
] | mirzaei@ce.sharif.edu |
e4b91971a52bf642a1e61f779a620cae6f15bd75 | 583592f5fec065fe92be51f315f85ed61b48785f | /state.hpp | dcdd4b1d5e835280e1346d050ec52db7341294f8 | [] | no_license | bbalint2000/TicTacToe | 4168fed17d167d44694e854b61f6b26fd476368a | b8f9e184a602a0116b7bb73df796404f1ddd7e33 | refs/heads/main | 2023-03-25T21:28:48.097173 | 2021-03-19T19:07:10 | 2021-03-19T19:07:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 176 | hpp | //
// Created by Balint on 2020. 05. 17..
//
#ifndef NHF_STATE_HPP
#define NHF_STATE_HPP
enum State {
menu, play, loadgame, setmode, setmap, end
};
#endif //NHF_STATE_HPP
| [
"bbalint2000@gmail.com"
] | bbalint2000@gmail.com |
e252db8111e224464eb572ee85ea042c97f2fcfe | 4e138c1aebe5872f6cc6af65605d02c592e9ccda | /Arduino/basic_serial_read_sg_multiplexer16_2/basic_serial_read_sg_multiplexer16_2.ino | fee7fd575893b6b7b991ab1838571aed5d53b086 | [] | no_license | kevinljw/sNail | 3057db19073e7bbd6bf36eab425c98eb94a9a8d6 | f03271f7a568f9e4700d7afa728a7260113e45f1 | refs/heads/master | 2021-01-10T19:25:56.056782 | 2015-09-22T17:50:44 | 2015-09-22T17:50:44 | 38,919,134 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 939 | ino | //boolean invert = LOW;
void setup() {
Serial.begin( 9600 );
for (int i = 2; i < 6; ++i)
{
pinMode( i, OUTPUT );
}
pinMode( 7, OUTPUT);
pinMode( A0, INPUT );
}
void loop() {
digitalWrite( 5, LOW );
digitalWrite( 7, HIGH);
for(int i=0; i<8; i++){
digitalWrite( 2, i & 1 );
... | [
"evin92@gmail.com"
] | evin92@gmail.com |
ee7d89177aef6b509c619eb3b1bc95e86b58313c | 87b1fdb68e2d21b4c9124b0b2161a25519818b97 | /RobotBuilder/Source/RobotBuilder Source/dmvZScrewTxLinkData.cpp | e3ba2e8f6c1d465bdec08961fa9734877bb626a5 | [
"MIT"
] | permissive | mcmillan03/Robotbuilder | 5d5e37c5513c38b1ff5ab22b804537093d575ecc | 490d35fef532f1220519575021aa39764e3e1afd | refs/heads/master | 2021-07-10T02:25:40.334055 | 2017-10-09T17:55:57 | 2017-10-09T17:55:57 | 106,306,445 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,104 | cpp | // dmvZScrewTxLinkData.cpp: implementation of the CdmvZScrewTxLinkData class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "dmvZScrewTxLinkData.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
/////... | [
"smcmillan@sei.cmu.edu"
] | smcmillan@sei.cmu.edu |
3fe620ca538fc65ffccfdb8583ea9ae0b127e6ab | d5887479289d2263cc659c700ece7af1b9b2c8fc | /src/watch.cpp | 24fda94666070e4197b77944306c6505f6080d42 | [
"MIT"
] | permissive | Coder-256/cadical | 62efe8a2f8db8ef140e3ba4c922f281d1caa4aff | cb89cbfa16f47cb7bf1ec6ad9855e7b6d5203c18 | refs/heads/master | 2020-07-14T20:32:59.437347 | 2019-07-12T20:22:02 | 2019-07-12T20:22:02 | 205,395,997 | 0 | 1 | MIT | 2019-08-30T14:14:42 | 2019-08-30T14:14:42 | null | UTF-8 | C++ | false | false | 2,752 | cpp | #include "internal.hpp"
namespace CaDiCaL {
void Internal::init_watches () {
assert (wtab.empty ());
while (wtab.size () < 2*vsize)
wtab.push_back (Watches ());
LOG ("initialized watcher tables");
}
void Internal::clear_watches () {
for (int idx = 1; idx <= max_var; idx++)
for (int sign = -1; sign <=... | [
"biere@jku.at"
] | biere@jku.at |
baccf633aa834a2eeeebd6262d1bb2039f0dfef0 | 728c558ad52e815a3239d200908a720f03426ba1 | /MqttService/MqttService.h | d927ffd3073fac507293ea5281ca7b129391fa63 | [] | no_license | logimic/shapeware | d3494e5ba9b9214973f7d4681a8153723c399d92 | 9af5f4dbea5b2c2a5e39d74bf8dbda3c7f0ae4c7 | refs/heads/master | 2023-09-01T09:26:57.337727 | 2023-08-29T07:54:42 | 2023-08-29T07:54:42 | 124,587,297 | 0 | 8 | null | 2023-07-20T19:33:18 | 2018-03-09T20:00:25 | C++ | UTF-8 | C++ | false | false | 3,272 | h | /**
* Copyright 2019 Logimic,s.r.o.
*
* 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... | [
"frantisek.mikulu@logimic.com"
] | frantisek.mikulu@logimic.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.