blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
97c6ebf4e61dee2facad1c1b526219af60d40aae | 6d6ce9afe45059475e61324c870f166e64b7ca9d | /szablon/source/main.cpp | 9902ee2c8758dc89987282e11eb7aa1fa5fee133 | [] | no_license | DominikSucharski/ZPwM | 36069599d8dc181abf77d62926657bccc74296ed | e272578c96c6305067bf1b72d871092d13f169d9 | refs/heads/master | 2020-04-29T15:21:10.670220 | 2019-07-10T19:46:12 | 2019-07-10T19:46:12 | 176,225,429 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 131 | cpp | #include <Windows.h>
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow) {
return 0;
} | [
"dominik1900@o2.pl"
] | dominik1900@o2.pl |
e252f7c939f526ed6371e7fe419b14ff582ac651 | e3233e92958190aa4cd9725c26925c3662b75609 | /interview_preparation_kit/dictionaries_and_hashmaps/two_strings/two_strings.cpp | f48f67af0711f8860312c30854f5786b129e9d3a | [] | no_license | playdougher/hackerank_solution | 206b2aafadd838cc8664c9da3aa913252b78c429 | 4a7401f320aa126e858659bcf49a331efb6ae0fe | refs/heads/master | 2022-11-06T23:42:58.350124 | 2020-07-03T06:39:27 | 2020-07-03T06:39:27 | 259,022,906 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 812 | cpp | #include <bits/stdc++.h>
using namespace std;
// Complete the twoStrings function below.
//最好保证传进来的s1是比较长的.
string twoStrings(string s1, string s2) {
unordered_set<char> words;
for(auto c:s1) words.insert(c);
for(auto c:s2){
if(words.count(c)) return "YES";
}
return "NO";
}
int main()
{... | [
"952331408@qq.com"
] | 952331408@qq.com |
a2f2662b719f730031d033b924a3fb4076efaf9f | 818d205ced79f21481280f886de234f58e5f49cf | /RomanToInteger/roman_to_integer_test.cpp | 59e2e98c1a854cf2297c6a9e1b8ad74c1d43281a | [] | no_license | babypuma/leetcode | 6cafe2495b1b77701589be7d44e2c42e467cba18 | 0ac08c56623d5990d7fde45d0cc962f5926c6b64 | refs/heads/master | 2022-06-15T17:03:53.515967 | 2022-05-31T16:24:30 | 2022-05-31T16:24:30 | 25,457,134 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 763 | cpp | /*
* Author : Jeremy Zhao
* Email : jqzhao@live.com
* Date : 2020/12/16
*
* Source : https://leetcode-cn.com/problems/roman-to-integer/
* Problem: Roman to Integer
*
*/
#include <gtest/gtest.h>
#include "roman_to_integer.h"
class SolutionTest : public ::testing::Test {
protected:
virtual ... | [
"jqzhao@live.com"
] | jqzhao@live.com |
2bd7c5dc93498c8ed0d55e4cb2a2ec6fe8cd2275 | 1b445b0aab1ea4aff7790bcca1ce96140a972c9e | /Lora/emiter/emiter.ino | 81aedfcd986bfd950e36c5f707323b296df36b66 | [] | no_license | Jean121188/LoraTransparente | 0ed994a6ed10b2d3c0778bd060ebcb87e105a03e | d0b3091e297f577e715c87cf2260986c9c9628b0 | refs/heads/main | 2023-03-23T23:11:58.047288 | 2021-03-19T16:04:51 | 2021-03-19T16:04:51 | 349,480,011 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,832 | ino | // Default
#include <LoRa.h>
#include <SPI.h>
#include <Wire.h>
// Oled
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
// DHT11
#include "DHTesp.h"
/* Definicoes para comunicação com radio LoRa */
#define SCK_LORA 5
#define MISO_LORA 19
#define MOSI_LORA 27
#define RESET_PIN_LOR... | [
"jeandesouzaprograming@gmail.com"
] | jeandesouzaprograming@gmail.com |
a731e8a738b302811dca8195128b391d7fa9f9ff | 59dc51018597f6f6030077dddfee45858e289a9a | /src/vp_profile.cpp | e039cb77e907f655d7aefd80193b164381fb25e5 | [] | no_license | metakonga/DMotion | f8e364152aeebbac862bcdd998162b713d711323 | 054f8e3df896a442a7b80b3ca76df3818ae02bda | refs/heads/master | 2021-01-01T18:21:15.830836 | 2018-02-26T02:03:42 | 2018-02-26T02:03:42 | 98,317,388 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,143 | cpp | #include "vp_profile.h"
#include <QLineSeries>
#include <QtWidgets>
#include <QtCharts>
#include "dmotion_types.h"
#include "messageBox.h"
//#include <QAbstractAxis>
vp_profile::vp_profile(QString _path, QWidget* parent)
: QDialog(parent)
, vcht0(NULL)
, vcht1(NULL)
, xSize(640)
, ySize(480)
, _isClicedCell(fals... | [
"kangsia@naver.com"
] | kangsia@naver.com |
8b4e06f6ccf6b493dc23380064a4be72e67000a4 | b3e525a3c48800303019adac8f9079109c88004e | /dol/iris/test/offload/crypto_drbg_testvec.hpp | 6a78f2185a9d0643569ec078505ff864eaf1fb99 | [] | no_license | PsymonLi/sw | d272aee23bf66ebb1143785d6cb5e6fa3927f784 | 3890a88283a4a4b4f7488f0f79698445c814ee81 | refs/heads/master | 2022-12-16T21:04:26.379534 | 2020-08-27T07:57:22 | 2020-08-28T01:15:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,445 | hpp | #ifndef _CRYPTO_DRBG_TESTVEC_HPP_
#define _CRYPTO_DRBG_TESTVEC_HPP_
#include <stdint.h>
#include <string>
#include <memory>
#include <math.h>
#include <unistd.h>
#include <assert.h>
#include <openssl/ssl.h>
#include "logger.hpp"
#include "offload_base_params.hpp"
#include "testvec_parser.hpp"
#include "crypto_drbg.hpp... | [
"32073521+raghavaks@users.noreply.github.com"
] | 32073521+raghavaks@users.noreply.github.com |
590f41d77ac3dc71a632351e5382b37e85314eca | 04ad808ca2cafed933241bcc1dda8fcdd0f6669a | /Player.hpp | e0a20b5776b4e655a51123f48d7672155ba6e83b | [] | no_license | marcusdufrane/PBCx | 9310d955a1e2c1602f1301dcf01c3eea0a848f53 | 07b51ea191971b19c8a0761739b6b200955d2cad | refs/heads/master | 2021-01-18T06:31:33.555995 | 2012-05-05T20:26:39 | 2012-05-05T20:26:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 208 | hpp | #ifndef PLAYER_HPP_
#define PLAYER_HPP_
class Player{
public:
Player();
void add_score(int points);
unsigned int get_score(void);
private:
unsigned int score;
};
#endif /* PLAYER_HPP_ */
| [
"edge87@gmail.com"
] | edge87@gmail.com |
61aeb536ceb5607d90db785797c950336305eb22 | 801f7ed77fb05b1a19df738ad7903c3e3b302692 | /optimisationRefactoring/differentiatedCAD/occt-min-topo-src/src/StepShape/StepShape_GeometricallyBoundedSurfaceShapeRepresentation.cxx | b8f862e9f6a9d122577c2e7877385a0e22f6626e | [] | no_license | salvAuri/optimisationRefactoring | 9507bdb837cabe10099d9481bb10a7e65331aa9d | e39e19da548cb5b9c0885753fe2e3a306632d2ba | refs/heads/master | 2021-01-20T03:47:54.825311 | 2017-04-27T11:31:24 | 2017-04-27T11:31:24 | 89,588,404 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 868 | cxx | // Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with spe... | [
"salvatore.auriemma@opencascade.com"
] | salvatore.auriemma@opencascade.com |
365f325ee78676017c816a20be13c24b1e0df10b | 178a60ef5b65311e11ced897ead2843b2c5ee391 | /lm35_thingspeak.ino | 312dcb756c8572e6d879ab59169b8a077f697ee0 | [] | no_license | sourabhkulkarni-007/IoT-Arduino-projects | 06033a0a79064341bba433583c8a1a0cb14f9c34 | 51ca0db7428e404efc3e81aa99115769739cfe96 | refs/heads/master | 2022-11-19T20:12:21.987705 | 2020-07-21T14:53:51 | 2020-07-21T14:53:51 | 281,423,170 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 711 | ino | #include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ThingSpeak.h>
const char* ssid = "somu";
const char* password = "9611426563";
float val;
float resolution = 3.3/1023;
int tempPin = A0;
WiFiClient client;
unsigned long myChannelNumber = 808049;
const char * myWriteAPIKey = "MENPEYVOHNVUXDQZ";
void... | [
"noreply@github.com"
] | sourabhkulkarni-007.noreply@github.com |
d8ba6f48065bd8056064bae7823100226ca190ea | 1ad866448e809d0b9181f67a8c9340639d2fd2e3 | /OJ练习/最近素数距离.cpp | 4d0d78b9835721ab21c9148e69f7d8563e9b2fae | [] | no_license | wintershii/C | e03b620792f1c267a09e8a27d9c0e51bbd704fba | 85f4ea9173fbcdb143be965011a9bf5c16f8717d | refs/heads/master | 2021-07-09T04:01:28.225553 | 2018-12-10T03:41:05 | 2018-12-10T03:41:05 | 128,944,423 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 753 | cpp | #include<stdio.h>
#include<math.h>
#include<stdlib.h>
int main(){
int n,x;
int i,j;
scanf("%d",&n);
while(n--){
int dis1,dis2;
int x1,x2,k;
scanf("%d",&x);
for(i=2;i<=sqrt(x);i++)
if(x%i==0)
break;
if(x==1){
printf("2 1\n");
continue;
}
if(i>sqrt(x)){
printf(... | [
"wintershii@163.com"
] | wintershii@163.com |
532bcab0c9e4d76dd8eb7e5cca02c3b379550ec4 | 37b0cc9cf353092432e88344d53c578fab538ab8 | /registration/include/pcl/registration/warp_point_rigid.h | e596f7220a80739a9b9c94b2e3b408c0e3f3da68 | [
"BSD-3-Clause"
] | permissive | ros-perception/pcl-fuerte | b39cbd4cc7c2853ca80089f59a06f83081b03759 | c9377da8f0a92e111a72d9af10934b559aeb40c6 | refs/heads/master | 2023-08-11T08:44:35.634150 | 2013-09-04T20:32:41 | 2013-09-04T20:32:41 | 7,947,873 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,769 | h | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2010, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code mu... | [
"wjwwood@gmail.com"
] | wjwwood@gmail.com |
ecc489b499ff1688b84f80dd4311dc837dc034bf | 232a2e6b45ee9a35699d8133d51f9520cb904c20 | /Action.cpp | 2bc45a7797c173fe6cad4a6e4ee1c5a990e6717b | [] | no_license | AmmarRabie/FlaminGo | 0c1ffa840a0bdcef75a49d1c039d535d02f24592 | 37766265576ca844899b29420ad6025920f6640a | refs/heads/master | 2020-08-23T23:07:08.147791 | 2019-10-31T09:39:11 | 2019-10-31T09:39:11 | 216,720,344 | 0 | 1 | null | 2019-10-22T04:02:04 | 2019-10-22T04:02:00 | null | UTF-8 | C++ | false | false | 379 | cpp | /*
- Action is a move plus some agent parameters like (action prob, action cost, action heuristics, ...).
- if you are talking about gameEngine, it just understands the move,
the agent take this move and convert it to action with some additional features.
- for now, the action is just a move
*/
#include "Action.h"
A... | [
"ammaralsayed55@gmail.com"
] | ammaralsayed55@gmail.com |
b31fc5390d169534bc26eb6f861ee7fb00ed7492 | 6b40e9cba1dd06cd31a289adff90e9ea622387ac | /Develop/Game/XModuleCollision.cpp | 9db8c423c0a55cccbe6858fd2196fdfb9adcb7c0 | [] | no_license | AmesianX/SHZPublicDev | c70a84f9170438256bc9b2a4d397d22c9c0e1fb9 | 0f53e3b94a34cef1bc32a06c80730b0d8afaef7d | refs/heads/master | 2022-02-09T07:34:44.339038 | 2014-06-09T09:20:04 | 2014-06-09T09:20:04 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 64,251 | cpp | #include "StdAfx.h"
#include "XModuleCollision.h"
#include "RSceneManager.h"
#include "XObject.h"
#include "XModuleEntity.h"
#include "XModuleTalent.h"
#include "XModuleMovable.h"
#include "XGame.h"
#include "RUtil.h"
#include "XNonPlayer.h"
#include "CSMeshInfo.h"
#include "XCharacter.h"
#include "RMesh.h"... | [
"shzdev@8fd9ef21-cdc5-48af-8625-ea2f38c673c4"
] | shzdev@8fd9ef21-cdc5-48af-8625-ea2f38c673c4 |
d1d37b98db2b929800bb6e92c28a7ff34e3ee965 | 33a82980352cf366b9c288cf8a74d2740272d90b | /print/XPSDrvSmpl/src/filters/color/cmsax.cpp | f5db86ddd8ac0188eb6374bf475c002192ccd84d | [
"MS-PL"
] | permissive | microkatz/Windows-driver-samples | d249ecb8ab1be5a05bf8644ebeaca0bf13db1dad | 98a43841cb18b034c7808bc570c47556e332df2f | refs/heads/master | 2022-05-09T17:42:10.796047 | 2022-04-20T20:47:03 | 2022-04-20T20:47:03 | 161,238,613 | 2 | 0 | MS-PL | 2022-04-20T20:47:03 | 2018-12-10T21:28:00 | C | UTF-8 | C++ | false | false | 12,317 | cpp | /*++
Copyright (c) 2005 Microsoft Corporation
All rights reserved.
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
PARTICULAR PURPOSE.
File Name:
cmsax.cpp
Abstra... | [
"cdwilsonjr@gmail.com"
] | cdwilsonjr@gmail.com |
8504b1c0b54e496649778660ea19e64f76fbcce4 | 3d739f27ee3e4c86e7aeb765d3b2668ec7918147 | /DATA STRUCTURE/Segment tree lazy propagation.cpp | 731bf2bd585a42ae344228906b040f766c3e50c6 | [] | no_license | monircse061/My-All-Codes | 4b7bcba59a4c8a3497d38b6da08fca1faf0f6110 | b5c9f4367efd134c08a4f1eff680202484963098 | refs/heads/master | 2023-04-13T18:55:50.848787 | 2021-04-24T03:46:45 | 2021-04-24T03:46:45 | 361,062,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,188 | cpp | #include<bits/stdc++.h>
using namespace std;
const int N = 1e5 + 5;
int in()
{
int n;///17312754
scanf("%d", &n);
return n;
}
int tree[3 * N];
void propagate(int pos)
{
tree[pos]=0;
tree[pos*2]^=1;
tree[pos*2+1]^=1;
}
void update(int pos, int left, int right, int x, int y)
{
if(left>y |... | [
"monirahammod097@gmail.com"
] | monirahammod097@gmail.com |
3cf0c99f9ff3b1b3b0c8f39d921a6a34c0e6780f | da72d7ffe4d158b226e3b3d9aabe900d0d232394 | /clang/tools/driver/cc1depscanProtocol.h | bf9f09d635053ce140b6e82768186cc6670872ed | [
"Apache-2.0",
"LLVM-exception",
"NCSA"
] | permissive | ddcc/llvm-project | 19eb04c2de679abaa10321cc0b7eab1ff4465485 | 9376ccc31a29f2b3f3b33d6e907599e8dd3b1503 | refs/heads/next | 2023-03-20T13:20:42.024563 | 2022-08-05T20:02:46 | 2022-08-05T19:14:06 | 225,963,333 | 0 | 0 | Apache-2.0 | 2021-08-12T21:45:43 | 2019-12-04T21:49:26 | C++ | UTF-8 | C++ | false | false | 7,761 | h | //===- cc1depscanProtocol.h - Communications for -cc1depscan --------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"stevenwu@apple.com"
] | stevenwu@apple.com |
236ada2f333a33e19da6b11bba4ad8820681e15e | fe1b482095ab4f5b5fa19fd5ac71227eb6749ab4 | /src/utils/ObserverBase.h | 12eaf0f6731d417d26632e662c08a564093a1523 | [
"BSD-2-Clause-Views"
] | permissive | fernanor/ls1-mardyn | 5f3b50586f858b92a10a7fdc2d52578d99d04d3d | 599e8228d6fa6e15c0f538398302a321233e65b8 | refs/heads/master | 2020-04-01T18:02:58.858903 | 2019-01-21T18:07:23 | 2019-01-21T18:07:23 | 153,468,212 | 0 | 0 | NOASSERTION | 2018-10-17T14:10:36 | 2018-10-17T14:10:36 | null | UTF-8 | C++ | false | false | 512 | h | /*
* ObserverBase.h
*
* Created on: 31.10.2016
* Author: mheinen
*/
#ifndef OBSERVERBASE_H_
#define OBSERVERBASE_H_
class ObserverBase
{
public:
virtual ~ObserverBase() {}
virtual void set(double dInterfaceMidLeft, double dInterfaceMidRight) = 0;
};
class SubjectBase
{
public:
virtual ~SubjectBase() {}... | [
"mheinen@mail.upb.de"
] | mheinen@mail.upb.de |
f1f4ff62874eb80ae3c69a32ad9e4259744958f0 | 5c6eef361e193a55b37bf25e776639da24af768c | /src/rpcwallet.cpp | ca9fed333b2699e1f321b97ac9b24004ff0ce8d5 | [
"MIT"
] | permissive | ARSCoin/arkenstone | da05e683ea95c73a5cd2a81f4a3d9496f2666797 | c736eff39965f7ba8ca902202210f5fbdc2cf4ca | refs/heads/master | 2020-05-16T22:26:32.297762 | 2014-05-21T08:50:57 | 2014-05-21T08:50:57 | 19,843,845 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 53,055 | cpp | // Copyright (c) 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.
#include <boost/assign/list_of.hpp>
#include "wallet.h"
#include "walletdb.h"
#include... | [
"arscrypto@gmail.com"
] | arscrypto@gmail.com |
270428e63ba06a1f4b0020c1fb0c0a7dae88df64 | 97e0d023d36c14a1b7d8c5ae4d579066492b5c58 | /比赛/2015 Multi-University Contest 1/1002.cpp | 0b3cdb6ecebd2a408112b1f9882b6ead112448f9 | [] | no_license | gmy987/ACM | f6f809811b54a1e106624b83eda56120ac85d852 | 4b807f61b35d07db0d35e2195a8d93cff648b7bb | refs/heads/master | 2021-01-13T01:28:55.209296 | 2015-09-03T07:09:28 | 2015-09-03T07:09:28 | 41,202,863 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,336 | cpp | #include <cstdio>
#include <iostream>
#include <cstring>
#include <cmath>
#define MAXN 100005
using namespace std;
int a[MAXN];
int maxsum[MAXN][18],minsum[MAXN][18];
int n,k;
void rmq()
{
for( int j = 1 ; j <= 17 ; j++ )
for( int i = 1 ; i <= n ; i++ )
if( i + (1<<j)-1 <= n)
{
... | [
"46922547@qq.com"
] | 46922547@qq.com |
5f39ff1544c884b36f41210c7eebf35a2e262a90 | 388f094f2ea70a5ced936ce83bd0f19057fafe7f | /Exception.h | f0f094fe8ea9ca5a59d11df9bf8bacbf93cfd9d9 | [] | no_license | Ohpaipai/Optimization | 65fa65f6a57bb3a348ce8bf814dae41417e97388 | 9ab82cfb0ddad040dcd5e952ad86f7c6dde4e32c | refs/heads/master | 2020-05-16T16:44:59.290257 | 2019-05-16T15:46:20 | 2019-05-16T15:46:20 | 183,171,858 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 695 | h | #pragma once
#include<string>
class myException
{
public:
myException();
myException(int);
myException(int, std::string);
std::string getErrorString();
private:
int error;
std::string message;
};
enum error_type
{
name_not_in_file = 1,
command_not_found = 2,
bracket_error = 3,
operand_not_fo... | [
"noreply@github.com"
] | Ohpaipai.noreply@github.com |
6008508fc0524dafb694f6f06872128da1b2eb94 | 1bbbb810b5b74130c4e0ae89de7c0157573f14c3 | /Plugins/Wwise/Source/AkAudio/Classes/GTE/Mathematics/Lozenge3.h | 834ce9133db6671592cd56c6085bee3b554dc49b | [
"MIT"
] | permissive | marcowchan/GMTK2021 | 0ce8be50662784b4776fcdd91561332fec632c4f | d638a7ae3ab1fa56839b77e9d15abf70ac3bde7f | refs/heads/new-main | 2023-06-02T05:47:45.688156 | 2021-06-17T22:49:41 | 2021-06-17T22:49:41 | 374,914,307 | 0 | 0 | MIT | 2021-06-17T22:49:42 | 2021-06-08T07:03:59 | C++ | UTF-8 | C++ | false | false | 2,779 | h | /*******************************************************************************
The content of the files in this repository include portions of the
AUDIOKINETIC Wwise Technology released in source code form as part of the SDK
package.
Commercial License Usage
Licensees holding valid commercial licenses to the AUDIOK... | [
"82725869+SoundFontPlus@users.noreply.github.com"
] | 82725869+SoundFontPlus@users.noreply.github.com |
039ee4538dba23a45f24d6a070bfbfeb31026762 | 214f04274d4433804698ce983c9a258537831168 | /linear-data-structures/lists/xor-linked-list.cpp | bf4246234d1d5260351c3612f16b2e3bef3cea6e | [
"MIT"
] | permissive | manojpandey/dswiki | d6d87ccafdd51ef99c1c6595fefbd2b7a324d65a | 6fcc1460d1cebf04de3d16019de8abdb3e592c97 | refs/heads/master | 2021-01-10T07:53:27.117156 | 2015-10-22T14:47:12 | 2015-10-22T14:47:12 | 44,541,042 | 1 | 2 | null | 2015-10-21T19:09:08 | 2015-10-19T14:38:19 | C++ | UTF-8 | C++ | false | false | 2,259 | cpp | /* C/C++ Implementation of Memory efficient Doubly Linked List */
#include <stdio.h>
#include <stdlib.h>
// Node structure of a memory efficient doubly linked list
struct node {
int data;
struct node* npx; /* XOR of next and previous node */
};
/* returns XORed value of the node addresses */
struct node* XOR... | [
"manojpandey1996@gmail.com"
] | manojpandey1996@gmail.com |
483c9d3877af9181a4be7d07522d3c6b9aa5a1ba | d9c74a30c5c822d0b4692422ffaaecaf06d211bc | /Classes/GameScene.cpp | e0f860c8903631f146f9b8d5f58cd279293d50e3 | [] | no_license | devuseful/SearchPath | 834215e0dcf93b7b28f378f0d8c5388b79b5e1c3 | b4042729eed0d497d5e2490b8b683ed948f5b442 | refs/heads/master | 2021-01-16T23:18:44.110553 | 2016-07-14T19:48:48 | 2016-07-14T19:48:48 | 63,358,183 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,492 | cpp | #include "GameScene.h"
USING_NS_CC;
CCScene* Game::scene()
{
// 'scene' is an autorelease object
CCScene *scene = CCScene::create();
// 'layer' is an autorelease object
Game *layer = Game::create();
// add layer as a child to scene
scene->addChild(layer);
layer->setTag(0);
// retu... | [
"useful@bk.ru"
] | useful@bk.ru |
53ae5247b8f223a9548b010ada7be11f96a42a88 | 57fedc39bd242d5f2a019f201a150de88c84b6d0 | /hdoj/2006.cpp | c6002fdde6ad48f4b2a72e7766efdb1327fd73e0 | [] | no_license | Evil-Sphinx/Ballons | d1a67b8829a0ea4176c94172be94b82b1c49f9ea | 51d146342cd2d21f7158a8cefe0b72faf694ac85 | refs/heads/master | 2020-03-12T10:51:33.405858 | 2018-09-18T12:35:58 | 2018-09-18T12:35:58 | 130,582,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 217 | cpp | #include<iostream>
int main(){
int n;
int ans=1,num;
while(scanf("%d",&n)!=EOF){
for(int i=0;i<n;i++){
scanf("%d",&num);
if(num%2!=0){
ans*=num;
}
}
printf("%d\n",ans);
ans=1;
}
return 0;
}
| [
"filco9617@163.com"
] | filco9617@163.com |
a80b1c94602552dc20cef3937fdcd4b37cd9c432 | 4fa17ccf3b0e544021672d46e64960418289af64 | /Src/Tracer/Whitted.hpp | 96e82e98324e6e7c2b648e4791181ac5320d4433 | [] | no_license | shuaitq/MoonLight | e65b40a4c6755481b2edead2af087205b231ea82 | 06449dc9ee20939a72da3bc7c6769402414c3a81 | refs/heads/master | 2022-09-01T09:34:40.482083 | 2022-08-25T14:50:11 | 2022-08-25T14:50:11 | 91,786,477 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 207 | hpp | #ifndef MOONLIGHT_WHITTED_HPP_
#define MOONLIGHT_WHITTED_HPP_
#include "Tracer.hpp"
namespace MoonLight
{
Tracer Whitted(const size_t max_depth, const double max_t);
}
#endif // MOONLIGHT_WHITTED_HPP_ | [
"1101282468@qq.com"
] | 1101282468@qq.com |
049b32325a4a9b0c3b6de90485ce69b6542df2ca | 57c92928a8b5398621293c6ad3c7dfd85a3902f6 | /Library/Bee/artifacts/WebGL/il2cppOutput/cpp/UnityEngine.InputLegacyModule.cpp | 648a133dd3a3a9b2b5fc7edc8cf2fa46294164c3 | [] | no_license | scarletknight11/Solar-System-Simulation | bae249b86218144747504f3c5b59e3785bc8f0e0 | 1b5c62ef56daf6176dfbdda6aeadaee54c412dea | refs/heads/master | 2023-03-03T00:26:41.632373 | 2022-10-27T05:35:35 | 2022-10-27T05:35:35 | 125,963,376 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 112,755 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
// System.Func`1<System.Collections.Generic.KeyValuePair`2<System.Int32,UnityEngine.Vector2>>
struct Func_1_tF5F7F5DCF1679E08B2536581A6E1EEF5529155C9;
// UnityEngine.Camera[]
struc... | [
"ss3448@scarletmail.rutgers.edu"
] | ss3448@scarletmail.rutgers.edu |
cc399aa2ddc14b688cfdbb64c5b99b468548bc3b | 04da06b04f9e3b2718aa63c9bf6eebc849978ba4 | /havsim/simulation_cpp/test.cpp | 02b7bcf5d89e7a5cf698809ea7a1ae3faaf459c5 | [
"Apache-2.0"
] | permissive | seccode/havsim | 791434b724a3c4e70ad2300b95bf4efa9311c415 | 0aaf9674e987822ff2dc90c74613d5e68e8ef0ce | refs/heads/master | 2023-03-13T01:01:46.204165 | 2021-02-24T06:26:03 | 2021-02-24T06:26:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,029 | cpp | #include "vehicle.h"
#include "lane.h"
#include <vector>
#include <cmath>
#include <iostream>
#include <unordered_map>
#include <fstream>
#include <cassert>
using namespace std;
double IDM_eql(vector<double> &p, double v) {
return sqrt(pow(p[2] + p[1] * v, 2.0) / (1 - pow(v / p[0], 4)));
}
int main() {
i... | [
"yidan@Yidans-MacBook-Pro.local"
] | yidan@Yidans-MacBook-Pro.local |
4297c2a3c1796b5cbf2e0a83963ed7723273db6e | b0c66358ae5c0386db5887e2609929e753c38d18 | /arch/rychlostne/narodeninova/tenistydar.cpp | 16825a699379aba1b5c91765132fb34b5e203c68 | [] | no_license | michalsvagerka/competitive | e7683133ee5f108429135a3a19b3bbaa6732ea9f | 07f084dff6c1ba6f151c93bf78405574456100e4 | refs/heads/master | 2021-06-07T14:54:35.516490 | 2020-07-07T08:17:56 | 2020-07-07T08:19:09 | 113,440,107 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 911 | cpp | #include "../l/lib.h"
// #include "../l/mod.h"
struct krab {
int a,b,c,d,e;
};
typedef pair<pair<int,ll>,pair<int,string>> ord;
class tenistydar {
public:
void solve(istream& cin, ostream& cout) {
int N; cin >> N;
map<ll, krab> X;
for (int i = 0; i < N; ++i) {
int a,b,c; cin >> a >> b >> c;
ll d = min(... | [
"michal.svagerka@dswiss.com"
] | michal.svagerka@dswiss.com |
dd5ff796e4ca871f6c4d4a0b043c953c1dfd75f6 | 11ea308b8150794fa374f7d4e6ec481382629472 | /Interview/Array/Array/MaximumSumPathTwoArrays.cpp | a42c645ee06b2a7f8241c3b4ba07cfc8ffd61e6a | [] | no_license | reddy-v/mission-cpp | fcc9c8e760a391cbff4b94253572ef45e9bdb6ec | ba5831a5903acd4964056bfec10b3859ba2832d1 | refs/heads/master | 2021-05-15T01:04:18.368089 | 2017-01-06T21:51:29 | 2017-01-06T21:51:29 | 66,060,764 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,435 | cpp | /*
* Given two sorted arrays such the arrays may have some common elements.Find the sum of the maximum sum
* path to reach from beginning of any array to end of any of the two arrays.We can switch from one array
* to another array only at common elements.
*
* Time complexity is O(n + m)
* Space complexity is O(1)
*
* h... | [
"reddy.v@alumni.iitg.ernet.in"
] | reddy.v@alumni.iitg.ernet.in |
923cc1a756f3fb1aae5c866aa4fa1ca85452af73 | aaaa84060654c1f35c1fe92cd0525cdeeaf0cbea | /proto_msg_codec/inc/proto_msg_handler_interface.h | 83b1725bb6584f0d4dcbec5fb18391411df70535 | [] | no_license | Confucius-Mencius/common_component | ccc2459d2e1cda4370ce1808f6a4eac489a9e296 | 542b1791b6c2db8f6ee5c1c7283f9ab3264a7db9 | refs/heads/master | 2020-04-08T15:43:42.186781 | 2019-06-09T01:15:57 | 2019-06-09T01:15:57 | 159,489,547 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,019 | h | #ifndef PROTO_MSG_CODEC_INC_PROTO_MSG_HANDLER_INTERFACE_H_
#define PROTO_MSG_CODEC_INC_PROTO_MSG_HANDLER_INTERFACE_H_
#include "proto_msg.h"
struct ConnGUID;
namespace proto
{
class MsgHandlerInterface
{
public:
MsgHandlerInterface() {}
virtual ~MsgHandlerInterface() {}
virtual void Release() = 0;
... | [
"guang11cheng@qq.com"
] | guang11cheng@qq.com |
b0f5b8357628b7f45ea2e1a32f2b6d9375ebb6af | 64efb5cd507ac1c26d0fb7ac086424072647cd09 | /D01/ex04/ex04.cpp | 3a56bef057727722845595200e1aa927b2aff485 | [] | no_license | Petsoane/CppBootcamp | c8d5d84f9d8a7d4a44fa9283802a71ae3df1ab19 | 628eeef698b59c57f8fe5e91606b7b245d77f9ac | refs/heads/master | 2022-11-16T01:32:23.199237 | 2020-07-12T20:37:49 | 2020-07-12T20:37:49 | 268,113,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 378 | cpp | #include <iostream>
#include <string>
int main(void)
{
std::string random;
random = "HI THIS IS BRAIN";
std::string *prandom = &random;
std::string &rrandom = random;
std::cout << "Normal string " << random << std::endl;
std::cout << "Pointer string " << *prandom << std::endl;
std::cout << "Refe... | [
"lebogangpetsoane@tuta.io"
] | lebogangpetsoane@tuta.io |
e2fc824ffc5f5be88df63e6f98395fa947eabcdf | d4fc86172015538b134851d6b470997e60b9a1ce | /Validating Node/src/entry_dao.cpp | 214ec19461571d3912934eb3a3591116885a9430 | [
"BSD-3-Clause"
] | permissive | UDChub/UnifiedDigitalCurrency | 2fb6d41c1bf2429a69cfaab34c624f619ccc9b5c | 56f95eb313ef9522a640990290ac27482dc52951 | refs/heads/master | 2020-12-24T12:39:52.045088 | 2017-03-15T00:09:46 | 2017-03-15T00:09:46 | 72,968,575 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,997 | cpp | /*
Copyright (c) 2016-2017, Unified Digital Currency
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditi... | [
"noreply@github.com"
] | UDChub.noreply@github.com |
149286959f29b0a6b48110876a20a3ad2140f533 | fa0c642ba67143982d3381f66c029690b6d2bd17 | /Source/Module/Script/XSHI/Easy/Inc/EasyFunction.h | 4f0e477f674599e803ee1db0a2d506773b6d9442 | [
"MIT"
] | permissive | blockspacer/EasyGameEngine | 3f605fb2d5747ab250ef8929b0b60e5a41cf6966 | da0b0667138573948cbd2e90e56ece5c42cb0392 | refs/heads/master | 2023-05-05T20:01:31.532452 | 2021-06-01T13:35:54 | 2021-06-01T13:35:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 453 | h | //! @file EasyFunction.h
//! @author LiCode
//! @version 1.0
//! @date 2007.10
//! Copyright ...
#pragma once
namespace EGE
{
//----------------------------------------------------------------------------
// EasyFunction
//----------------------------------------------------------------------------
class... | [
"zopenge@126.com"
] | zopenge@126.com |
bff9a0e78d523143843e544afa461c8b85f21393 | 5429596f891b6554a4ec1d895f7fe489ba898089 | /sensors_ws/src/gpr_collect/src/s_server.cpp | 284d52b3d5ece0f26088440ca081669898d2a7bf | [] | no_license | je5349/TestRepo | 74b81c0f4b32e6b63d5bb1d3cff6a12d2372b6e0 | 0501dbf017a7c202ca5f576abb846d310c0d8e69 | refs/heads/master | 2021-02-11T20:24:12.654630 | 2020-03-03T02:45:25 | 2020-03-03T02:45:25 | 244,525,258 | 0 | 0 | null | 2020-03-03T02:43:03 | 2020-03-03T02:43:03 | null | UTF-8 | C++ | false | false | 3,391 | cpp | #include <iostream>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <cstdlib>
#include <unistd.h>
#include <stdint.h>
#include <bitset>
#include "gpr_collect/s_server.h"
using namespace std;
s_server::s_server(void){
}
void s_server::_initi... | [
"rupak92d@gmail.com"
] | rupak92d@gmail.com |
945df4304cdf11362f67e5510fdaf3d1368a6b70 | 8947812c9c0be1f0bb6c30d1bb225d4d6aafb488 | /01_Develop/libXMCocos2D/Source/extensions/CCArtPig/APSResource/Action/GraphicAction/Instant/APSInstantRotationAction.cpp | 89fb86f9e932e45e317515e4cb3adf092c66ea84 | [
"MIT"
] | permissive | alissastanderwick/OpenKODE-Framework | cbb298974e7464d736a21b760c22721281b9c7ec | d4382d781da7f488a0e7667362a89e8e389468dd | refs/heads/master | 2021-10-25T01:33:37.821493 | 2016-07-12T01:29:35 | 2016-07-12T01:29:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,081 | cpp | /* --------------------------------------------------------------------------
*
* File APSInstantRotationAction.cpp
* Author Y.H Mun
*
* --------------------------------------------------------------------------
*
* Copyright (c) 2012 ArtPig Software LLC
*
* http:... | [
"mcodegeeks@gmail.com"
] | mcodegeeks@gmail.com |
1f442bcc0730fed0d90d552db24a686ae8a13b80 | 5993680f8f77cb2f2c9c744f07c9892d4902982d | /A4/src/bsdfs/diffuse.h | 7277725d384cd696c216a416aff399e8b6de8b85 | [] | no_license | bryanjay28/ECSE446 | 7dc9cb390cb1eec74924a2bc536274aa243f6bc6 | ca0bd05a447c710e724f4a6cc4212d4cdd7f543e | refs/heads/master | 2022-03-21T22:53:53.424797 | 2019-12-01T22:06:10 | 2019-12-01T22:06:10 | 220,877,082 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,498 | h | /*
This file is part of TinyRender, an educative rendering system.
Designed for ECSE 446/546 Realistic/Advanced Image Synthesis.
Derek Nowrouzezahrai, McGill University.
*/
#pragma once
#include "core/core.h"
TR_NAMESPACE_BEGIN
/**
* Perfectly diffuse, Lambertian reflectance model
*/
struct DiffuseB... | [
"bryanjay@live.com"
] | bryanjay@live.com |
a03a8a268f4ad8400e4805318cbf6af8f5b6cc83 | 1ec086253005570c211cf55fe74c8886b2c483ef | /TKDGTT/Bai Tap/Bai Tap Giua Ky/TL.Nhom09.Bai_Toan_Tim_Cay_Bao_Trum_Toi_Thieu/Code/kruskal.cpp | 23f5d2410c4a71d90b7755383e375b6cad5713eb | [] | no_license | Du0ngkylan/C-Cpp | 8be2fc9632bb1c49b0eaac6166f9ead5deac4c83 | 37d973d510bafc5512fce2f2a81b0a4aa746b2e3 | refs/heads/master | 2021-06-26T05:58:17.969765 | 2020-11-27T03:52:06 | 2020-11-27T03:52:06 | 172,220,624 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,486 | cpp | //viet chuong trinh tim cay bao trum nho nhat bang thuat toan kruskal
#include <stdio.h>
#include <conio.h>
#include <stdlib.h>
typedef struct canh // cau truc du lieu cho mot canh
{
int dau;
int cuoi;
int trs;
}canh;
int m, n, *dd, *ddc, len;
//mang dd de danh dau cac canh
//mang ddc de danh dau cac canh
canh *tapc... | [
"duongmaixuan.k55tt@gmail.com"
] | duongmaixuan.k55tt@gmail.com |
04e61097e5dbf8b3968a0872919ab6d41809cde6 | b3704e0087eb281f434d7c46ecc153a4ed71e07e | /white_tea_signin/PlaySound.h | 5dd71893c217ef37b6117a9cd90ead34ddf9d469 | [] | no_license | a013152/white_tea_signin | 68bfd58e83b49d3664450597712f10fa472510b3 | d3843bd5159505fcd446d576c4a3ed3fa7f5fc3f | refs/heads/master | 2020-05-17T12:58:24.380197 | 2019-07-06T04:15:10 | 2019-07-06T04:15:10 | 183,723,690 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,236 | h | #pragma once
#include "stdafx.h"
#include <vector>
#pragma comment(lib,"WinMM.Lib")
#define GET_PLAYS CPlaySound::getInstance()
//音频播放类
class CPlaySound
{
CPlaySound();
void readSoundPath(); //读取配置
vector<string> vtSoundPath; //文件路径
vector<string> vtPlayTask; //播放任务
void playLoop(); //循环检测播放任务
bool playLoop... | [
"37610940+a013152@users.noreply.github.com"
] | 37610940+a013152@users.noreply.github.com |
beef87a4cf80fec823d4ce2c6ea67bc9c99c9cf5 | ed9b60d522e2dc7604db424b437adff722adfd85 | /qtFrameWork/widget/panwebviewwidget.h | 72e8f8e89ec35f3dcf244652471d60bf99b97e2b | [] | no_license | uUlmKnierim/everywhereDisplaySoftware | 0477ead2053e04a9b479ffd4115cc3dda41604ee | 3e0721ab74c8c96e050bf4748fe3a6182d83c064 | refs/heads/master | 2021-01-15T22:28:54.672469 | 2014-05-08T14:22:56 | 2014-05-08T14:22:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,593 | h | /****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Qt Software Information (qt-info@nokia.com)
**
** This file is part of the Graphics Dojo project on Qt Labs.
**
** This file may be used under the terms of th... | [
"pascal.knierim@gmail.com"
] | pascal.knierim@gmail.com |
448abb0a6d551b3cdeb94b8dd9c359b07ab739c6 | bfd3fe5e5a5e2168efde2966470ec96615ca0cb4 | /ZOO1/Duck.cpp | bc88d3976fd1bc856d92c13418ecfa7ba09be2a5 | [] | no_license | Aliluev/ZOO1 | 8fe17ff9a56f630739e156eb1efe62b0dd8d7d02 | c7d019f77a9d781d061d11e15fbcf06fe3f51a75 | refs/heads/master | 2021-06-13T22:01:50.634802 | 2020-04-09T18:53:56 | 2020-04-09T18:53:56 | 254,454,052 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 269 | cpp | #include "duck.h"
Duck::Duck():Bird()
{
color='w';
Long_neck = true;
Kluv=true;
nogi=2;
wool = false;
}
const char* Duck::Golos()
{
return("Kria, Kria");
}
void Duck::Setlong_neck(int b)
{
Long_neck= b;
}
int Duck::Getlong_neck()
{
return Long_neck;
}
| [
"tema_aliluev@outlook.com"
] | tema_aliluev@outlook.com |
5d2734f9e57fae0e84f6f5ae23372981f5185555 | 5248860e6c9d98a96fef5f8e8336fc8b0ada1b72 | /src/qt/askpassphrasedialog.cpp | 834d4ac13d174ebcc6dcfeb240df73dd46e7f9d8 | [
"MIT",
"OpenSSL"
] | permissive | EyCoTech/Eyco | 681b2d12ab843c393763b1a2df4c1e081e0c82c6 | ed211a1342cea10424063dfccfa7349a2f059c16 | refs/heads/master | 2020-04-05T13:15:04.302822 | 2019-03-29T12:28:51 | 2019-03-29T12:28:51 | 156,894,010 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,260 | cpp | #include "askpassphrasedialog.h"
#include "ui_askpassphrasedialog.h"
#include "guiconstants.h"
#include "walletmodel.h"
#include <QMessageBox>
#include <QPushButton>
#include <QKeyEvent>
extern bool fWalletUnlockStakingOnly;
AskPassphraseDialog::AskPassphraseDialog(Mode mode, QWidget *parent) :
QDialog(parent),... | [
"44905074+EyCoTech@users.noreply.github.com"
] | 44905074+EyCoTech@users.noreply.github.com |
8fd300164e45fbcf3f2340eca317a60d3b004ef6 | 6cec0cafe2bb30f53873a70f1436a51ae570601f | /15.11.17/Task5.cpp | b17a5403293569d5c158ee7538a94ef8a6359414 | [] | no_license | AntonDr/semesterone | fb9930356395ccb5aae792379b8a45de88277065 | ee098e20097b40e8d9708f4b3a4b6bace54898ac | refs/heads/master | 2021-08-31T14:20:50.404380 | 2017-12-21T16:52:31 | 2017-12-21T16:52:31 | 104,906,575 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 291 | cpp | #include <iostream>
#include "forStrings.h"
#include "funcfile.h"
using namespace std;
int main()
{
int const N = 109;
char arr[N], test[N];
int n, l;
cin.getline(arr, 108);
cin.getline(test, 108);
cin >> n;
strChange(arr, test, n);
cout << arr;
system("pause");
return 0;
} | [
"31773079+AntonDr@users.noreply.github.com"
] | 31773079+AntonDr@users.noreply.github.com |
48bd85c3dcecba103500ca997c6f2f43ee50b117 | cd584fbc26ecf1dbc2d2bf97ff5d169502aa18c3 | /2011/LAMPS_DPA/DPA03/anal_momentum_02.cc | c522e35477bbf4649567293661ca55034325ed22 | [] | no_license | SongkyoLee/KUNPL | 10b63177354c2416a28c8ddb9761113ad93613fe | f3200a70fa07a3d1873d67e1c52a2d502b506679 | refs/heads/master | 2016-09-12T15:15:17.911319 | 2016-05-09T12:07:44 | 2016-05-09T12:07:44 | 58,053,105 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,839 | cc | #include <fstream>
void anal_momentum_02() //fake nomalization version for out values to visualize
{
const Int_t n = 7;
Double_t in_Eloss[n] = {0.3, 0.4, 0.5, 0.6, 0.7, 0.8,0.9}; // large Eloss pnt
Double_t in_avg[n] = {0.31, 0.41, 0.51, 0.61, 0.71, 0.81, 0.91 }; //avg pnt
Double_t out_Eloss[n] = {0.291039, 0... | [
"songkyo.lee@cern.ch"
] | songkyo.lee@cern.ch |
8d1062672b40bdffd08ac78b3f4d762c182cee37 | 1f02870e62bac2a1fcafcbe46553eaa7a96ae8b0 | /src/qt/aboutdialog.cpp | 670294b9a7db3c7c6d149c7a19d37229833d6cc3 | [] | no_license | CryptocoinRevival/QuarkBar | fec284396444e4be90ed6dbeed31565429261ba0 | c0b48210577fb24b4c99200de344acaca5ba2f00 | refs/heads/master | 2020-03-31T07:34:39.873976 | 2014-09-30T16:17:47 | 2014-09-30T16:17:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 755 | cpp | #include "aboutdialog.h"
#include "ui_aboutdialog.h"
#include "clientmodel.h"
#include "clientversion.h"
AboutDialog::AboutDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::AboutDialog)
{
ui->setupUi(this);
// Set current copyright year
ui->copyrightLabel->setText(
tr("Copyright") + Q... | [
"ex@sd-58662.dedibox.fr"
] | ex@sd-58662.dedibox.fr |
a852ee9fe08332c06c192abf7555b64bdc7a3de9 | bdf2df91f029ee4099652819af965f1b72172c0a | /src/graphcnn/util/sparse/SparseAverageVertexPoolGrad.cc | d6c065e9a38ea281dcd52942a7f3ae276d3e01c4 | [] | no_license | rohand24/GraphCNN_evolution | 5c22b76ac22e7709bdd32acf9b2be1ca1cd0fb0d | 393cb93139fbcdbf16ba06eed4641b1c53ffd8ae | refs/heads/master | 2020-04-19T14:58:22.565034 | 2019-01-30T02:05:25 | 2019-01-30T02:05:25 | 168,260,121 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,837 | cc | #include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor"
#include "tensorflow/core/framework/op.h"
#include "tensorflow/core/framework/shape_inference.h"
#include "tensorflow/core/framework/op_kernel.h"
#include "tensorflow/core/framework/types.h"
#include "tensorflow/core/lib/core/blocking_counter.h"
#include "t... | [
"rndhamdhere@gmail.com"
] | rndhamdhere@gmail.com |
3022f35d298b170d40b8ecebd1fe8f452b27d1ee | 47f87e84750f6c3a7276e92f215252a2eeffaf01 | /51_MultiplyStrings/multiply.cpp | c44344cc970b35b2f23ad3dd1f80ebeb9b2bd364 | [] | no_license | FeiHe1984/LeetCode | 4c2d269069680e326533a78baa73330f78913a36 | bfe10aef237200dbeec7a9f2fade86b1717e7271 | refs/heads/master | 2021-01-01T17:23:31.708883 | 2018-08-24T23:05:20 | 2018-08-24T23:05:20 | 98,061,208 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 623 | cpp | class Solution {
public:
string multiply(string num1, string num2) {
string rs(num1.length() + num2.length(), '0');
for (int i = num1.length() - 1, d = rs.length() - 1; i >= 0; i--, d--)
{
int carry = 0, k = d;
for (int j = num2.length() - 1; j >= 0; j--, k--)
{
int a = num1[i] - '0';
int b = n... | [
"hpf1111990@gmail.com"
] | hpf1111990@gmail.com |
756ffeda1bbdce007e10ca2b1dc764aef1531904 | 36c31b485a5906ab514c964491b8f001a70a67f5 | /Codeforces/CF 1700 - 1799/CF1700/CF1700B.cpp | d3f2d201d43c1d6f445a625417758c37f80a101e | [] | no_license | SMiles02/CompetitiveProgramming | 77926918d5512824900384639955b31b0d0a5841 | 035040538c7e2102a88a2e3587e1ca984a2d9568 | refs/heads/master | 2023-08-18T22:14:09.997704 | 2023-08-13T20:30:42 | 2023-08-13T20:30:42 | 277,504,801 | 25 | 5 | null | 2022-11-01T01:34:30 | 2020-07-06T09:54:44 | C++ | UTF-8 | C++ | false | false | 1,476 | cpp | #include <bits/stdc++.h>
#define ll long long
#define sz(x) (int)(x).size()
using namespace std;
//mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
//uniform_int_distribution<int>(1000,10000)(rng)
ll binpow(ll a, ll b) {
ll res = 1;
while (b > 0) {
if (b & 1)
res = res *... | [
"mahajan.suneet2002@gmail.com"
] | mahajan.suneet2002@gmail.com |
5d3b249ac16a1b2376951b8bb02d93faaa880bd7 | b0d48608db249bab0a551a6185281ec8d5250139 | /install/include/intera_motion_msgs/TrajectoryOptions.h | 373c8ec8b5acc97ac1482adcf4dc9d758775ebe8 | [] | no_license | zzz622848/Sawyer_Ping_Pong | a4e5c03249f59991e467908ecd34b095c07b3e9d | 95077824f310b2eaaf032aa2bbcb622dc51c9712 | refs/heads/master | 2022-04-11T02:26:37.857852 | 2020-03-21T00:42:27 | 2020-03-21T00:42:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,908 | h | // Generated by gencpp from file intera_motion_msgs/TrajectoryOptions.msg
// DO NOT EDIT!
#ifndef INTERA_MOTION_MSGS_MESSAGE_TRAJECTORYOPTIONS_H
#define INTERA_MOTION_MSGS_MESSAGE_TRAJECTORYOPTIONS_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <... | [
"peterpennrichjochem@gmail.com"
] | peterpennrichjochem@gmail.com |
e075e03397032c99ebdb7e54f4d0e07cd16827de | 49941ddc8af7253de3a2d5de8639152aebf65b0d | /include/a/x.hpp | 36a1e4936d4041916c0a76288a9d16b7d6c0364e | [] | no_license | njlr/buck-include-next | bd4fb17739de023797d45d896769bd098dc0ce14 | 94da802935f22d0115297880bab1edc1a286e3c4 | refs/heads/master | 2020-03-29T15:40:45.296502 | 2018-09-24T08:39:39 | 2018-09-24T08:39:39 | 150,075,061 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 90 | hpp | #ifndef A_X_HPP
#define A_X_HPP
int foo() {
return 3;
}
#include_next <x.hpp>
#endif
| [
"njlr@users.noreply.github.com"
] | njlr@users.noreply.github.com |
0b82bf0eda19139801d8f466c4f12c4b1be3faf2 | 1af49694004c6fbc31deada5618dae37255ce978 | /chrome/chrome_cleaner/chrome_utils/extensions_util.cc | b4013ea56c5d02310e0c319c97572e16e5ad0bdb | [
"BSD-3-Clause"
] | permissive | sadrulhc/chromium | 59682b173a00269ed036eee5ebfa317ba3a770cc | a4b950c23db47a0fdd63549cccf9ac8acd8e2c41 | refs/heads/master | 2023-02-02T07:59:20.295144 | 2020-12-01T21:32:32 | 2020-12-01T21:32:32 | 317,678,056 | 3 | 0 | BSD-3-Clause | 2020-12-01T21:56:26 | 2020-12-01T21:56:25 | null | UTF-8 | C++ | false | false | 17,279 | cc | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/chrome_cleaner/chrome_utils/extensions_util.h"
#include <algorithm>
#include <array>
#include <map>
#include <memory>
#include <set>
#in... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
d394c37792b0f88e41f8679faeb7b04e2be15de6 | 35ced811eba6aaa40b5b85a9ca6587ff52cc4abb | /src/muscle/muscle/subfams.cpp | f6c66128db6b289150cb6d33dad31c037869cf7e | [] | no_license | Tubbz-alt/linnaeo | d13d889fb9161283172e2c413a7f80aceb553665 | 34be96d376206f1ec6cc02a679f7d7ab79aa1fa0 | refs/heads/master | 2023-03-19T21:55:22.568121 | 2021-02-18T12:58:42 | 2021-02-18T12:58:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,332 | cpp | #include "muscle.h"
#include "distfunc.h"
#undef INFINITY
const float INFINITY = float(1e29);
const unsigned NILL = uInsane;
static float *ShortestPathEstimate;
static unsigned *Predecessor;
static void GetMostDistantPair(DistFunc &DF, unsigned *ptrIndex1, unsigned *ptrIndex2)
{
const unsigned uNodeCount = DF.GetC... | [
"wolfe.aarond@gmail.com"
] | wolfe.aarond@gmail.com |
4d65372b583073f80c0392ac644bd8e139f84c49 | 3f7aa1191a670b4b209168171ec0b3b8423e6966 | /main.cpp | 8ac7ddf866890e7ea82e60f6593529b7be307b1e | [] | no_license | kyledunaway/windmill | 70010c5de8f1a2f5fcfcfc7ca736ea6e25214a76 | 78ed6f4ddef4058fe72ce7fc2ccbc4d28306297a | refs/heads/master | 2016-09-06T19:39:41.915367 | 2013-10-31T23:09:23 | 2013-10-31T23:09:23 | 14,002,625 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,907 | cpp | /**
* Windmill
* CSCI 566
* Kyle Dunaway
* CSC Chico
*
*
* main.cpp
*
**/
#include "windmill.h"
//main windmill object for program
Windmill windmill;
//function declarations before int main
int initialize(int, char**);
void displayCallback(void);
void keyboardWrapper(unsigned char, int, int);
void registerCallbac... | [
"kdunaway1@mail.csuchico.edu"
] | kdunaway1@mail.csuchico.edu |
a5846872c1f8eeee7036d805dfb4bccbe7f7f20f | c4338ebd1bd0358d9abc1f1f7350e37ab0314c2f | /Atcoder/ABC176C.cpp | dc38cdc5b599be65de3f45c98c1a028241dad75a | [] | no_license | mt-revolution/Competition | 4b93a43230aff1f11e6614fcb45bb999ecdd633b | 6da911b1674d8d6ec2c27f073f35a935972547e3 | refs/heads/master | 2023-02-26T08:16:40.597143 | 2021-01-30T14:17:05 | 2021-01-30T14:17:05 | 300,127,965 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 308 | cpp | #include<bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
vector<int> A(N);
long long sum = 0;
for (int i = 0; i < N; i++) {
cin >> A[i];
}
for(int i = 1; i < N; i++) {
if(A[i] < A[i-1]) {
sum += A[i-1] - A[i];
A[i] = A[i-1];
}
}
cout << sum << endl;
return 0;
} | [
"tekepao@gmail.com"
] | tekepao@gmail.com |
0816876ac38f92f42d9f622b65300562d09bcd13 | d0bea371dccdd04230737c9394fb411500e9062e | /moe/optimal_learning/cpp/gpp_knowledge_gradient_optimization.hpp | ad20df85e0bc0e09a493e83aaceb7e7995d3fef3 | [
"Apache-2.0"
] | permissive | HaotianLiu/qKG | 5e19cfdf9c66bcc0a9d53e3d298b183410c26f17 | afbf94fc0291515333d78a0b2cf582c8c739a146 | refs/heads/master | 2021-01-21T13:44:11.045141 | 2017-05-21T02:50:05 | 2017-05-21T02:50:05 | 91,814,371 | 1 | 0 | null | 2017-05-19T14:30:03 | 2017-05-19T14:30:02 | null | UTF-8 | C++ | false | false | 70,270 | hpp | /*!
\file gpp_knowledge_gradient_optimization.hpp
\rst
1. OVERVIEW OF KNOWLEDGE GRADIENT WHAT ARE WE TRYING TO DO?
2. IMPLEMENTATION NOTES
3. CITATIONS
**1. OVERVIEW OF KNOWLEDGE GRADIENT; WHAT ARE WE TRYING TO DO?**
.. Note:: these comments are copied in Python: interfaces/__init__.py
The opti... | [
"wujian046@gmail.com"
] | wujian046@gmail.com |
0a40f1a30962be48ca6fee59b09a78bac26ce154 | 87d89b7d44af23b6512c6e6c8806010434a05a07 | /application/database.hpp | 9151cec06816693f3a0e2c300309f5bb5adc97b9 | [] | no_license | vellw/serverFly | 51d34abb9f6b9bce667535387f06e5dda564cb9d | 15d19351775dd69639ec3848d98244cb675b4727 | refs/heads/master | 2020-03-25T17:13:33.895376 | 2019-02-13T15:05:08 | 2019-02-13T15:05:08 | 143,969,244 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 409 | hpp | //
// Created by seedsone on 18-8-8.
//
#ifndef SERVERFLY_DATABASE_HPP
#define SERVERFLY_DATABASE_HPP
typedef struct
{
char *host;
unsigned short port;
char *username;
char *password;
char *database;
} database;
database database_conf = {
.host = "",
.port = 3306,
.username... | [
"vellw1002@gmail.com"
] | vellw1002@gmail.com |
c9563e6b60d263a9ac32d1cb217824b2159242dd | 79583cb52f7f9d32118b117e6a5df688216de135 | /baekjoon/test_cpp/Car.h | 32529e0cc3f2ad89fa92a5322f7f2df7efa397bf | [] | no_license | danaser72/baekjoon | f8f15096c90a04d59d034a6a8e25e6b066c0144d | bf3fb1e035f5b5e4c05ebf28865512addee818b2 | refs/heads/master | 2021-04-27T18:19:06.754507 | 2018-07-23T12:06:37 | 2018-07-23T12:06:37 | 122,337,625 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 186 | h | #pragma once
#include <string>
using namespace std;
class Car {
protected :
int cost;
char* description;
public :
virtual int getCost() = 0;
virtual string getDescription() = 0;
}; | [
"worl5604@naver.com"
] | worl5604@naver.com |
be004240831e991e8e2639e614d03619b7c4978c | bb6ce7611e30ac6837683738001dbb1b5f32362b | /SmartZip_Test/SmartZip_src/ZipEXView.cpp | 10f8aa01cf3aaf6a1739311b84683121ee2be8c3 | [] | no_license | jkoppel/medicalinfo | 982c65be81cad33fae41209e74fce97dd64c6f70 | 488fe78f20f239118cf3a6685924c950f1675984 | refs/heads/master | 2021-01-10T09:50:56.960267 | 2013-06-16T15:08:02 | 2013-06-16T15:08:02 | 48,212,799 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,262 | cpp | // ZipEXView.cpp : implementation of the CZipEXView class
//
#include "stdafx.h"
//#include "ZipEX.h"
#include "smartzip.h"
//#include "ZipEXDoc.h"
//#include "ZipEXView.h"
#include "ExtractDlg.h"
#include "progress.h"
#include "SmartZipDoc.h"
#include "zipexview.h"
#include "TreeNode.h"
#include "NewWizD... | [
"Huangwenyong@60799251-6661-9ef8-57ca-37beb366faa2"
] | Huangwenyong@60799251-6661-9ef8-57ca-37beb366faa2 |
f004f09c0f9189a5592a371f220962b44ca06582 | b71b8bd385c207dffda39d96c7bee5f2ccce946c | /testcases/CWE762_Mismatched_Memory_Management_Routines/s05/CWE762_Mismatched_Memory_Management_Routines__new_array_free_long_06.cpp | 27e51af9d1269694ce1cfa3e48bd07e9e510da74 | [] | no_license | Sporknugget/Juliet_prep | e9bda84a30bdc7938bafe338b4ab2e361449eda5 | 97d8922244d3d79b62496ede4636199837e8b971 | refs/heads/master | 2023-05-05T14:41:30.243718 | 2021-05-25T16:18:13 | 2021-05-25T16:18:13 | 369,334,230 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,296 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__new_array_free_long_06.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__new_array_free.label.xml
Template File: sources-sinks-06.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Management Rou... | [
"jaredzap@rams.colostate.edu"
] | jaredzap@rams.colostate.edu |
50d841a4ce7239837e1afd7431bcf7a42f9cdde1 | 873002d555745752657e3e25839f6653e73966a2 | /model/PageResource«VendorResource».cpp | cddb2e4832574df56559bbb08d5d82f3a72ad4c5 | [] | no_license | knetikmedia/knetikcloud-cpprest-client | e7e739e382c02479b0a9aed8160d857414bd2fbf | 14afb57d62de064fb8b7a68823043cc0150465d6 | refs/heads/master | 2021-01-23T06:35:44.076177 | 2018-03-14T16:02:35 | 2018-03-14T16:02:35 | 86,382,044 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,838 | cpp | /**
* Knetik Platform API Documentation latest
* This is the spec for the Knetik API. Use this in conjunction with the documentation found at https://knetikcloud.com.
*
* OpenAPI spec version: latest
* Contact: support@knetik.com
*
* NOTE: This class is auto generated by the swagger code generator 2.3.0-SNAPS... | [
"shawn.stout@knetik.com"
] | shawn.stout@knetik.com |
96ecd173c7bcf7dc73163e3465ac7fc5784e6f1b | 8bf1f3a08d012055f9e244fc6e2c9c6caddd14b0 | /cpp/DIS7/StorageFuelReload.h | 72bc816c81d7eae228b799ad8d1440a0663ba058 | [
"BSD-3-Clause"
] | permissive | mcgredonps/open-dis-cpp | 9724e41a82503215c56cdbd112a4a24b3b46f437 | 6c060f508fb369229ff54a371e75d536cb68ce5a | refs/heads/master | 2021-01-10T07:28:59.401127 | 2015-10-01T04:38:22 | 2015-10-01T04:38:22 | 43,478,826 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,220 | h | #ifndef STORAGEFUELRELOAD_H
#define STORAGEFUELRELOAD_H
#include <DIS/DataStream.h>
#include <DIS/msLibMacro.h>
namespace DIS
{
// For each type or location of Storage Fuel, this record shall specify the type, location, fuel measure- ment units, reload quantity and maximum quantity for storage fuel either for the wh... | [
"mcgredo@Dons-Mac-mini.local"
] | mcgredo@Dons-Mac-mini.local |
40899db78ccc51d0f6fd6de1cd762bbfe558b6a6 | bb35a689812fc097e5ca6ca6d00509d1a664efb7 | /DeepMimicCore/sim/CtCtrlUtil.h | f6701ae1eddb83bd58495d68dd279be7c000d31d | [
"MIT"
] | permissive | rangsansith/DeepMimic | 9461013c414aac48f1e2e79d1bf19b677af4834e | cc226a2363310683fe8e6753b7fdc75fed1918bd | refs/heads/master | 2020-04-04T15:40:35.425215 | 2018-10-21T15:21:25 | 2018-10-21T15:21:25 | 156,047,284 | 1 | 0 | MIT | 2018-11-04T03:53:36 | 2018-11-04T03:53:36 | null | UTF-8 | C++ | false | false | 2,330 | h | #pragma once
#include "util/MathUtil.h"
#define ENABLE_PD_SPHERE_AXIS
class cCtCtrlUtil
{
public:
static void BuildBoundsTorque(const Eigen::MatrixXd& joint_mat, int joint_id, Eigen::VectorXd& out_min, Eigen::VectorXd& out_max);
static void BuildBoundsVel(const Eigen::MatrixXd& joint_mat, int joint_id, Eigen::Vect... | [
"jasonpeng142@hotmail.com"
] | jasonpeng142@hotmail.com |
108b3d548e22d2e8bca4bb0186b66e98239f36c6 | 762622feb719631404255b6800e51044dd325c8e | /codeforces/206Div2/3.cpp | 32df69f5c545213b7f8d0f5010468a8099b8de4c | [] | no_license | SudShekhar/Programming | 31b96a7ab6251dd8f8a1db1f2feb90cfc9b2f9e8 | f240d84aeaa0ebb933e95bbb932a6258c24247cc | refs/heads/master | 2020-06-02T09:23:24.785376 | 2014-12-12T16:48:02 | 2014-12-12T16:48:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,597 | cpp | // Standard includes
#include<cstdio>
#include<iostream>
#include<cstdlib>
#include<cmath>
#include<cstring>
#include<limits.h>
#include<string.h>
//Data Structures
#include<algorithm>
#include<vector>
#include<string>
#include<set>
#include<map>
#include<utility>
#include<stack>
#include<queue>
using namespace std;
... | [
"sudshekhar02@gmail.com"
] | sudshekhar02@gmail.com |
ed2ec64731ea89649f0a8249ce8d5edadc0787ad | e3c03bb58f899934b555f75eec50ca3a93bd2227 | /below2.1/romans.cc | f969c7151548b3c1c67e8d199b92d0c492f84157 | [
"Apache-2.0"
] | permissive | notwatermango/Kattis-Problem-Archive | 62ab0ab85abc2d86d8b3c96ca6cf652eb9242c0a | bce1929d654b1bceb104f96d68c74349273dd1ff | refs/heads/main | 2023-07-30T09:52:55.535275 | 2021-09-22T13:24:03 | 2021-09-22T13:24:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 182 | cc | #include <iostream>
#include <iomanip>
using namespace std;
int main(){
double n;
cin>>n;
n = n*1000*5280/4854;
cout<<fixed<<setprecision(0)<<n;
return 0;
} | [
"67574872+danzel-py@users.noreply.github.com"
] | 67574872+danzel-py@users.noreply.github.com |
b8903bcc3dd3407c61e5ee3c08a883fc539584e7 | c72ea3e81a87cb8d7042b87e59ca89c1a80622e4 | /3_Axis_controlDlg.cpp | 26c609a6940d40f846745330077f05b64720a200 | [] | no_license | liuyl110/test_interpolation | 7b0b786d903cf1fec93b1301fa9bea4dace717c2 | a8643a3ce8349ee304948a6f05e25a99a5bc75b7 | refs/heads/master | 2020-03-25T17:45:01.876599 | 2017-05-27T08:34:52 | 2017-05-27T08:34:52 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 28,819 | cpp | // 3_Axis_controlDlg.cpp : implementation file
//
#include "stdafx.h"
#include "3_Axis_control.h"
#include "3_Axis_controlDlg.h"
#include "head.h"
#include "gts.h"
#include <string>
#include "string.h"
#include "math.h"
//#include "stack.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] ... | [
"1398215919@qq.com"
] | 1398215919@qq.com |
0c96afc46fcd8e5edfe71f27d340c608abcfd39f | fb95c5a6c6998338cb37bcb91b9cdff2939c5b04 | /Lab2_DSA/MultiMap.h | 4a05a1ad063d834f90be1586e29cfdb9f257c8b1 | [] | no_license | DariaRadu2001/DSA | 3e34a9f0590ff1de1564f7b9f44a01f122f80a07 | b6db5e69e42d9a0aed8b2596fb292404af1b2cd8 | refs/heads/main | 2023-05-26T04:50:20.453324 | 2021-06-06T09:00:52 | 2021-06-06T09:00:52 | 356,075,601 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,345 | h | #pragma once
#include<vector>
#include<utility>
//DO NOT INCLUDE MultiMapIterator
using namespace std;
//DO NOT CHANGE THIS PART
typedef int TKey;
typedef int TValue;
typedef std::pair<TKey, TValue> TElem;
#define NULL_TVALUE -111111
#define NULL_TELEM pair<int,int>(-111111, -111111)
class MultiMapIterat... | [
"noreply@github.com"
] | DariaRadu2001.noreply@github.com |
32dc8d4a2887a8fba0128c42f65272e019411a7c | aa411cd752f39363c4b27478b294b92dc53b6c39 | /plugins/websocket/src/Serialization/TorrentSerializer.cpp | 90cd81f1e4ed4fbfc15ae3240ab1e14829b8940f | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | hbcbh1999/picotorrent | 09b2cb3ca58745d161d62d213535b7684c57534a | 884a2dd6c69cf3f5926cb30957988d84af558e14 | refs/heads/develop | 2021-07-17T00:15:04.688040 | 2017-10-22T11:02:06 | 2017-10-22T11:02:06 | 107,987,981 | 0 | 1 | null | 2017-10-23T13:44:04 | 2017-10-23T13:44:04 | null | UTF-8 | C++ | false | false | 1,193 | cpp | #include "TorrentSerializer.hpp"
#include <picotorrent/utils.hpp>
namespace pj = picojson;
using Serialization::TorrentSerializer;
pj::object TorrentSerializer::Serialize(Torrent const& torrent)
{
pj::object obj;
obj["info_hash"] = pj::value(torrent.infoHash);
obj["name"] = pj::value(torrent.name);
o... | [
"noreply@github.com"
] | hbcbh1999.noreply@github.com |
d2190cd7651c5d0c871c56151fd9a6ebe8af15ca | 2a4e7c5a3b218d8a828d134dd074c29dd8469f81 | /2_Transient_State_Conduction/144000/gradTx | ff42515f62719ca5fa3d8e9dbbd62342a0ed59fd | [] | no_license | KarimHassanieh/HeatTransfer_OpenFOAM | c462767dd9a107cf307187643727c9f54cb9939d | 47e45330f2de84c11c7bb4b6309462d78fa7ac37 | refs/heads/main | 2023-07-13T16:18:07.740721 | 2021-08-13T13:47:11 | 2021-08-13T13:47:11 | 393,484,148 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,833 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 9
\\/ M anipulation |
\*-------... | [
"karimhassanieh@gmail.com"
] | karimhassanieh@gmail.com | |
55764e48f3b93fa935e9eb7af211618a6f4e1c84 | 8296da842bd3a9d3cb01140a3a66a81414cf36ac | /krnln/src/e/lib/krnln/DateTimeUtils.cpp | 7870f87edf3352163935e3db58013a7edce2a2e2 | [
"MIT"
] | permissive | OpenEpl/EocLib_krnln | c2d849924ab10461ef05e24b8cb73a52c0248a81 | 27294754f67ff67dcc7688e93edc40e5697d2b8f | refs/heads/master | 2022-12-03T07:58:29.570347 | 2020-08-02T10:14:40 | 2020-08-02T10:14:40 | 179,919,026 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,187 | cpp | #include "DateTimeUtils.h"
#include <Windows.h>
#include <sstream>
#include <cmath>
#include <chrono>
e::system::string e::lib::krnln::DateTimeUtils::DateTimeToString(e::system::datetime value, std::optional<int> mode)
{
bool convertDate, convertTime;
switch (mode.value_or(ConvertDateTime))
{
case Conv... | [
"1354092549@qq.com"
] | 1354092549@qq.com |
9223a08da97fad92b602e696d597681312ac43b5 | 29f6b4804f06b8aabccd56fd122b54e4d556c59a | /CodeAnalysis/SourceMeter_Interface/SourceMeter-8.2.0-x64-linux/CPP/Demo/log4cplus-1.1.0/tests/priority_test/main.cxx | 62653e158178075568bb1dcbbd493f5af9500c47 | [
"Apache-2.0",
"BSD-2-Clause"
] | permissive | obahy/Susereum | 6ef6ae331c7c8f91d64177db97e0c344f62783fa | 56e20c1777e0c938ac42bd8056f84af9e0b76e46 | refs/heads/master | 2020-03-27T11:52:28.424277 | 2018-12-12T02:53:47 | 2018-12-12T02:53:47 | 146,511,286 | 3 | 2 | Apache-2.0 | 2018-12-05T01:34:17 | 2018-08-28T21:57:59 | HTML | UTF-8 | C++ | false | false | 2,316 | cxx |
#include "log4cplus/logger.h"
#include "log4cplus/consoleappender.h"
#include "log4cplus/loglevel.h"
#include <log4cplus/loggingmacros.h>
#include <iomanip>
#include <iostream>
using namespace std;
using namespace log4cplus;
// Forward Declarations
void writeLogMessage();
int
main()
{
cout << "Entering main()... | [
"abelgomezr45@gmail.com"
] | abelgomezr45@gmail.com |
b863348bc6b056bab8c2ed8a6694df89a208ddc8 | 31f13dbc98bd033751c6f9a3696ceb9080b011d6 | /UVA_11561.cpp | c939f17fdec67c99252742dd13df2a17823528f7 | [] | no_license | mdfarhansadiq/UVA-Online-Judge-Solutions | bf44e9758a0fb546c92f35762ccdc2bd5336344b | 853d86c7516c77109c7a5901377bcf8c59df5487 | refs/heads/master | 2022-02-19T01:47:25.702785 | 2019-10-01T14:28:35 | 2019-10-01T14:28:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,682 | cpp | #include<bits/stdc++.h>
using namespace std;
int visited[55][55], counter;
int row, column;
char G[55][55];
int dx[] { 1, -1, 0, 0 };
int dy[] { 0, 0, 1, -1 };
struct node
{
int x, y;
};
void Reset()
{
for(int i=0; i<55; i++)
{
for(int j=0; j<55; j++ )
{
G[i][j] = 0;
... | [
"noreply@github.com"
] | mdfarhansadiq.noreply@github.com |
a7be304ba5d6fc05e13a8a6310c1c1f7092d1c91 | 2bda10ca85d566fbc5da9906f251dd7bf57ea069 | /apps/clock/clock.cpp | a90bed13f09395f502160d4372648e7c80fdaa47 | [
"MIT"
] | permissive | reymontero/CactusOS | d8176891861f9858eac043f225b304c8cefc4dd2 | cfe8d3043943930cadea4ec7b33ebcd203d4e743 | refs/heads/master | 2023-04-29T13:51:00.787869 | 2021-05-25T16:57:20 | 2021-05-25T16:57:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,656 | cpp | #include <new.h>
#include <gui/gui.h>
#include <gui/directgui.h>
#include <convert.h>
#include <time.h>
#include <datetime.h>
#include <string.h>
#include <math.h>
#include <log.h>
#include <proc.h>
int main()
{
GUI::SetDefaultFont();
Context* mainScreen = GUI::RequestContext(160, 160, GUI::Width-160, 0);
... | [
"remcovanhomelen@gmail.com"
] | remcovanhomelen@gmail.com |
24ba742a9aba19f61301420947d209918dc7eecc | 536656cd89e4fa3a92b5dcab28657d60d1d244bd | /third_party/blink/renderer/core/css/properties/shorthands/shorthands_custom.cc | 657fd78d60460866a851c3b02edd3d9220095333 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LGPL-2.0-only",
"BSD-2-Clause",
"LGPL-2.1-only",
"BSD-3-Clause",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft"
] | permissive | ECS-251-W2020/chromium | 79caebf50443f297557d9510620bf8d44a68399a | ac814e85cb870a6b569e184c7a60a70ff3cb19f9 | refs/heads/master | 2022-08-19T17:42:46.887573 | 2020-03-18T06:08:44 | 2020-03-18T06:08:44 | 248,141,336 | 7 | 8 | BSD-3-Clause | 2022-07-06T20:32:48 | 2020-03-18T04:52:18 | null | UTF-8 | C++ | false | false | 120,235 | 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 "base/stl_util.h"
#include "third_party/blink/renderer/core/css/css_content_distribution_value.h"
#include "third_party/blink/renderer/core/css/c... | [
"pcding@ucdavis.edu"
] | pcding@ucdavis.edu |
bf0b418414d7f9de0344d5c03df3a49327163b62 | 648483f4c76028fedc1675aae12fdec8878fc38a | /project4/gtest/MockInteractionReader.hpp | 76e3429ab60a0d04d89ce6bbf3ca93698593a63e | [] | no_license | yangt8/ICS-45C | 27942ba96c9c247fdbbebc1f261c803adab08669 | 612a58b4bc56a9e66e9acd1c2e890574bff21577 | refs/heads/master | 2022-05-08T14:24:46.496890 | 2019-11-15T05:28:10 | 2019-11-15T05:28:10 | 221,850,226 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 909 | hpp | // MockInteractionReader.hpp
//
// ICS 45C Winter 2019
// Project #4: People Just Want to Play with Words
//
// A derived class of InteractionReader that is constructed with a vector of
// Interactions. Rather than reading the interactions from the keyboard,
// it returns the Interactions in that vector, in the order ... | [
"noreply@github.com"
] | yangt8.noreply@github.com |
84b30cbcab34e7b3e47689f6126fdb5e11e4a9b3 | 8e7f7a016cef8268abd8edbdc6ec665c806b3307 | /theme.h | 7abb8759f0bfaad3560e0b5a6ff600faf98eea91 | [] | no_license | caoyanjie/Sprite | d94ac59012a00257a955d981f7a623aca0d32766 | 3e93933c11d7a9426bcc915522a95baa1f38cb13 | refs/heads/master | 2021-01-10T12:59:43.144484 | 2016-02-19T05:28:45 | 2016-02-19T05:28:45 | 44,003,154 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,305 | h | #ifndef THEME_H
#define THEME_H
#include <QWidget>
class QLabel;
class QToolButton;
class Theme : public QWidget
{
Q_OBJECT
public:
explicit Theme(QWidget *parent = 0);
protected:
void mousePressEvent(QMouseEvent *event);
void mouseMoveEvent(QMouseEvent *event);
bool eventFilter(QObject *, QEvent... | [
"mister_wisdom@sina.com"
] | mister_wisdom@sina.com |
1533a7fc8b74228980029d35f087ed1c57c0ffb7 | c057056698090c8fe285a027535f0fd35eb00b01 | /OpenCVWindow.h | ec9cd5801ae4effd3b91bc5c16b0f5a2df06ee7e | [] | no_license | semiartist/SmartTable | c161e4874f47151941b58c74ed051a5e7fccb6a0 | bca173d085c1850f88d32004aacb794d7f615f83 | refs/heads/master | 2021-01-12T09:22:37.814547 | 2017-01-20T03:36:56 | 2017-01-20T03:36:56 | 76,153,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,533 | h | #ifndef OPENCVWINDOW_H
#define OPENCVWINDOW_H
#include <QDialog>
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/core/core.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv/cv.h"
#include <QImage>
#include <QTimer>
#include <string>
#include <fstream>
namespace Ui {
class OpenCVWindow;
}
class Op... | [
"semiartist@ymail.com"
] | semiartist@ymail.com |
0ec48637e8d5c0142a3b97aef4c381349e5da4e9 | 33551c791dcf51edf67ee7fca1b64805559440df | /libhoomd/updaters_gpu/TwoStepNVERigidGPU.h | a8bc2fc8be02162855585a1e646419b792df5da9 | [] | no_license | qshao/hoomd-blue | f5562ba4303ec2579512fe55986125c053df1680 | b17f91bfc7806279750d6460df30d7115e4f563c | refs/heads/master | 2021-01-12T19:18:17.778057 | 2016-03-10T23:45:38 | 2016-03-10T23:45:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,675 | h | /*
Highly Optimized Object-oriented Many-particle Dynamics -- Blue Edition
(HOOMD-blue) Open Source Software License Copyright 2009-2016 The Regents of
the University of Michigan All rights reserved.
HOOMD-blue may contain modifications ("Contributions") provided, and to which
copyright is held, by various Contributor... | [
"joaander@umich.edu"
] | joaander@umich.edu |
6b7a17d64cc9e34d7498de9e1d75f307dfd7961a | e827720c46a798f6bf0a2d1ea401a98e58e52040 | /Graphite/src/Graphite/Renderer/RenderCommand.cpp | e53df5b99099180ab338ae61885bccd9a6de2c37 | [
"Apache-2.0"
] | permissive | abish5/Graphite | 064f4f1f09d854b4d9ae03841e0b4be3e39d3ae1 | eeb491673eddaf08d3056bf390ae6b8e6dcaf70e | refs/heads/main | 2023-07-03T01:00:11.204769 | 2021-08-10T02:17:03 | 2021-08-10T02:17:03 | 378,254,462 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 186 | cpp | #include "gppch.h"
#include "RenderCommand.h"
#include "Platform/OpenGL/OpenGLRendererAPI.h"
namespace Graphite {
RendererAPI* RenderCommand::s_RendererAPI = new OpenGLRendererAPI;
} | [
"adambishow87@gmail.com"
] | adambishow87@gmail.com |
a5c17dfed240d7b8734fa478ada3e99b15459017 | 327237c9289a8f90cf475ed2a093585159a2db5b | /cout.cpp | 44ac6ca2797048162c394bc050007d6ed3c6b491 | [] | no_license | izzybogart/Class_Act_1_330 | 62aca69d41a292fb73d76f5c42f107d8cdada4a5 | 4028232f7f6ff40d1a2b019b643d81b636af9322 | refs/heads/main | 2023-03-09T05:14:13.347110 | 2021-02-18T17:09:43 | 2021-02-18T17:09:43 | 340,091,578 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 109 | cpp | #include<iostream>
#include<string>
using namespace std;
int main() {
string s;
cin>>s;
cout<<s<<endl;
}
| [
"izzybogart@gmail.com"
] | izzybogart@gmail.com |
da0c237602c512a0112ce4ccba71e32e5b169faf | 19a69269b014bfd35be3642acc3117db9cbbf793 | /asteria/test/github_71.cpp | 77897b030ea89a87de9dc8e810625d48b2708d78 | [
"BSD-3-Clause"
] | permissive | stlcours/asteria | 9accf7db08ac27beffa8399fbef6442714459443 | b567e6463b1b6c1e7b8f28fe09b3c03cb4681a33 | refs/heads/master | 2023-08-13T06:10:36.405545 | 2021-09-20T16:15:53 | 2021-09-20T16:15:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 647 | cpp | // This file is part of Asteria.
// Copyleft 2018 - 2021, LH_Mouse. All wrongs reserved.
#include "utils.hpp"
#include "../src/simple_script.hpp"
using namespace asteria;
int main()
{
Simple_Script code;
code.reload_string(
sref(__FILE__), __LINE__, sref(R"__(
////////////////////////////////////////... | [
"lh_mouse@126.com"
] | lh_mouse@126.com |
e0ea114b5459e6b66e5439ec3ff9f0e29a70903e | d6b4bdf418ae6ab89b721a79f198de812311c783 | /tcss/include/tencentcloud/tcss/v20201101/model/OpenTcssTrialRequest.h | f41e12f07b972ef8cbc73f4fafa1b4df94259e98 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp-intl-en | d0781d461e84eb81775c2145bacae13084561c15 | d403a6b1cf3456322bbdfb462b63e77b1e71f3dc | refs/heads/master | 2023-08-21T12:29:54.125071 | 2023-08-21T01:12:39 | 2023-08-21T01:12:39 | 277,769,407 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,510 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
67cbb0211e509ecd85da53701ccf34454c611036 | bb39e833f69b0605ba2e551dcf512780e1fdf6e0 | /src/primitives/transaction.h | 11859b0ad5fcc294bedf2359808b9bb2e16b71f3 | [
"MIT"
] | permissive | jonprints/econocalypse-source | a870a6a8faf9798af913281670cbcaec015d7de0 | 1bea7ab59edf38867dc976eb1e9f21c0c001f2f8 | refs/heads/master | 2020-06-09T07:21:23.687780 | 2019-06-23T22:31:40 | 2019-06-23T22:31:40 | 193,399,038 | 0 | 0 | MIT | 2019-06-23T21:55:15 | 2019-06-23T21:55:15 | null | UTF-8 | C++ | false | false | 9,774 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_PRIMITIVES_TRANSACTION_... | [
"dobbscoin@gmail.com"
] | dobbscoin@gmail.com |
3528652b5ff515e819cb79e49a1017045fc46ac1 | df8296e2f13de53f75aa09611f5f808ffbc3fe25 | /src/meta/processors/admin/RestoreProcessor.h | 5b1091a237e73d0e38c7c9ba1018716e3b7ff7aa | [
"Apache-2.0"
] | permissive | CPWstatic/nebula | 5a8fa110898a456e52a2f9a449dbcf697b53a9b7 | 82727684962f0db66cb6d90d2f1977f2be82237a | refs/heads/master | 2022-07-13T03:28:33.833861 | 2022-03-04T10:31:10 | 2022-03-04T10:31:10 | 190,519,729 | 0 | 0 | null | 2019-06-06T05:28:33 | 2019-06-06T05:28:33 | null | UTF-8 | C++ | false | false | 1,402 | h | /* Copyright (c) 2020 vesoft inc. All rights reserved.
*
* This source code is licensed under Apache 2.0 License.
*/
#ifndef META_RESTOREPROCESSOR_H_
#define META_RESTOREPROCESSOR_H_
#include "meta/processors/BaseProcessor.h"
namespace nebula {
namespace meta {
/**
* @brief Rebuild the host relative info after ... | [
"noreply@github.com"
] | CPWstatic.noreply@github.com |
4afef5a9f318dc7d2de2fdcabc729ceb7174a607 | 3268033367642dcfb8ae75247b8e0748a4e919c2 | /torch.h | e27485e842a77fbb682326a2981d92efd50627d9 | [] | no_license | grsoares21/ProjectGraphique3D | d46036f4121b641f4f6f6954d010556060d59733 | 928a48448f25ba245d29768d5cc91dc217638f69 | refs/heads/master | 2021-01-10T10:58:46.858616 | 2015-12-01T23:06:52 | 2015-12-01T23:06:52 | 47,223,141 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 436 | h | #ifndef TORCH_H
#define TORCH_H
#include "renderable.h"
#ifndef __APPLE__
#include <GL/glut.h>
#else
#include <GLUT/glut.h>
#endif
#include <QGLViewer/vec.h>
#include "cylinder.h"
#include "fire.h"
class Torch : public Renderable
{
//Attributes
private:
float size;
Fire *fire;
//Constructor
public:
Torc... | [
"bernardo.de-freitas-zamperetti@ensimag.grenoble-inp.fr"
] | bernardo.de-freitas-zamperetti@ensimag.grenoble-inp.fr |
4bdde02755cecb98875e146fbfde97d85607e092 | 2533a54166d39a40f0247a8efbb12753f6371f03 | /tinh_tong_phan_so.cpp | b9b08e6987dc8d435470bf92512ed7148a1d5ef3 | [] | no_license | trantrangntt/THCS2 | cf53cd5cff9471480465bf0628a7a3b011db288c | 6856afba9f2f85b99c9d3741e6c7fe5a5eebd1ce | refs/heads/master | 2023-08-22T04:23:27.176682 | 2021-10-19T10:58:01 | 2021-10-19T10:58:01 | 412,101,800 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 452 | cpp | #include <bits/stdc++.h>
using namespace std;
struct PhanSo
{
long long t, m, k;
};
void nhap(PhanSo &a)
{
cin >> a.t >> a.m;
}
PhanSo tong(PhanSo &a, PhanSo &b)
{
PhanSo p;
p.t = a.t * b.m + b.t * a.m;
p.m = a.m * b.m;
p.k = __gcd(p.t, p.m);
p.t = (p.t) / p.k;
p.m = (p.m) / p.k;
return p;
}
void in(PhanSo &a)... | [
"ngthutrang1107@gmail.com"
] | ngthutrang1107@gmail.com |
7fff617253b51d0f11a558d967d24fae32e14415 | f0bd8904ba0ae01f2365445ba9d985daa220f987 | /TextureManager.cpp | ca21bad82868b3422c21a9717167bae53ec750b7 | [] | no_license | Phishfood/UCLAN-sparta | 8742f713e4359f65b1d5252e13c09da180f6cf2a | 73c4b46a08542a5236246b2ee50e218f0ed272e5 | refs/heads/master | 2020-03-30T09:31:52.580762 | 2015-02-15T22:36:48 | 2015-02-15T22:36:48 | 26,633,449 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 764 | cpp | #include "TextureManager.h"
CTextureManager::CTextureManager(ID3D11Device* device)
{
mpd3dDevice = device;
}
CTextureManager::~CTextureManager(void)
{
}
ID3D10ShaderResourceView* CTextureManager::LoadTexture ( char filename[50] )
{
for( int i = 0; i < miNumTextures; i++ )
{
if( strcmp( filename, mcTexturesF... | [
"spneill@uclan.ac.uk"
] | spneill@uclan.ac.uk |
0cef79f6123c9d276d031f1809f19a2da698eb45 | 92b90038c725420a3fbbb00beff9a737c8d9035f | /TRY-JB-CuPPified/include/OpenSteer/Graphics/RenderService.h | 1cf64364279e3c2b64508b833cb277c763a99d42 | [
"MIT"
] | permissive | jbreitbart/OpenSteer | a11718325236e73d4bf7efccb81491003e75fbcd | 4a49710202b4a35e4cb3c6a56a8cceac4f9161c7 | refs/heads/master | 2021-01-10T08:55:36.220097 | 2015-12-08T16:35:35 | 2015-12-08T16:35:35 | 47,634,621 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,970 | h | /**
- July 13, 2005
-- There are two ways I am inspecting how to write a renderer that:
--- is feed with so called graphics primitives that are non-render specific representations for certain more or less complex graphics objects to render
--- the renderer has to map theses primitives to its functionality how to draw... | [
"jbreitbart@gmail.com"
] | jbreitbart@gmail.com |
9c6095ff26573479a96b092b1bac5b2fd6f516c9 | eacd2e1163177864f436846e2adf7d7c1f8abbb2 | /day97_searchMatrix.cpp | 1e3c3f03a1b1ddeadb5c001fa0134bed2b593822 | [] | no_license | 08saurav/100_days_codes | 0b423b110b1355b35857851abf7b706729552e7f | ba48a393b6d70881e1187be249913bc9b1fed56b | refs/heads/master | 2022-12-19T06:05:23.218430 | 2020-09-27T09:39:51 | 2020-09-27T09:39:51 | 298,994,929 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 992 | cpp | /*
* =====================================================================================
*
* Filename: day97_searchMatrix.cpp
*
* Description:
*
* Version: 1.0
* Created: 09/24/2020 11:33:00 PM
* Revision: none
* Compiler: gcc
*
* Author: Saurabh Bhartia ... | [
"s.bhartia.sb98@gmail.com"
] | s.bhartia.sb98@gmail.com |
81da1cc5938faaed65a68566c048f382e45c5f7b | e52544d464581ae333bd2eea15f16b2c1aa38087 | /src/OctreeNode.cpp | b047b65bbec029367a3d00c3bf484f079489bf36 | [] | no_license | iki-wgt/geolib2 | 7432a3e985b6ff5d4a644dd75377816cd64160d0 | f546bf096fa65b1f06bf66e7581b343f355a4df7 | refs/heads/master | 2020-04-15T05:38:18.365796 | 2018-11-28T08:13:23 | 2018-11-28T08:13:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,609 | cpp | #include "geolib/OctreeNode.h"
#include "geolib/Octree.h"
#include "geolib/Box.h"
namespace geo {
OctreeNode::OctreeNode(double size, Octree* tree)
: size_(size), split_(size_ / 2), occupied_(false), tree_(tree) {
for(unsigned int i = 0; i < 8; ++i) {
children_[i] = 0;
}
}
OctreeNode::OctreeNode(... | [
"s.v.d.dries@tue.nl"
] | s.v.d.dries@tue.nl |
bcf3d667eba79c644a5e726d8ca3bbfe0b9e6a08 | 300f51daf7adfa7791bdfe7f9ac423d2040c2469 | /sketch/ir_remote/ir_remote.ino | bb66330b31b6bab3156b4d065cda601c632b6326 | [] | no_license | a-antoine/arduino-led-rgb | 547934a4fbfc7f136ad2dc1be2d1fcd3b71a56b7 | 78977dd05fd925c2eff87227794c4ef3d16d9108 | refs/heads/master | 2022-02-20T19:21:52.439389 | 2022-02-14T21:11:07 | 2022-02-14T21:11:07 | 132,117,449 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 283 | ino | #include <IRremote.hpp>
#define IR_SEND_PIN 7
uint8_t command = 0;
void setup()
{
Serial.begin(9600);
IrSender.begin(IR_SEND_PIN, ENABLE_LED_FEEDBACK);
}
void loop() {
if (Serial.available() > 0) {
command = Serial.read();
IrSender.sendNEC(0x22, command, 5);
}
}
| [
"price41-@live.fr"
] | price41-@live.fr |
35fff82aafae342f3ede1c0d885734c68cfc64ed | ce75b9d42f5b8afee793f02b2c43abb39fd88ec5 | /src/app/function/skywalking/common/common.grpc.pb.cc | 01cf9f42badc18242b09997473b849ed9174dc40 | [] | no_license | LeiZhang-Hunter/mars-agent | afd40ead92f36c2073d75af4d68e41c8a9286978 | fd232fee9a855c344129945493fa57ae1f91cbaf | refs/heads/master | 2023-05-15T03:38:44.527299 | 2021-06-09T08:22:59 | 2021-06-09T08:22:59 | 353,680,900 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 876 | cc | // Generated by the gRPC C++ plugin.
// If you make any local change, they will be lost.
// source: common/common.proto
#include "skywalking/common/common.pb.h"
#include "skywalking/common/common.grpc.pb.h"
#include <functional>
#include <grpcpp/impl/codegen/async_stream.h>
#include <grpcpp/impl/codegen/async_unary_c... | [
"357733652@qq.com"
] | 357733652@qq.com |
ebac33c95e9e36a46a9a0e7d9779231ee5378327 | b6d2d3839a16b03cba0077d1c984e54347d7d27a | /test/communication/CustomMatchers.h | c80c60702aa73cdfaf87fddfd923107fa134433d | [
"Zlib",
"BSD-3-Clause",
"curl",
"Apache-2.0"
] | permissive | DaRoli/openkit-native | ce35bdf003ca6f9121b3b080a2815ba013fdc314 | cf3fd1d9816a0df11d98b5345dd03105c1654ea6 | refs/heads/master | 2020-04-01T09:14:28.526683 | 2018-11-22T14:22:44 | 2018-11-22T14:22:44 | 153,066,699 | 0 | 0 | NOASSERTION | 2018-10-15T06:56:17 | 2018-10-15T06:56:16 | null | UTF-8 | C++ | false | false | 3,463 | h | /**
* Copyright 2018 Dynatrace LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... | [
"roland.ettinger@dynatrace.com"
] | roland.ettinger@dynatrace.com |
03ef2419fa6a2ee98297c2d180c818e82acc849c | fdd496ee52b4b2d5566d8b8c159fc6ff5d903756 | /test/pseudoXGCm_scatter.cpp | 4f0b096729a7355c53dc61441cb0029f98284b92 | [
"BSD-3-Clause"
] | permissive | xyuan/pumi-pic | be72e48dd85530d6dce298e33f888ff23c990890 | 7bd355ecdf19cbb809bed87d1003f23fbbca7122 | refs/heads/master | 2020-09-05T15:52:31.148952 | 2019-10-24T15:17:08 | 2019-10-25T17:16:23 | 220,148,802 | 1 | 0 | BSD-3-Clause | 2019-11-07T04:05:00 | 2019-11-07T04:04:58 | null | UTF-8 | C++ | false | false | 6,770 | cpp | #include <Omega_h_mesh.hpp>
#include <SCS_Macros.h>
#include "pumipic_adjacency.hpp"
#include "pumipic_mesh.hpp"
#include "pseudoXGCmTypes.hpp"
#include "gyroScatter.hpp"
#include <fstream>
void setPtclIds(SCS* scs) {
auto pid_d = scs->get<2>();
auto setIDs = SCS_LAMBDA(const int& eid, const int& pid, const bool& ... | [
"smithc11@rpi.edu"
] | smithc11@rpi.edu |
a2f86e09205802520e252a16be820cc6cd58e971 | 19c8acfcf3e01c638049ffebb92759b65ce8ab4a | /C语言/23.cpp | bb6aa7a299c57af0ebbdf6c4f1acfce5ddeba5ad | [] | no_license | VestigesH/GH | c66a8fcf1a7fcfa2f76d6b0f4d22f8c4d0052d5d | 68f40a8bd545c262ce33f539658e6c3b5566ebeb | refs/heads/master | 2020-04-15T17:11:22.479870 | 2019-07-08T05:29:37 | 2019-07-08T05:29:37 | 164,864,719 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 342 | cpp | //题目:一个数如果恰好等于它的因子之和,这个数就称为"完数"。例如6=1+2+3.编程找出1000以内的所有完数
#include <stdio.h>
int main()
{
int n,i,sum;
printf("1000内的完数有:");
for(n=1;n<1000;n++)
{
sum=0;
for(i=1;i<n;i++)
{
if(n%i==0) sum+=i;
}
if(n==sum) printf("%d ",n);
}
}
| [
"1541945594@qq.com"
] | 1541945594@qq.com |
2d31578ce41f9e668dad0e792bd84f2efdabdb62 | ce8f5561e1d60a7bd7f60a8b0045e7962edd8e8f | /src/capImage.cpp | 5b64eb4af365a661a22804e6862b8c0abacf4774 | [] | no_license | xiaopengsu/camera_usb | 9c33b2863d56afa933f424ab5754b84304989c56 | a9fc65e4624427b7cfa3838df208514d6c58b77f | refs/heads/master | 2020-06-13T23:59:48.290816 | 2019-07-02T09:12:25 | 2019-07-02T09:12:25 | 194,829,113 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,086 | cpp | #include <opencv2/core/core.hpp>
#include <opencv2/opencv.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <iostream>
using namespace cv;
using namespace std;
string ltos(long l)
{
ostringstream os;
os<<l;
string result;
istringstream is(os.str());
is>>result;
return... | [
"suxp@mapbar.com"
] | suxp@mapbar.com |
a8c2f107f99ccb101dafff7ec3736b552e4e2c92 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/rtorrent/gumtree/rtorrent_function_12.cpp | fbb5ec44ab6d76e052e93d904cc3a6aced3a0c62 | [] | 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 | 2,063 | cpp | void
WindowDownloadList::redraw() {
if (utils::Timer::cache() - m_lastDraw < 1000000)
return;
m_lastDraw = utils::Timer::cache();
m_canvas->erase();
if (m_list->empty())
return;
DList::iterator itr, last;
int pos = 0, y = 0;
if (*m_focus != m_list->end()) {
int i = 0;
itr = last = ... | [
"993273596@qq.com"
] | 993273596@qq.com |
83058c8ab023fe0566a3d71922b960a8baa3ae3c | 879681c994f1ca9c8d2c905a4e5064997ad25a27 | /root-2.3.0/run/MicroChannelFOAM/TurbulenceMicroChannel/0.38/p_rgh | 052e6529debc54a1645e5976d043d40b4ca12bed | [] | no_license | MizuhaWatanabe/OpenFOAM-2.3.0-with-Ubuntu | 3828272d989d45fb020e83f8426b849e75560c62 | daeb870be81275e8a81f5cbac4ca1906a9bc69c0 | refs/heads/master | 2020-05-17T16:36:41.848261 | 2015-04-18T09:29:48 | 2015-04-18T09:29:48 | 34,159,882 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,940 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
... | [
"mizuha.watanabe@gmail.com"
] | mizuha.watanabe@gmail.com | |
5c12134b767fc7667d157f9673065278e82589aa | e3f603f149b518bf1a323e739adcc9ea3acb7da7 | /src/settings.cpp | 1173fba0d21c79a237dde49444292cc0cf7ec321 | [] | no_license | Hypersonic/Graphics | 9528cde40801c0a1c7e3e990b5d24e0899680fe1 | 3eb09fe43b1f1ae6db740412e4ad42e436619309 | refs/heads/master | 2021-01-10T18:45:26.941251 | 2014-04-02T23:00:25 | 2014-04-02T23:00:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 96 | cpp | #include "settings.h"
float Settings::resolution = 100.0f;
float Settings::target_fps = 15.0f;
| [
"joshhofing@gmail.com"
] | joshhofing@gmail.com |
d0e8ac518e4a51b0edabf08f00ae2bbdbae3eba2 | 939c9d2df06b5d0d75296dd75e0e10f159a04238 | /Classes/Objects/Wall.h | 95a690e3348a3ff634c05781087148bf1863f597 | [
"MIT"
] | permissive | miaskoo/SampleFlappyBirdsWithoutCocos | fd50854b2c685202af3e9e26a3e0778d17347902 | 4f47213ae7d2d42b322d8d45f42abc616087568d | refs/heads/master | 2020-08-07T09:27:17.188569 | 2019-10-07T13:50:13 | 2019-10-07T13:50:13 | 213,391,748 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 178 | h | #pragma once
class Wall : virtual public DinamicObject//объект стен
{
public:
Wall(cocos2d::Sprite* obj, cocos2d::Size proportion);
void setEnable(bool x);
};
| [
"noreply@github.com"
] | miaskoo.noreply@github.com |
693e72a0d970853c06ddaf5cb38f1729fe5a0874 | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Extras/ThirdPartyNotUE/emsdk/emscripten/1.37.19/system/lib/libc/musl/src/network/ent.c | ececdc4866b0d8c8e56eb8d1996c7f8d9a04838d | [
"MIT",
"LicenseRef-scancode-proprietary-license",
"NCSA",
"BSD-3-Clause",
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-mit-nagy",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C++ | false | false | 214 | c | #include "libc.h"
void sethostent(int x)
{
}
void *gethostent()
{
return 0;
}
void endhostent(void)
{
}
weak_alias(sethostent, setnetent);
weak_alias(gethostent, getnetent);
weak_alias(endhostent, endnetent);
| [
"tungnt.rec@gmail.com"
] | tungnt.rec@gmail.com |
3202c239789055caf5526be890c0b9cb6599b56e | 8317bbb337bc3fc353e821ad3a35de5614eb9a58 | /StanfordCPPLib_QtCreatorProject/src/searching.cpp | 4697b65435c93aa21fcee5772c2c4b8f374805f8 | [] | no_license | zhengqijun0121/stanford-cpp-library | 294f4b7667f9bd8994969f4119393dbd3e06d004 | 55f96121130eecd92a093cbc7548ddef79c9f76b | refs/heads/master | 2020-03-29T01:24:31.361737 | 2018-09-18T22:40:02 | 2018-09-18T22:40:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,298 | cpp | /*
* CS 106B, Marty Stepp
* This program contains code for the recursive binary search algorithm.
* Included in comments below are some runtime measurements for a standard
* sequential search (O(N)) and the recursive binary search (O(log N)).
* Notice how the binary search can perform many more searches over a lar... | [
"stepp@cs.stanford.edu"
] | stepp@cs.stanford.edu |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.