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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
992d4686707951168a4c1d01a36f9f9e0f287285 | 5e1ae0c5e8f26339759b43e6627771edcf7d16ce | /external/chromium_org/content/renderer/history_serialization.cc | cf85496de3c7441a0d420da02bb21cd117d12925 | [
"BSD-3-Clause"
] | permissive | guoyanjun0313/cb40_6735 | d303eec21051633ee52230704a1dfd0f3c579cc0 | fc5aa800555da17f2c2c3f75f95f772ff67b40c0 | refs/heads/master | 2022-12-28T16:44:38.678552 | 2018-04-18T03:00:31 | 2018-04-18T03:00:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,965 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/renderer/history_serialization.h"
#include "content/common/page_state_serialization.h"
#include "content/public/common/page_state.h"
#i... | [
"liuyiping@t-road.cn"
] | liuyiping@t-road.cn |
6b0abafe70af21017e2521960b1ef9a285061405 | 5af80813298c3a2da7f7e3e28adb1b9bcc433878 | /gameplay/src/Curve.h | 05e9a246ee572af18300197eefa4dcf24b9e12b1 | [] | no_license | damonyan1985/SkCanvas | c250ad47bdd0fa072ca859c6b1242dede2045f95 | 731ae8abb540382da2e156e8d93373c4563017ea | refs/heads/master | 2021-09-10T20:03:51.927207 | 2018-03-23T02:02:10 | 2018-03-23T02:02:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,129 | h | #ifndef CURVE_H_
#define CURVE_H_
#include "Ref.h"
namespace gameplay
{
/**
* Defines an n-dimensional curve.
*/
class Curve : public Ref
{
friend class AnimationTarget;
friend class Animation;
friend class AnimationClip;
friend class AnimationController;
friend class MeshSkin;... | [
"hgl868@126.com"
] | hgl868@126.com |
ab03962226e64a1f96942896d9ef8e71bce76df4 | b8e8c8c95d9a196260d4b08e86b4750bb07a1a10 | /ZSJ-Project/Project3/CODETEST/test/Priority-Queue-Test/fib_heap(pass correctness).h | c604cbfa2306011fb4572d6d9b663f009f5ee02c | [] | no_license | Randyzhang98/Weikang-s-Data-House | 69d1817757eb33bed5747d518ced0a48a8618104 | 1e8781c5967ff46084b98c4c9fdcc633cccce76f | refs/heads/master | 2020-04-06T09:14:33.993428 | 2018-12-19T07:57:43 | 2018-12-19T07:57:43 | 157,334,186 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,009 | h | #ifndef FIB_HEAP_H
#define FIB_HEAP_H
#include <algorithm>
#include <cmath>
#include <list>
#include <iostream>
#include "priority_queue.h"
// OVERVIEW: A specialized version of the 'heap' ADT implemented as a
// Fibonacci heap.
template<typename TYPE, typename COMP = std::less<TYPE> >
class ... | [
"601981285@qq.com"
] | 601981285@qq.com |
684a75d016cfce04fb684f65448940837d646b47 | 7305ca85b0b585d8178f013c2a417deb3ddcd498 | /src/backend/spin/camera_device_spin.hpp | 04cc58654bbee0d792e6f6b2a66da05dbec5c2c3 | [
"Apache-2.0"
] | permissive | rozmar/bias | de00b2b1cfe888487b89480646d5f0516cb7284a | 3881370bb46fdc8976c04ec033cdfb240d1a26da | refs/heads/master | 2022-11-13T19:08:46.643239 | 2020-03-13T17:55:44 | 2020-03-13T17:55:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,392 | hpp | #ifdef WITH_SPIN
#ifndef BIAS_CAMERA_DEVICE_SPIN_HPP
#define BIAS_CAMERA_DEVICE_SPIN_HPP
#include <map>
#include <string>
#include <functional>
#include <opencv2/core/core.hpp>
#include "utils.hpp"
#include "camera_device.hpp"
#include "camera_info_spin.hpp"
#include "property.hpp"
#include "SpinnakerC.h... | [
"will@iorodeo.com"
] | will@iorodeo.com |
549af41db9a65d7fe1acf52e5054a2bf629b70d4 | 21da454a8f032d6ad63ca9460656c1e04440310e | /test/utest/StringTest.cpp | 85fb41c510728e6ec167722582db6d8c20583906 | [] | no_license | merezhang/wcpp | d9879ffb103513a6b58560102ec565b9dc5855dd | e22eb48ea2dd9eda5cd437960dd95074774b70b0 | refs/heads/master | 2021-01-10T06:29:42.908096 | 2009-08-31T09:20:31 | 2009-08-31T09:20:31 | 46,339,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,030 | cpp | #include "StringTest.h"
#include <wcpp/lang/wscUUID.h>
#include <wcpp/lang/wscSystem.h>
#include <wcpp/lang/wscLong.h>
#include <wcpp/lang/wscThrowable.h>
StringTest::StringTest(void)
{
}
StringTest::~StringTest(void)
{
}
ws_result StringTest::doTest(void)
{
trace( "==========================... | [
"xukun0217@98f29a9a-77f1-11de-91f8-ab615253d9e8"
] | xukun0217@98f29a9a-77f1-11de-91f8-ab615253d9e8 |
fba0b2fab53e2a4e75d1cfd1cfbe49c3aa1c53b5 | 637efca09ccbce88aab2ec75dcaff0a331d2fd5d | /Source.cpp | 92faf17e0309c133ba2543981e84ea614e380dba | [] | no_license | shar-rahman/trieProject | 24812f15f2838929261c8045c0fbc5f4ba3dbdbb | b8ae31be48d5e459ff15dd9c276e8c69934478b4 | refs/heads/master | 2020-04-26T10:48:51.167168 | 2019-03-20T00:05:36 | 2019-03-20T00:05:36 | 173,497,162 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,401 | cpp | #include "Trie.h"
#include "stdlib.h"
#include <iostream>
#include <string>
#include <fstream>
#include <windows.h>
using namespace std;
void mainMenuPrint();
void searchMethod(Trie* trie);
void insertMethod(Trie* trie);
void addDefinition(Trie* trie);
void printMethod(Trie* trie);
void print(TrieNode* ... | [
"noreply@github.com"
] | shar-rahman.noreply@github.com |
975bd7b456ba6c0ca4d5b0b1726cdd25775b60c1 | 0f7a4119185aff6f48907e8a5b2666d91a47c56b | /sstd_utility/windows_boost/boost/asio/windows/stream_handle.hpp | 82ecf20793b7d0a3e0f7d6ca533cfd1d56ff3bb6 | [] | no_license | jixhua/QQmlQuickBook | 6636c77e9553a86f09cd59a2e89a83eaa9f153b6 | 782799ec3426291be0b0a2e37dc3e209006f0415 | refs/heads/master | 2021-09-28T13:02:48.880908 | 2018-11-17T10:43:47 | 2018-11-17T10:43:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,863 | hpp | //
// windows/stream_handle.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// 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)
//
#ifndef BOOST_AS... | [
"nanguazhude@vip.qq.com"
] | nanguazhude@vip.qq.com |
837693d8f02cf7203b4412d14f7244a1f60014a0 | f4482b0859df9c7a6b932422c385442a248a4ba8 | /b2/parser/output_buffer.hpp | e856665c9f5be33d367e4ea3648188c57d115497 | [] | no_license | mrdooz/tano | e86e3540a8ad4aeb967ff2297f3c44f2537ab619 | 4fd1112e7590aca0b86a00b4b865f5ebe0453191 | refs/heads/master | 2021-03-12T19:53:59.096866 | 2015-10-27T13:41:21 | 2015-10-27T13:41:21 | 29,353,711 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 249 | hpp | #pragma once
namespace parser
{
struct OutputBuffer
{
OutputBuffer();
void EnsureCapacity(size_t required);
char* Cur();
void Advance(size_t distance);
size_t _ofs;
size_t _capacity;
std::vector<char> _buf;
};
}
| [
"magnus.osterlind@gmail.com"
] | magnus.osterlind@gmail.com |
58914bab23efa98c8bab567972ebce90792eafe5 | 90312ba1088363f12408b9869d89e31d6ad658e5 | /mbr_partition_table/src/cpp_stl_98/mbr_partition_table.cpp | 1453b49e293a143821a1a4d469d229237fde90dc | [
"ISC"
] | permissive | Tosyk/formats-kaitai-io.github.io | c3e9d0df4deae557f5ac4d36290c7052be4c16bb | 1faec646734b93815d39bc638ead4bc9a37eca3e | refs/heads/master | 2023-07-29T07:22:10.818349 | 2021-09-12T11:41:45 | 2021-09-12T11:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,350 | cpp | // This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild
#include "mbr_partition_table.h"
#include "kaitai/exceptions.h"
mbr_partition_table_t::mbr_partition_table_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, mbr_partition_table_t* p__root) : kaitai::kstruct(p__io) ... | [
"kaitai-bot@kaitai.io"
] | kaitai-bot@kaitai.io |
9e774e8c0747fd872618b8bf28567a387b0cc5d8 | c45511f1d650751d4f3aa685fde49eb6baa24a08 | /tests/core_tests/chain_switch_1.h | c084faeba2cf5ad709d949f50ccf3fb6a7d9f44e | [
"BSD-3-Clause"
] | permissive | cutcoin/cutcoin | 41a64eb853d209868b2f37bd7675e833fcdb6c7b | 2cec00c3b98b7d67a43cd9310271e1de05309c40 | refs/heads/master | 2023-09-03T17:23:14.797983 | 2021-04-06T17:26:12 | 2021-04-06T17:26:12 | 162,971,729 | 9 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 2,673 | h | // Copyright (c) 2018-2021, CUT coin
// Copyright (c) 2014-2018, The Monero Project
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are
// permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain th... | [
"info@cutcoin.org"
] | info@cutcoin.org |
fa8ac62a3d5e8a7a32556561bda1a367e9dc784f | 2e30c9c3554509b1c83a4bfb1195d91262828bc9 | /sumOfArray.cpp | 53442947f327fc904fb174d36db7bcd51147cd5d | [] | no_license | ChristinaChyi/lab04_ronak45 | f3494ba6abb7c02ee6a09f991d3ed262fe1294a4 | 8b854e0d7c939947d4f7d1dbd525fde67c96c1b8 | refs/heads/master | 2020-04-24T01:12:37.206030 | 2019-02-18T03:28:44 | 2019-02-18T03:28:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 303 | cpp | #include "arrayFuncs.h"
#include <cstdlib>
#include <iostream>
int sumOfArray(int a[], int size) {
if (size < 1) {
std::cerr << "ERROR: sumOfArray called with size < 1" << std::endl;
exit(1);
}
int result=a[0];
for (int i=1; i<size; i++) {
result += a[i];
}
return result;
}
| [
"rsparikh@cs.ucsb.edu"
] | rsparikh@cs.ucsb.edu |
8ed3177ddde259defe8e40437cd82d4fe6040577 | 17fb61a3a2fdda085941c2ba8d04daaf8397d2a5 | /test/libponyc/badpony.cc | fb7a7d0f56c7923f179729859f30a28e0dc133ae | [
"BSD-2-Clause"
] | permissive | shlomif/ponyc | 3553a42aa63fc7700f8469715b3c4470fcbda8f3 | 545e403b3d4e2fcb572575940f2b377c7d391146 | refs/heads/master | 2020-12-24T16:16:24.254052 | 2015-08-25T09:57:39 | 2015-08-25T09:57:39 | 41,370,048 | 1 | 0 | null | 2015-08-25T15:02:24 | 2015-08-25T15:02:24 | null | UTF-8 | C++ | false | false | 1,668 | cc | #include <gtest/gtest.h>
#include <platform.h>
#include "util.h"
/** Pony code that parses, but is erroneous. Typically type check errors and
* things used in invalid contexts.
*
* We build all the way up to and including code gen and check that we do not
* assert, segfault, etc but that the build fails and at l... | [
"andrew@causality.io"
] | andrew@causality.io |
b69a1980f8e21cb9f1aff842e75e786e54196a5c | 184d28d5aa0c74573eaf52d7a90c10e4b2ac9cd1 | /source/Memory/Finalizer.cpp | 58ac29f3dfdf09526b5cd80fed31e9fab2c75ab3 | [
"MIT"
] | permissive | kurocha/memory | 8ce792f23dcf5ce9ca6183449000ddcaa07da079 | 57e4fd53202f17764f7fe6cf04ac77d343bae2a5 | refs/heads/master | 2020-12-10T03:26:20.912305 | 2019-09-22T11:02:10 | 2019-09-22T11:02:10 | 95,565,544 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,115 | cpp | //
// Finalizer.cpp
// File file is part of the "Memory" project and released under the MIT License.
//
// Created by Samuel Williams on 27/6/2017.
// Copyright, 2017, by Samuel Williams. All rights reserved.
//
#include "Finalizer.hpp"
namespace Memory
{
Finalizer::~Finalizer()
{
}
void Finalizer::List::in... | [
"samuel.williams@oriontransfer.co.nz"
] | samuel.williams@oriontransfer.co.nz |
c657fcd3e7e0f04e509e37930508fec3c4e7efe8 | 0e9394230899fd0df0c891a83131883f4451bcb9 | /include/boost/simd/constant/definition/oneosqrt5.hpp | be7bc770213d7aa2084fd475e4229585ee747d02 | [
"BSL-1.0"
] | permissive | WillowOfTheBorder/boost.simd | f75764485424490302291fbe9856d10eb55cdbf6 | 561316cc54bdc6353ca78f3b6d7e9120acd11144 | refs/heads/master | 2022-05-02T07:07:29.560118 | 2016-04-21T12:53:10 | 2016-04-21T12:53:10 | 59,155,554 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,526 | hpp | //==================================================================================================
/*!
@file
@copyright 2012-2015 NumScale SAS
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
//======================... | [
"charly.chevalier@numscale.com"
] | charly.chevalier@numscale.com |
3b83201b1e766fb0faca0c4659ad2ef8654e9f3b | 3517125aebbd8b01f40c41a08d8345e251f4ce19 | /server_config.ino | 45928be1f3e3d26e82dd53889d5ccd841a1a5754 | [] | no_license | jasoncwilley/simple_node_webserver | d8bfb588f2a184d830d68dbb2c8a7777ebc67525 | 416ccbdab413f733603c658021d8f60b20ae5976 | refs/heads/main | 2023-04-02T21:08:43.841008 | 2021-03-26T01:57:22 | 2021-03-26T01:57:22 | 351,600,617 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,026 | ino | // ESP8266 and ESP32 boards are utilezed in the project
// Not all Libs are compatible with both boards
// This if statemtn will allow us to control whether or not to
// import the ESP32 or ESP8266 lib version
#ifdef ESP8266
#include <ESP8266WiFi.h>
#include <ESP8266mDNS.h>
#elif defined(ESP32)
#include <WiFi.h>
#inc... | [
"jason.c.willey@gmail.com"
] | jason.c.willey@gmail.com |
71a8b362d946858d64300331909c1bcfc7a0b45a | 641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2 | /chrome/app/mash/mash_runner.h | 813daa0eb00aa96a845772a1074b647b251fd3fa | [
"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 | 1,027 | h | // 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.
#ifndef CHROME_APP_MASH_MASH_RUNNER_H_
#define CHROME_APP_MASH_MASH_RUNNER_H_
#include <memory>
#include "base/macros.h"
#include "services/service_mana... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
41731244e0e963dd024db7e53e1725ba85589a88 | 32cf94c304c2c832595a28b49c7d9e0361d50950 | /test/dump/swdbgbk_src/chap25/PdbFairy/PdbMaster.cpp | 2f3d3e0f6cb3c4259e33c3bfda90d62113aba8da | [
"MIT"
] | permissive | oudream/ccxx | 11d3cd9c044c5f413ebc0735548f102a6f583114 | 26cecfb02e861ce6b821b33350493bac4793e997 | refs/heads/master | 2023-01-29T11:20:12.210439 | 2023-01-12T06:49:23 | 2023-01-12T06:49:23 | 47,005,127 | 46 | 11 | MIT | 2020-10-17T02:24:06 | 2015-11-28T01:05:30 | C | UTF-8 | C++ | false | false | 18,207 | cpp | // PdbMaster.cpp: implementation of the CPdbMaster class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "PdbFairy.h"
#include "PdbMaster.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////... | [
"oudream@126.com"
] | oudream@126.com |
53c8cd4328a225ca26d3baddef8ffb4263b5ac1c | 13a06ef97a2e820302bb7061abc6d2137758fee1 | /AshEngine/src/Core/Camera.cpp | 89629cd6873c59802c741ea6c0cebf61fa90e23d | [
"MIT"
] | permissive | haoxiaoshuai01/3dshow | 65c5f94116a610f9613ad068b73288a962dc09d6 | 1f060dca01e2ec1edc93ddf6601743dea7f22707 | refs/heads/main | 2023-08-30T03:13:56.450437 | 2021-07-26T10:06:36 | 2021-07-26T10:06:36 | 388,115,006 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,065 | cpp | #include <Camera.h>
Camera::Camera(QObject* parent): QObject(0) {
int tmp_log_level = log_level;
log_level = LOG_LEVEL_WARNING;
setObjectName("Camera");
reset();
log_level = tmp_log_level;
setParent(parent);
}
Camera::Camera(QVector3D position, QVector3D direction, QObject* parent): QObject... | [
"15227916361@163.com"
] | 15227916361@163.com |
ba5fe24e947e5f56fa5d69dde18eb158f92b43bd | 5bc47dcf9ab0843b9d06bc25012bcb2f78874216 | /53C.cpp | c99cc49bc819989af83b73d5b3f0b6865baf1a26 | [] | no_license | MijaTola/Codeforce | 428f466248a4e9d42ac457aa971f681320dc5018 | 9e85803464ed192c6c643bd0f920f345503ac967 | refs/heads/master | 2021-01-10T16:27:12.479907 | 2020-10-14T15:00:14 | 2020-10-14T15:00:14 | 45,284,776 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 260 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int b;
cin >> b;
int a = 1;
int f = 1;
while(a <= b) {
if(f) cout << a++ << " ";
else cout << b-- << " ";
f = !f;
}
cout << "\n";
return 0;
}
| [
"mija.tola.ap@gmail.com"
] | mija.tola.ap@gmail.com |
dfbde205255c31075c0663c2aef1c3bec6e7c6b1 | 5469901a3c49f28747b7744274cd137cdd1b42ef | /cplex_2018/Data.h | 71dd80c4f5b6fe0a5d3f1a441a9a9711406f59b9 | [] | no_license | gaoyangu/cplex_code | 68a94ddc1c2b8715386f131bd71fdb1c1e1fb784 | 957330364e5514e32010819357b317a0232f5db1 | refs/heads/master | 2022-12-21T15:54:05.499618 | 2020-09-15T08:56:25 | 2020-09-15T08:56:25 | 287,940,845 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 651 | h | #pragma once
#include <list>
#include <vector>
#include "Flight.h"
#include "Deport.h"
#include "Passenger.h"
using namespace std;
class Data {
public:
int flightNum;
int parkNum;
int passengerNum;
vector<Flight> flightList;
vector<Deport> deportList;
vector<Passenger> passengerList;
v... | [
"1600314850@qq.com"
] | 1600314850@qq.com |
b1d944c7912bab9620b87138759f96c3bd281653 | 4b0526005426c7855a97d4f3e7cad1a3d5852c11 | /j1701(유전자-dp).cpp | d9124562a0148592dc59748f9836e32f1919a62d | [] | no_license | h77h7/jungol | 751b5e796bac1deb1c5b0fa9182533a5ce17ed7c | d291b9f188d2c736fd05030d12ffe201b8984c35 | refs/heads/main | 2023-04-12T12:29:47.181165 | 2021-05-03T00:36:32 | 2021-05-03T00:36:32 | 353,568,058 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,130 | cpp | /**************************************************************
Problem: 1701
User: hjee17
Language: C++
Result: Success
Time:70 ms
Memory:3064 kb
dp[i][j] : i번째 부터 j번째 사이의 최대 KOI 유전자 수
****************************************************************/
#include <iostream>
#define U... | [
"noreply@github.com"
] | h77h7.noreply@github.com |
98045de483fd823fcd7b33feec700cac2368ee1c | c057e033602e465adfa3d84d80331a3a21cef609 | /C/testcases/CWE127_Buffer_Underread/s01/CWE127_Buffer_Underread__CWE839_listen_socket_82.h | 25e31d3aeab7fd7a7aff5f03c5ca23a7160008bb | [] | no_license | Anzsley/My_Juliet_Test_Suite_v1.3_for_C_Cpp | 12c2796ae7e580d89e4e7b8274dddf920361c41c | f278f1464588ffb763b7d06e2650fda01702148f | refs/heads/main | 2023-04-11T08:29:22.597042 | 2021-04-09T11:53:16 | 2021-04-09T11:53:16 | 356,251,613 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,449 | h | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE127_Buffer_Underread__CWE839_listen_socket_82.h
Label Definition File: CWE127_Buffer_Underread__CWE839.label.xml
Template File: sources-sinks-82.tmpl.h
*/
/*
* @description
* CWE: 127 Buffer Underread
* BadSource: listen_socket Read data using a listen socket (server ... | [
"65642214+Anzsley@users.noreply.github.com"
] | 65642214+Anzsley@users.noreply.github.com |
53c7abaaca6dec19e7d464ce3cdfc49eea7fb92d | 95791ff410128726d8d940cd0014535ccb9c16af | /第6章/6.36_递归的求幂计算/main.cpp | c9d9878aafd56c4a805dda702f90c67f2e820977 | [] | no_license | LiuXJingx/liu_xinjing | d7c6162d636b7040d41907da47975666bdbf8a9a | e752bb3ce882ef1217b5b9f9e897b194011b5c66 | refs/heads/master | 2020-04-02T10:42:24.754626 | 2019-04-21T11:10:44 | 2019-04-21T11:10:44 | 154,350,958 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 298 | cpp | #include <iostream>
using namespace std;
int power(int base,int exponent)
{
if(exponent>1)
return base*power(base,exponent-1);
}
int main()
{
cout<<"Enter base and exponent: ";
int base,exponent;
cin>>base>>exponent;
cout << power(base,exponent) << endl;
return 0;
}
| [
"2464923693@qq.com"
] | 2464923693@qq.com |
5b731e52b88fe8cbeea776622b9855e8cb61c296 | b367fe5f0c2c50846b002b59472c50453e1629bc | /xbox_leak_may_2020/xbox trunk/xbox/private/test/multimedia/dmusic/dmtest1/TemplateError/DMTest1/AudioPath_SetVolume_Invalid.cpp | 30bc944796c3718192106774f495915a2d7b3ce9 | [] | no_license | sgzwiz/xbox_leak_may_2020 | 11b441502a659c8da8a1aa199f89f6236dd59325 | fd00b4b3b2abb1ea6ef9ac64b755419741a3af00 | refs/heads/master | 2022-12-23T16:14:54.706755 | 2020-09-27T18:24:48 | 2020-09-27T18:24:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,130 | cpp | /********************************************************************************
FILE:
AUDIOPATH8.cpp
PURPOSE:
Contains AudioPath test functions.
BY:
DANHAFF
********************************************************************************/
#include "globals.h"
#include "cicmusicx.h"
/**... | [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
e80cfecea2ca2464d5534f40d0ac4a484ad646d9 | 4baedf73762706ceedbef490f465eeaeea33c2b8 | /fullratio.hpp | a05767cd90d005a8af5d6edd235d9eaadb64bc62 | [] | no_license | vapostolopoulos/RationalNumbers | e47809f4f58175f83ce287ec292aaa04ee5030b8 | 8e9bf2dff08e20c63bc63728e3fad02ceae68af4 | refs/heads/master | 2023-01-11T06:16:49.351863 | 2020-11-05T02:28:54 | 2020-11-05T02:28:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 556 | hpp | #ifndef __FULLRATIO_HPP__
#define __FULLRATIO_HPP__
#include <iostream>
class rational {
public:
rational(int n, int d = 1);
friend rational operator + (const rational &x, const rational &y);
friend rational operator - (const rational &x, const rational &y);
friend rational operator * (const rational &x, co... | [
"vnapostolop@gmail.com"
] | vnapostolop@gmail.com |
00203e53a3447ca3bb87245db870620b98f1b2a3 | 11e0959139da59360d91a49fdb0385482fb96262 | /InputSetup.cpp | ac6d5fe9eb5824c829d45e2d3ab8cef8d7ef5c8e | [] | no_license | ePubRepo/life | 1acfc7def910e6e2e5034cd053091445ef5eb09a | 3cdc3462fc2df32bd04e0700c48c9dc568673ce3 | refs/heads/master | 2021-01-20T05:49:51.084898 | 2012-12-05T05:02:32 | 2012-12-05T05:02:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,610 | cpp | //
// InputSetup.cpp
// life
//
// Copyright 2012 <EAB>
#include <iostream> // for cout
#include <string>
using namespace std;
#include "./InputSetup.h"
#include "./StanfordCPPLib/console.h" // required of all files that contain the main function
#include "./StanfordCPPLib/simpio.h" // for getLine
#include ".... | [
"your@email.com"
] | your@email.com |
655be302a04c99033dfe9becbf38d99fb207c8bf | 8edd780a12e3342a5fe64477a9062fc6e2522fe4 | /03_Contato/contato.cpp | 5da79714e6ea3860b4941e4ba2bafe78e99f9d22 | [] | no_license | wellingtonumbelino/Cod-POO | 979b1849dcb211a9d5f2f36ed48efb8a375924b5 | ab2c868eb2251660ce0c3f83bbcbe3cd6ff589e6 | refs/heads/master | 2020-03-26T17:36:24.103052 | 2018-10-26T01:13:28 | 2018-10-26T01:13:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,042 | cpp | #include <iostream>
#include <vector>
#include <sstream>
using namespace std;
static int proxIndice;
class Fone{
public:
int indice;
string id;
string fone;
Fone(string id = "", string fone = ""):
id(id), fone(fone), indice(proxIndice)
{
}
string toString(){
... | [
"noreply@github.com"
] | wellingtonumbelino.noreply@github.com |
8490bca134100db1659fafb5c6c1f971756543a7 | 7f2aa0e6328e1ea095b1ef2166c772c7c71541ce | /Step 7 - Transform/Render/Device.h | ecee57a837e8a1c2540d6aef5683a0022cb20ed6 | [] | no_license | ENgineE777/RS_Steps | 97eb5f9bf3aa94c53b76eec8434150f5b5921d40 | 85d5e43ea12f75ca1e2b2ab0d826d1b6a8dc222b | refs/heads/master | 2021-01-19T13:37:41.460416 | 2017-08-06T17:06:30 | 2017-08-06T17:09:26 | 82,404,755 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 954 | h |
#pragma once
#include "Helpers/Helpers.h"
#include "Shader.h"
#include "GeometryBuffer.h"
#include "Program.h"
#include "Texture.h"
class Device
{
friend class Render;
friend class Program;
virtual bool Init(int width, int height, void* data) = 0;
virtual void Release() = 0;
public:
enum Primitive
{
LineS... | [
"enginee777@gmail.com"
] | enginee777@gmail.com |
a6217bee854ceaceb798404271dad7dfa6029e55 | 3d3650565a480d91f47e7ba8a1feb5c1d612b10a | /src/172_fractorial_trailing_zeros.cpp | d538b3a4c935366fdd0baa217b7e797baf806a6f | [] | no_license | Yu-ChenChang/LeetCode | e15c399f0c42a52bdeaa648e88000ff9a01ced7f | 690753040d5ae3e6e4433e0b90f78bb9ae38f15d | refs/heads/master | 2020-04-06T05:11:40.061743 | 2016-10-02T18:25:02 | 2016-10-02T18:25:02 | 52,691,044 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 278 | cpp | #include<vector>
#include<string>
#include<iostream>
using namespace::std;
class Solution {
public:
int trailingZeroes(int n) {
int res=0;
int five = 5;
while(n>=five){
res += n/five;
if(five>INT_MAX/5) break;
five *= 5;
}
return res;
}
};
int main(){
}
| [
"chang397@purdue.edu"
] | chang397@purdue.edu |
1986cd30ea91e26d266b2d2ee8ddeb37a0f01446 | 2ba220de6f1279bb7e52234149aa9da13f796c09 | /src/locations/location_visitor.hpp | 9017c078c4263590c5dd090280b6f605e6d0e636 | [] | no_license | marblefactory/Server | b19abfef8ecf179200996d13b393abf368723185 | 9d19db11e2ef8cb7727047a431ddfb1416eb50b1 | refs/heads/master | 2021-08-20T09:01:56.131969 | 2017-11-28T17:50:03 | 2017-11-28T17:50:03 | 112,361,812 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 393 | hpp | //
// location_visitor.h
// EngineCommandSet
//
// Created by Albie Baker-Smith on 14/11/2017.
// Copyright © 2017 Albie Baker-Smith. All rights reserved.
//
#ifndef location_visitor_h
#define location_visitor_h
// Forward declarations.
class AbsoluteLocation;
class LocationVisitor {
public:
virtual void vis... | [
"bakersmitha@gmail.com"
] | bakersmitha@gmail.com |
0f96b7b7186c2807bc91d6186252ecf491655ceb | 7468375a3a21d7fdb7890d933b600d703d1cf6df | /source/file/min/serial.cpp | 476d47c93ce2e1442883d019914c5c1895f5be2d | [
"Apache-2.0"
] | permissive | ocket8888/mgl | 71fb815397a1897356538c33eec231036a787397 | 151f5d9ea54c8389f2a608435ae28bc456488201 | refs/heads/master | 2020-03-21T05:40:28.108039 | 2018-10-04T15:43:50 | 2018-10-04T15:43:50 | 138,172,766 | 0 | 0 | null | 2018-06-21T13:17:43 | 2018-06-21T13:17:42 | null | UTF-8 | C++ | false | false | 17,203 | cpp | #include "serial.h"
template unsigned int min::read_le(const std::vector<uint8_t>&, size_t&);
template int min::read_le(const std::vector<uint8_t>&, size_t&);
template unsigned short min::read_le(const std::vector<uint8_t>&, size_t&);
template char min::read_le(const std::vector<uint8_t>&, size_t&);
template <typenam... | [
"ocket8888@gmail.com"
] | ocket8888@gmail.com |
32af074297dde14d1214ff102d6fdc6c751a987c | 6920669973a1731f3c6bc33b3789095d6fb9c2c0 | /101/SymmetricTree.cpp | 946d010fb6781874200f92cfd9d3ac2c05052f60 | [
"Apache-2.0"
] | permissive | misslzyan/leetcode | 47c56a95b30ce2c5c5fdeabb5ec9c635cc9b30be | 4ab3e3c8abb35bb9c31c2fd18e81e11ea69ff200 | refs/heads/master | 2022-12-13T03:52:35.733695 | 2020-08-24T04:32:14 | 2020-08-24T04:32:14 | 285,872,095 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 871 | cpp | #include<iostream>
struct TreeNode {
int val;
TreeNode* left;
TreeNode* right;
TreeNode(int x):val(x),left(nullptr), right(nullptr){}
};
class Solution {
public:
bool isSymmitric(TreeNode* root) {
return check(root, root);
}
bool check(TreeNode* r1, TreeNode* r2) {
if (!r1 && !r2) return true;
... | [
"misslzyan108@gmail.com"
] | misslzyan108@gmail.com |
d623ade0444bac0f1903babe15f74913f61685f0 | 8c8b6ca7c2b78d8baa65bf34888343ffbe2ebc06 | /hostrpc/run_on_hsa.hpp | 98678ededd78b4df1c6898747bb0419183f18b2a | [
"MIT"
] | permissive | powderluv/hostrpc | 2184879b2d843563017545bf77031097f616fba5 | d2fa4127133cae8c23d8a691a0d23bb0ba1aa126 | refs/heads/master | 2023-04-02T00:25:01.815059 | 2021-04-12T01:40:29 | 2021-04-12T01:40:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,901 | hpp | #ifndef RUN_ON_HSA_HPP_INCLUDED
#define RUN_ON_HSA_HPP_INCLUDED
// Call a function with a given name and type:
// void known_function_name(void*);
// from:
// kernel void kernel_known_function_name(__global void *){}
// provided that source containing 'HOSTRPC_ENTRY_POINT(foo)'
// is compiled as opencl and as c++, whi... | [
"jonathanchesterfield@gmail.com"
] | jonathanchesterfield@gmail.com |
89253842e7bc5e199385eb44bf7f06c03af302e8 | b1e7481f8b5bf40c2547c95b1863e25b11b8ef78 | /RDF/BTagCalibrationStandalone.h | 8e36d456ba1699960be2f7425d152579544e389d | [
"Apache-2.0"
] | permissive | NJManganelli/FourTopNAOD | 3df39fd62c0546cdbb1886b23e35ebdc1d3598ad | c86181ae02b1933be59d563c94e76d39b83e0c52 | refs/heads/master | 2022-12-22T22:33:58.697162 | 2022-12-17T01:19:36 | 2022-12-17T01:19:36 | 143,607,743 | 1 | 1 | Apache-2.0 | 2022-06-04T23:11:42 | 2018-08-05T11:40:42 | Python | UTF-8 | C++ | false | false | 5,033 | h | #ifndef BTagEntry_H
#define BTagEntry_H
// Copied from https://github.com/cms-sw/cmssw/blob/master/CondTools/BTau/test/BTagCalibrationStandalone.h
// and slightly modified for use in RDataFrame (faster initialization)
/**
*
* BTagEntry
*
* Represents one pt- or discriminator-dependent calibration function.
*
* ... | [
"nicholas.james.manganelli@cern.ch"
] | nicholas.james.manganelli@cern.ch |
317fc15d508e65a869e9a441faa798ab7ff67b8b | e4044fdb9b9785105f3413a0515c45d7a76cbfc1 | /gerentebdd.h | 3bfdaace05c249f8db31e402f8ad6450e3fe8f38 | [] | no_license | esbrito/aig-eq-verifier | b8dd5d8919471dd912025ba0ced8c49c25a00771 | 8bc9b30c142551a2f24c5eb85a327f42deab882a | refs/heads/master | 2021-05-16T14:46:05.737921 | 2018-01-25T17:51:27 | 2018-01-25T17:51:27 | 118,610,425 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,138 | h | //copyright Prof. Andre Reis - UFRGS
#ifndef GERENTEBDD_H
#define GERENTEBDD_H
#include <iostream>
#include <string>
#include <map>
#include <vector>
#include <fstream>
#include <sstream>
#include <algorithm>
#include <set>
#include "aig.h"
using namespace std;
enum Token_value{AND='*', OR='+', LP='(', RP=')', NO... | [
"eduardobrito14@gmail.com"
] | eduardobrito14@gmail.com |
3dc9325c7747c1c698cc7952ad3e0c77df195e84 | 36184239a2d964ed5f587ad8e83f66355edb17aa | /.history/hw3/ElectoralMap_20211022000959.h | da6901ec51f98ce332d87131f516f14ee629ed8d | [] | no_license | xich4932/csci3010 | 89c342dc445f5ec15ac7885cd7b7c26a225dae3e | 23f0124a99c4e8e44a28ff31ededc42d9f326ccc | refs/heads/master | 2023-08-24T04:03:12.748713 | 2021-10-22T08:22:58 | 2021-10-22T08:22:58 | 415,140,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,899 | h | #ifndef __ELECTORALMAP__
#define __ELECTORALMAP__
//#include"District.h"
#include<iostream>
#include<map>
#include<vector>
enum party{one, two, three, none};
class District{
public:
District();
District(int);
void change_party(party,party, int);
//void get_constituent(party);
... | [
"70279863+xich4932@users.noreply.github.com"
] | 70279863+xich4932@users.noreply.github.com |
d563011680e44d7705eb7013680a1b9cc9f876d2 | 84cb6172f8afd975707c486b11ac8c812960a8a1 | /ccfZCO14001.cpp | c4558eb75372ae631362c006c07d688d3418da08 | [] | no_license | numan947/Curiously-Bored | d4d761923102831cac83c828e2e6a44daa5d5ac7 | 7bfffec3989d6cb75697bf7f569da01c3adb1a19 | refs/heads/master | 2021-07-10T22:01:27.716481 | 2020-07-02T19:16:16 | 2020-07-02T19:16:16 | 152,405,037 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,027 | cpp | #include <bits/stdc++.h>
using namespace std;
/*Like set but has some more functionality:
1. Find kth smallest minimum
2. Find the index of an element
Does these in O(log n) time
How to use:
ordered_set<type> ss;
ss.insert(val);
ss.insert(val);
ss.insert(val);
cout<<ss.ordere_of_key(val)<<endl; // number of... | [
"mahmudulhasan947@gmail.com"
] | mahmudulhasan947@gmail.com |
08c13c3751cf892237ccd7d90209409db64e1a6b | a04701966913695a1cbc003bf4b609754b62ed1c | /src/libtsduck/tsAVCVideoDescriptor.h | 6a499ef3cb2a8ca436dc104da3f395e3a5b72f4e | [
"BSD-2-Clause"
] | permissive | anto35/tsduck | b80c7bed9138f78d402534fbf94f1635fd9d0c4a | 6aa32ce5a59865d8d5509fd22a0c7cd110f79dc0 | refs/heads/master | 2021-08-30T22:45:45.542104 | 2017-12-18T22:26:32 | 2017-12-18T22:26:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,153 | h | //----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2017, Thierry Lelegard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | [
"thierry@lelegard.fr"
] | thierry@lelegard.fr |
320df1b17be0f7ebc04f9832ba6956219578d42d | 8a274dffceab9d4e63fc0962e20fb7dab761555c | /CSES/Repetitions CSES.cpp | e84e4cac0ec1bbf1d344b228dd8cf16424d3c863 | [] | no_license | mkp0/CP | 669ce9ab399660d90d829f77b05f1462cd92ede5 | 80321819e46ebf4dd6512d6577add645da83708a | refs/heads/master | 2023-06-01T22:07:36.006530 | 2021-06-25T21:41:23 | 2021-06-25T21:41:23 | 273,572,017 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,351 | cpp | #include <bits/stdc++.h>
#define ll long long
#define pi (3.141592653589)
#define all(x) (x).begin(), (x).end()
#define vi vector<int>
#define vll vector<long long>
#define pii pair<int, int>
#define pll pair<long long, long long>
#define pb push_back
#define mp make_pair
#define S second
#define loop(i, a, b, c) for ... | [
"shadymasum@gmail.com"
] | shadymasum@gmail.com |
a162d87099d1269563d04bc3d51f85c6a83570a7 | 8959cdaf3e8f3259f303e50e2fd9e78b9ea318c7 | /dorf.h | 994810d504a71a977784148832a0435cf6884509 | [] | no_license | FFaser/TW2AttackPlanner | 4bf9da9c0d23bebfaba9ce1617863a5db0819fa9 | 95853c3ced072308edd7d5b9b2a711fec1b0c317 | refs/heads/master | 2021-04-12T10:48:53.056128 | 2016-07-27T13:39:30 | 2016-07-27T13:39:30 | 64,309,904 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,986 | h | #ifndef DORF_H
#define DORF_H
#include <QObject>
//#include <QMetaEnum>
#include <QStringList>
#include <QList>
#include <QMessageBox>
enum eDorfState{ undefined,
active ,
ontheway,
eDorfState_MAX = ontheway};
enum eDorfMark{ empty = 0,
mark1 =... | [
"polka@gmx.net"
] | polka@gmx.net |
99b9b5b56a650644df32f65e654b563692404a80 | a15950e54e6775e6f7f7004bb90a5585405eade7 | /extensions/shell/browser/shell_app_delegate.cc | 0023132d3786dbce980d730a6b6033583908f92b | [
"BSD-3-Clause"
] | permissive | whycoding126/chromium | 19f6b44d0ec3e4f1b5ef61cc083cae587de3df73 | 9191e417b00328d59a7060fa6bbef061a3fe4ce4 | refs/heads/master | 2023-02-26T22:57:28.582142 | 2018-04-09T11:12:57 | 2018-04-09T11:12:57 | 128,760,157 | 1 | 0 | null | 2018-04-09T11:17:03 | 2018-04-09T11:17:03 | null | UTF-8 | C++ | false | false | 3,454 | cc | // Copyright 2014 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 "extensions/shell/browser/shell_app_delegate.h"
#include "content/public/browser/web_contents.h"
#include "extensions/common/constants.h"
#inclu... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
2e9cbe6a1fd9e9fbdcec136da0bd6f7ee82dca1b | 4bad7578931dd47c38dc283aec7eb961be6e1f30 | /src/wallet/api/pending_transaction.h | db0a52324ce20d62a108c01ae705bc0441328bd3 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | cyberstormdotmu/electroneum-classic | d034453071a3c9fa37f494c212e3ffc6d0effc9b | 494bd2b5f9d9d759c10568e0326dde1737cefad6 | refs/heads/master | 2020-04-01T06:25:43.262217 | 2018-10-17T04:16:13 | 2018-10-17T04:16:13 | 152,947,188 | 0 | 0 | null | 2018-10-14T06:47:32 | 2018-10-14T06:47:32 | null | UTF-8 | C++ | false | false | 2,622 | h | // Copyrights(c) 2018, The Electroneum Classic Project
// Copyrights(c) 2017-2018, The Electroneum Project
// Copyrights(c) 2014-2017, The Monero Project
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are
// permitted provided that the following conditi... | [
"vans_163@yahoo.com"
] | vans_163@yahoo.com |
302ddf89f942e3ecefaf58d379ed1c55dd8eec7e | 88a7edbe0a2a2a12de392da8fa43ace9fae7ace5 | /StudioProject3/Base/Source/SkyBox/SkyBoxEntity.cpp | 8339da52df4e0492341e8e3ce89a34c5477ff69d | [] | no_license | hotaru08/Studio-Proj-3 | 9fed81cf23d3fcabae33a6a1a90e717c89b455e8 | f014fc00b3a4260ea82cd05aed7aee39233ed317 | refs/heads/master | 2021-01-16T21:24:43.742812 | 2017-08-30T02:14:57 | 2017-08-30T02:14:57 | 100,228,937 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,797 | cpp | #include "SkyBoxEntity.h"
#include "MeshBuilder.h"
#include "../EntityManager.h"
#include "GraphicsManager.h"
#include "RenderHelper.h"
SkyBoxEntity::SkyBoxEntity(void)
: size(1000.0f, 1000.0f, 1000.0f)
, m_bBoundaryDefined(false)
{
}
SkyBoxEntity::~SkyBoxEntity()
{
}
void SkyBoxEntity::Update(double _dt)
{
// Do... | [
"lzyjeann@gmail.com"
] | lzyjeann@gmail.com |
5c1ffd4684739b0960fb93ffad4d5db24a329b74 | c0c71f93369449a23a97643a19801665d0b16c47 | /arduino_robot.ino | af41576573bbe78708f94dfee554fe9443cdb9cb | [] | no_license | Kounouklas92/Arduino-robot | 72457f63651629da496ba89d9b28b028d4b6a669 | a3c187e1d2940b0cafa1b15cb8d8a3ed37befa49 | refs/heads/main | 2023-01-29T07:50:49.554394 | 2020-12-14T00:02:27 | 2020-12-14T00:02:27 | 321,175,989 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,342 | ino |
#define sensor A0 // Sharp IR GP2Y0A41SK0F
#include <Servo.h>
float volts;
const int motorR1 = 6;
const int motorR2 = 5;
const int motorL1 = 11;
const int motorL2 = 10;
const int servo = 9;
void stop1();
void forward();
void backward();
void right();
void left();
Servo myservo; ... | [
"noreply@github.com"
] | Kounouklas92.noreply@github.com |
674ce9fcb1c0227fcd7fb451ba0055a9b0afd5c9 | 49cfc3f1a96b3f75adf74821342999a20da3e04d | /examples/system_process_pipes.cpp | 1726dd571310164c58ac69d96b2ec72e241d0bc2 | [
"MIT"
] | permissive | mrexodia/CppCommon | bfb4456b984ceea64dd98853816f388c29bfe006 | 422bec80be2412e909539b73be40972ecc8acf83 | refs/heads/master | 2020-05-17T15:10:23.069691 | 2019-04-25T14:36:20 | 2019-04-25T14:36:20 | 183,780,482 | 1 | 0 | MIT | 2019-04-27T14:05:08 | 2019-04-27T14:05:08 | null | UTF-8 | C++ | false | false | 1,342 | cpp | /*!
\file system_process_pipes.cpp
\brief Process pipes example
\author Ivan Shynkarenka
\date 07.12.2016
\copyright MIT License
*/
#include "system/environment.h"
#include "system/process.h"
#include <algorithm>
#include <iostream>
#include <string>
int main(int argc, char** argv)
{
if (argc... | [
"chronoxor@gmail.com"
] | chronoxor@gmail.com |
70ffea673f3095f8e9d9a01fbf004e0e19fa15a4 | aa66004b533a8d9e8f8ce175d4df6fce1b3137f4 | /src/SmartPointers/chrono.cpp | 2eef54d2d389a28cbcab33a7adf4063d9a9c1ea2 | [] | no_license | ricleal/CppTests | c036ba235765f742504195dba61b85ff752de337 | 84ac0253604ac02776498ec2a5f05f3e2dda7df9 | refs/heads/master | 2021-06-25T17:50:13.894692 | 2017-03-22T18:10:40 | 2017-03-22T18:10:40 | 13,873,119 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 685 | cpp | #include <iostream>
#include <vector>
#include <numeric>
#include <chrono>
volatile int sink;
int main_chrono()
{
for (auto size = 1ull; size < 1000000000ull; size *= 100) {
// record start time
auto start = std::chrono::system_clock::now();
// do some work
std::vector<int> v(size, ... | [
"ricleal@gmail.com"
] | ricleal@gmail.com |
0d88ad45f6f55023f6474fd2ceadb20bf1cb2551 | b9d8b5bd3dc3c9bd6f3e84670c7fdfb004b661f5 | /object.h | 960ac120ef1d84d9ce290cf049904db9faea1103 | [] | no_license | alex-peng/AnimVis | a6440a69ca73f92e1d07f317bbf0e48b82fc635f | f2e5d788ddc42d1d2e79394e93f9518a517358ed | refs/heads/master | 2016-09-06T15:59:39.772963 | 2013-04-19T00:37:21 | 2013-04-19T00:37:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 846 | h | #ifndef _OBJECT_H_
#define _OBJECT_H_
namespace AMT
{
typedef enum {
WIREFRAME = 0,
GOURAUD,
TEXTURED
} TRenderMode;
class CBoundingBox
{
public:
float center[3];
float size;
CBoundingBox() : size(0.0f) {};
};
class CRenderObject
{
public:
bool m_visiable;
bool m_VisiableTest;
bool m_ShaderReady;
float al... | [
"mipeng@vt.edu"
] | mipeng@vt.edu |
b06522065a944101f9f7507fba882738e800c03c | ca36def64eba15232bd8eb886353517f43610491 | /tensorflow/core/profiler/rpc/client/remote_profiler_session_manager.cc | 87575ee67a11e24d696b3ea689a1b9b5ff406bba | [
"Apache-2.0"
] | permissive | pulmo/tensorflow | a82d09948bf0678fcb2152ac13527d543edab8ea | ce321f0c9d09936f3084bfb93d0812c7ffa174e6 | refs/heads/master | 2022-12-25T03:38:47.564304 | 2020-09-30T20:39:38 | 2020-09-30T20:45:35 | 300,059,104 | 1 | 0 | Apache-2.0 | 2020-09-30T20:50:07 | 2020-09-30T20:50:06 | null | UTF-8 | C++ | false | false | 6,476 | cc | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
8a11b3d42521dbedf29fc78c99c3d89ea2a75254 | 099f2181439ba42a5fbeb774a182faf3db9bad8c | /problems/347-top-k-frequent-elements.cpp | 33e1fca42782bcc10bde6f4cdfdfd49875201170 | [] | no_license | luchenqun/leet-code | 76a9193e315975b094225d15f0281d0d462c2ee7 | 38b3f660e5173ad175b8451a730bf4ee3f03a66b | refs/heads/master | 2021-07-09T09:49:36.068938 | 2019-01-15T07:15:22 | 2019-01-15T07:15:22 | 102,130,497 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 893 | cpp | /*
* [347] Top K Frequent Elements
*
* https://leetcode-cn.com/problems/top-k-frequent-elements/description/
* https://leetcode.com/problems/top-k-frequent-elements/discuss/
*
* algorithms
* Medium (46.38%)
* Total Accepted: 561
* Total Submissions: 1.2K
* Testcase Example: '[1,1,1,2,2,3]\n2'
*
* 给定一个非空... | [
"luchenqun@juzix.io"
] | luchenqun@juzix.io |
289137a2ffdae5eb87d99216fdd96ddb5bdfa0bd | 9eacc869fa1d8f8b2a2dfb6c3dba613e41992f72 | /app/music/music/bottom/bottomwidgets.cpp | 13cc2a802cc03ef727dd3cabeb65d9fba9476c13 | [
"Apache-2.0"
] | permissive | hyperkin-game/hyperkin-gb | 9093c4e29212924cdbb7492e7e13002105f33801 | e333185e8a2a4f5c90e84dca515e335e62565a3b | refs/heads/main | 2023-04-27T18:17:09.675136 | 2021-05-14T10:20:59 | 2021-05-14T10:20:59 | 331,823,448 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,046 | cpp | #include "bottomwidgets.h"
#include "constant.h"
#include <QHBoxLayout>
#ifdef DEVICE_EVB
int playButton_size = 100;
int bottom_height = 150;
int bottom_spacing = 25;
int layout3_size = 70;
int layout3_temp = 25;
int progress_slider_height = 20;
#else
int playButton_size = 55;
int bottom_height = 80;
i... | [
"stanley@bte.com.tw"
] | stanley@bte.com.tw |
ffcb6d14462bcb2161c1b5b9e96fec2627493b1d | 813d9380b3fbf66a0d344937a6be52f408b54078 | /runtime/regiontemplates/examples/RTPipelineBundle/HelloWorld.cpp | 55a4a0dab31cf60ad5f7c3bc862082531a4e0aee | [] | no_license | SBU-BMI/region-templates | 6b63fab2809ac281e458053069d26782d04cd1e5 | ab311b70eaeee3353ae09e1b8ba694e29d4d982d | refs/heads/master | 2023-03-05T03:26:03.580106 | 2017-07-13T03:02:35 | 2017-07-13T03:02:35 | 35,566,013 | 5 | 6 | null | 2017-04-17T20:04:58 | 2015-05-13T18:10:24 | C++ | UTF-8 | C++ | false | false | 2,639 | cpp | /*
* HelloWorld.cpp
*
* Created on: Feb 15, 2012
* Author: george
*/
#include <sstream>
#include <stdlib.h>
#include <iostream>
#include "FileUtils.h"
#include "RegionTemplate.h"
#include "RegionTemplateCollection.h"
#include "SysEnv.h"
#include "Segmentation.h"
#define NUM_PIPELINE_INSTANCES 1
void pa... | [
"george@Georges-MacBook-Pro-2.local"
] | george@Georges-MacBook-Pro-2.local |
824ed6266cacf3f5227db633302ca5b83f4bd47c | fbc3ee4467922e3a01aaef61af33ad0a79e6a8df | /Algorithms/sorting/bubble_Sort.cpp | 1d092c8838a990ea7ca35e3213e0d27a68a0bd37 | [] | no_license | snh3003/CB-Master-Course | 9c5026c65ae02dd6114946981f08faff97501fc1 | fd6599fce1463c68fc4c2c1fa3552718fdd43b24 | refs/heads/master | 2023-08-24T12:41:38.067743 | 2021-09-30T07:17:36 | 2021-09-30T07:17:36 | 288,263,538 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 633 | cpp | #include<bits/stdc++.h>
using namespace std;
void bubble_sort(vector<int> &v, int n){
// run a loop from 0 to n-1 as the last element always gets sorted
for(int i=0; i<(n-1); i++){
// loop runs from 0 to (n-i-1) to check the unsorted part
for(int j=0; j<(n-i-1); j++){
if(v[j] > v[j+... | [
"shahsama542@gmail.com"
] | shahsama542@gmail.com |
a66fcd830da454746793f7f4179157b7febcd454 | 563579e51032a07492f11e9a3b5fc5e1e128f523 | /hphp/third_party/folly/folly/io/IOBufQueue.h | 71966f49cb1819f5cc332cf9b4e8a4253bfa4c27 | [
"Apache-2.0",
"Zend-2.0",
"LicenseRef-scancode-unknown-license-reference",
"PHP-3.01"
] | permissive | sachintaware/hiphop-php | 6a54d4d71bcd2e0b18fddb5a6ecf1cf562b8117e | d95ca0dc9ad160cc1dfd691ecc1245a5a7798327 | refs/heads/master | 2021-01-16T18:41:50.061432 | 2013-08-15T21:17:24 | 2013-08-15T22:19:36 | 12,209,930 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,019 | h | /*
* Copyright 2013 Facebook, Inc.
*
* 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... | [
"sgolemon@fb.com"
] | sgolemon@fb.com |
bb82519d6db8208156b47ccda0dc52529e2e2828 | 2ca3ad74c1b5416b2748353d23710eed63539bb0 | /Src/Lokapala/Operator/UserDataDTO.h | 27a1e4aa4580bd841a0a396e3b67916832cb8aa5 | [] | no_license | sjp38/lokapala | 5ced19e534bd7067aeace0b38ee80b87dfc7faed | dfa51d28845815cfccd39941c802faaec9233a6e | refs/heads/master | 2021-01-15T16:10:23.884841 | 2009-06-03T14:56:50 | 2009-06-03T14:56:50 | 32,124,140 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,097 | h | /**@file UserDataDTO.h
* @brief 유저 개인의 정보를 담는 DTO를 정의한다.
* @author siva
*/
#ifndef USER_DATA_DTO_H
#define USER_DATA_DTO_H
/**@ingroup GroupDAM
* @class CUserDataDTO
* @brief 유저 개인의 정보를 담는다.\n
* @remarks 비밀번호는 모두 단방향 해싱을 거친 값들을 갖는다.\n
* 유저 id는 당방향 해싱 후의 로우레벨 패스워드(학번)다.
*/
class CUserDataDTO
... | [
"nilakantha38@b9e76448-5c52-0410-ae0e-a5aea8c5d16c"
] | nilakantha38@b9e76448-5c52-0410-ae0e-a5aea8c5d16c |
f8d5e6b902ba3ff8901c869fe41699b2078ee755 | bbb3e624cc17ac7a6ce280797eb2d2cfad8ea754 | /selenium/vagrant-tiennguyen-php-selenium/firefox-sdk/include/nsIDOMCharacterData.h | 407469ed8b754b65db940f90541b2f00daa255f9 | [] | no_license | Virtual-Machine-Vagrant/TienNguyen-vagrant-env | dff187eaeafc8ca1bb68d81853144d914d6fd293 | fe8eaa107dd1a22f07e562937113139c5a4e2687 | refs/heads/master | 2021-01-13T12:59:28.637343 | 2017-01-12T08:45:51 | 2017-01-12T08:45:51 | 78,718,617 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,150 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMCharacterData.idl
*/
#ifndef __gen_nsIDOMCharacterData_h__
#define __gen_nsIDOMCharacterData_h__
#ifndef __gen_nsIDOMNode_h__
#include "nsIDOMNode.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#d... | [
"mac-l011@mac-l011s-MacBook-Pro-2.local"
] | mac-l011@mac-l011s-MacBook-Pro-2.local |
4cc016260fdcc37e4e50de75b0ddefc650af6270 | 81bed8a9185b9a23b32db7e43c1b653954955ecd | /TimerQueue.cpp | e0d919772d095a4605a077ce19603530932d001d | [] | no_license | UltramanWu/SimpleWebServer | cb6e934fc6f516c0522b92db0efdd0ff4f4b7e55 | b1eda0a42503d868b8bd5e4e15135f8d55b842a9 | refs/heads/master | 2021-04-01T07:01:28.320665 | 2020-04-02T04:02:33 | 2020-04-02T04:02:33 | 248,166,353 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 904 | cpp | //
// Created by wu on 3/18/20.
//
#include "TimerQueue.h"
#include "HttpData.h"
TimerNode::TimerNode(SPHttpData httpdata,int timeout):m_httpdata(httpdata),deleted(false){
struct timeval now;
gettimeofday(&now,NULL); // 时间结构体 时区
expiredTime = (((now.tv_sec%10000)*1000)+(now.tv_usec/1000))+timeout;
}
Tim... | [
"shida_wu@163.com"
] | shida_wu@163.com |
0ff8d27d3c7fb61d3a0e332def90a0d93a52ff47 | c74b0c37ac8e2d3d1a3c0ffaa2b608bc4deff1c6 | /Toolkit/FreyaReflect/Lib/3party/elsa/smbase/hashtbl.cc | 3f100e3bae7da6140d366fd44ed0c63df0474480 | [] | no_license | crsib/freya-3d | c33beeb787e572f2faf9528c6f3a1fa3875749c5 | ff1f54b09f7bc0e253053a474f3fe5635dbedde6 | refs/heads/master | 2022-05-21T19:42:30.694778 | 2011-03-11T13:49:00 | 2011-03-11T13:49:00 | 259,894,429 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,361 | cc | // hashtbl.cc see license.txt for copyright and terms of use
// code for hashtbl.h
#include "hashtbl.h" // this module
#include "xassert.h" // xassert
#include <string.h> // memset
unsigned HashTable::hashFunction(void const *key) const
{
return coreHashFn(key) % (unsigned)tableSize;
}
H... | [
"crsib@localhost"
] | crsib@localhost |
026def37c977b56f5cedce2775c933df7c385fb8 | 6c791f734525495793e82ffd591ad3efbd874042 | /libraryreclamation/intermediaire.cpp | 1bed3ff79887e85f3420b3c1ed985526256a88fb | [] | no_license | myriamkhachlouf/LibroDevo | 11868f13c4ce95c5f08769782d77b4b9260fdd4d | 94a6b30e06859af59247d43128152987d22f0967 | refs/heads/master | 2020-09-20T13:47:26.059188 | 2019-12-13T10:02:05 | 2019-12-13T10:02:05 | 224,500,673 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 991 | cpp | #include "intermediaire.h"
#include "ui_intermediaire.h"
#include "gestion_livre.h"
#include "gestion_rayon.h"
#include"capteur.h"
#include<QPixmap>
intermediaire::intermediaire(QWidget *parent) :
QDialog(parent),
ui(new Ui::intermediaire)
{
ui->setupUi(this);
QPixmap pix("C:/Users/kamel/De... | [
"noreply@github.com"
] | myriamkhachlouf.noreply@github.com |
7cab39d108786df856ff3a138e0051c450453ff1 | 9a0a582bdba0dfbeffddd2dfd59948789e0915d8 | /prototype1/include/peaklightbardetector.h | ecb806a0aef309680c5ac668c762cae808428cfd | [] | no_license | Gerold31/Streifenprojektion | 25eca8c608c5ead546df2e951b4e905e98f90299 | 31dfa7d0883d9e269280e12381637af81300cc80 | refs/heads/master | 2021-01-16T23:09:58.093331 | 2015-05-22T20:54:23 | 2015-05-22T20:54:23 | 25,968,337 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 638 | h | #ifndef PEAKLIGHTBARDETECTOR_H
#define PEAKLIGHTBARDETECTOR_H
#include <opencv2/core/core.hpp>
#include "lightbardetector.h"
struct WorkData;
class PeakLightBarDetector : public LightBarDetector
{
public:
PeakLightBarDetector() {}
virtual ~PeakLightBarDetector() {}
virtual void processImage(const cv::Mat& img,... | [
"johannes.spangenberg@hotmail.de"
] | johannes.spangenberg@hotmail.de |
8ed9054b74b0144ca9c0e1bce34c8d9d75f52961 | 3818b7af7a6407b636870288779014b29b186535 | /Source/Editor/FrEdUtil.h | 88eb6a36ca125ffdf7b1ec50d75bda64d3f69b8c | [] | no_license | VladGordienko28/ProtoGame | de287b44b6db4de9fc888869e3a663db81dc85ed | 3d88f5578f6ceca4275af9ee14a468b190bbfb7c | refs/heads/master | 2020-04-16T06:53:18.813931 | 2019-11-11T19:42:19 | 2019-11-11T19:42:19 | 165,364,799 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,107 | h | /*=============================================================================
FrEdUtil.h: Various editor stuff.
Copyright Jul.2016 Vlad Gordienko.
=============================================================================*/
/*-----------------------------------------------------------------------------
... | [
"vladgordienko28@gmail.com"
] | vladgordienko28@gmail.com |
f50157140e2f6994804c282437f794bc6a287928 | 527739ed800e3234136b3284838c81334b751b44 | /include/RED4ext/Types/generated/audio/VisualTagToNPCMetadata.hpp | 2ade393a6ca000337214a85fd8a4302a133b4dd3 | [
"MIT"
] | permissive | 0xSombra/RED4ext.SDK | 79ed912e5b628ef28efbf92d5bb257b195bfc821 | 218b411991ed0b7cb7acd5efdddd784f31c66f20 | refs/heads/master | 2023-07-02T11:03:45.732337 | 2021-04-15T16:38:19 | 2021-04-15T16:38:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 575 | hpp | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/REDhash.hpp>
#include <RED4ext/CName.hpp>
#include <RED4ext/DynArray.hpp>
namespace RED4ext
{
namespace audio {
struct VisualTagToNPCMetadata
{
static constexpr const char* N... | [
"expired6978@gmail.com"
] | expired6978@gmail.com |
44948cf2e10d13c406ed4c0ddc26e4fcedbdc12d | acc2f5336d768a7d86dbd2eec441283cfd11d52d | /src/server/gameserver/EffectSafeForceScroll.cpp | fb76ef16c4ac0b6f52c5952cec9dc4c572515887 | [] | no_license | stevexk/server | 86df9e8c2448ad97db9c3ab86820beec507ef092 | 4ddb6e7cfa510bb13ccd87f56db008aa1be1baad | refs/heads/master | 2020-01-23T22:00:57.359964 | 2015-09-18T14:58:27 | 2015-09-18T14:58:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,809 | cpp | //////////////////////////////////////////////////////////////////////////////
// Filename : EffectSafeForceScroll.cpp
// Written by : bezz
// Description :
//////////////////////////////////////////////////////////////////////////////
#include "EffectSafeForceScroll.h"
#include "PlayerCreature.h"
#include "Zone.... | [
"tiancaiamao@gmail.com"
] | tiancaiamao@gmail.com |
4ed64e6e8b6339b9da996cee07124c3b75e8fc8c | a5239258d872ce52cd24a52d7b1ef19ce9eec537 | /GameCode/GameEntity.hpp | 4af488e26cab103ce92aec3566d6207d7b6f97a6 | [] | no_license | derofim/simple_miner | e3aaafb1eab1369f3d61c15bd978fe26a696e939 | 0c4419eba585343ca581f60579175cc0a6caf92c | refs/heads/master | 2020-07-03T03:23:05.349392 | 2016-11-03T15:27:20 | 2016-11-03T15:27:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,608 | hpp | //=================================================================================
// GameEntity.hpp
// Author: Tyler George
// Date : April 23, 2015
//=================================================================================
#pragma once
#ifndef __included_GameEntity__
#define __included_GameEntity__
#inc... | [
"tyler.george@live.com"
] | tyler.george@live.com |
01a60db1be3cd7e76e3e51f9a57d2b983da1c57b | 3c325c073ae1f04ac71e20a9f3c083b81ef30cef | /Source/AdvGameProgProject/Private/AI/STrackerBot.cpp | 8ad51a8418cc1cf4fcefeb8dba08dd2a3533083b | [] | no_license | JustinRobbins7/AdvGraphicsSemesterProject | 0b4b946d9bd9bea2e6fff6ea1d1612bd35be1509 | a9d36c996181a46cd5b3c89776314166dd6b7c36 | refs/heads/master | 2020-03-29T18:03:28.327704 | 2018-10-04T17:06:56 | 2018-10-04T17:06:56 | 150,192,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,203 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "AI/STrackerBot.h"
#include "Components/StaticMeshComponent.h"
#include "Kismet/GameplayStatics.h"
#include "AI/Navigation/NavigationSystem.h"
#include "AI/Navigation/NavigationPath.h"
#include "GameFramework/Character.h"
#include ... | [
"robbinsju@gmail.com"
] | robbinsju@gmail.com |
60cf8160aa7d5e951c1f5a6de03c6c66c1b73c41 | 902e56e5eb4dcf96da2b8c926c63e9a0cc30bf96 | /Sources/Tools/EPI/Document/Properties/PtyMaterial.moc.h | 1114d4e9d7e6c205e1b9fc7abb2a457b96e09811 | [
"BSD-3-Clause"
] | permissive | benkaraban/anima-games-engine | d4e26c80f1025dcef05418a071c0c9cbd18a5670 | 8aa7a5368933f1b82c90f24814f1447119346c3b | refs/heads/master | 2016-08-04T18:31:46.790039 | 2015-03-22T08:13:55 | 2015-03-22T08:13:55 | 32,633,432 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,766 | h | /*
* Copyright (c) 2010, Anima Games, Benjamin Karaban, Laurent Schneider,
* Jérémie Comarmond, Didier Colin.
* 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 ... | [
"contact@anima-games.com@bd273c4a-bd8d-77bb-0e36-6aa87360798c"
] | contact@anima-games.com@bd273c4a-bd8d-77bb-0e36-6aa87360798c |
403ba5c0f91869137a88307dae5ed91ddeffb04b | 1321b27ee8b6f757d23c0d538257ce648c1d7c03 | /src/bitcoinrpc.cpp | 4be193d98b9916bb7e7e25c4e5d2036f7aed0de0 | [
"MIT"
] | permissive | peter600/ParkByte | 1a9348f1cc15b445c66af11ea26bedf0dda4187c | b7fcc7e7d92d6bf8638e98b48182240704077490 | refs/heads/master | 2020-05-29T11:07:11.986054 | 2015-05-06T23:46:00 | 2015-05-06T23:46:00 | 35,618,241 | 1 | 0 | null | 2015-05-14T15:12:55 | 2015-05-14T15:12:55 | null | UTF-8 | C++ | false | false | 48,057 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "init.h"
#include "util.h"
#include "sync.h"
#include "ui_interface.h"
#includ... | [
"rzimail@aol.com"
] | rzimail@aol.com |
787a335ab571e25147cea1ddf7d1b724e635d773 | 3c6ed046eda83e35ab754883a59dcb7099233b39 | /components/password_manager/core/browser/password_generation_state_unittest.cc | 1e4a5ac7bb1f0dd236d57460cf0cecfdbf6047b7 | [
"BSD-3-Clause"
] | permissive | ssln2014/chromium | 66c5021c8893313dee78b963082cbdf948bd2d6a | 4bad77148cc4a36373e40cf985444bc649c0eeff | refs/heads/master | 2023-03-06T03:21:39.801883 | 2019-06-08T16:11:10 | 2019-06-08T16:11:10 | 190,914,348 | 1 | 0 | BSD-3-Clause | 2019-06-08T17:08:38 | 2019-06-08T17:08:38 | null | UTF-8 | C++ | false | false | 14,480 | cc | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/password_manager/core/browser/password_generation_state.h"
#include "base/memory/scoped_refptr.h"
#include "base/strings/utf_string_... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
ecb2d694fe0896503192ffd8cef6574f31941dc1 | af0ecafb5428bd556d49575da2a72f6f80d3d14b | /CodeJamCrawler/dataset/12_21114_30.cpp | cc093b6656190654746fada02bb937fab5bfe32a | [] | no_license | gbrlas/AVSP | 0a2a08be5661c1b4a2238e875b6cdc88b4ee0997 | e259090bf282694676b2568023745f9ffb6d73fd | refs/heads/master | 2021-06-16T22:25:41.585830 | 2017-06-09T06:32:01 | 2017-06-09T06:32:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,491 | cpp | #include<algorithm>
#include<cassert>
#include<complex>
#include<cstdio>
#include<cstring>
#include<iostream>
#include<map>
#include<queue>
#include<set>
#include<sstream>
#include<stack>
#include<string>
#include<vector>
#define FOR(i,a,b) for(int i=(a);i<=(b);++i)
#define FORD(i,a,b) for(int i=(a);i>=(b);--i)
#define... | [
"nikola.mrzljak@fer.hr"
] | nikola.mrzljak@fer.hr |
296159bea89346bf337f1cdab663dd7e2619d315 | 9e3bf531bb53bf4e25cb3d843fd2b19f2567b4a8 | /w3/Text.cpp | d8ec30c8fcb8fdb82e6d9cb54cdf2a2139a8e6bf | [] | no_license | vithusonv/OOP345 | e177b018d7bf4d86d84e1de7a3d3212739fbb3a1 | c08cd2576842bea047e51e529d322c62f536665e | refs/heads/master | 2020-03-30T02:14:15.561489 | 2018-09-27T17:14:23 | 2018-09-27T17:14:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,981 | cpp | //includes
#include <fstream>
#include <string>
#include <iostream>
#include "Text.h"
//namespaces
using namespace std;
namespace w3
{
Text::Text():count(0),lineTable(nullptr)
{
}
Text::Text(const char* filename):count(0),lineTable(nullptr)
{
ifstream is(filename);
if(is.is_open())
{... | [
"noreply@github.com"
] | vithusonv.noreply@github.com |
9a43fb21618de67c2756653de7e5e3e4d00923a3 | e99c20155e9b08c7e7598a3f85ccaedbd127f632 | / sjtu-project-pipe/thirdparties/VTK.Net/src/Filtering/vtkVertex.cxx | d7db4aac28986a09ce782f496a93a97724c1bdbb | [
"BSD-3-Clause"
] | permissive | unidevop/sjtu-project-pipe | 38f00462d501d9b1134ce736bdfbfe4f9d075e4a | 5a09f098db834d5276a2921d861ef549961decbe | refs/heads/master | 2020-05-16T21:32:47.772410 | 2012-03-19T01:24:14 | 2012-03-19T01:24:14 | 38,281,086 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,081 | cxx | /*=========================================================================
Program: Visualization Toolkit
Module: $RCSfile: vtkVertex.cxx,v $
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
... | [
"useminmin@gmail.com"
] | useminmin@gmail.com |
eb07b041fa0259d2c4c79379b3437e0a385b15fa | 090243cf699213f32f870baf2902eb4211f825d6 | /CDOJ/Contest/56/A.cpp | 5743875ae3269ae4c7662747b643546e1d97e8e0 | [] | no_license | zhu-he/ACM-Source | 0d4d0ac0668b569846b12297e7ed4abbb1c16571 | 02e3322e50336063d0d2dad37b2761ecb3d4e380 | refs/heads/master | 2021-06-07T18:27:19.702607 | 2016-07-10T09:20:48 | 2016-07-10T09:20:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,218 | cpp | #include <cstdio>
#include <cstring>
#include <queue>
#include <vector>
#include <algorithm>
#include <map>
using namespace std;
struct Node
{
long long w;
int p;
bool operator < (const Node rhs) const
{
return w > rhs.w || (w == rhs.w && p < rhs.p);
}
};
int n, m;
vector<pair<int, int> > G[100000];
int s, e,... | [
"841815229@qq.com"
] | 841815229@qq.com |
90123c38dca741d98842db37053b03a1949504c3 | 6edda4cef6bea60a7d38041a833508bcd51a0fbc | /3110.cpp | b207e8b1aa04a9906f76019ff5ec01bb2d253cd2 | [] | no_license | IIIIIIIIIU/onlysky | addd908364c2e4f42dfdf09b0ea7995b354b78f6 | c534c66a3e208734f3fd6f3eb9b76e82a9e6d036 | refs/heads/master | 2021-09-14T21:45:40.795263 | 2018-05-20T07:49:28 | 2018-05-20T07:49:28 | 104,289,423 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,590 | cpp | #include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>
typedef unsigned int uint;
const int maxn=5e4+5;
const int maxtree=maxn<<2|1;
const int maxtree2=maxn*400;
struct operation
{
int op,a,b,c;
};
struct operation oper[maxn];
int n,m,ai[maxn],num,ch[maxtree2][2],root[maxtree],tot,L[maxtree],R[m... | [
"noreply@github.com"
] | IIIIIIIIIU.noreply@github.com |
4b7f4d145c3641cfa2bbf8b04cfd3365d244c5c3 | 3dbe9a64fbac88d53aeec8bf9c5b544c63d6352d | /pointer.cpp | b5751618a795d3e6c62d679fc14504d44843d0ef | [] | no_license | nidjaj/Data-structure | 7d19dd4b324efff30cf14a3d25f9ccdce8a3a26f | a915a4dfa23f789ffcac1f0a806119014640970e | refs/heads/master | 2022-07-30T16:04:50.619535 | 2020-05-19T17:59:40 | 2020-05-19T17:59:40 | 263,988,130 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 190 | cpp | #include<stdio.h>
int main()
{
int a=10;
int *p;
if(p)
printf("hi");
else
printf("bye");
p=&a;
if(p)
printf("hi");
else
printf("bye");
}
| [
"noreply@github.com"
] | nidjaj.noreply@github.com |
251fa57b6d943041be67645af8518081706328e4 | 0a626f9383a7a9b5085f63e6ce214ae8e19203cc | /src/wasm/function-body-decoder-impl.h | 6c47141d375da513a9231086b3485e7a2d40c305 | [
"BSD-3-Clause",
"bzip2-1.0.6",
"SunPro"
] | permissive | xtuc/v8 | 8a494f80ad65f6597f766bf8b295740ae07a4adc | 86894d98bfe79f46c51e27b0699f7bfcc07fe0b2 | refs/heads/master | 2021-09-28T21:30:37.358269 | 2018-11-20T04:58:57 | 2018-11-20T06:36:53 | 153,456,519 | 0 | 0 | NOASSERTION | 2018-11-06T14:37:55 | 2018-10-17T12:53:24 | C++ | UTF-8 | C++ | false | false | 98,300 | h | // Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_WASM_FUNCTION_BODY_DECODER_IMPL_H_
#define V8_WASM_FUNCTION_BODY_DECODER_IMPL_H_
// Do only include this header for implementing new Interfa... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
d042fbfab4dc7a584f2c90f59e09a3f37e07c958 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/ds/security/services/scerpc/sceutil.cpp | 7bf2780f465026a28af03bdc36d35dd72c22b75c | [] | 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 | 65,144 | cpp | /*++
Copyright (c) 1996 Microsoft Corporation
Module Name:
sceutil.cpp
Abstract:
Shared APIs
Author:
Jin Huang
Revision History:
jinhuang 23-Jan-1998 merged from multiple modules
--*/
#include "headers.h"
#include "sceutil.h"
#include "infp.h"
#include <sddl.h>
#include "commonrc.h"
... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
ee7e8bdd3deeada4ec2bfbff8b62d93713e3b169 | cb417c58658ac99e26fda8c79d2737de4b8688f9 | /tagkeyedit.cpp | 8d6c81f3309b602bc424f8ade6be35b338846d39 | [] | no_license | SinixCosix/Mosaic | b2760da7ac161f91b4d61482b4560abc53273a78 | 262d3fc4390a6b60084af577085acb32dbf589c3 | refs/heads/master | 2022-09-16T19:15:19.203715 | 2020-05-28T12:46:32 | 2020-05-28T12:46:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,332 | cpp | #include "tagkeyeditlist.h"
TagKeyEdit::TagKeyEdit(QWidget *parent) : TagBaseWidget(parent)
{
this->exif_name = new QComboBox();
setExifName();
connect(exif_name, &QComboBox::currentTextChanged, this, &TagKeyEdit::checkValid);
layout->addWidget(short_name_lineEdit);
layout->addWidget(exif_name);
... | [
"rainbowshardofdeath@gmail.com"
] | rainbowshardofdeath@gmail.com |
af31f561da07cd75baf90f7c1b00cb3d414704e3 | 27c75711bbe10b3120c158971bb4e830af0c33e8 | /AsZ/2015.09.13/9.cpp | d6c902df0aa6d311d29b73f478ef55a2a5f2d12b | [] | no_license | yl3i/ACM | 9d2f7a6f3faff905eb2ed6854c2dbf040a002372 | 29bb023cb13489bda7626f8105756ef64f89674f | refs/heads/master | 2021-05-22T02:00:56.486698 | 2020-04-04T05:45:10 | 2020-04-04T05:45:10 | 252,918,033 | 0 | 0 | null | 2020-04-04T05:36:11 | 2020-04-04T05:36:11 | null | UTF-8 | C++ | false | false | 2,243 | cpp | #include <bits/stdc++.h>
#define N 50500
#define INF 0x3f3f3f3f
using namespace std;
int dp[N], p;
void calc(int v, int c, int s)
{
int upper = min(p + 100 - v, s);
for (int i = upper; i >= 0; i--)
dp[i + v] = min(dp[i + v], dp[i] + c);
}
void calc1(int v, int c, int s)
{
int upper = min(p - v,... | [
"yuzhou627@gmail.com"
] | yuzhou627@gmail.com |
d989762f67fa5df6af4abbe39a3b1b2501f53dde | 3764f1bcd1b95ea9c26b713e525130edac47bc73 | /mach/mach/machine/machine_runtime.cpp | 5cd52e91d810a20c5682200242cbe4bc42aadffb | [
"MIT"
] | permissive | benbraide/mach | bc5d46185ff8e17afa0e26dbecbdb035e8e3c9c6 | a723b6392778ab8391723a78ac52f53c455da6f5 | refs/heads/master | 2020-04-15T01:55:24.866280 | 2019-02-04T23:41:47 | 2019-02-04T23:41:47 | 164,296,462 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,120 | cpp | #include "machine_runtime.h"
mach::machine::runtime::runtime(io::reader &reader){
init_(reader);
}
mach::machine::runtime::runtime(qword entry)
: entry_(entry){}
mach::machine::runtime::runtime(byte *data, std::size_t size){
init_(data, size);
}
void mach::machine::runtime::run(){
if (stack_ != nullptr)
retur... | [
"benbraide@yahoo.com"
] | benbraide@yahoo.com |
bcd183501c27515766d16f978f48dc5ec272b1f2 | de5bbebd0b6c83f76bd65fc8984c5bb2154d8446 | /2020-2021/previous/simplemetaheuristics/simannealing.cpp | 479fa3b6d51b87b741c9a5d8f54922cab79fae0b | [
"MIT"
] | permissive | pantadeusz/examples-ai | 5760f812de6112c2d66924160b35eef89b823300 | 7529242eb47123dd948d13eb44c5a28d225d11b9 | refs/heads/master | 2023-01-24T03:02:28.022307 | 2023-01-18T11:36:34 | 2023-01-18T11:36:34 | 90,629,458 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,857 | cpp | /*
* Copyright 2017 Tadeusz Puźniakowski
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation files
* (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
... | [
"pantadeusz@pjwstk.edu.pl"
] | pantadeusz@pjwstk.edu.pl |
dfbc5722dabaf6fa7f5b8ecd59e2158c99fe1ec8 | addbaa42a916bac9510d8f44f4ced3a6d324a4a3 | /CODE_BASE/src/scene/character.h | 3222a758ef348b5d7b78f7a153152b8dd2319d68 | [] | no_license | iCodeIN/Game-Engine-Project | 424725053c8002ada75bd018888359247d3f22a8 | 513773d8f5f52e36542021c5c5f52eaa365412b0 | refs/heads/master | 2023-03-20T11:31:14.438239 | 2019-06-29T21:22:22 | 2019-06-29T21:22:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,078 | h | #pragma once
#include "globals.h"
#include "scene_object.h"
#include "rig_solver.h"
#include "bone.h"
class Character : public SceneObject {
RigSolver rig_solver_;
std::vector<Bone*> bones_;
std::shared_ptr<SceneObject> bone_obj_vis_;
public:
Character();
Character(
const char* file_path,... | [
"hanbollar@gmail.com"
] | hanbollar@gmail.com |
f9ac533538f56fdea0e286b02dd2df6d57e0e179 | 8635e9e8cde70ce1f55aac7b50d8090add38a163 | /Problems/bzoj/1565.cpp | c67233d72852caac21b98eeea17d0c03930399d4 | [] | no_license | 99hgz/Algorithms | f0b696f60331ece11e99c93e75eb8a38326ddd96 | a24c22bdee5432925f615aef58949402814473cd | refs/heads/master | 2023-04-14T15:21:58.434225 | 2023-04-03T13:01:04 | 2023-04-03T13:01:04 | 88,978,471 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,687 | cpp | #include <cstdio>
#include <cstring>
#include <cstdlib>
#include <algorithm>
#include <queue>
#include <vector>
using namespace std;
typedef long long ll;
int Q[1100], dep[1100], score[1000];
int tot, Head[1100], cur[1100], Next[21000];
ll Val[21000], To[21000];
int n, m, S, T, u, v;
int calc(int x, int y)
{
re... | [
"2252870379@qq.com"
] | 2252870379@qq.com |
aef02a58526ea95bd463729fb57b43bb6fa07392 | 988e7ad6574222ca77e8620b9fbe15e1b0cc9a1a | /rain_water_harvesting.cpp | 330ff7235fbd962be309b7a35ce7361d649d41f6 | [] | no_license | vaarigupta/C-_programs | 361df5af8ebb9eb36f79a24189e4ff0be3934bd6 | ae5d5c6f3b147b16c5dbdbc449de2c6fbb8a5dac | refs/heads/master | 2020-03-12T20:36:20.483047 | 2018-04-26T08:36:29 | 2018-04-26T08:36:29 | 130,809,479 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 967 | cpp | #include<iostream>
using namespace std;
int main()
{
int n, height[20]={0}, k=1,j=n-1,left_ht[20]={0},right_ht[20] ={0}, current_height, sum=0;
cin>>n;
for(int i=0;i<n;i++)
{
cin>>height[i];
}
current_height = height[0];
for(int i=0;i<n;i++)
{
left_ht[0]=height[0];
if(he... | [
"cutievaarigupta@gmail.com"
] | cutievaarigupta@gmail.com |
632808b5e6ab290f0c5bcb8079bb4d9ee5b5b920 | 841776845974ba2645eff58ff8fabedd873093f0 | /LeetCode/1013将数组分成和相等的三个部分.cpp | 76a7c174c30076dcece23eed9d20b7026294c525 | [] | no_license | hello-sources/Coding-Training | f2652c9b8e58d244a172922e56897fa2a3ad52fb | d885ca23676cb712243640169cf2e5bef2d8c70e | refs/heads/master | 2023-01-19T11:17:36.097846 | 2023-01-01T00:49:09 | 2023-01-01T00:49:09 | 246,630,755 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 496 | cpp | bool canThreePartsEqualSum(int* arr, int arrSize){
int sum = 0, num = 0;
for (int i = 0; i < arrSize; i++) sum += arr[i];
if (sum % 3 != 0) return false;
num = sum / 3;
int temp = 0, temp2 = 0;
for (int i = 0; i < arrSize - 2; i++) {
temp += arr[i];
if (temp == num) {
... | [
"3245849061@qq.com"
] | 3245849061@qq.com |
41b8edae2958da41e17ee97a8144b9a5e72fd4f6 | e176ee182c7737e98434cf6702a6ed0fff6431fb | /include/UdmBase.h | e7ef51d12f61535328be989b3f3b483c84f0c3ab | [
"BSD-2-Clause"
] | permissive | syoyo/UDMlib | 4d1d1a61170b543f6199f62133b02081dbcce035 | f7796265d9381a7f0e878112842b7ce4bfe9af15 | refs/heads/master | 2023-09-04T12:37:22.953014 | 2015-04-20T03:25:52 | 2015-04-20T03:25:52 | 34,649,537 | 0 | 0 | null | 2015-04-27T06:22:51 | 2015-04-27T06:22:50 | null | UTF-8 | C++ | false | false | 2,026 | h | /*
* UDMlib - Unstructured Data Management Library
*
* Copyright (C) 2012-2015 Institute of Industrial Science, The University of Tokyo.
* All rights reserved.
*
*/
#ifndef _UDMBASE_H_
#define _UDMBASE_H_
/**
* @file UdmBase.h
* UDMlibライブラリのすべてのクラスの基底クラスのヘッダーファイル
*/
#include <stdio.h>
#include <stdlib.h>
#i... | [
"keno@riken.jp"
] | keno@riken.jp |
ed42ea7e82dfcce3c03f16adfc8be0e68f21e8b0 | f2a10941c41312b228b74a935013a27ef13c2838 | /z3D/Core/SMem.cpp | 99a393872e4b1afe2904e93c7338f1e7356b5d62 | [] | no_license | vinceplusplus/z3D | 375df45283c9ed64f5d2e991e2361352151ca030 | 7b52534db183298b7c92ff8cf6493fce0ac6e0d9 | refs/heads/master | 2020-12-24T19:13:21.574789 | 2016-05-05T17:04:17 | 2016-05-05T17:04:17 | 58,145,312 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,418 | cpp |
#include "SMem.h"
#include "interlocked.h"
namespace z3D
{
namespace Core
{
void SMem::___ctor()
{
_block = 0;
_size = 0;
}
void SMem::___ctor(const SMem& rhs)
{
if(!rhs._block)
{
___ctor();
return;
}
_block = rhs._block;
_size = rhs._size;
_dealloc_func = rhs._dea... | [
"vinceplusplus@gmail.com"
] | vinceplusplus@gmail.com |
1fffd194233ffa0c366a83229c6af41508f892e3 | 3047545349bf224a182b2c33bf1f110aef1ce9b6 | /Transims60/Converge_Service/Fuel_Check.cpp | b71ed57d3cbe2229458fb73523b7e32a26a88d95 | [] | no_license | qingswu/Transim | 585afe71d9666557cff53f6683cf54348294954c | f182d1639a4db612dd7b43a379a3fa344c2de9ea | refs/heads/master | 2021-01-10T21:04:50.576267 | 2015-04-08T19:07:28 | 2015-04-08T19:07:28 | 35,232,171 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,866 | cpp | //*********************************************************
// Fuel_Check.cpp - check the fuel supply and build path
//*********************************************************
#include "Converge_Service.hpp"
//---------------------------------------------------------
// Fuel_Check
//-------------------------... | [
"davidroden@7728d46c-9721-0410-b1ea-f014b4b56054"
] | davidroden@7728d46c-9721-0410-b1ea-f014b4b56054 |
8a97bc9927be19784dc1459086dd3c89cee46335 | 9240ceb15f7b5abb1e4e4644f59d209b83d70066 | /sp/src/game/server/sdk/sdk_player.h | efac7ec14105184433f8e0e2dd4e2cb656620036 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Margen67/blamod | 13e5cd9f7f94d1612eb3f44a2803bf2f02a3dcbe | d59b5f968264121d013a81ae1ba1f51432030170 | refs/heads/master | 2023-04-16T12:05:12.130933 | 2019-02-20T10:23:04 | 2019-02-20T10:23:04 | 264,556,156 | 2 | 0 | NOASSERTION | 2020-05-17T00:47:56 | 2020-05-17T00:47:55 | null | UTF-8 | C++ | false | false | 2,757 | h | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Player for SDK Game
//
// $NoKeywords: $
//=============================================================================//
#ifndef SDK_PLAYER_H
#define SDK_PLAYER_H
#pragma once
#include "player.h"
#include "ser... | [
"joe@valvesoftware.com"
] | joe@valvesoftware.com |
05579139d95851e549675beacd8901baae6df3a1 | f6439b5ed1614fd8db05fa963b47765eae225eb5 | /chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc | ffbad82ed9b9291cc6c91839f17155209f792126 | [
"BSD-3-Clause"
] | permissive | aranajhonny/chromium | b8a3c975211e1ea2f15b83647b4d8eb45252f1be | caf5bcb822f79b8997720e589334266551a50a13 | refs/heads/master | 2021-05-11T00:20:34.020261 | 2018-01-21T03:31:45 | 2018-01-21T03:31:45 | 118,301,142 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,211 | 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 <list>
#include <set>
#include "base/files/scoped_temp_dir.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#includ... | [
"jhonnyjosearana@gmail.com"
] | jhonnyjosearana@gmail.com |
e36d2cf1a869617128c0c3e1b4f790a60273caf8 | ee6c236ba07ddd2f1328e38f3b0a00c3eaf3a38a | /Code/server/FindingTreasure_Test_Blending_20170529/IOCP_Client.cpp | c174715e0dc501099de4667a840526a728aff394 | [] | no_license | GreeeeeShot/Graduation-Work | b01b4662813a1a25a0ed82f0a43af92c38801bbc | 53e2c000241b71da222d065d0697ec79b0ded65c | refs/heads/master | 2021-01-11T01:55:47.025089 | 2017-10-18T10:25:06 | 2017-10-18T10:25:06 | 70,653,275 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,663 | cpp | #include "stdafx.h"
#include "IOCP_Init.h"
#include "IOCP_Client.h"
#include "GameManager.h"
#include "GameFramework.h"
//CPlayer player;
#pragma comment (lib, "ws2_32.lib")
SOCKET g_mysocket;
WSABUF send_wsabuf;
char send_buffer[BUF_SIZE];
WSABUF recv_wsabuf;
char recv_buffer[BUF_SIZE];
char packet_buffer[BUF_SIZE... | [
"joonbum638@naver.com"
] | joonbum638@naver.com |
e1108471b13ff8785215765da1c3049ca962daf2 | eab36cd36644c062a9ba43fe9cfd2dfc2ad5bfe8 | /codeforces/Discounts.cpp | d73e4c10394ec1f70883ebe7ffbd7b765ba6f955 | [] | no_license | yashraj1120/CodeForces | e10037eed737adce65b28c5ce02b11bbbb0eee08 | 8396ccd426975dcf788c595d596b246e4adac305 | refs/heads/master | 2020-04-29T18:10:17.933070 | 2019-03-18T15:37:08 | 2019-03-18T15:37:08 | 176,316,485 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 298 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin>>n;
long long arr[n];
long long s=0;
for(int i=0;i<n;i++)
{
cin>>arr[i];
s+=arr[i];
}
long m;
sort(arr,arr+n);
cin>>m;
while(m!=0)
{
int temp;
cin>>temp;
cout<<s-arr[n-temp]<<"\n";
m--;
}
}
| [
"noreply@github.com"
] | yashraj1120.noreply@github.com |
89be1651a09bf91158875ccb522ae2db5962999e | fb399b4b4afe86194e4d3d996ea6b9ee4bed674c | /subtask3/code/Extra_SparseOpticalFlow.cpp | 1ca881435ddad1c5f53a02a8c307ca3b6c379264 | [] | no_license | ShreyaGupta8/cop290-assignment-1 | 238a3d774f9e867b3be11bce0adaca89190361cb | f447f459e3a2ffaaabde5dacd8b06fb072b0e26d | refs/heads/main | 2023-06-29T17:04:52.614300 | 2021-07-29T22:43:53 | 2021-07-29T22:43:53 | 341,635,618 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,954 | cpp | #include <iostream>
#include <opencv2/core.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/videoio.hpp>
#include <opencv2/video.hpp>
#include <fstream>
using namespace cv;
using namespace std;
int main(int argc, char **argv)
{
ofstream method("extra.txt");
clock_t start... | [
"noreply@github.com"
] | ShreyaGupta8.noreply@github.com |
b3bd6dd44be2d655306a106ce69bafae36280f5a | 0208776bfede55763e03a08c80b79c28564cfb04 | /src/cpu.cpp | bc67327cb5a04fafae5736446ab78696258682cd | [
"MIT"
] | permissive | mikefeneley/mechanicus-emulator | cda239387bdbf291487d796338186bd34515a13b | 949946de02b8346c4654baaf6946b3a15da51d5b | refs/heads/master | 2021-06-09T19:36:51.329209 | 2016-12-23T13:43:14 | 2016-12-23T13:43:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 448 | cpp |
/*
* CPU Simulator
*/
class CPU
{
public:
CPU(void);
void reset(void);
void set_program(void *program);
void fetch(void);
void decode(void);
void execute(void);
private:
void *program;
int zero_flag;
int sign_flag;
... | [
"michael.j.feneley@gmail.com"
] | michael.j.feneley@gmail.com |
2c064cb569c3e2789098a813f1c039e89f2e819f | b067b1fc5239eaf4354871dcb9d64f10901af2a8 | /Labor_4/L4_A4/Circle.cpp | 9220fc9696c532b5bcbe51b79b2318fc4b79b73f | [] | no_license | Dream-Dev-Team/Labor_OOS1 | 37d9282de9da0d87745a63ac91d917e06d74e45b | cf6c6679acaf4a4844f8955896af16e2b2b7229d | refs/heads/master | 2022-11-26T01:44:59.534960 | 2020-07-24T08:39:20 | 2020-07-24T08:39:20 | 261,707,092 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,225 | cpp | #include "Circle.hpp"
extern bool debugConstructor;
Circle::Circle(Point p, double r)
{
if (debugConstructor) {
cout << "Konstruktor der Klasse Circle(param), Objekt:" << this->getID() << endl;
}
centre = p;
radius = r;
}
Circle::Circle(string str)
{
if (debugConstructor) {
cout << "Konstruktor der Klasse C... | [
"aamuit00@hs-esslingen.de"
] | aamuit00@hs-esslingen.de |
d981dc1bb0cc27d14d2f321be6cbf914f21d21b7 | 66deb611781cae17567efc4fd3717426d7df5e85 | /pcmanager/src/src_kclear/trackcleaner/src/regopt.cpp | 4a1578dc0595bfb175eceb65e2ea0e21bcc452df | [
"Apache-2.0"
] | permissive | heguoxing98/knoss-pcmanager | 4671548e14b8b080f2d3a9f678327b06bf9660c9 | 283ca2e3b671caa85590b0f80da2440a3fab7205 | refs/heads/master | 2023-03-19T02:11:01.833194 | 2020-01-03T01:45:24 | 2020-01-03T01:45:24 | 504,422,245 | 1 | 0 | null | 2022-06-17T06:40:03 | 2022-06-17T06:40:02 | null | GB18030 | C++ | false | false | 17,003 | cpp | #include "stdafx.h"
#include "regopt.h"
/************************************************************************/
//枚举当前所有值可递归
/************************************************************************/
void CRegOpt::DoRegEnumeration(HKEY rootKey,LPCTSTR lpItemPath,EnumerateRegFun fnRegFun,void* pUserData/* =N... | [
"dreamsxin@qq.com"
] | dreamsxin@qq.com |
fc32791069a41db370419b62bb451c6aa3862531 | 84bb32d553cfa97cfa8803091382645f76bc255f | /Stack using two queues.cpp | 3e9e87d2a3d9821b959d95be71eadde2b20feaf3 | [
"Unlicense"
] | permissive | trun-k/GeeksForGeeks_Final450 | 2e55c8b62d669463d87973083f9c0b0de56bbf8a | 473fd336a81fdbe66d05bf25f54a61bc994d890e | refs/heads/main | 2023-08-01T22:44:38.620859 | 2021-10-01T17:44:03 | 2021-10-01T17:44:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,630 | cpp | #include<bits/stdc++.h>
using namespace std;
class QueueStack{
private:
queue<int> q1;
queue<int> q2;
public:
void push(int);
int pop();
};
int main()
{
int T;
cin>>T;
while(T--)
{
QueueStack *qs = new QueueStack();
int Q;
cin>>Q;
while(Q--){
i... | [
"noreply@github.com"
] | trun-k.noreply@github.com |
39ef0be40668f9ae72bda45c43d33a60f1508b3e | 0f252a72f9c464bc4e38d8b18c4d03717d84acf2 | /laptop/SPOJ/LARMY.cpp | 31254d9d45c9b893c2ae619c0cdadea0d2dce3b1 | [] | no_license | ZikXewen/Submissions | e5286f1a94f1108eaa43c30fe6d12cec8537f066 | ec6efc8f92440e43850b8d094927958c5533eb05 | refs/heads/master | 2023-07-24T11:59:16.460972 | 2021-05-24T13:02:43 | 2021-05-24T13:02:43 | 220,632,852 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,139 | cpp | #include <bits/stdc++.h>
#define all(x) (x).begin(), (x).end()
#define vi vector<int>
using namespace std;
int main(){
ios::sync_with_stdio(0), cin.tie(0);
int N, K; cin >> N >> K;
vi in(N), mp(N);
for(int i = 0; i < N; ++i) cin >> in[i], mp[i] = in[i];
sort(all(mp)); mp.resize(unique(all(mp)) - mp.begin());
vect... | [
"datasup12@gmail.com"
] | datasup12@gmail.com |
b48fbfef673cdef5f3ab4f21c1e9cb6cc05959b7 | c3bbdbbbc5f47577e332a280f81bd905617423c9 | /Source/AllProjects/LangUtils/CIDMacroEng/CIDMacroEng_MethodImpl.cpp | 757871880768abc7e96d23a552e4516a6a9f379c | [
"MIT"
] | permissive | DeanRoddey/CIDLib | 65850f56cb60b16a63bbe7d6d67e4fddd3ecce57 | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | refs/heads/develop | 2023-03-11T03:08:59.207530 | 2021-11-06T16:40:44 | 2021-11-06T16:40:44 | 174,652,391 | 227 | 33 | MIT | 2020-09-16T11:33:26 | 2019-03-09T05:26:26 | C++ | UTF-8 | C++ | false | false | 83,514 | cpp | //
// FILE NAME: CIDMacroEng_MethodImpl.cpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 01/12/2003
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2019
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://op... | [
"droddey@charmedquark.com"
] | droddey@charmedquark.com |
56e617b004faee96d11dafc9165b6e986adeece0 | 79ce7b21cb9eead164c6df9355014d33ba9f702a | /caffe2/utils/filler.h | 6dadfa69bcbed227f11a7d3c5d63769970562bbd | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | FDecaYed/pytorch | 7c7d3fb762c1aae3d41ec214b44dc0b28c0e7353 | a5e9500a5672595f5ee8a242a411d80adb265dd7 | refs/heads/master | 2021-11-18T18:21:47.397464 | 2018-08-29T23:38:07 | 2018-08-29T23:38:07 | 131,061,037 | 1 | 0 | NOASSERTION | 2021-11-09T02:58:16 | 2018-04-25T20:40:00 | C++ | UTF-8 | C++ | false | false | 2,980 | h | #ifndef CAFFE2_FILLER_H_
#define CAFFE2_FILLER_H_
#include <sstream>
#include "caffe2/core/logging.h"
#include "caffe2/core/tensor.h"
#include "caffe2/utils/math.h"
namespace caffe2 {
class TensorFiller {
public:
template <class Type, class Context>
void Fill(Tensor* tensor, Context* context) const {
CAFFE... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
7175cb755112deaeebe37ea2a665802f632b66ef | a15ad75b81dd175322cebc49a3f4f30604c5c819 | /Scenario3_ServicingCompleteTask.xaml.h | 47ecb38779818ad6cc5d254a65cd55143567da81 | [] | no_license | BraydenFolk/BackgroundTasks | c3b1645a4a34e3002a8b79f1408fa0f5137ccc9f | f260c6103a6b0df0bd57909a2f2a97c9ab06653e | refs/heads/master | 2021-05-01T01:44:12.322108 | 2017-01-23T20:36:32 | 2017-01-23T20:36:32 | 79,844,970 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,819 | h | //*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGE... | [
"noreply@github.com"
] | BraydenFolk.noreply@github.com |
672e494ccd23432ae64d7bf860354a9f58349334 | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/boost/process/detail/windows/start_dir.hpp | 09fdbbccf0337a971fb1e63ac819ff1807dc7de4 | [
"BSL-1.0"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,035 | hpp | // Copyright (c) 2006, 2007 Julio M. Merino Vidal
// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling
// Copyright (c) 2009 Boris Schaeling
// Copyright (c) 2010 Felipe Tanus, Boris Schaeling
// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling
//
// Distributed under the Boost Software License, Version 1.0. (See a... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.