blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
30e5218b2701b3577f505bb6ac65080f75478489 | 2cf838b54b556987cfc49f42935f8aa7563ea1f4 | /aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/KeyGroupList.h | 87118858693569c8722f3849434948c073ee5f4a | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | QPC-database/aws-sdk-cpp | d11e9f0ff6958c64e793c87a49f1e034813dac32 | 9f83105f7e07fe04380232981ab073c247d6fc85 | refs/heads/main | 2023-06-14T17:41:04.817304 | 2021-07-09T20:28:20 | 2021-07-09T20:28:20 | 384,714,703 | 1 | 0 | Apache-2.0 | 2021-07-10T14:16:41 | 2021-07-10T14:16:41 | null | UTF-8 | C++ | false | false | 6,776 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/cloudfront/CloudFront_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/cloudfront/model/KeyGroupSum... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
37d6f91c87a7bf24444eea48d3e03d9f80de1cbc | 6a823851f6d7f689a25b07b3f6c5a17cc3155aa8 | /utility.h | 3b1bc12cbb79350ad303664b0baf1b1350c919e5 | [] | no_license | IbrahimSba3i/RegexTesting | e0cc0fd51a17775de092fa0e35289a14bd547c00 | de62f0b33dbd2fce7dffa3563c52aec3aac871a1 | refs/heads/master | 2020-12-30T09:38:03.964335 | 2015-05-30T16:08:25 | 2015-05-30T16:08:25 | 35,303,826 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 192 | h | #pragma once
#include "GlobalIncludes.h"
class Regex;
class Utility
{
public:
static int parseInt(Regex* rgx);
static bool isDigit(char c);
static char getEquivalentCharacter(char c);
};
| [
"el-sebaie.ebrahim@aucegypt.edu"
] | el-sebaie.ebrahim@aucegypt.edu |
577e5f0db4bb26ca419f96698e96ce9bbed0177e | 112d64d5398babceb2681f8257bf091c85024e01 | /code/src/handlers/SendText.h | f15a97d55eee17540afa9406b5331e8e196af684 | [
"MIT"
] | permissive | kkoch986/macroboard | 6d64b2504208029bef9154e7b134ab143d95b9b6 | 83183f8f4d355af0a378b873a02865c74e85d93b | refs/heads/main | 2023-03-09T00:30:40.976602 | 2021-02-19T03:44:32 | 2021-02-19T03:44:32 | 340,249,182 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 513 | h | #ifndef HANDLER_SENDTEXT
#define HANDLER_SENDTEXT
#include <Keyboard.h>
namespace button {
namespace handler {
class SendText : public button::Handler {
public:
SendText(const char *t) {
text = t;
}
void setup() { }
... | [
"kkoch986@gmail.com"
] | kkoch986@gmail.com |
a7dc8790f45e212f5386123469b3d5e55e844f46 | 6ecbf084f558b37f0cee51c7226c1e116b5aa7bf | /SIR/.SIR/build_openmp_sse/src/bi/cuda/cuda.hpp | e4c65c9dd41264a95d6620114d14eefeedc1e961 | [] | no_license | reichlab/bayesian_non_parametric | 364b12ad07b09e9a4386572bd47c709ad7629497 | c8d7eb7493addb919b8f7159768dc732ce1a1f35 | refs/heads/master | 2021-01-01T06:43:10.176687 | 2018-03-25T14:33:32 | 2018-03-25T14:33:32 | 97,492,688 | 2 | 0 | null | 2018-01-02T15:23:21 | 2017-07-17T15:38:01 | Python | UTF-8 | C++ | false | false | 3,452 | hpp | /**
* @file
*
* Macros for CUDA usage.
*
* @author Lawrence Murray <lawrence.murray@csiro.au>
* $Rev$
* $Date$
*/
#ifndef BI_CUDA_CUDA_HPP
#define BI_CUDA_CUDA_HPP
#include "../misc/assert.hpp"
#ifdef ENABLE_CUDA
#include "cuda_runtime.h"
#endif
/*
* CUDA keyword aliases.
*/
#ifdef __CUDACC__
#define CUDA_... | [
"gcgibson@1x-nat-vl931-172-30-142-196.wireless.umass.edu"
] | gcgibson@1x-nat-vl931-172-30-142-196.wireless.umass.edu |
97ddf20b70711c2692a0d78da2bb2e8c27a05421 | 4d372fc8460dea18189bb1c708d946c73075f08a | /tuxbox/lcars/src/pig.cpp | 76038379026526e897ac6b233ba2c2b6fc208677 | [] | no_license | OpenDMM/tuxbox-apps | 8f58257ce3dbe7afa615a5704ab614ea42e12d8d | d66e314cbb33700206ef7395dd5453e740b49dfd | refs/heads/master | 2021-03-12T23:51:02.067208 | 2011-09-12T17:34:03 | 2011-09-12T17:34:03 | 38,078,615 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,611 | cpp | /***************************************************************************
copyright : (C) 2001 by TheDOC
email : thedoc@chatville.de
homepage : www.chatville.de
modified by : -
***************************************************************************/
/******************... | [
"TheDOC"
] | TheDOC |
2246f0f37b24a1319943482ab7e91883ac494c34 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /chrome/browser/supervised_user/legacy/supervised_user_pref_mapping_service_factory.h | 1aed53da3e7cc576cd53ac074a7a12b606932d34 | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 1,298 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_SUPERVISED_USER_LEGACY_SUPERVISED_USER_PREF_MAPPING_SERVICE_FACTORY_H_
#define CHROME_BROWSER_SUPERVISED_USER_LEGACY_SUPERVISED_USE... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
965765e177d41ae968f0c17ba6f97355d78375b5 | 51647503728ed39ac8cd16a483814ea76dfa0565 | /RegexEngineTester/StringBuffer.h | 413d44aa75be41e7dcd8e250286c8428128460a0 | [] | no_license | kmichalk/xRegex | 686adc815733bc5ac8420976301b4882ab387d1f | 2dbc48156b9bc522524723f2e07ec0255d322fa0 | refs/heads/master | 2020-04-27T18:14:57.525104 | 2019-03-08T15:23:28 | 2019-03-08T15:23:28 | 89,722,170 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 971 | h | #pragma once
#include "Buffer.h"
namespace x
{
//the string buffer class, extending functionalities of buffer, adding string handling
class StringBuffer: public Buffer<char>
{
public:
using Buffer<char>::Buffer;
//reserve mem and put string in buffer
char* append(char const* str);
//reserve mem and put st... | [
"kmichalkiewicz.95@gmail.com"
] | kmichalkiewicz.95@gmail.com |
e413ec571e451c954152a80cce062734c6a9d688 | af867f4aa526f6a27afe7a9db8722225e9633da8 | /AutoMoDe-toffee/src/epuck_modules/AutoMoDeBehaviourEpuckGoToColor.cpp | f353abd64e2282bc930ea05be5dc360dfdd9015d | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | piotrek211/Smart-Object-Project | 0e8f26185e553f432917540e2ecc5c93cf08f452 | 5d9166535fa017db1b5db5ef118d73c898b83026 | refs/heads/master | 2023-07-26T05:46:59.853414 | 2021-09-03T15:44:05 | 2021-09-03T15:44:05 | 402,784,831 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,661 | cpp | /**
* @file <src/modules/AutoMoDeBehaviourAttractionColor.cpp>
*
* @author Antoine Ligot - <aligot@ulb.ac.be>
*
* @package ARGoS3-AutoMoDe
*
* @license MIT License
*/
#include "AutoMoDeBehaviourEpuckGoToColor.h"
namespace argos {
/****************************************/
/************************... | [
"piotr.rochala@ulb.be"
] | piotr.rochala@ulb.be |
078cae0aee043167f389eea0b91dec4e4d771112 | 6664907e1ad587df63ac70f4b41820d244ec1a61 | /LinkedList/Merging of Linked List.cpp | 7f25dd802d045c50733b99a756a1d156c484aa82 | [] | no_license | prakash123mayank/C-Plus-Plus-Programming-Language | 6c25f3e9af0ede5ba0c6100a280219a4bbaf2508 | 9ff1c9565cb89209414b0c86afdd646e2c41cc29 | refs/heads/master | 2022-12-12T10:55:12.978293 | 2020-08-17T03:09:27 | 2020-08-17T03:09:27 | 288,134,579 | 0 | 0 | null | 2020-08-17T09:13:06 | 2020-08-17T09:13:06 | null | UTF-8 | C++ | false | false | 1,703 | cpp | #include<iostream>
using namespace std;
struct Node
{
int data;
struct Node *next;
}*first=NULL,*second=NULL,*third=NULL;
void Create1(int A[],int n)
{
struct Node *last,*t;
first=new Node;
first->data=A[0];
first->next=NULL;
last=first;
for(int i=1;i<n;i++)
{
t=new Node;
... | [
"noreply@github.com"
] | prakash123mayank.noreply@github.com |
f8b6927ca4db1c1424ca42a2b766c7b3eebba15a | ac4a14662d58bb7250ba00b01c8acc3a09dc6d57 | /flutter_airbnb/windows/runner/main.cpp | b7eeece0c4017f7039371402c1d3be3508ec7d4e | [] | no_license | 1eehanjin/flutter_ui_book1 | b9f4035103c6d1fb416f922d27f39f40308a009e | f477993e88aad8e0c688b3d40b770855b6d30ed0 | refs/heads/main | 2023-07-17T19:54:47.839948 | 2021-08-31T11:36:37 | 2021-08-31T11:36:37 | 400,803,358 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,224 | cpp | #include <flutter/dart_project.h>
#include <flutter/flutter_view_controller.h>
#include <windows.h>
#include "flutter_window.h"
#include "run_loop.h"
#include "utils.h"
int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
_In_ wchar_t *command_line, _In_ int show_command) {
... | [
"jdhanjin@naver.com"
] | jdhanjin@naver.com |
ee2dda5d2f937b48b87bd21de65d176ae11f4652 | eda2b66cd014e529bcaa4440d79b5109422ceb99 | /Battleship/Temp/il2cppOutput/il2cppOutput/mscorlib_System_Collections_Generic_Dictionary_2_E3035235666.h | eba2ab56106e25d54eddf42614867105e81d9f13 | [] | no_license | jrbyam/CS372Battleship | a8b9cf491e5fdea6d466a7f5693feed70a348dfb | cb186e0a5777fc4d8879923f8cec4b5d83dac19e | refs/heads/master | 2021-01-10T09:24:55.403518 | 2016-03-11T22:29:00 | 2016-03-11T22:29:00 | 51,184,324 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,785 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// System.Collections.Generic.Dictionary`2<Castle.DynamicProxy.Generators.CacheKey,System.Type>
struct Dictionary_2_t3268207725;
#include "mscorlib_System_ValueType4014882752.h"
#inc... | [
"jrbyam@Brock.local"
] | jrbyam@Brock.local |
42870384ccd0bf954403f7d001da0a1d2f4d7215 | 2a45507fff25c42cad05b52d83d011fea0909be5 | /Gfg/RotateALinkedList.cpp | 66ba2cec03b8697d84ee0849722cf771a2277c9f | [
"MIT"
] | permissive | Sharayu1071/Daily-Coding-DS-ALGO-Practice | dc8256e76d43952f679236df904f597908fbda13 | 2c424b33a1385085f97b98d6379d6cd9cc71b1bd | refs/heads/main | 2023-08-30T17:49:44.312613 | 2021-10-03T04:21:21 | 2021-10-03T04:21:21 | 412,973,714 | 3 | 0 | MIT | 2021-10-03T04:18:20 | 2021-10-03T04:18:19 | null | UTF-8 | C++ | false | false | 1,641 | cpp | /*
Question:
Given a singly linked list of size N.
The task is to rotate the linked list counter-clockwise by k nodes,
where k is a given positive integer smaller than or equal to length of the linked list.
*/
#include <bits/stdc++.h>
using namespace std;
struct Node {
int data;
struct Node *next;
Nod... | [
"67851072+Anshika-Srivastava@users.noreply.github.com"
] | 67851072+Anshika-Srivastava@users.noreply.github.com |
45c88bcb5a9855e58b9cfb268e7cb92f94616567 | 5d84b9731d0d4da49cb4c78d605e1cd894aefc8e | /sketchesMine/tens-due/tens-due.ino | 03894411b192a03fe6169b2016714bdcfea09981 | [] | no_license | ComfortableSoftware-DEV/sketchbook | 2f930a3192f85b00529078878ba8bc94afac40f8 | 8ca40bf490ef633eb8935bfa54f4fefa734c0dd8 | refs/heads/master | 2023-04-08T00:39:25.773363 | 2021-04-03T06:04:27 | 2021-04-03T06:04:27 | 354,210,452 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,566 | ino | // audio on PB8
#include <Wire.h>
#include "Adafruit_VL53L0X.h"
#include <STM32ADC.h>
#include <MozziGuts.h>
#include <Oscil.h> // oscillator template
#include <tables/sin2048_int8.h> // sine table for oscillator
#include <tables/saw2048_int8.h>
#include <tables/triangle2048_int8.h>
#include <tables/square_no_alias_... | [
"will.angus.blaylock@gmail.com"
] | will.angus.blaylock@gmail.com |
fb9a190fc4cb03f744a90bc39f13246fc8753c52 | 879a00c2ea124b6cb0bdc0ff2dafbd5cc26f2042 | /SqlEngine.h | 4004918f0a122c07eeccc40aad77e89c42c0885f | [] | no_license | sjeongus/CS-143-2 | 10ccb890fda735f05127911f07fa12d5b21a06df | 1faa3b4b4f8d40b9d4e4da94639e530af49d1eb6 | refs/heads/master | 2021-05-27T17:21:12.241427 | 2014-12-08T06:00:06 | 2014-12-08T06:00:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,564 | h | /*
* Copyright (C) 2008 by The Regents of the University of California
* Redistribution of this file is permitted under the terms of the GNU
* Public License (GPL).
*
* @author Junghoo "John" Cho <cho AT cs.ucla.edu>
* @date 3/24/2008
*/
#ifndef SQLENGINE_H
#define SQLENGINE_H
#include <vector>
#include "Bruin... | [
"hirokinoryu@gmail.com"
] | hirokinoryu@gmail.com |
2cda9afa35387e1521dd65c3d73ca80f0573b76c | 3f9ffaf92c27b65b1a6eddd26d813dc784e36695 | /koom-common/kwai-android-base/src/main/cpp/process.cpp | 076561982e00244d8a6694d16d4fda979d7bcd85 | [
"Apache-2.0",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"BSD-2-Clause"
] | permissive | KwaiAppTeam/KOOM | 7302d5a837a6fe2928077149ea323f18a81994dd | a5430e2db995fb67435936bb2bddf1b42f690578 | refs/heads/master | 2023-09-04T09:30:22.907004 | 2023-05-03T11:39:54 | 2023-05-03T11:39:54 | 285,517,634 | 2,900 | 388 | NOASSERTION | 2023-07-24T09:50:58 | 2020-08-06T08:34:04 | C++ | UTF-8 | C++ | false | false | 986 | cpp | /*
* Copyright (C) 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | [
"wanglianbao@kuaishou.com"
] | wanglianbao@kuaishou.com |
86a7eee567fa33108d3cd0f08cb0c696ff0c4404 | e6fd74ac5a8283729c08e05dd045dff9fdaeb3cf | /1012.cpp | a984fe778bcb05e0065681c6e114153abd69b7ea | [] | no_license | zenglh666/POJ | 137b7fa8e66ad4ccf660b587065daa1290a1ff9f | d81e1ea1c8119caa58e07ded81faa305f6bf13e6 | refs/heads/master | 2021-01-12T13:39:49.639058 | 2016-09-26T05:15:05 | 2016-09-26T05:15:05 | 69,213,943 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 487 | cpp | #include "stdio.h"
#define max_k 14
int joseph[14] = { 0 };
int main()
{
int k;
while (scanf("%d", &k) && k)
{
if (joseph[k] != 0)
{
printf("%d\n", joseph[k]);
}
else
{
int m = 1;
int kill[max_k];
kill[0] = 0;
for (int i = 1; i <= k; i++)
{
kill[i] = (kill[i -... | [
"noreply@github.com"
] | zenglh666.noreply@github.com |
b7cdcb29fa71a22ada710d200cc13fdd27589524 | ee9135608b035b164ec89427d45f8468bc203321 | /images_change.h | 6e78957c3f7e6399a4f5b718922ac2dd6cb9e6fb | [] | no_license | xiaoqiangbai/GitHub_Test | 449fec21d3732e99639c0769981547b904573b79 | 5e48369d3db9e54dcd0916add6b7c8cea01014ca | refs/heads/master | 2023-02-22T17:27:53.316307 | 2021-01-13T10:14:07 | 2021-01-13T10:14:07 | 324,045,939 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,126 | h | #ifndef IMAGE_CHANGE_H
#define IMAGE_CHANGE_H
#define IMAGE_MAXNUM (7)
class Images_Change
{
public:
Images_Change();
char *NextImage();
char *NextImage2();
const char* images[IMAGE_MAXNUM] =
{"/home/xiaoqiang/QT/ImageVideoDspDemo/Image/1.jpg",
"/home/xiaoqiang/QT/ImageVideoDspDemo/Image/2.j... | [
"xiaoqiang@qq.com"
] | xiaoqiang@qq.com |
f9e3a1a6661f4d4ac7caae5ed54893324d1391da | 5a5239120e4022521ac140a56e22ad6f49422977 | /992A.cpp | 08958e25821039c08cd6b3730ae74e97f614c3e1 | [] | no_license | sunny-lan/cpp-contest | 0b26d8b6da8c72980de1eb98c7401385f9730a41 | 3eea062297e9374a8829b618954e9db46bfb4466 | refs/heads/master | 2020-03-22T04:14:01.203252 | 2018-07-02T19:04:43 | 2018-07-02T19:04:43 | 139,483,196 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 259 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int n;scanf("%d", &n);
unordered_set<int> kek;
for(int i=0;i<n;i++)
{
int b;scanf("%d", &b);
kek.insert(b);
}
kek.erase(0);
printf("%d\n", kek.size());
}
| [
"sunny.lan.coder@gmail.com"
] | sunny.lan.coder@gmail.com |
fd0fd6f3a22ce11e0ac1c36fcaeafcfca622801f | c19b389c80b176896be264267987b7037b644aa4 | /PCA.cpp | 4658e6c0c2e6ed47f8aa58d5e4914bf2cda91c6c | [] | no_license | NonlinearTime/PCA | 4b42b59a1e2e51c60f2cd85afcf6813921541471 | a485063388aaf79d6b3c438255d88fdf17b2c844 | refs/heads/master | 2020-04-30T09:33:37.530282 | 2019-03-21T14:54:32 | 2019-03-21T14:54:32 | 176,751,434 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,714 | cpp | //
// Created by haines on 3/20/19.
//
#include "PCA.h"
//a column means a example
void PCA::normalize() {
RowVectorXd mean_val_row = data.colwise().mean();
data.rowwise() -= mean_val_row;
}
//calculate the covariance of data
void PCA::covariance() {
cov = data.transpose() * data;
cov = cov / (data.r... | [
"hainesluo@gmail.com"
] | hainesluo@gmail.com |
4f50b78744accc3f61092be9c9588cd76e1a002b | 42c64672a2a640646a2b66197da2e5134486a1bc | /TEST/TEST/TEST.cpp | 5e9409bad54a2c5ffee4de24ca1418140e49449a | [] | no_license | 15831944/C_plus_plus | 898de0abd44898060460c9adcabade9f4849fece | 50a3d1e72718c6d577a49180ce29e8c81108cdfd | refs/heads/master | 2022-10-01T15:30:13.837718 | 2020-06-08T20:08:09 | 2020-06-08T20:08:09 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,483 | cpp | #include <iostream>
#include <locale.h>
using namespace std;
int main()
{
setlocale(0,"");
cout << "Выберите действия:"
<<"1: Сложить два числа"
<<"2: Умножить два числа"
<<"3: Найти разность двух чисел"
<< "4: Разделить два числа" <<endl;
int n;
cin>>n;//вводим идентификатор действий
//для нашего удобства... | [
"logovopost@yandex.ru"
] | logovopost@yandex.ru |
b59dccefeaf1eccf80ff4c49f4d3531ce3e7c2a4 | eec43b04a250260727e7d8bded8e923e57d27330 | /Recursion/problem 17.cpp | c201f39234d329374cca88abaa183e5ce60f9e79 | [] | no_license | ShafiqurRohman/Competitive-programming | 82e4c8c33c6e9e6236aca8daf4d6b24ce37089c6 | 84bdbe2abb7a6a927325c4c37ed8d15b1c082f2e | refs/heads/main | 2023-06-25T14:23:18.371879 | 2021-07-25T17:10:04 | 2021-07-25T17:10:04 | 318,260,815 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 417 | cpp | #include<bits/stdc++.h>
using namespace std;
void dilfunction(char *s, int i ,int j){
if(i >= j){
return;
}
dilfunction(s,i+1,j-1);
swap(s[i],s[j]);
}
int main(){
char s[100];
gets(s);
string ss = s;
dilfunction(s,0,strlen(s)-1);
cout<<ss<<endl<<s<<endl;
if(ss == s){
... | [
"SHAFIQ@DESKTOP-O8CRK89"
] | SHAFIQ@DESKTOP-O8CRK89 |
8c2cd33241e11bf2d05f56bb2fc65551a40c96b3 | 94bd295572de3f4934a3896ce1bb882fb4d35edc | /media/audio/audio_system_impl_unittest.cc | 76f036b13bc2d414bf7c3dacd896303f6077c7ef | [
"BSD-3-Clause"
] | permissive | WebGameLinux/chromium | 06109b62d6019b051474cd479f3d577e0eec4463 | a35a1e2ce2ab74eccc467aa390eda1a8e29e3e09 | refs/heads/master | 2023-03-07T14:07:56.342758 | 2017-04-08T02:33:08 | 2017-04-08T03:38:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,841 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "media/audio/audio_system_impl.h"
#include "base/memory/ptr_util.h"
#include "base/run_loop.h"
#include "base/single_thread_task_runner.h"
#inclu... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
f21a3db21a7982fd1e15fb6eced7d5094392f811 | 213f231b9b4d9c786fdc1e695d81551747b74632 | /demo/embedded/node_kitchen/app/app.cpp | 874c960f67d54f159a27b3703df4e4bb21eff620 | [
"MIT"
] | permissive | Neutree/SmartHome | 310ef341433003402465097d49724318e5c20e98 | 28eed405a487b30a96d73ba37193e03c353d3483 | refs/heads/master | 2021-01-21T04:30:57.973613 | 2016-06-22T05:41:29 | 2016-06-22T05:41:29 | 55,669,311 | 1 | 4 | null | 2016-05-20T13:28:06 | 2016-04-07T06:27:35 | C | UTF-8 | C++ | false | false | 9,545 | cpp | #include "app.h"
const char App::mDeviceNumber[]={1,2,3,4,5,9};
App::App()
:mApSetName("SmartHome"),mApSetPasswd("1208077207"),
mApJoinName("ICanHearYou"),mApJoinPasswd("1208077207"),
mUserName("15023490062"),mUserPasswd("1208077207")
{
// mSensorName[0]=0;
// mSensorName[1]=0;
// mSensorName[2]=0;
// mSensorName[3]=... | [
"CZD666666@gmail.com"
] | CZD666666@gmail.com |
3e2f6598f631409b6f0e9064d37e74d8a8202ce4 | 6ced41da926682548df646099662e79d7a6022c5 | /aws-cpp-sdk-finspace-data/include/aws/finspace-data/model/ListDatasetsRequest.h | 3d3a58d8e896fb301ba7684da19aadaeb8ff3a2c | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | irods/aws-sdk-cpp | 139104843de529f615defa4f6b8e20bc95a6be05 | 2c7fb1a048c96713a28b730e1f48096bd231e932 | refs/heads/main | 2023-07-25T12:12:04.363757 | 2022-08-26T15:33:31 | 2022-08-26T15:33:31 | 141,315,346 | 0 | 1 | Apache-2.0 | 2022-08-26T17:45:09 | 2018-07-17T16:24:06 | C++ | UTF-8 | C++ | false | false | 3,665 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/finspace-data/FinSpaceData_EXPORTS.h>
#include <aws/finspace-data/FinSpaceDataRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
790b70dc7247b394f6970c6b76d7f2395b213650 | 297497957c531d81ba286bc91253fbbb78b4d8be | /third_party/libwebrtc/api/video/frame_buffer.cc | a9c3b6b41dd1a994089fd347d02cf13bc5860b0a | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | marco-c/gecko-dev-comments-removed | 7a9dd34045b07e6b22f0c636c0a836b9e639f9d3 | 61942784fb157763e65608e5a29b3729b0aa66fa | refs/heads/master | 2023-08-09T18:55:25.895853 | 2023-08-01T00:40:39 | 2023-08-01T00:40:39 | 211,297,481 | 0 | 0 | NOASSERTION | 2019-09-29T01:27:49 | 2019-09-27T10:44:24 | C++ | UTF-8 | C++ | false | false | 10,103 | cc |
#include "api/video/frame_buffer.h"
#include <algorithm>
#include "absl/algorithm/container.h"
#include "absl/container/inlined_vector.h"
#include "rtc_base/logging.h"
#include "rtc_base/numerics/sequence_number_util.h"
#include "rtc_base/trace_event.h"
namespace webrtc {
namespace {
bool ValidReferences(c... | [
"mcastelluccio@mozilla.com"
] | mcastelluccio@mozilla.com |
093df7f8bbfff6af92a491a7afcd140ffe802052 | be09c9232478e603eaec7bbaef33009a634e9630 | /cjR1A/perm_val.cpp | e9dd59200aa4898b879c4673301326637f26eaed | [] | no_license | hkbharath/mycodes_first | 467835823f02a9de3556dfeabb66a8cb48acc7de | 53d66f50020fe28c4ef5fb1a82b35a7670eeba93 | refs/heads/master | 2016-09-06T18:09:33.900869 | 2014-06-12T19:06:15 | 2014-06-12T19:06:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 297 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int t=1000,n=1000;
double ct=0;
while(t--){
int ar[n];
for(int i=0;i<n;i++)
ar[i]=i;
for(int i=0;i<n;i++)
swap(ar[i],ar[rand()%n]);
for(int i=0;i<n;i++)
if(ar[i]>i)ct+=1;
}
cout<<ct/1000<<endl;
}
| [
"hegdebharathkumar@live.com"
] | hegdebharathkumar@live.com |
074b6526da8077560a784dc2bbc812ac5e8efdca | 99797367869454882a5b135550b39e9c95626840 | /libgreenstack/memcached/Cas.cc | d49a4508502a93bb728a47c105eb8b65b93e665a | [] | no_license | trondn/Greenstack | 49e18834a71480458f0221701a8966881f0d5ebb | 34cc485d069dbead2476854d730ff59f99476808 | refs/heads/master | 2016-09-06T08:40:51.252042 | 2015-03-23T20:14:44 | 2015-08-31T08:48:42 | 32,581,945 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 911 | cc | /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2015 Couchbase, Inc.
*
* 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
*
* ... | [
"trond.norbye@gmail.com"
] | trond.norbye@gmail.com |
4af06e5bbb5dd497d7486871a8afcd542077d740 | d84c107e6da7e03b41382409987ae5d46b59bca2 | /source/game/decls/DeclInvItemType.cpp | 176b4be081c00fffa8a52a63fc6829774547cae5 | [
"MIT"
] | permissive | JasonHutton/QWTA | b3854cd4873a46a8a9089ee3481a47074b62236b | 7f42dc70eb230cf69a8048fc98d647a486e752f1 | refs/heads/main | 2023-04-13T02:15:14.639793 | 2021-05-01T21:29:18 | 2021-05-01T21:29:18 | 363,500,974 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,791 | cpp | // Copyright (C) 2007 Id Software, Inc.
//
#include "precompiled.h"
#pragma hdrstop
#include "DeclInvItemType.h"
#include "../../framework/DeclParseHelper.h"
/*
===============================================================================
sdDeclInvItemType
=======================================... | [
"azuvector@gmail.com"
] | azuvector@gmail.com |
96412c75e2845d6ec163bfe5b53e38e35d026a6f | afed4129153aaf35204072a55a7b16ca5447ced9 | /src/FrustumCuller.cpp | f51ed16d9decceefa7aeec14877c5431cff89bde | [] | no_license | cforfang/RenderingSystemTest | d9202a6dc46bb0ed1167d4b8457c3827ba85ebdc | 2e535bce30d966cf6ef42e107d528e5bda6b16ea | refs/heads/master | 2016-09-06T18:39:40.876261 | 2014-02-15T21:01:21 | 2014-02-15T21:01:21 | 16,866,783 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,527 | cpp | #include "FrustumCuller.h"
#include "glm/glm.hpp"
static float InvSqrt(float x)
{
float xhalf;
int i;
xhalf = 0.5f * x;
i = *(int*)&x;
i = 0x5f3759df - (i >> 1);
x = *(float*)&i;
x = x * (1.5f - xhalf * x * x);
return x;
}
// http://www.gamedev.net/topic/640709-issue-with-frustum-extraction-using-glm/
void ... | [
"cforfang@gmail.com"
] | cforfang@gmail.com |
8873ac301dd682e1a158ad2cf065900bebd4b7d7 | 1f9ab8b6822dc5a07d681682c10406bfd7da875e | /src/rpcwallet.cpp | 580830c78b04698d66eaffb9205d62b775fb70ed | [
"MIT"
] | permissive | Crach1/evos-core | 11ded5744c4841fc23e5015ee3a70f106a465863 | 1053aed026306b2a08382d1409a6da70a428c997 | refs/heads/master | 2020-07-31T14:47:02.081476 | 2019-09-25T18:21:20 | 2019-09-25T18:21:20 | 210,641,072 | 0 | 0 | MIT | 2019-09-25T18:21:21 | 2019-09-24T15:49:34 | null | UTF-8 | C++ | false | false | 131,224 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php... | [
"evos-dev@gmail.com"
] | evos-dev@gmail.com |
375cab2eb4e0657ad01112ba83cc6645e317c842 | c6b26ef1dac6501abe75c5d8adf12bfc7b948bc1 | /ledcontroljava.ino | fe5e1e9dfdb5dd3909fcd303c8c2002f2d7df33e | [] | no_license | waiphyoaungitman/Arduino-Led-on-off-control-from-java-application | 3b13f9801e8b090bc77514471dbb24ca36de8f66 | b6a48199081642c334e4386733291d3d7d344310 | refs/heads/master | 2021-01-25T14:34:20.348540 | 2019-08-13T17:30:07 | 2019-08-13T17:30:07 | 123,714,597 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 267 | ino | int led = 13;
void setup() {
pinMode(led,OUTPUT);
Serial.begin(9600);
}
void loop() {
String str = Serial.readString();
if(str.length() >0)
{
if(str == "ON")
{
digitalWrite(led,HIGH);
}
else if(str == "OFF")
{
digitalWrite(led,LOW);
}
}
}
| [
"noreply@github.com"
] | waiphyoaungitman.noreply@github.com |
1a842cd68c19029f8694628a20467d9ad5ec351a | 7cd7df07fdada6a71372fbab8b61166511917895 | /codechef/cookoff/temp.cpp | 4a4e92a440363f0b42e1acdefa9fb8b5b45fa9da | [] | no_license | Divya063/programming | dd85e5f7bca989b60a63b6a85b5c568e2bc2dd61 | b4fcc68b6c3a874f739e34a32f0531a8b6e97e68 | refs/heads/master | 2022-02-17T16:45:06.451071 | 2019-10-01T06:30:41 | 2019-10-01T06:30:41 | 212,022,118 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 673 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define N 100005
#define MOD 1000000007
#define dd double
#define DEBUG(x) cout << '>' << #x << ':' << x << endl;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
//ios_base& scientific (ios_base& str);
ll n;
cin >> n;
while(n--){
ll n,... | [
"ranidivya063@gmail.com"
] | ranidivya063@gmail.com |
b9f29056c147bb62afc034882223417dd3437657 | 3017cdf4d0557974e48aa33db8241930f0c1e38d | /tests.cpp | 31e6f5374f4efdfda10046800784431fa0d86879 | [
"BSD-2-Clause-Views"
] | permissive | yutsai84/cracking-the-coding-interview | 009a1033671cfb942f4c3bcc51e21b05c9352785 | b747545ecb537d99a8478a452a9fdc077336afd9 | refs/heads/master | 2020-06-29T02:39:41.765637 | 2019-08-02T21:08:10 | 2019-08-02T21:08:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 67,167 | cpp | //
// Created by alex on 7/31/17.
//
#include "cpp_solutions/chapter_01_arrays_and_strings/chapter_01_includes.h"
#include "cpp_solutions/chapter_02_linked_lists/chapter_02_includes.h"
#include "cpp_solutions/chapter_03_stacks_and_queues/chapter_03_includes.h"
#include "cpp_solutions/chapter_04_trees_and_graphs/chapte... | [
"alex.hagiopol@icloud.com"
] | alex.hagiopol@icloud.com |
54c79f412164c70784424fab682c141210c569cf | 898948e1a74a0b363ab3607bd9ce46cf5d87e8a5 | /Project1/Project1/auto_ptr02.cpp | 1463f0d0d52545efaa94f4a31441609acb3492c4 | [] | no_license | dusdn02/C-Project | 588a94209a8917112872265ebc6ae68de8d84d53 | 5c036dd50244e497969be4bb69c5d608122c78a6 | refs/heads/master | 2020-05-03T03:50:44.314927 | 2019-07-04T05:00:21 | 2019-07-04T05:00:21 | 178,407,378 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 426 | cpp | #include <memory>
#include <iostream>
using namespace std;
class CMyData {
public:
CMyData() { cout << "CMyData()" << endl; }
~CMyData() { cout << "~CMyData()" << endl; }
};
int main() {
cout << "*****Begin*****" << endl;
{
//배열로 동적할당을 하면 첫번째 요소만 삭제 되기 때문에 메모리 오류가
auto_ptr<CMyData> ptrTest(new CMyData[3]);
}
... | [
"lyw9114@naver.com"
] | lyw9114@naver.com |
3334cf82cd23e545ddcd50645e6163ad884f6c30 | a4ff7cb6cab7810696a00863b79c059153008928 | /Classes/third_party_lib/boost/boost/mpl/list/aux_/clear.hpp | b9e3c472ea87a76dc4da15e78b82cf95d258aebd | [
"BSL-1.0"
] | permissive | xuanyuantd/ToolsBuilder | d945faa4a5bb1907e497ef69495629cc8ae76a20 | 79b198166c41dd4fe4afc5708a290f37d8a033e3 | refs/heads/master | 2021-01-10T01:20:33.136861 | 2016-04-01T08:35:28 | 2016-04-01T08:40:01 | 55,213,813 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 832 | hpp |
#ifndef BOOST_MPL_LIST_AUX_CLEAR_HPP_INCLUDED
#define BOOST_MPL_LIST_AUX_CLEAR_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2000-2004
//
// 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.boos... | [
"tangdi_netbook@github.com"
] | tangdi_netbook@github.com |
42372536b05bca75a2a1dfde29a1fa2535d26733 | 43dbc05549b8b9ffe067791c2564aeb150f9fe89 | /914 Jumping Champion.cpp | 0b3fba65c23c822012f1b53c7099ade8a55d60c1 | [] | no_license | maruf-rahad/uva | d985f526d2eec45e34785ef10fb2c8402e7c620b | f8a1e2cf8335f64cbab94461dd3f45bb68e15077 | refs/heads/master | 2023-02-04T04:36:33.272863 | 2020-12-27T08:02:42 | 2020-12-27T08:02:42 | 292,663,715 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,159 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long
ll ara[1000010];
ll n = 1000005,s;
vector<ll>v;
map<ll,ll>mp;
map<ll,ll>mp2;
map<ll,ll> :: iterator it;
void sieve()
{
v.push_back(2);
for(ll i=3;i<=n;i+=2)
{
if(ara[i]==0)
{
v.push_back(i);
for(ll j=i... | [
"marufrahad253@gmail.com"
] | marufrahad253@gmail.com |
ba6e85489c4d0169317f609059acb67ccbbdd00c | 85c5ec5dcb3a78201fab99c61b19763115f33208 | /Codeforces/1119D.cpp | 303589cfa42986c70397dd42a578a86806b64fae | [] | no_license | gaurav1620/Competitive-Coding | 3fea83700b5a6d94e4b9b40966222390b92b07de | 9b729b8dcc941cb9187b9bec970b2e56063ca0fc | refs/heads/master | 2023-07-04T06:50:29.584930 | 2021-08-07T15:52:12 | 2021-08-07T15:52:12 | 291,438,389 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 930 | cpp | #include<bits/stdc++.h>
//Gaurav Khairnar 2020
//codeforces : gaurav1620
//codechef : gaurav_1620
//email : gauravak007@gmail.com
#define Ninja ios::sync_with_stdio(false);cin.tie(NULL);
#define fo(i,n) for(i = 0;i < n;i++)
#define rfo(i,n) for(i = n-1; n >= 0;i++0)
#define ll long long
#define watch(x) cout << (#... | [
"gauravak007@gmail.com"
] | gauravak007@gmail.com |
3fceab9f10cd6183b68df3f8a1b905823288567c | 1198006d8844e7febf38398e6f14156ba9ad6fc8 | /Source/MFCDialog/CMakeCommandLineInfo.h | 717d9fd1a7b229550ac2eefe39d0a4d09ca1a1b1 | [
"LicenseRef-scancode-other-permissive"
] | permissive | syntheticpp/CMakeLua | 0586ee2c66cb94ba5283323c87d1b19b6995d250 | 780c3ee493609407bdd998fcf018f538ac38dea5 | refs/heads/master | 2020-05-17T09:17:15.830825 | 2008-04-14T21:40:35 | 2008-04-14T21:40:35 | 5,317,069 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,974 | h | /*=========================================================================
Program: CMake - Cross-Platform Makefile Generator
Module: $RCSfile: CMakeCommandLineInfo.h,v $
Language: C++
Date: $Date: 2003/07/23 21:31:25 $
Version: $Revision: 1.6 $
Copyright (c) 2002 Kitware, Inc., Insight Cons... | [
"tailor@iMacAL.local"
] | tailor@iMacAL.local |
1d0afc9f8b29f625e695a65c654cb579f3446312 | 60b680c69898d0f1a7f982c5ac68095adfb56113 | /Sem_2/Lab_3/Task 2/src/logic/items/marvel/InfinityGauntlet.cpp | 39a8860383ab50b8b944a86bde11a7ed203986a6 | [] | no_license | borgishmorg/bfu | ba2feb8c1179771c0cae7b0d1b76896b75be5003 | 426f41ae5b7f7e31491ba7aa5b8c3ae25505fefc | refs/heads/master | 2020-03-31T08:46:36.914439 | 2019-05-29T23:19:51 | 2019-05-29T23:19:51 | 152,072,131 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,249 | cpp | #include "InfinityGauntlet.hpp"
using BattleRoyale::InfinityGauntlet;
using BattleRoyale::InfinityStone;
InfinityGauntlet::InfinityGauntlet():
Item("Empty Infinity Gauntlet", 1, 2000000000), state_(EMPTY){};
InfinityGauntlet::~InfinityGauntlet(){}
void InfinityGauntlet::use(Player & user, Map & map, Screen & ... | [
"alexsemenov1610@gmail.com"
] | alexsemenov1610@gmail.com |
15c0fa42b36d67c05c6b67c172f371cd5b28c58f | ddc827fda4b7ef2900d9be72bff59eceadbc129d | /GaudiGSL/src/Components/EqSolver.h | 79e09ca658ae94dc8f3d269040cd5994c9a4a5ee | [] | no_license | l1calo/gaudi | 7418e9fb7e52d9b2a8c360910c93be42010f3602 | 343083c81165f9ec8b6661758c557df917a4d022 | refs/heads/master | 2021-01-20T02:20:32.390852 | 2014-09-11T06:58:24 | 2014-09-11T06:58:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,023 | h | // $Id: EqSolver.h,v 1.3 2006/11/30 10:40:53 mato Exp $
// ============================================================================
#ifndef ALGTOOLS_EQSOLVER_H
#define ALGTOOLS_EQSOLVER_H 1
// Include files
// from CLHEP
#include "CLHEP/GenericFunctions/GenericFunctions.hh"
#include "CLHEP/GenericFunctions/Argument... | [
"marcocle@53ecefc3-a64d-0410-9bdf-b8581fa3287e"
] | marcocle@53ecefc3-a64d-0410-9bdf-b8581fa3287e |
995cfd72ef5cc451baece2a1b0cf778d0b4fb596 | 7d591c884396aa5f3f93429a3cd5a5ce9bcc3289 | /test/functional/kernel/region/tests/test-kernel-region-data.hpp | b6ce532ad6a832afb993b5930856fa1eca6bfb1c | [
"BSD-3-Clause"
] | permissive | nickinack/RAJA | db1a57bef4806235deda508e6728305f6f1cefbb | 0cfce0a0b9d52de55823d80f8fcd3b09be78ab2a | refs/heads/develop | 2022-11-25T05:11:28.291733 | 2020-06-18T17:19:57 | 2020-06-18T17:19:57 | 274,211,714 | 0 | 0 | BSD-3-Clause | 2020-07-23T15:00:33 | 2020-06-22T18:19:48 | null | UTF-8 | C++ | false | false | 1,297 | hpp | //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
// Copyright (c) 2016-20, Lawrence Livermore National Security, LLC
// and RAJA project contributors. See the RAJA/COPYRIGHT file for details.
//
// SPDX-License-Identifier: (BSD-3-Clause)
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~... | [
"hornung1@llnl.gov"
] | hornung1@llnl.gov |
378e3468d5c4acbcb398052be2584046ab0fe912 | b3043df0f8448a06aff9b00061c3d6ebd9845ca3 | /src/proto/include/base/Proto_MayDay.H | 9c1b38e2d24b4ec3cf06bc38240981536c04b5f7 | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | applied-numerical-algorithms-group-lbnl/Chombo_4 | 60216bcd696d7715ccab8d95ed25061a28e4f75c | e22dbc8e3b74fc77ffbeb17f1f689be14ffce0e0 | refs/heads/master | 2023-09-03T22:23:28.604673 | 2023-09-01T19:46:03 | 2023-09-01T19:46:03 | 190,819,277 | 12 | 4 | NOASSERTION | 2022-08-18T17:34:39 | 2019-06-07T22:42:48 | C++ | UTF-8 | C++ | false | false | 1,711 | h | #ifdef CH_LANG_CC
/*
* _______ __
* / ___/ / ___ __ _ / / ___
* / /__/ _ \/ _ \/ V \/ _ \/ _ \
* \___/_//_/\___/_/_/_/_.__/\___/
* Please refer to Copyright.txt, in Chombo's root directory.
*/
#endif
#ifndef _Proto_MAYDAY_H_
#define _Proto_MAYDAY_H_
#include "Proto_parstream.H... | [
"dtgraves@lbl.gov"
] | dtgraves@lbl.gov |
6a3b5fdb533f4c9b569ae60f18d437ceacd867d0 | 97aab27d4410969e589ae408b2724d0faa5039e2 | /SDK/EXES/INSTALL VISUAL 6 SDK/INPUT/6.0_980820/MSDN/VCPP/SMPL/MSDN98/98VSa/1036/SAMPLES/VC98/sdk/com/tutsamp/aptserve/utilcar.h | 991abdaa0092b6c525a8f68d7cd72b89856080b0 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | FutureWang123/dreamcast-docs | 82e4226cb1915f8772418373d5cb517713f858e2 | 58027aeb669a80aa783a6d2cdcd2d161fd50d359 | refs/heads/master | 2021-10-26T00:04:25.414629 | 2018-08-10T21:20:37 | 2018-08-10T21:20:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,800 | h | /*+==========================================================================
File: UTILCAR.H
Summary: Include file for the aggregatable COUtilityCar COM object class.
UTILCAR showcases the construction of the COUtilityCar COM
object class with the IUnknown, ICar, and IUtility
... | [
"david.koch@9online.fr"
] | david.koch@9online.fr |
55c366addc49a83b1ff8b9060f206cabffcadb17 | 7984d4bfca0bc1e475de51c9c773a461745681b0 | /networkStudent.cpp | 861479ddc0c087158e6ccddece3b4adcb22232af | [] | no_license | tyborra/CPP_Project | fdef6b39bad22b848d83015c34af8d91d89d5050 | fbafe77615f92aabea8a48e443df8de61532a5fe | refs/heads/master | 2021-07-12T01:03:12.075022 | 2020-08-24T19:52:30 | 2020-08-24T19:52:30 | 195,547,916 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 99 | cpp | #include "networkStudent.h"
Degree networkStudent::getDegreeProgram()
{
return Degree();
}
| [
"noreply@github.com"
] | tyborra.noreply@github.com |
39cbaf908326820c2fac4ed7ed2e05b7a94df531 | 5e614469d7b72cae5c3db1e06d5b5eb26b9d53d2 | /src/ArnInc/ArnRpc.hpp | be3ee9014cd19f4c730105cb277e8108441f19da | [] | no_license | micwik/ArnLib | f0b8e9b33e5fbb5a564aca9bcb28594a9fe52a93 | cc7e56d589f11f8d613bbd3136ea3a371fead6f3 | refs/heads/master | 2022-03-12T11:48:47.681704 | 2022-02-22T00:22:09 | 2022-02-22T00:22:09 | 8,149,150 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 18,834 | hpp | // Copyright (C) 2010-2022 Michael Wiklund.
// All rights reserved.
// Contact: arnlib@wiklunden.se
//
// This file is part of the ArnLib - Active Registry Network.
// Parts of ArnLib depend on Qt and/or other libraries that have their own
// licenses. Usage of these other libraries is subject to their respective
// li... | [
"arnlib@wiklunden.se"
] | arnlib@wiklunden.se |
499b2ef072500f953101804623bead6c182ca223 | 993bd65c14cabf8b9f61f34e3c7c88e84a6f2ae5 | /Motors.h | da7bbebdbb84a28dc94b929878b6114e06866a5c | [] | no_license | BrzTit/tricopter-6 | 94511382472d466e0ccc82509e2b539aeb0bbcc1 | 7d68a932e5fdccf8988592da8fb518ef4c3f1534 | refs/heads/master | 2021-01-17T21:21:26.691110 | 2015-07-05T06:25:17 | 2015-07-05T06:25:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,011 | h | /**
* Motors.h
*
* @author Øystein Schrøder Elvik
* @version 1.0
* @since 05.11.2014
*
* Inspiration:
* http://www.instructables.com/id/RC-Quadrotor-Helicopter/step13/Arduino-Demo-PWM-Output/
* arduino Servo lib
* http://robots.dacloughb.com/project-3/quadcopter-software/motor-control/
* https://github.com/2... | [
"elvik@oneway.no"
] | elvik@oneway.no |
1fb7ce6db0b086b1f2435d1e9445a9aea584e40c | 78dc22090c952f51ef67011dee09594bd7da47fd | /Cpp/10189-Minesweeper.cpp | e43909d92ae611718ae8d53e4e27fe2d8d072fb2 | [] | no_license | wsxdrorange/UVA | 5f799b62c4354b57b25394022e3016b6fa8be087 | 7a1ab9f1aa317af0bd36aebb4c5bcaac06bcfde0 | refs/heads/master | 2020-04-06T06:59:55.544746 | 2018-05-16T23:00:38 | 2018-05-16T23:00:38 | 64,085,785 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,753 | cpp | #include <iostream>
using namespace std;
int main() {
int height;
int width;
int count = 1;
char digits [] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9' };
while ((cin >> height) && (cin >> width) && (height != 0 && width != 0))
{
if (count != 1)
{
cout << '\n'... | [
"noreply@github.com"
] | wsxdrorange.noreply@github.com |
096cba954e2889312ea8935e0ad76f11ade81aa8 | 4283078ef7e77c2a53716d54b7bbdc2ee29e516e | /TheUpgradedRandomGame/TheUpgradedRandomGame.cpp | 48fb1bb1918811bf1d1824022ccef6f63a2b8f51 | [] | no_license | FreeSirenety/TheUpgradedRandomGame | f202f7d6107bd16b935e22391de809e1635b8fe8 | d3f540350c64f5c02172f4b597953619df08e93e | refs/heads/master | 2021-01-15T18:45:32.033876 | 2014-06-11T03:06:16 | 2014-06-11T03:06:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 291 | cpp | // TheUpgradedRandomGame.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "Engine.h"
int _tmain(int argc, _TCHAR* argv[])
{
Engine *engine = new Engine();
engine->Initialize();
while (engine->Run())
{
}
engine->Cleanup();
return 0;
}
| [
"revilo.tlob@gmail.com"
] | revilo.tlob@gmail.com |
649dc6664c50d9c6e5b0a9b0a28e2e723ffb4338 | 97ef53372242c7d1a19a9a3b321562df1d7064e8 | /src/DicomEngine/io/secondary_capture_image_generator.h | c7b2d7e793441cfb6e286ec102f066f79e0a5a67 | [] | no_license | xiaobo2014/SvrCallImageEngineCMake | 1ed34fb1f289ae386976920aed6afa3de2bc3da9 | e3bd40253f12d004f6451823365d02700ffc09a5 | refs/heads/master | 2021-01-02T06:22:38.196622 | 2019-08-15T06:28:57 | 2019-08-15T06:28:57 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,150 | h | /*=========================================================================
Program: ImagingEngine
Module: secondary_capture_image_generator.h
author: zhangjian
Brief:
=========================================================================*/
#pragma once
#include "stdlib.h"
#include <iostream>
#in... | [
"jiajiajiajia10006@163.com"
] | jiajiajiajia10006@163.com |
954462ee9c11b4838d4d8568846baa340c7e5dfc | 72178b385880ea2be13134b7172210e049e2f150 | /Chapter 17/17_8_7/17_8_7.cpp | de55b82be2c2922f7faec1b94e22b916f1dfc0e3 | [] | no_license | Annihilater/Cpp-Primer-Plus-Source-Code-And-Exercise | 49259c82541a6bd79d7cf7f4aca2ab242dd707c0 | a307763d4e91c4995862f183fea897b43d171c9c | refs/heads/master | 2022-12-15T20:07:48.033855 | 2020-09-24T13:13:18 | 2020-09-24T13:13:18 | 279,830,500 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,014 | cpp | //
// Created by klause on 2020/9/23.
//
// "/Users/klause/Documents/CLionProjects/Cpp Primer Plus/Chapter 17/17_8_7/strings.dat"
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <cstdlib>
#include <algorithm>
#include "store.h"
using namespace std;
inline void ShowStr(const std::... | [
"yanmiexingkong@gmail.com"
] | yanmiexingkong@gmail.com |
f8fe074b85eae164e0c97f32cb06e7bfd8ec34f4 | 6c223d5a1195fa97189ef3b172c043a5aa64c214 | /Arduino/bluetooth_HC-05/bluetooth_HC-05.ino | a6eb82553da5c7a17027fc232554ab9dfd3fbc94 | [] | no_license | rakurakuteam/RhythmTataki | e7120efbaf4b87d94741cc1f91f0685ebe65a400 | 8dfe9bd8a2d023c8dbaca192d8de99e8472627e4 | refs/heads/master | 2023-01-06T23:56:18.245647 | 2020-01-02T05:43:22 | 2020-01-02T05:43:22 | 175,151,703 | 0 | 0 | null | 2023-01-01T05:51:28 | 2019-03-12T06:48:30 | C# | UTF-8 | C++ | false | false | 334 | ino | #include <SoftwareSerial.h>
SoftwareSerial BTSerial(4,5);
void setup() {
// put your setup code here, to run once:
BTSerial.begin(9600);
Serial.begin(9600);
}
void loop() {
if(Serial.available()){
BTSerial.write(Serial.read());
}
if(BTSerial.available()){
Serial.write(BTSerial.read()... | [
"jubal3863@naver.com"
] | jubal3863@naver.com |
aa465a201f7de70c605189e04abc90ba3055f2fa | 7df60cff2293ef347835be310ff94bb4339c8507 | /Rush 2/Teddy.hpp | f72e1571d9385b4d6f15649f1ec08aada31bad9b | [] | no_license | halil28450/PoolCPP | e9ca42e2adf8a3e2333e2519a33b4cce1a5d92fc | b74387e9cf7bdf853dca86be984bb196f2e0558a | refs/heads/main | 2023-03-18T19:04:33.014416 | 2021-02-15T12:14:57 | 2021-02-15T12:14:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 393 | hpp | //
// Created by nicolass on 15/01/2021.
//
#ifndef B_CPP_300_STG_3_1_CPPRUSH2_NICOLAS_SCHNEIDER_TEDDY_HPP
#define B_CPP_300_STG_3_1_CPPRUSH2_NICOLAS_SCHNEIDER_TEDDY_HPP
#include "Toy.hpp"
class Teddy : public Toy {
public:
explicit Teddy(const std::string &name);
void isTaken() override;
~Teddy() overri... | [
"arthur.robine@epitech.eu"
] | arthur.robine@epitech.eu |
dee431218a574ea238666a87ae484685a940c9b7 | 129615d4842eea56cd2d7a3ed787c0c578573b4e | /example/03_DrawRandomCircle/src/ofApp.cpp | 0b05e249fcfd9097a424d5d8d3c0c6e552b7d2be | [
"MIT"
] | permissive | 6uclz1/idd_medilab15 | a079df956fc22e0cbe7a001844ec662144cec765 | b8b7e4381e09f833fbba351a398239e99691c118 | refs/heads/master | 2021-01-15T10:06:29.479128 | 2015-05-18T19:55:14 | 2015-05-18T19:55:14 | 36,177,914 | 1 | 0 | null | 2015-05-24T15:10:46 | 2015-05-24T15:10:45 | null | UTF-8 | C++ | false | false | 1,580 | cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
// 画面基本設定
ofSetFrameRate(60);
ofBackground(63);
ofSetCircleResolution(32);
}
//--------------------------------------------------------------
void ofApp::update(){
position.x = ofRandom(ofGetWi... | [
"tadokoro@gmail.com"
] | tadokoro@gmail.com |
bcb1b9395b2a5cb412bb50d30b07efac133e40f2 | 8d7a19eaf365ad4da02831c259c08651ef5043c7 | /catboost/libs/data/composite_columns.h | 20b860fec26f197f472e7278a95db3cd510cbca7 | [
"Apache-2.0"
] | permissive | Taube03/catboost | f3469c912ac451a9072c3c8a9dd92c5d24c976a4 | ea201d134a9db9048e52eef5de976da70fd6167f | refs/heads/master | 2021-02-06T19:06:32.624633 | 2020-03-26T22:14:43 | 2020-03-26T22:14:43 | 243,940,852 | 0 | 0 | Apache-2.0 | 2020-02-29T09:33:36 | 2020-02-29T09:33:35 | null | UTF-8 | C++ | false | false | 14,853 | h | #pragma once
#include "columns.h"
#include "feature_grouping.h"
#include "exclusive_feature_bundling.h"
#include "packed_binary_features.h"
namespace NCB {
struct ICompositeValuesHolder : public IFeatureValuesHolder {
ICompositeValuesHolder(EFeatureValuesType featureValuesType,
... | [
"staskirillov@gmail.com"
] | staskirillov@gmail.com |
9c7be9273c3401267cb67d0feae98ce41ef3de86 | f5fc32c1bd609f3e18a7057b6943b05e354cbb39 | /A - Orac and Factors.cpp | ad327775ec9279ecc0274f9c436da5d17966e14d | [] | no_license | EmonZaman/CODEFORCES | e822277f299414ce0793ab184c15185ebb8943b5 | 1db9eee5835a246578c7569b4031f52c99d6356a | refs/heads/main | 2023-03-23T05:56:48.984252 | 2021-03-20T17:06:24 | 2021-03-20T17:06:24 | 342,322,172 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 448 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin>>t;
while(t--)
{
int n,k;
cin>>n>>k;
if(n%2==0)
cout<<n+(2*k)<<endl;
else
{
int check=1;
for(int i=n;i>1;i--)
{
... | [
"noreply@github.com"
] | EmonZaman.noreply@github.com |
3650dc16cf89b670527fc6a40d58126eb1f9d7ca | 57d30906de95e20fb45216925791cb809a11b7f1 | /ase/gtcpp/test_io.cpp | b757fb2d78fecdc4ab5f5bf5049b0af9bcec640d | [
"MIT"
] | permissive | ahiguti/ase | ad782902ca3a8713b155769413fc5d9fd537c347 | f6bc5f337fe7df6eabf676660d9189d3c474150d | refs/heads/main | 2021-06-13T17:39:25.280776 | 2012-06-15T21:01:17 | 2012-06-15T21:01:17 | 4,680,010 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,077 | cpp |
/*
* This file is part of ASE, the abstract script engines.
* Copyright (C) 2006 A.Higuchi. All rights reserved.
* See COPYRIGHT.txt for details.
*/
#include <gtcpp/auto_thread.hpp>
#include <gtcpp/socket.hpp>
#include <gtcpp/file_util.hpp>
#include <gtcpp/debugcount.hpp>
#include <boost/shared_ptr.hpp>
#inclu... | [
"ahiguti100@gmail.com"
] | ahiguti100@gmail.com |
488b717c91a0f1f51ee8c5696b441112afec77e2 | 3911843b9b956d2351cebeb8b1c78478d78b0fb5 | /13_june_code_forces/main.cpp | 0d32c3957c547b30a371ba4fc8163a5dcde40ff3 | [] | no_license | sainisajal147/Codeforces | 783276b50ab045b3369fbc95138a07617b9be222 | 34b6f376785392ff5d4a62791c703d69fd47c83d | refs/heads/main | 2023-05-01T14:53:58.231082 | 2021-05-24T05:59:56 | 2021-05-24T05:59:56 | 370,239,939 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,200 | cpp | #include <iostream>
#include<algorithm>
#include<set>
#include<bits/stdc++.h>
#include<deque>
using namespace std;
typedef long long int ll;
ll Sum(vector<ll > a,ll i,ll j)
{
ll sum=0;
for(int k=i;k<=j;k++)
{
sum+=a[k];
}
return sum;
}
int main()
{
ll t;
cin>>t;
while(t--)
{
... | [
"sainisajal147@gmail.com"
] | sainisajal147@gmail.com |
e8f0db5daddfdb31a4da2a00582897ad0cb4fec2 | 8144e12e0c5adc405309cebc396c9fec4f5e68b5 | /algorithm_template/algorithm_template/run.cpp | aabf4846e153e7f13d3bab8d1c691b3f8f0b9afa | [] | no_license | izzhong/first-repository | cd3bb07d7ca4b2e073dca58d4d08d7f6fa5e68fc | 49d17b12a71d249561d89476e19fc73ef5f7277c | refs/heads/master | 2021-09-24T09:47:31.849593 | 2018-10-04T07:11:16 | 2018-10-04T07:11:16 | 151,537,228 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,870 | cpp | #include<iostream>
#include<vector>
#include<random>
#include<ctime>
#include<Windows.h>
#include"matrix_chain_multiplication.h"
using namespace std;
using namespace alg;
vector<matrix<double>> RandomMatrixChain(size_t max_row_col, size_t size)
{
default_random_engine e(static_cast<size_t>(time(0)));
uniform_int_dis... | [
"2544054211@qq.com"
] | 2544054211@qq.com |
0fb34f59a5df70d62ff810c9b9d6c99fc26344cc | acea6cd23fa94e2361c8a2bc8a85fe25d00b9d16 | /src/algorithm/cpp/flatten-binary-tree-to-linked-list/main.cpp | 9cae8cc262f9e2bce4c1955358d57df2082e9022 | [] | no_license | huaxiufeng/leetcode | 77742e90a11263475a49ce9beadfa923515d3109 | 5c5dec2044897e3ccb82d310e15ca608ec30e588 | refs/heads/master | 2021-06-04T08:50:59.125768 | 2019-10-21T09:11:42 | 2019-10-21T09:11:42 | 27,822,279 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,735 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <queue>
#include <algorithm>
using namespace std;
template <typename T>
void display(vector<T> array) {
for (int i = 0; i < array.size(); i++) {
cout<<array[i]<<" ";
}
cout<<endl;
}
struct TreeNode {
int val;
TreeNode *left;... | [
"huaxiufeng@kaisquare.com.cn"
] | huaxiufeng@kaisquare.com.cn |
d5c8dc9924734ced1035bf23a89abe9851d2241b | 536656cd89e4fa3a92b5dcab28657d60d1d244bd | /chrome/browser/devtools/devtools_window.h | 9e51720ba604768242ad6750b18ef0fd25f63a38 | [
"BSD-3-Clause"
] | permissive | ECS-251-W2020/chromium | 79caebf50443f297557d9510620bf8d44a68399a | ac814e85cb870a6b569e184c7a60a70ff3cb19f9 | refs/heads/master | 2022-08-19T17:42:46.887573 | 2020-03-18T06:08:44 | 2020-03-18T06:08:44 | 248,141,336 | 7 | 8 | BSD-3-Clause | 2022-07-06T20:32:48 | 2020-03-18T04:52:18 | null | UTF-8 | C++ | false | false | 19,502 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_
#define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_
#include <memory>
#include <string>
#include "... | [
"pcding@ucdavis.edu"
] | pcding@ucdavis.edu |
7cec361da790aa2a57249ce0b8dfd9757f7a1169 | 3d8e58ae6374d141239476f96996f8d3cdd6f265 | /p683_K_Empty_Slots/p683.cpp | 5bfd8f8247c859aea70356420983df0ec009edfd | [
"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 | 1,031 | cpp | #include <iostream>
#include <fstream>
#include <sstream>
#include <memory>
#include <vector>
#include <stack>
#include <queue>
#include <map>
#include <unordered_map>
#include <set>
#include <string>
#include <cassert>
#include <stdlib.h>
#include <algorithm>
#include <cmath>
using namespace std;
class Solution {
pub... | [
"greatzhangs@outlook.com"
] | greatzhangs@outlook.com |
2ce397bcac462e00c169e15216faef1d18debe9f | 44ad9d2de0fd2113501820e814511b355979e3de | /tests/files/netcdf3-file.cpp | 93b88b1b2ae9635b9bdd1612b8a22a61aa34e0a1 | [
"GPL-1.0-or-later",
"MPL-2.0",
"BSD-3-Clause",
"MPL-1.0"
] | permissive | chemfiles/chemfiles | eae2760c50f01d225ddbf70c6bc7e9be8bd62f65 | 501b7cbb767899aa1e2e23eb8e23787ab5bbcc3b | refs/heads/master | 2023-09-01T07:15:14.741611 | 2023-08-16T09:16:29 | 2023-08-22T14:18:55 | 30,712,631 | 148 | 67 | BSD-3-Clause | 2023-09-07T13:58:54 | 2015-02-12T16:50:09 | C++ | UTF-8 | C++ | false | false | 10,411 | cpp | // Chemfiles, a modern library for chemistry file reading and writing
// Copyright (C) Guillaume Fraux and contributors -- BSD license
#include "catch.hpp"
#include "chemfiles.hpp"
#include "chemfiles/files/Netcdf3File.hpp"
#include "chemfiles/utils.hpp"
#include "helpers.hpp"
using namespace chemfiles;
static std::s... | [
"luthaf@luthaf.fr"
] | luthaf@luthaf.fr |
2b332d9747a20290f68255dc3b1d9c577c66aa25 | 09569d187289cebf8604ea4d0d8380b6ffa6b552 | /share/ProRotoQml/Theme/plugin.h | f6ca36ec2cbd19ef2c2fad8df1f2e6dd32885dfe | [
"Apache-2.0"
] | permissive | protoblock/protoblock | 69477800eef1a4ed932676f047b08a047a0370cc | 9557d60d6551fdb097eebd18cd6c95dc0bec6ffe | refs/heads/master | 2022-09-11T05:18:17.676889 | 2022-08-29T19:12:46 | 2022-08-29T19:12:46 | 131,453,888 | 14 | 4 | Apache-2.0 | 2022-08-29T19:12:47 | 2018-04-29T00:23:58 | C | UTF-8 | C++ | false | false | 877 | h | #ifndef ProRotoQmlThemePlugin_H
#define ProRotoQmlThemePlugin_H
#include <QQmlExtensionPlugin>
#include <QStandardPaths>
#include <QQmlContext>
#include <QQmlEngine>
#include <QString>
#include <QGuiApplication>
#include "colors.h"
static QObject *colors(QQmlEngine *engine, QJSEngine *scriptEngine);
static QObject *... | [
"josephjamesmills2@gmail.com"
] | josephjamesmills2@gmail.com |
497339ad36e8197c3c22ffee94910b952cd4bede | ae0a5df9da79995efb679ced90bac8e0f30b6c73 | /Roteiro 8 - Questão 2/Imovel.h | ce1c38f1cf2c1d5fcdd8dcc18924222bb3a4d350 | [] | no_license | odilon-matos/LP1 | 1af52a70bb07b35e5a4e75454f6a46ba6b8864a7 | 7b9a39940bc266d656e0a77ab5390c81835c026a | refs/heads/master | 2022-11-22T17:13:58.778915 | 2017-04-25T13:03:01 | 2017-04-25T13:03:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 944 | h | #ifndef IMOVEL_H_INCLUDED
#define IMOVEL_H_INCLUDED
#include "Endereco.h"
class Imovel
{
private:
Endereco local;
public:
void setEndereco()
{
std::string l, b, c, cp;
int n;
std::cout << "Logradouro: ";
std::cin >> l;
local.setLogradouro(l);
std::cout << "B... | [
"ttes@teste.com"
] | ttes@teste.com |
3b7792c4bfbeee2ccd6e61df72d69b0e30c48c61 | f4bf6aff64bcb303de8af5322be16bac1499648a | /content/shell/utility/shell_content_utility_client.h | 53c02bc0906265ff0e048ed49f984dbd09896d6d | [
"BSD-3-Clause"
] | permissive | yulius-fxpal/chromium | 6a1b81cbb2995ba7d7066fcbaf10ef86d01e6dfc | 52994137193223b3aae3cf01bc8a02e119e73a62 | refs/heads/master | 2022-11-05T02:43:03.645757 | 2018-12-03T22:57:13 | 2018-12-03T22:57:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,473 | h | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_SHELL_UTILITY_SHELL_CONTENT_UTILITY_CLIENT_H_
#define CONTENT_SHELL_UTILITY_SHELL_CONTENT_UTILITY_CLIENT_H_
#include "base/macros.h"
#inc... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
cd4f5580aba230775224a26c6bfa6eed5d931fc1 | 75a93a056a6d28c13d6916819a43f0e458f68ce2 | /Class Works/09.04.2019/09.04.2019/Source.cpp | 8b279ac2dcdbc520d34eb2a2a93f0635b7934374 | [] | no_license | ssashkaa01/cplusplus | e049f2f48f470a0ab5664d4a4e6afa7a21723aa4 | 5abcfffc3b46bd19e302f9328fd32c521d1baaab | refs/heads/master | 2020-04-19T23:30:55.675827 | 2019-04-25T08:56:49 | 2019-04-25T08:56:49 | 168,498,026 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,619 | cpp | #include <iostream>
#include "array.h"
using namespace std;
void Menu() {
cout << "0 - exit" << endl;
cout << "1 - create array" << endl;
cout << "2 - fill array" << endl;
cout << "3 - print array" << endl;
cout << "4 - add element in array with index" << endl;
cout << "5 - delete element in array with index"... | [
"ssashkoo01@step.itstep.rv.ua"
] | ssashkoo01@step.itstep.rv.ua |
5fda5729c937d93bc86b15549382b6e7aa55d18f | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /third_party/WebKit/Source/core/editing/EditingStrategy.h | be8756d87a9d341e58bef17a17bc3519c134fd9c | [
"BSD-3-Clause",
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-only",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 1,530 | h | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef EditingStrategy_h
#define EditingStrategy_h
#include "core/CoreExport.h"
#include "core/dom/FlatTreeTraversal.h"
#include "core/dom/NodeTraversal... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
43cbd97614a6051667087219713afa5c71fa9452 | 0813e18eb6b6cd5de9898c33788b9ab7e93727c6 | /kattis/antiques.cpp | 59e37a71947ba63e796d472cb1198a36a8144be7 | [
"MIT"
] | permissive | metaflow/contests | a769e97337363743a1ec89c292d27939781491d3 | 5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2 | refs/heads/master | 2021-07-13T00:09:23.470950 | 2021-06-28T10:54:47 | 2021-06-28T10:54:47 | 19,686,394 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,199 | cpp | #include <bits/stdc++.h>
#if defined(LOCAL)
#include "prettyprint.h"
#endif
using namespace std;
using vi = vector<int>; using vvi = vector<vi>;
using ii = pair<int,int>; using vii = vector<ii>;
using l = long long; using vl = vector<l>; using vvl = vector<vl>;
using ll = pair<l,l>; using vll = vector<ll>; using vvll... | [
"goncharov.mikhail@gmail.com"
] | goncharov.mikhail@gmail.com |
546ecbb97f11bfaf4c452e5a3657330a2e4499ee | 0157d950b3b329b6241785d67c9f9ff541e0e709 | /Praktikum_07_html_tmpl/Personen.cpp | 0d94f1e823a5692ea84644da2a4e1b0eb897defd | [] | no_license | Th3shoterZ/GIP | 972db113cde531f91374ba2e800580eaf82a9101 | 8ec3f5984313beb9d8be4bfaf88134c980c60eff | refs/heads/master | 2022-06-18T19:36:49.920386 | 2020-05-10T04:38:17 | 2020-05-10T04:38:17 | 262,710,915 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 425 | cpp | #include <string>
#include <iostream>
#include "Texte.h";
#include "Personen.h";
using namespace std;
Person extrahiere_person(string eingabezeile)
{
Person p;
string rest;
spalte_ab_erstem(',', eingabezeile, p.nachname, rest);
spalte_ab_erstem(',', rest, p.vorname, p.geburtsdatum);
p.nachname = trimm... | [
"noreply@github.com"
] | Th3shoterZ.noreply@github.com |
85785859ba4e0ce47e786b3cdd10125780c1d99b | 6a46c12697cdd5786e6fd47082fc55dfaf20e08e | /SfJoystick.hpp | 2be4550bebabbe29c446820db84e36d25767327e | [] | no_license | GremSnoort/ROV-main-Control | 6dce2768401a4b7a1330277db9c80e653d8640f6 | 334a4d01276285959a8ef004e491796d8e727470 | refs/heads/master | 2020-03-25T20:36:43.043067 | 2018-08-09T10:39:42 | 2018-08-09T10:39:42 | 144,138,710 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 788 | hpp | #pragma once
#include "SfJoystickSettingsDialog.hpp"
#include <QObject>
class SfJoystick : public QObject {
Q_OBJECT
public:
SfJoystick(QObject* parent = nullptr);
~SfJoystick();
int xAxis();
int yAxis();
int zAxis();
int wAxis();
int servoXAxis();
int servoYAxis();
boo... | [
"grem_snoort@protonmail.com"
] | grem_snoort@protonmail.com |
53e8d4b516c8b87bdbed89ea087c55d36d9d8369 | d6962c5c0e7656ac322d133701c24195b6ddadc4 | /Tests/FT/FT.cpp | 74a4f767256a9e738dec3108ebf25222f631e4c5 | [
"MIT"
] | permissive | hewitt/CppNoddy | 9efebc8a55bff97292f1e1b04e8d0ec54ef513a2 | 486c3f42dbdadb27596a2dde03bc83246b82189d | refs/heads/master | 2023-07-10T01:18:20.126184 | 2023-06-16T12:32:17 | 2023-06-16T12:32:17 | 768,315 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,496 | cpp | /// \file FT.cpp
/// \ingroup Tests
/// \ingroup FT
/// A simple 1D DFT test case. Takes a signal, evaluates the
/// (slow) DFT, then inverts the same DFT and subtracts the
/// result from the original signal data.
#include <FT.h>
#include <OneD_Node_Mesh.h>
#include <Types.h>
#include <Utility.h>
using namespace Cpp... | [
"rich.e.hewitt@gmail.com"
] | rich.e.hewitt@gmail.com |
e24bb3d75f0b7d3c1a618573093e23bc364eb394 | 2b984e87cc5239bda08a9de7ddd31ad2a18774d5 | /baekjoon/1201.cpp | e02a3100b43245dcbd9aad30520240ae4533bee7 | [] | no_license | pce913/Algorithm | f862d0f450471c3b910bcf50e684caf856ec4165 | 1cb695972ea6804c8d669a9b606f1aaf87360af6 | refs/heads/master | 2022-02-08T06:51:39.537054 | 2022-01-31T16:20:03 | 2022-01-31T16:20:03 | 110,357,251 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,194 | cpp | #include<stdio.h>
int main(){
int N, M, K;
scanf("%d %d %d",&N,&M,&K);
// N >=M+K-1 : 적어도 M개의 정수는 증가 수열에 포함되어야 하고
//적어도 K개의 정수는 감소 수열에 포함되어야 한다.
//두 수열은 최대 정수 1개를 공유할 수 있기 때문에 N >=M+K-1 이어야 한다.
// N<=M*K : 만약 N이 MK+1일 경우 길이가 M+1인 증가 수열이나
// 길이가 k+1인 감소 수열을 반드시 만들 수 있다. (비둘기집 원리)
//1. 1부터 N까지 수를 오름차순으로 적는다
//... | [
"pce0913@naver.com"
] | pce0913@naver.com |
41310092869dbead2495d87360c47e3fba38d4cb | 1573c9eb6726dc9babb97938be99536f8c9e7196 | /InertialSenseSDK/src/DataKML.h | 81ed7e21094161f21b9ad14fdc37f966b903ffeb | [
"MIT"
] | permissive | ShaohengZhou/IMUGPSNode | 3e1b94a000f4836ca9ab288aa041b84dc6427f99 | 3e980eebfd95721e259eae0a4146dbf50e78f264 | refs/heads/master | 2021-05-03T22:18:17.539865 | 2018-02-06T05:46:48 | 2018-02-06T05:46:48 | 120,391,938 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,442 | h | /*
MIT LICENSE
Copyright 2014 Inertial Sense, LLC - http://inertialsense.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files(the "Software"), to deal in the Software without restriction, including without limitation the rights to use, co... | [
"szhou228@wisc.edu"
] | szhou228@wisc.edu |
1f5de213458be4e64400c0c80178159654abfe91 | 79da638f1edeb2b0ee49d8400a962712504832f0 | /src/util/io.cpp | 4189c5a53de97b170cf66cf9ed672f17bbac10bf | [] | no_license | andy-hanson/noze | 1ca3e5937ceb944caa26aec9de3b474e21a67ecc | ad00c46ed21a73e100599ebb9991ba64726656c4 | refs/heads/master | 2020-06-12T16:54:13.407053 | 2019-09-21T20:22:41 | 2019-09-24T05:14:17 | 194,363,810 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,675 | cpp | #include "./io.h"
#include <errno.h>
#include <fcntl.h> // O_RDONLY
#include <spawn.h> // posix_spawn
#include <string.h> // strerror
#include <sys/stat.h> // stat
#include <sys/wait.h> // waitpid
#include <unistd.h>
#include "./arrBuilder.h"
#include "./arrUtil.h"
namespace {
int tryOpen(const AbsolutePath path, c... | [
"andy.pj.hanson@gmail.com"
] | andy.pj.hanson@gmail.com |
f432e3c6352578c42522419cb370d378674eca57 | 81cf157e25185df17b78ac09f5686c51198d8db7 | /Algorithm/提高/搜索/DFS之搜索顺序/单词接龙.cpp | dbeb1b53eb531f0260dbff42b90201d194299c37 | [] | no_license | renyajie/Learning | 97e3263e6dbe4ccff37ad3fabd9a6490259ab2b7 | 5174b0e7120ef30c8834fe3d06fcd482240ac2f6 | refs/heads/master | 2023-03-22T01:28:40.647641 | 2021-03-23T02:41:20 | 2021-03-23T02:41:20 | 349,076,372 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,075 | cpp | #include<iostream>
using namespace std;
const int N = 20;
int g[N][N];
string words[N];
int used[N];
int n;
int ans;
void dfs(int i, int cnt)
{
ans = max(ans, cnt);
used[i]++;
for(int j = 0; j < n; j++)
{
if(g[i][j] && used[j] < 2)
{
dfs(j, cnt + words[j].size() - g[i... | [
"renyj@bupt.edu.cn"
] | renyj@bupt.edu.cn |
1911e0e2938d719d1d6dae860c6f1120d6842355 | b5d1919dbbbc6c5d31e4b8436a0dafb95984cc50 | /10.1/main/mainDoc.h | 1f65c434f1f6082c034a1846d215b105ac8e2f00 | [] | no_license | ningkekeke/EXP10 | f4cdf1f9bd3d6effd223110adc354ea9f406be42 | bbbda102cbb3c4d2acf17db952e02e9319c49584 | refs/heads/master | 2022-07-21T04:53:49.034565 | 2020-05-15T12:36:50 | 2020-05-15T12:36:50 | 264,188,325 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 833 | h |
// mainDoc.h : CmainDoc 类的接口
//
#pragma once
class CmainDoc : public CDocument
{
protected: // 仅从序列化创建
CmainDoc();
DECLARE_DYNCREATE(CmainDoc)
// 特性
public:
// 操作
public:
// 重写
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
#ifdef SHARED_HANDLERS
virtual void InitializeSearchCo... | [
"2290418168@qq.com"
] | 2290418168@qq.com |
20839ef64de6c31b82248e6cd3502ba959a7478f | aa8d0b28b5440b9bebebf9f1aa4588663a84cb58 | /Energo/rep/bill/fBillPrint.cpp | c1cedc16ee0fd2ed8558e58be93828101288fbe8 | [] | no_license | ssivtsov1/energo | a27713e3276bd2dd31bf329097466c60007be0a8 | bdd7ba17fee9840ebf7ee344488d07f99c05fa85 | refs/heads/master | 2020-03-11T12:52:18.781588 | 2018-04-18T05:49:24 | 2018-04-18T05:49:24 | 130,009,555 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 36,045 | cpp | //---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "fBillPrint.h"
#include "xlcClasses.hpp"
#include "xlReport.hpp"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma link "ZPg... | [
"globalserg@ukr.net"
] | globalserg@ukr.net |
aeb78063dd94be1c43e5bda637b2d4c7653acfb7 | d1cee40adee73afdbce5b3582bbe4761b595c4e1 | /back/RtmpLivePushSDK/boost/boost/xpressive/detail/core/matcher/assert_bol_matcher.hpp | 3abdcf8d18b5279e5facd2a7288d6dd7f7e8b88a | [
"BSL-1.0"
] | permissive | RickyJun/live_plugin | de6fb4fa8ef9f76fffd51e2e51262fb63cea44cb | e4472570eac0d9f388ccac6ee513935488d9577e | refs/heads/master | 2023-05-08T01:49:52.951207 | 2021-05-30T14:09:38 | 2021-05-30T14:09:38 | 345,919,594 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,083 | hpp | ///////////////////////////////////////////////////////////////////////////////
// assert_bol_matcher.hpp
//
// Copyright 2008 Eric Niebler. 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)
#ifndef BOOST_XPRESSIV... | [
"wenwenjun@weeget.cn"
] | wenwenjun@weeget.cn |
40065baf20a188c62ef281425c56f431da58908f | 03ef49d7b525671f5bab627b8b9170ca6f454a53 | /main.cpp | 74110e835672e8c0b2ba7200f53ac683df849863 | [] | no_license | mikhail-yurovskiy/SegmentTree | 240a08abcea6f6b9fb79c3cefa1b3f21adfdfbd2 | cfaa1dc968302a13bbd630c76faa2e6452e08b4d | refs/heads/master | 2020-04-02T11:56:51.958234 | 2018-10-24T23:02:55 | 2018-10-24T23:02:55 | 154,413,217 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,423 | cpp | #include "SegmentTree.h"
#include <bits/stdc++.h>
using namespace std;
int main()
{
{
vector<int> segtree = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 };
auto const original_size = segtree.size();
SegmentTree::prepare( segtree, plus<>() );
bool result = true;
for (auto i = segtree... | [
"mikhail.yurovskiy@gmail.com"
] | mikhail.yurovskiy@gmail.com |
95d929461d4199dfca242d1a7695efe570416963 | 3a056bf15f3b1224202faf4ef7610111601cab69 | /src/render/mesh/entity_mesh.h | c2e4b7575b4fddce19f7e32a58f50cea0730f7f5 | [] | no_license | Ogiwara-CostlierRain464/Ogiwara-Labo | 437df39e6d7e685b727f267f6eda3844eb7daaf0 | 15a786c7610b9781be7c2cb07a5f09140e661651 | refs/heads/master | 2022-11-13T00:28:15.219234 | 2020-07-15T12:22:49 | 2020-07-15T12:22:49 | 267,290,407 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 784 | h | #ifndef LABO_ENTITY_MESH_H
#define LABO_ENTITY_MESH_H
#include "mesh.h"
#include "../../math/glm.h"
namespace labo::render{
class EntityMesh{
public:
EntityMesh() = default;
void addFace(
const std::array<GLfloat, 12> &entityFace,
const std::array<GLfloat, 8> &textureCoords,
const glm::vec3 &positio... | [
"yushiogiwara@gmail.com"
] | yushiogiwara@gmail.com |
eb6f34d98385f5264b4f0ef5a07b7953db620020 | 65985a6d341f256230793342d20c8afc19879936 | /apps/tcp_server.cc | d9f9c0193a600ea6a300f080b3101147bf4d0345 | [] | no_license | johhud1/networking-proj2 | 87a1178aed73129e8fed1bb40a47a21a276cf304 | 018ef6fe09642ff3d2cef680b1de367e642f6736 | refs/heads/master | 2021-01-22T05:24:07.935630 | 2012-02-21T03:54:15 | 2012-02-21T03:54:15 | 3,499,987 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,142 | cc | #include <stdlib.h>
#include <iostream>
#include <ctype.h>
#include "minet_socket.h"
using std::cout;
using std::cin;
using std::cerr;
using std::endl;
void usage()
{
cerr << "tcp_server k|u port\n";
}
int main(int argc, char *argv[])
{
char buf[512];
sockaddr_in server_sa, client_sa;
int cfd, fd, rc;
if ... | [
"jch570@tlab-09.ece.northwestern.edu"
] | jch570@tlab-09.ece.northwestern.edu |
e148d66e02375397dc440749eb6e780060c4ebce | d61d05748a59a1a73bbf3c39dd2c1a52d649d6e3 | /chromium/buildtools/checkdeps/testdata/allowed/foo_unittest.cc | 28a660b4fe045f827687d9aa00d45a1197f3edc7 | [
"BSD-3-Clause"
] | permissive | Csineneo/Vivaldi | 4eaad20fc0ff306ca60b400cd5fad930a9082087 | d92465f71fb8e4345e27bd889532339204b26f1e | refs/heads/master | 2022-11-23T17:11:50.714160 | 2019-05-25T11:45:11 | 2019-05-25T11:45:11 | 144,489,531 | 5 | 4 | BSD-3-Clause | 2022-11-04T05:55:33 | 2018-08-12T18:04:37 | null | UTF-8 | C++ | false | false | 228 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "checkdeps/testdata/disallowed/teststuff/good.h"
| [
"csineneo@gmail.com"
] | csineneo@gmail.com |
71cce61b73e23e90fdb6ac6aa534294daee7a868 | bfd8933c9605067202e1fbe4dbd38e9be7d319eb | /Lib/Chip/Unknown/SiliconLabs/SIM3U1x4_SVD/DMAXBAR_0.hpp | a8a7558ad78e0ed02d31c08b1c7bee2c4c6d8ef8 | [
"Apache-2.0"
] | permissive | gitter-badger/Kvasir-1 | 91968c6c2bfae38a33e08fafb87de399e450a13c | a9ea942f54b764e27dbab9c74e5f0f97390a778e | refs/heads/master | 2020-12-24T18:23:36.275985 | 2016-02-24T22:06:57 | 2016-02-24T22:06:57 | 52,541,357 | 0 | 0 | null | 2016-02-25T16:54:18 | 2016-02-25T16:54:18 | null | UTF-8 | C++ | false | false | 35,346 | hpp | #pragma once
#include "Register/Utility.hpp"
namespace Kvasir {
//None
namespace Nonedmaxbar0{ ///<Channel 0-7 Trigger Select
using Addr = Register::Address<0x40037000,0x00000000,0,unsigned>;
///DMA Channel 0 Peripheral Select.
enum class Ch0selVal {
usb0Ep4Out=0x00000000, ... | [
"holmes.odin@gmail.com"
] | holmes.odin@gmail.com |
77ff46156addf1948e4e7218087eba26a2bf58f4 | 1c0eb752432ee7ab1eecca5b7004dc871338d3c8 | /lockless_pipe/Utility.h | 69ea46596f0b398c72347de314ee1668077350ac | [] | no_license | gmarler/perf | 52bd55cf8b04c59f58d1f4133f935899579c34ef | a933e352a840a99612e4e824438d951dd7385cbc | refs/heads/master | 2021-01-14T13:08:46.243380 | 2019-08-21T18:08:05 | 2019-08-21T18:08:05 | 68,309,678 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,153 | h | #ifndef UTILITY_H
#define UTILITY_H
#include <cstddef> // for size_t
#include <exception>
#include <stdint.h>
#include <string>
#include <vector>
/*
* Double macro to stringify things via preprocessor
* Handy for the __LINE__ macro
*/
#define _QUOTE(_x) #_x
#define _MAKESTR(_x) _QUOTE(_x)
#if __cplusplus > 1... | [
"gmarler@bloomberg.net"
] | gmarler@bloomberg.net |
d60b962edf25659ea61fc62775f6a2096876cab6 | 8a5f4b502ef2dccbf4a39676c19bee514cfc0065 | /old/include/database.tcc | 9ef3ed8bfe6240b2d45244d794e0cb1204318ffa | [
"MIT"
] | permissive | WovenTales/agora | 3c8b99ac3eabe11cb5c527611798b81d7ab92004 | 1c6d16ddcc160347ca6a42e24d26bd67595e9fb2 | refs/heads/master | 2020-03-28T01:28:40.585551 | 2015-12-14T17:55:34 | 2015-12-14T17:55:34 | 37,218,542 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 316 | tcc | // Contained in namespace Database
private:
//! Discard unsaved changes from a stage
/*! \tparam T type contained by the stage to clear
*
* \param stage the stage to clear
*/
template <typename T>
void clearStaged(std::queue<T*> &stage) {
while (!stage.empty()) {
delete stage.front();
stage.pop();
}
};
| [
"woventales@gmail.com"
] | woventales@gmail.com |
9217e9cb72169d0ff1229d1b4cf05901d04dffc5 | a7c603575b12aece8c1e5a58059d01fe37b830cd | /test/Program/C++/UnitTest/lib/src/unit_test.cpp | 26f0ef00eb920011908a45812b8c79e228c2063e | [] | no_license | gakimaru/public | 37a4076af14ab6c8366422d538e89d28ca208f83 | 31650f026cd476f32bc82926f524c2c4dabd0c83 | refs/heads/master | 2021-01-02T09:26:29.495954 | 2014-07-26T01:58:20 | 2014-07-26T01:58:20 | 10,382,367 | 3 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 13,744 | cpp | #include "unit_test.h"
#ifdef UT_ENABLED
#include <stdio.h>
//for Windows
#include <windows.h> //コンソールのカラー表示用にインクルード
#include <conio.h> //(同上)
#include <winbase.h> //パフォーマンスカウンターの計測用にインクルード
namespace UnitTest
{
//ユニットテスト情報
static const int UNIT_TEST_FUNC_LIST_NUM_MAX = 1024;
static int s_funcListNum = 0;
stat... | [
"ita_gaki@wd5.so-net.ne.jp"
] | ita_gaki@wd5.so-net.ne.jp |
4eeabf714cfc3c40319e17ee18ffc9b12730e7e7 | 88ae8695987ada722184307301e221e1ba3cc2fa | /v8/src/wasm/wasm-import-wrapper-cache.cc | b600258d0b40c8e56f8a21d36d112a2521522ab6 | [
"BSD-3-Clause",
"SunPro",
"Apache-2.0"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 1,816 | cc | // Copyright 2019 the V8 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.
#include "src/wasm/wasm-import-wrapper-cache.h"
#include <vector>
#include "src/wasm/wasm-code-manager.h"
namespace v8 {
namespace internal {
namespa... | [
"jengelh@inai.de"
] | jengelh@inai.de |
4fab5b09f7051809d0cfbbf9bb2c027aab19813d | 88a60ce51b6ac092dc1886225f1d45b1f753dc92 | /lista1/p17.cpp | f23ddb1f58198ed78df8aac2874a598c6a394efa | [] | no_license | helfo2/competitive-programming | cf0aa1e962a6e3ad66f0406653def42f60e5711e | 4db0ecffbf7408e81b26fa1880b4ab94ac9b6b5f | refs/heads/master | 2022-11-22T01:02:01.618468 | 2020-07-27T22:25:09 | 2020-07-27T22:25:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,491 | cpp | #include <iostream>
#include <vector>
#include <utility>
#include <climits>
#include <set>
#include <cstdio>
#include <string>
using namespace std;
int inf = 100009;
int gy[26][26], gm[26][26];
int main(void){
int n;
while(cin >> n){
if(n == 0) break;
for(int i = 0; i < 26; i++){
for(int j = 0; j < 26; j+... | [
"henriqueelferreira@gmail.com"
] | henriqueelferreira@gmail.com |
278a1511c69cbd11929d6a288ee7e0d0ce34a51b | e58f2ff283121bbea61174b86851d3887ccc57e0 | /input_handler.h | 188d6099620a5f941fafb174c68be1a8a933ed6b | [] | no_license | alela/bombertux | f52b9005474154ca85dfd2d9190673fba07b8789 | 762d636a29756cc9071584b2e7abe2040ffb69e6 | refs/heads/master | 2016-09-10T09:15:45.206056 | 2014-11-06T19:49:09 | 2014-11-06T19:49:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,478 | h | #ifndef INPUT_HANDER_H
#define INPUT_HANDER_H
#include "player.h"
#include <vector>
#include <map>
class Input_handler{
std::vector<std::shared_ptr<Player>>& m_players;
std::map<std::string, sf::Keyboard::Key> cfg_to_key;
void read_config(std::string file);
void read_movement(std::map<sf::Keyboard::Key, i... | [
"11@22.33"
] | 11@22.33 |
a96ea882f959725c033196f3f2e186ed031e77db | 03b5b626962b6c62fc3215154b44bbc663a44cf6 | /src/instruction/VPMOVSWB.cpp | 4df592441d826c366781718faa0a9c31c535cb22 | [] | no_license | haochenprophet/iwant | 8b1f9df8ee428148549253ce1c5d821ece0a4b4c | 1c9bd95280216ee8cd7892a10a7355f03d77d340 | refs/heads/master | 2023-06-09T11:10:27.232304 | 2023-05-31T02:41:18 | 2023-05-31T02:41:18 | 67,756,957 | 17 | 5 | null | 2018-08-11T16:37:37 | 2016-09-09T02:08:46 | C++ | UTF-8 | C++ | false | false | 199 | cpp | #include "VPMOVSWB.h"
int CVPMOVSWB::my_init(void *p)
{
this->name = "CVPMOVSWB";
this->alias = "VPMOVSWB";
return 0;
}
CVPMOVSWB::CVPMOVSWB()
{
this->my_init();
}
CVPMOVSWB::~CVPMOVSWB()
{
}
| [
"hao__chen@sina.com"
] | hao__chen@sina.com |
e7f8e5950b2d2782ed13d8bfcfb882ee533a05ab | d2b2f59e3ff929bc3c12fa9f32bac90ad5882958 | /code/VirtualGrasp/virtualgrasp.cpp | 541529c20d4b27016eebe7c1ad64bb732fe65e5c | [] | no_license | jjcao/graspSaliency | 27b33bd1c3f7f550a61b6cd3661fed2f315ec38a | 7a2fef80c81aca3a808544a4c4de9fbd4d2c8421 | refs/heads/master | 2020-12-24T05:43:29.260536 | 2016-11-18T11:17:01 | 2016-11-18T11:17:01 | 73,456,937 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 173 | cpp | #include "stdafx.h"
#include "virtualgrasp.h"
VirtualGrasp::VirtualGrasp(QWidget *parent)
: QMainWindow(parent)
{
ui.setupUi(this);
}
VirtualGrasp::~VirtualGrasp()
{
}
| [
"jjcao1231@gmail.com"
] | jjcao1231@gmail.com |
bfeb7e28e76e222789d9465d7323ea05ed65f21c | d00f4a09a0d6e9269dcba4ade632fae344d8930b | /benchmarks/module/core/inc/regular_if/inc.hpp | f8e06c360c2d2ae36fa8de7f3d35f54d7768d2c7 | [
"MIT"
] | permissive | mfkiwl/eve | b1e1e623b5d170a885f555906f4dc2faadcc626c | 961749111b4edd78e4f69c6e2c5e4b1a9088a19a | refs/heads/main | 2023-04-29T04:00:38.030889 | 2020-09-17T15:58:21 | 2020-09-17T15:58:21 | 355,671,435 | 0 | 0 | MIT | 2021-04-07T20:17:04 | 2021-04-07T20:17:03 | null | UTF-8 | C++ | false | false | 1,046 | hpp | //==================================================================================================
/**
EVE - Expressive Vector Engine
Copyright 2020 Joel FALCOU
Copyright 2020 Jean-Thierry LAPRESTE
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
SPDX-License-Identifier: MIT
**/
//=====... | [
"noreply@github.com"
] | mfkiwl.noreply@github.com |
fe6879a606a0d4385f91e6bc40aeb925623c5702 | aa887833c7c5fc6557dae37eef325e14743bbbd3 | /22.cpp | f4c875b97e6c6ab4d2d20c86326168d5b14f2ade | [] | no_license | qpwo2468/github-upload | f28dba6949e2d7d4f5d674282ed4f389fa45b0e3 | e7e1e921aa10ee8b5e37d3afa2c75c52154c814d | refs/heads/master | 2022-10-23T04:43:53.000605 | 2020-06-05T02:18:59 | 2020-06-05T02:18:59 | 269,505,187 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 650 | cpp | /*
题目:
从上往下打印出二叉树的每个节点,同层节点从左至右打印。
*/
#include "head.h"
using namespace std;
struct TreeNode {
int val;
struct TreeNode* left;
struct TreeNode* right;
TreeNode(int x) :
val(x), left(NULL), right(NULL) {
}
};
std::queue<TreeNode *> q;
std::vector<int> allNode;
vector<int> PrintFromTopToBottom(TreeNode* root)
... | [
"songyj@7invensun.com"
] | songyj@7invensun.com |
db8da71cf240f5366c55dbfaca546a9160c4afb4 | 136cbf8d4aa9a84de0e16c06a0cc97081f65ca25 | /剑指offer/30.最小的k个数.cpp | b1ff1ea109664d7a68b89a81dbe76457d34366f8 | [] | no_license | zhenghaoj/Algorithm | ca22db2f3ad9324d158c829185ee2cb572544033 | d20b6ae7c773ffb5aaf227aa556134652309aa1f | refs/heads/master | 2020-04-18T07:32:55.771431 | 2018-09-11T07:41:34 | 2018-09-11T07:41:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,241 | cpp | /*
题目描述:
输入n个整数,找出其中最小的K个数。
例如输入4,5,1,6,2,7,3,8这8个数字,则最小的4个数字是1,2,3,4,。
思路:
解法一:O(n)的算法,只有当我们可以修改输入的数组时可用,基于快排的Partition函数,
基于数组的第k个数来调整,使得比第k个数小的所有数字都位于数组左边,比第k个数字大的
都位于数组右边。
解法二:O(nlogK)的算法,特别适合处理海量数据
创建一个容量为k的大根堆,第一步将输入数组的前k个数插入此大根堆,
第二步将输入数组后面的数依此与大根堆堆顶元素比较,并将较小者替换掉大根堆堆顶元素。
考虑到可以用c++中的STL,我们... | [
"guangpuzhao@126.com"
] | guangpuzhao@126.com |
ecf41b66e7c0911f5feb7a2f88198a152c5931eb | af9f3ec2c6325092b77637ebd0a327e5b520b0f7 | /iOS/IncidentPlatform/IncidentPlatform/XMPParser/XMPTree.h | 319bc28b14b3b7c5b0418564f815797a88450b8f | [] | no_license | IncidentTechnologies/IncidentPlatform | eb270d9ff0018ea19fbe04c9595ebdce8974341f | da3d96c7a7ef35791f3f2fc55805f43875f41fe0 | refs/heads/master | 2021-06-11T06:29:34.117387 | 2017-03-06T03:20:31 | 2017-03-06T03:20:31 | 17,033,548 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,932 | h | #pragma once
// XMP Tree takes an XMP Parser object as an input / or creates
// one internally. Then it will create the appropriate XMP
// Tree that can then be navigated
#include "XMPNode.h"
#include "XMPParser.h"
#include "dss_list.h"
class XMPTree : public valid {
public:
// XMP can be created out of an ex... | [
"idanbeck@incidenttech.com"
] | idanbeck@incidenttech.com |
a1ce795b4f0971395a29f6af1276a2f35bbadf41 | 9de0cec678bc4a3bec2b4adabef9f39ff5b4afac | /PWGLF/STRANGENESS/Cascades/Run2/selectors/AliSelectorFindableHyperTriton3Body.h | 67afcde604da7a09dc6c01c8aadc01bcdf33e224 | [] | permissive | alisw/AliPhysics | 91bf1bd01ab2af656a25ff10b25e618a63667d3e | 5df28b2b415e78e81273b0d9bf5c1b99feda3348 | refs/heads/master | 2023-08-31T20:41:44.927176 | 2023-08-31T14:51:12 | 2023-08-31T14:51:12 | 61,661,378 | 129 | 1,150 | BSD-3-Clause | 2023-09-14T18:48:45 | 2016-06-21T19:31:29 | C++ | UTF-8 | C++ | false | false | 4,418 | h | #ifndef AliSelectorFindableHyperTriton3Body_h
#define AliSelectorFindableHyperTriton3Body_h
#include <TROOT.h>
#include <TChain.h>
#include <TFile.h>
#include <TSelector.h>
#include <TTreeReader.h>
#include <TTreeReaderValue.h>
#include <TTreeReaderArray.h>
// Headers needed by this particular selector
#include "AliE... | [
"maximiliano.puccio@cern.ch"
] | maximiliano.puccio@cern.ch |
6686d85dc8fba9474004c87d367ceddad441ec80 | 2e9e8a49f41560e1b623bb08605208e264b34a70 | /src/client.h | 3d0880ef7a9f3feebf105e5dc5bc627a397e8efd | [] | no_license | peze/node-multi-worker | b2ba719a5a0c445850c5e5a0c9436c150efa794b | 833992858f655f80fd6b36d3609d1927b78c4997 | refs/heads/master | 2020-03-28T23:41:47.024957 | 2018-09-22T12:37:55 | 2018-09-22T12:37:55 | 149,304,079 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,405 | h | //
// Created by hehe on 18/9/17.
//
#ifndef NODE_WORKER_CLIENT_H
#define NODE_WORKER_CLIENT_H
#include "util-inl.h"
class Client{
private:
class dataSend{
private:
v8::Persistent<v8::Function> cb;
char* prameter_json;
char* method_func;
Isolate* isolate;
uv_handle_t* _h... | [
"page@magicare.me"
] | page@magicare.me |
fbd871f6225d5a82d910df2022621e460c59560a | 89a284c3f970e55f19bb736a35c109697e882e74 | /Project_phase3/Project_3/Phase1_func.h | abc6e43a6ecb142a47db023855992ad509260d86 | [] | no_license | elahea2020/Search_Engine | 084dd3096526678bb4f058e5a8aebfcb9ebd9c7f | e98c9f428da0ee23a5098b246f89e958b1260791 | refs/heads/master | 2021-01-23T16:35:48.326185 | 2017-06-04T09:49:30 | 2017-06-04T09:49:30 | 93,304,274 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,770 | h | //
// Phase1_func.h
// Project_1_
//
// Created by Elahe on 12/20/15.
// Copyright (c) 2015 Elahe & Amineh. All rights reserved.
//
#ifndef __Project_1___Phase1_func__
#define __Project_1___Phase1_func__
#include <stdio.h>
#include <string>
#include <vector>
class Files
{
std::string address;
public:
std... | [
"elahe.ahmadi9779@gmail.com"
] | elahe.ahmadi9779@gmail.com |
2aff6873705684ca3c128f52174016891fc275f6 | 803bc1cdc2e03f26369db8281b2dd9aa2ceca173 | /src/compat/glibc_compat.cpp | d356481e22dd00e4637e667691c58d477ed197c9 | [
"MIT"
] | permissive | bpg-project/BPGCoin | 692a6b5137869817c811aa3845ee2374153cfa7e | b3942d07840261b67d6d3fbea99496003bf300d8 | refs/heads/master | 2020-03-20T03:55:57.055868 | 2018-06-13T07:34:49 | 2018-06-13T07:34:49 | 137,164,565 | 0 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 837 | 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/bpgcoin-config.h"
#endif
#include <cstddef>
#if defined(HAVE_SYS_SELECT_H)
#inc... | [
"bpgproject2018@gmail.com"
] | bpgproject2018@gmail.com |
df1da7ff11c27124a90340c9be9eb9c15f890de2 | 1faecdafc4f88e98126ddb730c3c3dbb55fda4ba | /树/二叉树已知前序中序求后序.cpp | b827f0d91d104f6be292b31719c19cfef9664abb | [
"Apache-2.0"
] | permissive | zhou-xingxing/algorithm_self | 8d45c8f419f457ffdf8ab3f39871f97f2f350fd4 | 12575c7583ceb7fc8299b0b44a84af939b911927 | refs/heads/master | 2022-12-30T05:08:25.745155 | 2020-10-16T14:23:15 | 2020-10-16T14:23:15 | 275,711,970 | 4 | 0 | Apache-2.0 | 2020-10-16T14:23:16 | 2020-06-29T02:31:47 | C++ | GB18030 | C++ | false | false | 1,138 | cpp | #include<stdio.h>
#include<iostream>
#include<string>
#include<cmath>
#include<algorithm>
#include<stdlib.h>
using namespace std;
//已知二叉树前序和中序,给出后序遍历
void post_order(string pre,string in){
int len=pre.length();
if(len==0){
return;
}
if(len==1){
cout<<pre[0];
return;
}
//根结点的位置,也是左子树结点的个数
int pos=in.fin... | [
"xmz@cau.edu.cn"
] | xmz@cau.edu.cn |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.