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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
50c19586bedc0b44e6724470dadd10940f8a197e | dcb9bf4792647cac863f750df0c1c1ef905716a4 | /MeshRenderer_Lite_Framework/MeshRenderer_Lite_Framework/Src/Systems/Graphics/GraphicsSystem.h | 14a64e074e7f4ba36588da19b24f52ad07e7545c | [] | no_license | emaldonadogamedev/MeshRenderer_Lite | b0b459d6bf910d0d1a6d68ecf310672476048137 | 2a55b29470fd3a7cab6e20ffdf36a67ef7752572 | refs/heads/master | 2021-03-27T15:49:24.117994 | 2019-08-27T07:03:29 | 2019-08-27T07:03:29 | 107,186,023 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,954 | h | #pragma once
#include <Systems/ISystem.h>
#include <Systems/Core/Components/IComponent.h>
#include <Systems/Graphics/GraphicsUtilities/ObjectHandle.h>
#include <memory>
#include <unordered_map>
class Model;
class Camera;
class CameraManager;
class DX11Renderer;
class IRenderStage;
class ModelManager;
cl... | [
"esteban.maldonado@digipen.edu"
] | esteban.maldonado@digipen.edu |
7b61291878d0e4073a57856c9a12982af9cf3d40 | f8b838e3805a4dde783da142e6c46062be4ff606 | /ui/views/border_unittest.cc | 09d2b4ec1ef40250ba4b266edbe5736399b00936 | [
"BSD-3-Clause"
] | permissive | trusslab/sugar_chromium | 1cc0eec4dd52d8b2b7bc2d871090a518495539f8 | 5f1dd3da9f21c65c4f1388f22e10585941f0cbc9 | refs/heads/master | 2022-11-08T17:36:48.367045 | 2018-02-17T07:00:15 | 2018-02-17T07:00:15 | 121,314,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,302 | 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 "ui/views/border.h"
#include <algorithm>
#include <memory>
#include <set>
#include <utility>
#include <vector>
#include "testing/gtest/include/... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
2bd3f1197ac0d18d64f4ab4d17e018e4a464f92b | 719bcf0ec862bed0416c6a4d78ef03f1191f608b | /02.C_C++语言/02.C++11/并发编程/03.future/src/60.thread_packaged_task_valid.cpp | 5b804e8b14d9f73e115d23375d4f2577e3abeb86 | [] | no_license | cleveryuan777/C-background-development-interview-experience | d16e73efd08d020e3db2b7c3f718394b1806f2b3 | 48c1f22ea431a36288b73bc53e8573f828eed88c | refs/heads/main | 2023-06-14T05:04:55.013084 | 2021-04-04T14:19:56 | 2021-04-04T14:19:56 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 654 | cpp | #include <iostream> // std::cout
#include <utility> // std::move
#include <future> // std::packaged_task, std::future
#include <thread> // std::thread
// 在新线程中启动一个 int(int) packaged_task.
std::future<int> launcher(std::packaged_task<int(int)>& tsk, int arg)
{
if (tsk.valid()) {
std::future<int>... | [
"jackster@163.com"
] | jackster@163.com |
c94e27bee9efd64c5cfb8a732f3c924868bfd63f | adeea5b9477e06c2747898084533ff90a85d3411 | /CC2 Good Times/CC2 Good Times/Source.cpp | 9eacf05d8bd8022c6dd90d6ce3d5931ebae57ede | [] | no_license | Lev1ty/computer-contest-level-2-2 | 2fbf1ee5df28c9add42251a25ad3616bd8526359 | 990233d13519710cb45e41270d8a9dbec46580aa | refs/heads/master | 2021-05-30T13:44:27.606842 | 2016-01-16T03:47:12 | 2016-01-16T03:47:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,404 | cpp | #include<iostream>
using namespace std;
struct Time {
int hours, minutes;
};
Time ottawa, victoria, edmonton, winnipeg, toronto, halifax, stjohn;
int input;
Time convert(Time start, int difference) {
Time temp;
temp.hours = difference / 100;
temp.minutes = difference % 100;
Time end;
end.hours = start.hours + te... | [
"adamxhy123@outlook.com"
] | adamxhy123@outlook.com |
99c06722b7a96abbbda981c3d3d15abe5fa4cc3c | ccbf5fed9549089050046bd1fa9b96b02c10034e | /firmware/src/console.cpp | 42dc887220f648c553a3b68ad0494cb97a574a4e | [
"BSD-3-Clause"
] | permissive | HeterogeneousChao/sapog | 5964f359647a1de8a40732343a8a7c2d705d9044 | 43d981f94d2e8b79721e56cc339bb4d01f181a1d | refs/heads/master | 2021-06-01T07:39:58.898578 | 2016-07-23T09:29:16 | 2016-07-23T09:29:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,089 | cpp | /****************************************************************************
*
* Copyright (C) 2013 PX4 Development Team. All rights reserved.
* Author: Pavel Kirienko <pavel.kirienko@gmail.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that... | [
"pavel.kirienko@gmail.com"
] | pavel.kirienko@gmail.com |
b714555588b16cef4c0e99264a74a3eb2abde535 | 920272e547d716937c5e90e9cbf27855a9b44ad8 | /bookingaroom.cpp | e163062446907bddea194665b6affeddb0172957 | [] | no_license | khanghy3004/Kattis | 405ec4471432cc00dde71cd196a520e5cce62b26 | 00f70cdfacbe29e732b0f6c80da25c6e56ff9553 | refs/heads/master | 2020-07-02T07:22:23.261341 | 2019-08-11T14:21:27 | 2019-08-11T14:21:27 | 201,455,618 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 419 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, r, a;
bool b[105];
bool check = false;
cin >> n >> r;
for(int i = 1; i <= r; ++i) {
cin >> a;
b[a] = true;
}
for(int i = 1; i <= n; ++i) {
if(b[i] == false) {
cout << i;
check ... | [
"khanghy3004@gmail.com"
] | khanghy3004@gmail.com |
7f805d27c063d690e7589d35e0fcf5e60963e94b | 45820e48851ac883478003fce0756374198a0393 | /Shoot-Game-Ver.1/Project3/ShapeShaderClass.h | b30bf2c15b757e0dc33400e3f1d4dcfe95ea8a8c | [
"MIT",
"GPL-3.0-only"
] | permissive | Piorosen/Yore-Program | 48dd3a9b13578aa79a13574d09fd49980430825d | 939e4633648db0f5b2e24fe7b639a232f5518a16 | refs/heads/master | 2022-12-10T06:34:19.951158 | 2019-02-07T01:58:23 | 2019-02-07T01:58:23 | 161,906,161 | 0 | 0 | MIT | 2022-12-08T01:48:08 | 2018-12-15T13:11:29 | C++ | UTF-8 | C++ | false | false | 1,061 | h | #pragma once
#include <d3d11.h>
#include <d3dx10math.h>
#include <d3dx11async.h>
#include <fstream>
using namespace std;
class ShapeShaderClass
{
private:
struct MatrixBufferType
{
D3DXMATRIX world;
D3DXMATRIX view;
D3DXMATRIX projection;
};
public:
ShapeShaderClass();
ShapeShaderClass(const ShapeShaderCl... | [
"aoikazto@gmail.com"
] | aoikazto@gmail.com |
f33d9a1fea357a214e5540f6bb83dfa49f21f071 | 1865de97d9362499f81e49d0359ec0af3ec10a5d | /Lagrange.hpp | 29f346ca52eed1e48201d10085e43242b7c1062a | [] | no_license | mpily/numerical_methods | 7633f5fe138ca1ac3eacdbd30b4dc4f49c15188f | 275c197bb99f0df3d899a65cdae4e9ec6ace3b69 | refs/heads/main | 2023-06-16T21:10:21.308477 | 2021-07-07T11:00:29 | 2021-07-07T11:00:29 | 362,397,706 | 0 | 1 | null | 2021-07-07T11:00:30 | 2021-04-28T08:41:01 | C++ | UTF-8 | C++ | false | false | 1,380 | hpp | #ifndef LAGRANGE
#define LAGRANGE
#include"polynomials.hpp"
#include"polynomial.cpp"
#include<assert.h>
#include<vector>
template<class S>
struct Lagrange{
std:: vector<S> x_vals;
std :: vector<S> y_vals;
polynomial<S> lagrange_interpol;
Lagrange(std::vector<S>x, std::vector<S> y): x_vals(x),y_vals(y){}... | [
"mboghobill16@gmail.com"
] | mboghobill16@gmail.com |
6c55d60036c29b3105152deaa40379302a0d17c6 | 920c4ef30727f0c51b5c9f00bdd9b923b541853e | /Code_Cpp/cppserver备份资料/code/library/source/encrypt/include/hmac_sha1.h | bd25d073dd7fc4f3553930894d9d96f0d520d6e8 | [] | no_license | fishney/TDServer | 10e50cd156b9109816ddebde241614a28546842a | 19305fc7bf649a9add86146bd1bfd253efa6e9cb | refs/heads/master | 2023-03-16T22:24:45.802339 | 2017-10-19T07:02:56 | 2017-10-19T07:02:56 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 536 | h | /*----------------- hmac_sha1.h
*
* Copyright (C): 2011 Mokylin¡¤Mokyqi
* Author : ÕÔÎÄÔ´
* Version : V1.0
* Date : 2012/6/4 19:58:10
*--------------------------------------------------------------
*
*------------------------------------------------------------*/
#pragma once
/**********************... | [
"haibo tang"
] | haibo tang |
e238e3417b7eafbf021337691bde9d603d355ab1 | 8be023f90d9a18f4917af4bba8fb31230df3df2a | /SigLog_MibLib/hardware/memory/memory_netbsd.cpp | 6d4668b815a034b5e81ba0d6ba3002c6e78f9601 | [] | no_license | duniansampa/SigLog | d6dba1c0e851e1c8d3aef3af4bb85b4d038ab9c9 | 3dae0e42a36ebc5dca46fb044d3b1d40152ec786 | refs/heads/master | 2021-01-10T12:25:17.511236 | 2016-03-12T18:38:19 | 2016-03-12T18:38:19 | 44,571,851 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,427 | cpp | #include <siglog/net-snmp-config.h>
#include <siglog/net-snmp-includes.h>
#include <siglog/agent/net-snmp-agent-includes.h>
#include <siglog/agent/hardware/memory.h>
#include <unistd.h>
#include <errno.h>
#include <sys/sysctl.h>
#if HAVE_SYS_VMMETER_H
#include <sys/vmmeter.h>
#endif
#include <sys/swap.h>
#if defined(... | [
"duniansampa@outlook.com"
] | duniansampa@outlook.com |
df55a78469441b6379b2fd89babb2ed90a9bfad1 | b05328f849055f4e64803116c60ac05762b22430 | /src/user_type_value.cpp | dcdb4e35884e9ed75fee8a9d7b1895d3f3b1b4df | [
"Apache-2.0"
] | permissive | phongth7/cpp-driver | 956258c04c8e0b1cd3470a1add5aaed0cc295766 | ef6260412fe28d88390cb3aa8ea456f1972eff57 | refs/heads/master | 2021-01-22T06:14:24.396190 | 2016-03-01T19:19:26 | 2016-03-01T19:19:26 | 52,947,492 | 1 | 0 | null | 2016-03-02T08:42:22 | 2016-03-02T08:42:22 | null | UTF-8 | C++ | false | false | 4,927 | cpp | /*
Copyright (c) 2014-2015 DataStax
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 writing... | [
"michael.penick@datastax.com"
] | michael.penick@datastax.com |
6b287326e2fbb83f1277347a7ce74c1735b50d13 | 7d81122c54c1416612253cb359f8ab2b0afb4ded | /src/main.cpp | 047870307a177e684d10d3793d35deb21c24ccf9 | [] | no_license | anrothis/WemosD1mini_Motion_Sensor | 25ac3b9a3c2fb5ac8d5f4594d849fc920fa7610d | 80621069791f5115d4a2feafba921e8047433f12 | refs/heads/master | 2023-03-03T12:29:11.968177 | 2021-02-08T13:11:56 | 2021-02-08T13:11:56 | 337,077,178 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,948 | cpp | #include <Arduino.h>
#include <ESP8266WiFi.h>
#include <NTPClient.h>
#include <WiFiUdp.h>
#include <ArduinoOTA.h>
#include <credentials.h>
// #define DEBUG // Debug Node
#ifdef DEBUG
#define DEBUG_PRINT(x) Serial.print (x)
#define DEBUG_PRINTDEC(x) Serial.print (x, DEC)
#define DEBUG_PRINTLN(x) Serial.print... | [
"riedel-sebastian@t-online.de"
] | riedel-sebastian@t-online.de |
70da5dfdd46335db53aaa8f91597708dd755751c | a5c572b13be02f3b41eb4102eefd30e473c90e9b | /mytest02/test005.cc | 3d40eb1b676d0afdbcda5519d78da3c045f47847 | [] | no_license | dawoniu1991/cppstudyOnLinux | 626b6b5cafaf4b4e9cc7323cc2bb8e9ec21f88f1 | 58b2f9f597d60c85d3af652d34649e8d87a80ec9 | refs/heads/main | 2023-07-18T07:08:34.322609 | 2021-08-17T09:25:18 | 2021-08-17T09:25:18 | 361,681,700 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,094 | cc | #include <iostream>
#include <thread>
#include <zmq.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
using namespace std;
void say() {
cout << "this is say function print" << endl;
void *context = zmq_init(1);
// 与客户端通信的套接字
void *responder = zmq_socket(context, ZMQ_REP);
zmq_bind(respo... | [
"1278943797@qq.com"
] | 1278943797@qq.com |
f32c848fb1a4f9044f281b540a082c1786e32766 | b5bf024dce1323dedd6ec357183d0585ba3d8fc2 | /lib/source/libcarla/Blueprint.cpp | 32c6db4c9e8669f31f380bb7da4515bebc54feb6 | [] | no_license | rafita96/Tutorial-CARLA | f79ab62bb10d5b28b0ae4f2d83c9475b889c8583 | 6cd03b6b08a011d4673b35b4cbba9139b61a42df | refs/heads/master | 2020-08-11T04:20:44.076393 | 2019-10-29T03:13:37 | 2019-10-29T03:13:37 | 214,489,616 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,362 | cpp | // Copyright (c) 2017 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include <carla/client/BlueprintLibrary.h>
#include <carla/client/ActorBlueprint.h>
#... | [
"rperalta@cicese.edu.mx"
] | rperalta@cicese.edu.mx |
79cd3948301c55c811f1926a9c30c553b7b4f247 | d7e492e40c23573a9ab6cd0dd572390bbef2a1ae | /src/syntax/ExprSyntaxNodeBuilders.cpp | e179db19455944f1ad2db370010501b33f4a756a | [] | no_license | aimeidefashi/polarphp | 1971ebd6189caef114a9d650455ea35dd0f21cc4 | bf3b2f796a8d533ae7557cd50f0742719d4918da | refs/heads/master | 2020-06-27T21:29:29.353040 | 2019-08-01T13:14:10 | 2019-08-01T13:14:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,210 | cpp | // This source file is part of the polarphp.org open source project
//
// Copyright (c) 2017 - 2019 polarphp software foundation
// Copyright (c) 2017 - 2019 zzu_softboy <zzu_softboy@163.com>
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://polarphp.org/LICENSE.txt for license info... | [
"zzu_softboy@163.com"
] | zzu_softboy@163.com |
7e3db80412556e72597cfbb2c1e7d0ec41d8e52b | 3aade8553e7a07134cf53e4e49b65360f58ba06a | /collection/cp/Algorithm_Collection-master/swap_nods_in_paris.cpp | 7cce7dc28986c607b7ab267db0bb3804e9ab5b73 | [
"Apache-2.0"
] | permissive | bruler/Notebook | beb529f027816abda776a88f36bfc5051fcc5880 | a9880be9bd86955afd6b8f7352822bc18673eda3 | refs/heads/master | 2021-06-13T17:25:22.460991 | 2017-04-07T18:42:25 | 2017-04-07T18:42:25 | 73,064,126 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 738 | cpp | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
ListNode *swapPairs(ListNode *head) {
if (!head) return NULL;
ListNode* start = new ListNode(0);
Li... | [
"kpgupta98@gmail.com"
] | kpgupta98@gmail.com |
3fb3c1a7904c31e32543240916435c685eb984c7 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_1482494_1/C++/lewha0/B.cpp | 7cd83c81988323d133153ba9d85186e566396309 | [] | 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 | 1,113 | cpp | #include<stdio.h>
int T;
int a[11111], b[11111];
int earn[11111];
int ret;
int tot;
int n;
int main(void)
{
int l0, l1, l2;
freopen("b2.in","r",stdin);
freopen("b2.out","w",stdout);
scanf("%d",&T);
for(l0=1;l0<=T;l0++)
{
scanf("%d",&n);
for(l1=0;l1<n;l1++)
{
scanf("%d %d",&a[l1],&b[... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
62131a111ce85a5f3ca59919f1fcde221a5430cc | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/104/255/CWE457_Use_of_Uninitialized_Variable__twointsclass_array_new_partial_init_15.cpp | ac6a44f62d19950489fc13bdfb754d745f1078ef | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,511 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE457_Use_of_Uninitialized_Variable__twointsclass_array_new_partial_init_15.cpp
Label Definition File: CWE457_Use_of_Uninitialized_Variable__twointsclass_array.label.xml
Template File: sources-sinks-15.tmpl.cpp
*/
/*
* @description
* CWE: 457 Use of Uninitialized Variabl... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
b6a116bd08bc4dd1fc1c9424e887804b87bc26b6 | 303f4ec40aa362688ec1ca96832bda3a2f30c140 | /examples/lab1.1/lab1.1/lab1.1.cpp | 8cfb0cf2dd7748419145848181b8fbf07db950ca | [] | no_license | nihlete/CPP | 5bcffb9f1c744a54d56ac856fb16ae05e902ba4b | a4cb11365a7bde2ace26412201d966ee92cb393b | refs/heads/master | 2022-11-04T21:16:01.427066 | 2020-07-02T08:40:03 | 2020-07-02T08:40:03 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 2,368 | cpp | // lab1.1.cpp: определяет точку входа для консольного приложения.
//
#include "stdafx.h"
#include <math.h>
#include <iostream>
#include <iomanip> // std::setprecision
#include <limits>
/*
y = 3.1 x^3 + sqrt(x^2 + 9) - e^-x
Составьте программу, которая строит таблицу значений
функции. Количество... | [
"v.andrei@protonmail.com"
] | v.andrei@protonmail.com |
5a3f2ca80c9927c44484c987d2e99cbe00781375 | 0539dbd82c9d304811f7421ebfdcd03dc6674859 | /InpOut.cc | a19ac51af3dc5fad316cf388712bc3f0a34f88f3 | [] | no_license | Anastasia1004-7/emi | 9155565e5c1dfaec566694a7a915b8c194fb2422 | b4820b25538bfe450ef6fc859b55fcc8a7b7e2e3 | refs/heads/master | 2023-01-29T01:37:19.380192 | 2020-12-08T13:43:01 | 2020-12-08T13:43:01 | 319,651,556 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,076 | cc | #include "InpOut.h"
void IO::write(unsigned address, uint8_t value) {
if ((address & 1) == 0) {
_port_fe = value;
int lev = (_port_fe >> 3) & 0x03;
switch (lev) {
case 0x00:
_adrv->set_level(-16384 - 8192);
break;
case 0x01:
_adrv->set_level(-16384);
break;
case 0x02:
_adrv->set_level(1638... | [
"75675336+Anastasia1004-7@users.noreply.github.com"
] | 75675336+Anastasia1004-7@users.noreply.github.com |
8e919f6fef2959dfa54f5566cef8440f70bde18a | 5490551d65e4976f2f49bd2f6df431c077ce69a4 | /Exercises/exercise_20.cpp | d197a444460b958acf717c90ae8719b8e6cf21f9 | [] | no_license | ariyonaty/ECE1310 | a3db89fdba91937620ae183916289426788fb53d | d26d4814002753562219b4ffa022768898212081 | refs/heads/master | 2020-05-05T12:45:54.958220 | 2019-05-14T22:24:49 | 2019-05-14T22:24:49 | 170,028,942 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 608 | cpp | /*
Ari Yonaty
ECE 1310
1.24.2019
Exercise 20: Input within range of input
*/
#include <iostream>
using namespace std;
int main()
{
int num1, num2, num3;
cout << "Enter a number: ";
cin >> num1;
cout << "Enter a number: ";
cin >> num2;
cout << "Enter a number: ";
cin >> nu... | [
"ariyonaty@ariyonMacbook.lan1"
] | ariyonaty@ariyonMacbook.lan1 |
448f5cb15eff011db72ba2025f3254fbedb8430e | 1e04e7e0d35b7a570475818f699925a238b04220 | /Lv1/9215/9215.cpp | 77020ee256cf45f5c3b08fa8c3adc9cdaf65bc7b | [
"MIT"
] | permissive | justidle2012/Solution_XJOI | 3dfa24550a13b414ff374f096accd5abd465015c | ce97b4380d16faf12cf8024d4abe40266c7e37f3 | refs/heads/master | 2020-09-07T19:07:53.038018 | 2019-11-12T05:39:12 | 2019-11-12T05:39:12 | 220,887,027 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 171 | cpp | //圈地
//http://dev.xjoi.net/problem/9215
#include <cstdio>
int main() {
unsigned long long w;
scanf("%llu", &w);
printf("%llu\n", w*w/4);
return 0;
} | [
"1540168075@qq.com"
] | 1540168075@qq.com |
c8661f64855eea5ceba60180a41ca93c5b2b3157 | 948ba2d917d97a38e42dca42b3ced103b1b1f9e2 | /src/logistic.cpp | 975c1864e2d5380981f022941e291d206ac72808 | [] | no_license | yasirs/gibbsLogistic | db334ceccfeff8c59fd97f7e3c95a2bcea4125a1 | 69c2207eee91e1e80d80b47fe7cfd72740c1d02c | refs/heads/master | 2016-09-09T20:58:22.534517 | 2012-01-12T07:00:40 | 2012-01-12T07:00:40 | 3,128,736 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,701 | cpp | #include <RcppArmadillo.h>
#include <vector>
#include <armadillo>
#include <cppbugs/cppbugs.hpp>
#include <algorithm>
using namespace cppbugs;
using std::cout;
using std::endl;
class TestModel: public MCModel {
public:
const arma::ivec& y; // given
const arma::mat& X; // given
Uniform<arma::vec> b;
Dete... | [
"yasir.suhail@gmail.com"
] | yasir.suhail@gmail.com |
a7689181483edf0619550b13de694171da7fe016 | 134cb6b67fcc2c618e3a252eb88b8d6aabbb01eb | /sleep_sort/main.cpp | 8f3dd0fa4e624e4403390e6d623c997622012563 | [] | no_license | strahlistvan/algorithms | 6696c1a5c159a02e29441f165fd4b52fbe5cdaf5 | 93fc142b5c59f6ef9783d344fec6048524decd22 | refs/heads/master | 2020-12-29T02:37:33.310343 | 2020-03-26T16:27:57 | 2020-03-26T16:27:57 | 53,169,965 | 2 | 0 | null | 2017-01-03T21:49:01 | 2016-03-04T22:36:12 | C++ | UTF-8 | C++ | false | false | 1,916 | cpp | #include <iostream>
#include <cstdlib>
#include <thread>
#include <vector>
using namespace std;
const int MAX_INPUT_VALUE = 100;
const int INPUT_SIZE = 200;
const int TIME_SLOT_RATE = 1000;
// vector<int> result_list;
void thread_delay(int seconds)
{
chrono::duration<int, ratio<1, TIME_SLOT_RATE> > duration(seconds... | [
"strahlistvan0@gmail.com"
] | strahlistvan0@gmail.com |
61ef54c22e7da50596c834c09e750f622642d5b3 | 71bd065fb12ab2d07d4371f1903b45411b91735d | /controller/src/vnsw/agent/test/test_route.cc | 511157374b249d8d989c5e27c247670012f66a2f | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | syedaliawaissabir/BGPaaS | dffc3d07eddec91be3d70d8d226b2192511b61ff | 71931e462944e39d31ca16167f273ab9fa84145a | refs/heads/master | 2020-06-30T23:38:29.650304 | 2017-07-31T11:13:46 | 2017-07-31T11:13:46 | 74,343,705 | 0 | 1 | null | 2016-12-02T14:15:51 | 2016-11-21T08:46:43 | C++ | UTF-8 | C++ | false | false | 91,388 | cc | /*
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
*/
#include "base/os.h"
#include <boost/assign/list_of.hpp>
#include <base/logging.h>
#include <io/event_manager.h>
#include <tbb/task.h>
#include <base/task.h>
#include <cmn/agent_cmn.h>
#include <cfg/cfg_init.h>
#include "oper/operdb_init.h"
#in... | [
"awaisalisabir@yahoo.com"
] | awaisalisabir@yahoo.com |
4f77792da6bcbdadcf7355b45a2b0e7eb78004ba | 14749d1fdaff6852c754dc1fbf7d9399dd5fb678 | /Subtrador.cpp | aecfd17e7d3cdb761fdf171d1e423a718c90ac31 | [] | no_license | Vincentius004/Non-Decimal-Calculator | 94ccb72616f02171763ef1292a99499fc44bdd90 | 58d9cefcd862dc3efacb64216def8138f671293b | refs/heads/main | 2023-02-04T06:27:43.006111 | 2020-12-14T10:54:59 | 2020-12-14T10:54:59 | 319,074,236 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,668 | cpp | #include <iostream>
#include<string>
#include <stdlib.h>
#include <math.h>
#include "Subtrador.h"
#include "Somador.h"
using std::string;
string Subtrador::subtrair(string numeroUm, string numeroDois, int base)
{
ajeitarStrings(numeroUm, numeroDois);
Somador s;
if(!primeiroNegativo && segund... | [
"vitormugnol10@gmail.com"
] | vitormugnol10@gmail.com |
65106d9df83fc7d7af5abf6bf26218f4c16a6cc7 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/multimedia/directx/dplay/dvoice/dxvoice/dvsetupi.cpp | e2ab0635fcd89d9044bbc3d58ae5df64759a9e3b | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,234 | cpp | /*==========================================================================
*
* Copyright (C) 1999 Microsoft Corporation. All Rights Reserved.
*
* File: dvsetupi.cpp
* Content: Implementation of class for DirectXVoice Setup utility functions
*
* History:
* Date By Reason
* ==== == ======
* 09/0... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
71281dd347f8feb15f300ea3246a9f691762a5c7 | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/chromium_org/chrome/browser/extensions/script_badge_controller_unittest.cc | 0eab0f5d79d4fd338b0d8aa94d44b3f7e68d182e | [
"MIT",
"BSD-3-Clause"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 10,218 | 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 <string>
#include "base/command_line.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
#include "base/strin... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
85d39900e81c844799b8c94055c1c2ba40e038da | 309975d60e30260f2e02d11e71eaaf6e08b93659 | /Sources/Internal/Render/RHI/Common/Parser/sl_Common.cpp | e86b145cdd3bd80717c7921ae578e89a13f413c5 | [] | permissive | BlitzModder/dava.engine | e83b038a9d24b37c00b095e83ffdfd8cd497823c | 0c7a16e627fc0d12309250d6e5e207333b35361e | refs/heads/development | 2023-03-15T12:30:32.342501 | 2018-02-19T11:09:02 | 2018-02-19T11:09:02 | 122,161,150 | 4 | 3 | BSD-3-Clause | 2018-02-20T06:00:07 | 2018-02-20T06:00:07 | null | UTF-8 | C++ | false | false | 2,169 | cpp |
#include "sl_Common.h"
#include <stdio.h> // vsnprintf
#include <string.h> // strcmp, strcasecmp
#include <stdlib.h> // strtod, strtol
#include <cstdarg> // va_start, va_end
namespace sl
{
DAVA::int32 String_PrintfArgList(char* buffer, int size, const char* format, va_list args)
{
va_list tmp;
va_copy(tmp, a... | [
"m_molokovskih@wargaming.net"
] | m_molokovskih@wargaming.net |
543366bf03ebe0021821676db3164217f77a4585 | 351b592576d3d84687ca91549cba9051f50b707d | /packets/play/CBPlayerInfo.h | fe68a0529fed74cc1e164bb2b5d0f605ab74f078 | [
"MIT"
] | permissive | WorkingRobot/CMine | f09f450071a21699339a4584e3c4f5d30e55c92c | c4d8b3988487c7dc480b0f252cba1eab53555bb7 | refs/heads/master | 2022-06-18T15:51:49.586515 | 2020-04-29T02:33:00 | 2020-04-29T02:33:00 | 259,745,104 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,360 | h | #pragma once
#include "../types/SocketPrimitives.h"
struct CBPlayerInfo {
static const int Id = 0x34;
struct Property {
SocketString Name;
SocketString Value;
std::optional<SocketString> Signature;
};
struct Player {
SocketGUID Uuid;
// 0: add player
... | [
"aleks.margarian1@gmail.com"
] | aleks.margarian1@gmail.com |
21ad837f97c8e3a134922159dd1f7dfa8e0828b5 | 8777932e80b579c9081eaf2a20a65b19ff725c2b | /System.h | 7c69ee27955fe342ee595997b2f610b76d26ebcf | [] | no_license | dunk111/projekt_zespolowy | 1591930b69e0c3bb997f658c79ee1023c7ec3efe | 056ded8cfb1c2719c7099a37bcdad4471b234948 | refs/heads/master | 2021-01-10T12:21:21.074410 | 2016-01-24T08:55:44 | 2016-01-24T08:55:44 | 44,260,870 | 0 | 3 | null | 2016-01-09T12:19:17 | 2015-10-14T16:23:54 | null | UTF-8 | C++ | false | false | 18 | h | class System {
};
| [
"martyna.pawlowska@opoczta.pl"
] | martyna.pawlowska@opoczta.pl |
1374806a389951ec5274dc2fadf03098395ec13f | bfcddcc7cca87f51a067e82d00b596659b6c3f6d | /CSES/2 Sorting and Searching/4 - 1091 - Concert Tickets.cpp | ea52cd5c263ffb47d566a37a3b72be5c81d14974 | [] | no_license | IshanManchanda/competitive-cpp | 1ffb88b19abbbff6643e40706c5b13b166422255 | d423fec6641e4525ce52c5a49517269497276607 | refs/heads/master | 2023-09-04T11:02:31.265177 | 2023-08-31T17:29:27 | 2023-08-31T17:29:27 | 184,057,901 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,905 | cpp | //#pragma GCC optimize("O3,unroll-loops")
//#pragma GCC target("avx,avx2,fma,tune=native")
#pragma GCC target("avx,avx2,fma")
#include <bits/stdc++.h>
using namespace std;
#define F first
#define S second
#define all(x) begin(x), end(x)
#define rall(x) (x).rbegin(), (x).rend()
#define PB emplace_back
#define MP make... | [
"ishanmanchanda70@gmail.com"
] | ishanmanchanda70@gmail.com |
a2a4860ff45af64929362aab2a1a1d7500803179 | 0b5a0b18704cb94cf7d987f0a23f942391860ee1 | /tests/cpp/dcWebservice/HandlerTests.cpp | 472f925c6b0730f4c8ebace75d60d6d5e77a0f16 | [
"BSD-2-Clause"
] | permissive | kaust-vislab/DisplayCluster | ea14764c9581d2ab3d9f6f982f18720bd1565711 | a87057e6992ec016ed82734a7e9cda8b4634ff5a | refs/heads/master | 2022-10-21T05:16:58.379552 | 2015-10-26T07:23:47 | 2015-10-26T07:23:47 | 12,727,480 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,671 | cpp | /*********************************************************************/
/* Copyright (c) 2014, EPFL/Blue Brain Project */
/* Julio Delgado <julio.delgadomangas@epfl.ch> */
/* All rights reserved. */
/* ... | [
"raphael.dumusc@epfl.ch"
] | raphael.dumusc@epfl.ch |
2bbe3562bf0e4c3759bbdd2513feffc1bf50aad7 | e3411990a5c252f439b7d1b771e9204eeb71b293 | /EGC_Tema4_Animatii_2D_Cu_Sprite-uri/Source/Laboratoare/Laborator9/Animation.cpp | 2184e1887a7a61f984d327399ddeae4b270d0cde | [] | no_license | GroapaMihai/CTI_Anul_3_Sem_1 | b517978d1b3789d756f2367e0311edff13f2046e | c84753707d3d6981cbd7fc13a3b41a536547a124 | refs/heads/master | 2021-01-01T17:38:27.457677 | 2017-07-24T06:54:45 | 2017-07-24T06:54:45 | 98,116,367 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,249 | cpp | #include <iostream>
#include <Core/Engine.h>
#include "Animation.h"
Animation::Animation(std::string name)
{
this->name = name;
}
std::string Animation::getName()
{
return name;
}
void Animation::addFrame(Mesh* frame)
{
frames.push_back(frame);
}
Mesh* Animation::getFrameAt(int i)
{
if (i >= frames.size() || i ... | [
"gmihai9549@gmail.com"
] | gmihai9549@gmail.com |
ad7c28ddbd0f6a4bdb36b9e7956e98a3fb872592 | 083100943aa21e05d2eb0ad745349331dd35239a | /aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/NotificationConfiguration.h | e99c94160ddeb1f0d5fc3f075039f0de7fd4ecdd | [
"JSON",
"MIT",
"Apache-2.0"
] | permissive | bmildner/aws-sdk-cpp | d853faf39ab001b2878de57aa7ba132579d1dcd2 | 983be395fdff4ec944b3bcfcd6ead6b4510b2991 | refs/heads/master | 2021-01-15T16:52:31.496867 | 2015-09-10T06:57:18 | 2015-09-10T06:57:18 | 41,954,994 | 1 | 0 | null | 2015-09-05T08:57:22 | 2015-09-05T08:57:22 | null | UTF-8 | C++ | false | false | 8,139 | h | /*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file... | [
"henso@amazon.com"
] | henso@amazon.com |
056880af7809b017d7aa7579b01028b8c213dbad | d7e33511c2d5f9a115b34fdfae3d22d3d8d3a41b | /libkeye/keye/htio/websocketpp/roles/client_endpoint.hpp | 7e1c796b5bee410adf4a8016905628000e57655a | [] | no_license | jjuri-socialmining/public | 7c4f2351a346d4ddb92efe1c46f8819be3e4754f | 7c759aa9fa12ffdc80d0aeb2e2d854c39dcf4980 | refs/heads/master | 2022-03-04T05:14:32.543235 | 2016-12-27T04:22:44 | 2016-12-27T04:22:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,663 | hpp | /*
* Copyright (c) 2014, Peter Thorson. 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 cond... | [
"keyeleo@163.com"
] | keyeleo@163.com |
9e06959e955161e68bd9b046ea6988ed6ad5a4ad | 1122c5c8740c81468388ab236ff84876e947ae31 | /Lab_04/main.cpp | 87a9edb2dbea116e871d21c07202c6fa54d5aa20 | [] | no_license | hubert-mazur/Cpp-2018-3rd-sem- | 15f7fb66822dd19ae3d5629a52a66772300673d6 | 45d5c494fa2d36cbc888aeb7432e99ab6c97e535 | refs/heads/master | 2020-04-26T00:15:05.574721 | 2019-02-28T19:50:26 | 2019-02-28T19:50:26 | 173,171,111 | 0 | 0 | null | 2019-02-28T19:50:27 | 2019-02-28T19:03:58 | C++ | UTF-8 | C++ | false | false | 2,929 | cpp | // Prosze dopisac kod, dodac nowe pliki, tak aby program wykonywal
// sie, a wynik jego dzialania byl taki sam jak podany na ko�cu tego
// pliku.
// Prosze napisac strukture MapPoint, ktore reprezentuje punkt na
// mapie skladajacy sie z nazwy, dlugosci (longitude) i szerokosci
// (latitude) geograficznej (bez o... | [
"hiusvii@gmail.com"
] | hiusvii@gmail.com |
3b1dbd4f120b6498cb882118e12590093c71d454 | 037d518773420f21d74079ee492827212ba6e434 | /blazetest/src/mathtest/dmatdmatmult/U3x3bU3x3b.cpp | ecff53576c24d244797ffb742e9ef4627fb08b37 | [
"BSD-3-Clause"
] | permissive | chkob/forked-blaze | 8d228f3e8d1f305a9cf43ceaba9d5fcd603ecca8 | b0ce91c821608e498b3c861e956951afc55c31eb | refs/heads/master | 2021-09-05T11:52:03.715469 | 2018-01-27T02:31:51 | 2018-01-27T02:31:51 | 112,014,398 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,622 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dmatdmatmult/U3x3bU3x3b.cpp
// \brief Source file for the U3x3bU3x3b dense matrix/dense matrix multiplication math test
//
// Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved
//
... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
2d0889b0164a5e112f0688de5b599df3c6e7c3fc | 4adb1be9cb3ba85b21e9c8cf8a215f62af9a8e98 | /LeetCode/Explore/Tencent/Array/ThreeSum.cpp | 99532de5197c5ca36911c86e7c34ebb7bc01b214 | [
"MIT"
] | permissive | GoatGirl98/online-judge | e15fc8200434e22199d1bad209439deae81b7b52 | ab0f494ef267dd8e25f4d0a03e916980c6dc1bb0 | refs/heads/master | 2023-04-18T15:53:59.576552 | 2021-05-06T14:56:16 | 2021-05-06T14:56:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,020 | cpp | #include <bits/stdc++.h>
using namespace std;
class Solution {
public:
vector<vector<int>> threeSum(vector<int> &nums) {
int size = nums.size();
sort(nums.begin(), nums.end());
vector<vector<int>> res;
for (int i = 0; i < size - 2; i++) {
if (nums[i] > 0)
... | [
"sunyufei963@gmail.com"
] | sunyufei963@gmail.com |
a94657aa39c7963a3e591f2a258b175bbfc760cc | 21ede326b6cfcf5347ca6772d392d3acca80cfa0 | /cc/paint/paint_image.h | 55555bee2eefac8cb2cc574304e801966f21456f | [
"BSD-3-Clause"
] | permissive | csagan5/kiwi | 6eaab0ab4db60468358291956506ad6f889401f8 | eb2015c28925be91b4a3130b3c2bee2f5edc91de | refs/heads/master | 2020-04-04T17:06:54.003121 | 2018-10-24T08:20:01 | 2018-10-24T08:20:01 | 156,107,399 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,742 | h | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CC_PAINT_PAINT_IMAGE_H_
#define CC_PAINT_PAINT_IMAGE_H_
#include <vector>
#include "base/gtest_prod_util.h"
#include "base/logging.h"
#include "... | [
"team@geometry.ee"
] | team@geometry.ee |
0557efd5caddce6b10344a1cae3bd2e1e979c4c0 | d782889122ef79b124712adc6d350c9e88fb022e | /Source/MultiGame/Concentration/ConCard.cpp | fe621a621101ca478598cbb37e82878fae2e4f78 | [] | no_license | nicex000/MultiGame | e952ef76b5ecbcfc28a5e39b9281ecad8f38c5fd | 4f63f3a4b387b675dd2f38b992ae2bc1a938eaa5 | refs/heads/master | 2023-03-04T09:41:18.539677 | 2021-02-22T20:52:52 | 2021-02-22T20:52:52 | 331,596,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,591 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "ConCard.h"
#include "UObject/ConstructorHelpers.h"
#include "ConGrid.h"
#include "Components/StaticMeshComponent.h"
#include "Curves/CurveFloat.h"
#include "Engine/StaticMesh.h"
#include "Kismet/GameplayStatics.h"
#include "Mate... | [
"martinlagas@hotmail.com"
] | martinlagas@hotmail.com |
25c1a44edc7a388470b7a08a36314ce1f35a9c73 | c7370d2d8ddfcd6f2f39f0645c5852ab42242e9f | /src/logging/src/logging_loguru.cpp | 1dd87cc79c1b5fa515d3fcd854f884fc27966ef2 | [] | no_license | kczapla/lasy_pomorza | 62146dc43b9e92494844fa689b23897b6342d4f4 | b0d78763ef1058a2d3248915d3d0ccd7c36c4fd9 | refs/heads/master | 2020-05-01T05:45:38.019945 | 2019-04-24T18:05:57 | 2019-04-24T18:07:28 | 177,311,427 | 0 | 0 | null | 2019-04-24T18:07:29 | 2019-03-23T16:16:03 | C++ | UTF-8 | C++ | false | false | 502 | cpp | #define LOGURU_WITH_STREAMS 1
#include <loguru.cpp>
#include "logging_loguru.hpp"
void logging::LoguruLogging::add_file(std::string path)
{
loguru::add_file(path.c_str(), loguru::Truncate, loguru::Verbosity_MAX);
}
void logging::LoguruLogging::info(std::ostringstream & msg)
{
LOG_S(INFO) << msg.str();
}
void logg... | [
"k.czapla68@gmail.com"
] | k.czapla68@gmail.com |
0bbf85cd473492ab1bbb1eb3057f61b57d0e3314 | 2edbce1c655fc8c5d859c5e27b4f2a59f28ec88b | /src/Normal.cpp | 87126815ff367d7c0423512a67e5dada07df00b7 | [] | no_license | axhoover/raytracer | 4f242fdeeaa262481e14b72f2db544d77d742c1c | e90bf7c00bf9fe19f5e009f445b97880dea05993 | refs/heads/master | 2021-05-30T11:04:45.264865 | 2015-06-03T23:48:46 | 2015-06-03T23:48:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,650 | cpp | #include "gssmraytracer/geometry/Normal.h"
#include <OpenEXR/ImathVec.h>
namespace gssmraytracer {
namespace geometry {
class Normal::Impl {
public:
Imath::Vec3<float> vec;
};
Normal::Normal() : mImpl(new Impl) {
mImpl->vec.x = 0;
mImpl->vec.y = 0;
mImpl->vec.z = 0;
}
... | [
"ahoover@localhost.localdomain"
] | ahoover@localhost.localdomain |
acae7d0a13e54816e4371f1c40032870b3879107 | b9529c95b01310c45799c12d98937ae37e931b7c | /프로그래밍 강의/COS Pro 2급 Python 모의고사/공항 방문객.cpp | c2447895ad70a152e85301fed535057476757723 | [] | no_license | C13H12N4O2/Programmers | 98b04f3b0241a3f6ed68a2db740460cc014bcf83 | 20157630714c02702b9ffcb55ac193624a784e91 | refs/heads/master | 2022-12-22T15:18:27.949061 | 2020-10-05T14:40:12 | 2020-10-05T14:40:12 | 293,683,163 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 756 | cpp | #include <string>
#include <vector>
using namespace std;
vector<int> func_a(vector<int> arr, int n){
vector<int> ret;
for(int i = 0; i < arr.size(); ++i)
if(arr[i] != n)
ret.push_back(arr[i]);
return ret;
}
int func_b(int a, int b){
if (a >= b)
return a - b;
else
... | [
"c13h12n4o2@gmail.com"
] | c13h12n4o2@gmail.com |
4ceadce1b0e9100d54c79170988528a6b1064bad | e5b4a366cfb61130dd3dcaa84083cb0d0451cd32 | /src/sendalert.cpp | d2be387df24689a99add22aa52fcc76fe81ad151 | [
"MIT"
] | permissive | nToken/ntoken-core | b98f5db2c075b75f4135a9b2f89b299238e2bf06 | f17fea2c91f72d0bfe80818b5a9211234df5ae67 | refs/heads/master | 2021-05-11T13:02:35.559270 | 2018-04-06T08:27:37 | 2018-04-06T08:27:37 | 117,670,025 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,699 | cpp | #include "alert.h"
#include "clientversion.h"
#include "chainparams.h"
#include "init.h"
#include "net.h"
#include "utilstrencodings.h"
#include "utiltime.h"
/*
If you need to broadcast an alert, here's what to do:
1. Modify alert parameters below, see alert.* and comments in the code
for what does what.
2. run n... | [
"dev@ntoken.org"
] | dev@ntoken.org |
769610a5a39333f2d190fb234e162391eb47e084 | ba8dc2138a034eb8c5bb45031fbe2d806beecc52 | /Roflan-Syntax/example/main.cpp | f5d15acb1ca40ffe4e60c8082953cd47cc115555 | [] | no_license | Fals3R/Roflan-Syntax | d3146b4d5e99c46c410de22ee3245b163f8e0bdc | 657e1dadb486a170d093b61c83d76f334ff40aae | refs/heads/master | 2020-07-26T01:47:22.317366 | 2019-09-14T19:45:39 | 2019-09-14T19:45:39 | 208,492,455 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,259 | cpp | #include "../roflan/RoflanSyntax.hpp"
#include <iostream>
#include <windows.h>
#include <string>
инт сложить_целые_числа(инт а, инт б) начало
возвратить а плюс б;
конец
пустота main() начало
язык("ru")
установить_кодировку(1251)
установить_кодировку_вывода(1251)
написать_в_консоль("Привет!\n")
ждать(1000)
ин... | [
"fals3r@gmail.com"
] | fals3r@gmail.com |
935f265bf2b74ef2ed22a47a8f2064ccc1b4ccfe | b536f7af4700b761814fc01b2b2356ad6cae6481 | /MyTest/xService/code/x_service_door_util.hpp | 21a464ff7922302eb3765492a5856e4cb9fce9bf | [] | no_license | QC-git/MyTest | 5c3bb3bc92259b65945e4044d655c1a55f7bd166 | 84724a0e0d208412840fdc4ab184c307a297aa7a | refs/heads/master | 2021-01-10T20:22:32.437573 | 2015-04-17T13:18:36 | 2015-04-17T13:18:36 | 34,115,837 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,136 | hpp |
#ifdef X_SERVICE_USE_PRAGMAONCE
#pragma once
#endif
#ifndef _SERVOCE_DOOR_UTIL_HEADER
#define _SERVOCE_DOOR_UTIL_HEADER
//////////////////////////////////////////////////////////////////////////
_SERVOCE_DOOR_BEGIN
#if X_SERVICE_HAVE_SPEPRINT > 0
_SERVICE_EXPORT VOID_T Print_f();
# define PRINT_F _SERV... | [
"273143979@qq.com"
] | 273143979@qq.com |
765c72fb2288695bffb1cde6edd390d57e6540d7 | daba6e9665ba4294601180187e1cce6d2bcc7855 | /QConsole/app/Foo.cpp | f6419b3aae031c25cc28199bdc2f62575b6ec209 | [
"Apache-2.0"
] | permissive | szmurlor/fiver | 6c9fcfa0106f686ea2d584993338e117c41ee280 | 083251420eb934d860c99dcf1eb07ae5b8ba7e8c | refs/heads/master | 2021-01-10T18:45:32.704247 | 2015-04-22T10:28:07 | 2015-04-22T10:28:07 | 34,375,842 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 460 | cpp | #include <iostream>
#include <string>
#include <QString>
#include "Foo.h"
#include "Bar.h"
void Foo::hello() {
std::cout << "Hello, nice to see you." << std::endl;
}
int Foo::add(int a, int b) {
return a + b;
}
int Foo::length(std::string s) {
std::cout << "Size of " << s << " is " << s.size() << std::en... | [
"szmurlor@f3fdd263-7064-37e0-4400-c306c3018cec"
] | szmurlor@f3fdd263-7064-37e0-4400-c306c3018cec |
8af5569f1a2ec32c18c9b1684709d0853629a149 | dfbf881a7419f35c344e5d271d112a2d3e9fd525 | /ExperPortHLabTrainingBoxes/Modules/TCPClient/NetClient.cpp | 0c18731204e8421cf94ee1665d7910ca034f013b | [] | no_license | jonathansy/BControl_Primary | 13ea066fd16c55a30774a68b73f50d63b2a25b94 | 057039f984741107e37d768889aaf3321188e6d7 | refs/heads/master | 2016-09-02T01:19:48.312376 | 2015-02-28T00:02:13 | 2015-02-28T00:02:13 | 31,345,565 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,547 | cpp |
#include "NetClient.h"
NetClient::NetClient(const std::string & h, unsigned short p)
: Socket(TCP)
{
setHost(h);
setPort(p);
}
NetClient::~NetClient() {}
unsigned NetClient::sendData(const void *d, unsigned dataSize) throw (const SocketException &)
{
unsigned sent = 0;
const char *dataBuf = static_cast<c... | [
"jonathbs@usc.edu"
] | jonathbs@usc.edu |
a8f9b6c28ebd5002d702603fc7458b01ac617971 | b3287cda4d87f652756cd17826ad0ec1df4afb42 | /Object-Oriented Programming/Lab12/firstpage.h | 22f97034a1e0aa330c3e05aaae53dbf3d74612be | [] | no_license | skiry/University | 52e0eab4d18d6623250ac3b3588822aebe278844 | 1ad8f02eca0f8876f7436283c4637ae594cf40b9 | refs/heads/master | 2022-12-24T11:00:53.304614 | 2020-06-16T17:23:03 | 2020-06-16T17:23:03 | 116,440,486 | 0 | 0 | null | 2022-12-10T16:05:40 | 2018-01-06T00:29:33 | Python | UTF-8 | C++ | false | false | 825 | h | #ifndef FIRSTPAGE_H
#define FIRSTPAGE_H
#include <QDialog>
#include <QVBoxLayout>
#include <QRadioButton>
#include <QWidget>
#include <QGroupBox>
#include <QPushButton>
#include <QPalette>
#include "fileplaylist.h"
#include "mainwindow.h"
#include "usermode.h"
namespace Ui
{
class FirstPage;
}
class FirstPage : publ... | [
"skiry@localhost.localdomain"
] | skiry@localhost.localdomain |
07d2fd097917acfa3aef566a30be98f94ed8d4bc | 037440687e80d95f72a71edd563d9d2468e132d3 | /shapes/Cylinder.h | 0034c3011267f116779d197c9ca4a30f2f360902 | [] | no_license | linbojun/CG-Project | 9e62d07fa744ec4da94732fe97b7441a11691b84 | 2d9c76d1b86eac1204bdcb13b2f30d9664c2c53d | refs/heads/master | 2023-03-20T20:03:58.589479 | 2020-11-26T00:15:21 | 2020-11-26T00:15:21 | 345,007,623 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 304 | h | #ifndef CYLINDER_H
#define CYLINDER_H
#include "Shape.h"
class Cylinder : public Shape
{
public :
Cylinder();
Cylinder(int p1, int p2);
~Cylinder();
private:
void create_vertex_data();
void create_cycle(float y_axis, bool face_top);
int mesh_size;
int side_size;
};
#endif
| [
"blin@iastate.edu"
] | blin@iastate.edu |
85d43c36a53ba0361ae4a206fadb8db23b3935dd | 6ca55659d3807a60d06d5294d5483c7db0d3284c | /Temp/StagingArea/Data/il2cppOutput/Bulk_UnityEngine.UIModule_0.cpp | 3fe76ff242f9827fdd3bce8a24c621c755dd0762 | [] | no_license | JordanSchuetz/PubNub-Unity-Image-Switcher | c59de86604d8f3f6eb1a203c0388d1e09c2fe164 | 1a139b3a81ce5b973f7afbc786245686b33e7ace | refs/heads/master | 2020-03-16T16:26:56.096607 | 2018-05-10T22:51:13 | 2018-05-10T22:51:13 | 132,788,081 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 160,214 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "il... | [
"schuetz@jordan-schuetz.local"
] | schuetz@jordan-schuetz.local |
541ab80e2cb2e8d706edd918151c5d48b1f50e24 | 4a8067d25f4bf239259a32d87e6a3cbd3aa8e500 | /src/BTSerialPortBinding.h | eea9fbc8e039897f086f1dced987ff6bc42cf99e | [
"MIT",
"BSD-2-Clause",
"BSD-2-Clause-Views",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | normanb/bluetooth-serial-port | 8f09fed7e1a65a2e1434fd15d92a046711856a66 | 229dd77fe0a5f8161428d6b5db95f924312048c7 | refs/heads/master | 2021-01-14T14:27:33.314211 | 2014-12-03T09:53:24 | 2014-12-03T09:53:24 | 29,368,601 | 0 | 0 | null | 2015-01-16T21:27:07 | 2015-01-16T21:27:05 | C | UTF-8 | C++ | false | false | 567 | h | #pragma once
#include <string>
#include <memory>
struct bluetooth_data;
class BTSerialPortBinding
{
private:
std::unique_ptr<bluetooth_data> data;
std::string address;
int channelID;
//int readTimeout;
//int writeTimeout;
BTSerialPortBinding(std::string address, int channelID);
public:
~BTSerialPortBinding()... | [
"agamnentzar@gmail.com"
] | agamnentzar@gmail.com |
8a886d45f52e5647e27f9a918800afa51ea33fe4 | f3e357d81ae3c12db383742620ba228eb8b4afb1 | /Minigin/TextComponent.cpp | 98b23ed38bd279b85397588b81871c9c7e4c96ef | [] | no_license | Kuuyo/Small_2D_Engine_DigDug | 0e7968bf092c8ffc03efbd98b87c32cf102d078b | d51c4048d6883f1cb474f911740912260c594a79 | refs/heads/master | 2020-04-28T15:45:03.604398 | 2019-10-10T12:55:14 | 2019-10-10T12:55:14 | 175,387,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,447 | cpp | #include "MiniginPCH.h"
#include "TextComponent.h"
#include "Renderer.h"
#include "Font.h"
#include "Texture2D.h"
#include "GameObject.h"
#include "ResourceManager.h"
#include "Scene.h"
namespace dae
{
TextComponent::TextComponent(const std::string& text, bool isCentered, unsigned int fontSize, SDL_Color color, cons... | [
"brokenkyuu@gmail.com"
] | brokenkyuu@gmail.com |
14bdb90099546d5668a03e4775cd15d0265cce59 | 67563a4436b914654dd441eb2e1915bbd41aa8ca | /Engine/sdk/src/MPShadeMap.cpp | cee3eba625b5a27e75cd76437913d930d9f055c9 | [
"Apache-2.0"
] | permissive | PKO-Community-Sources/ClientSide-Sources | 1cab923af538ffe9d9cb9154b14dd3e0a903ca14 | ddbcd293d6ef3f58ff02290c02382cbb7e0939a2 | refs/heads/main | 2023-05-13T00:15:04.162386 | 2021-06-02T15:35:36 | 2021-06-02T15:35:36 | 372,753,278 | 3 | 0 | Apache-2.0 | 2021-06-02T15:26:17 | 2021-06-01T08:17:07 | C++ | GB18030 | C++ | false | false | 27,243 | cpp | #include "StdAfx.h"
//#include <mindpower.h>
#include "GlobalInc.h"
#include "MPModelEff.h"
#include "lwPredefinition.h"
#include "MPMap.h"
#include ".\mpshademap.h"
#include "MPRender.h"
#define TILESIZE 1.0f
//#include "..\include\mpshademap.h"
#define CLAMP(A, MIN, MAX) ( (A) > (MAX) ) ? (MAX) : ( ( (A) < (M... | [
"businessyagura2k@gmail.com"
] | businessyagura2k@gmail.com |
4b92a6566d6d95d8545f8fb75712237696022dac | b28305dab0be0e03765c62b97bcd7f49a4f8073d | /components/arc/volume_mounter/arc_volume_mounter_bridge.cc | 5ac2058ae89d839b803280b22c678e8528685a52 | [
"BSD-3-Clause"
] | permissive | svarvel/browser-android-tabs | 9e5e27e0a6e302a12fe784ca06123e5ce090ced5 | bd198b4c7a1aca2f3e91f33005d881f42a8d0c3f | refs/heads/base-72.0.3626.105 | 2020-04-24T12:16:31.442851 | 2019-08-02T19:15:36 | 2019-08-02T19:15:36 | 171,950,555 | 1 | 2 | NOASSERTION | 2019-08-02T19:15:37 | 2019-02-21T21:47:44 | null | UTF-8 | C++ | false | false | 5,431 | 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/arc/volume_mounter/arc_volume_mounter_bridge.h"
#include "base/bind.h"
#include "base/logging.h"
#include "base/memory/singleton.h"
... | [
"artem@brave.com"
] | artem@brave.com |
863b257d5c2b7dabd062c26493049442fec9b869 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /third_party/blink/renderer/modules/webtransport/datagram_duplex_stream.h | 2412e30095d39e4808d3c8791bd40622c3cfde32 | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause",
"MIT",
"Apache-2.0"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 2,953 | h | // Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_WEBTRANSPORT_DATAGRAM_DUPLEX_STREAM_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_WEBTRANSPORT_DATAGRAM_DUPLEX_STREAM_H_
#include <s... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
000459f94508d9eab7dcf3ca54973d6b4d5e96d0 | 3129e06c67d9b0e20f0c6f52fe854540237acd1d | /Sources/Elastos/LibCore/inc/elastosx/crypto/MacSpi.h | 894b89291e24d645cb23d7220007ae2854e72059 | [] | no_license | imace/ElastosRDK5_0 | 0300d0e63871422e03d21664ae9eab9aec2d1c25 | c4dc183c148960450198a3b59832c9a69327d3f3 | refs/heads/master | 2021-01-15T16:11:18.368138 | 2015-08-09T14:34:05 | 2015-08-09T14:34:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,209 | h |
#ifndef __MACSPI_H__
#define __MACSPI_H__
#include <elastos/core/Object.h>
using Elastos::Core::Object;
using Elastos::IO::IByteBuffer;
using Elastos::IO::IBuffer;
using Elastos::Security::IKey;
using Elastos::Security::Spec::IAlgorithmParameterSpec;
namespace Elastosx {
namespace Crypto {
class MacSpi
: publi... | [
"ma.li@kortide.com"
] | ma.li@kortide.com |
0a50a554b731b62bcd09904055b20e3dfda45970 | 1c8e5a1fc7f9dfee4969194c1bd77918eea73095 | /Source/AllProjects/CIDLib/CIDLib_UniqueName.cpp | fd39c773daa9f0d5f1540da0fb40d5100f75fa3e | [] | no_license | naushad-rahman/CIDLib | bcb579a6f9517d23d25ad17a152cc99b7508330e | 577c343d33d01e0f064d76dfc0b3433d1686f488 | refs/heads/master | 2020-04-28T01:08:35.084154 | 2019-03-10T02:03:20 | 2019-03-10T02:03:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,803 | cpp | //
// FILE NAME: CIDLib_UniqueName.cpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 03/10/2001
//
// COPYRIGHT: $_CIDLib_CopyRight_$
//
// $_CIDLib_CopyRight2_$
//
// DESCRIPTION:
//
//
// CAVEATS/GOTCHAS:
//
// LOG:
//
// $_CIDLib_Log_$
//
// ---------------------------------------------------------------------------
... | [
"droddey@charmedquark.com"
] | droddey@charmedquark.com |
810d1a869d35df884ac179fbc25cdc0c13af9301 | 467eb15f68718790273d31763da509a726302abf | /binary-tree-right-side-view.cc | 3c361cbd71d03cd52fd54e1ee0de5f8d168da8f1 | [] | no_license | terryterry841/leetcode | 5693408baf55751c065af9180a5ff9d299c456b7 | 54fd9d5da703b51872e6395c4c101fd4ad33d1a0 | refs/heads/master | 2021-01-10T02:27:53.831026 | 2016-04-05T23:46:15 | 2016-04-05T23:46:15 | 54,294,691 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 980 | cc | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
vector<int> rightSideView(TreeNode* root) {
if (!root) {
return {};
... | [
"terryterry841@gmail.com"
] | terryterry841@gmail.com |
ad6e963e66dcaead8513047ba1b2495f235b157e | e7e497b20442a4220296dea1550091a457df5a38 | /main_project/feed/FeedAsync/src/SqlQueue.h | 97d7a944a47e1b4eb6c4c19076468b3a81302382 | [] | no_license | gunner14/old_rr_code | cf17a2dedf8dfcdcf441d49139adaadc770c0eea | bb047dc88fa7243ded61d840af0f8bad22d68dee | refs/heads/master | 2021-01-17T18:23:28.154228 | 2013-12-02T23:45:33 | 2013-12-02T23:45:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,973 | h | /*
* Queue.h
*
* Created on: Feb 17, 2011
* Author: yejingwei
*/
#ifndef QUEUE_H_
#define QUEUE_H_
#include <vector>
#include <queue>
#include "IceUtil/Thread.h"
#include "IceUtil/Monitor.h"
#include "Singleton.h"
#include "Ice/Config.h"
#include "QueryRunner.h"
using namespace com::xiaonei::xce;
using n... | [
"liyong19861014@gmail.com"
] | liyong19861014@gmail.com |
8e08c0290ce7f2b704b02b841ad2ab988a66b752 | a7080720a08343936af62530eaef5af337e72ed1 | /operatorpresedence.cpp | 68e434a263ef54e95cc52ad69211fafd5b01e756 | [] | no_license | VISHAL2981/codingblock_data_structure_algorithm | f46d9a9c8e4d5130560e5e74acd5f659e9889a8d | 14ab94ba8fea2727f0df0bf75cdc0d6f52327c7e | refs/heads/master | 2023-06-10T10:31:37.808847 | 2021-07-09T17:00:48 | 2021-07-09T17:00:48 | 384,502,026 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 767 | cpp | #include <iostream>
using namespace std;
int main()
{
int digit = 0;
int alphabets = 0;
int spaces = 0;
int others = 0;
char ch;
// ch = cin.get();
while (ch != '$')
{
if (ch >= '0' and ch <= '9')
{
digit++;
}
else if ((ch >= 'a' and ch <=... | [
"vishalnimesh29@gmail.com"
] | vishalnimesh29@gmail.com |
2462ec30c6e8b9e8ab3e8d0d8e3849a0fa863340 | df75154e1344bc4f1817d55cad7379dc2eb6deec | /hdr/transform/falcon_dsp_freq_shift_cuda.h | 0a681b20c225b7f164cc820dd2e224cec05fba9c | [
"MIT"
] | permissive | OrthogonalHawk/libfalcon_dsp | 02b34c18074b5c74b7b24d22eb11ea90a857d123 | 93b8e78ae768688df495e1c67770370c206044cd | refs/heads/master | 2020-05-09T14:08:48.565757 | 2020-02-18T20:51:30 | 2020-02-18T20:51:30 | 181,182,936 | 2 | 0 | MIT | 2019-09-04T02:56:08 | 2019-04-13T14:28:05 | C++ | UTF-8 | C++ | false | false | 8,859 | h | /******************************************************************************
*
* MIT License
*
* Copyright (c) 2020 OrthogonalHawk
* 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 wi... | [
"OrthogonalHawk@gmail.com"
] | OrthogonalHawk@gmail.com |
f41bc1b0ec723b704677b876f96a36ab87b4fce8 | f9be1d8e2abaff6f0febf2ad6b76ac57b329a785 | /src/qt/coingui.h | bcc4dd1ff808df119fbe7d8f18fc571b939a49ef | [
"MIT",
"Apache-2.0"
] | permissive | jonspock/tessa | 47e1f6444d4e04322c703df570c4e02ef0616de6 | 1a1b64b05510dffa8221b193b014dc7ccb9fbe4a | refs/heads/master | 2020-05-14T21:53:33.144627 | 2018-10-04T04:26:31 | 2018-10-04T04:26:31 | 181,966,556 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,677 | h | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2017-2018 The PIVX developers
// Copyright (c) 2018 The TessaChain 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_BITCOINGUI_H... | [
"jonspock@gmail.com"
] | jonspock@gmail.com |
e7cef6e6e110a6d68511430e7ce39a2581eda995 | 56fcab9393f0ec379e2abb00d2d8eda36f64e823 | /uintah/kokkos_src_original/Core/Grid/axiCptiInterpolator.h | 12e921c264bb86672a933e49c0270476982007a2 | [
"MIT",
"CC-BY-4.0"
] | permissive | damu1000/hypre_ep | 4a13a5545ac90b231ca9e0f29f23f041f344afb9 | a6701de3d455fa4ee95ac7d79608bffa3eb115ee | refs/heads/master | 2023-04-11T11:38:21.157249 | 2021-08-16T21:50:44 | 2021-08-16T21:50:44 | 41,874,948 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,974 | h | /*
* The MIT License
*
* Copyright (c) 1997-2017 The University of Utah
*
* 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
* right... | [
"damodars@sci.utah.edu"
] | damodars@sci.utah.edu |
b5df00449c124e1dd4476588403ecc683cb975d3 | 5286798f369775a6607636a7c97c87d2a4380967 | /thirdparty/instant-meshes/instant-meshes-dust3d/ext/tbb/src/rml/test/test_rml_mixed.cpp | a20b17fcd063941fe020eaf808173c826fa08a94 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"MIT",
"LicenseRef-scancode-free-unknown"
] | permissive | MelvinG24/dust3d | d03e9091c1368985302bd69e00f59fa031297037 | c4936fd900a9a48220ebb811dfeaea0effbae3ee | refs/heads/master | 2023-08-24T20:33:06.967388 | 2021-08-10T10:44:24 | 2021-08-10T10:44:24 | 293,045,595 | 0 | 0 | MIT | 2020-09-05T09:38:30 | 2020-09-05T09:38:29 | null | UTF-8 | C++ | false | false | 9,209 | cpp | /*
Copyright (c) 2005-2016 Intel Corporation
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 la... | [
"huxingyi@msn.com"
] | huxingyi@msn.com |
83559fadef8b97701a337a6881127873ebd85348 | 2b970f99745d31eb067ba59d03c28f1d93c2625d | /Proyecto_Tesis_AdaFruit/tesis_sol_adafruit/MouseDevice/MouseDevice.cpp | c8f48d7f1157005b754b9212bf03119a30946936 | [] | no_license | solvaldes/tesis | 45d429d05207fc4d240b14cd73fc219ab4e6454e | 6a44f5fe84b4decc501f5f3b9ce3062fa8008b56 | refs/heads/master | 2021-01-23T13:29:55.079284 | 2017-11-08T23:23:23 | 2017-11-08T23:23:23 | 102,665,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 965 | cpp | #include "Arduino.h"
#include "MouseDevice.h"
#include <PS2Mouse.h>
MouseDevice::MouseDevice(int numero, int mouseData, int mouseClock)
{
_numero = numero;
_clockPin= mouseClock;
_dataPin= mouseData;
}
void MouseDevice::setup(){
_mouse= new PS2Mouse(_clockPin, _dataPin, STREAM);
_mouse->initialize();
_mouse->s... | [
"solvaldes15@gmail.com"
] | solvaldes15@gmail.com |
62a456ab5bd56cb80cdebfca17aae4901a337cd2 | 412a08f5d43fcd9dc5e06d2f587efa578ea40e8a | /BOJ/Math/boj15995_잉여역수_구하기.cpp | 29dae6a60ebbd515735326f2bcc73a73aa241052 | [] | no_license | onww1/Problem-Solving | 19b920f5f4caec50a3aded971e1f1e630e8b6c46 | 86cc8854ef0457f8f7741cbae401af5038f8ae05 | refs/heads/master | 2022-06-07T15:47:45.685775 | 2022-05-25T12:59:59 | 2022-05-25T12:59:59 | 130,528,244 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,667 | cpp | #pragma GCC optimize("O3")
#pragma GCC optimize("Ofast")
#pragma GCC optimize("unroll-loops")
#include <algorithm>
#include <functional>
#include <iostream>
#include <string>
#include <unordered_set>
#include <unordered_map>
#include <cmath>
#include <ctime>
#include <cstdio>
#include <cstring>
#include <cstdlib>
#incl... | [
"sewon.dev@gmail.com"
] | sewon.dev@gmail.com |
2f4eeb4f061f62963809688f0792097bc024b15e | 7bfbb049130da0ba0b54472e7bef1f6fa0abe228 | /srcs/box/bonus/ExtraLife.cpp | 9bf81444106e4c79a2d6f4168f733ac645dfe96b | [] | no_license | aismann/Bomb-Erman | ffca721d1521e745d860948328e3f70d64e9e1e6 | a1e229ccdd54d6604b27a4dc2bdf09e35c6c9ba7 | refs/heads/main | 2023-01-27T13:09:48.998187 | 2020-12-09T23:05:42 | 2020-12-09T23:05:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 611 | cpp | #include "ExtraLife.hh"
ExtraLife::ExtraLife(Position pos, Map &map, MeshesLoader *mesh, ImagesLoader *img) :
ABonus(BoxType::eBoxType::BONUS_EXTRA_LIFE, pos, map, mesh, img)
{
_meshi->setMaterialTexture(0, _img->Get_texture("indie_ressources/textures/coeur.png"));
}
ExtraLife::ExtraLife(const ExtraLife &other) :... | [
"ronan.boiteau@epitech.eu"
] | ronan.boiteau@epitech.eu |
cf369983828365481d6af35e30ce7c6230e8d0ac | f4a9d73016203c51c178726572d8920e88ab7dfe | /source/patchers/Patcher_.h | 838d6858e0e1cec085d52f9d05c7bbf13aa68eae | [] | no_license | sokcuri/Noginogi-Party | ebb720992fbab1464870d1075eb2401605a3c3de | dc22cae03d456e1c900a45a5704de1e76e35d4c9 | refs/heads/master | 2021-01-02T09:33:57.896638 | 2015-02-22T01:39:39 | 2015-02-22T01:39:39 | 31,148,426 | 11 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 707 | h | #pragma once
/* Name Of Mod
* Description of mod
* PATCHES: XXX.dll
*
* CTRL+H "NameOfMod"
*/
#include "../Main.h"
#include "../Singleton.h"
#include "GenericPatcher.h"
class CPatcher_NameOfMod : public IGenericPatcher {
public:
CPatcher_NameOfMod();
bool Uninstall( void );
bool Toggle( void );
bool ReadIN... | [
"sokcuri@naver.com"
] | sokcuri@naver.com |
67878999b2bb115249ccf20213815898cd6aa1bb | aed24cec661949087e9de5596a211c3fd5f84fca | /server_src/ResourceRepository.cpp | 18ce70246138b8e3cac65bbd61b65e33c1147381 | [] | no_license | eleonoraluna/tp3-taller-pages | dc4ff22b7a6af48874c6f8cee023fdb18e709176 | 0941636d316d8d9e224a1e2f93db3095bc4e9a10 | refs/heads/main | 2023-01-21T21:05:35.860691 | 2020-11-21T04:01:12 | 2020-11-21T04:01:12 | 311,477,161 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 600 | cpp | #include "ResourceRepository.h"
#include <exception>
#include <string>
ResourceRepository::ResourceRepository() {}
const std::string ResourceRepository::get(const std::string &resource){
std::unique_lock<std::mutex> lock(this->m);
std::string body;
try{
body=this->resources.at(resource);
}catch(const std::... | [
"eleluna@fi.uba.ar"
] | eleluna@fi.uba.ar |
4d0a72ebdfde9aea43e9b40e16ba933937ae0672 | 448e3b95bf831afe2d6844fcd8813540aec64f01 | /src/Parser/Token.cpp | 04c7cd09cbc1ccda52526ac1969acdd5bd01dcad | [
"MIT"
] | permissive | dinkoosmankovic/LogicToolbox | a82beaf8d86eed39de7ac2bcae0e3823d8eb743b | b56b35f99acdabd8bcdb4498e0cc00df441b2764 | refs/heads/master | 2020-05-21T21:12:56.560363 | 2020-02-02T20:19:23 | 2020-02-02T20:19:23 | 84,643,274 | 0 | 5 | MIT | 2019-10-25T13:52:14 | 2017-03-11T10:54:06 | C++ | UTF-8 | C++ | false | false | 448 | cpp | //
// Created by infloop on 7/16/17.
//
#include "../../include/Token.h"
Token::Token(const char read){
if(read == '\000' || read == '\0' || read == '\n'){
type = TokenType::EXPR_END;
value = "";
return;
}
if(token_map.find(read) != token_map.end()){
type = token_map[read... | [
"acimovic.alek@gmail.com"
] | acimovic.alek@gmail.com |
c8e0b38d472d453c3118203b8a3e6b02bb2cc28b | 7fcb2a603ae73c8e3670e803d9114e03eedf4a67 | /exam718/sqrt.cpp | 56c035e8fbc0bae72e203fc6c5203a43a65420c5 | [] | no_license | RiceyuCui/exam | c68a6ce682d2c17bb8d73215e5f10d8ad0b20930 | 15ab25aedd7652d88583880bd53c180cf51624b0 | refs/heads/master | 2020-06-23T15:47:27.062321 | 2017-08-16T10:03:27 | 2017-08-16T10:03:27 | 96,907,097 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 276 | cpp | #include<stdio.h>
#include<math.h>
#include<conio.h>
int main(void)
{
long int i, x, y;
for (i = 1; i < 100000; i++)
{
x = sqrt(i + 100);
y = sqrt(i + 268);
if ((x * x == i + 100) && (y * y == i +268))
{
printf("\n%ld\n", i);
}
}
getch();
return 0;
} | [
"646017778@qq.com"
] | 646017778@qq.com |
400e14140dec380b1f08e264b2f2a7473d08f21a | 27466e78d3cd1ed168d96fd4c2fb26add1ec7cc3 | /FDYN/NDYN_Debug/include/Physics/Physics/NEPhysicalMaterial.h | e5f3708844efdfd9a4ddcb4a0eb1ade091996679 | [] | no_license | gpudev0517/Fire-Simulator | 37e1190d638a30c186ae1532975a56b23ffaac67 | 46581c19356e47a5c6fc8a9ee6f6478b96d02968 | refs/heads/master | 2023-04-26T02:54:53.458427 | 2021-05-14T10:16:10 | 2021-05-14T15:25:28 | 277,579,935 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,614 | h | #pragma once
#include "NENode.h"
#include "Base/NENodeFactory.h"
class NEPhysicalMaterialPrivate;
/*!
Class defining a solid and its physical properties.
*/
class NEPhysicalMaterial : public NENode
{
Q_OBJECT
NE_CLASS("Physical Material")
public:
enum PhysicalPresetType
{
NoPreset = 0,
... | [
"59606840+gpudev0517@users.noreply.github.com"
] | 59606840+gpudev0517@users.noreply.github.com |
630ae165bc0e5c45406442bb88ac4b8b7a5756b3 | e0d906c1e84c1f83a3da27db086aab7b7b4212af | /Server/Server/Gamepad.h | 6406f0ec5af64f404299108105bf787d3cdd38a8 | [] | no_license | StarikTenger/SpaceSodomyOnline | 8904034c5ec400e17404f6e41bafb9da5fe7d2ff | cdbe6975d293bd214f8a591cbe5dfba4ea415a5d | refs/heads/master | 2023-02-09T04:53:11.604384 | 2020-12-30T19:02:45 | 2020-12-30T19:02:45 | 237,202,605 | 3 | 5 | null | 2020-12-30T18:55:32 | 2020-01-30T11:51:53 | C++ | UTF-8 | C++ | false | false | 335 | h | #pragma once
#include <SFML/Graphics.hpp>
#include "geometry.h"
class Gamepad {
public:
int button1 = 0;
int button2 = 0;
int button3 = 0;
int button4 = 0;
int leftUp = 0;
int leftDown = 0;
int rightUp = 0;
int rightDown = 0;
int button9 = 0;
int button10 = 0;
Vec2 pos;
Gamepad();
~Gamepad();
int& get(in... | [
"stariktenger@gmail.com"
] | stariktenger@gmail.com |
23f3a41da6c4393354df5a9fe33f82bbc5b18833 | 7f62f204ffde7fed9c1cb69e2bd44de9203f14c8 | /DboServer/Server/GameServer/BotAiAction_SPSEnd.h | 1f02054eb04cc69116cafa406cf3da9cc4d4b7be | [] | no_license | 4l3dx/DBOGLOBAL | 9853c49f19882d3de10b5ca849ba53b44ab81a0c | c5828b24e99c649ae6a2953471ae57a653395ca2 | refs/heads/master | 2022-05-28T08:57:10.293378 | 2020-05-01T00:41:08 | 2020-05-01T00:41:08 | 259,094,679 | 3 | 3 | null | 2020-04-29T17:06:22 | 2020-04-26T17:43:08 | null | UTF-8 | C++ | false | false | 363 | h | #ifndef __AI_DBOG_BOTACTION_SPSEND_H__
#define __AI_DBOG_BOTACTION_SPSEND_H__
#include "BotAiAction.h"
class CBotAiAction_SPSEnd : public CBotAiAction
{
public:
CBotAiAction_SPSEnd(CNpc* pBot);
virtual ~CBotAiAction_SPSEnd();
public:
virtual void OnEnter();
virtual void OnExit();
virtual int OnUpdate(DWORD... | [
"64261665+dboguser@users.noreply.github.com"
] | 64261665+dboguser@users.noreply.github.com |
13fa3e9068be74396915723ee0b421ecd4139ac6 | 06123737a66d437ed0664bfcf15b85e6d50e7da1 | /libraries/chain/include/steem/chain/util/smt_token.hpp | af0188959e844a2a07d5e8b79e68e93857df4755 | [
"MIT"
] | permissive | reactivespace/Steemit-Fork-2.0 | 03959d019c818dbb719dadcab586c884e8c8b723 | 1bf860963f5715309bda6f77e362e09e9d3ccf8a | refs/heads/main | 2023-03-02T15:56:20.192616 | 2021-02-17T12:54:06 | 2021-02-17T12:54:06 | 339,644,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,772 | hpp | #pragma once
#include <fc/optional.hpp>
#include <clout/chain/database.hpp>
#include <clout/chain/smt_objects.hpp>
#include <clout/protocol/asset_symbol.hpp>
namespace clout { namespace chain { namespace util { namespace smt {
const smt_token_object* find_token( const database& db, uint32_t nai );
const smt_token_ob... | [
"danish.rabbani90@gmail.com"
] | danish.rabbani90@gmail.com |
15584488d262b067e7aaed4e9a279d7739fe9513 | 5d7807e52888b9505c4b5a0e24f5f87e4f6c343f | /cryengine/CryGame/Projectile.cpp | 558f78fdf52f63be3e05e2766e557325f0317a14 | [] | no_license | CapsAdmin/oohh | 01533c72450c5ac036a245ffbaba09b6fda00e69 | b63abeb717e1cd1ee2d3483bd5f0954c81bfc6e9 | refs/heads/master | 2021-01-25T10:44:22.976777 | 2016-10-11T19:05:47 | 2016-10-11T19:05:47 | 32,117,923 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 40,003 | cpp | /*************************************************************************
Crytek Source File.
Copyright (C), Crytek Studios, 2001-2004.
-------------------------------------------------------------------------
$Id$
$DateTime$
-------------------------------------------------------------------------
History:
- 18:10:2... | [
"eliashogstvedt@gmail.com"
] | eliashogstvedt@gmail.com |
260b6ecc28919a32252048fcefd518515ee80d11 | 5a97be73f3c6e2987480194a791675259f8d7edf | /BZOJ/3224/code.cpp | c3a985cfcb526053f00b2cf93c98e44afee6fad9 | [
"MIT"
] | permissive | sjj118/OI-Code | 1d33d2a7a6eeba2ed16692d663e1b81cdc1341fd | 964ea6e799d14010f305c7e4aee269d860a781f7 | refs/heads/master | 2022-02-21T17:54:14.764880 | 2019-09-05T07:16:27 | 2019-09-05T07:16:27 | 65,370,460 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,936 | cpp | #include<iostream>
#include<cstdio>
#include<cstdlib>
#define pii pair<int,int>
#define mp make_pair
#define rg register
#define rep(i,x,y) for(rg int i=(x);i<=(y);++i)
#define per(i,x,y) for(rg int i=(x);i>=(y);--i)
using namespace std;
const int maxn=1e5+10,inf=1e9;
int root;
struct Treap{
int tot,ls[maxn],rs[maxn],... | [
"史记"
] | 史记 |
d54feabbc679cae6a71403d574ed8e3012b8e1a3 | 10f8237265db1392ed4c5bcc888f0cecb32a3e54 | /src/cc/common/kfsdecls.h | 3d5301240d2ef6a3012570f3fe3ff8a6ddb189aa | [
"Apache-2.0"
] | permissive | jomie/kfs | c88f18334f9a4cf2a3dc4ce80f196e52304bfe9f | 8bce116e87f31b1e91f75c09e8aec19c1cafffd4 | refs/heads/master | 2021-01-16T20:56:49.943904 | 2012-05-03T22:12:07 | 2012-05-03T22:12:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,401 | h | //---------------------------------------------------------- -*- Mode: C++ -*-
// $Id: kfsdecls.h 1552 2011-01-06 22:21:54Z sriramr $
//
// \brief Common declarations of KFS structures
//
// Created 2006/10/20
//
// Copyright 2008 Quantcast Corp.
// Copyright 2006-2008 Kosmix Corp.
//
// This file is part of Kosmos Fil... | [
"sriramsrao@gmail.com"
] | sriramsrao@gmail.com |
3b963cd6b8138ff51a88c55535e87ae5dc65803c | d320d6fed418f4339a953f3963e7bd4b6b4b3cd0 | /libapi/basalt/api/gfx/backend/types.h | 5cc2ab293843f35037923ef0c95d5a5f03a6c452 | [] | no_license | juli27/basaltcpp | 6ef93bb3c322f328262bb18c572968eb0ff8fc2b | 1c6bb55f80e8c1fa4aa3b52a7111e78741424955 | refs/heads/master | 2023-08-31T04:30:57.379453 | 2023-08-30T18:57:54 | 2023-08-30T18:57:54 | 189,708,858 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,515 | h | #pragma once
#include <basalt/api/shared/color.h>
#include <basalt/api/shared/handle.h>
#include <basalt/api/math/angle.h>
#include <basalt/api/math/vector3.h>
#include <basalt/api/base/enum_set.h>
#include <basalt/api/base/types.h>
#include <gsl/span>
#include <memory>
#include <variant>
namespace basalt::gfx {
... | [
"juli27@users.noreply.github.com"
] | juli27@users.noreply.github.com |
016ef219544c72a50fd2cd6e5acf03c7d3f65a53 | 4af98acff7a65ed46e0a8738db3d34aa817acffe | /Objects/Nature.cpp | 79feaf0d7e3453217879983b55570b1190cce36b | [
"GPL-3.0-only"
] | permissive | Admiral-Fish/PokeFinderCore | 45d0e43a2850bd0ac28926f113354cbe31897dd2 | 2a1d3542147a1c502f786349580dcecf4a773b22 | refs/heads/develop | 2021-07-12T02:25:04.745179 | 2018-12-13T22:44:58 | 2018-12-13T22:44:58 | 113,494,472 | 0 | 0 | Apache-2.0 | 2017-12-10T20:17:08 | 2017-12-07T20:18:27 | JavaScript | UTF-8 | C++ | false | false | 2,743 | cpp | /*
* This file is part of PokéFinderCore
* Copyright (C) 2017 by Admiral_Fish, bumba, and EzPzStreamz
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 3
* of the License, ... | [
"admiralfish420@gmail.com"
] | admiralfish420@gmail.com |
8f8d213c536e9932795556fe79c101d193c9382f | 86816590ce33750d42525a38faf065d73ee272b4 | /my_punycode.h | d8b0a2f00d1e34fd9574b4cddde4ef239aac4016 | [] | no_license | vi-k/vi-k.mylib | 440cd4d9b93f62beaa0f6d6206d94ceab19a6c06 | e2cf3c14fbb7c57ac8a795a38452aed3bedb92c4 | refs/heads/master | 2021-01-10T02:01:17.460925 | 2010-09-01T06:11:53 | 2010-09-01T06:11:53 | 44,516,052 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 319 | h | #ifndef MY_PUNYCODE_H
#define MY_PUNYCODE_H
#include <cstddef> /* std::size_t */
#include <string>
namespace my {
/* Преобразование в/из Punycode */
std::string punycode_encode(const wchar_t *str, std::size_t length);
std::wstring punycode_decode(const char *str, std::size_t length);
}
#endif
| [
"victor dunaev (victor.dunaev@gmail.com)"
] | victor dunaev (victor.dunaev@gmail.com) |
2ccffb4a298d0f6a17ff83cf213d19c768668895 | 1e3a85a3ae498b34316e4938dd0bc5d39bfcf7c2 | /Assignments/Assignment_6/HW6_Complished/Assignment_6_Code/ex1/ex1 (i)/test.cpp | 15e4931102d5db3983d1493b7d974ac4c5f87c60 | [] | no_license | Geyuhao/CS225 | 987a90e416bbd058aeac9da79f2b9cc8e4b67134 | 42ddfe831674d2cfbe7236209bc7574b3e44c775 | refs/heads/main | 2023-04-26T01:56:58.270989 | 2021-05-21T02:12:49 | 2021-05-21T02:12:49 | 330,625,873 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 794 | cpp | #include <stdio.h>
#include <iostream>
#include <cstdlib>
#include "hashset.cpp"
using std::cout;
using std::cin;
using std::hash;
int main(){
int i;
hash<int> hashfunction;
hashset<int> myhashtable;
myhashtable = hashset<int>(20);
int test_input[14] = {202,32,7,15,74,9,12,16,102,4,8... | [
"guanshujie.19@intl.zju.edu.cn"
] | guanshujie.19@intl.zju.edu.cn |
5113dc78dd183e98dd804a96fc8a2d5288f5cf26 | 11e1311563f5bec80018e772c710557510dcb610 | /lib/Config/AboutLicense.cpp | 8a45e0828cc906d67c18aa89a7a1af0c207b60cf | [] | permissive | ffk0716/onnc | 03e42654b6707e361e3a9d8df176e624d5267032 | 91e4955ade64b479db17aaeccacf4b7339fe44d2 | refs/heads/master | 2020-03-26T14:41:35.911135 | 2018-08-26T14:23:16 | 2018-08-26T14:23:16 | 144,999,938 | 1 | 0 | BSD-3-Clause | 2018-08-16T14:33:31 | 2018-08-16T14:33:30 | null | UTF-8 | C++ | false | false | 1,836 | cpp | //===- AboutData.cpp ----------------------------------------------------===//
//
// The ONNC Project
//
// See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include <onnc/Config/AboutLicense.h>
#include <onnc/Config/AboutData.h... | [
"luba@skymizer.com"
] | luba@skymizer.com |
2ae0d1b95ee8b178ad2d38f6aa282de525559053 | ee39de2901677d01dbef98a0deafd6f200134598 | /arch/Mips/MipsGenInstrInfo.inc | f2243dc5ee403dc4994a83e10972b5cd8706efa6 | [
"BSD-3-Clause",
"NCSA"
] | permissive | 0xKD/capstone | 9209b9811e4a8a97a269013f754ba7c53adc93a9 | 6b7b7d9c9721bb9b48715ab52f3742932e4766a3 | refs/heads/master | 2020-07-11T16:32:35.005465 | 2013-12-20T11:30:15 | 2013-12-20T11:30:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 36,026 | inc | /*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
|* *|
|*Target Instruction Enum Values *|
|* ... | [
"aquynh@gmail.com"
] | aquynh@gmail.com |
57a9543ec8ee63b5d4fe58848e2a4288afbfaa9e | d241a07c8fa1875da6e5858f2babb3377e782247 | /CustomSerialNumber/CustomSerialNumber/Item.cpp | 3ffe4f2f0c4e261711f51588082dfeadbb7d5b7f | [] | no_license | allenhuangxj/CustomerSerialNumberTools | 6d4626284b644bbc0be7dce874ff7cfd73d18f10 | 4d122cb2c8e6086967dfb3c373224f5ca42da189 | refs/heads/main | 2023-07-08T01:02:04.326599 | 2021-08-19T13:28:28 | 2021-08-19T13:28:28 | 397,488,325 | 0 | 0 | null | 2021-08-18T05:52:10 | 2021-08-18T05:52:10 | null | UTF-8 | C++ | false | false | 484 | cpp | #include "stdafx.h"
#include "Item.h"
IMPLEMENT_SERIAL(CItem, CObject, 1)
CItem::CItem()
{
}
CItem::~CItem()
{
}
void CItem::Serialize(CArchive& archive)
{
CObject::Serialize(archive);
if (archive.IsStoring())
{
archive << Type << Value;
}
else
{
int nType;
archive >> nType >> Value;
Type = (ItemTyp... | [
"allenhuangxj@sina.cn"
] | allenhuangxj@sina.cn |
eb6f80c4a1021aa63bab9c96bc68c73620f5d245 | 5c8645d9c4deee4e77c7a9ca649d24c49794ce6f | /CPP/401-500/Q438_FindAllAnagramsInString_Hashmap.cpp | 4800e4ba82f9c603baf195ce788c90e50823a760 | [] | no_license | XiandaChen/LeetCode | 51e9c851f739a5e47195745a2dddc87462a0efbf | fb8b5c67b3876f4a6752cdbe8c8b8979e185ab93 | refs/heads/master | 2022-10-23T20:34:56.375847 | 2022-10-17T06:06:27 | 2022-10-17T06:06:27 | 205,062,375 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 715 | cpp | class Solution {
public:
vector<int> findAnagrams(string s, string p) {
if (s.empty()) return {};
unordered_map<char, int> ms, mp; // char-num
vector<int> res;
// first chars of size of p.size()
for (int i = 0; i < p.size(); ++i) {
++ms[s[i]]; ++mp[p[i]];
... | [
"xuc23@psu.edu"
] | xuc23@psu.edu |
b741d358d70ea870f60f6f87932da8b7cc85e14f | 8eae6774231f4a313e7aa8ac30d5c678dc1c2a42 | /SWUST OJ/0860.cpp | 3842120a0d5c0571892983b3601b282807f73706 | [
"MIT"
] | permissive | windcry1/My-ACM-ICPC | c97b203e5e54d355168ed14db888f4a1b3e6c363 | b85b1c83b72c6b51731dae946a0df57c31d3e7a1 | refs/heads/master | 2021-09-06T20:47:56.525749 | 2021-08-22T14:06:10 | 2021-08-22T14:06:10 | 231,622,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,333 | cpp | //Author:LanceYu
#include<iostream>
#include<string>
#include<cstring>
#include<cstdio>
#include<fstream>
#include<iosfwd>
#include<sstream>
#include<fstream>
#include<cwchar>
#include<iomanip>
#include<ostream>
#include<vector>
#include<cstdlib>
#include<queue>
#include<set>
#include<ctime>
#include<algorithm>
#includ... | [
"lanceyu120@gmail.com"
] | lanceyu120@gmail.com |
54fdafd90fc5754630d87c062c04e0e3c0066847 | f20263e46c5b79ecd27a68f57c888e73a6093585 | /Actor/Props/FootPush/Cpt_FootPushGround.h | 5c9a41eb39f96502a78cef85e44720028d3f68fa | [
"MIT"
] | permissive | Bornsoul/Revenger_JoyContinue | 63cd4365a725ce50b5c9e0d41c00e3b1eb0ff6da | 599716970ca87a493bf3a959b36de0b330b318f1 | refs/heads/master | 2020-06-13T09:50:47.245820 | 2019-09-16T05:01:50 | 2019-09-16T05:01:50 | 194,618,283 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,630 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "Revenger.h"
#include "Components/ActorComponent.h"
#include "Cpt_FootPushGround.generated.h"
UCLASS(ClassGroup = (Custom), Blueprintable, meta = (BlueprintSpawnableComponent))
class REVENGER_API UCpt_FootPushGround... | [
"dlwldks95@gmail.com"
] | dlwldks95@gmail.com |
aa91531540bc11145e2c36adf2242b3674db6808 | 498f5629f15083ac5dbbb3ba73f90bf59067f2e5 | /hackerearth/data structures/stacks/merge_sort.cpp | 2c95d7537724f70460508d7f6a6d7bc2da3ceb1e | [] | no_license | priyanshuN/Algorithms | b3103722fd6657d6507d72d73ba80b35e3a196dd | 22559ffc50939256f2324afd313d4a32bb63f6ac | refs/heads/master | 2022-01-31T06:17:52.577691 | 2022-01-08T14:33:56 | 2022-01-08T14:33:56 | 244,685,281 | 1 | 0 | null | 2022-01-08T14:33:57 | 2020-03-03T16:24:45 | C++ | UTF-8 | C++ | false | false | 825 | cpp | #include<bits/stdc++.h>
using namespace std;
void merge(int a[],int start,int mid,int end){
int p=start,q=mid+1,A[-start+end+1],k=0;
for(int i=start;i<=end;++i){
if(p>mid){
A[k++]=a[q++];
}
else if(q>end){
A[k++]=a[p++];
}
else if(a[p]<a[q]){
A[k++]=a[p++];
}
else{
A[k++]=a[q++];
}
}
for... | [
"priyanshunandan17@gmail.com"
] | priyanshunandan17@gmail.com |
59bb904f969a9bc418fceb51d27c2ef08095f95b | bae9d8d3d01202c704b08eea70b22c3cce83bb53 | /Lights/DirectionalLight.h | 68c14a50260a1da532fcd2e5e44d36a72c43c0ab | [] | no_license | christophzeller/mylittleraytracer | 633d1de4884991cf31f69f541202537c3fcac953 | f7f71fe7d191544460fea6ad84b2ef60d0965d56 | refs/heads/master | 2016-09-05T19:03:37.852606 | 2015-02-21T18:13:46 | 2015-02-21T18:13:46 | 31,036,186 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 649 | h | /*
* DirectionalLight.h
*
* Created on: 21.02.2015
* Author: Christoph
*/
#ifndef DIRECTIONALLIGHT_H_
#define DIRECTIONALLIGHT_H_
#include "Light.h"
#include "../Utility/Vector3D.h"
#include "../Utility/RGBColor.h"
#include "../Tracing/ShadeRec.h"
class DirectionalLight: public Light
{
public:
virtual Ve... | [
"christophzeller@users.noreply.github.com"
] | christophzeller@users.noreply.github.com |
386f8f646aa35a64cb420c28a3dab66b3c8984b5 | 641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2 | /mash/webtest/webtest.cc | 64b1aeecd8ef680b47e9c7ebb7103029fc4889cc | [
"BSD-3-Clause"
] | permissive | massnetwork/mass-browser | 7de0dfc541cbac00ffa7308541394bac1e945b76 | 67526da9358734698c067b7775be491423884339 | refs/heads/master | 2022-12-07T09:01:31.027715 | 2017-01-19T14:29:18 | 2017-01-19T14:29:18 | 73,799,690 | 4 | 4 | BSD-3-Clause | 2022-11-26T11:53:23 | 2016-11-15T09:49:29 | null | UTF-8 | C++ | false | false | 7,473 | 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 "mash/webtest/webtest.h"
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "base/message_loop/message_loop.h"
#include "base/s... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
085f43c9e6488c2d5345e7ec4df48c4e1c5a331d | 1fc4f5203d231f0abe1d1168298dd41e0ad2dc2e | /Bcode_WintgTerm_V2.6.6_Build_20180929(界面统一版本)/GpcTerms/WintgTerm/Tcc/C3/TccCommandSketchMapDlg.h | f7d51daf1a158773eabcb649531f8eb977083212 | [] | no_license | Huixaing/Project | 79d5ceb89620c0de6278cb211ef837c728f1af71 | fc3ab640265eaaed0c0a2c217370196525e1efc3 | refs/heads/master | 2020-03-30T00:44:07.773723 | 2018-10-08T05:44:22 | 2018-10-08T05:44:22 | 150,541,134 | 1 | 5 | null | null | null | null | GB18030 | C++ | false | false | 1,310 | h | #if !defined(TccCommandSketchMapDlg_H)
#define TccCommandSketchMapDlg_H
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// TccCommandSketchMapDlg.h : header file
//
#include "tcc.h"
#include "LS_SketchMap.h"
namespace TCC_C3
{
// CTccCommandSketchMapDlg 对话框
class CTccCommandSketchMapDlg : public CDial... | [
"32888508+Huixaing@users.noreply.github.com"
] | 32888508+Huixaing@users.noreply.github.com |
0138dc6b815787baede9d897a53a6de4e7827a77 | eb48be785029cf3a4b92a64e1231cab757148a3f | /SimpleMipsFunctionGenerator.cpp | cbe8fde9edd7669850826f6fd908b3221fc6c880 | [] | no_license | yueyang130/BUAA_CS_2020_compiler_design | 303727428e0e1da6949149ddef1b3d3b7077d84c | b2ab6b7f491b00ac4c28a9cecc29fb85063bbf8c | refs/heads/master | 2023-05-30T18:11:48.936468 | 2021-06-15T01:08:02 | 2021-06-15T01:08:02 | 336,000,895 | 3 | 0 | null | null | null | null | GB18030 | C++ | false | false | 9,461 | cpp | #include "SimpleMipsFunctionGenerator.h"
#include "tools.h"
namespace SimpleMips {
void SimpleMipsFunctionGenerator::map_local_var() {
for (auto& quater : func_.get_quater_list()) {
if (quater->quater_type_ == QuaternionType::VarDeclare) {
auto entry = dynamic_pointer_cast<VarEntry>(quater->result_);
Va... | [
"17377416@buaa.edu.cn"
] | 17377416@buaa.edu.cn |
bb0f8cc9ee47f11bd0fa1d30b07e36bb55c2923b | d3e83b33db4d6599be2939dfe88ad6893a5e9d84 | /utils.hpp | b4e564bc6aa334aad1ffa87d6fa0b37d8f8552bf | [] | no_license | aschrein/gfx-node | d9d7df069b691a269ca8b3a8f4b3f6a00415ce02 | fb5e22091e1d91b0ce140bd432bf37e534773365 | refs/heads/master | 2022-11-09T18:15:30.025855 | 2020-07-01T12:12:42 | 2020-07-01T12:12:42 | 264,950,550 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,243 | hpp | #ifndef UTILS_H
#define UTILS_H
#include <cstdlib>
#include <malloc.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#if __linux__
// UNIX headers
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#define DLL_EXPORT __attribute__((vi... | [
"antonschrein@gmail.com"
] | antonschrein@gmail.com |
f58e21bed3b586eb4b821d2e54a7f6f61441e3a2 | 42765e7b506e71280e708659032072ad4243a9aa | /atcoder167/B.cpp | 4c8fd62c749768eee88e732bc05953c0e2089d6e | [] | no_license | sparshsinha123/competetive-programming | 0160f6c54da5f1f0d7b47953ff49574645476cd9 | ff7b647a766b6481696cf79e8b704e9ecb7d9ddb | refs/heads/master | 2023-06-01T21:55:22.281696 | 2021-06-14T16:51:52 | 2021-06-14T16:51:52 | 261,093,077 | 0 | 1 | null | 2021-05-31T07:46:32 | 2020-05-04T06:02:12 | C++ | UTF-8 | C++ | false | false | 2,586 | cpp | #pragma GCC optimize("Ofast")
#include "bits/stdc++.h"
using namespace std;
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
#define IOS { ios :: sync_with_stdio(false); cin.tie(0); cout.tie(0); }
#define ll long long
#define umapii unordered_map <int,int>
#defin... | [
"sparsh5008@gmail.com"
] | sparsh5008@gmail.com |
f8888eb4bbea7396e92ae6af4ef8fc146d07e97e | 3edc8e0b47cb3b5bc19738b196b9fe0c79e31a23 | /detect/src/ofApp.cpp | 1c8cd5bb7de9a229de7a63c03b9ab96a8e0259c9 | [] | no_license | 5c0tt411en/interactiveMedia | 5c25f113fc2eb3fc604b8181c6831e058600afc9 | eae3b470f9cb404f778dcd0ebc1a0f05e7d67b5f | refs/heads/master | 2020-12-21T19:51:19.543248 | 2016-07-02T05:50:44 | 2016-07-02T05:50:44 | 59,989,700 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,021 | cpp | #include "ofApp.h"
void ofApp::setup(){
ofSetFrameRate(30);
ofShowCursor();
gui.setup();
gui.add(cam_id.setup("select kinect", false));
gui.add(upside_down.setup("upside down", false));
gui.add(grid.setup("grid", false));
gui.add(test.setup("test", false));
gui.add(window_id.setup("wind... | [
"5c0tt.411en@gmail.com"
] | 5c0tt.411en@gmail.com |
e198549795cf72bbddcbc43da6e23eedb335fde6 | 66862c422fda8b0de8c4a6f9d24eced028805283 | /slambook2/3rdparty/opencv-3.3.0/modules/video/test/test_ecc.cpp | b1e951a68838110a7a0d8eafe89114e951319503 | [
"BSD-3-Clause",
"MIT"
] | permissive | zhh2005757/slambook2_in_Docker | 57ed4af958b730e6f767cd202717e28144107cdb | f0e71327d196cdad3b3c10d96eacdf95240d528b | refs/heads/main | 2023-09-01T03:26:37.542232 | 2021-10-27T11:45:47 | 2021-10-27T11:45:47 | 416,666,234 | 17 | 6 | MIT | 2021-10-13T09:51:00 | 2021-10-13T09:12:15 | null | UTF-8 | C++ | false | false | 14,072 | cpp | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | [
"594353397@qq.com"
] | 594353397@qq.com |
37160253f59233b5f884dbee5ec5f0f37a624bce | 7a83d4d418495f5c1df0bbf335780f65aedb8af8 | /EditableMesh.h | fe030a8a7fd03a0631d78e794de1d56a571b077a | [] | no_license | jaschmid/MeshTools | aac8d9c3677ce999ff8cede4ca0819e8a00ac5eb | 11f169723adb1563b2001ddf7021b7d93dc30de1 | refs/heads/master | 2021-01-01T18:48:08.506040 | 2011-08-11T07:47:31 | 2011-08-11T07:47:31 | 2,189,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 58,736 | h | /********************************************************/
/* FILE: EditableMesh.h */
/* DESCRIPTION: Defines an Editable Mesh Class */
/* AUTHOR: Jan Schmid (jaschmid@eml.cc) */
/********************************************************/
#ifndef __EDITABLE_MESH_... | [
"jaschmid@eml.cc"
] | jaschmid@eml.cc |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.