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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
87f0f07ed0029895ab743b1101a1b2b8fb2ae717 | 2,577 | cpp | C++ | test/host/extension/MOAISpineAtlas.cpp | tommo/gii | 03624a57cf74a07e38bfdc7f53c50bd926b7b5a7 | [
"MIT"
] | 7 | 2016-02-13T18:47:23.000Z | 2020-07-03T13:47:49.000Z | test/host/extension/MOAISpineAtlas.cpp | tommo/gii | 03624a57cf74a07e38bfdc7f53c50bd926b7b5a7 | [
"MIT"
] | 1 | 2018-06-13T04:55:27.000Z | 2021-11-05T05:52:51.000Z | template/host/extension/MOAISpineAtlas.cpp | tommo/gii | 03624a57cf74a07e38bfdc7f53c50bd926b7b5a7 | [
"MIT"
] | 4 | 2016-02-15T13:32:46.000Z | 2019-12-12T17:22:31.000Z | #include "MOAISpineAtlas.h"
int MOAISpineAtlas::_addRegion ( lua_State* L ) {
MOAI_LUA_SETUP( MOAISpineAtlas, "USU" )
cc8* name;
MOAITexture *texture;
float tw, th;
float width, height;
float originalWidth, originalHeight;
float x, y;
float offsetX, offsetY;
int index;
bool rotated;
AtlasRegion *region;
... | 25.019417 | 75 | 0.618549 | tommo |
87f3e3bc05d6b9472eab95cd9080288a18fba4ca | 1,385 | cpp | C++ | Codeforces/Gym/101341/I.cpp | sshockwave/Online-Judge-Solutions | 9d0bc7fd68c3d1f661622929c1cb3752601881d3 | [
"MIT"
] | 6 | 2019-09-30T16:11:00.000Z | 2021-11-01T11:42:33.000Z | Codeforces/Gym/101341/I.cpp | sshockwave/Online-Judge-Solutions | 9d0bc7fd68c3d1f661622929c1cb3752601881d3 | [
"MIT"
] | 4 | 2017-11-21T08:17:42.000Z | 2020-07-28T12:09:52.000Z | Codeforces/Gym/101341/I.cpp | sshockwave/Online-Judge-Solutions | 9d0bc7fd68c3d1f661622929c1cb3752601881d3 | [
"MIT"
] | 4 | 2017-07-26T05:54:06.000Z | 2020-09-30T13:35:38.000Z | #include <iostream>
#include <cstdio>
#include <cstring>
#include <cassert>
#include <cstdlib>
#include <ctime>
using namespace std;
typedef long long lint;
inline bool is_num(char c){
return c>='0'&&c<='9';
}
inline int ni(){
int i=0;char c;
while(!is_num(c=getchar()));
while(i=i*10-'0'+c,is_num(c=getchar()));
re... | 16.686747 | 47 | 0.587726 | sshockwave |
87f46118ce55ac09a3318451fd6e67fddc14485b | 8,080 | cpp | C++ | interface/Ruler.cpp | HaikuArchives/SageBrush | d9b3945cb78c7070aa8b48d2e0bc6a2007fa3601 | [
"MIT"
] | null | null | null | interface/Ruler.cpp | HaikuArchives/SageBrush | d9b3945cb78c7070aa8b48d2e0bc6a2007fa3601 | [
"MIT"
] | null | null | null | interface/Ruler.cpp | HaikuArchives/SageBrush | d9b3945cb78c7070aa8b48d2e0bc6a2007fa3601 | [
"MIT"
] | null | null | null | /*
* Authors:
* Vladislav Burundukov <vlad.be@gmail.com>
*/
#include <Font.h>
#include <ScrollBar.h>
#include <Window.h>
#include <Debug.h>
#include <String.h>
#include <AppDefs.h>
#include <math.h>
#include <limits.h>
#include "Ruler.h"
static float V_RULER_WIDTH = B_V_SCROLL_BAR_WIDTH;
static float H_RULER_HEIGH... | 21.207349 | 94 | 0.650743 | HaikuArchives |
87f7c513bc111a2f86531cf261a13bae8fb8b249 | 3,182 | cpp | C++ | gse/src/v20191112/model/UpdateAssetRequest.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 43 | 2019-08-14T08:14:12.000Z | 2022-03-30T12:35:09.000Z | gse/src/v20191112/model/UpdateAssetRequest.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 12 | 2019-07-15T10:44:59.000Z | 2021-11-02T12:35:00.000Z | gse/src/v20191112/model/UpdateAssetRequest.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 28 | 2019-07-12T09:06:22.000Z | 2022-03-30T08:04:18.000Z | /*
* 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
... | 26.516667 | 97 | 0.726587 | suluner |
87f837a7aa6d553b3fc817f3fed1e45ede441ccd | 2,168 | cpp | C++ | src/xquerykeymap/XKeyBufferingListener.cpp | dedeibel/annoyme | d1483f6ef2dd7bfd851f67a12154eaae08ab7a14 | [
"BSD-3-Clause"
] | 1 | 2016-05-08T14:05:15.000Z | 2016-05-08T14:05:15.000Z | src/xquerykeymap/XKeyBufferingListener.cpp | dedeibel/annoyme | d1483f6ef2dd7bfd851f67a12154eaae08ab7a14 | [
"BSD-3-Clause"
] | null | null | null | src/xquerykeymap/XKeyBufferingListener.cpp | dedeibel/annoyme | d1483f6ef2dd7bfd851f67a12154eaae08ab7a14 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2011, Benjamin Peter <BenjaminPeter@arcor.de>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* ... | 31.42029 | 80 | 0.741697 | dedeibel |
87f96fa3b2362d91b331371727999b12e7b13c23 | 20,698 | hpp | C++ | foedus_code/foedus-core/include/foedus/error_stack.hpp | sam1016yu/cicada-exp-sigmod2017 | 64e582370076b2923d37b279d1c32730babc15f8 | [
"Apache-2.0"
] | null | null | null | foedus_code/foedus-core/include/foedus/error_stack.hpp | sam1016yu/cicada-exp-sigmod2017 | 64e582370076b2923d37b279d1c32730babc15f8 | [
"Apache-2.0"
] | null | null | null | foedus_code/foedus-core/include/foedus/error_stack.hpp | sam1016yu/cicada-exp-sigmod2017 | 64e582370076b2923d37b279d1c32730babc15f8 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2014-2015, Hewlett-Packard Development Company, LP.
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the License, or (at your option)
* any later versi... | 32.646688 | 99 | 0.701372 | sam1016yu |
87febf87fe31121fd33ee08582d33369026ce42f | 141 | cpp | C++ | src/main.cpp | 256481788jianghao/TexasHoldemComputer | 6bd7dbdeb5dc3bd931b847f7a50eb09ab16235e7 | [
"Apache-2.0"
] | null | null | null | src/main.cpp | 256481788jianghao/TexasHoldemComputer | 6bd7dbdeb5dc3bd931b847f7a50eb09ab16235e7 | [
"Apache-2.0"
] | null | null | null | src/main.cpp | 256481788jianghao/TexasHoldemComputer | 6bd7dbdeb5dc3bd931b847f7a50eb09ab16235e7 | [
"Apache-2.0"
] | null | null | null | #include "common.h"
#define TESTMODULE
int main(int argc, char* argv[])
{
#ifdef TESTMODULE
ModuleTest();
#else
#endif
return 0;
}
| 10.846154 | 32 | 0.659574 | 256481788jianghao |
e200a05204c9d2f3c3c26d55c350b4f7377a5899 | 1,757 | hpp | C++ | include/win/winconf.hpp | incoder1/libio | fbfd83fe31ca59a69670e5269f5847b2b4c6c553 | [
"BSL-1.0"
] | 14 | 2018-06-12T15:42:43.000Z | 2022-02-28T16:19:20.000Z | include/win/winconf.hpp | incoder1/libio | fbfd83fe31ca59a69670e5269f5847b2b4c6c553 | [
"BSL-1.0"
] | null | null | null | include/win/winconf.hpp | incoder1/libio | fbfd83fe31ca59a69670e5269f5847b2b4c6c553 | [
"BSL-1.0"
] | null | null | null | #ifndef __IO_WINCONG_HPP_INCLUDED__
#define __IO_WINCONG_HPP_INCLUDED__
#ifndef _WIN32_WINNT_VISTA
# define _WIN32_WINNT_VISTA 0x0600 // Windows Vista
#endif // _WIN32_WINNT_VISTA
// Check for the default value, for MinGW is Windows XP
#if defined(_WIN32_WINNT) && defined(IO_BUILD)
# if _WIN32_WINNT... | 24.746479 | 68 | 0.768924 | incoder1 |
e204c51b1312d68336244f24fd448316ae637eda | 1,240 | cpp | C++ | OpenGLFramework/OpenGLFramework/REnemyShotAnimCtrl.cpp | PlayeRom/SpaceShooter | c284ca6503800ed1e45fc8ceeaf9d98d38917f30 | [
"MIT"
] | null | null | null | OpenGLFramework/OpenGLFramework/REnemyShotAnimCtrl.cpp | PlayeRom/SpaceShooter | c284ca6503800ed1e45fc8ceeaf9d98d38917f30 | [
"MIT"
] | null | null | null | OpenGLFramework/OpenGLFramework/REnemyShotAnimCtrl.cpp | PlayeRom/SpaceShooter | c284ca6503800ed1e45fc8ceeaf9d98d38917f30 | [
"MIT"
] | null | null | null | #include "StdAfx.h"
#include "GameControl.h"
#include "REnemyShotAnimCtrl.h"
CREnemyShotAnimCtrl::CREnemyShotAnimCtrl()
{
for( GLint i = 0; i < MAX_ENEMY_SHIPS_ON_SCREEN; ++i ) {
SEnemyShotAnimCtrl sEnemyShotAnim;
sEnemyShotAnim.bIsFree = GL_TRUE;
sEnemyShotAnim.iIndex = CGameControl::GetInstance()->Ge... | 27.555556 | 97 | 0.696774 | PlayeRom |
e207433a3f6f3c9803b6313ca04ecc7bdce25c25 | 1,986 | hxx | C++ | include/opengm/learning/loss/noloss.hxx | chaubold/opengm | acc42b98b713db33f2b35aad05a7a1cf9752e862 | [
"MIT"
] | null | null | null | include/opengm/learning/loss/noloss.hxx | chaubold/opengm | acc42b98b713db33f2b35aad05a7a1cf9752e862 | [
"MIT"
] | null | null | null | include/opengm/learning/loss/noloss.hxx | chaubold/opengm | acc42b98b713db33f2b35aad05a7a1cf9752e862 | [
"MIT"
] | null | null | null | #pragma once
#ifndef OPENGM_NO_LOSS_HXX
#define OPENGM_NO_LOSS_HXX
#include "opengm/functions/explicit_function.hxx"
#include "opengm/graphicalmodel/graphicalmodel_hdf5.hxx"
namespace opengm {
namespace learning {
class NoLoss{
public:
class Parameter{
public:
bool operator==(cons... | 26.837838 | 110 | 0.580564 | chaubold |
e20767ab26c91d833800a51a981e764c92a9560d | 8,835 | cpp | C++ | src/CoordinateSystems.cpp | Calinou/learnopengl | f74bd1830d1541ab205d993b4da9661984e98d52 | [
"MIT"
] | 3 | 2018-11-17T18:41:32.000Z | 2019-08-15T13:19:33.000Z | src/CoordinateSystems.cpp | Calinou/learnopengl | f74bd1830d1541ab205d993b4da9661984e98d52 | [
"MIT"
] | null | null | null | src/CoordinateSystems.cpp | Calinou/learnopengl | f74bd1830d1541ab205d993b4da9661984e98d52 | [
"MIT"
] | 2 | 2019-08-15T13:19:34.000Z | 2020-02-29T12:44:57.000Z | #include <iostream>
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <cmath>
#define STB_IMAGE_IMPLEMENTATION
#include <stb_image.h>
#include "Shader.hpp"
void framebufferSizeCallback(GLFWwindow *window, int width, ... | 33.089888 | 99 | 0.631579 | Calinou |
e208cd0694d246d559f5ebb99aeccf944df9ccba | 1,321 | hpp | C++ | Flow3D/Flow3D/src/Flow3D/ImGui/ImGuiSpotLightEditor.hpp | florianvoelkers/Flow3D | 017d2f321f943dfecc360bec9fc6f17c77ffde68 | [
"MIT"
] | 2 | 2020-05-09T10:06:00.000Z | 2021-03-10T00:10:41.000Z | Flow3D/Flow3D/src/Flow3D/ImGui/ImGuiSpotLightEditor.hpp | florianvoelkers/Flow3D | 017d2f321f943dfecc360bec9fc6f17c77ffde68 | [
"MIT"
] | 1 | 2022-03-04T09:17:15.000Z | 2022-03-04T09:17:15.000Z | Flow3D/Flow3D/src/Flow3D/ImGui/ImGuiSpotLightEditor.hpp | florianvoelkers/Flow3D | 017d2f321f943dfecc360bec9fc6f17c77ffde68 | [
"MIT"
] | 2 | 2020-02-17T00:43:03.000Z | 2020-11-26T11:55:19.000Z | #pragma once
#include <imgui/imgui.h>
#include "Flow3D/Components/Lighting.hpp"
#include "ImGuiBaseLightEditor.hpp"
#include "ImGuiAttenuationEditor.hpp"
struct SpotLightEditor
{
SpotLightEditor() {}
void Draw(SpotLight* sl)
{
if (sl != nullptr)
{
Vec3 direction = sl->GetDirection();
float x, y, z;
... | 20.323077 | 77 | 0.629069 | florianvoelkers |
e20b25e4a08a946f6b58575a4d4e557744f8035c | 6,087 | cc | C++ | tensorflow/compiler/xla/service/while_util.cc | M155K4R4/Tensorflow | e5e03ef3148303b3dfed89a1492dedf92b45be25 | [
"Apache-2.0"
] | 24 | 2018-02-01T15:49:22.000Z | 2021-01-11T16:31:18.000Z | tensorflow/compiler/xla/service/while_util.cc | M155K4R4/Tensorflow | e5e03ef3148303b3dfed89a1492dedf92b45be25 | [
"Apache-2.0"
] | 2 | 2017-08-01T21:11:06.000Z | 2017-08-01T23:07:02.000Z | tensorflow/compiler/xla/service/while_util.cc | M155K4R4/Tensorflow | e5e03ef3148303b3dfed89a1492dedf92b45be25 | [
"Apache-2.0"
] | 4 | 2018-10-29T18:43:22.000Z | 2020-09-28T07:19:52.000Z | /* Copyright 2018 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... | 43.170213 | 80 | 0.737638 | M155K4R4 |
e20f073b943b2ff3bdc9f1d2b6d6d379f6ff6913 | 24,591 | cpp | C++ | lugre/src/lugre_fifo_L.cpp | ghoulsblade/vegaogre | 2ece3b799f9bd667f081d47c1a0f3ef5e78d3e0f | [
"MIT"
] | 1 | 2020-10-18T14:33:05.000Z | 2020-10-18T14:33:05.000Z | lugre/src/lugre_fifo_L.cpp | ghoulsblade/vegaogre | 2ece3b799f9bd667f081d47c1a0f3ef5e78d3e0f | [
"MIT"
] | null | null | null | lugre/src/lugre_fifo_L.cpp | ghoulsblade/vegaogre | 2ece3b799f9bd667f081d47c1a0f3ef5e78d3e0f | [
"MIT"
] | null | null | null | #include "lugre_prefix.h"
#include "lugre_scripting.h"
#include "lugre_fifo.h"
#include "lugre_luabind.h"
#include "lugre_luabind_direct.h"
extern "C" {
#include "lua.h"
#include "lauxlib.h"
#include "lualib.h"
}
using namespace Lugre;
/// for swig binding (bullet-heightfield data)
void* RobLuaFIFOToVoidPtr (lua... | 40.37931 | 182 | 0.690009 | ghoulsblade |
e20f0a795ebd09aba91e298c0d1339c26cb2f356 | 8,679 | cc | C++ | TC-programs/DFT-CSF/neu/ops_cis.cc | sklinkusch/scripts | a717cadb559db823a0d5172545661d5afa2715e7 | [
"MIT"
] | null | null | null | TC-programs/DFT-CSF/neu/ops_cis.cc | sklinkusch/scripts | a717cadb559db823a0d5172545661d5afa2715e7 | [
"MIT"
] | null | null | null | TC-programs/DFT-CSF/neu/ops_cis.cc | sklinkusch/scripts | a717cadb559db823a0d5172545661d5afa2715e7 | [
"MIT"
] | null | null | null | /********************************************************************************
* CIS3(D) Program suite *
* *
* file: ops_cis.cc ... | 43.179104 | 110 | 0.4595 | sklinkusch |
e20f2207bf401ff868f7c56bafd372e89b0733e8 | 18,437 | cpp | C++ | src/HDFOperations.cpp | ess-dmsc/kafka-to-nexus | 4b34a67b329583fab3634c9c56d3afcd30aee65c | [
"BSD-2-Clause"
] | 1 | 2020-08-13T06:50:04.000Z | 2020-08-13T06:50:04.000Z | src/HDFOperations.cpp | ess-dmsc/kafka-to-nexus | 4b34a67b329583fab3634c9c56d3afcd30aee65c | [
"BSD-2-Clause"
] | 507 | 2017-06-05T09:53:34.000Z | 2022-03-28T16:52:33.000Z | src/HDFOperations.cpp | ess-dmsc/kafka-to-nexus | 4b34a67b329583fab3634c9c56d3afcd30aee65c | [
"BSD-2-Clause"
] | 5 | 2019-03-15T13:32:54.000Z | 2020-12-07T02:54:13.000Z | // SPDX-License-Identifier: BSD-2-Clause
//
// This code has been produced by the European Spallation Source
// and its partner institutes under the BSD 2 Clause License.
//
// See LICENSE.md at the top level for license information.
//
// Screaming Udder! https://esss.se
#include "HDFOper... | 39.22766 | 80 | 0.606823 | ess-dmsc |
e20f9d7cc72ffd124ce77d595002dd9f6584fdf1 | 1,802 | cxx | C++ | main/sfx2/source/doc/QuerySaveDocument.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/sfx2/source/doc/QuerySaveDocument.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/sfx2/source/doc/QuerySaveDocument.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 39.173913 | 80 | 0.632075 | Grosskopf |
e21257e7026ef233cb26781ccab01437c23f77a5 | 2,083 | hpp | C++ | zen/parts/data/parts_data_journal.hpp | shauncroton/sg14 | 3e4932375ac0bcec3b38b8a7686589c888722830 | [
"Apache-2.0"
] | 1 | 2016-12-10T07:21:17.000Z | 2016-12-10T07:21:17.000Z | zen/parts/data/parts_data_journal.hpp | shauncroton/sg14 | 3e4932375ac0bcec3b38b8a7686589c888722830 | [
"Apache-2.0"
] | null | null | null | zen/parts/data/parts_data_journal.hpp | shauncroton/sg14 | 3e4932375ac0bcec3b38b8a7686589c888722830 | [
"Apache-2.0"
] | null | null | null | #ifndef __ZEN__PARTS_DATA_JOURNAL__HPP
#define __ZEN__PARTS_DATA_JOURNAL__HPP
///
///////////////////////////////////////////////////////////////////////////////////////////////////
///
#include <zen/parts/parts_data.h>
#include <unordered_map>
///
/////////////////////////////////////////////////////////////////////... | 19.110092 | 99 | 0.554969 | shauncroton |
e2150d9f5767ed785226206f2da2f3bc18a95dcb | 6,840 | cpp | C++ | source/compression/brdecompresslbmrle.cpp | Olde-Skuul/burgerlib | 80848a4dfa17c5c05095ecea14a9bd87f86dfb9d | [
"Zlib"
] | 115 | 2015-01-18T17:29:30.000Z | 2022-01-30T04:31:48.000Z | source/compression/brdecompresslbmrle.cpp | Olde-Skuul/burgerlib | 80848a4dfa17c5c05095ecea14a9bd87f86dfb9d | [
"Zlib"
] | 9 | 2015-01-22T04:53:38.000Z | 2015-01-31T13:52:40.000Z | source/compression/brdecompresslbmrle.cpp | Olde-Skuul/burgerlib | 80848a4dfa17c5c05095ecea14a9bd87f86dfb9d | [
"Zlib"
] | 9 | 2015-01-23T20:06:46.000Z | 2020-05-20T16:06:00.000Z | /***************************************
Decompression manager version of RLE
Copyright (c) 1995-2017 by Rebecca Ann Heineman <becky@burgerbecky.com>
It is released under an MIT Open Source license. Please see LICENSE for
license details. Yes, you can use it in a commercial title without paying
a... | 28.032787 | 148 | 0.653216 | Olde-Skuul |
e2168a4a2cda1a30b0cf6c9e241aee7cea52b817 | 1,009 | cpp | C++ | UI/App/src/Tetris2.cpp | sunjinbo/Tetris2 | 28b4d4c842b74fe1afc5874b16d0bd39b68f3b1c | [
"MIT"
] | null | null | null | UI/App/src/Tetris2.cpp | sunjinbo/Tetris2 | 28b4d4c842b74fe1afc5874b16d0bd39b68f3b1c | [
"MIT"
] | null | null | null | UI/App/src/Tetris2.cpp | sunjinbo/Tetris2 | 28b4d4c842b74fe1afc5874b16d0bd39b68f3b1c | [
"MIT"
] | null | null | null | /* ====================================================================
* File: Tetris2.cpp
* Created: 01/14/09
* Modified: 01/14/09
* Author: Sun Jinbo
* Copyright (c): Tieto, All rights reserved
* ==================================================================== */
// INCLUDE FILES
#include <eikstart.h> // ... | 28.828571 | 78 | 0.356789 | sunjinbo |
e21af7ac37edd76ee9a4f0156bbfd14a4aed90d6 | 64 | cpp | C++ | RFGR Extended Camera DLL/Functions.cpp | Moneyl/RFGR-Extended-Camera | a68fa3a531f0be71eea0416bdd390bd1b1fa560e | [
"MIT"
] | 4 | 2020-05-25T01:42:56.000Z | 2021-01-16T19:46:50.000Z | RFGR Extended Camera DLL/Functions.cpp | Moneyl/RFGR-Extended-Camera | a68fa3a531f0be71eea0416bdd390bd1b1fa560e | [
"MIT"
] | null | null | null | RFGR Extended Camera DLL/Functions.cpp | Moneyl/RFGR-Extended-Camera | a68fa3a531f0be71eea0416bdd390bd1b1fa560e | [
"MIT"
] | null | null | null |
#include "Functions.hpp"
F_HideHud HideHud;
F_ShowFog ShowFog; | 12.8 | 24 | 0.796875 | Moneyl |
e21c300ed6b1baf03ecd2ad9a672bc905393cbb2 | 1,054 | cpp | C++ | q53-maximum-subarray.cpp | risyomei/leetcode | bd0eba2d31eca48c182fc328fab02aac61c15366 | [
"MIT"
] | null | null | null | q53-maximum-subarray.cpp | risyomei/leetcode | bd0eba2d31eca48c182fc328fab02aac61c15366 | [
"MIT"
] | null | null | null | q53-maximum-subarray.cpp | risyomei/leetcode | bd0eba2d31eca48c182fc328fab02aac61c15366 | [
"MIT"
] | null | null | null | /*
ANSWER: DynamicProgramming
input: nums [-2,1,-3,4,-1,2,1,-5,4]
|
i
Max_array: [-2,1,-2,4, 3,5,6, 1,5]
given the Max_sub_array( [nums[0] .... nums[n-1]] ) and nums[n],
the Max_sub_array( [nums[0], .... , nums[n-1], nums[n]] ) can be calculated as follow:
if( Max_s... | 23.422222 | 108 | 0.442125 | risyomei |
e21c86e8f1d45b80365eba3b073ff59968cc79f7 | 352 | cpp | C++ | src/scene/battle/battle.cpp | selcia-eremeev/cake | 855886acd7595d12780cb95a0bcb8a6fcee09ac6 | [
"MIT"
] | 1 | 2020-11-28T21:07:24.000Z | 2020-11-28T21:07:24.000Z | src/scene/battle/battle.cpp | selcia-eremeev/cake | 855886acd7595d12780cb95a0bcb8a6fcee09ac6 | [
"MIT"
] | 2 | 2020-11-28T20:57:01.000Z | 2020-11-29T21:00:43.000Z | src/scene/battle/battle.cpp | selcia-eremeev/cake | 855886acd7595d12780cb95a0bcb8a6fcee09ac6 | [
"MIT"
] | null | null | null | #pragma once
#include "app/app.hpp"
#include "scene/battle/battle.hpp"
#include "scene/battle/user_interface.hpp"
int Battle::Initialize(void) {
UI->Initialize();
return 0;
}
int Battle::Update(void) {
UI->Update();
return 0;
}
int Battle::Render(void) {
UI->Render();
return 0;
}
int Battle::Terminate(void) ... | 14.08 | 42 | 0.676136 | selcia-eremeev |
e21ed3f10b096e8cfa21a51e530b281747fc964b | 9,275 | cc | C++ | src/binding.cc | Narasimha1997/py_cpu | 8bea803a8a5c711ecbfb36e30907d4affee7d62d | [
"Apache-2.0"
] | 16 | 2020-11-28T08:16:14.000Z | 2022-01-14T19:20:47.000Z | src/binding.cc | pranavms13/py_cpu | f075719fd8ecda2d645860899be68c1f60ce44f9 | [
"Apache-2.0"
] | 3 | 2020-11-28T12:06:37.000Z | 2022-01-26T03:24:27.000Z | src/binding.cc | pranavms13/py_cpu | f075719fd8ecda2d645860899be68c1f60ce44f9 | [
"Apache-2.0"
] | 1 | 2020-11-28T11:49:56.000Z | 2020-11-28T11:49:56.000Z | #include <pybind11/pybind11.h>
#include <pybind11/stl_bind.h>
#include <unordered_map>
#include <string>
//cpu_features
#include "cpu_features_macros.h"
/*
Architecture specific marcos
*/
#if defined(CPU_FEATURES_ARCH_X86)
#include "cpuinfo_x86.h"
typedef struct
{
std::string brand;
std::string vendor;... | 30.310458 | 92 | 0.696173 | Narasimha1997 |
e2202efac635909caa9b1bbb75bdf4f156e00154 | 7,014 | inl | C++ | risc0/r0vm/rtl/riscv32im.inl | ChimeraScorn/risc0 | 23c46afe52019f0f3c45c03fdf63729b58e3f062 | [
"Apache-2.0"
] | 64 | 2022-03-15T20:38:18.000Z | 2022-03-30T14:30:18.000Z | risc0/r0vm/rtl/riscv32im.inl | ChimeraScorn/risc0 | 23c46afe52019f0f3c45c03fdf63729b58e3f062 | [
"Apache-2.0"
] | 5 | 2022-03-21T20:01:05.000Z | 2022-03-31T23:45:44.000Z | risc0/r0vm/rtl/riscv32im.inl | ChimeraScorn/risc0 | 23c46afe52019f0f3c45c03fdf63729b58e3f062 | [
"Apache-2.0"
] | 4 | 2022-03-15T22:08:18.000Z | 2022-03-22T00:31:47.000Z | // Copyright 2022 Risc0, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 54.372093 | 85 | 0.550043 | ChimeraScorn |
e2255d4cc813bac9438aa29e1e2a954b97e64e39 | 1,553 | cpp | C++ | src/AnimationControllerFactory.cpp | foxostro/CheeseTesseract | 737ebbd19cee8f5a196bf39a11ca793c561e56cb | [
"MIT"
] | 1 | 2016-05-17T03:36:52.000Z | 2016-05-17T03:36:52.000Z | src/AnimationControllerFactory.cpp | foxostro/CheeseTesseract | 737ebbd19cee8f5a196bf39a11ca793c561e56cb | [
"MIT"
] | null | null | null | src/AnimationControllerFactory.cpp | foxostro/CheeseTesseract | 737ebbd19cee8f5a196bf39a11ca793c561e56cb | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "ModelLoader.h"
#include "ModelLoaderMD2.h"
#include "ModelLoaderMD3.h"
#include "ModelLoaderOBJ.h"
#include "AnimationControllerFactory.h"
AnimationControllerFactory::AnimationControllerFactory(TextureFactory &_textureFactory)
: textureFactory(_textureFactory) {
loader[".objxml"] = sha... | 26.775862 | 87 | 0.734707 | foxostro |
e226bd0e16313c8900cf5cb73c62caa277e6ab2a | 1,033 | cpp | C++ | toi11segitiga.cpp | CaQtiml/TOI-the-SERIES | 3ef42eab879a4624f593e44511036ea9c9c24450 | [
"MIT"
] | null | null | null | toi11segitiga.cpp | CaQtiml/TOI-the-SERIES | 3ef42eab879a4624f593e44511036ea9c9c24450 | [
"MIT"
] | null | null | null | toi11segitiga.cpp | CaQtiml/TOI-the-SERIES | 3ef42eab879a4624f593e44511036ea9c9c24450 | [
"MIT"
] | null | null | null | #include "bits/stdc++.h"
using namespace std;
bool dp[3][256][256];
char arr[256];
int main()
{
int TT=20;
while(TT--)
{
int n;
scanf("%d",&n);
scanf("%s",arr+1);
memset(dp,0,sizeof dp); //don't forget to clear array before reuse
for(int len=1;len<=n;len++)
{
for(int i=1,j=len ; j<=n ;... | 25.825 | 70 | 0.429816 | CaQtiml |
e22779d2a35c478ace068520ebad507837d4e795 | 1,946 | cpp | C++ | Libraries/Macaronlib/Bitmap.cpp | vpachkov/MacaronOS | e2572761f0d73a435d5660eb88d4dc96c944a349 | [
"MIT"
] | 21 | 2021-08-22T19:06:54.000Z | 2022-03-31T12:44:30.000Z | Libraries/Macaronlib/Bitmap.cpp | Plunkerusr/WisteriaOS | 14f853cb8fdd6b958dd94ab24e5f19ac0268a4f6 | [
"MIT"
] | 1 | 2021-09-01T22:55:59.000Z | 2021-09-08T20:52:09.000Z | Libraries/Macaronlib/Bitmap.cpp | Plunkerusr/WisteriaOS | 14f853cb8fdd6b958dd94ab24e5f19ac0268a4f6 | [
"MIT"
] | null | null | null | #include <Bitmap.hpp>
#include <Common.hpp>
#define BITMAP_CHUNK_SIZE 32
#define BITMAP_CHUNK_COUNT(sz) (sz / BITMAP_CHUNK_SIZE + ((sz % BITMAP_CHUNK_SIZE > 0) ? 1 : 0))
Bitmap::Bitmap(uint32_t location, size_t size)
: m_array((uint32_t*)location)
, m_size(size)
, m_memory_size(BITMAP_CHUNK_COUNT(size) * ... | 22.113636 | 96 | 0.633094 | vpachkov |
e230e23df2436e1514f851bf64982da03fa60b52 | 1,234 | hpp | C++ | tutorial_composition/include/tutorial_composition/publisher_node.hpp | ryo4432/ros2_tutorial_collection | 4e7ed30e35009f07bd219c762d68b4b8022d4d9d | [
"Apache-2.0"
] | null | null | null | tutorial_composition/include/tutorial_composition/publisher_node.hpp | ryo4432/ros2_tutorial_collection | 4e7ed30e35009f07bd219c762d68b4b8022d4d9d | [
"Apache-2.0"
] | null | null | null | tutorial_composition/include/tutorial_composition/publisher_node.hpp | ryo4432/ros2_tutorial_collection | 4e7ed30e35009f07bd219c762d68b4b8022d4d9d | [
"Apache-2.0"
] | null | null | null | /*
# Copyright 2019 Open Source Robotics Foundation, 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 ... | 30.097561 | 74 | 0.785251 | ryo4432 |
e2315a8763ef0a579b9bac0367c989303c50c044 | 1,150 | hpp | C++ | vcl/shape/mesh/mesh_drawable/mesh_drawable_gpu_data/mesh_drawable_gpu_data.hpp | victor-radermecker/Island-Project | 3284cea0ec5b143bfe410b0999caa06e79498df5 | [
"MIT"
] | 3 | 2020-03-25T09:56:46.000Z | 2020-05-06T09:28:35.000Z | vcl/shape/mesh/mesh_drawable/mesh_drawable_gpu_data/mesh_drawable_gpu_data.hpp | victor-radermecker/Island-Project | 3284cea0ec5b143bfe410b0999caa06e79498df5 | [
"MIT"
] | 1 | 2020-04-22T09:22:18.000Z | 2020-04-30T10:13:24.000Z | vcl/shape/mesh/mesh_drawable/mesh_drawable_gpu_data/mesh_drawable_gpu_data.hpp | victor-radermecker/Island-Project | 3284cea0ec5b143bfe410b0999caa06e79498df5 | [
"MIT"
] | 5 | 2020-03-25T09:53:09.000Z | 2020-05-20T08:16:07.000Z | #pragma once
#include "vcl/wrapper/glad/glad.hpp"
#include "../../mesh_structure/mesh.hpp"
namespace vcl
{
struct mesh_drawable_gpu_data {
mesh_drawable_gpu_data();
mesh_drawable_gpu_data(const mesh& mesh_cpu);
/** Clear buffers */
void clear();
/** Dynamically update the VBO with the new ve... | 26.744186 | 100 | 0.693913 | victor-radermecker |
e23384401083b7e135f650740823455e35646472 | 4,091 | cpp | C++ | ardupilot/libraries/AP_HAL_FLYMAPLE/AnalogIn.cpp | quadrotor-IITKgp/emulate_GPS | 3c888d5b27b81fb17e74d995370f64bdb110fb65 | [
"MIT"
] | 1 | 2021-07-17T11:37:16.000Z | 2021-07-17T11:37:16.000Z | ardupilot/libraries/AP_HAL_FLYMAPLE/AnalogIn.cpp | arl-kgp/emulate_GPS | 3c888d5b27b81fb17e74d995370f64bdb110fb65 | [
"MIT"
] | null | null | null | ardupilot/libraries/AP_HAL_FLYMAPLE/AnalogIn.cpp | arl-kgp/emulate_GPS | 3c888d5b27b81fb17e74d995370f64bdb110fb65 | [
"MIT"
] | null | null | null | /// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
/*
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any la... | 30.303704 | 102 | 0.681496 | quadrotor-IITKgp |
e2361623088870203b7037486bb7c172cb073865 | 1,276 | hpp | C++ | Source/AllProjects/CoreTech/CQCIR/CQCIR_.hpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 51 | 2020-12-26T18:17:16.000Z | 2022-03-15T04:29:35.000Z | Source/AllProjects/CoreTech/CQCIR/CQCIR_.hpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | null | null | null | Source/AllProjects/CoreTech/CQCIR/CQCIR_.hpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 4 | 2020-12-28T07:24:39.000Z | 2021-12-29T12:09:37.000Z | //
// FILE NAME: CQCIR_.hpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 06/29/2003
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2020
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://opensource.org/l... | 25.52 | 78 | 0.4279 | MarkStega |
e238bcb8e3c14558f6673316c1a378ee21de9f13 | 622 | cpp | C++ | UICPC/16/UICPC Round #16 (Div 1)/UICPC Round #16 (Div 1)/solutions/Problem J - Polly Gone/pollygone2.cpp | MilladMuhammadi/Competitive-Programming | 9f84a2d2734a5efe0e1fde0062e51782cd5af2c6 | [
"MIT"
] | null | null | null | UICPC/16/UICPC Round #16 (Div 1)/UICPC Round #16 (Div 1)/solutions/Problem J - Polly Gone/pollygone2.cpp | MilladMuhammadi/Competitive-Programming | 9f84a2d2734a5efe0e1fde0062e51782cd5af2c6 | [
"MIT"
] | null | null | null | UICPC/16/UICPC Round #16 (Div 1)/UICPC Round #16 (Div 1)/solutions/Problem J - Polly Gone/pollygone2.cpp | MilladMuhammadi/Competitive-Programming | 9f84a2d2734a5efe0e1fde0062e51782cd5af2c6 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
// Polly Gone
int n, P, e[1003], p[1003];
int dp[10003];
int main(){
double tmp;
cin >> n >> tmp;
P = tmp * 10000 + 1e-9;
for(int i = 0; i < n; i++)
cin >> e[i] >> tmp, p[i] = tmp * 10000 + 1e-9;
fill_n(dp, 10001, INT_MAX);
dp[0] = 0;
... | 24.88 | 63 | 0.438907 | MilladMuhammadi |
e23c643c9899639658b31e059cd3823f651014a9 | 193 | hpp | C++ | Engine/Src/Runtime/Core/Public/Core/Memory/IAllocator.hpp | Septus10/Fade-Engine | 285a2a1cf14a4e9c3eb8f6d30785d1239cef10b6 | [
"MIT"
] | null | null | null | Engine/Src/Runtime/Core/Public/Core/Memory/IAllocator.hpp | Septus10/Fade-Engine | 285a2a1cf14a4e9c3eb8f6d30785d1239cef10b6 | [
"MIT"
] | null | null | null | Engine/Src/Runtime/Core/Public/Core/Memory/IAllocator.hpp | Septus10/Fade-Engine | 285a2a1cf14a4e9c3eb8f6d30785d1239cef10b6 | [
"MIT"
] | null | null | null | #pragma once
#include <Core/Definitions.hpp>
namespace Fade {
class IAllocator
{
public:
virtual void* Allocate(usize a_Size) = 0;
virtual void Free(void* a_Block, usize a_Size) = 0;
};
} | 13.785714 | 52 | 0.715026 | Septus10 |
e23d585227fa11d8ab7a58a46f2e1a08a5b25a74 | 43,763 | cpp | C++ | src/plugProjectEbisawaU/ebiScreenOmake.cpp | projectPiki/pikmin2 | a431d992acde856d092889a515ecca0e07a3ea7c | [
"Unlicense"
] | 33 | 2021-12-08T11:10:59.000Z | 2022-03-26T19:59:37.000Z | src/plugProjectEbisawaU/ebiScreenOmake.cpp | projectPiki/pikmin2 | a431d992acde856d092889a515ecca0e07a3ea7c | [
"Unlicense"
] | 6 | 2021-12-22T17:54:31.000Z | 2022-01-07T21:43:18.000Z | src/plugProjectEbisawaU/ebiScreenOmake.cpp | projectPiki/pikmin2 | a431d992acde856d092889a515ecca0e07a3ea7c | [
"Unlicense"
] | 2 | 2022-01-04T06:00:49.000Z | 2022-01-26T07:27:28.000Z | #include "ebi/Omake.h"
#include "ebi/E2DCallBack.h"
#include "types.h"
/*
Generated from dpostproc
.section .rodata # 0x804732E0 - 0x8049E220
.global lbl_80497A18
lbl_80497A18:
.asciz "ebiScreenOmake"
.skip 1
.asciz "Screen_newScreen_of_TOmake"
.skip 1
.asciz "... | 21.783474 | 99 | 0.58979 | projectPiki |
e23d83514b34731eb23d3866f4cc9e484e32bb96 | 3,498 | cpp | C++ | src/Xi-Http/tests/UT_Client.cpp | ElSamaritan/blockchain-OLD | ca3422c8873613226db99b7e6735c5ea1fac9f1a | [
"Apache-2.0"
] | null | null | null | src/Xi-Http/tests/UT_Client.cpp | ElSamaritan/blockchain-OLD | ca3422c8873613226db99b7e6735c5ea1fac9f1a | [
"Apache-2.0"
] | null | null | null | src/Xi-Http/tests/UT_Client.cpp | ElSamaritan/blockchain-OLD | ca3422c8873613226db99b7e6735c5ea1fac9f1a | [
"Apache-2.0"
] | null | null | null | /* ============================================================================================== *
* *
* Galaxia Blockchain *
* ... | 49.267606 | 100 | 0.424814 | ElSamaritan |
e23d884294e8389dc1d0128af5a78e99a7e2c86d | 12,528 | cpp | C++ | src/experiments/sk/par/pldi08/benchmarks/lock-free_queue/old/enqueueDequeueSketch2.sk.cpp | dolphingarlic/sketch-frontend | e646b7d51405e8a693f45472aa3cc6991a6f38af | [
"X11"
] | 1 | 2020-12-06T03:40:53.000Z | 2020-12-06T03:40:53.000Z | src/experiments/sk/par/pldi08/benchmarks/lock-free_queue/old/enqueueDequeueSketch2.sk.cpp | dolphingarlic/sketch-frontend | e646b7d51405e8a693f45472aa3cc6991a6f38af | [
"X11"
] | null | null | null | src/experiments/sk/par/pldi08/benchmarks/lock-free_queue/old/enqueueDequeueSketch2.sk.cpp | dolphingarlic/sketch-frontend | e646b7d51405e8a693f45472aa3cc6991a6f38af | [
"X11"
] | null | null | null |
struct Node {
int obj;
Node next;
bit taken;
}
struct Queue {
Node prevHead;
Node tail;
}
void enqueue(Queue Q, int obj) {
Node tmp = null;
Node n = new Node ();
n.obj = obj;
n.taken = 0;
n.next = null;
Node tail = Q.tail;
reorder {
if (??) {
... | 26.542373 | 63 | 0.301086 | dolphingarlic |
e241d8a9b5ab40951c82924446a18b0c60b67888 | 1,698 | hpp | C++ | external/oqpi/include/oqpi/scheduling/group_context.hpp | ehei1/orbit | f990a7f9abb7d330e93d0d20018a62869890f04e | [
"BSD-2-Clause"
] | 44 | 2017-01-07T18:33:32.000Z | 2021-01-28T03:30:27.000Z | external/oqpi/include/oqpi/scheduling/group_context.hpp | ehei1/orbit | f990a7f9abb7d330e93d0d20018a62869890f04e | [
"BSD-2-Clause"
] | 3 | 2022-02-15T02:46:06.000Z | 2022-02-28T01:28:39.000Z | external/oqpi/include/oqpi/scheduling/group_context.hpp | ehei1/orbit | f990a7f9abb7d330e93d0d20018a62869890f04e | [
"BSD-2-Clause"
] | 6 | 2017-01-14T19:04:50.000Z | 2021-04-18T17:42:23.000Z | #pragma once
#include "oqpi/error_handling.hpp"
#include "oqpi/scheduling/context_container.hpp"
namespace oqpi {
//----------------------------------------------------------------------------------------------
class task_group_base;
class task_handle;
//---------------------------------------------... | 35.375 | 100 | 0.380448 | ehei1 |
e246ace9699a73cf79eab69988b5c54f39776f4b | 936 | cpp | C++ | bzoj/4010.cpp | swwind/code | 25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0 | [
"WTFPL"
] | 3 | 2017-09-17T09:12:50.000Z | 2018-04-06T01:18:17.000Z | bzoj/4010.cpp | swwind/code | 25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0 | [
"WTFPL"
] | null | null | null | bzoj/4010.cpp | swwind/code | 25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0 | [
"WTFPL"
] | null | null | null | #include <bits/stdc++.h>
#define ll long long
#define N 100050
using namespace std;
int T,n,m,cnt,top,x,y;
int last[N],d[N],ans[N];
priority_queue<int,vector<int> > q;
struct edge{
int to,next;
}e[N];
void insert(int u,int v){
e[++cnt].to=v;
e[cnt].next=last[u];
last[u]=cnt;
}
void dfs(int x){
q.pop();
... | 17.660377 | 36 | 0.5 | swwind |
e24b0293ff44e61391fc1552f4e80edd0626b89c | 698 | cpp | C++ | Voltron/Source/UnitTests/Cpp/IO/Streams_tests.cpp | ernestyalumni/HrdwCCppCUDA | 17ed937dea06431a4d5ca103f993ea69a6918734 | [
"MIT"
] | 1 | 2018-02-09T19:44:51.000Z | 2018-02-09T19:44:51.000Z | Voltron/Source/UnitTests/Cpp/IO/Streams_tests.cpp | ernestyalumni/HrdwCCppCUDA | 17ed937dea06431a4d5ca103f993ea69a6918734 | [
"MIT"
] | null | null | null | Voltron/Source/UnitTests/Cpp/IO/Streams_tests.cpp | ernestyalumni/HrdwCCppCUDA | 17ed937dea06431a4d5ca103f993ea69a6918734 | [
"MIT"
] | null | null | null | //------------------------------------------------------------------------------
/// \file Streams_tests.cpp
//------------------------------------------------------------------------------
#include "Tools/TemporaryDirectory.h"
#include <boost/test/unit_test.hpp>
BOOST_AUTO_TEST_SUITE(Cpp)
BOOST_AUTO_TEST_SUITE(IO)
B... | 31.727273 | 80 | 0.434097 | ernestyalumni |
f46be6c60ba01dfde8e89d6e43e3ed7348f5019b | 11,794 | cpp | C++ | addons/cirkit-addon-reversible/src/reversible/io/create_image.cpp | eletesta/cirkit | 6d0939798ea25cecf92306ce796be154139b94f5 | [
"MIT"
] | null | null | null | addons/cirkit-addon-reversible/src/reversible/io/create_image.cpp | eletesta/cirkit | 6d0939798ea25cecf92306ce796be154139b94f5 | [
"MIT"
] | null | null | null | addons/cirkit-addon-reversible/src/reversible/io/create_image.cpp | eletesta/cirkit | 6d0939798ea25cecf92306ce796be154139b94f5 | [
"MIT"
] | null | null | null | /* CirKit: A circuit toolkit
* Copyright (C) 2009-2015 University of Bremen
* Copyright (C) 2015-2017 EPFL
*
* 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, in... | 35.311377 | 226 | 0.592929 | eletesta |
f46e6986f073ca093ec5dc67db7c84d66e9d1697 | 3,229 | cpp | C++ | regression/esbmc-cpp/cpp/ch14_8/clientData.cpp | shmarovfedor/esbmc | 3226a3d68b009d44b9535a993ac0f25e1a1fbedd | [
"BSD-3-Clause"
] | 143 | 2015-06-22T12:30:01.000Z | 2022-03-21T08:41:17.000Z | regression/esbmc-cpp/cpp/ch14_8/clientData.cpp | shmarovfedor/esbmc | 3226a3d68b009d44b9535a993ac0f25e1a1fbedd | [
"BSD-3-Clause"
] | 542 | 2017-06-02T13:46:26.000Z | 2022-03-31T16:35:17.000Z | regression/esbmc-cpp/cpp/ch14_8/clientData.cpp | shmarovfedor/esbmc | 3226a3d68b009d44b9535a993ac0f25e1a1fbedd | [
"BSD-3-Clause"
] | 81 | 2015-10-21T22:21:59.000Z | 2022-03-24T14:07:55.000Z | // Fig. 14.11: ClientData.cpp
// Class ClientData stores customer's credit information.
#include <iostream>
#include <string>
using std::string;
#include <cstring>
#include "clientData.h"
// default ClientData constructor
ClientData::ClientData( int accountNumberValue,
string lastNameValue, string firstNameValue,... | 30.462264 | 75 | 0.657169 | shmarovfedor |
f46f0b8457e878eca921f1eff67af60417826eff | 2,313 | hpp | C++ | src/vocabulary.hpp | MagicLemma/anzu-one | 7c8626f96dbc0a026b9844d4cd0f65c49ab3ce39 | [
"MIT"
] | 2 | 2022-01-19T14:12:06.000Z | 2022-01-29T02:32:21.000Z | src/vocabulary.hpp | MagicLemma/anzu-one | 7c8626f96dbc0a026b9844d4cd0f65c49ab3ce39 | [
"MIT"
] | null | null | null | src/vocabulary.hpp | MagicLemma/anzu-one | 7c8626f96dbc0a026b9844d4cd0f65c49ab3ce39 | [
"MIT"
] | 1 | 2022-01-19T14:51:07.000Z | 2022-01-19T14:51:07.000Z | #pragma once
#include <string_view>
namespace anzu {
using sv = std::string_view;
// Keywords
constexpr auto tk_break = sv{"break"};
constexpr auto tk_continue = sv{"continue"};
constexpr auto tk_else = sv{"else"};
constexpr auto tk_false = sv{"false"};
constexpr auto tk_for = sv{"for"};
constexp... | 33.521739 | 45 | 0.609166 | MagicLemma |
f47058500dbca74c208e22417139aa50f35f3c0d | 397 | cpp | C++ | ctci/5.6.cpp | liddiard/interview-practice | ec98a68b57114cb7c05c1a6ffb7eb641a39bb00f | [
"MIT"
] | null | null | null | ctci/5.6.cpp | liddiard/interview-practice | ec98a68b57114cb7c05c1a6ffb7eb641a39bb00f | [
"MIT"
] | null | null | null | ctci/5.6.cpp | liddiard/interview-practice | ec98a68b57114cb7c05c1a6ffb7eb641a39bb00f | [
"MIT"
] | null | null | null | #include <iostream>
#include <bitset>
using namespace std;
int swapEveryOther(int n) {
int odd_mask = 0xAAAAAAAA;
int even_mask = (unsigned) odd_mask >> 1;
int even_bits = even_mask & n;
int odd_bits = odd_mask & n;
return (even_bits << 1) | (odd_bits >> 1);
}
int main() {
int n = 93;
cout << bitset<3... | 19.85 | 48 | 0.632242 | liddiard |
f472f1d253b24498621500eadea3781b8a7ac7c1 | 176 | cpp | C++ | AIZU Online Judge/ITP1_1_C - Rectangle.cpp | akash246/Competitive-Programming-Solutions | 68db69ba8a771a433e5338bc4e837a02d3f89823 | [
"MIT"
] | 28 | 2017-11-08T11:52:11.000Z | 2021-07-16T06:30:02.000Z | AIZU Online Judge/ITP1_1_C - Rectangle.cpp | akash246/Competitive-Programming-Solutions | 68db69ba8a771a433e5338bc4e837a02d3f89823 | [
"MIT"
] | null | null | null | AIZU Online Judge/ITP1_1_C - Rectangle.cpp | akash246/Competitive-Programming-Solutions | 68db69ba8a771a433e5338bc4e837a02d3f89823 | [
"MIT"
] | 30 | 2017-09-01T09:14:27.000Z | 2021-04-12T12:08:56.000Z | #include <iostream>
#include "stdio.h"
using namespace std;
void solve() {
}
int main() {
int l, w;
cin>>l>>w;
cout<< l*w << " " << l*2 + w*2 <<endl;
return 0;
}
| 9.777778 | 40 | 0.522727 | akash246 |
f47c205fd6f407a0452a87c39e777d0d5e044f08 | 2,358 | cpp | C++ | src/src/Entity.cpp | borbrudar/Arcade_16 | b3982df84c43839fb11881750827ea055d39d9a3 | [
"MIT"
] | null | null | null | src/src/Entity.cpp | borbrudar/Arcade_16 | b3982df84c43839fb11881750827ea055d39d9a3 | [
"MIT"
] | null | null | null | src/src/Entity.cpp | borbrudar/Arcade_16 | b3982df84c43839fb11881750827ea055d39d9a3 | [
"MIT"
] | null | null | null | #include "Entity.h"
Entity::Entity(Texture& t, Vector2f size, int maxSwap, Vector2f pos, Vector2f tSize, int type, bool bigMario):
type(type),
pos(pos),
oldPos(pos),
bigMario(bigMario)
{
anim.setup(t, size, tSize, maxSwap);
anim.animation.setPosition(pos);
oldPos = anim.animation.getPosition();
anim.delay = 0... | 27.103448 | 123 | 0.651399 | borbrudar |
f47e40e5408ba16c1554dfb2273684553e168dfc | 1,849 | hpp | C++ | lib/popsparse/FullyConnectedOptions.hpp | graphcore/poplibs | 3fe5a3ecafe995eddb72675d1b4a7af8a622009e | [
"MIT"
] | 95 | 2020-07-06T17:11:23.000Z | 2022-03-12T14:42:28.000Z | lib/popsparse/FullyConnectedOptions.hpp | giantchen2012/poplibs | 2bc6b6f3d40863c928b935b5da88f40ddd77078e | [
"MIT"
] | null | null | null | lib/popsparse/FullyConnectedOptions.hpp | giantchen2012/poplibs | 2bc6b6f3d40863c928b935b5da88f40ddd77078e | [
"MIT"
] | 14 | 2020-07-15T12:32:57.000Z | 2022-01-26T14:58:45.000Z | // Copyright (c) 2020 Graphcore Ltd. All rights reserved.
#ifndef popsparse_FullyConnectedOptions_hpp
#define popsparse_FullyConnectedOptions_hpp
#include <poplar/OptionFlags.hpp>
#include <poplar/Type.hpp>
#include <ostream>
#include <tuple>
#include "poplibs_support/PlanConstraints.hpp"
#include "SparsePartition... | 34.886792 | 79 | 0.767983 | graphcore |
f47fca44154f5c996e40ad5a3d714e679b3978da | 4,705 | cpp | C++ | src/BFS.cpp | nantha007/frontierExplorer | 0660def3de50f043027eaaa453de15699dbc1445 | [
"BSD-3-Clause"
] | null | null | null | src/BFS.cpp | nantha007/frontierExplorer | 0660def3de50f043027eaaa453de15699dbc1445 | [
"BSD-3-Clause"
] | null | null | null | src/BFS.cpp | nantha007/frontierExplorer | 0660def3de50f043027eaaa453de15699dbc1445 | [
"BSD-3-Clause"
] | null | null | null | /**
* BSD 3-Clause License
*
* Copyright (c) 2018, Nantha Kumar Sunder, Nithish Sanjeev Kumar
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retai... | 31.366667 | 83 | 0.658448 | nantha007 |
f4801ef55b6ce5e943a5967c98fb3fc32637429a | 1,486 | cpp | C++ | cpp/Dynamic Programming/72. Edit Distance.cpp | baicaihenxiao/LeetCode-Myself | f88fa5b5e76a913d6d9395d75571c8d7c46d37f5 | [
"MIT"
] | null | null | null | cpp/Dynamic Programming/72. Edit Distance.cpp | baicaihenxiao/LeetCode-Myself | f88fa5b5e76a913d6d9395d75571c8d7c46d37f5 | [
"MIT"
] | 6 | 2021-03-31T02:43:24.000Z | 2022-01-04T16:40:26.000Z | cpp/Dynamic Programming/72. Edit Distance.cpp | baicaihenxiao/LeetCode-Myself | f88fa5b5e76a913d6d9395d75571c8d7c46d37f5 | [
"MIT"
] | null | null | null | /*
2017-8-16 15:44:21
https://leetcode.com/problems/edit-distance/description/
Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)
You have the following 3 operations permitted on a word:
a) Insert a character
b) Delete a ch... | 18.810127 | 140 | 0.444818 | baicaihenxiao |
f4842234b20f5b81e377042efcc1904f448ff106 | 2,333 | hpp | C++ | Source/Ilum/Renderer/Renderer.hpp | LavenSun/IlumEngine | 94841e56af3c5214f04e7a94cb7369f4935c5788 | [
"MIT"
] | 1 | 2021-11-20T15:39:09.000Z | 2021-11-20T15:39:09.000Z | Source/Ilum/Renderer/Renderer.hpp | LavenSun/IlumEngine | 94841e56af3c5214f04e7a94cb7369f4935c5788 | [
"MIT"
] | null | null | null | Source/Ilum/Renderer/Renderer.hpp | LavenSun/IlumEngine | 94841e56af3c5214f04e7a94cb7369f4935c5788 | [
"MIT"
] | null | null | null | #pragma once
#include "Utils/PCH.hpp"
#include "Camera.hpp"
#include "Engine/Context.hpp"
#include "Engine/Subsystem.hpp"
#include "Eventing/Event.hpp"
#include "Graphics/Image/Image.hpp"
#include "Graphics/Image/Sampler.hpp"
#include "RenderGraph/RenderGraphBuilder.hpp"
#include "Loader/ResourceCache.hpp"
#inc... | 16.905797 | 70 | 0.741106 | LavenSun |
f485fca7569ca3eda76d0090f63eeb1399da7ab9 | 443 | hpp | C++ | Axis.SystemBase/foundation/settings/SystemSettings.hpp | renato-yuzup/axis-fem | 2e8d325eb9c8e99285f513b4c1218ef53eb0ab22 | [
"MIT"
] | 2 | 2021-07-23T08:49:54.000Z | 2021-07-29T22:07:30.000Z | Axis.SystemBase/foundation/settings/SystemSettings.hpp | renato-yuzup/axis-fem | 2e8d325eb9c8e99285f513b4c1218ef53eb0ab22 | [
"MIT"
] | null | null | null | Axis.SystemBase/foundation/settings/SystemSettings.hpp | renato-yuzup/axis-fem | 2e8d325eb9c8e99285f513b4c1218ef53eb0ab22 | [
"MIT"
] | null | null | null | #pragma once
#include "foundation/Axis.SystemBase.hpp"
#include "AxisString.hpp"
namespace axis
{
namespace foundation
{
namespace settings
{
class AXISSYSTEMBASE_API SystemSettings
{
private:
SystemSettings(void);
public:
static const axis::String::char_type * DefaultConfigurationFile;
s... | 20.136364 | 68 | 0.717833 | renato-yuzup |
f48ae3ebb386b40ba1244dfff62c7e97ce48decf | 1,699 | cpp | C++ | Deitel/Chapter20/examples/20.13/fig10_14.cpp | SebastianTirado/Cpp-Learning-Archive | fb83379d0cc3f9b2390cef00119464ec946753f4 | [
"MIT"
] | 19 | 2019-09-15T12:23:51.000Z | 2020-06-18T08:31:26.000Z | Deitel/Chapter20/examples/20.13/fig10_14.cpp | eirichan/CppLearingArchive | 07a4baf63f0765d41eb0cc6d32a4c9d2ae1d5bac | [
"MIT"
] | 15 | 2021-12-07T06:46:03.000Z | 2022-01-31T07:55:32.000Z | Deitel/Chapter20/examples/20.13/fig10_14.cpp | eirichan/CppLearingArchive | 07a4baf63f0765d41eb0cc6d32a4c9d2ae1d5bac | [
"MIT"
] | 13 | 2019-06-29T02:58:27.000Z | 2020-05-07T08:52:22.000Z | /*
* =====================================================================================
*
* Filename: fig10_14.cpp
*
* Description: Fig. 20.14 - Template Stack class test program.
*
* Version: 1.0
* Created: 14/03/17 12:49:35
* Revision: none
* Compiler: g++
*
* ... | 26.138462 | 88 | 0.52266 | SebastianTirado |
f48b9b6ab4a64a9143c75f9646cbbda8dd78dd1b | 5,060 | cc | C++ | ns-allinone-2.35/ns-2.35/diffusion3/ns/diffagent.cc | nitishk017/ns2project | f037b796ff10300ffe0422580be5855c37d0b140 | [
"MIT"
] | 1 | 2020-05-29T13:04:42.000Z | 2020-05-29T13:04:42.000Z | ns-allinone-2.35/ns-2.35/diffusion3/ns/diffagent.cc | nitishk017/ns2project | f037b796ff10300ffe0422580be5855c37d0b140 | [
"MIT"
] | 1 | 2019-01-20T17:35:23.000Z | 2019-01-22T21:41:38.000Z | ns-allinone-2.35/ns-2.35/diffusion3/ns/diffagent.cc | nitishk017/ns2project | f037b796ff10300ffe0422580be5855c37d0b140 | [
"MIT"
] | 1 | 2021-09-29T16:06:57.000Z | 2021-09-29T16:06:57.000Z |
/*
* Copyright (C) 2004-2005 by the University of Southern California
* $Id: diffagent.cc,v 1.13 2005/09/13 20:47:34 johnh Exp $
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License,
* version 2, as published by the Free Software Foundati... | 27.5 | 136 | 0.692688 | nitishk017 |
f48eb52bb436c3babe0ca4c8d6166633ce62db2f | 14,544 | cpp | C++ | Assigment1/Game/Source/Map.cpp | Xavierlm11/Assignment1 | 78e3004c63923ec15883a22c754e1f403fa5c6cd | [
"MIT"
] | 1 | 2021-12-11T22:51:20.000Z | 2021-12-11T22:51:20.000Z | Assigment1/Game/Source/Map.cpp | Xavierlm11/Assignment1 | 78e3004c63923ec15883a22c754e1f403fa5c6cd | [
"MIT"
] | null | null | null | Assigment1/Game/Source/Map.cpp | Xavierlm11/Assignment1 | 78e3004c63923ec15883a22c754e1f403fa5c6cd | [
"MIT"
] | null | null | null |
#include "App.h"
#include "Render.h"
#include "Textures.h"
#include "Scene.h"
#include "Map.h"
#include "player.h"
#include "ModuleCollisions.h"
#include "Defs.h"
#include "Log.h"
#include <math.h>
Map::Map( ) : Module(), mapLoaded(false)
{
name.Create("map");
}
// Destructor
Map::~Map()
{}
int Properties::G... | 21.078261 | 151 | 0.616268 | Xavierlm11 |
f48eee4acd370f82a019a0a8609ad0b54bfb6057 | 2,286 | hh | C++ | defolib/orient.hh | hanwen/artisjokke | 608d76c5fad74ee4214162044c7ea3b781571e44 | [
"MIT"
] | 5 | 2015-06-06T02:25:02.000Z | 2021-06-18T09:49:56.000Z | defolib/orient.hh | hanwen/artisjokke | 608d76c5fad74ee4214162044c7ea3b781571e44 | [
"MIT"
] | null | null | null | defolib/orient.hh | hanwen/artisjokke | 608d76c5fad74ee4214162044c7ea3b781571e44 | [
"MIT"
] | 2 | 2015-06-05T12:44:25.000Z | 2015-10-28T09:27:59.000Z |
#ifndef PREDICATE_H
#define PREDICATE_H
/* On some machines, the exact arithmetic routines might be defeated by the */
/* use of internal extended precision floating-point registers. Sometimes */
/* this problem can be fixed by defining certain values to be volatile, */
/* thus forcing them to be stored to... | 26.275862 | 101 | 0.657043 | hanwen |
f48fb6f2b2f0d9c50bdfd910170e3b5499e37a9c | 12,483 | cxx | C++ | test/ese/src/devlibtest/stat/statunit/statbasic.cxx | ScriptBox99/Extensible-Storage-Engine | 3bcf428c8a041733043e18fd9ae55cffeba307b2 | [
"MIT"
] | 803 | 2021-01-30T02:25:26.000Z | 2022-03-23T15:50:48.000Z | test/ese/src/devlibtest/stat/statunit/statbasic.cxx | ScriptBox99/Extensible-Storage-Engine | 3bcf428c8a041733043e18fd9ae55cffeba307b2 | [
"MIT"
] | 10 | 2021-01-30T23:45:49.000Z | 2021-07-06T22:03:58.000Z | test/ese/src/devlibtest/stat/statunit/statbasic.cxx | ScriptBox99/Extensible-Storage-Engine | 3bcf428c8a041733043e18fd9ae55cffeba307b2 | [
"MIT"
] | 49 | 2021-01-30T11:04:35.000Z | 2022-03-24T11:25:10.000Z | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include "statunittest.hxx"
// ================================================================
class StatBasicTest : public UNITTEST
// ================================================================
{
private:
static StatBasic... | 37.151786 | 141 | 0.555475 | ScriptBox99 |
f4909b1bbdabdede884ff53b33e9363f09da4eb2 | 151 | cpp | C++ | SingleSource/Regression/C++/BuiltinTypeInfo.cpp | roguedream/llvm-test-suite | 48b3213a211d2ae86da8834e8b7322778dd605bf | [
"Apache-2.0"
] | null | null | null | SingleSource/Regression/C++/BuiltinTypeInfo.cpp | roguedream/llvm-test-suite | 48b3213a211d2ae86da8834e8b7322778dd605bf | [
"Apache-2.0"
] | null | null | null | SingleSource/Regression/C++/BuiltinTypeInfo.cpp | roguedream/llvm-test-suite | 48b3213a211d2ae86da8834e8b7322778dd605bf | [
"Apache-2.0"
] | null | null | null | #include <typeinfo>
#include <cstdio>
int main() {
int iii = 0;
for(iii=0;iii<100;iii++){
printf("%d", typeid(int) == typeid(float));
}
}
| 15.1 | 45 | 0.562914 | roguedream |
f4920bbe684b4720b87f96aafcbcf164a10cfe10 | 1,106 | cpp | C++ | binarysearch.cpp | Jiwant/Searching-and-Sorting | 1cd58af99050bb3af1e6fdd7e729ed554269a370 | [
"MIT"
] | null | null | null | binarysearch.cpp | Jiwant/Searching-and-Sorting | 1cd58af99050bb3af1e6fdd7e729ed554269a370 | [
"MIT"
] | null | null | null | binarysearch.cpp | Jiwant/Searching-and-Sorting | 1cd58af99050bb3af1e6fdd7e729ed554269a370 | [
"MIT"
] | null | null | null | #include<iostream>
using namespace std;
void swap(int *x,int *y)
{
int temp;
temp=*y;
*y=*x;
*x=temp;
}
class Arr
{
private:
int num;
int *arr;
public:
void getArr();
void dispArr();
int getnum()
{
return num;
}
void bsearch(int,int,int);
~Arr()
{
delete []arr;
}
};
void Arr::getArr()
{
cout<... | 13.166667 | 53 | 0.577758 | Jiwant |
f496d3b3f1eb351311561d3720d550e4e7514230 | 487 | cpp | C++ | src/processor/simple-accumulator-machine/instructions/Jez.cpp | Hiro-Onozawa/Object-oriented-Virtual-Machine | 4fc371db12c124fe28140ca9c72c10f3c81686ee | [
"MIT"
] | 2 | 2019-11-02T17:15:19.000Z | 2019-11-15T15:19:48.000Z | src/processor/simple-accumulator-machine/instructions/Jez.cpp | Hiro-Onozawa/Object-oriented-Virtual-Machine | 4fc371db12c124fe28140ca9c72c10f3c81686ee | [
"MIT"
] | null | null | null | src/processor/simple-accumulator-machine/instructions/Jez.cpp | Hiro-Onozawa/Object-oriented-Virtual-Machine | 4fc371db12c124fe28140ca9c72c10f3c81686ee | [
"MIT"
] | null | null | null | #include "../../../core/common.h"
#include <sstream>
#include "../instructions/common.h"
#include "../instructions/Jez.h"
namespace SimpleAccumulator {
Jez::Jez(OVM::Register pc)
: pc(pc)
{
}
OVM::Assembly Jez::toAssembly() const
{
std::ostringstream oss;
oss << "JEZ " << pc;
return OVM::Assembly(oss.str... | 18.730769 | 60 | 0.634497 | Hiro-Onozawa |
f4a1064dbace1c00db82e5731d8ac2ca7f8332e6 | 4,372 | cpp | C++ | src/mongo/bson/bson_bm.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/mongo/bson/bson_bm.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/mongo/bson/bson_bm.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2018-present MongoDB, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the Server Side Public License, version 1,
* as published by MongoDB, Inc.
*
* This program is distributed in the hope that it will be useful,
* but W... | 35.836066 | 93 | 0.623056 | benety |
f4a35ca3b149b4b60375e5c984cbb50c03bb48ef | 4,044 | cpp | C++ | Lab2/src/lab2_main.cpp | DavidePistilli173/Computer-Vision | 4066a99f6f6fdc941829d3cd3015565ec0046a2f | [
"Apache-2.0"
] | null | null | null | Lab2/src/lab2_main.cpp | DavidePistilli173/Computer-Vision | 4066a99f6f6fdc941829d3cd3015565ec0046a2f | [
"Apache-2.0"
] | null | null | null | Lab2/src/lab2_main.cpp | DavidePistilli173/Computer-Vision | 4066a99f6f6fdc941829d3cd3015565ec0046a2f | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <opencv2/core.hpp>
#include <opencv2/core/utils/filesystem.hpp>
#include <opencv2/imgcodecs.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/highgui.hpp>
#include <sstream>
#include <string_view>
#include "CameraCalibrator.hpp"
/* List of command line arguments. */
enum class Argumen... | 31.348837 | 118 | 0.646142 | DavidePistilli173 |
f4a600217b547a54f59025a50f015ba081644070 | 3,795 | cpp | C++ | OutputClasses/GetterSetterClass.cpp | satyajiit/IPL-Organiser-Simulator | 9135cd5e9a5b2f458769fcaf763e22eee23cfe07 | [
"MIT"
] | null | null | null | OutputClasses/GetterSetterClass.cpp | satyajiit/IPL-Organiser-Simulator | 9135cd5e9a5b2f458769fcaf763e22eee23cfe07 | [
"MIT"
] | null | null | null | OutputClasses/GetterSetterClass.cpp | satyajiit/IPL-Organiser-Simulator | 9135cd5e9a5b2f458769fcaf763e22eee23cfe07 | [
"MIT"
] | null | null | null | #include "GetterSetterClass.h"
#include "../ExternVariables/global.h"
#include <iostream>
#include <fstream>
#include <string.h>
#include <dirent.h>
#include <bits.h>
#include <limits>
#include "../Modules/ManageClass.h"
#include "../Modules/AccessInfoClass.h"
#include "../Modules/ScheduleGenerator.h"
#include "../Modu... | 17.900943 | 67 | 0.609486 | satyajiit |
f4a7c6051576f3b78f6612664301f83b3eef0a3e | 127 | cpp | C++ | src/Config.cpp | pigatron-industries/arduino_eurorack_template | 24cf48f14720ee03d5d652802421cb9dcf5fa6d0 | [
"Unlicense"
] | null | null | null | src/Config.cpp | pigatron-industries/arduino_eurorack_template | 24cf48f14720ee03d5d652802421cb9dcf5fa6d0 | [
"Unlicense"
] | null | null | null | src/Config.cpp | pigatron-industries/arduino_eurorack_template | 24cf48f14720ee03d5d652802421cb9dcf5fa6d0 | [
"Unlicense"
] | null | null | null | #include "Config.h"
#include <EEPROM.h>
#include <Arduino.h>
Config Config::instance;
void Config::load() {
//TODO
}
| 12.7 | 24 | 0.637795 | pigatron-industries |
f4ab9a06eb7ea942acf3e91017690746bfed9b05 | 2,327 | hh | C++ | src/third_party/red_tamarin_stable/tamarin-cental/halfmoon/generated/ShapeAdapter_cases.hh | michaelpdu/flash_feature_extraction | 29226a4c0e81240fd5c53fd9c80b0f6b0f5a8f95 | [
"Apache-2.0"
] | 1 | 2018-11-25T01:05:03.000Z | 2018-11-25T01:05:03.000Z | avmplus/halfmoon/generated/ShapeAdapter_cases.hh | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | null | null | null | avmplus/halfmoon/generated/ShapeAdapter_cases.hh | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | 1 | 2019-04-12T04:18:27.000Z | 2019-04-12T04:18:27.000Z | ///
/// generated by templates.py -- do not edit
///
case GOTOINSTR_SHAPE:
return a->do_GotoInstr(cast<GotoInstr>(instr));
case ARMINSTR_SHAPE:
return a->do_ArmInstr(cast<ArmInstr>(instr));
case CATCHBLOCKINSTR_SHAPE:
return a->do_CatchBlockInstr(cast<CatchBlockInstr>(instr));
case LABELINSTR_SHAPE:
return... | 36.936508 | 71 | 0.778255 | michaelpdu |
f4aba49c49dbbcc81da9e20edfcac034b5762561 | 26,597 | cc | C++ | 1-Simulation/source/src/MyPhysListEM.cc | surfound/CXPD | 788a125048cc3d79244a0562d94263e48ca22a6a | [
"Apache-2.0"
] | 1 | 2019-08-01T03:48:26.000Z | 2019-08-01T03:48:26.000Z | 1-Simulation/source/src/MyPhysListEM.cc | surfound/CXPD | 788a125048cc3d79244a0562d94263e48ca22a6a | [
"Apache-2.0"
] | null | null | null | 1-Simulation/source/src/MyPhysListEM.cc | surfound/CXPD | 788a125048cc3d79244a0562d94263e48ca22a6a | [
"Apache-2.0"
] | null | null | null | #include "G4ParticleDefinition.hh"
#include "G4ProcessManager.hh"
#include "G4PhysicsListHelper.hh"
// gamma processes
#include "G4PhotoElectricEffect.hh"
#include "G4PEEffectFluoModel.hh"
#include "G4LivermorePhotoElectricModel.hh"
#include "G4PenelopePhotoElectricModel.hh"
//#
#include "G4PolarizedPhotoElectricEffec... | 38.546377 | 148 | 0.618867 | surfound |
f4b27d5b0ec28b0d3749709020aa6456c1f5c9ab | 2,501 | cpp | C++ | src/Chapter_8_Recursion_and_Dynamic_Programming/PowerSet.cpp | Daria2002/ctci | bc606f57546509ad6685e7e476c9fd643c5fc700 | [
"MIT"
] | 2 | 2020-05-26T11:51:01.000Z | 2020-07-20T12:45:17.000Z | src/Chapter_8_Recursion_and_Dynamic_Programming/PowerSet.cpp | Daria2002/ctci | bc606f57546509ad6685e7e476c9fd643c5fc700 | [
"MIT"
] | null | null | null | src/Chapter_8_Recursion_and_Dynamic_Programming/PowerSet.cpp | Daria2002/ctci | bc606f57546509ad6685e7e476c9fd643c5fc700 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
std::vector<std::vector<char>> power_set_recursion(std::vector<char> set, int iteration_index) {
std::vector<std::vector<char>> subsets;
if(iteration_index == set.size()) {
std::vector<char> v; // empty subset
subsets.push_back(v);
return subsets;
... | 29.77381 | 112 | 0.588964 | Daria2002 |
f4bb387419662865fae5e81e3c2fef8d02c32633 | 725 | cxx | C++ | Libraries/VtkVgSceneGraph/vtkVgTerrain.cxx | PinkDiamond1/vivia | 70f7fbed4b33b14d34de35c69b2b14df3514d720 | [
"BSD-3-Clause"
] | 14 | 2016-09-16T12:33:05.000Z | 2021-02-14T02:16:33.000Z | Libraries/VtkVgSceneGraph/vtkVgTerrain.cxx | PinkDiamond1/vivia | 70f7fbed4b33b14d34de35c69b2b14df3514d720 | [
"BSD-3-Clause"
] | 44 | 2016-10-06T22:12:57.000Z | 2021-01-07T19:39:07.000Z | Libraries/VtkVgSceneGraph/vtkVgTerrain.cxx | PinkDiamond1/vivia | 70f7fbed4b33b14d34de35c69b2b14df3514d720 | [
"BSD-3-Clause"
] | 17 | 2015-06-30T13:41:47.000Z | 2021-11-22T17:38:48.000Z | // This file is part of ViViA, and is distributed under the
// OSI-approved BSD 3-Clause License. See top-level LICENSE file or
// https://github.com/Kitware/vivia/blob/master/LICENSE for details.
#include "vtkVgTerrain.h"
// VTK includes.
#include <vtkObjectFactory.h>
vtkStandardNewMacro(vtkVgTerrain);
//---------... | 26.851852 | 79 | 0.502069 | PinkDiamond1 |
f4bb938368c44124cc42be41e439f74a33a7caf0 | 277 | cpp | C++ | Modbus Poll/CVcWall.cpp | DHSERVICE56/T3000_Building_Automation_System | 77bd47a356211b1c8ad09fb8d785e9f880d3cd26 | [
"MIT"
] | 1 | 2019-12-11T05:14:08.000Z | 2019-12-11T05:14:08.000Z | Modbus Poll/CVcWall.cpp | DHSERVICE56/T3000_Building_Automation_System | 77bd47a356211b1c8ad09fb8d785e9f880d3cd26 | [
"MIT"
] | null | null | null | Modbus Poll/CVcWall.cpp | DHSERVICE56/T3000_Building_Automation_System | 77bd47a356211b1c8ad09fb8d785e9f880d3cd26 | [
"MIT"
] | 1 | 2021-05-31T18:56:31.000Z | 2021-05-31T18:56:31.000Z | // CVcWall.cpp : Definition of ActiveX Control wrapper class(es) created by Microsoft Visual C++
#include "stdafx.h"
#include "CVcWall.h"
/////////////////////////////////////////////////////////////////////////////
// CVcWall
// CVcWall properties
// CVcWall operations
| 21.307692 | 97 | 0.523466 | DHSERVICE56 |
f4bc9099f7ad41b4a3e926dcb6f8eef4a048d62a | 25 | cpp | C++ | src/syntax/AST/BoolLiteral.cpp | andraantariksa/sunda-lang | df34065507113b13dc8acdd57aa458d39c61c396 | [
"Apache-2.0"
] | 4 | 2020-08-19T09:43:27.000Z | 2021-06-20T23:30:47.000Z | src/syntax/AST/BoolLiteral.cpp | andraantariksa/sunda-lang | df34065507113b13dc8acdd57aa458d39c61c396 | [
"Apache-2.0"
] | 2 | 2020-06-17T06:59:59.000Z | 2020-06-29T12:08:58.000Z | src/syntax/AST/BoolLiteral.cpp | andraantariksa/sunda-lang | df34065507113b13dc8acdd57aa458d39c61c396 | [
"Apache-2.0"
] | 1 | 2020-08-19T09:48:42.000Z | 2020-08-19T09:48:42.000Z | #include "BoolLiteral.h"
| 12.5 | 24 | 0.76 | andraantariksa |
f4bfe147969eb3d294b88d278ff7ceeda3700b5d | 11,909 | cpp | C++ | src/main.cpp | kaorusha/CarND-Path-Planning-Project | 62ec9d76840a18702b70d2de3b8e7a91be88d471 | [
"MIT"
] | null | null | null | src/main.cpp | kaorusha/CarND-Path-Planning-Project | 62ec9d76840a18702b70d2de3b8e7a91be88d471 | [
"MIT"
] | null | null | null | src/main.cpp | kaorusha/CarND-Path-Planning-Project | 62ec9d76840a18702b70d2de3b8e7a91be88d471 | [
"MIT"
] | null | null | null | #include <uWS/uWS.h>
#include <fstream>
#include <iostream>
#include <string>
#include <vector>
#include "Eigen-3.3/Eigen/Core"
#include "Eigen-3.3/Eigen/QR"
#include "helpers.h"
#include "json.hpp"
#include "spline.h"
#include "vehicle.h"
// for convenience
using nlohmann::json;
using std::string;
... | 36.984472 | 81 | 0.522966 | kaorusha |
f4c0a258944c9dafc6f806128443299bd2717793 | 4,971 | cpp | C++ | cppn-neat/NE/HyperNEAT/NEAT/src/NEAT_ModularNetwork.cpp | GiorgosMethe/Soft-Robots-Novelty-Search-Public | f493923e7c16a3cedc018be22ab6373046641001 | [
"MIT"
] | null | null | null | cppn-neat/NE/HyperNEAT/NEAT/src/NEAT_ModularNetwork.cpp | GiorgosMethe/Soft-Robots-Novelty-Search-Public | f493923e7c16a3cedc018be22ab6373046641001 | [
"MIT"
] | null | null | null | cppn-neat/NE/HyperNEAT/NEAT/src/NEAT_ModularNetwork.cpp | GiorgosMethe/Soft-Robots-Novelty-Search-Public | f493923e7c16a3cedc018be22ab6373046641001 | [
"MIT"
] | null | null | null | #include "NEAT_Defines.h"
#include "NEAT_ModularNetwork.h"
#include "NEAT_Random.h"
#include "NEAT_GeneticIndividual.h"
#include "NEAT_Globals.h"
namespace NEAT
{
ModularNetwork::ModularNetwork(vector<NetworkNode *> &_nodes,vector<NetworkLink *> &_links)
:
Network<double>()
{
for (int a=0;a<(int)_nod... | 23.784689 | 102 | 0.477369 | GiorgosMethe |
f4c52cda1cc51706b3cba3fa3f83c7bc963a6093 | 2,901 | cpp | C++ | games/XenDemo/Column.cpp | odayibasi/swengine | ef07b7c9125d01596837a423a9f3dcbced1f5aa7 | [
"Zlib",
"MIT"
] | 3 | 2021-03-01T20:41:13.000Z | 2021-07-10T13:45:47.000Z | games/XenDemo/Column.cpp | odayibasi/swengine | ef07b7c9125d01596837a423a9f3dcbced1f5aa7 | [
"Zlib",
"MIT"
] | null | null | null | games/XenDemo/Column.cpp | odayibasi/swengine | ef07b7c9125d01596837a423a9f3dcbced1f5aa7 | [
"Zlib",
"MIT"
] | null | null | null | #include "../../include/SWEngine.h"
typedef struct xenColumnPart{
int dispID;
swRect target;
swRect *source;
};
int iLayerColumnPart=8;
bool bVisibleColumnPart=true;
extern int columnPartID;
extern int columnBlockID;
swRect halfColumnSource={0,0,1,0.5};
//-----------------------------------------------------... | 31.879121 | 108 | 0.60324 | odayibasi |
f4c542c90d82a345a64a34812e1ff732da076ba6 | 553 | cpp | C++ | source/data/map/RadiationTrigger.cpp | atkurtul/RadixEngine | 0eb1c176a25aa9430f54d5a20ce5749360c51381 | [
"Zlib"
] | 163 | 2016-08-28T23:24:05.000Z | 2022-03-31T04:51:51.000Z | source/data/map/RadiationTrigger.cpp | atkurtul/RadixEngine | 0eb1c176a25aa9430f54d5a20ce5749360c51381 | [
"Zlib"
] | 144 | 2016-09-10T08:40:06.000Z | 2020-12-03T17:20:03.000Z | source/data/map/RadiationTrigger.cpp | atkurtul/RadixEngine | 0eb1c176a25aa9430f54d5a20ce5749360c51381 | [
"Zlib"
] | 88 | 2016-02-22T08:34:49.000Z | 2022-03-05T12:29:19.000Z | #include <radix/data/map/RadiationTrigger.hpp>
#include <radix/entities/Player.hpp>
#include <radix/entities/Trigger.hpp>
#include <radix/core/state/GameStateManager.hpp>
#include <radix/World.hpp>
using namespace std;
namespace radix {
const std::string RadiationTrigger::TYPE = "radiation";
void RadiationTrigger:... | 25.136364 | 69 | 0.739602 | atkurtul |
f4c6e934f12a740e7abb4177f84ff907cb0502ce | 3,087 | cc | C++ | cinn/optim/compute_inline_expand.cc | edithgogo/CINN | bed13f4752d80d01a3e1d96a4cc4f5aa56b1e292 | [
"Apache-2.0"
] | 1 | 2019-10-23T09:16:23.000Z | 2019-10-23T09:16:23.000Z | cinn/optim/compute_inline_expand.cc | edithgogo/CINN | bed13f4752d80d01a3e1d96a4cc4f5aa56b1e292 | [
"Apache-2.0"
] | null | null | null | cinn/optim/compute_inline_expand.cc | edithgogo/CINN | bed13f4752d80d01a3e1d96a4cc4f5aa56b1e292 | [
"Apache-2.0"
] | null | null | null | #include "cinn/optim/compute_inline_expand.h"
#include "cinn/common/graph_utils.h"
#include "cinn/ir/ir_mutator.h"
namespace cinn {
namespace optim {
namespace {
/*
* Replace a tensor(marked as compute_inline) to the expanded expression.
*/
struct TensorInlineExpandMutator : public ir::IRMutator<> {
const std::... | 31.5 | 119 | 0.667315 | edithgogo |
f4c7101d0731ceeab97c6b71417dcdce3e4579e2 | 1,703 | hpp | C++ | vendor/bit7z/include/bit7z/include/callback.hpp | moonantonio/LinaEngine | fe5a91a85c64dd0719656eb38e2fb37037bacfc1 | [
"MIT"
] | 16 | 2021-07-15T04:00:38.000Z | 2022-02-27T02:37:23.000Z | vendor/bit7z/include/bit7z/include/callback.hpp | moonantonio/LinaEngine | fe5a91a85c64dd0719656eb38e2fb37037bacfc1 | [
"MIT"
] | 15 | 2018-10-02T22:14:17.000Z | 2018-10-12T08:01:36.000Z | vendor/bit7z/include/bit7z/include/callback.hpp | moonantonio/LinaEngine | fe5a91a85c64dd0719656eb38e2fb37037bacfc1 | [
"MIT"
] | 16 | 2021-07-18T02:40:12.000Z | 2022-02-09T05:25:07.000Z | /*
* bit7z - A C++ static library to interface with the 7-zip DLLs.
* Copyright (c) 2014-2019 Riccardo Ostani - All Rights Reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; eith... | 29.877193 | 109 | 0.705813 | moonantonio |
f4c798bd11750c119e37bf1c011a358b8b96c268 | 8,162 | cpp | C++ | WrecklessEngine/D3D11RenderContext.cpp | ThreadedStream/WrecklessEngine | 735ac601914c2445b8eef72a14ec0fcd4d0d12d2 | [
"MIT"
] | 9 | 2021-02-07T21:33:41.000Z | 2022-03-20T18:48:06.000Z | WrecklessEngine/D3D11RenderContext.cpp | ThreadedStream/WrecklessEngine | 735ac601914c2445b8eef72a14ec0fcd4d0d12d2 | [
"MIT"
] | null | null | null | WrecklessEngine/D3D11RenderContext.cpp | ThreadedStream/WrecklessEngine | 735ac601914c2445b8eef72a14ec0fcd4d0d12d2 | [
"MIT"
] | 4 | 2021-02-11T15:05:35.000Z | 2022-02-20T15:26:35.000Z | #include "D3D11RenderContext.h"
namespace Graphics
{
D3D11RenderContext::D3D11RenderContext(Microsoft::WRL::ComPtr<ID3D11DeviceContext> pDeviceContext)
: m_pDeviceContext(pDeviceContext)
{
}
void D3D11RenderContext::SetOutputTarget(Ref<IRenderTarget> render_target, Ref<IDepthStencilView> depth_stencil)
{
ID3D... | 41.015075 | 177 | 0.789757 | ThreadedStream |
f4cbb3658830a07c9e9ce531a648b34b36d47428 | 1,592 | hh | C++ | cxx/satellite/include/PhysList.hh | Zelenyy/phd-code | d5b8bfefd2418a915dde89f7da2cb6683f438556 | [
"MIT"
] | null | null | null | cxx/satellite/include/PhysList.hh | Zelenyy/phd-code | d5b8bfefd2418a915dde89f7da2cb6683f438556 | [
"MIT"
] | null | null | null | cxx/satellite/include/PhysList.hh | Zelenyy/phd-code | d5b8bfefd2418a915dde89f7da2cb6683f438556 | [
"MIT"
] | null | null | null | //
// Created by zelenyy on 18.05.2021.
//
#ifndef PHD_CODE_PHYSLIST_HH
#define PHD_CODE_PHYSLIST_HH
#include <CLHEP/Units/SystemOfUnits.h>
#include "globals.hh"
#include "G4ios.hh"
#include "G4ProcessManager.hh"
#include "G4ProcessVector.hh"
#include "G4ParticleTypes.hh"
#include "G4ParticleTable.hh"
#include "G4Ma... | 24.492308 | 64 | 0.699749 | Zelenyy |
f4cc19649fa414e3581930122861545c4d530d6c | 1,068 | cpp | C++ | 09.Manipulation/06.insert.cpp | ClaudioDaffra/emjq | c3e6083be1238c23a2e15a63e402659af34b2dfe | [
"MIT"
] | 1 | 2018-03-03T18:07:57.000Z | 2018-03-03T18:07:57.000Z | 09.Manipulation/06.insert.cpp | ClaudioDaffra/emjq | c3e6083be1238c23a2e15a63e402659af34b2dfe | [
"MIT"
] | null | null | null | 09.Manipulation/06.insert.cpp | ClaudioDaffra/emjq | c3e6083be1238c23a2e15a63e402659af34b2dfe | [
"MIT"
] | null | null | null |
#include "../lib/emjQuery.hpp"
// emcc -O3 06.insert.cpp -o main.js -std=c++11 -s NO_EXIT_RUNTIME=1 -s EMULATE_FUNCTION_POINTER_CASTS=1 -s AGGRESSIVE_VARIABLE_ELIMINATION=1
int main( void )
{
$( "<p>XYZ</p>" ).insertAfter( _('.inner') ).insertBefore( _('.inner') );
type::pointer p = $.poi... | 23.733333 | 143 | 0.493446 | ClaudioDaffra |
f4ce26e808044b56fe41c0f5834f18ee915c4fd1 | 668 | cc | C++ | atcoder/abc037/B/B.cc | punkieL/proCon | 7e994d67e5efdf7ac0b1bee5e0b19b317f07e8af | [
"MIT"
] | 1 | 2015-10-06T16:27:42.000Z | 2015-10-06T16:27:42.000Z | atcoder/abc037/B/B.cc | punkieL/proCon | 7e994d67e5efdf7ac0b1bee5e0b19b317f07e8af | [
"MIT"
] | 1 | 2016-03-02T16:18:11.000Z | 2016-03-02T16:18:11.000Z | atcoder/abc037/B/B.cc | punkieL/proCon | 7e994d67e5efdf7ac0b1bee5e0b19b317f07e8af | [
"MIT"
] | null | null | null | /*c++11*/
#include <cstdio>
#include <iostream>
#include <algorithm>
#include <vector>
#include <map>
#include <set>
#include <string>
#include <cstring>
#include <cmath>
#include <climits>
using namespace std;
int main(int args, char *argc[]){
int n,q;
cin>>n>>q;
vector<int> table;
table.resize(n+1,0);
f... | 16.292683 | 54 | 0.555389 | punkieL |
f4cff1b337bc158bc8f28dffe79f4cb173fc452e | 477 | cpp | C++ | LeetCode/1436. Destination City/solution.cpp | InnoFang/oh-my-algorithms | f559dba371ce725a926725ad28d5e1c2facd0ab2 | [
"Apache-2.0"
] | 19 | 2018-08-26T03:10:58.000Z | 2022-03-07T18:12:52.000Z | LeetCode/1436. Destination City/solution.cpp | InnoFang/Algorithm-Library | 1896b9d8b1fa4cd73879aaecf97bc32d13ae0169 | [
"Apache-2.0"
] | null | null | null | LeetCode/1436. Destination City/solution.cpp | InnoFang/Algorithm-Library | 1896b9d8b1fa4cd73879aaecf97bc32d13ae0169 | [
"Apache-2.0"
] | 6 | 2020-03-16T23:00:06.000Z | 2022-01-13T07:02:08.000Z | /**
* 103 / 103 test cases passed.
* Runtime: 8 ms
* Memory Usage: 10.4 MB
*/
class Solution {
public:
string destCity(vector<vector<string>>& paths) {
unordered_map<string, int> out;
for (auto& path: paths) {
out[path[0]] += 1;
}
string ans;
for (auto& path:... | 20.73913 | 52 | 0.450734 | InnoFang |
f4d00b630ef8d14109a56a36e7dfb6c519451f32 | 2,680 | cc | C++ | coela_core/src/unit_tests/cartesian_coord_tests.cc | timstaley/coelacanth | d8adc49bac5dac54fdce600ea0260c526ce361af | [
"BSD-2-Clause"
] | 1 | 2020-10-22T03:08:45.000Z | 2020-10-22T03:08:45.000Z | coela_core/src/unit_tests/cartesian_coord_tests.cc | timstaley/coelacanth | d8adc49bac5dac54fdce600ea0260c526ce361af | [
"BSD-2-Clause"
] | null | null | null | coela_core/src/unit_tests/cartesian_coord_tests.cc | timstaley/coelacanth | d8adc49bac5dac54fdce600ea0260c526ce361af | [
"BSD-2-Clause"
] | null | null | null | #include <UnitTest++/UnitTest++.h>
#include "../cartesian_coords.h"
#include <iostream>
#include <sstream>
#include <cmath>
using namespace coela;
using namespace std;
SUITE(position_class)
{
TEST(Notify_Suite_Has_Been_Run) {
cout << "*** \"position\" unit tests running ***" <<endl;
}
// TEST(not... | 26.019417 | 90 | 0.627239 | timstaley |
f4d107afac532281c53cc2a7262d8ce69fc8b77a | 1,454 | cpp | C++ | SVIEngine/jni/SVI/NativeInterface/nativeTransitionAnimation.cpp | Samsung/SVIEngine | 36964f5b296317a3b7b2825137fef921a8c94973 | [
"Apache-2.0"
] | 27 | 2015-04-24T07:14:55.000Z | 2020-01-24T16:16:37.000Z | SVIEngine/jni/SVI/NativeInterface/nativeTransitionAnimation.cpp | Lousnote5/SVIEngine | 36964f5b296317a3b7b2825137fef921a8c94973 | [
"Apache-2.0"
] | null | null | null | SVIEngine/jni/SVI/NativeInterface/nativeTransitionAnimation.cpp | Lousnote5/SVIEngine | 36964f5b296317a3b7b2825137fef921a8c94973 | [
"Apache-2.0"
] | 15 | 2015-12-08T14:46:19.000Z | 2020-01-21T19:26:41.000Z | #include "nativeTransitionAnimation.h"
#include "../SVICores.h"
#include "../SVIDefines.h"
#include "../Animation/SVITransitionAnimation.h"
#include "../Animation/SVIAnimationListenerProxy.h"
using namespace SVI;
static const SVIBool DEBUG = SVIFALSE;
JNIEXPORT jint JNICALL Java_com_github_sviengine_animation_SVITra... | 34.619048 | 137 | 0.802613 | Samsung |
f4d4bac998707f6d498ebdc7967a080b51f125c1 | 584 | cpp | C++ | CodeForces/misc/Little Elephant and Chess.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 36 | 2019-12-27T08:23:08.000Z | 2022-01-24T20:35:47.000Z | CodeForces/misc/Little Elephant and Chess.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 10 | 2019-11-13T02:55:18.000Z | 2021-10-13T23:28:09.000Z | CodeForces/misc/Little Elephant and Chess.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 53 | 2020-08-15T11:08:40.000Z | 2021-10-09T15:51:38.000Z | #include<stdio.h>
int main()
{
int k=1,i,j,c1=0,c2=0;
char a[9][9];
for(i=0;i<8;i++)
{
for(j=0;j<8;j++)
{
scanf("%1s",&a[i][j]);
if(a[i][j]=='B')
c1++;
else if(a[i][j]=='W')
c2++;
}
}
for(i=0;i<8;i++)
... | 16.685714 | 34 | 0.270548 | Ashwanigupta9125 |
f4ddd227c4c864d57f88c138871ddb4b8bda5b31 | 1,294 | hpp | C++ | raytracer/Mesh.hpp | kevin-ye/raytracer | 246e986f7c71cd31ce988b61e54ac9b27cede076 | [
"MIT"
] | null | null | null | raytracer/Mesh.hpp | kevin-ye/raytracer | 246e986f7c71cd31ce988b61e54ac9b27cede076 | [
"MIT"
] | null | null | null | raytracer/Mesh.hpp | kevin-ye/raytracer | 246e986f7c71cd31ce988b61e54ac9b27cede076 | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include <iosfwd>
#include <string>
#include <glm/glm.hpp>
#include "Primitive.hpp"
#include "IntersectedPrimitiveInfo.hpp"
struct Triangle
{
size_t v1;
size_t v2;
size_t v3;
Triangle( size_t pv1, size_t pv2, size_t pv3 )
: v1( pv1 )
, v2( pv2 )
, v3( pv3 )
{}
};
// A pol... | 22.701754 | 114 | 0.665379 | kevin-ye |
f4e482364338ac0c81846e4900c1756357ef9789 | 8,999 | cpp | C++ | topologies/src/OBJFUN/topoptobjfun.cpp | USArmyResearchLab/ARL_Topologies | 2c0d3d806b34171c824705b3e1a00e12460c0930 | [
"CC0-1.0"
] | 19 | 2017-08-28T13:05:24.000Z | 2021-12-10T00:19:16.000Z | topologies/src/OBJFUN/topoptobjfun.cpp | USArmyResearchLab/ARL_Topologies | 2c0d3d806b34171c824705b3e1a00e12460c0930 | [
"CC0-1.0"
] | null | null | null | topologies/src/OBJFUN/topoptobjfun.cpp | USArmyResearchLab/ARL_Topologies | 2c0d3d806b34171c824705b3e1a00e12460c0930 | [
"CC0-1.0"
] | 7 | 2018-07-09T12:10:06.000Z | 2021-09-25T18:57:41.000Z | /*
* ARL_Topologies - An extensible topology optimization program
*
* Written in 2017 by Raymond A. Wildman <raymond.a.wildman.civ@mail.mil>
* This project constitutes a work of the United States Government and is not
* subject to domestic copyright protection under 17 USC Sec. 105.
* Release authorized by the ... | 33.32963 | 151 | 0.659629 | USArmyResearchLab |
f4e937a51d426dcd6c9c13c0a1cd449a358d7ca3 | 1,114 | hpp | C++ | src/BayesObservation.hpp | Nolnocn/Bayesian-Inference | 76ee29171c6e3a4a69b752c1f68ae3fef2526f92 | [
"MIT"
] | 1 | 2021-07-07T02:45:55.000Z | 2021-07-07T02:45:55.000Z | src/BayesObservation.hpp | Nolnocn/Bayes-Classifier | 76ee29171c6e3a4a69b752c1f68ae3fef2526f92 | [
"MIT"
] | null | null | null | src/BayesObservation.hpp | Nolnocn/Bayes-Classifier | 76ee29171c6e3a4a69b752c1f68ae3fef2526f92 | [
"MIT"
] | null | null | null |
#ifndef BayesObservation_hpp
#define BayesObservation_hpp
#include <vector>
#include "BayesOutcomeDefs.h"
namespace Bayes
{
/*
* Data container class for values of each condition of a BayesDecider
* Used to keep track of data for a decision and store result in decider
*/
class BayesObservation
{
public:
... | 26.52381 | 87 | 0.748654 | Nolnocn |
f4ecfb8fb44c607dd59bc472156cbe7c79a5d4ff | 1,896 | cpp | C++ | leetcode/341. Flatten Nested List Iterator/s1.cpp | contacttoakhil/LeetCode-1 | 9bb9b5aa9ace836b86a752eb796b3dfcb21ee44c | [
"Fair"
] | 1 | 2021-02-09T11:38:51.000Z | 2021-02-09T11:38:51.000Z | leetcode/341. Flatten Nested List Iterator/s1.cpp | contacttoakhil/LeetCode-1 | 9bb9b5aa9ace836b86a752eb796b3dfcb21ee44c | [
"Fair"
] | null | null | null | leetcode/341. Flatten Nested List Iterator/s1.cpp | contacttoakhil/LeetCode-1 | 9bb9b5aa9ace836b86a752eb796b3dfcb21ee44c | [
"Fair"
] | null | null | null | /**
* // This is the interface that allows for creating nested lists.
* // You should not implement it, or speculate about its implementation
* class NestedInteger {
* public:
* // Return true if this NestedInteger holds a single integer, rather than a nested list.
* bool isInteger() const;
*
* //... | 31.081967 | 100 | 0.573312 | contacttoakhil |
f4ed9900f04bd6b7cc935e8e2ca27ea1dc88bb00 | 3,265 | hpp | C++ | hlsplaylist.hpp | samkusin/HLSLibrary | 45f80ddc9cc7a135bde8321cbc97810825091c77 | [
"0BSD"
] | 7 | 2018-03-10T21:51:35.000Z | 2021-09-09T15:41:12.000Z | hlsplaylist.hpp | samkusin/HLSLibrary | 45f80ddc9cc7a135bde8321cbc97810825091c77 | [
"0BSD"
] | 1 | 2019-03-03T18:32:33.000Z | 2019-03-03T18:32:33.000Z | hlsplaylist.hpp | samkusin/HLSLibrary | 45f80ddc9cc7a135bde8321cbc97810825091c77 | [
"0BSD"
] | 5 | 2016-03-12T22:13:01.000Z | 2021-02-28T15:51:16.000Z | /**
* @file hlsplaylist.hpp
* @brief Parsers and containers for HLS playlists.
*
* @copyright Copyright 2015 Samir Sinha. All rights reserved.
* @license This project is released under the ISC license. See LICENSE
* for the full text.
*/
#ifndef CINEK_AVLIB_HLSPLAYLIST_HPP
#def... | 21.912752 | 76 | 0.640735 | samkusin |
f4ee05ed414cc651e871b86c770c5c1c9ead9bc9 | 2,206 | cpp | C++ | OpenMP/linkedlist.cpp | Fernal73/LearnCpp | 100aa80e447fe7735d7f8217c2ec72ae32ed1c7f | [
"MIT"
] | null | null | null | OpenMP/linkedlist.cpp | Fernal73/LearnCpp | 100aa80e447fe7735d7f8217c2ec72ae32ed1c7f | [
"MIT"
] | null | null | null | OpenMP/linkedlist.cpp | Fernal73/LearnCpp | 100aa80e447fe7735d7f8217c2ec72ae32ed1c7f | [
"MIT"
] | null | null | null | #include <iostream>
#include <omp.h>
#include <zconf.h>
struct Node {
int data;
struct Node *next = NULL;
Node() {}
Node(int data) { this->data = data; }
Node(int data, Node *node) {
this->data = data;
this->next = node;
}
};
void processNode(Node *pNode);
struct Queue {
Node *head = NULL, *tai... | 22.282828 | 76 | 0.591568 | Fernal73 |
f4ee5e5f8247782d713c30c1a8b406312f860cd2 | 2,315 | cpp | C++ | modules/task_1/groshev_n_vec_close_values/vector_close_values.cpp | Stepakrap/pp_2021_autumn | 716803a14183172337d51712fb28fe8e86891a3d | [
"BSD-3-Clause"
] | 1 | 2021-12-09T17:20:25.000Z | 2021-12-09T17:20:25.000Z | modules/task_1/groshev_n_vec_close_values/vector_close_values.cpp | Stepakrap/pp_2021_autumn | 716803a14183172337d51712fb28fe8e86891a3d | [
"BSD-3-Clause"
] | null | null | null | modules/task_1/groshev_n_vec_close_values/vector_close_values.cpp | Stepakrap/pp_2021_autumn | 716803a14183172337d51712fb28fe8e86891a3d | [
"BSD-3-Clause"
] | 3 | 2022-02-23T14:20:50.000Z | 2022-03-30T09:00:02.000Z | // Copyright 2021 Groshev Nickolay
#include <mpi.h>
#include <random>
#include <vector>
#include <cmath>
#include <algorithm>
#include <climits>
#include "../../../modules/task_1/groshev_n_vec_close_values/vector_close_values.h"
std::vector<int> getRandomVector(int vecSize) {
std::random_device stage;
std::vec... | 30.866667 | 94 | 0.557235 | Stepakrap |
f4f003bae1260ce69ba0dd308e3405a1c39d38d6 | 670 | cc | C++ | ui/base/gestures/gesture_util.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 9 | 2018-09-21T05:36:12.000Z | 2021-11-15T15:14:36.000Z | ui/base/gestures/gesture_util.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2015-07-21T08:02:01.000Z | 2015-07-21T08:02:01.000Z | ui/base/gestures/gesture_util.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 6 | 2016-11-14T10:13:35.000Z | 2021-01-23T15:29:53.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/base/gestures/gesture_util.h"
#include <stdlib.h>
#include "ui/base/gestures/gesture_configuration.h"
#include "ui/gfx/point.h"
namesp... | 27.916667 | 73 | 0.69403 | pozdnyakov |
f4f2f8b3005b03f0318ccbc94244a54193271bf3 | 4,047 | cpp | C++ | src/qt/qtwebkit/Source/WebCore/rendering/style/StyleCachedImageSet.cpp | viewdy/phantomjs | eddb0db1d253fd0c546060a4555554c8ee08c13c | [
"BSD-3-Clause"
] | 1 | 2015-05-27T13:52:20.000Z | 2015-05-27T13:52:20.000Z | src/qt/qtwebkit/Source/WebCore/rendering/style/StyleCachedImageSet.cpp | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtwebkit/Source/WebCore/rendering/style/StyleCachedImageSet.cpp | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | 1 | 2017-03-19T13:03:23.000Z | 2017-03-19T13:03:23.000Z | /*
* Copyright (C) 2012 Apple Inc. 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 conditions a... | 31.866142 | 150 | 0.786509 | viewdy |
f4f3c84edd8383ca552104871b1a495402a9198c | 474 | cpp | C++ | DepthFirstSearch/DepthFirstSearch/Constants.cpp | gabrieltavares0123/AlgorithmDesignAndAnalysis | 8c19772f0e6805812e4be74f7276637112c9b444 | [
"Apache-2.0"
] | null | null | null | DepthFirstSearch/DepthFirstSearch/Constants.cpp | gabrieltavares0123/AlgorithmDesignAndAnalysis | 8c19772f0e6805812e4be74f7276637112c9b444 | [
"Apache-2.0"
] | null | null | null | DepthFirstSearch/DepthFirstSearch/Constants.cpp | gabrieltavares0123/AlgorithmDesignAndAnalysis | 8c19772f0e6805812e4be74f7276637112c9b444 | [
"Apache-2.0"
] | null | null | null | // Nodes.
int const Oradea = 0;
int const Zerind = 1;
int const Arad = 2;
int const Timisoara = 3;
int const Lugoj = 4;
int const Mehadia = 5;
int const Drobeta = 6;
int const Craiova = 7;
int const RimnicuVilcea = 8;
int const Sibiu = 9;
int const Fagaras = 10;
int const Pitesti = 11;
int const Giurgiu = 12;
int const... | 22.571429 | 28 | 0.696203 | gabrieltavares0123 |
f4f661b8526855df3aa6b22cd00c1ee839f76f04 | 1,411 | cpp | C++ | src/host/host.cpp | microsoft/attested-fetch | 302ec29d0ee2284ab613dc67e129b524a0336e28 | [
"MIT"
] | null | null | null | src/host/host.cpp | microsoft/attested-fetch | 302ec29d0ee2284ab613dc67e129b524a0336e28 | [
"MIT"
] | 2 | 2022-03-15T13:30:40.000Z | 2022-03-15T13:33:51.000Z | src/host/host.cpp | microsoft/attested-fetch | 302ec29d0ee2284ab613dc67e129b524a0336e28 | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include <iostream>
#include <fstream>
#include <openenclave/host.h>
#include "afetch_u.h"
int main(int argc, const char* argv[])
{
oe_result_t result;
int ret = 1;
oe_enclave_t* enclave = NULL;
uint32_t flags = OE_ENCLAVE_F... | 23.915254 | 93 | 0.579731 | microsoft |
f4ffc0b20142a4b0a8e1b2db2909869d8f35bd7e | 466 | cpp | C++ | ports/graphics/openfx-misc/dragonfly/patch-openfx_Support_Library_ofxsImageEffect.cpp | liweitianux/DeltaPorts | b907de0ceb9c0e46ae8961896e97b361aa7c62c0 | [
"BSD-2-Clause-FreeBSD"
] | 31 | 2015-02-06T17:06:37.000Z | 2022-03-08T19:53:28.000Z | ports/graphics/openfx-misc/dragonfly/patch-openfx_Support_Library_ofxsImageEffect.cpp | liweitianux/DeltaPorts | b907de0ceb9c0e46ae8961896e97b361aa7c62c0 | [
"BSD-2-Clause-FreeBSD"
] | 236 | 2015-06-29T19:51:17.000Z | 2021-12-16T22:46:38.000Z | ports/graphics/openfx-misc/dragonfly/patch-openfx_Support_Library_ofxsImageEffect.cpp | liweitianux/DeltaPorts | b907de0ceb9c0e46ae8961896e97b361aa7c62c0 | [
"BSD-2-Clause-FreeBSD"
] | 52 | 2015-02-06T17:05:36.000Z | 2021-10-21T12:13:06.000Z | --- openfx/Support/Library/ofxsImageEffect.cpp.orig 2018-04-25 16:03:37 UTC
+++ openfx/Support/Library/ofxsImageEffect.cpp
@@ -56,7 +56,7 @@ England
#endif
#include "ofxsCore.h"
-#if defined __APPLE__ || defined __linux__ || defined __FreeBSD__
+#if defined __APPLE__ || defined __linux__ || defined __FreeBSD__ || _... | 38.833333 | 83 | 0.73176 | liweitianux |
7600995310f32ad69a9a68e594b4193b0e980fdc | 629 | cpp | C++ | CodeForces/Practice/485A.cpp | coderanant/Competitive-Programming | 45076af7894251080ac616c9581fbf2dc49604af | [
"MIT"
] | 4 | 2019-06-04T11:03:38.000Z | 2020-06-19T23:37:32.000Z | CodeForces/Practice/485A.cpp | coderanant/Competitive-Programming | 45076af7894251080ac616c9581fbf2dc49604af | [
"MIT"
] | null | null | null | CodeForces/Practice/485A.cpp | coderanant/Competitive-Programming | 45076af7894251080ac616c9581fbf2dc49604af | [
"MIT"
] | null | null | null | /*coderanant*/
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define ll long long
#define f1(i,a,b) for(int i=a;i<b;i++)
#define f2(i,a,b) for(int i=a;i>=b;i--)
#define endl '\n'
#define pb push_back
#define gp " "
#define ff first
#define ss second
#define mp make_pair
const int mod=1000000007;... | 16.552632 | 39 | 0.540541 | coderanant |
76018b8a21539b74f3a182da83d97cb5832de763 | 8,845 | cpp | C++ | main.cpp | cookish/deeptile | 159275b4d63286dd6ad08010a4e457ba9af9ae2d | [
"MIT"
] | null | null | null | main.cpp | cookish/deeptile | 159275b4d63286dd6ad08010a4e457ba9af9ae2d | [
"MIT"
] | 6 | 2018-12-04T22:33:59.000Z | 2018-12-07T23:07:35.000Z | main.cpp | cookish/deeptile | 159275b4d63286dd6ad08010a4e457ba9af9ae2d | [
"MIT"
] | null | null | null |
#include "BoardHandler.hh"
#include "ExpectiMax.hh"
#include "Utility.hh"
#include "HeuristicScorer.hh"
#include "MLScorer.hh"
#include "GameStats.hh"
#include "RunStats.hh"
#include "JsonStats.hh"
#include "Output.hh"
#include "Settings.hh"
#include <boost/filesystem.hpp>
#include <mutex>
#include <thread>
#include ... | 33.25188 | 100 | 0.579197 | cookish |
7603cfdd482d38b8f23a872a2092ae7e39360507 | 1,650 | hpp | C++ | create3_coverage/include/create3_coverage/behaviors/rotate-behavior.hpp | iRobotEducation/create3_examples | 8f04a57be3d2c8e7e9a4d346b78eaca991b83e84 | [
"BSD-3-Clause"
] | 2 | 2021-12-16T16:14:39.000Z | 2022-03-10T01:19:06.000Z | create3_coverage/include/create3_coverage/behaviors/rotate-behavior.hpp | iRobotEducation/create3_examples | 8f04a57be3d2c8e7e9a4d346b78eaca991b83e84 | [
"BSD-3-Clause"
] | 7 | 2021-11-01T18:59:15.000Z | 2022-01-14T16:43:55.000Z | create3_coverage/include/create3_coverage/behaviors/rotate-behavior.hpp | iRobotEducation/create3_examples | 8f04a57be3d2c8e7e9a4d346b78eaca991b83e84 | [
"BSD-3-Clause"
] | 1 | 2021-11-11T20:06:22.000Z | 2021-11-11T20:06:22.000Z | // Copyright 2021 iRobot Corporation. All Rights Reserved.
#pragma once
#include "create3_coverage/behaviors/behavior.hpp"
#include "create3_coverage/behaviors/reflex-behavior.hpp"
#include "create3_examples_msgs/action/coverage.hpp"
#include "geometry_msgs/msg/twist.hpp"
#include "rclcpp/rclcpp.hpp"
#include "tf2_ge... | 27.04918 | 105 | 0.725455 | iRobotEducation |
7606c29187729a01085b7f8242d6dd2604d6a1bb | 9,195 | cpp | C++ | messagebus/src/tests/oos/oos.cpp | bowlofstew/vespa | 5212c7a5568769eadb5c5d99b6a503a70c82af48 | [
"Apache-2.0"
] | null | null | null | messagebus/src/tests/oos/oos.cpp | bowlofstew/vespa | 5212c7a5568769eadb5c5d99b6a503a70c82af48 | [
"Apache-2.0"
] | 1 | 2021-01-21T01:37:37.000Z | 2021-01-21T01:37:37.000Z | messagebus/src/tests/oos/oos.cpp | bowlofstew/vespa | 5212c7a5568769eadb5c5d99b6a503a70c82af48 | [
"Apache-2.0"
] | null | null | null | // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/messagebus/destinationsession.h>
#include <vespa/messagebus/errorcode.h>
#include <vespa/messagebus/intermediatesession.h>
#include <vespa/messagebus/messagebus.h>
#include <vespa/mess... | 40.152838 | 118 | 0.591735 | bowlofstew |
7606cb36b24a6d1e710cbf2f2f685e2949c32952 | 2,121 | cc | C++ | crunchy/internal/algs/hash/sha256_test.cc | google/crunchy | 9d241ffd619889ed9855e2cf41dc0c5485a7148c | [
"Apache-2.0"
] | 125 | 2017-11-21T14:23:02.000Z | 2021-06-15T10:13:54.000Z | crunchy/internal/algs/hash/sha256_test.cc | Jason-Cooke/crunchy | 9d241ffd619889ed9855e2cf41dc0c5485a7148c | [
"Apache-2.0"
] | 2 | 2018-01-11T14:07:18.000Z | 2018-07-12T16:20:30.000Z | crunchy/internal/algs/hash/sha256_test.cc | google/crunchy | 9d241ffd619889ed9855e2cf41dc0c5485a7148c | [
"Apache-2.0"
] | 19 | 2017-12-08T16:49:06.000Z | 2022-01-22T12:34:19.000Z | // Copyright 2017 The CrunchyCrypt 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 law o... | 34.209677 | 80 | 0.758604 | google |