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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
13d01ef342b4034e578454b289a74c6e892f9f49 | 6,398 | cc | C++ | ortools/pdlp/sharded_quadratic_program.cc | kharazian/or-tools-em | 8df912821e013203523ba433ff2babbbc91c6a4b | [
"Apache-2.0"
] | null | null | null | ortools/pdlp/sharded_quadratic_program.cc | kharazian/or-tools-em | 8df912821e013203523ba433ff2babbbc91c6a4b | [
"Apache-2.0"
] | null | null | null | ortools/pdlp/sharded_quadratic_program.cc | kharazian/or-tools-em | 8df912821e013203523ba433ff2babbbc91c6a4b | [
"Apache-2.0"
] | null | null | null | // Copyright 2010-2021 Google LLC
// 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... | 41.012821 | 80 | 0.672241 | kharazian |
13d0f09f3ba3d762677475c6ae521a23e837b8e1 | 3,265 | hpp | C++ | src/scanner/scanner-input.hpp | aaron-michaux/giraffe | 457b55d80f6d21616a5c40232c2f68ee9e2c8335 | [
"MIT"
] | null | null | null | src/scanner/scanner-input.hpp | aaron-michaux/giraffe | 457b55d80f6d21616a5c40232c2f68ee9e2c8335 | [
"MIT"
] | null | null | null | src/scanner/scanner-input.hpp | aaron-michaux/giraffe | 457b55d80f6d21616a5c40232c2f68ee9e2c8335 | [
"MIT"
] | null | null | null |
#pragma once
#include <unistd.h>
namespace giraffe
{
class ScannerInputInterface
{
public:
virtual ~ScannerInputInterface() = default;
/// How should this input be referred to?
virtual string_view name() const noexcept = 0;
/// Reads up to `max_size` bytes, placing them in `buffer`, returning amount
... | 27.436975 | 99 | 0.600919 | aaron-michaux |
13d5ab0bc6e0d26c2684512d1072c5bfe60a8546 | 3,847 | cpp | C++ | src/Cpl/Dm/_0test/_baremetal/changenotifications.cpp | johnttaylor/foxtail | 86e4e1d19d5e8f9c1d1064cf0939f4bf62615400 | [
"BSD-3-Clause"
] | null | null | null | src/Cpl/Dm/_0test/_baremetal/changenotifications.cpp | johnttaylor/foxtail | 86e4e1d19d5e8f9c1d1064cf0939f4bf62615400 | [
"BSD-3-Clause"
] | null | null | null | src/Cpl/Dm/_0test/_baremetal/changenotifications.cpp | johnttaylor/foxtail | 86e4e1d19d5e8f9c1d1064cf0939f4bf62615400 | [
"BSD-3-Clause"
] | null | null | null | /*-----------------------------------------------------------------------------
* This file is part of the Colony.Core Project. The Colony.Core Project is an
* open source project with a BSD type of licensing agreement. See the license
* agreement (license.txt) in the top/ directory or on the Internet at
* http://int... | 30.054688 | 96 | 0.59241 | johnttaylor |
13d5d7c5f1969b0607a11091b16d5afe79451999 | 1,541 | cpp | C++ | examples/01-BasicVertexBuffer.cpp | dgavedissian/dgfx | cdb0b2f6cf9c2df5712ec49195549f40313860ea | [
"MIT"
] | 3 | 2021-01-01T08:53:42.000Z | 2022-01-29T18:55:34.000Z | examples/01-BasicVertexBuffer.cpp | dgavedissian/dgfx | cdb0b2f6cf9c2df5712ec49195549f40313860ea | [
"MIT"
] | null | null | null | examples/01-BasicVertexBuffer.cpp | dgavedissian/dgfx | cdb0b2f6cf9c2df5712ec49195549f40313860ea | [
"MIT"
] | 1 | 2021-09-09T19:49:35.000Z | 2021-09-09T19:49:35.000Z | /*
* Dawn Graphics
* Written by David Avedissian (c) 2017-2020 (git@dga.dev)
*/
#include "Common.h"
class BasicVertexBuffer : public Example {
public:
VertexBufferHandle vb_;
ProgramHandle program_;
void start() override {
// Load shaders.
auto vs =
util::loadShader(r, Shade... | 29.634615 | 97 | 0.573653 | dgavedissian |
13df73b74d0d82429f4e3fc0a0e9925f98b2d67d | 31,415 | cpp | C++ | src/server/frame/ipfilter.cpp | jvirkki/heliod | efdf2d105e342317bd092bab2d727713da546174 | [
"BSD-3-Clause"
] | 13 | 2015-10-09T05:59:20.000Z | 2021-11-12T10:38:51.000Z | src/server/frame/ipfilter.cpp | JamesLinus/heliod | efdf2d105e342317bd092bab2d727713da546174 | [
"BSD-3-Clause"
] | null | null | null | src/server/frame/ipfilter.cpp | JamesLinus/heliod | efdf2d105e342317bd092bab2d727713da546174 | [
"BSD-3-Clause"
] | 6 | 2016-05-23T10:53:29.000Z | 2019-12-13T17:57:32.000Z | /*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
*
* THE BSD LICENSE
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistribut... | 28.276328 | 89 | 0.641286 | jvirkki |
13e02daa0ce747eb0f3bf815d0d72948c9840267 | 675 | hpp | C++ | yazol_test/hpp/Utilities/Memory/TestStruct64.hpp | Meraz/yazol | caa0de3bd6ceb35c3e7e78f7807f3b32ea2c0bc5 | [
"MIT"
] | 2 | 2017-05-13T16:58:47.000Z | 2017-06-11T15:55:20.000Z | UnitTest/Include/Utilities/Memory/TestStruct64.hpp | Meraz/ssp15 | 452d08ebd10db50d9563c1cf97699571889ab18f | [
"MIT"
] | null | null | null | UnitTest/Include/Utilities/Memory/TestStruct64.hpp | Meraz/ssp15 | 452d08ebd10db50d9563c1cf97699571889ab18f | [
"MIT"
] | 1 | 2020-03-23T15:42:06.000Z | 2020-03-23T15:42:06.000Z | #pragma once
#include <gtest/gtest.h>
struct TestStruct64
{
float f1 = 1;
float f2 = f1 + f1;
float f3 = f2 + f2;
float f4 = f3 + f3;
float f5 = f4 + f4;
float f6 = f5 + f5;
float f7 = f6 + f6;
float f8 = f7 + f7;
float f9 = f8 + f8;
float f10 = f9 + f9;
float f11 = f10 + f1... | 18.75 | 45 | 0.562963 | Meraz |
13e04c7138379bd352e4cf96701c44320e5266f5 | 1,584 | cpp | C++ | Testing/FlowGraphTesting.cpp | IvarJonsson/Project-Unknown | 4675b41bbb5e90135c7bf3aded2c2e262b50f351 | [
"BSL-1.0"
] | null | null | null | Testing/FlowGraphTesting.cpp | IvarJonsson/Project-Unknown | 4675b41bbb5e90135c7bf3aded2c2e262b50f351 | [
"BSL-1.0"
] | null | null | null | Testing/FlowGraphTesting.cpp | IvarJonsson/Project-Unknown | 4675b41bbb5e90135c7bf3aded2c2e262b50f351 | [
"BSL-1.0"
] | null | null | null | // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
/*************************************************************************
-------------------------------------------------------------------------
History:
- 06:06:2009 Created by Federico Rebora
***********************************************... | 31.68 | 139 | 0.66351 | IvarJonsson |
13e13ad5f9df4b47a1116195a510dba3ada4e849 | 2,874 | cpp | C++ | ENgine/Support/ImGuiHelper.cpp | ENgineE777/OakEngine | 6890fc89a0e9d151e7a0bcc1c276c13594616e9a | [
"Zlib"
] | 13 | 2020-12-02T02:13:29.000Z | 2022-03-11T06:14:54.000Z | ENgine/Support/ImGuiHelper.cpp | ENgineE777/OakEngine | 6890fc89a0e9d151e7a0bcc1c276c13594616e9a | [
"Zlib"
] | null | null | null | ENgine/Support/ImGuiHelper.cpp | ENgineE777/OakEngine | 6890fc89a0e9d151e7a0bcc1c276c13594616e9a | [
"Zlib"
] | null | null | null | #include "ImGuiHelper.h"
#include "Root/Files/Files.h"
#include <filesystem>
#include "Root/Root.h"
namespace Oak::ImGuiHelper
{
ImVec4 Vec4ToImVec4(Math::Vector4 value)
{
return ImVec4(value.x, value.y, value.z, value.w);
}
Math::Vector4 ImVec4ToVec4(ImVec4 value)
{
return Math::Vector4(value.x, value.y, va... | 21.938931 | 145 | 0.634656 | ENgineE777 |
13e24e1cb7aaadd357a77258b9446a127276bef5 | 3,925 | cpp | C++ | be/src/exec/schema_scanner/schema_variables_scanner.cpp | amosbird/incubator-doris | 545a22a3088d1a94b947a43cba7339262c405e40 | [
"Apache-2.0"
] | 6 | 2020-04-30T08:38:34.000Z | 2022-03-18T08:02:43.000Z | be/src/exec/schema_scanner/schema_variables_scanner.cpp | songenjie/incubator-doris | 7f148c188efcefd816ab299aa65526207ea05c8f | [
"Apache-2.0"
] | 10 | 2020-03-04T23:28:37.000Z | 2021-12-14T21:33:14.000Z | be/src/exec/schema_scanner/schema_variables_scanner.cpp | songenjie/incubator-doris | 7f148c188efcefd816ab299aa65526207ea05c8f | [
"Apache-2.0"
] | 2 | 2022-01-06T06:35:10.000Z | 2022-01-12T03:29:10.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 you under the Apache License, Version 2.0 (the
// "License"); you may... | 35.681818 | 85 | 0.647134 | amosbird |
13e39628c9cc954562a6c4893815d9e714eed223 | 573 | hpp | C++ | Kernel/include/platform/x86_64/page_fault_interrupt_handler.hpp | foxostro/FlapjackOS | 34bd2cc9b0983b917a089efe2055ca8f78d56d9a | [
"BSD-2-Clause"
] | null | null | null | Kernel/include/platform/x86_64/page_fault_interrupt_handler.hpp | foxostro/FlapjackOS | 34bd2cc9b0983b917a089efe2055ca8f78d56d9a | [
"BSD-2-Clause"
] | null | null | null | Kernel/include/platform/x86_64/page_fault_interrupt_handler.hpp | foxostro/FlapjackOS | 34bd2cc9b0983b917a089efe2055ca8f78d56d9a | [
"BSD-2-Clause"
] | null | null | null | #ifndef FLAPJACKOS_KERNEL_INCLUDE_PLATFORM_X86_64_PAGE_FAULT_INTERRUPT_HANDLER_HPP
#define FLAPJACKOS_KERNEL_INCLUDE_PLATFORM_X86_64_PAGE_FAULT_INTERRUPT_HANDLER_HPP
#include "generic_interrupt_handler.hpp"
#include "interrupt_parameters.hpp"
namespace x86_64 {
class PageFaultInterruptHandler : public GenericInterru... | 30.157895 | 87 | 0.86562 | foxostro |
13eb0edd6163e12728933ed90a8d82fb7b6ef503 | 985 | cpp | C++ | src/main/sendmail.cpp | ondra-novak/loginsrv | 10043c26b2056767c0dab685001d925cbb1661c5 | [
"MIT"
] | null | null | null | src/main/sendmail.cpp | ondra-novak/loginsrv | 10043c26b2056767c0dab685001d925cbb1661c5 | [
"MIT"
] | null | null | null | src/main/sendmail.cpp | ondra-novak/loginsrv | 10043c26b2056767c0dab685001d925cbb1661c5 | [
"MIT"
] | null | null | null | /*
* sendmail.cpp
*
* Created on: 11. 3. 2020
* Author: ondra
*/
#include <regex>
#include "sendmail.h"
SendMail::SendMail(const std::string &sendmail_path):sendmail_path(sendmail_path) {
}
bool is_email_valid(const std::string& email)
{
const std::regex pattern ("[-a-zA-Z0-9.+_]+@[a-z0-9A-Z-]+(\\.[a... | 27.361111 | 104 | 0.650761 | ondra-novak |
13f12aa48930205d365af59691866cb3bd99ea52 | 7,324 | cpp | C++ | src/hssh/local_topological/area_detection/voronoi/search.cpp | h2ssh/Vulcan | cc46ec79fea43227d578bee39cb4129ad9bb1603 | [
"MIT"
] | 6 | 2020-03-29T09:37:01.000Z | 2022-01-20T08:56:31.000Z | src/hssh/local_topological/area_detection/voronoi/search.cpp | h2ssh/Vulcan | cc46ec79fea43227d578bee39cb4129ad9bb1603 | [
"MIT"
] | 1 | 2021-03-05T08:00:50.000Z | 2021-03-05T08:00:50.000Z | src/hssh/local_topological/area_detection/voronoi/search.cpp | h2ssh/Vulcan | cc46ec79fea43227d578bee39cb4129ad9bb1603 | [
"MIT"
] | 11 | 2019-05-13T00:04:38.000Z | 2022-01-20T08:56:38.000Z | /* Copyright (C) 2010-2019, The Regents of The University of Michigan.
All rights reserved.
This software was developed as part of the The Vulcan project in the Intelligent Robotics Lab
under the direction of Benjamin Kuipers, kuipers@umich.edu. Use of this code is governed by an
MIT-style License that can be foun... | 36.257426 | 120 | 0.643091 | h2ssh |
13f5359d3a8a6640411efc97a88bb2d19632530f | 594 | cpp | C++ | Chapter-4-Making-Decisions/4.13 The Conditional Operator/Checkpoint/4.26.cpp | jesushilarioh/DelMarCSi.cpp | 6dd7905daea510452691fd25b0e3b0d2da0b06aa | [
"MIT"
] | 3 | 2019-02-02T16:59:48.000Z | 2019-02-28T14:50:08.000Z | Chapter-4-Making-Decisions/4.13 The Conditional Operator/Checkpoint/4.26.cpp | jesushilariohernandez/DelMarCSi.cpp | 6dd7905daea510452691fd25b0e3b0d2da0b06aa | [
"MIT"
] | null | null | null | Chapter-4-Making-Decisions/4.13 The Conditional Operator/Checkpoint/4.26.cpp | jesushilariohernandez/DelMarCSi.cpp | 6dd7905daea510452691fd25b0e3b0d2da0b06aa | [
"MIT"
] | 4 | 2020-04-10T17:22:17.000Z | 2021-11-04T14:34:00.000Z | /********************************************************************
*
* Checkpoint 4.26
*
* What will the following program display?
*
* Jesus Hilario Hernandez
* February 13, 2018
*
********************************************************************/
#include <iostream>
using namespace std;
int main()
{
... | 22 | 69 | 0.430976 | jesushilarioh |
13f635d6305300891e75cdb348712e302030e1cd | 234 | hpp | C++ | src/abstractgl/api/opengl/shader/enum/vertex_shader.hpp | the-last-willy/abstractgl-api-opengl | 8e6f5a93a85072a030aee2ea56fc2073f72df539 | [
"MIT"
] | null | null | null | src/abstractgl/api/opengl/shader/enum/vertex_shader.hpp | the-last-willy/abstractgl-api-opengl | 8e6f5a93a85072a030aee2ea56fc2073f72df539 | [
"MIT"
] | null | null | null | src/abstractgl/api/opengl/shader/enum/vertex_shader.hpp | the-last-willy/abstractgl-api-opengl | 8e6f5a93a85072a030aee2ea56fc2073f72df539 | [
"MIT"
] | null | null | null | #pragma once
namespace agl::api::opengl {
struct EnumVertexShader {
static constexpr auto _enum = GL_VERTEX_SHADER;
constexpr
operator GLenum() const noexcept {
return _enum;
}
} constexpr VERTEX_SHADER;
}
| 15.6 | 51 | 0.692308 | the-last-willy |
13fac257ffbd905374ccaa2b22242ca2d45e5a52 | 2,221 | cpp | C++ | test/test_psnr.cpp | bodhisatan/video_codec_evaluation | ad0560de0dd02732d1a0b7a24da988dfca9f5757 | [
"Apache-2.0"
] | 1 | 2021-06-18T01:57:56.000Z | 2021-06-18T01:57:56.000Z | test/test_psnr.cpp | bodhisatan/video_codec_evaluation | ad0560de0dd02732d1a0b7a24da988dfca9f5757 | [
"Apache-2.0"
] | null | null | null | test/test_psnr.cpp | bodhisatan/video_codec_evaluation | ad0560de0dd02732d1a0b7a24da988dfca9f5757 | [
"Apache-2.0"
] | 1 | 2020-09-01T02:55:27.000Z | 2020-09-01T02:55:27.000Z | #include <iostream>
#include <vector>
#include <string>
#include <boost/filesystem.hpp>
#include <unistd.h>
#include <stdio.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <stdint.h>
#include <cstring>
#include <cmath>
#include <complex>
#include <iomanip>
#inc... | 26.129412 | 81 | 0.568213 | bodhisatan |
13ffcc7c307b8f846fe52289e306f6314646c806 | 137 | hpp | C++ | itypes.hpp | nabetani/c_op_restype | 000d7d82532ff9337cf379e0935983008032182b | [
"MIT"
] | null | null | null | itypes.hpp | nabetani/c_op_restype | 000d7d82532ff9337cf379e0935983008032182b | [
"MIT"
] | null | null | null | itypes.hpp | nabetani/c_op_restype | 000d7d82532ff9337cf379e0935983008032182b | [
"MIT"
] | null | null | null | T(char, c)
T(uchar, uc)
T(schar, sc)
T(short, s)
T(ushort, us)
T(int, i)
T(uint, ui)
T(long, l)
T(ulong, ul)
T(llong, ll)
T(ullong, ull)
| 11.416667 | 14 | 0.59854 | nabetani |
cd03c7495988a5ec03ec4e78ba4f1bc01974c963 | 959 | cpp | C++ | cpp/acikkaynakgelistirme/01_MerhabaDunya.cpp | bayramcicek/py-repo | e99d8881dd3eb5296ec5dcfba4de2c3418044897 | [
"Unlicense"
] | null | null | null | cpp/acikkaynakgelistirme/01_MerhabaDunya.cpp | bayramcicek/py-repo | e99d8881dd3eb5296ec5dcfba4de2c3418044897 | [
"Unlicense"
] | null | null | null | cpp/acikkaynakgelistirme/01_MerhabaDunya.cpp | bayramcicek/py-repo | e99d8881dd3eb5296ec5dcfba4de2c3418044897 | [
"Unlicense"
] | null | null | null | // ACM Hacettepe hafta 01 - 31 Ekim 2020
#include <iostream>
#include <string>
int topla(int a, int b) { return a + b; }
/**
* Programın başlangıç yeridir
* Tamsayı tipinde dönüş yapar
**/
int main() {
// int, char, bool, float, double, std::string
const int a = 5;
int b;
//....
b = 3;
char c = 'A';
... | 18.803922 | 54 | 0.55683 | bayramcicek |
cd04e81a5eaf7ba0415d368d5bec431b760529d3 | 2,361 | cpp | C++ | AmberEngine/src/AmberEngine/LowRenderer/Camera.cpp | maxbrundev/AmberEngine | e2d57fe673102c48ef34e32cca4c262bdde4e912 | [
"MIT"
] | 19 | 2018-09-28T20:35:25.000Z | 2022-02-22T02:52:09.000Z | AmberEngine/src/AmberEngine/LowRenderer/Camera.cpp | maxbrundev/AmberEngine | e2d57fe673102c48ef34e32cca4c262bdde4e912 | [
"MIT"
] | 2 | 2018-10-01T21:55:37.000Z | 2020-11-07T06:18:32.000Z | AmberEngine/src/AmberEngine/LowRenderer/Camera.cpp | maxbrundev/AmberEngine | e2d57fe673102c48ef34e32cca4c262bdde4e912 | [
"MIT"
] | null | null | null | #include "Amberpch.h"
#include "AmberEngine/LowRenderer/Camera.h"
AmberEngine::LowRenderer::Camera::Camera()
: m_clearColor(0.0f, 0.0f, 0.0f), m_yaw(-90.0f), m_pitch(0.0f), m_fov(45.0f), m_near(0.1f), m_far(100.0f)
{
UpdateCameraVectors();
}
void AmberEngine::LowRenderer::Camera::UpdateCameraVectors()
{
glm::vec... | 24.091837 | 135 | 0.745023 | maxbrundev |
cd08b7a711d58d9b9f425678acc6e90f3699a8cb | 3,246 | cpp | C++ | 3rd_party/zpp-1.0-alpha/Util.cpp | julienlopez/Eu4SaveAnalyzer | ab888a28a68b06889afd5c2de6c20798e1c3b5bc | [
"MIT"
] | null | null | null | 3rd_party/zpp-1.0-alpha/Util.cpp | julienlopez/Eu4SaveAnalyzer | ab888a28a68b06889afd5c2de6c20798e1c3b5bc | [
"MIT"
] | null | null | null | 3rd_party/zpp-1.0-alpha/Util.cpp | julienlopez/Eu4SaveAnalyzer | ab888a28a68b06889afd5c2de6c20798e1c3b5bc | [
"MIT"
] | null | null | null | /*
**
** $id:$
**
** File: util.cpp -- utility functions for ZPP library.
**
** Copyright (C) 1999 Michael Cuddy, Fen's Ende Software. All Rights Reserved
** modifications Copyright (C) 2000-2003 Eero Pajarre
**
** check http://zpp-library.sourceforge.net for latest version
**
** Permission is hereby granted, free of c... | 27.74359 | 81 | 0.687924 | julienlopez |
cd0c3faf602121db4fa82b346f58b88b6ebdc44a | 160 | cpp | C++ | CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/HW3_10(Stack Linked List)/main(13).cpp | diptu/Teaching | 20655bb2c688ae29566b0a914df4a3e5936a2f61 | [
"MIT"
] | null | null | null | CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/HW3_10(Stack Linked List)/main(13).cpp | diptu/Teaching | 20655bb2c688ae29566b0a914df4a3e5936a2f61 | [
"MIT"
] | null | null | null | CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/HW3_10(Stack Linked List)/main(13).cpp | diptu/Teaching | 20655bb2c688ae29566b0a914df4a3e5936a2f61 | [
"MIT"
] | null | null | null | #include"StackType.h"
#include"StackType.cpp"
using namespace std;
int main()
{
ReadString(ifile);
InfixToPostfixCon();
Print();
getchar();
return 0;
}
| 10.666667 | 23 | 0.69375 | diptu |
cd0e0292e8a441b449d3de11d17a9d08d4f180be | 18,456 | cc | C++ | ash/app_list/app_list_metrics.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | ash/app_list/app_list_metrics.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | ash/app_list/app_list_metrics.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/app_list/app_list_metrics.h"
#include <algorithm>
#include <string>
#include "ash/app_list/app_list_controller_impl.h"
#include "ash/app_l... | 38.773109 | 80 | 0.737863 | chromium |
cd100cb22fd73fadf844501b5b255f8d2cbdb6f6 | 108 | cpp | C++ | OeipUE4/Plugins/OeipPlugins/Source/OeipPlugins/UI/ObjAttribute.cpp | xxxzhou/oeip | ef7e3ba8bca533d16f8a5e57bf62888cd4831d3a | [
"MIT"
] | 32 | 2020-03-07T09:20:07.000Z | 2022-02-24T04:08:02.000Z | OeipUE4/Plugins/OeipPlugins/Source/OeipPlugins/UI/ObjAttribute.cpp | xxxzhou/oeip | ef7e3ba8bca533d16f8a5e57bf62888cd4831d3a | [
"MIT"
] | 3 | 2020-02-21T06:31:17.000Z | 2020-08-24T01:34:36.000Z | OeipUE4/Plugins/OeipPlugins/Source/OeipPlugins/UI/ObjAttribute.cpp | xxxzhou/oeip | ef7e3ba8bca533d16f8a5e57bf62888cd4831d3a | [
"MIT"
] | 11 | 2020-04-07T08:26:57.000Z | 2021-03-02T02:49:17.000Z | // Fill out your copyright notice in the Description page of Project Settings.
#include "ObjAttribute.h"
| 18 | 78 | 0.768519 | xxxzhou |
99801115626f8b1f6b562b5e1941584a30a97ddb | 1,515 | cpp | C++ | clang/test/SemaTemplate/instantiate-abbreviated-template.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 34 | 2020-01-31T17:50:00.000Z | 2022-02-16T20:19:29.000Z | clang/test/SemaTemplate/instantiate-abbreviated-template.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 14 | 2020-02-03T23:39:51.000Z | 2021-07-20T16:24:25.000Z | clang/test/SemaTemplate/instantiate-abbreviated-template.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 6 | 2021-02-08T16:57:07.000Z | 2022-01-13T11:32:34.000Z | // RUN: %clang_cc1 -std=c++2a -x c++ %s -verify
template<typename...>
concept C = false; // expected-note 9{{because}}
template<typename T>
struct S {
template<typename U>
static void foo1(U a, auto b);
static void foo2(T a, C<T> auto b);
// expected-note@-1{{candidate template ignored}} expected-note... | 44.558824 | 107 | 0.652145 | medismailben |
9980857df14291641f7b3f03964a0c6a9b09fc45 | 1,635 | cpp | C++ | api/src/indigo_basic.cpp | 00Green27/Indigo | dc09f838b8b05d4bba2f79d0af5617d637f0b70e | [
"Apache-2.0"
] | null | null | null | api/src/indigo_basic.cpp | 00Green27/Indigo | dc09f838b8b05d4bba2f79d0af5617d637f0b70e | [
"Apache-2.0"
] | null | null | null | api/src/indigo_basic.cpp | 00Green27/Indigo | dc09f838b8b05d4bba2f79d0af5617d637f0b70e | [
"Apache-2.0"
] | null | null | null | /****************************************************************************
* Copyright (C) from 2009 to Present EPAM Systems.
*
* This file is part of Indigo toolkit.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... | 24.772727 | 77 | 0.607339 | 00Green27 |
998117e96e2aa0ef31cd5a6af8898d06c3638056 | 4,546 | cpp | C++ | Code.v05-00/src/Core/Vortex.cpp | MIT-LAE/APCEMM | 2954bca64ec1c13552830d467d404dbe627ef71a | [
"MIT"
] | 2 | 2022-03-21T20:49:37.000Z | 2022-03-22T17:25:31.000Z | Code.v05-00/src/Core/Vortex.cpp | MIT-LAE/APCEMM | 2954bca64ec1c13552830d467d404dbe627ef71a | [
"MIT"
] | null | null | null | Code.v05-00/src/Core/Vortex.cpp | MIT-LAE/APCEMM | 2954bca64ec1c13552830d467d404dbe627ef71a | [
"MIT"
] | 1 | 2022-03-21T20:50:50.000Z | 2022-03-21T20:50:50.000Z | /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* */
/* Aircraft Plume Chemistry, Emission and Microphysics Model */
/* (APCEMM) */
/* ... | 31.136986 | 136 | 0.476023 | MIT-LAE |
9981fcdfd217a037ef4bbc8c246c5d3e1f0b4481 | 1,915 | hpp | C++ | meta/for_each.hpp | monocle-ai/putils | 49298d3ab1f07934923d599db0036ad90f233a34 | [
"MIT"
] | null | null | null | meta/for_each.hpp | monocle-ai/putils | 49298d3ab1f07934923d599db0036ad90f233a34 | [
"MIT"
] | 5 | 2020-07-30T21:23:04.000Z | 2020-07-31T23:32:47.000Z | meta/for_each.hpp | monocle-ai/putils | 49298d3ab1f07934923d599db0036ad90f233a34 | [
"MIT"
] | 3 | 2020-07-29T22:14:56.000Z | 2020-07-30T17:32:49.000Z | #pragma once
#include "type.hpp"
#include "fwd.hpp"
#define putils_macro_comma ,
namespace putils {
// For each `T` in `Types` call `f(putils::meta::type<T>)`
// `T` can then be recovered by using putils_wrapped_type
// For instance:
// ```
// putils::for_each_type<int, double>([](auto && t) {
// using T = ... | 27.753623 | 94 | 0.579634 | monocle-ai |
99830468b7d11b6e03399a723f25af0009430872 | 36,555 | cpp | C++ | perf/perf_dynamic_table.cpp | matthewbeckler/nkit | 5d1cfc7b38617c46dd35055d2917f2f74b969bec | [
"Apache-2.0"
] | 1 | 2020-02-07T11:56:21.000Z | 2020-02-07T11:56:21.000Z | perf/perf_dynamic_table.cpp | matthewbeckler/nkit | 5d1cfc7b38617c46dd35055d2917f2f74b969bec | [
"Apache-2.0"
] | null | null | null | perf/perf_dynamic_table.cpp | matthewbeckler/nkit | 5d1cfc7b38617c46dd35055d2917f2f74b969bec | [
"Apache-2.0"
] | 1 | 2019-10-30T19:51:31.000Z | 2019-10-30T19:51:31.000Z | /*
Copyright 2010-2014 Boris T. Darchiev (boris.darchiev@gmail.com)
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... | 28.05449 | 108 | 0.621201 | matthewbeckler |
9983a02523ae94b25678482f5dbb37ef2431f748 | 502 | cpp | C++ | uva/893.cpp | larc/competitive_programming | deccd7152a14adf217c58546d1cf8ac6b45f1c52 | [
"MIT"
] | 1 | 2019-05-23T19:05:39.000Z | 2019-05-23T19:05:39.000Z | uva/893.cpp | larc/oremor | deccd7152a14adf217c58546d1cf8ac6b45f1c52 | [
"MIT"
] | null | null | null | uva/893.cpp | larc/oremor | deccd7152a14adf217c58546d1cf8ac6b45f1c52 | [
"MIT"
] | null | null | null | #include <cstdio>
inline bool leap(size_t y)
{
return !(y % 400) || (!(y % 4) && (y % 100));
}
inline size_t month(size_t m, size_t y)
{
if(m == 2) return leap(y) ? 29 : 28;
if(m == 4 || m == 6 || m == 9 || m == 11) return 30;
return 31;
}
int main()
{
size_t p, d, m, y, dd, mm, yy, rd, rm;
while(scanf("%ld %l... | 17.310345 | 75 | 0.462151 | larc |
9983d0a65959fde54b12b5f047cf5707c62ba033 | 7,974 | hxx | C++ | main/autodoc/source/parser/cpp/sownstck.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/autodoc/source/parser/cpp/sownstck.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/autodoc/source/parser/cpp/sownstck.hxx | 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... | 24.763975 | 117 | 0.618385 | Grosskopf |
998607d27a2b09f69d678c63ba34b6803bd4abfc | 3,058 | cpp | C++ | Tray.cpp | Wumpf/SteamMeUp | 61446352ad9843b5ce6815c44b0665cd1c88c0d9 | [
"MIT"
] | null | null | null | Tray.cpp | Wumpf/SteamMeUp | 61446352ad9843b5ce6815c44b0665cd1c88c0d9 | [
"MIT"
] | null | null | null | Tray.cpp | Wumpf/SteamMeUp | 61446352ad9843b5ce6815c44b0665cd1c88c0d9 | [
"MIT"
] | null | null | null | #include <Windows.h>
#include "Log.h"
#include "SteamMeUp.h"
#include "resource.h"
#define TRAY_CALLBACK_MESSAGE (WM_USER + 200)
#define TRAY_CONTEXMENU_STEAMBIGPIC (WM_USER + 401)
#define TRAY_CONTEXMENU_STEAM (WM_USER + 402)
#define TRAY_CONTEXMENU_EXIT (WM_USER + 403)
namespace
{
HMENU hPopupMenu;
HWND hWnd;
... | 27.061947 | 176 | 0.734467 | Wumpf |
9986162fa57494ee5bcec4d84776c609fa455ea6 | 26,262 | cpp | C++ | original_source/src/items.cpp | RichardMarks/sawd-revival | 670aff96e81b6cedf706fa891ca4d2b57ebdc4b4 | [
"MIT"
] | null | null | null | original_source/src/items.cpp | RichardMarks/sawd-revival | 670aff96e81b6cedf706fa891ca4d2b57ebdc4b4 | [
"MIT"
] | null | null | null | original_source/src/items.cpp | RichardMarks/sawd-revival | 670aff96e81b6cedf706fa891ca4d2b57ebdc4b4 | [
"MIT"
] | null | null | null |
/*
SAWD Small ASCII Walk-around Demo (C) Copyright 2008, CCPS Solutions
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 version.
... | 32.868586 | 83 | 0.360064 | RichardMarks |
998b6e624daa747ec42ac49236ea10fff605cc8a | 4,097 | cc | C++ | ui/base/clipboard/file_info_unittest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | ui/base/clipboard/file_info_unittest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | ui/base/clipboard/file_info_unittest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2021 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/clipboard/file_info.h"
#include <string>
#include "base/files/file_path.h"
#include "base/strings/string_util.h"
#include "build/build... | 35.626087 | 78 | 0.583598 | zealoussnow |
998deac9dbd924cb26f34102a230e157a6772414 | 526 | cpp | C++ | codeforces/701/a.cpp | AadityaJ/Spoj | 61664c1925ef5bb072a3fe78fb3dac4fb68d77a1 | [
"MIT"
] | null | null | null | codeforces/701/a.cpp | AadityaJ/Spoj | 61664c1925ef5bb072a3fe78fb3dac4fb68d77a1 | [
"MIT"
] | null | null | null | codeforces/701/a.cpp | AadityaJ/Spoj | 61664c1925ef5bb072a3fe78fb3dac4fb68d77a1 | [
"MIT"
] | null | null | null | #include <iostream>
#include <algorithm>
using namespace std;
bool touched[103];
int printSearch(int *arr,int n,int ele){
int i;
for(i=1;(i<=n && arr[i]!=ele) || touched[i]!=0;i++);
touched[i]=1;
return i;
}
int main(int argc, char const *argv[]) {
int n,arr[103],temp[103];
cin>>n;
for(int i... | 25.047619 | 84 | 0.558935 | AadityaJ |
998e14ed07f898b45d5b1eae682e2457e247f5fd | 1,506 | cpp | C++ | lab6/Circuit.cpp | carinaioana/oop-2022 | b2cd27a40f95b2ca549bba0cb9c2a55921c8ca0d | [
"MIT"
] | null | null | null | lab6/Circuit.cpp | carinaioana/oop-2022 | b2cd27a40f95b2ca549bba0cb9c2a55921c8ca0d | [
"MIT"
] | null | null | null | lab6/Circuit.cpp | carinaioana/oop-2022 | b2cd27a40f95b2ca549bba0cb9c2a55921c8ca0d | [
"MIT"
] | null | null | null | #include "Circuit.h"
#include "Dacia.h"
#include "Mercedes.h"
#include "Ford.h"
#include "Mazda.h"
#include "Toyota.h"
#include "Car.h"
#include <vector>
#include <iostream>
void Circuit::SetLength(float l) {
this->length = l;
}
void Circuit::SetWeather(Weather w) {
this->weather = w;
}
void Circuit::AddCar(Car* ... | 28.415094 | 126 | 0.623506 | carinaioana |
998f58df6a594396a0288e36adf362be84cd985e | 35,061 | cpp | C++ | DyssolMainWindow/Dyssol.cpp | FlowsheetSimulation/Dyssol-open | 557d57d959800868e1b3fd161b26cad16481382b | [
"BSD-3-Clause"
] | 7 | 2020-12-02T02:54:31.000Z | 2022-03-08T20:37:46.000Z | DyssolMainWindow/Dyssol.cpp | FlowsheetSimulation/Dyssol-open | 557d57d959800868e1b3fd161b26cad16481382b | [
"BSD-3-Clause"
] | 33 | 2021-03-26T12:20:18.000Z | 2022-02-23T11:37:56.000Z | DyssolMainWindow/Dyssol.cpp | FlowsheetSimulation/Dyssol-open | 557d57d959800868e1b3fd161b26cad16481382b | [
"BSD-3-Clause"
] | 6 | 2020-07-17T08:17:37.000Z | 2022-02-24T13:45:16.000Z | /* Copyright (c) 2020, Dyssol Development Team. All rights reserved. This file is part of Dyssol. See LICENSE file for license information. */
#include "Dyssol.h"
#include "StatusWindow.h"
#include "AboutWindow.h"
#include "ScriptExporter.h"
#include "FileSystem.h"
#include "DyssolStringConstants.h"
#include "... | 48.967877 | 283 | 0.709535 | FlowsheetSimulation |
999000843154b495752896330056fdbb948c91cb | 848 | hh | C++ | src/core/include/chase/utilities/UtilityFunctions.hh | chase-cps/chase | 87db0754bf0eaa94beb10c355794b6d3c6d9e883 | [
"BSD-3-Clause"
] | 4 | 2019-06-15T15:33:37.000Z | 2022-02-10T19:10:50.000Z | src/core/include/chase/utilities/UtilityFunctions.hh | chase-cps/chase | 87db0754bf0eaa94beb10c355794b6d3c6d9e883 | [
"BSD-3-Clause"
] | null | null | null | src/core/include/chase/utilities/UtilityFunctions.hh | chase-cps/chase | 87db0754bf0eaa94beb10c355794b6d3c6d9e883 | [
"BSD-3-Clause"
] | 3 | 2018-02-02T18:14:48.000Z | 2021-01-31T12:18:25.000Z | /**
* @author <a href="mailto:michele.lora@univr.it">Michele Lora</a>
* @date 11/21/2019
* This project is released under the 3-Clause BSD License.
*
*/
#pragma once
#include <vector>
#include <list>
#include <string>
namespace chase
{
/// \todo Document it!!!
template< typename T >
v... | 21.2 | 72 | 0.571934 | chase-cps |
999164675fbd1fe657548008a660f959a7f6db5a | 794 | cpp | C++ | tests/ModInt/ModInt_gen.cpp | fossabot/CPTH | 8cd612b2c449fed09746a80c3a9cfd2884ffeac0 | [
"Apache-2.0"
] | 19 | 2020-03-09T13:12:26.000Z | 2022-01-17T03:50:04.000Z | tests/ModInt/ModInt_gen.cpp | fossabot/CPTH | 8cd612b2c449fed09746a80c3a9cfd2884ffeac0 | [
"Apache-2.0"
] | 1 | 2020-07-09T06:15:19.000Z | 2020-07-09T06:19:19.000Z | tests/ModInt/ModInt_gen.cpp | fossabot/CPTH | 8cd612b2c449fed09746a80c3a9cfd2884ffeac0 | [
"Apache-2.0"
] | 3 | 2020-07-09T06:15:14.000Z | 2021-04-23T02:41:01.000Z | #include <chrono>
#include <cstdio>
#include <ctime>
#include <iostream>
#include <random>
using namespace std;
mt19937 rnd(chrono::steady_clock::now().time_since_epoch().count());
int randint(int l, int r)
{
return rnd() % (r - l + 1) + l;
}
int gcd(int x, int y)
{
return y ? gcd(y, x % y) : x;
}
int main... | 17.644444 | 68 | 0.487406 | fossabot |
9998ceca97a817bbfb946fbd05e4e6f4b58d4c89 | 6,682 | cpp | C++ | src/collisionDetection/test/RayVsPlaneTest.cpp | Robograde/Robograde | 2c9a7d0b8250ec240102d504127f5c54532cb2b0 | [
"Zlib"
] | 5 | 2015-10-11T10:22:39.000Z | 2019-07-24T10:09:13.000Z | src/collisionDetection/test/RayVsPlaneTest.cpp | Robograde/Robograde | 2c9a7d0b8250ec240102d504127f5c54532cb2b0 | [
"Zlib"
] | null | null | null | src/collisionDetection/test/RayVsPlaneTest.cpp | Robograde/Robograde | 2c9a7d0b8250ec240102d504127f5c54532cb2b0 | [
"Zlib"
] | null | null | null | /**************************************************
Zlib Copyright 2015 Ola Enberg
***************************************************/
#include <gtest/gtest.h>
#include "../volume/Ray.h"
#include "../volume/Plane.h"
#include "../detection/IntersectionTestLookupTable.h"
using glm::vec3;
TEST( CollisionTests, RayVsP... | 31.370892 | 116 | 0.702335 | Robograde |
99a0753b4771d939c747ecc609e07c735eaf893c | 13,267 | cpp | C++ | modules/tracktion_engine/3rd_party/airwindows/Focus/FocusProc.cpp | jbloit/tracktion_engine | b3fa7d6a3a404f64ae419abdf9c801d672cffb16 | [
"MIT",
"Unlicense"
] | 734 | 2018-11-16T09:39:40.000Z | 2022-03-30T16:56:14.000Z | modules/tracktion_engine/3rd_party/airwindows/Focus/FocusProc.cpp | jbloit/tracktion_engine | b3fa7d6a3a404f64ae419abdf9c801d672cffb16 | [
"MIT",
"Unlicense"
] | 100 | 2018-11-16T18:04:08.000Z | 2022-03-31T17:47:53.000Z | modules/tracktion_engine/3rd_party/airwindows/Focus/FocusProc.cpp | jbloit/tracktion_engine | b3fa7d6a3a404f64ae419abdf9c801d672cffb16 | [
"MIT",
"Unlicense"
] | 123 | 2018-11-16T15:51:50.000Z | 2022-03-29T12:21:27.000Z | /* ========================================
* Focus - Focus.h
* Copyright (c) 2016 airwindows, All rights reserved
* ======================================== */
#ifndef __Focus_H
#include "Focus.h"
#endif
void Focus::processReplacing(float **inputs, float **outputs, VstInt32 sampleFrames)
{
float* in1 = in... | 46.550877 | 118 | 0.56584 | jbloit |
99a2a08f3001b30c684ca712865606c3c7b0c336 | 600 | cpp | C++ | src/Particle.cpp | towa7bc/SFMLParticleAnimation | 685cc0fc12a8b40ea7dc682f468de4962cb2ae93 | [
"Unlicense"
] | null | null | null | src/Particle.cpp | towa7bc/SFMLParticleAnimation | 685cc0fc12a8b40ea7dc682f468de4962cb2ae93 | [
"Unlicense"
] | null | null | null | src/Particle.cpp | towa7bc/SFMLParticleAnimation | 685cc0fc12a8b40ea7dc682f468de4962cb2ae93 | [
"Unlicense"
] | null | null | null | //
// Created by Michael Wittmann on 05/06/2020.
//
#include "Particle.hpp"
#include <SFML/Graphics/PrimitiveType.hpp> // for Points
#include <SFML/Graphics/RenderTarget.hpp> // for RenderTarget
namespace app {
void Particle::draw(sf::RenderTarget &target, sf::RenderStates states) const {
target.draw(&draw_ver... | 27.272727 | 78 | 0.728333 | towa7bc |
99a365de7422f1a18975644823c97142882c4a72 | 1,885 | hpp | C++ | ML_Weapons/CFG/cfgRecoils.hpp | linus-berg/Mafia-Life | d9b7678c02738e8e555ebf068fa4c0e5170ffa5e | [
"MIT"
] | null | null | null | ML_Weapons/CFG/cfgRecoils.hpp | linus-berg/Mafia-Life | d9b7678c02738e8e555ebf068fa4c0e5170ffa5e | [
"MIT"
] | null | null | null | ML_Weapons/CFG/cfgRecoils.hpp | linus-berg/Mafia-Life | d9b7678c02738e8e555ebf068fa4c0e5170ffa5e | [
"MIT"
] | 2 | 2019-08-31T19:04:38.000Z | 2022-03-29T02:59:43.000Z | #define Xcoef (0.001)
#define Ycoef (0.004)
#define LynxXcoef (0.003)
#define LynxYcoef (0.008)
class cfgRecoils
{
recoil_single_Test_rifle_01[]=
{
0,0,0,
0.03, 36.943*(Xcoef)*(0.3), 3.587*(Ycoef)*(3),
0.03, 31.817*(Xcoef)*(0.5), 1.251*(Ycoef)*(3.4),
0.03, 19.755*(Xcoef)*(0.7), 0.764*(Ycoef)*(3.8),
0.06, 7... | 31.949153 | 52 | 0.517772 | linus-berg |
99a8e9da5bbfe9192c03f08e6a5ea4e13fcb2df7 | 3,522 | cpp | C++ | src/Reactor/LLVMRoutineManager.cpp | fugu-helper/android_external_swiftshader | f74bf2ec77013b9241dc708f7f8615426c136ce6 | [
"Apache-2.0"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | src/Reactor/LLVMRoutineManager.cpp | ddrmax/swiftshader-ex | 2d975b5090e778857143c09c21aa24255f41e598 | [
"Apache-2.0"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | src/Reactor/LLVMRoutineManager.cpp | ddrmax/swiftshader-ex | 2d975b5090e778857143c09c21aa24255f41e598 | [
"Apache-2.0"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2016 The SwiftShader 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 b... | 23.637584 | 132 | 0.734242 | fugu-helper |
99a94de9fec99a1f9fe70da5cbb6722f71d6fa36 | 594 | hpp | C++ | frame/message.hpp | joydit/solidframe | 0539b0a1e77663ac4c701a88f56723d3e3688e8c | [
"BSL-1.0"
] | null | null | null | frame/message.hpp | joydit/solidframe | 0539b0a1e77663ac4c701a88f56723d3e3688e8c | [
"BSL-1.0"
] | null | null | null | frame/message.hpp | joydit/solidframe | 0539b0a1e77663ac4c701a88f56723d3e3688e8c | [
"BSL-1.0"
] | null | null | null | // frame/message.hpp
//
// Copyright (c) 2013 Valentin Palade (vipalade @ gmail . com)
//
// This file is part of SolidFrame framework.
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.
//
#ifndef SOLID_FRAME_SIGNA... | 19.16129 | 89 | 0.739057 | joydit |
99aaa798f6f2e9110767ba49b98ef332ba4e5105 | 49,213 | cpp | C++ | dualarm_controller/Control/Controller.cpp | hyujun/DualArm_Sim | 5a0eea7cfec45b4db8f097dbcfb101ecdc1ce7e1 | [
"MIT"
] | 2 | 2021-03-26T04:41:02.000Z | 2021-12-10T13:36:59.000Z | dualarm_controller/Control/Controller.cpp | hyujun/DualArm_Sim | 5a0eea7cfec45b4db8f097dbcfb101ecdc1ce7e1 | [
"MIT"
] | null | null | null | dualarm_controller/Control/Controller.cpp | hyujun/DualArm_Sim | 5a0eea7cfec45b4db8f097dbcfb101ecdc1ce7e1 | [
"MIT"
] | 2 | 2021-03-26T04:41:02.000Z | 2021-03-26T04:43:26.000Z | /*
* Controller.cpp
*
* Created on: 2019. 5. 15.
* Author: Junho Park
*/
#include "Controller.h"
#include <utility>
namespace HYUControl {
Controller::Controller():m_Jnum(6)
{
this->pManipulator = nullptr;
}
Controller::Controller(std::shared_ptr<SerialManipulator> Manipulator)
{
t... | 32.612989 | 231 | 0.586248 | hyujun |
99ac137d341412a88dee0800421a746f144c82e1 | 3,500 | cpp | C++ | instructions/load/Load.cpp | zhukovaskychina/X-JVM | 51b5404c53c3671af4af6407307234b13f40c43b | [
"MIT"
] | 1 | 2020-10-23T09:38:28.000Z | 2020-10-23T09:38:28.000Z | instructions/load/Load.cpp | zhukovaskychina/X-JVM | 51b5404c53c3671af4af6407307234b13f40c43b | [
"MIT"
] | null | null | null | instructions/load/Load.cpp | zhukovaskychina/X-JVM | 51b5404c53c3671af4af6407307234b13f40c43b | [
"MIT"
] | null | null | null | //
// Created by zhukovasky on 2020/8/13.
//
#include "Load.h"
namespace Instruction{
static void _iload(Runtime::JavaFrame *javaFrame,u1 index){
int value=javaFrame->getLocalVariableTables()->getInt(index-1);
javaFrame->getOperandStack()->pushInt(value);
}
static void _aload(Runtime::Jav... | 32.110092 | 84 | 0.646286 | zhukovaskychina |
99ac9b88f6a6f083188018865b7f9971b4126a5b | 4,588 | cpp | C++ | src/gui/tagsystem.cpp | P-Sc/Pirateers | 440e477d33bbbcd79d291700c369f74fd0a6cc7d | [
"MIT"
] | null | null | null | src/gui/tagsystem.cpp | P-Sc/Pirateers | 440e477d33bbbcd79d291700c369f74fd0a6cc7d | [
"MIT"
] | null | null | null | src/gui/tagsystem.cpp | P-Sc/Pirateers | 440e477d33bbbcd79d291700c369f74fd0a6cc7d | [
"MIT"
] | null | null | null | #include "tagsystem.h"
#include <SFML/Graphics.hpp>
#include "graphics/textures.h"
/**
* @brief Pfeilrotation berechnen
* @param shipPos Position des Schiffes
* @return Nötige Rotation für den Pfeil
*/
float TagSystem::getArrowAngle(sf::Vector2f shipPos) {
sf::Vector2f dir = shipPos - cameraCenter;
return ... | 39.213675 | 95 | 0.645597 | P-Sc |
99acdd6768b4e7fabc5f494c26ceff05d3c7708a | 7,808 | cc | C++ | Kernel/CG/Coordinates/XYZ.cc | gustavo-castillo-bautista/Mercury | eeb402ccec8e487652229d4595c46ec84f6aefbb | [
"BSD-3-Clause"
] | null | null | null | Kernel/CG/Coordinates/XYZ.cc | gustavo-castillo-bautista/Mercury | eeb402ccec8e487652229d4595c46ec84f6aefbb | [
"BSD-3-Clause"
] | null | null | null | Kernel/CG/Coordinates/XYZ.cc | gustavo-castillo-bautista/Mercury | eeb402ccec8e487652229d4595c46ec84f6aefbb | [
"BSD-3-Clause"
] | null | null | null | //Copyright (c) 2013-2020, The MercuryDPM Developers Team. All rights reserved.
//For the list of developers, see <http://www.MercuryDPM.org/Team>.
//
//Redistribution and use in source and binary forms, with or without
//modification, are permitted provided that the following conditions are met:
// * Redistributions ... | 39.04 | 101 | 0.712602 | gustavo-castillo-bautista |
99ada3ad22ec0443d474129f91af9ec8abbf082f | 3,261 | cpp | C++ | src/leakfile.cpp | isRyven/map-compiler | c2f22acf6c02c33fea2609e0b69521eaf91a7033 | [
"MIT"
] | 3 | 2018-02-14T16:02:45.000Z | 2019-02-27T13:31:12.000Z | src/leakfile.cpp | isRyven/map-compiler | c2f22acf6c02c33fea2609e0b69521eaf91a7033 | [
"MIT"
] | 30 | 2018-02-12T13:49:48.000Z | 2018-10-19T17:23:15.000Z | src/leakfile.cpp | isRyven/map-compiler | c2f22acf6c02c33fea2609e0b69521eaf91a7033 | [
"MIT"
] | 1 | 2018-02-13T16:26:16.000Z | 2018-02-13T16:26:16.000Z | /* -------------------------------------------------------------------------------
Copyright (C) 1999-2007 id Software, Inc. and contributors.
For a list of contributors, see the accompanying CONTRIBUTORS file.
This file is part of GtkRadiant.
GtkRadiant is free software; you can redistribute it and/or m... | 26.088 | 85 | 0.570377 | isRyven |
99b051ec3a0824dad01eb83782653abcac73785e | 1,724 | cpp | C++ | test/common/managed_pointer_test.cpp | AndiLynn/terrier | 6002f8a902d3d0d19bc67998514098f8b41ca264 | [
"MIT"
] | null | null | null | test/common/managed_pointer_test.cpp | AndiLynn/terrier | 6002f8a902d3d0d19bc67998514098f8b41ca264 | [
"MIT"
] | null | null | null | test/common/managed_pointer_test.cpp | AndiLynn/terrier | 6002f8a902d3d0d19bc67998514098f8b41ca264 | [
"MIT"
] | null | null | null | #include "common/managed_pointer.h"
#include <iostream>
#include <memory>
#include <sstream>
#include <string>
#include "gtest/gtest.h"
namespace terrier {
// NOLINTNEXTLINE
TEST(ManagedPointerTests, EqualityTest) {
std::string val0 = "abcde";
char *raw_ptr0 = val0.data();
std::string val1 = "12345";
char *ra... | 26.121212 | 67 | 0.693735 | AndiLynn |
99b126a02b73dc3e7fbbe9183c20e8a265cb8b4b | 524 | cpp | C++ | unit/testing-utils/run_test_with_compilers.cpp | mauguignard/cbmc | 70cfdd5d7c62d47269bae2277ff89a9ce66ff0b5 | [
"BSD-4-Clause"
] | 412 | 2016-04-02T01:14:27.000Z | 2022-03-27T09:24:09.000Z | unit/testing-utils/run_test_with_compilers.cpp | mauguignard/cbmc | 70cfdd5d7c62d47269bae2277ff89a9ce66ff0b5 | [
"BSD-4-Clause"
] | 4,671 | 2016-02-25T13:52:16.000Z | 2022-03-31T22:14:46.000Z | unit/testing-utils/run_test_with_compilers.cpp | mauguignard/cbmc | 70cfdd5d7c62d47269bae2277ff89a9ce66ff0b5 | [
"BSD-4-Clause"
] | 266 | 2016-02-23T12:48:00.000Z | 2022-03-22T18:15:51.000Z | /*******************************************************************\
Module: Unit test utilities
Author: Diffblue Ltd.
\*******************************************************************/
#include "run_test_with_compilers.h"
void run_test_with_compilers(
const std::function<void(const std::string &)> &test_wit... | 27.578947 | 69 | 0.553435 | mauguignard |
99b9a8343d0cf4a5b4bcf1933689695adb70c5e2 | 173,020 | cpp | C++ | src/libtriton/bindings/python/namespaces/initX86OpcodesNamespace.cpp | thebabush/Triton | a9d4b9a88ae946d88b81b054aab375bb2cba9ef4 | [
"Apache-2.0"
] | 3 | 2018-09-29T01:03:29.000Z | 2019-07-18T07:03:51.000Z | src/libtriton/bindings/python/namespaces/initX86OpcodesNamespace.cpp | thebabush/Triton | a9d4b9a88ae946d88b81b054aab375bb2cba9ef4 | [
"Apache-2.0"
] | null | null | null | src/libtriton/bindings/python/namespaces/initX86OpcodesNamespace.cpp | thebabush/Triton | a9d4b9a88ae946d88b81b054aab375bb2cba9ef4 | [
"Apache-2.0"
] | 3 | 2018-03-04T04:34:39.000Z | 2019-08-27T16:10:15.000Z | //! \file
/*
** Copyright (C) - Triton
**
** This program is under the terms of the BSD License.
*/
#include <triton/pythonBindings.hpp>
#include <triton/pythonUtils.hpp>
#include <triton/x86Specifications.hpp>
/*! \page py_OPCODE_page OPCODE
\brief [**python api**] All information about the OPCODE python nam... | 65.662239 | 125 | 0.729124 | thebabush |
99bcb27d9adefd74652bd7c8d15de4407aa6b2df | 335 | hpp | C++ | evaluator.hpp | geoadmin/tippecanoe | 0953e6d929d6b65225363c46d7dddfde592b31b4 | [
"BSD-2-Clause"
] | 1 | 2018-09-03T01:38:48.000Z | 2018-09-03T01:38:48.000Z | evaluator.hpp | geoadmin/tippecanoe | 0953e6d929d6b65225363c46d7dddfde592b31b4 | [
"BSD-2-Clause"
] | 2 | 2017-09-08T16:13:54.000Z | 2018-04-04T13:48:32.000Z | evaluator.hpp | geoadmin/tippecanoe | 0953e6d929d6b65225363c46d7dddfde592b31b4 | [
"BSD-2-Clause"
] | null | null | null | #ifndef EVALUATOR_HPP
#define EVALUATOR HPP
#include <map>
#include <string>
#include "jsonpull/jsonpull.h"
#include "mvt.hpp"
bool evaluate(std::map<std::string, mvt_value> const &feature, std::string const &layer, json_object *filter);
json_object *parse_filter(const char *s);
json_object *read_filter(const char *f... | 23.928571 | 110 | 0.761194 | geoadmin |
99be5822baaf3b0f8080da7c58c3748be606b9df | 1,888 | cpp | C++ | test/test_shader.cpp | taylor-santos/roguelike | 67913a3c1a56b82c3bc260fde08ae91409ce024b | [
"MIT"
] | null | null | null | test/test_shader.cpp | taylor-santos/roguelike | 67913a3c1a56b82c3bc260fde08ae91409ce024b | [
"MIT"
] | 10 | 2021-05-08T06:20:20.000Z | 2021-12-30T02:12:28.000Z | test/test_shader.cpp | taylor-santos/roguelike | 67913a3c1a56b82c3bc260fde08ae91409ce024b | [
"MIT"
] | null | null | null | //
// Created by taylor-santos on 5/24/2021 at 21:34.
//
#include "shader.h"
#include "doctest/doctest.h"
#include "glfw.h"
TEST_SUITE_BEGIN("Shader");
#ifndef DISABLE_RENDER_TESTS
TEST_CASE("SyntaxError") {
GLFW::Window::get(500, 500, "window");
CHECK_THROWS(Shader("this is a syntax error", Shader::Type::... | 29.968254 | 75 | 0.514301 | taylor-santos |
99be82b82df547ad0809a8c9020cbe594ce0134f | 652 | hpp | C++ | SpellChecker/SpellChecker/SpellChecking/Header/SpellChecker.hpp | TomColdenhoff/SpellChecker | 3c0e54afdc3b06d07790034bdb70e755b4d96d24 | [
"MIT"
] | null | null | null | SpellChecker/SpellChecker/SpellChecking/Header/SpellChecker.hpp | TomColdenhoff/SpellChecker | 3c0e54afdc3b06d07790034bdb70e755b4d96d24 | [
"MIT"
] | null | null | null | SpellChecker/SpellChecker/SpellChecking/Header/SpellChecker.hpp | TomColdenhoff/SpellChecker | 3c0e54afdc3b06d07790034bdb70e755b4d96d24 | [
"MIT"
] | null | null | null | //
// SpellChecker.hpp
// SpellChecker
//
// Created by Tom Coldenhoff on 14/01/2020.
// Copyright © 2020 Tom Coldenhoff. All rights reserved.
//
#ifndef SpellChecker_hpp
#define SpellChecker_hpp
#include "SpellChecker.h"
#include "WordDictionaryNode.h"
#include <string>
namespace spellchecker::spellchecking {
... | 22.482759 | 82 | 0.753067 | TomColdenhoff |
99c00a4d48915814f7718f0c2edce6fe141cb9d3 | 2,709 | cpp | C++ | src/common/buses/usb/USBTransferHelper.cpp | ska/SeaBreeze | 09aac3e764867825f51f75c519a025a863d03590 | [
"MIT"
] | null | null | null | src/common/buses/usb/USBTransferHelper.cpp | ska/SeaBreeze | 09aac3e764867825f51f75c519a025a863d03590 | [
"MIT"
] | null | null | null | src/common/buses/usb/USBTransferHelper.cpp | ska/SeaBreeze | 09aac3e764867825f51f75c519a025a863d03590 | [
"MIT"
] | 1 | 2020-07-03T08:36:47.000Z | 2020-07-03T08:36:47.000Z | /***************************************************//**
* @file USBTransferHelper.cpp
* @date February 2009
* @author Ocean Optics, Inc.
*
* LICENSE:
*
* SeaBreeze Copyright (C) 2014, Ocean Optics Inc
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software a... | 34.291139 | 82 | 0.680694 | ska |
99c3d099d46d35826f75b5935bf579301b2b9f3a | 6,479 | cc | C++ | libtransport/src/auth/signer.cc | manang/hicn | 006c9aec768d5ff80fed0bf36cc51990f7fa1d8e | [
"Apache-2.0"
] | null | null | null | libtransport/src/auth/signer.cc | manang/hicn | 006c9aec768d5ff80fed0bf36cc51990f7fa1d8e | [
"Apache-2.0"
] | null | null | null | libtransport/src/auth/signer.cc | manang/hicn | 006c9aec768d5ff80fed0bf36cc51990f7fa1d8e | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017-2021 Cisco and/or its affiliates.
* 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 appl... | 31 | 80 | 0.73607 | manang |
99c4f806134e61afce3dfc85fd6091d6ccba7e20 | 6,372 | cpp | C++ | src/core/queueContext.cpp | gflegar/pal | 93d6aba82af14ae57ae6d84a4cf0cca3d9aa8c6b | [
"MIT"
] | 268 | 2017-12-22T11:03:10.000Z | 2022-03-31T15:37:31.000Z | src/core/queueContext.cpp | gflegar/pal | 93d6aba82af14ae57ae6d84a4cf0cca3d9aa8c6b | [
"MIT"
] | 79 | 2017-12-22T12:26:52.000Z | 2022-03-30T13:06:30.000Z | src/core/queueContext.cpp | gflegar/pal | 93d6aba82af14ae57ae6d84a4cf0cca3d9aa8c6b | [
"MIT"
] | 92 | 2017-12-22T12:21:16.000Z | 2022-03-29T22:34:17.000Z | /*
***********************************************************************************************************************
*
* Copyright (c) 2016-2021 Advanced Micro Devices, Inc. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associ... | 39.092025 | 120 | 0.598399 | gflegar |
99cc48f53ce0cb866f6121612b2ce2fcbf87a835 | 3,210 | cc | C++ | green/src/model/DescribeOssIncrementOverviewResult.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | green/src/model/DescribeOssIncrementOverviewResult.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | green/src/model/DescribeOssIncrementOverviewResult.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... | 29.722222 | 100 | 0.780997 | aliyun |
99cd0727fda0596bf5e00dd39f02734dc08ededa | 17,850 | cpp | C++ | src/finiteVolume/processes/speciesTransport.cpp | kolosret/ablate | 755089ab5e39388d9cda8dedac5a45ba1b016dd5 | [
"BSD-3-Clause"
] | null | null | null | src/finiteVolume/processes/speciesTransport.cpp | kolosret/ablate | 755089ab5e39388d9cda8dedac5a45ba1b016dd5 | [
"BSD-3-Clause"
] | null | null | null | src/finiteVolume/processes/speciesTransport.cpp | kolosret/ablate | 755089ab5e39388d9cda8dedac5a45ba1b016dd5 | [
"BSD-3-Clause"
] | null | null | null | #include "speciesTransport.hpp"
#include "finiteVolume/compressibleFlowFields.hpp"
#include "utilities/mathUtilities.hpp"
ablate::finiteVolume::processes::SpeciesTransport::SpeciesTransport(std::shared_ptr<eos::EOS> eosIn, std::shared_ptr<fluxCalculator::FluxCalculator> fluxCalcIn,
... | 52.810651 | 200 | 0.651317 | kolosret |
99cd1a4611c31fc13b0e7ed9ce5ae73a13cd1f05 | 190 | hpp | C++ | src/parser/script/ScriptParser.hpp | AlexeyGurevsky/bbtube | d7329b52cec08cdc80c521e8f3d4f5de746639e7 | [
"Apache-2.0"
] | 15 | 2020-07-13T03:51:10.000Z | 2022-03-16T13:56:28.000Z | src/parser/script/ScriptParser.hpp | AlexeyGurevsky/bbtube | d7329b52cec08cdc80c521e8f3d4f5de746639e7 | [
"Apache-2.0"
] | 2 | 2021-01-07T20:31:29.000Z | 2021-12-15T21:20:34.000Z | src/parser/script/ScriptParser.hpp | AlexeyGurevsky/bbtube | d7329b52cec08cdc80c521e8f3d4f5de746639e7 | [
"Apache-2.0"
] | 4 | 2020-08-15T01:52:31.000Z | 2022-03-16T13:56:30.000Z | #ifndef SCRIPTPARSER_HPP_
#define SCRIPTPARSER_HPP_
#include "ScriptData.hpp"
class ScriptParser
{
public:
static ScriptData parse(QString script);
};
#endif /* SCRIPTPARSER_HPP_ */
| 13.571429 | 44 | 0.763158 | AlexeyGurevsky |
99cdf4b094bd76835696df84bf64452c87f03acd | 13,369 | cpp | C++ | Modules/ThirdParty/OssimPlugins/src/ossim/ossimSentinel1SarSensorModel.cpp | xcorail/OTB | 092a93654c3b5d009e420f450fe9b675f737cdca | [
"Apache-2.0"
] | 2 | 2019-02-13T14:48:19.000Z | 2019-12-03T02:54:28.000Z | Modules/ThirdParty/OssimPlugins/src/ossim/ossimSentinel1SarSensorModel.cpp | xcorail/OTB | 092a93654c3b5d009e420f450fe9b675f737cdca | [
"Apache-2.0"
] | null | null | null | Modules/ThirdParty/OssimPlugins/src/ossim/ossimSentinel1SarSensorModel.cpp | xcorail/OTB | 092a93654c3b5d009e420f450fe9b675f737cdca | [
"Apache-2.0"
] | 2 | 2019-01-17T10:36:14.000Z | 2019-12-03T02:54:36.000Z | /*
* Copyright (C) 2005-2017 by Centre National d'Etudes Spatiales (CNES)
*
* This file is licensed under MIT license:
*
* 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 restric... | 41.778125 | 215 | 0.651732 | xcorail |
99cec591f4e86ca833f49cb9504422945521a623 | 404 | cpp | C++ | CodeChef/Beginner/STUDVOTE.cpp | nsudhanva/Competetive | d9e93fdeefaa4e422a2101db41a7ab0a5676e9da | [
"Unlicense"
] | null | null | null | CodeChef/Beginner/STUDVOTE.cpp | nsudhanva/Competetive | d9e93fdeefaa4e422a2101db41a7ab0a5676e9da | [
"Unlicense"
] | null | null | null | CodeChef/Beginner/STUDVOTE.cpp | nsudhanva/Competetive | d9e93fdeefaa4e422a2101db41a7ab0a5676e9da | [
"Unlicense"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin >> t;
while(t--){
int n, k, i;
cin >> n >> k;
int arr[n + 1];
int arr1[n + 1]= {0};
for(i = 1; i <= n; i++)
{
cin >> arr[i];
arr1[arr[i]]++;
}
int count = 0;
for(i = 1; i <= n; i++)
{
if(a... | 11.542857 | 36 | 0.381188 | nsudhanva |
99cfeeb7ca614431fde10e995b9ed4a8cac1ee98 | 2,226 | cpp | C++ | TouchMindLib/touchmind/util/OSVersionChecker.cpp | yohei-yoshihara/TouchMind | 3ad878aacde7322ae7c4f94d462e0a2d4a24d3fa | [
"MIT"
] | 15 | 2015-07-10T05:03:27.000Z | 2021-06-08T08:24:46.000Z | TouchMindLib/touchmind/util/OSVersionChecker.cpp | yohei-yoshihara/TouchMind | 3ad878aacde7322ae7c4f94d462e0a2d4a24d3fa | [
"MIT"
] | null | null | null | TouchMindLib/touchmind/util/OSVersionChecker.cpp | yohei-yoshihara/TouchMind | 3ad878aacde7322ae7c4f94d462e0a2d4a24d3fa | [
"MIT"
] | 10 | 2015-01-04T01:23:56.000Z | 2020-12-29T11:35:47.000Z | #include "StdAfx.h"
#include <strsafe.h>
#include "touchmind/logging/Logging.h"
#include "touchmind/util/OSVersionChecker.h"
#include <VersionHelpers.h>
touchmind::util::OSVersion touchmind::util::OSVersionChecker::GetOSVersion() {
if (IsWindows7OrGreater()) {
return OSVersion_Windows7;
} else if (IsWindowsVis... | 32.735294 | 85 | 0.704852 | yohei-yoshihara |
99d02c5369de3bc72a4972d1887bea45fbb04834 | 9,433 | cpp | C++ | lib/RoomLayout.cpp | frasercrmck/LevelSyn | 549e24447e07ef2d325da5bd5decb0e9ad783037 | [
"BSD-3-Clause"
] | null | null | null | lib/RoomLayout.cpp | frasercrmck/LevelSyn | 549e24447e07ef2d325da5bd5decb0e9ad783037 | [
"BSD-3-Clause"
] | null | null | null | lib/RoomLayout.cpp | frasercrmck/LevelSyn | 549e24447e07ef2d325da5bd5decb0e9ad783037 | [
"BSD-3-Clause"
] | null | null | null |
#include "RoomLayout.h"
unsigned CRoomLayout::GetNumOfVertices() {
unsigned numOfVertices = 0;
for (unsigned i = 0; i < GetNumOfRooms(); i++) {
numOfVertices += m_rooms[i].GetNumOfVertices();
}
return numOfVertices;
}
unsigned CRoomLayout::GetNumOfEdges() {
unsigned numOfEdges = 0;
for (unsigned i = ... | 35.066914 | 80 | 0.601717 | frasercrmck |
99d1a894d5518705e7a1063421e3e34e4b615489 | 3,227 | ipp | C++ | boost_1_67_0/boost/beast/core/impl/handler_ptr.ipp | ramcn/gemmx | e23ab5358322a293110b642962b478bc92580636 | [
"BSD-3-Clause"
] | 354 | 2018-08-13T18:19:21.000Z | 2022-03-20T10:37:20.000Z | boost_1_67_0/boost/beast/core/impl/handler_ptr.ipp | ramcn/gemmx | e23ab5358322a293110b642962b478bc92580636 | [
"BSD-3-Clause"
] | 79 | 2018-08-01T11:50:45.000Z | 2020-11-17T13:40:06.000Z | boost_1_67_0/boost/beast/core/impl/handler_ptr.ipp | ramcn/gemmx | e23ab5358322a293110b642962b478bc92580636 | [
"BSD-3-Clause"
] | 90 | 2018-11-15T12:37:51.000Z | 2022-02-14T11:12:39.000Z | //
// Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Official repository: https://github.com/boostorg/beast
//
#ifndef BOOST_BEAST_... | 25.015504 | 79 | 0.631546 | ramcn |
99d1effd5e653c56cf316395290f636e65727f49 | 11,688 | hpp | C++ | optlib/include/ArgParser.hpp | radj307/307lib | 16c5052481b2414ee68beeb7746c006461e8160f | [
"MIT"
] | 1 | 2021-12-09T20:01:21.000Z | 2021-12-09T20:01:21.000Z | optlib/include/ArgParser.hpp | radj307/307lib | 16c5052481b2414ee68beeb7746c006461e8160f | [
"MIT"
] | null | null | null | optlib/include/ArgParser.hpp | radj307/307lib | 16c5052481b2414ee68beeb7746c006461e8160f | [
"MIT"
] | null | null | null | #pragma once
#include <ArgContainer.hpp>
#include <str.hpp>
#include <var.hpp>
#include <vector>
#include <concepts>
namespace opt {
using StrVec = std::vector<std::string>;
static struct {
/// @brief Defines valid argument prefix delimiters. By default, only '-' characters are accepted, however on windows forwa... | 50.16309 | 311 | 0.68027 | radj307 |
99d40dc7cc1066e0ccbcdfc202f4818f151f5235 | 3,016 | cpp | C++ | ReferenceDesign/SampleQTHMI/SDLApps/Templates/Template/TemplateManager.cpp | APCVSRepo/HMI_SDK_LIB | 115d2e4652b932e8fa88cb5f30cb914228589625 | [
"BSD-3-Clause"
] | 8 | 2019-01-04T10:08:39.000Z | 2021-12-13T16:34:08.000Z | ReferenceDesign/SampleQTHMI/SDLApps/Templates/Template/TemplateManager.cpp | APCVSRepo/HMI_SDK_LIB | 115d2e4652b932e8fa88cb5f30cb914228589625 | [
"BSD-3-Clause"
] | 33 | 2017-07-27T09:51:59.000Z | 2018-07-13T09:45:52.000Z | ReferenceDesign/SampleQTHMI/SDLApps/Templates/Template/TemplateManager.cpp | APCVSRepo/HMI_SDK_LIB | 115d2e4652b932e8fa88cb5f30cb914228589625 | [
"BSD-3-Clause"
] | 12 | 2017-07-28T02:54:53.000Z | 2022-02-20T15:48:24.000Z | /**
* @file TemplateManager.cpp
* @brief 模板管理器类,各种模板保存的容器,并提供模板的增删找等操作
* @author fanqiang
* @date 2017-9-21
* @version A001
* @copyright ford
*/
#include "TemplateManager.h"
#include "SDLApps/Templates/Config/Config.h"
#include "SDLApps/UI/SDLAppsView.h"
#include "SDLApps/Templates/Alert/AlertView.h"
#include... | 30.77551 | 106 | 0.754973 | APCVSRepo |
99d41aea8798baa57332d1f404ff490082d44c22 | 20,368 | cpp | C++ | export/release/macos/obj/src/PauseSubState.cpp | tikycookies/KE1.3.1Week7Bulid | 4c51f87f87510f3d1289fa292215e67e09cf109b | [
"Apache-2.0"
] | null | null | null | export/release/macos/obj/src/PauseSubState.cpp | tikycookies/KE1.3.1Week7Bulid | 4c51f87f87510f3d1289fa292215e67e09cf109b | [
"Apache-2.0"
] | null | null | null | export/release/macos/obj/src/PauseSubState.cpp | tikycookies/KE1.3.1Week7Bulid | 4c51f87f87510f3d1289fa292215e67e09cf109b | [
"Apache-2.0"
] | null | null | null | // Generated by Haxe 4.2.2
#include <hxcpp.h>
#ifndef INCLUDED_Alphabet
#include <Alphabet.h>
#endif
#ifndef INCLUDED_Controls
#include <Controls.h>
#endif
#ifndef INCLUDED_CoolUtil
#include <CoolUtil.h>
#endif
#ifndef INCLUDED_MainMenuState
#include <MainMenuState.h>
#endif
#ifndef INCLUDED_MusicBeatState
#include <M... | 41.398374 | 239 | 0.713325 | tikycookies |
99d6829dce868bdbb3ac1e4949d7fa7b9730bea3 | 1,784 | cpp | C++ | src/core/exceptions.cpp | florianbehrens/DeCoF2 | 7d7c0e62c1773fe9fc6d245301fa28eb7e9c7865 | [
"Apache-2.0"
] | 2 | 2015-08-05T02:02:00.000Z | 2020-12-10T05:51:10.000Z | src/core/exceptions.cpp | florianbehrens/DeCoF2 | 7d7c0e62c1773fe9fc6d245301fa28eb7e9c7865 | [
"Apache-2.0"
] | 33 | 2015-07-29T12:11:17.000Z | 2020-07-11T13:16:00.000Z | src/core/exceptions.cpp | florianbehrens/DeCoF2 | 7d7c0e62c1773fe9fc6d245301fa28eb7e9c7865 | [
"Apache-2.0"
] | 6 | 2016-03-08T14:41:46.000Z | 2020-07-09T12:56:52.000Z | /*
* Copyright (c) 2014 Florian Behrens
*
* 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 ... | 26.626866 | 107 | 0.735987 | florianbehrens |
99d89a1f86153a1352696b0a72b5daa2a804796b | 11,381 | cpp | C++ | planning/freespace_planning_algorithms/src/astar_search.cpp | tzhong518/autoware.universe | 580565a24ff9af8c86006905681f3d1036c8724a | [
"Apache-2.0"
] | null | null | null | planning/freespace_planning_algorithms/src/astar_search.cpp | tzhong518/autoware.universe | 580565a24ff9af8c86006905681f3d1036c8724a | [
"Apache-2.0"
] | null | null | null | planning/freespace_planning_algorithms/src/astar_search.cpp | tzhong518/autoware.universe | 580565a24ff9af8c86006905681f3d1036c8724a | [
"Apache-2.0"
] | null | null | null | // Copyright 2015-2019 Autoware Foundation
//
// 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 ... | 30.759459 | 100 | 0.715315 | tzhong518 |
99d900dec8334d8daefcbcdb8dbf61de033aa636 | 1,359 | cpp | C++ | plugin/jsbindings/manual/jsb_pluginx_extension_registration.cpp | CocosRobot/cocos2d-x | 1a527ea331363cfe108b5e2f0ac04a61f8883527 | [
"Zlib",
"libtiff",
"BSD-2-Clause",
"Apache-2.0",
"MIT",
"Libpng",
"curl",
"BSD-3-Clause"
] | 1 | 2016-05-12T11:12:19.000Z | 2016-05-12T11:12:19.000Z | plugin/jsbindings/manual/jsb_pluginx_extension_registration.cpp | nghialv/cocos2d-x | b44da014d2cc7e40689c4f28051e4877c6da3a8a | [
"Zlib",
"libtiff",
"BSD-2-Clause",
"Apache-2.0",
"MIT",
"Libpng",
"curl",
"BSD-3-Clause"
] | null | null | null | plugin/jsbindings/manual/jsb_pluginx_extension_registration.cpp | nghialv/cocos2d-x | b44da014d2cc7e40689c4f28051e4877c6da3a8a | [
"Zlib",
"libtiff",
"BSD-2-Clause",
"Apache-2.0",
"MIT",
"Libpng",
"curl",
"BSD-3-Clause"
] | null | null | null | #include "jsb_pluginx_extension_registration.h"
#include "jsb_pluginx_manual_iap.h"
static jsval anonEvaluate(JSContext *cx, JSObject *thisObj, const char* string) {
jsval out;
if (JS_EvaluateScript(cx, thisObj, string, strlen(string), "(string)", 1, &out) == JS_TRUE) {
return out;
}
return JSV... | 39.970588 | 161 | 0.743194 | CocosRobot |
99db806d4d15bfe7004dd7ebe64f20046db00fde | 2,356 | cpp | C++ | DISE_Server/src/Environment.cpp | castroaj/CPP_ROBUST_DISTRIBUTED_SYMMETRIC-KEY_ENCRYPTION | 054dcccd0f2413bba815b9161544e3b884bbfb11 | [
"Apache-2.0"
] | 1 | 2021-04-12T01:23:53.000Z | 2021-04-12T01:23:53.000Z | DISE_Server/src/Environment.cpp | castroaj/CPP_ROBUST_DISTRIBUTED_SYMMETRIC-KEY_ENCRYPTION | 054dcccd0f2413bba815b9161544e3b884bbfb11 | [
"Apache-2.0"
] | null | null | null | DISE_Server/src/Environment.cpp | castroaj/CPP_ROBUST_DISTRIBUTED_SYMMETRIC-KEY_ENCRYPTION | 054dcccd0f2413bba815b9161544e3b884bbfb11 | [
"Apache-2.0"
] | 1 | 2021-05-16T07:11:46.000Z | 2021-05-16T07:11:46.000Z | #include "../hdr/Environment.h"
Environment::Environment()
{
set_compromised(false);
}
Environment::~Environment()
{
}
void Environment::print_environment()
{
using namespace std;
cout << "ENVIRONMENT:" << endl;
cout << "\tThread Count: " << threadCount << endl;
cout << "\tMachi... | 26.772727 | 90 | 0.471562 | castroaj |
99dfc50b4158042e6d5efc01c78c7f0c42195ed1 | 15,586 | cpp | C++ | packages/websocket/src/Endpoint.cpp | aaronchongth/soss_v2 | b531c2046e24684670a4a2ea2fd3c134fcba0591 | [
"Apache-2.0"
] | null | null | null | packages/websocket/src/Endpoint.cpp | aaronchongth/soss_v2 | b531c2046e24684670a4a2ea2fd3c134fcba0591 | [
"Apache-2.0"
] | null | null | null | packages/websocket/src/Endpoint.cpp | aaronchongth/soss_v2 | b531c2046e24684670a4a2ea2fd3c134fcba0591 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2019 Open Source Robotics Foundation
*
* 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 appl... | 30.924603 | 80 | 0.582767 | aaronchongth |
99e1f5c832739d48cde45bb0df9897c4ec2275f2 | 482 | hpp | C++ | include/cage/http_request.hpp | pancpp/cage | 3a4eb5e3b6d40e6dee8e61bf984c83bf336e5999 | [
"BSL-1.0"
] | null | null | null | include/cage/http_request.hpp | pancpp/cage | 3a4eb5e3b6d40e6dee8e61bf984c83bf336e5999 | [
"BSL-1.0"
] | null | null | null | include/cage/http_request.hpp | pancpp/cage | 3a4eb5e3b6d40e6dee8e61bf984c83bf336e5999 | [
"BSL-1.0"
] | null | null | null | /**
* COPYRIGHT (C) 2020 Leyuan Pan ALL RIGHTS RESERVED.
*
* @brief Conversion between beast http and cage http messages.
* @author Leyuan Pan
* @date Oct 06, 2020
*/
#ifndef CAGE_HTTP_REQUEST_HPP_
#define CAGE_HTTP_REQUEST_HPP_
#include "boost/beast/http/message.hpp"
#include "boost/beast/http/string_body.hpp"
... | 21.909091 | 65 | 0.736515 | pancpp |
99e261bb14b4403a69f54d9b08dcf67c65edda30 | 108 | cpp | C++ | RTEngine/PCG/test-high/check-pcg64_k1024_fast.cpp | RootinTootinCoodin/RTEngine | 916354d8868f6eca5675390071e3ec93df497ed3 | [
"MIT"
] | 613 | 2015-01-27T09:47:36.000Z | 2022-03-17T20:26:02.000Z | third_party/pcg/test-high/check-pcg64_k1024_fast.cpp | Zephilinox/Enki | 5f405fec9ae0f3c3344a99fbee590d76ed4dbe55 | [
"MIT"
] | 59 | 2015-03-12T23:11:48.000Z | 2022-03-31T08:24:52.000Z | third_party/pcg/test-high/check-pcg64_k1024_fast.cpp | Zephilinox/Enki | 5f405fec9ae0f3c3344a99fbee590d76ed4dbe55 | [
"MIT"
] | 104 | 2015-02-24T16:25:17.000Z | 2022-03-22T09:55:51.000Z | #define RNG pcg64_k1024_fast
#define TWO_ARG_INIT 0
#define AWKWARD_128BIT_CODE 1
#include "pcg-test.cpp"
| 15.428571 | 29 | 0.805556 | RootinTootinCoodin |
99e3cd0ed2ef72b24b43d22b3934e9d2b12f891d | 4,722 | cpp | C++ | CPVulkan/Trampoline.cpp | MatthewSmit/CPVulkan | d96f2f6db4cbbabcc41c2023a48ec63d1950dec0 | [
"MIT"
] | 1 | 2019-11-13T00:47:05.000Z | 2019-11-13T00:47:05.000Z | CPVulkan/Trampoline.cpp | MatthewSmit/CPVulkan | d96f2f6db4cbbabcc41c2023a48ec63d1950dec0 | [
"MIT"
] | null | null | null | CPVulkan/Trampoline.cpp | MatthewSmit/CPVulkan | d96f2f6db4cbbabcc41c2023a48ec63d1950dec0 | [
"MIT"
] | null | null | null | #include "Trampoline.h"
// ReSharper disable CppUnusedIncludeDirective
#include "CommandBuffer.h"
#include "Device.h"
#include "Instance.h"
#include "PhysicalDevice.h"
#include "Queue.h"
#define CONCAT_IMPL(x, y) x##y
#define MACRO_CONCAT(x, y) CONCAT_IMPL(x, y)
#ifdef _MSC_VER
# define GET_ARG_COUNT(_, ...) INT... | 69.441176 | 439 | 0.626006 | MatthewSmit |
99e661e87df4b855ac57d42d331879f91de9791c | 3,874 | hpp | C++ | cpp/src/core/dubinswind.hpp | arthur-bit-monnot/fire-rs-saop | 321e16fceebf44e8e97b482c24f37fbf6dd7d162 | [
"BSD-2-Clause"
] | 13 | 2018-11-19T15:51:23.000Z | 2022-01-16T11:24:21.000Z | cpp/src/core/dubinswind.hpp | fire-rs-laas/fire-rs-saop | 321e16fceebf44e8e97b482c24f37fbf6dd7d162 | [
"BSD-2-Clause"
] | 14 | 2017-10-12T16:19:19.000Z | 2018-03-12T12:07:56.000Z | cpp/src/core/dubinswind.hpp | fire-rs-laas/fire-rs-saop | 321e16fceebf44e8e97b482c24f37fbf6dd7d162 | [
"BSD-2-Clause"
] | 4 | 2018-03-12T12:28:55.000Z | 2021-07-07T18:32:17.000Z | /* Copyright (c) 2018, CNRS-LAAS
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 notice, this
list of conditions and the following di... | 35.87037 | 119 | 0.67811 | arthur-bit-monnot |
99e6d56be561a71a1679cc8d94718727ff14b20d | 2,291 | cpp | C++ | chapter_19/BasicLua/main.cpp | erikyuzwa/game-programming-start-to-finish | 01d70e23079e5c240fd94a2287906cbc0f6c2eda | [
"Unlicense"
] | 4 | 2019-09-21T10:18:30.000Z | 2022-01-03T05:47:40.000Z | chapter_19/BasicLua/main.cpp | erikyuzwa/game-programming-start-to-finish | 01d70e23079e5c240fd94a2287906cbc0f6c2eda | [
"Unlicense"
] | 1 | 2020-11-22T19:41:09.000Z | 2020-11-22T19:41:09.000Z | chapter_19/BasicLua/main.cpp | erikyuzwa/game-programming-start-to-finish | 01d70e23079e5c240fd94a2287906cbc0f6c2eda | [
"Unlicense"
] | 1 | 2018-02-12T18:52:42.000Z | 2018-02-12T18:52:42.000Z | /**
* This source code is part of the samples for "Game Programming in C++: Start to Finish".
*
* @Author : Erik Yuzwa
* @Date : 09/01/2005
* @Version: 1.0
*
* @Goal: This small sample just demonstrates how to initialize the Lua subsystem for
* use in your applications. A scripting language such as Lua is great for ... | 17.097015 | 106 | 0.698385 | erikyuzwa |
99e999cb2bafedb3bd16d9e5c8c12cb22b522e24 | 1,605 | hpp | C++ | src/systems/physics/physics_task.hpp | vi3itor/Blunted2 | 318af452e51174a3a4634f3fe19b314385838992 | [
"Unlicense"
] | 56 | 2020-07-22T22:11:06.000Z | 2022-03-09T08:11:43.000Z | GameplayFootball/src/systems/physics/physics_task.hpp | ElsevierSoftwareX/SOFTX-D-20-00016 | 48c28adb72aa167a251636bc92111b3c43c0be67 | [
"MIT"
] | 9 | 2021-04-22T07:06:25.000Z | 2022-01-22T12:54:52.000Z | GameplayFootball/src/systems/physics/physics_task.hpp | ElsevierSoftwareX/SOFTX-D-20-00016 | 48c28adb72aa167a251636bc92111b3c43c0be67 | [
"MIT"
] | 20 | 2017-11-07T16:52:32.000Z | 2022-01-25T02:42:48.000Z | // written by bastiaan konings schuiling 2008 - 2014
// this work is public domain. the code is undocumented, scruffy, untested, and should generally not be used for anything important.
// i do not offer support, so don't ask. to be used for inspiration :)
#ifndef _HPP_SYSTEMS_PHYSICS_TASK
#define _HPP_SYSTEMS_PHYSICS... | 22.928571 | 195 | 0.704673 | vi3itor |
99ec8888c91e434d6fd0ed88da9411dbb7ab494d | 12,385 | cpp | C++ | src/mame/drivers/giclassic.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 26 | 2015-03-31T06:25:51.000Z | 2021-12-14T09:29:04.000Z | src/mame/drivers/giclassic.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | null | null | null | src/mame/drivers/giclassic.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:R. Belmont
/***************************************************************************
GI Classic / GI Classic EX
(c) 1995, 1998 Konami
Preliminary driver by R. Belmont
GI Classic EX Main PCB:
Main CPU: 68000
Video: 056832 + 058143 (GX tilemaps)
Video: 055673(x2) +... | 32.6781 | 170 | 0.711748 | Robbbert |
99f11e1787d02c32e8387f7bee594e5d5a325a7e | 1,425 | cpp | C++ | insensitive-palindrome/solution.cpp | devcbandung/clashofcode-testdata-and-solution | fc0a9a85552ec15691018ec24e6020fdb5424ebd | [
"MIT"
] | 5 | 2020-06-28T07:20:05.000Z | 2020-07-01T08:13:08.000Z | insensitive-palindrome/solution.cpp | devcbandung/clashofcode-testdata-and-solution | fc0a9a85552ec15691018ec24e6020fdb5424ebd | [
"MIT"
] | null | null | null | insensitive-palindrome/solution.cpp | devcbandung/clashofcode-testdata-and-solution | fc0a9a85552ec15691018ec24e6020fdb5424ebd | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
// Program kita akan tetap benar jika kita menggunakan toLowerCase
char toUpperCase(char c) {
// Jika c sudah upper-case, maka tidak perlu ubah apa-apa
if ('A' <= c && c <= 'Z') {
return c;
}
// Jika c bukan upper-case, maka asumsikan c adalah lower-case.
// ... | 29.6875 | 107 | 0.630877 | devcbandung |
99f2edc30a935cbd32b4c2e431869041fb4f1209 | 2,825 | hpp | C++ | src/ctb.hpp | qingqibing/cesium-terrain-builder | ec5cac390c8f32fe990934da1423941805dbe233 | [
"Apache-2.0"
] | null | null | null | src/ctb.hpp | qingqibing/cesium-terrain-builder | ec5cac390c8f32fe990934da1423941805dbe233 | [
"Apache-2.0"
] | null | null | null | src/ctb.hpp | qingqibing/cesium-terrain-builder | ec5cac390c8f32fe990934da1423941805dbe233 | [
"Apache-2.0"
] | null | null | null | #ifndef CTB_HPP
#define CTB_HPP
/*******************************************************************************
* Copyright 2014 GeoData <geodata@soton.ac.uk>
*
* 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 co... | 32.848837 | 83 | 0.665133 | qingqibing |
99f3f735ac14ac41dee94f6848db8fa91d52f157 | 9,235 | cpp | C++ | Cores/Mednafen/mednafen/src/pce_fast/huc.cpp | ianclawson/Provenance | e9cc8c57f41a4d122a998cf53ffd69b1513d4205 | [
"BSD-3-Clause"
] | 3,459 | 2015-01-07T14:07:09.000Z | 2022-03-25T03:51:10.000Z | Cores/Mednafen/mednafen/src/pce_fast/huc.cpp | ianclawson/Provenance | e9cc8c57f41a4d122a998cf53ffd69b1513d4205 | [
"BSD-3-Clause"
] | 1,046 | 2018-03-24T17:56:16.000Z | 2022-03-23T08:13:09.000Z | Cores/Mednafen/mednafen/src/pce_fast/huc.cpp | ianclawson/Provenance | e9cc8c57f41a4d122a998cf53ffd69b1513d4205 | [
"BSD-3-Clause"
] | 549 | 2015-01-07T14:07:15.000Z | 2022-01-07T16:13:05.000Z | /* Mednafen - Multi-system Emulator
*
* Portions of this file Copyright (C) 2004 Ki
*
* 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 optio... | 22.746305 | 197 | 0.653817 | ianclawson |
99f64b6766c922beb97bc9a7656c3dd73f4402ea | 25,148 | cpp | C++ | src/pgen/exp_SedovTaylor.cpp | roarkhabegger/athena-public-version | 3446d2f4601c1dbbfd7a98d4f53335d97e21e195 | [
"BSD-3-Clause"
] | null | null | null | src/pgen/exp_SedovTaylor.cpp | roarkhabegger/athena-public-version | 3446d2f4601c1dbbfd7a98d4f53335d97e21e195 | [
"BSD-3-Clause"
] | null | null | null | src/pgen/exp_SedovTaylor.cpp | roarkhabegger/athena-public-version | 3446d2f4601c1dbbfd7a98d4f53335d97e21e195 | [
"BSD-3-Clause"
] | null | null | null | //========================================================================================
// Athena++ astrophysical MHD code
// Copyright(C) 2014 James M. Stone <jmstone@princeton.edu> and other code contributors
// Licensed under the 3-clause BSD License, see LICENSE file for details
//===============================... | 35.620397 | 143 | 0.513401 | roarkhabegger |
99f6ec8311129dedad476d977d388c3df2c09214 | 10,593 | cxx | C++ | Dynamixel/libDynamixel/DynaCommBotSense.cxx | roadnarrows-robotics/rnr-sdk | aee20c65b49fb3eedf924c5c2ec9f19f4f1a1b29 | [
"MIT"
] | null | null | null | Dynamixel/libDynamixel/DynaCommBotSense.cxx | roadnarrows-robotics/rnr-sdk | aee20c65b49fb3eedf924c5c2ec9f19f4f1a1b29 | [
"MIT"
] | null | null | null | Dynamixel/libDynamixel/DynaCommBotSense.cxx | roadnarrows-robotics/rnr-sdk | aee20c65b49fb3eedf924c5c2ec9f19f4f1a1b29 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
//
// Package: Dynamixel
//
// Library: libDynamixel
//
// File: DynaCommBotSense.cxx
//
/*! \file
*
* $LastChangedDate: 2015-03-04 12:38:36 -0700 (Wed, 04 Mar 2015) $
* $Rev: 3873 $
*
* \brief RoadNarrows Dynamixel bus commu... | 23.281319 | 80 | 0.611064 | roadnarrows-robotics |
99fac02a61f1f9cf01a4bdf129cbe396f66cdc7e | 1,500 | cpp | C++ | codeforces/847 B. Preparing for Merge Sort adhoc custom sorting .cpp | priojeetpriyom/competitive-programming | 0024328972d4e14c04c0fd5d6dd3cdf131d84f9d | [
"MIT"
] | 1 | 2021-11-22T02:26:43.000Z | 2021-11-22T02:26:43.000Z | codeforces/847 B. Preparing for Merge Sort adhoc custom sorting .cpp | priojeetpriyom/competitive-programming | 0024328972d4e14c04c0fd5d6dd3cdf131d84f9d | [
"MIT"
] | null | null | null | codeforces/847 B. Preparing for Merge Sort adhoc custom sorting .cpp | priojeetpriyom/competitive-programming | 0024328972d4e14c04c0fd5d6dd3cdf131d84f9d | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> pi;
typedef unsigned long long ull;
//#define MX 200100;
const int MX = 200100;
int ara[MX], tails[MX], tails_len=0;
vector<int> ans[MX];
int get_pos(int val) {
if(tails_len==0) {
tails[++tail... | 18.518519 | 69 | 0.461333 | priojeetpriyom |
99fae46aa3ac1c7821799aaa7908eed09de1b79d | 1,652 | cpp | C++ | gacrux/visualization/Artist.cpp | michaellengyel/experimental | 9183d61831d9c3e22ad2d24659fc219247e89537 | [
"Apache-2.0"
] | null | null | null | gacrux/visualization/Artist.cpp | michaellengyel/experimental | 9183d61831d9c3e22ad2d24659fc219247e89537 | [
"Apache-2.0"
] | null | null | null | gacrux/visualization/Artist.cpp | michaellengyel/experimental | 9183d61831d9c3e22ad2d24659fc219247e89537 | [
"Apache-2.0"
] | null | null | null | //
// Created by michael on 2020. 11. 18..
//
#include "Artist.h"
Artist::Artist() {
}
Artist::~Artist() {
}
void Artist::renderPoints(Points_2D& points_2D, int width, int height, std::string title) {
cv::Mat image(width, height, CV_8UC3, cv::Scalar(0, 0, 0));
for (int i = 0; i < points_2D.m_points_2D_v... | 26.645161 | 98 | 0.597458 | michaellengyel |
99fcf1d356a972ef915670d0f29c696130c9ffb7 | 2,640 | cpp | C++ | Axis.CommonLibrary/application/output/collectors/summarizers/SummaryNodeVelocityCollector.cpp | renato-yuzup/axis-fem | 2e8d325eb9c8e99285f513b4c1218ef53eb0ab22 | [
"MIT"
] | 2 | 2021-07-23T08:49:54.000Z | 2021-07-29T22:07:30.000Z | Axis.CommonLibrary/application/output/collectors/summarizers/SummaryNodeVelocityCollector.cpp | renato-yuzup/axis-fem | 2e8d325eb9c8e99285f513b4c1218ef53eb0ab22 | [
"MIT"
] | null | null | null | Axis.CommonLibrary/application/output/collectors/summarizers/SummaryNodeVelocityCollector.cpp | renato-yuzup/axis-fem | 2e8d325eb9c8e99285f513b4c1218ef53eb0ab22 | [
"MIT"
] | null | null | null | #include "SummaryNodeVelocityCollector.hpp"
#include <assert.h>
#include "domain/elements/Node.hpp"
#include "domain/analyses/NumericalModel.hpp"
namespace aaocs = axis::application::output::collectors::summarizers;
namespace aaoc = axis::application::output::collectors;
namespace aaor = axis::application::output::rec... | 40 | 102 | 0.659848 | renato-yuzup |
8201fb56e961368defa50ec1093fde45507f9e71 | 483 | cpp | C++ | src/gkom/World.cpp | akowalew/mill-opengl | 91ef11e6cdbfe691e0073d9883e42c0a29d29b45 | [
"MIT"
] | null | null | null | src/gkom/World.cpp | akowalew/mill-opengl | 91ef11e6cdbfe691e0073d9883e42c0a29d29b45 | [
"MIT"
] | null | null | null | src/gkom/World.cpp | akowalew/mill-opengl | 91ef11e6cdbfe691e0073d9883e42c0a29d29b45 | [
"MIT"
] | null | null | null | #include "gkom/World.hpp"
#include <cassert>
#include "gkom/Logging.hpp"
#include "gkom/Entity.hpp"
namespace gkom {
World::World()
: logger_(Logging::getLogger("World"))
{
logger_("Initialized");
}
World::~World() = default;
Entity* World::createEntity()
{
logger_("Creating new entity...");
const auto& enti... | 14.636364 | 72 | 0.677019 | akowalew |
8202a2d19ed1893d8b732124980ab260f9c8a3bb | 6,251 | cpp | C++ | tests/unit_tests/boundaries/test_distributed_boundaries.cpp | tehrengruber/gridtools | 92bbbf65174d440c28a33babffde41b46ed943de | [
"BSD-3-Clause"
] | null | null | null | tests/unit_tests/boundaries/test_distributed_boundaries.cpp | tehrengruber/gridtools | 92bbbf65174d440c28a33babffde41b46ed943de | [
"BSD-3-Clause"
] | null | null | null | tests/unit_tests/boundaries/test_distributed_boundaries.cpp | tehrengruber/gridtools | 92bbbf65174d440c28a33babffde41b46ed943de | [
"BSD-3-Clause"
] | null | null | null | /*
* GridTools
*
* Copyright (c) 2014-2019, ETH Zurich
* All rights reserved.
*
* Please, refer to the LICENSE file in the root directory.
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <gridtools/boundaries/distributed_boundaries.hpp>
#include <functional>
#include <gtest/gtest.h>
#include <mpi.h>
#in... | 38.115854 | 118 | 0.550952 | tehrengruber |
8208c06db473a046db0f796a9ac38e76ee938c09 | 6,519 | cpp | C++ | src/cvkb/vkbinputlayout.cpp | CELLINKAB/qtcvkb | 5b870f8ea4b42480eb678b065778de5dab36b199 | [
"MIT"
] | null | null | null | src/cvkb/vkbinputlayout.cpp | CELLINKAB/qtcvkb | 5b870f8ea4b42480eb678b065778de5dab36b199 | [
"MIT"
] | null | null | null | src/cvkb/vkbinputlayout.cpp | CELLINKAB/qtcvkb | 5b870f8ea4b42480eb678b065778de5dab36b199 | [
"MIT"
] | null | null | null | /*
* The MIT License (MIT)
*
* Copyright (C) 2020 CELLINK AB <info@cellink.com>
*
* 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 ... | 28.343478 | 124 | 0.700414 | CELLINKAB |
8209e2ef8491b4ce3bb1b7c65433a0643530ec5b | 8,396 | cpp | C++ | modules/ti.UI/win32/win32_menu_item_impl.cpp | pjunior/titanium | 2d5846849fb33291afd73d79c117ea990b54db77 | [
"Apache-2.0"
] | 3 | 2016-03-15T23:50:35.000Z | 2016-05-09T09:36:10.000Z | modules/ti.UI/win32/win32_menu_item_impl.cpp | pjunior/titanium | 2d5846849fb33291afd73d79c117ea990b54db77 | [
"Apache-2.0"
] | null | null | null | modules/ti.UI/win32/win32_menu_item_impl.cpp | pjunior/titanium | 2d5846849fb33291afd73d79c117ea990b54db77 | [
"Apache-2.0"
] | null | null | null | /**
* Appcelerator Titanium - licensed under the Apache Public License 2
* see LICENSE in the root folder for details on the license.
* Copyright (c) 2009 Appcelerator, Inc. All Rights Reserved.
*/
#include "win32_menu_item_impl.h"
#include <windows.h>
#include <shellapi.h>
#include "../ui_module.h"
#define STU... | 23.452514 | 131 | 0.685565 | pjunior |
820a94cb0e53991069651071f1be3a9c7f31b118 | 8,309 | cpp | C++ | src/Molassembler/RankingInformation.cpp | Dom1L/molassembler | dafc656b1aa846b65b1fd1e06f3740ceedcf22db | [
"BSD-3-Clause"
] | null | null | null | src/Molassembler/RankingInformation.cpp | Dom1L/molassembler | dafc656b1aa846b65b1fd1e06f3740ceedcf22db | [
"BSD-3-Clause"
] | null | null | null | src/Molassembler/RankingInformation.cpp | Dom1L/molassembler | dafc656b1aa846b65b1fd1e06f3740ceedcf22db | [
"BSD-3-Clause"
] | null | null | null | /*!@file
* @copyright This code is licensed under the 3-clause BSD license.
* Copyright ETH Zurich, Laboratory of Physical Chemistry, Reiher Group.
* See LICENSE.txt for details.
*/
#include "Molassembler/RankingInformation.h"
#include "Molassembler/Temple/Adaptors/Zip.h"
#include "Molassembler/Temple/Function... | 28.95122 | 97 | 0.676134 | Dom1L |
820ab2c68f0b103bfc527273895225e2d085daa2 | 17,057 | cc | C++ | chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc | xzhan96/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-01-07T18:51:03.000Z | 2021-01-07T18:51:03.000Z | chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc | emilio/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc | emilio/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // 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 "chrome/browser/ui/views/ash/tab_scrubber.h"
#include <memory>
#include "ash/display/event_transformation_handler.h"
#include "ash/shell.h"... | 35.6841 | 80 | 0.694671 | xzhan96 |
820e23ceb531d3721628e697aaad19e291464065 | 35,418 | tpp | C++ | src/hypro/representations/TaylorModel/TaylorModel.tpp | hypro/hypro | 52ae4ffe0a8427977fce8d7979fffb82a1bc28f6 | [
"MIT"
] | 22 | 2016-10-05T12:19:01.000Z | 2022-01-23T09:14:41.000Z | src/hypro/representations/TaylorModel/TaylorModel.tpp | hypro/hypro | 52ae4ffe0a8427977fce8d7979fffb82a1bc28f6 | [
"MIT"
] | 23 | 2017-05-08T15:02:39.000Z | 2021-11-03T16:43:39.000Z | src/hypro/representations/TaylorModel/TaylorModel.tpp | hypro/hypro | 52ae4ffe0a8427977fce8d7979fffb82a1bc28f6 | [
"MIT"
] | 12 | 2017-06-07T23:51:09.000Z | 2022-01-04T13:06:21.000Z | /*
* TaylorModel.cpp
*
* Created on: Sep 8, 2014
* Author: chen
*/
#include "TaylorModel.h"
namespace hypro {
template <typename Number>
TaylorModel<Number>::TaylorModel() {
carl::Interval<Number> intZero( 0 );
remainder = intZero;
}
template <typename Number>
TaylorModel<Number>::~TaylorModel() {
}
t... | 26.372301 | 131 | 0.689085 | hypro |
820ec7f9003920286dd5b4cb0962f8521e2eeffe | 5,314 | cpp | C++ | Source/WebCore/css/CSSVariableReferenceValue.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 6 | 2021-07-05T16:09:39.000Z | 2022-03-06T22:44:42.000Z | Source/WebCore/css/CSSVariableReferenceValue.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 7 | 2022-03-15T13:25:39.000Z | 2022-03-15T13:25:44.000Z | Source/WebCore/css/CSSVariableReferenceValue.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | null | null | null | // Copyright 2015 The Chromium Authors. All rights reserved.
// Copyright (C) 2016-2020 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:
//
// * Redistributions of source code mus... | 38.230216 | 153 | 0.741814 | jacadcaps |
8213c2610908d184cec52c29641ea2d98cf43bc6 | 40,322 | cpp | C++ | fallen/DDLibrary/Source/MFX_Miles.cpp | inco1/MuckyFoot-UrbanChaos | 81aa5cfe18ef7fe2d1b1f9911bd33a47c22d5390 | [
"MIT"
] | 188 | 2017-05-20T03:26:33.000Z | 2022-03-10T16:58:39.000Z | fallen/DDLibrary/Source/MFX_Miles.cpp | dizzy2003/MuckyFoot-UrbanChaos | 81aa5cfe18ef7fe2d1b1f9911bd33a47c22d5390 | [
"MIT"
] | 7 | 2017-05-28T14:28:13.000Z | 2022-01-09T01:47:38.000Z | fallen/DDLibrary/Source/MFX_Miles.cpp | inco1/MuckyFoot-UrbanChaos | 81aa5cfe18ef7fe2d1b1f9911bd33a47c22d5390 | [
"MIT"
] | 43 | 2017-05-20T07:31:32.000Z | 2022-03-09T18:39:35.000Z |
#if 0
// MFX_Miles.cpp
//
// Miles Sound System
// Making it asynchronous:
//
// 1. Keep everything the same. vptr->smp points to sample, sptr->dptr points to data, only "pending" is marked for sample
// 2. When IO completes, go through voices and trigger/modify according to data in vptr
#define ASYNC_FILE_IO 1
#... | 19.283596 | 142 | 0.651307 | inco1 |
8216b2ad8d36f682cea3517ed4e58d711e06e6df | 11,620 | cpp | C++ | modules/registration/src/noise_model_based_cloud_integration.cpp | ToMadoRe/v4r | 7cb817e05cb9d99cb2f68db009c27d7144d07f09 | [
"MIT"
] | 17 | 2015-11-16T14:21:10.000Z | 2020-11-09T02:57:33.000Z | modules/registration/src/noise_model_based_cloud_integration.cpp | ToMadoRe/v4r | 7cb817e05cb9d99cb2f68db009c27d7144d07f09 | [
"MIT"
] | 35 | 2015-07-27T15:04:43.000Z | 2019-08-22T10:52:35.000Z | modules/registration/src/noise_model_based_cloud_integration.cpp | ToMadoRe/v4r | 7cb817e05cb9d99cb2f68db009c27d7144d07f09 | [
"MIT"
] | 18 | 2015-08-06T09:26:27.000Z | 2020-09-03T01:31:00.000Z | /******************************************************************************
* Copyright (c) 2013 Aitor Aldoma, Thomas Faeulhammer
*
* 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 wi... | 36.199377 | 131 | 0.615749 | ToMadoRe |
82198c49da3946fa600def6400d63c0bed9b5110 | 3,495 | hh | C++ | src/c++/librecordio/exception.hh | darhieus/mapreduce | cd81823732f76baefdff58421082c7f16ddab238 | [
"Apache-2.0"
] | 194 | 2015-01-07T11:12:52.000Z | 2022-03-14T09:19:24.000Z | src/c++/librecordio/exception.hh | darhieus/mapreduce | cd81823732f76baefdff58421082c7f16ddab238 | [
"Apache-2.0"
] | 10 | 2019-11-13T06:03:05.000Z | 2021-08-02T17:05:22.000Z | src/c++/librecordio/exception.hh | darhieus/mapreduce | cd81823732f76baefdff58421082c7f16ddab238 | [
"Apache-2.0"
] | 172 | 2015-01-14T19:25:48.000Z | 2022-02-24T02:42:02.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 you under the Apache License, Version 2.0 (the
* "License"); you... | 26.884615 | 78 | 0.650358 | darhieus |
821a12d3fe1b2174645fd078ae8e84cca86a772c | 5,525 | cpp | C++ | tests/data/TestFluidDataSet.cpp | jamesb93/flucoma-core | 3e964dd569f6fff15bd5249a705dc0da8f7b2ad8 | [
"BSD-3-Clause"
] | null | null | null | tests/data/TestFluidDataSet.cpp | jamesb93/flucoma-core | 3e964dd569f6fff15bd5249a705dc0da8f7b2ad8 | [
"BSD-3-Clause"
] | null | null | null | tests/data/TestFluidDataSet.cpp | jamesb93/flucoma-core | 3e964dd569f6fff15bd5249a705dc0da8f7b2ad8 | [
"BSD-3-Clause"
] | null | null | null | #define APPROVALS_CATCH
#define CATCH_CONFIG_MAIN
// #include <catch2/catch.hpp>
#include <ApprovalTests.hpp>
// #include <catch2/catch_test_macros.hpp>
#include <data/FluidTensor.hpp>
#include <data/FluidMeta.hpp>
#include <data/FluidDataSet.hpp>
#include <CatchUtils.hpp>
#include <array>
#include <vector>
#in... | 29.545455 | 83 | 0.595294 | jamesb93 |