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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d7f1fbfd0083553fff4d943b798bf634819bf998 | 279e8b225d53aa9a1c85ee2a4ee7bfb9446591e0 | /src/gbkfit/driver/native/gbkfit_cuda/include/gbkfit/cuda/objective.hpp | c85b78f5a61ad452f661cb2339b11aa31ec7fb06 | [
"BSD-3-Clause"
] | permissive | bek0s/gbkfit | 1e7c6ee16a925d7bd5cc664b3f66c16edf35fe00 | 644c2af4f2ee90270111fae557ee958494bb9079 | refs/heads/master | 2023-03-07T15:47:29.693515 | 2023-02-14T11:21:37 | 2023-02-28T05:51:45 | 237,968,729 | 14 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 402 | hpp | #pragma once
#include "gbkfit/cuda/common.hpp"
namespace gbkfit::cuda {
template<typename T>
struct Objective
{
void
count_pixels(Ptr data1, Ptr data2, int size, T epsilon, Ptr counts) const;
void
residual(
Ptr obs_d, Ptr obs_e, Ptr obs_m,
Ptr mdl_d, Ptr mdl_w, Ptr mdl_m,
... | [
"geobekiaris@gmail.com"
] | geobekiaris@gmail.com |
b8d723fe52f9e7401f4c481290a7816a4e30d2e1 | 7d748f2cee2285dfaf75a8d2f62548c54b963906 | /ElfCopy-b96ad6369c8a978a253675b0454d3aa74e8a0635/Classes/Constants.cpp | 7a1d2fee8ce886ef5a0cb858acb54234d2e03be6 | [] | no_license | 73153/VideoPlayer | 73371cd888c64fe7e2bb1598ecc4f4b3683e5c52 | 1c6f0df92b3148bc38ea676fae5b6d12ae0d48b1 | refs/heads/master | 2021-01-18T10:41:07.788418 | 2015-03-26T07:11:49 | 2015-03-26T07:11:49 | 32,909,470 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 211 | cpp | //
// Constants.cpp
// ElfCopy
//
// Created by Ange Zhao on 14-5-20.
//
//
#include "Constants.h"
//全局变量
//选择头像次号
int m_intHead = 0;
bool selectOrPick = false;//true拍照,false相册
| [
"vivek2061990@gmail.com"
] | vivek2061990@gmail.com |
649b918be4ce84a1a16a9642e73b2730ca8136c0 | 8baa00a8c04f64e983532fa4a420c68f490bdaa8 | /devel/.private/pal_interaction_msgs/include/pal_interaction_msgs/ASRFileGoal.h | f6dbfdb9e721d78324c25876d90b148cf1a3c246 | [] | no_license | samuel-cavalcanti/TIAGo | e52c778f40ba8e03af21ba275b45b7faac5625b3 | 575533f713338b28ee5709279a874c9e374d77bd | refs/heads/master | 2021-04-06T01:32:09.090002 | 2018-03-10T23:51:45 | 2018-03-10T23:51:45 | 124,707,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,635 | h | // Generated by gencpp from file pal_interaction_msgs/ASRFileGoal.msg
// DO NOT EDIT!
#ifndef PAL_INTERACTION_MSGS_MESSAGE_ASRFILEGOAL_H
#define PAL_INTERACTION_MSGS_MESSAGE_ASRFILEGOAL_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_... | [
"scavalcanti111@gmail.com"
] | scavalcanti111@gmail.com |
5485550de341199750eece5c6ce327856f58bd4d | c168dba60b712070b096f34624b95fe5199c129d | /SourceCode/Font.h | d8f9d04329bc96ddf4b7a345b51b2e19954111dd | [] | no_license | Ochi89/GameUproadTest | 491bbf3bc9357651762e426e06a1dda2cd4c9945 | b801069dd5f767d8a844aef50861e378ea4ebe45 | refs/heads/master | 2020-05-21T13:25:25.973179 | 2019-05-11T07:31:19 | 2019-05-11T07:31:19 | 186,071,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,025 | h |
//=============================================================================
// @file Font.h
// @brief フォント
// @autor Takuya Ochi
// @date 2018/12/30
//=============================================================================
//-----------------------------------------------------------------------------
// @... | [
"gau.ochi23@gmail.com"
] | gau.ochi23@gmail.com |
1760930a541dd77642ad509493914122af3eb272 | 00a5fe452a9d0690e67f43d5500671a11c3d3876 | /Binary tree/biTree_levelWiseLL.cpp | d4e7ca19a2b57fd2ebce6752936bad5f003192eb | [] | no_license | DCYPHERR/vsCPP | c1ccf1010a9eb8fa78838749cc7cb1ada7903a9e | 5c8ce1965556d0978e370ac63636004b8977a454 | refs/heads/master | 2023-05-17T12:53:44.392856 | 2021-06-14T05:51:41 | 2021-06-14T05:51:41 | 376,711,875 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,926 | cpp | #include <iostream>
#include <queue>
#include <vector>
using namespace std;
template <typename T>
class BinaryTreeNode
{
public:
T data;
BinaryTreeNode<int> *left;
BinaryTreeNode<int> *right;
BinaryTreeNode(T data)
{
this->data = data;
left = right = NULL;
}
~BinaryTreeNode(... | [
"harkiratsinghmkkar@yahoo.com"
] | harkiratsinghmkkar@yahoo.com |
d35e68c436695855baf586e5da4333490380b98b | b219519f94e6c6782f641a5a9d2dcf22537fac3b | /normal/indeed2016/2016_07_09/D.cpp | 508060855849c0d0d5544506d08f52c0c9305154 | [] | no_license | liangsheng/ACM | 71a37a85b13aa7680a095cf0710c50acb5457641 | 0e80385b51e622b2b97431ac650b8121ecd56e51 | refs/heads/master | 2023-06-01T06:37:51.727779 | 2023-05-14T03:16:18 | 2023-05-14T03:16:18 | 9,337,661 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,643 | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <algorithm>
#include <vector>
#include <queue>
#include <map>
#include <set>
#include <cmath>
#define eps 1e-8
#define zero(x) (((x)>0?(x):-(x))<eps)
#define pause cout << " press ansy key to continue...", cin >> chh
#define file_r(x) ... | [
"904491908@qq.com"
] | 904491908@qq.com |
140d00aebce21493b4ce32770f7d5d531411ffa3 | 78918391a7809832dc486f68b90455c72e95cdda | /boost_lib/boost/mpl/set/set30.hpp | 92c0fda232fc7d37776fb1855af7d28056e602ea | [
"MIT"
] | permissive | kyx0r/FA_Patcher | 50681e3e8bb04745bba44a71b5fd04e1004c3845 | 3f539686955249004b4483001a9e49e63c4856ff | refs/heads/master | 2022-03-28T10:03:28.419352 | 2020-01-02T09:16:30 | 2020-01-02T09:16:30 | 141,066,396 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,079 | hpp |
#ifndef BOOST_MPL_SET_SET30_HPP_INCLUDED
#define BOOST_MPL_SET_SET30_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2000-2004
// Copyright David Abrahams 2003-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)... | [
"k.melekhin@gmail.com"
] | k.melekhin@gmail.com |
5a1ab5d03aae730f278a104cf0d1cb8205999d53 | c124ebdd41bf145ec6e9b97a4fd3068359f7e589 | /src/TDensityCluster.cxx | ce0e61e820442ba7e5a8b69cff909abca2e6a851 | [] | no_license | captain-col/captRecon | fc764bf5e2c114567df380bc919e043f2c891d7d | 71bba82827a4c2830027511018ddd241559e6271 | refs/heads/master | 2021-01-23T06:15:18.625000 | 2019-03-21T20:11:13 | 2019-03-21T20:11:13 | 102,495,440 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,683 | cxx | #include "TDensityCluster.hxx"
#include "HitUtilities.hxx"
#include "TPositionDensityCluster.hxx"
#include "CreateCluster.hxx"
#include <THandle.hxx>
#include <TReconCluster.hxx>
#include <TCaptLog.hxx>
#include <HEPUnits.hxx>
#include <TRuntimeParameters.hxx>
#include <memory>
#include <cmath>
CP::TDensityCluster::... | [
"clark.mcgrew@stonybrook.edu"
] | clark.mcgrew@stonybrook.edu |
f302d1da2a13fddb2c90117de76b88426be793f7 | e1d6417b995823e507a1e53ff81504e4bc795c8f | /gbk/client/ClientLib/Tools/MrSmith/MrSmith/PacketHandle/GCCharMoveHandler.cpp | ae600a07c0a15bbb77bd06beb1e235aa7dd520be | [] | no_license | cjmxp/pap_full | f05d9e3f9390c2820a1e51d9ad4b38fe044e05a6 | 1963a8a7bda5156a772ccb3c3e35219a644a1566 | refs/heads/master | 2020-12-02T22:50:41.786682 | 2013-11-15T08:02:30 | 2013-11-15T08:02:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 165 | cpp | #include "StdAfx.h"
#include "GCCharMove.h"
using namespace Packets;
UINT GCCharMoveHandler::Execute(GCCharMove* pPacket, Player*)
{
return PACKET_EXE_CONTINUE;
}
| [
"viticm@126.com"
] | viticm@126.com |
ea295cac4e601076bc0c4aaac115d3614bb7674d | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/115/397/CWE762_Mismatched_Memory_Management_Routines__new_array_delete_struct_72b.cpp | 13ee49c945159406fddc74775e737194f812d272 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,760 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__new_array_delete_struct_72b.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__new_array_delete.label.xml
Template File: sources-sinks-72b.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Manage... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
53f1627d868662872701e9699a30710008138447 | ffcd4c0368bc9ab3dd27d63909cbf7c66a402222 | /lib/wam_smptbl.cc | 99a87366cc211b562eb119ec919de9e9cd2c5a1b | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | alavrik/wamquery | 3dd85244fe6f6087df5906f89d66dc3ef48bd5c3 | d772b10adb5ff7979212b0b2d6197c06c4553478 | refs/heads/main | 2023-07-05T02:45:23.313896 | 2021-08-17T14:42:26 | 2021-08-17T14:52:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,895 | cc | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | [
"alavrik@whatsapp.com"
] | alavrik@whatsapp.com |
1c01774c85a656efbe5f191d2b84195a500c0697 | 3da52a12f80fc6d4a58ba5578a6bfa7794930a15 | /source/Engine/System/System.h | c02c9f60e4222c04e6962815773beecb5d488a04 | [] | no_license | Epiphane/NCW | db11a5130bc0f07458905e898b26d957dd4ce4f5 | 531a88e03e42450152d91f82925a420ef0b9ee2c | refs/heads/master | 2021-06-06T21:05:28.739882 | 2021-06-05T06:14:22 | 2021-06-05T06:14:22 | 136,872,412 | 2 | 0 | null | 2020-02-02T05:03:13 | 2018-06-11T03:57:13 | C++ | UTF-8 | C++ | false | false | 1,802 | h | // By Thomas Steinke
#pragma once
#include <string>
#include "../Core/Config.h"
#include "../Entity/EntityManager.h"
#include "../Event/EventManager.h"
namespace CubeWorld
{
namespace Engine
{
class SystemManager;
class BaseSystem
{
public:
typedef size_t Family;
virtual ~BaseSystem() {}
// Called onc... | [
"exyphnos@gmail.com"
] | exyphnos@gmail.com |
ddcc2b1fb7135c194360b3488947e92c55ade716 | 4547754a529d1ff9c1d1ee871a8f0fc10132c0a4 | /app/src/main/jni/zzn.h | 79545f4e7cbe35a61a5713c90efdb216b0375471 | [] | no_license | xime123/nizk | 6dec0995ee351253234caedc075f16b02d8867c6 | 2205d41539f7519b0289ed20046fcee41ad014cd | refs/heads/master | 2021-08-30T19:27:23.440638 | 2017-12-19T06:00:19 | 2017-12-19T06:00:19 | 114,723,434 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,863 | h |
/***************************************************************************
*
Copyright 2013 CertiVox UK Ltd. *
*
This file is... | [
"xumin@juzix.io"
] | xumin@juzix.io |
7b44ae84a029cbcf2e108aa00ae8cfb528a1e8a0 | c9f50125ea03d2a052a807d6cd6b7ed59e308edc | /FrameDirectX12/Engine/Code/Line.cpp | bba85cc59f1fe64173e53a67a45ae3fe1148f6a8 | [] | no_license | MinSyeoni/yodel-guardian | bbd270ecdce1971b40b2302ba2ac5fc8efce280c | 7c94e278c081fc265a8cf43ef37b564e1df7aa90 | refs/heads/master | 2023-05-07T08:42:35.273341 | 2020-11-19T12:13:30 | 2020-11-19T12:13:30 | 207,113,614 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,449 | cpp | #include "Line.h"
#include "GraphicDevice.h"
USING(Engine)
CLine::CLine()
{
ZeroMemory(m_vPoint, sizeof(_vec2)*POINT_END);
}
HRESULT CLine::Ready_Line(const _vec2 * pPointA, const _vec2 * pPointB)
{
m_vPoint[POINT_START] = *pPointA;
m_vPoint[POINT_FINISH] = *pPointB;
m_vDirection = m_vPoint[POINT_FINISH] - m_... | [
"55053318+xhdrkawk1@users.noreply.github.com"
] | 55053318+xhdrkawk1@users.noreply.github.com |
4caba3f1fd0a64e29b794b1636ac42e76fa313b0 | e497dcf9e0ba58106624d611d5f614c18937f3a4 | /CppDay5/2_typename.cpp | 4d0b2bec6a2f0ca2a51e761e9a419fdb81e913ff | [] | no_license | pfepark/Cpp11_14 | 5f58e3657e46872b1b8efc829511f641f639a7f9 | ad84cf1644d07675ee3c861fa34c5a48558ec3e7 | refs/heads/master | 2020-06-22T16:28:11.383940 | 2017-03-30T15:10:00 | 2017-03-30T15:10:00 | 74,586,930 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 622 | cpp | // typename
class AAA
{
public:
//static int DWORD = 10;
typedef int DWORD;
};
int p = 0;
// template 안에 typedef 된 타입을 꺼내 사용할때는 반드시 typename이 필요하다.
template<typename T> typename T::DWORD foo(T a)
{
typename T::DWORD * p; // 이 한줄을 해석하시오.
// 1. DWORD는 static 맴버 data인데 , 곱하기 p하고 있다. (표준에서는 이것으로... | [
"noreply@github.com"
] | noreply@github.com |
1a853f932829ea8e5289ce2e4a62cc93f2ca71df | 6532f6193ae5f15bbb205514ab3bbe0079c2e03b | /Polynomial.cpp | 9aae7888f3db8a34e6fbf2a9d2b56d6cbe821391 | [] | no_license | ayeshaAK/OOP | 22a1ece71eef81dadc9ad667d391ee5aa10dbe82 | 37921030700375d85db9288b8d4402be5415169c | refs/heads/master | 2022-07-04T13:09:22.436331 | 2020-05-17T20:18:26 | 2020-05-17T20:18:26 | 264,749,182 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,202 | cpp | /*
* Polynomial.cpp
*
* Created on: Apr 4, 2019
* Author: lab
*/
#include "Polynomial.h"
#include <string>
#include<sstream>
#include<cmath>
//Default constructor;
Polynomial::Polynomial()
{
x = 0;
y = 0;
z = 0;
}
//Parameterized Constructor;
Polynomial::Polynomial(int a, int b, int c)
{
x = a;
y = ... | [
"noreply@github.com"
] | noreply@github.com |
e658b7713208ded667a91ef5abbdc3a5251b8ac9 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/inetsrv/iis/svcs/cmp/webdav/inc/ex/refhandle.h | 81d1f7b17601c331f0b94c76effb39571cee6232 | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,469 | h | #ifndef _REFHANDLE_H_
#define _REFHANDLE_H_
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//
// REFHANDLE.H
//
// Copyright 1999 Microsoft Corporation, All Rights Reserved
//
#include <ex\refcnt.h>
#include <ex\autoptr.h>
// =============================================================... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
cfd480063dc854ab1e236ecf076e606b22fa06f7 | 5f345f3063e1099a982671db5e214a464eaf5fd8 | /Engine/src/Fjord/core/Time.h | 9a6dbf712cf89519cff3cc295608074a55f91d06 | [
"Apache-2.0"
] | permissive | BarbedCrow/Fjord | 94909a24454135dc152ff919389219c0fcaeaa1b | fdcbf3a44ee3dc2e2f2ff65169f219b214e6674e | refs/heads/main | 2023-07-06T19:45:06.968417 | 2021-08-16T18:22:00 | 2021-08-16T18:22:00 | 389,767,696 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 391 | h | #pragma once
#include <GLFW/glfw3.h>
namespace Fjord
{
class Time
{
friend class Application;
public:
static float GetTime() { return glfwGetTime(); }
static float GetDeltaTime() { return glfwGetTime() - s_Time; }
private:
static float s_Time;
static float s_DeltaTime;
static void SetTime(float ... | [
"barbedcrow@gmail.com"
] | barbedcrow@gmail.com |
781cb11fbe1f89731e713a20b980cc03da504c9e | d25f34c7c2feedc72bcc6c7af2b624e1c1605eee | /modules/prediction/predictor/free_move/free_move_predictor.cc | 13d345c316df2c040a3962f30fd09fe20dc7003d | [
"Apache-2.0"
] | permissive | wangzhongchuan1973/2020-w1 | aefecada26376f49cc88b652378920647ae3af78 | f9fb019d6b5ebbba4b4e9cf5e98544fa9bc3c7a6 | refs/heads/master | 2022-12-11T14:06:04.564465 | 2020-03-08T07:11:25 | 2020-03-08T07:11:25 | 245,765,118 | 0 | 0 | Apache-2.0 | 2022-12-07T02:18:33 | 2020-03-08T06:37:00 | C++ | UTF-8 | C++ | false | false | 4,185 | cc | /******************************************************************************
* Copyright 2017 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | [
"wzc1973@163.com"
] | wzc1973@163.com |
09a39fecd7d0da441ae9d4bead0388ef3b2f2710 | 01a42b69633daf62a2eb3bb70c5b1b6e2639aa5f | /SCUM_BP_AK47_RemoveMagInsertMagChamber_classes.hpp | caf795d502cc79fb358fbc4c14864277ed1013df | [] | no_license | Kehczar/scum_sdk | 45db80e46dac736cc7370912ed671fa77fcb95cf | 8d1770b44321a9d0b277e4029551f39b11f15111 | refs/heads/master | 2022-07-25T10:06:20.892750 | 2020-05-21T11:45:36 | 2020-05-21T11:45:36 | 265,826,541 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,350 | hpp | #pragma once
// Scum 3.79.22573 (UE 4.24)
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace Classes
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass BP_AK47_Remov... | [
"65712402+Kehczar@users.noreply.github.com"
] | 65712402+Kehczar@users.noreply.github.com |
3cdab4e880405377e0e4e1c7500e6c16fbcd8b28 | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_5/MP+dmb.sy+fri-rfi-ctrl-rfi.c.cbmc.cpp | 361c6c54029a51ab6cdd569d9b0190b447045398 | [] | no_license | ashutosh0gupta/llvm_bmc | aaac7961c723ba6f7ffd77a39559e0e52432eade | 0287c4fb180244e6b3c599a9902507f05c8a7234 | refs/heads/master | 2023-08-02T17:14:06.178723 | 2023-07-31T10:46:53 | 2023-07-31T10:46:53 | 143,100,825 | 3 | 4 | null | 2023-05-25T05:50:55 | 2018-08-01T03:47:00 | C++ | UTF-8 | C++ | false | false | 42,103 | cpp | // Global variabls:
// 2:atom_1_X0_1:1
// 0:vars:2
// 3:atom_1_X3_2:1
// 4:atom_1_X6_1:1
// Local global variabls:
// 0:thr0:1
// 1:thr1:1
#define ADDRSIZE 5
#define LOCALADDRSIZE 2
#define NTHREAD 3
#define NCONTEXT 5
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CPROVER_assert(stmt, "error")
#d... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
e87258ce6dbfb5d2946dffe8688aa2e46eab0a54 | 3b43e2a3fdb990664d186609acd4c871638b289d | /Lab3/main.cpp | 7208faeb1e4ece5a36ca03dcf6b417dc4d0e31aa | [] | no_license | nick434434/AM-ANT | 484d4887d7ad497dddc2837d9739a37f6215ca59 | 4a6b68e80da2ca067ca67c00b68f3c732d2360fe | refs/heads/master | 2021-01-18T03:39:12.480287 | 2017-09-16T20:50:45 | 2017-09-16T20:50:45 | 85,800,869 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,101 | cpp | #include <iostream>
#include <NTL/ZZ.h>
#include <iomanip>
#include <fstream>
#include "getCPUTime.h"
using namespace NTL;
using std::cout;
using std::endl;
void makeFile(std::ostream& output, int n) {
double start, end;
output << "Length" <<";" << "Prime" << ";" << "GenPrimeTime" << ";" << "ProbTestOnPrime... | [
"nick434434@yandex.ru"
] | nick434434@yandex.ru |
e51765bd0e833f3ffd8437421ade601e2462468e | 0f101a2d9fc62600c38e1272d2a90552e293d0ff | /cocos/scripting/js-bindings/manual/jsb_creator_manual.cpp | eca3767859ac7a5f8194c88aaea257c3c4c28344 | [
"MIT"
] | permissive | 276361270/cocos2d-x-lite | 59de243106064307fe08d2117b7dc3fa85fb8374 | 413135a3b1282d2f6192ebff31ac37c4ea7e5c99 | refs/heads/develop | 2021-01-19T13:36:11.862566 | 2017-08-18T08:22:51 | 2017-08-18T08:22:51 | 100,843,773 | 0 | 0 | null | 2017-08-20T06:48:07 | 2017-08-20T06:48:07 | null | UTF-8 | C++ | false | false | 11,780 | cpp | #include "jsb_creator_manual.hpp"
#include "cocos/scripting/js-bindings/jswrapper/SeApi.h"
#include "cocos/scripting/js-bindings/manual/jsb_conversions.hpp"
#include "cocos/scripting/js-bindings/manual/jsb_global.h"
#include "cocos/scripting/js-bindings/manual/jsb_box2d_manual.hpp"
#include "cocos/scripting/js-bindings... | [
"jianhua.chen@cocos2d-x.org"
] | jianhua.chen@cocos2d-x.org |
edc4cace13dda93c04a252ab5714ee3c166e9234 | 4c8fcd6c4953af89a7c71f4744824a5b6364ac56 | /sources/calculs.cpp | 11bbb53baac7e3abfec94187da721fbb60bf163a | [] | no_license | PierreVerbe/Verbey | 7198e7f606ecb04a204a15800dabc5300e99c69c | 13ac7757c2658cc72276550c52c33e55b78366e4 | refs/heads/master | 2021-07-04T08:40:24.498750 | 2020-09-08T20:40:46 | 2020-09-08T20:40:46 | 168,708,200 | 0 | 0 | null | 2020-09-08T20:48:12 | 2019-02-01T14:19:05 | C | UTF-8 | C++ | false | false | 814 | cpp | // code source des fct de calculs du mode PVP
// prepros
#include <math.h>
#include "../en-tetes/vs/calculs.h"
// fonctions
double ca_norme(MonVecteur* pvecteur)
{
// decla
double norme = 0;
// corps prg
norme = sqrt((pvecteur->x * pvecteur->x) + (pvecteur->y * pvecteur->y));
return norme;
}
//------------... | [
"pierre.verbe@free.fr"
] | pierre.verbe@free.fr |
b308034cb3ad83ea0ba6668f523cce6c1a97a016 | f94e29ea70d80c7fbd153109cf0d161deddc1ad4 | /ePaper_barometer_2023.ino | 1983f11b35b2c9c19aa3852ab04a8e1eba7ed2fa | [] | no_license | Romashka360/arduino | 2050cdb1acddb38eb7879853d4315f14b3b8df11 | 3b91046ed589331623d6c10301d9dd83ae25d35a | refs/heads/master | 2023-08-03T15:23:37.308446 | 2023-07-27T03:03:55 | 2023-07-27T03:03:55 | 248,678,108 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,509 | ino | #include <Wire.h>
#include <SPI.h>
#include <Adafruit_Sensor.h>
#include "SparkFunBME280.h"
#include <GxEPD2_BW.h>
#include <GxEPD2_3C.h>
#include <Fonts/Org_01.h>
#include <Fonts/FreeMonoBold12pt7b.h>
#define GxEPD2_DRIVER_CLASS GxEPD2_270
#define MAX_DISPLAY_BUFFER_SIZE 32768ul // e.g., up to 96k
#define... | [
"noreply@github.com"
] | noreply@github.com |
9024517a6a7c7ae1cbc291ea7ee31053f47fbd28 | 6ea79cea02973f309386a6a4f7931c21aa5f4966 | /leetcode/LeetCode/131.cpp | c20bfb91b532b2c9e3caa042b9eff5d1dde9b337 | [] | no_license | chaitanchun/person | 118739ac2a4f249afefd1b33919b2c9a2168c6b1 | 70f806081058bd1aad7aa9f3526f2114590505b7 | refs/heads/master | 2020-05-07T19:25:45.116858 | 2015-04-06T12:25:59 | 2015-04-06T12:25:59 | 18,963,530 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 206 | cpp | #include <iostream>
#include <vector>
#include <string>
using namespace std;
class Solution {
public:
vector<vector<string>> partition(string s)
{
}
};
int main()
{
return 0;
} | [
"chaitanchun@gmail.com"
] | chaitanchun@gmail.com |
f05add2f874386a3700aa151e39e81042aeadbf9 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/241/954/CWE762_Mismatched_Memory_Management_Routines__delete_array_int64_t_malloc_16.cpp | d955b602eca3d3ec004c8d13a1fb0743f5f829c3 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,266 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__delete_array_int64_t_malloc_16.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete_array.label.xml
Template File: sources-sinks-16.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Manageme... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
8f62b04551beb53909dcc58fa22b364c3ad92f67 | bec96028ff3184d61bb08b79fcde54ae11052838 | /models/gen_models/opcuacnc_cncaxistype.h | 8bb14755953741bd37d9e4cc1bd285e5fcb57aaa | [] | no_license | impulze/thesiscode | 2b8d9bc31721746359de67b904533d5704be0689 | e5502db149aeaa436867ea4454c05d7958de0f78 | refs/heads/master | 2020-12-24T14:01:14.851387 | 2016-08-24T04:13:52 | 2016-08-24T04:13:52 | 65,730,896 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,834 | h | /******************************************************************************
** opcuacnc_cncaxistype.h
**
** **************************** auto-generated ****************************
** This code was generated by a tool: UaModeler
** Runtime Version: 1.5.0, using C++ OPC UA SDK 1.5.0 template (version 4)
**... | [
"daniel.b.mierswa@student.hs-rm.de"
] | daniel.b.mierswa@student.hs-rm.de |
60b2cb4748738ab339a1a3d8c716c5ab86788b8f | f77629f02559c80e6a8020712263986109079963 | /src/femodel/RigidPoroInterfaceElementModel.h | bfc40a34f128ce0788e06af106637ef9f807a94c | [] | no_license | ritukeshbharali/ofeFRAC | 85b2456245695837f79d1171f5897adffd143dc3 | c50de298551dd01f1ab0305cd008c8c2cc242500 | refs/heads/master | 2022-12-27T06:24:17.220057 | 2020-10-13T08:50:10 | 2020-10-13T08:50:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,165 | h | /*
*
* Copyright (C) 2016 Monash University. All rights reserved.
*
* This class implements a model of two dimensional poro-cohesive interface elements.
* To be used with the HygroMechanicalModel for the bulk (fully saturated medium)
*
* - bottom and upper faces: displacement and pore pressure dofs.
*... | [
"phu.nguyen@monash.edu"
] | phu.nguyen@monash.edu |
575b6579db167e8d5d3f434012c00c4da11ef862 | de374898513dab686d9bfc18037fdb2fb27d3387 | /src/main.cpp | 0971d9b85e6e80fe2b3140e32bfd93c439ce6fd4 | [] | no_license | winwinzu/m5camera | 87b24f854f5048cf5280bfd65a556a69d0c25f7a | a110af2775e0c2205788f0dd655ca6ac5840c3fa | refs/heads/master | 2023-04-17T12:18:43.783648 | 2021-04-16T13:27:49 | 2021-04-16T13:27:49 | 358,607,317 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,053 | cpp | #include <Arduino.h>
#include <esp_camera.h>
#include <WiFi.h>
#include <esp_log.h>
WiFiServer server(80);
const char ssid[] = "ESP32-WiFi";
const char pass[] = "esp32wifi";
const IPAddress ip(192, 168, 20, 2);
const IPAddress subnet(255, 255, 255, 0);
void startCameraServer();
void setup()
{
Serial.begin(115200)... | [
"ftakuabai5000@gmail.com"
] | ftakuabai5000@gmail.com |
ffa0c3b263537d634ffc124851950e910094dbf1 | 4d209d683e5fcd03f7ffeff999ee47adb3b8fcc3 | /WarpTPS/DibView.cpp | ccf070f782043b058f9048ede551a1603e685800 | [] | no_license | yuzhuqingyun/pheonixrt | 6aebed75b78f4ac5db162429955901d963b5de49 | 6d5f2229362cedef111eea5ffea85c5022565f9b | refs/heads/master | 2016-09-05T10:05:06.204029 | 2014-10-24T04:21:55 | 2014-10-24T04:21:55 | 32,519,414 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,364 | cpp | // DibView.cpp : implementation file
//
#include "stdafx.h"
#include "DibView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDibView
CDibView::CDibView()
: m_pDoc(NU... | [
"dglane001@gmail.com@5160d9da-b3a6-11de-af8f-1f60b1e8fe01"
] | dglane001@gmail.com@5160d9da-b3a6-11de-af8f-1f60b1e8fe01 |
9a2265d90f160a63b424bc0af20f4d16d344fa0b | 92947e9833b94814612d14a65d1e3772bda10553 | /DeepSee_Stars/DeepSee_Stars/SceneManager/Scene/TitleScene/TitleScene.h | adf2d94a2b781bb7fa93429b95e44908605208b7 | [] | no_license | human-osaka-game-2018/DeepSee-Stars | db68ee2f834e8f187fed653ea45177f2cc12b85b | 6e4c65ee0f328a7489850304c936f80616780f65 | refs/heads/master | 2020-04-30T21:34:03.248483 | 2019-05-31T10:52:07 | 2019-05-31T10:57:05 | 177,096,457 | 0 | 0 | null | 2019-06-12T05:27:01 | 2019-03-22T07:57:06 | C++ | UTF-8 | C++ | false | false | 659 | h | #ifndef TITLE_SCENE_H_
#define TITLE_SCENE_H_
#include "../Scene.h"
#include "BackGround/TitleBackGround.h"
#include "Logo/TitleLogo.h"
#include "Menu/TitleMenu.h"
#include "Bubbles/Bubbles.h"
namespace deepseestars
{
/// <summary>
/// タイトルシーンクラス
/// </summary>
class TitleScene :public Scene
{
public:
Title... | [
"41816343+Kinoshita-Tatsuya@users.noreply.github.com"
] | 41816343+Kinoshita-Tatsuya@users.noreply.github.com |
e5d35484dc03d94b99a0d805c82c517711947c5c | c4e1b2fad57e164b1ec250d7ef58ca6b325be916 | /contests/caspercomp/pB.cpp | 5fed47b6f0b0a6bec7b9055305a87e425e3dc63c | [] | no_license | xSeanliux/CompetitiveProgramming | ab8030fdb0dc9c4e29e4cc8c52e020e6eb564372 | 011c7ad152d7090fa3e9143a27119a2192d68144 | refs/heads/master | 2023-06-08T11:00:48.826892 | 2023-05-25T22:58:43 | 2023-05-25T22:58:43 | 158,057,461 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 90 | cpp | #include <iostream>
#include <vector>
using namespace std;
int n, m, p;
int main(){
}
| [
"zhxnliu@gmail.com"
] | zhxnliu@gmail.com |
db01181a66e93191f0d58de25efa4dcf59897782 | 24fe7848250ca0890db81383f240c83308f7a79f | /ch09/_52.cpp | 3301850a67afeeeb6cffb9d90b91da01d38132e0 | [] | no_license | zzczzczzc/CppPrimer | aac6cb722f00e6e5ce9de557d2188e02eb8509ca | a4ee8b20148fdd34f7257fe1ef8a8480b0783f0a | refs/heads/master | 2020-05-02T12:12:23.594973 | 2019-03-28T04:42:36 | 2019-03-28T04:42:36 | 177,951,921 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 877 | cpp | #include <iostream>
#include <string>
#include <stack>
#include <cctype>
using namespace std;
string calc(string l, string r, string op) {
string s;
if (op == "-")
s = to_string(stoi(l) - stoi(r));
else if (op == "+")
s = to_string(stoi(l) + stoi(r));
return s;
}
int main() {
string s("1+2*(7-4)");
stack<s... | [
"32061523+zzczzczzc@users.noreply.github.com"
] | 32061523+zzczzczzc@users.noreply.github.com |
89e83ffd638d857f535c4a0692e87a56a5eb5c2d | d938080f013c8fe332ce293ff41699652b318775 | /zoneList.hpp | d01af35f41dd4aacdb36fdeb4c048a8198eba696 | [] | no_license | TacBF/tb_rhs_tanoa_jungle_fever.tanoa | 4101e2413e93dd3250f41b24849e6d4de00a405d | 9507289580a5a3029e5693e4c69e7c314b9fda2c | refs/heads/master | 2021-01-19T20:33:10.187645 | 2017-04-17T14:47:45 | 2017-04-17T14:47:45 | 88,518,057 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,835 | hpp | #include "tb_defines.hpp"
zoneList[] =
{
//ID and PROFILE = not used
//LINK = zones capturable after this one
//DEPEND = auto-capture/enable upon these zones being held
//DEPQTY = quantity of zones required for DEPEND i.e. can have only 2 of the 3 zones in DEPEND required
//SYNC = required zones for progressio... | [
"ballista.milsim@gmail.com"
] | ballista.milsim@gmail.com |
b6d7fd02bcae3fbc29520daa76170026fed7a650 | d96349b211a135bc63e828f186e3560c0d383197 | /Cp5/5-1-2_exercise.cpp | 014281959b88d5c0b0a9e67cf96f4df160d261a4 | [] | no_license | masa-k0101/Self-Study_Cpp | 116904e7a45d8d211e85b3e20cfbfc602dd866f4 | 1fdd3b0637274934e7730ca87a400bf2c97daf8f | refs/heads/master | 2022-12-14T01:59:20.763522 | 2020-09-15T13:20:08 | 2020-09-15T13:20:08 | 263,053,847 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,284 | cpp | #include<iostream>
#include<time.h>
namespace A
{
class stopwatch
{
double begin,end;
public:
stopwatch(); //コンストラクタ
stopwatch(clock_t t);
~stopwatch(); //デストラクタ
void start();
void stop... | [
"noreply@github.com"
] | noreply@github.com |
83484e0c2fd2511420ef74a76198ff9c419b4acb | 920b7c4c26411bef7194cf32b2491deb2aed9df3 | /caffe/src/caffe/layers/sigmoid_cross_entropy_loss_layer.cpp | 6a48099ae8bef69faf4968219f5c2cbf83d291de | [
"MIT",
"BSD-2-Clause",
"LicenseRef-scancode-generic-cla"
] | permissive | samin91/dec | ca52fb89954951e40a7400771f6eac11087b9bbe | 4c001e3343e726d59936529c701b73f1bcb5994c | refs/heads/master | 2022-11-06T21:54:54.844898 | 2020-07-02T12:54:02 | 2020-07-02T12:54:02 | 255,551,768 | 0 | 0 | MIT | 2020-04-14T08:24:12 | 2020-04-14T08:24:11 | null | UTF-8 | C++ | false | false | 2,816 | cpp | #include <algorithm>
#include <cfloat>
#include <vector>
#include "caffe/layer.hpp"
#include "caffe/util/math_functions.hpp"
#include "caffe/vision_layers.hpp"
namespace caffe {
template <typename Dtype>
void SigmoidCrossEntropyLossLayer<Dtype>::LayerSetUp(
const vector<Blob<Dtype>*>& bottom, vector<Blob<Dtype>*... | [
"eric.jy.xie@gmail.com"
] | eric.jy.xie@gmail.com |
8c90d63d0ee065e2317e657fd0e4aacb33c758b5 | 2cad5651833ef60679d037bc02f0a45cf8caa917 | /cli.cpp | 1a730087bbd374580aba3209b05d45191543c719 | [] | no_license | raboserg/ovpnclient | 21f58ca7382a64425f4578f30951ea23dfe2aace | 4693487f8eb7e01a50f07003cc7a42db7158af1d | refs/heads/master | 2020-09-25T23:22:45.439540 | 2019-12-05T15:46:17 | 2019-12-05T15:46:17 | 226,111,755 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,804 | cpp | // OpenVPN -- An application to securely tunnel IP networks
// over a single port, with support for SSL/TLS-based
// session authentication and key exchange,
// packet encryption, packet authentication, and
// packet compression.
//
// Copyright (C) 2012-201... | [
"raboserg@gmail.com"
] | raboserg@gmail.com |
1c1e165d151d4d76b5edbfeda9ab1390a5de80ed | d3b28ec0645456bd076400f8d922c50a68f7bec1 | /Tasks/№20.cpp | 0633299d6b4fb22ca6968b18407a6906d1d13e2c | [] | no_license | musaelyan-arina/Zadachi | a6551ae18fc05996c2a9a7f5350013687a27b2e4 | 71054bcf0542119de7c5ea55c05a337da387f9b5 | refs/heads/master | 2020-12-13T09:31:46.110078 | 2020-01-26T15:01:23 | 2020-01-26T15:01:23 | 211,136,268 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,280 | cpp | ~~~c++
// 20.cpp : Этот фай+л содержит функцию "main". Здесь начинается и заканчивается выполнение программы.
//
#include <iostream>
#include <cstdlib>
using namespace std;
void bubble(int size, int a[]) {
for (int i = 0; i < size; i++) {
for (int j = 0; j < size-(i+1); j++) {
if (a[j] >a[j + 1]) {
... | [
"noreply@github.com"
] | noreply@github.com |
9e7c72295830fea30357a7fa263227d1806d6635 | 499f6f039f7770118f68f3bee07e26c7522fb431 | /Extras/C++/Basics/Basics3.cpp | 86c332a9c14557f24636b7b2238d19d1f958ec62 | [] | no_license | Lhayes32/School-Dayz | a67fb3fd8ca29ba04698c969f4cf4099cfc76e5c | c73b57664f6d21c9af7eb1ca3473cd0ce6e2b237 | refs/heads/master | 2023-06-13T08:42:30.956903 | 2021-07-11T03:58:38 | 2021-07-11T03:58:38 | 314,426,758 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 502 | cpp | #include <iostream>
using namespace std;
int main() {
int fn, sn;
char op;
cout << "Enter first number: ";
cin >> fn;
cout << "Enter second number: ";
cin >> sn;
cout << "Enter the operator to apply: ";
cin >> op;
switch (op) {
case '+':
cout << fn + sn << endl;
break;
case '-':
cout << fn - sn << end... | [
"lhnetwork542@gmail.com"
] | lhnetwork542@gmail.com |
88ef6e8a537542c0c7cdab75d86888be53634da3 | 3597f2d3e4aa06d2497514664810f94ea6a1b853 | /chap3_libraryTypes/exe3.7.cpp | e8b2afe438763eb188244e48a50f8c6f23ee248f | [] | no_license | shubham-chandra/Cplusplus | ea2b88ab350ae2c88d27654cf2f714e69dab210b | ccdcde46386c9d32192d571900899b44f0ac98bf | refs/heads/master | 2022-12-15T18:29:59.866401 | 2020-09-20T17:03:36 | 2020-09-20T17:03:36 | 291,029,396 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 941 | cpp | #include <iostream>
#include <string>
using std::string;
using std::cin;
using std::cout;
using std::endl;
/*
Read two string and compare them and their lengths and report them.
*/
int main(){
string s1;
string s2;
cin >> s1 >> s2;
if(s1 > s2){
cout << "The string " << s1 << " is greater than " << s2 << end... | [
"shubhamchandra317@gmail.com"
] | shubhamchandra317@gmail.com |
909872451f2a47a6313de168e88ce431cf10ba1c | 975e8dd45368c8ce95c4c020845c64564bebb1cb | /FMSSteering/src/Steering/SteeringFactory.cpp | 43293180b2ac73264d0700cb6238fd85504f4937 | [] | no_license | Bifido/IAProgramming | 8706d8f70ade16138fe16de1bba4c478791cb5e2 | 368e541244497e29c09d052a9bb7feaef12afd99 | refs/heads/master | 2021-01-10T22:28:29.601992 | 2015-11-15T21:40:57 | 2015-11-15T21:40:57 | 33,869,900 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 780 | cpp | #include "Steering\SteeringFactory.h"
#include "Steering\Seek.h"
#include "Steering\Evade.h"
#include "Steering\Arrive.h"
#include "Steering\Pursue.h"
#include "Steering\Wander.h"
Steering* SteeringFactory::BuildSteering(SteeringType _steeringType)
{
switch (_steeringType)
{
case Seek:
return new ::Seek("SeekTarg... | [
"ricky.stucchi@gmail.com"
] | ricky.stucchi@gmail.com |
79fbd9f90d05d7d21cd3577e5f8139ab117f9aac | c8cf973af91404a716d08d6ac12f6cc8601421d4 | /2181/5627448_AC_79MS_696K.cpp | 3174e8d2b73d22f7699afa35e006be7b48a5e81c | [
"MIT"
] | permissive | Xuhui-Wang/poj-solutions | f1cd7009fcc37672d3a2ca81851ac3b3cc64ca02 | 4895764ab800e8c2c4b2334a562dec2f07fa243e | refs/heads/master | 2021-05-05T00:14:35.384333 | 2015-08-19T21:57:31 | 2015-08-19T21:57:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 511 | cpp | #include<cstdio>
const int POTION_NUM_MAX=150000;
int strength[POTION_NUM_MAX+1];
int main(){
int potionNum;
scanf("%d",&potionNum);
for(int i=0;i<potionNum;i++)
scanf("%d",strength+i);
strength[potionNum]=0;
int sign=1,sum=0;
for(int i=0;i<potionNum;i++)
if(sign==1){
if(strength[i+1]<stren... | [
"pinepara@gmail.com"
] | pinepara@gmail.com |
896d9d382809fafb5b89ceb60e58ccbf83ba3ef3 | 019e68497ab9bf864b0c96bd4fd4fbba4e0d9b29 | /src/Background/Backgrounds.h | 7cfecec8306a4a96c54ab002b03225057a90894c | [] | no_license | erik65536/ClockPlus | f27562f80a7b9662ba8cf77b392dc9dcfcfb2b62 | 3a40edef0f3b7ea8e228c75744db63c8f5ff013a | refs/heads/master | 2020-12-30T10:37:34.899022 | 2017-07-31T08:03:09 | 2017-07-31T08:03:09 | 97,165,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,334 | h | #pragma once
#include "Period.h"
#include "Background.h"
#include "Filter.h"
#include <unordered_set>
#include <map>
namespace ClockPlus::Background {
class Backgrounds {
public:
using Id = std::string;
using IdVec = std::vector<Id>;
using IdSet = std::unordered_set<Id>;
using BackgroundVec = std::vector<Bac... | [
"erik65536@gmail.com"
] | erik65536@gmail.com |
dadb4361093cec55a84efb4ac66603c44f296335 | 51fe9b47359afdb3ca776a196c59ec06d119a5f4 | /74. Search a 2D Matrix/74. Search a 2D Matrix.cpp | e4aa92497ecd565b3fec40fb13f3f4d3116a31a2 | [] | no_license | YanLi26/leetcode | 4ef039641c122137948615cc5fa5d7faad5c249f | c46e331bbd29f9b831ccbfe9b1e976ca9369b081 | refs/heads/master | 2021-01-18T17:38:46.787222 | 2017-05-03T17:53:33 | 2017-05-03T17:53:33 | 71,950,928 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 806 | cpp | class Solution {
public:
bool searchMatrix(vector<vector<int>>& matrix, int target) {
if(matrix.empty() || matrix[0].empty()) return false;
for(int i = 0; i < matrix.size(); i++) {
if(target == matrix[i][0]) return true;
else if((i < matrix.size()-1 && target > matrix[i][0] &... | [
"yali2241@colorado.edu"
] | yali2241@colorado.edu |
13348092d46fb58b3ccfeaf1146a07b45911ba02 | 6de9dc1cd719893d12bc3e5bbe3c5419667bec7e | /LinkedList/LeetCode 142. Linked List Cycle II(solve1).cpp | df346b0f85fc765ddfe51ee4c32d1ec7c43366ba | [] | no_license | ideask/CodeTraining | 1208192fa1ecc9967e869cac19b9d3df40d25002 | 030e2a975ceb9fb675b064ae92f367d08fab9d00 | refs/heads/master | 2020-06-16T14:15:54.627148 | 2019-10-11T16:05:53 | 2019-10-11T16:05:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 739 | cpp | #include <iostream>
#include <set>
using namespace std;
struct LinkNode{
int val;
LinkNode *next;
LinkNode(int x): val(x), next(NULL){};
};
class solution{
public:
LinkNode *detectCycle(LinkNode *head){
set<LinkNode *>LinkSet;
while(head){
if(LinkSet.find(head) != LinkSet.end()){
return head;
... | [
"9982733@qq.com"
] | 9982733@qq.com |
e3cd5bafc0a735b5221a62f63e6a5c0f80dcffe3 | d2bd6ef3114504ac8e3ab87e585e08ed7c2f3bad | /7-Draw/TextFigure.h | e3806577d52b11969ceab133292d2687d4b93f9b | [] | no_license | lgwest/mfc2qt | 95a28070cd706b320eec831bc864c448ddd1ba34 | ad561ebdf9ec25f55a7ccea77870c6d680b9bc6e | refs/heads/master | 2023-07-11T18:46:05.431557 | 2021-08-30T11:42:24 | 2021-08-30T11:42:24 | 262,108,430 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,297 | h | typedef CArray<int> IntArray;
enum KeyboardState {KS_INSERT, KS_OVERWRITE};
class TextFigure: public Figure
{
public:
TextFigure();
TextFigure(const Color& color, const CPoint& ptMouse,
const Font& font, CDC* pDC);
TextFigure(const TextFigure& text);
Figure* Copy() const;
void Se... | [
"lars-gunnar.west@saabgroup.com"
] | lars-gunnar.west@saabgroup.com |
fc04a4f875c140f276c7248d2e41f339d2f3b6e6 | 67b170ffb345a63403ff5dc66130eaa24bfaf161 | /include/ANurbs/Algorithm/PolygonIntegrationPoints.h | 10cf61bf774d979679161cfd814bc5216063c40b | [
"MIT"
] | permissive | deepblueparticle/ANurbs | eecc9cb51ed6325a1af29bfa993196b7bc2c308d | 3fd34f5c74f96cc50d1d6db53d39ac08b88bd1ba | refs/heads/master | 2020-08-20T21:47:44.435441 | 2019-10-18T14:47:17 | 2019-10-18T14:47:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,197 | h | #pragma once
#include "../Define.h"
#include "IntegrationPoints.h"
#include "PolygonTessellation.h"
#include "../Geometry/Interval.h"
#include "../Geometry/Polygon.h"
#include <stdexcept>
#include <vector>
namespace ANurbs {
class PolygonIntegrationPoints
{
public: // static methods
static IntegrationPoin... | [
"thomas.oberbichler@gmail.com"
] | thomas.oberbichler@gmail.com |
e055fc0fb4a411402af9eaff33767af14ea0383b | b04e71b13e659929815c64282e1a56928e2b355b | /Black/first_week/part_H/routes_database.h | 899f10210402ea8c6b4dfcca2987fc44aa27025c | [] | no_license | momsspaghettti/coursera-c-plus-plus-modern-development | 98f0ef39dcec90cc96b3178d1fec492fe87be1c7 | f38464dc422e2e6891972dff5a0e576d7a41bc9f | refs/heads/master | 2020-05-26T03:00:58.262528 | 2019-11-06T18:51:04 | 2019-11-06T18:51:04 | 188,082,349 | 86 | 70 | null | null | null | null | UTF-8 | C++ | false | false | 2,872 | h | #pragma once
#include "stops_database.h"
#include <vector>
#include <optional>
#include <utility>
#include <unordered_map>
#include <unordered_set>
#include <memory>
#include <cstdint>
#include "navigation_database.h"
#include <set>
struct RouteStats
{
RouteStats()
{
stops_on_route = unique_stops = 0;
route_len... | [
"ivan.samoilov.1999@yandex.ru"
] | ivan.samoilov.1999@yandex.ru |
b0fd7a4c77c20c7c0a62ad2fe90c152c8dc26b3a | 0675bbde0d712eb537a73e314c3c602924edc03b | /main.cpp | 6e62768f50debdde18e2a027e39614d674cc514c | [] | no_license | BluOcean/Critical_path | bfe4b9a38a9b8efc6feed966918ae0f8148d5404 | 220921d49799f2b09c2a0757c848f00ab5439825 | refs/heads/master | 2020-03-20T21:02:37.161007 | 2018-06-19T09:29:55 | 2018-06-19T09:29:55 | 137,720,542 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 349 | cpp | #include "TopologicalSort.h"
stack<int> s;
stack<int> t;
int ve[MAX_VERTEX_NUM];
int main()
{
ALGraph G;
BuildALGraph(G);
printALGraph(G); //打印邻接表
if(CriticalPath(G)){
cout<<'\n'<<"关键路径输出成功"<<endl;
}
else{
cout<<'\n'<<"关键路径输出失败"<<endl;
}
return 0;
}
| [
"1799232844@qq.com"
] | 1799232844@qq.com |
8559d6d96e60abd6687d335b219ae383f6ac4a7b | a2c55e0ad2d5576cf0eb2881b031143b6110eee5 | /chm/CoreDebug.cpp | fe9145b84da92f8937972668f0236021d7f87e85 | [] | no_license | michalk-git/chm | a50485f2df68f6a1f743d657fa1fa905695381b3 | 959e99d577d9e407f6a3f9663427105155583962 | refs/heads/master | 2022-11-27T06:23:29.059389 | 2019-12-12T08:30:20 | 2019-12-12T08:30:20 | 226,061,102 | 0 | 1 | null | 2022-10-21T17:13:11 | 2019-12-05T09:10:55 | C++ | UTF-8 | C++ | false | false | 25 | cpp | #include "CoreDebug.h"
| [
"MICHALKAL@D-2-235-STUD-WW"
] | MICHALKAL@D-2-235-STUD-WW |
03b63c8478b673ac0f379e85c3b83fcb1e7305fa | a13a4dfcf577632bee9bfbc430ce469c1afe6652 | /libraries/ros_lib/stdr_msgs/DeleteRobotResult.h | 5dd62658c370987ab1a95d0c7de44695c80ff626 | [] | no_license | kirancps/ROS_Arduino | 5cb8abeea6f87c2a8fa332ea9ebedc325ae5a0fb | 537b45aa9c200e8f5be9a8f4625e045c6a7a8509 | refs/heads/master | 2021-01-10T18:52:58.914367 | 2016-04-17T11:23:07 | 2016-04-17T11:23:07 | 56,432,459 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,180 | h | #ifndef _ROS_stdr_msgs_DeleteRobotResult_h
#define _ROS_stdr_msgs_DeleteRobotResult_h
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "ros/msg.h"
namespace stdr_msgs
{
class DeleteRobotResult : public ros::Msg
{
public:
bool success;
DeleteRobotResult():
success(0)
{... | [
"scikiran@gmail.com"
] | scikiran@gmail.com |
23c14ddf70085e3ba59b61a71ecca5201afffad0 | 9ff69f2638fe679b9fbb3ac682d356b59c50b068 | /code archive/CF/1041D.cpp | 463b2de96cf6f18d72f5f07f28f44f08fa92bc24 | [
"MIT"
] | permissive | brianbbsu/program | 7f7c3d4aacea32ada7f74cf5caffa9931be280c4 | c4505f2b8c0b91010e157db914a63c49638516bc | refs/heads/master | 2021-05-23T04:53:49.618057 | 2020-04-18T15:21:10 | 2020-04-18T15:21:10 | 81,056,684 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,014 | cpp | //{
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef double lf;
typedef pair<ll,ll> ii;
#define REP(i,n) for(ll i=0;i<n;i++)
#define REP1(i,n) for(ll i=1;i<=n;i++)
#define FILL(i,n) memset(i,n,sizeof i)
#define X first
#define Y second
#define SZ(_a) (int)_a.size()
#define ALL(_a) _a.begin(),_... | [
"brianbb.su@gmail.com"
] | brianbb.su@gmail.com |
d68d5576eb43ab9416dbe7b4c9463d40fb343aad | 0f1294e9b340a1114d92f1f88b5f35fe60a8e29c | /src/utils/File.cpp | 89d1b7fe4c0433eb06e5988fc20bf0757d7b9253 | [] | no_license | XzekyeX/War-of-the-Kings | 9768485994da8b56c1457b2ca40651bbf7041157 | 0874656ee23f8dae9ea1788aa136329e3bced05c | refs/heads/master | 2020-04-08T01:02:33.744209 | 2018-11-23T21:16:40 | 2018-11-23T21:16:40 | 158,878,758 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,181 | cpp | #include "File.h"
/**
*
* @author Mikko Tekoniemi
*
*/
FileShader File::loadShaders(const char* path) {
std::ifstream file(path);
std::string line;
std::stringstream result[2];
int type = -1;
while(getline(file, line)) {
if(line.find("#shader") != std::string::npos) {
if(line.find("vertex") != std::string::np... | [
"Zekye@live.fi"
] | Zekye@live.fi |
09405691456fa09637651f12a5cf71a4125f6843 | 9f05f2253da8a773688ebb74b1c17289e3846944 | /include/adt/containers/adt_constraint_list.hpp | 69833ced2b81cb906a905f6bf2c2a8ceae8ecb77 | [] | no_license | afcarl/adt_opt | 0169de5e4650feee4d0a3500cc0a40896f9b5be9 | d51c087609536f247bd331700679ab1354dd0b3a | refs/heads/master | 2020-03-18T14:59:07.373828 | 2018-03-21T21:41:13 | 2018-03-21T21:41:13 | 134,879,434 | 1 | 0 | null | 2018-05-25T16:17:40 | 2018-05-25T16:17:40 | null | UTF-8 | C++ | false | false | 581 | hpp | #ifndef ADT_CONSTRAINT_LIST_H
#define ADT_CONSTRAINT_LIST_H
#include <adt/hard_constraints/adt_constraint_main.hpp>
#include <vector>
#include <string>
class Constraint_List{
public:
Constraint_List();
~Constraint_List();
void append_constraint(Constraint_Function* constraint);
void get_constraint_list_copy(s... | [
"stevenjensj@gmail.com"
] | stevenjensj@gmail.com |
40cc14819d01b2c4a464ff2a0328f92c4b1cf203 | 547018e2fb9b178aacfe2ceabcab4313647ffb79 | /test_cases/general/array/of/embed/cpp/test_generate/jsoncpp.cpp | 2d15e2128056fa28b21624c88f280743462ca614 | [
"MIT"
] | permissive | Parquery/mapry | 2eb22862494342f71ca4254e7b2b53df84bd666f | 93515307f9eba8447fe64b0ac7cc68b2d07205a7 | refs/heads/master | 2021-06-11T09:57:17.764387 | 2021-06-02T14:19:52 | 2021-06-02T14:19:52 | 165,482,780 | 11 | 3 | MIT | 2021-06-02T14:19:53 | 2019-01-13T08:31:08 | C++ | UTF-8 | C++ | false | false | 4,327 | cpp | // File automatically generated by mapry. DO NOT EDIT OR APPEND!
#include "jsoncpp.h"
#include "parse.h"
#include "types.h"
#include <cstring>
#include <memory>
#include <sstream>
#include <stdexcept>
#include <string>
#include <utility>
namespace some {
namespace graph {
namespace jsoncpp {
/**
* generates an er... | [
"noreply@github.com"
] | noreply@github.com |
0e0e89c2cea867e6a7d6a9f25e8a0b21a48140d5 | be3167504c0e32d7708e7d13725c2dbc9232f2cb | /mame/src/emu/cpu/m68000/68340dma.h | 5c085d094962f8cb36aa1d553ddcac4ae493274d | [] | no_license | sysfce2/MAME-Plus-Plus-Kaillera | 83b52085dda65045d9f5e8a0b6f3977d75179e78 | 9692743849af5a808e217470abc46e813c9068a5 | refs/heads/master | 2023-08-10T06:12:47.451039 | 2016-08-01T09:44:21 | 2016-08-01T09:44:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 146 | h |
READ32_HANDLER( m68340_internal_dma_r );
WRITE32_HANDLER( m68340_internal_dma_w );
class m68340_dma
{
public:
void reset(void);
};
| [
"mameppk@199a702f-54f1-4ac0-8451-560dfe28270b"
] | mameppk@199a702f-54f1-4ac0-8451-560dfe28270b |
41926dbeea5d592ef3f611dbaf66e14f58079702 | 38de511cee50503e4aad809aeb6211470bfba63d | /Linked List 1/Delete node.cpp | d19ee2b76ae6e9975a8144537b71287f159d90a3 | [] | no_license | Ir0Nick/Coding-Ninjas | 9dcef94418b38bdc75b23ce0a9a7c70f6b439a43 | 24a952d2393337be35f306576b9e35ce480a68e9 | refs/heads/master | 2022-10-27T05:27:03.876427 | 2020-06-13T05:44:18 | 2020-06-13T05:44:18 | 271,807,541 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 476 | cpp | #include<iostream>
using namespace std;
/**********
* Following is the Node class that is already written.
class Node{
public:
int data;
Node *next;
Node(int data){
this -> data = data;
this -> next = NULL;
}
};
*********/
Node* deleteNode(Node *head, int i) {
Node *t=head,*prev=NU... | [
"noreply@github.com"
] | noreply@github.com |
e8a8d84709d51fbf155743a0a5d2a01da32272f1 | ef9b143b7fb9829c635be7b42598a06ab51806d5 | /mugunghwa/Library/Il2cppBuildCache/Android/armeabi-v7a/il2cppOutput/UnityEngine.AudioModule.cpp | 178787774237c03c3a5bbfb39a5d9af8b7f1c3c8 | [] | no_license | leejaepyeong/Mugunghwa | ad468f2c06781f427b438f00be65a0d7edb37516 | 4d97ce2fcdfc8cbac62cccb0885cdad4a682348b | refs/heads/main | 2023-08-27T14:12:02.603857 | 2021-10-18T07:44:06 | 2021-10-18T07:44:06 | 389,311,294 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 84,508 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
struct VirtualActionInvoker0
{
typedef void (*Action)(void*, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
{
const VirtualInvoke... | [
"clpc12@naver.com"
] | clpc12@naver.com |
bfebf42f29623282ac8a661e4606feafc5c4361c | e1a4acf1d41b152a0f811e82c27ad261315399cc | /algorithms/kernel/neural_networks/layers/pooling2d_layer/forward/average_pooling2d_layer_forward_dense_default_batch_fpt_dispatcher.cpp | 9740797f40e6d926a21487dcbf483534c31686de | [
"Apache-2.0",
"Intel"
] | permissive | ValeryiE/daal | e7572f16e692785db1e17bed23b6ab709db4e705 | d326bdc5291612bc9e090d95da65aa579588b81e | refs/heads/master | 2020-08-29T11:37:16.157315 | 2019-10-25T13:11:01 | 2019-10-25T13:11:01 | 218,020,419 | 0 | 0 | Apache-2.0 | 2019-10-28T10:22:19 | 2019-10-28T10:22:19 | null | UTF-8 | C++ | false | false | 1,320 | cpp | /* file: average_pooling2d_layer_forward_dense_default_batch_fpt_dispatcher.cpp */
/*******************************************************************************
* Copyright 2014-2019 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance... | [
"nikolay.a.petrov@intel.com"
] | nikolay.a.petrov@intel.com |
be0b43e8f62317217e6cc610f2c8cedb888a3a65 | 5863ce4e04261618a35567d0b81cc2eb12e22725 | /palindrome_anagram2/words.cpp | 64d28dde4f9bef06ddfe46e3cfb6300b2d851883 | [] | no_license | elrob/Cpp_practice_tests | 5f809789b52d273e7a2d93bbfe34e3f5118b3805 | 5f4f5a53056846c31dfa249d2f43cea5f2bff38b | refs/heads/master | 2020-04-10T16:20:47.541008 | 2013-12-08T22:02:44 | 2013-12-08T22:02:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,688 | cpp | #include <cctype>
#include <cstring>
using namespace std;
#include "words.h"
void reverse(const char *str1, char *str2) {
char const * const str1_start = str1;
while( *str1 != '\0') //str1 points to null character
++str1;
--str1; //str1 points to character before null
while (str1 >= str1_start)
... | [
"robs_fake_email@me.fake"
] | robs_fake_email@me.fake |
8d006a4bee10f9c576db5efbe7399ea2088ae019 | 373283dd44343a99564d2cebcafd3bbc274b3c85 | /dev/Cadabolg/prolix/common/include/cUrl.h | d2bef4cf99ff5cefa5e34b19147ec3eea6c7e468 | [] | no_license | k39chen/Cadabolg | 89dd46fa91a77c2e8364f18171fbe645b46eb9e6 | 26255a431269c48e847e953e7f093443901cdeee | refs/heads/master | 2020-04-21T07:54:44.411606 | 2013-11-17T06:20:43 | 2013-11-17T06:20:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,208 | h | //====================================================================================
// @Title: URL
//------------------------------------------------------------------------------------
// @Location: /prolix/common/include/cUrl.h
// @Author: Kevin Chen
// @Rights: Copyright(c) 2011 Visionary Game... | [
"kchen@tagged.com"
] | kchen@tagged.com |
86c000de014486ae8cb0479395905868ba7fb2c5 | 4cc34c297e0f85eb43c99fd0be1cc696707d49c5 | /src/pnumpy/getitem.cpp | b708352e62cb36c256a416bc7c23863a45c4967a | [
"MIT"
] | permissive | Quansight/pnumpy | 426318ddf8e7f86ed9258196c7c836022d9bf46e | 59d430f74168539a0710321c4eecb53d25db4833 | refs/heads/main | 2023-03-05T23:01:01.302077 | 2021-02-04T19:07:26 | 2021-02-04T19:07:26 | 292,356,377 | 34 | 2 | MIT | 2021-02-04T19:07:27 | 2020-09-02T17:59:34 | C++ | UTF-8 | C++ | false | false | 47,489 | cpp | // If this is not included, calling PY_ARRAY functions will have a null value
#define PY_ARRAY_UNIQUE_SYMBOL sharedata_ARRAY_API
#define NO_IMPORT_ARRAY
#include "common.h"
#include "../atop/atop.h"
#include "../atop/threads.h"
#define LOGGING(...)
/**
* Count the number of 'True' (nonzero) 1-byte bool values in an... | [
"thomasdimitri@gmail.com"
] | thomasdimitri@gmail.com |
68d07b846e464ca1d777cab83d67c15d077b4202 | 398c669cca38f0fda18024d8a36b8fe770932b59 | /interviewbit/arrays/Min_Steps_in_Infinite_Grid.cpp | e3a664c071678a598e07cd136524856c81abc485 | [] | no_license | anand13sethi/algorithms | 98a5be819219d43007820b0a35500d46532d485a | ea270c21af16671fe1cbc8d9d4ee208e0ca76a6a | refs/heads/master | 2020-08-04T01:05:20.209078 | 2019-09-30T20:14:19 | 2019-09-30T20:14:19 | 211,946,816 | 0 | 1 | null | 2019-09-30T20:08:40 | 2019-09-30T20:08:39 | null | UTF-8 | C++ | false | false | 1,009 | cpp | /*
You are in an infinite 2D grid where you can move in any of the 8 directions :
(x,y) to
(x+1, y),
(x - 1, y),
(x, y+1),
(x, y-1),
(x-1, y-1),
(x+1,y+1),
(x-1,y+1),
(x+1,y-1)
You are given a sequence of points and the order in which you need to cover the points.
Give the m... | [
"aishwary.dewangan@gmail.com"
] | aishwary.dewangan@gmail.com |
360649de21ffc60b72021600ba9635056eb1216f | 5af68d43b182694e6955be8de0a84ecea20c078d | /BlackCat.Physics/Physics/Body/bcRigidStatic.h | ee3cba8409815a4d31d281f65145e3bd82cce9ab | [] | no_license | coder965/BlackCat-Engine | 1ed5c3d33c67c537eaa1ae7d1afe40192296e03f | a692f95d5c5f0c86ababa0c5ecc06531f569f500 | refs/heads/master | 2020-03-18T21:41:31.035603 | 2017-04-15T16:53:26 | 2017-04-15T16:53:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 919 | h | // [12/01/2016 MRB]
#pragma once
#include "Physics/bcPhysicsApi.h"
#include "Physics/Body/bcRigidBody.h"
namespace black_cat
{
namespace physics
{
template< bc_physics_api TApi >
struct bc_platform_rigid_static_pack
{
};
template< bc_physics_api TApi >
class bc_platform_rigid_static : public bc_platfo... | [
"mohammad.r.barzegar@gmail.com"
] | mohammad.r.barzegar@gmail.com |
05c97803137d3427836a5b92558968952875c2e1 | f2cac9043a23c41ba7821e2aab3b152acfff8b83 | /二叉树层平均数.cpp | 771a2870598a159b52d55856c4fae215755f795f | [] | no_license | Amanda21088/code1 | 99ba54f6917a55ef1d89ec1add0a01edfd7b1a75 | 70c5ffaa3b95334e584a01db6d034ca98fd70501 | refs/heads/master | 2020-04-04T18:54:55.165708 | 2019-11-05T15:49:53 | 2019-11-05T15:49:53 | 156,184,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 595 | cpp | #define _CRT_SECURE_NO_WARNINGS 1
class Solution {
public:
vector<double> averageOfLevels(TreeNode* root) {
vector<double> vd;
queue<TreeNode*> q;
q.push(root);
while (!q.empty())
{
vector<int> v;
int size = q.size();
while (size--)
{
TreeNode* t = q.front();
v.push_back(q.front()->val);... | [
"1663478999@qq.com"
] | 1663478999@qq.com |
95c6abfa22e4b572f0fee71e0018ca421500d859 | 2b38f61f8febf0f72113dad7e45d0c71af900b06 | /trunk/BTrackerCore/algorithms/PCADistance.h | ac9287e9e836daa684978cd6e839cb9895eb7454 | [] | no_license | BGCX067/facetracking-svn-to-git | 211b89eef02f60bbfc1dfb3d2eb57fcdc3281b4c | 201e46e2e897822c1439093430462f6c54313fa7 | refs/heads/master | 2016-09-01T08:55:25.777412 | 2015-12-28T14:23:42 | 2015-12-28T14:23:42 | 48,837,861 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 506 | h | /*
* PCADistance.h
* FT2
*
* Created by Andre Cohen on 1/21/09.
* Copyright 2009 Rutgers University. All rights reserved.
*
*/
#ifndef _PCA_DISTANCE_H_
#define _PCA_DISTANCE_H_
#include "Analyzer.h"
#include "PCA.h"
class PCADistance : public Analyzer {
public:
virtual double evaluate(shared_ptr<Sample>,... | [
"you@example.com"
] | you@example.com |
3abe17b16292aaeaf0ba332a0a37748621ed148c | af158a8305d0fb3285ab6d91791ecba6530e6e0f | /Core/include/ShadyApp.h | bc1592ace4df22591ade9a9392bd6634ff594b5c | [] | no_license | achirinus/Shady | 6097277eb7f0249569d5f91f314237c487d64000 | 030edff1862735311564947d9d508c3406fb1824 | refs/heads/master | 2020-11-30T05:02:47.926133 | 2018-06-03T10:29:19 | 2018-06-03T10:29:19 | 96,609,940 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,791 | h | #ifndef SHADY_APP_H
#define SHADY_APP_H
#include "Window.h"
#include "Commons.h"
#include "ShMouse.h"
#include "ShFile.h"
#include "StringUtils.h"
#include "ShKeyboard.h"
#include "FileChangeObserver.h"
#include "Sprite.h"
#include "ShClock.h"
#include "Camera2D.h"
#include "Renderer2D.h"
#include "ShFont.h"
#include ... | [
"chirinus.alin@gmail.com"
] | chirinus.alin@gmail.com |
66a073e8d6f34b8ce352ebbf6e27c86842d18718 | bc01d89e3b77b9b60afd6f5f8fcad5675b813f8e | /natfw/natfwunsaf_protocols/tsrc/ut_unsaf_codec/src/ut_cnatfwunsafmessage.cpp | 74ce196334d4f2107e7a36d2b800faeac67b7911 | [] | no_license | SymbianSource/oss.FCL.sf.mw.ipappsrv | fce862742655303fcfa05b9e77788734aa66724e | 65c20a5a6e85f048aa40eb91066941f2f508a4d2 | refs/heads/master | 2021-01-12T15:40:59.380107 | 2010-09-17T05:32:38 | 2010-09-17T05:32:38 | 71,849,396 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,523 | cpp | /*
* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.h... | [
"kirill.dremov@nokia.com"
] | kirill.dremov@nokia.com |
46ae7100d38dbca1886fbc92d277ab684410f523 | ab97a8915347c76d05d6690dbdbcaf23d7f0d1fd | /pdf/pdfium/pdfium_engine_unittest.cc | 66452b447c617e740dbc4ff8279550965c47e8bf | [
"BSD-3-Clause"
] | permissive | laien529/chromium | c9eb243957faabf1b477939e3b681df77f083a9a | 3f767cdd5c82e9c78b910b022ffacddcb04d775a | refs/heads/master | 2022-11-28T00:28:58.669067 | 2020-08-20T08:37:31 | 2020-08-20T08:37:31 | 288,961,699 | 1 | 0 | BSD-3-Clause | 2020-08-20T09:21:57 | 2020-08-20T09:21:56 | null | UTF-8 | C++ | false | false | 36,275 | cc | // Copyright 2019 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 "pdf/pdfium/pdfium_engine.h"
#include <stdint.h>
#include "base/hash/md5.h"
#include "base/strings/utf_string_conversions.h"
#include "base/tes... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
efb45884e09a89c6e3b3613dabd9ec56e8440c11 | 39cd8b4643b1a3b2cbfda2e9776fd1148ded3ba0 | /TA_stuff/removal.cpp | f59eed90b654888ec49123df9df4ff18c564049d | [
"Apache-2.0",
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | onexmaster/cp | 816b98f6a6ea75e018ccb5251f35b64a1bfac542 | b78b0f1e586d6977d86c97b32f48fed33f1469af | refs/heads/master | 2023-03-04T23:20:27.179578 | 2021-02-15T19:40:04 | 2021-02-15T19:40:04 | 289,799,995 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,193 | cpp |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
int main(void)
{
#ifndef ONLINE_JUDGE
freopen("input.txt","r",stdin);
freopen("output.txt","w",stdout);
#endif
char orig[101];
scanf("%s", orig);
int num;
int i, j;
int lenOfString;
... | [
"tanujjain244@yahoo.com"
] | tanujjain244@yahoo.com |
bed76f8eb3f4e9007e6844606c283dbfc5837943 | 50837398a069185c6c94970460cd6a75af2e6b8e | /selectionSort.cpp | b601b7e8177bb17a0dae9f6a6c558d0ed77d6268 | [] | no_license | AbdullahAlshuaibi/CS111 | 1b8aee1152810ddba2173ef5c83b61ee75dc5f26 | dc85cbb9783695fe09f90c01a00792f51fbd8081 | refs/heads/master | 2022-11-18T11:43:36.620657 | 2020-07-11T06:33:33 | 2020-07-11T06:33:33 | 278,803,143 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,303 | cpp | #include <iostream>
#include <cstdlib>
using namespace std;
void selectionSort(int array[], int N);
int main()
{
srand(time(0));
const int SIZE = 10;
//declare an array using SIZE
int ar[SIZE];
for(int i=0; i<10; i++) //fill the array with 10 random numbers between 0 and 100
{
ar[i]= rand()%1... | [
"noreply@github.com"
] | noreply@github.com |
cc25835cac5fe05305bea4babf36a4c6dfbe2dab | 722f7f64bac942a88205b2b1fbe0e5a8fe5c164c | /src/bamUtil/src/SplitBam.cpp | ce238da1c63dba6585a76119b1530ef2bca0a8aa | [] | no_license | narisu/gotcloud | 7d891edf0fe7af8ad98851a4ff4c8bc2d48937d8 | a654789396528a8b01897fd689f550b7b1be4ae5 | refs/heads/master | 2021-01-18T09:23:03.290763 | 2013-09-20T13:56:53 | 2013-09-20T13:56:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,323 | cpp | /*
* Copyright (C) 2010 Hyun Min Kang
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This pro... | [
"mktrost@umich.edu"
] | mktrost@umich.edu |
c8de7df8e17e93418175e3a03e0fe5c0d4d45291 | 1fcdb2bc2c7f75f6aed466119a4b1c53777f0b7a | /holly_inletwfine_LRR_RSM_noturbulence2/1/nut | 41cd8fd0fb40a4419328a656073b504dd83b878e | [] | no_license | bshambaugh/openfoam-experiments3 | b32549e80836eee9fc6062873fc737155168f919 | 4bd90a951845a4bc5dda7063e91f6cc0ba730e48 | refs/heads/master | 2020-04-15T08:17:15.156512 | 2019-01-15T04:31:23 | 2019-01-15T04:31:23 | 164,518,405 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,011 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.1 |
... | [
"brent.shambaugh@gmail.com"
] | brent.shambaugh@gmail.com | |
bca4ce1e3f2ea36a679219c1c3efa53bf59c5f3e | 7dc95de30c66996726d357f01ce32ad2d5cc4aca | /HIH6131.cpp | d536f833a26080e3b0ea56076d8f6c741addb067 | [] | no_license | eraticus/HIH6131_arduino_library | 39d7919eda9dd9fd5cfed93853e377cf5ed0cc24 | b6b5a7f011d53e4b83962e761790dce7757be4b5 | refs/heads/master | 2021-01-14T08:10:48.364728 | 2017-02-15T09:12:28 | 2017-02-15T09:12:28 | 82,005,170 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 154 | cpp | #include "HIH6131.h"
int HIH6131::begin()
{
return 0;
}
float HIH6131::getTemperature()
{
return 1.9;
}
float HIH6131::getHumidity()
{
return 2.3;
} | [
"eraticus@gmail.com"
] | eraticus@gmail.com |
cff8a73c2c3b4b6e62e3d1e3441f20af3bcbb3ca | 5a6f8361dd4b6d7add57940dccca4c5729be6922 | /DailyManagement/countdownPage.h | a93dc730877771ce11892751ee34d7822516c06e | [] | no_license | YuJieROOT/DailyManagement | 4d5a70953f62e4a6282b097236f0fe713d354587 | 44978b6fce43a5dd29224da5900547239fb4cf5d | refs/heads/master | 2023-03-04T05:04:55.007406 | 2021-01-16T14:43:42 | 2021-01-16T14:43:42 | 326,620,428 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 766 | h | #ifndef COUNTDOWNPAGE_H
#define COUNTDOWNPAGE_H
#include <QMainWindow>
#include "calendarPage.h"
#include "dustbinPage.h"
#include "logPage.h"
#include "searchPage.h"
#include "settingPage.h"
#include "todoPage.h"
#include "userPage.h"
namespace Ui {
class countDownPage;
}
class countDownPage : public QMainWindow
{... | [
"2665000101@qq.com"
] | 2665000101@qq.com |
3b59ef736cd5e5447fcfa98eb038c6d00e575a37 | b3808ef958fdc8d650dc38a0016f2fea9c439415 | /190426_44keypad_2/190426_44keypad_2.ino | da59230690fbaf5c92adeb62c02e15b10c814174 | [] | no_license | insung0306/rtos_avr | 40350d166f9a0c60eb554a0a2b2d32f62154164b | 65402fbd48217753dfd52256d53b5b017585e992 | refs/heads/master | 2020-05-31T20:33:30.705624 | 2019-06-29T06:33:59 | 2019-06-29T06:33:59 | 190,478,303 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,828 | ino | #define BTN_NUM 4
int flag[BTN_NUM][BTN_NUM] = {0,};
int a=0;
int b=0;
int c=0;
int d=0;
int btn_num[BTN_NUM] = {1,2,3,4};
void setup() {
Serial.begin(9600);
//Row 1
pinMode(2,INPUT);
pinMode(3,INPUT);
pinMode(4,INPUT);
pinMode(5,INPUT);
//Colum
pinMode(6,OUTPUT);
pinMode(7,OUTPUT);
pinMode(8,O... | [
"jis020306@gmail.com"
] | jis020306@gmail.com |
56e36be3f34ebd6066e2244a4cf4a00e318e821b | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /teachingApps/inst/testfiles/dlbisa/dlbisa_DeepState_TestHarness.cpp | d1c381bf54c3b1cb8b9cc79ba55077cb82d19eb0 | [] | no_license | akhikolla/TestedPackages-NoIssues | be46c49c0836b3f0cf60e247087089868adf7a62 | eb8d498cc132def615c090941bc172e17fdce267 | refs/heads/master | 2023-03-01T09:10:17.227119 | 2021-01-25T19:44:44 | 2021-01-25T19:44:44 | 332,027,727 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,143 | cpp | // AUTOMATICALLY GENERATED BY RCPPDEEPSTATE PLEASE DO NOT EDIT BY HAND, INSTEAD EDIT
// dlbisa_DeepState_TestHarness_generation.cpp and dlbisa_DeepState_TestHarness_checks.cpp
#include <fstream>
#include <RInside.h>
#include <iostream>
#include <RcppDeepState.h>
#include <qs.h>
#include <DeepState.hpp>
NumericVector ... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
e6498c119e81e88313ea43da479783eacb086ec2 | e39cdf2d8bd9af9c6fb1d8cb436b24275a18f288 | /細談資料結構/ch7/cpp/7-7HeapSort.cpp | 5149352efbbdc69dce8c7f1bb6a779bb0ef54365 | [] | no_license | IRON-HAN/learn_c | 5977d32355b694f3196d1bcf6457aa74381aa64e | 0d17f80944dd81a106d2d9425707419b122c4e36 | refs/heads/master | 2021-05-30T03:49:19.717917 | 2015-08-09T08:18:16 | 2015-08-09T08:18:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,996 | cpp | /*=========================================================
7-7節 堆積排序法
Heap_Sort() 堆積排序法函式
Construct_by_Adjust() 將陣列調整成堆積
Down_Heap() 調整堆積,以符合特性
a[ARR_NUM] 欲排序之資料
ARR_NUM 欲排序之資料數目(陣列大小)
==========================... | [
"jason_yao@htc.com"
] | jason_yao@htc.com |
d3aa0e863480517d2f75b8b08a40e8bdedefe291 | 0a4d0659d1012a0faacf0acfdad9d2dccb67ced1 | /superKnopka/superKnopka.ino | 1e65f12f397b508f6d6ea9297bb7965ac4d0a57d | [] | no_license | gingerNata/Arduino-Sketchs | 6ebdba2ce450ab1d67f17623153bbe8554dd9c62 | 00a0314000669ff9d56c2ac03ae1967ef45e8489 | refs/heads/master | 2020-03-28T19:24:21.879363 | 2018-09-16T07:21:52 | 2018-09-16T07:21:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 336 | ino | /*
TEST CODE FOR PROXIMITY SENSOR
Metal Detection with 3 wire sensor
*/
int monitoring;
int metalDetection = 8;
void setup(){
Serial.begin(9600);
}
void loop(){
monitoring = digitalRead(metalDetection);
if(monitoring == HIGH)
{
Serial.println(monitoring);
}
else
{
Serial.println("LOW");
}
... | [
"youremail@domain.com"
] | youremail@domain.com |
c35d3af9914a1f1fa1afef4488e60b2b793ee613 | ab1c643f224197ca8c44ebd562953f0984df321e | /wmi/wbem/winmgmt/provsubsys/decoupledclient/maindll.cpp | 3e8d3f5997c4adfc1a1e155f9200ad883537199a | [] | no_license | KernelPanic-OpenSource/Win2K3_NT_admin | e162e0452fb2067f0675745f2273d5c569798709 | d36e522f16bd866384bec440517f954a1a5c4a4d | refs/heads/master | 2023-04-12T13:25:45.807158 | 2021-04-13T16:33:59 | 2021-04-13T16:33:59 | 357,613,696 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,454 | cpp | /*++
Copyright (C) 1996-2001 Microsoft Corporation
Module Name:
MainDll.cpp
Abstract:
History:
--*/
#include "PreComp.h"
#include <wbemint.h>
#include <comdef.h>
#include <stdio.h>
#include "Globals.h"
#include "ClassFac.h"
#include "Guids.h"
#include "ProvRegistrar.h"
#include "ProvEvents.h"
#include <lockst... | [
"polarisdp@gmail.com"
] | polarisdp@gmail.com |
204a6d07d73ea25c2e388e07b01a609328cae057 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /tag/include/alibabacloud/tag/model/DeleteTagRequest.h | 1fbd43d5634377a628e5ca941791c56842a19078 | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 1,869 | h | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
19ef9dd00fbb033d23792a96d1701c7bd8edb66a | 92ef3ab9f5aa4f8dc7dce5b54aa2ecfe9bb2b79a | /ACM/LG/LG-1880-WA.cpp | 19f92b48b0de0900982fdb0117dea30016a049ae | [] | no_license | Fyy10/ENIAC | 4c845c04d571a888ddd6630fd196a5baab1e3139 | ce034918cb575ec6bb71c07901b66f6f0f8cda7f | refs/heads/master | 2020-03-25T09:53:14.517682 | 2019-08-19T03:24:04 | 2019-08-19T03:24:04 | 143,677,951 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,045 | cpp | #include<stdio.h>
#include<string.h>
int dpmin[101][101];
int dpmax[101][101];
int min(int a,int b){return a<b?a:b;}
int max(int a,int b){return a>b?a:b;}
int main()
{
int n,maxans=0,minans=0x3f;
int a[201],sum[201];
scanf("%d",&n);
sum[0]=0;
for(int i=1;i<=n;i++)
{
scanf("%d",&a[i]);
a[i+n]=a[i];
}
for(... | [
"1093928135@qq.com"
] | 1093928135@qq.com |
95dfde73bead2b397c6742da3212b3b5f4d9cfe4 | 9c7d20467b93a2b37c31dbae13b18ecadf68f94c | /src/qt/addresstablemodel.h | 0cd52ad5962ced70db966b91b8a66fbd487cce4b | [
"MIT"
] | permissive | MistCoinTeam/mistcoin | dfbdd4ad399342782524a165133c1d1114e9045e | e2d440df50af290629bd119c33a8e0671b4b0751 | refs/heads/master | 2016-09-05T15:26:13.646764 | 2014-10-27T12:29:33 | 2014-10-27T12:29:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,086 | h | #ifndef ADDRESSTABLEMODEL_H
#define ADDRESSTABLEMODEL_H
#include <QAbstractTableModel>
#include <QStringList>
class AddressTablePriv;
class CWallet;
class WalletModel;
/**
Qt model of the address book in the core. This allows views to access and modify the address book.
*/
class AddressTableModel : public QAbstr... | [
"mistcointeam@gmail.com"
] | mistcointeam@gmail.com |
46eb3f2e849f94d508f814c7f3cdb8eb11092c24 | bd349c39bf95e58e4f5ea63efebd36d62eb5b349 | /include/seastar/coroutine/as_future.hh | de325c09327c9b24c0e93a549a6a35f1cefbf417 | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | scylladb/seastar | 588bd4ed833837e50e92912282264b631816b6fe | 4f8c225d48565f5df4f034dcb55f5b5d2038c362 | refs/heads/master | 2023-09-05T22:07:13.027241 | 2023-09-05T05:55:54 | 2023-09-05T07:58:00 | 23,061,798 | 7,641 | 1,676 | Apache-2.0 | 2023-09-13T17:56:34 | 2014-08-18T07:01:07 | C++ | UTF-8 | C++ | false | false | 3,621 | hh | /*
* This file is open source software, licensed to you under the terms
* of the Apache License, Version 2.0 (the "License"). See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. You may not use this file except in compliance with the License.
*
* You may ... | [
"avi@scylladb.com"
] | avi@scylladb.com |
0dd465a5b9aaa5c6668502296a21e93c177ce0b2 | b3024fd02bd1180a9268e24dbb7519238adf09e9 | /src/cuBERT/op_bert/BertEmbeddings.cpp | 74fa38e3dd4e43305762b6ebf72a1132aa982010 | [
"MIT"
] | permissive | yutaoxxx/cuBERT | 6a6fcf84144b6a5f70284beaca5b69eec1b4ba92 | 6e3d6e6b536a95483cb25d468b22fae264ac7fbd | refs/heads/master | 2022-12-26T02:49:56.922326 | 2020-10-13T06:27:46 | 2020-10-13T06:27:46 | 293,769,014 | 0 | 0 | MIT | 2020-09-08T09:52:41 | 2020-09-08T09:52:40 | null | UTF-8 | C++ | false | false | 3,211 | cpp | #include "cuBERT/common.h"
#include "BertEmbeddings.h"
namespace cuBERT {
const static float ONE = 1.f;
template <typename T>
BertEmbeddings<T>::BertEmbeddings(void* handle,
const std::unordered_map<std::string, T *> &var,
size_t max_b... | [
"fanliwen@zhihu.com"
] | fanliwen@zhihu.com |
e6f25cf100d207a19439192358697b576acd71e1 | d9c10d2da7c64e82aa85a6fabe56cdeb8adfe323 | /Tardes02/solutions/d-winnie.cpp | c8f73b369e512549abbe7c8e8d9c95fd6cec68b0 | [] | no_license | soyantonio/glass-battle | 905cc6c1388c82fb2cb7cf8f066b1d2824e47674 | 4d20d79e0fdd6643d3f2ab52ff711fc3fc3d3a70 | refs/heads/master | 2022-12-25T05:20:30.787140 | 2020-10-04T16:06:51 | 2020-10-04T16:06:51 | 296,974,488 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 509 | cpp | #include <fstream>
using namespace std;
int main(){
uint16_t jars, k, weight, piglet = 0;
ifstream finputs("input.txt");
if(finputs.is_open()){
finputs >> jars >> k;
for(uint16_t i = 0; i < jars; ++i){
finputs >> weight;
uint16_t j = 0;
while (true){
if(weight < k || j == 3... | [
"antonio@almavios.com"
] | antonio@almavios.com |
c8f67ce9ca1023fe23abb80780086fe662c3bbe4 | 305b9d7e4bc8ba731164fb10e53fb1e0a8d53775 | /libspindle/adt/BucketSorter/ArrayBucketSorter.h | 6a7d2a4182f292cab53c6ff3559d817ea4bfab4e | [
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-mit-old-style"
] | permissive | skn123/Spindle | 33b2bed84de866bb87e69bbfb2eca06e780b3dcb | d5f2cab92c86c547efbf09fb30be9d478da04332 | refs/heads/master | 2021-05-26T12:50:00.410427 | 2012-11-14T01:23:01 | 2012-11-14T01:23:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,367 | h | //
// ArrayBucketSorter.h
//
// $Id: ArrayBucketSorter.h,v 1.2 2000/02/18 01:31:44 kumfert Exp $
//
// Gary Kumfert, Old Dominion University
// Copyright(c) 1997, Old Dominion University. All rights reserved.
//
// Permission to use, copy, modify, distribute and sell this software and
// its documentation for an... | [
"gary@quiphon.com"
] | gary@quiphon.com |
326ff4cf92f6b00b9b03595b0fbe84011422fa0e | bb6ebff7a7f6140903d37905c350954ff6599091 | /chrome/browser/guest_view/guest_view_constants.h | a32d0397a2b5f81f69bae56d3b51533bad988d13 | [
"BSD-3-Clause"
] | permissive | PDi-Communication-Systems-Inc/lollipop_external_chromium_org | faa6602bd6bfd9b9b6277ce3cd16df0bd26e7f2f | ccadf4e63dd34be157281f53fe213d09a8c66d2c | refs/heads/master | 2022-12-23T18:07:04.568931 | 2016-04-11T16:03:36 | 2016-04-11T16:03:36 | 53,677,925 | 0 | 1 | BSD-3-Clause | 2022-12-09T23:46:46 | 2016-03-11T15:49:07 | C++ | UTF-8 | C++ | false | false | 793 | 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.
// Constants used for the WebView API.
#ifndef CHROME_BROWSER_GUEST_VIEW_GUEST_VIEW_CONSTANTS_H_
#define CHROME_BROWSER_GUEST_VIEW_GUEST_VIEW_CONSTANTS_H... | [
"mrobbeloth@pdiarm.com"
] | mrobbeloth@pdiarm.com |
4f4c980160c716126f2de9b90eea282be1b7f14f | d1aa6e7d5631d7806531660febbd1f856eaeece7 | /paddle/fluid/inference/tensorrt/plugin_arg_mapping_context.h | 1a483626dcea3e90fae7e6b4f16b5e39288e698f | [
"Apache-2.0"
] | permissive | gongweibao/Paddle | 510cd4bc0ef89bc6ccee7b6b8eca52c00e014b77 | 60f9c60cd8196c66c391d79c35d341e9072f8838 | refs/heads/develop | 2023-03-13T17:43:35.675875 | 2022-09-20T08:46:15 | 2022-09-20T08:46:15 | 82,279,237 | 3 | 2 | Apache-2.0 | 2021-05-26T06:17:43 | 2017-02-17T09:16:16 | Python | UTF-8 | C++ | false | false | 2,045 | h | // Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | [
"noreply@github.com"
] | noreply@github.com |
2fe73142d569aa15db7bd5cb47eeffe1746d2ac4 | 14635b76a0ca31e41cd2389e16888eaac70d46fd | /src/play_audio_speex/src/play_audio_speex.cpp | 22688ed6b84780f89e0cff462f1a554624211075 | [] | no_license | Kalmend/thesis | 1801f5eee041dcb8b096db1b51f61496e63b4d7a | 6871cd5561558d1620868dcda6ea06ec44e63087 | refs/heads/master | 2020-03-17T11:51:34.687318 | 2018-05-15T19:44:31 | 2018-05-15T19:44:31 | 133,566,390 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,208 | cpp | #include <gst/gst.h>
#include <gst/app/gstappsrc.h>
#include <ros/ros.h>
#include <signal.h>
#include <boost/thread.hpp>
#include "audio_common_msgs/AudioData.h"
#include "capture_vad_speex/GetSinkCapabilities.h"
using namespace std;
class SpeechRecognitionSimple
{
public:
SpeechRecognitionSimple()
{
parseArgume... | [
"kalmendoliver@gmail.com"
] | kalmendoliver@gmail.com |
843c2ad14f15842b48c5598e0760fe40e60255f5 | ceac59f034f560602da63f8f93eff80476ce4d37 | /third_party/asio/include/asio/detail/winrt_async_manager.hpp | 8334d149c981b091ae650aca0dd3150e1f102831 | [
"BSL-1.0"
] | permissive | ludocosmo/wrtc-client | ade5e183db3ed0d5f86e79f06fe54cb7dad9ff4d | 0efa2c6c79b865c9128b0eecf85ec133862b8cf6 | refs/heads/master | 2021-05-05T14:11:03.523903 | 2018-01-22T02:30:11 | 2018-01-22T02:30:11 | 118,438,078 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,658 | hpp | //
// detail/winrt_async_manager.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// 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)
//
... | [
"ludovic.roux@cosmosoftware.io"
] | ludovic.roux@cosmosoftware.io |
0d7058b657fd9334065cd71fc6e4c139caa8afff | 403c072db5a50dfe1e1f5599f612bb10708a7794 | /Codigo/src/Obj.h | d25b6e6a40b792a8640b5716053bf9151d9228cb | [] | no_license | fuhranku/ProyectoIII_Grafica | 71a6ec4ed94e7c40105feff90151b22944075e97 | 08881fae18aabe133bd5ecc3b438a59ddad163fb | refs/heads/master | 2020-04-20T01:00:35.968726 | 2019-01-31T15:31:16 | 2019-01-31T15:31:16 | 168,533,932 | 1 | 0 | null | 2019-02-27T07:01:38 | 2019-01-31T13:58:18 | C | UTF-8 | C++ | false | false | 232 | h |
#include "Model.h"
#include <iostream>
#include <fstream>
using std::fstream;
using namespace std;
class CObj : public CModel
{
public:
CObj();
~CObj();
bool load(string path);
private:
bool checkValidToken(string token);
};
| [
"frankponte95@gmail.com"
] | frankponte95@gmail.com |
dfa084382e0343cbbc4c51e128928be44ab33a5b | b6e8052dc3beaf389aeba24c83a36a8b1c21bd8f | /sake/core/introspection/private/builtin_has_operator_minus.hpp | baf2623cfafffa44239961aebc0a65eb0126e885 | [
"BSL-1.0"
] | permissive | jhellrung/sake | dbc0bab1580ca4e47d32284015e086eb7711d9b6 | 96b82fa747388477a55ac142369000519e5a4771 | refs/heads/master | 2021-01-20T10:06:10.354701 | 2012-09-09T06:21:22 | 2012-09-09T06:21:22 | 2,326,641 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,683 | hpp | /*******************************************************************************
* sake/core/introspection/private/builtin_has_operator_minus.hpp
*
* Copyright 2012, Jeffrey Hellrung.
* Distributed under the Boost Software License, Version 1.0. (See accompanying
* file LICENSE_1_0.txt or copy at http://www.boost.... | [
"jeffrey.hellrung@gmail.com"
] | jeffrey.hellrung@gmail.com |
7862e1380fac25c36a7d42522cb25fb33b3a5705 | b24b4c5d15818ba85e64245d9108f30266ad3f67 | /main.cpp | 9e284ae20e6aed82c0d0b6ffbdbbdb4d4cc2bd99 | [] | no_license | demon314159/eyeball | 5496717b27f57ae8f5611a23b13b3d2523cb62e7 | ba0bf67cdf0090ce548cf26a2dd6117687b78b82 | refs/heads/master | 2022-12-01T21:28:31.569070 | 2020-08-22T17:36:53 | 2020-08-22T17:36:53 | 287,838,728 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 182 | cpp | #include "eyeball.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
Eyeball eyeball;
eyeball.show();
return app.exec();
}
| [
"demon314159@gmail.com"
] | demon314159@gmail.com |
f3e6e88507c3e75df627f41738767a3bccd92a73 | 6b90d9f8762f9f44a23b1dd6a93bb528f015abab | /libqnapi/src/subconvert/subtitleconverter.h | 71879b3c370ab6a8b3e4a9fc93db110fa0f84677 | [] | no_license | psokol/qnapi | e61956c76f84b8a7ffcd41d88efcc837dc87aec8 | 73ac207ca2b4975b0417508c12d6d31f7734cc47 | refs/heads/master | 2021-01-18T17:25:56.369622 | 2017-03-31T17:05:19 | 2017-03-31T17:05:19 | 86,797,681 | 1 | 0 | null | 2017-03-31T08:41:27 | 2017-03-31T08:41:27 | null | UTF-8 | C++ | false | false | 2,262 | h | /*****************************************************************************
** QNapi
** Copyright (C) 2008-2015 Piotr Krzemiński <pio.krzeminski@gmail.com>
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free So... | [
"pio.krzeminski@gmail.com"
] | pio.krzeminski@gmail.com |
87dc1cdafb8e0709d1803c18b84980a973a39e91 | 452be58b4c62e6522724740cac332ed0fe446bb8 | /src/base/memory/shared_memory_handle.h | 832982939577e2451aeb1902871e7e33b230d9d7 | [] | no_license | blockspacer/cobalt-clone-cab7770533804d582eaa66c713a1582f361182d3 | b6e802f4182adbf6a7451a5d48dc4e158b395107 | 0b72f93b07285f3af3c8452ae2ceaf5860ca7c72 | refs/heads/master | 2020-08-18T11:32:21.458963 | 2019-10-17T13:09:35 | 2019-10-17T13:09:35 | 215,783,613 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,738 | 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 BASE_MEMORY_SHARED_MEMORY_HANDLE_H_
#define BASE_MEMORY_SHARED_MEMORY_HANDLE_H_
// Starboard doesn't curretly support multiple processes or share... | [
"trofimov_d_a@magnit.ru"
] | trofimov_d_a@magnit.ru |
84b2866d24e438832dd725044c5308ca7603202d | 45c84e64a486a3c48bd41a78e28252acbc0cc1b0 | /src/chrome/browser/chromeos/eol_notification.cc | 1e6d2d6c031e0f42ce1bc108a1fa0bd278b4a297 | [
"BSD-3-Clause",
"MIT"
] | permissive | stanleywxc/chromium-noupdator | 47f9cccc6256b1e5b0cb22c598b7a86f5453eb42 | 637f32e9bf9079f31430c9aa9c64a75247993a71 | refs/heads/master | 2022-12-03T22:00:20.940455 | 2019-10-04T16:29:31 | 2019-10-04T16:29:31 | 212,851,250 | 1 | 2 | MIT | 2022-11-17T09:51:04 | 2019-10-04T15:49:33 | null | UTF-8 | C++ | false | false | 5,643 | cc | // Copyright 2016 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/eol_notification.h"
#include "ash/public/cpp/notification_utils.h"
#include "base/bind.h"
#include "chrome/app/vector_i... | [
"stanley@moon.lan"
] | stanley@moon.lan |
94b1b848854d9ac38afc63e5cde17caf93409408 | f8959d663bba888709824a7890a62768f80c116a | /src/Application.h | 4e2df67326ebeed013948f75b79fa593f6d82fe5 | [
"LicenseRef-scancode-public-domain"
] | permissive | dqshen/cwdsim | 620dd0e8b7283634d2d0c7d54aad760171d324b0 | b773300c980ff5a9680c3b3e73fd4a2a1821446f | refs/heads/master | 2021-01-22T17:14:26.017585 | 2013-07-30T07:45:29 | 2013-07-30T07:45:29 | 11,733,912 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 491 | h | #ifndef APPLICATION_H_
#define APPLICATION_H_
#include <QApplication>
#include "Logger.h"
class Application : public QApplication
{
public:
static const QString APPLICATION_NAME;
Application(int& argc, char** argv, Logger* logger);
virtual ~Application();
QStrin... | [
"dqshenfiw@gmail.com"
] | dqshenfiw@gmail.com |
50f9aa80396178237b246c8c242bac0648563d64 | 2e9ca33d4904bb5a6c8c8152abb9db8028155c33 | /src/functions/unrecognized_expr.cpp | c211bec93f5e718c5dd455ef01d6901e9c65c641 | [
"MIT"
] | permissive | mokerjoke/circa | cbe1e1803bc9ae2ed2a4d10be1de8f6d6b8c55d8 | 7decd3f4403d4c267a1cfc2d4e72786c3b377da8 | refs/heads/master | 2020-12-24T20:11:00.198382 | 2012-08-29T03:49:59 | 2012-08-31T04:48:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 558 | cpp | // Copyright (c) Andrew Fischer. See LICENSE file for license terms.
#include "circa/internal/for_hosted_funcs.h"
namespace circa {
namespace unrecognized_expr_function {
void formatSource(caValue* source, Term* term)
{
append_phrase(source, term->stringProp("originalText",""), term, name_None);
... | [
"paul.hodge.email@gmail.com"
] | paul.hodge.email@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.