hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 108 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 67k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b67fd573a0e4330550ec146365f20cef4c1fba66 | 1,239 | cpp | C++ | source/Math/AABB.cpp | RunawayRabbit/EuanityAsteroids | fb46ea40e419aa336b6106e2e0d678d1bb745dd2 | [
"MIT"
] | null | null | null | source/Math/AABB.cpp | RunawayRabbit/EuanityAsteroids | fb46ea40e419aa336b6106e2e0d678d1bb745dd2 | [
"MIT"
] | null | null | null | source/Math/AABB.cpp | RunawayRabbit/EuanityAsteroids | fb46ea40e419aa336b6106e2e0d678d1bb745dd2 | [
"MIT"
] | null | null | null | #include "AABB.h"
#include "OBB.h"
#include "Circle.h"
AABB::AABB(const float& top, const float& bottom, const float& left, const float& right)
{
this->top = top;
this->bottom = bottom;
this->left = left;
this->right = right;
}
AABB::AABB(const Vector2& min, const Vector2& max)
{
this->min = min;
this->ma... | 17.450704 | 88 | 0.640032 | RunawayRabbit |
b6808d38e0d64556e0119320694ab1d0135ddb05 | 2,076 | hpp | C++ | src/OpenAnalysis/ExprTree/EvalToConstVisitor.hpp | sriharikrishna/OpenAnalysis | 0d0c3819bd091cc0c83db5555cc20bfbc07ecbdc | [
"BSD-3-Clause"
] | null | null | null | src/OpenAnalysis/ExprTree/EvalToConstVisitor.hpp | sriharikrishna/OpenAnalysis | 0d0c3819bd091cc0c83db5555cc20bfbc07ecbdc | [
"BSD-3-Clause"
] | null | null | null | src/OpenAnalysis/ExprTree/EvalToConstVisitor.hpp | sriharikrishna/OpenAnalysis | 0d0c3819bd091cc0c83db5555cc20bfbc07ecbdc | [
"BSD-3-Clause"
] | null | null | null | /*! \file
\brief Concrete ExprTreeVisitor that will use reaching constant information
if available and an IRInterface to attempt to evaluate
an expression tree to a ConstValBasicInterface.
\authors Barbara Kreaseck, Michelle Strout
\version $Id: EvalToConstVisitor.hpp,v 1.6 2005/03/17 21:... | 31.938462 | 78 | 0.694605 | sriharikrishna |
b68346cd57aa81a3b099277c7d770bb762b1a6e8 | 1,656 | cpp | C++ | Crocus/Source/CreAssets.cpp | ChunChunMorning/CrocusEngine | a93a7f813b60bf6f221abaf6b9d580263e708900 | [
"Unlicense"
] | null | null | null | Crocus/Source/CreAssets.cpp | ChunChunMorning/CrocusEngine | a93a7f813b60bf6f221abaf6b9d580263e708900 | [
"Unlicense"
] | null | null | null | Crocus/Source/CreAssets.cpp | ChunChunMorning/CrocusEngine | a93a7f813b60bf6f221abaf6b9d580263e708900 | [
"Unlicense"
] | null | null | null | # include "../Assets.hpp"
# include "../EncryptAsset.hpp"
# include "../Savedata.hpp"
using namespace s3d;
namespace cre
{
void AssetsLoader::start(const FilePath& path)
{
m_task.start([this, path]() {
# ifdef ENCRYPT_ASSET
auto binary = Crypto2::DecryptFile(path, Savedata::Key());
assert(binary.has_value(... | 20.7 | 111 | 0.639493 | ChunChunMorning |
b6886cf2fd92ba4eca8e383bd3937fb45eff3766 | 91,877 | cpp | C++ | src/navigation/examiner-xml.cpp | montylab3d/coin | 46dec7c01e553815dc6903475116444a1a6e78f5 | [
"BSD-3-Clause"
] | 158 | 2019-12-27T16:39:35.000Z | 2022-03-28T19:04:39.000Z | src/navigation/examiner-xml.cpp | jfb3615/coin | 071069d61fb06e823cad99a65e258221ae50bac9 | [
"BSD-3-Clause"
] | 261 | 2019-12-23T19:23:28.000Z | 2022-03-23T10:11:01.000Z | src/navigation/examiner-xml.cpp | jfb3615/coin | 071069d61fb06e823cad99a65e258221ae50bac9 | [
"BSD-3-Clause"
] | 63 | 2019-12-27T21:18:29.000Z | 2022-03-16T02:11:16.000Z | static const unsigned char examiner_xml[] = {
0x3c,0x3f,0x78,0x6d,0x6c,0x20,0x76,0x65,0x72,0x73,0x69,0x6f, // '<?xml versio'
0x6e,0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,0x65,0x6e,0x63,0x6f, // 'n="1.0" enco'
0x64,0x69,0x6e,0x67,0x3d,0x22,0x55,0x54,0x46,0x2d,0x38,0x22, // 'ding="UTF-8"'
0x3f,0x3e,0x0a, // '?>?'
0x... | 71.277735 | 80 | 0.672943 | montylab3d |
b6898604fc7907b65828bcf6b25786ea6c3c187b | 6,680 | cpp | C++ | Source/Engine/World/Private/Base/CommandContext.cpp | CodeLikeCXK/AngieEngine | 26f3cfdb1fdef6378ee75b000b8fe966bebb3a6e | [
"MIT"
] | 24 | 2019-07-15T22:48:44.000Z | 2021-11-02T04:42:48.000Z | Source/Engine/World/Private/Base/CommandContext.cpp | CodeLikeCXK/AngieEngine | 26f3cfdb1fdef6378ee75b000b8fe966bebb3a6e | [
"MIT"
] | 1 | 2021-11-02T09:41:31.000Z | 2021-11-05T18:35:14.000Z | Source/Engine/World/Private/Base/CommandContext.cpp | CodeLikeCXK/AngieEngine | 26f3cfdb1fdef6378ee75b000b8fe966bebb3a6e | [
"MIT"
] | 3 | 2020-02-03T08:34:50.000Z | 2021-07-28T05:19:22.000Z | /*
Angie Engine Source Code
MIT License
Copyright (C) 2017-2021 Alexander Samusev.
This file is part of the Angie Engine Source Code.
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 re... | 31.509434 | 152 | 0.56512 | CodeLikeCXK |
b68af0fdbd5d33e299d5df4b6eff0ebac4567af0 | 448 | cpp | C++ | data_structures/Arrays/CPP/sorting_lancelot.cpp | avi-pal/al-go-rithms | 5167a20f1db7b366ff19f2962c1746a02e4f5067 | [
"CC0-1.0"
] | 1,253 | 2017-06-06T07:19:25.000Z | 2022-03-30T17:07:58.000Z | data_structures/Arrays/CPP/sorting_lancelot.cpp | rishabh99-rc/al-go-rithms | 4df20d7ef7598fda4bc89101f9a99aac94cdd794 | [
"CC0-1.0"
] | 554 | 2017-09-29T18:56:01.000Z | 2022-02-21T15:48:13.000Z | data_structures/Arrays/CPP/sorting_lancelot.cpp | rishabh99-rc/al-go-rithms | 4df20d7ef7598fda4bc89101f9a99aac94cdd794 | [
"CC0-1.0"
] | 2,226 | 2017-09-29T19:59:59.000Z | 2022-03-25T08:59:55.000Z | #include<iostream>
using namespace std;
int main(){
int a[25],i,n;
cout<<"Enter the number of elements you wanna enter:\n";
cin>>n;
cout<<"Enter the elements:\n";
for(i=0;i<n;i++)
cin>>a[i];
for(i=0;i<n;i++){
for(int j=0;j<n-i-1;j++){
if(a[j]>a[j+1]){
a[j]=a[j]+a[j+1];
... | 17.92 | 58 | 0.441964 | avi-pal |
b68b0085faef692df2a2500e1ff3bbccac0a3553 | 3,484 | cpp | C++ | ponos/ponos/structures/mesh.cpp | filipecn/Ponos | 7b74791fa1c451a2e3f0de6115fd2b3fccc174e1 | [
"MIT"
] | 1 | 2021-09-17T18:37:55.000Z | 2021-09-17T18:37:55.000Z | ponos/ponos/structures/mesh.cpp | filipecn/ponos | 7b74791fa1c451a2e3f0de6115fd2b3fccc174e1 | [
"MIT"
] | 9 | 2017-11-03T01:34:48.000Z | 2020-05-09T19:26:51.000Z | ponos/ponos/structures/mesh.cpp | filipecn/Ponos | 7b74791fa1c451a2e3f0de6115fd2b3fccc174e1 | [
"MIT"
] | 2 | 2021-09-17T18:38:11.000Z | 2021-09-17T18:38:22.000Z | /*
* Copyright (c) 2017 FilipeCN
*
* The MIT License (MIT)
*
* 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, cop... | 35.917526 | 80 | 0.624569 | filipecn |
b68daf27bd9406e1fe7b2656bce2356ff536e13f | 217 | cc | C++ | Consolidation1/P57846.cc | srmeeseeks/PRO1-jutge-FIB | 3af3d28c77ff14a5dbff20b1b5ddc4178462d8a1 | [
"MIT"
] | null | null | null | Consolidation1/P57846.cc | srmeeseeks/PRO1-jutge-FIB | 3af3d28c77ff14a5dbff20b1b5ddc4178462d8a1 | [
"MIT"
] | null | null | null | Consolidation1/P57846.cc | srmeeseeks/PRO1-jutge-FIB | 3af3d28c77ff14a5dbff20b1b5ddc4178462d8a1 | [
"MIT"
] | null | null | null | //Màxim de dos enters
#include <iostream>
using namespace std;
int max2(int a, int b) {
if (a > b) return a;
else return b;
}
int main () {
int a,b;
cin >> a >> b;
cout << max2(a,b) << endl;
}
| 12.764706 | 30 | 0.534562 | srmeeseeks |
b6980d204efa634149e06f644eea75c9f4568d18 | 1,619 | cpp | C++ | Stack-QueueBFS-PriorityQueue/0020-Valid-Parentheses/main.cpp | FeiZhao0531/PlayLeetCode | ed23477fd6086d5139bda3d93feeabc09b06854d | [
"MIT"
] | 5 | 2019-05-11T18:33:32.000Z | 2019-12-13T09:13:02.000Z | Stack-QueueBFS-PriorityQueue/0020-Valid-Parentheses/main.cpp | FeiZhao0531/PlayLeetCode | ed23477fd6086d5139bda3d93feeabc09b06854d | [
"MIT"
] | null | null | null | Stack-QueueBFS-PriorityQueue/0020-Valid-Parentheses/main.cpp | FeiZhao0531/PlayLeetCode | ed23477fd6086d5139bda3d93feeabc09b06854d | [
"MIT"
] | null | null | null | /// Source : https://leetcode.com/problems/valid-parentheses/description/
/// Author : Fei
/// Time : Jun-09-2019
#include <iostream>
#include <stack>
#include <cassert>
using namespace std;
// Using Stack
// Time Complexity: O(n)
// Space Complexity: O(n)
class Solution {
public:
bool isValid(string s) {
... | 23.463768 | 73 | 0.361334 | FeiZhao0531 |
b698546aec848b7fb3f2e4d6e22cd7739019fda7 | 291 | cpp | C++ | vendor/uncrustify-0.59/tests/input/cpp/nl_brace_brace.cpp | b4hand/sauce | 8e1528944bc1bd42f4c1cb36d1bebd04e4f0447b | [
"MIT"
] | null | null | null | vendor/uncrustify-0.59/tests/input/cpp/nl_brace_brace.cpp | b4hand/sauce | 8e1528944bc1bd42f4c1cb36d1bebd04e4f0447b | [
"MIT"
] | null | null | null | vendor/uncrustify-0.59/tests/input/cpp/nl_brace_brace.cpp | b4hand/sauce | 8e1528944bc1bd42f4c1cb36d1bebd04e4f0447b | [
"MIT"
] | null | null | null |
SHOW_VAR status_vars[]= { { "Aborted_clients", (char *)&aborted_threads,
SHOW_LONGLONG, } };
SHOW_VAR status_vars[]=
{
{ "Aborted_clients", (char *)&aborted_threads,
SHOW_LONGLONG, }
};
SHOW_VAR status_vars[]=
{
{
"Aborted_clients", (char *)&aborted_threads,
SHOW_LONGLONG,
}
};
| 15.315789 | 72 | 0.680412 | b4hand |
b69bd599de6a8a2fc300f91870cbd590752871c4 | 6,426 | cpp | C++ | ShieldHook/ShieldHook.cpp | shekohex/coshield | bdcdc3420e9a926baacdea7c06f87752643d296a | [
"MIT"
] | 2 | 2020-07-30T15:33:16.000Z | 2021-06-29T12:17:55.000Z | ShieldHook/ShieldHook.cpp | shekohex/coshield | bdcdc3420e9a926baacdea7c06f87752643d296a | [
"MIT"
] | null | null | null | ShieldHook/ShieldHook.cpp | shekohex/coshield | bdcdc3420e9a926baacdea7c06f87752643d296a | [
"MIT"
] | 2 | 2019-10-06T06:17:37.000Z | 2020-05-01T17:32:24.000Z | // csv3Hook.cpp : Defines the exported functions for the DLL application.
//
#include "stdafx.h"
#include "hook.h"
#include <iostream>
#include "LegacyCipher.h"
#include <windows.h>
#include <string>
#pragma comment(lib, "ws2_32.lib")
#pragma comment(lib, "user32.lib")
#include <windows.h>
#include <process.h>
#incl... | 27.461538 | 137 | 0.687831 | shekohex |
b69bd8bb13e29bd1dbce5913d5bd16340a503ae7 | 669 | cc | C++ | src/ui/scenic/lib/gfx/tests/mocks/mocks.cc | casey/fuchsia | 2b965e9a1e8f2ea346db540f3611a5be16bb4d6b | [
"BSD-3-Clause"
] | 14 | 2020-10-25T05:48:36.000Z | 2021-09-20T02:46:20.000Z | src/ui/scenic/lib/gfx/tests/mocks/mocks.cc | DamieFC/fuchsia | f78a4a1326f4a4bb5834500918756173c01bab4f | [
"BSD-2-Clause"
] | 1 | 2022-01-14T23:38:40.000Z | 2022-01-14T23:38:40.000Z | src/ui/scenic/lib/gfx/tests/mocks/mocks.cc | DamieFC/fuchsia | f78a4a1326f4a4bb5834500918756173c01bab4f | [
"BSD-2-Clause"
] | 4 | 2020-12-28T17:04:45.000Z | 2022-03-12T03:20:44.000Z | // Copyright 2017 The Fuchsia 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 "src/ui/scenic/lib/gfx/tests/mocks/mocks.h"
#include "src/ui/scenic/lib/scenic/command_dispatcher.h"
namespace scenic_impl {
namespace gfx {
nam... | 29.086957 | 96 | 0.769806 | casey |
b69c8f04a4aa10b1040b58b8aa99f62d23760ad8 | 2,944 | hpp | C++ | indexer/centers_table.hpp | smartyw/organicmaps | 9b10eb9d3ed6833861cef294c2416cc98b15e10d | [
"Apache-2.0"
] | 4,879 | 2015-09-30T10:56:36.000Z | 2022-03-31T18:43:03.000Z | indexer/centers_table.hpp | smartyw/organicmaps | 9b10eb9d3ed6833861cef294c2416cc98b15e10d | [
"Apache-2.0"
] | 7,549 | 2015-09-30T10:52:53.000Z | 2022-03-31T22:04:22.000Z | indexer/centers_table.hpp | smartyw/organicmaps | 9b10eb9d3ed6833861cef294c2416cc98b15e10d | [
"Apache-2.0"
] | 1,493 | 2015-09-30T10:43:06.000Z | 2022-03-21T09:16:49.000Z | #pragma once
#include "coding/geometry_coding.hpp"
#include "coding/map_uint32_to_val.hpp"
#include "coding/point_coding.hpp"
#include "geometry/point2d.hpp"
#include <cstdint>
#include <memory>
#include <vector>
class FilesContainerR;
class Reader;
class Writer;
namespace search
{
// A wrapper class around serial... | 29.737374 | 97 | 0.715353 | smartyw |
b69cec5d29f8a8509d35c5ab2ad12368f62cd6cf | 464 | hpp | C++ | includes/LocalSearches/BestImprovement.hpp | manoelstilpen/jobshopscheduling | eae87513442eb39f08c0aed6948db0f1238064bd | [
"MIT"
] | 8 | 2019-05-01T00:19:48.000Z | 2022-01-29T22:36:21.000Z | includes/LocalSearches/BestImprovement.hpp | manoelstilpen/jobshopscheduling | eae87513442eb39f08c0aed6948db0f1238064bd | [
"MIT"
] | null | null | null | includes/LocalSearches/BestImprovement.hpp | manoelstilpen/jobshopscheduling | eae87513442eb39f08c0aed6948db0f1238064bd | [
"MIT"
] | 3 | 2019-08-12T18:46:17.000Z | 2022-02-20T05:04:25.000Z | //
// Created by manoel on 22/03/18.
//
#ifndef JOBSHOPSCHEDULING_BESTIMPROVEMENT_HPP
#define JOBSHOPSCHEDULING_BESTIMPROVEMENT_HPP
#include <Commons.hpp>
#include <Metaheuristics/Metaheuristic.hpp>
class BestImprovement : public Metaheuristic {
public:
explicit BestImprovement(Solution);
BestImprovement()... | 18.56 | 46 | 0.778017 | manoelstilpen |
b69d6d56990b569690fff64f50b74a440967232b | 937 | hpp | C++ | src/reyes/SymbolTable.hpp | cwbaker/sweet_render | 259830adba09fabe4de2eef3537f4a95828965d3 | [
"MIT"
] | null | null | null | src/reyes/SymbolTable.hpp | cwbaker/sweet_render | 259830adba09fabe4de2eef3537f4a95828965d3 | [
"MIT"
] | null | null | null | src/reyes/SymbolTable.hpp | cwbaker/sweet_render | 259830adba09fabe4de2eef3537f4a95828965d3 | [
"MIT"
] | null | null | null | #pragma once
#include "AddSymbolHelper.hpp"
#include <list>
#include <map>
#include <string>
#include <memory>
namespace reyes
{
class Scope;
class Symbol;
class SyntaxNode;
/**
// Hierarchical symbol table used to define the initial functions recognized
// by the shader parser as well as the param... | 24.025641 | 80 | 0.690502 | cwbaker |
b69f3d3db897eb95eb629ac2dfbe836f65609556 | 3,129 | cpp | C++ | BiosphereTest/Source/Main.cpp | PMArkive/Biosphere | baf62450b084ce327c3fc2eb0aa918e32462164e | [
"MIT"
] | 1 | 2021-09-10T17:18:51.000Z | 2021-09-10T17:18:51.000Z | BiosphereTest/Source/Main.cpp | PMArkive/Biosphere | baf62450b084ce327c3fc2eb0aa918e32462164e | [
"MIT"
] | null | null | null | BiosphereTest/Source/Main.cpp | PMArkive/Biosphere | baf62450b084ce327c3fc2eb0aa918e32462164e | [
"MIT"
] | null | null | null | #include <bio/Biosphere>
#include <string>
int vimain()
{
bio::app::Initialize(bio::app::RunMode::LibraryApplet).AssertOk();
bio::hipc::Object *vi = bio::sm::GetService("vi:m").AssertOk();
u32 hiads = 0;
vi->ProcessRequest<2>(bio::hipc::InRaw<u32>(0), bio::hipc::OutHandle<0>(hiads)).AssertOk();
bio... | 28.706422 | 135 | 0.626398 | PMArkive |
b6a048b854ef035e85377d4ea4727c8d4eac2cd2 | 3,622 | cpp | C++ | MeshTools/FESurfaceModifier.cpp | EMinsight/FEBioStudio | d3e6485610d19217550fb94cb22180bc4bda45f9 | [
"MIT"
] | null | null | null | MeshTools/FESurfaceModifier.cpp | EMinsight/FEBioStudio | d3e6485610d19217550fb94cb22180bc4bda45f9 | [
"MIT"
] | null | null | null | MeshTools/FESurfaceModifier.cpp | EMinsight/FEBioStudio | d3e6485610d19217550fb94cb22180bc4bda45f9 | [
"MIT"
] | null | null | null | /*This file is part of the FEBio Studio source code and is licensed under the MIT license
listed below.
See Copyright-FEBio-Studio.txt for details.
Copyright (c) 2021 University of Utah, The Trustees of Columbia University in
the City of New York, and others.
Permission is hereby granted, free of charge, to any pers... | 26.632353 | 89 | 0.694644 | EMinsight |
b6a1b1c0a25d9cc08624d913c0b8d9eb44a5e6d3 | 1,122 | hpp | C++ | lib/soc/Interrupt_guard.hpp | JayKickliter/CML | d21061a3abc013a8386798280b9595e9d4a2978c | [
"MIT"
] | null | null | null | lib/soc/Interrupt_guard.hpp | JayKickliter/CML | d21061a3abc013a8386798280b9595e9d4a2978c | [
"MIT"
] | null | null | null | lib/soc/Interrupt_guard.hpp | JayKickliter/CML | d21061a3abc013a8386798280b9595e9d4a2978c | [
"MIT"
] | null | null | null | #pragma once
/*
Name: interrupt_guard.hpp
Copyright(c) 2020 Jay Kickliter
This code is licensed under MIT license (see LICENSE file for details)
*/
//std
#include <cstdint>
namespace soc {
/**
* Provides an RAII style uninterruptible section.
*
* `Interrupt_guard` disables interrupts for its entire ... | 23.375 | 74 | 0.671123 | JayKickliter |
b6a21b76af99c232fa504ad067fd1b9aaed84d8f | 557 | cpp | C++ | Lux.Service/main.cpp | axodox/Lux | 00e8da582233ab4ecf22d773e647c9bd84eb7b32 | [
"MIT"
] | 9 | 2020-11-30T01:13:25.000Z | 2022-03-14T15:17:44.000Z | Lux.Service/main.cpp | axodox/Lux | 00e8da582233ab4ecf22d773e647c9bd84eb7b32 | [
"MIT"
] | 1 | 2020-11-30T15:45:27.000Z | 2021-02-17T22:11:14.000Z | Lux.Service/main.cpp | axodox/Lux | 00e8da582233ab4ecf22d773e647c9bd84eb7b32 | [
"MIT"
] | 1 | 2021-02-15T22:17:37.000Z | 2021-02-15T22:17:37.000Z | #include "pch.h"
#include "LightService.h"
using namespace Lux::Service;
using namespace std;
using namespace winrt;
int WINAPI wWinMain(
_In_ HINSTANCE /*hInstance*/,
_In_opt_ HINSTANCE /*hPrevInstance*/,
_In_ LPWSTR /*lpCmdLine*/,
_In_ int /*nShowCmd*/)
{
auto event = handle(CreateEvent(nullptr, false, t... | 25.318182 | 88 | 0.743268 | axodox |
b6b07e5d8fe4ec9d40886271f5ce89cf1d8887c0 | 12,313 | hpp | C++ | include/ax.hashlist.hpp | Mototroller/ax.hashlist | 16016455591e44732c618771ef4551b2c3bd90c1 | [
"Apache-2.0"
] | null | null | null | include/ax.hashlist.hpp | Mototroller/ax.hashlist | 16016455591e44732c618771ef4551b2c3bd90c1 | [
"Apache-2.0"
] | null | null | null | include/ax.hashlist.hpp | Mototroller/ax.hashlist | 16016455591e44732c618771ef4551b2c3bd90c1 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <algorithm>
#include <array>
#include <bitset>
#include <climits>
#include <cstdint>
#include <iterator>
#include <utility>
#define LOG_HEAD "[hl]: "
namespace ax { namespace hl {
/**
* Special default hash policy for haslist.
* Contains FNV-1 64- and 32-bits implementations,... | 36.108504 | 106 | 0.5067 | Mototroller |
b6b0933d066df14295bec136f97d62dd0426c76b | 2,419 | cpp | C++ | llvm/tools/append-file/append-file.cpp | keryell/llvm-2 | 4dc23a26d1bd6ced23969c0525dedbddf8c6fddc | [
"Apache-2.0"
] | 1 | 2022-01-06T15:44:48.000Z | 2022-01-06T15:44:48.000Z | llvm/tools/append-file/append-file.cpp | keryell/llvm-2 | 4dc23a26d1bd6ced23969c0525dedbddf8c6fddc | [
"Apache-2.0"
] | 2 | 2019-06-27T00:36:28.000Z | 2021-06-29T20:05:03.000Z | llvm/tools/append-file/append-file.cpp | keryell/llvm-2 | 4dc23a26d1bd6ced23969c0525dedbddf8c6fddc | [
"Apache-2.0"
] | null | null | null | //===-------------------- append-file/append-file.cpp ---------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 35.057971 | 80 | 0.577098 | keryell |
b6b2853c7ec4e2a9f1b23791c6f03323816953df | 3,238 | cxx | C++ | source/MitoKernel/Actor.cxx | smcolash/mitochondrion | 820bcecf981b6efd934784bd76c423b7bded5ad0 | [
"MIT"
] | null | null | null | source/MitoKernel/Actor.cxx | smcolash/mitochondrion | 820bcecf981b6efd934784bd76c423b7bded5ad0 | [
"MIT"
] | null | null | null | source/MitoKernel/Actor.cxx | smcolash/mitochondrion | 820bcecf981b6efd934784bd76c423b7bded5ad0 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <set>
#include "mito/Actor.h"
#include "mito/Event.h"
#include "mito/Port.h"
#include "mito/State.h"
#include "mito/Queue.h"
using namespace std;
/**
* A set of unique in-use Actor names.
*/
static set<string>actors;
#if 0
/**
* A function to provide unique Acto... | 16.690722 | 79 | 0.505559 | smcolash |
b6b5504d70ba8e4184bb87b98838514b7c95533a | 17,997 | cpp | C++ | clconsoleapp/clconsoleapp.cpp | foss-santanu/cormanlisp | 6ff68633ed730dbd1500f06639dd093513b4278e | [
"OpenSSL",
"MIT"
] | 608 | 2015-01-05T04:12:42.000Z | 2022-02-24T16:41:37.000Z | clconsoleapp/clconsoleapp.cpp | foss-santanu/cormanlisp | 6ff68633ed730dbd1500f06639dd093513b4278e | [
"OpenSSL",
"MIT"
] | 67 | 2015-01-08T04:47:00.000Z | 2021-08-05T19:56:22.000Z | clconsoleapp/clconsoleapp.cpp | foss-santanu/cormanlisp | 6ff68633ed730dbd1500f06639dd093513b4278e | [
"OpenSSL",
"MIT"
] | 94 | 2015-01-05T15:11:12.000Z | 2022-02-25T17:03:22.000Z | // -------------------------------
// Copyright (c) Corman Technologies Inc.
// See LICENSE.txt for license information.
// -------------------------------
//
// File: clconsole.cpp
// Contents: Corman Lisp console application client.
// Author: Roger Corman
// Created: 3/6/98
//
#include <wtypes.... | 25.383639 | 110 | 0.667222 | foss-santanu |
b6bbf05c3b184deacf26a036a290f2f0694dd586 | 1,850 | cpp | C++ | src/tests/test_filters.cpp | el-forkorama/botan | 4ad555977b03cb92dfac0b87a00febe4d8e7ff5e | [
"BSD-2-Clause"
] | null | null | null | src/tests/test_filters.cpp | el-forkorama/botan | 4ad555977b03cb92dfac0b87a00febe4d8e7ff5e | [
"BSD-2-Clause"
] | null | null | null | src/tests/test_filters.cpp | el-forkorama/botan | 4ad555977b03cb92dfac0b87a00febe4d8e7ff5e | [
"BSD-2-Clause"
] | null | null | null | /*
* (C) 2016 Daniel Neus
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#include "tests.h"
#if defined(BOTAN_HAS_FILTERS)
#include <botan/secqueue.h>
#endif
namespace Botan_Tests {
#if defined(BOTAN_HAS_FILTERS)
class Filter_Tests : public Test
{
public:
std::vector<Te... | 28.90625 | 106 | 0.614054 | el-forkorama |
b6bfc926376fbcdae6f0704ddeb7f6c68a1661f7 | 2,597 | cpp | C++ | 2.2-prioridades/priorities.cpp | mtctr/ufrn-str | 60b65232a280b7269ed830503c48c0eabd17dbe5 | [
"MIT"
] | null | null | null | 2.2-prioridades/priorities.cpp | mtctr/ufrn-str | 60b65232a280b7269ed830503c48c0eabd17dbe5 | [
"MIT"
] | null | null | null | 2.2-prioridades/priorities.cpp | mtctr/ufrn-str | 60b65232a280b7269ed830503c48c0eabd17dbe5 | [
"MIT"
] | null | null | null | #include <iostream>
#include <pthread.h>
#include "BlackGPIO/BlackGPIO.h"
#include "ADC/Adc.h"
#include <unistd.h>
#include <sys/time.h> // getpriority(int which, int who) setpriority(int which, int who, int prio);
#include <sys/resource.h>
#include <math.h>
#include <errno.h>
using namespace BlackLib;
void car... | 24.046296 | 104 | 0.574509 | mtctr |
b6c66ec1191cf442944bf32a84e9ec8aa6160a5c | 1,084 | cpp | C++ | 数据结构/树状数组/acw_244_3.cpp | tempure/algorithm-advance | 38c4504f64cd3fd15fc32cf20a541ad5ba2ad82b | [
"MIT"
] | 3 | 2020-11-16T08:58:30.000Z | 2020-11-16T08:58:33.000Z | 数据结构/树状数组/acw_244_3.cpp | tempure/algorithm-advance | 38c4504f64cd3fd15fc32cf20a541ad5ba2ad82b | [
"MIT"
] | null | null | null | 数据结构/树状数组/acw_244_3.cpp | tempure/algorithm-advance | 38c4504f64cd3fd15fc32cf20a541ad5ba2ad82b | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 10;
int tr[N], a[N];
int ans[N];
int n;
int lowbit(int x) {
return x & -x;
}
void add(int x, int c) {
for (int i = x; i <= n; i += lowbit(i))
tr[i] += c;
}
void init() {
for (int i = 1; i <= n; ++i) {
tr[i] += 1;
i... | 18.372881 | 56 | 0.390221 | tempure |
b6c695cdaee9fdac8c2116834f0155c3141cfc75 | 2,604 | cpp | C++ | Sources/Elastos/Packages/Service/Telephony/src/elastos/droid/teleservice/phone/settings/CPhoneAccountSettingsActivity.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Packages/Service/Telephony/src/elastos/droid/teleservice/phone/settings/CPhoneAccountSettingsActivity.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Packages/Service/Telephony/src/elastos/droid/teleservice/phone/settings/CPhoneAccountSettingsActivity.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | //=========================================================================
// Copyright (C) 2012 The Elastos 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
//
// ... | 32.55 | 83 | 0.695469 | jingcao80 |
b6c7494d3f38c4bc865f7c1ebcfd9792c684a4cd | 4,956 | cpp | C++ | Examples/SDKLibrary/interface/common/portable/data_types/opcua_server_on_network_t.cpp | beeond/robot-examples | afc6b8b10809988b03663d703203625927e66e8f | [
"MIT"
] | 1 | 2018-03-29T21:03:31.000Z | 2018-03-29T21:03:31.000Z | Examples/SDKLibrary/interface/common/portable/data_types/opcua_server_on_network_t.cpp | JayeshThamke/robot-examples | afc6b8b10809988b03663d703203625927e66e8f | [
"MIT"
] | null | null | null | Examples/SDKLibrary/interface/common/portable/data_types/opcua_server_on_network_t.cpp | JayeshThamke/robot-examples | afc6b8b10809988b03663d703203625927e66e8f | [
"MIT"
] | 4 | 2018-04-05T21:16:55.000Z | 2019-10-15T19:01:46.000Z | /* -----------------------------------------------------------------------------------------------------------------
COPYRIGHT (c) 2009 - 2017
HONEYWELL INC.,
ALL RIGHTS RESERVED
This so... | 23.267606 | 116 | 0.667474 | beeond |
b6c7f36c19bef09b0ddeca4107eb8e94002d4230 | 160 | cpp | C++ | Database/Profiler/CCWaitCountProfiler.cpp | gunaprsd/cavalia | a408c75fa349f3c6f45c929734437647a0c023c5 | [
"Apache-2.0"
] | 109 | 2015-11-28T11:51:35.000Z | 2022-03-24T05:14:57.000Z | Database/Profiler/CCWaitCountProfiler.cpp | gunaprsd/cavalia | a408c75fa349f3c6f45c929734437647a0c023c5 | [
"Apache-2.0"
] | 2 | 2019-12-03T17:37:00.000Z | 2019-12-04T19:00:51.000Z | Database/Profiler/CCWaitCountProfiler.cpp | gunaprsd/cavalia | a408c75fa349f3c6f45c929734437647a0c023c5 | [
"Apache-2.0"
] | 25 | 2015-12-09T09:21:40.000Z | 2021-09-24T14:17:26.000Z | #include "CCWaitCountProfiler.h"
namespace Cavalia{
namespace Database{
std::unordered_map<size_t, std::unordered_map<size_t, size_t>> *cc_wait_count_;
}
} | 22.857143 | 81 | 0.775 | gunaprsd |
b6c85646dc234630b84164847fc00f737642faa0 | 1,849 | cpp | C++ | src/collision/ChCModelBulletParticle.cpp | scpeters/chrono | a7cefda35d8a445963297cbe2dbb3cdfb4397f16 | [
"BSD-3-Clause"
] | 1 | 2020-02-16T16:52:08.000Z | 2020-02-16T16:52:08.000Z | src/collision/ChCModelBulletParticle.cpp | Milad-Rakhsha/Project-Chrono | 6ab7abcd532cfb3c5e3876478fdd49c7ab783f63 | [
"BSD-3-Clause"
] | null | null | null | src/collision/ChCModelBulletParticle.cpp | Milad-Rakhsha/Project-Chrono | 6ab7abcd532cfb3c5e3876478fdd49c7ab783f63 | [
"BSD-3-Clause"
] | null | null | null | //
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2010 Alessandro Tasora
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file at the top level of the distribution
// and at http://projectchrono.org/license-chrono.txt.
//
//... | 22.277108 | 86 | 0.61709 | scpeters |
b6cba4c84d1892e33015c62b68bdd5d0e9350d86 | 2,776 | cpp | C++ | Luogu/3796.cpp | miaowh/ICPC | c1f141ea005fb5d9582878e154c49f22b0f217ff | [
"MIT"
] | 1 | 2021-06-15T05:43:37.000Z | 2021-06-15T05:43:37.000Z | Luogu/3796.cpp | MiaoWH/ICPC | c1f141ea005fb5d9582878e154c49f22b0f217ff | [
"MIT"
] | null | null | null | Luogu/3796.cpp | MiaoWH/ICPC | c1f141ea005fb5d9582878e154c49f22b0f217ff | [
"MIT"
] | null | null | null | // ybmj
#include <bits/stdc++.h>
using namespace std;
#define lson (rt << 1)
#define rson (rt << 1 | 1)
#define lson_len (len - (len >> 1))
#define rson_len (len >> 1)
#define pb(x) push_back(x)
#define clr(a, x) memset(a, x, sizeof(a))
#define mp(x, y) make_pair(x, y)
typedef long long ll;
typedef pair<int, int> pii;
... | 26.951456 | 78 | 0.415706 | miaowh |
b6cd27f88106bcfeec474ef70046fd97a2aecdc6 | 1,936 | cpp | C++ | MotorPID.cpp | eviallet/myWRIO | df61bc468411cb7236968558f186ffef73ffa008 | [
"MIT"
] | 2 | 2019-09-26T12:19:26.000Z | 2021-06-18T08:24:18.000Z | MotorPID.cpp | m9122006/myWRIO | df61bc468411cb7236968558f186ffef73ffa008 | [
"MIT"
] | null | null | null | MotorPID.cpp | m9122006/myWRIO | df61bc468411cb7236968558f186ffef73ffa008 | [
"MIT"
] | 1 | 2020-07-20T05:19:57.000Z | 2020-07-20T05:19:57.000Z | #include "MotorPID.h"
using namespace myRIO;
/** Set the PI coefficients of the motors
* @param kp proportional coefficient
* @param ki integral coefficicent
* This functions sets the coefficients of the PI motor corrector.
* And initialises a vector with 0's.
*/
MotorPID::MotorPID(double kp, double ki) :
lastEnc(0... | 22.776471 | 115 | 0.692665 | eviallet |
b6cd845359797ab703a038d903fc15809af3f616 | 7,127 | cpp | C++ | test/boost_test/eagine/string_list.cpp | ford442/oglplu2 | abf1e28d9bcd0d2348121e8640d9611a94112a83 | [
"BSL-1.0"
] | 103 | 2015-10-15T07:09:22.000Z | 2022-03-20T03:39:32.000Z | test/boost_test/eagine/string_list.cpp | matus-chochlik/eagine-core | 5bc2d6b9b053deb3ce6f44f0956dfccd75db4649 | [
"BSL-1.0"
] | 11 | 2015-11-25T11:39:49.000Z | 2021-06-18T08:06:06.000Z | test/boost_test/eagine/string_list.cpp | matus-chochlik/eagine-core | 5bc2d6b9b053deb3ce6f44f0956dfccd75db4649 | [
"BSL-1.0"
] | 10 | 2016-02-28T00:13:20.000Z | 2021-09-06T05:21:38.000Z | /*
* Copyright Matus Chochlik.
* Distributed under the Boost Software License, Version 1.0.
* See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt
*/
#include <eagine/string_list.hpp>
#define BOOST_TEST_MODULE EAGINE_string_list
#include "../unit_test_begin.inl"
#include <s... | 32.103604 | 78 | 0.514663 | ford442 |
b6d4caecb04244877ebbf17267d317759c015d9d | 9,279 | inl | C++ | include/wykobi/wykobi_hull.inl | OliverBScott/wykobi | 49afb595ae9188f9cf0ca30fe6f5a7bb112a3a8f | [
"MIT"
] | 1 | 2021-11-09T21:20:04.000Z | 2021-11-09T21:20:04.000Z | include/wykobi/wykobi_hull.inl | OliverBScott/wykobi | 49afb595ae9188f9cf0ca30fe6f5a7bb112a3a8f | [
"MIT"
] | 3 | 2021-02-24T06:37:26.000Z | 2022-01-25T23:17:26.000Z | include/wykobi/wykobi_hull.inl | OliverBScott/wykobi | 49afb595ae9188f9cf0ca30fe6f5a7bb112a3a8f | [
"MIT"
] | 1 | 2021-02-21T00:20:28.000Z | 2021-02-21T00:20:28.000Z | /*
(***********************************************************************)
(* *)
(* Wykobi Computational Geometry Library *)
(* Release Version 0.0.5 *)
(* http://www.wykobi.... | 31.454237 | 116 | 0.427632 | OliverBScott |
b6d6bc08c37d20278a2d8070dba54425d34d0c2b | 8,738 | cpp | C++ | rellic/AST/ExprCombine.cpp | meme/rellic | 24f2bb7b819010f5c8bcc78d8ae23c979ad57811 | [
"Apache-2.0"
] | null | null | null | rellic/AST/ExprCombine.cpp | meme/rellic | 24f2bb7b819010f5c8bcc78d8ae23c979ad57811 | [
"Apache-2.0"
] | null | null | null | rellic/AST/ExprCombine.cpp | meme/rellic | 24f2bb7b819010f5c8bcc78d8ae23c979ad57811 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2018 Trail of Bits, 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 o... | 33.607692 | 79 | 0.652209 | meme |
b6d83e038f75c2ae1166694b3dce9c9ebcdc6a72 | 833 | cpp | C++ | src/ECS/Systems/gates.cpp | SPC-Some-Polish-Coders/PopHead | 2bce21b1a6b3d16a2ccecf0d15faeebf6a486c81 | [
"MIT"
] | 117 | 2019-03-18T20:09:54.000Z | 2022-03-27T22:40:52.000Z | src/ECS/Systems/gates.cpp | SPC-Some-Polish-Coders/PopHead | 2bce21b1a6b3d16a2ccecf0d15faeebf6a486c81 | [
"MIT"
] | 443 | 2019-04-07T19:59:56.000Z | 2020-05-23T12:25:28.000Z | src/ECS/Systems/gates.cpp | SPC-Some-Polish-Coders/PopHead | 2bce21b1a6b3d16a2ccecf0d15faeebf6a486c81 | [
"MIT"
] | 19 | 2019-03-20T19:57:34.000Z | 2020-11-21T15:35:02.000Z | #include "pch.hpp"
#include "gates.hpp"
#include "ECS/Components/objectsComponents.hpp"
#include "ECS/Components/graphicsComponents.hpp"
#include "ECS/Components/physicsComponents.hpp"
namespace ph::system {
using namespace component;
void Gates::update(float dt)
{
PH_PROFILE_FUNCTION();
if(sPause) return;
mReg... | 22.513514 | 60 | 0.741897 | SPC-Some-Polish-Coders |
b6d8ababc7686b947040980662b911f5cd1d72cc | 1,097 | cxx | C++ | PrivateLibrary/FiberCalculator.cxx | BRAINSia/DTIProcessToolkit | bdd4ae24c6fef1f674978dd096b1e581c134bc8f | [
"Apache-2.0"
] | 5 | 2019-11-08T08:44:23.000Z | 2021-02-09T03:02:54.000Z | PrivateLibrary/FiberCalculator.cxx | BRAINSia/DTIProcessToolkit | bdd4ae24c6fef1f674978dd096b1e581c134bc8f | [
"Apache-2.0"
] | 24 | 2015-01-13T16:59:37.000Z | 2022-02-25T22:19:51.000Z | PrivateLibrary/FiberCalculator.cxx | BRAINSia/DTIProcessToolkit | bdd4ae24c6fef1f674978dd096b1e581c134bc8f | [
"Apache-2.0"
] | 8 | 2015-04-24T23:16:46.000Z | 2019-11-25T19:50:40.000Z | #include "FiberCalculator.h"
itk::DTITubeSpatialObjectPoint<DIM>
DTIPointWarper::ComputeNewPoint(const itk::DTITubeSpatialObjectPoint<DIM> & oldpoint) const
{
itk::DTITubeSpatialObjectPoint<DIM> newpoint(oldpoint);
typedef itk::DTITubeSpatialObjectPoint<DIM>::PointType PointType;
PointType p = oldpoint->GetPosi... | 29.648649 | 106 | 0.76299 | BRAINSia |
b6da68bc1878d529bc722485053fb8fc6537af7f | 4,343 | hpp | C++ | src/relational/Relation.hpp | bda-uni-lu/AIR | 0c9732a28ffe5fb9043d926ccfe3f2c3728f1c1a | [
"BSD-3-Clause"
] | null | null | null | src/relational/Relation.hpp | bda-uni-lu/AIR | 0c9732a28ffe5fb9043d926ccfe3f2c3728f1c1a | [
"BSD-3-Clause"
] | null | null | null | src/relational/Relation.hpp | bda-uni-lu/AIR | 0c9732a28ffe5fb9043d926ccfe3f2c3728f1c1a | [
"BSD-3-Clause"
] | null | null | null | /**
* Copyright (c) 2020 University of Luxembourg. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of
*... | 24.95977 | 95 | 0.686392 | bda-uni-lu |
b6db527fa85b774554bb82a628478dc3fb640893 | 12,797 | cpp | C++ | test/src/pc/tls_client.cpp | falko-strenzke/fleaTLS | 613a7cb977333f5f193f91b9e2c780d08aa8a3d5 | [
"Apache-2.0"
] | null | null | null | test/src/pc/tls_client.cpp | falko-strenzke/fleaTLS | 613a7cb977333f5f193f91b9e2c780d08aa8a3d5 | [
"Apache-2.0"
] | null | null | null | test/src/pc/tls_client.cpp | falko-strenzke/fleaTLS | 613a7cb977333f5f193f91b9e2c780d08aa8a3d5 | [
"Apache-2.0"
] | 1 | 2020-08-06T10:25:03.000Z | 2020-08-06T10:25:03.000Z | /* fleaTLS cryptographic library
Copyright (C) 2015-2019 cryptosource GmbH
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 applica... | 30.688249 | 131 | 0.690084 | falko-strenzke |
b6de0adc4d85b7aa42ce1a9997a7cadf1e01dd42 | 7,611 | cpp | C++ | BCG/BCGPUserTool.cpp | 11Zero/DemoBCG | 8f41d5243899cf1c82990ca9863fb1cb9f76491c | [
"MIT"
] | 2 | 2018-03-30T06:40:08.000Z | 2022-02-23T12:40:13.000Z | BCG/BCGPUserTool.cpp | 11Zero/DemoBCG | 8f41d5243899cf1c82990ca9863fb1cb9f76491c | [
"MIT"
] | null | null | null | BCG/BCGPUserTool.cpp | 11Zero/DemoBCG | 8f41d5243899cf1c82990ca9863fb1cb9f76491c | [
"MIT"
] | 1 | 2020-08-11T05:48:02.000Z | 2020-08-11T05:48:02.000Z | //*******************************************************************************
// COPYRIGHT NOTES
// ---------------
// This is a part of the BCGControlBar Library
// Copyright (C) 1998-2014 BCGSoft Ltd.
// All rights reserved.
//
// This source code can be used, distributed or modified
// only under terms and condi... | 23.563467 | 93 | 0.551964 | 11Zero |
b6de287a438ec1fcf75795a4e56e06f3c348d189 | 1,237 | hpp | C++ | sources/modules/levelset/SpatialDerivative/UpwindFirst/UpwindFirstENO3_impl.hpp | mdoshi96/beacls | 860426ed1336d9539dea195987efcdd8a8276a1c | [
"BSD-2-Clause",
"BSD-2-Clause-FreeBSD"
] | 30 | 2017-12-17T22:57:50.000Z | 2022-01-30T17:06:34.000Z | sources/modules/levelset/SpatialDerivative/UpwindFirst/UpwindFirstENO3_impl.hpp | codingblazes/beacls | 6c1d685ee00e3b39d8100c4a170a850682679abc | [
"BSD-2-Clause",
"BSD-2-Clause-FreeBSD"
] | 2 | 2017-03-24T06:18:16.000Z | 2017-04-04T16:16:06.000Z | sources/modules/levelset/SpatialDerivative/UpwindFirst/UpwindFirstENO3_impl.hpp | codingblazes/beacls | 6c1d685ee00e3b39d8100c4a170a850682679abc | [
"BSD-2-Clause",
"BSD-2-Clause-FreeBSD"
] | 8 | 2018-07-06T01:47:21.000Z | 2021-07-23T15:50:34.000Z | #ifndef __UpwindFirstENO3_impl_hpp__
#define __UpwindFirstENO3_impl_hpp__
#include <cstdint>
#include <vector>
#include <typedef.hpp>
namespace levelset {
class HJI_Grid;
class UpwindFirstENO3a;
class UpwindFirstENO3_impl {
private:
beacls::UVecType type;
UpwindFirstENO3a *upwindFirstENO3a;
public:
UpwindFi... | 23.788462 | 67 | 0.74131 | mdoshi96 |
b6e0a3da0d71f3c9729cafaced76489db38614e8 | 1,426 | cpp | C++ | Game/Source/SceneGameOver.cpp | AdriaSeSa/LaboratoryGame | 11c787f1785d0c8706431c25cfae96253f6a7c89 | [
"MIT"
] | null | null | null | Game/Source/SceneGameOver.cpp | AdriaSeSa/LaboratoryGame | 11c787f1785d0c8706431c25cfae96253f6a7c89 | [
"MIT"
] | null | null | null | Game/Source/SceneGameOver.cpp | AdriaSeSa/LaboratoryGame | 11c787f1785d0c8706431c25cfae96253f6a7c89 | [
"MIT"
] | null | null | null | #include "SceneGameOver.h"
#include "BackGround.h"
#include "PanelGameOver.h"
SceneGameOver::SceneGameOver(Application* app) : Scene(app)
{
ID = 1;
}
bool SceneGameOver::Start()
{
mainMenu = _app->textures->Load("Assets/textures/Menu/GameOverOptions.png", false);
bg = new BackGround("menuBackGround", "Men... | 17.604938 | 87 | 0.562412 | AdriaSeSa |
b6ebf1b81e9cc296d095c9e2329f4283bbdb8762 | 2,446 | cpp | C++ | cognitics/src/flt/LevelOfDetail.cpp | mikedig/cdb-productivity-api | e2bedaa550a8afa780c01f864d72e0aebd87dd5a | [
"MIT"
] | null | null | null | cognitics/src/flt/LevelOfDetail.cpp | mikedig/cdb-productivity-api | e2bedaa550a8afa780c01f864d72e0aebd87dd5a | [
"MIT"
] | null | null | null | cognitics/src/flt/LevelOfDetail.cpp | mikedig/cdb-productivity-api | e2bedaa550a8afa780c01f864d72e0aebd87dd5a | [
"MIT"
] | null | null | null | /****************************************************************************
Copyright (c) 2019 Cognitics, Inc.
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 with... | 31.358974 | 77 | 0.611202 | mikedig |
b6f08e551c6c7568635648a3a98fc4a135211a3f | 32,482 | cpp | C++ | OvRender/source/d3d9/d3d9record.cpp | fengjixuchui/Push | 662cfb8684af63b8c8afbd742aeabdfa195441fb | [
"MIT"
] | 32 | 2015-07-19T05:33:11.000Z | 2021-10-31T10:45:16.000Z | OvRender/source/d3d9/d3d9record.cpp | fengjixuchui/Push | 662cfb8684af63b8c8afbd742aeabdfa195441fb | [
"MIT"
] | 63 | 2015-03-08T08:41:12.000Z | 2020-01-15T13:50:46.000Z | OvRender/source/d3d9/d3d9record.cpp | fengjixuchui/Push | 662cfb8684af63b8c8afbd742aeabdfa195441fb | [
"MIT"
] | 11 | 2016-02-14T09:57:27.000Z | 2021-07-03T09:59:23.000Z | #include <Windows.h>
struct CVideoFrameForm
{
// The format of a single video frame.
CVideoFrameForm()
: m_iPitch(0)
, m_iBPP(3)
{
m_Size.cx = 0;
m_Size.cy = 0;
}
bool IsFrameFormInit() const
{
if (m_Size.cx <= 0)
return false;
if (m_... | 30.075926 | 126 | 0.60181 | fengjixuchui |
b6f5b984078cf919f41dcd3ef8eb45b7693e0446 | 1,116 | cpp | C++ | d3d8tod3d9shim/StructConverter.cpp | code-tom-code/D3D8toD3D9shim | 93176264610c08a7ddc35bab9067bb1c2b52aeff | [
"Zlib"
] | 4 | 2020-04-04T13:46:45.000Z | 2022-02-27T21:33:30.000Z | d3d8tod3d9shim/StructConverter.cpp | GFOXSH/D3D8toD3D9shim | 9af6412f63f77c9e1905eb2bcddc1345788bd38e | [
"Zlib"
] | null | null | null | d3d8tod3d9shim/StructConverter.cpp | GFOXSH/D3D8toD3D9shim | 9af6412f63f77c9e1905eb2bcddc1345788bd38e | [
"Zlib"
] | 1 | 2020-12-08T04:18:08.000Z | 2020-12-08T04:18:08.000Z | #pragma once
#include "d3d9include.h"
#include "d3d8include.h"
#include "StructConverter.h"
REFIID ConvertRIID8to9(REFIID riid8)
{
if (riid8 == IID_IDirect3D8)
return IID_IDirect3D9;
else if (riid8 == IID_IDirect3DDevice8)
return IID_IDirect3DDevice9;
else if (riid8 == IID_IDirect3DBaseTexture8)
... | 31 | 48 | 0.773297 | code-tom-code |
b6f5daa2de8c4ea000d24c1dc7b67d67a0603f9c | 102 | cpp | C++ | Catch2/include/internal/catch_interfaces_config.cpp | TheBlindMick/MPU6050 | 66880369fa7a73755846e60568137dfc07da1b5c | [
"BSL-1.0"
] | 322 | 2019-04-03T15:31:46.000Z | 2022-03-21T13:32:06.000Z | Catch2/include/internal/catch_interfaces_config.cpp | TheBlindMick/MPU6050 | 66880369fa7a73755846e60568137dfc07da1b5c | [
"BSL-1.0"
] | 79 | 2018-08-01T11:50:45.000Z | 2020-11-17T13:40:06.000Z | Catch2/include/internal/catch_interfaces_config.cpp | TheBlindMick/MPU6050 | 66880369fa7a73755846e60568137dfc07da1b5c | [
"BSL-1.0"
] | 110 | 2019-04-03T15:54:58.000Z | 2022-03-25T09:26:41.000Z | #include "internal/catch_interfaces_config.h"
namespace Catch {
IConfig::~IConfig() = default;
}
| 17 | 45 | 0.72549 | TheBlindMick |
b6fbf735fb6c92ec878f931531b902fa5cc65b76 | 9,710 | hpp | C++ | naoqi-sdk-2.5.5.5-linux64/include/qi/strand.hpp | applejenny66/docker_pepper | 2469cc4db6585161a31ac44c8fcf2605d71318b1 | [
"MIT"
] | null | null | null | naoqi-sdk-2.5.5.5-linux64/include/qi/strand.hpp | applejenny66/docker_pepper | 2469cc4db6585161a31ac44c8fcf2605d71318b1 | [
"MIT"
] | null | null | null | naoqi-sdk-2.5.5.5-linux64/include/qi/strand.hpp | applejenny66/docker_pepper | 2469cc4db6585161a31ac44c8fcf2605d71318b1 | [
"MIT"
] | null | null | null | #pragma once
/*
** Copyright (C) 2012 Aldebaran Robotics
** See COPYING for the license
*/
#ifndef _QI_STRAND_HPP_
#define _QI_STRAND_HPP_
#include <deque>
#include <atomic>
#include <qi/assert.hpp>
#include <qi/detail/executioncontext.hpp>
#include <boost/enable_shared_from_this.hpp>
#include <boost/shared_ptr.hpp... | 36.920152 | 163 | 0.587436 | applejenny66 |
b6fdf3087dfd0724fc6f32efab698e7487c2c3b5 | 3,043 | cc | C++ | leetcode/p2.cc | lhyqie/lhyqie.github.io | d986ac4afddf169a07d4f1de95bcc737368e212b | [
"MIT"
] | null | null | null | leetcode/p2.cc | lhyqie/lhyqie.github.io | d986ac4afddf169a07d4f1de95bcc737368e212b | [
"MIT"
] | null | null | null | leetcode/p2.cc | lhyqie/lhyqie.github.io | d986ac4afddf169a07d4f1de95bcc737368e212b | [
"MIT"
] | null | null | null | #include "common.h"
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode() : val(0), next(nullptr) {}
* ListNode(int x) : val(x), next(nullptr) {}
* ListNode(int x, ListNode *next) : val(x), next(next) {}
* };
*/
class Solution {
public:
... | 23.773438 | 62 | 0.372659 | lhyqie |
8e05f8b9d6943e37633aba242b6ed8975339a050 | 223 | hpp | C++ | src/modules/osgParticle/generated_code/ModularEmitter.pypp.hpp | JaneliaSciComp/osgpyplusplus | a5ae3f69c7e9101a32d8cc95fe680dab292f75ac | [
"BSD-3-Clause"
] | 17 | 2015-06-01T12:19:46.000Z | 2022-02-12T02:37:48.000Z | src/modules/osgParticle/generated_code/ModularEmitter.pypp.hpp | cmbruns/osgpyplusplus | f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75 | [
"BSD-3-Clause"
] | 7 | 2015-07-04T14:36:49.000Z | 2015-07-23T18:09:49.000Z | src/modules/osgParticle/generated_code/ModularEmitter.pypp.hpp | cmbruns/osgpyplusplus | f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75 | [
"BSD-3-Clause"
] | 7 | 2015-11-28T17:00:31.000Z | 2020-01-08T07:00:59.000Z | // This file has been generated by Py++.
#ifndef ModularEmitter_hpp__pyplusplus_wrapper
#define ModularEmitter_hpp__pyplusplus_wrapper
void register_ModularEmitter_class();
#endif//ModularEmitter_hpp__pyplusplus_wrapper
| 24.777778 | 46 | 0.860987 | JaneliaSciComp |
8e0b6b2b31e75c66bc9abd82bb22bb1f58c9a1e4 | 1,020 | cpp | C++ | Lesson4/MaxCounters/maxCounters.cpp | gonini/Codility-Lesson | c362a7357752b2cf89b9ad92d9e512c97b988a4e | [
"MIT"
] | null | null | null | Lesson4/MaxCounters/maxCounters.cpp | gonini/Codility-Lesson | c362a7357752b2cf89b9ad92d9e512c97b988a4e | [
"MIT"
] | null | null | null | Lesson4/MaxCounters/maxCounters.cpp | gonini/Codility-Lesson | c362a7357752b2cf89b9ad92d9e512c97b988a4e | [
"MIT"
] | null | null | null | // you can use includes, for example:
#include <algorithm>
#include <vector>
#include <cstring>
#include <iostream>
#include <set>
#define MAX 100001
// you can write to stdout for debugging purposes, e.g.
// cout << "this is a debug message" << endl;
using namespace std;
vector<int> solution(int N, vector<int> &A);... | 21.702128 | 55 | 0.509804 | gonini |
8e0bab99aec84d75ef4ba402fdd8d1b57f19a878 | 956 | cpp | C++ | src/plat/linux/linux_countTimer.cpp | Lovey847/brotherGame | 3f55c5c78cfd531dcbc0469a1befaafd31a46e0b | [
"MIT"
] | null | null | null | src/plat/linux/linux_countTimer.cpp | Lovey847/brotherGame | 3f55c5c78cfd531dcbc0469a1befaafd31a46e0b | [
"MIT"
] | null | null | null | src/plat/linux/linux_countTimer.cpp | Lovey847/brotherGame | 3f55c5c78cfd531dcbc0469a1befaafd31a46e0b | [
"MIT"
] | null | null | null | #define _POSIX_C_SOURCE 199309L // We need clock_gettime
#include "types.h"
#include "countTimer.h"
#include <ctime>
countTimer_counts_t countTimer_t::resolution() {return 1000000000;}
countTimer_counts_t countTimer_t::time() {
struct timespec ret;
clock_gettime(CLOCK_MONOTONIC_RAW, &ret);
return ret.tv_sec*1000... | 25.157895 | 67 | 0.736402 | Lovey847 |
8e1073b27e0a82ce4ea6557097c6e1c57b07dea1 | 9,254 | cpp | C++ | RenderCore/DX11/Annotator.cpp | djewsbury/XLE | 7806e4b5c9de5631c94c2020f6adcd4bd8e3d91e | [
"MIT"
] | 3 | 2015-12-04T09:16:53.000Z | 2021-05-28T23:22:49.000Z | RenderCore/DX11/Annotator.cpp | djewsbury/XLE | 7806e4b5c9de5631c94c2020f6adcd4bd8e3d91e | [
"MIT"
] | null | null | null | RenderCore/DX11/Annotator.cpp | djewsbury/XLE | 7806e4b5c9de5631c94c2020f6adcd4bd8e3d91e | [
"MIT"
] | 2 | 2015-03-03T05:32:39.000Z | 2015-12-04T09:16:54.000Z | // Copyright 2015 XLGAMES Inc.
//
// Distributed under the MIT License (See
// accompanying file "LICENSE" or the website
// http://www.opensource.org/licenses/mit-license.php)
#include "../IAnnotator.h"
#include "../../Utility/Threading/Mutex.h"
#include "../../Core/Types.h"
#include <vector>
#include <deque>
#includ... | 33.650909 | 106 | 0.710396 | djewsbury |
8e10e968e709f726d481c852499cc9f8aacc0635 | 4,199 | cc | C++ | sas/src/model/DescribePropertyScaDetailRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | sas/src/model/DescribePropertyScaDetailRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | sas/src/model/DescribePropertyScaDetailRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud 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... | 24.271676 | 90 | 0.762801 | aliyun |
8e1146874329de385f599d23e36091c20904f612 | 588 | cpp | C++ | LeetCode/Replace All Digits with Characters/main.cpp | ShubhamJagtap2000/competitive-programming-1 | 3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84 | [
"MIT"
] | 1 | 2021-07-22T07:37:31.000Z | 2021-07-22T07:37:31.000Z | LeetCode/Replace All Digits with Characters/main.cpp | ShubhamJagtap2000/competitive-programming-1 | 3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84 | [
"MIT"
] | null | null | null | LeetCode/Replace All Digits with Characters/main.cpp | ShubhamJagtap2000/competitive-programming-1 | 3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84 | [
"MIT"
] | null | null | null | class Solution {
private:
vector<char> alphabets;
char shift(char c, int x) {
int index = 0;
for (int i = 0; i < 26; i++) {
if (alphabets[i] == c) {
index = i;
break;
}
}
return alphabets[(index + x) % 26];
}
pub... | 22.615385 | 47 | 0.387755 | ShubhamJagtap2000 |
8e1604553e433023c5c3972601fae33836b32830 | 19,805 | cpp | C++ | src/xProvision.cpp | KalbeAbbas/arduino-Provision | 934daf684b268bc488b2621d8091fe14f3a5e774 | [
"MIT"
] | null | null | null | src/xProvision.cpp | KalbeAbbas/arduino-Provision | 934daf684b268bc488b2621d8091fe14f3a5e774 | [
"MIT"
] | null | null | null | src/xProvision.cpp | KalbeAbbas/arduino-Provision | 934daf684b268bc488b2621d8091fe14f3a5e774 | [
"MIT"
] | null | null | null | #include <xProvision.h>
xProvision::xProvision(void)
{
}
xProvision::~xProvision(void)
{
/*nothing to destruct*/
}
bool xProvision::begin(void)
{
Serial.begin(BAUDSPEED);
while (!Serial)
continue;
Serial.println("START");
// read config file
return loadConfigFile(jsonFileStored);
... | 23.976998 | 99 | 0.566069 | KalbeAbbas |
8e17c7dbb4ca2bc5b1b756c08028e6367024af27 | 800 | cpp | C++ | Leetcode/MergeKLists.cpp | zhanghuanzj/C- | b271de02885466e97d6a2072f4f93f87625834e4 | [
"Apache-2.0"
] | null | null | null | Leetcode/MergeKLists.cpp | zhanghuanzj/C- | b271de02885466e97d6a2072f4f93f87625834e4 | [
"Apache-2.0"
] | null | null | null | Leetcode/MergeKLists.cpp | zhanghuanzj/C- | b271de02885466e97d6a2072f4f93f87625834e4 | [
"Apache-2.0"
] | null | null | null | class Solution {
public:
ListNode *mergeKLists(vector<ListNode *> &lists) {
return merge(lists,0,lists.size()-1);
}
ListNode *merge(vector<ListNode *> &list,int left,int right){
if(left>right) return nullptr;
if(left==right) return list[left];
int mid = (left+right)/2;
... | 28.571429 | 65 | 0.4625 | zhanghuanzj |
8e1af2823906933c6bccd1c2665a13332d1a1b05 | 683 | hpp | C++ | src/api/cpp/include/OISkeletonEnums.hpp | jacobnb/OpenISS | 028b315953b27dd3acc449efd5cfb485805a14b3 | [
"Apache-2.0"
] | null | null | null | src/api/cpp/include/OISkeletonEnums.hpp | jacobnb/OpenISS | 028b315953b27dd3acc449efd5cfb485805a14b3 | [
"Apache-2.0"
] | null | null | null | src/api/cpp/include/OISkeletonEnums.hpp | jacobnb/OpenISS | 028b315953b27dd3acc449efd5cfb485805a14b3 | [
"Apache-2.0"
] | 1 | 2018-11-17T19:33:31.000Z | 2018-11-17T19:33:31.000Z | // A placeholder for OpenISS Skeleton related enumerations.
#ifndef OISkeletonEnums_hpp
#define OISkeletonEnums_hpp
enum class OISKELETON_JOINT_TYPES
{
//
OISKELETON_JOINT_HEAD,
OISKELETON_JOINT_NECK,
//
OISKELETON_JOINT_LEFT_SHOULDER,
OISKELETON_JOINT_RIGHT_SHOULDER,
OISKELETON_JOINT_LEFT_ELBOW,
... | 22.766667 | 59 | 0.796486 | jacobnb |
8e1e677dd35f141f9fec4965665be846a26d3a00 | 493 | hpp | C++ | engine/src/TextContentChangeEvent.hpp | skryabiin/core | 13bcdd0c9f3ebcc4954b9ee05ea95db0f77e16f7 | [
"MIT"
] | null | null | null | engine/src/TextContentChangeEvent.hpp | skryabiin/core | 13bcdd0c9f3ebcc4954b9ee05ea95db0f77e16f7 | [
"MIT"
] | null | null | null | engine/src/TextContentChangeEvent.hpp | skryabiin/core | 13bcdd0c9f3ebcc4954b9ee05ea95db0f77e16f7 | [
"MIT"
] | null | null | null | #ifndef CORE_TEXT_CONTENT_CHANGE_HPP
#define CORE_TEXT_CONTENT_CHANGE_HPP
#include "Core.hpp"
#include "LuaUtil.hpp"
#include "Event.hpp"
#include "Entity.hpp"
namespace core {
struct TextContentChangeEvent : public Event<TextContentChangeEvent> {
TextContentChangeEvent();
Entity entity;
std::string textCo... | 14.939394 | 71 | 0.752535 | skryabiin |
8e1eb62fe7a12170b9d239450f5218da3d797f27 | 12,642 | cpp | C++ | src/plugPikiYamashita/P2DScreen.cpp | doldecomp/pikmin | 8c8c20721ecb2a19af8e50a4bdebdba90c9a27ed | [
"Unlicense"
] | 27 | 2021-09-28T00:33:11.000Z | 2021-11-18T19:38:40.000Z | src/plugPikiYamashita/P2DScreen.cpp | doldecomp/pikmin | 8c8c20721ecb2a19af8e50a4bdebdba90c9a27ed | [
"Unlicense"
] | null | null | null | src/plugPikiYamashita/P2DScreen.cpp | doldecomp/pikmin | 8c8c20721ecb2a19af8e50a4bdebdba90c9a27ed | [
"Unlicense"
] | null | null | null | #include "types.h"
/*
* --INFO--
* Address: ........
* Size: 00009C
*/
void _Error(char*, ...)
{
// UNUSED FUNCTION
}
/*
* --INFO--
* Address: ........
* Size: 0000F4
*/
void _Print(char*, ...)
{
// UNUSED FUNCTION
}
/*
* --INFO--
* Address: 801B2B50
* Size: 00004C
*/
void P2DScreen::update()
{
/*
.l... | 19.877358 | 90 | 0.446844 | doldecomp |
8e1fe05a2fba1b23ae991c117c72c787b93ca61f | 2,468 | cpp | C++ | test/test_algo_sequence.cpp | alex011235/algo | ce36c2673e037a12278117cb036550bee82ecadf | [
"MIT"
] | 2 | 2015-08-16T23:45:23.000Z | 2015-10-13T08:12:00.000Z | test/test_algo_sequence.cpp | alex011235/algorithm | ce36c2673e037a12278117cb036550bee82ecadf | [
"MIT"
] | 1 | 2021-03-21T16:33:53.000Z | 2021-03-21T16:33:53.000Z | test/test_algo_sequence.cpp | alex011235/algo | ce36c2673e037a12278117cb036550bee82ecadf | [
"MIT"
] | null | null | null | ///
/// \brief Unit tests for sequence algorithms.
/// \author alex011235
/// \date 2020-04-20
/// \link <a href=https://github.com/alex011235/algo>Algo, Github</a>
///
#include <algorithm>
#include <cmath>
#include <numeric>
#include "algo.hpp"
#include "gtest/gtest.h"
using namespace std;
using namespace algo::seq... | 25.978947 | 69 | 0.636143 | alex011235 |
8e202dbb563c49bfdde92721498f6f60b16ecb7b | 1,763 | cpp | C++ | ROF_Engine/PanelConsole.cpp | RogerOlasz/ROF_Engine | 5c379ab51da85148a135863c8e01c4aa9f06701b | [
"MIT"
] | null | null | null | ROF_Engine/PanelConsole.cpp | RogerOlasz/ROF_Engine | 5c379ab51da85148a135863c8e01c4aa9f06701b | [
"MIT"
] | null | null | null | ROF_Engine/PanelConsole.cpp | RogerOlasz/ROF_Engine | 5c379ab51da85148a135863c8e01c4aa9f06701b | [
"MIT"
] | null | null | null | #include "PanelConsole.h"
#include "Application.h"
#include "ModuleWindow.h"
PanelConsole::PanelConsole() : Panel("Console")
{
active = true;
set_size = true;
}
PanelConsole::~PanelConsole()
{
ImVector<char*>::iterator tmp = Items.begin();
while (tmp != Items.end())
{
RELEASE((*tmp));
tmp++;
... | 25.926471 | 139 | 0.626205 | RogerOlasz |
8e24af880da7acbf103306999dcef3f70a9855b2 | 180 | cpp | C++ | Technology/Software/ProgrammingLanguage/C++/InputOutput/main.cpp | MislavJaksic/Knowledge-Repository | 3bab8b00d79a776725bcce88b5a1b66a24ecea23 | [
"MIT"
] | 3 | 2019-07-09T09:46:58.000Z | 2020-12-10T12:46:12.000Z | Technology/Software/ProgrammingLanguage/C++/InputOutput/main.cpp | MislavJaksic/Knowledge-Repository | 3bab8b00d79a776725bcce88b5a1b66a24ecea23 | [
"MIT"
] | null | null | null | Technology/Software/ProgrammingLanguage/C++/InputOutput/main.cpp | MislavJaksic/Knowledge-Repository | 3bab8b00d79a776725bcce88b5a1b66a24ecea23 | [
"MIT"
] | 2 | 2019-11-14T23:07:10.000Z | 2019-11-30T19:12:34.000Z | #include "main.h"
int main(void) {
FileReader reader{"example.fasta"};
while (reader.IsFlagsUnset()) {
std::cout << reader.ReadLine() << std::endl;
}
return 0;
}
| 13.846154 | 48 | 0.605556 | MislavJaksic |
8e2c8e0cf7793a5eaeb5e4e1a3c84975a9735287 | 5,318 | cpp | C++ | BAPSPresenter/BAPSScrollBar.cpp | UniversityRadioYork/BAPS2 | af80b66cdd7a980cf34714bef7b5260167714ca5 | [
"BSD-3-Clause"
] | 4 | 2018-12-20T20:58:46.000Z | 2019-05-22T21:32:43.000Z | BAPSPresenter/BAPSScrollBar.cpp | UniversityRadioYork/BAPS2 | af80b66cdd7a980cf34714bef7b5260167714ca5 | [
"BSD-3-Clause"
] | 9 | 2018-12-22T00:55:13.000Z | 2019-01-21T10:08:30.000Z | BAPSPresenter/BAPSScrollBar.cpp | UniversityRadioYork/BAPS2 | af80b66cdd7a980cf34714bef7b5260167714ca5 | [
"BSD-3-Clause"
] | 1 | 2018-12-21T19:32:48.000Z | 2018-12-21T19:32:48.000Z | #include "StdAfx.h"
#include "BAPSScrollBar.h"
using namespace BAPSPresenter;
void BAPSScrollBar::OnPaint(System::Windows::Forms::PaintEventArgs^ e)
{
__super::OnPaint(e);
System::Drawing::Graphics^ gOffScreen = System::Drawing::Graphics::FromImage(offScreen);
System::Drawing::Rectangle rect = System::Drawing::Rect... | 37.716312 | 220 | 0.73317 | UniversityRadioYork |
8e2cac8664fce28d5844c1e9d136dcf0ec3a627d | 422 | hpp | C++ | NotSoFAT32/Fat32Root.hpp | Rohansi/NotSoFAT32 | fd6b6a5528b5af00518a83b3d1c2061a87b007e3 | [
"MIT"
] | 1 | 2020-11-03T16:11:59.000Z | 2020-11-03T16:11:59.000Z | NotSoFAT32/Fat32Root.hpp | Rohansi/NotSoFAT32 | fd6b6a5528b5af00518a83b3d1c2061a87b007e3 | [
"MIT"
] | 1 | 2020-11-04T11:34:44.000Z | 2020-11-04T11:34:44.000Z | NotSoFAT32/Fat32Root.hpp | Rohansi/NotSoFAT32 | fd6b6a5528b5af00518a83b3d1c2061a87b007e3 | [
"MIT"
] | null | null | null | #ifndef __FAT32_HPP
#define __FAT32_HPP
#include "Disk.hpp"
#include "Fat32File.hpp"
#include "Fat32Directory.hpp"
#include "Fat32Disk.hpp"
#include "Interface/IFat32Directory.hpp"
class Fat32Root : public IFat32Directory
{
public:
Fat32Root(std::weak_ptr<Fat32Disk> fat32);
Fat32Root(Fat32Root &&other);
pr... | 14.551724 | 46 | 0.736967 | Rohansi |
8e325355c75d006c185ab852964703753846f869 | 7,097 | cpp | C++ | src/mame/video/decodmd1.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 26 | 2015-03-31T06:25:51.000Z | 2021-12-14T09:29:04.000Z | src/mame/video/decodmd1.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | null | null | null | src/mame/video/decodmd1.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 10 | 2015-03-27T05:45:51.000Z | 2022-02-04T06:57:36.000Z | // license:BSD-3-Clause
// copyright-holders:Barry Rodewald
/*
* Data East Pinball Dot Matrix Display
*
* Type 1: 128x16
* Z80 @ 4MHz
*/
#include "emu.h"
#include "decodmd1.h"
#include "screen.h"
DEFINE_DEVICE_TYPE(DECODMD1, decodmd_type1_device, "decodmd1", "Data East Pinball Dot Matrix Display Type 1")... | 23.656667 | 125 | 0.691419 | Robbbert |
8e35b67cf1fd73d144c08aaeb0d4bbf7190ac2c7 | 1,697 | cpp | C++ | atcoder.jp/abc204/abc204_c/Main.cpp | shikij1/AtCoder | 7ae2946efdceaea3cc8725e99a2b9c137598e2f8 | [
"MIT"
] | null | null | null | atcoder.jp/abc204/abc204_c/Main.cpp | shikij1/AtCoder | 7ae2946efdceaea3cc8725e99a2b9c137598e2f8 | [
"MIT"
] | null | null | null | atcoder.jp/abc204/abc204_c/Main.cpp | shikij1/AtCoder | 7ae2946efdceaea3cc8725e99a2b9c137598e2f8 | [
"MIT"
] | null | null | null | #include <atcoder/all>
#include <bits/stdc++.h>
using namespace atcoder;
using namespace std;
using mint = modint1000000007;
// using mint = modint998244353;
long long gcd(long long x, long long y) { return (x % y) ? gcd(y, x % y) : y; }
long long lcm(long long x, long long y) { return x / gcd(x, y) * y; }
struct Un... | 18.445652 | 79 | 0.54449 | shikij1 |
8e3cb36e243dbdde4d2055280b38296c111d1da4 | 376 | hpp | C++ | aslam_backend_expressions/include/aslam/backend/MatrixTransformation.hpp | ethz-asl/aslam_optimizer | 8e9dd18f9f0d8af461e88e108a3beda2003daf11 | [
"BSD-3-Clause"
] | 33 | 2017-04-26T13:30:49.000Z | 2022-02-25T01:52:22.000Z | aslam_backend_expressions/include/aslam/backend/MatrixTransformation.hpp | ethz-asl/aslam_optimizer | 8e9dd18f9f0d8af461e88e108a3beda2003daf11 | [
"BSD-3-Clause"
] | 15 | 2017-02-14T16:02:31.000Z | 2020-05-12T06:07:22.000Z | aslam_backend_expressions/include/aslam/backend/MatrixTransformation.hpp | ethz-asl/aslam_optimizer | 8e9dd18f9f0d8af461e88e108a3beda2003daf11 | [
"BSD-3-Clause"
] | 8 | 2017-06-28T04:17:08.000Z | 2021-04-10T04:58:36.000Z | #ifndef ASLAM_BACKEND_DV_MATRIX_TRAFO_HPP
#define ASLAM_BACKEND_DV_MATRIX_TRAFO_HPP
#include <aslam/backend/MatrixBasic.hpp>
namespace aslam {
namespace backend {
/**
* MatrixTransformation is deprecated. Use MatrixBasic instead.
*/
typedef MatrixBasic MatrixTransformation;
} // namespace backend
} // namespac... | 19.789474 | 63 | 0.797872 | ethz-asl |
8e3cfd3ebbe73a451bdc45ee89ab7cc88e2b3a41 | 63,918 | cpp | C++ | TOD1/FrameBuffer.cpp | Michael0ne/TOD_tools | 0e55b28b7001d8b7ce7c0e0811f27682349b41c9 | [
"FSFAP"
] | 20 | 2020-01-15T22:00:23.000Z | 2022-02-07T05:32:09.000Z | TOD1/FrameBuffer.cpp | Michael0ne/TOD_tools | 0e55b28b7001d8b7ce7c0e0811f27682349b41c9 | [
"FSFAP"
] | 2 | 2021-02-26T15:13:49.000Z | 2021-11-28T17:35:05.000Z | TOD1/FrameBuffer.cpp | Michael0ne/TOD_tools | 0e55b28b7001d8b7ce7c0e0811f27682349b41c9 | [
"FSFAP"
] | 1 | 2020-05-07T18:41:50.000Z | 2020-05-07T18:41:50.000Z | #include "FrameBuffer.h"
#include "GfxInternal.h"
FrameBuffer::FrameBuffer(unsigned int a1, unsigned char a2, unsigned int a3)
{
MESSAGE_CLASS_CREATED(FrameBuffer);
m_Flags.m_FlagBits._6 = a2;
m_RenderBuffer[0] = { a1, m_Flags.m_FlagBits._6 ? RENDERLIST : DEFAULT };
m_RenderBuffer[1] = { 0, ... | 36.296422 | 282 | 0.63328 | Michael0ne |
8e428d4fe9a00824ef2041c687ebf40647e3fb3d | 9,572 | cpp | C++ | bindings/xcsp/exprparser.cpp | marcovc/casper | 752ad1c9ecb9408b0a3719a2c8727b87e2d158cf | [
"Apache-2.0"
] | 1 | 2019-06-20T17:04:06.000Z | 2019-06-20T17:04:06.000Z | bindings/xcsp/exprparser.cpp | marcovc/casper | 752ad1c9ecb9408b0a3719a2c8727b87e2d158cf | [
"Apache-2.0"
] | null | null | null | bindings/xcsp/exprparser.cpp | marcovc/casper | 752ad1c9ecb9408b0a3719a2c8727b87e2d158cf | [
"Apache-2.0"
] | null | null | null | /**************************************************************************\
* This file is part of CaSPER. *
* *
* Copyright: *
* 2009-20... | 35.984962 | 102 | 0.603113 | marcovc |
8e495de0b2564a9141e9b33f98de0a4f1d838241 | 28,967 | cpp | C++ | src/libsasmemu/Monitor.cpp | Galfodo/SIDdecompiler | aeda7aff18c8d61e5e0716a1301d4d3c52f12234 | [
"MIT"
] | 11 | 2019-03-13T12:38:39.000Z | 2021-10-17T05:04:58.000Z | src/libsasmemu/Monitor.cpp | Galfodo/SIDdecompiler | aeda7aff18c8d61e5e0716a1301d4d3c52f12234 | [
"MIT"
] | null | null | null | src/libsasmemu/Monitor.cpp | Galfodo/SIDdecompiler | aeda7aff18c8d61e5e0716a1301d4d3c52f12234 | [
"MIT"
] | null | null | null |
#include "Monitor.h"
#include "Util.h"
#include "OpcodeDefs.h"
#include <ctype.h>
#include <stdio.h>
#include <algorithm>
namespace SASM {
// Parameter format strings:
// A - 16-bit address
// E - 16-bit end address. Must be preceded by A. Parameter validation checks that A <= E
// B - 8-bit value
// S - Quoted str... | 27.509022 | 212 | 0.57714 | Galfodo |
8e4a3b7cf2c9dd6bdc461b87ca8f3bd199d69f46 | 210 | cpp | C++ | algorithms/p645/645_test.cpp | baishuai/leetcode_go | 440ff08cf15e03ee64b3aa18370af1f75e958d18 | [
"Apache-2.0"
] | 9 | 2017-06-05T15:10:35.000Z | 2021-06-08T03:10:46.000Z | algorithms/p645/645_test.cpp | baishuai/leetcode | 440ff08cf15e03ee64b3aa18370af1f75e958d18 | [
"Apache-2.0"
] | 3 | 2017-07-12T14:08:39.000Z | 2017-10-11T03:08:15.000Z | algorithms/p645/645_test.cpp | baishuai/leetcode_go | 440ff08cf15e03ee64b3aa18370af1f75e958d18 | [
"Apache-2.0"
] | 1 | 2017-07-21T03:51:51.000Z | 2017-07-21T03:51:51.000Z |
#include "645.hpp"
#include <gtest/gtest.h>
TEST(p645, example) {
Solution s;
vector<int> nums = {2, 2};
vector<int> exp = {2, 1};
auto ans = s.findErrorNums(nums);
ASSERT_EQ(ans, exp);
}
| 17.5 | 37 | 0.590476 | baishuai |
8e4a9f18bee5c35eedfba1b73924989c3751a5b9 | 1,315 | cc | C++ | extensions/basic/status/statusor.cc | blockspacer/chromium_base_conan | b4749433cf34f54d2edff52e2f0465fec8cb9bad | [
"Apache-2.0",
"BSD-3-Clause"
] | 6 | 2020-12-22T05:48:31.000Z | 2022-02-08T19:49:49.000Z | extensions/basic/status/statusor.cc | blockspacer/chromium_base_conan | b4749433cf34f54d2edff52e2f0465fec8cb9bad | [
"Apache-2.0",
"BSD-3-Clause"
] | 4 | 2020-05-22T18:36:43.000Z | 2021-05-19T10:20:23.000Z | extensions/basic/status/statusor.cc | blockspacer/chromium_base_conan | b4749433cf34f54d2edff52e2f0465fec8cb9bad | [
"Apache-2.0",
"BSD-3-Clause"
] | 2 | 2019-12-06T11:48:16.000Z | 2021-09-16T04:44:47.000Z | // Copyright 2018 Google LLC
// Copyright 2018-present Open Networking Foundation
// SPDX-License-Identifier: Apache-2.0
#include "basic/status/statusor.h" // IWYU pragma: associated
#include "basic/status/posix_error_space.h"
#include <errno.h>
#include <algorithm>
#include <base/logging.h>
namespace basic {
nam... | 30.581395 | 70 | 0.720913 | blockspacer |
8e4d4645f77f648ad8a9369ac8bc43499683d8bf | 231 | cpp | C++ | src/main/resources/export/cpp/SetpointCommand-initialize.cpp | Oblarg/RobotBuilder | c80e7a96218982de69483a343aa17f9cbd7842bc | [
"BSD-3-Clause"
] | null | null | null | src/main/resources/export/cpp/SetpointCommand-initialize.cpp | Oblarg/RobotBuilder | c80e7a96218982de69483a343aa17f9cbd7842bc | [
"BSD-3-Clause"
] | null | null | null | src/main/resources/export/cpp/SetpointCommand-initialize.cpp | Oblarg/RobotBuilder | c80e7a96218982de69483a343aa17f9cbd7842bc | [
"BSD-3-Clause"
] | null | null | null | #set($command = $helper.getByName($command_name, $robot))
Robot::#variable(${command.getProperty("Requires").getValue()})->Enable();
Robot::#variable(${command.getProperty("Requires").getValue()})->SetSetpoint(m_setpoint);
| 57.75 | 93 | 0.705628 | Oblarg |
8e532365ffd6302805db9f07ae0c42a9aeede955 | 1,247 | cpp | C++ | nnforge/factory_generator.cpp | anshumang/nnForgeINST | 1e9ea1b539cadbb03daa39f5d81025c1b17c21d8 | [
"Apache-2.0"
] | 2 | 2015-08-19T08:02:59.000Z | 2017-06-18T21:10:36.000Z | nnforge/factory_generator.cpp | yanshanjing/nnForge | 6d2baa1174a90b8e5e8bf2a4b259ce8a37fbddf1 | [
"Apache-2.0"
] | null | null | null | nnforge/factory_generator.cpp | yanshanjing/nnForge | 6d2baa1174a90b8e5e8bf2a4b259ce8a37fbddf1 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2011-2013 Maxim Milakov
*
* 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 applic... | 25.44898 | 77 | 0.702486 | anshumang |
8e59b58ac5b9751449ad79e1f58797fdc23bc3d0 | 784 | cpp | C++ | demo.cpp | RedSkittleFox/BinaryLove3 | 1868e2dfdf159d5f185dba1eb69044338fbcb563 | [
"MIT"
] | 16 | 2021-02-04T16:09:18.000Z | 2021-09-15T03:27:10.000Z | demo.cpp | RedSkittleFox/BinaryLove3 | 1868e2dfdf159d5f185dba1eb69044338fbcb563 | [
"MIT"
] | null | null | null | demo.cpp | RedSkittleFox/BinaryLove3 | 1868e2dfdf159d5f185dba1eb69044338fbcb563 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <string>
#include <cstdint>
#include <string>
#include <list>
#include "BinaryLove3.hpp"
struct test0
{
uint32_t v0 = 3;
uint32_t v1 = 2;
float_t v2 = 2.5f;
char v3 = 'c';
struct
{
std::vector<int> vec_of_trivial = { 1, 2, 3 };
std::vector<std::string> vec_of_n... | 20.631579 | 88 | 0.61352 | RedSkittleFox |
8e5a3b2bca2305a885cb8a33583d58fffc9ad452 | 1,434 | cpp | C++ | functional/mem_fn.cpp | MaxHonggg/professional_boost | 6fff73d3b9832644068dc8fe0443be813c7237b4 | [
"BSD-2-Clause"
] | 47 | 2016-05-20T08:49:47.000Z | 2022-01-03T01:17:07.000Z | functional/mem_fn.cpp | MaxHonggg/professional_boost | 6fff73d3b9832644068dc8fe0443be813c7237b4 | [
"BSD-2-Clause"
] | null | null | null | functional/mem_fn.cpp | MaxHonggg/professional_boost | 6fff73d3b9832644068dc8fe0443be813c7237b4 | [
"BSD-2-Clause"
] | 37 | 2016-07-25T04:52:08.000Z | 2022-02-14T03:55:08.000Z | // Copyright (c) 2016
// Author: Chrono Law
#include <std.hpp>
#include <stack>
//using namespace std;
#include <boost/mem_fn.hpp>
using namespace boost;
class demo_class
{
public:
int x;
demo_class(int a = 0):x(a){}
void print()
{
std::cout << x << std::endl;
}
void hello(const char... | 18.868421 | 72 | 0.520921 | MaxHonggg |
8e5baabc8679e049c45662fdb65461cb31a6be65 | 841 | cc | C++ | solutions/Leetcode_589/leetcode_589.cc | YuhanShi53/Leetcode_solutions | cdcad34656d25d6af09b226e17250c6070305ab0 | [
"MIT"
] | null | null | null | solutions/Leetcode_589/leetcode_589.cc | YuhanShi53/Leetcode_solutions | cdcad34656d25d6af09b226e17250c6070305ab0 | [
"MIT"
] | null | null | null | solutions/Leetcode_589/leetcode_589.cc | YuhanShi53/Leetcode_solutions | cdcad34656d25d6af09b226e17250c6070305ab0 | [
"MIT"
] | null | null | null | #include <vector>
using namespace std;
class Node
{
public:
int val;
vector<Node *> children;
Node() {}
Node(int _val)
{
val = _val;
}
Node(int _val, vector<Node *> _children)
{
val = _val;
children = _children;
}
};
class Solution1
{
public:
vector<... | 18.688889 | 86 | 0.492271 | YuhanShi53 |
8e6206848e4ec78f7416f451f35ce3c9cdf388a7 | 5,662 | cpp | C++ | driver_hmd/CDriverConfig.cpp | SDraw/driver_hmd | 699b6e0052026daae8dac6d9c096ac6474aa4c68 | [
"MIT"
] | 7 | 2020-09-07T18:09:22.000Z | 2022-01-02T03:13:43.000Z | driver_hmd/CDriverConfig.cpp | SDraw/driver_hmd | 699b6e0052026daae8dac6d9c096ac6474aa4c68 | [
"MIT"
] | 1 | 2020-12-15T15:53:57.000Z | 2020-12-20T18:39:22.000Z | driver_hmd/CDriverConfig.cpp | SDraw/driver_hmd | 699b6e0052026daae8dac6d9c096ac6474aa4c68 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "CDriverConfig.h"
#include "Utils.h"
extern char g_modulePath[];
const std::vector<std::string> g_settingsNames
{
"resolution", "fps", "position", "rotation"
};
const enum SettingIndex : size_t
{
SI_Resolution = 0U,
SI_FramesPerSecond,
SI_Position,
SI_Rotation,
SI... | 32.918605 | 113 | 0.476333 | SDraw |
8e63149a165ad3e70722ea2c7991484205abaaf1 | 1,487 | cpp | C++ | UVA/AdHoc/489_HangmanJudge.cpp | shiva92/Contests | 720bb3699f774a6ea1f99e888e0cd784e63130c8 | [
"Apache-2.0"
] | null | null | null | UVA/AdHoc/489_HangmanJudge.cpp | shiva92/Contests | 720bb3699f774a6ea1f99e888e0cd784e63130c8 | [
"Apache-2.0"
] | null | null | null | UVA/AdHoc/489_HangmanJudge.cpp | shiva92/Contests | 720bb3699f774a6ea1f99e888e0cd784e63130c8 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <cstdlib>
#include <cstring>
#include <vector>
#include <algorithm>
#include <sstream>
#include <set>
#include <climits>
#include <cstdio>
#include <string>
using namespace std;
inline bool isWon(int arr[]) {
for (int i = 0; i < 26; i++)
if (arr[i] != 0)
return false;
... | 22.19403 | 65 | 0.515804 | shiva92 |
76a231780622e74b1f83d2f8646cdc36ed6dd183 | 987 | hpp | C++ | include/cgla/transform.hpp | Blodangan/cgla | 48e3418c3fbe7c2e01ec0b107f1fb862de8f48e0 | [
"MIT"
] | 1 | 2020-07-09T19:50:09.000Z | 2020-07-09T19:50:09.000Z | include/cgla/transform.hpp | Blodangan/cgla | 48e3418c3fbe7c2e01ec0b107f1fb862de8f48e0 | [
"MIT"
] | null | null | null | include/cgla/transform.hpp | Blodangan/cgla | 48e3418c3fbe7c2e01ec0b107f1fb862de8f48e0 | [
"MIT"
] | null | null | null | #ifndef CGLA_TRANSFORM_HPP
#define CGLA_TRANSFORM_HPP
#include "vector.hpp"
#include "matrix.hpp"
namespace cgla {
template<typename T> Matrix<T, 4, 4> translate(const Vector<T, 3>& v);
template<typename T> Matrix<T, 4, 4> scale(const Vector<T, 3>& v);
template<typename T> Matrix<T, 4, 4> scale(T v);
template<typena... | 37.961538 | 121 | 0.698075 | Blodangan |
76a26cd0bb1f71708246fa1f3df9b16666bb6699 | 537 | cpp | C++ | check_parse_stringify.cpp | FredStober/tiger_hash | ee7b36f7654c97e931f33b3034bdd3d75b1ee8e1 | [
"MIT"
] | 4 | 2017-01-03T11:03:28.000Z | 2022-01-23T14:45:11.000Z | check_parse_stringify.cpp | FredStober/tiger_hash | ee7b36f7654c97e931f33b3034bdd3d75b1ee8e1 | [
"MIT"
] | null | null | null | check_parse_stringify.cpp | FredStober/tiger_hash | ee7b36f7654c97e931f33b3034bdd3d75b1ee8e1 | [
"MIT"
] | 2 | 2018-04-06T15:18:14.000Z | 2021-10-13T13:16:44.000Z | #include "tiger_hash.hpp"
#include <iostream>
void check_parse_stringify();
void check_parse_stringify()
{
std::cout << "Checking hash parse and stringify operations ..." << std::endl;
std::string const s1 = "77befbef2e7ef8ab2ec8f93bf587a7fc613e247f5f247809";
Hash::tiger_hash_t const h = Hash::tiger_hash_t::parse(... | 31.588235 | 79 | 0.672253 | FredStober |
76a35ebb73fc276f7287cc82918805264c0e3a5c | 1,511 | hpp | C++ | engine/app3D/physics/Ragdoll.hpp | isonil/survival | ecb59af9fcbb35b9c28fd4fe29a4628f046165c8 | [
"MIT"
] | 1 | 2017-05-12T10:12:41.000Z | 2017-05-12T10:12:41.000Z | engine/app3D/physics/Ragdoll.hpp | isonil/Survival | ecb59af9fcbb35b9c28fd4fe29a4628f046165c8 | [
"MIT"
] | null | null | null | engine/app3D/physics/Ragdoll.hpp | isonil/Survival | ecb59af9fcbb35b9c28fd4fe29a4628f046165c8 | [
"MIT"
] | 1 | 2019-01-09T04:05:36.000Z | 2019-01-09T04:05:36.000Z | #ifndef ENGINE_APP_3D_RAGDOLL_HPP
#define ENGINE_APP_3D_RAGDOLL_HPP
#include "../../util/Vec3.hpp"
#include "../../util/Trace.hpp"
class btDynamicsWorld;
class btConeTwistConstraint;
namespace engine
{
namespace app3D
{
class RigidBody;
class CollisionShape;
class PhysicsManager;
// TODO: there should be a wrapper... | 29.627451 | 239 | 0.760424 | isonil |
76a6ac49f68dccb3a31264944f2159299fbdae25 | 2,968 | cpp | C++ | positions.cpp | gonzavesc/Diff_Cavity | 7afa112c9b59b79e450ee068fb96f7eebaf5ce62 | [
"MIT"
] | null | null | null | positions.cpp | gonzavesc/Diff_Cavity | 7afa112c9b59b79e450ee068fb96f7eebaf5ce62 | [
"MIT"
] | null | null | null | positions.cpp | gonzavesc/Diff_Cavity | 7afa112c9b59b79e450ee068fb96f7eebaf5ce62 | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <vector>
#include "import.hpp"
#include "positions.hpp"
positions::positions(const double& a, const double& b)
{
double j;
n = a;
m = b;
dx = 1 / n;
dy = 1 / m;
Xp.push_back(0);
for (j = 0; j < n; j++)
{
... | 17.987879 | 56 | 0.496631 | gonzavesc |
76aa0de9f3e5d46de35c0be82bd2aaa8b378c03a | 956 | hpp | C++ | monitor/conditions.hpp | wak-google/phosphor-fan-presence | 4978e06c45cfe70f5ccfc6cdce92a35ae5546198 | [
"Apache-2.0"
] | null | null | null | monitor/conditions.hpp | wak-google/phosphor-fan-presence | 4978e06c45cfe70f5ccfc6cdce92a35ae5546198 | [
"Apache-2.0"
] | null | null | null | monitor/conditions.hpp | wak-google/phosphor-fan-presence | 4978e06c45cfe70f5ccfc6cdce92a35ae5546198 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "types.hpp"
namespace phosphor
{
namespace fan
{
namespace monitor
{
/**
* @brief Create a condition function object
*
* @param[in] condition - The condition being created
*
* @return - The created condition function object
*/
template <typename T>
auto make_condition(T&& condition)
{
... | 21.727273 | 73 | 0.737448 | wak-google |
76af99d6b1898d079ec3cc6170266cca5c48587f | 2,955 | cc | C++ | cpp_tests/utils/kernel_runner_test.cc | sarvex/tensorflow-runtime | 39a1871e2267bd30810df1a550366babe002b615 | [
"Apache-2.0"
] | 669 | 2020-04-29T16:05:30.000Z | 2022-03-30T06:42:36.000Z | cpp_tests/utils/kernel_runner_test.cc | sloppyjuicy/runtime | 84b400aceb9bae054ff72e1fcd95e15daf910c2d | [
"Apache-2.0"
] | 76 | 2020-04-30T09:23:04.000Z | 2022-03-24T16:21:18.000Z | cpp_tests/utils/kernel_runner_test.cc | sloppyjuicy/runtime | 84b400aceb9bae054ff72e1fcd95e15daf910c2d | [
"Apache-2.0"
] | 108 | 2020-04-29T18:06:09.000Z | 2022-03-31T15:53:54.000Z | // Copyright 2020 The TensorFlow Runtime Authors
//
// 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 ... | 29.848485 | 76 | 0.651438 | sarvex |
76b0d18351c731db0df1274b56588b694c204004 | 1,989 | cpp | C++ | Fenwick Tree/min-max-fenwick.cpp | Kavaliro98/competitive-programming-codes | af9c4c58d8abbba7e8bcaf707da2cabc2a941eeb | [
"MIT"
] | null | null | null | Fenwick Tree/min-max-fenwick.cpp | Kavaliro98/competitive-programming-codes | af9c4c58d8abbba7e8bcaf707da2cabc2a941eeb | [
"MIT"
] | null | null | null | Fenwick Tree/min-max-fenwick.cpp | Kavaliro98/competitive-programming-codes | af9c4c58d8abbba7e8bcaf707da2cabc2a941eeb | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
/*
* Min/Max fenwick tree supporting point update & range query
* source : https://stackoverflow.com/a/34602284/8361110
*/
struct Fenwick{
int n;
vector<int> org, bot, top;
function<int (int, int)> fun;
function<bool (int, int)> op;
Fenwick(int n, functi... | 24.8625 | 63 | 0.450478 | Kavaliro98 |
76b166d4415bc125483348b9936b84507c7b00ba | 9,733 | hpp | C++ | include/RED4ext/HashMap.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 1 | 2022-03-18T17:22:09.000Z | 2022-03-18T17:22:09.000Z | include/RED4ext/HashMap.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | null | null | null | include/RED4ext/HashMap.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 1 | 2022-02-13T01:44:55.000Z | 2022-02-13T01:44:55.000Z | #pragma once
#include <cstdint>
#include <functional>
#include <RED4ext/Common.hpp>
#include <RED4ext/Hashing/FNV1a.hpp>
#include <RED4ext/Memory/Allocators.hpp>
namespace RED4ext
{
#pragma region HashMapHash
template<typename T, typename enabled = void /* for enable_if specialization */>
struct HashMapHash
{
ui... | 28.211594 | 118 | 0.499538 | jackhumbert |
76b1c2a251875a65dc18931af5c2bbe4c345c3c6 | 73 | cpp | C++ | src/Config/ll_suffix.cpp | Zethes/CGUL | 863d15303227cb31e970374ada219ed7b561e243 | [
"BSD-2-Clause"
] | 8 | 2015-05-06T17:48:12.000Z | 2021-05-26T15:52:05.000Z | src/Config/ll_suffix.cpp | Zethes/CGUL | 863d15303227cb31e970374ada219ed7b561e243 | [
"BSD-2-Clause"
] | null | null | null | src/Config/ll_suffix.cpp | Zethes/CGUL | 863d15303227cb31e970374ada219ed7b561e243 | [
"BSD-2-Clause"
] | 3 | 2016-04-03T09:17:25.000Z | 2019-04-02T01:41:13.000Z | int main()
{
long long myint = 0xFFFFFFFFFFFFFFFFLL;
return 0;
}
| 12.166667 | 43 | 0.643836 | Zethes |
76b35b536ae9fc65ed0d3a6aaee4c0e69c175356 | 20,811 | cpp | C++ | examples2/axFileGen/axFileGen.cpp | Phygon/aaf | faef720e031f501190481e1d1fc1870a7dc8f98b | [
"Linux-OpenIB"
] | null | null | null | examples2/axFileGen/axFileGen.cpp | Phygon/aaf | faef720e031f501190481e1d1fc1870a7dc8f98b | [
"Linux-OpenIB"
] | null | null | null | examples2/axFileGen/axFileGen.cpp | Phygon/aaf | faef720e031f501190481e1d1fc1870a7dc8f98b | [
"Linux-OpenIB"
] | null | null | null | //=---------------------------------------------------------------------=
//
// $Id$ $Name$
//
// The contents of this file are subject to the AAF SDK Public Source
// License Agreement Version 2.0 (the "License"); You may not use this
// file except in compliance with the License. The License is available
// in AAFSD... | 22.596091 | 105 | 0.607852 | Phygon |
76b979cfaf4d63079d01d6f3cfe30c9249d50c81 | 898 | cpp | C++ | tinyember/TinyEmberPlusRouter/TinyEmberPlusRouter/model/IntegerParameter.cpp | purefunsolutions/ember-plus | d022732f2533ad697238c6b5210d7fc3eb231bfc | [
"BSL-1.0"
] | 78 | 2015-07-31T14:46:38.000Z | 2022-03-28T09:28:28.000Z | tinyember/TinyEmberPlusRouter/TinyEmberPlusRouter/model/IntegerParameter.cpp | purefunsolutions/ember-plus | d022732f2533ad697238c6b5210d7fc3eb231bfc | [
"BSL-1.0"
] | 81 | 2015-08-03T07:58:19.000Z | 2022-02-28T16:21:19.000Z | tinyember/TinyEmberPlusRouter/TinyEmberPlusRouter/model/IntegerParameter.cpp | purefunsolutions/ember-plus | d022732f2533ad697238c6b5210d7fc3eb231bfc | [
"BSL-1.0"
] | 49 | 2015-08-03T12:53:10.000Z | 2022-03-17T17:25:49.000Z | /*
Copyright (C) 2012-2016 Lawo GmbH (http://www.lawo.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)
*/
#include "ElementVisitor.h"
#include "IntegerParameter.h"
namespace model
{
IntegerParameter:... | 28.967742 | 152 | 0.708241 | purefunsolutions |
76bc03e9916c641b36ed91697092a288fd74b311 | 887 | hpp | C++ | src/include/duckdb/parser/expression/table_star_expression.hpp | wesm/duckdb | f2fa094abc59d70a8c981d6e9f9c9c3911f08362 | [
"MIT"
] | 3 | 2021-05-13T04:15:45.000Z | 2022-03-03T16:57:16.000Z | src/include/duckdb/parser/expression/table_star_expression.hpp | wesm/duckdb | f2fa094abc59d70a8c981d6e9f9c9c3911f08362 | [
"MIT"
] | 2 | 2021-10-02T02:52:39.000Z | 2022-01-04T20:08:06.000Z | src/include/duckdb/parser/expression/table_star_expression.hpp | wesm/duckdb | f2fa094abc59d70a8c981d6e9f9c9c3911f08362 | [
"MIT"
] | 1 | 2021-08-13T06:36:19.000Z | 2021-08-13T06:36:19.000Z | //===----------------------------------------------------------------------===//
// DuckDB
//
// duckdb/parser/expression/table_star_expression.hpp
//
//
//===----------------------------------------------------------------------===//
#pragma once
#include "duckdb/parser/parsed_expression.hpp"... | 26.878788 | 92 | 0.62345 | wesm |
76bdfe07519b211e61f4e9adf8ee394e5091b1b6 | 5,041 | cc | C++ | src/sprite_engine.cc | Caffeinix/mcmodeler | 5490e299e2765c8e737a7f42ba9a61a516db2da9 | [
"Apache-2.0"
] | 1 | 2015-01-02T10:24:22.000Z | 2015-01-02T10:24:22.000Z | src/sprite_engine.cc | Caffeinix/mcmodeler | 5490e299e2765c8e737a7f42ba9a61a516db2da9 | [
"Apache-2.0"
] | null | null | null | src/sprite_engine.cc | Caffeinix/mcmodeler | 5490e299e2765c8e737a7f42ba9a61a516db2da9 | [
"Apache-2.0"
] | null | null | null | /* Copyright 2012 Brian Ellis
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | 40.98374 | 106 | 0.637969 | Caffeinix |
76c2ce90aa16f997bb5e98c95ee79c3ddf936878 | 4,569 | cpp | C++ | src/tests/functional/inference_engine/transformations/common_optimizations/matmul_const_transposes_extraction.cpp | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 1 | 2022-03-25T10:35:59.000Z | 2022-03-25T10:35:59.000Z | src/tests/functional/inference_engine/transformations/common_optimizations/matmul_const_transposes_extraction.cpp | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 2 | 2022-03-28T13:18:55.000Z | 2022-03-28T13:18:57.000Z | src/tests/functional/inference_engine/transformations/common_optimizations/matmul_const_transposes_extraction.cpp | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <gtest/gtest.h>
#include <ngraph/function.hpp>
#include <ngraph/opsets/opset8.hpp>
#include <transformations/common_optimizations/matmul_const_transposes_extraction.hpp>
#include <ngraph/pass/manager.hpp>
#include "common_test... | 51.337079 | 122 | 0.695119 | ryanloney |
76c3b6b4f735a0fb471f2c8608022bc782fa527f | 1,335 | cpp | C++ | src/nodes/softmax.cpp | omidsakhi/deepflow | f38190ca54047aba21abdcadd1fac776dd595053 | [
"BSD-3-Clause"
] | 11 | 2017-04-04T13:44:50.000Z | 2022-03-05T04:27:02.000Z | src/nodes/softmax.cpp | omidsakhi/deepflow | f38190ca54047aba21abdcadd1fac776dd595053 | [
"BSD-3-Clause"
] | null | null | null | src/nodes/softmax.cpp | omidsakhi/deepflow | f38190ca54047aba21abdcadd1fac776dd595053 | [
"BSD-3-Clause"
] | 3 | 2018-12-05T03:07:22.000Z | 2020-06-20T09:02:24.000Z | #include "nodes/softmax.h"
#include <glog/logging.h>
Softmax::Softmax(deepflow::NodeParam *param) : Node(param) {
LOG_IF(FATAL, param->has_softmax_param() == false) << "param.has_softmax_param() == false";
}
void Softmax::init() {
DF_NODE_CUDNN_CHECK(cudnnCreate(&_cudnnHandle));
_outputs[0]->initValue(_inputs[... | 38.142857 | 306 | 0.689139 | omidsakhi |
76c95453f45d8307f90597a7052d45dbceb49f92 | 690 | hpp | C++ | options.hpp | Phlicess/wtNoe | 01dc1bcd3325a90d1ad04775aa0ff41efa93aa77 | [
"BSD-2-Clause"
] | null | null | null | options.hpp | Phlicess/wtNoe | 01dc1bcd3325a90d1ad04775aa0ff41efa93aa77 | [
"BSD-2-Clause"
] | null | null | null | options.hpp | Phlicess/wtNoe | 01dc1bcd3325a90d1ad04775aa0ff41efa93aa77 | [
"BSD-2-Clause"
] | null | null | null | #define A_COALESCE ((int) 'c')
#define A_REVERSE ((int) 'r')
#define A_REORDER ((int) 'o')
#define A_LINE_DROP ((int) 'l')
#define A_DEBUG_POLYGON ((int) 'd')
#define A_POLYGON_DROP ((int) 'p')
#define A_DETECT_SHARED_BORDERS ((int) 'b')
#define A_PREFER_RADIX_SORT ((int) 'R')
#define A_CALCULATE_FEATURE_DENSITY ((int)... | 30 | 47 | 0.692754 | Phlicess |
76c97a24ab5592af83c8abcec2d05c2672fb6651 | 1,163 | hpp | C++ | Lib/DataProcessingUtility.hpp | Engin-Boot/environment-case-s1b12 | c7687cf9cdd927442ba4bd43cad573ce6f01e98b | [
"MIT"
] | null | null | null | Lib/DataProcessingUtility.hpp | Engin-Boot/environment-case-s1b12 | c7687cf9cdd927442ba4bd43cad573ce6f01e98b | [
"MIT"
] | null | null | null | Lib/DataProcessingUtility.hpp | Engin-Boot/environment-case-s1b12 | c7687cf9cdd927442ba4bd43cad573ce6f01e98b | [
"MIT"
] | null | null | null | #pragma once
#include <string>
#include <vector>
class DataProcessor
{
public:
// string manipulation utils
static std::vector<std::string> split(const std::string& s, const std::string& delimiter = ",");
static std::string trim(const std::string& str, const std::string& whitespace = " \... | 29.075 | 120 | 0.683577 | Engin-Boot |
76cbb737f2428dd5145a38256fbac88e51cf08fc | 7,872 | cpp | C++ | src/tests/util/sexpr.cpp | ericrbg/lean | 3a55293dbad14b789997cfd17e735aa0ca2ac957 | [
"Apache-2.0"
] | 2,232 | 2015-01-01T18:20:29.000Z | 2022-03-30T02:35:50.000Z | src/tests/util/sexpr.cpp | ericrbg/lean | 3a55293dbad14b789997cfd17e735aa0ca2ac957 | [
"Apache-2.0"
] | 1,187 | 2015-01-06T05:18:44.000Z | 2019-10-31T18:45:42.000Z | src/tests/util/sexpr.cpp | ericrbg/lean | 3a55293dbad14b789997cfd17e735aa0ca2ac957 | [
"Apache-2.0"
] | 306 | 2015-01-16T22:30:27.000Z | 2022-03-28T02:55:51.000Z | /*
Copyright (c) 2013 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include <sstream>
#include <string>
#include "util/test.h"
#include "util/name.h"
#include "util/init_module.h"
#include "util/numerics/mpq.h"
#include "ut... | 32.6639 | 101 | 0.534553 | ericrbg |
76d2f298d3aa9e93b1583204e2dd72301bd654c2 | 5,333 | cpp | C++ | src/ExtractPolygons.cpp | omi-lab/tp_image_utils_functions | 5d02c634a87304eeb9c5b0828ebf8f18383aa91a | [
"MIT"
] | null | null | null | src/ExtractPolygons.cpp | omi-lab/tp_image_utils_functions | 5d02c634a87304eeb9c5b0828ebf8f18383aa91a | [
"MIT"
] | null | null | null | src/ExtractPolygons.cpp | omi-lab/tp_image_utils_functions | 5d02c634a87304eeb9c5b0828ebf8f18383aa91a | [
"MIT"
] | 2 | 2019-01-30T14:02:44.000Z | 2020-11-25T09:19:14.000Z | #include "tp_image_utils_functions/ExtractPolygons.h"
#include "tp_image_utils/ColorMap.h"
#include "tp_utils/DebugUtils.h"
#include "glm/glm.hpp"
namespace tp_image_utils_functions
{
namespace
{
//##################################################################################################
std::string annot... | 25.15566 | 115 | 0.393212 | omi-lab |
76d35d155e06ac9cec73a0f25412a454a1a3097d | 4,380 | cpp | C++ | Strategy/clsBollin.cpp | caicaiking/AbamaAnalysis | d3d370e59c7049be36e06da61e1a315ba58d049d | [
"MIT"
] | null | null | null | Strategy/clsBollin.cpp | caicaiking/AbamaAnalysis | d3d370e59c7049be36e06da61e1a315ba58d049d | [
"MIT"
] | null | null | null | Strategy/clsBollin.cpp | caicaiking/AbamaAnalysis | d3d370e59c7049be36e06da61e1a315ba58d049d | [
"MIT"
] | null | null | null | #include "clsBollin.h"
#include <QJsonDocument>
#include <QJsonParseError>
#include <QJsonObject>
#include "clsGetLastWorkDay.h"
#include "clsShowStockUi.h"
#include "chartdir.h"
#include <QDebug>
clsBollin::clsBollin(QObject *parent): clsStrategy(parent)
{
db = new clsDBCreateTables(this);
m_timeStamps = ne... | 27.54717 | 114 | 0.576256 | caicaiking |
76d4723beaab66295de2caf4ea1b0e118fb0d74f | 584 | cpp | C++ | Online Judges/UVA/12696-Cabin Baggage.cpp | akazad13/competitive-programming | 5cbb67d43ad8d5817459043bcccac3f68d9bc688 | [
"MIT"
] | null | null | null | Online Judges/UVA/12696-Cabin Baggage.cpp | akazad13/competitive-programming | 5cbb67d43ad8d5817459043bcccac3f68d9bc688 | [
"MIT"
] | null | null | null | Online Judges/UVA/12696-Cabin Baggage.cpp | akazad13/competitive-programming | 5cbb67d43ad8d5817459043bcccac3f68d9bc688 | [
"MIT"
] | null | null | null | #include<iostream>
#include<bits/stdc++.h>
using namespace std;
int main()
{
double height,width,depth,weight;
int test;
int allowable=0;
cin>>test;
while(test--)
{
cin>>height>>width;
cin>>depth>>weight;
if(weight>7.00)
{
printf("0\n");
}... | 15.368421 | 79 | 0.450342 | akazad13 |