blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d9f37e935c4a968399e4f41497664f7a8f53814f | 632fe38bdb4616672ff4f46fa2286adf93187210 | /include/dll/rbm/standard_conv_rbm.hpp | a8ada826d59641ac83be1ff9cae2f3b7a2c9c72f | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | leafxx/dll | bf176cb098f9b7d3f4a55f4cdcff77bf3c6d8e0a | 2a72ec0a5c8d52de5565eb5075bc44f078955fca | refs/heads/master | 2021-07-13T17:49:10.703663 | 2017-10-16T07:39:00 | 2017-10-16T07:39:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,848 | hpp | //=======================================================================
// Copyright (c) 2014-2017 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//==================================================================... | [
"baptiste.wicht@gmail.com"
] | baptiste.wicht@gmail.com |
e74d74a4ff73fbfd1d78b41d883f9753beaea6b7 | 368edcad23f5a828eb93ecc94daf427e793a5e0a | /src/Files/Meshes/MeshClasses/WTcCluster.h | 78e07e25d5c8e31dc79568a1ae1db62a84713eb0 | [] | no_license | Thormidable/Bamboo | 428d88d00590667898c0647acf2ac175f6943c8e | 0a5f5e2b715508d21967db5b7ece002129b62d31 | refs/heads/master | 2021-01-10T15:13:09.764755 | 2015-12-17T00:26:59 | 2015-12-17T00:26:59 | 47,978,788 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,563 | h | #ifndef __WTCCLUSTER_H__
#define __WTCCLUSTER_H__
using namespace std;
/** \brief This class is an array of cFace.
* This is often used
*/
class cCluster
{
//cPlane *Planes;
cFace *Faces;
uint32 miSpaces;
uint32 miItems;
public:
~cCluster();
cCluster();
void Init(uint32 liSize);
void Optimise();
uint32 Fil... | [
"Thormidable@Thormidable-PC.(none)"
] | Thormidable@Thormidable-PC.(none) |
1b0faf8f394e70094eeb8d5263ff6f1d5377e9b0 | 30ed20d82d5dc8a7d74e0ffac8259ab6c428bcae | /tensorflow/compiler/mlir/tensorflow/transforms/materialize_mlir_passthrough_op.cc | c864a57edcdc01cc212c32a46de98771c256f3d3 | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | mycolors/tensorflow | 697b35c772ebb296414978c576461be0d430ff0d | a69d8f063208f96598327cdc5f3ccec17be2608c | refs/heads/master | 2022-10-14T20:10:34.056431 | 2022-09-27T09:02:56 | 2022-09-27T09:08:16 | 122,425,023 | 0 | 0 | Apache-2.0 | 2018-02-22T03:15:57 | 2018-02-22T03:15:57 | null | UTF-8 | C++ | false | false | 4,206 | cc | /* Copyright 2019 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 |
b945ee94323e68fc3cc18d08a4eef332bbb30d63 | 290b4c7ca63a975b38e55018cc38bd2766e14639 | /ORC_app/jni-build/jni/genfiles/tensorflow/core/framework/allocation_description.pb.cc | 2dd7e63c85cc7e38991035af76b1bd6449bbf22f | [
"MIT"
] | permissive | luoabd/EMNIST-ORC | 1233c373abcc3ed237c2ec86491b29c0b9223894 | 8c2d633a9b4d5214e908550812f6a2489ba9eb72 | refs/heads/master | 2022-12-27T14:03:55.046933 | 2020-01-16T15:20:04 | 2020-01-16T15:20:04 | 234,325,497 | 0 | 1 | MIT | 2022-12-11T13:32:42 | 2020-01-16T13:25:23 | C++ | UTF-8 | C++ | false | true | 24,547 | cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/core/framework/allocation_description.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "tensorflow/core/framework/allocation_description.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <... | [
"abdellah.lahnaoui@gmail.com"
] | abdellah.lahnaoui@gmail.com |
3328fb80110d3197fd2c8fc798f40983e01a3a23 | a423ee970ad817a5535b5ccb6487f124e2dc5147 | /primitive.cpp | b9171cc10d54e64239a93acc678d2e186127b487 | [] | no_license | kkevinchou/CS488-A5 | 2048dcaeb4d5c176079dc9df49cbe9c9867962c9 | 544c43cd6f1670156fec57339ef2214510d9a714 | refs/heads/master | 2021-01-20T11:26:22.917214 | 2013-07-26T16:23:41 | 2013-07-26T16:23:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 505 | cpp | #include "primitive.hpp"
#include <iostream>
int Primitive::nextId = 0;
Primitive::Primitive() {
id = nextId++;
}
Primitive::~Primitive()
{
}
Sphere::Sphere() : m_nonhierSphere(Point3D(0, 0, 0), 1) {
}
Sphere::~Sphere()
{
}
Cylinder::Cylinder()
{
}
Cylinder::~Cylinder()
{
}
Cone::Cone()
{
}
Cone::~Cone()
{... | [
"kkevinchou@gmail.com"
] | kkevinchou@gmail.com |
a3abcbc74fdaac3d205829f1764dedebf91e1e59 | fd34b7f81151192d5e17cb1ff2a0df7816be639a | /04-approximations/src/main.cc | 377c4f78e5aa03cc6eec5f2ea117a3b5c4621364 | [] | no_license | sgrams/numalg | 65f9eefe674ea5fdffe8d30aa342aa6ffd1a7c95 | 997957d4d3f753f43846cde869bc0ce2af33c2b1 | refs/heads/master | 2020-04-01T04:50:31.853025 | 2019-01-22T20:41:51 | 2019-01-22T20:41:51 | 152,879,010 | 2 | 0 | null | 2019-01-13T10:09:33 | 2018-10-13T14:16:15 | C++ | UTF-8 | C++ | false | false | 20,742 | cc | /*
* This file is part of 04-approximations task.
*
* src/main.cc
* Stanisław Grams <sgrams@fmdx.pl>
* Juliusz Korczakowski <iuliuszkor@gmail.com>
*/
#include <iostream>
#include <cstdlib>
#include <algorithm>
#include <vector>
#include <cmath>
#include "util.hh"
#include "matrix.hh"
#include "sparsematrix.hh"
#... | [
"sgrams@fmdx.pl"
] | sgrams@fmdx.pl |
07ed8d9b5e2827a75585d8c942a420bc154eed22 | cd5ccf162d1d2ee430ce04d12fd77f6e31dfe553 | /PAT (Advanced Level) Practise/1110. Complete Binary Tree.cpp | d76b45b818297e63c0b9c073554905b0a256d097 | [] | no_license | exmy/PAT-Solution | 32fb6c03bfab34c716d96f5ea440c7261bfc5bc0 | 4acf91878ca44e277727693980f2bed27f21d01b | refs/heads/master | 2021-01-19T16:41:31.732468 | 2017-04-14T15:21:18 | 2017-04-14T15:21:18 | 88,279,189 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,225 | cpp | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <cstring>
#include <cstdlib>
using namespace std;
const int maxn = 100;
struct node{
int left, right;
};
int n;
int tree[maxn];
node a[maxn];
int appear[maxn];
void build(int root, int t){
if(root == -1) return;
tree[t] = root;
buil... | [
"许少"
] | 许少 |
0dd4969349fa68f53ca241cd0ae7aa03344d1013 | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /cwp/src/v20180228/model/DescribeVertexDetailResponse.cpp | f2b7f067f11e1c1161b8d6b46e7097b352736c86 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 4,666 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
05fdee1a4a3201d75be3d8d1244fe63b98fd296d | 41b97bb2e48bbb044f861fcb5a7696892989e7c0 | /Input.cpp | 00549fea834698718585db62d08a7608fb5c424a | [] | no_license | rafaeu9/SDL-Snake-Game | 74392cb22247fc85dfae253a6100c9b107f3cba8 | 82f8a3e176c75b7177b1ec07c6b0fae332cf55e9 | refs/heads/master | 2020-12-19T20:43:02.748605 | 2020-11-07T14:43:50 | 2020-11-07T14:43:50 | 235,846,237 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,205 | cpp | #include "Input.h"
//Define inputs
Input::Input(SDL_Keycode Up, SDL_Keycode Down, SDL_Keycode Left, SDL_Keycode Right, SDL_Keycode Action)
{
KEY_Up = Up;
KEY_Down = Down;
KEY_Left = Left;
KEY_Right = Right;
KEY_Action = Action;
}
void Input::update()
{
//defeine inputs
if (Game::event->type == SDL_KEYDOW... | [
"ask.mariofernandes@gmail.com"
] | ask.mariofernandes@gmail.com |
cd7f1ab2baf44785c4f43b400414a799b1213bda | 6f977d2a16d4b09ad17c3703f345cd8361c76c55 | /Image.cpp | 3dfe6e9ea99c2f5fbd5fc1a183c4fb7ca9bcdcb3 | [
"Unlicense"
] | permissive | mariokonrad/asteroid-flight | c7b47706aea311a7592d6071c25eb01bcfbee8a7 | 8af5776691716d93cb4499a7b8bc116afe8bee94 | refs/heads/master | 2020-09-24T13:16:04.611560 | 2013-07-18T21:40:05 | 2013-07-18T21:40:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 292 | cpp | #include "Image.h"
Image::Image()
: width(0), height(0), data(0)
{}
Image::~Image()
{
if (data) delete [] data;
}
int Image::getWidth()
{
return width;
}
int Image::getHeight()
{
return height;
}
const void * Image::getData()
{
return (const void *)data;
}
| [
"mario.konrad@gmx.net"
] | mario.konrad@gmx.net |
24a5b6c541afbae943ff0226fe62f47579d2df45 | 1f2de43ee1dd0a824f1b38c9587c4cc93965e964 | /s2_clouds/s2_clouds.ino | c096283d731383dfaad29c3f3cb5fc5a965dc742 | [] | no_license | Professor-plum/S2-Rainingshells | 5afd60f0079147c2c85f1698004af461928a5342 | 809b3a01a9be7c0414981be8b2faf8e03495d543 | refs/heads/main | 2023-04-19T23:07:40.873095 | 2021-05-10T18:44:44 | 2021-05-10T18:44:44 | 356,469,197 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 341 | ino |
#define LED 4
void setup() {
pinMode(LED, OUTPUT);
}
void loop() {
for (int i=0; i<3; ++i) {
digitalWrite(LED, HIGH);
delay(50);
digitalWrite(LED, LOW);
delay(50);
}
delay(100);
for (int i=0; i<2; ++i) {
digitalWrite(LED, HIGH);
delay(50);
digitalWrite(LED, LOW);
delay(50);
... | [
"plum@professors-mbp.lan"
] | plum@professors-mbp.lan |
2bc4f8b6c28c4e4bfcb74379b45c4966bf4f1c85 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_repos_basic_block_block_17616.cpp | dd7237290cebc4f44e3cf9a7cb3e01ec393d2c7f | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 377 | cpp | (val[0] == '1' || strcmp(val, "traditional") == 0
|| strcmp(val, "zipcrypt") == 0
|| strcmp(val, "ZipCrypt") == 0) {
if (is_traditional_pkware_encryption_supported()) {
zip->encryption_type = ENCRYPTION_TRADITIONAL;
ret = ARCHIVE_OK;
} else {
archive_set_error(&a->archive,
ARCHIVE_... | [
"993273596@qq.com"
] | 993273596@qq.com |
6a53ea6f62a2a829e3e62f31df2324bee26bee50 | dba5da18f1b9de4c466f32321f75fb8977441e9a | /stl_helpers.h | 8706cfa12027e93e293404949e5bae8c2b72d3e7 | [] | no_license | jon2718/facebull | e6bcfc7190130c2adf038e6849153ed04f86584a | ca549b363b5900b3241c372c24804143bc0be8f5 | refs/heads/master | 2021-01-20T06:22:52.894868 | 2015-02-22T12:54:37 | 2015-02-22T12:54:37 | 31,162,931 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,534 | h | /*
* stl_helpers.h
* containertest
*
* Created by Jon Lederman on 2/18/10.
* Copyright 2010 __MyCompanyName__. All rights reserved.
*
*/
/*
* stl_helpers.cpp
* containertest
*
* Created by Jon Lederman on 2/18/10.
* Copyright 2010 __MyCompanyName__. All rights reserved.
*
*/
#ifndef STL_HELPERS_H... | [
"jon@thesoniccloud.com"
] | jon@thesoniccloud.com |
cd14b271292bf05806548354c86e44cdeb396a4d | 984449ad41455fcf0a2f940d6d6f1de02f30a384 | /cpp/struct_Puzzle.h | 2e53e65135e00c700cb27aa6d6313eac5ed79551 | [] | no_license | ndinhtuan/Procon | 7c339c2c01ec27df8c59facc513297a4ab0046d3 | 3328fcc97b54fd4f20e83d0ed8a4eaf928c1b569 | refs/heads/master | 2021-06-19T05:47:27.153885 | 2017-07-16T10:53:33 | 2017-07-16T10:53:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,245 | h | #ifndef PUZZLE_H
#define PUZZLE_H
#include <cmath>
#include <cstdio>
#include "struct_Dot.h"
#include <iostream>
using std::endl;
using std::cout;
#include <iomanip>
using std::setw;
#include <ostream>
using std::ostream;
struct Puzzle {
// Puzzle id
int id;
// Number of vertices
int num_of_vertices;
//... | [
"theiron1997@gmail.com"
] | theiron1997@gmail.com |
c4db44d1eb5e90b02ba3181e1f5746b719db51f6 | 225b5418e49c71f7a4c3781f427265d41b89e885 | /TactonicDLLPlugin/TactonicCode/SimpleDLL/ExportInt.cpp | b1d347d145615ac8429eeca55ea861377f90686e | [] | no_license | snowymo/TactonicPlugin | 3e5ef5264863e9b97e31405b841557679ce466b3 | 0c970975d1104312bd1aaa812b19f110b41ef235 | refs/heads/master | 2021-01-10T03:37:31.454135 | 2016-02-10T22:09:51 | 2016-02-10T22:09:51 | 46,545,860 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 258 | cpp | #define EXPORTBUILD_INT
#include "ExportInt.h"
extern "C" int _DLLExport getInt()
{
MYINT myInt;
return myInt.getInt(1,2);
}
extern "C" bool _DLLExport getPressDown(int index)
{
//return false;
return TactonicDLL::getInstance()->getPressDown(index);
} | [
"snowymohehe@gmail.com"
] | snowymohehe@gmail.com |
cd9fa76c478c99f7592ddc6294b753934044c520 | 9d54a9e8a968a342246eedfbd33f0c468c648fc0 | /src/sort/QuickSort.cpp | c9d139b8bb46ad4cb7f4aa57ad0da4ea7a63410b | [] | no_license | Tan-Jerry/algorithm | 206904c1d0281a16fe72bea20248551de8f710e2 | 3e08b87a2333fca554468b8f8f6dc6afe047279b | refs/heads/master | 2023-08-17T09:58:05.134921 | 2021-09-25T14:45:50 | 2021-09-25T14:45:50 | 391,384,782 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,694 | cpp | #include <stack>
#include "../../include/sort.hpp"
using namespace std;
int partition(int arr[], int left, int right)
{
int value = arr[left];
while (left < right)
{
while (left < right && arr[right] >= value)
{
right--;
}
if (left < right)
{
... | [
"tp8810@126.com"
] | tp8810@126.com |
8f4bc67f437eba96fb28edeab048c026e8c59d25 | fb3f6f6f6acd2abdee8f4a2e4e68e67153cef415 | /src/gdcmValidator.h | 9366f62a5160f70920d99167465be90ce0f1975c | [] | no_license | burlen/PVGdcm | e70840223e133ed568fd3df033cf32a159e7aeda | 398a3537e47a6a4cfd9667919a6be80d2b34266c | refs/heads/master | 2016-09-11T12:52:22.434408 | 2014-09-09T07:02:44 | 2014-09-09T07:02:44 | 23,822,589 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,327 | h | /*=========================================================================
Program: gdcm
Module: $RCSfile: gdcmValidator.h,v $
Language: C++
Date: $Date: 2007/08/22 16:14:05 $
Version: $Revision: 1.7 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image)... | [
"bloring@lbl.gov"
] | bloring@lbl.gov |
1fbadff59818a1747534ee05318a5e297a320c62 | 5b37006c499d8193c17666be28ec42e764ef6544 | /[SERVER] Field calculation/data.h | 435fbf25b238a5b2e19ef5ef2a27f4887ac44407 | [] | no_license | lisitsynSA/indoor-navigation | 2ca5db3c2754cb42f3cac263243cd5365b507b1a | d8bda58ee93b010ec73a9386a094c490d6b926a1 | refs/heads/master | 2023-03-20T02:59:40.276864 | 2023-03-12T16:53:31 | 2023-03-12T16:53:31 | 113,970,656 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,861 | h | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Data Visualization module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:GPL$
** Commercial License Usage
** Licensees holding... | [
"fox9508@ya.ru"
] | fox9508@ya.ru |
5124673dae694836c399dd6a11a1fff12b7dc093 | af6e2dd008a4be2ab50edd44de21fbb1f84aeeb3 | /Challenge15/Challenge15.cpp | 8c212b74c6b9e3fb2188fe55b5a241b3c45f2419 | [] | no_license | kacredolo/AoC_2016 | 87c1477d71b71a939f788dff0995948669fd989e | c99a06364996334371c2d5119bea1d76dc76c51b | refs/heads/master | 2021-09-01T18:39:40.176102 | 2017-12-28T08:36:59 | 2017-12-28T08:36:59 | 115,600,202 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,010 | cpp | /*
Note: Nice and easy to code, but the instructions were confusing as hell. Discs going up? Down? Spinning?
Capsule going up? Down? Are slots good things? Bouncing?
Rank
Part 1: 268
Part 2: 258
--- Day 15: Timing is Everything ---
The halls open into an interior plaza containing a large kinetic sculpture. The sculp... | [
"xteln@hotmail.com"
] | xteln@hotmail.com |
743a42411efc85907f36c819cf1a744611db0ba9 | aa437e2c336023181b808c63b1fe132ac76000d6 | /Sources/Detection/KinectViewer/main.cpp | 4719157bf2e12b230e3ba5925cfa443e2bb844d7 | [] | no_license | KTHHCID/KinectTouch-1 | b5f0765ea6fec8a3c3fcfd4010d15fd6a161944d | 825393db1508d06fd0816ed4c8b3b9415b0ebff3 | refs/heads/master | 2020-12-28T22:53:14.463400 | 2014-01-30T17:16:55 | 2014-01-30T17:16:55 | 59,097,418 | 1 | 0 | null | 2016-05-18T08:38:10 | 2016-05-18T08:38:09 | null | UTF-8 | C++ | false | false | 6,724 | cpp | #include <libfreenect.hpp>
#include <pthread.h>
#include <stdio.h>
#include <iostream>
#include <string.h>
#include <cmath>
#include <vector>
#include <GL/glut.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <list>
#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>
#include <SDL/SDL.h>
class coords
{
public :
... | [
"lukes3315@github.com"
] | lukes3315@github.com |
1c8c8bbd9d10f95b8fd07058a692a6cf15e3c8b3 | 7481cd579dbd72999141a2533cfab5414a9af059 | /src/environment/components/physics_shapes.h | 46d4d525b987232a50027ed6fcf49958d66702f2 | [] | no_license | Omegastick/bots | 36d9c99ede06aed54fc66b6a8bc0b493924e3c34 | 25342bbeec18c228bd1ec5350573a1e4bee11337 | refs/heads/master | 2022-04-13T20:36:46.847747 | 2020-04-14T12:09:07 | 2020-04-14T12:09:07 | 150,558,810 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 156 | h | #pragma once
#include <entt/entity/entity.hpp>
namespace ai
{
struct PhysicsShapes
{
unsigned int count = 0;
entt::entity first = entt::null;
};
} | [
"omegastick@hotmail.co.uk"
] | omegastick@hotmail.co.uk |
07276001e1cce0270e6c78621e1fd7df84eafdd8 | a1c6c3e5dbee5e8ca705700f0a626d7c9a040e1b | /Two Pointers/209 Minimum Size Subarray Sum/main.cpp | 589a83fdae1ca47c992d0b6b343cb9544506e6a2 | [] | no_license | Novak666/leetcode | 00370458c3931eb2f29158232b8a397b5386a852 | aac04bdfb38794e6b9007a7a72ae0d50b459601d | refs/heads/master | 2021-07-05T17:56:19.309548 | 2019-03-13T02:07:12 | 2019-03-13T02:07:12 | 145,187,953 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 869 | cpp | #include <iostream>
using namespace std;
class Solution {
public:
int minSubArrayLen(int s, vector<int>& nums) {
int len = 0;
int p = 0, sum = 0;
int i = 0;
for(; i < nums.size(); i++){
sum += nums[i];
if(sum >= s){
while(sum - nums[p] >= s){... | [
"huweiyu2008@163.com"
] | huweiyu2008@163.com |
d08395856eb25eaa0fe61ca34d32c76d0f903c25 | 494e7b10a6b86b08af71915231a90e855bc04432 | /av/media/libmediaplayerservice/nuplayer/NuPlayer.cpp | 5643ae292787c794893f90cce507c567337f2256 | [
"LicenseRef-scancode-unicode",
"Apache-2.0"
] | permissive | dandycheung/work | a1726c9405e82a9283c162a50b88e5baa0c68cc3 | d126fd4ba70d0a7fd0f01b07f6c9181c84cb2522 | refs/heads/master | 2022-04-01T02:27:39.940579 | 2017-04-11T09:40:03 | 2017-04-11T09:40:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 103,679 | cpp | /*
* Copyright (C) 2010 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... | [
"fengjiang.li@reacheng.com"
] | fengjiang.li@reacheng.com |
122d2a34eaf3b81d6de8c55c01bcec5263058899 | db55149ae31b9826d739ca3dc0f13bc36dde0d1a | /Samples/Entity/Systems/EntityRenderSystem.h | f3311e6c6ee892c43592d2b5cb0b45a3c96be008 | [] | no_license | jared-two-foxes/Nebulous | 608a97d5111fe14c743f5495ca1a87a3aa4a7ece | b2330ca28c8eaa509e4d94409f1658a27d7a5a9e | refs/heads/master | 2021-01-23T02:34:45.520973 | 2017-06-08T04:46:05 | 2017-06-08T04:46:05 | 86,006,022 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,402 | h | #ifndef SAMPLE_WORLDRENDERSYSTEM_H__
#define SAMPLE_WORLDRENDERSYSTEM_H__
#include <Nebulae/Common/Common.h>
namespace Nebulae {
class Camera;
class Material;
class RenderSystem;
class SceneGraph;
class SceneNode;
class SpriteAtlasManager;
}
namespace Sample
{
class Entity;
class EntityRenderSystem
///... | [
"jared@rushdigital.co.nz"
] | jared@rushdigital.co.nz |
ba327f7af62572c4ad43cdefa782c86746124c9d | 2b19dea08e98026c84c971b646ec98cd119920b5 | /vxsim/unldLib.cpp | e0ed11144b8b6249710d955e4b43650ccf8965a4 | [] | no_license | jwhite66/jpw-wpilib | a6fc57884985ba0276b7dd61218cdaf0f36cf5e9 | 9a82b5c33bd847f05d1acc0b7076529908871547 | refs/heads/master | 2021-01-04T14:18:54.737408 | 2012-12-15T16:16:44 | 2012-12-15T16:16:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 135 | cpp | #include "moduleLib.h"
#include "unldLib.h"
#include <stdio.h>
STATUS unldByModuleId(MODULE_ID moduleId, int options)
{
UN_ERROR
}
| [
"jwhite@codeweavers.com"
] | jwhite@codeweavers.com |
57ecbeacec4b8332f18b3ce558c5381ee78d788f | 5770865c15be311175a952bd1c87159e1852420e | /Ugly Number.cpp | a0dc92c7651c663bdfa1e3a6c101b08309558494 | [] | no_license | gy910210/LeetCode | 9350733c631a26814abd184fddec61d873fc143e | fe3a322d2beb597bbbe29d1966b4297f4bd744b5 | refs/heads/master | 2022-09-29T08:37:56.779399 | 2016-07-21T12:11:40 | 2016-07-21T12:11:40 | 25,451,374 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 335 | cpp | bool isUgly(int num) {
if (num == 0) {
return false;
}
while (num != 1) {
if (num % 2 == 0) {
num /= 2;
} else if (num % 3 == 0) {
num /= 3;
} else if (num % 5 == 0) {
num /= 5;
} else {
return false;
}
}
... | [
"gy910210@gmail.com"
] | gy910210@gmail.com |
cc7b8b97ea8d119314e7e804dbfcedbe98b6ed91 | 82b9cafe4518ea76addc4d179c74891b8abcc560 | /SDL/Tutorial_SDL_Game_Framework_Series/originSource/SDL Tutorial 1/CApp.h | 446c9817662df1e5d9eab3e1f133222e64dcca6d | [] | no_license | shileiz/notes | 71762d197f7a1a875664e8f29e0ab198a5ff6ff4 | 8c68a80d13902bea2e584819a63e5344a833b44c | refs/heads/master | 2020-04-04T06:15:37.626895 | 2018-01-23T13:34:44 | 2018-01-23T13:34:44 | 49,873,409 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 718 | h | //==============================================================================
// SDL Tutorial 1
//==============================================================================
#ifndef _CAPP_H_
#define _CAPP_H_
#include <SDL.h>
//==============================================================================
cl... | [
"zslisnotzsl@gmail.com"
] | zslisnotzsl@gmail.com |
22a1b2d9bd89e96344a8a9758f59f1ff480bf4cb | 866fc3b2b2d6b57bc050d7dfc07a8a5283558fad | /project5/an_uncertainty_planner/src/pathPlanning.cpp | 2bcaceee22e38a60cd05f50925991e4ecdbe569d | [] | no_license | sovermind/selfDrivingCar | 9b4b317c201375b0fca3ba52e66950bab2cf1a24 | 6961d0a121ff319ad66a29a31c1cce9a08c99569 | refs/heads/master | 2020-03-19T23:40:15.211388 | 2018-07-01T20:59:14 | 2018-07-01T20:59:14 | 137,014,916 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,934 | cpp | #include "an_uncertainty_planner/pathPlanning.h"
using namespace std;
void constructGlobalMap(double total_w, double total_l, double left_Edge, double right_Edge, const double cell_size) {
int total_col = (int)(total_l/cell_size) + 1;
int total_row = (int)(total_w/cell_size);
for (int i = 0; i < total_row; i++) {... | [
"sovermind11@gmail.com"
] | sovermind11@gmail.com |
cb8402e5a779386c74b4619fadb495e9561bd14c | ee341d52015d9895b3cff2590bc78871f43f2d7b | /2DPhysicsDemo/2DPhysicsDemo/Line.cpp | 180f590136f6de80f34e823dc4da793fa7f5528f | [] | no_license | jackball2008/ACW | 24fa77586c316ad836c975d44c2a3432e9a34287 | 427450c888e0a4fc7e758bebaabd522e20bd99e2 | refs/heads/master | 2021-01-19T08:11:27.205779 | 2012-05-22T16:18:42 | 2012-05-22T16:18:42 | 2,802,051 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 527 | cpp | #include "Line.h"
Line::Line(void)
{
//initialize
for(int i=0;i<2;i++)
{
YPoint p;
points.push_back(p);
}
type = 1;
mass = 0.0f;
}
Line::~Line(void)
{
}
//thread safe, need to be update later
// void Line::SetData(const Point& p1,const Point& p2,const Point& p3,const Point& p4,const Point& mid){
/... | [
"maxiaoyuzdz@gmail.com"
] | maxiaoyuzdz@gmail.com |
4528b77ba6a2f3438a1ce98cdfdb5d7475604a4c | 30b732e75204a6a3b837123bec151272256440f4 | /demo/crypto/aes/base64.cpp | e759304179fdc4f88e0bd1d0482d5962e5a620cc | [] | no_license | ztenv/linux | e1374db51010ddae378b5f9305c4f07ca5e90a45 | a593994e65a5440af427b91612dd3a0e12c82b3c | refs/heads/master | 2022-03-10T19:53:56.870459 | 2022-02-18T08:08:49 | 2022-02-18T08:08:49 | 50,089,405 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,684 | cpp | #include "base64.h"
static const char kBase64Alphabet[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
/*static*/bool Base64Util::Encode(const std::string &in, std::string *out)
{
int i = 0, j = 0;
size_t enc_len = 0;
unsigned char a3[3];
unsigned char a4[4];
out->... | [
"shaohua.lian@xuncetech.com"
] | shaohua.lian@xuncetech.com |
96df9a1325c3815b05e44ea5975c78fbd27a4cb5 | 1a93a3b56dc2d54ffe3ee344716654888b0af777 | /env/Library/include/qt/QtDesigner/5.12.9/QtDesigner/private/qdesigner_command_p.h | 98eda4669f45fb842de95367da03c014ca973851 | [
"Python-2.0",
"LicenseRef-scancode-python-cwi",
"GPL-1.0-or-later",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause",
"0BSD",
"LicenseRef-scancode-free-unknown",
"GPL-3.0-only",
"GPL-2.0-only"
] | permissive | h4vlik/TF2_OD_BRE | ecdf6b49b0016407007a1a049f0fdb952d58cbac | 54643b6e8e9d76847329b1dbda69efa1c7ae3e72 | refs/heads/master | 2023-04-09T16:05:27.658169 | 2021-02-22T14:59:07 | 2021-02-22T14:59:07 | 327,001,911 | 0 | 0 | BSD-3-Clause | 2021-02-22T14:59:08 | 2021-01-05T13:08:03 | null | UTF-8 | C++ | false | false | 30,171 | h | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Designer of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:GPL-EXCEPT$
** Commercial License Usage
** Licensees holding valid com... | [
"martin.cernil@ysoft.com"
] | martin.cernil@ysoft.com |
97dfbef42983e40aee40f99651dda92c8b747ad0 | 067f8fd426a9b40fe0468d78fcd62d3cdb47fd49 | /net/mod_ThreadPool.h | 0317227f642003f0f4ddf1ecc057755345e844a2 | [] | no_license | zhoukekestar/MobileLife | ffc5e663453a1557ef886a1ce763c40f29d2481f | 12ad1c80bf7d4633678834ea1a2ab64ab3d9fd10 | refs/heads/master | 2020-06-05T10:20:41.472508 | 2015-04-13T07:11:44 | 2015-04-13T07:11:44 | 23,275,219 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,357 | h | #include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <iostream>
#include <sstream>
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <string.h>
#include ... | [
"zkk@5108-PC-ZKK"
] | zkk@5108-PC-ZKK |
38cd2ea83dca1c34576b2eb041b2a3ac83b0501f | 28d25f81c33fe772a6d5f740a1b36b8c8ba854b8 | /ACPC 20' Kickoff/B/main.cpp | c67e62aab3d02e8b9d32002ba7834b997d976497 | [] | no_license | ahmedibrahim404/CompetitiveProgramming | b59dcfef250818fb9f34797e432a75ef1507578e | 7473064433f92ac8cf821b3b1d5cd2810f81c4ad | refs/heads/master | 2021-12-26T01:18:35.882467 | 2021-11-11T20:43:08 | 2021-11-11T20:43:08 | 148,578,163 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 237 | cpp | #include <iostream>
using namespace std;
int t, a, b;
int main(){
freopen("students.in","r", stdin);
scanf("%d",&t);
while(t--){
scanf("%d%d",&a,&b);
printf("%d\n", a-b);
}
return 0;
}
| [
"ahmedie20022011@gmail.com"
] | ahmedie20022011@gmail.com |
f7efe729f0ba56b24d215ae027ab5adde2915b03 | 1273bc1d858ff385387019f6622c3093a6bd8625 | /cssstandards/css-regions-minibrowser/MiniBrowser.app/Contents/Frameworks/WebCore.framework/privateheaders/CSSPrimitiveValue.h | 1d41ab7dc7aa2eec635830770b8e47fb84d5b8b3 | [
"MIT"
] | permissive | tpryan/CreateTheWebTourDemos | a6a1215704912b8e952defa425401c968a4654bb | 3fab62261dcad76c78b84ccb3cb00a8169e88c76 | refs/heads/master | 2016-09-06T14:21:14.016219 | 2013-07-09T20:40:17 | 2013-07-09T20:40:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,042 | h | /*
* (C) 1999-2003 Lars Knoll (knoll@kde.org)
* Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved.
* Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
* Copyright (C) 2011 Adobe Systems Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it ... | [
"terry@terrenceryan.com"
] | terry@terrenceryan.com |
717c53989b87a9a9e0d3fb8a7c5adbaae5e0631b | f1ca00e02b91c576bb979b596ccca5be2c1463ac | /STFramework/base/STWaiter.cpp | 5d0ac59aa0f70eca8080a5c153c98ba0dcdf327a | [] | no_license | StoneFrameworkTeam/StoneFramework | 807c077fab54f99dd9646ebb354704fcfe8b68db | a07b4dee496d2cff2a31ea3d86e9a4f86dc1fe4b | refs/heads/master | 2018-12-28T23:03:06.922725 | 2016-02-22T03:24:56 | 2016-02-22T03:24:56 | 33,159,655 | 2 | 3 | null | 2016-02-22T03:24:56 | 2015-03-31T02:14:52 | C++ | UTF-8 | C++ | false | false | 1,372 | cpp | #include <fcntl.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#include <semaphore.h>
#include <time.h>
#include <errno.h>
#include <signal.h>
#include "base/STWaiter.h"
//STWaiter
class STWaiter::PrivateData
{
public:
sem_t semId;
PrivateData()
{
if ( sem_init (&semId, 0, ... | [
"wangl@wangl-desktop.(none)"
] | wangl@wangl-desktop.(none) |
210b55b193f5a9be380707338dc3a35029d8d6d5 | 1cc631c61d85076c192a6946acb35d804f0620e4 | /Source/xfx_core/python/generated/Vec2.pypp.hpp | e086b3ffc5e4b7076cdb596d156cc976ee8ab563 | [] | no_license | reven86/dreamfarmgdk | f9746e1c0e701f243c7dd2f14394970cc47346d9 | 4d5c26701bf05e89eef56ddd4553814aa6b0e770 | refs/heads/master | 2021-01-19T00:58:04.259208 | 2016-10-04T21:29:28 | 2016-10-04T21:33:10 | 906,953 | 2 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 191 | hpp | // This file has been generated by Py++.
#ifndef Vec2_hpp__pyplusplus_wrapper
#define Vec2_hpp__pyplusplus_wrapper
void register_Vec2_class();
#endif//Vec2_hpp__pyplusplus_wrapper
| [
"reven86@gmail.com"
] | reven86@gmail.com |
5f68e7900e3bd06bbaa977a3a1cb4ad331560a4a | 1aab0fd35f6f89ee17769ab69004075855c68c6d | /src/net/Client.h | 7018b3cdb3a378f52ca054d6f46d946233b3cba8 | [
"MIT"
] | permissive | ioschina/ulordrig | fa301d02da9a09235ddcff2f405c9920370bba40 | 7eeb2156b8762ac8519fc6ddfe4425a2f1014cd4 | refs/heads/master | 2020-03-19T11:03:55.101932 | 2018-06-04T09:35:30 | 2018-06-04T09:35:30 | 136,426,809 | 1 | 0 | MIT | 2018-06-07T05:37:33 | 2018-06-07T05:37:33 | null | UTF-8 | C++ | false | false | 4,712 | h | /* UlordRig
* Copyright 2010 Jeff Garzik <jgarzik@pobox.com>
* Copyright 2012-2014 pooler <pooler@litecoinpool.org>
* Copyright 2014 Lucas Jones <https://github.com/lucasjones>
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
* Copyright 2016 Jay D Dee <jayddee246@gmail.com>
... | [
"jxinhu17@gmail.com"
] | jxinhu17@gmail.com |
a6a93eecd0c119768e7578161d5e83083a051023 | 864537975d5712526628720dae6745402dcbc863 | /src/2d/entities/TileGrid.cpp | 1645c2acba29809686b4f2974510ac9fe11a3581 | [] | no_license | gillesboisson/cppgllearn | 72077e973d383b01f331a0b5edf5527d399abf47 | 2c11fd57c4768071d16555d2a1c7238abdb18aa5 | refs/heads/master | 2022-02-02T10:21:15.246199 | 2019-08-08T15:33:40 | 2019-08-08T15:33:40 | 184,241,748 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,035 | cpp | //
// Created by Gilles Boisson on 2019-05-31.
//
#include "TileGrid.h"
#import "../core/Camera2D.h"
TileGrid::TileGrid(
uint32_t nbTileX,
uint32_t nbTileY,
float tileWidth,
float tileHeight,
uint16_t *gridData,
std::vector<SubTexture*> tileSet,
Camera2D* camera
) : Entity2D() {
... | [
"gilles@dotify.fr"
] | gilles@dotify.fr |
625089d229313d7ee5e1600167fbd20fcf76b3c3 | 0dff288674da6d683519ecec0ab05d617a9cc17d | /tests/ThreadPool.cpp | 89919e0ea9a4da422d81a75dd1a3ffe564332e26 | [
"BSD-2-Clause"
] | permissive | fjkfwz/sqlpp11 | 5f4f42ff6d3b250139e236477d1f8e303ef3b207 | e1b500a1fb5258776cfb28238312718a32df6fd6 | refs/heads/develop | 2020-04-02T22:10:50.639531 | 2018-11-02T04:04:46 | 2018-11-02T04:04:46 | 154,824,155 | 0 | 0 | BSD-2-Clause | 2018-11-02T04:04:47 | 2018-10-26T11:28:54 | C++ | UTF-8 | C++ | false | false | 1,536 | cpp | #include <sqlpp11/thread_pool.h>
#include <cassert>
#include <iostream>
int ThreadPool(int /*argc*/, char** /*argv*/)
{
auto& pool = sqlpp::detail::thread_pool;
std::cout << "enqueue sleep(100ms)\n";
pool.enqueue([](){std::this_thread::sleep_for(std::chrono::milliseconds{100});});
std::cout << "enqueue sleep(100ms... | [
"erroneous@gmail.com"
] | erroneous@gmail.com |
e3d5f716146e32520af6137214d013b694b85260 | 50baf46a384bae0c291aee25428cb1b180a4ba5f | /android/AndroidChordino/app/src/main/cpp/formats.cpp | 75b1bff6ac8c31ebb69ce16f0f75bc505c187b01 | [
"Apache-2.0"
] | permissive | LightSun/research-institute | 9c84b5e6bb3005614cc923007ef436c621d33190 | 48eb3500a00b69bca78242fd648cc1f818b394b0 | refs/heads/master | 2021-05-15T00:24:18.066470 | 2019-09-07T07:35:29 | 2019-09-07T07:35:29 | 103,363,180 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 953 | cpp | //
// Created by Administrator on 2019/7/11.
//
#include <sstream>
#include "formats.h"
#include "string"
#include "sndmedia.h"
#include "lame_chordino.h"
#include "mp3ext/mp3_upperlayyer.h"
MediaFormat* createSndMediaFormat(){
MediaFormat* mf = new MediaFormat();
mf->formats[0] = "wav";
mf->formatCount ... | [
"978136772@qq.com"
] | 978136772@qq.com |
ab314e723c55399379a2538cd212350399a7d29f | 5e01d522db67e4a6d63eda4149e99500f474f277 | /examples/serialport/cenumerator/main.cpp | 1daab8d236f81548b22403fdde77291d7702ecd2 | [] | no_license | wangqian2528/Qt5.15_example | 43aa21a1baec9db18104280852ea6c06f71af556 | 8e9505c388ba3eead1a3d5561c0dfb27428e0a5c | refs/heads/master | 2023-03-17T13:33:07.158782 | 2021-03-01T14:05:21 | 2021-03-01T14:05:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,211 | cpp | /****************************************************************************
**
** Copyright (C) 2012 Laszlo Papp <lpapp@kde.org>
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtSerialPort module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** Commercial License Usage
** Licensees... | [
"koda.xu@sigmastar.com.cn"
] | koda.xu@sigmastar.com.cn |
65ea8fdf1de9ff050168f4e05f39644b2b3df6c8 | 5cf04a4324110ace538302aaa8484a05f09f0d9c | /Sourcecode/mx/core/elements/Opus.h | 1e6c3c133cc4def66d2fe63426c2270d978a26bd | [
"MIT"
] | permissive | jsj2008/MusicXML-Class-Library | ebce53a1d1fea280141c84b62b232c3395ad0eb6 | 079c4b87835cc9942c052571d7ee3ebfdb91fa31 | refs/heads/master | 2020-05-31T16:05:09.402234 | 2017-03-10T23:02:09 | 2017-03-10T23:02:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,250 | h | // MusicXML Class Library
// Copyright (c) by Matthew James Briggs
// Distributed under the MIT License
#pragma once
#include "mx/core/ForwardDeclare.h"
#include "mx/core/ElementInterface.h"
#include "mx/core/elements/OpusAttributes.h"
#include <iosfwd>
#include <memory>
#include <vector>
namespace mx
{
namespa... | [
"matthew.james.briggs@gmail.com"
] | matthew.james.briggs@gmail.com |
ea43b07bbe7742aa4c5ed180941896830169c782 | d84967ba1e6adc72e120f84524c51ad57912df5a | /devel/electron10/files/patch-gpu_ipc_common_gpu__memory__buffer__support.h | e8b884d68a9839f61ca9371544102103d71ffc2c | [] | no_license | tagattie/FreeBSD-Electron | f191d03c067d03ad3007e7748de905da06ba67f9 | af26f766e772bb04db5eb95148ee071101301e4e | refs/heads/master | 2023-09-04T10:56:17.446818 | 2023-09-04T09:03:11 | 2023-09-04T09:03:11 | 176,520,396 | 73 | 9 | null | 2023-08-31T03:29:16 | 2019-03-19T13:41:20 | C++ | UTF-8 | C++ | false | false | 1,165 | h | --- gpu/ipc/common/gpu_memory_buffer_support.h.orig 2020-09-21 18:39:18 UTC
+++ gpu/ipc/common/gpu_memory_buffer_support.h
@@ -16,7 +16,7 @@
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/gpu_memory_buffer.h"
-#if defined(OS_LINUX) || defined(USE_OZONE)
+#if defined(OS_LINUX) || defined(OS_BSD) || defined(USE_O... | [
"tagattie@gmail.com"
] | tagattie@gmail.com |
91ee898c2c4c5bb9c96d4cf4fa20f945e3fea136 | 950b506e3f8fd978f076a5b9a3a950f6f4d5607b | /camps/innopolis-2016-march/day1/C.cpp | 6643e5d51f9e33edcd47b9b26c80ad93bbc1bbbf | [] | no_license | Mityai/contests | 2e130ebb8d4280b82e7e017037fc983063228931 | 5b406b2a94cc487b0c71cb10386d1b89afd1e143 | refs/heads/master | 2021-01-09T06:09:17.441079 | 2019-01-19T12:47:20 | 2019-01-19T12:47:20 | 80,909,953 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 979 | cpp | #include <bits/stdc++.h>
#define fi first
#define se second
using namespace std;
int main() {
freopen("stones.dat", "r", stdin);
freopen("stones.sol", "w", stdout);
int n, m;
scanf("%d%d", &n, &m);
set< pair<int, int> > mins;
vector< set<int> > all(m);
for (int i = 0; i < n; i++) {
... | [
"dimaz1301@gmail.com"
] | dimaz1301@gmail.com |
2b3afb639f6c4d5cc28e32edfcb084515f5bb76d | a0996c02afa2131b854cdb89ee4ad1800fb268c9 | /src/experiment/CogFx.cpp | 447777ca136467ae411ab9f0165a881b588c272f | [
"MIT"
] | permissive | Zhuguoping/dv2549 | 581326883e63a30c816284c47f48349a2725717a | 1a3d8664f15aa82c37ee26a7b1c0a2b34d36837c | refs/heads/master | 2021-04-15T13:28:48.094363 | 2014-09-14T07:30:04 | 2014-09-14T07:30:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,076 | cpp | #include <stdafx.h>
#include <CogFx.h>
#include <FxCs.h>
CogFx::CogFx( ExperimentConf p_conf ) {
m_conf = p_conf;
m_mult = nullptr;
}
CogFx::~CogFx() {
ASSERT_DELETE( m_mult );
}
HRESULT CogFx::init( ID3D11Device* p_device ) {
return initMult( p_device );;
}
Fx* CogFx::getKernel() const {
return m_mult;
}
H... | [
"CaterHatterPillar@gmail.com"
] | CaterHatterPillar@gmail.com |
4be90d6787564a2832259f555a9e18d51139ca2c | 9f4e642aaed23871fc49f5c1aee864b53f90a7ac | /include/cont/handle/ValueComparison.h | 0b6a2ab07aeb1d51a924bbb95536a0c51bfca1af | [
"MIT"
] | permissive | AnantaYudica/simple | beeac79afa75e4c9d010a53e28cf11faae3d91f6 | 10d65716f2d1102f07deb14ddfd16223eb264f21 | refs/heads/master | 2021-09-15T10:35:49.509068 | 2018-05-30T19:41:12 | 2018-05-30T19:41:12 | 116,154,389 | 0 | 0 | null | 2018-05-03T10:03:00 | 2018-01-03T15:48:41 | null | UTF-8 | C++ | false | false | 8,387 | h | #ifndef CONTAINER_HANDLE_VALUE_COMPARISON_H_
#define CONTAINER_HANDLE_VALUE_COMPARISON_H_
#include <type_traits>
#include <functional>
#include <cassert>
#include "../../IdentifierConstant.h"
#include "../../id_const/Validation.h"
#include "../../Handle.h"
#include "../../type/Switch.h"
namespace simple
... | [
"nta040689@gmail.com"
] | nta040689@gmail.com |
723c2741ce755c2fecf9475494109a848f087c1c | 17469b51c1ea73628185388eb88b860972b971a4 | /IntegratorADB6.h | 605e69f0383726be3dbb145094d6558fb71a2711 | [] | no_license | fantasydr/Barnes-Hut-Simulator | 8774a9c8e387a857d71800ba0110848a29309640 | 086d21e292dcf0bc77b5c6a80dc95444a2a3a68e | refs/heads/master | 2022-11-16T21:22:55.595679 | 2020-06-20T00:10:38 | 2020-06-20T00:10:38 | 280,622,428 | 0 | 0 | null | 2020-07-18T09:16:54 | 2020-07-18T09:16:53 | null | UTF-8 | C++ | false | false | 701 | h | /*
* File: integratorheun.h
* Author: user
*
* Created on 3. Mai 2009, 23:40
*/
#ifndef _INTEGRATOR_ADB6_H
#define _INTEGRATOR_ADB6_H
#include "IIntegrator.h"
//------------------------------------------------------------------------------
/** \brief Inplementation of the simple Euler integration scheme. */... | [
"git_repo_20150124@beltoforion.de"
] | git_repo_20150124@beltoforion.de |
a0a27cce00ba2c2287d808798b3f054eb524502e | 3e30e92504a68a0b5d5177c288eed3305328bd47 | /cov.hpp | 7a8d1fdd1a846847934610fb798da537760fa91d | [] | no_license | ots22/gp-gpu | 67b2849f32dabce55f51021070118310dcf7083f | af6d3b4e5f089ba7fa66b846d3ffdeeea9d0e551 | refs/heads/master | 2022-02-01T14:25:29.443126 | 2019-08-22T09:49:53 | 2019-08-22T09:49:53 | 116,247,318 | 8 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 178 | hpp | #ifndef COV_HPP
#define COV_HPP
// squared exponential covariance function
#include <armadillo>
using arma::vec;
double cov(int n, int m, vec x, vec y, vec hypers);
#endif
| [
"ostrickson@turing.ac.uk"
] | ostrickson@turing.ac.uk |
757529887eb777aec75bc4f8be7e9d6dfdf112cd | 7212a8634d428416fbcadccd76339b5b21fbcb25 | /2dRPG/CameraHandler.hpp | e677fb0b0d8a4820334b9eabf97857d55c8c67c9 | [] | no_license | TastyInc/2dRPG | f46e43485e972eec97753dd3af0bd1c988301657 | 3a4884c73824cf2b94fab9ab31441b2dd2e0f98f | refs/heads/master | 2020-03-19T16:44:10.679018 | 2018-07-25T19:50:33 | 2018-07-25T19:50:33 | 136,727,861 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 775 | hpp | #pragma once
#include "Vector2D.hpp"
#include "Vector2DInt.hpp"
#include "SDL.h"
class CameraHandler {
public:
SDL_Rect camera;
CameraHandler(int x, int y, int h, int w) {
camera.h = h;
camera.w = w;
camera.x = x;
camera.y = y;
}
~CameraHandler() {
}
void cameraShake(int x, int y) {
}
void updat... | [
"freshtoasty@gmx.ch"
] | freshtoasty@gmx.ch |
184eca47302d0ce0196f3caadc88325dc42669db | c993c12106ca3e5a97ea50de4d7eeb91804913ba | /raindrops/raindrops.h | 54bd40e67230c9cc5a3489bfbf892b5843a8fe4f | [] | no_license | MaxyMoos/exercism_cpp | a7085354d883a5ba515a4e35008aaa538a71cb1a | 88c7dcaa255321972b2474c1f185a9e0755cba5d | refs/heads/master | 2016-08-12T17:13:42.141225 | 2016-01-15T09:20:36 | 2016-01-15T09:20:36 | 49,665,464 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 130 | h | #ifndef RAINDROPS_H_
#define RAINDROPS_H_
#include <string>
namespace raindrops
{
std::string convert(int number);
}
#endif | [
"ohouiduspam@gmail.com"
] | ohouiduspam@gmail.com |
9bbf607b07526474bca4baeaddd327a5887e392d | 5871c6c717aac69e049b88278181b884b6c736d4 | /StudyNotes/Lang Collection/Objective-C/10-RunLoop/10-RunLoop/runloop.cpp | 93995914fa018dba314fbb01498b37f99add6258 | [
"MIT"
] | permissive | coderZsq/coderZsq.practice.native | f33c03b4d3a35581b28ec3e188a7625f9b8de910 | e44dd6e50b794b66218f0a706d3dd3cda5142525 | refs/heads/master | 2023-08-09T02:24:23.477843 | 2023-08-08T14:11:25 | 2023-08-08T14:11:25 | 87,806,175 | 44 | 7 | MIT | 2023-08-10T06:42:08 | 2017-04-10T12:06:35 | Swift | UTF-8 | C++ | false | false | 19,099 | cpp | //
// runloop.cpp
// 10-RunLoop
//
// Created by 朱双泉 on 2019/5/16.
// Copyright © 2019 Castie!. All rights reserved.
//
#include <stdio.h>
static Boolean __CFRunLoopServiceMachPort(mach_port_name_t port, mach_msg_header_t **buffer, size_t buffer_size, mach_port_t *livePort, mach_msg_timeout_t timeout, voucher_mac... | [
"a13701777868@yahoo.com"
] | a13701777868@yahoo.com |
a784b294cd939d04f0cb6e1efb111a36ce863a47 | fe2836176ca940977734312801f647c12e32a297 | /NCPC/2018/b.cpp | 40d0117a2c81531641561016206b07fef65c66b6 | [] | no_license | henrybear327/Sandbox | ef26d96bc5cbcdc1ce04bf507e19212ca3ceb064 | d77627dd713035ab89c755a515da95ecb1b1121b | refs/heads/master | 2022-12-25T16:11:03.363028 | 2022-12-10T21:08:41 | 2022-12-10T21:08:41 | 53,817,848 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,147 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
vector<ll> candidates;
// 1:26 2WA 1AC
void init()
{
ll two = 1, three = 1;
for (int i = 0; i <= 32; i++) {
if (i > 0)
two *= 2;
three = 1;
for (int j = 0; j <= 32; j++) {
if (j > 0)
... | [
"henrybear327@gmail.com"
] | henrybear327@gmail.com |
52256efd593f1a7d21c2447a917575f040025d0f | 29aea8e10d37857f2d059420f52e7f503eeb85fd | /include/Sound/SweepSquareWave.hpp | 80169e3e777996bb0c2ed89a6c2518fc03e02e45 | [] | no_license | Squolly/GBEmulator | fdc15578ed6090cbc9d99984ba9afac44e49551d | 62289dea48a1b229b14f5e80d1bbffd02b0ec535 | refs/heads/master | 2021-05-04T10:30:41.002742 | 2017-06-17T15:12:48 | 2017-06-17T15:14:01 | 53,200,520 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,772 | hpp | #ifndef SWEEP_SQUARE_WAVE_HPP__
#define SWEEP_SQUARE_WAVE_HPP__
#include "MemoryMappedModule.hpp"
#include "GBRAM.hpp"
#include "Sound/SquareWave.hpp"
#include "Sound/Synth.hpp"
#include <array>
#include <queue>
#include <mutex>
#include <iostream>
#include <iomanip>
#include <algorithm>
class Memory;
class Sw... | [
"squolly@gmail.com"
] | squolly@gmail.com |
3d2c458a02cf6a5a735709283b6cca0bf7112719 | 2ec3ee2524c44399a16dd211d126cd893fabe578 | /arithmeticarray.cpp | ab866b7c1f5cfa91d80117169d774785d248ff8a | [] | no_license | pbisen/practiceCodes | a8930a60fc69a4828e1030a9626dc2a4b1d6f7ac | 8cd23d78e5ceb9a9eb81eee86f9c8fc4b10e4e3f | refs/heads/main | 2023-07-10T16:11:00.780407 | 2021-08-05T12:55:43 | 2021-08-05T12:55:43 | 393,041,461 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,034 | cpp | #include <iostream>
#include <climits>
using namespace std;
int arithmetic(int array[], int start, int end);
int main()
{
int noTests;
cin >> noTests;
for (int k = 0; k < noTests; k++)
{
int n;
cin >> n;
int array[n];
int maxVal = 0;
for (int i = 0; i < n; i... | [
"pbisen@LAPTOP-2DEMVFPL.localdomain"
] | pbisen@LAPTOP-2DEMVFPL.localdomain |
e11d488efb28bcfff1cfc5c5865b0bcbcf570126 | 8cd620e8d84d3d043c9ccd0038e6d380a1277322 | /lib/preamble_detector_impl.h | f6ae7cf41b88cf7713d3d9597bb512f139aff065 | [] | no_license | zaeemzadeh/MIMO-OFDM-Alamouti | 88eee9e10d508faeb60801289f346d4c686e5536 | fd910a0243a4659b84823b1f08fcf9170081145f | refs/heads/master | 2021-05-19T03:04:47.629246 | 2020-04-10T16:47:33 | 2020-04-10T16:47:33 | 42,325,405 | 23 | 18 | null | 2020-04-01T01:41:40 | 2015-09-11T18:27:14 | C++ | UTF-8 | C++ | false | false | 1,951 | h | /* -*- c++ -*- */
/*
* Copyright 2014 Alireza Zaeemzadeh.
*
* This 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, or (at your option)
* any later version.
*
* This software is di... | [
"zaeemzadeh@gmail.com"
] | zaeemzadeh@gmail.com |
871ad9793dd3983004172cb8b256bac8524d37dc | edee3c5bc17d7fda20e524af3677c233f89d2d49 | /CJH_Project/CHJProject/BitMapSample/BMSample.h | 573cde41e4dcef75259164c1758ecc0c6e0927d8 | [] | no_license | kkcedar8520/MyDxProject | 9bd010dbaa00310c5fe15bd64be7b333474d27aa | 995d491ade7d2074998bf919efcf390487d7c3db | refs/heads/master | 2022-07-17T18:12:07.388934 | 2020-05-12T12:20:02 | 2020-05-12T12:20:02 | 259,350,276 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 332 | h | #pragma once
#include"JHBitMap.h"
#include"JH_Std.h"
#include"HCore.h"
#include<time.h>
class BMSample:public HCore
{
public:
JHBitMap m_Map;
JHBitMap m_Boom;
JHBitMap m_Player;
HCore game;
float m_fX_POSI;
float m_fY_POSI;
public:
bool Init();
bool Render();
bool Frame();
bool Release();
BMSample();
~BMSam... | [
"fishgenius@naver.com"
] | fishgenius@naver.com |
e30b5ddac3534c6a3d5aabc3192eb139ded36cce | 3e9c9637629f9a6d9a63ecc6a236405317f55109 | /algospot-BOARDCOVER2.cpp | a4ea8009fdfc6993fa2d05c9e3168959f8670b8e | [] | no_license | digression99/2018-algorithm | 6998efebef6ceffcdd1039ef5e1e1d6c9e5d794a | c34128a3d13e820195fc9ef3d349b567905ddea9 | refs/heads/master | 2018-09-10T13:28:21.362369 | 2018-06-05T12:05:44 | 2018-06-05T12:05:44 | 116,538,141 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,939 | cpp | #include <iostream>
#include <vector>
using namespace std;
vector<vector<int>> map;
vector<vector<int>> block[4];
int h, w, r, c;
int best = -1;
const int BLOCK_FIGURE = 4;
bool blockCheck(int x, int y, int blockNum) {
return false;
}
void makeMap(int x, int y, int blockNum) {
return;
}
void returnMap(int ... | [
"kimilsik@Kims-MacBook.local"
] | kimilsik@Kims-MacBook.local |
18e16092382ff41ef3cce989f51f9e759ca462f8 | 2e0bdcf920c2dd029e74e485a899f79b6117bf7e | /world/include/DamageTypes.hpp | ea271ea0e0b20376df835479eb028fc194307a66 | [
"Zlib",
"MIT"
] | permissive | HexColors60/shadow-of-the-wyrm | dfb6bf01e21cf2b5e3e8186a04a6ae39219bc727 | 8c4f0d103e3b58a373c86f44c071236a2e2e3a90 | refs/heads/master | 2022-12-08T19:03:18.757739 | 2020-07-17T12:28:01 | 2020-07-17T12:28:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 942 | hpp | #pragma once
// If updating this, remember to also update the ancient beasts resource
// strings to define an appropriate creature.
enum struct DamageType
{
DAMAGE_TYPE_NULL = -1,
DAMAGE_TYPE_FIRST = 0,
DAMAGE_TYPE_SLASH = 0,
DAMAGE_TYPE_PIERCE = 1,
DAMAGE_TYPE_POUND = 2,
DAMAGE_TYPE_HEAT = 3,
DAMAGE_TYP... | [
"jcd748@mail.usask.ca"
] | jcd748@mail.usask.ca |
dabf37d09559b8999b6d3b45acd74262497ec727 | 14da2a5b65d7d188b9ccbd18238ac02588df70be | /BOJ/11907.cpp | eaa792ffdf506b4b109a22c95bf3a85947776aeb | [] | no_license | sgc109/algorithm_practice | 754f378634c68a29577abffb8371e58ac0433345 | 19fa107892754b227f8592aa9b6ae7fad175728e | refs/heads/master | 2020-03-17T21:39:58.570520 | 2018-05-23T20:06:44 | 2018-05-23T20:06:44 | 133,968,628 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,133 | cpp | #include <bits/stdc++.h>
#define REP(i,a,b) for(int i=a;i<=b;++i)
#define FOR(i,n) for(int i=0;i<n;++i)
#define pb push_back
#define all(v) (v).begin(),(v).end()
#define sz(v) ((int)(v).size())
#define inp1(a) scanf("%d",&a)
#define inp2(a,b) scanf("%d%d",&a,&b)
#define inp3(a,b,c) scanf("%d%d%d",&a,&b,&c)
#de... | [
"sgc109@LAPTOP-KBAMD1MP.localdomain"
] | sgc109@LAPTOP-KBAMD1MP.localdomain |
08ede396ee238baeee1fe19633d4dfdbc6fbfb34 | 70779f5f796cd2856093442af66b6f6d711f7c5a | /MyApplication_1/generated/gui_generated/src/productpresenter_screen/ProductPresenterViewBase.cpp | ab8c2b96bb919b1a7342ab5439739fb13f77db85 | [] | no_license | steve22184/TouchGFX | 97f213af0cd82a299d100b5f19771763155c5db9 | 6d778b6cd4b351d90bdbf6b7f0e50c6ad6f43a22 | refs/heads/master | 2022-11-13T02:54:55.167309 | 2020-07-08T03:55:09 | 2020-07-08T03:55:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,187 | cpp | /*********************************************************************************/
/********** THIS FILE IS GENERATED BY TOUCHGFX DESIGNER, DO NOT MODIFY ***********/
/*********************************************************************************/
#include <gui_generated/productpresenter_screen/ProductPresenterView... | [
"jwyeyo@naver.com"
] | jwyeyo@naver.com |
f05b53395223df5c2543db0078fa215eb1107fac | 629877ed2b918e82172e338a4959cf9f104f93d6 | /Algorithm/Implementation/Service Lane.cpp | 1928dbc88010cabf9ef5ce8137775a0df385e0cb | [] | no_license | imranraad07/Hackerrank | 0ff830f9f8a69a4d577c8720652df3b075c2130d | 667911a01e4c098e3da3f191222afe4ac6c116c8 | refs/heads/master | 2021-04-15T15:14:21.626200 | 2016-08-19T14:53:49 | 2016-08-19T14:53:49 | 62,486,660 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 525 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main(){
int n;
int t;
cin >> n >> t;
vector<int> width(n);
for(int width_i = 0;width_i < n;width_i++){
cin >> width[width_i];
}
for(int a0 = 0; a0 < t; a0++){
... | [
"imranraad@gmail.com"
] | imranraad@gmail.com |
3056bfb46cc720b0d59d7de8cbf89feb06f56b46 | 052005dbe8503b91c0f36ab08f3009886d74fcec | /TestProject/AlgorithmUnitTest.cpp | bdf5906810050390f34962cf3370ed1460961be1 | [] | no_license | deelaws/GeneralCoding | 6825310c3a361a3380e92f7fd9949319129ed5c3 | 2830a87a37c3c70180fa89eaf3f15840201c5ec1 | refs/heads/master | 2021-01-10T23:05:04.758301 | 2016-12-08T06:16:53 | 2016-12-08T06:16:53 | 70,424,615 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,564 | cpp | #include "stdafx.h"
#include "CppUnitTest.h"
#include <iostream>
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
using namespace DataStructs;
Graph CreateDirectedGraph()
{
// Creates a graph with vertices [0..8]
Graph g(8);
// Add edges.
g.AddEdge(0, 1, 1);
g.AddEdge(0, 4, 2);
... | [
"deelaws89@gmail.com"
] | deelaws89@gmail.com |
51b9c6ba2c1085c592240ed83357d0589653dff3 | f6f105714bff9937dccf6cbe7935a2a528b66d6d | /Source/LearnSlate/Public/UI/Widget/SSlAiMenuWidget.h | 49dafa1e276495321ee6ffde39d1e36569d9a053 | [] | no_license | hongilywang/UnrealSlateLearn | 3f8cb630924a8cc820720490237f5c706b5f347d | dae124d3de4cc1463eec34b9dfd2c8372fb31309 | refs/heads/master | 2020-06-04T21:19:04.464494 | 2019-11-20T05:27:07 | 2019-11-20T05:27:07 | 192,195,227 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,238 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "SlAiTypes.h"
#include "Widgets/SCompoundWidget.h"
class SBox;
class STextBlock;
class SVerticalBox;
struct MenuGroup;
class SSlAiGameOptionWidget;
class SSlAiNewGameWidget;
class SSlAiChoose... | [
"hongilywang@sina.com"
] | hongilywang@sina.com |
984e1174d0560dc69b2daa29db20c354ce2f35ca | 2ad7b7d7ff463a64090fa7740273c698f415513e | /src/design-patterns/Singleton/Singleton.cpp | 224e36ce50c2d35a0e3ef9ec1ca34cf9ad597f08 | [] | no_license | Justdwiwt/Cpp_basic | da2a9ea18e380f3e7b2e6c7da7866de5d2da8a8d | 07d23cd89e8dcf9672d7181a498babf828fb3818 | refs/heads/master | 2021-07-07T00:19:43.047102 | 2020-07-21T07:55:28 | 2020-07-21T07:55:28 | 150,585,067 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,537 | cpp | class Singleton {
private:
Singleton();
Singleton(const Singleton &other);
public:
static Singleton *getInstance();
static Singleton *m_instance;
};
Singleton *Singleton::m_instance = nullptr;
//线程非安全版本
Singleton *Singleton::getInstance() {
if (m_instance == nullptr) {
m_instance = new ... | [
"len_master@hotmail.com"
] | len_master@hotmail.com |
5bea1cf73c803d23f2a53ca970a541bed40c8089 | 0ecf2d067e8fe6cdec12b79bfd68fe79ec222ffd | /ios/chrome/browser/signin/ios_chrome_signin_client.h | e2a54c9cbdee31fa084148a6cb9ba38d89694c8e | [
"BSD-3-Clause"
] | permissive | yachtcaptain23/browser-android-tabs | e5144cee9141890590d6d6faeb1bdc5d58a6cbf1 | a016aade8f8333c822d00d62738a922671a52b85 | refs/heads/master | 2021-04-28T17:07:06.955483 | 2018-09-26T06:22:11 | 2018-09-26T06:22:11 | 122,005,560 | 0 | 0 | NOASSERTION | 2019-05-17T19:37:59 | 2018-02-19T01:00:10 | null | UTF-8 | C++ | false | false | 3,877 | h | // Copyright 2015 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 IOS_CHROME_BROWSER_SIGNIN_IOS_CHROME_SIGNIN_CLIENT_H_
#define IOS_CHROME_BROWSER_SIGNIN_IOS_CHROME_SIGNIN_CLIENT_H_
#include <memory>
#include "... | [
"artem@brave.com"
] | artem@brave.com |
3f352b3774a4aa2c3e3b6fcf997b753d877baa00 | 28189b6fb479cdc2bc5d7d3cfa2d4d2de5e38f68 | /main.cpp | 44dd532b45b3f53dafd5dcbdc9dd8bfc415efbbe | [] | no_license | ShasherinaAV/lab03 | fe303b09215f68220425dab3a94b49bdd74428e9 | 87540ae0b2d0d24bb9c3f30f1aded9000ee2858b | refs/heads/master | 2022-11-17T22:52:48.439516 | 2020-06-29T15:38:31 | 2020-06-29T15:38:31 | 269,709,930 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,339 | cpp | #include <iostream>
#include <vector>
#include "histogram.h"
using namespace std;
vector<double> input_numbers(const size_t count)
{
vector<double> result(count);
for (size_t i = 0; i < count; i++)
{
cin >> result[i];
}
return result;
}
vector<size_t> make_histogram(const vector<double... | [
"shasherina.alexandra@gmail.com"
] | shasherina.alexandra@gmail.com |
f97fbd45f7f75424280d4d7bf76c0fd3b729a4d1 | e7c7f34a6f7f719076fc25add3d9aad97cadcfe0 | /udacity/self-driving-intro/5/3/optimized/sense.cpp | 0fa1c3b99d021da65997c4c6361c83846c4d08c1 | [
"MIT"
] | permissive | adriancarriger/experiments | cb0094534757f0842b5b0b54056fa4d76d5956c9 | 7e4248592dc8fbb08522c9b5f0393c80dc7e2699 | refs/heads/master | 2021-12-23T02:44:09.567882 | 2020-01-26T21:54:35 | 2020-01-26T21:54:35 | 110,311,256 | 2 | 0 | MIT | 2020-09-04T15:47:32 | 2017-11-11T02:22:58 | TypeScript | UTF-8 | C++ | false | false | 407 | cpp | #include "headers/sense.h"
using namespace std;
vector<vector<float> > sense(char color, vector<vector<char> > &grid,
vector<vector<float> > &beliefs, float p_hit, float p_miss) {
for (int i = 0; i < grid.size(); i++) {
for (int j = 0; j < grid[0].size(); j++) {
beliefs[i][j] ... | [
"hello@adriancarriger.com"
] | hello@adriancarriger.com |
102dc8e2f19572aadde08360460b543f1f1f2731 | 1dd791ef8132ed6bebc458d7c3c1ba5a9c8ca985 | /src/rx/math/mat3x4.cpp | 7c508ebe83691b15ff5dbec795b5915d77e8cce2 | [
"MIT"
] | permissive | BuckeyeSoftware/rex | e4ef1a743745b027eb02c629541edf85faf1d026 | a0380e2e3ce26e610b4c9fcbe0ece19ecc8c3531 | refs/heads/main | 2021-12-20T17:41:51.163916 | 2021-12-05T04:07:52 | 2021-12-05T04:07:52 | 171,078,375 | 40 | 7 | MIT | 2020-12-15T03:24:33 | 2019-02-17T03:38:52 | C++ | UTF-8 | C++ | false | false | 2,182 | cpp | #include "rx/math/mat3x4.h"
#include "rx/math/mat3x3.h"
#include "rx/math/quat.h"
namespace Rx::Math {
template<typename T>
Mat3x4<T> invert(const Mat3x4<T>& _mat) {
Vec3<T> inverse_rotation_x{_mat.x.x, _mat.y.x, _mat.z.x};
Vec3<T> inverse_rotation_y{_mat.x.y, _mat.y.y, _mat.z.y};
Vec3<T> inverse_rotation_z{_ma... | [
"weilercdale@gmail.com"
] | weilercdale@gmail.com |
58dcb1bfbbf63e896896d97b08d9886f4038a83b | 5838445e2b71196b7742bea6f42d7ad0d7db9627 | /Endianess.h | 338ad26d23a976dbe9417a86a3b8a17dbb472114 | [] | no_license | fmaulanaa/png-db | 32729b4bed6de46713070a86e520ed570931923e | b5c5bbb219ccc859c55d24dfa63667c9a8b02835 | refs/heads/master | 2021-01-17T21:54:09.964285 | 2011-03-10T16:13:56 | 2011-03-10T16:13:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,008 | h | /*
(from OpenLieroX)
makros for endianess / swapping / conversions
Code under LGPL
by Albert Zeyer, Dark Charlie, 23-06-2007
*/
#ifndef __ENDIANSWAP_H__
#define __ENDIANSWAP_H__
#include <machine/endian.h>
#if !defined(BYTE_ORDER)
# error BYTE_ORDER not defined
#endif
#if BYTE_ORDER == LITTLE_ENDIAN
# defin... | [
"albert.zeyer@rwth-aachen.de"
] | albert.zeyer@rwth-aachen.de |
6b6f6ce38a8d4c360ec9c6244cd74d8bf26a3e13 | bad2e3ac4790e190b8f51e1278866311c9117a79 | /binary_tree_level_order_traversal_ii.cc | 147c34a4e87fe64b0eff1799b4edc80dbc176665 | [] | no_license | JFantasy/leetcode | c0f475770204919057b1e5724b80300b9c7b26f8 | ee083c00965fe26cf689d1c0555747868758f6a7 | refs/heads/master | 2021-11-13T15:18:57.366738 | 2015-01-14T07:51:32 | 2015-01-14T07:51:32 | 23,274,069 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 667 | cc | /**
* Definition for binary tree
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
void dfs(TreeNode *root, vector<vector<int> > &res, int dep) {
if (!root) return;
if (dep... | [
"jfantasy90@gmail.com"
] | jfantasy90@gmail.com |
99ce8c55a23ff40a9a517d286598f9ae1dd07084 | 761af5d51c662c20096c50ae7a00d03ceeab2ac7 | /kernel/node/Pipe.cpp | 5b3338904c777e0fad4b519bd631fb4cba574aad | [
"Zlib",
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | cristian-programmer/skift | 1eedaec88ba1c09518b7c11110fa4b96a2b2b0eb | daff5533da1610f754305f8805889b536e9efb54 | refs/heads/master | 2021-06-14T17:02:38.612380 | 2020-11-08T19:18:25 | 2020-11-08T19:18:25 | 162,073,493 | 1 | 0 | MIT | 2018-12-17T04:15:16 | 2018-12-17T04:15:16 | null | UTF-8 | C++ | false | false | 905 | cpp |
#include <libsystem/Result.h>
#include "kernel/node/Handle.h"
#include "kernel/node/Pipe.h"
FsPipe::FsPipe() : FsNode(FILE_TYPE_PIPE)
{
}
bool FsPipe::can_read(FsHandle *handle)
{
__unused(handle);
// FIXME: make this atomic or something...
return !_buffer.empty() || !writers();
}
bool FsPipe::can_wri... | [
"nicolas.van.bossuyt@gmail.com"
] | nicolas.van.bossuyt@gmail.com |
b94b673207424fcef509d645da428429b424e0a6 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/curl/gumtree/curl_repos_function_1861_curl-7.35.0.cpp | c825704683d020c2549bb03cff19f2470c1745c6 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 518 | cpp | static CURLcode smtp_state_servergreet_resp(struct connectdata *conn,
int smtpcode,
smtpstate instate)
{
CURLcode result = CURLE_OK;
struct SessionHandle *data = conn->data;
(void)instate; /* no use for this yet */
if(smtp... | [
"993273596@qq.com"
] | 993273596@qq.com |
0284cebe61c5f3c0cf2d008e0d8806cd5e22a6b6 | d1cead6b83197392aa87d5b6a23f6277a8d4bddd | /Codeforces/1009_D - Relatively Prime Graph.cpp | 0b86f2b98b8fed457c6e6c533756976ef726f1f1 | [] | no_license | shahidul-brur/OnlineJudge-Solution | 628cee3c9d744dedc16783a058131571d473f0ec | 21400822796d679b74b6f77df2fc8117113a86fd | refs/heads/master | 2022-09-22T00:42:21.963138 | 2022-09-21T14:01:09 | 2022-09-21T14:01:09 | 192,035,325 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,974 | cpp | /*==============================================*\
ID: shahidul_brur
Name: Md. Shahidul Islam
Study: CSE, BRUR
Address: Rangpur, Bangladesh
mail: shahidul.cse.brur@gmail.com
FB : fb.com/shahidul.brur
Blog: shahidul-brur.blogspot.com(in Benga... | [
"shahidul.cse.brur@gmail.com"
] | shahidul.cse.brur@gmail.com |
e4103b2ef84948ed0e2bf62f3c5163f481c6f29b | c9e0e14f732b3ef373ee0617cf42ebb2c5e83f7a | /src/main.cpp | 14f1c07a1f92e5bcb25c331d8b8bdbba6467210c | [
"MIT"
] | permissive | hanliumaozhi/DNC | c2daefb3ba892b7929082a29657b24ebc95eac14 | 30bac7087d75d92dedded8562bccf0dc42b640c4 | refs/heads/master | 2021-01-11T11:02:45.878117 | 2013-05-26T14:42:20 | 2013-05-26T14:42:20 | 10,298,258 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 132,557 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2012 Litecoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "checkpoints.h"
#in... | [
"hanliumaozhi@gmail.com"
] | hanliumaozhi@gmail.com |
e674511adde15c5812d97b3bce418b9825455210 | 30773b649ebd89ffadd16d30fd62740b77ca7865 | /SDK/BP_TreasureArtifact_impressive_01_a_Desc_classes.h | 3ca135bd6f0dfd93aa0c6856d0b8fef515be26ea | [] | no_license | The-Jani/Sot-SDK | 7f2772fb5df421e02b8fec237248af407cb2540b | 2a158a461c697cca8db67aa28ffe3e43677dcf11 | refs/heads/main | 2023-07-09T07:17:56.972569 | 2021-08-18T23:45:06 | 2021-08-18T23:45:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 841 | h | #pragma once
// Name: S, Version: 2.2.1
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//----------------------------------------------------------------... | [
"ploszjanos9844@gmail.com"
] | ploszjanos9844@gmail.com |
db7525035b9bd00c422f00b8e3d9404375e09327 | 34f2653dc114f59ff0650f17739607e95958bab6 | /src/blocks/variablesBlocks/variabledeclarationblock.cpp | 615423e97278debeb911e3dbae114224338882b3 | [] | no_license | danilaml/TRIKMobile | 6b4e07f19ed6a25837606e8b02ca0eda55873aef | 147c38869a09df410bd12b4ae5c9dac5b57cf818 | refs/heads/master | 2021-01-22T13:57:32.539075 | 2015-09-17T20:04:55 | 2015-09-17T20:04:55 | 32,163,923 | 0 | 1 | null | 2015-09-17T20:04:55 | 2015-03-13T15:30:15 | C++ | UTF-8 | C++ | false | false | 863 | cpp | #include "variabledeclarationblock.h"
VariableDeclarationBlock::VariableDeclarationBlock(QObject *parent) : AbstractBlock(parent)
{
//propertyNames << "name";
propertyMap["name"] = "newName";
}
VariableDeclarationBlock::~VariableDeclarationBlock()
{
}
QString VariableDeclarationBlock::toString(int indent) const
{... | [
"prikhodko-stanislav@yandex.ru"
] | prikhodko-stanislav@yandex.ru |
fceaefb674f29734b7303e422856cf05248b0a56 | b97bc1eeb9d2b8a1c10af1372b7e1fc975df41b2 | /Mpq/MPQDiffer.cpp | a8af56144aa8c876daef5fba6ed7b25bd1010270 | [] | no_license | alpha2z/MpqPacker | 925780a6dff3753bc1976da00d6ef590dfc8be53 | 6d162c344d919f2c9a6e879c3f8533d2358d4071 | refs/heads/master | 2021-03-27T17:34:39.097786 | 2015-03-25T15:53:31 | 2015-03-25T15:53:31 | 32,874,265 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 6,432 | cpp | #include "MPQDiffer.h"
#include "MPQPackage.h"
#include "RunnableAsync.h"
class MPQDifferAsync : public IRunnable
{
public:
MPQDifferAsync(MPQDiffer* pOwner,const char* mpq_old,const char* mpq_new,const char* mpq_diff) : m_pOwner(pOwner){
m_sMpqFileOld = mpq_old?mpq_old:"";
m_sMpqFileNew = mpq_new?mpq_ne... | [
"240581469@qq.com"
] | 240581469@qq.com |
e46df0185b6e83dbbb3aa0aed90234f7cd2d0f8d | 94c1bfb9d8ab84af31c278611f6b7385e55f5da9 | /common/tags/latest/pluginlib/include/Poco/UTF8Encoding.h | c0678e149bae1a2c29a98195190dcb46532a7dc4 | [] | no_license | jbohren-forks/personalrobots-stacks | a8644002b45bbd794a3608ca9a45e29ac9a205ae | 237f5abe0b4cd1bac44e0997f683db20fa0079d4 | refs/heads/master | 2021-01-06T04:01:58.058144 | 2009-09-04T19:47:26 | 2009-09-04T19:47:26 | 99,518,983 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,902 | h | //
// UTF8Encoding.h
//
// $Id: //poco/1.3/Foundation/include/Poco/UTF8Encoding.h#3 $
//
// Library: Foundation
// Package: Text
// Module: UTF8Encoding
//
// Definition of the UTF8Encoding class.
//
// Copyright (c) 2004-2007, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// Permission is her... | [
"sfkwc@f5854215-dd47-0410-b2c4-cdd35faa7885"
] | sfkwc@f5854215-dd47-0410-b2c4-cdd35faa7885 |
412f93664f79ca61b1af54c9bb58edfc9baa0813 | c690537ba968e144f76a0156ab815c88fad7d1d7 | /codebase/apps/titan/src/TitanLite/TrForecast.cc | d7592e16a82636004d72e19213236c4e5220a5bc | [
"BSD-3-Clause"
] | permissive | paulyc/lrose-core | 52e9d6f7ae32e6292c0300a252772286f91949e2 | 84cdbbdd94126f6ea43bd69939d0801c7776e997 | refs/heads/master | 2022-08-22T14:08:23.238033 | 2020-05-23T23:50:43 | 2020-05-23T23:50:43 | 265,976,676 | 1 | 0 | NOASSERTION | 2020-05-23T23:50:45 | 2020-05-21T23:54:39 | null | UTF-8 | C++ | false | false | 56,894 | cc | // *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
// ** Copyright UCAR (c) 1990 - 2016
// ** University Corporation for Atmospheric Research (UCAR)
// ** National Center for Atmospheric Research (NCAR)
// ** Bo... | [
"dixon@ucar.edu"
] | dixon@ucar.edu |
122d2a972e83bc24d4075bf9fcd53c5513569fb8 | 9db55cee9cd310ec636da015e68192b6b247501f | /source/tile.h | b0d357a7c9854ee87e0703746455ac877aed7e64 | [] | no_license | hiddenbitious/level_editor | e3bdb7c20da5d75af3ebd02bb4c876da5e4d4171 | d97d2adeb2efc1c93e16b75fdb0eb25160dd42e0 | refs/heads/master | 2021-01-17T07:18:15.162737 | 2014-04-29T08:44:29 | 2014-04-29T08:44:29 | 16,265,114 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,503 | h | #ifndef _TILE_H_
#define _TILE_H_
#include "globals.h"
#define MAX_PARAMETER_LENGTH 256 /// Maximum length of a parameter.
#define TILES_ON_X 80
#define TILES_ON_Y 50
#define NEIGHBOUR_LEFT 0
#define NEIGHBOUR_RIGHT 1
#define NEIGHBOUR_BELOW ... | [
"rincewind25@hotmail.com"
] | rincewind25@hotmail.com |
e2b968dbe8dba36eacf3186462727fe0fb4a1343 | f1c85d864edaf4c9ac9fa4853d5067b06a0185c6 | /Barometer/src/MS5611.cpp | 5a527a05e82f2e75969abda974ee8db7d11b1dac | [
"MIT"
] | permissive | michprev/flyhero-stm32 | 886d231139caeb86bacd2b01f40a0cb92eee8d98 | 51c659cdd4e1d50446a563bb11e800defda9a298 | refs/heads/master | 2021-10-08T02:51:24.855720 | 2017-08-11T23:04:38 | 2017-08-11T23:04:38 | 76,754,235 | 0 | 1 | MIT | 2018-12-06T22:14:15 | 2016-12-18T00:08:33 | C | UTF-8 | C++ | false | false | 4,086 | cpp | #include "MS5611.h"
namespace flyhero {
MS5611& MS5611::Instance() {
static MS5611 instance;
return instance;
}
MS5611::MS5611() {
this->D1_Timestamp = 0;
this->D2_Timestamp = 0;
this->D1 = 0;
this->D2 = 0;
}
HAL_StatusTypeDef MS5611::Reset()
{
uint8_t reset = 0x1E;
HAL_StatusTypeDef st... | [
"michprev@gmail.com"
] | michprev@gmail.com |
91464340cf0afbdc33b53b686f1b25fb64bf45b4 | 29cbac0ed6bd2d45aa8d244ad85481b53a86428b | /Crypto/Crypto/Base64.h | 32fde005d8fa2e0b13da512c359765481258890e | [] | no_license | stophin/Crypto | 63e49aeb13a684f7f1ad604f1809925c0e0050ca | 53b5688af438488072b70048ce1150952a1ffcc5 | refs/heads/master | 2021-04-30T10:11:39.920606 | 2018-02-13T02:39:06 | 2018-02-13T02:39:06 | 121,327,830 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 227 | h |
#ifndef _BASE64_H_
#define _BASE64_H_
#include "Crypto.h"
std::string base64_encode(unsigned char const* bytes_to_encode, unsigned int in_len);
std::string base64_decode(std::string const& encoded_string);
#endif | [
"kittybella@163.com"
] | kittybella@163.com |
d546490326c8648bad8cb84f1b4ceede9a033c2b | a89b56aa1b09333b1b6c9d0440d45c3087645dd0 | /DungeonGame/DungeonGame/ItemFactory.cpp | 9e7f33b467b40c4c8ad67f9f046810dc290e1002 | [] | no_license | CblPOB/test | eb7627b3027958debc69176c07cd8b53ce547ba7 | be92cceeb2e0bc9a7b0a15dd5a76b966dfa22c42 | refs/heads/master | 2020-03-12T11:04:31.001904 | 2018-04-23T07:03:52 | 2018-04-23T07:03:52 | 130,587,889 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 187 | cpp | #include "ItemFactory.h"
ItemFactory::ItemFactory()
{
}
ItemFactory::~ItemFactory()
{
}
Item * ItemFactory::create(const string &id)
{
return factory.find(id)->second->create();
}
| [
"nikita_sr@bk.ru"
] | nikita_sr@bk.ru |
e62e8a3a8799e2fbc9e02528a6bdb3d2026b17fd | 0b61129f8400eef38756c923f87a3c30536ab872 | /src/Game.cpp | d6fd4c0e2fc1dcb070c18f5b3b009b076d1e47de | [
"MIT"
] | permissive | WeyrSDev/MineClone | e2f886d393e3ee2c4eb03023a1c4df2e795813a1 | 90001b755eb8575c5ed894f29224d3da0308bdc8 | refs/heads/master | 2021-07-11T18:55:11.906974 | 2017-10-11T09:40:07 | 2017-10-11T09:40:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,329 | cpp | #include "Game.hpp"
#include "map/data/Block.hpp"
Game::Game()
{
sf::ContextSettings settings;
settings.depthBits = 24;
settings.majorVersion = 3.3;
settings.minorVersion = 3.3;
m_window.create(sf::VideoMode(800, 600), "MineClone", sf::Style::Default, settings);
glewInit();
}
Game::~Game()
{
}
void Game::r... | [
"josesmerono@gmail.com"
] | josesmerono@gmail.com |
e503177e3f45a30c6128e94e155c12f4119210e6 | 01ec9b99e91450cc7820be0305393e02efb015fa | /engine/src/tests/model.cpp | f8bb59aba9a1e8640fe72f8d45374b91b63dac36 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | mediabuff/Wolf.Engine | 9b718b6183ae3ccdd4674573d3319ed5273ac665 | d1c22fb8852affdaf015c8a705c5fedad003ddfd | refs/heads/master | 2021-01-23T11:34:31.573924 | 2017-08-29T14:45:39 | 2017-08-29T14:45:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41,935 | cpp | #include "pch.h"
#include "model.h"
using namespace wolf::system;
using namespace wolf::graphics;
using namespace wolf::content_pipeline;
model::model() :
_mesh(nullptr),
_shader(nullptr),
_loaded(false)
{
//define vertex binding attributes
this->_vertex_binding_attributes.declaration = w_vertex_... | [
"pooya.eimandar@live.com"
] | pooya.eimandar@live.com |
dfa94fcbd0809ee70e65605cadb8ba167bd131c5 | 2753608f87a1e8fa312feced7af20917ea9cc004 | /Other Algorithms/Reverse Polish Notation/ReversedPolishNotation.h | 0a1a84afc8e6996e5395f89dbfcac77fc6cb7d0a | [
"MIT"
] | permissive | VAR-solutions/Algorithms | 76faed6515367b6f27638b910dbc07f340fae56f | 4ad6773e9675ef35aa858ca3969be5ddf6e3daea | refs/heads/dev | 2023-08-15T11:37:26.048316 | 2021-08-03T07:00:28 | 2021-08-03T07:00:28 | 151,157,582 | 794 | 1,249 | MIT | 2023-07-29T00:28:36 | 2018-10-01T20:50:24 | C++ | UTF-8 | C++ | false | false | 993 | h | #pragma once
#include <string>
#include <stack>
#include <map>
using namespace std;
class ReversedPolishNotation
{
public:
ReversedPolishNotation();
~ReversedPolishNotation();
string convertToRPN(string s);
private:
const int RIGHT = 0;
const int LEFT = 1;
const string PARENTHESIS_ERROR = "ERROR PARENTHESIS: T... | [
"erik.espunyes7@outlook.com"
] | erik.espunyes7@outlook.com |
4f1b99703cd79ce659f53d6c1590c43f93ca7efc | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /cwp/src/v20180228/model/DeleteNonlocalLoginPlacesRequest.cpp | c5e652863d287d6351af6a9502e1bd9f5366b843 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 4,137 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"tencentcloudapi@tenent.com"
] | tencentcloudapi@tenent.com |
8c34a787064dcaca5850ae39afc74b421126a4d1 | 8c65282166f22be899be4328b5914eacaebd0208 | /src/titleformat_hooks.h | 6d8499583e623c5ced8fec12a7885e4e5b472432 | [
"BSD-3-Clause"
] | permissive | stengerh/foo_multiformat | 98616d74dac87bd1d4bb4e624f856b568db7b65e | 58db0199ebb7bbfc6329af6637fff43081306d7f | refs/heads/master | 2020-06-04T16:28:01.813973 | 2013-04-24T20:04:06 | 2013-04-24T20:04:06 | 9,654,013 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,039 | h | class titleformat_hook_impl_random : public titleformat_hook {
public:
titleformat_hook_impl_random(const char * p_name, t_size p_name_length = pfc::infinite_size);
virtual bool process_field(titleformat_text_out * p_out,const char * p_name,t_size p_name_length,bool & p_found_flag);
virtual bool process_function(ti... | [
"holger.stenger@gmx.de"
] | holger.stenger@gmx.de |
ee32fa5df2d69fccbc12c0241b3312c4836e22ee | a5c5571c20ba74360a73baecf7388c139c39f071 | /RPC-ApacheTrift1/Server/gen-cpp/imageProcService.h | e6e2f5cbfa57fa0b5c43f326c18a0b19d4cabca4 | [
"MIT",
"BSD-3-Clause",
"MS-PL",
"Apache-2.0"
] | permissive | FREEWING-JP/Demo | 23a447525fb4d25e907a2d9725504a7bd416bdf8 | 397c92d949d8e745511eb5ba74bc9b085e27c508 | refs/heads/master | 2021-04-15T04:08:08.655949 | 2017-12-23T05:57:25 | 2017-12-23T05:57:25 | 126,344,260 | 1 | 0 | null | 2018-03-22T14:04:23 | 2018-03-22T14:04:23 | null | UTF-8 | C++ | false | true | 10,288 | h | /**
* Autogenerated by Thrift Compiler (0.10.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#ifndef imageProcService_H
#define imageProcService_H
#include <thrift/TDispatchProcessor.h>
#include <thrift/async/TConcurrentClientSyncInfo.h>
#include "Server_types.h"
#ifdef... | [
"spitzbergen@gmail.com"
] | spitzbergen@gmail.com |
5d94b17f44bf61ac1e626081dd1a910ec3c9b508 | d072d6a5d9504c439994b245b4ff2eb187e42b48 | /src/mainwindow.cpp | cde5678551155e595d12164b8bb9f138a96b228c | [] | no_license | HavenDV/CryptoAPI | 3d081efb103d1350529694d86de6b9429758b49c | cce0b1b705ef507bccbde023f9b6cf76cdc98193 | refs/heads/master | 2021-07-22T07:28:07.226610 | 2017-10-29T17:03:21 | 2017-10-29T17:03:21 | 108,749,259 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,879 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
}
MainWindow::~MainWindow()
{
delete ui;
}
bool MainWindow::encryptFile(const QString & path)
{
auto destination = path + ".detsf";
QFile so... | [
"havendv@gmail.com"
] | havendv@gmail.com |
cec6519da54b4c059acef5abead5480a5025ba20 | 81c74937fd4586b264b9ff3242be616292d06bdf | /trunk/src/c++/gelim/test_gelim.cpp | 149cfd7bb78989ddc10bb98173366b09f3f691eb | [] | no_license | rahulkr007/sageCore | be877ff6bb2ee5825e5cc9b9d71e03ac32f4e29f | b1b19b95d80637b48fca789a09a8de16cdaad3ab | refs/heads/master | 2021-06-01T12:41:41.374258 | 2016-09-02T19:14:02 | 2016-09-02T19:14:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,484 | cpp | #include "LSF/LSFfile.h"
#include "boost/smart_ptr.hpp"
#include "mlocus/mfile.h"
#include "LSF/LSFinit.h"
#include <string>
#include <cassert>
#include <functional>
#include <vector>
#include <iomanip>
#include "LSF/LSFsymbol.h"
#include "fped/fped.h"
#include "error/errorstream.h"
#include "error/errormanip.h"
#inclu... | [
"opensagecwru@gmail.com"
] | opensagecwru@gmail.com |
f74f3f38175da10db916b1d4bbf9b7348a0bf5ac | 6a4f1e8f2fe73b76e7773de2d138907afc2148c7 | /vectorFichas.h | 9cb2ffe22f4fb323c641182d48c3cdde04c4e412 | [] | no_license | Yeric09/Scrabble | fdf2d41385d4f1e54ccf4930c9f3daf1507e2ed6 | 2549f32feacb4f95e6bb60748b2a548a05e8ca57 | refs/heads/master | 2020-04-01T16:15:33.480765 | 2018-10-17T01:18:11 | 2018-10-17T01:18:11 | 153,373,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 272 | h | #ifndef VECTORFICHAS_H
#define VECTORFICHAS_H
#include "ficha.h"
class vectorFichas {
public:
vectorFichas(int);
virtual ~vectorFichas();
private:
int cantidad;
static const int TAMANO;
ficha** vector;
};
#endif /* VECTORFICHAS_H */
| [
"Lenovo@LAPTOP-1CU8T6VC"
] | Lenovo@LAPTOP-1CU8T6VC |
363da6deec8d5dddebe23457c0ec43f8f63a62c0 | 006f035d65012b7c5af15d54716407a276a096a8 | /dependencies/include/cgal/CGAL/Mesh_vertex_base_3.h | bb1c622d0b77c3408e0bf2aa88aadc738c0e8ea9 | [] | no_license | rosecodym/space-boundary-tool | 4ce5b67fd96ec9b66f45aca60e0e69f4f8936e93 | 300db4084cd19b092bdf2e8432da065daeaa7c55 | refs/heads/master | 2020-12-24T06:51:32.828579 | 2016-08-12T16:13:51 | 2016-08-12T16:13:51 | 65,566,229 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,414 | h | // Copyright (c) 2009 INRIA Sophia-Antipolis (France).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
// 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 op... | [
"cmrose@lbl.gov"
] | cmrose@lbl.gov |
b80fb3cb60367c62d212e579b72b0a7deaf58ac5 | f522c116eb46363623fa626974e4d18b935e218a | /Proj3/Node.h | ad5171eb6efd49e9b38532e8f7910fb3f2308cf0 | [] | no_license | pbfrias17/CMSC341 | b9cabe96dfa3909b8368cfd56faee80d91cf7a11 | 62c67d5cf8031ae28a6506966876a4415561ae1c | refs/heads/master | 2020-05-02T11:03:37.544465 | 2014-12-10T02:05:47 | 2014-12-10T02:05:47 | 24,420,947 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,309 | h | /**************************************************************
* File: Node.h
* Project: CMSC 341 - Project 3 - Word Frequency
* Author :
* Date : 04-November-2014
* Section: Lecture-02
* E-mail:
*
* Node Class definition.
*************************************************************/
#ifndef NODE_H
#... | [
"pbfrias17@gmail.com"
] | pbfrias17@gmail.com |
3b411a37f4100fd5ea556cf8a2745dcc2f3cb42e | 97655c88fb4f166c3cd04e7cae090ee48bd534b9 | /include/chipy/Iterator.h | c5d520582b68102ab5e5fa0c639fc959bade29dd | [] | no_license | abcdabcd987/chipy | 0aca59d9e60801a40074353bb3bb2eabfd0e841c | a14812ad8a59abb0d987dc869103327a42fddf8a | refs/heads/master | 2021-01-20T09:13:28.528453 | 2017-08-27T21:45:01 | 2017-08-27T21:45:01 | 101,582,170 | 2 | 0 | null | 2017-08-27T21:43:49 | 2017-08-27T21:43:49 | null | UTF-8 | C++ | false | false | 869 | h | #pragma once
#include "Value.h"
namespace chipy
{
class stop_iteration_exception {};
class Iterator : public Value
{
public:
virtual ~Iterator() {}
bool is_generator() const override
{
return false;
}
virtual ValuePtr next() = 0;
ValueType type() const override
{
retur... | [
"kaimast@cs.cornell.edu"
] | kaimast@cs.cornell.edu |
b29b9c3e674dff767ff42cceb360d5a5722660d7 | 9dee8dbd61aca5aecdd728c4ff50b66ed6cdb810 | /Finance/mainwindow.h | 19aae15319a6501275ef3fe414f5d63ea08d30fc | [] | no_license | ihsanfac/QT_GUI | 48fcd0530e2c7e7da1519196ce1ed323b0fb5e4e | 9b34d83b583edfb23ad1e1bb81a1bfa7c4019618 | refs/heads/master | 2020-09-13T13:20:32.766562 | 2019-11-19T18:10:31 | 2019-11-19T18:10:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 319 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#pragma once
#include <QMainWindow>
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = nullptr);
private slots: // handlers for events
void OnFileNew();
void OnFileOpen();
void OnFileSave();
};
#endif // MAINWINDOW_H
| [
"ryang201299@gmail.com"
] | ryang201299@gmail.com |
31388849b260e7c807ca9d219a6fa8f1021555a2 | c3898281f36c4f3e20e0325700245cff53257b44 | /117_connect.cpp | 75c7a527e765f2e726f92dc03b4c3f8de5afff35 | [] | no_license | CLAYouX/codeForLeet | 4a0e4a4276f9b8dd2de71030d78d3bb1fbd2981c | 781902d663dab752d3a24f8a91a3a499fddf1c82 | refs/heads/main | 2023-07-01T23:02:48.462858 | 2021-08-12T09:51:56 | 2021-08-12T09:51:56 | 388,824,764 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,371 | cpp | #include<iostream>
#include<string>
#include<cmath>
#include<vector>
#include<iterator>
#include<limits>
#include<algorithm>
#include<map>
#include<utility>
#include<set>
#include<unordered_map>
#include<stack>
#include<queue>
#include<unordered_set>
#include<numeric>
using namespace std;
class Node {
public:
int ... | [
"1029533012@qq.com"
] | 1029533012@qq.com |
1602bc338e1cccb3d9b1e07651428a03857dd2bd | 822c829c886a5ee8de3b5a7cbd3fbc0421a358d9 | /2.3.x/channel/constant/polyMesh/blockMeshDict | 7c91fbb8c6b10ff7413639a9811a365e895e7211 | [] | no_license | OSCCAR-PFM/afsol | 9c66de7b74521bcead77a966198c3f79e932c819 | 6d05655691393494bb26ff0a6317ef338b9c0121 | refs/heads/master | 2021-01-20T09:32:50.280765 | 2014-09-12T08:35:06 | 2014-09-12T08:35:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,983 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.0 |
... | [
"gijsbert"
] | gijsbert | |
6ae3173ec07b17a1a07ba65de4b0ea4a3a23d04d | 25868c7a45507cb8345858187b9406456cdf94d8 | /camera/gstCamera.cpp | 282c975d92fd45268d766ca4ab917c72364a5b78 | [
"MIT"
] | permissive | SusannaMaria/jetson-utils | 9e3d8a857ae3bf0f68101e652ab3e5ed7f4a304e | b68f1f0f5ca32490db17dd7f159bb85fd21aaebb | refs/heads/master | 2022-07-28T18:28:07.642976 | 2020-05-22T13:36:11 | 2020-05-22T13:36:11 | 266,112,856 | 0 | 0 | NOASSERTION | 2020-05-22T13:36:12 | 2020-05-22T13:06:49 | C | UTF-8 | C++ | false | false | 17,509 | cpp | /*
* Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
*
* 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 ... | [
"dustinf@nvidia.com"
] | dustinf@nvidia.com |
5d7a399bdb4dd6681311b1551ff3d25b4a8a4162 | d8fe9ba53d920fed8562eacffd75281fc0d35807 | /Engine/PooCountBar.cpp | 3984423db7f509ca8b175a55d0eb50d57759856e | [] | no_license | Ribosome2/chili_framework_CPP_Test | 2b1b2a19b2960faa27c4b930c4b04d7f90f24397 | 9c29830b795ebf0cb9b367b4f96c97a4ad10561c | refs/heads/master | 2023-03-07T13:28:51.705773 | 2021-02-22T03:22:02 | 2021-02-22T03:22:02 | 340,589,868 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 201 | cpp | #include "PooCountBar.h"
#include "Colors.h"
void PooCountBar::Draw(Graphics& gfx) const
{
gfx.DrawRect(posX, posY, width, height, Colors::Blue);
}
void PooCountBar::AddWidth(int n)
{
width += n;
}
| [
"583154233@qq.com"
] | 583154233@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.