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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
72f53847741a83369524e0fcb779cdc4fd51a31b | affbe202218f92bb908ea32bf0fdfde7528df065 | /LeetCode 477 Total Hamming Distance.cpp | 99df8a183bb8bc5f3f441310e84e1f23571931f1 | [] | no_license | GengchenXU/LeetCode-2 | fddc92f8d230da6f3e860dd103cf34e187832ec0 | 431f7f9cc6dac91b9cccf853906e91ba2f7892d4 | refs/heads/master | 2020-12-21T02:32:08.446814 | 2019-12-22T14:14:57 | 2019-12-22T14:14:57 | 236,279,461 | 1 | 0 | null | 2020-01-26T07:12:31 | 2020-01-26T07:12:30 | null | UTF-8 | C++ | false | false | 382 | cpp | // LeetCode 477 Total Hamming Distance.cpp
class Solution {
public:
int totalHammingDistance(vector<int>& nums) {
int dist = 0;
for (int i = 0; i < 8 * sizeof(int); i++) {
int b1 = 0;
for (int n : nums) {
b1 += n >> i & 1;
}
dist += b1... | [
"gremist@163.com"
] | gremist@163.com |
0cef37bf19eb288be95ea0a907dcc30ae3bb6b9a | e33dcca8fdd5ebda31443feddae99e58ed8bfa5a | /uva/UVA 884.cpp | d41088e613e8259d31896afcdf72dd525068ba14 | [] | no_license | keyliin0/Competitive-Programming | 5e6c4f7f3d4be0aa80f01bd623fef88e34a4eb74 | bf93567ab73f7545883a3af43fb6dd8f5fe7ac51 | refs/heads/master | 2021-06-07T11:47:35.930727 | 2020-01-19T22:13:05 | 2020-01-19T22:13:05 | 140,153,796 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,469 | cpp | /*
we must factorize each number as much as possible , that can be done using prime factorization
going through all the numbers from 2 to 10^6 and counting the factors of each one will TL
but since we are going in an increasing order we know number factors of an integer x = 1 + number of factors of x / i
i is ... | [
"noreply@github.com"
] | keyliin0.noreply@github.com |
ffc644ae2d7cecb13e8e5de9aa4a6bd2c43faaec | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/llvm/lib/Target/Mips/MipsMachineFunction.cpp | a7299d73a82f61535695cefe95f2bf3a975f98c0 | [
"MIT",
"NCSA",
"BSD-3-Clause",
"NTP",
"LicenseRef-scancode-unknown-license-reference"
] | 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 | 2,470 | cpp | //===-- MipsMachineFunctionInfo.cpp - Private data used for Mips ----------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
9663e011ef35f28cb58bbc2a9613a21b6af5cfb8 | 4c0c57f9ddb87f46d58192e1ebfd2c40f6d2c315 | /td/telegram/UpdatesManager.cpp | c796c3c8fd68e1a455b6e7e9a532eee5ac21a948 | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | luckydonald-backup/td | 9693cf868b3afdc5b5257e95e37af79380472d0b | 71d03f39c364367a8a7c51f783a41099297de826 | refs/heads/master | 2021-09-02T08:08:18.834827 | 2018-12-31T19:04:05 | 2017-12-31T20:08:40 | 115,928,341 | 2 | 0 | null | 2018-01-01T15:37:21 | 2018-01-01T15:37:20 | null | UTF-8 | C++ | false | false | 70,913 | cpp | //
// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2017
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include "td/telegram/UpdatesManager.h"
#include "td/telegra... | [
"arseny30@gmail.com"
] | arseny30@gmail.com |
2ae818cb648154e8589fcdea2f83452ac345bdb9 | 193f6b964b1a030d1e819ca4932fb2b829e2e41c | /Framework/Render/ConstBuffer.h | 6293733dac6bb5acc38dc8d1b2c8148774d47e36 | [] | no_license | fkem79/DX11_Team_HomeSweetHome | cef13f869bee16fb2bbfe401364a2d4293925b2f | 27b5b45ddcaaa407eb7e385f0ac63bdbd75c46e2 | refs/heads/master | 2021-05-18T20:34:29.754175 | 2020-05-10T16:37:20 | 2020-05-10T16:37:20 | 251,392,881 | 1 | 0 | null | 2020-05-08T12:57:25 | 2020-03-30T18:25:32 | C++ | UTF-8 | C++ | false | false | 323 | h | #pragma once
class ConstBuffer
{
private:
ID3D11Buffer* buffer;
void* data;
UINT dataSize;
protected:
ConstBuffer(void* data, UINT dataSize);
virtual ~ConstBuffer();
void MapData();
public:
void SetVSBuffer(UINT slot);
void SetPSBuffer(UINT slot);
void SetGSBuffer(UINT slot);
void SetCSBuffer(UINT slot);... | [
"fkemless79@mju.ac.kr"
] | fkemless79@mju.ac.kr |
d680eba4b9e0c12d82ee185c89abc4ec1b6ab983 | 745f4ab36df82211cdda98cf3240116f99d72648 | /ArrayProgram.cpp | 3af5b952b9ef4be5ad674703b270449a0d67a309 | [] | no_license | GhulamMustafaGM/ILoveProgramming | c270ac73c42d0e72384043d2769cc4960681a391 | 516fd9cc113d0edadc6fda0e0d545fa08e34e209 | refs/heads/master | 2023-01-02T01:32:47.158055 | 2020-10-26T14:30:18 | 2020-10-26T14:30:18 | 216,835,476 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 243 | cpp | #include <iostream>
#include <string>
using namespace std;
int main()
{
string cars[5] = {"Scania", "Toyota", "Suzuki", "BMW", "Volvo" };
for (int i = 0; i < 5; i++)
{
cout << cars[i] << endl;
}
return 0;
}
| [
"mustafaji@gmail.com"
] | mustafaji@gmail.com |
b18a8add7284ae921c80bb52be194ba308920c90 | 6673340e0102ef4205019c8e262377fd2d244e0c | /Training/Chapter 5/5.5/hidden.cpp | 6fc9c1ea991001a224c717be917741b0ff45b4a0 | [] | no_license | arponr/usaco | 3b71c23fac7a03c993b0a4344a4eeb3e7ae53046 | f558a5f640dcb96867fd7235b778d07e9c6746a0 | refs/heads/master | 2021-01-02T23:12:46.215677 | 2014-12-16T18:49:44 | 2014-12-16T18:49:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 678 | cpp | /*
ID: arpon.r1
PROG: hidden
LANG: C++
*/
#include <cstdio>
#include <cstring>
using namespace std;
FILE *in = fopen ("hidden.in", "r"), *out = fopen ("hidden.out", "w");
const int MAXL = 2 * 100005, LINE = 72;
char pass [MAXL];
int L, ind = 0;
int main ()
{
fscanf (in, "%d\n", &L);
for (int i = 0; i ... | [
"arpon.raksit@gmail.com"
] | arpon.raksit@gmail.com |
1a5a564e6ef1adf5fd1187c7bc02d73888e96d55 | 04cdc91f88a137e2f7d470b0ef713d72f79f9d47 | /Vitis_Platform_Creation/Feature_Tutorials/03_Vitis_Export_To_Vivado/aie/graph.cpp | b7904f228a33f31608913f6e3d7c77c706bfc087 | [
"MIT"
] | permissive | Xilinx/Vitis-Tutorials | 80b6945c88406d0669326bb13b222b5a44fcc0c7 | ab39b8482dcbd2264ccb9462910609e714f1d10d | refs/heads/2023.1 | 2023-09-05T11:59:43.272473 | 2023-08-21T16:43:31 | 2023-08-21T16:43:31 | 211,912,254 | 926 | 611 | MIT | 2023-08-03T03:20:33 | 2019-09-30T17:08:51 | C | UTF-8 | C++ | false | false | 340 | cpp | /*
Copyright (C) 2023, Advanced Micro Devices, Inc. All rights reserved.
SPDX-License-Identifier: MIT
*/
#include "graph.h"
clipped clipgraph;
int main(int argc, char ** argv) {
clipgraph.init();
clipgraph.run(4); // Note: The number of iterations can be changed if needed based on the input
clipgraph.end... | [
"do-not-reply@gitenterprise.xilinx.com"
] | do-not-reply@gitenterprise.xilinx.com |
c7dde553a2b873e3156f2849fe844ab5b4c37b83 | 68cf9307614aefa396f7333fc57f786c3b6c0e39 | /source/project/engine/rhid3d11/renderwnd.cpp | 66e3f7f9a3593530a9add09ea7de77f6b0a15d22 | [
"MIT"
] | permissive | lfyjnui/game | 3ba195313115de9459f7217b91084e9bd30cf019 | f79787ff1ae81f39fd790a589d6e5e0e8925af2b | refs/heads/master | 2020-04-25T15:37:21.616119 | 2019-03-12T07:29:52 | 2019-03-12T07:29:52 | 172,882,546 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,443 | cpp |
#include "device.h"
#include "renderwnd.h"
#include <d3d11.h>
#include <windows.h>
#include <DirectXMath.h>
template<typename T>
void SafeRelease(T*& p)
{
if (p)
{
p->Release();
p = nullptr;
}
}
namespace d3d11
{
RenderWindow g_RenderWindow;
RenderWindow * GetRenderWnd()
{
return &g_RenderWindow;
}
boo... | [
"46134379@qq.com"
] | 46134379@qq.com |
d92061e297914f77201a1230cdbb9a728dec5873 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /chrome/browser/vr/testapp/vr_test_context.h | 0c62e85835b28c747c06a313f2bd481be45b3ca2 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 3,995 | 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 CHROME_BROWSER_VR_TESTAPP_VR_TEST_CONTEXT_H_
#define CHROME_BROWSER_VR_TESTAPP_VR_TEST_CONTEXT_H_
#include <memory>
#include <queue>
#include "b... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
b3fe07660b6c845d9685cebfc8ceac1333852f2f | 243af6f697c16c54af3613988ddaef62a2b29212 | /firmware/uvc_controller/mbed-os/TESTS/mbed_hal/qspi/qspi_test_utils.h | 8e41aa89519228138e29faf0843a69d42bdf6b4d | [
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"Apache-2.0",
"BSD-3-Clause",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | davewhiiite/uvc | 0020fcc99d279a70878baf7cdc5c02c19b08499a | fd45223097eed5a824294db975b3c74aa5f5cc8f | refs/heads/main | 2023-05-29T10:18:08.520756 | 2021-06-12T13:06:40 | 2021-06-12T13:06:40 | 376,287,264 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,172 | h | /* mbed Microcontroller Library
* Copyright (c) 2018-2018 ARM Limited
* SPDX-License-Identifier: Apache-2.0
*
* 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.... | [
"13125501+davewhiiite@users.noreply.github.com"
] | 13125501+davewhiiite@users.noreply.github.com |
a3a8b7c84750691e5aa16df3c3deedb637da7108 | 092ab7e8f4e198cd3e10f1f66d5d671d2ea25d99 | /Sort List.cpp | 1f131fb494f26fca356ae91fb7acbd3028c456ab | [] | no_license | ThreeMonkey/LeetCode | 5b5f24ed71222c50257b2578d5a0a21821fd2e55 | 8f3d63737fe91aa71d4f66c3ae9f6b634567c954 | refs/heads/master | 2016-09-07T18:58:49.625910 | 2014-08-09T07:48:31 | 2014-08-09T07:48:31 | 23,688,384 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,597 | cpp | /*
Sort a linked list in O(n log n) time using constant space complexity.
解题思路:
复杂度为O(n* logn) 的排序算法有:快速排序、堆排序、归并排序。对于链表这种数据结构,使用归并排序比较靠谱。
*/
#include <iostream>
using namespace std;
/**
* Definition for singly-linked list.
*/
struct ListNode {
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL) {}... | [
"dongguangqing90@gmail.com"
] | dongguangqing90@gmail.com |
1c8b5fdc9edb3b77e38690079ba580127e6159a6 | 11ef4bbb8086ba3b9678a2037d0c28baaf8c010e | /Source Code/server/binaries/chromium/gen/components/sync/protocol/managed_user_shared_setting_specifics.pb.h | c0172494fd618d2fa8dbda41ded8003c6eb443ce | [] | no_license | lineCode/wasmview.github.io | 8f845ec6ba8a1ec85272d734efc80d2416a6e15b | eac4c69ea1cf0e9af9da5a500219236470541f9b | refs/heads/master | 2020-09-22T21:05:53.766548 | 2019-08-24T05:34:04 | 2019-08-24T05:34:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 18,906 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: managed_user_shared_setting_specifics.proto
#ifndef PROTOBUF_INCLUDED_managed_5fuser_5fshared_5fsetting_5fspecifics_2eproto
#define PROTOBUF_INCLUDED_managed_5fuser_5fshared_5fsetting_5fspecifics_2eproto
#include <string>
#include <google/protobu... | [
"wasmview@gmail.com"
] | wasmview@gmail.com |
980a71749df054cdb4536116e57de2c5b5c0c884 | 9963483dc14eee86b2a057df24b6876172644e4b | /OscTests/JuceLibraryCode/JuceHeader.h | 547badb8e61ae2d73762507a04b8e2163b012743 | [] | no_license | kasparia/audio-foolery | b7d5bed86861f5b17131ecd4595f24683dadf79f | 912963b8e32f817ff0e79800e0f2fc0344673cb9 | refs/heads/main | 2023-03-27T05:23:42.499721 | 2021-03-30T21:10:07 | 2021-03-30T21:10:07 | 340,762,813 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,979 | h | /*
IMPORTANT! This file is auto-generated each time you save your
project - if you alter its contents, your changes may be overwritten!
This is the header file that your files should include in order to get all the
JUCE library headers. You should avoid including the JUCE headers directly in
... | [
"kasperi@Kasperis-MacBook-Pro.local"
] | kasperi@Kasperis-MacBook-Pro.local |
13fd7f86eb48bdbf2f6fe2ec7fcf2d4cb46ac404 | 30dee1c42022fb8bd5383fe431b8a55a6015ffe5 | /tests/include/aquila/dde/MockInstance.h | b693c1517d2c1f1f08bf2159c0235e754c9e47f0 | [] | no_license | robot-aquila/wquik | b0ad7fe51e2f8cb84d5a7de7eda66da18e700af9 | e8ce4c4359dc2bbd9963f2d082b97b821be248b7 | refs/heads/master | 2020-05-17T02:01:38.424268 | 2015-12-13T06:27:51 | 2015-12-13T06:27:51 | 21,413,837 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 968 | h | /**
* ============================================================================
* 2011/07/18
* $Id: MockInstance.h 96 2011-08-11 17:36:58Z whirlwind $
* Juno
* ============================================================================
*/
#pragma once
#include <gtest/gtest.h>
#include <gmock/gmock.... | [
"dmitry.zolotarev@gmail.com"
] | dmitry.zolotarev@gmail.com |
54ae203ded9e62a6fef727bb9cbf8aa5f52ccca0 | 3f7d619cafd38afb9a76fbb8c2c5914ab7257ca6 | /NewGine/ModuleWindow.h | 080d23c3d3a3810ac3650b336142514233bb3a03 | [
"MIT"
] | permissive | miquelgiru/NewGine | 1afa9585f408a80f6093c4b511ca5943bbc04601 | 11e1d2e835182c5fd008f51ce2c044a028898f96 | refs/heads/master | 2020-03-27T16:32:47.477166 | 2018-11-18T16:48:53 | 2018-11-18T16:48:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 881 | h | #ifndef __ModuleWindow_H__
#define __ModuleWindow_H__
#include "Module.h"
#include "SDL/include/SDL.h"
class Application;
enum WINDOW_MODE
{
RESIZABLE,
FULL_DESKTOP,
FULLSCREEN
};
class ModuleWindow : public Module
{
public:
ModuleWindow(Application* app, bool start_enabled = true);
// Destructor
virtual ~M... | [
"miquel_giru_96@hotmail.com"
] | miquel_giru_96@hotmail.com |
27f11375d56fa0a2be70472c5caf983fa225a9de | 571996358761ee432816fbeedbe932480a9e12ad | /src/board/Board.cpp | 99d7ca5f8aaf00da8b3e1bb81dab8f3f8228a31e | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | char-lotl/knights-tour | 14d2f6f2c2123ecd4031dfa20571d6cb6cfe79b5 | db9ae785768b3143279dfad64e4408105c309a80 | refs/heads/master | 2023-05-04T10:29:10.439290 | 2021-05-14T02:42:00 | 2021-05-14T02:42:00 | 367,228,438 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,858 | cpp | #include "Board.h"
#include "Tile.h"
#include <iostream>
void add_neighbor_if_in_bounds(int r, int c, int h, int w, STPV2& con, SmartTilePointer& t);
bool is_in_bounds(int r, int c, int h, int w);
int count_digits(int num);
Board::Board(int h, int w) :
height{h}, width{w}, area{h * w}, used_tiles{0}, contents{static_... | [
"lancharlotl@gmail.com"
] | lancharlotl@gmail.com |
f7924755fdb2e245dd252d8d16018b4b9a7a6d1d | b4eb01e9533f0461272034ade8b199b3324e4475 | /staticLibs/GameLib/CommandList.h | 199bd096285de85a42a828d95caa995f86b6dbd4 | [
"MIT"
] | permissive | Mynsu/Sirtet_SFML | 2a8db9d1b9528b28ed41c16ffa1e4993569c020a | ad1b64597868959d96d27fcb73fd272f41b21e16 | refs/heads/develop | 2022-02-25T06:17:42.935175 | 2022-02-17T16:50:00 | 2022-02-17T16:50:00 | 180,202,622 | 1 | 1 | null | 2022-02-17T16:57:14 | 2019-04-08T17:47:47 | C++ | UTF-8 | C++ | false | false | 966 | h | ////
// Commonly used in exes/Engine, dlls/Game.
////
#pragma once
#include "../Lib/Hash.h"
// e.g. "chto 1"
// Changes the current scene to another scene immediately.
// Intro 0, Main Menu 1, Singleplay 2, Online Battle 3.
// Countdown Skipped 21, Game Over 22, All Levels Cleared 23
constexpr HashedKey CMD_CHANGE_S... | [
"mynsu@protonmail.ch"
] | mynsu@protonmail.ch |
be012113e2ff902d5ea17a38de77b1bcb62e7871 | 5d201972ebf01a252a46188d1cbd148d9395c6f3 | /libtiny816/board_horn.cpp | b8b49197420787a3eae0b86ceabc5093810926a9 | [] | no_license | TeddyHut/SEM2019 | 498a3a17e7b1bc1aa39508617bd333f172fd9623 | 1aeca4773292056a021ebc5aab9a1580cae42f30 | refs/heads/master | 2020-04-09T02:17:23.175714 | 2020-01-07T10:12:05 | 2020-01-07T10:12:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,486 | cpp | /*
* board_horn.cpp
*
* Created: 16/01/2019 1:12:28 AM
* Author: teddy
*/
#include "board_horn.h"
PORT_t &libtiny816::hw::PINPORT::LED_RED = PORTA;
PORT_t &libtiny816::hw::PINPORT::LED_GREEN = PORTA;
PORT_t &libtiny816::hw::PINPORT::BUTTON_TEST = PORTA;
PORT_t &libtiny816::hw::PINPORT::BUTTON_HORN = PORTB;
POR... | [
"teddy.hutteddy@gmail.com"
] | teddy.hutteddy@gmail.com |
1a7a8c97f50c35bd9f033e405a34b866a107ce39 | b9f3333160e8e75ce67af3e205879c832c3e1f30 | /PhoneBook/Person.cpp | 06c9698c293c9bf71cd1a21c972366259cc4a878 | [] | no_license | dinci11/PhoneBook | 12c8992a8f0d71bd04e08c1b2bd271c61f44d263 | 6323e08399cb923cd6791bf7fc5a226b7b8799bc | refs/heads/master | 2020-05-20T08:03:15.365634 | 2019-05-11T11:24:22 | 2019-05-11T11:24:22 | 185,465,324 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,653 | cpp | #include "pch.h"
#include "Person.h"
#define PRINT_METHOD false
/*
Default Constructor for Person
*/
Person::Person()
{
#if PRINT_METHOD true
std::cout << "Person DefCTOR\n";
#endif // PRINT_METHOD true
firstName = new char();
lastName = new char();
nickName = new char();
address = new char();
workPhone = new c... | [
"e.dinci11@gmail.com"
] | e.dinci11@gmail.com |
9cdb7b57a41453731559df4d6dc9d4d2ac05af92 | bc01d89e3b77b9b60afd6f5f8fcad5675b813f8e | /multimediacommscontroller/tsrc/TestConsoles/McpConsole/Src/Testconsole.cpp | d7762185cced43bca2a075725a025b4d4a28c2c5 | [] | no_license | SymbianSource/oss.FCL.sf.mw.ipappsrv | fce862742655303fcfa05b9e77788734aa66724e | 65c20a5a6e85f048aa40eb91066941f2f508a4d2 | refs/heads/master | 2021-01-12T15:40:59.380107 | 2010-09-17T05:32:38 | 2010-09-17T05:32:38 | 71,849,396 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 65,583 | cpp | /*
* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.h... | [
"kirill.dremov@nokia.com"
] | kirill.dremov@nokia.com |
7f5d74bf828426c178f1985ab08455ba8979d22d | e21c2723414b08cfda4b96140f0a7f837af8d2d2 | /Code(大一)/vjudge/HEU-Training 10.8/E-GCDandLCM.cpp | f905ee48913d7be8e2a8d7e8efc98c8e33cf5889 | [] | no_license | liarchgh/MyCode | e060da5489facf36523c5e58a8dbf1e4fecdc01e | 2f0ba2759caa5f732b6edb023af6fbc13e8c0916 | refs/heads/master | 2021-10-08T07:08:28.604123 | 2021-09-26T17:55:09 | 2021-09-26T17:55:09 | 73,447,793 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,890 | cpp | //训练时思路有了偏差 其实当初已经接近了 然而 就是那一点点啊 第一遍写了之后WA了 不知道为什么 瞎调了一会儿过了 应该不是大问题
#include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>
#include <fstream>
#include <map>
#include <cmath>
using namespace std;
int su[10000] = {2}, num;
void sol(int g, int l) {
map<int, int>ans;
ans.clear();
if (l % g) {
... | [
"liarchms@outlook.com"
] | liarchms@outlook.com |
1187f794fc8c215ac7c561a6efeaf2dfaf873e5c | 4700115f94bc2a8c83ca5349053e9684fc471c29 | /tests/UnitTest/src/Geometry/Matrix.cpp | e43aca629b030a0d63270269f5dde813107d41f6 | [
"Apache-2.0"
] | permissive | wangscript/RadonFramework | 5ff29ad5f9a623cd3f4a2cb60ca8ae8fe669647c | 7066779c1b88089d9ac220d21c1128c2cc2163a9 | refs/heads/master | 2020-12-28T23:45:46.151802 | 2015-07-03T18:42:29 | 2015-07-03T18:42:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,422 | cpp | #include <RadonFramework/precompiled.hpp>
#include <RadonFramework/Diagnostics/Debugging/UnitTest/TestSuite.hpp>
#include <RadonFramework/Diagnostics/Debugging/UnitTest/UnitTest.hpp>
#include <RadonFramework/Core/Pattern/Delegate.hpp>
#include <RadonFramework/Math/Geometry/Matrix.hpp>
using namespace RadonFramework::M... | [
"thomas@ptscientists.com"
] | thomas@ptscientists.com |
f23ec40136f6a2083170484447041a99ff0a02a9 | 92211fc562653dfbf827729913f770d2ec286485 | /source/get_process_input/initial_data_handling/Handle_Pressure_Vessel.cpp | 0175b0ffbb8d4ad10b4fe34c9af1f5e571ffee09 | [
"MIT"
] | permissive | ysadat7/chemical-kinetics-solver | 95f24bd30a5cac09b55c01877c2d2f08ccf85df8 | 7010fd6c72c29a0d912ad0c353ff13a5b643cc04 | refs/heads/master | 2022-10-24T05:49:24.748031 | 2021-05-24T16:28:52 | 2021-05-24T16:28:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,518 | cpp | /*
* Handle_PressureVessel.cpp
*
* Created on: 26.10.2017
* Author: DetlevCM
*/
#include "../headers/Headers.hpp"
/*
* New input options for the inclusion of a pressure vessel
*/
void Handle_Pressure_Vessel(
Initial_Data& InitialParameters,
vector<string> Input
)
{
PressureVessel Pressure_Vessel... | [
"detlevcm@googlemail.com"
] | detlevcm@googlemail.com |
67c24656e66f391f5b6b2ae98fb17c33ac259ed2 | 6159bbd0c37d0d8ebe195d4df8eeb84a180bc064 | /joel/catmarkframework/CatmarkSubdiv/mainview.cpp | 4d18a4a21a8002edb12a1d07ccc2ee322615e543 | [] | no_license | joelgrondman/AGC_Pixar | 917bfc76a52fcf6679343716330de3c2089d9f72 | 930c9b774a27e600a6b990119e1b84bf57c4771b | refs/heads/master | 2021-05-06T03:24:54.217878 | 2018-01-17T12:20:49 | 2018-01-17T12:20:49 | 114,899,463 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,561 | cpp | #include "mainview.h"
MainView::MainView(QWidget *Parent) : QOpenGLWidget(Parent) {
qDebug() << "✓✓ MainView constructor";
modelLoaded = false;
wireframeMode = true;
rotAngle = 0.0;
FoV = 60.0;
}
MainView::~MainView() {
qDebug() << "✗✗ MainView destructor";
glDeleteBuffers(1, &meshCoordsBO);
glDele... | [
"j.h.l.grondman@student.rug.nl"
] | j.h.l.grondman@student.rug.nl |
bb17d7e698eed61df797b6d816d13b5728a337d1 | 2f78e134c5b55c816fa8ee939f54bde4918696a5 | /code/gui/comboscreen/cslistobjecttri.h | 56a52da26226948e8f5194bb8b5033e10b70885b | [] | no_license | narayanr7/HeavenlySword | b53afa6a7a6c344e9a139279fbbd74bfbe70350c | a255b26020933e2336f024558fefcdddb48038b2 | refs/heads/master | 2022-08-23T01:32:46.029376 | 2020-05-26T04:45:56 | 2020-05-26T04:45:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,049 | h | /***************************************************************************************************
*
* DESCRIPTION This is a will render 3 combo list object at once, basically its a wrapper.
*
* NOTES
*
***************************************************************************************************/
#ifndef C... | [
"hopefullyidontgetbanned735@gmail.com"
] | hopefullyidontgetbanned735@gmail.com |
ce63e1861d3546a96aacf846c066936cc491f0fd | 2e0472397ec7145d50081d4890eb0af2323eb175 | /Code/include/OE/Math/Vec4.inl | 422dfba12bd19ef162113756a4f0c76c9b5badee | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | mlomb/OrbitEngine | 5c471a853ea555f0738427999dd9cef3a1c90a01 | 41f053626f05782e81c2e48f5c87b04972f9be2c | refs/heads/master | 2021-09-09T01:27:31.097901 | 2021-08-28T16:07:16 | 2021-08-28T16:07:16 | 99,012,019 | 26 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 5,545 | inl | #ifndef VEC4_INL
#define VEC4_INL
#include "OE/Math/Math.hpp"
#include "Vec4.hpp"
namespace OrbitEngine { namespace Math {
template<typename T> inline Vec4<T>::Vec4(const T& _x, const T& _y, const T& _z, const T& _w) : x(_x), y(_y), z(_z), w(_w) { }
template<typename T> inline Vec4<T>::Vec4(const Vec2<T> _xy, cons... | [
"mlombardo9@gmail.com"
] | mlombardo9@gmail.com |
32e40124f14d1d5bc89977681b3ee85635ab4aba | 43b5060c3a2d9a6e57a20919351462819d3d07ed | /02564_stud/lib02564/CGLA/gel_rand.cpp | 7b8eb05e7160e4728d87a2cfb543e068e8412569 | [] | no_license | qotsafan1/graphics | 2d72539f09f742b9a4f9ea25dedb9d27ba36c94f | 646b821839b82c3d018770e51a85f97209e1f24a | refs/heads/master | 2021-04-06T00:28:35.860088 | 2018-03-15T13:23:06 | 2018-03-15T13:23:06 | 124,408,166 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 595 | cpp | #include "CGLA.h"
namespace
{
unsigned int seed = 1;
unsigned int current_rand = 1;
}
namespace CGLA
{
void gel_srand(unsigned int s)
{
seed = current_rand = s;
}
unsigned int gel_rand(unsigned int k)
{
unsigned int b = 3125;
unsigned int c = 49;
unsigned int result = seed;
for (;k... | [
"sigurbjornjonss@gmail.com"
] | sigurbjornjonss@gmail.com |
8798cec37fbe81b40d60553f3ae63b6ca895aa9e | 009d78e631239fee0b6404f904c251c4d94d0574 | /COP4530-LacherOnline/proj2/gssearch.h | 6fb602a80e61147c0b34e277afa8d9048d77949d | [
"MIT"
] | permissive | il16d/FSUCSundergrad | 3665bef7df8b6810baa42d62033fa849163db7f6 | 4341613124499305df9d496079d7a7db2ecf935e | refs/heads/master | 2022-07-27T18:40:48.195138 | 2020-05-18T18:06:09 | 2020-05-18T18:06:09 | 262,361,559 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 647 | h | /*
gssearch.h
January 30th 2017
*/
#ifndef GSSEARCH_H
#define GSSEARCH_H
#include <compare_spy.h>
namespace seq
{
// return upper bound of T
template < class I, typename T, class P >
I g_lower_bound(I beg, I end, const T& val, P& cmp)
{
while (beg != end)
{
if (!cmp(*beg, val))
ret... | [
"il16d@my.fsu.edu"
] | il16d@my.fsu.edu |
1820f84a95650443ccf538baeeec76b6e789c89d | 79cedbcf7d93850d58f4f4e2a0acd997b82d8c55 | /libappfuse/tests/AppFuseTest.cc | 8c2cc47129df4a84dbca2b9f958d4108d2f21221 | [
"LicenseRef-scancode-unicode",
"Apache-2.0"
] | permissive | imagegithub/platform_system_core | 9a6a2f4b1b0150b03ff9595fcc43440d012087bb | e381ecf63bb6a68a7bae6970a3491d4d00e61506 | refs/heads/master | 2021-01-11T06:26:43.399604 | 2016-10-28T06:22:32 | 2016-10-28T06:22:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,731 | cc | /*
* Copyright (C) 2016 The Android Open Source Project
*
* 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 app... | [
"hirono@google.com"
] | hirono@google.com |
444f499227a25021f4d4f44494472a323e685cee | aa4c17d1847e19c5b5ab3978ba765bb22b5d6c53 | /LeetCode/LeetCode-CPP/Array/977. Squares of a Sorted Array.cpp | 6f6a82319f4a75d039aa2ccb2523a4ec06087924 | [] | no_license | jiajia0/algorithmTopic | bffc95528c6ed99482e9150898ac42f7a633b910 | 4ea865ecb0f5a7375fd41a1362217057b687937c | refs/heads/master | 2023-02-22T12:38:40.907284 | 2021-01-30T16:27:47 | 2021-01-30T16:27:47 | 103,752,364 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,084 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
/*
class Solution {
public:
vector<int> sortedSquares(vector<int>& A) {
for(int i = 0; i < A.size(); i++) {
A[i] *= A[i];// 平方
}
sort(A.begin(), A.end());
return A;
}
};
*/
// 利用非递减的特性
... | [
"majialongcode@gmail.com"
] | majialongcode@gmail.com |
dbd93e39b0c46b1bf169944ef96118a1003441d8 | 54f62e14405fb25bae9c88e4767944a1d75dec2e | /files/asobiba/youjyo/RStreamMemory.h | bd59d3329517fb63b7f75f2c43ffbe6aee7a9fdf | [] | no_license | Susuo/rtilabs | 408975914dde59f44c1670ce3db663ed785d00b2 | 822a39d1605de7ea2639bdffdc016d8cc46b0875 | refs/heads/master | 2020-12-11T01:48:08.562065 | 2012-04-10T14:22:37 | 2012-04-10T14:22:37 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 765 | h | // RStreamMemory.h: RStreamMemory クラスのインターフェイス
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_RSTREAMMEMORY_H__BFE710F6_A2FE_44B8_8B9E_ABFD353E042E__INCLUDED_)
#define AFX_RSTREAMMEMORY_H__BFE710F6_A2FE_44B8_8B9E_ABFD353E042E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#end... | [
"super.rti@gmail.com"
] | super.rti@gmail.com |
bb35ebfadd146e0c660ff3d25205aaa87257ef3f | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/net/mmc/rtrlib/ipctrl.cpp | d3f739fc3e3097fa02f24f8b609b942d1d3c54a1 | [] | 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 | 3,844 | cpp | //============================================================================
// Copyright (C) Microsoft Corporation, 1996 - 1999
//
// File: ipctrl.cpp
//
// History:
// Tony Romano Created.
// 06/17/96 Abolade Gbadegesin Revised.
//
// Implements the C++ class encapsulating the ... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
7b90b6696a1f659fd707b5208640fc5af83a281b | d24cef73100a0c5d5c275fd0f92493f86d113c62 | /SRC/engine/elements/quad9.swg | f6dd22edb8209ffc8d09904a6e87c36dd671193c | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | rlinder1/oof3d | 813e2a8acfc89e67c3cf8fdb6af6b2b983b8b8ee | 1fb6764d9d61126bd8ad4025a2ce7487225d736e | refs/heads/master | 2021-01-23T00:40:34.642449 | 2016-09-15T20:51:19 | 2016-09-15T20:51:19 | 92,832,740 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 752 | swg | // -*- C++ -*-
// $RCSfile: quad9.swg,v $
// $Revision: 1.2.18.1 $
// $Author: langer $
// $Date: 2014/09/27 22:34:28 $
/* This software was produced by NIST, an agency of the U.S. government,
* and by statute is not subject to copyright in the United States.
* Recipients of this software assume all responsibilities... | [
"faical.congo@nist.gov"
] | faical.congo@nist.gov |
2cf31e31b3b01975e7d9d7bf5d5593f3284ec046 | 836b7863ef6cd5e181cbd3a2b7fbcd15c8236ced | /cyclops/ShaderManager.h | 62bcbd8f7ce995e55d240819dd6888117d977bf0 | [] | no_license | omega-hub/cyclops | 54773e4e8bd772f45c4458ec9a0356b2664b385a | 2ad0c7546756a9f52a12cd16c4b8b40522b78d94 | refs/heads/master | 2021-01-18T22:41:32.044056 | 2016-05-20T22:51:49 | 2016-05-20T22:51:49 | 13,288,353 | 2 | 2 | null | 2014-07-13T01:22:04 | 2013-10-03T02:10:26 | C++ | UTF-8 | C++ | false | false | 5,640 | h | /******************************************************************************
* THE OMEGA LIB PROJECT
*-----------------------------------------------------------------------------
* Copyright 2010-2015 Electronic Visualization Laboratory,
* University of Illinois at Chicago
* Authors:
* Ales... | [
"febret@gmail.com"
] | febret@gmail.com |
9b47c8577fea87e22759d3fb65693fca61f93412 | ab402dcbd73089005450f447259aa75546b337a3 | /dialog.h | 38581559eff7136f7d23b80e2e25b7f744af5034 | [] | no_license | zZENiro/mathGraphs | 2aff8dd61bc7e050970c37db5251f0b9782a37d6 | 749286a1a077fbe679270dda365d1b4f055db92c | refs/heads/master | 2020-05-04T01:14:56.616891 | 2019-04-01T16:19:48 | 2019-04-01T16:19:48 | 178,901,090 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 304 | h | #ifndef DIALOG_H
#define DIALOG_H
#include <QDialog>
#include "mainwindow.h"
namespace Ui {
class Dialog;
}
class Dialog : public QDialog
{
Q_OBJECT
public:
explicit Dialog(QWidget *parent = nullptr);
~Dialog();
private:
Ui::Dialog *ui;
};
#endif // DIALOG_H
| [
"noreply@github.com"
] | zZENiro.noreply@github.com |
604e26c0596d02ef0eb3bac9050adfcfdd161ae2 | 713a93eeec7c9f9f759eb6bc4b552f0c31307cb1 | /11.04.2021/b.cpp | 3dfc2da6fbbcac3e81e0881dbd6d9d9df7bf6cf3 | [] | no_license | markov-alex/practice | 98a55d1a0dd46a4fa729108ac440ad74839b4245 | 83f679698f29a6ed34ac8ac64a2b07bcb2a2247c | refs/heads/main | 2023-06-07T08:21:12.940256 | 2021-07-05T13:53:53 | 2021-07-05T13:53:53 | 383,140,566 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 496 | cpp | #include <bits/stdc++.h>
#define ll long long
int main() {
ll n, k;
std::cin >> n >> k;
if (n & 0) {
} else {
std::vector<ll> cnt(n, 0);
ll cur = 0;
for (ll i = 0; i < n; i++) {
cnt[cur]++;
cur = (cur + k) % n;
}
for (ll i = 0; i < n; i... | [
"markov.workfrl@gmail.com"
] | markov.workfrl@gmail.com |
19a16615d7e983697a80b106fb59688b5e9fdee9 | 7f62f204ffde7fed9c1cb69e2bd44de9203f14c8 | /DboClient/Client/Gui/QuestInventoryGui.cpp | c891d5080cd3b9ebe7daaf611e3e454ea95c78af | [] | 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 | 17,156 | cpp | #include "precomp_dboclient.h"
#include "QuestInventoryGui.h"
// core
#include "NtlDebug.h"
// presentation
#include "NtlPLGuiManager.h"
// simulation
#include "NtlSLDef.h"
#include "NtlSLEvent.h"
#include "NtlInventory.h"
#include "NtlSLGlobal.h"
#include "NtlSobAvatar.h"
#include "NtlSobQuestItem.h"
#include "NtlS... | [
"64261665+dboguser@users.noreply.github.com"
] | 64261665+dboguser@users.noreply.github.com |
094a477e5a71bd3535cad280d2302258c0015c2e | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /chrome/browser/sync/test/integration/two_client_wallet_sync_test.cc | eb9f3417f80a52723b50acf5268c7d2e5eef1be6 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 24,507 | 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 "base/macros.h"
#include "chrome/browser/sync/test/integration/autofill_helper.h"
#include "chrome/browser/sync/test/integration/sync_test.h"
#in... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
eedcf0469aaa8f17d2d16f078832d6ca6fdd07bb | 6ed471f36e5188f77dc61cca24daa41496a6d4a0 | /SDK/WeapPistol_ShotgunCameraShake_parameters.h | 0c268acd064fa84a47a6a51d15199f5bd19f7455 | [] | no_license | zH4x-SDK/zARKSotF-SDK | 77bfaf9b4b9b6a41951ee18db88f826dd720c367 | 714730f4bb79c07d065181caf360d168761223f6 | refs/heads/main | 2023-07-16T22:33:15.140456 | 2021-08-27T13:40:06 | 2021-08-27T13:40:06 | 400,521,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 726 | h | #pragma once
#include "../SDK.h"
// Name: ARKSotF, Version: 178.8.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Parameters
//---------------------------------------------------------------------------
// Function W... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
77564811b930c7c0428fa7638e2e27e2723d0415 | 029cfe958db295a246460cbb1355c73482a2588b | /tests/concepts/has_multiplication_assignment.cpp | ac2db8bf4a636386a44aed2ded10110b1f50956c | [
"MIT"
] | permissive | SamuelAlonsoDev/lux | 941bf543edfcc337d0d3830f4586c86969b1f962 | 268a9fabddb60a06e226d8bad27a5d5d7a29dcb2 | refs/heads/master | 2023-01-10T16:07:51.059604 | 2020-11-09T10:31:09 | 2020-11-09T10:31:09 | 310,223,392 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 443 | cpp | #include <iostream>
#include <core/types.hpp>
#include <concepts/has_multiplication_assignment.hpp>
int main()
{
std::cout << std::boolalpha <<
"Do 'u8' and 's8' share a multiplication assignment '*=' operator? " << lux::concepts::has_multiplication_assignment<lux::u8, lux::s8>
<< "\nDoes 'u8' have with it... | [
"samuelalonso@Samuels-MacBook-Air.local"
] | samuelalonso@Samuels-MacBook-Air.local |
ed0d1ae691c2071be4feb164f68a1f674f83a242 | 761a023b55d9a4a74afc3391ff9ee75b28b1d59b | /src/test/csrc/difftest/difftest.cpp | 4c6fd107868ea689b8cf270d3059fdfdfd8fbcc7 | [] | no_license | ironmanfan/XiangShan | 52aa17f214e5371a694f916db8b67920b5bc2607 | 330595df0edea4e1985bbfe68e2b0649ee5be2f5 | refs/heads/master | 2023-05-12T21:15:28.488375 | 2021-06-01T10:07:59 | 2021-06-01T10:07:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,449 | cpp | #include "difftest.h"
#include "goldenmem.h"
#include "ram.h"
static const char *reg_name[DIFFTEST_NR_REG+1] = {
"$0", "ra", "sp", "gp", "tp", "t0", "t1", "t2",
"s0", "s1", "a0", "a1", "a2", "a3", "a4", "a5",
"a6", "a7", "s2", "s3", "s4", "s5", "s6", "s7",
"s8", "s9", "s10", "s... | [
"noreply@github.com"
] | ironmanfan.noreply@github.com |
d392719c60feee3f9e604ba6eb92a0812ba66e40 | 0fcd4d2a1007803105fb7d46d50fc75de974f881 | /lab-6/part-B/lab-6B.cpp | 1a2fa6093c2249544492a05dd5a8166233960942 | [
"MIT"
] | permissive | tejashah88/COMSC-165 | c4cda158e7245d03dbd07edc44bd3c356af53f18 | 30efa87130bfa2dc61e98dd2cbebc9f9f6d7d9d5 | refs/heads/master | 2020-04-11T17:28:25.849019 | 2018-12-16T02:52:52 | 2018-12-16T02:52:52 | 161,962,194 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,411 | cpp | /*
* Name: Lab 6B
* Class: COMSC-165
* Date: 10/26/2018
* Author: Tejas Shah
* Description: Prompts the user to read a character at the requested location in the input file until he/she is done
*/
#include <iostream>
#include <string>
#include <iomanip>
#include <fstream>
using namespace std;
int readInt();
ch... | [
"tejashah88@gmail.com"
] | tejashah88@gmail.com |
700b149ec7fe2198900f08241abb8a2348c2b35b | c7b270492e0348214dd9d65fa651280506d09bd8 | /ORCA on-off/hectorquad/src/Rrt.hpp | 569c393e5aa3a914ff5570801f2544ad3c6ba3ce | [] | no_license | erenerisken/drone_motion | 10f54eca3df9fdb2a4a56f9a3e0fc1194cc4987e | 727dcc5759963e5f84873557606b719cabdc5f1c | refs/heads/master | 2021-07-25T05:13:03.691489 | 2020-07-08T06:03:02 | 2020-07-08T06:03:02 | 196,026,836 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,385 | hpp | #ifndef _RRT_HPP_
#define _RRT_HPP_
#include <ros/ros.h>
#include "motionUtilities.hpp"
#include <stack>
typedef std::pair<Coordinate, int> RrtNode;
namespace Rrt
{
std::vector<Obstacle*> *obs;
Coordinate start, end;
double stepSize, xStart, yStart, xEnd, yEnd;
std::vector<RrtNode... | [
"erenerisken@gmail.com"
] | erenerisken@gmail.com |
133ccecb40882096f5a78f2dc757178cd76b897c | bc16d26b3a1db2977b536dd370861e01921ee3e8 | /dune/Utilities/SignalShapingServiceDUNE_service.cc | 9d7000557e4fbb2c4dab7e67ddeb00a056fe7dc8 | [] | no_license | jhugon/dunetpc | b6f5cb420492753b9d1890bcf526d26f7e425bb2 | 13f26ab523ff9e350f7e93a9d6e49302a2b48843 | refs/heads/master | 2020-04-12T09:41:08.977996 | 2016-09-02T00:34:26 | 2016-09-02T00:34:26 | 63,374,613 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,102 | cc | ////////////////////////////////////////////////////////////////////////
/// \file SignalShapingServiceDUNE_service.cc
/// \author H. Greenlee
////////////////////////////////////////////////////////////////////////
#include "dune/Utilities/SignalShapingServiceDUNE.h"
#include "art/Framework/Services/Registry/Servi... | [
"dladams@bnl.gov"
] | dladams@bnl.gov |
b6c8e8d799a1856a53e7c7addf05938708a0052c | 4855d40bdc73131c09cf544aed76bb2761d86e47 | /src/core/renderer.h | 135896921b620c1a4506e8d44dbf73900d250835 | [] | no_license | cedricKode/Rayone | a511fe3516c604684c41b5593788fde98d18827a | 505a91018782c213c07f17d641016314b49efe48 | refs/heads/master | 2023-05-28T02:40:25.521765 | 2016-09-19T20:51:11 | 2016-09-19T20:51:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 570 | h | // core/renderer.h
#ifndef PT_CORE_RENDERER_H
#define PT_CORE_RENDERER_H
#include "pathtracer.h"
#include <vector>
// Forward declaration (shouldn't have to do this)
class Shape;
struct Intersection;
// Render class declaration
// Provide shading and intersecting methods for the scene
class Renderer {
public:
Rend... | [
"joey.litalien@gmail.com"
] | joey.litalien@gmail.com |
0dad58a45fcb768e8550df6e4ca45418b0b08f7c | 420192c20bdab532bf5566b0df192fc161ed3664 | /fiveormore/FiveOrMore.cpp | 6f56f4c715d5b76d8bb036773ac46099cb92db98 | [] | no_license | elmehdilaagad/Platform-Games | d53825a13eed80264145a3fee77ce1bb53c2003b | ca67e768bc95f611a3942a377b674bb8649b8cb4 | refs/heads/master | 2021-01-10T12:34:52.082330 | 2016-01-15T13:06:07 | 2016-01-15T13:06:07 | 47,838,895 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,810 | cpp | #include <iostream>
#include "FiveOrMore.hpp"
#include "Plateau_five.hpp"
#include <stdlib.h>
#include <map>
int score = 0;
FiveOrMore::FiveOrMore(){
this->nbColor = 5;
plateau = new Plateau_five(5);
}
int FiveOrMore::getCouleurs(){
return nbColor;
}
int FiveOrMore::fin(){
for(int i = 0; i < plateau->get... | [
"laagad@MacBook-Air-de-Laagad.local"
] | laagad@MacBook-Air-de-Laagad.local |
f2f31b96366a485f17fef3d12856a4461b062ec1 | 39ad116dab0ba316a6e7f737a031a0f853685d41 | /795/a.cpp | db95426429329cd904d301d95531f9317166e5db | [] | no_license | Abunyawa/contests | e0f9d157ce93d3fc5fbff0e3e576f15286272c98 | 9923df8f167e8091e23f890b01368a3a8f61e452 | refs/heads/master | 2023-05-31T14:20:31.983437 | 2023-05-11T14:19:58 | 2023-05-11T14:19:58 | 251,015,695 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 984 | cpp | // chrono::system_clock::now().time_since_epoch().count()
#include <bits/stdc++.h>
#define pb push_back
#define eb emplace_back
#define mp make_pair
#define fi first
#define se second
#define all(x) (x).begin(), (x).end()
#define sz(x) (int)(x).size()
#define rep(i, a, b) for (int i = (a); i < (b); ++i)
#define debug(... | [
"abunyawa@Abus-MacBook-Pro.local"
] | abunyawa@Abus-MacBook-Pro.local |
c568acb785f1689dd3c684dd457fa083abc529af | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/ds/security/services/smartcrd/tools/sctest/sctest/test7.cpp | 608de6d8ddd3c9c7a043057b072cc17146f73091 | [] | 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 | 8,783 | cpp | /*++
Copyright (C) Microsoft Corporation, 2000
Module Name:
Test7
Abstract:
Test7 implementation.
Interactive Test verifying bug
Author:
Eric Perlin (ericperl) 06/22/2000
Environment:
Win32
Notes:
?Notes?
--*/
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#include "T... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
41f0f738222e2b80ee86a231e1e212a9c43efa6b | 7e1d23550795cf6cf71b007bd7ffd319f517dd6e | /Includes/aniTemplate/io_5.cc | 5f599fa77ae88e83df7e38634eabc02454f34dc4 | [
"LicenseRef-scancode-philippe-de-muyter",
"Apache-2.0",
"CC-BY-4.0"
] | permissive | pandevim/Code-Archive | ea65e70b4a92ebd167d44fecbc62e9277149fdae | f347aa17ef3f43d6b5a3ce95f9be25d2a6cb6965 | refs/heads/master | 2021-07-25T02:41:23.182512 | 2021-04-17T14:01:24 | 2021-04-17T14:01:24 | 124,125,630 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 225 | cc | #ifdef JUDGE
#include <fstream>
std::ifstream cin("input.txt");
std::ofstream cout("output.txt");
#else
#include <iostream>
using std::cin;
using std::cout;
#endif
int
main() {
int a, b;
cin >> a >> b;
return 0;
}
| [
"anirudh.pandev@gmail.com"
] | anirudh.pandev@gmail.com |
3fd77af6b8276307c8cbbe21c7b395d5ab687952 | 2bfddaf9c0ceb7bf46931f80ce84a829672b0343 | /tests/xtd.tunit.unit_tests/src/xtd/tunit/tests/valid_is_not_null_weak_ptr_failed_tests.cpp | e2f502c4af1f072252dfb7d0e805e2a479b21782 | [
"MIT"
] | permissive | gammasoft71/xtd | c6790170d770e3f581b0f1b628c4a09fea913730 | ecd52f0519996b96025b196060280b602b41acac | refs/heads/master | 2023-08-19T09:48:09.581246 | 2023-08-16T20:52:11 | 2023-08-16T20:52:11 | 170,525,609 | 609 | 53 | MIT | 2023-05-06T03:49:33 | 2019-02-13T14:54:22 | C++ | UTF-8 | C++ | false | false | 989 | cpp | #include <xtd/tunit/valid.h>
#include <xtd/tunit/test_class_attribute.h>
#include <xtd/tunit/test_method_attribute.h>
#include "../../../assert_unit_tests/assert_unit_tests.h"
#include <memory>
namespace xtd::tunit::tests {
class test_class_(valid_is_not_null_weak_ptr_failed_tests) {
public:
void test_method_(... | [
"gammasoft71@gmail.com"
] | gammasoft71@gmail.com |
d727a229a3bf51596feb08524949e605396155e4 | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_LootItemSet_SupplyDrop_Level45_StatsOnly_functions.cpp | 28a951e90216a2e007a9569b8c396fcca2b96a65 | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,269 | cpp | // ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_LootItemSet_SupplyDrop_Level45_StatsOnly_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//-----------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
952751deff9ea39a897a9e7ea210fc961ff223d4 | dfe01f7d991bcae7bfdb84f77d2b1697c9b9e061 | /ATS/N-Queens.cpp | 9c0c9489478cd5a0ed1f679a608eee5d0dd4ac34 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | reiniru/DSA | 3cd3782a9c870b888622de5add680469384d63f8 | a8f50721f1fb22d503100f9edf2ba50ce9a53ede | refs/heads/master | 2021-06-19T06:26:40.639348 | 2017-06-10T14:59:28 | 2017-06-10T14:59:28 | 25,690,039 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,297 | cpp | #include <iostream>
#include "N-Queens.h"
NQueens::NQueens(int size)
{
m_size = size;
m_vector = new int[m_size];
for (int i = 0; i < m_size; i++)
m_vector[i] = 0;
}
NQueens::~NQueens()
{
delete[] m_vector;
}
bool NQueens::Verify(int k)
{
for (int i = 0; i < k; i++)
if (m_vector[i] == m_vector[k] || m_vec... | [
"ze_rat@hotmail.it"
] | ze_rat@hotmail.it |
81c8a234be27f1c0128cafb389e3c922185f770d | 5cba2458f5497f743b95627d20738bf008ab1ed7 | /ESP32/lib/GoogleHome/GoogleHome.cpp | 9388abc89d25bd8feb7b4a15247b69c749c7383b | [
"MIT"
] | permissive | Shivar90/GoogleHomeNode | 5c71bf2980cc601fb0c6d55101346c5bd278a954 | 41c11d81c221171bd1381efa88e0395be54aeca6 | refs/heads/master | 2023-06-12T23:59:45.894274 | 2021-07-04T08:09:00 | 2021-07-04T08:09:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,974 | cpp | #include <GoogleHome.h>
bool GoogleHome::Initialize(void (*event_queue_method)(const CustomEvents &), bool verbose)
{
isVerbose = verbose;
queueEvent = event_queue_method;
}
bool GoogleHome::TryConnect(std::string deviceName)
{
//const IPAddress ip = IPAddress(192, 168, 1, 108); //= "192.168.1.108";
t... | [
"mr.naeemabadi@gmail.com"
] | mr.naeemabadi@gmail.com |
9f8a8e5b4773297dfa67c053a70712d712883927 | 2f903b910cd534e83bf59d68b53850cf4d4984a0 | /FileWriter.h | 3a7eec95d54e0619df2aa46b0a3dd00b50c8a0d1 | [] | no_license | FlyingInTheSky77/Brute-Force | 286614e186fbe3e3f56156861c08403433c8acf4 | cd3a8ba801dcdd1a36bdf580729607616292def9 | refs/heads/master | 2023-07-31T15:57:16.445787 | 2021-09-14T16:12:42 | 2021-09-14T16:12:42 | 288,410,773 | 0 | 0 | null | 2021-09-14T12:09:16 | 2020-08-18T09:21:38 | C++ | UTF-8 | C++ | false | false | 190 | h | #pragma once
#include "IDataWriter.h"
class FileWriter :
public IDataWriter
{
public:
virtual void WriteData(const std::string& filePath, const std::vector<unsigned char>& buf);
};
| [
"52506956+FlyingInTheSky77@users.noreply.github.com"
] | 52506956+FlyingInTheSky77@users.noreply.github.com |
53a84c0b311de458e9a9927de5d43d69d5b35ee2 | d85c52b1b28cf2aedaf925bdcf8876ead2d39d26 | /src/Editor/ImageEditor/ImageWindow/ImageWindow.cpp | 10465c58bc5cf0773fe8ff6daacd2dbcde51c7dc | [
"MIT"
] | permissive | nicholasammann/elba | 65c053c7d79bd67d09eb5df2356183605c9b9a18 | 8d7a8ae7c8b55b87ee7dcd02aaea1b175e6dd8ce | refs/heads/stable | 2021-04-27T03:53:35.753179 | 2019-08-08T01:56:53 | 2019-08-08T01:56:53 | 122,722,831 | 1 | 0 | MIT | 2019-08-08T01:56:54 | 2018-02-24T09:02:43 | C++ | UTF-8 | C++ | false | false | 5,142 | cpp | #include <gl/glew.h>
#include <qpainter.h>
#include <qopenglpaintdevice.h>
#include <qevent.h>
#include "Elba/Core/CoreModule.hpp"
#include "Elba/Core/Components/CS370/ResizeHandler.hpp"
#include "Elba/Core/Components/CS370/ImageOperationHandler.hpp"
#include "Elba/Core/Components/MAT362/GammaController.hpp"
#includ... | [
"ammannnicholas@gmail.com"
] | ammannnicholas@gmail.com |
13df6b1b9c0bf38de23f7d9559a1a336684c984a | 6e09d72177402b133921a0cc611d4fbeabcf3aed | /Cpp/opencvTest/opencvTest/day01.cpp | 647e01e61100128eb448c5ec84e1307687d7f263 | [] | no_license | aravinda-kumar/Code | 4f91617c79569cccb7bbf517a3699d16fa7e1377 | eccdee6fe73237e2982b128a04813c854e4cfd4d | refs/heads/master | 2020-05-01T10:31:20.940519 | 2019-03-24T05:09:01 | 2019-03-24T05:09:01 | 177,422,267 | 1 | 0 | null | 2019-03-24T13:59:14 | 2019-03-24T13:59:14 | null | GB18030 | C++ | false | false | 932 | cpp | //#include <opencv2/opencv.hpp>
//#include <iostream>
//
//using namespace std;
//using namespace cv;
//
//int main()
//{
// //从指定路径下读出图片,并且返回一个Mat对象
// Mat img = imread("D:\\个人文档\\1_学校\\课程\\图像处理\\lena.png");
//
// //判断文件是否为空
// if (img.empty())
// {
// cout << "can not find the image" << endl;
// return -1;
// }
//... | [
"1109478681@qq.com"
] | 1109478681@qq.com |
87417e9121608cea8a33d7a368c0c71c09b8d210 | 214dbcc732e0f6a49336164c793bd4af4754a6f7 | /Algorithmics/Problems from various contests/reduceri.cpp | 663bd8bd08a612254b92733320fc360e1f85cbe8 | [] | no_license | IrinaMBejan/Personal-work-contests | f878c25507a8bfdab3f7af8d55b780d7632efecb | 4ab2841244a55d074d25e721aefa56431e508c43 | refs/heads/master | 2021-01-20T08:24:47.492233 | 2017-05-03T12:22:26 | 2017-05-03T12:22:26 | 90,142,452 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 899 | cpp | #include <fstream>
#include <cmath>
#define Nmax 105
using namespace std;
ifstream fin("reduceri.in");
ofstream fout("reduceri.out");
int A[Nmax][Nmax];
int v[Nmax];
int N;
void Citire();
void DetSubpro();
void Afisare();
int Cost(int i, int j);
int main()
{
Citire();
DetSubpro();
Afisare();
return... | [
"irinam.bejan@gmail.com"
] | irinam.bejan@gmail.com |
9f85b7b8beaf2e816ea81a6a939c7f0a6b154af9 | 6c57b1f26dabd8bb24a41471ced5e0d1ac30735b | /BB/src/Sensor/SensorDataHelpers.cpp | 6865fca80fe054c6c08a21ae7dbb1b9f437d20d4 | [] | no_license | hadzim/bb | 555bb50465fbd604c56c755cdee2cce796118322 | a6f43a9780753242e5e9f2af804c5233af4a920e | refs/heads/master | 2021-01-21T04:54:53.835407 | 2016-06-06T06:31:55 | 2016-06-06T06:31:55 | 17,916,029 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,798 | cpp | /*
* SensorData.cpp
*
* Created on: 18.3.2014
* Author: JV
*/
#include "BB/Sensor/SensorDataHelpers.h"
namespace BB {
namespace SensorDataHelpers {
TBS::BB::Services::Data::IDataDistributor::SensorDataReceivedArg sensorData2EventArg(
const SensorData & s) {
TBS::BB::Services::Data::IDataDistributor::Se... | [
"jan.vana@tbs-biometrics.com"
] | jan.vana@tbs-biometrics.com |
edfdb8c09c2280eec1bb4762f0a77cd8e9204ea1 | 5d62b79ec4640384a86081527f3c39ecb85e5598 | /src/map.cpp | fd0fec812128e0377daea9be58bc34044374e2e4 | [] | no_license | murilao/Otxserver-Global | c2b34cceea21c356aee10c2b420ab83637693e23 | 15d1c182edd6fd53a3cb746b078e270783b65237 | refs/heads/master | 2021-01-18T09:54:39.392553 | 2016-09-13T05:31:40 | 2016-09-13T05:31:40 | 68,126,748 | 0 | 1 | null | 2016-09-13T16:34:17 | 2016-09-13T16:34:16 | null | UTF-8 | C++ | false | false | 26,783 | cpp | /**
* The Forgotten Server - a free and open-source MMORPG server emulator
* Copyright (C) 2016 Mark Samman <mark.samman@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; eithe... | [
"erickzenho@live.com"
] | erickzenho@live.com |
46a5ee1958f4006c6417c512878adfba00a0d403 | af990b2d28c7a83c8642d89cd56609c8103047b8 | /Linguagem C e C++/Flood Fill Segmentation/flood.cpp | 759c4a68d7bd9874913650bc54311bb8f0b871ce | [] | no_license | vzanoon/Processamento-Digital-de-Imagens | 154613d1475b9f77bb42998d14753248be5d5e3a | 83b88d9d999f390e41b768f212ec76970d0e33ce | refs/heads/master | 2020-06-05T01:07:44.428058 | 2019-06-18T15:34:18 | 2019-06-18T15:34:18 | 192,261,055 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,708 | cpp | /************************************************************************************************************************
Universidade Federal de Santa Catarina (UFSC)
Departamento de Computação (DEC)
Disciplina: Processamento Digit... | [
"noreply@github.com"
] | vzanoon.noreply@github.com |
bb26282a2447a9ef47c1d3e4adf0b40825ac83d0 | a15f8dfce3172227c7f47e8b072d6a18a3931eb3 | /C++/p11/search.cxx | 80b394f08b7890a5d78adec25393d17141ddb8df | [] | no_license | mwalkerhg/C | fa31a7c41db37ed319e4bc0c47ad2166de1adeb2 | 42bfe3e951558fb5bcdcecd82a5e590e2f702eca | refs/heads/master | 2020-04-20T23:44:57.280903 | 2019-02-05T02:09:08 | 2019-02-05T02:09:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,167 | cxx | #include "search.h"
void QuickSortHelper(int idList[],int start,int end);
int partition(int idList[], int start, int end);
// Constructor
search::search(ifstream& inFile)
{
for(int i = 0; i < tableSize; i++)
inFile >> idList[i];
for(int i = 0; i < hashTableSize; i++)
hashList[i] = -1;
}
void search::Print... | [
"user@Users-Mac-3.local"
] | user@Users-Mac-3.local |
7a789c7f72e4c3114ebdfce9c3a4a6338c350449 | 24ca80b22c854e85049944fcdc203d96805153e7 | /src/universe/vehicle/PackedVehicle.h | 3a351d7d0a558ee4e46a3d93a635499e2cc48dc7 | [
"BSD-3-Clause",
"MIT"
] | permissive | Ghimli/new-ospgl | 0b0c8d4c3cc8e422d2160709bfcadf373b79dd3d | 31bd84e52d954683671211ff16ce8702bdb87312 | refs/heads/master | 2022-10-04T21:10:23.953046 | 2020-06-08T20:42:03 | 2020-06-08T20:42:03 | 268,630,072 | 0 | 0 | NOASSERTION | 2020-06-01T20:53:51 | 2020-06-01T20:53:50 | null | UTF-8 | C++ | false | false | 1,053 | h | #pragma once
#include "../CartesianState.h"
#pragma warning(push, 0)
#include <btBulletDynamicsCommon.h>
#pragma warning(pop)
#include <physics/glm/BulletGlmCompat.h>
class Vehicle;
class PackedVehicle
{
private:
// NOTE: Everything is given relative to root,
// except the angular velocity which should
// be as... | [
"tajampi@gmail.com"
] | tajampi@gmail.com |
e658e89704bb344cd7620f94439b8e53a8a4be97 | fad4fa89045a1b7a13162ceed1193427787fd329 | /Root/SampleCOMServer/SampleFreeThreadedClass.h | 4352eafda3657301e285c3eec4e77c4473b0bb39 | [] | no_license | tom-englert/COMRegistryBrowser | 00023333a573c6b69c277d96a05ce3634c5aee3e | 6e4136cdb8621d90a3bb30c0e86cd977dc6fb255 | refs/heads/master | 2023-05-04T01:05:21.977690 | 2023-04-11T11:51:50 | 2023-04-11T11:51:50 | 87,649,964 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,421 | h | // SampleFreeThreadedClass.h : Declaration of the CSampleFreeThreadedClass
#pragma once
#include "resource.h" // main symbols
#include "SampleCOMServer_i.h"
using namespace ATL;
// CSampleFreeThreadedClass
class ATL_NO_VTABLE CSampleFreeThreadedClass :
public CComObjectRootEx<CComMulti... | [
"tom-englert@users.noreply.github.com"
] | tom-englert@users.noreply.github.com |
0f22fc2f7b64f62e574a6794d0f20b737f6c8492 | 193cacbe89f5b2ef2208ef075dedc1871464f5f4 | /src/tools/src/cachedresultvault.cpp | 2cbfdc19f478f72132b027ddc275883e4498a478 | [
"MIT"
] | permissive | sssong81/coincenter | 6c867fc39d9b096bafb71a9cb41295ed76dd29f5 | 5f46b89af3a10c4a85a1fe6d3cbda950b7b3c949 | refs/heads/master | 2023-04-22T21:43:08.753950 | 2021-05-05T06:53:20 | 2021-05-06T13:40:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 696 | cpp | #include "cachedresultvault.hpp"
#include "cct_exception.hpp"
namespace cct {
void CachedResultVault::registerCachedResult(CachedResultBase &cacheResult) {
_cachedResults.push_back(std::addressof(cacheResult));
}
void CachedResultVault::freezeAll() {
if (_allFrozen) {
throw exception("unfreezeAll should be c... | [
"stephane.janel@amadeus.com"
] | stephane.janel@amadeus.com |
92c44dd23d81cf11461f7b1d5ae49818de08f152 | 9d851f5315bce6e24c8adcf6d2d2b834f288d2b2 | /chipyard/tools/chisel3/test_run_dir/MixedVecRegTester/2020030621351711598188151737613660/VMixedVecRegTester__ALLsup.cpp | 526ef31e8334085dc9408a8160e6e9ea651ff762 | [
"BSD-3-Clause"
] | permissive | ajis01/systolicMM | b9830b4b00cb7f68d49fb039a5a53c04dcaf3e60 | d444d0b8cae525501911e8d3c8ad76dac7fb445c | refs/heads/master | 2021-08-17T22:54:34.204694 | 2020-03-18T03:31:59 | 2020-03-18T03:31:59 | 247,648,431 | 0 | 1 | null | 2021-03-29T22:26:24 | 2020-03-16T08:27:34 | C++ | UTF-8 | C++ | false | false | 220 | cpp | // DESCRIPTION: Generated by verilator_includer via makefile
#define VL_INCLUDE_OPT include
#include "VMixedVecRegTester__Trace.cpp"
#include "VMixedVecRegTester__Syms.cpp"
#include "VMixedVecRegTester__Trace__Slow.cpp"
| [
"ajithkumar.sreekumar94@gmail.com"
] | ajithkumar.sreekumar94@gmail.com |
9623c12530e1811452cac9268ae88b77f2144f70 | d3136fd87c0af4c408ce87aecdf492cb8a5e8e43 | /sbpl_collision_checking/include/sbpl_collision_checking/voxel_operations.h | 511927a8ffb2015bf4c0d1300d10cabc41ef9711 | [] | no_license | dyouakim/smpl | a87fc88f33c4c5ab1448e5b58d6cdcd46fc187c8 | 83d251f445dce684aa132e7361c6c15dcda3c574 | refs/heads/master | 2021-01-19T18:39:52.997665 | 2019-02-28T16:18:46 | 2019-02-28T16:18:46 | 101,150,440 | 1 | 0 | null | 2017-08-23T07:21:17 | 2017-08-23T07:21:17 | null | UTF-8 | C++ | false | false | 6,461 | h | ////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2016, Andrew Dornbush
// 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. Redistribut... | [
"andrew.dornbush@gmail.com"
] | andrew.dornbush@gmail.com |
0de5afa0c1d448472d563fe5a65f8c09d75fe2bf | cc95b782330ed397090c4c45521faf9bc24350a4 | /faculty.h | 3e9f8964c2f076f709f02b82395b08c0594b2081 | [] | no_license | ehh2h/HashTableLab | 76320e493a0122d625e1ff0a445646fa5059f7ac | d98d342072a2b7749e1247c4c39521f90f47c825 | refs/heads/master | 2021-03-12T19:25:15.607558 | 2015-02-27T13:39:40 | 2015-02-27T13:39:40 | 31,420,495 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 905 | h | // File: faculty.h
// Programmer: Eric Howard
// Description: Faculty Object Header File
#ifndef FACULTY_H
#define FACULTY_H
#include <string>
#include "person.h"
#include <iomanip>
using namespace std;
class Faculty : public Person
{
public:
Faculty(){} ; // default constructor
Faculty(string newName, int n... | [
"ehh2h@Mtmail.mtsu.edu"
] | ehh2h@Mtmail.mtsu.edu |
420e737644ba27e0b8b5d9ce65bc7c4e1b53919c | 4a0915625aab3f601a1ef7ce6e89758d657fb44e | /tools/mclinker/unittests/StaticResolverTest.cpp | 75ff0182851994fc0396521d1e71a017b6a42172 | [
"NCSA"
] | permissive | GuzTech/NyuziToolchain | 5d0dcaca9e8a435b915d7bdf63cecbdcfb9e7a23 | bec8ae23d3a348b8b9a7ed2b9217f6315d97d592 | refs/heads/master | 2021-01-17T23:22:49.685684 | 2015-04-11T20:46:22 | 2015-04-11T20:46:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,919 | cpp | //===- implTest.cpp -------------------------------------------------------===//
//
// The MCLinker Project
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------------------... | [
"jeffbush001@gmail.com"
] | jeffbush001@gmail.com |
6b16b3dff14412caa5d91c5905ab3581f56181c7 | 165be8367f5753b03fae11430b1c3ebf48aa834a | /tools/converter/source/tensorflow/ReshapeTf.cpp | 20b88e4ae24affd1ac319300dcbfb911a98a8230 | [
"Apache-2.0"
] | permissive | alibaba/MNN | f21b31e3c62d9ba1070c2e4e931fd9220611307c | c442ff39ec9a6a99c28bddd465d8074a7b5c1cca | refs/heads/master | 2023-09-01T18:26:42.533902 | 2023-08-22T11:16:44 | 2023-08-22T11:16:44 | 181,436,799 | 8,383 | 1,789 | null | 2023-09-07T02:01:43 | 2019-04-15T07:40:18 | C++ | UTF-8 | C++ | false | false | 2,055 | cpp | //
// ReshapeTf.cpp
// MNNConverter
//
// Created by MNN on 2019/01/31.
// Copyright © 2018, Alibaba Group Holding Limited
//
#include <string.h>
#include "TfUtils.hpp"
#include "tfOpConverter.hpp"
#include "graph.pb.h"
DECLARE_OP_CONVERTER(ReshapeTf);
MNN::OpType ReshapeTf::opType() {
return MNN::OpType_Res... | [
"yiliu.cyl@alibaba-inc.com"
] | yiliu.cyl@alibaba-inc.com |
d0cb7991f493c88d967e3978a3ec7c8c47f1040c | ead0f3f313bdd574545794b0c372eca6bbca9830 | /10824네수.cpp | ea04a6ed2f9beea49c2828895e7238dfd75f2f44 | [] | no_license | tomcruse/algorithm | fe237ea40d6c29add4b124b84f8714f846a8e385 | 3029b7ea498c9b63c145f5d5bda26dfd7a17a447 | refs/heads/master | 2021-06-23T00:23:38.983751 | 2017-08-19T17:14:56 | 2017-08-19T17:14:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 191 | cpp | #include<iostream>
#include<string>
using namespace std;
string a, b, c, d;
int main() {
cin >> a >> b >> c >> d;
a += b;
c += d;
cout << atoll(a.c_str()) + atoll(c.c_str());
return 0;
} | [
"kdr0407@naver.com"
] | kdr0407@naver.com |
894c9c26757baf69f2d0fc2dc5bc1f34eadeed15 | 3467402c3dded0971082168a8338ddd4c9dfcc8b | /SpatialGDK/Source/SpatialGDK/Public/SpatialView/CommandRequest.h | 5be645f2ef5aea00f73ce15321dd5840c13f1cd8 | [
"LicenseRef-scancode-generic-cla",
"LicenseRef-scancode-proprietary-license",
"MIT"
] | permissive | UDKMan/UnrealGDK | 5885c9e4f69d604ca8da1920312f486b0e354ee5 | 925bba1ab2ab4ba1ed33758624478910ef5e2ecf | refs/heads/release | 2023-03-29T22:20:34.309168 | 2021-02-01T23:32:49 | 2021-02-01T23:32:49 | 352,110,511 | 1 | 0 | MIT | 2021-03-27T15:41:58 | 2021-03-27T15:41:58 | null | UTF-8 | C++ | false | false | 1,742 | h | // Copyright (c) Improbable Worlds Ltd, All Rights Reserved
#pragma once
#include "Templates/UniquePtr.h"
#include <improbable/c_schema.h>
#include <improbable/c_worker.h>
namespace SpatialGDK
{
struct CommandRequestDeleter
{
void operator()(Schema_CommandRequest* CommandRequest) const noexcept
{
if (CommandReq... | [
"noreply@github.com"
] | UDKMan.noreply@github.com |
1f784a9a444778c43418b48fb024e36a9de64ddf | 356313b292c3d0f11991b27f70a635a05749377a | /P4/practicas.cc | a082da7608a55a49978468e518c1e05c62ad0ac0 | [] | no_license | Oscarntnz/IG | 30d6bdecbe7fd1440a5cd2e571d9c30ac771e2dc | bbc0ad6da068bc12f170002fa4f39417f5bdd456 | refs/heads/master | 2023-03-29T05:59:05.385901 | 2021-01-11T16:17:18 | 2021-01-11T16:17:18 | 311,619,181 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,686 | cc | //**************************************************************************
// Prácticas
//
// F.J. melero
//
// GPL
//**************************************************************************
#include "aux.h" // includes de OpenGL, windows, y librería std de C++
#include "escena.h"
// variable que contiene un pun... | [
"oscarntnz@correo.ugr.es"
] | oscarntnz@correo.ugr.es |
ca12567e410e4a4cf2c634bcf276b1d844eca951 | 9375410cd0ca861302f3c7deee2bd59a324e732e | /main1.cc | 5c6ae0ae4c5b5eff750fb0f9b1f03d0aebf530cc | [] | no_license | xizighq/HelloWorld | 27bdc42b2ba4382c98fc8222e657cafe9677dae5 | 8ebd6e42da7841589f864423d4c676d8349aeda8 | refs/heads/main | 2023-02-11T15:18:33.246105 | 2021-01-05T07:11:16 | 2021-01-05T07:11:16 | 326,676,356 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 102 | cc | #include<bits/stdc++.h>
using namespace std;
class test{
public:
private:
};
int main(){
test a;
}
| [
"gaohuqun@qq.com"
] | gaohuqun@qq.com |
6e4f1b30eb722f6218b8bfc5f8a0f81c35a9aefe | bb62a2b96a8ca5a2f71181e3229c89358fbeb842 | /Presenter.ino | c8d0e5161e84e27fe4541631fd14a13548305a68 | [] | no_license | hendrikstill/ArduinoPresent | bee0aa6d208b940d76d3260cd921656b4aff2db8 | 2dcde0fd6c855e495c49a4ec33c8bc5cf3500d83 | refs/heads/master | 2016-09-10T18:50:46.729144 | 2013-06-09T16:19:41 | 2013-06-09T16:19:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,349 | ino | #include <Timer.h>
#include <Event.h>
const int buttonAPin = 2; // the number of the pushbutton pin
const int buttonBPin = 4; // the number of the pushbutton pin
const int ledPin = 13; // the number of the LED pin
const int timeLED1 = 5; //Grün
const int timeLED2 = 10;
const int timeLED3 = 6; ... | [
"hendrik@hendrik-ThinkPad-X1.(none)"
] | hendrik@hendrik-ThinkPad-X1.(none) |
b478305598ff9726742df8243957b8477e11f0a1 | 5ea19661d40a8155fdafab5db4a5e2e5a1e17a09 | /cpp/p5.cpp | ac9cad88838e11717b12388ca4b8a1eb09a6c133 | [] | no_license | kgraves/euler | e6702b0941a4a467732ba06a6482e1d8623391ff | 59373337e472f03dc747a12a7951cf9e98222a86 | refs/heads/master | 2021-05-15T01:18:12.906998 | 2017-03-09T03:45:03 | 2017-03-09T03:45:03 | 10,578,464 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 973 | cpp | #include <iostream>
#include <cmath>
using namespace std;
int gcpf(int n) {
int g=0, p=0;
for (int i=2; n!=1;) {
if (n%i == 0) {
if (g == i) {
++p;
n /= i;
}
else {
p = 1;
g = i;
n /= i;... | [
"kgraves9@mail.csuchico.edu"
] | kgraves9@mail.csuchico.edu |
759ef53aea2d467ea4032b1e2dcf9f0932c6e813 | e6cb9b05376710f9a0ab8543b00420d7c604c2c2 | /tests/common_test/tests/data_structures_tests/blocking_queue_tests.cpp | 1b503afac737dbaef0d4c177a1a2a75f4ee4ddff | [
"MIT"
] | permissive | JulianBiancardi/Wolfenstein-Taller1 | 684b69fb08fc4e91faf09f82fae2f585fea10e44 | 28e72ce8438264919586785aa09ce9b0a5de222b | refs/heads/main | 2023-04-11T07:20:20.905180 | 2021-04-16T18:05:19 | 2021-04-16T18:05:19 | 315,163,517 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,419 | cpp | #include "blocking_queue_tests.h"
#include <utility>
#include "../../main/data_structures/blocking_queue.h"
#include "../../main/packets/packet.h"
#include "../../main/packets/packing.h"
#include "../../main/threads/thread.h"
#include "../tests_setup.h"
int static empty_creation_test();
int static enqueue_test();
in... | [
"czopsantiago@gmail.com"
] | czopsantiago@gmail.com |
45cbfa2543a9a259c545de50e2b14cc6c7a18c30 | 05a65c385dc5ba32bff4e1af5f9d523a4e831449 | /Source/USemLog/Private/Viz/Markers/SLVizSkeletalMeshMarker.cpp | 6911cd977936917161a0c8c42dc7a31325f3b09f | [
"BSD-3-Clause"
] | permissive | robcog-iai/USemLog | 5571212e9c7fba04a441a89f269f02195a3b3643 | d22c3b8876bec66a667023078f370a81f7ce9d2b | refs/heads/master | 2023-09-01T08:53:09.932916 | 2022-11-03T11:20:35 | 2022-11-03T11:20:35 | 69,003,081 | 9 | 22 | BSD-3-Clause | 2023-03-29T14:44:52 | 2016-09-23T07:59:30 | C++ | UTF-8 | C++ | false | false | 15,095 | cpp | // Copyright 2020, Institute for Artificial Intelligence - University of Bremen
// Author: Andrei Haidu (http://haidu.eu)
#include "Viz/Markers/SLVizSkeletalMeshMarker.h"
#include "Viz/SLVizAssets.h"
#include "Components/PoseableMeshComponent.h"
#include "Components/SkeletalMeshComponent.h"
#include "Materials/Materia... | [
"andrei.haidu@yahoo.com"
] | andrei.haidu@yahoo.com |
2e1633f93d6a987c7c00427327636bd537a3252a | ac647c2187c141f6b5f5c646b06dfce8870825b6 | /Framework-EGC-master/Source/Laboratoare/Laborator8/Laborator8.cpp | 6fabe61ca2641baefd9558e3d88b897dbda3ba09 | [] | no_license | florinrm/BilliardGame | 971167fd77666b3ed878298d4f66a7e8ba96410a | c1af0bb0422e934ab80b509eb37be8534998bb9d | refs/heads/master | 2020-04-06T12:26:10.174408 | 2018-12-02T18:58:50 | 2018-12-02T18:58:50 | 157,455,362 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,166 | cpp | #include "Laborator8.h"
#include <vector>
#include <string>
#include <iostream>
#include <Core/Engine.h>
using namespace std;
Laborator8::Laborator8()
{
}
Laborator8::~Laborator8()
{
}
void Laborator8::Init()
{
{
Mesh* mesh = new Mesh("box");
mesh->LoadMesh(RESOURCE_PATH::MODELS + "Primitives", "box.obj");
... | [
"noreply@github.com"
] | florinrm.noreply@github.com |
a66808dab706498b7e18ddbd537fed7af83ba550 | 7a684242f58f96af44eac0962490c10167f4e489 | /C++ Programs/Decision and Loop/C++ Program to Display Fibonacci Series.cpp | 9a0e52d7f2bce99398cb0ef3d1513001bf2eef05 | [] | no_license | SaifRehman99/C-Plus-Plus-Tutorials | 58bdfe9244e755edebc6b32c253533faa11a227d | 5ab868e5282d967110feb855e7fdd3c7801da96f | refs/heads/master | 2020-03-31T18:19:58.377017 | 2018-12-28T17:30:09 | 2018-12-28T17:30:09 | 152,454,645 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 486 | cpp | #include<iostream>
using namespace std ;
main(){
int firstnumber=0,secondnumber=1,nextnumber=0,n;
cout<<"Enter Number of Terms = ";
cin>>n;
for(int i=1;i<=n;i++){
if(i==1){
cout<< " "<< firstnumber ;
continue;
}
if(i==2){
cout<<" "<<secondnumber;
continue;
}
nextnumber=firstnum... | [
"saifr7493@gmail.com"
] | saifr7493@gmail.com |
c5231698264705bd8e385103bc07f131466bd502 | 4d1e24c7178e77d22692d3a7bc2455a934db346c | /Template_Function.cpp | d800d72025cc7d3516bf999ee71c8be291774e2b | [
"Apache-2.0"
] | permissive | doubleZ0108/my-C-Cpp-study | 259f5d9ea4c4f3956cf42ccec3397486cb4f06f3 | 7bf27ea2e968ca012d0e712000f4e4569b0c253c | refs/heads/master | 2020-03-31T09:09:31.251709 | 2020-02-07T15:02:44 | 2020-02-07T15:02:44 | 152,084,842 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 821 | cpp | #include <iostream>
#include <cstdlib>
using namespace std;
template<class type> //这里用class也可以
void Swap(type &a, type &b)
{
type buf;
buf = a;
a = b;
b = buf;
}
template<typename type1,typename type2, typename rttype>
//这里的用法是不可以的,因为通过函数调用是不能推断出rttype的类型的
//这里想要展示的是多个模板类型的语法
rttype Max(type1 a, ... | [
"noreply@github.com"
] | doubleZ0108.noreply@github.com |
e74787c30071bdcc5212b1f63bed7782852643e5 | 34ae61e2b612358cf385ea356c3fa6cb6842ccbf | /Classes/Entities/Notifier.cpp | 6087a2d8501f4f4480fe8a9581977b0fc3b0d396 | [
"MIT"
] | permissive | dare0021/October3rd | f5dcf4542a7f5f0cebe63a365252989f8030125b | 79044467616b50ed068af79e64cdbe430f585792 | refs/heads/master | 2020-04-04T16:18:07.263656 | 2016-02-03T09:56:00 | 2016-02-03T09:56:00 | 42,033,224 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,363 | cpp | #include "Notifier.h"
#include "Helpers/Consts.h"
#include "Helpers/StaticHelpers.h"
//#define SHOW_OFFSCREEN_OBJECTS
USING_NS_CC;
Notifier::Notifier(std::string path, Vec2 screenSize) : O3Sprite("", true),
resourceFolderPath(path),
timeSinceLastOpacityUpdate(0),
screenSize(screenSize)
{
// need to attach the proto... | [
"dare0021@kaist.ac.kr"
] | dare0021@kaist.ac.kr |
faad6599a6a18eba030fad1d2ce2091de5a53525 | ca3df20a5b4b133de37a2b2714757f78d4fdf693 | /Assignment 4/Sav9EdC4P5/main.cpp | 40c3ec4a813f73b4cecf9426483551210c84155a | [] | no_license | 1391878122/Qingkai-Zhang1 | 62547d66ebdb6e6a6605b5a7c6e5bb49cefe879d | cc5f0479b9c573a942e063c01389a6fca020d3d8 | refs/heads/master | 2022-09-25T14:06:19.745665 | 2020-06-06T04:48:57 | 2020-06-06T04:48:57 | 258,684,644 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,079 | cpp | //System Libraries
#include <iostream> //Input/Output Library
#include<iomanip>
using namespace std;
//User Libraries
//Global Constants, no Global Variables are allowed
//Math/Physics/Conversions/Higher Dimensions - i.e. PI, e, etc...
//Function Prototypes
//Execution Begins Here!
int main(int argc, ... | [
"noreply@github.com"
] | 1391878122.noreply@github.com |
76f7bb6b28b56a8f3b139ba81f083971a4716792 | 53400caec1b30e7b6e8895fe4dc60cf6799a9e55 | /MyTools/TypeTool.h | 5892d0a5d66dc819a3767014dc5a3f773217db2d | [] | no_license | 181847/MyLibrary_of_C_Cplusplus | 9d46e6641af5371af82dc7536633845691df5170 | c9a62e2be04c280e38f2f5154f968ac734453486 | refs/heads/master | 2018-11-11T16:08:33.736318 | 2018-09-09T12:01:34 | 2018-09-09T12:01:34 | 111,888,240 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,594 | h | #pragma once
#include <type_traits>
namespace TypeTool
{
// this struct is used to generate the id for specific type,
// the id is unique for specific SERIES_TYPE,
// you can change the SERIES_TYPE to get other series id.
// the ID start from one,
// and the zero means a invalid ID.
template<typename SERIES_TYPE>
str... | [
"753090084@qq.com"
] | 753090084@qq.com |
c06e5d711df40ee3df183ead72afd570e9601d08 | b495209212ba745251914fee2ba6aebf90932b44 | /src/PageResource«CurrencyResource».h | ced2ba0b3be50dedb382ac260bf2a7149a667eda | [] | no_license | knetikmedia/knetikcloud-tizen-client | 21e1d9a0f98ca275f372af05dfb699adf46b7679 | 28be72af9caa0980570ff20fc798bdcf67b5550a | refs/heads/master | 2021-01-13T13:34:44.915887 | 2018-03-14T16:05:13 | 2018-03-14T16:05:13 | 76,421,710 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,198 | h | /*
* PageResource«CurrencyResource».h
*
*
*/
#ifndef _PageResource«CurrencyResource»_H_
#define _PageResource«CurrencyResource»_H_
#include <string>
#include "CurrencyResource.h"
#include "Order.h"
#include <list>
#include "Object.h"
/** \defgroup Models Data Structures for API
* Classes containing all the D... | [
"shawn.stout@knetik.com"
] | shawn.stout@knetik.com |
33052c57b947df6a6130a5fc850267f9de274090 | 9369318cdbde33f5910c6de3736f1d07400cf276 | /414B.cpp | d7245de4aa3749c300f0394060fabbb486b8f0b8 | [] | no_license | cwza/codeforces | cc58c646383a201e10422ec80567b52bef4a0da9 | e193f5d766e8ddda6cdc8a43b9f1826eeecfc870 | refs/heads/master | 2023-04-11T12:22:04.555974 | 2021-04-22T04:45:20 | 2021-04-22T04:45:20 | 352,477,628 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,077 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
/*
1. Precompute [1, 2000] number's factors
2. DP
dp[n][k] = sum(dp[x][k-1] for x in factors[n])
dp[.][1] = 1
*/
int n, k;
const int maxN = 2000, maxK = 2000, M = 1e9+7;
vector<int> factors[maxN+1];
int dp[maxN+1][maxK+1];
void createFactors... | [
"cwz0205a@gmail.com"
] | cwz0205a@gmail.com |
5655134d040e58882286894472935b3ec554f188 | 6d54335ef9d679c947473163513d5da971289887 | /client/source/Image2D.h | 817ca0819dd3c1f722fa3fe83562bdec70d7c506 | [] | no_license | Blanel/agi_project_2 | 868f4afca2aa1f93fde30896917a90131ac6cfe5 | 62797a71dea01af259912f35d0496ea1893521d7 | refs/heads/master | 2020-06-08T07:36:47.025804 | 2012-12-21T09:09:17 | 2012-12-21T09:09:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,843 | h | #ifndef IMAGE2D_H_
#define IMAGE2D_H_
#include "Types.h"
#include <vector>
#include <iostream>
#include <cassert>
#include <fstream>
#include <cstring>
#include "SDL_Image.h"
#include "Log.h"
#include <iterator>
namespace revel
{
enum class PixelFormat
{
RGB_U8,
RGBA_U8,
GRAY_U8,
GRAY_F32,
UNDEFINED
};
enum ... | [
"nikkola@kth.se"
] | nikkola@kth.se |
846ca4e0add16ddfc7fca701e1eb34f6f306055e | 6f80725456e91d83cc22bd515a8a636460085039 | /codeplus/16928.cpp | 28241d787ceaddb0b4a0ef65c30e698139defafd | [] | no_license | greedy0110/algorithm | 6061c9b48d93eb70b0dda6f40128325dee534047 | ce205f04d29a9d6d6d98060bf92aa5511eb09418 | refs/heads/master | 2023-09-04T16:06:33.552642 | 2021-11-10T00:59:39 | 2021-11-10T00:59:39 | 279,033,190 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,054 | cpp | //
// Created by 신승민 on 2021/08/01.
//
#include <bits/stdc++.h>
using namespace std;
#define RP(i, X) for (int i=0; i<((X)); i++)
#define all(X) begin((X)), end((X))
#define endl '\n'
typedef vector<int> vi;
typedef vector<bool> vb;
typedef vector<vi> vvi;
typedef long long ll;
int main() {
ios_base::sync_with... | [
"greedy0110@gmail.com"
] | greedy0110@gmail.com |
1b689b82f9728f6530eab960d6eaa06e86da18ed | f22f1c9b9f0265295be7cb83433fcba66b620776 | /native/include/src/main/include/jcpp/native/api/NativeString.h | 4812c53094d18f8f8cd3790c697a65850328d10e | [] | no_license | egelor/jcpp-1 | 63c72c3257b52b37a952344a62fa43882247ba6e | 9b5a180b00890d375d2e8a13b74ab5039ac4388c | refs/heads/master | 2021-05-09T03:46:22.585245 | 2015-08-07T16:04:20 | 2015-08-07T16:04:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,873 | h | #ifndef JCPP_NATIVE_API_NATIVESTRING
#define JCPP_NATIVE_API_NATIVESTRING
#include "jcpp/native/api/NativeInclude.h"
#include <string>
#include <iostream>
namespace jcpp {
namespace native {
namespace api {
class JCPP_EXPORT NativeString {
friend JCPP_EXPORT NativeString operator+(const char*, const Nativ... | [
"mimi4930"
] | mimi4930 |
2a85eb0c06c9a245af852703235cba0899652423 | 127c53f4e7e220f44dc82d910a5eed9ae8974997 | /Common/Packets/GCTeamAskApply.h | ee2eec81116d706d09e0008e4289738965e56978 | [] | no_license | zhangf911/wxsj2 | 253e16265224b85cc6800176a435deaa219ffc48 | c8e5f538c7beeaa945ed2a9b5a9b04edeb12c3bd | refs/heads/master | 2020-06-11T16:44:14.179685 | 2013-03-03T08:47:18 | 2013-03-03T08:47:18 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,149 | h | #ifndef _GC_TEAMASKAPPLY_H_
#define _GC_TEAMASKAPPLY_H_
#include "Type.h"
#include "Packet.h"
#include "PacketFactory.h"
namespace Packets
{
class GCTeamAskApply: public Packet
{
public:
GCTeamAskApply()
{
m_SourNameSize = 0;
m_DestNameSize = 0;
memset( (void*)m_SourName, 0, sizeof(C... | [
"amwfhv@163.com"
] | amwfhv@163.com |
df3a18bdda44bc1f7c0c2dcfa2b439d893adeae8 | 1061ad6b439908c40d42c79076afa5d2539f83aa | /CdS Photoresistor/LM34_Test/LM34_Test.ino | a3ad4be8b32efd281e92e4e41840e5b6e4c21a91 | [] | no_license | wstreyer/Arduino | e86252b196e0702d59e0e4d760b4fdf3f8382a97 | 8f3f24d436b7684ddc9aeac8db18c0507382cee5 | refs/heads/master | 2020-04-03T04:04:31.557036 | 2018-10-27T20:04:30 | 2018-10-27T20:04:30 | 155,002,288 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 488 | ino | //LM34 DZ analog pin
const int LM34 = A3;
//Initialize values to read and display dht11 data
int sensorValue = 0; // value read from the pot
float outputValue = 0; // value output to the PWM (analog out)
void setup()
{
//Open serial port
Serial.begin(9600);
}
void loop()
{
//Update after 1 second... | [
"streyer2@illinois.edu"
] | streyer2@illinois.edu |
c6053cd903b0df4f257ba22732fe651846fc75f9 | 8bb16b4bfb077fc4f9bd683ad0aae797213371d7 | /SDK/PUBG_QualitySliderWidget_functions.cpp | c05d17217272cb4aa8300698c1f253f46c86ad12 | [] | no_license | yuaom/PUBG-SDK-3.7.19.10- | f6582e3c25fe5c0f8c38955f9ad96dc41427f099 | e87a6484e75611908c34ed58c933efd914bedb14 | refs/heads/master | 2023-06-10T02:22:55.546476 | 2018-03-16T17:05:00 | 2018-03-16T17:05:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,874 | cpp | // PLAYERUNKNOWN BATTLEGROUND'S ( EDITED BY PHYSXCORE, THANKS TO KN4CKER ) (3.7.19.10) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "PUBG_QualitySliderWidget_parameters.hpp"
namespace Classes
{
//---------------------------------------------------------------------------
//Functions
//---------------... | [
"37451616+PhysXCore@users.noreply.github.com"
] | 37451616+PhysXCore@users.noreply.github.com |
54b0af4b3b7c19c04905f6ec773feb8784123bfc | 1bcad704ae63cc40942453e3d5c20eb9634734e0 | /LocalGENSIM/Pythia/ADDonly.cc | e8478e30aa97aac42638df36ccb707e441019600 | [] | no_license | uzzielperez/CMSAlabama | 0128550eb72b0378d28fee1aeaf230a15a457efe | 145480bf39f80a00c175292c658b38b75a44941b | refs/heads/master | 2021-09-13T20:03:36.437519 | 2018-05-03T17:01:57 | 2018-05-03T17:01:57 | 119,589,397 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,635 | cc | // Copyright (C) 2017 Torbjorn Sjostrand.
// PYTHIA is licenced under the GNU GPL version 2, see COPYING for details.
// Please respect the MCnet Guidelines, see GUIDELINES for details.
// http://home.thep.lu.se/~torbjorn/pythia8/worksheet8153.pdf
#include "Pythia8/Pythia.h"
using namespace Pythia8;
int main() {
//... | [
"cuperez@fnal.gov"
] | cuperez@fnal.gov |
c20ddcda7ceabb2fe5477e6acb75957b1147e98e | c05ec6793dc48b2e966f204989a32a65623288f9 | /src/opengldrv/oglvertexvbo.cpp | 7ed981ad8f5eba9b92165f3d3682d666550b4b46 | [] | no_license | pkamenarsky/hastegame | b29741a7f2f38d51ce445f14a3dd4f656e204102 | 5320863576804e51f799bdeacf29321ed50a0962 | refs/heads/master | 2021-01-13T02:06:26.613636 | 2015-08-17T13:18:40 | 2015-08-17T13:18:40 | 40,895,961 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,549 | cpp | #include "bufobject.hh"
#include "ogldevice.hh"
#include "oglvertexvbo.hh"
#include "../video/vertexformat.hh"
namespace ion {
namespace opengldrv {
OGLVertexVBO::OGLVertexVBO(OGLDevice& rOGLDevice,const ion_uint32 numVertices,
const video::Vertexformat& format,const ion_uint32 flags,video::Vertexstream::Vertexsour... | [
"trevo.palev@2706c42f-771c-0410-b8f5-5191b43d0857"
] | trevo.palev@2706c42f-771c-0410-b8f5-5191b43d0857 |
204befac9a706ec2ab17b236a8baa626b8237861 | f8ea7e042a62404b1f420a7cc84b7c3167191f57 | /SimLib/FitEmpirical.cpp | 71427dd7a90bd9093f2b1c0cde732ed92e2c9958 | [] | no_license | alexbikfalvi/SimNet | 0a22d8bd0668e86bf06bfb72d123767f24248b48 | 20b24e15647db5467a1187f8be5392570023d670 | refs/heads/master | 2016-09-15T17:50:23.459189 | 2013-07-05T14:41:18 | 2013-07-05T14:41:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,260 | cpp | /*
* Copyright (C) 2011 Alex Bikfalvi
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your option) any later version.
*
* This program is dis... | [
"alex@bikfalvi.com"
] | alex@bikfalvi.com |
1a795407a64b6404fb97114b70c35d5e94fe949b | 3f85d90aa33926c9a3fbd61bc95068033965ab17 | /Twitter.cpp | 84273678cda6e8e8fbe4883c24136c2ae05bc1b2 | [] | no_license | falay/MiniTwitter | faafc98ecd10d55cc15cfc97a5c6e6744030fbf7 | 17dfa44726a52f43102eb09a93457be71bcdd4a1 | refs/heads/master | 2021-01-12T10:54:22.685550 | 2016-11-03T13:31:59 | 2016-11-03T13:31:59 | 72,748,233 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,285 | cpp | #include "Twitter.hpp"
Twitter::Twitter()
{
CurTime = 0 ;
}
void Twitter::postTweet(int userId, int tweetId)
{
Tweet newPost( tweetId, CurTime++ ) ;
postedTweets[userId].insert( postedTweets[userId].begin(), newPost ) ;
}
vector<int> Twitter::getNewsFeed(int userId)
{
vector<int> ne... | [
"chenct0456011@linux1.cs.nctu.edu.tw"
] | chenct0456011@linux1.cs.nctu.edu.tw |
2e54f73537774211ce4a0a2ee82875073b19cb03 | 7c5c667d10f01f6cd0e87e6af53a720bd2502bc7 | /src/杂/12.29训练/1713ELE.cpp | cda8245ed45a526b298b6f3d4434e16f04e72dd5 | [] | no_license | xyiyy/icpc | 3306c163a4fdefb190518435c09929194b3aeebc | 852c53860759772faa052c32f329149f06078e77 | refs/heads/master | 2020-04-12T06:15:50.747975 | 2016-10-25T12:16:57 | 2016-10-25T12:16:57 | 40,187,486 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 998 | cpp | #include<iostream>
using namespace std;
int vis[30005];
int max_fl;
int judge(int t)
{
int i,j;
int num=0;
i=t/20+2;
while(i<=max_fl)
{
while(i<=max_fl&&!vis[i])
i++;
if(10*num+4*(i-1)>t)
return 0;
... | [
"fraudxyiyy@gmail.com"
] | fraudxyiyy@gmail.com |
4b2afecb0bb2cd9d968d8d88b0f3f6a5988cecd3 | 679dd2f9d1fb7cf267bec361ba2a77e5ad234ed3 | /cadrantvitesse.cpp | 6f855af85338c287a50dcfd3e1a675f487706805 | [] | no_license | SahliMaroua15/dashbord | 7a877d82a2ca4ca46be4b418277eb876d19ffce9 | 6511747e1f56969678c81f31fd1a1b5e385b418f | refs/heads/master | 2020-11-24T09:25:54.875944 | 2019-12-14T20:32:32 | 2019-12-14T20:32:32 | 228,079,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,413 | cpp | #include "cadrantvitesse.h"
#include <QGraphicsItem>
#include <QObject>
#include <QPainter>
#include <QStyleOptionGraphicsItem>
#include <QRectF>
#include <QtMath>
#include <QtDebug>
#include <QPointF>
#include <QDateTime>
cadrantvitesse::cadrantvitesse(QGraphicsItem *parent)
{
vitesse=0;
}
QRectF cadrantvitesse::bou... | [
"noreply@github.com"
] | SahliMaroua15.noreply@github.com |
0789af46dfbbf78dfef99d021fc7c0cddae7018b | b5ebf30dab231afd8e8d6dcda7934d29f88fa292 | /label.cpp | 8786e58969aa05a0d217d704ea773a4d49ecb225 | [] | no_license | eipiplus/graph-compute | 01cd45fdf1c4742f7f439b0d7dffc21248547bb3 | 19a9d1079e80214696b036c130387b947e3cba30 | refs/heads/master | 2021-01-01T05:12:49.333039 | 2017-03-09T14:09:44 | 2017-03-09T14:09:44 | 59,816,550 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 550 | cpp | #include"label.h"
segment::segment(int p,int n){
path=p;
node=n;
}
Label::~Label(){
delete tp;
delete ps;
delete hash;
delete idx;
}
Label::Label(Topo* tps){
int vs=tps->getVs();
tp=tps;
ps=tp->djikstr();
hash=new vector<int> [ vs*vs ];
idx=new vector<segment> [ vs ];
int src=0,dst=0;
Path* tmp;
for (int... | [
"epiplusone@163.com"
] | epiplusone@163.com |
fdfb5d8a30092b68d318b13d10aa7726abbb5736 | bd75df2a6d81b1023b0fd23c3bec2dfa4a1fa8a3 | /exercise/BOJ/1011.cpp | 0844d3573651cf24a66c838bd988cb512e625c32 | [] | no_license | jongwuner/ps-study | 596215ed2f3405197eabb4251dbfb3bff1b09352 | a3f198dcf2467f1637aa8e1efdce81662d6b62ef | refs/heads/master | 2021-07-18T15:54:51.622618 | 2020-05-10T11:53:11 | 2020-05-10T11:53:11 | 156,563,729 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 378 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
int T; cin >> T; while (T--) {
ll A, B, N = 0, add = 0;
cin >> A >> B;
while (N * (N + 1) < B - A) {
N++;
}
if (N * (N - 1) + N < B - A) {
add+=2;
}
else {
add... | [
"jklh0202@naver.com"
] | jklh0202@naver.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.