blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6d38229c0e5e1e91c67ab75b3e21552526018f45 | 83b7f3fd6eb4cd4ff3728e9249abdf1ce1fdce33 | /LEETCODE/30_DAY_LEETCODE_CHALLENGE MAY/8_CHECK_IF_IT_IS_A_STRAIGHT_LINE.cpp | 5ea87db29094f2d81fc431a01e9ef356811604ab | [] | no_license | akash19jain/COMPETITIVE-PROGRAMMING | 881ee80c40b1bdb8556f4fd8193896224e126a95 | 7a0fe1a5aad7d1990838a7b99891e9af1be5c336 | refs/heads/master | 2021-11-23T01:26:36.780405 | 2021-09-12T17:05:27 | 2021-09-12T17:05:27 | 173,334,187 | 8 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 460 | cpp | class Solution {
public:
bool checkStraightLine(vector<vector<int>>& coordinates)
{
if (coordinates.size() <= 2)
return true;
int x1 = coordinates[0][0];
int y1 = coordinates[0][1];
int x2 = coordinates[1][0];
int y2 = coordinates[1][1];
for (int i = 2; i < coordinates.size(); i++)
{
int x = coor... | [
"akash19jain@gmail.com"
] | akash19jain@gmail.com |
29159e6876b437b9d6bd73cd9545bd414fa23f83 | 59760e7e351fa25a9d974f105b9ac323f9115665 | /HYJ/boj/Graph/boj13418.cpp | e8a45997e5cd260e8d338a7a86be641931010c48 | [] | no_license | grighth12/algorithm | f01ba85b75cded2c717666c68aac82ed66d0a563 | 21778b86e97acc5ffc80d4933855b94b89e9ffd3 | refs/heads/main | 2023-07-14T15:59:35.078846 | 2021-08-21T16:45:47 | 2021-08-21T16:45:47 | 375,053,162 | 0 | 2 | null | 2021-08-21T16:45:48 | 2021-06-08T15:10:58 | C++ | UHC | C++ | false | false | 1,972 | cpp | #include <iostream>
#include <vector>
#include <queue>
#include <cmath>
using namespace std;
vector<int> parent;
struct Edge {
int start;
int end;
int cost;
Edge(int start, int end, int cost) {
this->start = start;
this->end = end;
this->cost = cost;
}
};
struct compare {
bool operator()(Edge a, Edge b... | [
"abc123472000@naver.com"
] | abc123472000@naver.com |
e3c7ecc54bb99b9c9ebc1cee71fd73bb154f28cd | 4f8e66ebd1bc845ba011907c9fc7c6400dd7a6be | /SDL_Core/src/components/JSONHandler/src/SDLRPCObjectsImpl/V2/AddCommand_requestMarshaller.cpp | c7bbbe2b8c5260a465228b0c27d3361108c7c41b | [] | no_license | zhanzhengxiang/smartdevicelink | 0145c304f28fdcebb67d36138a3a34249723ae28 | fbf304e5c3b0b269cf37d3ab22ee14166e7a110b | refs/heads/master | 2020-05-18T11:54:10.005784 | 2014-05-18T09:46:33 | 2014-05-18T09:46:33 | 20,008,961 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,066 | cpp | //
// Copyright (c) 2013, Ford Motor Company
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// Redistributions of source code must retain the above copyright notice, this
// list of condit... | [
"kburdet1@ford.com"
] | kburdet1@ford.com |
4b59fd23126ca25e2d7b0a4f631a2788cd5adfc0 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /dms-enterprise/include/alibabacloud/dms-enterprise/model/DisableUserResult.h | 5bc13bd0a6133a3a9ed99cb8ac85ebab79f2ff32 | [
"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,543 | 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... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
43fffce2e1704d52ae23d924f572a37085921411 | 6240d8c171d182e969ec24b9e5f88a8137cfebce | /ZeroJudge/b082. C. 國家寶藏.cpp | bd4f0da8e532c6950ad08d397262c07bef9df13b | [] | no_license | BillySilver/Online-Judge | 04e93d05e054df33c054cdfdd1cb89145815ae8b | 2d2ba064b01007f9a1a99f427595ae6f807a3d5e | refs/heads/master | 2021-07-12T22:21:10.389235 | 2017-10-14T21:48:38 | 2017-10-14T21:53:47 | 106,046,686 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 440 | cpp | #include <iostream>
int n, m, a, b, start;
char c, g, s[257], i;
struct linked {
int l;
char w;
} st[257];
int main() {
for (scanf("%d",&n); n--; ) {
scanf("%d%d%c%c%c%d",&m,&a,&g,&c,&g,&b);
start = a;
st[a].l = b;
st[a].w = c;
for (i=1; i<m; i++) {
scanf("%d%c%c%c%d",&a,&g,&c,&g,&b);
st[a].l = b;
... | [
"BillySilver@users.noreply.github.com"
] | BillySilver@users.noreply.github.com |
6723cdc30d8943e1df89760b2e5ab069e559c146 | 3dd2b1f5bab48660cf76be0378dbd7334cce9245 | /4.1-10.cpp | a59321cc707b2e3aefa29661c9a90eec9b6d2173 | [] | no_license | arduino731/ITSE-1307-Intro-to-C- | e682f09f6230b4350f84cf0b9b629a7150efd3dc | 330585806942fcc94ec3968448f559f5933a7de6 | refs/heads/master | 2021-01-19T22:33:49.132070 | 2017-08-24T04:44:56 | 2017-08-24T04:44:56 | 101,254,516 | 0 | 0 | null | null | null | null | MacCentralEurope | C++ | false | false | 841 | cpp | // This program tests whether or not an initialized value
// is equal to a value input by the user
// Brian van Vlymen
#include <iostream>
using namespace std;
int main()
{
int num1, // num1 is not initialized
num2 = 5; // num2 has been initialized to 5
cout << "Please enter an integer" << endl;
cin >> num1;
cout... | [
"arduino731@gmail.com"
] | arduino731@gmail.com |
5dd6a979640b9b59993bbc5c5d11b4d6dbf658b0 | 38c10c01007624cd2056884f25e0d6ab85442194 | /content/browser/appcache/appcache_response.cc | 014ecfe40736ec16931b19e389166b713934bdfa | [
"BSD-3-Clause"
] | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 14,550 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/appcache/appcache_response.h"
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/compiler_specific.h"
#in... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
a7c16379d3ef8ed8d9302c4550adb58e6ad88d7a | 5a3371745de16ae56fb25a1864548f48c3e8f76c | /include/script/engine.h | 170cf1ceb055927fca0e285f6ee654485384b955 | [
"MIT"
] | permissive | lineCode/libscript | 019af52943604278ec9b64a198344ec18d8eed26 | d52d673c694d7315fcbccb60a9478bb23ca1d7ed | refs/heads/master | 2020-09-30T18:43:43.195467 | 2019-07-14T10:56:48 | 2019-07-14T10:56:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,161 | h | // Copyright (C) 2018 Vincent Chambrin
// This file is part of the libscript library
// For conditions of distribution and use, see copyright notice in LICENSE
#ifndef LIBSCRIPT_ENGINE_H
#define LIBSCRIPT_ENGINE_H
#include <map>
#include <typeindex>
#include <vector>
#include "script/exception.h"
#include "script/sc... | [
"vincent.chambrin@gmail.com"
] | vincent.chambrin@gmail.com |
fea5c2ddb3a2b31a4fbe2c68dbc6415fbe5a5e96 | 332dea92d05126785186397351c5724469a2e406 | /HLS/project_mlp/solution1/syn/systemc/MLP_hiddenlayer1.h | 56e3935671d47dac82e0b1d3dcff4e40591c933c | [] | no_license | alexconejo/VivadoProject | 962fe3fd3ecfe36515594fab8a3c5344887f25b5 | 09382812050f8f4deeb22166572d46b4f0861604 | refs/heads/main | 2023-06-29T12:00:57.924098 | 2021-08-06T12:58:32 | 2021-08-06T12:58:32 | 393,376,090 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,561 | h | // ==============================================================
// File generated on Thu Dec 17 22:11:27 +0100 2020
// Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC v2018.3 (64-bit)
// SW Build 2405991 on Thu Dec 6 23:38:27 MST 2018
// IP Build 2404404 on Fri Dec 7 01:43:56 MST 2018
// Copyright 198... | [
"alex.conejo@alu.uclm.es"
] | alex.conejo@alu.uclm.es |
0ab53c204727cd2f8fe2f1c3738f1b3c997e6ca6 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_repos_log_1055.cpp | 8798944a1e3f3cef14d56e26db9589e8ce7426dd | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 90 | cpp | archive_set_error(f->archive, ENOMEM,
"Can't allocate data for compression buffer"); | [
"993273596@qq.com"
] | 993273596@qq.com |
ab4ff13f2c083ca1f44ed80aa0d704a2403f1427 | 14acabf7a6594f054978c95b75cfc4249f7f5651 | /image-version/polynomial.h | 211d8513be760287ddfa37a52fe02189577bcaf2 | [] | no_license | yanyangxiao/VoroApprox | a975b6ede6b27062ffe40ec171f35984d44b990f | 5e564e89122be3624cd8d5fd3bddf3ba4517c4f5 | refs/heads/master | 2023-06-21T21:22:58.167524 | 2023-06-12T04:24:35 | 2023-06-12T04:24:35 | 267,139,048 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,860 | h |
/**
* author: Yanyang Xiao
* email : yanyangxiaoxyy@gmail.com
*/
#ifndef POLYNOMIAL_H
#define POLYNOMIAL_H
#include <vector>
#include <math.h>
#include <Eigen/Eigen>
#include "pixelset.h"
namespace xyy
{
template <typename Real>
class Polynomial
{
int tab[3] = { 1, 3, 6 };
private:
int _de... | [
"yanyangxiaoxyy@gmail.com"
] | yanyangxiaoxyy@gmail.com |
f84fed42c380b1155664851863d6b0b9ab116f11 | a472ef5e4096fbb0684776f17c92c3f9b116c71c | /c++/mpa_ext2/mpa/mpa.cpp | 21c3bd79a118ee58bece20e6e61a15dc0078e936 | [] | no_license | alishbakanwal/cern_git | d1d53ae0b5355d6123908d4d96076cf8a329c75f | a30d00dbcd8594fcdb7b4ecbf67d279b2073f0b6 | refs/heads/master | 2020-04-15T13:36:04.857055 | 2016-11-12T11:16:21 | 2016-11-12T11:16:21 | 57,893,770 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 16,838 | cpp |
#include<stdio.h>
#include<fstream>
#include<iostream>
using namespace std;
int main()
{
ifstream dtcinput("dtc.prn", ios::in | ios::binary | ios::ate);
ofstream dtcproc("dtcproc.txt");
char *memblock;
// int size = 16889;
int size = 18522;
// stripping away header and extracting first 263 samples
// all s... | [
"14mseeakanwal@seecs.edu.pk"
] | 14mseeakanwal@seecs.edu.pk |
5f6a670a4073befe85ddb4f1edf8f5f698ebfacb | 9dd079b34e3471676c15e2696aa8b06f1f934a01 | /parrGpu/test/mpiCartTest.cpp | fae0442fff9e3dce05299c2a49f14d26b9ea1d49 | [] | no_license | rmasti/FEM | 536621ecfc3652cb4d9be54fdb54f47a3af2fb5c | ce7142d4cc47442ee3f50461f311c35adb732699 | refs/heads/master | 2021-06-26T11:42:18.081654 | 2019-05-14T19:31:55 | 2019-05-14T19:31:55 | 145,762,203 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,696 | cpp | # include "mhdRT.hpp"
int main(int argc, char * argv[])
{
//printf("Run with 12 processors for the example to work\n");
MPI_Init(& argc, &argv);
int rank; int size;
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
MPI_Comm_size(MPI_COMM_WORLD, &size);
double exp=double(log(size))/double(log(2));
int ni, nj;
... | [
"rlm7819@vt.edu"
] | rlm7819@vt.edu |
cd08c7b9f84977f29795ee4ed4f25ad3c1823850 | e019ee42ca6c0be65ff3b23d394028b87d9fa13d | /sketches/OpenROV2x/CDeadManSwitch.h | a3a31ab72f1f626b1cce8f28f0918c299d10060b | [
"MIT"
] | permissive | eyoz/openrov-software-arduino | 886756d96b34310173645bcbf5fec5a16f9a196a | 66291d147a070d94a8ed9ccb06916b828dc24ff9 | refs/heads/master | 2020-06-02T22:54:34.451463 | 2019-06-11T09:11:32 | 2019-06-12T11:37:52 | 191,334,988 | 0 | 0 | MIT | 2019-06-11T09:09:29 | 2019-06-11T09:09:28 | null | UTF-8 | C++ | false | false | 178 | h | #pragma once
// Includes
#include "CModule.h"
class CDeadManSwitch : public CModule
{
public:
virtual void Initialize();
virtual void Update( CCommand& commandIn );
};
| [
"charles@openrov.com"
] | charles@openrov.com |
ab17bb434ad13536bc7f7ceb138c289d689c9d3c | 0876d1a78b7c74df9a3f81668ff69fae6761a577 | /OpenGL/Main.cpp | 3b8164ff75bbf53dae63b95ee22866bcd095bd8d | [] | no_license | alicetemp/OpenGL_shaders | 4f1dcfaca7e0a1e226ef016d162fb0df20359d07 | 483968b01d617fda2ec4607e9dcb536895a14758 | refs/heads/master | 2022-04-14T03:47:54.853989 | 2020-04-13T11:18:31 | 2020-04-13T11:18:31 | 255,304,384 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,379 | cpp | #include "glad.h"
#include <glfw3.h>
#include <iostream>
#include "shader_m.h"
#include <glm.hpp>
#include <gtc/matrix_transform.hpp>
#include <gtc/type_ptr.hpp>
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
void framebuffer_size_callback(GLFWwindow* window, int width, int height);
void processInput(GLFWwind... | [
"aliceberbeniuk@gmail.com"
] | aliceberbeniuk@gmail.com |
7c846f71150b842518af0a6959a0805eeb3afad5 | a9ca33f6cb1f373d5e378ce2d26059978fe88832 | /src/lib_common/response.hpp | 5867224514a093b85b9cb2c321b0cde582d888bb | [] | no_license | gigamantra/asio_perf | 31ed51f3b79a005753c614e881f3c8d3e7039d07 | a762452c9b71c98c6982d2ad60a089d0514cc90e | refs/heads/master | 2021-03-12T20:40:41.242205 | 2014-05-02T23:55:36 | 2014-05-02T23:55:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,231 | hpp | #ifndef __REST_RESPONSE__
#define __REST_RESPONSE__
#include "message.hpp"
#include <boost/asio.hpp>
namespace rest {
namespace common {
/*
Represents a HTTP response. It derives most of it's
functionality from the message class
*/
class response : public message
... | [
"quixver@gmail.com"
] | quixver@gmail.com |
ec6791935b5e6722f8978feba1b559ddf90b7440 | 9e5079222f318f8c4d15cda275e21af0d73fb390 | /include/PBR.h | b64005e64f3898e82d40710178f0491a59eb7299 | [] | no_license | TomMasdin/PBREngineTEM | 936a21308dd99fef55cc4ca51a314dccdbab5d41 | 7085124089b0757ebf7ac5e21950a6f3d5e85d7c | refs/heads/master | 2020-05-30T19:53:02.962637 | 2019-06-03T04:23:14 | 2019-06-03T04:23:14 | 189,933,873 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,257 | h | #pragma once
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <STB_IMAGE/stb_image.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <Shader.h>
//!< Simple Storage class that holds all the texture information of a PBR object
class PBR
{
private:
unsig... | [
"ThomasMasdin@DESKTOP-PIEUFI7"
] | ThomasMasdin@DESKTOP-PIEUFI7 |
b9c6bbdbe74efd42fc57b07a136aa97b88418b31 | fada123fff2570d3cf4c59337e81fa034adb36fc | /src/model/word.h | e15530905bff382792908dd14761eadf3af187cf | [] | no_license | sergburn/firu.qt | db5b52129fd60da00848d1ed58a533ef076576ec | 5269933688b62a7366d186a164c8d184532cfcfa | refs/heads/master | 2021-01-10T19:10:07.373183 | 2014-08-09T22:03:51 | 2014-08-09T22:03:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,418 | h | #ifndef WORD_H
#define WORD_H
#include <QList>
#include <QMap>
#include <QString>
#include <QSharedPointer>
#include "model.h"
#include "itembase.h"
#include "translation.h"
class WordQueryAdapter;
class Word : public ItemBase
{
public:
typedef QSharedPointer<Word> Ptr;
typedef QList<Ptr> List;
public:
... | [
"sergburn@497590ae-b53e-4291-bb47-07b2b5baf046"
] | sergburn@497590ae-b53e-4291-bb47-07b2b5baf046 |
efebe4200b6fbc444bd7adcb59828ea3d91a2684 | c90a56e7d7752b041fc5eb38257c5573cef346c6 | /src-macOS/IntStart.cpp | 9de50c6cfbb908fe50250c34b0ad6be73f9ab2f2 | [] | no_license | random-builder/design_cadquery_ocp | a4c572a72699bad52ca5f43f30bb7c15d89072ff | 2af799a9f1b2d81fd39e519b2f73e12b34a14c0a | refs/heads/master | 2021-05-21T23:10:23.833461 | 2020-03-29T15:34:46 | 2020-03-29T15:34:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,509 | cpp |
// std lib related includes
#include <tuple>
// pybind 11 related includes
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
namespace py = pybind11;
// Standard Handle
#include <Standard_Handle.hxx>
// includes to resolve forward declarations
#include <gp_Pnt2d.hxx>
// module includes
#include <IntStart... | [
"adam.jan.urbanczyk@gmail.com"
] | adam.jan.urbanczyk@gmail.com |
d0f77e0995bacb573fa0fe651d3fe793200a69ff | bd2ce60ab8c4b05158d234637a5212be15d7cf6d | /MainWindow.h | c770fb0a4c20d5dd152426054929f583c4acee0b | [] | no_license | Quentista/editor | fbc7c9f30ff0838b89b0ec6caa470c15c53c064a | 8b36c9822880d307ecf56f2cf0c9537296025648 | refs/heads/master | 2021-01-01T05:50:28.464259 | 2013-04-25T20:03:28 | 2013-04-25T20:03:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 656 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QWidget>
#include <QDir>
class GridWidget;
class GridData;
class QSignalMapper;
class QStringList;
class QPushButton;
class QLineEdit;
class MainWindow : public QWidget
{
Q_OBJECT
public:
MainWindow(QWidget *parent = 0);
~MainWindow();
private slots:
void ... | [
"sebastian@devmachine.(none)"
] | sebastian@devmachine.(none) |
1d0b49b8f0808723f983c419a8abd26bb4b1d970 | b329b74a734175a4efc66b5cec540347193a2d33 | /problem_solving/vjudge/25_03_2018_218399/A.cpp | 23a59512bf6574525b2eda35fdef2f2b7b2ecba5 | [
"MIT"
] | permissive | sazid/codes | c2b9569979fc3461ab51f07212be9ed5b94772e0 | 6dc5d8967334a132ff9eb7e87f58fe9b11d8abd2 | refs/heads/master | 2021-01-23T01:01:11.269644 | 2019-03-16T15:24:44 | 2019-03-16T15:24:44 | 85,860,119 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,195 | cpp | #include <bits/stdc++.h>
#define rep(T, i, a, b) for (T (i)=(a); (i) < (b); (i)++)
#define repe(T, i, a, b) for (T (i)=(a); (i) <= (b); (i)++)
#define MOD(n, M) ((((n) % (M)) + (M)) % (M))
#define PB push_back
#define F first
#define S second
#define PI acos(-1)
#define PRNT(arr) for (auto i : (arr)) cout << i << " ";... | [
"sazidozon@gmail.com"
] | sazidozon@gmail.com |
56efae23afbfabe1e76183ade2787de1294753dd | 2732338546c64e79ec99e5e1f3a764435ed5bc3f | /backup/Headers/Functionalities.hpp | c868fd6ba0fa3f7bb4bb42a39bc29f3245c15a23 | [] | no_license | NightCruiser/NetworkSimTest | b1c7e557e35d7c28f02bf1bccc5006bab262cc88 | 53f0c638d792ba0f33021ca6c7e338e22d1970b3 | refs/heads/main | 2023-01-18T23:59:39.090406 | 2020-11-24T13:03:33 | 2020-11-24T13:03:33 | 309,975,537 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 188 | hpp | #ifndef FUNCTIONALITIES_HPP
#define FUNCTIONALITIES_HPP
#include "Node.hpp"
//class Node; //forward decl new
class Functionalities : public Node {
};
#endif //FUNCTIONALITIES_HPP
| [
"valentin.kriukov@aalto.fi"
] | valentin.kriukov@aalto.fi |
3628b4a68b10f134f2f4a1edcb6eb2ba5e7a2fe0 | 70ffc53a7a906d6da6d635d131fb525618245083 | /src/libks/libks/stereo/sparse/sparseconstraints.cpp | ff54762af44f2c3e9f55ba8a9b9cc94b4721c798 | [] | no_license | sundsunds/catkin_backup | 529c9892655bd0f5035f1b02f0dc0fe945e0080c | 04ebec48e26fdf89e13ea0f6086c76ce8119f4ea | refs/heads/master | 2021-01-18T23:13:52.830285 | 2017-04-03T16:38:15 | 2017-04-03T16:38:15 | 87,096,984 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,258 | cpp | #include "libks/stereo/sparse/sparseconstraints.h"
#include <climits>
namespace ks {
using namespace cv;
using namespace std;
/*void SparseConstraints::leftRightConsistency(const vector<Point2f>& leftFeatures, SparseCostCube<short>* costCube) {
Mat_<short> costs;
int currentRow = -1;
int leftIndex = 0;
... | [
"sunds1986@139.com"
] | sunds1986@139.com |
362cb389e2a4b5dc8413760b83ed5603e3955d75 | 6877be2c476362205c0c6e507034718d347fb309 | /YouTubeDLer/fileentry.h | 23dcdbf5533d82bd339b7546e62b1c7e63bdefd4 | [] | no_license | AndrewShultz/Lynx | e606ff2bd6a3bcb5b7d6af0dbb4ce1a2f81b7822 | 15bf40aa769457eb9b922d3b5f627edc555f2098 | refs/heads/master | 2020-03-27T05:31:18.016114 | 2020-03-03T20:00:14 | 2020-03-03T20:00:14 | 146,028,022 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,227 | h | #ifndef FILEENTRY_H
#define FILEENTRY_H
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <stdio.h>
#include <dirent.h>
#include <sys/types.h>
#include <QLineEdit>
#include "translator.h"
#include "downloader.h"
#include "titleHolder.h"
#define MIN(x,y) ((x) < (y) ? (x) : (y))
using namespace std;
... | [
"andjshultz@gmail.com"
] | andjshultz@gmail.com |
7fa2f8acee78b96b9c941f04153591c1fcf3a38b | be8810995af19a5a336c095462e3714d6458c1c9 | /operations.hpp | 6b23a7b4bbed39f3de8593877d7e3ce3f25800ce | [] | no_license | zvladn7/derivation | c53ae367d3cb208eea95a1ce1de2c694ba02eed1 | df5d06c34fa2b20a479f46d44b57a865a6a8ed8e | refs/heads/master | 2020-09-24T09:34:23.076324 | 2019-12-27T13:37:32 | 2019-12-27T13:37:32 | 225,729,892 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,274 | hpp | #ifndef OPERATIONS_HPP
#define OPERATIONS_HPP
#include <type_traits>
#include "basefunctions.hpp"
template <class F1, class F2>
Add<F1, F2> operator+(const F1& f1, const F2& f2)
{
return Add<F1, F2>(f1, f2);
}
template <class F>
typename std::enable_if<!std::is_arithmetic<F>::value, Add<F, Const>>::type operator+(d... | [
"zybkin11@gmail.com"
] | zybkin11@gmail.com |
e0034e549725989d85ee2c11c25a0d67d820c064 | fb6b653d2f1676b40ab75443edc2a3187cf00606 | /Chapter18/exercises/18.08/ex_1808.cpp | d8167200d300680036c0ffdab28032b86504d2c3 | [] | no_license | wenjing219/Cpp-How-To-Program-9E | 4cd923de658a90f3d3bfd0e4c0b3e8505d3a8472 | 8a6e2d1bc84e94fc598e258b9b151aa40895b21e | refs/heads/master | 2021-01-22T22:16:24.824817 | 2017-03-14T22:14:40 | 2017-03-14T22:14:40 | 85,525,193 | 2 | 0 | null | 2017-03-20T02:04:41 | 2017-03-20T02:04:41 | null | UTF-8 | C++ | false | false | 794 | cpp | /*
* =====================================================================================
*
* Filename: ex_1808.cpp
*
* Description: Exercise 18.08 - Using string Iterators
*
* Version: 1.0
* Created: 10/02/17 16:23:07
* Revision: none
* Compiler: g++
*
* Au... | [
"siidney.watson.work@gmail.com"
] | siidney.watson.work@gmail.com |
29ef2c8f9d834dc4f5780655c2f8ec33fa8d9992 | c0f22345988a92d9c8837e9c0ce065c2683d78d3 | /lib/evaluate.h | 9cfbdb7f6c612892259a987c1551b8990210c478 | [] | no_license | toneill818/CD_hw2 | b9c8de96a67481468f618e6eb582bc241d71f932 | 999ab5bb777161049e296cb91edd733d011ab28a | refs/heads/master | 2021-01-10T02:42:21.689440 | 2015-10-27T18:44:43 | 2015-10-27T18:44:43 | 44,938,754 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,501 | h | //
// Created by Thomas O'Neill on 10/6/15.
//
#ifndef CALC_EVALUATE_H
#define CALC_EVALUATE_H
#include "ast.cpp"
#include "parser.cpp"
#include <iostream>
// Visitor pattern that will evaluate the expression depending on its most derived class.
// It will recurse down until it hits an Integer by calling accept on e... | [
"toneill818@gmail.com"
] | toneill818@gmail.com |
ec535464d8f81c80c7332cec7ddcaf38fe25a7ad | c8c85850beee91f71cfd2905f5de82ce3c52f34b | /lib/itk/xregITKBackgroundImageWriter.h | bcb993a076f187cd0bcb7f7b87c937d730deaaa5 | [
"MIT"
] | permissive | oneorthomedical/xreg | 1477c045cafbcbe97d417e22bf54273a4b629272 | c06440d7995f8a441420e311bb7b6524452843d3 | refs/heads/master | 2023-08-25T14:43:14.555069 | 2021-09-20T04:18:01 | 2021-09-20T04:18:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,713 | h | /*
* MIT License
*
* Copyright (c) 2020 Robert Grupp
*
* 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, mod... | [
"robert.grupp@gmail.com"
] | robert.grupp@gmail.com |
770ac452fd946111ce7d4734504278214c9a66f1 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5634697451274240_1/C++/hugeh0ge/b-large.cpp | a1eae80a13e7f2327324731326a7cf0ccf5ffaf8 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 797 | cpp | #include <cstdio>
#include <cstring>
#include <queue>
#include <algorithm>
using namespace std;
#define INF 0x3fffffff
int T;
int n;
char S[1000];
int main() {
scanf("%d", &T);
for (int Case=1; Case<=T; Case++) {
int val = 0;
scanf("%s", S);
n = strlen(S);
vector<int> segs;
... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
4be09cca22b6cab6067200b4f1c4226d411749f4 | 927eff7f52e98ec4f5f00c16751981bbdf33489c | /DEU3D_OSG/src/osg/Matrixf.cpp | 6279ae7af3052007bc19278053276b0f531bfa54 | [] | no_license | Armida220/MyEarth | cafa24cfb6f0eda6b3e68948e60af54a2242eaad | 6e8826fbcedff45e119009e49d11179df7c0ec3f | refs/heads/master | 2020-03-18T08:52:49.390253 | 2018-05-22T14:11:27 | 2018-05-22T14:11:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,330 | cpp | /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
*
* This library is open source and may be redistributed and/or modified under
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
* (at your option) any later version. The full license is in LICENSE file
* included with ... | [
"2415630511@qq.com"
] | 2415630511@qq.com |
66781bc8b33df3580b0297db4372295f95b9b50e | 17d766a296cc6c72499bba01b82d58f7df747b64 | /GameWithMinutes.cpp | a6f8e453f6244738d220567b5a696c6f6cb1e230 | [] | no_license | Kullsno2/C-Cpp-Programs | 1dd7a57cf7e4c70831c5b36566605dc35abdeb67 | 2b81ddc67f22ada291e85bfc377e59e6833e48fb | refs/heads/master | 2021-01-22T21:45:41.214882 | 2015-11-15T11:15:46 | 2015-11-15T11:15:46 | 85,473,174 | 0 | 1 | null | 2017-03-19T12:12:00 | 2017-03-19T12:11:59 | null | UTF-8 | C++ | false | false | 338 | cpp | #include<iostream>
using namespace std;
int main(){
int h1=0,min1=0,h2=0,min2=0 ;
cin>>h1>>min1>>h2>>min2 ;
int hr, min ;
if(h2 > h1)
hr = h2-h1;
else
hr = (24 - h1) + h2;
if(min2 < min1){
hr--;
min = 60 - (min1 - min2);
}
else{
min = min2-min1;
}
cout<<"O JOGO DUROU "<<hr<<" HORA(S) E "<<min<<" ... | [
"nanduvinodan2@gmail.com"
] | nanduvinodan2@gmail.com |
8c7634f38b96ed110cdf477690784d56d6185ce7 | 8a51722273549c6ce246b898928ad2f75b81cfab | /ch10/braking.cc | 962295c66d9469f279efd136b1f358a94e95e774 | [] | no_license | bliutwo/cpp_crash_course | 7c19642d8dd333e8efbb51e52f0f4ebd84c7c5ad | d772272304b160e73538cd77fba3133c6e427f0b | refs/heads/master | 2022-07-10T13:43:23.227172 | 2020-05-20T09:29:42 | 2020-05-20T09:29:42 | 258,393,615 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 358 | cc | #include "braking.h"
int main() {
ServiceBus bus;
AutoBrake auto_brake{ [&bus] (const auto& cmd) {
bus.publish(cmd);
}
};
while (true) { // Service bus's event loop
auto_brake.observe(SpeedUpdate{ 10L });
auto_brake.observe(CarDetected... | [
"bliutwo@cs.stanford.edu"
] | bliutwo@cs.stanford.edu |
a3f1831f31b61a1aaab442593610b4346f5f8baf | d7d6441be63dfce06bf015cb4cb598fc48a07507 | /ch12/ex12_7.cpp | ad106b1ee3b733bd38f86323c921570f23f646dc | [] | no_license | DestinyOMGwz/Cpp-Primer | 5bcf2483be0fdce33cd6044aa311f1ee4e64a882 | 20a57900f5c26d003e758383c2bd303784b66477 | refs/heads/master | 2020-03-31T00:36:31.949535 | 2015-03-30T14:44:13 | 2015-03-30T14:44:13 | 32,645,515 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 787 | cpp | //
// ex12_7.cpp
// Exercise 12.7
//
// Created by DestinyOMGwz on 3/23/15
// Copyright (c) 2015 DestinyOMGwz. All rights reserved.
//
// Redo the previous exercise, this time using shared_ptr.
#include <memory>
#include <vector>
#include <iostream>
std::shared_ptr<std::vector<int>> dynamicVector(const std::initial... | [
"destinyomgwz@gmail.com"
] | destinyomgwz@gmail.com |
708a927efd0328316d13de2f67e288353a5e972c | 65e3391b6afbef10ec9429ca4b43a26b5cf480af | /HLT/createGRP/lib/AliHLTCreateGRP.h | e2c090ad05168a77a243a7fa6267d6c3129c798a | [
"GPL-1.0-or-later"
] | permissive | alisw/AliRoot | c0976f7105ae1e3d107dfe93578f819473b2b83f | d3f86386afbaac9f8b8658da6710eed2bdee977f | refs/heads/master | 2023-08-03T11:15:54.211198 | 2023-07-28T12:39:57 | 2023-07-28T12:39:57 | 53,312,169 | 61 | 299 | BSD-3-Clause | 2023-07-28T13:19:50 | 2016-03-07T09:20:12 | C++ | UTF-8 | C++ | false | false | 1,763 | h | #ifndef ALI_HLT_CREATE_GRP_H
#define ALI_HLT_CREATE_GRP_H
// **************************************************************************
// This file is property of and copyright by the ALICE HLT Project *
// ALICE Experiment at CERN, All rights reserved. *
// ... | [
"drohr@cern.ch"
] | drohr@cern.ch |
0afcdfa6c3c0a40d21d6dc2e3d36ee908b8d1422 | 824e587893084b194d7f1b167cc8f462c894f616 | /src/water.cpp | 1794cb173897f01e64a53f04de90fd93f2cae51d | [] | no_license | natsuset/World-of-Balls | 79afe7bbf230fd841058158db1079e319f992ad7 | e3fa3709c70cd9cb8c39ab974430320d49d81f1f | refs/heads/master | 2021-06-04T05:28:56.413978 | 2021-01-29T11:29:09 | 2021-01-29T11:29:09 | 148,488,065 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,605 | cpp | #include "water.h"
#include "main.h"
#include "ball.h"
#define PI 3.1415926535898
Water::Water(float x, float y, color_t color) {
this->position = glm::vec3(x, y, 0);
this->rotation = 0;
speed = 0;
allDown = 0;
allLeft = 0;
allRight = 0;
allTop = 0;
this->speed_x = 0.05;
GLfloat g... | [
"sowrya1682@gmail.com"
] | sowrya1682@gmail.com |
721adf2eca1486cf55d591be0f075056ac55c09f | dd1a4ca7020ba5cac93d90829798a3a6f80d33a1 | /others/water/luogu1441.cpp | 6a3bb7b413778af97ce0b132392fc250cefd9a7b | [] | no_license | Exbilar/Source | a0f85b8b47840a4212fd4a9f713f978cab13e9a3 | b8bc0dc52e51f6c4986bd0f37de61b13d98e6e8c | refs/heads/master | 2022-05-03T22:35:57.300520 | 2022-03-14T09:03:03 | 2022-03-14T09:03:03 | 97,890,246 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 738 | cpp | #include <cstdio>
#include <cstring>
#include <algorithm>
using std :: max;
using std :: min;
static const int maxm = 1e4 + 10;
int A[maxm],f[maxm],vis[maxm];
int n,m,cnt,ans,M;
void calc(){
int res = 0;
for(int i = 0;i <= M;i++) f[i] = 0;
f[0] = 1;
for(int i = 1;i <= n;i++){
if(vis[i]) continue;
for(int ... | [
"exbilar@gmail.com"
] | exbilar@gmail.com |
1623c72537e894d50da1491c75282baeb76b2d00 | e9f6461fea7045bb07fc2be09ae1a9ec609b50f0 | /光电所/include/Utility/SmartHandle.hpp | 0911250055560ab3947eebd52f6cceafe7d8d5ac | [] | no_license | cash2one/important-files | bd1a88ea30e3ff16b4fbba6b4939ab6b13f5a6c8 | 12aebeae6322fafb89869ab15eac588420cbb004 | refs/heads/master | 2021-01-15T23:20:54.484632 | 2012-09-19T04:21:08 | 2012-09-19T04:21:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,513 | hpp | #ifndef __SMART_POINTER_SMART_HANDLE_HPP
#define __SMART_POINTER_SMART_HANDLE_HPP
#include <Windows.h>
#include <Winsvc.h>
#include <type_traits>
#include <memory>
#include <cassert>
namespace utility
{
// Release algorithms (release policies)
template<typename T, typename PointedBy>
struct ... | [
"chenyu2202863@gmail.com@38044a6e-7afd-79ad-2151-d0cf963d283a"
] | chenyu2202863@gmail.com@38044a6e-7afd-79ad-2151-d0cf963d283a |
d4fe026a95d531562d1761cea7a670f8cb09a1e1 | b94bfc13c1e593bf7393ed6adbcd630cc6692b7a | /wfmaxplugins/max2lev/main.cc | 4468fbca9b7ce3b75b33d0e5b4103b7a766c4143 | [] | no_license | WorldFoundry/WorldFoundry | 341cd45695ab112a92cefd4ade692734e55695b4 | 5c507edddb84d2b27b7c248fb8aa79c2fdc7ce22 | refs/heads/master | 2021-01-25T07:27:49.731410 | 2010-05-06T19:14:28 | 2010-05-06T19:14:28 | 641,648 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,351 | cc | ///////////////////////////////////////////////////////////////////////////////
// //
// main.cc World Foundry
// //
///////////////////////////////////////////////////////////////////////////////
#include "global.hpp"
#include "max2lev.hpp" // C++ header file
#include "max2lev.h"... | [
"wbnorris@gmail.com"
] | wbnorris@gmail.com |
a00289785c021692ac0fa42c74a6b0e03d8be3b8 | aecd7ea7fecd3da5f940c38f15f85c3eb87e7ae3 | /src/PageManager.cpp | 12416f462684078105e4bf0a42e75c7023601123 | [] | no_license | ExecutionHY/Qverwatch | 5bc8f304213244c17524b5dd94a839d9abac2f79 | 51ed34426a45b378fe9e2a7ef033ca660df4de2e | refs/heads/master | 2021-06-13T01:27:49.547988 | 2017-01-09T21:11:58 | 2017-01-09T21:11:58 | 76,510,813 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 12,363 | cpp | //
// PageManager.cpp
// OpenGL
//
// Created by Execution on 06/01/2017.
// Copyright © 2017 Execution. All rights reserved.
//
#include "PageManager.hpp"
GLFWwindow* window; // 1920 x 1080
int windowWidth = 800;
int windowHeight = 600;
GLuint DepthTexture;
GLuint DepthFrameBuffer;
GLuint quad_vertexbuffer;
GL... | [
"executionhy@gmail.com"
] | executionhy@gmail.com |
50ddf9804a3dbf97fe4b5b94d3572e5a74ecc467 | 8ac522d6d19225ee863a71d124451cf437d662b7 | /vseros/2018/lvl1/5/simple.cpp | c69d20d6a09572c9366896f5b0a9c163cdeb7d68 | [] | no_license | Soberjan/Study | 86490ba6fa918e977b9a0514a2604ea055167c3a | 35ab609290f65fdf144cf2183752b38527f40f16 | refs/heads/master | 2020-03-28T17:33:10.175534 | 2020-01-22T17:06:14 | 2020-01-22T17:06:14 | 148,800,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,034 | cpp | #include <iostream>
using namespace std;
string s;
int main()
{
//8freopen("tests/00", "r", stdin);
cin >> s;
int d[4] = {0};
for (int i = 0, p = 0; i < (int)s.size(); i++)
if (s[i] == 'N'){
string s1(s.begin() + p, s.begin() + i);
d[0] += stoi(s1);
p = i + ... | [
"operations.rannsoknir@gmail.com"
] | operations.rannsoknir@gmail.com |
39c341b05bfadcbb550287481098215077def7ec | 52507f7928ba44b7266eddf0f1a9bf6fae7322a4 | /SDK/BP_LeatherColor32_classes.h | 2ef5bb3709ed8f1587ba45f049935121db96a890 | [] | no_license | LuaFan2/mordhau-sdk | 7268c9c65745b7af511429cfd3bf16aa109bc20c | ab10ad70bc80512e51a0319c2f9b5effddd47249 | refs/heads/master | 2022-11-30T08:14:30.825803 | 2020-08-13T16:31:27 | 2020-08-13T16:31:27 | 287,329,560 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 641 | h | #pragma once
// Name: Mordhau, Version: 1.0.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass BP_LeatherCo... | [
"51294434+LuaFan2@users.noreply.github.com"
] | 51294434+LuaFan2@users.noreply.github.com |
357481774726713e8537c07b9a186e3568dc6fbf | 25796199906079f453a557a5cf73056eef5f9f84 | /algoritma_pemrograman_2/contoh2.cpp | 8c52cfdbbe7b1a3f12bcc5ea43047c1c07addf47 | [] | no_license | cessyzulma/learning_programming_c | 78ca7588c17194c41cf02a8e5d545ed39ec07e5b | aa3a6cccabeaf972722a214c148b7d390a04be76 | refs/heads/master | 2021-05-21T00:39:08.489037 | 2021-04-13T06:44:37 | 2021-04-13T06:44:37 | 252,472,090 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 141 | cpp | #include <stdio.h>
int main ()
{
int i,j;
int*p;
p=&i;
j=i;
printf ("Nurul Cessy \n");
printf ( "%d %d %d \n" , i,j,*p );
}
| [
"nshinhyezulma@gmail.com"
] | nshinhyezulma@gmail.com |
9633e07a58eea79a7f5503ae2501050bdf11b1dd | 8c53f6783056563d0070c830b1facfa69d565d3c | /src/helper.h | 2249e992d7334d48131a3e9558934de464246ed0 | [] | no_license | Shukla-san1/CarND-Path-Planning-Project | 9cef7586109aa1068dd2f478fd43dccf3edf607c | dd6c8a61add96d54dda3fbb6a58f705cf98d5a17 | refs/heads/master | 2021-07-08T15:34:24.231508 | 2017-10-08T05:06:22 | 2017-10-08T05:06:22 | 104,466,064 | 0 | 0 | null | 2017-09-22T11:14:56 | 2017-09-22T11:14:56 | null | UTF-8 | C++ | false | false | 882 | h | #ifndef helper_H
#define helper_H
#include <iostream>
#include <chrono>
#include <iostream>
#include <thread>
#include <vector>
#include <fstream>
#include <math.h>
using namespace std;
//using std::vector;
class helper
{
public:
double pi();
double deg2rad(double x);
double rad2deg(double x);
string hasDa... | [
"sshukla@nvidia.com"
] | sshukla@nvidia.com |
4476186cd45cb2a9cf95e81d40d8044ba084f62a | 4966b3b6600596681af0d7506a2c0914b296abae | /SceneEngine/ExecuteScene.h | ff2329cdcbf20603a2129490bc8ff909a8e9dba5 | [
"MIT"
] | permissive | djewsbury/XLE | 4200c797e823e683cebb516958ebee5f45a02bf0 | f7f63de2c620ed5d0b1292486eb894016932b74b | refs/heads/master | 2023-07-03T14:26:38.517034 | 2023-06-30T03:22:03 | 2023-06-30T03:22:03 | 32,975,591 | 13 | 6 | null | 2015-03-27T08:35:02 | 2015-03-27T08:35:02 | null | UTF-8 | C++ | false | false | 2,236 | h | // Distributed under the MIT License (See
// accompanying file "LICENSE" or the website
// http://www.opensource.org/licenses/mit-license.php)
#pragma once
#include "IScene.h"
#include <memory>
namespace RenderCore { namespace Techniques
{
class IPipelineAcceleratorPool;
class ParsingContext;
class Sequencer... | [
"djewsbury@gmail.com"
] | djewsbury@gmail.com |
5f7383d7fdcfbd95280932afaa4fb99d9395a505 | 74727f5b184e5c6cffcdffa0aede031158d4b6d5 | /myArrayExample/src/main.cpp | 8b6e1bb9285fcfdac2cbaba46091239dda927270 | [] | no_license | ofZach/risdCode | 96e0263394dd5da5458c7056db33361a2ce0bed9 | f2c94d619aff3964bc7733fcdb8eaa1e75edcf8b | refs/heads/master | 2021-01-19T23:47:21.366555 | 2017-04-22T17:50:44 | 2017-04-22T17:50:44 | 89,027,511 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 341 | cpp | #include "ofMain.h"
#include "ofApp.h"
//========================================================================
int main( ){
ofSetupOpenGL(1000,100,OF_WINDOW); // <-------- setup the GL context
// this kicks off the running of my app
// can be OF_WINDOW or OF_FULLSCREEN
// pass in width and height too:
ofRun... | [
"zach@yesyesno.com"
] | zach@yesyesno.com |
dc5b32aa1c622664fd235576a2657279187eab79 | 123fc737f01a88e58c6eb3ca7ad0e51e867ff434 | /beyondWhittle/inst/testfiles/cube_from_NumericVector/cube_from_NumericVector_DeepState_TestHarness.cpp | 8ced879c48eb1f11383a74a75e1fa645a875a4f0 | [] | no_license | akhikolla/ClusterTests | e12e5486fc1a80609a956fcb7f432b47e8174b0f | 1c7702ba4035511ffe7d4dd27e9021b6962718fe | refs/heads/master | 2022-12-10T13:00:09.654663 | 2020-09-14T19:12:37 | 2020-09-14T19:12:37 | 295,513,576 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 786 | cpp | #include <fstream>
#include <RInside.h>
#include <iostream>
#include <RcppDeepState.h>
#include <DeepState.hpp>
arma::cube cube_from_NumericVector(NumericVector x);
TEST(beyondWhittle_deepstate_test,cube_from_NumericVector_test){
std::ofstream x_stream;
RInside();
std::cout << "input starts" << std::endl;
Num... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
a5a5132ef7cdbcf580cb1b8b089cd835bb5af023 | 0d066fcbadcdca1aaf5fa14f44b98d835a92a2b8 | /src/tests/compiler_tests/EXT_clip_cull_distance_test.cpp | 2bb992e875337f5be0f74aae606abb204bbffe88 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | pkucherov/angle | 0dedae8a924913410f003d69bc699e88ffdfeb60 | ac05066a00a9c7fecbe3c0fe4bf71c3994c8c200 | refs/heads/master | 2022-10-25T19:21:11.160354 | 2021-01-11T07:02:16 | 2021-01-11T08:57:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,285 | cpp | //
// Copyright 2020 The ANGLE 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.
//
// EXT_clip_cull_distance_test.cpp:
// Test for EXT_clip_cull_distance
//
#include "tests/test_utils/ShaderExtensionTest.h"
namespace
{
cons... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
0c927b320264c5c5e0c35aec61aad151450e1c72 | 913039393ef26139ac8d3428be991a45daa00977 | /moses/src/RuleTable/PhraseDictionaryNodeSCFG.h | a9b70ca6d6136c042bdafdecb3e1c6b99699d957 | [] | no_license | braunefe/minSpanMoses | 035e8b6f0060e8288f213c07c4cf555f2799389f | acd10ff6225b5bd79c191927d4a1e2bdf216caa4 | refs/heads/master | 2016-09-07T18:39:42.543976 | 2012-05-28T16:27:51 | 2012-05-28T16:27:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,000 | h | // vim:tabstop=2
/***********************************************************************
Moses - factored phrase-based language decoder
Copyright (C) 2006 University of Edinburgh
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as publis... | [
"braune-fabienne@gmail.com"
] | braune-fabienne@gmail.com |
0a122c07d304ff60df9706bd719300ef2bab9c65 | 210c04b58983b307e8177a014d6dc6617da1f7a8 | /sec2/ps2/reference_calc.cpp | 5c290e4b68a27c384010310b7ff47f16e5ad539a | [] | no_license | cxrasdfg/intro_cuda | 4902911bb95e2faecf7fcad15e0d670edcaec488 | 37c12bdb25c3d23b8154691e6705cdb8e7eb7b8d | refs/heads/master | 2020-04-08T21:31:28.454593 | 2018-12-25T12:19:57 | 2018-12-25T12:19:57 | 159,747,546 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,943 | cpp | #include <cmath>
#include <cassert>
using std::max;
using std::min;
void channelConvolution(const unsigned char* const channel,
unsigned char* const channelBlurred,
const size_t numRows, const size_t numCols,
const float *filter, const int filterWi... | [
"734331254@qq.com"
] | 734331254@qq.com |
265581deeb3e753ad94349d40ff8e9e56405d4fc | cbaf03b608f2410abfac46354f069436fdf5fa73 | /src/devices/board/drivers/nelson/nelson-i2c.cc | a57889efa86f4a056f42d0d3a83e858d762a1dc8 | [
"BSD-2-Clause"
] | permissive | carbonatedcaffeine/zircon-rpi | d58f302bcd0bee9394c306133fd3b20156343844 | b09b1eb3aa7a127c65568229fe10edd251869283 | refs/heads/master | 2023-03-01T19:42:04.300854 | 2021-02-13T02:24:09 | 2021-02-13T02:24:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,118 | 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 <ddk/debug.h>
#include <ddk/device.h>
#include <ddk/metadata.h>
#include <ddk/metadata/i2c.h>
#include <ddk/platform-defs.h>
#include <soc/aml-s90... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
caac769d98ed0cfcbdc5ba2ef2280f6f5a1a86f1 | 3ed697c4f06c970250ae088f359eea45820b356b | /Transparency/Test/Lighting.cpp | 12bebc019637376e61b591eb5ad6405b0c292968 | [] | no_license | CG-AccelWorld/Graphics | 21aa11dfcf5c5c57b44ed21ea703f7876b4d02fe | 4d989a2665cf2bc9209fb27740bc1c42b4d6a127 | refs/heads/master | 2022-02-01T22:32:11.800319 | 2019-06-23T09:08:55 | 2019-06-23T09:08:55 | 179,039,525 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,005 | cpp | #include "StdAfx.h"
#include "Lighting.h"
#include "math.h"
#define PI 3.14159265
#define MIN(a,b) ((a<b)?(a):(b))
#define MAX(a,b) ((a>b)?(a):(b))
CLighting::CLighting(void)
{
Number = 1;
LightSource = new CLightSource[Number];
Ambient = CRGBA(0.3, 0.3, 0.3);//环境光是常数
}
CLighting::~CLighting(void)
{
if (Lig... | [
"879112726@qq.com"
] | 879112726@qq.com |
e10eb2b54af30de1516c385a2a4b7aede94968ae | dd6147bf9433298a64bbceb7fdccaa4cc477fba6 | /7304/Davydov_A_A/Lab5/logs.cpp | d0d24fe5f4e62ff6a8c30ee849be0e310b306a4d | [] | no_license | moevm/oop | 64a89677879341a3e8e91ba6d719ab598dcabb49 | faffa7e14003b13c658ccf8853d6189b51ee30e6 | refs/heads/master | 2023-03-16T15:48:35.226647 | 2020-06-08T16:16:31 | 2020-06-08T16:16:31 | 85,785,460 | 42 | 304 | null | 2023-03-06T23:46:08 | 2017-03-22T04:37:01 | C++ | UTF-8 | C++ | false | false | 525 | cpp | #include "logs.h"
int SIZE = 1000;
Logs::~Logs() {}
FileLog::FileLog(QString filename) : filename(filename){}
void FileLog::log_data(QString data)
{
std::ofstream f(filename.toStdString(), std::ios::binary|std::ios::app);
f << data.toStdString();
f.close();
}
CacheLog::CacheLog(FileLog &... | [
"casha_davydov@mail.ru"
] | casha_davydov@mail.ru |
0b01b1e6222cac5f15de131b704e26c452d58e19 | 6197740e6297da2f3d0c8ffd2a1d7ef5d8b3d2cb | /DotNet/VC++2010/Solutions/Ch20/Soln20_01/Soln20_01/stdafx.cpp | b0cf79b4b46b9fa797ab9337a216c8131e489a4d | [] | no_license | ssh352/cppcode | 1159d4137b68ada253678718b3d416639d3849ba | 5b7c28963286295dfc9af087bed51ac35cd79ce6 | refs/heads/master | 2020-11-24T18:07:17.587795 | 2016-07-15T13:13:05 | 2016-07-15T13:13:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 211 | cpp |
// stdafx.cpp : source file that includes just the standard includes
// Soln20_01.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
| [
"qq410029478@ff87cf93-6e24-4a51-a1f1-68835326ac4f"
] | qq410029478@ff87cf93-6e24-4a51-a1f1-68835326ac4f |
b02d05a711f5e4f7155e79bab762d4a1bc68b46d | fda134cfb6771f14439d783d7d1f3d30a3a4d584 | /Ethereal/Private/Characters/Enemy/Standard/SoulEater.cpp | ca992c6c91ee0698738422699fb6f76ae4c983d0 | [
"Apache-2.0"
] | permissive | Soleyu/EtherealLegends | b01562b7bfd48ed025faa2ba43947b5bfb9e3b2a | 69c6107dba3b4c3598d72f7cee9f6a68aa71cd34 | refs/heads/master | 2021-01-23T20:38:44.073943 | 2017-04-25T22:10:53 | 2017-04-25T22:10:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,786 | cpp | // © 2014 - 2017 Soverance Studios
// http://www.soverance.com
// 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 b... | [
"scott.mccutchen@soverance.com"
] | scott.mccutchen@soverance.com |
006143cb9397b0872d45d688022720ac9c38acb5 | 9bb74614947e4f4e407b88908e45dd6d9b1e69ab | /globalevent.cpp | 1dc3157ff4e5ac9bb704748a42c771a9ea050513 | [] | no_license | Ayato96/darkkonia | 103cbba9babf0a88000ad8e50660569f70900c47 | 6082b24536691e52708e030d19fe9f9c0b54f8dc | refs/heads/master | 2020-04-18T19:30:39.182942 | 2010-02-13T18:52:24 | 2010-02-13T18:52:24 | 167,713,532 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,399 | cpp | ////////////////////////////////////////////////////////////////////////
// OpenTibia - an opensource roleplaying game
////////////////////////////////////////////////////////////////////////
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License ... | [
"MartyX@fa47c1b4-18cb-11df-85bb-b9a83fee2cb1"
] | MartyX@fa47c1b4-18cb-11df-85bb-b9a83fee2cb1 |
6adf731b5cc40b2647f116686ca823ef0bae336d | ee704c87559f6ed95b02265e04eeadc431a4e3a7 | /src/qt/optionsmodel.h | 55fe9f879692e62dfae0c1cc6c5ed0ba6eee9f09 | [
"MIT"
] | permissive | InternetCafeCoin/ICC-CORE-OLD | 02797a94c35bfb26367051b83ab8124e8f09a136 | b63046643b40db1abd623a03a8f921ec306b1190 | refs/heads/master | 2020-06-05T00:54:20.256839 | 2019-06-17T02:01:59 | 2019-06-17T02:01:59 | 192,258,054 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,229 | h | // Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_OPTIONSMODEL_H
#define BITCOIN_QT_OPTIONSMODEL_H
#include "amount.h"
#include <QAbstractListModel>
QT_BE... | [
"iccforworld@gmail.com"
] | iccforworld@gmail.com |
6cedd75fada95d17ac5dc50ac88504a13a8a724a | daacd479a7ad189b8476c4a57b815f4719c0c0d3 | /src/ProgramObject.cc | 030ea66b8cce845d3eaf2d3e4a82e575b71eaa59 | [
"MIT"
] | permissive | krux02/sdl2-cpp-project-template | d41468d31a608c139bb7b51689215aa3a893ea79 | ae3f31480cd0f154a388e029b5f0c2e580be33ba | refs/heads/master | 2016-09-06T19:49:26.070647 | 2015-05-09T00:23:43 | 2015-05-09T00:23:43 | 24,334,186 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,957 | cc | #include "ProgramObject.hh"
#include <iostream>
using std::cerr;
using std::endl;
void ProgramObject::Quit() {
state = ProgramState::Quit;
}
bool ProgramObject::ProcessEvent(const SDL_Event &event) {
switch (event.type) {
case SDL_QUIT:
Quit();
return true;
case SDL_KEYDOWN:
i... | [
"arne.doering@gmx.net"
] | arne.doering@gmx.net |
1c18ddff997539dd9976589686879592af83d605 | 54ffb3747c9b4adf3d5de434835554ee71eca1d0 | /Computer_Room_Reservation_system/Computer_Room_Reservation_system/identity.h | 80a1083307deaf9a9bd74f7c4d53b2b1eced3ca4 | [] | no_license | LAND-CRUISERSYH/Cpp | b4dee08f9a2702468e0f2aa51820918c0f14b86e | a8dd0db59552814897d6a2bf79538877c730fea7 | refs/heads/master | 2023-01-22T14:08:08.907158 | 2020-12-02T10:45:30 | 2020-12-02T10:45:30 | 288,696,926 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 266 | h | #pragma once //防止头文件重复包含
#include<iostream>
using namespace std;
//身份抽象基类
class Identity
{
public:
virtual void Menu() = 0; //操作菜单 纯虚函数
string m_Name; //用户名
string m_pwd; //密码
}; | [
"1354843647@qq.com"
] | 1354843647@qq.com |
4e05f863b15d988d4675cb3081a81185958e0393 | 802a8f80cefc39644979cf2038356f63de866398 | /Server Lib/Projeto IOCP/PANGYA_DB/cmd_rate_config_info.hpp | d23d25543bc25a3bbd3b38386c4b2865f323d3ab | [
"MIT"
] | permissive | Acrisio-Filho/SuperSS-Dev | 3a3b78e15e0ec8edc9aae0ca1a632eb02be5d19c | 9b1bdd4a2536ec13de50b11e6feb63e5c351559b | refs/heads/master | 2023-08-03T13:00:07.280725 | 2023-07-05T00:24:18 | 2023-07-05T00:24:18 | 418,925,124 | 32 | 30 | MIT | 2022-11-03T23:15:37 | 2021-10-19T12:58:05 | C++ | UTF-8 | C++ | false | false | 1,304 | hpp | // Aquivo cmd_rate_config_info.hpp
// Criado em 09/05/2019 as 18:39 por Acrisio
// Definição da classe CmdRateConfigInfo
#pragma once
#ifndef _STDA_CMD_RATE_CONFIG_INFO_HPP
#define _STDA_CMD_RATE_CONFIG_INFO_HPP
#include "../../Projeto IOCP/PANGYA_DB/pangya_db.h"
#include "../../Projeto IOCP/TYPE/pangya_st.h"
namesp... | [
"acrisio_299@hotmail.com"
] | acrisio_299@hotmail.com |
66e377b2727822ad956d7dc9de221b6deb96ab6c | 2f424a53777376da2280308402c78f9e00878552 | /src/qt/bitcoinunits.cpp | 7539e7cad7d7d5b7ffe02e9d452b0ff646cf788f | [
"MIT"
] | permissive | mammix2/boostcoin-legacy | 6514d77e012097e92a2ad98d4f6c57d67fabd2e1 | 7b1b63f6941306c23b8784fa964ead72b4050146 | refs/heads/master | 2020-03-28T03:20:13.403062 | 2014-05-31T15:46:13 | 2014-05-31T15:46:13 | 147,638,131 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,288 | cpp | #include "bitcoinunits.h"
#include <QStringList>
BitcoinUnits::BitcoinUnits(QObject *parent):
QAbstractListModel(parent),
unitlist(availableUnits())
{
}
QList<BitcoinUnits::Unit> BitcoinUnits::availableUnits()
{
QList<BitcoinUnits::Unit> unitlist;
unitlist.append(BTC);
unitlist.append(mBT... | [
"matt@ffptechnologies.co.uk"
] | matt@ffptechnologies.co.uk |
7b1faa39348cfcb8732c7e83366758db75ec006c | 767a49334113d375f96049f99e940123b4a712fd | /DevSkill_CP/Intermediate/Batch 5/Class 25/Ugly.cpp | ca5bae18a9feb11480039687a7c6815bde0934b9 | [] | no_license | Sadman007/DevSkill-Programming-Course---Basic---Public-CodeBank | 9f4effbbea048f4a6919b699bc0fb1b9a0d5fef7 | d831620c44f826c3c89ca18ff95fb81ea2a2cc40 | refs/heads/master | 2023-09-01T03:44:37.609267 | 2023-08-18T19:45:41 | 2023-08-18T19:45:41 | 173,104,184 | 83 | 64 | null | null | null | null | UTF-8 | C++ | false | false | 546 | cpp | #include <bits/stdc++.h>
using namespace std;
#define MAX 1000000000000000000LL
#define ll long long
#define MOD 1000000007
#define sc(n) scanf("%d",&n)
#define pr(n) printf("%d\n",n)
#define NL puts("")
vector<ll>ugly;
unordered_map<ll,int>dp;
void gen(ll N)
{
if(N > MAX) return;
if(dp.find(N)!=dp.end()) re... | [
"sakib.csedu21@gmail.com"
] | sakib.csedu21@gmail.com |
9c8b9a80da51d43cc8d62fbb128df4b25982363b | ad3bc509c4f61424492b2949e03c60628f631a31 | /examples/c/eof/05_generic_api_eof_rule.re | 6ca7da8dc7b6d3798ec9fe47f9d23af760139437 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | sergeyklay/re2c | 0b1cdbfe40b4514be33320b2e1d263cf5d6426d6 | 88ff1e5a2ad57d424fe999e17960c564886d36f4 | refs/heads/master | 2021-12-23T22:24:30.716697 | 2021-06-26T22:56:00 | 2021-06-27T15:23:28 | 299,206,360 | 0 | 0 | NOASSERTION | 2021-06-19T10:49:05 | 2020-09-28T06:10:35 | C | UTF-8 | C++ | false | false | 1,274 | re | // re2c $INPUT -o $OUTPUT
#include <assert.h>
#include <stdlib.h>
#include <string.h>
// expect a string without terminating null
static int lex(const char *str, unsigned int len)
{
const char *cur = str, *lim = str + len, *mar;
int count = 0;
loop:
/*!re2c
re2c:yyfill:enable = 0;
re2c:eof = 0;
... | [
"skvadrik@gmail.com"
] | skvadrik@gmail.com |
f21911d5d74b022788bdd5b1daa6812da18507e5 | 6d763845a081a6c5c372a304c3bae1ccd949e6fa | /day05/ex00/Bureaucrat.hpp | 17ccc6ea9d1ba3aa8527b9158de8429d400a6fc8 | [] | no_license | hmiso/CPP_modules | cc5539764b10d9005aea0ccdf894c0fd2562a649 | e0608a810ef6bbb7cb29461721f6248e0c3b88eb | refs/heads/master | 2023-02-28T09:12:49.284788 | 2021-02-06T14:40:33 | 2021-02-06T14:40:33 | 322,648,779 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,568 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Bureaucrat.hpp :+: :+: :+: ... | [
"mia@itgrn.ru"
] | mia@itgrn.ru |
817408bc8a5ee51c80af6432b69b8c7fc818593e | a8b15b84c8d71260d834cf8276b3e76e083c6b66 | /DrClientLib(不检http头)/DrClientSrc/DrCOMSocket.cpp | aa81df571deab46fdf4e37b7bfa93db5b2639037 | [] | no_license | KingsleyYau/MobileClient | c6ed3801e66dabd75a6164064c54cadae5ad1787 | be755e254e4d834396f8b0fb8bc1bddb64156f63 | refs/heads/master | 2021-01-23T14:48:14.053326 | 2014-01-17T15:46:55 | 2014-01-17T15:46:55 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 18,420 | cpp | /*
* File : DrCOMSocket.cpp
* Date : 2011-07-11
* Author : Keqin Su
* Copyright : City Hotspot Co., Ltd.
* Description : DrCOM socket
*/
#include "DrClientInclude.h"
#if (!defined(_WIN32) && !defined(_WIN32_WCE) && !defined(_WIN32_WP8))//ISNOTWINDOWSENVIROMENT
#include <unistd... | [
"Kingsleyyau@gmail.com"
] | Kingsleyyau@gmail.com |
c001db2e8874bc260e346d621896ee7f1b1300fd | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/rtorrent/gumtree/rtorrent_old_hunk_38.cpp | ac4b18ec6ef9552dbaf872cc38c39a33898c99ca | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 508 | cpp |
if (torrent::get_read_throttle() == 0)
pos = snprintf(buf + pos, 128 - pos, "off");
else
pos = snprintf(buf + pos, 128 - pos, "%-3i", torrent::get_read_throttle() / 1024);
m_canvas->print(0, 0, "Throttle U/D: %s Listen: %s:%i%s Handshakes: %i",
buf,
!torrent::get_ip().empty() ? torrent::get_ip... | [
"993273596@qq.com"
] | 993273596@qq.com |
f3ecb141cb3503de0ad5a41cf28551a794ac7558 | 90c9dc885340e28c421f129396a593b9b60e0ce1 | /src/GAME/zFMV.cpp | a45b92484e104eead75ad878c6de351d694bf1f6 | [] | no_license | Gota7/incredibles | 3b493718fb1a1145371811966a2024b5c8fec39f | 14dd4a94edbe84c30482a8e873b5c8e9f48d1535 | refs/heads/main | 2023-06-16T12:38:46.252815 | 2021-07-10T07:59:53 | 2021-07-10T07:59:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,314 | cpp | #include "zFMV.h"
#include "zGlobals.h"
#include "zMenu.h"
#include "../Core/x/xSubTitles.h"
#include "../Core/x/xSndMgr.h"
#include "../Core/p2/iFMV.h"
#include "../Core/x/xPad.h"
// clang-format off
static zFMVFile zFMVFileTable[] =
{
eFMVFile_NoMovie, "", 0,
eFMVFile_PixarLOGO, "FMV\\Pixar", 0,
eFMVFil... | [
"32021834+seilweiss@users.noreply.github.com"
] | 32021834+seilweiss@users.noreply.github.com |
2fb62a8b92cd347c875d1d8da056cf2ff31befb9 | bc60aa0d1f865d712dfac1893c84f08e71957387 | /src/main.h | ced81a085cdb7827782008e4ecd3de164897db5d | [
"MIT"
] | permissive | x314network/x314-source | 83e86bda7ccf458fc1e2b468e77431ac835a8952 | c1fc4c2d8b4fdca68e66217bc0e688143c0770f5 | refs/heads/master | 2021-08-30T22:53:00.226220 | 2017-12-19T18:23:29 | 2017-12-19T18:23:29 | 114,797,730 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 45,213 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_MAIN_H
#define BITCOIN_MAIN_H
#include "bignum.h"
#include "sync.h... | [
"hello@x314.network"
] | hello@x314.network |
485160210ab739d860f84dd1a764d25dec6b386b | 9c0c785a565d71fbc00341cbf5de02870cf4184b | /codes - ac/Gym/101653O/19559377_AC_30ms_176kB.cpp | 761fef96c555117a4cd99d511715c86b49682dda | [] | no_license | NUC-NCE/algorithm-codes | bd833b4c7b8299704163feffc31dc37e832a6e00 | cbe9f78a0b921f5bf433f27587e7eeb944f7eb37 | refs/heads/master | 2020-06-28T05:14:48.180851 | 2019-08-02T02:40:51 | 2019-08-02T02:40:51 | 200,150,460 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 671 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
struct node{
double x,y;
bool operator>(const node &a)const{
return x>a.x&&y<a.y;
}
node(){}
}nd[250];
int dp[250];
int main()
{
int t;
cin>>t;
while(t--){
memset(dp,0,sizeof(dp));
int n;
cin... | [
"Nce0506@outlook.com"
] | Nce0506@outlook.com |
fb71e3a0ac30b938a0fdb411273f29104f972a66 | b96546571289a5096dbb6093107e618d5aef49d3 | /CS3388_Assignment4-raytracer/RGB.h | 250e13d9d9ba52656ecfa5484d8a741907f0f555 | [] | no_license | jstol/CS3388_Assignment4-raytracer | e790785d65a9ffcc0596e60a218ce01147a67467 | 8c283e42cb274ced44a10cb03f9546b8db6e43b6 | refs/heads/master | 2020-04-11T05:29:19.924217 | 2013-12-08T03:28:55 | 2013-12-08T03:28:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 642 | h | //
// RGB.h
// CS3388_Assignment4-raytracer
//
// This is a utility class for dealing with RGB colour values.
//
// Created by Jake on 2013-12-06.
//
#ifndef CS3388_Assignment4_raytracer_RGB_h
#define CS3388_Assignment4_raytracer_RGB_h
class RGB{
public:
double r;
double g;
double b;
RGB();
... | [
"jakestolee@gmail.com"
] | jakestolee@gmail.com |
acf3ab224db9c9a037df3c77624bd664bded1630 | 3f75457ea8a95802b67d1e917335390e2c32bf65 | /src/Compiler/Frontend/SLParser.h | 33ae4f7197949650c4c2f5b0bb7114816468318b | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | Jgoga/XShaderCompiler | 20488c8ec38e88d0ea028b5ce49e6bee5c4fd775 | 329cb1ca5838827715eafe8550ed12dd3278a917 | refs/heads/master | 2020-03-26T22:08:08.457938 | 2018-08-12T21:59:38 | 2018-08-12T21:59:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,975 | h | /*
* SLParser.h
*
* This file is part of the XShaderCompiler project (Copyright (c) 2014-2017 by Lukas Hermanns)
* See "LICENSE.txt" for license information.
*/
#ifndef XSC_SL_PARSER_H
#define XSC_SL_PARSER_H
#include "Parser.h"
#include "Visitor.h"
#include "Token.h"
#include "Variant.h"
#include <Xsc/Log.h>
... | [
"lukas.hermanns90@gmail.com"
] | lukas.hermanns90@gmail.com |
dc4038aa9e9e36a43565141a5c221a14b797ba05 | 6e7f9fe0dc8a5da6e80c78c240613abfa9c61b89 | /codechef/FEB16/CHEFDETE.cpp | e8d48963456755cce7030e460c49c23fc7158648 | [] | no_license | aufarg/competitive-programming | 131eaebb7efcb9a62765b9e72a996bb325e6ae90 | 5f7ab03f8b9158aeb1c1847f1d4d2cd87f5d49a4 | refs/heads/master | 2023-08-31T07:15:32.847738 | 2016-10-18T03:08:55 | 2016-10-18T03:08:55 | 36,449,343 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,778 | cpp | /* DELAPAN.3gp */
#include <vector>
#include <map>
#include <set>
#include <queue>
#include <deque>
#include <stack>
#include <algorithm>
#include <utility>
#include <numeric>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <cstdlib>
#include <cti... | [
"aufargilbran@gmail.com"
] | aufargilbran@gmail.com |
f6836ab5aba2fa6c745403eab047f8feef59b625 | 29a4c1e436bc90deaaf7711e468154597fc379b7 | /modules/boost_math/include/nt2/toolbox/boost_math/function/simd/vmx/altivec/tgamma1pm1.hpp | 35451c2ae6e108ac3b0c0c62c3b8b9bcd15b7425 | [
"BSL-1.0"
] | permissive | brycelelbach/nt2 | 31bdde2338ebcaa24bb76f542bd0778a620f8e7c | 73d7e8dd390fa4c8d251c6451acdae65def70e0b | refs/heads/master | 2021-01-17T12:41:35.021457 | 2011-04-03T17:37:15 | 2011-04-03T17:37:15 | 1,263,345 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 749 | hpp | //////////////////////////////////////////////////////////////////////////////
/// Copyright 2003 and onward LASMEA UMR 6602 CNRS/U.B.P Clermont-Ferrand
/// Copyright 2009 and onward LRI UMR 8623 CNRS/Univ Paris Sud XI
///
/// Distributed under the Boost Software License, Version 1.0
/// ... | [
"jtlapreste@gmail.com"
] | jtlapreste@gmail.com |
56e1289ace411a103a5c73e13ffa373c562c1e73 | d2d9b2098e73cd41dfee2a1d0a7bdcf89b7d400f | /src/rpcmisc.cpp | 4645e1d8db245e5c5cffd15504381554e61dd4d6 | [
"MIT"
] | permissive | phonecoin-PHON/PhoneCoinCore | ca02ba48c561d337723b754bfde671398a1de6f8 | c7de845fd6feb8390a75788799abc5a34c4fee5d | refs/heads/master | 2020-03-28T02:28:11.974392 | 2019-02-16T19:40:42 | 2019-02-16T19:40:42 | 147,572,400 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,236 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017-2018 The Bulwark developers
// Copyright (c) 2018-2019 The PhoneCoin Core developers
// Distributed under the MIT s... | [
"dev@phonecoin.space"
] | dev@phonecoin.space |
ae9f5ee783152781018636e835e0d64e6cb6acfd | 72b8ef207bdb32dd54d6c8e40dc32ec0316fc42c | /tests/lunasa/component/tb_lunasa_basic_allocations.cpp | cec79bdfbef7801cf53ca257d59deb5cdbcabb05 | [
"MIT"
] | permissive | JudithYi/faodel | 567156145b48c7300111f0f60d7564c2f27edf5d | 7dc8d2d1ec5bc5c6c107c05f046b8f0a2758c12a | refs/heads/master | 2023-02-24T08:08:56.001886 | 2021-01-25T17:04:31 | 2021-01-25T17:04:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,036 | cpp | // Copyright 2018 National Technology & Engineering Solutions of Sandia,
// LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS,
// the U.S. Government retains certain rights in this software.
#include "gtest/gtest.h"
#include <iostream>
#include <algorithm>
#include <pthread.h>
#include <sys/time.h>
... | [
"cdulmer@sandia.gov"
] | cdulmer@sandia.gov |
e6d34265b758f6a1999321472ce548b73a0c644a | e3ed6806fd48764d1600c157e97166e99bb83a10 | /LowLevelProgramming/LowLevelProgramming/Heap.h | 4d23c0a5d9e0981ff51cabef07353ae184e1a684 | [] | no_license | tomin83r/LowLevelGames | 63f314baf8652a75b02dd3b0f58e3a0bb0cb42fc | b5643de63a0541440c383b2da93eb25ee60ef0c7 | refs/heads/master | 2020-04-01T12:03:22.437567 | 2018-10-15T22:25:29 | 2018-10-15T22:25:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 345 | h | #pragma once
class Heap
{
public:
Heap(const char name);
Heap();
~Heap();
const char * GetName() const;
void AddAllocation(size_t size);
void RemoveAllocation(size_t size);
size_t TotalAllocation() { return m_allocatedBytes; }
void * operator new (size_t size, Heap * pHeap);
private:
char m_Name[8];
size_t ... | [
"i012997f@student.staffs.ac.uk"
] | i012997f@student.staffs.ac.uk |
38147fb74d4997cd2f43b1555dc56e974e13ed76 | 9a16257581955415465ebeea66d1dc61f943ce7e | /MyProject/MyProject.cpp | ba4fc1ee7d174c5112fc83fe0e0d16562a94d52a | [] | no_license | ricolynx/myProject | c1372c8f580309928f542a173c11be9cda38f19b | c407c521f279aa467719877d89cade4e8656c453 | refs/heads/master | 2021-01-21T12:03:33.127174 | 2013-11-05T12:56:29 | 2013-11-05T12:56:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 506 | cpp | // MyProject.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
int _tmain(int argc, _TCHAR* argv[])
{
std::cout << "test" <<std::endl;
int a =0 , b=0;
std::cin >> a >> b;
std::cout << a << " * " << b << " = " << a*b << std::endl;
std::cout << "the sum of " <<... | [
"eric.giraud@gmail.com"
] | eric.giraud@gmail.com |
986f5f15eef4da0e31af758924bc53bc72ac3e3c | 9b96e57babfb89c724e051f3b3c8aaa3ee36d88b | /代码/EX2_Cal/main.cpp | 29d3bb2f551f05a8df79e288ef6441bf1ceccd54 | [] | no_license | Sindyang/graduation-project | 99cb4d2e91c9aece7f8de8e767debadb99a24032 | 5a3f0f919e15f447fd1594f3190e6078a502da20 | refs/heads/master | 2021-04-27T00:11:59.886581 | 2018-03-04T12:29:00 | 2018-03-04T12:29:00 | 123,768,069 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 15,184 | cpp | /*
* main.cpp
*
* Created on: 2016年3月3日
* Author: wangsy
*/
#include<iostream>
#include<fstream>
#include<string.h>
#include<algorithm>
#include<io.h>
#include "story.h"
using namespace std;
void getfiles(string path, vector<string>& files);
string getROI(string readpath);
string getNE(string readpath);
dou... | [
"863326066@qq.com"
] | 863326066@qq.com |
7dde062603fa4be0869a896e385c0fb27dc90dcf | 3b682e18e6fac1865259507d01f7de41da0f123a | /src/test/test_coolnode.cpp | d548a2fd6cff908f17f9cabd5050fa1415811ed2 | [
"MIT"
] | permissive | famousnode/coolnode | d03f3f97c6d554f0d430e23c92cdc4a9f0390249 | 500c93bc6c6c8956c96a9ac9ebdf750f064ee296 | refs/heads/master | 2020-03-30T19:42:47.083848 | 2018-10-12T10:20:15 | 2018-10-12T10:20:15 | 149,499,106 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,427 | cpp | // Copyright (c) 2011-2013 The Bitcoin Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#define BOOST_TEST_MODULE COOL Test Suite
#include "main.h"
#include "random.h"
#include "txdb.h"
#include "ui_interface... | [
"43374780+famousnode@users.noreply.github.com"
] | 43374780+famousnode@users.noreply.github.com |
e4e03b3662378d1281c6a09bcd20e9ac5382918a | 822c7cad9a37ec9643eec5007d897617c4b18fd8 | /tools/Wires/Tiler/WireTiler.h | 40895062cfe05e4039fa411055f08196a2ee178a | [] | no_license | gaoyue17/PyMesh | 951bcfaa96df5ccf35259e2efdbf4cb5cddee15d | 2198fb23c8885f095cdd02aa4d3b21b42542a3d2 | refs/heads/master | 2020-12-29T02:19:22.650447 | 2016-04-10T19:57:52 | 2016-04-10T19:57:52 | 55,990,646 | 1 | 0 | null | 2016-04-11T16:55:12 | 2016-04-11T16:55:12 | null | UTF-8 | C++ | false | false | 1,056 | h | /* This file is part of PyMesh. Copyright (c) 2015 by Qingnan Zhou */
#pragma once
#include <vector>
#include <Mesh.h>
#include <Wires/WireNetwork/WireNetwork.h>
#include <Wires/Parameters/ParameterManager.h>
class WireTiler {
public:
typedef Mesh::Ptr MeshPtr;
WireTiler(WireNetwork::Ptr unit_wi... | [
"devnull@localhost"
] | devnull@localhost |
bae8d0b5dc7bb44e994bb90e0ba0100bcf17d28a | 00ef8d964caf4abef549bbeff81a744c282c8c16 | /components/certificate_transparency/single_tree_tracker_unittest.cc | a84a78d1ce3f282505209e2698956d293cd3bf27 | [
"BSD-3-Clause"
] | permissive | czhang03/browser-android-tabs | 8295f466465e89d89109659cff74d6bb9adb8633 | 0277ceb50f9a90a2195c02e0d96da7b157f3b192 | refs/heads/master | 2023-02-16T23:55:29.149602 | 2018-09-14T07:46:16 | 2018-09-14T07:46:16 | 149,174,398 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 40,451 | 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/certificate_transparency/single_tree_tracker.h"
#include <string>
#include <utility>
#include <memory>
#include "base/memory/ptr_u... | [
"artem@brave.com"
] | artem@brave.com |
0caacd3a1724b719bed2ab1d64ff0480b4a860ca | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_repos_function_1243_httpd-2.2.16.cpp | 89eb9af5e0bc0f3663775a9331e3452ec962edc1 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,649 | cpp | static int setup_choice_response(request_rec *r, negotiation_state *neg,
var_rec *variant)
{
request_rec *sub_req;
const char *sub_vary;
if (!variant->sub_req) {
int status;
sub_req = ap_sub_req_lookup_file(variant->file_name, r, NULL);
status = sub... | [
"993273596@qq.com"
] | 993273596@qq.com |
e4a69e2a7ef8a47f50804916b2ee57c906b0ca58 | 40554cc498001226d69c81e060c879e32e633058 | /libs/MaidSafe-Transport/src/maidsafe/transport/nat_detection.cc | caf708c15f26ac36a6748c55012ab4faa4916790 | [] | no_license | AdrienLE/p2pstorage | 9c39840b406475aa82f16e944365234f0f10aee7 | 1bd8bb5946e9533d57494d6468bd593b138d910d | refs/heads/master | 2020-12-24T14:45:04.595752 | 2017-12-24T02:31:48 | 2017-12-24T02:31:48 | 10,205,715 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,594 | cc | /* Copyright (c) 2011 maidsafe.net limited
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and th... | [
"adrien.ecoffet@gmail.com"
] | adrien.ecoffet@gmail.com |
706765faa7ea67a91e430adb59da85dda93e8619 | b379561691847bfc91f4b8cf135568d33affde22 | /NavigationDialog.h | 445410117bd3b5639bf931d8373a8c61d33b8465 | [] | no_license | cloud-jxy/test | 44a8afaab50f8dd18c6cbd04a498be58a0653e09 | 8a1efd95ce1e1e2c3fe14f59f4d6a2491666d53d | refs/heads/master | 2021-01-10T13:12:33.814373 | 2019-04-26T03:03:54 | 2019-04-26T03:03:54 | 51,414,452 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 740 | h | #pragma once
#include "afxcmn.h"
class CAbovepanDialog;
class CTestDlg;
// NavigationDialog 对话框
class NavigationDialog : public CDialogEx
{
DECLARE_DYNAMIC(NavigationDialog)
public:
NavigationDialog(CWnd* pParent = NULL); // 标准构造函数
virtual ~NavigationDialog();
// 对话框数据
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_... | [
"xueyun0430@icloud.com"
] | xueyun0430@icloud.com |
65c01617c63cdd9b9f1f9bc97d0da37963c818c3 | a81c07a5663d967c432a61d0b4a09de5187be87b | /chrome/browser/sync/wifi_configuration_sync_service_factory.cc | 394b3eb9db94d0b348484d4cd2e50eb5e7ff6b6a | [
"BSD-3-Clause"
] | permissive | junxuezheng/chromium | c401dec07f19878501801c9e9205a703e8643031 | 381ce9d478b684e0df5d149f59350e3bc634dad3 | refs/heads/master | 2023-02-28T17:07:31.342118 | 2019-09-03T01:42:42 | 2019-09-03T01:42:42 | 205,967,014 | 2 | 0 | BSD-3-Clause | 2019-09-03T01:48:23 | 2019-09-03T01:48:23 | null | UTF-8 | C++ | false | false | 2,173 | 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 "chrome/browser/sync/wifi_configuration_sync_service_factory.h"
#include "base/memory/singleton.h"
#include "chrome/browser/profiles/profile.h"
... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
2207ccb2e9dad0ab3f2e03a7bfe5ead7fbc16511 | 0c4783b88f554dba58f6361a9f165122171691d6 | /source/main.cpp | 520ae112588bb56df12daaa8a948ce72db09da76 | [] | no_license | j-jakubowski/SmartLock | 828bceebf25714167558ee0ec894eb90e3a19338 | b676f9cf869bc94b1d2d2e49014e30727618f824 | refs/heads/main | 2023-06-03T13:02:04.087106 | 2021-06-20T20:43:37 | 2021-06-20T20:43:37 | 378,736,944 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 833 | cpp | /*
* Copyright (c) 2015, Freescale Semiconductor, Inc.
* Copyright 2016-2020 NXP
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
extern "C"{
#include "pin_mux.h"
#include "clock_config.h"
#include "board.h"
#include "fsl_debug_console.h"
#include "FreeRTOS.h"
#include "task.h"
#include "aud... | [
"jakub.k.jakubowski@gmail.com"
] | jakub.k.jakubowski@gmail.com |
edabb2262c53b82cfb03d02d19a2f5bc78a0f48d | 0528bd51505688c65648f83375b7b4810e90bb44 | /Level 4 GUI/Level 4/Level 4/HashFile/PhysicalFile.cpp | 677659526288f4dfd18c4d52d98cb748dce22ab1 | [] | no_license | fedidat/FMS-Project | b4445e6b41305c4de3417a7cb4ea4b50c86e80c8 | 82f3496be15b76f5a19ec08dbbf9cd0b6058de4c | refs/heads/master | 2021-09-04T04:28:27.644285 | 2018-01-15T20:39:20 | 2018-01-15T20:39:20 | 113,072,448 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,900 | cpp | #include "stdafx.h"
#include <iostream>
#include "PhysicalFile.h"
using namespace std;
/************************************************************************
* FUNCTION *
* PhysicalFile *
* PARAMETERS *
* none *
* RETURN VALUE *
* non... | [
"fedidat@gmail.com"
] | fedidat@gmail.com |
666349115350b072c7abde203f0328c262b0bbb7 | e51562372a36b4729033bf19a4daf7ca7e462e30 | /gym-101775H-1 WrongAnswer.cpp | 76feffc2fcf65baa1a277001f276d1a96b06b48f | [] | no_license | sl1296/acm-code | 72cd755e5c63dfdf9d0202cb14a183ccff3d9576 | 50f6b9ea865e33d9af5882acd0f2a05c9252c1f8 | refs/heads/master | 2020-08-22T11:56:17.002467 | 2019-11-09T11:08:25 | 2019-11-09T11:08:25 | 216,388,381 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,656 | cpp |
#include<cstdio>
#include<cstring>
#include<algorithm>
using namespace std;
char s[1000010];
int type[1000010],le[1000010],fdn;
int main(){
int t,x,y;
scanf("%d",&t);
for(int z=1;z<=t;++z){
scanf("%s%d%d",s,&x,&y);
int len=strlen(s);
fdn=0;
int cyy=0,cfy=0,nyy=0,nfy=0;
... | [
"guocl0729@163.com"
] | guocl0729@163.com |
4a265f9a05f38fd96e724940b04656fac925122c | 0ac501eed80a52a4a32785bd62de307b8280cdd7 | /DirectZobEngine/CameraManagerWrapper.cpp | 7de06d222f19d689763f9d3533c69537593cc789 | [] | no_license | BlenderCN-Org/directZob | bbeb3d7741c403ea679cc2eff3cbbb5e3cdee343 | df39ebd6f027686a02ee510becf3f0dcf1be0f82 | refs/heads/master | 2020-08-06T09:56:19.149262 | 2019-09-26T11:22:53 | 2019-09-26T11:22:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,527 | cpp | #ifdef _WINDLL
#include "CameraManagerWrapper.h"
namespace CLI
{
CameraManagerWrapper::CameraManagerWrapper():ManagedObject(DirectZob::GetInstance()->GetCameraManager(), false)
{
}
array<System::String^>^ CameraManagerWrapper::GetCameraList()
{
const std::vector<std::string> data = m_Instance->GetCameraList();... | [
"zeralph@gmail.com"
] | zeralph@gmail.com |
5f9f1baf0f7e4e37c72c73731a0faa0d65613d5a | 65a42cb047358e191e93da92ad87ef39b3a95bb5 | /solid.cpp | 3ed37be5771410e19b3d42b80247ec5e1f56f5e1 | [] | no_license | marcus-elia/prime-city | c58a1848b6b7b076aba7833eb5add87678b87fef | c2676beab573129b9e853124d984001ac1e38bda | refs/heads/master | 2022-12-03T16:00:18.079229 | 2020-08-02T13:16:28 | 2020-08-02T13:16:28 | 266,095,410 | 0 | 1 | null | 2020-06-30T22:18:01 | 2020-05-22T11:36:59 | C++ | UTF-8 | C++ | false | false | 3,493 | cpp | #include "solid.h"
Solid::Solid()
{
xWidth = 1;
yWidth = 1;
zWidth = 1;
lineColor = {1,1,1,1};
linesDrawn = Normal;
initializeCorners();
}
Solid::Solid(Point inputCenter, RGBAcolor inputColor,
double inputXWidth, double inputYWidth, double inputZWidth, RGBAcolor inputLineColor,
... | [
"mselia@uvm.edu"
] | mselia@uvm.edu |
06068dbc8c3f837cdca491b8db68250eff3d9f35 | 671108efbc06a6876ddf3d49622ec2af9d2d82cf | /build-backend/ScoutPatternParser.cc | 487417040f302de75cde49c84551041d9e2bc2de | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | chrispbradley/scalasca | d545e2ef7c5b22963b8a554ecb5c8ba63f648f66 | 0f2cfe259ca452cd7e4c0968cfcd9ee3ade9c769 | refs/heads/master | 2022-02-07T07:51:09.725785 | 2022-02-04T03:54:56 | 2022-02-04T03:54:56 | 68,554,738 | 0 | 0 | null | 2016-09-19T00:16:28 | 2016-09-19T00:16:27 | null | UTF-8 | C++ | false | false | 79,295 | cc | /* A Bison parser, made by GNU Bison 3.0.4. */
/* Bison implementation for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.
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... | [
"c.bradley@auckland.ac.nz"
] | c.bradley@auckland.ac.nz |
90e3418b90699c493d757740f4f9b812b2f7688b | 8845ca9f50c7e92859cf2328267e311889983bb7 | /test/mesh_output_test.cpp | 144c56ed8c16c884298c3d04d588d5273d38d792 | [
"MIT"
] | permissive | jjh13/sisl | 16c9cd05b67a5d3b9724e615923787c222bc79ad | e4c276e0661729e9f4cfff4828f1ed31401601cd | refs/heads/master | 2021-01-22T23:53:45.750948 | 2017-11-24T22:54:04 | 2017-11-24T22:54:04 | 108,057,152 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,934 | cpp | #define CATCH_CONFIG_MAIN
#include <catch/catch.hpp>
#include <sisl/sisl.hpp>
#include <sisl/utility/ply_mesh.hpp>
#include <sisl/utility/iso_surface.hpp>
#include <sisl/test/function/marschner_lobb.hpp>
#include <sisl/test/function/test_window.hpp>
#include <iostream>
using namespace sisl;
using namespace sisl::uti... | [
"joshua.horacsek@ucalgary.ca"
] | joshua.horacsek@ucalgary.ca |
8472d2750a5777f0146f1404e94c95dfffb6b310 | 39f6b10471a35f0d491f56d52b40fafe8c46a6c8 | /main.cpp | ee7c4a7ed1abb96dd8530405ef87f5f3312f62c2 | [
"MIT"
] | permissive | patxitron/BattleyeRconToolLinux | 62161cc39cb5c0efd72ee1dbd080a9438994bb6f | 95d88ab1d1a340cd412611756b95bbf3fcefe8bf | refs/heads/master | 2020-03-26T07:59:00.218247 | 2015-03-05T15:28:44 | 2015-03-05T15:28:44 | 29,855,930 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,321 | cpp | /**
* @file main.cpp
*
*
* @date 24/11/2014
* @uthor patxi
*/
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <string>
#include <boost/asio.hpp>
#include "a3s.h"
using std::cout;
using std::cin;
using std::endl;
using std::string;
using std::getline;
int main(int argc, char* argv[])
{
string... | [
"fjlazur@fensomsystem.com"
] | fjlazur@fensomsystem.com |
698d904a9b001b0dccece33cc9de93b74d29f968 | edfa90a4ab7af5556a75b13f920a37541351161f | /ChartWidget1.cpp | 0476d173baacacd2c8c1be2aeaf1c38ec900c465 | [] | no_license | mejwaller/numanal | 031146dd1b66b5491275827ebb90909a9da5a1de | 7a03610b16230e995b7424482cd167ceaf14b0f7 | refs/heads/master | 2020-04-06T03:54:02.438307 | 2014-10-16T21:20:30 | 2014-10-16T21:20:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,041 | cpp | #include "ChartWidget1.hpp"
#include <math.h>
#include <qpainter.h>
#include <qpixmap.h>
#include <iostream>
using namespace std;
ChartWidget1::ChartWidget1(QWidget *parent, const char *name, WFlags f)
:QWidget(parent,name,f),buffer(0),maxx(100.0),minx(0.0),maxy(100.0),miny(0.0),numxticks(1),numyticks(1),scale(1... | [
"martin@debian.polytope.org"
] | martin@debian.polytope.org |
c760d8e8230470a0442cfe36494840ec8df69eaa | a24aa4ff4b1bc10d99e08dae1c15ef52a1c4c539 | /Nov.11前版本/tftest_ws/src/point_cloud_calc/src/main.cpp | 7c9b7563bb91740c6fac1444abb6626395e71a6c | [] | no_license | wuchenxi1996/TunnelProject | 413c0e362aa9609baf536a316c2f0cdd15cbe089 | ab9c33a2db22786cd8a600c1388ceeac0f27d9b0 | refs/heads/main | 2023-02-01T17:44:12.846800 | 2020-12-15T08:13:55 | 2020-12-15T08:13:55 | 314,565,319 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,215 | cpp | #include <stdlib.h>
#include <ros/ros.h>
#include "calc_header.h"
#include <math.h>
#include <malloc.h>
#include <boost/thread/thread.hpp>
#include <message_filters/subscriber.h>
#include <message_filters/time_synchronizer.h>
#include <message_filters/sync_policies/approximate_time.h>
float x = 0.0;
float y = 0.0;
floa... | [
"wuchx96@outlook.com"
] | wuchx96@outlook.com |
7ea66d3f75141c048e78ff3285d0700f18d69546 | 48b2075725ff4a8036a2b4a25b9e70769aa559e0 | /eval_ws/install/cf_messages/include/cf_messages/srv/detail/land__type_support.cpp | cb071b1de65349cbe1ee471462ebc39cf546a9cc | [] | no_license | ruimscarvalho98/QoSTesting | c47c30d8f39becce57889ed874a5429d9ff111bb | 0a24106fdb3e9372a2eb216d33e0fa97f77e8de7 | refs/heads/main | 2023-05-09T17:42:18.727357 | 2021-06-04T16:57:08 | 2021-06-04T16:57:08 | 373,885,652 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,683 | cpp | // generated from rosidl_typesupport_introspection_cpp/resource/idl__type_support.cpp.em
// with input from cf_messages:srv/Land.idl
// generated code does not contain a copyright notice
#include "array"
#include "cstddef"
#include "string"
#include "vector"
#include "rosidl_runtime_c/message_type_support_struct.h"
#i... | [
"ruimsc98@gmail.com"
] | ruimsc98@gmail.com |
2f74e33bb65b360a32ef1b9174e8aa0533e19ef2 | c636136096c92ddb07ce97d3960bf0289d70b57a | /Medusa/MedusaCore/CoreLib/CoreLib.h | 70ee1542451194da9d5de5e45a983b1794acc71a | [
"MIT"
] | permissive | johndpope/Medusa | 6a5a08e0c3f216dcab3b23db2f7bcf4d05845bce | 22aa6719a001330fea51a6822fec01150eb8aabc | refs/heads/master | 2020-12-30T20:51:14.718429 | 2015-12-15T12:31:22 | 2015-12-15T12:31:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,739 | h | // Copyright (c) 2015 fjz13. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
#pragma once
#include <list>
#include <queue>
#include <stack>
#include <map>
#include <string>
#include <string.h>
#include <sstream>
#include <cstdarg>
#include <c... | [
"fjz13@live.cn"
] | fjz13@live.cn |
7348f8ed60c44c2dd2de01e84bcac7cae26166d4 | c013714b28ab69d3946ee68f00ce47215c058f4f | /UtolsoVacsora/FluidParticles/blocks/msaFluid/samples/msaFluidParticles/include/ParticleSystem.h | 8817cd08ce3a2b19237c572910c229763f422cb8 | [] | no_license | gaborpapp/apps | f0195bfd41c30a6f7ab1430bbc0ffda35fbc4ed5 | 82d06ec9009f81440abc34f996da5ba64583750c | refs/heads/master | 2020-06-02T07:59:23.172058 | 2014-09-17T16:11:27 | 2014-09-17T16:11:27 | 1,826,410 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 786 | h | /*
* ParticleSystem.h
*
* Created by Mehmet Akten on 02/05/2009.
* Copyright 2009 MSA Visuals Ltd.. All rights reserved.
*
*/
#pragma once
#include "Particle.h"
#include "cinder/Vector.h"
#define MAX_PARTICLES 50000
class ParticleSystem {
public:
float posArray[MAX_PARTICLES * 2 * 2];
float col... | [
"gabor.papp@gmail.com"
] | gabor.papp@gmail.com |
31f168a5c000bb1213b328415baba8ff488f83b3 | 1f40abf77c33ebb9f276f34421ad98e198427186 | /tools/output/stubs/Map/SM3/Frustum_generated.cpp | d99c576656cf5c825b0e52e039711a9503dca33a | [] | no_license | fzn7/rts | ff0f1f17bc01fe247ea9e6b761738f390ece112e | b63d3f8a72329ace0058fa821f8dd9a2ece1300d | refs/heads/master | 2021-09-04T14:09:26.159157 | 2018-01-19T09:25:56 | 2018-01-19T09:25:56 | 103,816,815 | 0 | 2 | null | 2018-05-22T10:37:40 | 2017-09-17T09:17:14 | C++ | UTF-8 | C++ | false | false | 3,925 | cpp | #include <iostream>
/* This file is part of the Spring engine (GPL v2 or later), see LICENSE.html */
#include "Frustum.h"
#include "Rendering/GL/myGL.h"
#undef far // avoid collision with windef.h
void
Frustum::InversePlanes()
{
std::vector<Plane>::iterator p;
for (p = planes.begin(); p != planes.end(); ++p)... | [
"plotnikov@teamidea.ru"
] | plotnikov@teamidea.ru |
b7d1ad5378efa30a63b2f6f2b75b7fee8e89f820 | aba3a373a2dcacdb781d892ca9f83dfc0bc2b36d | /src/include/ast/CallExprAST.hpp | e136373fe20454d63cf9ce89d8b5c2a83e146b13 | [] | no_license | pdet/kaleidoscope | 42101354b95e49a1a280404a3117c597865fce59 | 6a20fb0da3639e89897ed8e1ef11182c1d161115 | refs/heads/master | 2020-06-01T03:33:36.993434 | 2019-06-17T20:02:14 | 2019-06-17T20:02:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 471 | hpp | #pragma once
#include "ast/ExprAST.hpp"
#include "llvm/IR/IRBuilder.h"
#include "logger/logger.hpp"
//Holds most recent prototype for each function
// Expression class for functionc calls.
class CallExprAST: public ExprAST {
std::string Callee;
std::vector<std::unique_ptr<ExprAST>> Args;
public:
CallExprAST (const... | [
"pedroholanda@gmail.com"
] | pedroholanda@gmail.com |
11c12a1bbdc935fdf607d3f3134010f3a60c186f | 18474fa4d01374ea573b5b3abd154af93cb68039 | /src/hashtable_block.h | 30b30486b152902b719b7b94623e6b3ebf1ab2a5 | [] | no_license | andersjo/hanstholm | 1159389e54c5cd570585f68db58ffb8f6eac3c4d | 847981966670bddab4904bd813b4e757008e45bc | refs/heads/master | 2021-01-13T01:31:31.450565 | 2015-11-27T00:10:57 | 2015-11-27T00:10:57 | 31,328,578 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,914 | h | #ifndef HASHTABLE_BLOCK_H
#define HASHTABLE_BLOCK_H
#include <stddef.h>
#include <stdint.h>
#include <vector>
#include <list>
#include "hash.h"
//----------------------------------------------
// HashTable
//
// Maps pointer-sized integers to pointer-sized integers.
// Uses open addressing with linear probing.
// ... | [
"anders@johannsen.com"
] | anders@johannsen.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.