sha256 stringlengths 64 64 | language stringclasses 27
values | size int32 1 491k | lines int32 1 21.8k | content stringlengths 1 200k |
|---|---|---|---|---|
eff2d7d4fef19e659fd2edcb96dba4ef9145c53dd5ccc8178a8811a0c173ffa0 | C++ | 52,229 | 1,635 | // Copyright 2007, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions ... |
617f6980211a8eb18bb472afbd07f98401d7242d15d4d5228260facb2c48c920 | C++ | 53,095 | 1,463 | /*
AutoHotkey
Copyright 2003-2009 Chris Mallett (support@autohotkey.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This... |
eccf1794368c74d6504847fb07822e0a5289633e974e466ea964807711c202de | C++ | 53,237 | 1,211 |
#include "computation_continuous.h"
#include <algorithm> // std::min, std::transform
#include <limits>
#include <numeric> // std::accumulate
#include <cmath> // std::pow
#include <Rcpp.h> // Rcpp::Rcout
#include "linear_allocator.h"
#include "mutual_information.h"
#include "structure.h"
constexpr double kEps... |
3794884bf39b755e23a1608ab0fde4746dd3c594b4c9bf57d7a73cd6c692b751 | C++ | 53,315 | 1,309 | /**
* Copyright 2015-2025, XGBoost Contributors
* \file data.cc
*/
#include "xgboost/data.h"
#include <dmlc/registry.h> // for DMLC_REGISTRY_ENABLE, DMLC_REGISTRY_LINK_TAG
#include <algorithm> // for copy, max, none_of, min
#include <atomic> // for atomic
#include <cmath> // for abs
#include <cstd... |
43948ed302d8fe4a5993d6fceba0e0da1a34269a98b6e83ee5e99a11c24d742e | C++ | 53,584 | 1,225 | /*
AutoHotkey
Copyright 2003-2009 Chris Mallett (support@autohotkey.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This... |
263ef84dac69f03942db69ba917f2519b934637fad1c8e7436604d792a50a5f7 | C++ | 53,979 | 1,772 | /*
* Copyright 2011, Ben Langmead <langmea@cs.jhu.edu>
*
* This file is part of Bowtie 2.
*
* Bowtie 2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your opt... |
a94485502f553c0ac31528d10931e87b61502e24d6a9deb5c0552d17d47bd3e3 | C++ | 55,202 | 1,979 | #include "stdafx.h"
#include "globaldata.h"
#include "script.h"
#include "script_object.h"
#include "script_com.h"
#include "script_func_impl.h"
#include "script_gui.h"
#include <DispEx.h>
// IID__IObject -- .NET's System.Object:
const IID IID__Object = {0x65074F7F, 0x63C0, 0x304E, 0xAF, 0x0A, 0xD5, 0x17, 0x41, 0xCB,... |
87da7596987aca1244bf608c0e7d8c18146fe81072a0c42e6b47e57dd9a5de68 | C++ | 55,314 | 1,173 | #include "Prefiltering.h"
#include "NucleotideMatrix.h"
#include "ReducedMatrix.h"
#include "SubstitutionMatrixProfileStates.h"
#include "DBWriter.h"
#include "QueryMatcherTaxonomyHook.h"
#include "PatternCompiler.h"
#include "FileUtil.h"
#include "IndexBuilder.h"
#include "Timer.h"
#include "ByteParser.h"
#include "P... |
cbc53616d77a10bbcbe72286fc0246b48d7bdb9c0dedad889da01933dd121aa7 | C++ | 55,356 | 1,706 | /**
* Copyright 2014-2024, XGBoost Contributors
*/
#include <dmlc/common.h>
#include <dmlc/omp.h>
#include <xgboost/c_api.h>
#include <xgboost/context.h>
#include <xgboost/data.h>
#include <xgboost/logging.h>
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <cstdio>
#include <cstring>
#include <memo... |
327436545f4d2a21d911931d3aedb5b475ad52e34c4a7456b281a633ad665de1 | C++ | 57,086 | 2,129 | /*
* Copyright 2011, Ben Langmead <langmea@cs.jhu.edu>
*
* This file is part of Bowtie 2.
*
* Bowtie 2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your opt... |
e5f5ca9ebbca5fadea927148df1c74af24e3971ce4949eb23d03a864d1dce1d1 | C++ | 57,576 | 1,516 | /**
* Copyright 2014-2024, XGBoost Contributors
* \file learner.cc
* \brief Implementation of learning algorithm.
* \author Tianqi Chen
*/
#include "xgboost/learner.h"
#include <dmlc/io.h> // for Stream
#include <dmlc/parameter.h> // for FieldEntry, DMLC_DECLARE_FIELD, Parameter... |
07689fe1084a818545357b723ca379ecd1cea1c574aa88b3c9614f3df8a3f745 | C++ | 58,254 | 2,272 | /*
* Bshouty Lung Model - Pulmonary Circulation Simulation
* Copyright (c) 1989-2014 Zoheir Bshouty, MD, PhD, FRCPC
* Copyright (c) 2011-2014 Adam Majer
*
* 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
* ... |
a139bfe04571795adc1cd2d60ce7ed88abb9ad7f9eefb854d547cf90daf1a265 | C++ | 59,075 | 1,302 | /*++
Module Name:
AlignerOptions.cpp
Abstract:
Common parameters for running single & paired alignment.
Authors:
Ravi Pandya, May, 2012
Environment:
User mode service.
Revision History:
Integrated from SingleAligner.cpp & PairedAligner.cpp
--*/
#include "stdafx.h"
#include "options.h"
#i... |
ecb7b500f0840759c041c3d1af0a304f56f000c4d745610a0fbdd0c5e5374d36 | C++ | 62,588 | 1,580 | /**
* Copyright 2014-2024, XGBoost Contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... |
65df373febb9aaf54e0c90ba5c60af759707e97c7f3042e15e3a9e0158b0b47c | C++ | 62,714 | 1,902 | /*
* Copyright 2011, Ben Langmead <langmea@cs.jhu.edu>
*
* This file is part of Bowtie 2.
*
* Bowtie 2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your opt... |
ea9e227719fd53d38226569b1219d8653f9ebb05a122cad4348b86160fcb21a7 | C++ | 63,619 | 1,911 | /*
* Copyright 2011, Ben Langmead <langmea@cs.jhu.edu>
*
* This file is part of Bowtie 2.
*
* Bowtie 2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your opt... |
a3b59cfe395e52f535a99702ebd8f3c260a6b01a5d47ef6bed62a49e64aa5af7 | C++ | 64,306 | 1,572 | /*
AutoHotkey
Copyright 2003-2009 Chris Mallett (support@autohotkey.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This... |
b67ddb810fee7b83da4ae544c4fff3ce7aeaa179f8538b71361273444857d907 | C++ | 65,342 | 1,270 | /*
AutoHotkey
Copyright 2003-2009 Chris Mallett (support@autohotkey.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This... |
cb3ba8f545c22a272150a8f2a5e904812d3028cfd6ce605302cde4c82e67baa2 | C++ | 66,244 | 1,310 | // dear imgui: Renderer for Vulkan
// This needs to be used along with a Platform Binding (e.g. GLFW, SDL, Win32, custom..)
// Implemented features:
// [X] Renderer: Support for large meshes (64k+ vertices) with 16-bit indices.
// Missing features:
// [ ] Renderer: User texture binding. Changes of ImTextureID aren't... |
aecfda2dbc552181260c1f81e6cf2f4a232d0e0fb87f13c264706121dda5fa24 | C++ | 67,733 | 1,494 | /*
AutoHotkey
Copyright 2003-2009 Chris Mallett (support@autohotkey.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This... |
1c24966dd715a405089b10eea361c142b0e3ddabb53dc0283343b1824d252934 | C++ | 68,373 | 1,611 | #include "handler_test.h"
#include "specexamples.h" // IWYU pragma: keep
#include "yaml-cpp/yaml.h" // IWYU pragma: keep
#include "gmock/gmock.h"
#include "gtest/gtest.h"
using ::testing::_;
#define EXPECT_THROW_PARSER_EXCEPTION(statement, message) \
ASSERT_THROW(statement, ParserException); \
t... |
c9a78d06b316f0e5e0df55a574bc7f3f8dfee3ef033f57cd8088320a627360be | C++ | 69,131 | 2,154 | #include "GLFWApp.h"
#include <glad/glad.h>
#include <GL/glu.h>
#include <GLFW/glfw3.h>
#include <imgui.h>
#include <implot.h>
#include <examples/imgui_impl_glfw.h>
#include <examples/imgui_impl_opengl3.h>
#include <imgui_internal.h>
#include <iostream>
#include <experimental/filesystem>
#include <pybind11/embed.h>
#in... |
7497056be5b27ef1371c8a7b98bf704486562b7293295907d05ec64a7c14ae30 | C++ | 69,249 | 1,851 | /**
* Copyright 2014-2025, XGBoost Contributors
*/
#include "xgboost/c_api.h"
#include <algorithm> // for copy, transform
#include <cinttypes> // for strtoimax
#include <cmath> // for nan
#include <cstring> // for strcmp
#include <limits> // for numeric_limits
#include <map> //... |
9ba4480e0d8608464cdb12f6447f42a0a3b34021cff8775e12265254d4b2adac | C++ | 69,381 | 2,044 | /*
* Copyright (C) 2019-2026 Matthias Klumpp <matthias@tenstral.net>
*
* Licensed under the GNU Lesser General Public License Version 3
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Founda... |
6a2e37065568a745b9097ae4509d3f209fb7cd23dcb37c61d41234d1bb375f4a | C++ | 70,676 | 1,970 | /* The MIT License
Copyright (c) 2012-1015 Boston College.
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, ... |
dcd3ef4468028ce21dfdeb5ec62761d94f7b679727a38c83d8436a78d9249007 | C++ | 70,998 | 2,644 | // Copyright 2007, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions ... |
fb7334ae77b790f2d4f7a4a923da13b21100e32a6ca879d284063e07659a7aae | C++ | 72,085 | 2,000 | ///////////////////////////////////////////////////////////////////////////////
//
// AutoIt
//
// Copyright (C)1999-2006:
// - Jonathan Bennett <jon@hiddensoft.com>
// - Others listed at https://www.autoitscript.com/autoit3/docs/credits.htm
// - Chris Mallett (support@autohotkey.com): various enhancements and
/... |
a1e5efeda62ad9f7b510ca95012884d0b7ebabe3b9c163c9e64f20c60b2056c8 | C++ | 73,322 | 2,993 | #include <string>
#include <vector>
#include "boost/scoped_ptr.hpp"
#include "google/protobuf/text_format.h"
#include "gtest/gtest.h"
#include "caffe/blob.hpp"
#include "caffe/common.hpp"
#include "caffe/layer.hpp"
#include "caffe/util/db.hpp"
#include "caffe/util/io.hpp"
#include "caffe/util/upgrade_proto.hpp"
#inc... |
a48746c9a1ddeaeebd12a135ee9d0029897c935522c5914e0b1a6a63b1c428e6 | C++ | 75,099 | 2,266 | /*
* Copyright 2011, Ben Langmead <langmea@cs.jhu.edu>
*
* This file is part of Bowtie 2.
*
* Bowtie 2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your opt... |
30be2cd11793264da8c12d1b12bdc49b44e955923481abfe7879f2ccd37ab81b | C++ | 75,268 | 2,780 | /*++
Module Name:
compat.cpp
Abstract:
Functions that provide compatibility between the Windows and Linux versions,
and mostly that serve to keep #ifdef's out of the main code in order to
improve readibility.
Authors:
Bill Bolosky, November, 2011
Environment:
User mode service.
Revision... |
a59edb0ab2f46625f2768f8400807f24affbef109c496b596bc868314ba2cc1b | C++ | 76,324 | 2,272 | /*
* Copyright 2011, Ben Langmead <langmea@cs.jhu.edu>
*
* This file is part of Bowtie 2.
*
* Bowtie 2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your opt... |
bbbc96ae6022a51039012bbcd16ac9ba4156fb8fdfd179284be007d3aea4e229 | C++ | 77,378 | 2,427 | // Copyright 2006, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions ... |
bf4bf73158c667ab92d7d2df342b47cdbd3436c4898d6ce72d35633bee201dfb | C++ | 80,358 | 3,092 | #include "Environment.h"
#include "DARTHelper.h"
#include "Character.h"
#include "BVH.h"
#include "Muscle.h"
#include "dart/collision/bullet/bullet.hpp"
#include <initializer_list>
#include <chrono>
#include <random>
using namespace dart;
using namespace dart::simulation;
using namespace MASS;
double clamp(double v... |
05a4c03d0844a27f3d1321455d65984968f6e165869b3a3d2fb0730b7c5a8b0c | C++ | 87,260 | 2,101 | /*
* Academic License - for use in teaching, academic research, and meeting
* course requirements at degree granting institutions only. Not for
* government, commercial, or other organizational use.
*
* multitaper_spectrogram_coder.cpp
*
* Code generation for function 'multitaper_spectrogram_coder'
*
*/
/* I... |
0a49f03573e9e9ca4d97ceac4a6de137e8f6c79e126a85e99ee59f00dda0c2c1 | C++ | 89,269 | 2,960 | // This code contains NVIDIA Confidential Information and is disclosed to you
// under a form of NVIDIA software license agreement provided separately to you.
//
// Notice
// NVIDIA Corporation and its licensors retain all intellectual property and
// proprietary rights in and to this software and related documentation... |
14fa3acfa2e1256c4cd0d81080d7bc24c83ba38387a070331403e637a68a7709 | C++ | 90,793 | 2,397 | /*
AutoHotkey
Copyright 2003-2009 Chris Mallett (support@autohotkey.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This... |
f02795ef863745870c01458d0cc0f2b8c87b1e746ee00cb93d7f6b8f6c69414f | C++ | 96,431 | 1,877 | /*
AutoHotkey
Copyright 2003-2009 Chris Mallett (support@autohotkey.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This... |
0bc3d263f6752b58a427ecff400d307954313fd1edf52829606c1a8073d046d4 | C++ | 97,063 | 3,259 | /*
Debugger.cpp - Main body of AutoHotkey debugger engine.
Original code by Steve Gray.
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 this software.
Permission is granted to anyone to use this software f... |
09020d797409b0d07683cdea812c24f0892b56dd9d04a9b3536167f5fbd04da7 | C++ | 98,532 | 2,328 | /*++
Module Name:
GenomeIndex.cpp
Abstract:
Index (hash table) builder for the SNAP sequencer
Authors:
Bill Bolosky, August, 2011
Environment:
User mode service.
Revision History:
Adapted from Matei Zaharia's Scala implementation.
--*/
#include "stdafx.h"
#include "ApproximateCounter.h"
... |
121eca84a05f692153a861267445a70b8105b5963d491fa245896280656edb58 | C++ | 98,927 | 2,994 | /*++
Module Name:
DataReader.cpp
Abstract:
Concrete implementation classes for DataReader and DataSupplier.
These are completely opaque, and are only exposed through static supplier objects
defined in DataReader.h
Environment:
User mode service.
--*/
#include "stdafx.h"
#include "BigAlloc.h... |
a2248e14a41e7ebb91b93e4e03cff41ed6131033af6de787316709e1aeb390f1 | C++ | 103,906 | 3,214 | /*
* Copyright 2011, Ben Langmead <langmea@cs.jhu.edu>
*
* This file is part of Bowtie 2.
*
* Bowtie 2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your opt... |
806e0be174d75a400e53730144ffc8e3a5493693a69112afffcbf65870433320 | C++ | 105,235 | 2,128 | // include xxhash early to avoid incompatibilites with SIMDe
#define XXH_INLINE_ALL
#include "xxhash.h"
#include "kmermatcher.h"
#include "Debug.h"
#include "Indexer.h"
#include "SubstitutionMatrix.h"
#include "ReducedMatrix.h"
#include "ExtendedSubstitutionMatrix.h"
#include "NucleotideMatrix.h"
#include "tantan.h"
#... |
5dcf76e6e3a2cdde7c696274846d9e704e84cd7720d121fa5eca8343a068d5e4 | C++ | 107,116 | 2,392 | // MIT License
// Copyright (c) 2021 Evan Pezent
// 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, mer... |
4f185d83f8bb1b8aea1cc318d6f916d796df8ddd3b94b041a71f935fcc6e6bf3 | C++ | 117,593 | 2,570 | /*++
Module Name:
BaseAligner.cpp
Abstract:
Single-end aligner
Authors:
Bill Bolosky, August, 2011
Environment:
User mode service.
This class is NOT thread safe. It's the caller's responsibility to ensure that
at most one thread uses an instance at any time.
Revision History:
Adap... |
3ba5c471f39ff488ae31c1a2513e849913faa36698d15078a495005333eb554d | C++ | 118,376 | 2,131 | /*
AutoHotkey
Copyright 2003-2009 Chris Mallett (support@autohotkey.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This... |
b21b2281c54af459727ea131c226f3b41b004d7818cc95e0da8dfac921cc662a | C++ | 122,205 | 1,416 | #include "Command.h"
#include "Parameters.h"
#include "CommandDeclarations.h"
#include "DownloadDatabase.h"
#ifdef MMSEQS_INT64_IDS
const char* MMSEQS_CURRENT_INDEX_VERSION = "16-64";
#else
const char* MMSEQS_CURRENT_INDEX_VERSION = "16";
#endif
Parameters& par = Parameters::getInstance();
std::vector<Command> baseCo... |
8fe9ab001a6ffc6f69385135d9533f4a5f352a2088698d197cf71527e2be437c | C++ | 131,037 | 2,468 | /*
AutoHotkey
Copyright 2003-2009 Chris Mallett (support@autohotkey.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This... |
9cb9d4dd344c1a288a06bb73a20f514ee4facff67889ae5e3b9957a8f1979c77 | C++ | 131,656 | 2,329 | // MIT License
// Copyright (c) 2020 Evan Pezent
// 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, mer... |
4e85263e0c3c9544538e31509bd3b051a90d0001bf3e7e50e9147869310b0ae7 | C++ | 132,024 | 2,834 | /*
AutoHotkey
Copyright 2003-2009 Chris Mallett (support@autohotkey.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This... |
778c065c3ff392d5aa5be137b948285c6454eb2fa00b6925ac113362a426d848 | C++ | 134,033 | 3,473 | /*++
Module Name:
Bam.cpp
Abstract:
Binary Alignment Map (BAM) file writer and reader.
Environment:
User mode service.
BamWriter and BamReader (and their subclasses) aren't thread safe.
--*/
#include "stdafx.h"
#include "SAM.h"
#include "BigAlloc.h"
#include "Compat.h"
#include "Read.h"
#includ... |
3048e676a7d565f3fe6ff07b29a71012b3728ce55f8d4c8850743cf64e04b79b | C++ | 142,476 | 4,622 | #include "stdafx.h" // pre-compiled headers
#include "defines.h"
#include "globaldata.h"
#include "script.h"
#include "application.h"
#include "script_object.h"
#include "script_func_impl.h"
#include "script_gui.h"
#include "input_object.h"
#include <errno.h> // For ERANGE.
#include <initializer_list>
#define STRUC... |
2a1f3651c6cabea0c846b1e63665c7bd623f1f23cc6f5fb4c81820c2e38db9ec | C++ | 146,048 | 3,387 | /*
AutoHotkey
Copyright 2003-2009 Chris Mallett (support@autohotkey.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This... |
b8854a870b3480de193ef272692d9a8afda559815cfd43f514c965ef645285f9 | C++ | 153,410 | 4,016 | /*
AutoHotkey
Copyright 2003-2009 Chris Mallett (support@autohotkey.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This... |
bb0cdf8e53b80d42e1c8289703c51c05028399cf78ecc9a065bd27b4ba628c23 | C++ | 154,914 | 3,885 | /*
* Copyright 2014, Daehwan Kim <infphilo@gmail.com>
*
* This file is part of HISAT.
*
* HISAT is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) an... |
7e90b25a6329b23e352b651017e2241c15f1779be2ac77b149ae9f8e3f1505ac | C++ | 163,546 | 4,287 | /*++
Module Name:
SAM.cpp
Abstract:
Sequence Alignment Map (SAM) file writer and reader.
Environment:
User mode service.
SamWriter and SamReader (and their subclasses) aren't thread safe.
--*/
#include "stdafx.h"
#include "BigAlloc.h"
#include "Compat.h"
#include "Read.h"
#include "SAM.h"
#incl... |
6f8e952a95418f928846f1187721db4e7eaa0ed7ff7917ffd8ec1ca83ef012ad | C++ | 163,889 | 4,755 |
/*
* Copyright 2018, Chanhee Park <parkchanhee@gmail.com> and Daehwan Kim <infphilo@gmail.com>
*
* This file is part of HISAT 2.
*
* HISAT 2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either versi... |
588d5371a6c29f6a575fbacba72ce4b76a9ef6f1e627beb0900b5418802e2671 | C++ | 180,315 | 4,373 | /*
* Copyright 2015, Daehwan Kim <infphilo@gmail.com>
*
* This file is part of HISAT 2.
*
* HISAT 2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option... |
9402f0441acd2fd5e95a80709da40c2f9840ec5efab4529f53f69ceadb817b91 | C++ | 182,188 | 3,162 | #include "Parameters.h"
#include "Util.h"
#include "DistanceCalculator.h"
#include "Debug.h"
#include "CommandCaller.h"
#include "ByteParser.h"
#include "FileUtil.h"
#include <map>
#include <iomanip>
#include <regex.h>
#include <unistd.h>
#include <sched.h>
#include "blosum62.out.h"
#include "PAM30.out.h"
#include "V... |
ce3958ecaf55db253e8380ba868315fd3cda0100a0777f2bd2476f67a322b64e | C++ | 182,189 | 5,652 | // Copyright 2007, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions ... |
386dca85b2d93a7bf9291ece8ef46977e8a4d8323d99b15864f37627ee95d195 | C++ | 192,039 | 3,804 | // dear imgui, v1.79
// (drawing and font code)
/*
Index of this file:
// [SECTION] STB libraries implementation
// [SECTION] Style functions
// [SECTION] ImDrawList
// [SECTION] ImDrawListSplitter
// [SECTION] ImDrawData
// [SECTION] Helpers ShadeVertsXXX functions
// [SECTION] ImFontConfig
// [SECTION] ImFontAtlas... |
a5a14bd19e428d29924c1f85a80479ce2ec07154a199d2e92fbfeb4d2d05cfef | C++ | 195,751 | 5,388 | // Copyright 2005, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions ... |
1baf65ddcd90efbcbb3e8a2ce1cd6302f5f03df264300007c58d647a4eb3e917 | C++ | 200,000 | 3,667 | /*++
Module Name:
IntersectingPairedEndAligner.cpp
Abstract:
A paired-end aligner based on set intersections to narrow down possible candidate locations.
Authors:
Bill Bolosky, February, 2013
Environment:
User mode service.
Revision History:
--*/
#include "stdafx.h"
#include "IntersectingPair... |
2339e2c1c663c1a7cb8afe3954bd908ed131a78790b335a1f0f077abcc2a3f05 | C++ | 200,000 | 5,375 | // Copyright 2008, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions ... |
47ff4f274226e2c77197ba8de6516beb378ecfed7f6bc5bd92b6a1b19d50099c | C++ | 200,000 | 4,342 | // MIT License
// Copyright (c) 2021 Evan Pezent
// 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, mer... |
64efd9dd38c0143a1dc546aa4bcdbdec93ad42e723aa3196c8751cad53c5c0b7 | C++ | 200,000 | 4,350 | /*
AutoHotkey
Copyright 2003-2009 Chris Mallett (support@autohotkey.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This... |
86d07eb45b8389b54f9ceb6253fa715b72c1ef7225fd4f6df3f135df66764509 | C++ | 200,000 | 3,886 | // dear imgui, v1.79
// (demo code)
// Help:
// - Read FAQ at http://dearimgui.org/faq
// - Newcomers, read 'Programmer guide' in imgui.cpp for notes on how to setup Dear ImGui in your codebase.
// - Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp. All applications in examples/ are doing that.
// Read imgui.cp... |
ccfed0ec75cd967812ca61f43044c783b231c4d47d036153cd95ac26c9e33f6c | C++ | 200,000 | 7,389 | #include "handler_test.h"
#include "yaml-cpp/yaml.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
using ::testing::_;
namespace YAML {
namespace {
typedef HandlerTest GenEmitterTest;
TEST_F(GenEmitterTest, testbf4e63edf2258c91fb88) {
Emitter out;
out << Comment("comment");
out << BeginDoc;
out << "foo"... |
d324b9e91975d538d293ad59803ea60495ff9f58ad579a11536d90e05c6b12c2 | C++ | 200,000 | 3,718 | // dear imgui, v1.79
// (main code and documentation)
// Help:
// - Read FAQ at http://dearimgui.org/faq
// - Newcomers, read 'Programmer guide' below for notes on how to setup Dear ImGui in your codebase.
// - Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp. All applications in examples/ are doing that.
// Re... |
e0704e9ab758f92b45c472f99395a02f2b2dc32cdafba29af31fb4cbe2af5f52 | C++ | 200,000 | 6,233 | // Copyright 2005, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions ... |
ecb1e3c3d0fa94899fed1d2b5d745d9c12313fb4510f4d8d0d120b13bbc9fa28 | C++ | 200,000 | 1,356 | // main.cpp
// forautocompl
//
// Created by Martin Steinegger on 26.11.12.
// Copyright (c) 2012 -. All rights reserved.
//
#include <iostream>
#include "Parameters.h"
#include "StripedSmithWaterman.h"
#include "MsaFilter.h"
#include "PSSMCalculator.h"
#include "Sequence.h"
#include "SubstitutionMatrix.h"
#includ... |
efc729c835c4d3f467b8cf7b9f848fa72a8a7c5cc013a965c3bf18b4656dec85 | C++ | 200,000 | 1,319 | #include "imgui_spectrum.h"
#include "imgui.h"
namespace ImGui {
namespace Spectrum {
extern const unsigned int SourceSansProRegular_compressed_size = 149392;
extern const unsigned int SourceSansProRegular_compressed_data[]; // defined later in the file
void LoadFont(float size) {
... |
f5216b932140442de387eeff9187cfef8c8cd74e227b432f1baeaa932bd5df06 | C++ | 200,000 | 4,111 | // dear imgui, v1.79
// (widgets code)
/*
Index of this file:
// [SECTION] Forward Declarations
// [SECTION] Widgets: Text, etc.
// [SECTION] Widgets: Main (Button, Image, Checkbox, RadioButton, ProgressBar, Bullet, etc.)
// [SECTION] Widgets: Low-level Layout helpers (Spacing, Dummy, NewLine, Separator, etc.)
// [S... |
614b3b92f5796ea64e8d2384cc19b9e0d1827ca327655c75a27c540fb4649f8a | C++ | 200,003 | 4,642 | /*
AutoHotkey
Copyright 2003-2009 Chris Mallett (support@autohotkey.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This... |
f05063446c361e43d6643923282cb2d82c8558984ec2d045265ff3f4c344ebe6 | C++ | 200,004 | 3,552 | /*
AutoHotkey
Copyright 2003-2009 Chris Mallett (support@autohotkey.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This... |
24261ffcaab5b1553acef613d532ef8a50c37fd6de82f06720acda48d0d68a18 | C++ | 200,009 | 3,390 | /*
AutoHotkey
Copyright 2003-2009 Chris Mallett (support@autohotkey.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This... |
962c890c81ed4c2467086be787b5daa10023eac09a6d9953f25c28e7e2346f19 | C/C++ | 18 | 1 | #pragma pack(pop)
|
7c7dfb862fbd4063378bb2086e49db0857322c3de8cb9d570f175da1d253a682 | C/C++ | 20 | 1 | #include <string.h>
|
2bc6a0eedb9cb3cfd0a593deaf06d52fd4359275ac9f136ba6e94a7da19048f1 | C/C++ | 21 | 1 | #pragma pack(push,1)
|
6cfcf1fb6caf5a38e574f9d5997190397dbed661d15c3b409a6f65f8f5bae99e | C/C++ | 21 | 1 | #pragma pack(push,2)
|
9beac1a5961107ea3a898b2764a034bd0b7290d4bc38ba8c2febd78bc6021d96 | C/C++ | 21 | 1 | #pragma pack(push,8)
|
fe169a5f1d0c10bb2b23b02bede734e2fc88e6a3553de1cbecf749e028bcdbb9 | C/C++ | 21 | 1 | #pragma pack(push,4)
|
7a3a43267ce4d4aa13e5a19dca7a90999a7f3f95757da057a82f0f47d000acaf | C/C++ | 22 | 1 | #define n "abc , def"
|
b1dd8248afa7b21a639dda7801a52288b4d476cf36f0d095ae8d92f13ff09eaa | C/C++ | 26 | 2 | typedef __int128 int128;
|
cd53496280aa07d17e9ff7c1b7445a416f9dc4dfd837d91bd989a6bc894962ca | C/C++ | 28 | 1 | #define PISA_VERSION "v1.8"
|
458040ed4bbde27ff6afe4c8fec324ea991bd754394d3259f6a8c04f87c2b6ec | C/C++ | 34 | 1 | #define HTS_VERSION_TEXT "1.10.2"
|
1a8d11d01d1cc92c650c9c9ed35299240052d4683a15a719a2315ef44185e074 | C/C++ | 38 | 1 | #import "GeneratedPluginRegistrant.h"
|
b01cccf19f14fa05e80c0918edcd62af9e224fe1da3f74bf5b83ee1c381fd6b3 | C/C++ | 40 | 2 | #include <stddef.h>
#include <stdint.h>
|
6d4e176b99b56bd2d61adfc7d87b19154e84ae18b5ba9d27e2e1d4f38b5ad1cf | C/C++ | 72 | 4 | #ifndef __msterr_h__
#define __msterr_h__
#include "winerror.h"
#endif
|
abbdc6c6fa8a832959e46cab70125d373fd162f9db5460084c9fab3c9b67d59a | C/C++ | 79 | 2 | #define SDL_REVISION "hg-10001:e12c38730512"
#define SDL_REVISION_NUMBER 10001
|
8c374326c552dac9410fdfb3f3108b46491538cd7fbdbb0b29f78d3f6ffaecc6 | C/C++ | 91 | 6 | #ifndef LINUX_ERRNO_H_
#define LINUX_ERRNO_H_
#define EINVAL 22
#endif // LINUX_ERRNO_H_
|
ad4bebcfca086cfb13d07eaade74451a4bb4a419e90fc57d6725987ba13964b9 | C/C++ | 93 | 5 | #if defined(USE_MSVCRT)
#define __import __declspec(dllimport)
#else
#define __import
#endif
|
1e069e95a10372b4ae7a56d3c6b6d5e1d6c3085ccf7a45cecfbb58074a82ecdb | C/C++ | 97 | 5 | #ifdef _MSC_VER
#include "..\..\SNAPLib\stdafx.h"
#else
#include "../../SNAPLib/stdafx.h"
#endif
|
4fd86a15d817b50b28160007a721f456bd6edb5471e9566056ce5debad5487af | C/C++ | 113 | 6 | #ifndef JSON_CONFIG_HEADER
#define JSON_CONFIG_HEADER
extern char *json_config_open(const char *fname);
#endif
|
2239345a646cdc0e182a44f3fe39ad1665ef3985c7c3782bbfcbda83a5600bc7 | C/C++ | 139 | 8 | #ifndef BIOSTRING_H
#define BIOSTRING_H
#include <string.h>
#include "htslib/kstring.h"
int *str_split(kstring_t *str, int *_n);
#endif
|
384b1a3ff9f9e3c70604b12fb63a29c6886adb0c45f53c792caf83315e26a300 | C/C++ | 143 | 6 | #pragma once
#include "AlignerOptions.h"
#if HIT_DEPTH_COUNTING
void CountHitDepth(int argc, const char** argv);
#endif // HIT_DEPTH_COUNTING
|
3b6fc773bea36737b9866a6ab02671fc24666de0d98be370db7a75bfacf0a0ad | C/C++ | 144 | 11 | #ifndef LINUX_MATH64_H
#define LINUX_MATH64_H
#include <stdint.h>
static uint64_t div_u64(uint64_t n, uint32_t d)
{
return n / d;
}
#endif
|
4baa7d52a4f40cc57ad17c62486e8d71f1381879cc31b0a16e239cfb0a919f10 | C/C++ | 146 | 5 | #pragma once
#include "cxxbridge-cpp/lib.h"
::RsImage read_image(::rust::Str path);
void write_image(::rust::Str path, ::RsImage const & image);
|
a2328c77999af1d06446ed4b7da691bbdd587a44d5a8ae59b8bba9293e41fb28 | C/C++ | 149 | 8 | #import <MetalKit/MetalKit.h>
@interface Renderer : NSObject <MTKViewDelegate>
-(nonnull instancetype)initWithView:(nonnull MTKView *)view;
@end
|
0b8f4fe97bbc1dc3516534670e42a9691c74d0f0b9c08731fd88c56bd76f68b3 | C/C++ | 162 | 8 | typedef long int off_t;
typedef long int ino_t;
typedef unsigned int dev_t;
#ifndef _TIME_T_DEFINED
#define _TIME_T_DEFINED
typedef unsigned long time_t;
#endif
|
1f57afb560cdf4f7d7fb9bcc12648bdd3068cdcb4e5888bbdfead2a88204f59d | C/C++ | 162 | 8 | #ifndef __LCC_LOCKING___
#define __LCC_LOCKING___
#define _LK_UNLCK 0
#define _LK_LOCK 1
#define _LK_NBLCK 2
#define _LK_RLCK 3
#define _LK_NBRLCK 4
#endif
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.