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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8588fac675391600cedf7ddcfb54aaa031d6befb | 1e679a187a1c69381c9c340bef09c601fe0df791 | /Source/HourOfCodeMultiplayer/MyClass.h | 5804453ca9973b63e91d9c37a44e7ea84c2f056b | [] | no_license | ncfausti/UE4.26-Steam-Multiplayer | 5d195fa6ad8fecd14a3e0d622314538d06850a13 | 1740a1bc793591c3293d80ea360ae276fb57d627 | refs/heads/main | 2023-02-24T00:52:54.632155 | 2021-01-23T19:40:38 | 2021-01-23T19:40:38 | 332,293,848 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 210 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
/**
*
*/
class HOUROFCODEMULTIPLAYER_API MyClass
{
public:
MyClass();
~MyClass();
};
| [
"ncfausti@gmail.com"
] | ncfausti@gmail.com |
372aac0efe44f39633e4d4b53741ae24d2d194f1 | 72852e07bb30adbee608275d6048b2121a5b9d82 | /algorithms/problem_1413/solution.cpp | 8a3ba97647246a9a1c0cea64584140f3de110128 | [] | no_license | drlongle/leetcode | e172ae29ea63911ccc3afb815f6dbff041609939 | 8e61ddf06fb3a4fb4a4e3d8466f3367ee1f27e13 | refs/heads/master | 2023-01-08T16:26:12.370098 | 2023-01-03T09:08:24 | 2023-01-03T09:08:24 | 81,335,609 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,835 | cpp | /*
1413. Minimum Value to Get Positive Step by Step Sum
Easy
Given an array of integers nums, you start with an initial positive value startValue.
In each iteration, you calculate the step by step sum of startValue plus elements in nums (from left to right).
Return the minimum positive value of startValue such that th... | [
"drlongle@gmail.com"
] | drlongle@gmail.com |
cd8625b4d9e3902d6acc9717f9a196d480d0757b | a5a4ec24e2ad4f9c4b3d74e16d90291ac8c20a78 | /src/ecs/entities/PowerUps/DroppedBonusGhost.cpp | 1d73090f592e85c7db9a83b830084cab04cdd558 | [
"MIT"
] | permissive | iElden/IndieStudio | 7fd7019005cfc79401d7c69560c40c849b7b1366 | 995451809eb715b8feda7fc74f641a713d711e6a | refs/heads/master | 2020-05-24T00:47:22.002332 | 2019-07-16T21:48:55 | 2019-07-16T21:48:55 | 187,019,480 | 0 | 1 | MIT | 2019-07-16T21:48:56 | 2019-05-16T12:03:40 | C++ | UTF-8 | C++ | false | false | 712 | cpp | /*
** EPITECH PROJECT, 2019
** bomberman
** File description:
** DroppedBonusGhost.cpp
*/
#include "DroppedBonusGhost.hpp"
#include "../../components/HealthComponent.hpp"
#include "../../components/DisplayableComponent.hpp"
#include "../../components/ColliderComponent.hpp"
#include "../../components/PositionComponent.... | [
"andgel.halley@epitech.eu"
] | andgel.halley@epitech.eu |
c3189e62e381dca4537b4d721ab9c01af68ca5a8 | 5dbc57ccebadb32a0ccf51d2eff011cfc395cbc5 | /vfxFluid/include/Quantity.h | 1968d854fde0ab6ee12b9810ead375c58ec04347 | [
"LicenseRef-scancode-public-domain"
] | permissive | mezox/Volumetric-Effects-GPU | 166dffa5569fda06379bb0816d36ef95f3e7ec06 | 181bdca09498a65a83d3237d7926b09cc625bf7c | refs/heads/master | 2021-03-27T11:14:02.391880 | 2017-07-24T22:18:26 | 2017-07-24T22:18:26 | 72,918,602 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,413 | h | #pragma once
#include "glm/vec3.hpp"
#include "Parameter.h"
#include <memory>
#include <unordered_map>
namespace vfx
{
class Image3D;
class IInjection;
class Quantity
{
public:
Quantity(const glm::vec3& resolution, short int channels);
virtual ~Quantity();
/// \brief Returns pointer t... | [
"t.kubovcik@gmail.com"
] | t.kubovcik@gmail.com |
8cb5b6c6168429588ee57f8abf1700b4de900af0 | ee582546be81bdea7b516f8c9f6e6df3e62b5090 | /src/num_records.cpp | bad996c13f105987a1ebd29bf602faa57af70038 | [] | no_license | cran/sharpeRratio | 1dc12039afd8f031f262f6cd41b0db27cc2e9077 | afc5c67b546258d02095d86a5f255a9b933b178d | refs/heads/master | 2022-07-22T13:16:38.769754 | 2022-07-05T13:20:02 | 2022-07-05T13:20:02 | 70,264,154 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,368 | cpp | #include <algorithm> // std::shuffle
#include <Rcpp.h>
#include <random>
using namespace Rcpp;
//' Computes the number of upper records of the cumulative sum of \code{x}
//'
//' @param x a vector of sample values
//' @return the number of upper records
// [[Rcpp::export]]
int num_records_up(NumericVector x) {
i... | [
"csardi.gabor+cran@gmail.com"
] | csardi.gabor+cran@gmail.com |
fcfb3140d9bacdc080381e0f81cc3e81025077c3 | 82bba04be05e518845b99d749a3293668725e9e7 | /QHG3_python_package/QHG3/geoinfo/StatDEM.cpp | 99f78256262c67cddbda21bf611cc4bf3064b1cf | [] | no_license | Achandroth/QHG | e914618776f38ed765da3f9c64ec62b983fc3df3 | 7e64d82dc3b798a05f2a725da4286621d2ba9241 | refs/heads/master | 2023-06-04T06:24:41.078369 | 2018-07-04T11:01:08 | 2018-07-04T11:01:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,634 | cpp | #include <stdio.h>
#include "types.h"
#include "StatDEM.h"
//----------------------------------------------------------------------------
// constructor
//
StatDEM::StatDEM(int iNumLonVals, int iNumLatVals)
: DEM(iNumLonVals, iNumLatVals),
m_matDEM(NULL) {
m_matDEM = new double *[m_iNumLatVals];
for... | [
"nataliet@physik.uzh.ch"
] | nataliet@physik.uzh.ch |
edf96d1f47c72e1901463f2b91463a7d62a6b350 | c188164c0e34c10d7bfdf41230234dd9809ef03a | /unittest/validate_spiff_header_test.cpp | d10a8cda1e58698098d5a5e3e4824deba01f95bd | [
"BSD-3-Clause"
] | permissive | cornerstonejs/charls | a91274fa2f897e19fdd96b71a88dd0367a050ecc | 38d95d00671f4cddfa61f3f51eaf81b8bac34543 | refs/heads/master | 2023-02-22T14:00:35.875790 | 2023-01-04T23:38:57 | 2023-01-04T23:38:57 | 59,831,568 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 7,591 | cpp | // Copyright (c) Team CharLS.
// SPDX-License-Identifier: BSD-3-Clause
#include "pch.h"
#include "util.h"
#include <charls/validate_spiff_header.h>
using Microsoft::VisualStudio::CppUnitTestFramework::Assert;
using Microsoft::VisualStudio::CppUnitTestFramework::TestClass;
MSVC_WARNING_SUPPRESS(6387) // '_Param_(x)... | [
"noreply@github.com"
] | noreply@github.com |
f50059886bf2f391c4da595fa03fe9e8857509e9 | 02baf95832e796999d490df8e8da2371fd61b6b5 | /enemy.h | d940e7ee5360e22b9734787ae74b77f6ecad8e90 | [] | no_license | aluo123/Chamber-Crawler-3000 | 0e96b235049add5f71ba891e2aa12b60dfa78eeb | dd7d097cc46d4f4c74621bed01b1c2d8f5a6ff1a | refs/heads/master | 2020-04-27T08:59:41.045869 | 2016-01-18T03:43:57 | 2016-01-18T03:43:57 | 42,877,110 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 590 | h | #ifndef __ENEMY_H__
#define __ENEMY_H__
#include "character.h"
#include "floor.h"
class Player;
class Item;
class Enemy: public Character{
protected:
Item *item;
//instructions for an enemy to dies
virtual void die(Character *killer);
public:
virtual void checkRadius();
Enemy(int hp,int atk,int def);
virtua... | [
"austin.luo06@gmail.com"
] | austin.luo06@gmail.com |
e02b49af063ec7fe064d702101506e15ffd414c3 | fcb3613db9798c13037fccb0ee04991d3c5912f2 | /LoRaSensorTile/LoRaSensorTile.v02/BME280.cpp | ee169699d6f148313b774b597c672f11b3b47034 | [] | no_license | kriswiner/CMWX1ZZABZ | 036ca65a0cc3067fd7c37235d7354a25f834319e | ed8b70dd992d7130fc21175beab8a3ec1e173b53 | refs/heads/master | 2023-05-25T16:32:19.055721 | 2023-05-22T18:22:24 | 2023-05-22T18:22:24 | 117,362,394 | 91 | 34 | null | 2023-04-10T23:54:44 | 2018-01-13T17:13:30 | C++ | UTF-8 | C++ | false | false | 9,547 | cpp | /* 06/16/2017 Copyright Tlera Corporation
*
* Created by Kris Winer
*
This sketch uses SDA/SCL on pins 42/43 (back pads), respectively, and it uses the Dragonfly STM32L476RE Breakout Board.
The BME280 is a simple but high resolution pressure/humidity/temperature sensor, which can be used in its high reso... | [
"noreply@github.com"
] | noreply@github.com |
46c14fecb02880aa8dfdbead8e230fc371b78225 | 0edbcda83b7a9542f15f706573a8e21da51f6020 | /private/shell/shell32/unicpp/admovr2.h | b70c84a2bec17516b83b407c23e699dec43d5937 | [] | no_license | yair-k/Win2000SRC | fe9f6f62e60e9bece135af15359bb80d3b65dc6a | fd809a81098565b33f52d0f65925159de8f4c337 | refs/heads/main | 2023-04-12T08:28:31.485426 | 2021-05-08T22:47:00 | 2021-05-08T22:47:00 | 365,623,923 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,913 | h | /* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 3.01.75 */
/* at Thu Apr 03 11:59:43 1997
*/
/* Compiler settings for ADMover.idl:
Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
error checks: none
*/
//@@MIDL_FILE_HEADING( )
#include "r... | [
"ykorokhov@pace.ca"
] | ykorokhov@pace.ca |
59fd19c91f8bb90a4cff6c2180a15acdae385df0 | b77edd51900db5b36d42b628619649750dc3de1e | /eigen3/Eigen/src/SparseCore/SparseBlock.h | 5b95cc33f77378a421fef7bd20110562525b890c | [] | no_license | yz599/movMF | 0c764b507fb98dba3db23485e9dcfb261f565cfa | 397acb2e989b777e5f349d07c03fc2554e1557bc | refs/heads/master | 2020-05-05T01:12:17.970423 | 2015-03-23T09:37:53 | 2015-03-23T09:37:53 | 179,596,006 | 1 | 0 | null | 2019-04-05T00:18:28 | 2019-04-05T00:18:27 | null | UTF-8 | C++ | false | false | 23,700 | h | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008-2009 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file... | [
"mickaelrouvier@MacBook-Pro.local"
] | mickaelrouvier@MacBook-Pro.local |
8db08075a429243acc219188a9d07706c3a565ea | 4bea57e631734f8cb1c230f521fd523a63c1ff23 | /projects/openfoam/rarefied-flows/impingment/sims/test/nozzle1/9.06/uniform/time | 24b4ba810382a86a0bb9480d2356d3333f98ba71 | [] | no_license | andytorrestb/cfal | 76217f77dd43474f6b0a7eb430887e8775b78d7f | 730fb66a3070ccb3e0c52c03417e3b09140f3605 | refs/heads/master | 2023-07-04T01:22:01.990628 | 2021-08-01T15:36:17 | 2021-08-01T15:36:17 | 294,183,829 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 996 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | [
"andytorrestb@gmail.com"
] | andytorrestb@gmail.com | |
d2831b36951eda17af40a0c529f96bbe720ee38e | a8933b2c8a5e63c5a9fe7de142f902fdcf21a9be | /module/def/5.8-p027/def/defiUtil.hpp | b99b858ac49b2a2f83be8f9a4de2f96f63406782 | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | The-OpenROAD-Project/OpenDP | eca0d98e6f2df8dcee5d0af1c9c74481c5729cc0 | 5cb3d244be161c544dc546c0f7716e4ecc2ef1c1 | refs/heads/master | 2020-06-12T02:06:44.802276 | 2020-01-23T18:56:36 | 2020-01-23T18:56:36 | 194,161,000 | 10 | 7 | BSD-3-Clause | 2019-12-28T06:35:02 | 2019-06-27T20:46:02 | C++ | UTF-8 | C++ | false | false | 1,662 | hpp | // *****************************************************************************
// *****************************************************************************
// Copyright 2013, Cadence Design Systems
//
// This file is part of the Cadence LEF/DEF Open Source
// Distribution, Product Version 5.8.
//
//... | [
"mgwoo@unist.ac.kr"
] | mgwoo@unist.ac.kr |
ed00fb05073b0081f9100217630eeafd1d3db33c | a3a183f549c5232947c483079833a8a941f79320 | /lib/ImageWidget.cpp | 2a8d940e80d15eb6a64082024ae8d91bc86ab8be | [
"BSD-2-Clause"
] | permissive | artm/vision-ui-skeleton | ef2a8db3e4b93f023db68f4982e63e65898ae3d0 | 0197c2aa532ee3479f0bd8f43ad819ec91b11c9a | refs/heads/master | 2020-12-12T21:00:58.462563 | 2012-07-27T13:32:48 | 2012-07-27T14:10:24 | 5,720,868 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,030 | cpp | #include "ImageWidget.hpp"
namespace QArtm {
struct ImageWidget::Detail {
bool resizing;
bool dragging;
QPoint dragStart, dragPos;
QPen ribbonPen;
Detail()
: resizing(false),
dragging(false),
ribbonPen( QBrush(QColor("white")), 1, Qt::DashLine )
{}
};
ImageWidget::Im... | [
"artm@v2.nl"
] | artm@v2.nl |
eb5fdf7bd686aede885f5012299a46ebe6b7666a | 2934e77ee03cff9ebff66bb1d7ee01a6c4c319b4 | /C++/Hollow_Inverted_halfPyramid.c++ | c209a140cc485e903618af7f877d3652a8a54cf3 | [] | no_license | AmpoluNisa03/Hacktober_2021 | e1ec526a237c590b4879fe02b820956636e721f8 | a1ccc45cf097cbc41a693d97c19fe2202e1c8a7e | refs/heads/main | 2023-08-22T22:21:27.307798 | 2021-10-24T05:36:43 | 2021-10-24T05:36:43 | 420,596,772 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 437 | #include <iostream>
using namespace std;
int main() {
int number, i, j, h=0;
cin >> number;
for (i = 0; i < number; i++)
cout << "* " ;
for (i = number; i >= 1; --i)
{
for (j = 0; j < number - i; ++j){
while (h != (2 * i - 1))
{
if (h == 0 || h == 2 * i - 2)
cout << "*... | [
"sourin4.ju@gmail.com"
] | sourin4.ju@gmail.com | |
db7b139f82d797af5330f9a76e892a85d2ee4b19 | 48c42f71392593441b67699d04f0f33de4f17afd | /zSources/GameServer/MuunInfoMng.h | 186b322bc073dda6ad09f05f1cde789c8b06778c | [] | no_license | zhouyanlt/IGCN-v9.5-MuServer-S9EP2 | 89d8f8e1505946c10e549a44cb69137b3911e062 | 7032265a88037c135f6e77fd0c1496fbfd1afdf2 | refs/heads/master | 2020-03-15T23:10:57.055767 | 2018-05-08T15:45:51 | 2018-05-08T15:45:51 | 132,388,553 | 0 | 0 | null | 2018-05-07T00:55:13 | 2018-05-07T00:55:13 | null | UTF-8 | C++ | false | false | 918 | h | //////////////////////////////////////////////////////////////////////
// MuunInfoMng.h
#ifndef MUUNINFOMNG_H
#define MUUNINFOMNG_H
#include "MuunInfo.h"
#define MAX_MUUN_ITEM 100
class CMuunInfoMng
{
public:
CMuunInfoMng();
~CMuunInfoMng();
bool LoadScriptMuunSystemInfo(char *lpszFileName);
boo... | [
"daovantrong@live.com"
] | daovantrong@live.com |
9966f08181b55c9955f3d93b71aace90cc0a0698 | bb055e863a88edbf5a248fcb1acf94533f51d03c | /exercise-02/task-01/A2-1/main.cpp | 0195c339e21ef5aeb3e9f89c181322d324d4c487 | [] | no_license | Dradux-dev/b-mi-cpp-2020 | 118df325ed1871420b0a630c7c4802f2e72ba58f | 886183b6adc5358271b9653bcc70fcd162740c39 | refs/heads/master | 2022-11-18T16:06:46.559926 | 2020-07-13T09:48:16 | 2020-07-13T09:48:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 266 | cpp | #include <iostream>
#include <my_vector.h>
using namespace std;
int main()
{
vector<int> test(8,77);
if(test.empty()) {
cout << "Empty" << endl;
}
cout<<"Vector size() = " << test.size() << endl;
std::cout<< test[5] << endl;
return 0;
}
| [
"s71970@beuth-hochschule.de"
] | s71970@beuth-hochschule.de |
cc668523e5cd94909a607862c977c917e2e2cc61 | c305b0e5a66eca5143ee0a8984765dbccbf13ba2 | /src/AnalysisTools/EventFilters/interface/VertexFilter.h | 2b336d1b9bfc029b6ccf4c68a592d83e78508054 | [] | no_license | joaopela/HEPFW | 4e414430345466be3df8ae716fc0627fba3d5e53 | 5df9a9a4522b9564d98008a732d51d9fd13f0dbf | refs/heads/master | 2021-01-10T22:12:40.154754 | 2015-04-30T14:48:08 | 2015-04-30T14:48:08 | 34,859,485 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,217 | h | #ifndef AnalysisTools_CutFlows_VertexFilter
#define AnalysisTools_CutFlows_VertexFilter
// HEPFW includes
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Modules/interface/FilterModule.h"
#include "FWCore/Parameters/interface/ParameterSet.h"
// C++ STD includes
#include <string>
#include <map>
namespa... | [
"pela@cern.ch"
] | pela@cern.ch |
555c7e5aad3a71255e816e792c154c9d8e4937d4 | b68457c378205b7afe30219405ef5ec1b03453cd | /Src/sprofile/PerfMarkerAtpFile.cpp | b6a87795181a5a978186d694bfacfa9adb5eeb56 | [
"MIT"
] | permissive | GPUWorld/RCP | 3b3cbbaf2ddb442c7535d11aa6850fa4cce812fd | 2b1967ca22ea928ec138bbf22b773636408fa5ad | refs/heads/master | 2020-03-15T04:18:17.399427 | 2018-04-19T13:48:57 | 2018-04-19T13:48:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,253 | cpp | //==============================================================================
// Copyright (c) 2015 Advanced Micro Devices, Inc. All rights reserved.
/// \author AMD Developer Tools Team
/// \file
/// \brief PerfMarker Atp File writer and parser
//=====================================================================... | [
"christopher.hesik@amd.com"
] | christopher.hesik@amd.com |
f3b225039fde73c549f9f04d53d856828767de7d | 67bb3631e41e8425affa4ad84139e84c3c175802 | /server/include/libpmemobj++/transaction.hpp | c9620fe06239541601f9bfb344b03501ba0d8f8e | [] | no_license | siisee11/Xcache | fbe5d992f76a494368bcabc3fb81ea1522ba48b7 | 5a7dd661be6205e1e5dd182adf687b60e1614d13 | refs/heads/master | 2023-07-17T16:57:43.962845 | 2021-07-20T13:35:48 | 2021-07-20T13:35:48 | 270,556,364 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,697 | hpp | /*
* Copyright 2016-2019, Intel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and ... | [
"siisee111@gmail.com"
] | siisee111@gmail.com |
eec2bad0df12598ad0417ba17ed07beeea637467 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/inetsrv/iis/admin/appconfig/aspdebug.cpp | 024e105ddedd9fa423d8547ff68a819548e5b170 | [] | 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 | 749 | cpp | //
//
//
#include "stdafx.h"
#include "AspDebug.h"
LRESULT
CAspDebugPage::OnInitDialog(HWND hDlg, LPARAM lParam)
{
DoDataExchange();
m_ErrorIdx = m_pData->m_SendAspError ? 0 : 1;
m_DefaultErrCtrl.EnableWindow(!m_pData->m_SendAspError);
DoDataExchange(FALSE);
return FALSE;
}
void
CAspDebugPage::OnCha... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
64e025a21d009377fa0e040b52ae32976d12e9ee | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/libs/vmd/test/test_is_tuple_fail2.cpp | 8f61d1aa7eb7cdb93746e425ae63f0e81d7a2b97 | [
"BSL-1.0"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 289 | cpp |
// (C) Copyright Edward Diener 2011-2015
// Use, modification and distribution are subject to 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).
#include <libs/vmd/test/test_is_tuple_fail2.cxx>
| [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
2bd51d48c2fd68bf523f9447cd80d204a9e562ca | 2d98432c03d7435d424570a716ba6abb100541b4 | /noj/1957.cpp | f60b7217eda4e2addcbb73d3d1150d4a043a6125 | [] | no_license | UnknownCUnknown/ACM | ae7fc3dc61468bc5487682cb59dd47a46fb68dbb | 1848418d90fc8439869d9050b6657318ccc32d27 | refs/heads/master | 2016-08-07T14:10:31.164573 | 2015-04-23T16:37:48 | 2015-04-23T16:37:48 | 34,468,051 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 887 | cpp | /*************************************************************************
> File Name: 1957.cpp
> Author: UnknownCUnknown
> Mail: jsnjhcb@icloud.com
> Created Time: 一 2/ 2 08:44:54 2015
************************************************************************/
#include <iostream>
#include <cstdio>
#include <cstr... | [
"jsnjhcb@icloud.com"
] | jsnjhcb@icloud.com |
a5d1f064cd5f60ee076009961ea7abce474e5742 | d62f5208f788e59d04da547d2f397763a631fa80 | /Project/ConfigureSoftware/canvos.cpp | 19af00401e2e585fcce6d4e438eb49d154ee6f81 | [] | no_license | wyt0602/MyPaper | 4ee876c024a1d9ae6f75c544e4bf0a89cd829a54 | 8832b880717d70f230a23c519725a97beabfa18c | refs/heads/master | 2021-01-12T06:22:23.629013 | 2017-05-14T01:48:58 | 2017-05-14T01:48:58 | 77,350,250 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,856 | cpp | #include "canvos.h"
#include <QFile>
#include <QTextStream>
#include <QDebug>
#include <QMimeData>
typedef Primitive* (*GetPrimitiveFunc) (QWidget*);
Canvos::Canvos(QWidget *parent) :
QWidget(parent), type_flag(false), run_env(false),
list(new ProjectListWidget)
{
init();
setAcceptDrops(true);
}
void... | [
"w_y_tao@163.com"
] | w_y_tao@163.com |
94909196e4af4e7f1eb9323860959e9320ae5cbd | 45c84e64a486a3c48bd41a78e28252acbc0cc1b0 | /src/components/arc/video_accelerator/arc_video_accelerator_util.h | 8eada6377471ea4ed25f87cc06af7adb3a12117a | [
"MIT",
"BSD-3-Clause"
] | 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 | 1,492 | h | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_ARC_VIDEO_ACCELERATOR_ARC_VIDEO_ACCELERATOR_UTIL_H_
#define COMPONENTS_ARC_VIDEO_ACCELERATOR_ARC_VIDEO_ACCELERATOR_UTIL_H_
#include <s... | [
"stanley@moon.lan"
] | stanley@moon.lan |
4cbc93b969eed9a1156563ab00162851e8e233db | 31d1ed3b0afc512b54c2352561470e7b980bd4a4 | /StringaNumerica/StringaNumerica/BST.h | ef816a982e73f7f131289a09542756ea26f4e019 | [] | no_license | ShehanHD/Cpp | dbba1db4611ab8a5db6142759544ee0664b6a56d | c2d75b1accd59ac8d2b9dba3fe4e3760ae8be7cc | refs/heads/master | 2021-05-20T12:53:50.367039 | 2021-04-22T21:38:34 | 2021-04-22T21:38:34 | 252,302,770 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 887 | h | #pragma once
class BST {
private:
typedef struct self {
int data;
int copy = 1;
self* right;
self* left;
}node;
node* root;
void addLeafPrivate(int, node*);
void printInOrderPrivate(node*);
node* returnNodePrivate(int, node*);
int findMinPrivate(node*);
... | [
"51677228+ShehanHD@users.noreply.github.com"
] | 51677228+ShehanHD@users.noreply.github.com |
b494ebf8484e1ea20f8d44acd3dbdd461756d184 | d709f52443e3f5a7be5015884ba2d8b6320b16a7 | /OurGame/Library/Il2cppBuildCache/WebGL/il2cppOutput/UnityEngine.CoreModule.cpp | acdc337a8d5e863090d5e1845478c3acf4d53d89 | [] | no_license | WhiteKame/GameDesign | bdaf6f3a2eddd4fedca2bdc7d02e45a50132b147 | 966670c51ce3dff3262f04d65a7d54a1e1752e44 | refs/heads/main | 2023-04-29T04:35:55.159536 | 2021-05-20T20:55:18 | 2021-05-20T20:55:18 | 361,356,656 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,321,307 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
template <typename R, typename T1, typename T2>
struct VirtFuncInvoker2
{
typedef R (*Func)(void*, T1, T2, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, R... | [
"46062213+WhiteKame@users.noreply.github.com"
] | 46062213+WhiteKame@users.noreply.github.com |
fc08d265eefde318c83a8ae2ca86dfb5d110ea84 | e5fd76a71e15a1868fc0d4e1a0c13bd26b2e4d8b | /erizoAPI/MediaStream.h | 3bd841e2b232542efabb91f13966cebdcc4b0aaa | [
"MIT"
] | permissive | netaudio/licode | b2b8d2a305922aba64ba72d2a59879bd6a711c08 | edb559f39f4cbb38e13c2af253ac5ae3541c837b | refs/heads/master | 2021-07-15T14:59:30.578902 | 2020-06-01T05:21:05 | 2020-06-01T05:21:05 | 152,045,684 | 0 | 0 | null | 2018-10-08T08:35:41 | 2018-10-08T08:35:41 | null | UTF-8 | C++ | false | false | 5,038 | h |
#ifndef ERIZOAPI_MEDIASTREAM_H_
#define ERIZOAPI_MEDIASTREAM_H_
#include <nan.h>
#include <MediaStream.h>
#include <logger.h>
#include "FuturesManager.h"
#include "MediaDefinitions.h"
#include "OneToManyProcessor.h"
#include <queue>
#include <string>
#include <future> // NOLINT
class StatCallWorker : public Nan::A... | [
"noreply@github.com"
] | noreply@github.com |
b67af0debe0af40767fe4cae0f31aed505c11de3 | 5e6cda9a847e8868fec8a7fa0f6193573238f31e | /STANDART_IO/telephone/main.cpp | 87b1b80995552e6f89dd2ef1047d4f64ae9def7f | [] | no_license | orcchg/StudyProjects | 33fb2275d182e46a8f5a9578dbbf4566bd7f1013 | 269550e37100e1eacc49a766b5f0db9c2e7ade2d | refs/heads/master | 2020-04-30T17:56:11.268350 | 2014-04-07T10:57:43 | 2014-04-07T10:57:43 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,347 | cpp | #include <stdio.h>
#include <conio.h>
#include <cstring>
#include "phone.h"
int main() {
char name[1000];
person_t *base;
int n, i, phone;
printf("Enter N: ");
scanf("%d", &n);
printf("\n");
base = (person_t*)malloc(n * sizeof(person_t));
/* Считываем телефонную базу */
... | [
"alovmax@yandex.ru"
] | alovmax@yandex.ru |
f628a0a255bd68ca0ffbb6a4e5f2c0b05b055643 | c6261cc71db61e0c8a7cf83cea32700922d92a95 | /src/client.hpp | 5d3fc0d44102238f24141a42da1c77b196fbef29 | [
"MIT"
] | permissive | tungnguyen2106/drachtio-server | 6e6d4c5658a07f9beebbd5234fba5e9f450c4b53 | e4f389cfd60ec729daabf1d5b53e0ec532ee8729 | refs/heads/main | 2023-09-05T17:06:53.765617 | 2021-11-09T02:11:35 | 2021-11-09T02:11:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,683 | hpp | /*
Copyright (c) 2013, David C Horton
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, copy, modify, merge, publish, distribute,... | [
"daveh@beachdognet.com"
] | daveh@beachdognet.com |
0560ba10d25f5309c772758dbf84e1387c96a0b2 | 28c6223f4b15d2bacbd8dd1413278eb5f54c9c58 | /Chooser.hpp | 181b991872d1ae4ec4028ec8a8b90bda04b54308 | [] | no_license | orh92/bullpgiaPartB | f9d9279f6eadfba55eb2beb622414897f496cfa6 | bd101813a31502200782d1c0a43350579a5a2da1 | refs/heads/master | 2020-05-19T06:32:27.001654 | 2019-05-04T09:38:16 | 2019-05-04T09:38:16 | 184,781,784 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 167 | hpp | #pragma once
#include <string>
using std::string;
namespace bullpgia{
class Chooser{
public:
virtual string choose(uint length)=0;
};//end chooser
};//end bullpgia
| [
"noreply@github.com"
] | noreply@github.com |
a192afb4e894652cbd2436a556db80d411ddc4b5 | b4b4e324cbc6159a02597aa66f52cb8e1bc43bc1 | /C++ code/Codeforces/326-2-D.cpp | 95b6c923d7cd798c33fd418393eeffa5cce20f93 | [] | no_license | fsps60312/old-C-code | 5d0ffa0796dde5ab04c839e1dc786267b67de902 | b4be562c873afe9eacb45ab14f61c15b7115fc07 | refs/heads/master | 2022-11-30T10:55:25.587197 | 2017-06-03T16:23:03 | 2017-06-03T16:23:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,698 | cpp | #include<cstdio>
#include<algorithm>
#include<map>
#include<vector>
using namespace std;
typedef long long LL;
const LL MOD=1000000007LL;
LL N,L,K,A[1000000];
LL DP[1000000];
map<LL,LL>CNT,IDX;
vector<LL>V;
struct Node
{
LL v,idx;
Node(){}
Node(LL v,LL idx):v(v),idx(idx){}
bool operator<(Node n)const{return v<n.v;}... | [
"fsps60312@yahoo.com.tw"
] | fsps60312@yahoo.com.tw |
8237468c83c54c882efdb9b9503c126d83cd4692 | 8be083e9fbf15606201217d6c4b87c929e418065 | /tags/release-0.1/faintdc.cpp | 190316521f015df1c9e5de3ba64a0bb3f1822118 | [
"Apache-2.0"
] | permissive | BGCX067/faint-graphics-editor-svn-to-git | 430768d441f3e9b353fbc128e132f7406ee48c0e | dad252f820d29ab336bcfa57138625dae6dfed60 | refs/heads/master | 2021-01-13T00:56:26.685520 | 2015-12-28T14:22:44 | 2015-12-28T14:22:44 | 48,752,914 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 25,042 | cpp | // Copyright 2012 Lukas Kemmer
//
// Licensed under the Apache License, Version 2.0 (the "License"); you
// may not use this file except in compliance with the License. You
// may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in wri... | [
"you@example.com"
] | you@example.com |
bd3fa74fb99f52804763361af8a55a48ab85b126 | 91dc9cc2ecb79d5acf09767961bb27335a067cd5 | /chapter4-heap/MaxHeap.h | 29734ccf4e220b065a2795eeb30188144804166d | [] | no_license | PiNengShaoNian/data-structure-and-algorithm | 4cf99c1b63baecc80910fa1846122b62c5e55a8f | 15c6e57e1b74f27218de741c5a26f77849e6b9a8 | refs/heads/main | 2023-03-08T22:21:08.146852 | 2021-02-22T05:34:43 | 2021-02-22T05:34:43 | 334,654,833 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,844 | h | #ifndef CHAPTER_4_MAXHEAP_H
#define CHAPTER_4_MAXHEAP_H
#include <algorithm>
#include <cassert>
#include <cmath>
#include <ctime>
#include <iostream>
#include <string>
using namespace std;
template <typename Item>
class MaxHeap {
private:
Item* data;
int count;
int cap;
void shiftUp(int k) {
... | [
"quguiyou1076@qq.com"
] | quguiyou1076@qq.com |
7a0db3224694650e744127bae455ac4ebc64ebec | 36613ef91f5c678c86e04884df6fc61fd7556ebd | /Algorithms/submasks.cpp | 64eaf7d8423ff119b49bf4b56da8f11c14249d93 | [] | no_license | VictorXjoeY/Notebook | 5723000907391bc3064a2285484c3d7fe3a8a093 | 5a9f8c8c9c7b4e6b1f89db63038f1ac4fa4643c3 | refs/heads/master | 2021-06-11T10:06:44.004989 | 2021-02-15T15:53:28 | 2021-02-15T15:53:28 | 100,169,996 | 13 | 4 | null | 2020-02-07T12:21:22 | 2017-08-13T10:43:52 | C++ | UTF-8 | C++ | false | false | 537 | cpp | void f(int submask) {
// Do something with submask.
}
/* O(|Number of submasks|). */
void submasks(int mask) {
// Going through all the non-empty submasks in decreasing order of value.
for (int submask = mask; submask; submask = (submask - 1) & mask) {
f(submask);
}
// Processing the empty... | [
"victor.forbes@hotmail.com"
] | victor.forbes@hotmail.com |
9cbfc6952d731e5b73e171cc3a72a27dc041ba0e | 7cfc09666ee2e49b976178410efa72b44376f2d9 | /include/types.hpp | 97de1007f1f10b7936b8f3acb8a1c62740e154ce | [] | no_license | yft1996/IMAGE | 41cf0879dd7a11ff32e653459b96b1187edb40ba | fa1e3f5b0b5d80a3032ce1bb2189c0688cb0713c | refs/heads/master | 2020-05-03T19:16:58.517765 | 2019-05-30T10:00:57 | 2019-05-30T10:00:57 | 178,781,643 | 0 | 0 | null | 2019-04-01T03:49:33 | 2019-04-01T03:49:33 | null | UTF-8 | C++ | false | false | 19,585 | hpp | #ifndef TYPES_HPP
#define TYPES_HPP
#define CV_8U 0
#define CV_8S 1
#define CV_16U 2
#define CV_16S 3
#define CV_32S 4
#define CV_32F 5
#define CV_64F 6
#define CV_USRTYPE1 7
template<typename _Tp> class Size_;
template<typename _Tp> class Point_;
template<typename _Tp> class Rect_;
/////////////////////////... | [
"lydujing@163.com"
] | lydujing@163.com |
b59099f670b0b61b0076572e72f992b62727af05 | 91cdb0a2a9c9f1528337cdeb51345a16769d101b | /OpenGLAnimationTest/Collision.cpp | b0c7392f1cf37211372e244d7f833654a91e32f1 | [] | no_license | sjadamem/MyGameEngine | d35300a65bc3def0e9798aab9c385d71520c26cc | f673a4d8f83658b914c2870c23be536b0eaabe1c | refs/heads/master | 2023-04-27T02:05:25.569181 | 2021-05-18T07:41:58 | 2021-05-18T07:41:58 | 364,518,755 | 0 | 0 | null | 2021-05-18T07:41:59 | 2021-05-05T09:04:35 | C | UTF-8 | C++ | false | false | 386 | cpp | #include "Collision.h"
Collision::Collision(
float maxX, float minX,
float maxY, float minY,
float maxZ, float minZ,
Transform* trans) :
mMaxX(minX), mMinX(minX),
mMaxY(minY), mMinY(minY),
mMaxZ(minZ), mMinZ(minZ),
mTransform(trans)
{
}
void Collision::Update()
{
}
bool Collision::CheckCollision()
{
//Th... | [
"sjadamem@gmail.com"
] | sjadamem@gmail.com |
364de85bf8d82388a5785999bf0a706ca4cd1f67 | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/boost/type_traits/cv_traits.hpp | 895ae1b403485f3a836db408fe0bf0364ea9392b | [
"BSL-1.0"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,036 | hpp | // (C) Copyright Dave Abrahams, Steve Cleary, Beman Dawes, Howard
// Hinnant & John Maddock 2000.
// Use, modification and distribution are subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).
//
// See http://www.boost... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
652a0d3f39586bdf9911a093c2b955bd2dfb849b | 436fc580728adfad446890a78af4a6fa55610ab9 | /TrabalhoSistemaSolar/Espaco.h | 41ff687cfe47e15a98d042374655eff392bc6882 | [] | no_license | zwillianmattos/SistemaSolar | cb12f28b020db57d96490c6d5646207e6a6ec240 | 673d23a3f65e66985c09d1705aae8abb6fbab09a | refs/heads/master | 2023-07-25T05:38:56.033956 | 2021-09-08T01:47:55 | 2021-09-08T01:47:55 | 403,698,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 135 | h | #pragma once
#include <GL\freeglut.h>
class Espaco
{
public:
Espaco();
GLint x, y;
void draw();
void configureTexture();
};
| [
"willian_matt@hotmail.com"
] | willian_matt@hotmail.com |
b1f6551baf78c21268a840a1187370c9f73cd46f | 806ac67e72d7f7b4a8254c8feb01faa77c8e1713 | /Raumfahrt2/Builds/Pre3/Raumfahrt1_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/Mirror.Authenticators_Attr.cpp | 59678ef435afb6ad6354693d2f852f7daeda8e5e | [] | no_license | Gerstasur-Space-Inc/Raumschiff | ad1cc31afe4f30996d6bbe13eadd61ad692d2a29 | f4365806d5ad9a27c1c738a22e6e3ff91f49d862 | refs/heads/master | 2023-04-08T00:46:54.677008 | 2021-04-20T13:33:18 | 2021-04-20T13:33:18 | 355,879,439 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 49,233 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
// System.Char[]
struct CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34;
// System.Type[]
struct TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755;
// UnityEngine.AddCompon... | [
"aquila.alba@posteo.de"
] | aquila.alba@posteo.de |
d3f0a782f3dd7f8c2fba229b38a911bcd992db22 | 5e1f5f2090013041b13d1e280f747aa9f914caa4 | /src/ui/scenic/lib/input/input_system.cc | 07f2ef2668624172140edba1895a0aa6337f2e2f | [
"BSD-2-Clause"
] | permissive | mvanotti/fuchsia-mirror | 477b7d51ae6818e456d5803eea68df35d0d0af88 | 7fb60ae374573299dcb1cc73f950b4f5f981f95c | refs/heads/main | 2022-11-29T08:52:01.817638 | 2021-10-06T05:37:42 | 2021-10-06T05:37:42 | 224,297,435 | 0 | 1 | BSD-2-Clause | 2022-11-21T01:19:37 | 2019-11-26T22:28:11 | C++ | UTF-8 | C++ | false | false | 44,720 | cc | // Copyright 2018 The Fuchsia 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/ui/scenic/lib/input/input_system.h"
#include <fuchsia/ui/input/cpp/fidl.h>
#include <fuchsia/ui/scenic/cpp/fidl.h>
#include <lib/fostr/fidl/... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
0a81dc2707184cf0b03d35f2ea8eed60a6a171e1 | bd226417f1cc508a6fdadf8c996552184e89b34e | /competitive_coding/contests/Codechef/JuneLunchtime/GOLMINE.cpp | 3ab6faa1bbd4e5f9080c2fa6628e7255ef3f539e | [
"MIT"
] | permissive | rupav/cp | 5876a42f5d86df482426b523fdeddcd84843c373 | 0b4c20ef3504472c1b0a9bbf586bb2daae9631c5 | refs/heads/main | 2023-02-24T23:21:31.930979 | 2021-01-30T06:08:15 | 2021-01-30T06:08:15 | 334,339,922 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 920 | cpp | #include<bits/stdc++.h>
using namespace std;
#define watch(x) cout << (#x) << " is " << (x) << endl
#define fr(i,n) for(int i=0; i<n; i++)
#define rep(i, st, en) for(int i=st; i<=en; i++)
#define repn(i, st, en) for(int i=st; i>=en; i--)
#define sq(a) (a) * (a)
typedef long long ll;
typedef pair<int, int> pii;
typedef... | [
"ruavwinchester@gmail.com"
] | ruavwinchester@gmail.com |
fd0472bc5c008c4c78be5006696a97a607afc8a8 | 47adf877ff79b651da810ad6973888a3daf19f09 | /src/system/handler/LogicMessageHandler_i.h | ccc6a7206221b1ed2773817fadc04872cac8abef | [] | no_license | Gohan/Spark-PC | bb8e71813b969d8909bb65fd773397bc61597bc7 | 3ebf06ef3df0eee9719f54dfd0905a917fe6c483 | refs/heads/master | 2020-06-05T02:09:11.460821 | 2014-03-06T16:19:04 | 2014-03-06T16:19:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 210 | h | #pragma once
#include "common/config.h"
#include "google/protobuf/message.h"
class CConnection;
class ILogicMessageHandler {
public:
virtual void OnLogicMessage(const ::google::protobuf::message& msg) = 0;
}; | [
"cppgohan@gmail.com"
] | cppgohan@gmail.com |
6ebd645d1ac8fe07a528c59826d1ff2fd6164525 | 833dc03ee2fd3e03a4b877435065cd86d7077132 | /CSC375/Program Assignments/old/prog01/prog01/prog01.cpp | 4c545b2c5b490758ee19b288e84cfc26334bed04 | [] | no_license | popebob/collegefiles | a0c715b946a82c6863ffdbb10b4cbf58e6d57a82 | 843b186aee826dd6a586c115c0c1a58a234ea399 | refs/heads/master | 2020-03-09T01:47:34.861814 | 2018-06-13T15:56:26 | 2018-06-13T15:56:26 | 128,524,326 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,101 | cpp | #include <iostream>
#include <fstream>
using namespace std;
#include "srec.cpp"
#include "slist.cpp"
//***************************************************************
// Name: Cody Adams
// Program: CSC 375 Program 1
// Compiler: Visual C++ 2008 Express on Vista64
//
// This program uses a "simple list" to read a lis... | [
"coadams@umflint.edu"
] | coadams@umflint.edu |
beda2fb0c144754bbb790d43dc1750fdaa323ed5 | ebffabb3068b4e7f9f5c09c7b912daa3ba78f9d2 | /1004.cpp | 4dbc30167a64c82b6fdc0dd144a05c28b861bba5 | [
"Apache-2.0"
] | permissive | Graziele-Rodrigues/URI | aff21474f87a8e7625285bd1a4b5e0eb4c78f894 | bea5893eb2a378284e19fe3e187c4a94c4587c44 | refs/heads/master | 2022-12-16T07:11:35.608129 | 2020-09-20T17:35:35 | 2020-09-20T17:35:35 | 295,040,013 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 144 | cpp | #include <iostream>
#include <string>
int main()
{
int V1, V2, PROD;
scanf ("%d %d", &V1, &V2);
PROD = V1 * V2;
printf ("PROD = %d\n", PROD);
} | [
"c.graziele.rodrigues@gmail.com"
] | c.graziele.rodrigues@gmail.com |
1e56961d512f04b78143a0597257eaf0fe943d00 | f48a19cf3b136edf0f07fe0089efe552a8b7167c | /Demo.cpp | 2a71178a1d2be052296e2a61f0d412af7061c26d | [
"MIT"
] | permissive | michel94/sdl_wrapper | a697b893b6cacb7c9049114b58ec6501ee5590ff | b1d1f2d926df09c17e40ebbb2ef2231e21f9c6db | refs/heads/master | 2021-01-18T01:29:43.761754 | 2013-09-12T18:27:34 | 2013-09-12T18:27:34 | 12,789,474 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 604 | cpp | #include "Demo.hpp"
void Demo::setup()
{
running = true;
SDL_Init(SDL_INIT_EVERYTHING);
SDL_WM_SetCaption("Wrapper Demo", NULL);
screen = SDL_SetVideoMode(800, 600, 32, SDL_HWSURFACE);
Wrapper::set_screen(screen);
}
void Demo::run()
{
while (running)
{
SDL_WaitEvent(&event);
if (event.typ... | [
"davidrafagomes@gmail.com"
] | davidrafagomes@gmail.com |
3a3b567894bb9b3e5f45177d5814764ae65b0b06 | 84db845cc485c91e6dbc44e4944a85d27518c9a8 | /Topic/DataStructrue/ST_table/hihocoder1068.cpp | 85b353c3d18d8856e104cee4e3ac887107281925 | [] | no_license | sunyinkai/ACM_ICPC | c13398c6963f0267db282e71d11baaf7ff619c71 | 8e54240df29b4a722efd27b5866384ba84f859a4 | refs/heads/master | 2021-07-07T07:39:36.553203 | 2020-07-26T06:50:54 | 2020-07-26T06:50:54 | 158,057,635 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 549 | cpp | #include<cstdio>
#define min(a,b) (a<b?a:b)
const int MAXN=1e6+7;
int f[MAXN][21];
int RMQ(int l,int r){
int k=0;
while(1<<(k+1)<=r-l+1)++k;
return min(f[l][k],f[r-(1<<k)+1][k]);
}
int main(){
int N;scanf("%d",&N);
for(int i=1;i<=N;++i)
scanf("%d",&f[i][0]);
for(int k=1;(1<<k)<=N;++k)
... | [
"1091491336@qq.com"
] | 1091491336@qq.com |
0ade1e81363a77efd6b25b2e5fffcf69360c9867 | f35ab7ed7230f5276db909d37083ce9bf3cea404 | /src/sheet.cpp | 27094cc4c35841cd14d10a9dde9278e714046882 | [] | no_license | ibragfir/spreadsheet | 1880289920efb351c794f857bbee9c9f32771b4a | 7b9e68a80226ee8fea0140586b2d75cbaf0d8a1d | refs/heads/master | 2021-01-21T13:48:25.486853 | 2014-06-27T10:00:04 | 2014-06-27T10:00:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,711 | cpp | /**
* @file sheet.cpp
* @author Firuz Ibragimov, <ibragfir@fit.cvut.cz>
* @date 19.06.2013
*/
#include "sheet.h"
#include "cell.cpp"
#include "classes.cpp"
#define v_y 24//y coordinate of value line
#define v_x 8//x coordinate of value line
#define c_y 23//y coordinate of command line
#define c_x 8//x coordin... | [
"firuz.gaffar@gmail.com"
] | firuz.gaffar@gmail.com |
7e5170eb43975c5a8989dbf88e2ac86a300e6c00 | 383a2d5b432e0d8ce0f215b45a334f09763ee74f | /Data Computing/p8/lamportClock.cpp | 5d4338ea6c67fb256a1e68aec5af6252d590101a | [] | no_license | apeksha-mahale/DATA-COMPUTING | 1b60f08126a6ba7c60b21addba5deac3b6219c03 | 770a161efb57b2da0e93a936d31457a11a13c385 | refs/heads/master | 2020-03-08T03:26:18.821289 | 2018-04-03T10:26:08 | 2018-04-03T10:26:08 | 127,891,001 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,918 | cpp | #include <algorithm>
#include <sys/mman.h>
#include <iostream>
using namespace std;
int main() {
int numberOfEventsP1;
int numberOfEventsP2;
cout << "Enter number of events in Process 1: ";
cin >> numberOfEventsP1;
cout << "Enter number of events in Process 2: ";
cin >> numberOfEventsP2;
int timerP1[nu... | [
"apeksha.nikhil.mahale@intel.com"
] | apeksha.nikhil.mahale@intel.com |
b725f3469ec47e42273f93e7763f028551080a52 | ad4c3fc47eb801a34ae2ac40a4f40bfb5caea8b2 | /src/t_hash.h | dc863af299715797faf31e2a5322e0291dfb8884 | [] | no_license | panzg123/OneValue | c9110deba4b97ff36fa8d29ce276d81e74d756f3 | bfc1a4b2d741ce51f1760198e458d0f179ed8247 | refs/heads/master | 2022-04-11T02:14:12.369807 | 2020-03-26T15:56:34 | 2020-03-26T15:56:34 | 250,303,000 | 0 | 0 | null | 2020-03-26T15:52:51 | 2020-03-26T15:52:51 | null | UTF-8 | C++ | false | false | 1,964 | h | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may n... | [
"380374457@qq.com"
] | 380374457@qq.com |
a5b574098034607917ab5e52aa98a85c443aa609 | 6d34fa23c708320b2e42d120d107f187106302e3 | /orca/gporca/libgpopt/src/operators/CPhysicalDynamicBitmapTableScan.cpp | 3aecaeb2fa45e3675a6eff9655aaea8d124ef752 | [
"Apache-2.0"
] | permissive | joe2hpimn/dg16.oss | a38ca233ba5c9f803f9caa99016a4c7560da9f08 | 2c4275c832b3e4b715b7475726db6757b127030c | refs/heads/master | 2021-08-23T19:11:49.831210 | 2017-12-06T05:23:22 | 2017-12-06T05:23:22 | 113,322,478 | 2 | 1 | null | 2017-12-06T13:50:44 | 2017-12-06T13:50:44 | null | UTF-8 | C++ | false | false | 3,294 | cpp | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2014 Pivotal, Inc.
//
// @filename:
// CPhysicalDynamicBitmapTableScan.cpp
//
// @doc:
// Dynamic bitmap table scan physical operator
//
// @owner:
//
//
// @test:
//
//------------------------------... | [
"fengttt@gmail.com"
] | fengttt@gmail.com |
c2f72f697fd3d2e8533bf01fae25b650a93284a9 | 5f61021d5d46053ce7770e69f4d178769f7fa58a | /DboClient/Client/Main/DboVirtualServer.h | 60a60740f8be1dea4cbacc7ccbd77aecbc98639c | [] | no_license | Guardian820/DragonBallOnline | ce2f64a2b88d98f25e747191fde75d7e8a6c12f7 | 201c28d8067fe0ddfde9da49c76516de82c394bf | refs/heads/master | 2020-03-10T01:13:50.855049 | 2017-07-31T08:54:08 | 2017-07-31T08:54:08 | null | 0 | 0 | null | null | null | null | ISO-8859-7 | C++ | false | false | 4,798 | h | /*****************************************************************************
*
* File : DboVirtualServer.h
* Author : HyungSuk, Jang
* Copyright : (ΑΦ)NTL
* Date : 2005. 9. 30
* Abstract : DBO virtual server
*****************************************************************************
* Desc : ... | [
"sahino1996@hotmail.de"
] | sahino1996@hotmail.de |
69e52239df0ee20c0521530abdc29d2b2abdb006 | 252cf6d8c9d32f52eb7cf1371c877077180cfcd0 | /Bài tập lập trình/1019.cpp | b8ef4f4ead3cd022c677b1c1bd0421093e60f3c1 | [] | no_license | huy-nx0308/Testcaro | 1b76d228d8836c41d4c6e291aa79a142d3d50935 | b42ce4ee621aa8d7198983d0d294c22ab545f6f0 | refs/heads/main | 2023-03-16T18:01:32.994821 | 2021-01-04T11:28:14 | 2021-01-04T11:28:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 457 | cpp | #include<iostream>
using namespace std;
int denomination[] = {1,5,10,50,100,500};
int size = 6;
const int tong = 1000;
int changing(int N){
int V = tong - N;
int count=0;
for(int i=size-1;i>=0;i--){
count += V/denomination[i];
V = V%denomination[i];
}
return count;
}
int main(){
int T;
cin>>T;
int *test... | [
"wind123mountain@gmail.com"
] | wind123mountain@gmail.com |
13fdd239e0af3d21032dbf3934dd2691d66bd00b | ee01101f10db80d9603c9d5be93863916dd66696 | /topcoder/srm601/500.cpp | 9512a4f5983775eea1a8abf7bdbc3b1421bf8e0e | [] | no_license | becauseofyou/contests | c0dc92e968c98824b7496e6b1d8c6a662c21c2c9 | 6c89de2640e68c437616d05931006e9abdc28c2b | refs/heads/master | 2021-05-15T02:02:14.575226 | 2017-09-30T00:47:39 | 2017-09-30T00:47:39 | 12,257,738 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,698 | cpp | #line 2 "WinterAndSnowmen.cpp"
#include <cstdlib>
#include <cctype>
#include <cstring>
#include <cstdio>
#include <cmath>
#include <algorithm>
#include <vector>
#include <string>
#include <iostream>
#include <sstream>
#include <map>
#include <set>
#include <queue>
#include <stack>
#include <fstream>
#include <numeric>
... | [
"wuyiqi.splay@gmail.com"
] | wuyiqi.splay@gmail.com |
2620def159e4899026e57a37c55574f95c733aa2 | d014676509552891593ba2a5b02af4069d397bdb | /bmmkern/include/molkern/forcefield/_atomdata.h | 44f8a850b82e44871f01ec3dfabc9ee463af4acc | [] | no_license | avasenin/diploma2010-2011 | 76c892006d1a06d37a9d0341f165b917dc6b0b75 | 02b1a25db4d481293c5bd9f95699345ff76579dc | refs/heads/master | 2016-09-05T18:43:30.671815 | 2011-05-14T13:13:26 | 2011-05-14T13:14:02 | 940,574 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,897 | h | #ifndef _ATOMDATA__F9ED1116_3BFB_5a4c_6CDD_F74523C50B00__H
#define _ATOMDATA__F9ED1116_3BFB_5a4c_6CDD_F74523C50B00__H
#include "molkern/__moldefs.h"
namespace molkern
{
using namespace prgkern;
/// полная упорядоченная (для fstring) таблица имен типов для AMBER & GAFF,
/// необходимая для упаковки данных в bmm фо... | [
"avasenin@axmor.com"
] | avasenin@axmor.com |
1b349dc36459537bab01c2640495b14b44acde46 | 8a0f440ab4e2f94786114358609a39c0ccfc12c4 | /Yoshis Island 0.3/YoshisIsland/YoshisIsland/Elevator.h | 9a08a9e2337e54e422165fe7e103446b1a93e1dc | [] | no_license | michaelwilkie/Yoshis-Island2 | 8829bbe427db5107500ef97c6799d04cc99bad5b | f6856f8e1ecbb91242f51a12fc8e72def6f79e39 | refs/heads/master | 2018-11-24T00:58:59.683003 | 2018-10-30T20:56:35 | 2018-10-30T20:56:35 | 104,089,007 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 506 | h | #ifndef ELEVATOR_H
#define ELEVATOR_H
#include "Interactive.h"
//#include "Path_node.h"
class Elevator :
public Interactive
{
public:
Elevator(float x = 0, float y = 0, int width = -1, int height = -1);
Elevator(POINT location, int width = -1, int height = -1);
~Elevator();
bool isStarted();
void setNextstop(Path... | [
"31967683+michaelwilkie@users.noreply.github.com"
] | 31967683+michaelwilkie@users.noreply.github.com |
791c60442cf9b79e5dbcdd4dfe57bc36f6bd6060 | 809bac544bbd20f69c407bc5ea5cbfb0e768db22 | /drone/red_led.cpp | 2b0231142e783ab0914a998ca8a74b381a0f8c68 | [] | no_license | rishabpohane/HackMIT-BDD | d7e8e27475af0f190a9f5434fc0474bc07550a7c | eccc4424c37664d00a22efe83fb8d24f4125ead1 | refs/heads/master | 2020-12-28T21:17:04.687655 | 2016-09-18T17:40:34 | 2016-09-18T17:40:34 | 68,472,814 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 176 | cpp | #include "drone.h"
#include <string>
#include <fstream>
#include <iostream>
using namespace std;
int main() {
libdrone::cargo_io ci;
ci.switchRedLed();
return 1;
}
| [
"rwendel2@illinois.edu"
] | rwendel2@illinois.edu |
7196fd7e74707cbb89595dd56705be86db371fa1 | 2fcfd593db09fdcc5b51a576deb8c7ec274daaff | /src/protocol.cpp | eab9ed9365df36ea64c922375cb55d6fb8f8fcc8 | [
"MIT"
] | permissive | FXBitLab-Etp/etp3 | a35791d428135bbe321b3119b9e260fa8b9a27e4 | 829791221484a9c5275ac938412980e1b94adeee | refs/heads/master | 2021-01-19T22:34:32.418454 | 2017-08-24T05:36:45 | 2017-08-24T05:36:45 | 101,256,579 | 0 | 1 | null | 2017-09-02T21:07:56 | 2017-08-24T05:16:08 | C++ | UTF-8 | C++ | false | false | 7,888 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "protocol.h"
#include "util.h"
#include "utilstrencodings.h"
#ifndef W... | [
"etptoken@etpnode02.fxbitlab.com"
] | etptoken@etpnode02.fxbitlab.com |
d6b17671de3817091af7f735147b7d7e7344d3d8 | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/blink/renderer/core/animation/css_intrinsic_length_interpolation_type.h | 595887e580346367d36da46003ae854909f5b652 | [
"BSD-3-Clause",
"LGPL-2.0-only",
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft",
"Apache-2.0",
"MIT"
] | 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 | 2,743 | h | // Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_ANIMATION_CSS_INTRINSIC_LENGTH_INTERPOLATION_TYPE_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_ANIMATION_CSS_INTRINSIC_LENGTH_INTERPOLATIO... | [
"jengelh@inai.de"
] | jengelh@inai.de |
0ed53d6f804200664c0500b4f0e7d45721139864 | 57d004bfefe1fc848b774e5c4796dbf7c56c7022 | /ft_rev_bin_num.h | 25de9a33a436e22cf3e675d701a5d044a8796622 | [] | no_license | ujuj04/binary | 29c864d2afbd3ef87e5905d8f71ce80a28f17157 | 3518bc41ce78c316303a44af903b41f3d40e4d72 | refs/heads/master | 2022-12-23T18:20:37.214011 | 2020-09-29T18:05:00 | 2020-09-29T18:05:00 | 299,695,243 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 95 | h | #pragma once
#include <iostream>
using namespace std;
long long ft_rev_bin_num(long long a); | [
"noreply@github.com"
] | noreply@github.com |
5e765045acf322a7d79fe7ade21e80ed5e10b6d7 | 3eba54ab52b01cf2220d4debc075b6ef2d8aa07d | /Roman to Integer/version_1.cpp | bbea70331b103d673ff9a87a5d92efd3fd6bd254 | [] | no_license | cluo/LeetCode | beab92b28a99fffdefa531a56ba317a906ba1d32 | 438367764ca7160572ac5d27fa4ce80bf4327c20 | refs/heads/master | 2021-01-23T16:07:03.562466 | 2016-06-09T05:57:48 | 2016-06-09T05:57:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 663 | cpp | class Solution {
public:
int romanToInt(string s) {
map<char, int> dict;
dict['I'] = 1, dict['i'] = 1;
dict['V'] = 5, dict['v'] = 5;
dict['X'] = 10, dict['x'] = 10;
dict['L'] = 50, dict['l'] = 50;
dict['C'] = 100, dict['c'] = 100;
dict['D'] = 500, dict['d'] = ... | [
"240083998@qq.com"
] | 240083998@qq.com |
6d59404146715f51c0f39c9d8bf2426a90c40bb3 | 35a0a383b079978992647555645ac30e52ebec3f | /test/Import/expr-with-cleanups/test.cpp | 79b76f414ecfae17cba5fe665b63191468f579d3 | [
"Apache-2.0",
"LLVM-exception",
"NCSA"
] | permissive | Codeon-GmbH/mulle-clang | f050d6d8fb64689a1e4b039c4a6513823de9b430 | 214e526a2b6afeb9508cac5f88c5a4c28e98982f | refs/heads/mulle_objclang_100 | 2021-07-18T07:45:29.083064 | 2021-02-16T17:21:51 | 2021-02-16T17:21:51 | 72,544,381 | 29 | 5 | Apache-2.0 | 2020-04-30T11:36:08 | 2016-11-01T14:32:02 | C++ | UTF-8 | C++ | false | false | 199 | cpp | // RUN: clang-import-test -dump-ast -import %S/Inputs/S.cpp -expression %s | FileCheck %s
// CHECK: ExprWithCleanups
// CHECK-SAME: 'RAII'
// CHECK-NEXT: CXXBindTemporaryExpr
void expr() {
f();
}
| [
"teemperor@gmail.com"
] | teemperor@gmail.com |
3e4291465209083594df10336e26732afaff054c | d732c881b57ef5e3c8f8d105b2f2e09b86bcc3fe | /src/module-tar/VType_bzip2.h | 21767700776f6000e99ef052b55307a53fe220ce | [] | no_license | gura-lang/gurax | 9180861394848fd0be1f8e60322b65a92c4c604d | d9fedbc6e10f38af62c53c1bb8a4734118d14ce4 | refs/heads/master | 2023-09-01T09:15:36.548730 | 2023-09-01T08:49:33 | 2023-09-01T08:49:33 | 160,017,455 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 728 | h | //==============================================================================
// VType_bzip2.h
//==============================================================================
#ifndef GURAX_MODULE_TAR_VTYPE_BZIP2_H
#define GURAX_MODULE_TAR_VTYPE_BZIP2_H
#include <gurax.h>
#include "Writer.h"
Gurax_BeginModuleScope... | [
"ypsitau@nifty.com"
] | ypsitau@nifty.com |
1c460f30b8cbe222160404da16eaaa1272141bc0 | 3e88697a0e6da6bd28fa32d8e3950acf64d31501 | /voxelizer/voxelizer.cpp | de2f68bcd278f5ad073fd7ec47322a3c7cb37901 | [] | no_license | agentmorris/MeshTools | 821390482e0aaf8b7760b13bbe6e530ebe2bb249 | 5334aa42f4e416fba2c5cbfddf2e1d9e83512e9e | refs/heads/master | 2021-01-01T19:27:10.379488 | 2017-07-28T14:58:50 | 2017-07-28T14:58:50 | 98,591,404 | 11 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 96,044 | cpp | /******
*
* Written by Dan Morris
* dmorris@cs.stanford.edu
* http://cs.stanford.edu/~dmorris
*
* You can do anything you want with this file as long as this header
* stays on it and I am credited when it's appropriate.
*
******/
#include "stdafx.h"
#include "voxelizer.h"
#include "voxelizerDlg.h"
#include <c... | [
"dan@microsoft.com"
] | dan@microsoft.com |
a2ebaae8d30777cb4c78acb5c6736d6abfa5f31d | edc215957796526da3b85827046653b1998f37bf | /Day09/동적메모리할당2/소스.cpp | ef8de1e697ea990b6dacf2a9410e6ec8994d021d | [] | no_license | ChoneungSon/C-again | 0a0065834e0f13c82cccf48f2d4af338ed562841 | f0ac815ae63d27f571dbe5d7c12d6cc44b333925 | refs/heads/master | 2022-10-15T20:17:09.338415 | 2020-06-11T13:22:30 | 2020-06-11T13:22:30 | 256,069,295 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 737 | cpp | // 동적메모리할당2
#include <stdio.h>
#include <stdlib.h>
int main() {
int i, j, input, sum = 0;
int subjects, students;
int** arr;
printf("과목 수 : ");
scanf_s("%d", &subjects);
printf("학생 수 : ");
scanf_s("%d", &students);
printf("\n");
arr = (int**)malloc(students * sizeof(int*));
for (i = 0; i < students; i++) ... | [
"thschsmd@naver.com"
] | thschsmd@naver.com |
4f9e2064580da582ecaec638fcfaabfa573cfada | acfdb4399a3b422eba0f230efd3ef13515d8cc52 | /src/pTensor/ops/tflm/fully_connected.cpp | 74336a810653e4c23ab4e1e08aa0e28552c21612 | [
"Apache-2.0"
] | permissive | victorromeo/ptensor | f7e42bec086155e5b3e233020688e93201fd170c | 8e2b2ff8fa27aa7c759458bba5158e5ecedfff32 | refs/heads/master | 2023-04-28T16:17:42.852333 | 2023-04-18T16:02:06 | 2023-04-18T16:02:06 | 323,822,333 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 75 | cpp | #include "fully_connected.hpp"
namespace pTensor {} // namespace pTensor
| [
"victorromeo@github.com"
] | victorromeo@github.com |
27827c0a5c22a8387c13d4136dfa66ee7dec319c | 1d9e60a377ce2b0b94234e90c3156f212f2a7e9b | /13/SystemVersion/SystemVersionDlg.h | b93a7350adf1cfae7e148cd3a24dc2b8c2968872 | [] | no_license | seehunter/visual_c-_reff_skill_code | fd13ceec2c34bd827f2556638bbc190be46d9b93 | 1a99bd875c32a04cbcc07c785b61270821c58341 | refs/heads/master | 2020-04-09T21:28:33.030596 | 2018-12-06T01:59:25 | 2018-12-06T01:59:25 | 160,603,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,370 | h | // SystemVersionDlg.h : header file
//
#if !defined(AFX_SYSTEMVERSIONDLG_H__711A9A34_A193_4203_9469_25F569B6DC8C__INCLUDED_)
#define AFX_SYSTEMVERSIONDLG_H__711A9A34_A193_4203_9469_25F569B6DC8C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////... | [
"seehunter@163.com"
] | seehunter@163.com |
8b9eaeb8b74146f92e6f75aa4ceb74c43caac012 | 444c84067f71a892e6b2f02d331c295b417ce99f | /work.cpp | 85388a17db512ea8b7cbf6d5307919d2c568c5dd | [] | no_license | envo3/laba | 50d69c89700231005b7e55b7cef6cd1e3c3200a7 | 6bd5888e501ee038361aa4f3087580bf687e3e7f | refs/heads/master | 2016-09-12T20:12:18.927743 | 2016-05-16T09:41:10 | 2016-05-16T09:41:10 | 58,921,077 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,084 | cpp | #include "menu.h"
#include <iostream>
#include <iomanip>
#include <ctime>
int add_abonent(std::vector<abonent> &all)
{
long int nome;
float balan;
char famili[20],imy[20],otchestv[20];
std::cout<<"номер:";
std::cin>>nome;
std::cout<<"стартовый баланс:";
std::cin>>balan;
s... | [
"mahnev1234@yandex.ru"
] | mahnev1234@yandex.ru |
cc1a5d7dfa59198394cbec87d0c9bd7f30f6d78d | 764a29903f7a554d5e182ed25897d0bf57c34c68 | /cpp_files/main.cpp | 16d05bd15876f1fe157b9bda740fed04e9ef3ec5 | [] | no_license | arielzylberberg/Spiking_Network_Arch | 4fd9cefd460982e28164ed2580cca15010faf9c6 | 182acd3bc92cbc9b6844e79810d38d8a018f4a80 | refs/heads/master | 2020-03-29T17:57:53.538790 | 2018-09-26T00:48:24 | 2018-09-26T00:48:24 | 150,187,721 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,853 | cpp | /**@mainpage Simulation of neural architectures.
This code is based on ..
@version 2.0
@author whoever
@date whenever
*/
#ifndef __NO_MPI
#include "mpi.h"
#endif
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <ctime>
#include <cstring>
#include <string>
#include "utils.h"... | [
"arielz@df.uba.ar"
] | arielz@df.uba.ar |
a30bb5d24787fb248c15a6b7823b76e8be7cd9c6 | a0089141b8e41105fffe90a522e175c4c563e112 | /include/PointCloud.hpp | 7ebebb20e001867ea4ed8df92b0b4d66f7339011 | [
"MIT"
] | permissive | stereolabs/zed-tracking-viewer | 7eaee9d1bd5d245c3a951aaf94a639550ddb0f84 | 7b634de51d68a5a46a8156c16a259586a8e6c46c | refs/heads/master | 2021-01-17T17:48:34.057911 | 2018-09-21T16:15:17 | 2018-09-21T16:15:17 | 62,552,585 | 18 | 10 | null | null | null | null | UTF-8 | C++ | false | false | 1,289 | hpp | #ifndef __POINT_CLOUD_INCLUDE__
#define __POINT_CLOUD_INCLUDE__
#include <mutex>
#include <zed/utils/GlobalDefine.hpp>
#include <zed/Mat.hpp>
#include "utils.hpp"
#include <Eigen/Core>
#include <Eigen/Eigen>
#include <cuda.h>
#include <cuda_runtime.h>
#include <cuda_gl_interop.h>
#include "Shad... | [
"aymeric.dujardin@stereolabs.com"
] | aymeric.dujardin@stereolabs.com |
767a5993f4cfde98939aa46f824241dd1de661c4 | 6c621d565f92068934b5be73b472e2a13c37bc99 | /source/match/1865236_WA.cpp | 8e82d26e8e3f21692ac21aa2ca68425d4f87b29f | [] | no_license | tangodown1934/Algorithm-judge | 4e6ac9d1f0efa26cc19d564383cdba290bfcdc38 | 3712ea9a26d05cfa8bc941d0876917a0f2fb5a3c | refs/heads/master | 2021-01-10T02:50:28.577942 | 2015-08-20T03:11:21 | 2015-08-20T03:11:21 | 46,277,735 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 666 | cpp | #include <stdio.h>
int top = -1;
void push(int *stack, int num) {
if(top>9999) return;
stack[++top]=num;
}
int pop(int *stack) {
if(top==-1) {
return -1;
} else {
return stack[top--];
}
}
int main() {
int stack[10000];
char buffer[10000];
scanf("%s",buffer);
for(int i=0;buffer[i]!='\0';i++) {
if('('==... | [
"tangodown1934@gmail.com"
] | tangodown1934@gmail.com |
4e3d2c90d997287da027200bc3e1486b7f1585fe | 8ee0be0b14ec99858712a5c37df4116a52cb9801 | /Client/Interface/DLGs/CGoodsDlg.cpp | 08d91168eed1e84313b24b77c82d15c0831f3411 | [] | no_license | eRose-DatabaseCleaning/Sources-non-evo | 47968c0a4fd773d6ff8c9eb509ad19caf3f48d59 | 2b152f5dba3bce3c135d98504ebb7be5a6c0660e | refs/heads/master | 2021-01-13T14:31:36.871082 | 2019-05-24T14:46:41 | 2019-05-24T14:46:41 | 72,851,710 | 6 | 3 | null | 2016-11-14T23:30:24 | 2016-11-04T13:47:51 | C++ | UTF-8 | C++ | false | false | 4,333 | cpp | #include "stdafx.h"
#include ".\cgoodsdlg.h"
#include "../Icon/CIconItem.h"
#include "TEditBox.h"
#include "../../GameData/CPrivateStore.h"
#include "../../common/io_stb.h"
CGoodsDlg::CGoodsDlg( int iDlgType)
{
SetDialogType( iDlgType );
m_Slot.SetParent( iDlgType );
m_Slot.SetOffset( 17, 35 );
}
CGood... | [
"hugo.delannoy@hotmail.com"
] | hugo.delannoy@hotmail.com |
2e96c39daee29a90b08f084776f4cea7d715eead | 98bb6c150cc22c1c3be237a3e774f6d83fb4c936 | /BinarySearchTrees/BinarySearchTrees.cpp | 164d8c92e44631588829f976763e59a3e82e916d | [] | no_license | sanchit-bhalla/Data-Structures | 86752885f5935c0b21c6ec89fbab93c811dd9c91 | a5c95cc600c1772a99de11c48dc652d50e82b199 | refs/heads/master | 2020-12-05T01:56:15.575790 | 2020-02-09T19:38:11 | 2020-02-09T19:38:11 | 231,974,809 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,767 | cpp | #include<iostream>
#include<queue>
#include"BinarySearchTreeNode.h"
#include"BinarySearchTreeClass.h"
using namespace std;
/* ======== Check if given tree Binary Search tree or not ========*/
/* ================= Way 1 --> O(n*h) Complexity ===============*/
int minimum(BinaryTreeNode<int>* root){
if(root==NULL)... | [
"sanchitbhalla91@gmail.com"
] | sanchitbhalla91@gmail.com |
7ee8f22822e6e3c91e1acf182247ef35c30b5530 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /chrome/browser/ui/android/infobars/previews_infobar.cc | 1cc10075bdecd687ef9441953cd0d8e77561e693 | [
"BSD-3-Clause"
] | 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,627 | 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 "chrome/browser/ui/android/infobars/previews_infobar.h"
#include <utility>
#include "base/android/jni_android.h"
#include "base/android/jni_str... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
231e13cce1cebf42d1c817cb996a363564c180c1 | 560ffbf2013586674bedfc7547d3135abbdd07a3 | /Include/Singleton.h | 48f1504d7b42051310a8d216a19c6ec411b4c873 | [] | no_license | kaushikswapnil/Puru-Game-Engine | be8d6dc1426290d420b1181161e4c7c00ca6d6ca | 2b661929e77cafaded22de777447fbdd464d6455 | refs/heads/master | 2022-08-28T20:52:50.282972 | 2022-08-17T17:20:25 | 2022-08-17T17:20:25 | 104,836,557 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 338 | h | #pragma once
#include"CriticalSection.h"
template <typename TClassName>
class Singleton
{
protected:
Singleton() = default;
virtual ~Singleton() = default;
public:
static TClassName& GetInstancePure() {
static TClassName instance;
return instance;
}
static TClassName* GetInstance() {
return &(GetInstan... | [
"kaushik.swapnil5@gmail.com"
] | kaushik.swapnil5@gmail.com |
d6be3fee8d033a0a1fed5941fc237cb528807680 | 4bbc667b1bc63078cf6775b5c23f3047a2e7c059 | /Personal Projects/CompSci_Projects/p2p_kvstore/src/kvstore.h | 3745ffececa422874e8421d9466bd167b7f069e9 | [] | no_license | drakstik/Resume | 2a2a7772fdddaf230ba364f68da41bec1f419224 | ce9f3e490bc6cc96ebd9d151e679decf8e68f4ce | refs/heads/master | 2021-07-04T15:23:29.523876 | 2021-05-13T12:44:03 | 2021-05-13T12:44:03 | 238,487,886 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,254 | h | //lang::CwC
// Some of the code in this file, particularly the select() loops were interpreted from Beej's Guide to Socking Programming
#pragma once
#include <unistd.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <stdlib.h>
#include <netinet/in.h>
#include <string.h>
#include <assert.h... | [
"mberingabo.d@husky.neu.edu"
] | mberingabo.d@husky.neu.edu |
3ce1ceaceb7a14ab96fed27702692b81fc99cc49 | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /components/sync/base/passphrase_enums.cc | fffa72b57e0f196872c59802d753aa2ee8704043 | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 4,067 | 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 "components/sync/base/passphrase_enums.h"
#include "base/check_op.h"
#include "base/notreached.h"
namespace syncer {
bool IsExplicitPassphrase... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
70f6d5ce72d71bc589349d5e5a87a2ead87c3ab0 | 329e6f318cfd446db6610d56885f15cd31d871a1 | /test/test.cpp | b92aa58eba017f5b5b4855f72e46f948e809da1f | [] | no_license | chrisgriffis/webcam | 7b56559ce5a1360487e1797c26c333c5ab7bc572 | b8a318df1c409cf47f3455aaad6d52db1ab4f858 | refs/heads/master | 2020-03-08T05:05:01.860452 | 2018-04-24T17:04:30 | 2018-04-24T17:04:30 | 127,938,954 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 849 | cpp | #include <iostream>
#include <utility>
#include <string>
#include <vector>
#include <type_traits>
#include <sstream>
#include <numeric>
#include <algorithm>
#include "io.h"
#include "Box.h"
#include "utils.h"
//convert to collection of unit tests
//CHECK_EQUALS(), ASSERT_TRUE() type stuff, etc
int main(int argc, char... | [
"c@c.co"
] | c@c.co |
4cfafa8cf5c4661c36f7c6cdb9652d086b500afa | d1d44cdc187ddae9ec5ad5aa4199622c95305a56 | /c++/src/OrcFile.cc | 3db98fecf951ff4e3f05796b963f87f12bd8c392 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | mingmwang/orc | 9c69dae2747f288b87aca4e3af228236b54c4a84 | b48c73b3ddd91f5a69b430a7b71f34cad1b16d3b | refs/heads/master | 2021-09-04T03:28:07.673691 | 2017-12-21T12:17:12 | 2018-01-11T17:57:57 | 117,638,676 | 1 | 0 | null | 2018-01-16T06:04:43 | 2018-01-16T06:04:43 | null | UTF-8 | C++ | false | false | 4,750 | cc | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | [
"omalley@apache.org"
] | omalley@apache.org |
a8c823b7c49f8ac76fcf1b2d891cef887b29342d | ae995b14a0cf1d3b9e03b91de187e9fed2ee3479 | /Optimiaze 游戏优化/绘图方面/绘图优化.cpp | 4c4143aea01bc6aaa5c70011b1d4d6a2f13c8b25 | [] | no_license | joyfish/Coco2d-xRes | fcf44c3cf93f6e88c38ffee818ca4a42ed4b0980 | efbf7f34251513d68ce5eeec1b73c458d7d71ba8 | refs/heads/master | 2021-01-15T11:57:18.119550 | 2015-03-18T10:06:31 | 2015-03-18T10:06:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,362 | cpp | 1. 使用各自的纹理来创建精灵,由此导致的纹理过小和纹理切换次数过多是产生瓶颈的根源。针对这
个问题,一个简单的解决方案是碎图合并与精灵框帧。碎图合并可以将许多零碎的小图片合并到一张大图里,并且这张大
图的大小恰好符合OpenGL的纹理规范,从空间上减少无谓的浪费。框帧是纹理中的一部分,当我们把小纹理合并好之后就
可以利用精灵框帧来创建精灵了。
CCSpriteFrameCache::sharedSpriteFrameCache()->addSpriteFramesWithFile("all.plist");
2. 有了足够大的纹理图后,就可以考虑从渲染次数上进一步优化了。如果不需要切换绑定纹理,那么几个OpenGL的渲染请求
是可... | [
"906391500@qq.com"
] | 906391500@qq.com |
0ba5f4e6c9fec07139ab1cd3701b9606d420712e | bfbdf6dce2d723eecb235e00540eab42525c0a48 | /attic/src/main/include/fmp/eval.hpp | cc41db055a8166f1803cb6f1b4c17c7ae9370336 | [
"BSL-1.0"
] | permissive | yamasdais/asaki-yumemishi | fe2e5ee07bf1510131f706eed448e4977e3ad515 | d6220e489da613a634e6ce474a869f5d2932f89d | refs/heads/master | 2021-07-11T13:23:23.039463 | 2021-07-11T12:28:24 | 2021-07-11T12:28:24 | 86,085,088 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,093 | hpp | // Copyright Yamashta, Daisuke 2017-2018
// 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)
#if !defined(FMP_A6375D7A_31AC_4C84_B484_AB9791156620)
#define FMP_A6375D7A_31AC_4C84_B484_AB97911566... | [
"yamasdais@gmail.com"
] | yamasdais@gmail.com |
2b7b0dc83bf400f4724a2f5226c0949a532f5de4 | 17f613c77716ebe6005fb7fe75949f29d59470a4 | /studia/main.cpp | a685e1d1259885842f82aec3bd4a812eaff3b2f3 | [] | no_license | Kas234/projekt1 | 66e69a5548d52483eebf3b8f4d50e3f9895306d7 | 5f3d371639eecf4492217eb9a179968c7050e098 | refs/heads/master | 2020-09-14T16:28:04.143115 | 2020-01-17T18:40:15 | 2020-01-17T18:40:15 | 223,184,533 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 399 | cpp | #include <iostream>
main ()
{
using namespace std;
// namespace std;
cout <<"Witaj na pokladzie"<<endl;
int wys, punkty_karne;
cout << "Na jakiej wysokosci lecimy? : ";
cin >> wys;
if (wys<500){
cout<< wys<< "metrow to za nisko."<<endl;
punkty_karne =1;
}
else
{... | [
"k.weglarz@op.pl"
] | k.weglarz@op.pl |
1503867d72835ad738a54c9d412dbf277dfbdc40 | 1c9d2c8488dd76250e39e6875429edbbf24de784 | /groups/bdl/bdls/bdls_pipeutil.t.cpp | bde4c4b8919d320795c1344c738eaa524e2697e8 | [
"Apache-2.0"
] | permissive | villevoutilainen/bde | 9cc68889c1fac9beca068c9ca732c36fd81b33e9 | b0f71ac6e3187ce752d2e8906c4562e3ec48b398 | refs/heads/master | 2020-05-15T03:43:36.725050 | 2019-10-03T12:28:54 | 2019-10-03T12:28:54 | 182,071,409 | 1 | 1 | Apache-2.0 | 2019-10-03T12:28:55 | 2019-04-18T10:59:27 | C++ | UTF-8 | C++ | false | false | 4,802 | cpp | // bdls_pipeutil.t.cpp -*-C++-*-
// ----------------------------------------------------------------------------
// NOTICE
//
// This component is not up to date with current BDE coding standards, and
// should not be used as an example f... | [
"mgiroux@bloomberg.net"
] | mgiroux@bloomberg.net |
5e5df417267a81853e7f41272365ccf5e626ed8f | ed91c77afaeb0e075da38153aa89c6ee8382d3fc | /mediasoup-client/deps/webrtc/src/modules/rtp_rtcp/source/rtcp_packet/app.cc | c839b72a8798ac9d42d021e8bfe127dc0a2c12ff | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-google-patent-license-webrtc",
"LicenseRef-scancode-google-patent-license-webm",
"MIT"
] | permissive | whatisor/mediasoup-client-android | 37bf1aeaadc8db642cff449a26545bf15da27539 | dc3d812974991d9b94efbc303aa2deb358928546 | refs/heads/master | 2023-04-26T12:24:18.355241 | 2023-01-02T16:55:19 | 2023-01-02T16:55:19 | 243,833,549 | 0 | 0 | MIT | 2020-02-28T18:56:36 | 2020-02-28T18:56:36 | null | UTF-8 | C++ | false | false | 3,669 | cc | /*
* Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | [
"wuhaiyang1213@gmail.com"
] | wuhaiyang1213@gmail.com |
3620a2ceba7ee4c11920f07391bb46cdc9de9d4f | 4745c5423313c516028e3cc79f37b815741dbe9c | /test/src/capacity.cpp | 19002f96f6f8fd0378687081be8f81894bd831cc | [
"MIT"
] | permissive | zhanb/rapidstring | de75b0c2005a47a6a5e7bc1b46398c921c0224cf | ee433955c1e9cacfaecbf53c0a13318ab5825bd4 | refs/heads/master | 2020-04-22T22:38:18.703079 | 2018-08-02T16:43:19 | 2018-08-02T20:44:29 | 170,715,344 | 1 | 0 | MIT | 2019-02-14T15:41:36 | 2019-02-14T15:41:36 | null | UTF-8 | C++ | false | false | 1,661 | cpp | #include "utility.hpp"
#include <cstddef>
/* Theme: Harry Potter. */
TEST_CASE("empty stack")
{
const std::string first{ "Blimey!" };
rapidstring s;
rs_init(&s);
REQUIRE(rs_empty(&s));
rs_cpy(&s, first.data());
REQUIRE(!rs_empty(&s));
rs_free(&s);
}
TEST_CASE("empty heap")
{
const std::string first{ "Yo... | [
"john.boyer@tutanota.com"
] | john.boyer@tutanota.com |
0d55e72fcfefd72df2586c288398ac8efc08fd6f | 6f271a42d4e25ccc9c368bd733c7e9575461a562 | /src/search/Search.h | 2752c79dd3cb233bc2e0bbc2fd79782775939657 | [] | no_license | robjhyndman/lfl | 17590890677cf4c506103e7965a3a89b35695700 | 023ece83f933d2a7eadb7ed9297707db04b23119 | refs/heads/master | 2021-04-09T16:13:39.402714 | 2018-02-14T13:37:50 | 2018-02-14T13:37:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,596 | h | /*
* File name: Search.h
* Date: 2013/09/09 12:52
* Author:
*/
#ifndef __LFL__SEARCH__SEARCH_H__
#define __LFL__SEARCH__SEARCH_H__
#include <common.h>
#include "SearchConfig.h"
#include "Data.h"
#include "Attribute.h"
#include "../common/Chain.h"
#include "Task.h"
#include "TaskQueue.h"
#include "AbstractE... | [
"michal.burda@centrum.cz"
] | michal.burda@centrum.cz |
a0595a9536bdd95abaa5aa28911e331c9d4d0d3a | 11ae316d30451a9a47b5dd7ca3aa9941eef00ae2 | /prof-ui.cpp | c849fd07b822ddacbd7ce9f741990decf3faf816 | [] | no_license | tiludwig/prof-ui | 1f1b22a630cd2ebb22c9faf7a46c092d8baedc2f | e68de7e4883f29c3ec6b1e078a29b124b7ee7143 | refs/heads/master | 2020-04-21T12:10:16.606623 | 2019-03-11T14:45:37 | 2019-03-11T14:45:37 | 169,554,225 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,931 | cpp | #include <cstdio>
#include <cstring>
#include <linux/types.h>
#include <vector>
#include <type_traits>
#include "DataLink/HostPacket/HostPacket.hpp"
#include "DataLink/LinkLayer/TcpLink.hpp"
#include "DataLink/ProtocolLayer/DefaultProtocol.hpp"
class ProfilingResponse
{
public:
__u64 cycleCount;
__u64 retInstrCount... | [
"ludwig.tim@t-online.de"
] | ludwig.tim@t-online.de |
7b5377ddc0c2f693e96d3d3a94cf7caf23abc64d | 917bf2ed5afae2b4b87b277aee635936a9b782e9 | /MultiVariableDualNumbers/Source.cpp | ced3f52e341f27835c330e27f064cd221f32ea45 | [] | no_license | Atrix256/RandomCode | 946da1a3d5706dbd4073cfc4250c273c4e06f824 | 6887ae676bf0a14f58ec721d00f23df1888e322f | refs/heads/master | 2022-02-17T11:40:16.702509 | 2022-02-02T04:27:59 | 2022-02-02T04:27:59 | 41,233,460 | 117 | 19 | null | null | null | null | UTF-8 | C++ | false | false | 12,656 | cpp | #include <stdio.h>
#include <cmath>
#include <array>
#include <algorithm>
#define PI 3.14159265359f
#define EPSILON 0.001f // for numeric derivatives calculation
template <size_t NUMVARIABLES>
class CDualNumber
{
public:
// constructor to make a constant
CDualNumber (float f = 0.0f) {
m_real = f;
std::fill(... | [
"alan.wolfe@gmail.com"
] | alan.wolfe@gmail.com |
1b20b2460c32a0093a9ef0b5ad56f604c091d119 | 428b3e099d729337304790533ddb582b78332588 | /OpenGL/objModel.h | 939bdd805254cc5cddfbae8466e9400ec391cf04 | [] | no_license | RingedNebulae/Graphic | 50e7a016f637815b1d2c3a52038b679c4b2d675a | 0a2d06853381aaf6fe7518a615729b4cadb94d52 | refs/heads/master | 2021-10-09T08:39:29.481730 | 2018-12-24T14:04:04 | 2018-12-24T14:04:04 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,016 | h | #pragma once
#include <iostream>
#include <vector>
#include <string>
#include <glm/glm.hpp>
#include <map>
#include "shader.h"
namespace OBJ
{
struct Matrial
{
glm::vec3 Ka;
glm::vec3 Kd;
glm::vec3 Ks;
int illum;
std::string mat_name;
};
struct Vertex
{
glm::vec3 pos;
glm::vec3 nor;
glm::vec2 tex... | [
"694028833@qq.com"
] | 694028833@qq.com |
042cac9f173188b10a0870097f0f3ca4548a1a63 | ccbed2ee84b9cde86ae1646f9bf054d0d66000ed | /hardware/hls/src/fm_receiver_hls.cpp | 0cccb6e13e897f53b1516b216a626fb10ba3013a | [] | no_license | wurmmi/fm-radio | dea162a10d4fd86335c3437893b635eb32d49262 | 7528f8af5b5dee6a38dd4845bd3dc8ce3aaed6b9 | refs/heads/master | 2023-08-07T13:35:15.542289 | 2021-09-30T14:39:58 | 2021-09-30T14:39:58 | 299,938,088 | 1 | 0 | null | 2021-09-30T14:39:59 | 2020-09-30T14:01:56 | VHDL | UTF-8 | C++ | false | false | 4,672 | cpp | /*****************************************************************************/
/**
* @file fm_receiver_hls.cpp
* @author Michael Wurm <wurm.michael95@gmail.com>
* @brief FM Receiver top-level wrapper implementation.
*/
/*****************************************************************************/
/*
clang-... | [
"noreply@github.com"
] | noreply@github.com |
851f656e48b47cc04344779ba127b94ede9ffc67 | 68bf8a5081eacf892d43f1101352b3b863da2534 | /src/cpp-to-R.cpp | 19be9ea3a9ec18435b2c7d118ce4abf683cd038a | [] | no_license | ellessenne/survTMB | 1458ec6cbbfa07fcc9e2534b3e8b1c6adb317808 | f620d67b4450454be1c4fc901a806c2b39311e62 | refs/heads/master | 2022-11-08T21:08:19.459705 | 2020-06-24T07:07:26 | 2020-06-24T07:07:26 | 267,050,054 | 0 | 0 | null | 2020-05-26T13:27:37 | 2020-05-26T13:27:36 | null | UTF-8 | C++ | false | false | 487 | cpp | #include <Rcpp.h>
#include "fastgl.h"
// [[Rcpp::export(rng = false)]]
Rcpp::List get_gl_rule(unsigned const n){
if(n == 0L)
throw std::invalid_argument("get_gl_rule: n is zero");
auto const &dat = fastgl::GLPairsCached<double>(n);
Rcpp::NumericVector x(n), w(n);
for(unsigned i = 0; i < n; ++i){
auto ... | [
"boennecd@gmail.com"
] | boennecd@gmail.com |
5f1d51dd4bdf7e3d23e624be3a4cbd555ea52a12 | 0f2b08b31fab269c77d4b14240b8746a3ba17d5e | /orttraining/orttraining/training_ops/cpu/tensor/gather_elements_grad.h | 4ba184c9b405453f87b762eb2cfa0ae18c1f4c60 | [
"MIT"
] | permissive | microsoft/onnxruntime | f75aa499496f4d0a07ab68ffa589d06f83b7db1d | 5e747071be882efd6b54d7a7421042e68dcd6aff | refs/heads/main | 2023-09-04T03:14:50.888927 | 2023-09-02T07:16:28 | 2023-09-02T07:16:28 | 156,939,672 | 9,912 | 2,451 | MIT | 2023-09-14T21:22:46 | 2018-11-10T02:22:53 | C++ | UTF-8 | C++ | false | false | 569 | h | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
#include "core/common/common.h"
#include "core/framework/op_kernel.h"
namespace onnxruntime {
namespace contrib {
class GatherElementsGrad final : public OpKernel {
public:
GatherElementsGrad(const OpKern... | [
"noreply@github.com"
] | noreply@github.com |
a17e57cfa4e81aba348c5917313b1258e0085274 | 1538d190bba33be583cb9197b6a5eccd3dfe5d43 | /KeyboardHelper.hpp | 2636875a9ddb0091870d84f6c1145a1898abcaae | [
"MIT"
] | permissive | abrunet/sfml-tetris | a8d60c14ea97050c75b66fd83cb1664cd114fb71 | 2df0db165f03334b36304040741919d60bc3f566 | refs/heads/master | 2016-09-05T14:52:37.272605 | 2013-11-23T03:47:32 | 2013-11-23T03:47:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 866 | hpp | #ifndef KEYBOARD_HELPER_HPP_
#define KEYBOARD_HELPER_HPP_
#include "Board.hpp"
#include <SFML/Window/Input.hpp>
class KeyboardHelper {
public:
KeyboardHelper(Board& board);
virtual ~KeyboardHelper();
void processInput(const sf::Input& input, float frameTime);
private:
Board& board;
bool leftKey... | [
"alex.brunet@gmail.com"
] | alex.brunet@gmail.com |
7c91d876ac3a07cef212dcdee9f5597c42b00ef2 | 5ddb03b2cd057509a84782d2d07e0814ced05509 | /server_src/public/mathlib/vector.h | be644474931c177a90c6bf3465e7e27e181cd029 | [] | no_license | Ch1ckenscoop/svn | d0fd06b21f0ad0bcd7637bba33d942f01f58f582 | eefaa8115343774ff106e2a7645c67fb1c7a964b | refs/heads/master | 2022-05-13T07:05:23.902942 | 2022-03-05T01:26:46 | 2022-03-05T01:26:46 | 56,256,629 | 5 | 1 | null | 2016-04-16T17:21:45 | 2016-04-14T17:23:10 | C++ | UTF-8 | C++ | false | false | 63,984 | h | //====== Copyright 1996-2005, Valve Corporation, All rights reserved. =======//
//
// Purpose:
//
// $NoKeywords: $
//
//=============================================================================//
#ifndef VECTOR_H
#define VECTOR_H
#ifdef _WIN32
#pragma once
#endif
#include <math.h>
#include <flo... | [
"ibemad@gmail.com@0b7b69cc-2dba-df56-e3eb-7f138e0a0778"
] | ibemad@gmail.com@0b7b69cc-2dba-df56-e3eb-7f138e0a0778 |
99e21f7918db776e2230493d1b4885223f039eb2 | fdd992f9787aa4dda1e41b5dd84a3f092d5885fa | /MIPS-Emulator/src/asad/functions.h | 8058314888ac204c80f0ae2b645c1961bf5861a9 | [] | no_license | aa18514/scientific_computing | c3f618f677ff0d6f5b3d5fff8691e6245f0d92c1 | 6172e7d20def3e369c754dd8a1addd2f3e7dd6f4 | refs/heads/master | 2020-03-26T06:48:45.995211 | 2018-08-13T19:16:26 | 2018-08-13T19:16:26 | 144,622,804 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,740 | h | /*! \file mips_test.h
Defines the functions used to test a processor.
*/
#ifndef functions_header
#define functions_header
#include "mips.h"
/* This allows the header to be used from both C and C++, so
programs can be written in either (or both) languages. */
#ifdef __cplusplus
extern "C"{
#endif
void slt(mips_m... | [
"aa18514@github.com"
] | aa18514@github.com |
c18115f9a5bce2170cb0128692d6604d6d6d4e58 | d38bd5737e0de480cba23f139d3fe542dbd4de95 | /GameEngine/Math/Matrix3.cpp | fbcd55d7339f4984c7f07452aa9d75a073e5684e | [] | no_license | bmjoy/GameEngine | 56ddc007e0d22cc1fa50d3a56000929c1b6f54bc | 39b59b0e382d0010526b1a40487120e4a143f3c7 | refs/heads/master | 2020-11-23T22:21:51.998221 | 2019-12-16T05:17:22 | 2019-12-16T05:17:22 | 227,844,666 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,356 | cpp | //
// Copyright (c) 2008-2019 the Urho3D project.
//
// 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, copy, modify, m... | [
"ironmandev@gmail.com"
] | ironmandev@gmail.com |
2658d6e6731a30ae0eaa9d45441a7c0f4643d3a6 | 046fb3b2cce50fb4e846b76bfa3278f907c9407f | /apple.cpp | f28e5acc96c01f6a73310a7fb444f64ed99f5c9c | [] | no_license | akashleo/coding-problems | 19a2354d401b7487060377d050f5eab027e7979c | 5ee1ba1eb20e8d263e304a4975409341c12c0df5 | refs/heads/master | 2020-07-26T02:03:55.924704 | 2019-09-14T20:05:05 | 2019-09-14T20:05:05 | 208,496,992 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,359 | cpp | #include <iostream>
#include <cstdlib>
using namespace std;
int main()
{
int t, n ,k, x=0, y=0;
cin>>t;
getchar();
while(t>0)
{
cin>>n;
cin>>k;
getchar();
if( n%k!=0)
{
cout<<"YES"<<endl;
continue;
}
... | [
"akashleo2009@gmail.com"
] | akashleo2009@gmail.com |
d7f1cc0461be79fe717e528dd7d04be141b877e4 | 97e04772570141a5671e3c1ddef3c916a17f1ee6 | /XPlay/app/src/main/cpp/IPlayerPorxy.h | cd2dd097f199799694dbf1f423046119f466aa42 | [] | no_license | GJP1106/FFmpegXplay | 695ba3236653b0fc20141db21ff7e974e9fe3272 | 86dcc4d04db8dcc2b0e2769412423d3e4d814fcf | refs/heads/master | 2021-04-10T21:48:30.254792 | 2020-03-29T03:26:23 | 2020-03-29T03:26:23 | 248,969,418 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 728 | h | //
// Created by GJP on 2020/3/26.
//
#ifndef XPLAY_IPLAYERPORXY_H
#define XPLAY_IPLAYERPORXY_H
#include <mutex>
#include "IPlayer.h"
class IPlayerPorxy : public IPlayer{
public:
static IPlayerPorxy *Get()
{
static IPlayerPorxy px;
return &px;
}
void Init(void *vm = 0);
virtual b... | [
"gjp1106@outlook.com"
] | gjp1106@outlook.com |
53a4892715e7b39c4ff686eb422e56aee2c0d49c | 608bc4314c5d91744c0731b91882e124fd44fb9a | /protomol/src/protomol/switch/C1SwitchingFunction.h | f113c852ec45b78063c82a18d6cd50bf983a9e91 | [] | no_license | kuangchen/ProtoMolAddon | bfd1a4f10e7d732b8ed22d38bfa3c7d1f0b228c0 | 78c96b72204e301d36f8cbe03397f2a02377279f | refs/heads/master | 2021-01-10T19:55:40.467574 | 2015-06-09T21:18:51 | 2015-06-09T21:18:51 | 19,328,104 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,230 | h | /* -*- c++ -*- */
#ifndef C1SWITCHINGFUNCTION_H
#define C1SWITCHINGFUNCTION_H
#include <vector>
#include <protomol/config/Parameter.h>
#include <protomol/type/Matrix3By3.h>
namespace ProtoMol {
//____ C1SwitchingFunction
/**
* The switching function provide C1 continues
*/
class C1SwitchingFunction {
... | [
"kuangchen@ucla.edu"
] | kuangchen@ucla.edu |
cac961cade7818c38706554dbec725ae5547d69f | 1ca023f9d39e62ce9e5042b9865780541e3f9a9a | /Bai4.cpp | 82ea9114d3a823266cae84ffb63972a002f6e4f7 | [] | no_license | nhandeptraii/baitap2 | 484bce56639173ae21322185407112b4182e6e57 | 36f4c07b75d8f4ea70189b3f0a878fdd9f7ac621 | refs/heads/main | 2023-01-02T17:25:31.804166 | 2020-10-21T11:12:40 | 2020-10-21T11:12:40 | 305,998,230 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 309 | cpp | #include <stdio.h>
#include <conio.h>
int main (void){
float top,bottom,height;
printf("Nhap day lon = \n");
scanf("%f,&top");
printf("Nhap day nho = \n");
scanf("%f,&bottom");
printf("Nhap chieu cao = \n");
scanf("%f,&height");
printf("Dien tich hinh thang = %f\n",(top+bottom)/2*height );
getch();
}
| [
"71130136+nhandeptraii@users.noreply.github.com"
] | 71130136+nhandeptraii@users.noreply.github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.