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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9c6a8f7f55f68a24396a4a72961f387dccea481c | 589 | cpp | C++ | libcxx/test/libcxx/atomics/libcpp-has-no-threads.compile.fail.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 2,338 | 2018-06-19T17:34:51.000Z | 2022-03-31T11:00:37.000Z | libcxx/test/libcxx/atomics/libcpp-has-no-threads.compile.fail.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 3,740 | 2019-01-23T15:36:48.000Z | 2022-03-31T22:01:13.000Z | libcxx/test/libcxx/atomics/libcpp-has-no-threads.compile.fail.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 500 | 2019-01-23T07:49:22.000Z | 2022-03-30T02:59:37.000Z | //===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 25.608696 | 80 | 0.531409 | mkinsner |
9c6abfadce61d1ac87d8202af555cb903905054b | 2,608 | cpp | C++ | alica_tests/autogenerated/src/Configurations/ReadConfigurationPlan1588061334567.cpp | rapyuta-robotics/alica | 4235004015f3ecd5c98426712117997f0ceb4aea | [
"MIT"
] | 22 | 2018-03-08T05:43:45.000Z | 2022-03-28T15:03:49.000Z | alica_tests/autogenerated/src/Configurations/ReadConfigurationPlan1588061334567.cpp | rapyuta-robotics/alica | 4235004015f3ecd5c98426712117997f0ceb4aea | [
"MIT"
] | 50 | 2018-03-30T10:32:01.000Z | 2022-03-22T11:58:34.000Z | alica_tests/autogenerated/src/Configurations/ReadConfigurationPlan1588061334567.cpp | rapyuta-robotics/alica | 4235004015f3ecd5c98426712117997f0ceb4aea | [
"MIT"
] | 6 | 2019-03-04T12:28:27.000Z | 2022-02-10T04:09:01.000Z | #include "Configurations/ReadConfigurationPlan1588061334567.h"
/*PROTECTED REGION ID(eph1588061334567) ENABLED START*/
// Add additional options here
/*PROTECTED REGION END*/
namespace alica
{
// Plan: ReadConfigurationPlan (1588061334567)
//
// Tasks:
// - DefaultTask (1225112227903) (Entrypoint: 1588069183324)
//... | 28.977778 | 102 | 0.718942 | rapyuta-robotics |
9c6c26cbe1ad4e02bc173e69f1182f543df27166 | 7,393 | cpp | C++ | examples/cpp/MultipleWindows.cpp | leomariga/Open3D | d197339fcd29ad0803a182ef8953d89e563f94d7 | [
"MIT"
] | 1 | 2021-08-06T06:16:08.000Z | 2021-08-06T06:16:08.000Z | examples/cpp/MultipleWindows.cpp | leomariga/Open3D | d197339fcd29ad0803a182ef8953d89e563f94d7 | [
"MIT"
] | 3 | 2021-10-07T01:47:59.000Z | 2022-03-19T02:44:45.000Z | examples/cpp/MultipleWindows.cpp | leomariga/Open3D | d197339fcd29ad0803a182ef8953d89e563f94d7 | [
"MIT"
] | 1 | 2021-07-23T15:15:04.000Z | 2021-07-23T15:15:04.000Z | // ----------------------------------------------------------------------------
// - Open3D: www.open3d.org -
// ----------------------------------------------------------------------------
// The MIT License (MIT)
//
// Copyright (c) 2018-2021 www.open3d.org
//
// Perm... | 40.179348 | 80 | 0.563371 | leomariga |
9c6c70b3fb4b9efcd227a1d8a11f15c94f207c93 | 16,949 | hpp | C++ | c4/color_plane.hpp | akasitskyi/c4 | 56925e25430bc73cd407a8976656797b04d52348 | [
"MIT"
] | 2 | 2020-11-11T12:28:27.000Z | 2022-01-31T20:31:28.000Z | c4/color_plane.hpp | akasitskyi/c4 | 56925e25430bc73cd407a8976656797b04d52348 | [
"MIT"
] | 15 | 2018-09-30T12:48:50.000Z | 2020-07-14T18:36:50.000Z | c4/color_plane.hpp | akasitskyi/c4 | 56925e25430bc73cd407a8976656797b04d52348 | [
"MIT"
] | 3 | 2019-01-04T07:04:44.000Z | 2020-09-06T16:53:21.000Z | //MIT License
//
//Copyright(c) 2018 Alex Kasitskyi
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files(the "Software"), to deal
//in the Software without restriction, including without limitation the rights
//to use, copy, modify, merg... | 36.215812 | 305 | 0.507877 | akasitskyi |
9c6c7940f6b9ec1d211178aaeb85167865c4fa11 | 3,314 | cxx | C++ | GUISupport/Qt/vtkQtListView.cxx | garyc618/GitTagBug | 0b1cdbf5a6f6b9b23fa03ff1d9f4a84953831864 | [
"BSD-3-Clause"
] | 1 | 2019-05-31T06:45:40.000Z | 2019-05-31T06:45:40.000Z | GUISupport/Qt/vtkQtListView.cxx | garyc618/GitTagBug | 0b1cdbf5a6f6b9b23fa03ff1d9f4a84953831864 | [
"BSD-3-Clause"
] | null | null | null | GUISupport/Qt/vtkQtListView.cxx | garyc618/GitTagBug | 0b1cdbf5a6f6b9b23fa03ff1d9f4a84953831864 | [
"BSD-3-Clause"
] | null | null | null | /*=========================================================================
Program: Visualization Toolkit
Module: vtkQtListView.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is... | 30.685185 | 78 | 0.57242 | garyc618 |
9c6d268f18ebb2c2bafee2693648469da86c18ae | 1,479 | hpp | C++ | src/Animus/Error.hpp | RobertZ2011/animus | 525f3eb6b93bd71c60889261b4d7f1d5a2d52e69 | [
"BSD-3-Clause"
] | null | null | null | src/Animus/Error.hpp | RobertZ2011/animus | 525f3eb6b93bd71c60889261b4d7f1d5a2d52e69 | [
"BSD-3-Clause"
] | null | null | null | src/Animus/Error.hpp | RobertZ2011/animus | 525f3eb6b93bd71c60889261b4d7f1d5a2d52e69 | [
"BSD-3-Clause"
] | null | null | null | #ifndef ANIMUS_ERROR
#define ANIMUS_ERROR
#include <exception>
#include "types/types.hpp"
#include "macros/debug.hpp"
#include "String.hpp"
namespace Animus {
class FilePath;
ANIMUS_REQUIRES_STD
typedef std::exception Exception;
template<>
String toString<Exception>(Exception e);
class Fil... | 22.753846 | 55 | 0.648411 | RobertZ2011 |
9c6dbdb68a3782646162e49f1a23ab4db1ea444b | 4,130 | cpp | C++ | src/api/c/features.cpp | pavanky/arrayfire | f983a79c7d402450bd2a704bbc1015b89f0cd504 | [
"BSD-3-Clause"
] | 4 | 2015-12-16T09:41:32.000Z | 2018-10-29T10:38:53.000Z | src/api/c/features.cpp | pavanky/arrayfire | f983a79c7d402450bd2a704bbc1015b89f0cd504 | [
"BSD-3-Clause"
] | 3 | 2015-11-15T18:43:47.000Z | 2015-12-16T09:43:14.000Z | src/api/c/features.cpp | pavanky/arrayfire | f983a79c7d402450bd2a704bbc1015b89f0cd504 | [
"BSD-3-Clause"
] | null | null | null | /*******************************************************
* Copyright (c) 2014, ArrayFire
* All rights reserved.
*
* This file is distributed under 3-clause BSD license.
* The complete license agreement can be obtained at:
* http://arrayfire.com/licenses/BSD-3-Clause
**********************************************... | 22.81768 | 80 | 0.559564 | pavanky |
9c7070900f09fb35ec57e9140aa7e520c2a795bd | 5,061 | cc | C++ | ChiTech/ChiMesh/SweepUtilities/SweepBoundary/sweep_boundaries.cc | Jrgriss2/chi-tech | db75df761d5f25ca4b79ee19d36f886ef240c2b5 | [
"MIT"
] | null | null | null | ChiTech/ChiMesh/SweepUtilities/SweepBoundary/sweep_boundaries.cc | Jrgriss2/chi-tech | db75df761d5f25ca4b79ee19d36f886ef240c2b5 | [
"MIT"
] | null | null | null | ChiTech/ChiMesh/SweepUtilities/SweepBoundary/sweep_boundaries.cc | Jrgriss2/chi-tech | db75df761d5f25ca4b79ee19d36f886ef240c2b5 | [
"MIT"
] | null | null | null | #include "sweep_boundaries.h"
#include <chi_log.h>
#include <chi_mpi.h>
extern ChiLog& chi_log;
////###################################################################
///**Returns a flag indicating whether this bndry is reflecting or not.*/
//bool chi_mesh::sweep_management::BoundaryBase::IsReflecting()
//{
// if (... | 30.487952 | 83 | 0.53033 | Jrgriss2 |
9c7070e4952ad51824a8ec9001552e06bed19541 | 2,008 | cpp | C++ | src/Tankist/_old_files/Battler/Network/ClientTCP.cpp | Sasha7b9/U-Cube | 442927ff1391bfe78cdf520ad303c7dc29086b46 | [
"MIT"
] | null | null | null | src/Tankist/_old_files/Battler/Network/ClientTCP.cpp | Sasha7b9/U-Cube | 442927ff1391bfe78cdf520ad303c7dc29086b46 | [
"MIT"
] | null | null | null | src/Tankist/_old_files/Battler/Network/ClientTCP.cpp | Sasha7b9/U-Cube | 442927ff1391bfe78cdf520ad303c7dc29086b46 | [
"MIT"
] | null | null | null | /* (c) Aleksandr Shevchenko e-mail : Sasha7b9@tut.by */
#include <stdafx.h>
#include "ClientTCP.h"
static const int SIZE_BUFFER = 1024 * 10;
static uint8 buffer[SIZE_BUFFER];
static StateRecieve stateRecieve = WAIT_MSG;
static uint8 typeMessage = 0;
static int recvBytes = 0;
static BitSet32 lengthBuffer;
static v... | 22.561798 | 97 | 0.606076 | Sasha7b9 |
9c71361e56669242af745684ec1ffb7baf5ca14c | 124,888 | cpp | C++ | Scripts/UnityEngine.SubsystemsModule.cpp | SympactDev/ChickenSimulator | 655d578b78263992dea04031954daf59d45383c7 | [
"Apache-2.0"
] | null | null | null | Scripts/UnityEngine.SubsystemsModule.cpp | SympactDev/ChickenSimulator | 655d578b78263992dea04031954daf59d45383c7 | [
"Apache-2.0"
] | null | null | null | Scripts/UnityEngine.SubsystemsModule.cpp | SympactDev/ChickenSimulator | 655d578b78263992dea04031954daf59d45383c7 | [
"Apache-2.0"
] | null | null | null | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
// System.Collections.Generic.List`1<UnityEngine.IntegratedSubsystem>
struct List_1_t2DAF7481782912A6F8E6180AC19B83A5EEFEE9EF;
// System.Collections.Generic.List`1<UnityEngine.Inte... | 55.309123 | 482 | 0.860227 | SympactDev |
9c735bf6af29787e98f05da1227267d7a744d6f0 | 615 | cpp | C++ | 08. String to Integer (atoi).cpp | corn1ng/LeetCode-Solution | e7b6f77dd407c9a5cc8be43dc9b0e5d9bc185b95 | [
"Apache-2.0"
] | 6 | 2017-11-18T02:16:35.000Z | 2017-12-17T06:30:40.000Z | 08. String to Integer (atoi).cpp | corn1ng/LeetCode-Solution | e7b6f77dd407c9a5cc8be43dc9b0e5d9bc185b95 | [
"Apache-2.0"
] | null | null | null | 08. String to Integer (atoi).cpp | corn1ng/LeetCode-Solution | e7b6f77dd407c9a5cc8be43dc9b0e5d9bc185b95 | [
"Apache-2.0"
] | null | null | null | class Solution {
public:
int myAtoi(string str)
{
long result = 0;
int indicator = 1;
for(int i = 0; i<str.size();)
{
i = str.find_first_not_of(' ');
if(str[i] == '-' || str[i] == '+')
indicator = (str[i++] == '-')? -1 : 1;
while('0'<= str[i] && str[i] <= '9')
... | 25.625 | 75 | 0.466667 | corn1ng |
9c73ecae9b79b0c5b9de87ea14b95de23ecd250d | 900 | cpp | C++ | Algorithm/Problem50/main.cpp | zsef123/ModernCppChallengeStudy | 058c0a6c5e41758f53336e554f29b497c9881fae | [
"MIT"
] | null | null | null | Algorithm/Problem50/main.cpp | zsef123/ModernCppChallengeStudy | 058c0a6c5e41758f53336e554f29b497c9881fae | [
"MIT"
] | null | null | null | Algorithm/Problem50/main.cpp | zsef123/ModernCppChallengeStudy | 058c0a6c5e41758f53336e554f29b497c9881fae | [
"MIT"
] | null | null | null | #include <gsl/gsl>
#include <iostream>
#include <vector>
#include <string>
// Filtering a list of phone numbers
// type const& == const type & ??
auto phone_filter(std::vector<std::string> const& vec, int region) {
std::vector<std::string> filtered;
for (auto const& num : vec) {
int start = 0;
... | 23.684211 | 68 | 0.526667 | zsef123 |
9c7453cd80a2006e8089b0fad4094d4be7f4f562 | 1,564 | cpp | C++ | ds18b20.cpp | rsmohamad/pi_controller | d85c0a4823d57104cfa8c12e6aeb60b0318676b0 | [
"MIT"
] | null | null | null | ds18b20.cpp | rsmohamad/pi_controller | d85c0a4823d57104cfa8c12e6aeb60b0318676b0 | [
"MIT"
] | null | null | null | ds18b20.cpp | rsmohamad/pi_controller | d85c0a4823d57104cfa8c12e6aeb60b0318676b0 | [
"MIT"
] | null | null | null | #include "ds18b20.h"
#include <dirent.h>
#include <string.h>
#include <unistd.h>
#include <iostream>
#include <QTimer>
const std::string prefixPath = "/sys/bus/w1/devices/";
const std::string suffixPath = "/w1_slave";
DS18B20::DS18B20() {
// Load kernel modules
system("modprobe w1-gpio");
system("modprobe w1-t... | 21.135135 | 67 | 0.633632 | rsmohamad |
9c746bbadd0da38723f11ccb962acb91fa8862fe | 814 | hpp | C++ | Games/NetGame/Code/Game/GameNetMessages.hpp | tonyatpeking/SMU_SD | 00ebc9c1acd437128de3562cf355f1d81e375975 | [
"MIT"
] | null | null | null | Games/NetGame/Code/Game/GameNetMessages.hpp | tonyatpeking/SMU_SD | 00ebc9c1acd437128de3562cf355f1d81e375975 | [
"MIT"
] | null | null | null | Games/NetGame/Code/Game/GameNetMessages.hpp | tonyatpeking/SMU_SD | 00ebc9c1acd437128de3562cf355f1d81e375975 | [
"MIT"
] | 1 | 2019-10-02T01:48:54.000Z | 2019-10-02T01:48:54.000Z | #pragma once
#include "Engine/Net/NetCommonH.hpp"
#include "Engine/Core/EngineCommonH.hpp"
class NetMessage;
class NetCube;
class ClientInputs;
namespace GameNetMessages
{
enum eNetGameMessageIdx : uint8
{
TEST_GAME_MESSAGE = eNetCoreMessageIdx::NET_CORE_COUNT,
UNRELIABLE_TEST = 128,
RELIABLE_TEST = 129... | 25.4375 | 73 | 0.791155 | tonyatpeking |
9c752bbabc0b259c4b2c69150c641d15da3ae3b7 | 129 | cpp | C++ | tensorflow-yolo-ios/dependencies/eigen/test/sparseqr.cpp | initialz/tensorflow-yolo-face-ios | ba74cf39168d0128e91318e65a1b88ce4d65a167 | [
"MIT"
] | 27 | 2017-06-07T19:07:32.000Z | 2020-10-15T10:09:12.000Z | tensorflow-yolo-ios/dependencies/eigen/test/sparseqr.cpp | initialz/tensorflow-yolo-face-ios | ba74cf39168d0128e91318e65a1b88ce4d65a167 | [
"MIT"
] | 3 | 2017-08-25T17:39:46.000Z | 2017-11-18T03:40:55.000Z | tensorflow-yolo-ios/dependencies/eigen/test/sparseqr.cpp | initialz/tensorflow-yolo-face-ios | ba74cf39168d0128e91318e65a1b88ce4d65a167 | [
"MIT"
] | 10 | 2017-06-16T18:04:45.000Z | 2018-07-05T17:33:01.000Z | version https://git-lfs.github.com/spec/v1
oid sha256:1df6c55d9fbc80cdae67fa7355baed48fe6e8196b1cd76fa1d5763e15721b107
size 3094
| 32.25 | 75 | 0.883721 | initialz |
9c7736eee9384d59c68884a83c6d8be46ce5ed63 | 5,560 | cpp | C++ | src/Arabic/edt/ar_DescLinkFeatureFunctions.cpp | BBN-E/serif | 1e2662d82fb1c377ec3c79355a5a9b0644606cb4 | [
"Apache-2.0"
] | 1 | 2022-03-24T19:57:00.000Z | 2022-03-24T19:57:00.000Z | src/Arabic/edt/ar_DescLinkFeatureFunctions.cpp | BBN-E/serif | 1e2662d82fb1c377ec3c79355a5a9b0644606cb4 | [
"Apache-2.0"
] | null | null | null | src/Arabic/edt/ar_DescLinkFeatureFunctions.cpp | BBN-E/serif | 1e2662d82fb1c377ec3c79355a5a9b0644606cb4 | [
"Apache-2.0"
] | null | null | null | // Copyright 2008 by BBN Technologies Corp.
// All Rights Reserved.
#include "Generic/common/leak_detection.h"
#include "Arabic/edt/ar_DescLinkFeatureFunctions.h"
#include "Generic/theories/Mention.h"
#include "Generic/theories/MentionSet.h"
#include "Generic/theories/EntitySet.h"
#include "Generic/theories/... | 30.382514 | 124 | 0.647482 | BBN-E |
9c7746da65462720e07a234844d2612ea26162d2 | 30,733 | cpp | C++ | externals/skia/src/codec/SkGifCodec.cpp | terrajobst/linux-packaging-skiasharp | 47dbb2ff9ae01305b190f409ccea00b3b4f0bc79 | [
"MIT"
] | 1 | 2019-10-29T14:36:32.000Z | 2019-10-29T14:36:32.000Z | externals/skia/src/codec/SkGifCodec.cpp | terrajobst/linux-packaging-skiasharp | 47dbb2ff9ae01305b190f409ccea00b3b4f0bc79 | [
"MIT"
] | 1 | 2017-06-18T00:25:03.000Z | 2017-11-29T16:01:48.000Z | externals/skia/src/codec/SkGifCodec.cpp | terrajobst/linux-packaging-skiasharp | 47dbb2ff9ae01305b190f409ccea00b3b4f0bc79 | [
"MIT"
] | 5 | 2017-11-30T06:06:50.000Z | 2022-03-31T21:48:49.000Z | /*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/*
* Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted pro... | 46.424471 | 100 | 0.623987 | terrajobst |
9c77d24bdcf222bf25c72a96c52c9a3bbc20d852 | 5,287 | hpp | C++ | include/ztd/text/encoding_error.hpp | vector-of-bool/text | a4d00c9f6047c73e2b04a0b58c95f10335c73405 | [
"Apache-2.0"
] | null | null | null | include/ztd/text/encoding_error.hpp | vector-of-bool/text | a4d00c9f6047c73e2b04a0b58c95f10335c73405 | [
"Apache-2.0"
] | null | null | null | include/ztd/text/encoding_error.hpp | vector-of-bool/text | a4d00c9f6047c73e2b04a0b58c95f10335c73405 | [
"Apache-2.0"
] | null | null | null | // =============================================================================
//
// ztd.text
// Copyright © 2021 JeanHeyd "ThePhD" Meneide and Shepherd's Oasis, LLC
// Contact: opensource@soasis.org
//
// Commercial License Usage
// Licensees holding valid commercial ztd.text licenses may use this file in
//... | 38.591241 | 115 | 0.682239 | vector-of-bool |
9c7921a2eaa86335ccd3f612a8ebb09a51a32e19 | 3,411 | hpp | C++ | include/aula/core/encoding/base.hpp | amenoyoya/aula | 337ad7e552a24449446c0fe567967ea372661bd7 | [
"MIT"
] | null | null | null | include/aula/core/encoding/base.hpp | amenoyoya/aula | 337ad7e552a24449446c0fe567967ea372661bd7 | [
"MIT"
] | null | null | null | include/aula/core/encoding/base.hpp | amenoyoya/aula | 337ad7e552a24449446c0fe567967ea372661bd7 | [
"MIT"
] | null | null | null | #pragma once
/*** 内部文字エンコーディングは UTF-8 で統一 ***/
#include "../base/object.hpp"
namespace Aula {
/// 文字列エンコーディング関連
namespace Encoding {
/// エンコーディングタイプ
enum Type {
UNKNOWN,
BINARY,
ANSI,
SJIS,
JIS,
EUC,
ISO2022J... | 32.179245 | 116 | 0.522134 | amenoyoya |
9c797df7d5706dd486efcb8177dc4faf27e33af4 | 11,829 | hpp | C++ | recipes-cgl/cgl/cgl/src/CglGMI/CglGMIParam.hpp | Justin790126/meta-coinor | 0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9 | [
"MIT"
] | null | null | null | recipes-cgl/cgl/cgl/src/CglGMI/CglGMIParam.hpp | Justin790126/meta-coinor | 0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9 | [
"MIT"
] | null | null | null | recipes-cgl/cgl/cgl/src/CglGMI/CglGMIParam.hpp | Justin790126/meta-coinor | 0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9 | [
"MIT"
] | null | null | null | // Name: CglGMIParam.hpp
// Author: Giacomo Nannicini
// Singapore University of Technology and Design
// email: nannicini@sutd.edu.sg
// based on CglRedSplitParam.hpp by Francois Margot
// Date: 11/17/09
//-------------------------------------------------------------------------... | 37.671975 | 79 | 0.692958 | Justin790126 |
9c7c0f8e33dd30d0e296c048c48d704cc8af5cc0 | 1,113 | hpp | C++ | SDK/ARKSurvivalEvolved_Buff_GasBursts_Volcano_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 10 | 2020-02-17T19:08:46.000Z | 2021-07-31T11:07:19.000Z | SDK/ARKSurvivalEvolved_Buff_GasBursts_Volcano_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 9 | 2020-02-17T18:15:41.000Z | 2021-06-06T19:17:34.000Z | SDK/ARKSurvivalEvolved_Buff_GasBursts_Volcano_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 3 | 2020-07-22T17:42:07.000Z | 2021-06-19T17:16:13.000Z | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_Buff_GasBursts_Volcano_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//--------------------------------------------------... | 26.5 | 222 | 0.699012 | 2bite |
9c7d0916457b3e049acac543b2a436029bcf7d3e | 7,930 | cxx | C++ | ThirdParty/Havok/include/Common/Compat/Patches/2013_3/hkdPatches_2013_3.cxx | wobbier/source3-engine | f59df759ee197aef5191cf13768c303c6ed17bf5 | [
"MIT"
] | 11 | 2016-08-02T03:40:36.000Z | 2022-03-15T13:41:29.000Z | ThirdParty/Havok/include/Common/Compat/Patches/2013_3/hkdPatches_2013_3.cxx | wobbier/source3-engine | f59df759ee197aef5191cf13768c303c6ed17bf5 | [
"MIT"
] | null | null | null | ThirdParty/Havok/include/Common/Compat/Patches/2013_3/hkdPatches_2013_3.cxx | wobbier/source3-engine | f59df759ee197aef5191cf13768c303c6ed17bf5 | [
"MIT"
] | 8 | 2017-03-17T05:59:25.000Z | 2021-02-27T08:51:46.000Z | /*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Product and Trade Secret source code contains trade secrets ... | 43.571429 | 251 | 0.823077 | wobbier |
9c7d1f5f7422f058839e78714f11a6ebcde6d6a2 | 903 | cpp | C++ | Interview Preparation Kit - CPP/03. Dictionaries and Hashmaps/003. Sherlock and Anagrams.cpp | Snehakri022/HackerrankPractice | 15c2da0bfb4bce744b345c4a3613ae9a769f2676 | [
"MIT"
] | 831 | 2018-05-12T19:06:09.000Z | 2022-03-31T19:33:54.000Z | Interview Preparation Kit - CPP/03. Dictionaries and Hashmaps/003. Sherlock and Anagrams.cpp | Snehakri022/HackerrankPractice | 15c2da0bfb4bce744b345c4a3613ae9a769f2676 | [
"MIT"
] | 2 | 2019-06-17T14:58:56.000Z | 2021-03-05T23:49:59.000Z | Interview Preparation Kit - CPP/03. Dictionaries and Hashmaps/003. Sherlock and Anagrams.cpp | Snehakri022/HackerrankPractice | 15c2da0bfb4bce744b345c4a3613ae9a769f2676 | [
"MIT"
] | 457 | 2018-06-11T07:01:57.000Z | 2022-03-28T11:08:34.000Z | // Problem: https://www.hackerrank.com/challenges/sherlock-and-anagrams/problem
// Score: 50
#include <iostream>
#include <string>
#include <algorithm>
#include <map>
using namespace std;
int main(){
int n;
cin >> n;
for (int t = 0; t < n; t++){
string str;
cin >> str;
map<strin... | 20.066667 | 79 | 0.409745 | Snehakri022 |
9c7e247843f822f58ae435bcef40e5a7463a6d7b | 3,511 | cc | C++ | cloudwf/src/model/ListApStaStatusRequest.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | cloudwf/src/model/ListApStaStatusRequest.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | cloudwf/src/model/ListApStaStatusRequest.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... | 23.251656 | 82 | 0.749929 | iamzken |
9c7f9cbaf88a9959eea7bfb55b988729f70323a3 | 2,677 | cpp | C++ | Plus7/Modules/Gfx/Src/SdlGl/GlBlendState.cpp | txfx/plus7 | 44df3622ea8abe296d921759144e5f0d630b2945 | [
"MIT"
] | null | null | null | Plus7/Modules/Gfx/Src/SdlGl/GlBlendState.cpp | txfx/plus7 | 44df3622ea8abe296d921759144e5f0d630b2945 | [
"MIT"
] | null | null | null | Plus7/Modules/Gfx/Src/SdlGl/GlBlendState.cpp | txfx/plus7 | 44df3622ea8abe296d921759144e5f0d630b2945 | [
"MIT"
] | null | null | null | #include "SdlGl/GlBlendState.hpp"
#include <Utils/Assert.hpp>
namespace p7 {
namespace gfx {
namespace {
GLenum ToGl(BlendFactor _mode)
{
switch (_mode)
{
case BlendFactor::Zero:
return GL_ZERO;
case BlendFactor::One:
return GL_ONE;
case BlendFactor::SrcColor:
return GL_SRC... | 26.245098 | 64 | 0.676877 | txfx |
9c806fbfd667620deda77d6969bb637d017a9fb9 | 4,052 | cpp | C++ | CodeReview/src/commands/CCodeReviewComment.cpp | dimitar-asenov/Envision | 1ab5c846fca502b7fe73ae4aff59e8746248446c | [
"BSD-3-Clause"
] | 75 | 2015-01-18T13:29:43.000Z | 2022-01-14T08:02:01.000Z | CodeReview/src/commands/CCodeReviewComment.cpp | dimitar-asenov/Envision | 1ab5c846fca502b7fe73ae4aff59e8746248446c | [
"BSD-3-Clause"
] | 364 | 2015-01-06T10:20:21.000Z | 2018-12-17T20:12:28.000Z | CodeReview/src/commands/CCodeReviewComment.cpp | dimitar-asenov/Envision | 1ab5c846fca502b7fe73ae4aff59e8746248446c | [
"BSD-3-Clause"
] | 14 | 2015-01-09T00:44:24.000Z | 2022-02-22T15:01:44.000Z | /***********************************************************************************************************************
**
** Copyright (c) 2011, 2016 ETH Zurich
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
** following c... | 42.652632 | 120 | 0.720385 | dimitar-asenov |
9c8491f5264122260f355e92073bad852f03aa9d | 3,922 | cpp | C++ | core/test/SoftTimerTest.cpp | perimeno/LIO | 62578bdee261735afa23f7c0c8437e927425aef6 | [
"MIT"
] | 25 | 2019-08-07T02:38:39.000Z | 2022-01-14T03:13:58.000Z | core/test/SoftTimerTest.cpp | perimeno/LIO | 62578bdee261735afa23f7c0c8437e927425aef6 | [
"MIT"
] | 6 | 2020-01-17T20:51:15.000Z | 2021-03-11T12:38:29.000Z | core/test/SoftTimerTest.cpp | perimeno/LIO | 62578bdee261735afa23f7c0c8437e927425aef6 | [
"MIT"
] | 2 | 2019-08-24T19:02:12.000Z | 2020-06-11T06:14:34.000Z | #include <gtest/gtest.h>
#include <gmock/gmock.h>
#include <thread>
#include <future>
#include "SoftTimer.h"
using namespace std;
using namespace LIO;
using testing::Return;
ACTION_P(SignalCallback,promise){
promise->set_value();
}
class SoftTimerTest:public testing::Test{
public:
MOCK_METHOD0(timeoutCallba... | 33.810345 | 95 | 0.736614 | perimeno |
9c855d8c173cfb98705482064533bfa65db1cd3f | 10,739 | cpp | C++ | src/passes/TrapMode.cpp | brion/binaryen | 977aa84f357d051b0ddc60f204c6b743463c3c6f | [
"Apache-2.0"
] | null | null | null | src/passes/TrapMode.cpp | brion/binaryen | 977aa84f357d051b0ddc60f204c6b743463c3c6f | [
"Apache-2.0"
] | null | null | null | src/passes/TrapMode.cpp | brion/binaryen | 977aa84f357d051b0ddc60f204c6b743463c3c6f | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2017 WebAssembly Community Group participants
*
* 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... | 32.740854 | 80 | 0.683676 | brion |
9c87c51a97c4421addfaa8e5ece97abaa99b33f4 | 949 | hh | C++ | build/x86/enums/Characteristic.hh | billionshang/gem5 | 18cc4294f32315595f865d07d1f33434e92b06b2 | [
"BSD-3-Clause"
] | 5 | 2019-12-12T16:26:09.000Z | 2022-03-17T03:23:33.000Z | build/X86/enums/Characteristic.hh | zhoushuxin/impl_of_HPCA2018 | 594d807fb0c0712bb7766122c4efe3321d012687 | [
"BSD-3-Clause"
] | 1 | 2020-08-20T05:53:30.000Z | 2020-08-20T05:53:30.000Z | build/X86/enums/Characteristic.hh | zhoushuxin/impl_of_HPCA2018 | 594d807fb0c0712bb7766122c4efe3321d012687 | [
"BSD-3-Clause"
] | null | null | null | #ifndef __ENUM__Enums__Characteristic__
#define __ENUM__Enums__Characteristic__
namespace Enums {
enum Characteristic {
APM = 10,
CDBoot = 15,
CGA_Mono = 30,
EDD = 19,
EISA = 6,
ESCD = 14,
Flash = 11,
Floppy_3_5_2_88MB = 25,
Floppy_3_5_720KB =... | 22.595238 | 61 | 0.531085 | billionshang |
9c8c5670a30b5ae9e953705bbe10b29b2c313ae6 | 1,265 | hpp | C++ | include/System/ComponentModel/TypeConverter_StandardValuesCollection.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | include/System/ComponentModel/TypeConverter_StandardValuesCollection.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | include/System/ComponentModel/TypeConverter_StandardValuesCollection.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | 1 | 2022-03-30T21:07:35.000Z | 2022-03-30T21:07:35.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: System.ComponentModel.TypeConverter... | 46.851852 | 158 | 0.756522 | v0idp |
9c8e0164e2ae0912463351e1d0841ffae07f3294 | 8,902 | hpp | C++ | DxLibEngine/3rdparty/FastFunc.hpp | darknesswind/LiteSTG | ec24641948369e6ee1a3bdcc0d6b78515f1a0374 | [
"MIT"
] | 2 | 2015-09-11T08:17:20.000Z | 2018-03-13T07:21:15.000Z | DxLibEngine/3rdparty/FastFunc.hpp | darknesswind/LiteSTG | ec24641948369e6ee1a3bdcc0d6b78515f1a0374 | [
"MIT"
] | null | null | null | DxLibEngine/3rdparty/FastFunc.hpp | darknesswind/LiteSTG | ec24641948369e6ee1a3bdcc0d6b78515f1a0374 | [
"MIT"
] | null | null | null | #ifndef SSVU_FASTFUNC
#define SSVU_FASTFUNC
#include <cstring>
#include <type_traits>
#include <cassert>
#include <cstddef>
#include <memory>
#include <new>
#include <utility>
#ifndef constexpr
#define constexpr const
#endif
#ifndef noexcept
#define noexcept
#endif
namespace ssvu
{
#if _MSC_VER >= 1800
namespace I... | 47.860215 | 237 | 0.722197 | darknesswind |
9c8faec10be00269a642a7d957b1bc3e8ea8eabc | 2,343 | cpp | C++ | CodeForces-Contest/1276/B.cpp | Tech-Intellegent/CodeForces-Solution | 2f291a38b80b8ff2a2595b2e526716468ff26bf8 | [
"MIT"
] | 1 | 2022-01-23T07:18:07.000Z | 2022-01-23T07:18:07.000Z | CodeForces-Contest/1276/B.cpp | Tech-Intellegent/CodeForces-Solution | 2f291a38b80b8ff2a2595b2e526716468ff26bf8 | [
"MIT"
] | null | null | null | CodeForces-Contest/1276/B.cpp | Tech-Intellegent/CodeForces-Solution | 2f291a38b80b8ff2a2595b2e526716468ff26bf8 | [
"MIT"
] | 1 | 2022-02-05T11:53:04.000Z | 2022-02-05T11:53:04.000Z | #include<bits/stdc++.h>
using namespace std;
#define pii pair<int,int>
#define pll pair<ll,ll>
#define eb emplace_back
#define ll long long
#define nl '\n'
#define deb(x) cerr<<#x" = "<<x<<nl
#define in() ( { int a ; scanf("%d",&a); a; } )
const int N = 3e5 + 9;
const int mod = 1e9 + 7;
struct dsu {
vector<int> par... | 23.908163 | 72 | 0.414853 | Tech-Intellegent |
9c904c2072017ec1c0c8c15040ece66b30084419 | 30,567 | cxx | C++ | src/connection_base.cxx | mpapierski/pqxx | a4916e042b1845ef193bd657733adfd3b5dafaec | [
"BSD-3-Clause"
] | null | null | null | src/connection_base.cxx | mpapierski/pqxx | a4916e042b1845ef193bd657733adfd3b5dafaec | [
"BSD-3-Clause"
] | null | null | null | src/connection_base.cxx | mpapierski/pqxx | a4916e042b1845ef193bd657733adfd3b5dafaec | [
"BSD-3-Clause"
] | null | null | null | /*-------------------------------------------------------------------------
*
* FILE
* connection_base.cxx
*
* DESCRIPTION
* implementation of the pqxx::connection_base abstract base class.
* pqxx::connection_base encapsulates a frontend to backend connection
*
* Copyright (c) 2001-2015, Jeroen T. V... | 22.82823 | 87 | 0.671836 | mpapierski |
9c987e59eae32e12af209dcda318a10226d51962 | 866 | cpp | C++ | Molecularity/Objects/RenderableGameObject.cpp | kyle-robinson/directx-game | ff5964a6edd3241b703409976f27d68205b9ddd3 | [
"CC-BY-4.0"
] | 1 | 2021-06-14T22:44:01.000Z | 2021-06-14T22:44:01.000Z | Molecularity/Objects/RenderableGameObject.cpp | kyle-robinson/directx-game | ff5964a6edd3241b703409976f27d68205b9ddd3 | [
"CC-BY-4.0"
] | null | null | null | Molecularity/Objects/RenderableGameObject.cpp | kyle-robinson/directx-game | ff5964a6edd3241b703409976f27d68205b9ddd3 | [
"CC-BY-4.0"
] | 1 | 2021-06-04T12:44:06.000Z | 2021-06-04T12:44:06.000Z | #include "RenderableGameObject.h"
#include "PhysicsModel.h"
#include "Camera.h"
bool RenderableGameObject::Initialize(
const std::string& filePath,
ID3D11Device* device,
ID3D11DeviceContext* context,
ConstantBuffer<CB_VS_matrix>& cb_vs_vertexshader )
{
if ( !model.Initialize( filePath, device, context, cb_vs_vert... | 26.242424 | 74 | 0.743649 | kyle-robinson |
9c99294d15a63bd543ecbd828b2ddfab607b8451 | 1,158 | cpp | C++ | 2019Homeworks/20191026_Mock_MidTerm/4.BacteriaMulti.cpp | Guyutongxue/Introduction_to_Computation | 062f688fe3ffb8e29cfaf139223e4994edbf64d6 | [
"WTFPL"
] | 8 | 2019-10-09T14:33:42.000Z | 2020-12-03T00:49:29.000Z | 2019Homeworks/20191026_Mock_MidTerm/4.BacteriaMulti.cpp | Guyutongxue/Introduction_to_Computation | 062f688fe3ffb8e29cfaf139223e4994edbf64d6 | [
"WTFPL"
] | null | null | null | 2019Homeworks/20191026_Mock_MidTerm/4.BacteriaMulti.cpp | Guyutongxue/Introduction_to_Computation | 062f688fe3ffb8e29cfaf139223e4994edbf64d6 | [
"WTFPL"
] | null | null | null | #include<iostream>
#include<cstring>
using namespace std;
int tie_n[10][10];
int tie[10][10];
int tie_o[10][10];
void gen(int x,int y){
int b=tie[x][y];
if(x!=1){
if(y!=1)tie_n[x-1][y-1]+=b;
tie_n[x-1][y]+=b;
if(y!=9)tie_n[x-1][y+1]+=b;
}
if(y!=1)tie_n[x][y-1]+=b;
tie_n[x][y]... | 23.16 | 45 | 0.418826 | Guyutongxue |
9c9cc61371f6bd8d0ec219d8e5f48f6c7baca41d | 3,098 | cpp | C++ | libs/ml/tests/unit/ops/top_k.cpp | kitounliu/ledger | 3fed5269efbdd68b059648678af01a02e90b41bd | [
"Apache-2.0"
] | null | null | null | libs/ml/tests/unit/ops/top_k.cpp | kitounliu/ledger | 3fed5269efbdd68b059648678af01a02e90b41bd | [
"Apache-2.0"
] | null | null | null | libs/ml/tests/unit/ops/top_k.cpp | kitounliu/ledger | 3fed5269efbdd68b059648678af01a02e90b41bd | [
"Apache-2.0"
] | null | null | null | //------------------------------------------------------------------------------
//
// Copyright 2018-2020 Fetch.AI Limited
//
// 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
//
// ... | 31.292929 | 96 | 0.651065 | kitounliu |
9ca39d237f105a1e3928efe116024cec9401f6ca | 789 | cpp | C++ | IIS2MDC.cpp | chisl/IIS2MDC-cpp98 | c55b4fe9e5b7f00cd7fe76ba8e8cf827ef747575 | [
"MIT"
] | null | null | null | IIS2MDC.cpp | chisl/IIS2MDC-cpp98 | c55b4fe9e5b7f00cd7fe76ba8e8cf827ef747575 | [
"MIT"
] | null | null | null | IIS2MDC.cpp | chisl/IIS2MDC-cpp98 | c55b4fe9e5b7f00cd7fe76ba8e8cf827ef747575 | [
"MIT"
] | null | null | null | /*
* name: IIS2MDC
* description: High-accuracy, ultra-low-power, 3-axis digital output magnetometer
* manuf: STMicroelectronics
* version: Version 0.1
* url: http://www.st.com/resource/en/datasheet/iis2mdc.pdf
* date: 2018-01-11
* author https://chisl.io/
* file: II... | 41.526316 | 107 | 0.332066 | chisl |
9ca3cdfa145eb8887328576ef4d6d8be7b59b415 | 242 | cpp | C++ | practice/srv.cpp | MaxHonggg/professional_boost | 6fff73d3b9832644068dc8fe0443be813c7237b4 | [
"BSD-2-Clause"
] | 47 | 2016-05-20T08:49:47.000Z | 2022-01-03T01:17:07.000Z | practice/srv.cpp | MaxHonggg/professional_boost | 6fff73d3b9832644068dc8fe0443be813c7237b4 | [
"BSD-2-Clause"
] | null | null | null | practice/srv.cpp | MaxHonggg/professional_boost | 6fff73d3b9832644068dc8fe0443be813c7237b4 | [
"BSD-2-Clause"
] | 37 | 2016-07-25T04:52:08.000Z | 2022-02-14T03:55:08.000Z | // Copyright (c) 2016
// Author: Chrono Law
#include <std.hpp>
//using namespace std;
using std::cout;
using std::endl;
#include "tcp_server.hpp"
int main()
{
cout << "server start" << endl;
tcp_server svr(6677);
svr.run();
}
| 13.444444 | 35 | 0.628099 | MaxHonggg |
9ca489b43b8485c167e48c8795767ae538626906 | 1,459 | cpp | C++ | RobWork/src/rw/core/DOMParser.cpp | ZLW07/RobWork | e713881f809d866b9a0749eeb15f6763e64044b3 | [
"Apache-2.0"
] | 1 | 2021-12-29T14:16:27.000Z | 2021-12-29T14:16:27.000Z | RobWork/src/rw/core/DOMParser.cpp | ZLW07/RobWork | e713881f809d866b9a0749eeb15f6763e64044b3 | [
"Apache-2.0"
] | null | null | null | RobWork/src/rw/core/DOMParser.cpp | ZLW07/RobWork | e713881f809d866b9a0749eeb15f6763e64044b3 | [
"Apache-2.0"
] | null | null | null | #include "DOMParser.hpp"
#include <rw/core/BoostXMLParser.hpp>
#include <rw/core/StringUtil.hpp>
#include <string>
#include <vector>
using namespace rw::core;
rw::core::Ptr< DOMParser > DOMParser::make ()
{
return rw::core::ownedPtr (new BoostXMLParser ());
}
rw::core::Ptr< DOMParser > DOMParser::Factory::getDO... | 28.057692 | 87 | 0.636737 | ZLW07 |
9ca7f60de47e260be55384f00fc8961989a1e91d | 1,713 | hpp | C++ | openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/boost/1.69.0-r0/boost_1_69_0/boost/spirit/home/support/nonterminal/locals.hpp | sotaoverride/backup | ca53a10b72295387ef4948a9289cb78ab70bc449 | [
"Apache-2.0"
] | null | null | null | openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/boost/1.69.0-r0/boost_1_69_0/boost/spirit/home/support/nonterminal/locals.hpp | sotaoverride/backup | ca53a10b72295387ef4948a9289cb78ab70bc449 | [
"Apache-2.0"
] | null | null | null | openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/boost/1.69.0-r0/boost_1_69_0/boost/spirit/home/support/nonterminal/locals.hpp | sotaoverride/backup | ca53a10b72295387ef4948a9289cb78ab70bc449 | [
"Apache-2.0"
] | null | null | null | /*=============================================================================
Copyright (c) 2001-2011 Joel de Guzman
Copyright (c) 2001-2011 Hartmut Kaiser
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... | 29.033898 | 80 | 0.63164 | sotaoverride |
9ca93a8a09b901e9302a14bf9b106b560974b736 | 6,208 | cpp | C++ | LiquidCore/src/ios/V82JSC/BigInt.cpp | vivocha/LiquidCore | 8fdc3abc4a7a4601ae9049f163b6b9debd2eb9a4 | [
"MIT"
] | null | null | null | LiquidCore/src/ios/V82JSC/BigInt.cpp | vivocha/LiquidCore | 8fdc3abc4a7a4601ae9049f163b6b9debd2eb9a4 | [
"MIT"
] | null | null | null | LiquidCore/src/ios/V82JSC/BigInt.cpp | vivocha/LiquidCore | 8fdc3abc4a7a4601ae9049f163b6b9debd2eb9a4 | [
"MIT"
] | 1 | 2020-05-04T22:27:52.000Z | 2020-05-04T22:27:52.000Z | /*
* Copyright (c) 2018 Eric Lange
*
* Distributed under the MIT License. See LICENSE.md at
* https://github.com/LiquidPlayer/LiquidCore for terms and conditions.
*/
#include "V82JSC.h"
#include <iomanip>
using namespace V82JSC;
using namespace v8;
Local<BigInt> BigInt::New(Isolate* isolate, int64_t value)
{
... | 37.853659 | 140 | 0.67107 | vivocha |
9caadc813a6ed2aeed32189d8e0520ce2feb1ba9 | 1,075 | cpp | C++ | net/ip_tools.cpp | AlexRuzin/CPP_API | 404e2c298244e0e29cf06b8e1def4ed59a149cb2 | [
"MIT"
] | 14 | 2018-01-04T18:30:59.000Z | 2021-07-07T15:15:15.000Z | net/ip_tools.cpp | AlexRuzin/CPP_API | 404e2c298244e0e29cf06b8e1def4ed59a149cb2 | [
"MIT"
] | null | null | null | net/ip_tools.cpp | AlexRuzin/CPP_API | 404e2c298244e0e29cf06b8e1def4ed59a149cb2 | [
"MIT"
] | 6 | 2018-08-31T03:45:43.000Z | 2019-06-05T02:55:46.000Z | #include <Windows.h>
#include "ip_tools.h"
#include "../../_api/common/mem.h"
#include "../../_api/common/str.h"
using namespace ip_tools;
bool ip_tools::is_ip(__in LPCSTR name)
{
IP_ADDR_A address;
mem::zeromem(&address, sizeof(IP_ADDR_A));
PCHAR ptr = (PCHAR)name;
for (UINT i = 0; i <= 3; i++) {
PCHAR end = ... | 21.5 | 92 | 0.557209 | AlexRuzin |
9cab2dd20c51fd6ea54b1e86cf525e159c69134a | 1,347 | cpp | C++ | model_qtlog4/main.cpp | snailone008/Gameinterface-Doudizhu | 8f7f9e3a4e73651ec9aa7eecb2f57a82ea6879ba | [
"Apache-2.0"
] | null | null | null | model_qtlog4/main.cpp | snailone008/Gameinterface-Doudizhu | 8f7f9e3a4e73651ec9aa7eecb2f57a82ea6879ba | [
"Apache-2.0"
] | null | null | null | model_qtlog4/main.cpp | snailone008/Gameinterface-Doudizhu | 8f7f9e3a4e73651ec9aa7eecb2f57a82ea6879ba | [
"Apache-2.0"
] | null | null | null | #include <QApplication>
#include <qblog4qt.h>
#include<QDebug>
#include "qsampledata.h"
#include <QJsonDocument>
#include <QJsonObject>
#include "reflectionobject.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
Log4Info("hello world log4info4!", "abcdefg");
Log4Warn("Log4Warn", "234");
... | 23.224138 | 77 | 0.64588 | snailone008 |
9cac069f3770e1db1fd827f37c8d5c80ec8968f1 | 2,172 | cpp | C++ | src/engine/sound/openal/OpenALSound.cpp | zapolnov/TankHero | a907417dc171cb0d4ea04539ae09ba37ee7782ab | [
"MIT"
] | null | null | null | src/engine/sound/openal/OpenALSound.cpp | zapolnov/TankHero | a907417dc171cb0d4ea04539ae09ba37ee7782ab | [
"MIT"
] | null | null | null | src/engine/sound/openal/OpenALSound.cpp | zapolnov/TankHero | a907417dc171cb0d4ea04539ae09ba37ee7782ab | [
"MIT"
] | null | null | null | #include "OpenALSound.h"
#include "src/engine/utility/StbVorbis.h"
#include <cassert>
#include <cstdlib>
OpenALSound::OpenALSound(ALCcontext* context)
: mContext(context)
, mBuffer(0)
{
if (mContext) {
alcMakeContextCurrent(mContext);
alGenBuffers(1, &mBuffer);
}
}
OpenALSound::~OpenAL... | 25.857143 | 93 | 0.653315 | zapolnov |
9cac1274daa87fbff02456d349556d966c05d541 | 11,618 | cpp | C++ | emulator/src/mame/video/macrossp.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | 1 | 2022-01-15T21:38:38.000Z | 2022-01-15T21:38:38.000Z | emulator/src/mame/video/macrossp.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | emulator/src/mame/video/macrossp.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | // license:BSD-3-Clause
// copyright-holders:David Haywood,Paul Priest
/* video/macrossp.c */
#include "emu.h"
#include "includes/macrossp.h"
//#define DEBUG_KEYS 1
/*
Sprite list is drawn backwards, and priorities with backgrounds are not transitive
=== Vid Registers ===
[0] - tiles
0x000003ff - global scrollx
0x0... | 24.719149 | 178 | 0.671028 | rjw57 |
9cac391d059ec894addeef7939febfa7c87bf144 | 19,318 | cpp | C++ | src/sedml/SedAppliedDimension.cpp | AMDmi3/libSEDML | a59c87df9298c8d72b199531f96b531bf4b4d9bb | [
"BSD-2-Clause"
] | 7 | 2016-01-12T03:53:45.000Z | 2019-10-17T21:23:37.000Z | src/sedml/SedAppliedDimension.cpp | AMDmi3/libSEDML | a59c87df9298c8d72b199531f96b531bf4b4d9bb | [
"BSD-2-Clause"
] | 138 | 2015-05-29T19:18:34.000Z | 2022-03-07T08:32:44.000Z | src/sedml/SedAppliedDimension.cpp | AMDmi3/libSEDML | a59c87df9298c8d72b199531f96b531bf4b4d9bb | [
"BSD-2-Clause"
] | 12 | 2015-02-24T23:37:26.000Z | 2021-11-02T17:11:27.000Z | /**
* @file SedAppliedDimension.cpp
* @brief Implementation of the SedAppliedDimension class.
* @author DEVISER
*
* <!--------------------------------------------------------------------------
* This file is part of libSEDML. Please visit http://sed-ml.org for more
* information about SED-ML. The latest version ... | 20.442328 | 79 | 0.679522 | AMDmi3 |
66d3f14490e99fa43bd8cf9eefa12c2c5094ef6d | 31,195 | cpp | C++ | Final_Project/EyeGazeTrackingSystem_speedUp_vf/EyeGazeTrackingSystem_speedUp_vf/Parabola_Fitting_RANSAC.cpp | Coslate/Parallel_Programming | 0b76be74426d25f9bd020f65d2051cf43bea7f40 | [
"MIT"
] | null | null | null | Final_Project/EyeGazeTrackingSystem_speedUp_vf/EyeGazeTrackingSystem_speedUp_vf/Parabola_Fitting_RANSAC.cpp | Coslate/Parallel_Programming | 0b76be74426d25f9bd020f65d2051cf43bea7f40 | [
"MIT"
] | null | null | null | Final_Project/EyeGazeTrackingSystem_speedUp_vf/EyeGazeTrackingSystem_speedUp_vf/Parabola_Fitting_RANSAC.cpp | Coslate/Parallel_Programming | 0b76be74426d25f9bd020f65d2051cf43bea7f40 | [
"MIT"
] | null | null | null | #include "Parabola_Fitting_RANSAC.h"
inline float DistanceCaculate(const Point &x1 , const Point &x2){
return max(abs((x1.x - x2.x)) , abs((x1.y - x2.y)))+0.5*min(abs((x1.x - x2.x)) , abs((x1.y - x2.y)));
}
inline float DistanceCaculate(const Point2f &x1 , const Point2f &x2){
return max(fabs((x1.x - x2.x))... | 31.510101 | 131 | 0.625068 | Coslate |
66d573ef4bbe462d3e390aa41fa4298408d12602 | 563 | hpp | C++ | contrib/libboost/boost_1_62_0/boost/concept/detail/backward_compatibility.hpp | 189569400/ClickHouse | 0b8683c8c9f0e17446bef5498403c39e9cb483b8 | [
"Apache-2.0"
] | 12,278 | 2015-01-29T17:11:33.000Z | 2022-03-31T21:12:00.000Z | contrib/libboost/boost_1_62_0/boost/concept/detail/backward_compatibility.hpp | 189569400/ClickHouse | 0b8683c8c9f0e17446bef5498403c39e9cb483b8 | [
"Apache-2.0"
] | 9,469 | 2015-01-30T05:33:07.000Z | 2022-03-31T16:17:21.000Z | contrib/libboost/boost_1_62_0/boost/concept/detail/backward_compatibility.hpp | 189569400/ClickHouse | 0b8683c8c9f0e17446bef5498403c39e9cb483b8 | [
"Apache-2.0"
] | 892 | 2015-01-29T16:26:19.000Z | 2022-03-20T07:44:30.000Z | // Copyright David Abrahams 2009. Distributed under the Boost
// Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_CONCEPT_BACKWARD_COMPATIBILITY_DWA200968_HPP
# define BOOST_CONCEPT_BACKWARD_COMPATIBILITY_DWA200968_HPP
namespace boo... | 33.117647 | 79 | 0.815275 | 189569400 |
66d771cd17310ce13c1ca32d1ed1d8c8f4ac995a | 1,250 | hpp | C++ | lib/ArduinoJson/src/ArduinoJson/Object/ObjectFunctions.hpp | shybzzz/ESP-1ch-Gateway | 25cac33837e06b11439193a3a0a2dc81b35bf686 | [
"MIT"
] | 274 | 2016-04-13T11:34:42.000Z | 2022-03-22T08:29:30.000Z | lib/ArduinoJson/src/ArduinoJson/Object/ObjectFunctions.hpp | shybzzz/ESP-1ch-Gateway | 25cac33837e06b11439193a3a0a2dc81b35bf686 | [
"MIT"
] | 99 | 2016-04-15T09:58:24.000Z | 2022-03-23T16:05:28.000Z | lib/ArduinoJson/src/ArduinoJson/Object/ObjectFunctions.hpp | shybzzz/ESP-1ch-Gateway | 25cac33837e06b11439193a3a0a2dc81b35bf686 | [
"MIT"
] | 134 | 2016-05-19T02:40:20.000Z | 2022-03-18T11:32:32.000Z | // ArduinoJson - arduinojson.org
// Copyright Benoit Blanchon 2014-2020
// MIT License
#pragma once
#include <ArduinoJson/Collection/CollectionData.hpp>
namespace ARDUINOJSON_NAMESPACE {
template <typename Visitor>
void objectAccept(const CollectionData *obj, Visitor &visitor) {
if (obj)
visitor.visitObject(*... | 24.038462 | 80 | 0.7064 | shybzzz |
66d91862ef22ac9c89257dab77baa83b342e2458 | 3,594 | cpp | C++ | src/stringUtils.cpp | SharpCoder/esp8266-arduino | 0c2401326bb2817b46e925ae3c3e9d3f9a881d10 | [
"MIT"
] | 6 | 2017-02-12T03:58:42.000Z | 2021-02-24T21:18:42.000Z | src/stringUtils.cpp | SharpCoder/esp8266-arduino | 0c2401326bb2817b46e925ae3c3e9d3f9a881d10 | [
"MIT"
] | 1 | 2018-07-07T19:11:06.000Z | 2018-07-07T19:11:06.000Z | src/stringUtils.cpp | SharpCoder/esp8266-arduino | 0c2401326bb2817b46e925ae3c3e9d3f9a881d10 | [
"MIT"
] | 2 | 2017-02-14T09:21:26.000Z | 2018-07-07T08:01:02.000Z | #include "Arduino.h"
#include "stringUtils.h"
#define ATOI_BUFFER_SIZE 128
const long STR_BUFFER_SIZE = 1024;
// This is necessary. Kinda.
// There are two types of buffers because I made
// poor choices early on and am still fixing it.
char* atoiBuffer;
char* strBuffer;
long strBufferIndex = 0;
long atoiBufferIndex ... | 24.283784 | 80 | 0.595993 | SharpCoder |
66dca17d5f818dd022cb1ee1a201aba82c08af48 | 1,848 | cpp | C++ | src/src/NodeValue/Type.cpp | Scorbutics/skalang | c8d1869a2f0c7857ee05ef45bd3aa4e537d39558 | [
"MIT"
] | 3 | 2019-04-08T17:34:19.000Z | 2020-01-03T04:47:06.000Z | src/src/NodeValue/Type.cpp | Scorbutics/skalang | c8d1869a2f0c7857ee05ef45bd3aa4e537d39558 | [
"MIT"
] | 4 | 2020-04-19T22:09:06.000Z | 2020-11-06T15:47:08.000Z | src/src/NodeValue/Type.cpp | Scorbutics/skalang | c8d1869a2f0c7857ee05ef45bd3aa4e537d39558 | [
"MIT"
] | null | null | null | #include "Config/LoggerConfigLang.h"
#include "Symbol.h"
#include "Type.h"
#include "Service/SymbolTable.h"
#include "Service/TypeCrosser/TypeCrossExpression.h"
#include "Runtime/Service/ScriptTypeSerializer.h"
SKA_LOGC_CONFIG(ska::LogLevel::Disabled, ska::Type)
ska::Type ska::Type::crossTypes(const TypeCrosser& cro... | 28 | 111 | 0.687229 | Scorbutics |
66dd293e4921dd5239fcb87f05bb65121aa68108 | 4,513 | cc | C++ | src/cc/layers/scrollbar_geometry_fixed_thumb.cc | jxjnjjn/chromium | 435c1d02fd1b99001dc9e1e831632c894523580d | [
"Apache-2.0"
] | 9 | 2018-09-21T05:36:12.000Z | 2021-11-15T15:14:36.000Z | cc/layers/scrollbar_geometry_fixed_thumb.cc | devasia1000/chromium | 919a8a666862fb866a6bb7aa7f3ae8c0442b4828 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | cc/layers/scrollbar_geometry_fixed_thumb.cc | devasia1000/chromium | 919a8a666862fb866a6bb7aa7f3ae8c0442b4828 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 3 | 2018-11-28T14:54:13.000Z | 2020-07-02T07:36:07.000Z | // Copyright 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 "cc/layers/scrollbar_geometry_fixed_thumb.h"
#include <algorithm>
#include <cmath>
#include "third_party/WebKit/Source/Platform/chromium/public... | 41.40367 | 79 | 0.653446 | jxjnjjn |
66dffa219e24da14812ed15dee516e225071835e | 222 | cpp | C++ | src/Modules/MainAppModule/MainAppModule.cpp | Di-Strix/MaterializeLayout | 4cf1b4c696c961b4909cb1e149e3bef44310a145 | [
"MIT"
] | 1 | 2021-07-25T08:35:08.000Z | 2021-07-25T08:35:08.000Z | src/Modules/MainAppModule/MainAppModule.cpp | Di-Strix/MaterializeLayout | 4cf1b4c696c961b4909cb1e149e3bef44310a145 | [
"MIT"
] | null | null | null | src/Modules/MainAppModule/MainAppModule.cpp | Di-Strix/MaterializeLayout | 4cf1b4c696c961b4909cb1e149e3bef44310a145 | [
"MIT"
] | null | null | null | #include "MainAppModule.h"
MaterializeLayoutModule getMainAppModule()
{
return {
{ "",
0,
0 },
{ "f6cc125703de810dcfc41a47649d9dbe",
APPLICATION_JS,
APPLICATION_JS_LENGTH }
};
} | 17.076923 | 42 | 0.608108 | Di-Strix |
66e028ab6d6c18ba2032f1899b286f4348c447d6 | 17,594 | cpp | C++ | library/cpp/threading/future/future_ut.cpp | gwjknvwjn/catboost | a5644bf80e2e37985012fb3bdd285fc6d798c61c | [
"Apache-2.0"
] | 4 | 2020-06-24T06:07:52.000Z | 2021-04-16T22:58:09.000Z | library/cpp/threading/future/future_ut.cpp | gwjknvwjn/catboost | a5644bf80e2e37985012fb3bdd285fc6d798c61c | [
"Apache-2.0"
] | null | null | null | library/cpp/threading/future/future_ut.cpp | gwjknvwjn/catboost | a5644bf80e2e37985012fb3bdd285fc6d798c61c | [
"Apache-2.0"
] | null | null | null | #include "future.h"
#include <library/cpp/unittest/registar.h>
#include <list>
#include <type_traits>
namespace NThreading {
namespace {
template <typename T>
auto MakePromise() {
if constexpr (std::is_same_v<T, void>) {
return NewPromise();
}
return NewPromise<T>();
... | 33.448669 | 126 | 0.570194 | gwjknvwjn |
66e14ffc4694c7ee76fd0395648902b38069aa62 | 19,094 | cc | C++ | src/chrome/common/chrome_content_client.cc | jxjnjjn/chromium | 435c1d02fd1b99001dc9e1e831632c894523580d | [
"Apache-2.0"
] | 9 | 2018-09-21T05:36:12.000Z | 2021-11-15T15:14:36.000Z | src/chrome/common/chrome_content_client.cc | jxjnjjn/chromium | 435c1d02fd1b99001dc9e1e831632c894523580d | [
"Apache-2.0"
] | null | null | null | src/chrome/common/chrome_content_client.cc | jxjnjjn/chromium | 435c1d02fd1b99001dc9e1e831632c894523580d | [
"Apache-2.0"
] | 3 | 2018-11-28T14:54:13.000Z | 2020-07-02T07:36:07.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 "chrome/common/chrome_content_client.h"
#include "base/command_line.h"
#include "base/cpu.h"
#include "base/file_util.h"
#include "base/path... | 38.264529 | 80 | 0.72583 | jxjnjjn |
66e1dd2914210b3df93e7f9f168b7eace86e22d7 | 6,257 | cpp | C++ | src/oxtra/dispatcher/dispatcher.cpp | oxtra/oxtra | cd538062869bfe68fc8552604c22334589d7380c | [
"BSD-3-Clause"
] | 9 | 2019-10-22T19:44:25.000Z | 2021-05-02T17:47:14.000Z | src/oxtra/dispatcher/dispatcher.cpp | oxtra/oxtra | cd538062869bfe68fc8552604c22334589d7380c | [
"BSD-3-Clause"
] | 1 | 2020-11-16T20:06:14.000Z | 2020-11-16T20:06:14.000Z | src/oxtra/dispatcher/dispatcher.cpp | oxtra/oxtra | cd538062869bfe68fc8552604c22334589d7380c | [
"BSD-3-Clause"
] | 2 | 2020-11-16T17:05:47.000Z | 2021-05-02T17:47:16.000Z | #include "oxtra/dispatcher/dispatcher.h"
#include "oxtra/dispatcher/syscalls.h"
#include "execution_context.h"
#include "oxtra/debugger/debugger.h"
#include "oxtra/logger/logger.h"
#include "elf.h"
#include <cstring>
using namespace dispatcher;
using namespace codegen;
using namespace utils;
Dispatcher::Dispatcher(c... | 38.863354 | 124 | 0.728464 | oxtra |
66e46613f997a1dfa1e0a4714876a343eb4317d9 | 4,066 | hpp | C++ | src/Evolution/Systems/CurvedScalarWave/TimeDerivative.hpp | kidder/spectre | 97ae95f72320f9f67895d3303824e64de6fd9077 | [
"MIT"
] | 117 | 2017-04-08T22:52:48.000Z | 2022-03-25T07:23:36.000Z | src/Evolution/Systems/CurvedScalarWave/TimeDerivative.hpp | GitHimanshuc/spectre | 4de4033ba36547113293fe4dbdd77591485a4aee | [
"MIT"
] | 3,177 | 2017-04-07T21:10:18.000Z | 2022-03-31T23:55:59.000Z | src/Evolution/Systems/CurvedScalarWave/TimeDerivative.hpp | geoffrey4444/spectre | 9350d61830b360e2d5b273fdd176dcc841dbefb0 | [
"MIT"
] | 85 | 2017-04-07T19:36:13.000Z | 2022-03-01T10:21:00.000Z | // Distributed under the MIT License.
// See LICENSE.txt for details.
#pragma once
#include <cstddef>
#include "DataStructures/Tensor/TypeAliases.hpp"
#include "Evolution/Systems/CurvedScalarWave/Characteristics.hpp"
#include "Evolution/Systems/CurvedScalarWave/Tags.hpp"
#include "NumericalAlgorithms/LinearOperators... | 41.489796 | 78 | 0.679538 | kidder |
66e4d3dc57e841e3150592423f568decc3f527b0 | 11,902 | cc | C++ | flexirf/src/GIRFAxis.cc | cosimoNigro/flexIRF | 3ae91dc677b94c6e8264c35be4733a7feeebef31 | [
"Apache-2.0"
] | 2 | 2016-08-24T12:13:31.000Z | 2020-08-07T20:33:13.000Z | flexirf/src/GIRFAxis.cc | cosimoNigro/flexIRF | 3ae91dc677b94c6e8264c35be4733a7feeebef31 | [
"Apache-2.0"
] | 8 | 2016-03-02T15:23:40.000Z | 2016-05-31T12:29:37.000Z | flexirf/src/GIRFAxis.cc | cosimoNigro/flexIRF | 3ae91dc677b94c6e8264c35be4733a7feeebef31 | [
"Apache-2.0"
] | 4 | 2016-03-03T15:02:25.000Z | 2020-08-07T13:03:54.000Z | /* ======================================================================== *\
!
! Author(s): Javier Rico 12/2013 <mailto:jrico@ifae.es>
!
! Copyright: CTA Software Development, 2013
!
\* ======================================================================== */
//////////////////////////////////////////... | 26.566964 | 99 | 0.607713 | cosimoNigro |
66e531b270d88f34470119242c87691f1a2f3a55 | 6,274 | cc | C++ | third_party/nucleus/io/vcf_writer.cc | fabbondanza/deepvariant | c0820eb6b185c612555a80febf89d761c383fafd | [
"BSD-3-Clause"
] | 1 | 2020-04-30T07:07:55.000Z | 2020-04-30T07:07:55.000Z | third_party/nucleus/io/vcf_writer.cc | fabbondanza/deepvariant | c0820eb6b185c612555a80febf89d761c383fafd | [
"BSD-3-Clause"
] | null | null | null | third_party/nucleus/io/vcf_writer.cc | fabbondanza/deepvariant | c0820eb6b185c612555a80febf89d761c383fafd | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2018 Google LLC.
*
* 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 and the following disc... | 33.550802 | 80 | 0.705929 | fabbondanza |
66e556f8506795472db5c75a8551deaa53f46956 | 584 | cpp | C++ | Junk/Test05/TestCPP/ModuleTest/_Main.cpp | stackprobe/Annex | 9338f57558c1261eb9ace9ae7fb11640c5266f49 | [
"MIT"
] | null | null | null | Junk/Test05/TestCPP/ModuleTest/_Main.cpp | stackprobe/Annex | 9338f57558c1261eb9ace9ae7fb11640c5266f49 | [
"MIT"
] | null | null | null | Junk/Test05/TestCPP/ModuleTest/_Main.cpp | stackprobe/Annex | 9338f57558c1261eb9ace9ae7fb11640c5266f49 | [
"MIT"
] | 1 | 2021-09-28T23:31:24.000Z | 2021-09-28T23:31:24.000Z | #include "all.h"
int main(int argc, char **argv)
{
#if 0 // test test test test test
updateDiskSpace('C');
cout("%I64d %I64d %I64d\n", lastDiskFree_User, lastDiskFree, lastDiskSize);
updateDiskSpace_Dir("C:");
cout("%I64d %I64d %I64d\n", lastDiskFree_User, lastDiskFree, lastDiskSize);
updateDiskSpace_Dir("C:\\tem... | 26.545455 | 76 | 0.702055 | stackprobe |
66e5f1e085c8cfe167976c28e1c9c9a6b36b919d | 6,484 | hpp | C++ | include/sharpen/ByteBuffer.hpp | KnownSpace/Sharpen | 28c6a7c430b6eeb37eb8d554859321a2bee43776 | [
"MIT"
] | 13 | 2020-10-25T04:02:07.000Z | 2022-03-29T13:21:30.000Z | include/sharpen/ByteBuffer.hpp | KnownSpace/Sharpen | 28c6a7c430b6eeb37eb8d554859321a2bee43776 | [
"MIT"
] | 18 | 2020-10-09T04:51:03.000Z | 2022-03-01T06:24:23.000Z | include/sharpen/ByteBuffer.hpp | KnownSpace/Sharpen | 28c6a7c430b6eeb37eb8d554859321a2bee43776 | [
"MIT"
] | 7 | 2020-10-23T04:25:28.000Z | 2022-03-23T06:52:39.000Z | #pragma once
#ifndef _SHARPEN_BYTEBUFFER_HPP
#define _SHARPEN_BYTEBUFFER_HPP
#include <vector>
#include <algorithm>
#include <type_traits>
#include "Noncopyable.hpp"
#include "TypeDef.hpp"
#include "BufferOps.hpp"
namespace sharpen
{
class ByteBuffer
{
using Vector = std::vector<sharpen::Char>;
... | 25.427451 | 124 | 0.579426 | KnownSpace |
66e608cec932d9aa560a9cb9c18af2b42dfa1a8d | 2,871 | cpp | C++ | libc/test/utils/CPP/bitset_test.cpp | acidburn0zzz/llvm-project | 7ca7a2547f00e34f5ec91be776a1d0bbca74b7a9 | [
"Apache-2.0"
] | 2,338 | 2018-06-19T17:34:51.000Z | 2022-03-31T11:00:37.000Z | libc/test/utils/CPP/bitset_test.cpp | acidburn0zzz/llvm-project | 7ca7a2547f00e34f5ec91be776a1d0bbca74b7a9 | [
"Apache-2.0"
] | 3,740 | 2019-01-23T15:36:48.000Z | 2022-03-31T22:01:13.000Z | libc/test/utils/CPP/bitset_test.cpp | acidburn0zzz/llvm-project | 7ca7a2547f00e34f5ec91be776a1d0bbca74b7a9 | [
"Apache-2.0"
] | 500 | 2019-01-23T07:49:22.000Z | 2022-03-30T02:59:37.000Z | //===-- Unittests for Bitset ----------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 27.873786 | 80 | 0.621386 | acidburn0zzz |
66e6a627ad1f5c25ab6c3bdf4b5e5549dc65a566 | 582 | cpp | C++ | CCC/16_S2.cpp | juneharold/USACO | a96b54f68e7247c61044f3c0d9e7260952c508e2 | [
"MIT"
] | null | null | null | CCC/16_S2.cpp | juneharold/USACO | a96b54f68e7247c61044f3c0d9e7260952c508e2 | [
"MIT"
] | null | null | null | CCC/16_S2.cpp | juneharold/USACO | a96b54f68e7247c61044f3c0d9e7260952c508e2 | [
"MIT"
] | null | null | null | #include <iostream>
#include <algorithm>
using namespace std;
int Q, N, A[105], B[105];
void find_max() {
int ret=0;
for (int i=0; i<N; i++) {
int speed=max(A[i], B[N-1-i]);
ret+=speed;
}
cout << ret;
}
void find_min() {
int ret=0;
for (int i=0; i<N; i++) {
int speed=m... | 16.166667 | 40 | 0.455326 | juneharold |
66e7501d1dc224968c7ff05df35a26b7bd63769f | 787 | cpp | C++ | lw/net/router_test.cpp | LifeWanted/liblw | af8e08c47cb8aa7542eb2bef9fe09b7a0b44fed8 | [
"MIT"
] | 36 | 2015-10-04T15:05:21.000Z | 2022-01-30T07:18:36.000Z | lw/net/router_test.cpp | LifeWanted/liblw | af8e08c47cb8aa7542eb2bef9fe09b7a0b44fed8 | [
"MIT"
] | 8 | 2017-03-20T12:28:15.000Z | 2021-02-24T20:40:45.000Z | lw/net/router_test.cpp | LifeWanted/liblw | af8e08c47cb8aa7542eb2bef9fe09b7a0b44fed8 | [
"MIT"
] | 6 | 2017-09-25T13:50:03.000Z | 2021-01-16T00:01:44.000Z | #include "lw/net/router.h"
#include <memory>
#include "gtest/gtest.h"
#include "lw/co/task.h"
#include "lw/io/co/co.h"
namespace lw::net {
namespace {
class TestRouter: public Router {
public:
void attach_routes() override {};
co::Task run(std::unique_ptr<io::CoStream> conn) override {
co_return;
};
std... | 20.179487 | 70 | 0.711563 | LifeWanted |
66e8d236cea32fd16ecaaab843b4b44f5376d3b3 | 5,137 | cpp | C++ | bootstrap/frontend/src/ILemitter.cpp | rdrpenguin04/Community-Compiler | 3e1909555930aa6e91916a3b186f17a88dbe5aae | [
"MIT"
] | 18 | 2018-04-30T01:42:34.000Z | 2019-07-26T08:17:22.000Z | bootstrap/frontend/src/ILemitter.cpp | thebennybox-Community-Compiler-Project/Community-Compiler | 08c92b91ae33667b5fa7a6c47db0aa5dc6b0c59c | [
"MIT"
] | 52 | 2018-04-27T19:00:09.000Z | 2018-08-20T08:37:04.000Z | bootstrap/frontend/src/ILemitter.cpp | thebennybox-Community-Compiler-Project/Community-Compiler | 08c92b91ae33667b5fa7a6c47db0aa5dc6b0c59c | [
"MIT"
] | 11 | 2018-04-28T10:50:18.000Z | 2020-08-28T05:35:53.000Z | #include "ILemitter.h"
void ILemitter::remove_last()
{
stream.pop_back();
}
void ILemitter::no_operation() {
w(NOOP);
}
void ILemitter::push_u8(uint8_t x) {
w(PU08);
w(x);
}
void ILemitter::push_u16(uint16_t x) {
w(PU16);
w(x);
}
void ILemitter::push_u32(uint32_t x) {
w(PU32);
w(x);... | 14.269444 | 67 | 0.600545 | rdrpenguin04 |
66e975096eeac6632cc58c11d4ec301598278325 | 2,793 | cc | C++ | tests/functional_large/ode_explicit/simple_analytical_eigen.cc | nittaya1990/pressio | 22fad15ffc00f3e4d880476a5e60b227ac714ef4 | [
"BSD-3-Clause"
] | 1 | 2021-09-24T17:06:51.000Z | 2021-09-24T17:06:51.000Z | tests/functional_large/ode_explicit/simple_analytical_eigen.cc | nittaya1990/pressio | 22fad15ffc00f3e4d880476a5e60b227ac714ef4 | [
"BSD-3-Clause"
] | 2 | 2021-10-03T20:36:28.000Z | 2021-10-17T10:26:06.000Z | tests/functional_large/ode_explicit/simple_analytical_eigen.cc | nittaya1990/pressio | 22fad15ffc00f3e4d880476a5e60b227ac714ef4 | [
"BSD-3-Clause"
] | null | null | null |
#include "pressio/ode_steppers_explicit.hpp"
#include "pressio/ode_advancers.hpp"
#include <array>
// constexpr double eps = 1e-12;
// std::string checkStr {"PASSED"};
// template <typename T>
// void checkSol(const T & y, const std::vector<double> & trueS){
// for (size_t i=0; i< trueS.size(); i++){
// if (st... | 22.707317 | 74 | 0.592195 | nittaya1990 |
66ee8f7dd3d4f519d3c0b19f5b02ed1bda03b25a | 616 | cpp | C++ | malloc.cpp | rsds8540/cpp-solved-problems | cbd63e0743d7653d8e06401026c16aa1dd5f775b | [
"Apache-2.0"
] | 1 | 2021-04-27T18:23:05.000Z | 2021-04-27T18:23:05.000Z | malloc.cpp | rsds8540/cpp-solved-problems | cbd63e0743d7653d8e06401026c16aa1dd5f775b | [
"Apache-2.0"
] | null | null | null | malloc.cpp | rsds8540/cpp-solved-problems | cbd63e0743d7653d8e06401026c16aa1dd5f775b | [
"Apache-2.0"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
int main()
{
int* ptr;
int n;
cout<<"Enter the size: ";
cin>>n;
ptr = (int*) malloc(n*sizeof(int));//syntax of malloc
// for (int i = 0; i < n; i++)
// {
// cout<<"Enter the value no. "<<i<<" of this dynamic array: ";
// // cin>>... | 22.814815 | 121 | 0.483766 | rsds8540 |
66eecb758ed84976f1c8b578c451af16bb36ffa4 | 6,230 | cc | C++ | modules/audio_coding/codecs/opus/audio_decoder_multi_channel_opus_unittest.cc | gaoxiaoyang/webrtc | 21021f022be36f5d04f8a3a309e345f65c8603a9 | [
"BSD-3-Clause"
] | 344 | 2016-07-03T11:45:20.000Z | 2022-03-19T16:54:10.000Z | modules/audio_coding/codecs/opus/audio_decoder_multi_channel_opus_unittest.cc | gaoxiaoyang/webrtc | 21021f022be36f5d04f8a3a309e345f65c8603a9 | [
"BSD-3-Clause"
] | 59 | 2020-08-24T09:17:42.000Z | 2022-02-27T23:33:37.000Z | modules/audio_coding/codecs/opus/audio_decoder_multi_channel_opus_unittest.cc | gaoxiaoyang/webrtc | 21021f022be36f5d04f8a3a309e345f65c8603a9 | [
"BSD-3-Clause"
] | 278 | 2016-04-26T07:37:12.000Z | 2022-01-24T10:09:44.000Z | /*
* Copyright (c) 2019 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 38.695652 | 80 | 0.643178 | gaoxiaoyang |
66eed6d1e3535e2e46d15d0b372e704d4dff0b51 | 1,006 | hpp | C++ | include/metal/number/less.hpp | brunocodutra/MPL2 | 9db9b403e58e0be0bbd295ff64f01e700965f25d | [
"MIT"
] | 320 | 2015-09-28T19:55:56.000Z | 2022-03-09T03:00:23.000Z | include/metal/number/less.hpp | brunocodutra/MPL2 | 9db9b403e58e0be0bbd295ff64f01e700965f25d | [
"MIT"
] | 80 | 2015-09-09T16:45:55.000Z | 2021-08-08T21:06:00.000Z | include/metal/number/less.hpp | brunocodutra/MPL2 | 9db9b403e58e0be0bbd295ff64f01e700965f25d | [
"MIT"
] | 26 | 2016-02-29T16:16:37.000Z | 2020-12-14T05:49:24.000Z | #ifndef METAL_NUMBER_LESS_HPP
#define METAL_NUMBER_LESS_HPP
#include "../config.hpp"
namespace metal {
/// \cond
namespace detail {
template <class x, class y>
struct _less;
}
/// \endcond
/// \ingroup number
///
/// ### Description
/// Checks whether a \number is less than another.
///
/// ### Usage
/// For... | 17.344828 | 58 | 0.582505 | brunocodutra |
66efb614ed9846e819bad47581d810cca7177af3 | 1,914 | cpp | C++ | src/core/binary_reader.cpp | hermet/rive-cpp | d69378d97e7d987930c3764655153bf8ddc65966 | [
"MIT"
] | null | null | null | src/core/binary_reader.cpp | hermet/rive-cpp | d69378d97e7d987930c3764655153bf8ddc65966 | [
"MIT"
] | null | null | null | src/core/binary_reader.cpp | hermet/rive-cpp | d69378d97e7d987930c3764655153bf8ddc65966 | [
"MIT"
] | null | null | null | #include "core/binary_reader.hpp"
#include "core/reader.h"
#include <vector>
using namespace rive;
BinaryReader::BinaryReader(uint8_t* bytes, size_t length) :
m_Position(bytes),
m_End(bytes + length),
m_Overflowed(false),
m_Length(length)
{
}
bool BinaryReader::reachedEnd() const
{
return m_Position... | 17.4 | 73 | 0.6907 | hermet |
66f0a1b629c786aecc7384f340daf9fd20d1b6fb | 2,492 | inl | C++ | Misc/UnusedCode/RSLibAndTests/RSLib/Code/Math/Types/Polynomial.inl | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 34 | 2017-04-19T18:26:02.000Z | 2022-02-15T17:47:26.000Z | Misc/UnusedCode/RSLibAndTests/RSLib/Code/Math/Types/Polynomial.inl | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 307 | 2017-05-04T21:45:01.000Z | 2022-02-03T00:59:01.000Z | Misc/UnusedCode/RSLibAndTests/RSLib/Code/Math/Types/Polynomial.inl | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 4 | 2017-09-05T17:04:31.000Z | 2021-12-15T21:24:28.000Z | #ifndef RS_POLYNOMIAL_INL
#define RS_POLYNOMIAL_INL
using namespace RSLib;
// construction/destruction:
template<class T>
rsPolynomial<T>::rsPolynomial(T *coeffs, int order)
{
N = order;
a = new T[N+1];
for(int n = 0; n <= N; n++)
a[n] = coeffs[n];
}
template<class T>
rsPolynomial<T>::rsPolynomial(const r... | 20.42623 | 74 | 0.668539 | RobinSchmidt |
66f297c502b00dc6faacbfe094c9821721caf43f | 4,992 | cpp | C++ | tests/MobileNetDatabase.cpp | Air000/armnn_s32v | ec3ee60825d6b7642a70987c4911944cef7a3ee6 | [
"MIT"
] | 1 | 2019-03-19T08:44:28.000Z | 2019-03-19T08:44:28.000Z | tests/MobileNetDatabase.cpp | Air000/armnn_s32v | ec3ee60825d6b7642a70987c4911944cef7a3ee6 | [
"MIT"
] | null | null | null | tests/MobileNetDatabase.cpp | Air000/armnn_s32v | ec3ee60825d6b7642a70987c4911944cef7a3ee6 | [
"MIT"
] | 1 | 2019-10-11T05:58:56.000Z | 2019-10-11T05:58:56.000Z | //
// Copyright © 2017 Arm Ltd. All rights reserved.
// See LICENSE file in the project root for full license information.
//
#include "InferenceTestImage.hpp"
#include "MobileNetDatabase.hpp"
#include <boost/numeric/conversion/cast.hpp>
#include <boost/assert.hpp>
#include <boost/format.hpp>
#include <iostream>
#inc... | 37.253731 | 108 | 0.636018 | Air000 |
66f38e2a9da92b3deea2630f2b1a182d24c482fb | 1,501 | cpp | C++ | src/GraphicsInstance.cpp | LuisHsu/Assignment_4 | 1735738d3d523d9c3a007d9fb471f121071e75fe | [
"BSD-3-Clause"
] | null | null | null | src/GraphicsInstance.cpp | LuisHsu/Assignment_4 | 1735738d3d523d9c3a007d9fb471f121071e75fe | [
"BSD-3-Clause"
] | null | null | null | src/GraphicsInstance.cpp | LuisHsu/Assignment_4 | 1735738d3d523d9c3a007d9fb471f121071e75fe | [
"BSD-3-Clause"
] | null | null | null | /**
* Copyright 2020 Luis Hsu. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/
#include <GraphicsInstance.hpp>
#include <iostream>
#include <stdexcept>
#include <vector>
GraphicsInstance::GraphicsInstance(){
// Create instance
... | 33.355556 | 80 | 0.685543 | LuisHsu |
66f4cf3285f60534182151d83f352caa24425e95 | 13,730 | cpp | C++ | tools/FontGenerator/src/main.cpp | JiPRA/openlierox | 1d9a490cb3b214c7f6dad3a7d582b54373b5b9dc | [
"CECILL-B"
] | 192 | 2015-02-13T14:53:59.000Z | 2022-03-29T11:18:58.000Z | tools/FontGenerator/src/main.cpp | JiPRA/openlierox | 1d9a490cb3b214c7f6dad3a7d582b54373b5b9dc | [
"CECILL-B"
] | 48 | 2015-01-06T22:00:53.000Z | 2022-01-15T18:22:46.000Z | tools/FontGenerator/src/main.cpp | JiPRA/openlierox | 1d9a490cb3b214c7f6dad3a7d582b54373b5b9dc | [
"CECILL-B"
] | 51 | 2015-01-16T00:55:16.000Z | 2022-02-05T03:09:30.000Z | /*
OpenLieroX - FontGenerator
by Dark Charlie, Albert Zeyer
Code under LGPL
( 15-05-2007 )
*/
#include <iostream>
#include <SDL_ttf.h>
#include <gd.h>
#include "StringUtils.h"
#include "Utils.h"
#include "FontGenerator.h"
#ifndef MAX
#define MAX(x,y) ( (x) > (y) ? (x) : (y) )
#endif
SDL_Surface* Screen = NUL... | 25.332103 | 151 | 0.653824 | JiPRA |
66f80939bbdff818254acff241b57d4b4a58e911 | 31,010 | cpp | C++ | spt/features/playerio.cpp | PMArkive/SourcePauseTool | 3018231c3d51f7791a5c13d39ff208d0f043bb94 | [
"RSA-MD"
] | 1 | 2022-01-11T13:57:07.000Z | 2022-01-11T13:57:07.000Z | spt/features/playerio.cpp | SmileyAG/SourcePauseTool | 3018231c3d51f7791a5c13d39ff208d0f043bb94 | [
"RSA-MD"
] | null | null | null | spt/features/playerio.cpp | SmileyAG/SourcePauseTool | 3018231c3d51f7791a5c13d39ff208d0f043bb94 | [
"RSA-MD"
] | null | null | null | #include "stdafx.h"
#include "..\cvars.hpp"
#include "..\sptlib-wrapper.hpp"
#include "..\strafe\strafestuff.hpp"
#include "aim.hpp"
#include "hud.hpp"
#include "game_detection.hpp"
#include "math.hpp"
#include "playerio.hpp"
#include "ent_utils.hpp"
#include "interfaces.hpp"
#include "signals.hpp"
#include "..\overlay... | 27.638146 | 164 | 0.638633 | PMArkive |
66f8f3213d7ef68a96ba325935b779269ba119d4 | 122 | cc | C++ | src/game/Utils/Text.cc | FluffyQuack/ja2-stracciatella | 59781890986dc5360ed4b148b83836c029121d5f | [
"BSD-Source-Code"
] | 346 | 2016-02-16T11:17:25.000Z | 2022-03-28T18:18:14.000Z | src/game/Utils/Text.cc | FluffyQuack/ja2-stracciatella | 59781890986dc5360ed4b148b83836c029121d5f | [
"BSD-Source-Code"
] | 1,119 | 2016-02-14T23:19:56.000Z | 2022-03-31T21:57:58.000Z | src/game/Utils/Text.cc | FluffyQuack/ja2-stracciatella | 59781890986dc5360ed4b148b83836c029121d5f | [
"BSD-Source-Code"
] | 90 | 2016-02-17T22:17:11.000Z | 2022-03-12T11:59:56.000Z | #include "Text.h"
#include <string_theory/string>
ST::string ItemNames[MAXITEMS];
ST::string ShortItemNames[MAXITEMS];
| 15.25 | 36 | 0.762295 | FluffyQuack |
66f9a3a8b94e46f562cc37170cf59e1ba5393349 | 7,077 | cpp | C++ | ql/math/matrix.cpp | haozhangphd/QuantLib-noBoost | ddded069868161099843c04840454f00816113ad | [
"BSD-3-Clause"
] | 76 | 2017-06-28T21:24:38.000Z | 2021-12-19T18:07:37.000Z | ql/math/matrix.cpp | haozhangphd/QuantLib-noBoost | ddded069868161099843c04840454f00816113ad | [
"BSD-3-Clause"
] | 2 | 2017-07-05T09:20:13.000Z | 2019-10-31T12:06:51.000Z | ql/math/matrix.cpp | haozhangphd/QuantLib-noBoost | ddded069868161099843c04840454f00816113ad | [
"BSD-3-Clause"
] | 34 | 2017-07-02T14:49:21.000Z | 2021-11-26T15:32:04.000Z | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2017 Hao Zhang
Copyright (C) 2007, 2008 Klaus Spanderen
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is free s... | 34.691176 | 131 | 0.57157 | haozhangphd |
66f9ec566cef390b1a3aa93e3669d47222ce93d4 | 8,744 | cpp | C++ | src/Griddly/Core/Observers/SpriteObserver.cpp | maichmueller/Griddly | 25b978a08f13226de2831d0941af0f37fea12718 | [
"MIT"
] | null | null | null | src/Griddly/Core/Observers/SpriteObserver.cpp | maichmueller/Griddly | 25b978a08f13226de2831d0941af0f37fea12718 | [
"MIT"
] | null | null | null | src/Griddly/Core/Observers/SpriteObserver.cpp | maichmueller/Griddly | 25b978a08f13226de2831d0941af0f37fea12718 | [
"MIT"
] | null | null | null | #include "SpriteObserver.hpp"
// Have to define this so the image loader is compiled
#define STB_IMAGE_IMPLEMENTATION
#include <stb/stb_image.h>
#define STB_IMAGE_RESIZE_IMPLEMENTATION
#include <stb/stb_image_resize.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include "../Grid.hpp"
#include "V... | 38.017391 | 242 | 0.668916 | maichmueller |
66fcc56320635fb937536c32bc9aca766b68e781 | 2,419 | cpp | C++ | tests/libappimage/legacy/test_shared.cpp | srevinsaju/libappimage | 3682efb71847391f75ce6999e94b01b8b8434748 | [
"MIT"
] | 28 | 2018-08-24T07:49:19.000Z | 2022-02-21T07:46:02.000Z | tests/libappimage/legacy/test_shared.cpp | marcin543/libappimage | f7abf4756911d8967dbd4d856dfc2c90bb6914f4 | [
"MIT"
] | 143 | 2018-08-21T14:14:01.000Z | 2022-03-27T15:38:21.000Z | tests/libappimage/legacy/test_shared.cpp | marcin543/libappimage | f7abf4756911d8967dbd4d856dfc2c90bb6914f4 | [
"MIT"
] | 22 | 2018-11-12T07:36:46.000Z | 2022-02-18T11:57:30.000Z | #include <gtest/gtest.h>
#include <fstream>
#include <ftw.h>
#include <string>
#include <sstream>
#include <sys/stat.h>
#include <unistd.h>
#include "fixtures.h"
extern "C" {
#include <appimage/appimage_shared.h>
}
using namespace std;
// most simple derivative class for better naming of the tests in this fil... | 25.463158 | 115 | 0.696569 | srevinsaju |
0f00e4893da634d7c72578e6a31a0bf29b81288f | 4,751 | cc | C++ | src/operator/tensor/elemwise_binary_scalar_op_extended.cc | xudong-sun/mxnet | fe42d30d5885dd576cb871fd70594c53efce9b42 | [
"Apache-2.0"
] | 399 | 2017-05-30T05:12:48.000Z | 2022-01-29T05:53:08.000Z | src/operator/tensor/elemwise_binary_scalar_op_extended.cc | greenpea0104/incubator-mxnet | fc9e70bf2d349ad4c6cb65ff3f0958e23a7410bf | [
"Apache-2.0"
] | 58 | 2017-05-30T23:25:32.000Z | 2019-11-18T09:30:54.000Z | src/operator/tensor/elemwise_binary_scalar_op_extended.cc | greenpea0104/incubator-mxnet | fc9e70bf2d349ad4c6cb65ff3f0958e23a7410bf | [
"Apache-2.0"
] | 107 | 2017-05-30T05:53:22.000Z | 2021-06-24T02:43:31.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 ... | 41.313043 | 92 | 0.75542 | xudong-sun |
0f044352b367f127642d1716e50d189bcd6b6250 | 3,403 | cc | C++ | 3rd_party/vrippack-0.31/src/march/main.cc | yuxng/3DVP | 3551a31bc45d49e661f2140ea90b8bd83fe65e3b | [
"MIT"
] | 42 | 2016-07-03T22:16:47.000Z | 2021-03-30T22:23:46.000Z | 3rd_party/vrippack-0.31/src/march/main.cc | PeiliangLi/3DVP | 3551a31bc45d49e661f2140ea90b8bd83fe65e3b | [
"MIT"
] | 2 | 2016-11-12T10:36:48.000Z | 2017-09-07T11:32:34.000Z | 3rd_party/vrippack-0.31/src/march/main.cc | PeiliangLi/3DVP | 3551a31bc45d49e661f2140ea90b8bd83fe65e3b | [
"MIT"
] | 16 | 2016-08-06T01:20:40.000Z | 2020-07-13T14:59:35.000Z | /*
Name: main.c
Coded: Paul Ning
Modified by: Brian Curless
Computer Graphics Laboratory
Stanford University
Comment: Isosurface reconstruction using Marching Cubes-style
table lookup on cube topologies.
Copyright (1997) The Board of Trustees of the L... | 18.905556 | 83 | 0.610932 | yuxng |
0f078a96d7a9e0ee8a9735be12754d2b001f9cd3 | 40,081 | cc | C++ | ui/display/manager/display_configurator.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ui/display/manager/display_configurator.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ui/display/manager/display_configurator.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/display/manager/display_configurator.h"
#include <cstddef>
#include <utility>
#include "base/bind.h"
#include "base/bind_helpers.h"
#includ... | 35.501329 | 80 | 0.703974 | sarang-apps |
0f084c3f8b0fb7b5eecdbb81413c12e677fcf17e | 551 | hpp | C++ | libcaf_io/caf/io/connection_helper.hpp | seewpx/actor-framework | 65ecf35317b81d7a211848d59e734f43483fe410 | [
"BSD-3-Clause"
] | 2,517 | 2015-01-04T22:19:43.000Z | 2022-03-31T12:20:48.000Z | libcaf_io/caf/io/connection_helper.hpp | seewpx/actor-framework | 65ecf35317b81d7a211848d59e734f43483fe410 | [
"BSD-3-Clause"
] | 894 | 2015-01-07T14:21:21.000Z | 2022-03-30T06:37:18.000Z | libcaf_io/caf/io/connection_helper.hpp | seewpx/actor-framework | 65ecf35317b81d7a211848d59e734f43483fe410 | [
"BSD-3-Clause"
] | 570 | 2015-01-21T18:59:33.000Z | 2022-03-31T19:00:02.000Z | // This file is part of CAF, the C++ Actor Framework. See the file LICENSE in
// the main distribution directory for license terms and copyright or visit
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
#pragma once
#include "caf/detail/io_export.hpp"
#include "caf/fwd.hpp"
namespace caf::i... | 27.55 | 77 | 0.767695 | seewpx |
0f0b93b7d2e0d6d94de1ad4a464e7691c84d46f4 | 5,799 | cpp | C++ | FragExt.Lib/SpinLock.cpp | jeremy-boschen/FragExt | c340eecf7cd5992001db1b4a404bcaec09523ba4 | [
"Zlib"
] | null | null | null | FragExt.Lib/SpinLock.cpp | jeremy-boschen/FragExt | c340eecf7cd5992001db1b4a404bcaec09523ba4 | [
"Zlib"
] | null | null | null | FragExt.Lib/SpinLock.cpp | jeremy-boschen/FragExt | c340eecf7cd5992001db1b4a404bcaec09523ba4 | [
"Zlib"
] | 2 | 2020-03-03T12:55:17.000Z | 2022-03-07T15:37:33.000Z | /* FragExt - Shell extension for providing file fragmentation
* information.
*
* Copyright (C) 2004-2009 Jeremy Boschen. All rights reserved.
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of thi... | 23.196 | 114 | 0.60407 | jeremy-boschen |
0f0ce9451345fc882729fe2630d581d3433607e5 | 4,271 | cpp | C++ | server.cpp | NewtonVan/SuperDuperDnsServer | 0c52094d85b6a7c380e3667dd89b4b6ba999d8b1 | [
"MIT"
] | 1 | 2020-07-03T07:29:25.000Z | 2020-07-03T07:29:25.000Z | server.cpp | NewtonVan/SuperDuperDnsServer | 0c52094d85b6a7c380e3667dd89b4b6ba999d8b1 | [
"MIT"
] | null | null | null | server.cpp | NewtonVan/SuperDuperDnsServer | 0c52094d85b6a7c380e3667dd89b4b6ba999d8b1 | [
"MIT"
] | null | null | null | //
// Created by Newton on 2020/6/6.
//
#include "SuperDuperLib.h"
#include "server.h"
using namespace dns;
Server::Server()
{
#ifdef _WIN32
m_resolver.init(".\\server.cache");
m_resolver.configure(".\\upperproxy.confg");
#else
m_resolver.init("./server.cache");
m_resolver.configure("./upperproxy.... | 29.455172 | 108 | 0.579958 | NewtonVan |
0f0e12858f753e8e7f78cd8acbf11efe56757a71 | 7,491 | cpp | C++ | implementation/cpl_guicommon/cpl_frameobject/cpl_dynamicloader.cpp | cayprogram/cpl_main | 9cc8f4c8cf33465506bdb18ddc84340992b16494 | [
"MIT"
] | null | null | null | implementation/cpl_guicommon/cpl_frameobject/cpl_dynamicloader.cpp | cayprogram/cpl_main | 9cc8f4c8cf33465506bdb18ddc84340992b16494 | [
"MIT"
] | null | null | null | implementation/cpl_guicommon/cpl_frameobject/cpl_dynamicloader.cpp | cayprogram/cpl_main | 9cc8f4c8cf33465506bdb18ddc84340992b16494 | [
"MIT"
] | null | null | null | #include "cpl_frameobjectincludes.h"
//-----------------------------------------------------------------------------
// class cpl_DynamicLoader
//-----------------------------------------------------------------------------
//
cpl_DynamicLoader* cpl_DynamicLoader::New() {
return new cpl_DynamicLoader;
}
//-------... | 31.343096 | 80 | 0.453878 | cayprogram |
0f0e3919b000882168093bcbdb3155247df62e2d | 9,835 | cpp | C++ | src/server/scripts/Kalimdor/HallsOfOrigination/boss_isiset.cpp | Arkania/ArkCORE | 2484554a7b54be0b652f9dc3c5a8beba79df9fbf | [
"OpenSSL"
] | 42 | 2015-01-05T10:00:07.000Z | 2022-02-18T14:51:33.000Z | src/server/scripts/Kalimdor/HallsOfOrigination/boss_isiset.cpp | superllout/WOW | 3d0eeb940cccf8ab7854259172c6d75a85ee4f7d | [
"OpenSSL"
] | null | null | null | src/server/scripts/Kalimdor/HallsOfOrigination/boss_isiset.cpp | superllout/WOW | 3d0eeb940cccf8ab7854259172c6d75a85ee4f7d | [
"OpenSSL"
] | 31 | 2015-01-09T02:04:29.000Z | 2021-09-01T13:20:20.000Z | /*
* Copyright (C) 2011 True Blood <http://www.trueblood-servers.com/>
* By Asardial
*
* Copyright (C) 2011 - 2013 ArkCORE <http://www.arkania.net/>
*
* 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... | 34.031142 | 145 | 0.516014 | Arkania |
0f0ef087bab41ea902afdfd7b85bfa8156cd3efa | 2,079 | hpp | C++ | Runtime/World/CScriptDoor.hpp | henriquegemignani/urde | 78185e682e16c3e1b41294d92f2841357272acb2 | [
"MIT"
] | 1 | 2020-06-09T07:49:34.000Z | 2020-06-09T07:49:34.000Z | Runtime/World/CScriptDoor.hpp | henriquegemignani/urde | 78185e682e16c3e1b41294d92f2841357272acb2 | [
"MIT"
] | 6 | 2020-06-09T07:49:45.000Z | 2021-04-06T22:19:57.000Z | Runtime/World/CScriptDoor.hpp | henriquegemignani/urde | 78185e682e16c3e1b41294d92f2841357272acb2 | [
"MIT"
] | null | null | null | #pragma once
#include <string_view>
#include "Runtime/World/CPhysicsActor.hpp"
#include <zeus/CAABox.hpp>
#include <zeus/CVector3f.hpp>
namespace urde {
class CScriptDoor : public CPhysicsActor {
public:
enum class EDoorAnimType {
Open,
Close,
Ready,
};
enum class EDoorOpenCondition {
NotRea... | 31.029851 | 120 | 0.748918 | henriquegemignani |
0f14be28932ba2c02a33791d56c2bda7265f7f96 | 1,037 | cpp | C++ | solutions/1032.stream-of-characters.251031467.ac.cpp | satu0king/Leetcode-Solutions | 2edff60d76c2898d912197044f6284efeeb34119 | [
"MIT"
] | 78 | 2020-10-22T11:31:53.000Z | 2022-02-22T13:27:49.000Z | solutions/1032.stream-of-characters.251031467.ac.cpp | satu0king/Leetcode-Solutions | 2edff60d76c2898d912197044f6284efeeb34119 | [
"MIT"
] | null | null | null | solutions/1032.stream-of-characters.251031467.ac.cpp | satu0king/Leetcode-Solutions | 2edff60d76c2898d912197044f6284efeeb34119 | [
"MIT"
] | 26 | 2020-10-23T15:10:44.000Z | 2021-11-07T16:13:50.000Z | struct Node {
bool isWord;
vector<Node *> edges;
Node() : isWord(false), edges(26, NULL) {}
};
void addWord(string &s, Node *root) {
reverse(s.begin(), s.end());
for (char c : s) {
if (!root->edges[c - 'a'])
root->edges[c - 'a'] = new Node();
root = root->edges[c - 'a'];
}
root->isWord =... | 17.87931 | 69 | 0.56027 | satu0king |
0f16d9d46f35b4f29cb686ca5646be2f26945c8d | 3,788 | cpp | C++ | src/rollinghashcpp/example5.cpp | zhaoxiaofei/binhash | 78e0d465757b93f02cd2d6545717be9e78f93f95 | [
"Apache-2.0"
] | 35 | 2018-07-24T13:59:24.000Z | 2022-03-15T15:06:40.000Z | src/rollinghashcpp/example5.cpp | zhaoxiaofei/binhash | 78e0d465757b93f02cd2d6545717be9e78f93f95 | [
"Apache-2.0"
] | 6 | 2018-11-09T20:15:28.000Z | 2021-03-04T14:38:01.000Z | src/rollinghashcpp/example5.cpp | zhaoxiaofei/binhash | 78e0d465757b93f02cd2d6545717be9e78f93f95 | [
"Apache-2.0"
] | 6 | 2018-07-24T15:08:33.000Z | 2019-07-05T11:52:05.000Z | #include <string>
#include <memory>
#include <cassert>
#include <iostream>
#include "cyclichash.h"
/*
An issue is application-specific and has to do with the nature of DNA. Even
though we usually represent DNA as a string of characters (such as `GATTACA`),
this is really only half the story. DNA is double str... | 35.735849 | 98 | 0.661035 | zhaoxiaofei |
0f173e19ec74e6d9d91e1509f1cba432b2366228 | 5,073 | cc | C++ | content/common/gpu/stream_texture_manager_android.cc | kurli/chromium-crosswalk | f4c5d15d49d02b74eb834325e4dff50b16b53243 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/common/gpu/stream_texture_manager_android.cc | kurli/chromium-crosswalk | f4c5d15d49d02b74eb834325e4dff50b16b53243 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/common/gpu/stream_texture_manager_android.cc | kurli/chromium-crosswalk | f4c5d15d49d02b74eb834325e4dff50b16b53243 | [
"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 "content/common/gpu/stream_texture_manager_android.h"
#include "base/bind.h"
#include "content/common/gpu/gpu_channel.h"
#include "content/c... | 33.82 | 78 | 0.743741 | kurli |
0f17e95f2e07ba885e2293338bac7d09e6861d87 | 4,781 | hpp | C++ | libraries/chain/include/deip/chain/services/dbs_research_token_sale.hpp | DEIPworld/deip-chain | d3fdcfdde179f700156156ea87522a807ec52532 | [
"MIT"
] | 1 | 2021-08-16T12:44:43.000Z | 2021-08-16T12:44:43.000Z | libraries/chain/include/deip/chain/services/dbs_research_token_sale.hpp | DEIPworld/deip-chain | d3fdcfdde179f700156156ea87522a807ec52532 | [
"MIT"
] | null | null | null | libraries/chain/include/deip/chain/services/dbs_research_token_sale.hpp | DEIPworld/deip-chain | d3fdcfdde179f700156156ea87522a807ec52532 | [
"MIT"
] | 2 | 2021-08-16T12:44:46.000Z | 2021-12-31T17:09:45.000Z | #pragma once
#include "dbs_base_impl.hpp"
#include <vector>
#include <set>
#include <functional>
#include <deip/chain/schema/deip_object_types.hpp>
#include <deip/chain/schema/research_token_sale_object.hpp>
#include <deip/chain/schema/research_object.hpp>
namespace deip {
namespace chain {
class dbs_research_token... | 55.593023 | 247 | 0.735202 | DEIPworld |
0f19b15397dea06f507698cd4db7af5cffebcc9b | 11,333 | cc | C++ | base/logging.cc | hunter-packages/mini_chromium | e88da1bf76bd97a8292a0298781d065acca033b5 | [
"BSD-3-Clause"
] | 8 | 2016-11-01T15:31:30.000Z | 2021-11-09T11:45:38.000Z | base/logging.cc | hunter-packages/mini_chromium | e88da1bf76bd97a8292a0298781d065acca033b5 | [
"BSD-3-Clause"
] | null | null | null | base/logging.cc | hunter-packages/mini_chromium | e88da1bf76bd97a8292a0298781d065acca033b5 | [
"BSD-3-Clause"
] | 4 | 2016-08-29T16:50:34.000Z | 2021-08-17T02:50:12.000Z | // Copyright 2006-2008 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 "base/logging.h"
#include <stdio.h>
#include <stdlib.h>
#include <iomanip>
#if defined(OS_POSIX)
#include <paths.h>
#include <sys/stat.h>... | 27.845209 | 80 | 0.615018 | hunter-packages |
0f1a7f63d3e2f2791457235cf1403d182871fbc0 | 7,950 | cpp | C++ | ngraph/core/src/op/avg_pool.cpp | uikilin100/openvino | afc5191b8c75b1de4adc8cb07c6269b52882ddfe | [
"Apache-2.0"
] | 1 | 2021-03-16T17:40:26.000Z | 2021-03-16T17:40:26.000Z | ngraph/core/src/op/avg_pool.cpp | uikilin100/openvino | afc5191b8c75b1de4adc8cb07c6269b52882ddfe | [
"Apache-2.0"
] | 42 | 2020-11-23T08:09:57.000Z | 2022-02-21T13:03:34.000Z | ngraph/core/src/op/avg_pool.cpp | tsocha/openvino | 3081fac7581933568b496a3c4e744d1cee481619 | [
"Apache-2.0"
] | 4 | 2021-04-02T08:48:38.000Z | 2021-07-01T06:59:02.000Z | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "ngraph/op/avg_pool.hpp"
#include "itt.hpp"
#include "ngraph/attribute_visitor.hpp"
#include "ngraph/graph_util.hpp"
#include "ngraph/validation_util.hpp"
using namespace std;
using namespace ngraph;
// *** AvgPool OP SE... | 37.857143 | 113 | 0.55195 | uikilin100 |
0f1df7e865699da4e50389ddce8587348b1afa92 | 65 | cpp | C++ | core/GUI/Selector.cpp | ferluht/pocketdaw | 0e40b32191e431cde54cd5944611c4b5b293ea68 | [
"BSD-2-Clause"
] | null | null | null | core/GUI/Selector.cpp | ferluht/pocketdaw | 0e40b32191e431cde54cd5944611c4b5b293ea68 | [
"BSD-2-Clause"
] | null | null | null | core/GUI/Selector.cpp | ferluht/pocketdaw | 0e40b32191e431cde54cd5944611c4b5b293ea68 | [
"BSD-2-Clause"
] | 1 | 2022-03-29T19:45:51.000Z | 2022-03-29T19:45:51.000Z | //
// Created by ibelikov on 24.12.19.
//
#include "Selector.h"
| 10.833333 | 35 | 0.630769 | ferluht |
0f21784331c8b042cac3b4eb93f81ff4538d4940 | 35,027 | cc | C++ | zircon/system/fidl/fuchsia-tee/gen/llcpp/fidl.cc | winksaville/Fuchsia | a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f | [
"BSD-3-Clause"
] | 3 | 2020-08-02T04:46:18.000Z | 2020-08-07T10:10:53.000Z | zircon/system/fidl/fuchsia-tee/gen/llcpp/fidl.cc | winksaville/Fuchsia | a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f | [
"BSD-3-Clause"
] | null | null | null | zircon/system/fidl/fuchsia-tee/gen/llcpp/fidl.cc | winksaville/Fuchsia | a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f | [
"BSD-3-Clause"
] | 1 | 2020-08-07T10:11:49.000Z | 2020-08-07T10:11:49.000Z | // WARNING: This file is machine generated by fidlgen.
#include <fuchsia/tee/llcpp/fidl.h>
#include <memory>
namespace llcpp {
namespace fuchsia {
namespace tee {
::llcpp::fuchsia::tee::OsRevision::Builder OsRevision::Build() {
return OsRevision::Builder();
}
auto ::llcpp::fuchsia::tee::OsRevision::Builder::set_... | 46.76502 | 308 | 0.742913 | winksaville |
0f21beff2666f406d346e39a820ebfd924317262 | 5,808 | hpp | C++ | include/Mono/Math/Prime/PrimalityTest_.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | include/Mono/Math/Prime/PrimalityTest_.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | include/Mono/Math/Prime/PrimalityTest_.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | 1 | 2022-03-30T21:07:35.000Z | 2022-03-30T21:07:35.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: System.MulticastDelegate
#include "... | 55.314286 | 295 | 0.737259 | v0idp |
0f21fffd873eda039318e6c0f66edb06a4d8400e | 2,573 | hpp | C++ | include/drivers/inkplate_platform.hpp | makuto/ESP-IDF-InkPlate | 8039b36ea8c513d26f14307800bd71e32e44c65b | [
"BSD-2-Clause"
] | 5 | 2021-02-10T15:01:14.000Z | 2022-03-08T00:43:43.000Z | include/drivers/inkplate_platform.hpp | makuto/ESP-IDF-InkPlate | 8039b36ea8c513d26f14307800bd71e32e44c65b | [
"BSD-2-Clause"
] | 6 | 2021-03-02T16:36:38.000Z | 2022-01-14T19:40:53.000Z | include/drivers/inkplate_platform.hpp | makuto/ESP-IDF-InkPlate | 8039b36ea8c513d26f14307800bd71e32e44c65b | [
"BSD-2-Clause"
] | 3 | 2021-01-28T08:04:13.000Z | 2021-08-12T23:33:33.000Z | /*
inkplate_platform.hpp
Inkplate 6 Arduino library
David Zovko, Borna Biro, Denis Vajak, Zvonimir Haramustek @ e-radionica.com
September 24, 2020
https://github.com/e-radionicacom/Inkplate-6-Arduino-library
For support, please reach over forums: forum.e-radionica.com/en
For more info about the product, please check:... | 24.980583 | 117 | 0.725223 | makuto |
0f22e82b232259f8c25d76261756ada321235c48 | 1,054 | cpp | C++ | ch04/e4-11.cpp | nanonashy/PPPUCpp2ndJP | b829867e9e21bf59d9c5ea6c2fbe96bb03597301 | [
"MIT"
] | 3 | 2021-12-17T17:25:18.000Z | 2022-03-02T15:52:23.000Z | ch04/e4-11.cpp | nashinium/PPPUCpp2ndJP | b829867e9e21bf59d9c5ea6c2fbe96bb03597301 | [
"MIT"
] | 1 | 2020-04-22T07:16:34.000Z | 2020-04-22T10:04:04.000Z | ch04/e4-11.cpp | nashinium/PPPUCpp2ndJP | b829867e9e21bf59d9c5ea6c2fbe96bb03597301 | [
"MIT"
] | 1 | 2020-04-22T08:13:51.000Z | 2020-04-22T08:13:51.000Z | // 問題文:
// 1~100の素数をすべて見つけ出すプログラムを作成する。そのための方法の1つは、素数が順番
// に配置された vector
// を使用して、数字が素数かどうかをチェックする関数を記述することだ。
// つまり、この vector が primes
// という名前であるとすれば、primes[0]==2、primes[1]==3、 primes[2]==5
// などを使用して、数字がそれよりも小さい素数で割り切れるかどうかをチェックする。
// 次に、1~100の各数字が素数かどうかをチェックし、検出された素数を vector
// に格納する
// グループを記述する... | 24.511628 | 57 | 0.59203 | nanonashy |
0f23f885a5b4a6b8e03fe9db68619288ce98e85f | 574 | cpp | C++ | ch06/ex6_21.cpp | jl1987/Cpp-Primer | 028dcb44318667bb8713c82ce0c86676a3dcda27 | [
"CC0-1.0"
] | 1 | 2019-05-02T19:19:11.000Z | 2019-05-02T19:19:11.000Z | ch06/ex6_21.cpp | jl1987/Cpp-Primer | 028dcb44318667bb8713c82ce0c86676a3dcda27 | [
"CC0-1.0"
] | null | null | null | ch06/ex6_21.cpp | jl1987/Cpp-Primer | 028dcb44318667bb8713c82ce0c86676a3dcda27 | [
"CC0-1.0"
] | null | null | null | //! @Alan
//!
//! Exercise 6.21:
//! Write a function that takes an int and a pointer to an int and
//! returns the larger of the int value or the value to which the
//! pointer points. What type should you use for the pointer?
//!
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int La... | 14 | 66 | 0.601045 | jl1987 |