hexsha stringlengths 40 40 | size int64 5 1.05M | ext stringclasses 588
values | lang stringclasses 305
values | max_stars_repo_path stringlengths 3 363 | max_stars_repo_name stringlengths 5 118 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 10 | max_stars_count float64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringdate 2015-01-01 00:00:35 2022-03-31 23:43:49 ⌀ | max_stars_repo_stars_event_max_datetime stringdate 2015-01-01 12:37:38 2022-03-31 23:59:52 ⌀ | max_issues_repo_path stringlengths 3 363 | max_issues_repo_name stringlengths 5 118 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 10 | max_issues_count float64 1 134k ⌀ | 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 3 363 | max_forks_repo_name stringlengths 5 135 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 10 | max_forks_count float64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringdate 2015-01-01 00:01:02 2022-03-31 23:27:27 ⌀ | max_forks_repo_forks_event_max_datetime stringdate 2015-01-03 08:55:07 2022-03-31 23:59:24 ⌀ | content stringlengths 5 1.05M | avg_line_length float64 1.13 1.04M | max_line_length int64 1 1.05M | alphanum_fraction float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4e9fd1b5ef88c06060b7406ae453d0c5fd19324a | 4,234 | h | C | qemu/include/qemu/fifo32.h | hyunjoy/scripts | 01114d3627730d695b5ebe61093c719744432ffa | [
"Apache-2.0"
] | 60 | 2020-10-14T07:11:48.000Z | 2022-02-14T23:00:51.000Z | qemu/include/qemu/fifo32.h | hyunjoy/scripts | 01114d3627730d695b5ebe61093c719744432ffa | [
"Apache-2.0"
] | 8 | 2020-10-19T02:17:19.000Z | 2022-01-15T05:52:46.000Z | qemu/include/qemu/fifo32.h | hyunjoy/scripts | 01114d3627730d695b5ebe61093c719744432ffa | [
"Apache-2.0"
] | 18 | 2022-03-19T04:41:04.000Z | 2022-03-31T03:32:12.000Z | /*
* Generic FIFO32 component, based on FIFO8.
*
* Copyright (c) 2016 Jean-Christophe Dubois
*
* 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 y... | 22.167539 | 77 | 0.674539 |
19a76847f3ed2f09505d96402d7bc21cfdd30771 | 3,613 | h | C | llbc/include/llbc/core/algo/RingBuffer.h | joe1545134/llbc | db460e4a35ba8c63190bf2376bbba68453b4ecc0 | [
"MIT"
] | 83 | 2015-11-10T09:52:56.000Z | 2022-01-12T11:53:01.000Z | llbc/include/llbc/core/algo/RingBuffer.h | joe1545134/llbc | db460e4a35ba8c63190bf2376bbba68453b4ecc0 | [
"MIT"
] | 30 | 2017-09-30T07:43:20.000Z | 2022-01-23T13:18:48.000Z | llbc/include/llbc/core/algo/RingBuffer.h | caochunxi/llbc | 2ff4af937f1635be67a7e24602d0a3e87c708ba7 | [
"MIT"
] | 34 | 2015-11-14T12:37:44.000Z | 2021-12-16T02:38:36.000Z | // The MIT License (MIT)
// Copyright (c) 2013 lailongwei<lailongwei@126.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software without restriction, including without limitation the r... | 26.762963 | 86 | 0.6615 |
d7a1d3e69ee37bb588c922da65db4f211a487d13 | 567 | h | C | include/tile/Layout.h | rbtnn/tile | 8b0b896b6e69128e68a4b134d7b0fbf617894fb1 | [
"MIT"
] | 1 | 2015-01-08T21:58:32.000Z | 2015-01-08T21:58:32.000Z | include/tile/Layout.h | rbtnn/tile | 8b0b896b6e69128e68a4b134d7b0fbf617894fb1 | [
"MIT"
] | null | null | null | include/tile/Layout.h | rbtnn/tile | 8b0b896b6e69128e68a4b134d7b0fbf617894fb1 | [
"MIT"
] | null | null | null |
#ifndef TILE_LAYOUT_H
#define TILE_LAYOUT_H
#include "./common_headers.h"
namespace Tile{
class Layout{
public:
typedef std::function<void(std::deque<HWND> const& hwnds_, long const& width_, long const& height_)> ArrangeFunctionSTL;
typedef void (* ArrangeFuncRef)(std::deque<HWND> const&, long cons... | 22.68 | 126 | 0.686067 |
c758ca1244d76372fc4a84867ed011a371795522 | 302 | h | C | src/Log.h | abhishekkumarXD/Cherno-CPP | 15742c32ba0b65de5c616d261eeb0d2c084a68ec | [
"Apache-2.0"
] | 1 | 2022-02-07T13:25:18.000Z | 2022-02-07T13:25:18.000Z | src/Log.h | abhishekkumarXD/Cherno-CPP | 15742c32ba0b65de5c616d261eeb0d2c084a68ec | [
"Apache-2.0"
] | null | null | null | src/Log.h | abhishekkumarXD/Cherno-CPP | 15742c32ba0b65de5c616d261eeb0d2c084a68ec | [
"Apache-2.0"
] | null | null | null |
// pragma once is a non-standard but widely supported preprocessor directive
// designed to cause the current source file to be included only once in a
// single compilation.
#include <iostream>
void InitLog();
void Log(const char* message)
{
std::cout << message << std::endl;
}
| 21.571429 | 77 | 0.688742 |
67b451b18f103588405c1e707f2337bd10f696ee | 295 | h | C | vpr7_x2p/vpr/SRC/place/place_stats.h | ganeshgore/OpenFPGA | e2e4a9287ddd3f88ee6d436fa4b7e616bcd20390 | [
"MIT"
] | 31 | 2016-02-15T02:57:28.000Z | 2021-06-02T10:40:25.000Z | vpr7_x2p/vpr/SRC/place/place_stats.h | ganeshgore/OpenFPGA | e2e4a9287ddd3f88ee6d436fa4b7e616bcd20390 | [
"MIT"
] | null | null | null | vpr7_x2p/vpr/SRC/place/place_stats.h | ganeshgore/OpenFPGA | e2e4a9287ddd3f88ee6d436fa4b7e616bcd20390 | [
"MIT"
] | 6 | 2017-02-08T21:51:51.000Z | 2021-06-02T10:40:40.000Z | #ifdef PRINT_REL_POS_DISTR
void print_relative_pos_distr(void);
/* Prints out the probability distribution of the relative locations of *
* input pins on a net -- i.e. simulates 2-point net length probability *
* distribution. */
#endif
| 36.875 | 74 | 0.623729 |
c531164e5ab541e81dc612ad05ae1556f4adfb98 | 1,667 | h | C | src/libsgm_wrapper.h | michaelnguyen11/libSGM | f966b79f0653ea54faf8704b50cef39586c7a3ae | [
"Apache-2.0"
] | null | null | null | src/libsgm_wrapper.h | michaelnguyen11/libSGM | f966b79f0653ea54faf8704b50cef39586c7a3ae | [
"Apache-2.0"
] | null | null | null | src/libsgm_wrapper.h | michaelnguyen11/libSGM | f966b79f0653ea54faf8704b50cef39586c7a3ae | [
"Apache-2.0"
] | null | null | null | #ifndef __LIBSGM_WRAPPER_H__
#define __LIBSGM_WRAPPER_H__
#include "libsgm.h"
#include <memory>
namespace sgm {
/**
* @brief LibSGMWrapper class which is wrapper for sgm::StereoSGM.
*/
class LibSGMWrapper {
public:
/**
* @param numDisparity Maximum disparity minus minimum disparity.
* @param P1 Penalty... | 35.468085 | 161 | 0.743251 |
41b6ee5459ab35c6502c7819078a686c28da9310 | 3,365 | h | C | unit.h | YAost/Nature-simulator | 3c48a0268f758b0e66105ba5a58a1c85d7af77ac | [
"MIT"
] | null | null | null | unit.h | YAost/Nature-simulator | 3c48a0268f758b0e66105ba5a58a1c85d7af77ac | [
"MIT"
] | null | null | null | unit.h | YAost/Nature-simulator | 3c48a0268f758b0e66105ba5a58a1c85d7af77ac | [
"MIT"
] | null | null | null | #ifndef UNIT_H
#define UNIT_H
#include <SFML/Graphics.hpp>
#include <math.h>
const double pi = atan(1.0)*4;
class Unit {
public:
Unit();
bool is_alive();
void draw(sf::RenderWindow &w); // отрисовка объекта и его поведения
void calculate(); // расчёт unitVector, ... | 47.394366 | 117 | 0.616642 |
5105edb4eef53f9e4546cd2172c53d7344b51dfb | 2,646 | c | C | src/util.c | freedan42x/resources-game | 5db35e1e23dbc17310caf9f125533fccd1fb2e5c | [
"MIT"
] | null | null | null | src/util.c | freedan42x/resources-game | 5db35e1e23dbc17310caf9f125533fccd1fb2e5c | [
"MIT"
] | null | null | null | src/util.c | freedan42x/resources-game | 5db35e1e23dbc17310caf9f125533fccd1fb2e5c | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <termios.h>
#include <unistd.h>
#include <math.h>
#include <sys/ioctl.h>
#include "util.h"
void clear(void)
{
printf("\e[1;1H\e[2J");
}
int rand_range(int min, int max)
{
return rand() % (max + 1 - min) + min;
}
char *progress_bar(int width, do... | 18.375 | 104 | 0.633409 |
5f4d403b48aac19a72793cda2d97d94fe13ecaef | 1,729 | h | C | Pseudo-Drifter/SystemManager.h | WerenskjoldH/Pseudo-Drifter | e9b09baa540372276608270dbfa14d5dd7e72639 | [
"Unlicense"
] | 1 | 2019-11-22T15:56:56.000Z | 2019-11-22T15:56:56.000Z | Pseudo-Drifter/SystemManager.h | WerenskjoldH/Pseudo-Drifter | e9b09baa540372276608270dbfa14d5dd7e72639 | [
"Unlicense"
] | null | null | null | Pseudo-Drifter/SystemManager.h | WerenskjoldH/Pseudo-Drifter | e9b09baa540372276608270dbfa14d5dd7e72639 | [
"Unlicense"
] | null | null | null | #ifndef SYSTEM_MANAGER_H
#define SYSTEM_MANAGER_H
/*
Description: This file contains all declarations and definitions pertaining to the system manager class
This class manages all systems
To-Do:
* Refactoring
* Storing entities with the systems in a vector and using entity signatures is probably a good idea, ... | 21.6125 | 140 | 0.714864 |
247e5fab095c686ed65b257afea1523be93897f8 | 2,561 | h | C | applications/physbam/physbam-lib/Public_Library/PhysBAM_Fluids/PhysBAM_Incompressible/Boundaries/BOUNDARY_MAC_GRID_SOLID_WALL_SLIP.h | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | 20 | 2017-07-03T19:09:09.000Z | 2021-09-10T02:53:56.000Z | applications/physbam/physbam-lib/Public_Library/PhysBAM_Fluids/PhysBAM_Incompressible/Boundaries/BOUNDARY_MAC_GRID_SOLID_WALL_SLIP.h | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | null | null | null | applications/physbam/physbam-lib/Public_Library/PhysBAM_Fluids/PhysBAM_Incompressible/Boundaries/BOUNDARY_MAC_GRID_SOLID_WALL_SLIP.h | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | 9 | 2017-09-17T02:05:06.000Z | 2020-01-31T00:12:01.000Z | //#####################################################################
// Copyright 2005-2006, Eran Guendelman, Geoffrey Irving.
// This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt.
//####################################################... | 56.911111 | 188 | 0.714565 |
9a0a0602f42f90f62eac00436a6e638d2b04b3d9 | 969 | h | C | include/MazeImage++/MazeImage++.h | joshuainovero/Maze-Image-Generator | b913c97fa92a80c29befae32cd1cbcc350acb12a | [
"MIT"
] | null | null | null | include/MazeImage++/MazeImage++.h | joshuainovero/Maze-Image-Generator | b913c97fa92a80c29befae32cd1cbcc350acb12a | [
"MIT"
] | null | null | null | include/MazeImage++/MazeImage++.h | joshuainovero/Maze-Image-Generator | b913c97fa92a80c29befae32cd1cbcc350acb12a | [
"MIT"
] | null | null | null | /*****************************************************************************
*
* MazeImage++ - A library that generates maze images
* Copyright (C) - 2021 Joshua Inovero (joshinovero@gmail.com)
*
* File: MazeImage++.h
* This file is the main include header of the library
*
* ou may opt to use, copy, modif... | 38.76 | 79 | 0.622291 |
7ad878957e553ec94dff6fd9a6938a009cb3d85a | 1,454 | c | C | src/hashmap.c | ryanisaacg/data-structures | 70e16715ec5bdd8f90709f7aacd0911a4c3626c7 | [
"MIT"
] | null | null | null | src/hashmap.c | ryanisaacg/data-structures | 70e16715ec5bdd8f90709f7aacd0911a4c3626c7 | [
"MIT"
] | null | null | null | src/hashmap.c | ryanisaacg/data-structures | 70e16715ec5bdd8f90709f7aacd0911a4c3626c7 | [
"MIT"
] | null | null | null | #include "hashmap.h"
#include <stdbool.h>
#include "linked_list.h"
#include "util.h"
static int get_hash(int key);
static bool void_ptr_equals(void *a, void *b);
static bool void_ptr_equals(void *a, void *b) {
return a == b;
}
HashMap *hm_new() {
HashMap *map = new(map);
map->eq = &void_ptr_equals;
map->keys = a... | 22.030303 | 61 | 0.669876 |
a3ec874dd70e6ac1c965974469412a70890d23bb | 628 | h | C | src/multiprocessing/util.h | AvivShabtay/Linux-OS-Development | 4aa0c776670aee92c1f0e633950446f027557760 | [
"MIT"
] | 1 | 2020-01-25T13:14:41.000Z | 2020-01-25T13:14:41.000Z | src/multiprocessing/util.h | AvivShabtay/Linux-OS-Development | 4aa0c776670aee92c1f0e633950446f027557760 | [
"MIT"
] | null | null | null | src/multiprocessing/util.h | AvivShabtay/Linux-OS-Development | 4aa0c776670aee92c1f0e633950446f027557760 | [
"MIT"
] | null | null | null | /*
* util.h
*
* Created on: May 14, 2019
* Author: aviv
*/
#ifndef UTIL_H_
#define UTIL_H_
#include <string.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include "matrix.h"
#define NUM_OF_CHILDREN 3
#define CHILD_PROGRAM "./child"
#define READ_FROM_PIPE 0
#define WRITE_TO_PIPE 1
#define C... | 20.933333 | 78 | 0.727707 |
435d6e340b5fc424534abed8819a802116be6484 | 1,206 | h | C | include/ncine/AudioStreamPlayer.h | ValtoGameEngines/nCine-Engine | 27869d762cd7cd668c2045bde99e743452444cb3 | [
"MIT"
] | 1 | 2020-10-01T16:05:11.000Z | 2020-10-01T16:05:11.000Z | include/ncine/AudioStreamPlayer.h | mat3019/nCine | 27869d762cd7cd668c2045bde99e743452444cb3 | [
"MIT"
] | null | null | null | include/ncine/AudioStreamPlayer.h | mat3019/nCine | 27869d762cd7cd668c2045bde99e743452444cb3 | [
"MIT"
] | 1 | 2020-06-29T08:06:11.000Z | 2020-06-29T08:06:11.000Z | #ifndef CLASS_NCINE_AUDIOSTREAMPLAYER
#define CLASS_NCINE_AUDIOSTREAMPLAYER
#include "common_defines.h"
#include "IAudioPlayer.h"
#include "AudioStream.h"
namespace ncine {
/// Audio stream player class
class DLL_PUBLIC AudioStreamPlayer : public IAudioPlayer
{
public:
/// A constructor creating a player from a f... | 27.409091 | 82 | 0.771144 |
9e2c1d274804848a4ba687ceb30bd42d542aeb01 | 245 | h | C | Extern/CAESolver/CAE_h/mem4nodecrosssection.h | weikm/sandcarSimulation2 | fe499d0a3289c0ac1acce69c7dc78d8ce1b2708a | [
"Apache-2.0"
] | null | null | null | Extern/CAESolver/CAE_h/mem4nodecrosssection.h | weikm/sandcarSimulation2 | fe499d0a3289c0ac1acce69c7dc78d8ce1b2708a | [
"Apache-2.0"
] | null | null | null | Extern/CAESolver/CAE_h/mem4nodecrosssection.h | weikm/sandcarSimulation2 | fe499d0a3289c0ac1acce69c7dc78d8ce1b2708a | [
"Apache-2.0"
] | null | null | null | #pragma once
#include"baseshellsection.h"
class Membrance4NodeCrossSection:public BaseShellCrossSection
{
__host__ __device__ virtual void computeHourglassForce() override;
__host__ __device__ virtual void computeInternalForce() override;
}; | 27.222222 | 67 | 0.844898 |
7f3a5474ea94892598e11a90b3e0b97c13e21d2e | 12,597 | h | C | external/highway/hwy/highway.h | geenen124/iresearch | f89902a156619429f9e8df94bd7eea5a78579dbc | [
"Apache-2.0"
] | 12,278 | 2015-01-29T17:11:33.000Z | 2022-03-31T21:12:00.000Z | external/highway/hwy/highway.h | geenen124/iresearch | f89902a156619429f9e8df94bd7eea5a78579dbc | [
"Apache-2.0"
] | 9,469 | 2015-01-30T05:33:07.000Z | 2022-03-31T16:17:21.000Z | external/highway/hwy/highway.h | geenen124/iresearch | f89902a156619429f9e8df94bd7eea5a78579dbc | [
"Apache-2.0"
] | 892 | 2015-01-29T16:26:19.000Z | 2022-03-20T07:44:30.000Z | // Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 37.269231 | 80 | 0.725014 |
fa23ff9512b74f3d69fe3428e615cea95fa86d2e | 623 | h | C | src/lcthw/tstree.h | shantanu69/liblcthw | fb54bed9b8b7205f1c278a28a468ff57bbbc55eb | [
"MIT"
] | 2 | 2015-12-10T11:48:46.000Z | 2016-05-24T11:27:40.000Z | src/lcthw/tstree.h | shantanu69/liblcthw | fb54bed9b8b7205f1c278a28a468ff57bbbc55eb | [
"MIT"
] | null | null | null | src/lcthw/tstree.h | shantanu69/liblcthw | fb54bed9b8b7205f1c278a28a468ff57bbbc55eb | [
"MIT"
] | null | null | null | #ifndef _lcthw_TSTree_h
#define _lcthw_TSTree_h
#include <stdlib.h>
#include <lcthw/darray.h>
typedef struct TSTree {
char splitchar;
struct TSTree *low;
struct TSTree *equal;
struct TSTree *high;
void *value;
} TSTree;
void *TSTree_search(TSTree *root, const char *key, size_t len);
void *TSTree_search_prefix(... | 21.482759 | 78 | 0.751204 |
d21fa023bbff5045fff7060da78f6da2c69385d5 | 956 | h | C | include/il2cpp/System/Runtime/Serialization/Formatters/Binary/ObjectProgress.h | martmists-gh/BDSP | d6326c5d3ad9697ea65269ed47aa0b63abac2a0a | [
"MIT"
] | 1 | 2022-01-15T20:20:27.000Z | 2022-01-15T20:20:27.000Z | include/il2cpp/System/Runtime/Serialization/Formatters/Binary/ObjectProgress.h | martmists-gh/BDSP | d6326c5d3ad9697ea65269ed47aa0b63abac2a0a | [
"MIT"
] | null | null | null | include/il2cpp/System/Runtime/Serialization/Formatters/Binary/ObjectProgress.h | martmists-gh/BDSP | d6326c5d3ad9697ea65269ed47aa0b63abac2a0a | [
"MIT"
] | null | null | null | #pragma once
#include "il2cpp.h"
void System_Runtime_Serialization_Formatters_Binary_ObjectProgress___ctor (System_Runtime_Serialization_Formatters_Binary_ObjectProgress_o* __this, const MethodInfo* method_info);
void System_Runtime_Serialization_Formatters_Binary_ObjectProgress__Init (System_Runtime_Serialization_Fo... | 95.6 | 244 | 0.912134 |
cfa996b9566e754f00c094c2659d9ec45bd22020 | 3,416 | h | C | sources/drivers/misc/mediatek/ssusb/mu3d/musb_gadget.h | fuldaros/paperplane_kernel_wileyfox-spark | bea244880d2de50f4ad14bb6fa5777652232c033 | [
"Apache-2.0"
] | 2 | 2018-03-09T23:59:27.000Z | 2018-04-01T07:58:39.000Z | sources/drivers/misc/mediatek/ssusb/mu3d/musb_gadget.h | fuldaros/paperplane_kernel_wileyfox-spark | bea244880d2de50f4ad14bb6fa5777652232c033 | [
"Apache-2.0"
] | null | null | null | sources/drivers/misc/mediatek/ssusb/mu3d/musb_gadget.h | fuldaros/paperplane_kernel_wileyfox-spark | bea244880d2de50f4ad14bb6fa5777652232c033 | [
"Apache-2.0"
] | 3 | 2017-06-24T20:23:09.000Z | 2018-03-25T04:30:11.000Z | /*
* MUSB OTG driver peripheral defines
*
* Copyright 2005 Mentor Graphics Corporation
* Copyright (C) 2005-2006 by Texas Instruments
* Copyright (C) 2006-2007 Nokia Corporation
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* ver... | 29.196581 | 82 | 0.752635 |
5cda0bdb7bf06f00701fb8c144c0fce25136ab4d | 767 | h | C | src/trunk/libs/3rd-party/spread/libspread-util/include/spu_system_defs_windows.h | yannikbehr/seiscomp3 | ebb44c77092555eef7786493d00ac4efc679055f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | src/trunk/libs/3rd-party/spread/libspread-util/include/spu_system_defs_windows.h | yannikbehr/seiscomp3 | ebb44c77092555eef7786493d00ac4efc679055f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | src/trunk/libs/3rd-party/spread/libspread-util/include/spu_system_defs_windows.h | yannikbehr/seiscomp3 | ebb44c77092555eef7786493d00ac4efc679055f | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2021-09-15T08:13:27.000Z | 2021-09-15T08:13:27.000Z | #ifndef SYSTEM_DEFS_WINDOWS_H
#define SYSTEM_DEFS_WINDOWS_H
#ifndef SYSTEM_DEFS_H
#error "system_defs_windows.h should never be directly included. Include system_defs.h."
#endif
#define LOC_INLINE __inline__
#ifndef int16
#define int16 short
#endif
#ifndef int16u
#define int16u unsigned short
#endif
#... | 17.044444 | 88 | 0.740548 |
d09be1ed938ff09e4d0de8d2e1d39afe6c4a3720 | 4,740 | h | C | include/tubeConvertTubesToDensityImage.h | thewtex/TubeTK | 7536c6c112e1785cead4d008e8fae5ca8f527f20 | [
"Apache-2.0"
] | null | null | null | include/tubeConvertTubesToDensityImage.h | thewtex/TubeTK | 7536c6c112e1785cead4d008e8fae5ca8f527f20 | [
"Apache-2.0"
] | null | null | null | include/tubeConvertTubesToDensityImage.h | thewtex/TubeTK | 7536c6c112e1785cead4d008e8fae5ca8f527f20 | [
"Apache-2.0"
] | null | null | null | /*=========================================================================
Library: TubeTK
Copyright 2010 Kitware Inc. 28 Corporate Drive,
Clifton Park, NY, 12065, USA.
All rights reserved.
Licensed under the Apache License, Version 2.0 ( the "License" );
you may not use this file except in compliance with the L... | 34.852941 | 79 | 0.717511 |
d0adf08ae8ee7bb703706cae0adcb79f9c8316c7 | 2,589 | c | C | app/src/main/c/bluez-android-3.35/utils/sdpd/cstate.c | IllusionMan1212/ShockPair | 0ad1fbd7edfcbf51e4b677d10ab3e137efec0b88 | [
"MIT"
] | 1 | 2021-07-12T00:34:11.000Z | 2021-07-12T00:34:11.000Z | app/src/main/c/bluez-android-3.35/utils/sdpd/cstate.c | IllusionMan1212/ShockPair | 0ad1fbd7edfcbf51e4b677d10ab3e137efec0b88 | [
"MIT"
] | null | null | null | app/src/main/c/bluez-android-3.35/utils/sdpd/cstate.c | IllusionMan1212/ShockPair | 0ad1fbd7edfcbf51e4b677d10ab3e137efec0b88 | [
"MIT"
] | null | null | null | /*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2001-2002 Nokia Corporation
* Copyright (C) 2002-2003 Maxim Krasnyansky <maxk@qualcomm.com>
* Copyright (C) 2002-2008 Marcel Holtmann <marcel@holtmann.org>
* Copyright (C) 2002-2003 Stephen Crane <steve.crane@rococosoft.com>
*
*
* T... | 26.96875 | 78 | 0.727694 |
04c934ee72be4d127e214fa11d059695047477ab | 235,223 | c | C | src/x509-parser.c | evdenis/x509-parser | 1cc65867a651311a0885cc66e448f49457fff2df | [
"BSD-2-Clause"
] | null | null | null | src/x509-parser.c | evdenis/x509-parser | 1cc65867a651311a0885cc66e448f49457fff2df | [
"BSD-2-Clause"
] | null | null | null | src/x509-parser.c | evdenis/x509-parser | 1cc65867a651311a0885cc66e448f49457fff2df | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (C) 2019 - This file is part of x509-parser project
*
* Author:
* Arnaud EBALARD <arnaud.ebalard@ssi.gouv.fr>
*
* This software is licensed under a dual GPLv2/BSD license. See
* LICENSE file at the root folder of the project.
*/
#include "x509-parser.h"
/*
* Some implementation notes... | 25.432263 | 348 | 0.629747 |
a611644293f2ac804ba03f39a4911d6ce20d8cdb | 1,697 | h | C | src/tests/kits/support/barchivable/common.h | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 1,338 | 2015-01-03T20:06:56.000Z | 2022-03-26T13:49:54.000Z | src/tests/kits/support/barchivable/common.h | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 15 | 2015-01-17T22:19:32.000Z | 2021-12-20T12:35:00.000Z | src/tests/kits/support/barchivable/common.h | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 350 | 2015-01-08T14:15:27.000Z | 2022-03-21T18:14:35.000Z | //------------------------------------------------------------------------------
#ifndef COMMON_H
#define COMMON_H
// Standard Includes -----------------------------------------------------------
#include <posix/string.h>
#include <errno.h>
// System Includes ---------------------------------------------------------... | 32.018868 | 89 | 0.46317 |
10b33ad11a12e8ade3637d641256936fd2eef5cb | 2,446 | h | C | core/usbcdc/usbuser.h | Shifter1/lpc1343codebase | 0b056aa80ce15acc756f0b5f12982741afef0995 | [
"BSD-3-Clause"
] | 1 | 2019-12-19T20:21:24.000Z | 2019-12-19T20:21:24.000Z | core/usbcdc/usbuser.h | Shifter1/lpc1343codebase | 0b056aa80ce15acc756f0b5f12982741afef0995 | [
"BSD-3-Clause"
] | null | null | null | core/usbcdc/usbuser.h | Shifter1/lpc1343codebase | 0b056aa80ce15acc756f0b5f12982741afef0995 | [
"BSD-3-Clause"
] | 1 | 2019-12-19T20:21:37.000Z | 2019-12-19T20:21:37.000Z | /*----------------------------------------------------------------------------
* U S B - K e r n e l
*----------------------------------------------------------------------------
* Name: USBUSER.H
* Purpose: USB Custom User Definitions
* Version: V1.10
*-----------------------------... | 42.172414 | 80 | 0.600572 |
0802020c5b121d0481fc0b1265526be9467ec8a7 | 1,067 | h | C | swift/Project/Pods/OneKit/OneKit/ByteDanceKit/UIKit/UILabel+BTDAdditions.h | jfsong1122/iostest | d9cf8156d8a0b6fa4a8aa383d40ac5ff9ba2a7d9 | [
"MIT"
] | null | null | null | swift/Project/Pods/OneKit/OneKit/ByteDanceKit/UIKit/UILabel+BTDAdditions.h | jfsong1122/iostest | d9cf8156d8a0b6fa4a8aa383d40ac5ff9ba2a7d9 | [
"MIT"
] | null | null | null | swift/Project/Pods/OneKit/OneKit/ByteDanceKit/UIKit/UILabel+BTDAdditions.h | jfsong1122/iostest | d9cf8156d8a0b6fa4a8aa383d40ac5ff9ba2a7d9 | [
"MIT"
] | null | null | null | //
// UILabel+BTDAdditions.h
// Essay
//
// Created by Tianhang Yu on 12-7-3.
// Copyright (c) 2012 Bytedance. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UILabel (BTDAdditions)
/**
Return the height according to he maxWidth.
@param maxWidth The max width.
@return The height.
*/
- (CGFloat)bt... | 22.702128 | 155 | 0.738519 |
bd73ec77d41a2cd668af6d102bd3bcd680f1b722 | 4,118 | c | C | jerry-core/ecma/builtin-objects/ecma-builtin-intrinsic.c | mmatyas/jerryscript | 6ff299c8314afbca083b60cf1d23000b1808f2b5 | [
"Apache-2.0"
] | null | null | null | jerry-core/ecma/builtin-objects/ecma-builtin-intrinsic.c | mmatyas/jerryscript | 6ff299c8314afbca083b60cf1d23000b1808f2b5 | [
"Apache-2.0"
] | null | null | null | jerry-core/ecma/builtin-objects/ecma-builtin-intrinsic.c | mmatyas/jerryscript | 6ff299c8314afbca083b60cf1d23000b1808f2b5 | [
"Apache-2.0"
] | 1 | 2021-09-13T12:04:01.000Z | 2021-09-13T12:04:01.000Z | /* Copyright JS Foundation and other contributors, http://js.foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | 28.597222 | 110 | 0.68237 |
ebee4e8980193fa5247586f5ebfda55b9d272142 | 2,365 | h | C | Validation/DTRecHits/plugins/DTSegment4DQuality.h | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 1 | 2019-08-09T08:42:11.000Z | 2019-08-09T08:42:11.000Z | Validation/DTRecHits/plugins/DTSegment4DQuality.h | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | Validation/DTRecHits/plugins/DTSegment4DQuality.h | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 1 | 2019-03-19T13:44:54.000Z | 2019-03-19T13:44:54.000Z | #ifndef Validation_DTRecHits_DTSegment4DQuality_h
#define Validation_DTRecHits_DTSegment4DQuality_h
/** \class DTSegment4DQuality
* Basic analyzer class which accesses 4D DTSegments
* and plots resolution comparing reconstructed and simulated quantities
*
* Only true 4D segments are considered.
* Station 4 se... | 29.5625 | 135 | 0.769133 |
d6fad691617ee5e582749bff7710f5d5ede1be01 | 1,208 | h | C | src/EventListView.h | JadedCtrl/Calendar | 12e1362b7b1261e3d233c11c1096462e4cb8b15a | [
"MIT"
] | 20 | 2017-08-29T09:01:26.000Z | 2021-12-14T13:43:18.000Z | src/EventListView.h | JadedCtrl/Calendar | 12e1362b7b1261e3d233c11c1096462e4cb8b15a | [
"MIT"
] | 78 | 2017-08-29T18:08:24.000Z | 2022-01-17T17:45:23.000Z | src/EventListView.h | JadedCtrl/Calendar | 12e1362b7b1261e3d233c11c1096462e4cb8b15a | [
"MIT"
] | 25 | 2017-09-03T07:03:18.000Z | 2022-03-11T06:29:32.000Z | /*
* Copyright 2017 Akshay Agarwal, agarwal.akshay.akshay8@gmail.com
* Copyright 2010-2017 Humdinger, humdingerb@gmail.com
* All rights reserved. Distributed under the terms of the MIT license.
*/
#ifndef EVENTLISTVIEW_H
#define EVENTLISTVIEW_H
#include <ListView.h>
class Event;
static const uint32 kPopClosed =... | 23.686275 | 71 | 0.765728 |
83fbeb96461fe9264e0372af3cd1cb2724da8fc1 | 2,000 | h | C | include/ndm/pool.h | keenetic/libndm | 519175d2e4d288f09924f1409cb0c87e654ee090 | [
"MIT"
] | 2 | 2018-06-10T19:42:37.000Z | 2019-07-03T14:11:44.000Z | include/ndm/pool.h | keenetic/libndm | 519175d2e4d288f09924f1409cb0c87e654ee090 | [
"MIT"
] | null | null | null | include/ndm/pool.h | keenetic/libndm | 519175d2e4d288f09924f1409cb0c87e654ee090 | [
"MIT"
] | 1 | 2020-05-29T13:03:34.000Z | 2020-05-29T13:03:34.000Z | #ifndef __NDM_POOL__
#define __NDM_POOL__
#include <stddef.h>
#include <stdbool.h>
#include "attr.h"
struct ndm_pool_t
{
void *const __static_block;
const size_t __static_block_size;
void *__dynamic_block;
const size_t __dynamic_block_size;
size_t __available;
size_t __total_allocated;
size_t __total_dynamic_s... | 22.727273 | 49 | 0.7415 |
d8040938869f183119e394fa0bd0189f72ff1553 | 475 | h | C | SimCalorimetry/EcalSimAlgos/interface/APDShape.h | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | SimCalorimetry/EcalSimAlgos/interface/APDShape.h | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | SimCalorimetry/EcalSimAlgos/interface/APDShape.h | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | #ifndef EcalSimAlgos_APDShape_h
#define EcalSimAlgos_APDShape_h
#include "SimCalorimetry/EcalSimAlgos/interface/EcalShapeBase.h"
class APDShape : public EcalShapeBase
{
public:
APDShape( double tStart,
double tau ) ;
~APDShape() override ;
double threshold() const override ;
protec... | 15.322581 | 66 | 0.669474 |
1423f34f0dd9909869d9d5a847eba78ea7daa4d2 | 7,390 | c | C | shell/task/word.c | Koshroy/mrsh | 8660d8d07139359b278eb9cc6a36bfee03786a34 | [
"MIT"
] | 1 | 2019-04-14T20:18:28.000Z | 2019-04-14T20:18:28.000Z | shell/task/word.c | sahwar/mrsh | a0141f7e954bf69dcc6827a5b07e82ffb20b5bd7 | [
"MIT"
] | null | null | null | shell/task/word.c | sahwar/mrsh | a0141f7e954bf69dcc6827a5b07e82ffb20b5bd7 | [
"MIT"
] | null | null | null | #define _POSIX_C_SOURCE 200809L
#include <assert.h>
#include <errno.h>
#include <mrsh/buffer.h>
#include <mrsh/parser.h>
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "builtin.h"
#include "shell/process.h"
#include "shell/task.h"
#define READ_SIZE 1024
stru... | 25.839161 | 78 | 0.665223 |
147be280830a5d051a6812a315c5f238d7396f4f | 3,862 | h | C | Engine/Source/Runtime/Slate/Private/Framework/Text/TextEditHelper.h | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | Engine/Source/Runtime/Slate/Private/Framework/Text/TextEditHelper.h | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | 2 | 2015-06-21T17:38:11.000Z | 2015-06-22T20:54:42.000Z | Engine/Source/Runtime/Slate/Private/Framework/Text/TextEditHelper.h | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
/**
* Design constraints
*/
namespace EditableTextDefs
{
/** Maximum number of undo levels to store */
static const int32 MaxUndoLevels = 99;
/** Vertical text offset from top of widget, as a scalar percentage of maximum character height ... | 41.978261 | 157 | 0.769032 |
37b27ffccf64ba2923deb577a83e53492abf698e | 4,612 | h | C | TAO/CIAO/connectors/ami4ccm/tests/InterInArgs/Sender/InterInArgsT_Sender_exec.h | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 36 | 2015-01-10T07:27:33.000Z | 2022-03-07T03:32:08.000Z | TAO/CIAO/connectors/ami4ccm/tests/InterInArgs/Sender/InterInArgsT_Sender_exec.h | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 2 | 2018-08-13T07:30:51.000Z | 2019-02-25T03:04:31.000Z | TAO/CIAO/connectors/ami4ccm/tests/InterInArgs/Sender/InterInArgsT_Sender_exec.h | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 38 | 2015-01-08T14:12:06.000Z | 2022-01-19T08:33:00.000Z | // -*- C++ -*-
// $Id: InterInArgsT_Sender_exec.h 92902 2010-12-17 15:09:42Z mcorino $
/**
* Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
* TAO and the TAO IDL Compiler have been developed by:
* Center for Distributed Object Computing
* Washington University
* St. Louis, MO
* ... | 25.910112 | 83 | 0.675629 |
23dfe055afb0126d233448fc702569905f9a5866 | 28,866 | c | C | sdk-6.5.20/libs/sdklt/bcmlrd/chip/bcm56880_a0/dna_4_6_6/bcm56880_a0_dna_4_6_6_lrd_r_ing_outer_tpid_2_map.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/libs/sdklt/bcmlrd/chip/bcm56880_a0/dna_4_6_6/bcm56880_a0_dna_4_6_6_lrd_r_ing_outer_tpid_2_map.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/libs/sdklt/bcmlrd/chip/bcm56880_a0/dna_4_6_6/bcm56880_a0_dna_4_6_6_lrd_r_ing_outer_tpid_2_map.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | /*******************************************************************************
*
* DO NOT EDIT THIS FILE!
* This file is auto-generated by fltg from
* INTERNAL/fltg/xgs/npl/bcm56880_a0/dna_4_6_6/bcm56880_a0_dna_4_6_6_R_ING_OUTER_TPID_2.map.ltl for
* bcm56880_a0 variant dna_4_6_6
*
* Tool: $SDK/INTERNAL... | 26.361644 | 226 | 0.485831 |
1812baec48aaf68bea8dab015c1d7e7cce111936 | 4,012 | h | C | Grafo/Camino al cole/GrafoValorado.h | Yule1223/Algorithmic-Techniques-in-Software-Engineering | 602e3d823cfc86d68a5b3f9435faef4e5c7dc788 | [
"MIT"
] | null | null | null | Grafo/Camino al cole/GrafoValorado.h | Yule1223/Algorithmic-Techniques-in-Software-Engineering | 602e3d823cfc86d68a5b3f9435faef4e5c7dc788 | [
"MIT"
] | null | null | null | Grafo/Camino al cole/GrafoValorado.h | Yule1223/Algorithmic-Techniques-in-Software-Engineering | 602e3d823cfc86d68a5b3f9435faef4e5c7dc788 | [
"MIT"
] | null | null | null | //
// GrafoValorado.h
//
// Implementación de grafos no dirigidos valorados
//
// Facultad de Informática
// Universidad Complutense de Madrid
//
// Copyright (c) 2020 Alberto Verdejo
//
#ifndef GRAFOVALORADO_H_
#define GRAFOVALORADO_H_
#include <iostream>
#include <memory>
#include <stdexcept>
#include <vector... | 24.463415 | 91 | 0.562562 |
af6db1e5816e83c9559121760b69465983d45616 | 705 | h | C | XVim2/XcodeHeader/DVTKit/DVTGradientImageButton.h | jsuo/XVim2 | f0126ed41be3d04f237e81c240c5f1f36443fcbc | [
"MIT"
] | null | null | null | XVim2/XcodeHeader/DVTKit/DVTGradientImageButton.h | jsuo/XVim2 | f0126ed41be3d04f237e81c240c5f1f36443fcbc | [
"MIT"
] | null | null | null | XVim2/XcodeHeader/DVTKit/DVTGradientImageButton.h | jsuo/XVim2 | f0126ed41be3d04f237e81c240c5f1f36443fcbc | [
"MIT"
] | null | null | null | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Mar 30 2018 09:30:25).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <AppKit/NSButton.h>
#import <DVTKit/DVTGradientStyleButton-Protocol.h>
@class NSString;
@interface DVTGradientImageButton : ... | 22.741935 | 90 | 0.748936 |
49ec257e70cb1ca2b93b97d7a9a4496a7aaef651 | 1,512 | c | C | eglibc-2.15/sysdeps/unix/sysv/linux/prof-freq.c | huhong789/shortcut | bce8a64c4d99b3dca72ffa0a04c9f3485cbab13a | [
"BSD-2-Clause"
] | 47 | 2015-03-10T23:21:52.000Z | 2022-02-17T01:04:14.000Z | eglibc-2.15/sysdeps/unix/sysv/linux/prof-freq.c | shortcut-sosp19/shortcut | f0ff3d9170dbc6de38e0d8c200db056aa26b9c48 | [
"BSD-2-Clause"
] | 1 | 2020-06-30T18:01:37.000Z | 2020-06-30T18:01:37.000Z | eglibc-2.15/sysdeps/unix/sysv/linux/prof-freq.c | shortcut-sosp19/shortcut | f0ff3d9170dbc6de38e0d8c200db056aa26b9c48 | [
"BSD-2-Clause"
] | 19 | 2015-02-25T19:50:05.000Z | 2021-10-05T14:35:54.000Z | /* Determine realtime clock frequency.
Copyright (C) 2003, 2004, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library 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 Soft... | 29.076923 | 71 | 0.732804 |
0ad00325e494bb232208bd87ce2156cf3cd86019 | 445 | h | C | LKProject/LKProject/Class/System/Base/BaseViewController/UIViewController+BackButtonHandler.h | Yuri-Zhang/ProjectStructure | de7178ffbc328ba96bd603a339bbe8601fee8568 | [
"MIT"
] | 3 | 2017-03-17T10:08:47.000Z | 2020-03-06T06:12:11.000Z | MBBaseProject/MBBaseProject/Class/Extend/Category/UIKit/UIViewController/UIViewController+BackButtonHandler.h | MarioBiuuuu/MBProject | 7f7ff1c3f3f2718de74ed55b2d419ae5b5d4a6fa | [
"MIT"
] | null | null | null | MBBaseProject/MBBaseProject/Class/Extend/Category/UIKit/UIViewController/UIViewController+BackButtonHandler.h | MarioBiuuuu/MBProject | 7f7ff1c3f3f2718de74ed55b2d419ae5b5d4a6fa | [
"MIT"
] | null | null | null | //
// UIViewController+BackButtonHandler.h
// Dangdang
//
// Created by Yuri on 16/6/27.
// Copyright © 2016年 Eric MiAo. All rights reserved.
//
#import <UIKit/UIKit.h>
@protocol BackButtonHandlerProtocol <NSObject>
@optional
// Override this method in UIViewController derived class to handle 'Back' button click
-... | 26.176471 | 87 | 0.777528 |
0ae4886cd628660dfe460cd94de8306d977d30d2 | 7,234 | h | C | FWCore/MessageLogger/interface/ELseverityLevel.h | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | FWCore/MessageLogger/interface/ELseverityLevel.h | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 26 | 2018-10-30T12:47:58.000Z | 2022-03-29T08:39:00.000Z | FWCore/MessageLogger/interface/ELseverityLevel.h | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | #ifndef MessageLogger_ELseverityLevel_h
#define MessageLogger_ELseverityLevel_h
// ----------------------------------------------------------------------
//
// ELseverityLevel.h - declare objects that encode a message's urgency
//
// Both frameworker and user will often pass one of the
// instantiated severity levels ... | 32.733032 | 82 | 0.576721 |
17ed51c67fed781ab86dc58022c76c99839d8a6a | 298 | h | C | SLToolObjCKit/Classes/Thread/SLProxy.h | CoderSLZeng/SLToolObjCKit | 636a07da4c4488b2b90f39edb4dec77d096f54bc | [
"MIT"
] | 3 | 2019-02-28T01:20:51.000Z | 2019-11-16T03:56:37.000Z | SLToolObjCKit/Classes/Thread/SLProxy.h | CoderSLZeng/SLToolObjCKit | 636a07da4c4488b2b90f39edb4dec77d096f54bc | [
"MIT"
] | null | null | null | SLToolObjCKit/Classes/Thread/SLProxy.h | CoderSLZeng/SLToolObjCKit | 636a07da4c4488b2b90f39edb4dec77d096f54bc | [
"MIT"
] | null | null | null | //
// SLProxy.h
// SLToolObjCKit
//
// Created by CoderSLZeng on 2019/3/8.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface SLProxy : NSProxy
/** target */
@property (weak, nonatomic) id target;
+ (instancetype)proxyWithTarget:(id)targe;
@end
NS_ASSUME_NONNULL_END
| 13.545455 | 42 | 0.721477 |
778cb5b38ccfe9bc97fdd6f477edd6894bc5c25b | 20 | h | C | wb/t20190421/t0001/t0001/t0001/Test0001.h | stackprobe/Fairy | 55bee24922e28b5740be7aa861f7c3a9d6c7b61d | [
"MIT"
] | null | null | null | wb/t20190421/t0001/t0001/t0001/Test0001.h | stackprobe/Fairy | 55bee24922e28b5740be7aa861f7c3a9d6c7b61d | [
"MIT"
] | null | null | null | wb/t20190421/t0001/t0001/t0001/Test0001.h | stackprobe/Fairy | 55bee24922e28b5740be7aa861f7c3a9d6c7b61d | [
"MIT"
] | null | null | null | void XXXMain(void);
| 10 | 19 | 0.75 |
4fb39bf13656c7bd746f0a24c6c8028db6e8b765 | 4,175 | h | C | src/xr_3da/xrGame/stalker_movement_manager_space.h | acidicMercury8/xray-1.0 | 65e85c0e31e82d612c793d980dc4b73fa186c76c | [
"Linux-OpenIB"
] | 10 | 2021-05-04T06:40:27.000Z | 2022-01-20T20:24:28.000Z | src/xr_3da/xrGame/stalker_movement_manager_space.h | acidicMercury8/xray-1.0 | 65e85c0e31e82d612c793d980dc4b73fa186c76c | [
"Linux-OpenIB"
] | null | null | null | src/xr_3da/xrGame/stalker_movement_manager_space.h | acidicMercury8/xray-1.0 | 65e85c0e31e82d612c793d980dc4b73fa186c76c | [
"Linux-OpenIB"
] | 2 | 2021-11-07T16:57:19.000Z | 2021-12-05T13:17:12.000Z | ////////////////////////////////////////////////////////////////////////////
// Module : stalker_movement_manager_space.h
// Created : 10.06.2004
// Modified : 10.06.2004
// Author : Dmitriy Iassenev
// Description : Stalker movement manager space
////////////////////////////////////////////////////////////... | 59.642857 | 105 | 0.727904 |
85fa15aa03e665c9a6d5ce65c463728ee7f62d10 | 31,672 | c | C | src/front-end/codegen/zir.c | lbrugnara/zenit | 72cf091e8c392c895adaa7ac623320af92a8b452 | [
"MIT"
] | 4 | 2019-04-27T21:09:56.000Z | 2022-02-03T21:22:14.000Z | src/front-end/codegen/zir.c | lbrugnara/zenit | 72cf091e8c392c895adaa7ac623320af92a8b452 | [
"MIT"
] | null | null | null | src/front-end/codegen/zir.c | lbrugnara/zenit | 72cf091e8c392c895adaa7ac623320af92a8b452 | [
"MIT"
] | null | null | null | #include "zir.h"
#include "../utils.h"
#include "../program.h"
#include "../symbol.h"
#include "../../zir/program.h"
#include "../../zir/instructions/operands/pool.h"
#define assert_or_return(ctx, condition, location, message) \
if (!(condition)) ... | 40.709512 | 173 | 0.695283 |
27750532d39c6e0f47f12a34819750cbc5a18943 | 1,171 | h | C | allrichstore/Tools/CommonLibrary/Category/CommonCatetory.h | 754340156/NQ_quanfu | c885cfd9d4aa95c5b2f519008b3d1a60055638b8 | [
"MIT"
] | 1 | 2021-05-13T05:24:18.000Z | 2021-05-13T05:24:18.000Z | allrichstore/Tools/CommonLibrary/Category/CommonCatetory.h | 754340156/NQ_quanfu | c885cfd9d4aa95c5b2f519008b3d1a60055638b8 | [
"MIT"
] | null | null | null | allrichstore/Tools/CommonLibrary/Category/CommonCatetory.h | 754340156/NQ_quanfu | c885cfd9d4aa95c5b2f519008b3d1a60055638b8 | [
"MIT"
] | null | null | null | //
// CommonCatetory.h
// CommonLibrary
//
// Created by Alexi on 13-11-6.
// Copyright (c) 2013年 ywchen. All rights reserved.
//
#ifndef CommonLibrary_CommonCatetory_h
#define CommonLibrary_CommonCatetory_h
#import "UIImage+TintColor.h"
#import "UIImage+Alpha.h"
#import "UIImage+Common.h"
#import "NSDate+... | 14.822785 | 52 | 0.762596 |
27822f6d70b52d8679f02d5906aded7e7740e699 | 245 | h | C | ScrollViewNest/ScrollViewNest/menuManager/HZMenuManagerReusableView.h | hmx101607/ScrollViewNest | a33ec6da2e2e39f6bcd80cc2f3c111543131a30e | [
"MIT"
] | 3 | 2019-04-26T02:22:24.000Z | 2019-10-08T01:37:42.000Z | ScrollViewNest/ScrollViewNest/menuManager/HZMenuManagerReusableView.h | hmx101607/ScrollViewNest | a33ec6da2e2e39f6bcd80cc2f3c111543131a30e | [
"MIT"
] | null | null | null | ScrollViewNest/ScrollViewNest/menuManager/HZMenuManagerReusableView.h | hmx101607/ScrollViewNest | a33ec6da2e2e39f6bcd80cc2f3c111543131a30e | [
"MIT"
] | null | null | null | //
// HZMenuManagerReusableView.h
// Pods
//
// Created by mason on 2018/5/16.
//
//
#import <UIKit/UIKit.h>
@interface HZMenuManagerReusableView : UICollectionReusableView
/** <##> */
@property (strong, nonatomic) NSString *title;
@end
| 13.611111 | 63 | 0.681633 |
6b358a3f1b9d425b4a83c5da5744cbbdd62d3ff4 | 12,239 | h | C | tinyfx.h | MilkTool/tinyfx | e67ef7f5d7d41f717683b30ec3644d3ba26dff23 | [
"MIT"
] | 60 | 2017-10-19T19:10:34.000Z | 2022-03-03T15:13:25.000Z | tinyfx.h | MilkTool/tinyfx | e67ef7f5d7d41f717683b30ec3644d3ba26dff23 | [
"MIT"
] | 38 | 2017-10-31T12:46:47.000Z | 2020-11-03T06:16:47.000Z | tinyfx.h | MilkTool/tinyfx | e67ef7f5d7d41f717683b30ec3644d3ba26dff23 | [
"MIT"
] | 6 | 2017-10-20T11:45:56.000Z | 2020-10-11T02:01:11.000Z | #pragma once
#ifdef __cplusplus
extern "C" {
#endif
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
typedef enum tfx_buffer_flags {
TFX_BUFFER_NONE = 0,
// for index buffers: use 32-bit instead of 16-bit indices.
TFX_BUFFER_INDEX_32 = 1 << 0,
// updated regularly (once per game tick)
TFX_BUFFER_MUT... | 31.30179 | 201 | 0.779802 |
5fd99190e0a0f1a86673f910aea685ec8001efff | 7,244 | h | C | vendor/intel/avcstreamoutdemo.h | lindongw/libva-utils | 3bbb0cc7a24d6cdcdc8f92f2a556cdaf985ee1df | [
"MIT"
] | 88 | 2018-01-26T21:07:17.000Z | 2022-03-25T08:12:42.000Z | vendor/intel/avcstreamoutdemo.h | lindongw/libva-utils | 3bbb0cc7a24d6cdcdc8f92f2a556cdaf985ee1df | [
"MIT"
] | 109 | 2018-01-25T05:18:06.000Z | 2022-03-28T04:56:49.000Z | vendor/intel/avcstreamoutdemo.h | lindongw/libva-utils | 3bbb0cc7a24d6cdcdc8f92f2a556cdaf985ee1df | [
"MIT"
] | 85 | 2018-02-09T15:05:16.000Z | 2022-03-17T04:06:12.000Z | /*
* Copyright (c) 2018 Intel Corporation. All Rights Reserved.
*
* 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, ... | 38.328042 | 132 | 0.485643 |
7584b079299e7eebcaaf7950dc82b037731c9721 | 988 | h | C | ert/tests/tests_ex.h | thomasten/edgelessrt | 2b42deefdaaa75dbc6568ff4f8152b6ae74862bf | [
"MIT"
] | 101 | 2020-06-19T09:14:41.000Z | 2022-03-28T03:14:09.000Z | ert/tests/tests_ex.h | thomasten/edgelessrt | 2b42deefdaaa75dbc6568ff4f8152b6ae74862bf | [
"MIT"
] | 24 | 2020-07-20T09:45:44.000Z | 2022-01-10T09:56:46.000Z | ert/tests/tests_ex.h | thomasten/edgelessrt | 2b42deefdaaa75dbc6568ff4f8152b6ae74862bf | [
"MIT"
] | 14 | 2020-07-18T17:17:35.000Z | 2022-01-06T03:29:06.000Z | #pragma once
#include <openenclave/internal/tests.h>
#define ASSERT_THROW(exp, exc) \
try \
{ \
exp; \
OE_TEST(false && "did not throw"); \
}... | 35.285714 | 51 | 0.192308 |
559ff112b24bfb5c3e780b5cf9f1f31d967f7b73 | 300 | h | C | WVRProgram/WVRProgram/Classes/Home/BrandZone/WVRBrandZoneViewCProtocol.h | portal-io/portal-ios-business | e8c3776b5a2e81c152c41fbf78fe33f48ed64d07 | [
"MIT"
] | null | null | null | WVRProgram/WVRProgram/Classes/Home/BrandZone/WVRBrandZoneViewCProtocol.h | portal-io/portal-ios-business | e8c3776b5a2e81c152c41fbf78fe33f48ed64d07 | [
"MIT"
] | null | null | null | WVRProgram/WVRProgram/Classes/Home/BrandZone/WVRBrandZoneViewCProtocol.h | portal-io/portal-ios-business | e8c3776b5a2e81c152c41fbf78fe33f48ed64d07 | [
"MIT"
] | null | null | null | //
// WVRBrandZoneViewCProtocol.h
// WhaleyVR
//
// Created by qbshen on 2017/7/25.
// Copyright © 2017年 Snailvr. All rights reserved.
//
#import "WVRCollectionViewProtocol.h"
@protocol WVRBrandZoneViewCProtocol <WVRCollectionViewProtocol>
- (void) updateWithDataSource:(id)originData;
@end
| 17.647059 | 63 | 0.75 |
1d90b461ff10231a84dc589d9fafe7d03e746f93 | 5,457 | h | C | src/net/ws_cli/ws_types.h | panda-factory/cpp-improvement-tutorial | 6e9256d5cdab46e320a9aab0a29ccd1af4ec5079 | [
"BSD-2-Clause"
] | null | null | null | src/net/ws_cli/ws_types.h | panda-factory/cpp-improvement-tutorial | 6e9256d5cdab46e320a9aab0a29ccd1af4ec5079 | [
"BSD-2-Clause"
] | null | null | null | src/net/ws_cli/ws_types.h | panda-factory/cpp-improvement-tutorial | 6e9256d5cdab46e320a9aab0a29ccd1af4ec5079 | [
"BSD-2-Clause"
] | null | null | null | //
// Created by admin on 2021/2/6.
//
#ifndef TEST_WS_TYPES_H
#define TEST_WS_TYPES_H
#include <functional>
#include "net/ws_cli/ws_state.h"
namespace net {
namespace ws {
constexpr int WS_DEFAULT_CONNECT_TIMEOUT = 60;
constexpr int HTTP_STATUS_SWITCHING_PROTOCOLS_101 = 101;
constexpr int WS_HDR_BASE_SIZE = 2;
co... | 41.030075 | 103 | 0.568261 |
8a64c87b4828bd0ca8a9e2bef8a5be347c62e236 | 1,075 | h | C | src/qt/creditaddressvalidator.h | Ankh-Trust/credit-core | fa6fd67bdc9846cc40ee24f9a64e610e634b9356 | [
"MIT"
] | 2 | 2019-10-31T11:56:31.000Z | 2019-11-02T08:48:45.000Z | src/qt/creditaddressvalidator.h | Ankh-fdn/credit-core | fa6fd67bdc9846cc40ee24f9a64e610e634b9356 | [
"MIT"
] | 2 | 2019-11-22T18:49:20.000Z | 2020-10-06T11:44:46.000Z | src/qt/creditaddressvalidator.h | Ankh-fdn/credit-core | fa6fd67bdc9846cc40ee24f9a64e610e634b9356 | [
"MIT"
] | 1 | 2020-06-09T16:15:27.000Z | 2020-06-09T16:15:27.000Z | // Copyright (c) 2016-2019 Duality Blockchain Solutions Developers
// Copyright (c) 2014-2019 The Dash Core Developers
// Copyright (c) 2009-2019 The Bitcoin Developers
// Copyright (c) 2009-2019 Satoshi Nakamoto
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opens... | 27.564103 | 71 | 0.775814 |
ce8492c26f8f08f3072ad089633ad1da0dafe4e8 | 1,647 | h | C | usr/libexec/appstored/Migrator.h | lechium/tvOS145Headers | 9940da19adb0017f8037853e9cfccbe01b290dd5 | [
"MIT"
] | 5 | 2021-04-29T04:31:43.000Z | 2021-08-19T18:59:58.000Z | usr/libexec/appstored/Migrator.h | lechium/tvOS145Headers | 9940da19adb0017f8037853e9cfccbe01b290dd5 | [
"MIT"
] | null | null | null | usr/libexec/appstored/Migrator.h | lechium/tvOS145Headers | 9940da19adb0017f8037853e9cfccbe01b290dd5 | [
"MIT"
] | 1 | 2022-03-19T11:16:23.000Z | 2022-03-19T11:16:23.000Z | //
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import <objc/NSObject.h>
@class MigratorConfigurationStore, NSMutableArray;
@protocol OS_dispatch_queue;
@interface Migrator : NSObject
{
Mi... | 41.175 | 120 | 0.775349 |
ef2cd1abf56db16472cea32e80d39f159050f81e | 12,122 | c | C | cryptl30/lib_skip.c | ab300819/applied-cryptography | 3fddc4cda2e1874e978608259034d36c60a4dbba | [
"MIT",
"Unlicense"
] | 1 | 2021-04-17T05:01:00.000Z | 2021-04-17T05:01:00.000Z | cryptl30/lib_skip.c | ab300819/applied-cryptography | 3fddc4cda2e1874e978608259034d36c60a4dbba | [
"MIT",
"Unlicense"
] | null | null | null | cryptl30/lib_skip.c | ab300819/applied-cryptography | 3fddc4cda2e1874e978608259034d36c60a4dbba | [
"MIT",
"Unlicense"
] | null | null | null | /****************************************************************************
* *
* cryptlib Skipjack Encryption Routines *
* Copyright Peter Gutmann 1992-1998 *
* *
****************************************************************************/
#include <ctype.h>
#... | 27.995381 | 95 | 0.62003 |
8907d19a571a9b5aa9f5d8fc692ac9a04495eed1 | 571 | h | C | src/player_deterministic.h | tczajka/flippo-veoveo | 6ebd612c4b85cb910264169164f1cdb1a2252a3d | [
"MIT"
] | 5 | 2019-01-19T14:18:20.000Z | 2022-01-23T16:58:45.000Z | src/player_deterministic.h | tczajka/flippo-veoveo | 6ebd612c4b85cb910264169164f1cdb1a2252a3d | [
"MIT"
] | null | null | null | src/player_deterministic.h | tczajka/flippo-veoveo | 6ebd612c4b85cb910264169164f1cdb1a2252a3d | [
"MIT"
] | null | null | null | #ifndef PLAYER_DETERMINISTIC_H
#define PLAYER_DETERMINISTIC_H
#include "player.h"
class PlayerFirst : public Player {
public:
PlayerFirst(const int _symmetry) : symmetry{_symmetry} {}
Move choose_move(const Position &position,
const PlaySettings &settings) override;
private:
int symmetry;
}... | 19.689655 | 60 | 0.716287 |
81aada61a777226f8730aefe541655a0900654b1 | 133 | h | C | example.h | Mego/ExampleCPP | fb7671a14d8a8ce262f5400e7a110b826978d9c4 | [
"MIT"
] | 1 | 2016-12-11T20:35:53.000Z | 2016-12-11T20:35:53.000Z | example.h | Mego/ExampleCPP | fb7671a14d8a8ce262f5400e7a110b826978d9c4 | [
"MIT"
] | null | null | null | example.h | Mego/ExampleCPP | fb7671a14d8a8ce262f5400e7a110b826978d9c4 | [
"MIT"
] | null | null | null | #ifndef EXAMPLE_H_INCLUDED
#define EXAMPLE_H_INCLUDED
#include <string>
std::string example();
#endif // EXAMPLE_H_INCLUDED | 16.625 | 28 | 0.75188 |
32e2b74ff80b1838f4320b1fa701874132a869a8 | 3,936 | h | C | SurgSim/Devices/DeviceFilters/PoseIntegrator.h | dbungert/opensurgsim | bd30629f2fd83f823632293959b7654275552fa9 | [
"Apache-2.0"
] | 24 | 2015-01-19T16:18:59.000Z | 2022-03-13T03:29:11.000Z | SurgSim/Devices/DeviceFilters/PoseIntegrator.h | dbungert/opensurgsim | bd30629f2fd83f823632293959b7654275552fa9 | [
"Apache-2.0"
] | 3 | 2018-12-21T14:54:08.000Z | 2022-03-14T12:38:07.000Z | SurgSim/Devices/DeviceFilters/PoseIntegrator.h | dbungert/opensurgsim | bd30629f2fd83f823632293959b7654275552fa9 | [
"Apache-2.0"
] | 8 | 2015-04-10T19:45:36.000Z | 2022-02-02T17:00:59.000Z | // This file is a part of the OpenSurgSim project.
// Copyright 2013-2015, SimQuest Solutions Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses... | 37.132075 | 114 | 0.763465 |
0a555cfde8b14ba6506ad34eed61927f4cd0d740 | 3,575 | h | C | headers/structs.h | BlankWheein/P1 | ec8c18a958323189818165053027b756337115b5 | [
"Apache-2.0"
] | null | null | null | headers/structs.h | BlankWheein/P1 | ec8c18a958323189818165053027b756337115b5 | [
"Apache-2.0"
] | null | null | null | headers/structs.h | BlankWheein/P1 | ec8c18a958323189818165053027b756337115b5 | [
"Apache-2.0"
] | null | null | null | #ifndef STRUCTS
#define STRUCTS
/*
The Enumeration of Light Color
*/
typedef enum {green, /**< When the light is Green */
red, /**< When the light is Red */
dummy /**< When the light is a mock light. This means the Vehicles will ignore this light (This is used to Check for the nearest... | 47.039474 | 161 | 0.615385 |
0aaf4bea3208dfbbef50a7925cbf235052a8ce9f | 2,098 | c | C | src/minimal_classifier.bpf.c | netgroup/hike-public | 5cf9e18c837d25e21f403f9b4676f11e397cc6bb | [
"BSD-3-Clause"
] | null | null | null | src/minimal_classifier.bpf.c | netgroup/hike-public | 5cf9e18c837d25e21f403f9b4676f11e397cc6bb | [
"BSD-3-Clause"
] | null | null | null | src/minimal_classifier.bpf.c | netgroup/hike-public | 5cf9e18c837d25e21f403f9b4676f11e397cc6bb | [
"BSD-3-Clause"
] | null | null | null |
#include <stddef.h>
#include <linux/in.h>
#include <linux/if_ether.h>
#include <linux/if_packet.h>
#include <linux/ipv6.h>
#include <linux/seg6.h>
#include <linux/errno.h>
/* HIKe Chain IDs and XDP eBPF/HIKe programs IDs */
#include "minimal.h"
#include "hike_vm.h"
#include "parse_helpers.h"
#define MAP_IPV6_SIZE 6... | 22.319149 | 69 | 0.714967 |
61eaa4f6d9965c3e22fe3503e32b3b44243fc594 | 350 | h | C | Oto.h | CrossPlatUtauDG/stage2 | be505a3f69a38f3ebed83c7c61b43ec54e2d216a | [
"MIT"
] | 2 | 2017-07-26T03:01:39.000Z | 2017-07-26T04:20:33.000Z | Oto.h | CrossPlatUtauDG/stage2 | be505a3f69a38f3ebed83c7c61b43ec54e2d216a | [
"MIT"
] | null | null | null | Oto.h | CrossPlatUtauDG/stage2 | be505a3f69a38f3ebed83c7c61b43ec54e2d216a | [
"MIT"
] | null | null | null | #ifndef OTO_H
#define OTO_H
#include <string>
#include <map>
#include "VoiceProp.h"
class Oto {
public:
Oto(std::string path);
~Oto();
VoiceProp getVPfromName(std::string sampleName);
private:
std::string fileDir;
std::string otoText;
int lines;
std::map<std::string, VoiceProp*> otoEntries;
... | 14 | 50 | 0.668571 |
76d701941e931619541676b277f14893dbd922f4 | 1,376 | c | C | test.c | littlstar/uri.c | c33b9b767606b7edc1edcb095ff256c4b6bf4cef | [
"MIT"
] | 13 | 2015-01-31T05:02:07.000Z | 2022-03-27T17:10:37.000Z | test.c | littlstar/uri.c | c33b9b767606b7edc1edcb095ff256c4b6bf4cef | [
"MIT"
] | 1 | 2015-02-27T20:01:53.000Z | 2015-02-27T20:12:16.000Z | test.c | littlstar/uri.c | c33b9b767606b7edc1edcb095ff256c4b6bf4cef | [
"MIT"
] | 1 | 2019-09-21T09:36:02.000Z | 2019-09-21T09:36:02.000Z |
/**
* `test.c' - uri
*
* copyright (c) 2014 joseph werle
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <ok/ok.h>
#include "uri.h"
#define S(x) # x
#define t(m, a, b) ({ \
char tmp[1024]; \
sprintf(tm... | 21.5 | 77 | 0.462209 |
ddae2693af99143a6927a271c2b69819c5cde9f3 | 4,749 | h | C | inc/dg/backend/vector_categories.h | RaulGerru/FELTOR_Raul | a566f8a9003ade437e093334877f839f3dfd0260 | [
"MIT"
] | 18 | 2016-06-28T14:34:29.000Z | 2022-01-06T08:50:48.000Z | inc/dg/backend/vector_categories.h | RaulGerru/FELTOR_Raul | a566f8a9003ade437e093334877f839f3dfd0260 | [
"MIT"
] | 11 | 2017-01-18T16:06:15.000Z | 2021-02-22T19:11:42.000Z | inc/dg/backend/vector_categories.h | mrheld/feltor | c70bc6bb43f39261f6236df88e16610d08cb98ca | [
"MIT"
] | 12 | 2016-06-27T13:18:11.000Z | 2021-09-03T08:12:25.000Z | #ifndef _DG_VECTOR_CATEGORIES_
#define _DG_VECTOR_CATEGORIES_
#include "matrix_categories.h"
namespace dg{
//here we introduce the concept of data access
///@addtogroup dispatch
///@{
/**
* @brief Vector Tag base class, indicates the basic Vector/container concept
*
* The vector tag has three functions.
First, i... | 48.958763 | 200 | 0.743314 |
50d2011d06cc23ba8ffa0674a2cb53f68f87c4cf | 718 | h | C | ios/Pods/Headers/Public/ViroReact/VRTLog.h | atlance01/ViroVRapp | aee8e46049ba39bef00150d38b9711896e08c4cb | [
"BSD-3-Clause"
] | 5 | 2017-08-08T06:01:54.000Z | 2022-03-28T17:17:11.000Z | ios/Pods/Headers/Public/ViroReact/VRTLog.h | atlance01/ViroVRapp | aee8e46049ba39bef00150d38b9711896e08c4cb | [
"BSD-3-Clause"
] | 2 | 2019-11-22T22:03:24.000Z | 2020-04-21T19:10:47.000Z | ios/Pods/Headers/Public/ViroReact/VRTLog.h | atlance01/ViroVRapp | aee8e46049ba39bef00150d38b9711896e08c4cb | [
"BSD-3-Clause"
] | 3 | 2019-11-22T17:11:03.000Z | 2019-11-24T19:11:30.000Z | //
// VROLog.h
// React
//
// Copyright © 2016 Viro Media. All rights reserved.
//
#import <Foundation/Foundation.h>
/**
* Used only for logging out information within VRT components.
* NOTE: This has no relation to VROLog.
*/
@interface VRTLog : NSObject
/**
* Static Flag used to enable / disable VRT ... | 24.758621 | 67 | 0.650418 |
20821904aa6395f094a2a2433547c7699af07b57 | 6,712 | h | C | src/interfaces/builtins_spidermonkey.h | Samsung/Fluff | d8c95b67d390156e24b45cf61b066930f2d783e4 | [
"MIT"
] | 58 | 2019-04-02T04:50:47.000Z | 2021-12-28T02:09:36.000Z | src/interfaces/builtins_spidermonkey.h | Samsung/Fluff | d8c95b67d390156e24b45cf61b066930f2d783e4 | [
"MIT"
] | 3 | 2019-05-25T08:12:18.000Z | 2019-06-08T11:47:05.000Z | src/interfaces/builtins_spidermonkey.h | Samsung/Fluff | d8c95b67d390156e24b45cf61b066930f2d783e4 | [
"MIT"
] | 10 | 2019-04-24T18:46:24.000Z | 2020-06-27T17:56:58.000Z | #ifndef BUILTINS_H_
#define BUILTINS_H_
#include <string>
namespace builtins {
const std::string variables[] = {
"Reflect",
"timesAccessed",
"console",
"os",
"performance",
"scriptArgs",
"scriptPath",
"variables",
"functions",
"methods",
"top",
"undefined",
"JSON",
... | 18.490358 | 43 | 0.575983 |
e3e7a4a93212b6593f9f07533ec3b1ef407d2581 | 13,044 | h | C | src/sigfunctions.h | rettopnivek/seqmodels | 2fc1456074b030898f964f93d1edfb04191f198c | [
"MIT"
] | 1 | 2021-05-28T02:50:23.000Z | 2021-05-28T02:50:23.000Z | src/sigfunctions.h | rettopnivek/seqmodels | 2fc1456074b030898f964f93d1edfb04191f198c | [
"MIT"
] | 3 | 2020-04-07T10:02:49.000Z | 2020-04-28T15:46:21.000Z | src/sigfunctions.h | rettopnivek/seqmodels | 2fc1456074b030898f964f93d1edfb04191f198c | [
"MIT"
] | null | null | null | // Include guard to protect against multiple definitions error
#ifndef __SIGFUNCTIONS__
#define __SIGFUNCTIONS__
#include <Rcpp.h> // Includes certain libraries of functions
#include "levyfunctions.h" // For drift of 0
#include "miscfunctions.h" // Linear interpolation
/*
Purpose:
Scalar functions for the random gene... | 24.611321 | 71 | 0.590003 |
7c61054a56add9b0dab491df45bf80279ee6d957 | 2,486 | h | C | cpu/x86/mm/ldt-layout.h | mpastyl/Arctium | 36867069a8dcec0a63e5c5c748022144fe5502b9 | [
"BSD-3-Clause"
] | 2 | 2018-01-14T10:30:07.000Z | 2019-07-23T07:16:05.000Z | cpu/x86/mm/ldt-layout.h | mpastyl/Arctium | 36867069a8dcec0a63e5c5c748022144fe5502b9 | [
"BSD-3-Clause"
] | null | null | null | cpu/x86/mm/ldt-layout.h | mpastyl/Arctium | 36867069a8dcec0a63e5c5c748022144fe5502b9 | [
"BSD-3-Clause"
] | 1 | 2021-02-13T05:17:38.000Z | 2021-02-13T05:17:38.000Z | /*
* Copyright (C) 2015, Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of con... | 41.433333 | 79 | 0.76066 |
2dc96b30474cc5e9b1c66e3b501144ddc9eacca1 | 10,650 | c | C | gcc/linux/com.c | razzlefratz/MotleyTools | 3c69c574351ce6f4b7e687c13278d4b6cbb200f3 | [
"0BSD"
] | 2 | 2015-10-15T19:32:42.000Z | 2021-12-20T15:56:04.000Z | gcc/linux/com.c | razzlefratz/MotleyTools | 3c69c574351ce6f4b7e687c13278d4b6cbb200f3 | [
"0BSD"
] | null | null | null | gcc/linux/com.c | razzlefratz/MotleyTools | 3c69c574351ce6f4b7e687c13278d4b6cbb200f3 | [
"0BSD"
] | null | null | null | #include <termios.h>
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/signal.h>
#include <sys/types.h>
#define BAUDRATE B38400
#define MODEMDEVICE "/dev/ttyS1"
#define _POSIX_SOURCE 1 //POSIX compliant source
#define FALSE 0
#define TRUE 1
volatile int STOP=FALSE;
void signal_handler_I... | 20.964567 | 177 | 0.622066 |
2dfad0f990b477cbc7f353b921023550e9221f6d | 1,731 | h | C | logging.h | rushit-tool/rushit | c1776c03be2eae50835382127f3f42df5bf876e2 | [
"Apache-2.0"
] | 10 | 2018-01-16T13:11:52.000Z | 2019-02-20T15:20:06.000Z | logging.h | rushit-tool/rushit | c1776c03be2eae50835382127f3f42df5bf876e2 | [
"Apache-2.0"
] | 12 | 2018-03-29T17:56:45.000Z | 2018-08-02T14:11:27.000Z | logging.h | rushit-tool/rushit | c1776c03be2eae50835382127f3f42df5bf876e2 | [
"Apache-2.0"
] | 3 | 2017-10-22T08:45:02.000Z | 2017-12-08T17:20:43.000Z | /*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 35.326531 | 80 | 0.667822 |
1012ec51e35d34240a073d9bd7b0fa663dfa3d1b | 40,162 | c | C | htdocs/intranet/Archive/sdb-1.4.1b/sdb_util.c | akrherz/pircs-website | d28f6f24d68a20343bcb878d8ab95c377aa3dea4 | [
"Apache-2.0"
] | null | null | null | htdocs/intranet/Archive/sdb-1.4.1b/sdb_util.c | akrherz/pircs-website | d28f6f24d68a20343bcb878d8ab95c377aa3dea4 | [
"Apache-2.0"
] | null | null | null | htdocs/intranet/Archive/sdb-1.4.1b/sdb_util.c | akrherz/pircs-website | d28f6f24d68a20343bcb878d8ab95c377aa3dea4 | [
"Apache-2.0"
] | null | null | null | /****************************************************************************
* NCSA HDF *
* Software Development Group *
* National Center for Supercomputing Applications *
* Unive... | 33.440466 | 179 | 0.44191 |
679d268048f5a08808de931908348fc8030248e1 | 1,612 | c | C | src/ckb-ext.c | keroro520/mruby-ckb-ext | a97463f688f8e44fefeb0182a953985ab9107884 | [
"MIT"
] | 1 | 2019-04-20T13:17:54.000Z | 2019-04-20T13:17:54.000Z | src/ckb-ext.c | keroro520/mruby-ckb-ext | a97463f688f8e44fefeb0182a953985ab9107884 | [
"MIT"
] | null | null | null | src/ckb-ext.c | keroro520/mruby-ckb-ext | a97463f688f8e44fefeb0182a953985ab9107884 | [
"MIT"
] | null | null | null | #include "mruby.h"
#include "mruby/string.h"
#include "mruby/compile.h"
#include "ckb_consts.h"
#include "protocol_reader.h"
#undef ns
#define ns(x) FLATBUFFERS_WRAP_NAMESPACE(Ckb_Protocol, x)
extern int ckb_load_tx(void* addr, uint64_t* len, size_t offset);
extern int ckb_load_cell(void* addr, uint64_t* len, size_t... | 28.280702 | 97 | 0.730769 |
bccbaaed8c83ec4c0117e9e639ea84f3979d8d71 | 401 | h | C | Queue.h | linuxartisan/generic-list-in-c | 75b22b83edf29296e463c25c43fda87c84626dd1 | [
"MIT"
] | 1 | 2022-02-24T00:55:51.000Z | 2022-02-24T00:55:51.000Z | Queue.h | xinbin818/generic-list-in-c | 75b22b83edf29296e463c25c43fda87c84626dd1 | [
"MIT"
] | null | null | null | Queue.h | xinbin818/generic-list-in-c | 75b22b83edf29296e463c25c43fda87c84626dd1 | [
"MIT"
] | 1 | 2022-02-24T00:55:40.000Z | 2022-02-24T00:55:40.000Z | #ifndef LINUXARTISAN_QUEUE_H
#define LINUXARTISAN_QUEUE_H
#include "List.h"
typedef struct Queue
{
List* list;
}Queue;
Queue* queue_create();
void queue_destroy(Queue*);
/* capacity */
bool queue_empty(Queue*);
int queue_size(Queue*);
/* element access */
void* queue_front(Queue*);
void* queue_back(Queue*);
... | 14.321429 | 33 | 0.713217 |
4c50816ae887e5046ea1d66413df4593559d43b8 | 3,655 | h | C | 111-meiju/meiju/AdViewSDK-3.5.2/AdNetworks/Chance/lib/CSInterstitial.h | P79N6A/demo | 0286a294b8f9f83b316e75e8d996e94fb6ab6a53 | [
"Apache-2.0"
] | 4 | 2019-08-14T03:06:51.000Z | 2021-11-15T03:02:09.000Z | 111-meiju/meiju/AdViewSDK-3.5.2/AdNetworks/Chance/lib/CSInterstitial.h | P79N6A/demo | 0286a294b8f9f83b316e75e8d996e94fb6ab6a53 | [
"Apache-2.0"
] | null | null | null | 111-meiju/meiju/AdViewSDK-3.5.2/AdNetworks/Chance/lib/CSInterstitial.h | P79N6A/demo | 0286a294b8f9f83b316e75e8d996e94fb6ab6a53 | [
"Apache-2.0"
] | 2 | 2019-09-17T06:50:12.000Z | 2021-11-15T03:02:11.000Z | //
// CSInterstitial.h
// ChanceAdSDK
//
// Created by Chance_yangjh on 13-10-28.
// Copyright (c) 2013年 Chance. All rights reserved.
//
#ifndef CSInterstitial_h
#define CSInterstitial_h
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import "CSError.h"
typedef NS_ENUM(unsigned int, CSInterstitialStat... | 23.733766 | 78 | 0.775376 |
2907a49ca99931e17b521e0b6b5cc0055ca7f799 | 1,915 | h | C | MSTypes.h | MihaelShevchuk/MSSocketLibrary | 6ec75fea90221026a5a5ec302b56b93b83bfbf01 | [
"BSD-2-Clause"
] | null | null | null | MSTypes.h | MihaelShevchuk/MSSocketLibrary | 6ec75fea90221026a5a5ec302b56b93b83bfbf01 | [
"BSD-2-Clause"
] | null | null | null | MSTypes.h | MihaelShevchuk/MSSocketLibrary | 6ec75fea90221026a5a5ec302b56b93b83bfbf01 | [
"BSD-2-Clause"
] | null | null | null | //
// MSTypes.h
// MSSocketLibrary
//
// Created by Mihail Shevchuk on 25.01.18.
// Copyright © 2018 Mihail Shevchuk. All rights reserved.
//
#ifndef MSTypes_h
#define MSTypes_h
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <arpa/inet.h>
#include <... | 20.157895 | 75 | 0.653264 |
ada5e051fc8b5a6931e96dd188ec1e92e419a324 | 782 | h | C | include/types.h | CraftSpider/AlphaUtils | 70ff9cd4ec4184f67d7e8b779538ef88f1e88682 | [
"MIT"
] | 1 | 2019-06-23T14:03:16.000Z | 2019-06-23T14:03:16.000Z | include/types.h | CraftSpider/AlphaUtils | 70ff9cd4ec4184f67d7e8b779538ef88f1e88682 | [
"MIT"
] | null | null | null | include/types.h | CraftSpider/AlphaUtils | 70ff9cd4ec4184f67d7e8b779538ef88f1e88682 | [
"MIT"
] | 2 | 2019-06-23T14:03:17.000Z | 2020-11-19T02:16:51.000Z | #pragma once
#include <cstdint>
/**
* \file types.h
* \brief Defines AlphaTools global type shorthands
* \TODO: Move whole project into a namespace
*
* \author CraftSpider
*/
/**
* Unsigned 1 byte integer
*/
typedef std::uint8_t uchar;
/**
* Unsigned 2 byte integer
*/
typedef std::uint16_t ushort;
/**
*... | 13.254237 | 51 | 0.659847 |
422667e688c4c1d38c81c70aece057e0de4cc203 | 21,285 | h | C | base/tools/kdexts2/precomp.h | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | base/tools/kdexts2/precomp.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | base/tools/kdexts2/precomp.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*++
Copyright (c) 1993-1999 Microsoft Corporation
Module Name:
precomp.h
Abstract:
This header file is used to cause the correct machine/platform specific
data structures to be used when compiling for a non-hosted platform.
--*/
#include <nt.h>
#include <ntrtl.h>
#include <nturtl.h... | 20.118147 | 138 | 0.540334 |
422fa81d837820710f5275f0a054cb821b799c1a | 65 | h | C | src/bustools_predict.h | Yenaled/bustools | 6fa0731f7f32c68645f0f60b1c1c89771b1c8061 | [
"BSD-2-Clause"
] | null | null | null | src/bustools_predict.h | Yenaled/bustools | 6fa0731f7f32c68645f0f60b1c1c89771b1c8061 | [
"BSD-2-Clause"
] | null | null | null | src/bustools_predict.h | Yenaled/bustools | 6fa0731f7f32c68645f0f60b1c1c89771b1c8061 | [
"BSD-2-Clause"
] | null | null | null | #include "Common.hpp"
void bustools_predict(Bustools_opt &opt);
| 16.25 | 41 | 0.784615 |
4ec7951a317cf80a89278bc97d440f1299e140de | 6,524 | h | C | orcm/mca/analytics/analytics.h | benmcclelland/orcm-zht | d09813ac2e26c4c7bf2196aa7b385326567f3dbf | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | orcm/mca/analytics/analytics.h | benmcclelland/orcm-zht | d09813ac2e26c4c7bf2196aa7b385326567f3dbf | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | orcm/mca/analytics/analytics.h | benmcclelland/orcm-zht | d09813ac2e26c4c7bf2196aa7b385326567f3dbf | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | /*
* Copyright (c) 2014 Intel, Inc. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#ifndef MCA_ANALYTICS_H
#define MCA_ANALYTICS_H
/*
* includes
*/
#include "orcm_config.h"
#include "orcm/constants.h"
#include "opal/mca/mca.h"
#include "orcm/mca/analytics/anal... | 44.380952 | 110 | 0.517014 |
866c6e44c445639797b7b9f718a3c836ab66a9ad | 1,955 | h | C | Protector/Protector.h | AvivShabtay/Protector | 97b2f1a80a4cd87b15ec21f34069edf9de2bb835 | [
"MIT"
] | 3 | 2020-10-03T10:45:24.000Z | 2022-01-18T10:34:30.000Z | Protector/Protector.h | AvivShabtay/Protector | 97b2f1a80a4cd87b15ec21f34069edf9de2bb835 | [
"MIT"
] | 3 | 2021-04-17T13:11:44.000Z | 2021-05-01T17:40:54.000Z | Protector/Protector.h | AvivShabtay/Protector | 97b2f1a80a4cd87b15ec21f34069edf9de2bb835 | [
"MIT"
] | 1 | 2021-02-07T11:27:58.000Z | 2021-02-07T11:27:58.000Z | #pragma once
#include "FastMutex.h"
#include "Vector.h"
#include "String.h"
#include <ntddk.h>
#define DRIVER_PREFIX "Protector: "
#define DRIVER_TAG 'Prtc'
using ProtectorString = String<DRIVER_TAG, PagedPool>;
using ProtectorVector = Vector<ProtectorString*, DRIVER_TAG>;
/* The Driver's unload function called whe... | 38.333333 | 118 | 0.796931 |
e50ff1223619443665476539d18920c988a4308a | 2,744 | h | C | Extends/NSObject+NSObject_File.h | netcosportsanatoly/NS-Categories | 448e2c65d09706c3eef3e4a777d098fb7d61a346 | [
"MIT"
] | null | null | null | Extends/NSObject+NSObject_File.h | netcosportsanatoly/NS-Categories | 448e2c65d09706c3eef3e4a777d098fb7d61a346 | [
"MIT"
] | 2 | 2015-03-09T14:23:32.000Z | 2015-07-23T00:25:57.000Z | Extends/NSObject+NSObject_File.h | netcosportsanatoly/NS-Categories | 448e2c65d09706c3eef3e4a777d098fb7d61a346 | [
"MIT"
] | 5 | 2015-07-16T09:42:42.000Z | 2017-11-03T09:45:13.000Z | //
// NSObject+NSObject_File.h
// Extends
//
// Created by bigmac on 25/09/12.
// Copyright (c) 2012 Jean Alexandre Iragne. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSObject (NSObject_File)
/**
* Retrieve application useful folders (Document, Document/tmp, Cache)
*
* @return Path... | 27.717172 | 107 | 0.735423 |
af2228e7a08eb63addf68c245a5751d09c2431a4 | 349 | h | C | source/MBKit/View/Refresh/MBRefreshKit+MBKit.h | pgbo/matchbook | 3311fa54309b471b3cba896f2254cb5088b3cdfc | [
"MIT"
] | 9 | 2019-05-17T02:47:46.000Z | 2019-11-05T11:22:56.000Z | source/MBKit/View/Refresh/MBRefreshKit+MBKit.h | pgbo/matchbook | 3311fa54309b471b3cba896f2254cb5088b3cdfc | [
"MIT"
] | 2 | 2019-07-20T16:17:03.000Z | 2019-10-30T09:22:35.000Z | source/MBKit/View/Refresh/MBRefreshKit+MBKit.h | pgbo/matchbook | 3311fa54309b471b3cba896f2254cb5088b3cdfc | [
"MIT"
] | 2 | 2019-10-11T14:50:12.000Z | 2020-06-12T04:11:36.000Z | //
// MBRefreshKit+MBKit.h
// matchbook
//
// Created by guangbool on 2017/6/30.
// Copyright © 2017年 devbool. All rights reserved.
//
#import <MBKit/MBKit.h>
@interface MBRefreshKit (MBKit)
/**
上翻套件
@param actionBlock 满足上翻条件时的程序调用
@return 实例
*/
+ (MBRefreshKit *)PageupKitWithActionBlock:(void(^)(MBRefresh... | 15.863636 | 83 | 0.69914 |
791670bd98cf671cbf8f8a9d5fbf123bc14e5d32 | 514 | h | C | src/cc1/fopt.h | bocke/ucc | d95c0014dfc555c3eb6e9fdf909e0460bf2a0060 | [
"MIT"
] | 55 | 2015-02-07T12:31:13.000Z | 2022-02-19T15:25:02.000Z | src/cc1/fopt.h | bocke/ucc | d95c0014dfc555c3eb6e9fdf909e0460bf2a0060 | [
"MIT"
] | null | null | null | src/cc1/fopt.h | bocke/ucc | d95c0014dfc555c3eb6e9fdf909e0460bf2a0060 | [
"MIT"
] | 9 | 2015-08-06T21:26:33.000Z | 2022-01-14T03:44:40.000Z | #ifndef FOPT_H
#define FOPT_H
struct cc1_fopt
{
#define X(flag, name) unsigned char name;
#define INVERT(flag, name)
#define ALIAS(flag, name)
#define EXCLUSIVE(flag, name, excl) X(flag, name)
#define ALIAS_EXCLUSIVE(flag, name, excl)
#include "fopts.h"
#undef X
#undef INVERT
#undef ALIAS
#undef EXCLUSIVE
#undef ALI... | 18.357143 | 76 | 0.733463 |
b2aacae4ebc82206bf16bd5aa0a1212d0dc1ca37 | 7,087 | c | C | putty/halibut/in_afm.c | OneIdentity/rc-legacy | 6e247f55b7df6b1022819810ba3363a2db401f08 | [
"Apache-2.0"
] | null | null | null | putty/halibut/in_afm.c | OneIdentity/rc-legacy | 6e247f55b7df6b1022819810ba3363a2db401f08 | [
"Apache-2.0"
] | null | null | null | putty/halibut/in_afm.c | OneIdentity/rc-legacy | 6e247f55b7df6b1022819810ba3363a2db401f08 | [
"Apache-2.0"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include "halibut.h"
#include "paper.h"
char *afm_read_line(input *in) {
int i, len = 256;
int c;
char *line;
do {
i = 0;
in->pos.line++;
c = getc(in->currfp);
if (c == EOF) {
error(err_afmeof, &in->pos);
return NULL;
}
line = snewn(len, char);
w... | 25.584838 | 78 | 0.50769 |
f953776d80fd83a97bdb62e38b90cc0bdd07bdaa | 291 | h | C | Analysis/Util/armadillo_utils.h | konradotto/TS | bf088bd8432b1e3f4b8c8c083650a30d9ef2ae2e | [
"Apache-2.0"
] | 125 | 2015-01-22T05:43:23.000Z | 2022-03-22T17:15:59.000Z | Analysis/Util/armadillo_utils.h | konradotto/TS | bf088bd8432b1e3f4b8c8c083650a30d9ef2ae2e | [
"Apache-2.0"
] | 59 | 2015-02-10T09:13:06.000Z | 2021-11-11T02:32:38.000Z | Analysis/Util/armadillo_utils.h | konradotto/TS | bf088bd8432b1e3f4b8c8c083650a30d9ef2ae2e | [
"Apache-2.0"
] | 98 | 2015-01-17T01:25:10.000Z | 2022-03-18T17:29:42.000Z | /* Copyright (C) 2011 Ion Torrent Systems, Inc. All Rights Reserved */
#ifndef ARMADILLO_UTILS_H
#define ARMADILLO_UTILS_H
#include <armadillo>
inline bool is_pos_def(const arma::mat22& M)
{
// Sylvester's test:
return M.at(0,0) > 0 and arma::det(M) > 0;
}
#endif // ARMADILLO_UTILS_H
| 19.4 | 70 | 0.714777 |
7f0c40b32bb6980c7c54038478493c1fb369a575 | 351 | h | C | waifu2xconvertercppoptions.h | rossomah/waifu2x-converter-qt | 1e203ad160f6e69874f1dd391cec534abdc36324 | [
"MIT"
] | 31 | 2015-08-27T17:03:11.000Z | 2022-01-31T03:25:09.000Z | waifu2xconvertercppoptions.h | rossomah/waifu2x-converter-qt | 1e203ad160f6e69874f1dd391cec534abdc36324 | [
"MIT"
] | null | null | null | waifu2xconvertercppoptions.h | rossomah/waifu2x-converter-qt | 1e203ad160f6e69874f1dd391cec534abdc36324 | [
"MIT"
] | 9 | 2015-05-31T12:43:18.000Z | 2022-01-24T16:09:35.000Z | #ifndef WAIFU2XCONVERTERCPPOPTIONS_H
#define WAIFU2XCONVERTERCPPOPTIONS_H
#include <QList>
namespace Waifu2xConverterQt {
enum Option {
Jobs,
ModelDir,
ScaleRatio,
NoiseLevel,
Mode,
OutputFile,
InputFile,
};
QString optionToString(const Option opt);
QList<Option> optionList();
}
#endif /... | 15.954545 | 41 | 0.74359 |
c32a17ce51c1490e80089876b8beefff26afb2de | 1,487 | c | C | USACO/C/1.1.5.c | lxdlam/ACM | cde519ef9732ff9e4e9e3f53c00fb30d07bdb306 | [
"MIT"
] | 1 | 2019-11-12T15:08:16.000Z | 2019-11-12T15:08:16.000Z | USACO/C/1.1.5.c | lxdlam/ACM | cde519ef9732ff9e4e9e3f53c00fb30d07bdb306 | [
"MIT"
] | null | null | null | USACO/C/1.1.5.c | lxdlam/ACM | cde519ef9732ff9e4e9e3f53c00fb30d07bdb306 | [
"MIT"
] | 1 | 2018-01-22T08:06:11.000Z | 2018-01-22T08:06:11.000Z | /*
ID: lxdlam1
LANG: C
TASK: beads
*/
#include <stdio.h>
#include <string.h>
#define MAX_LENGTH 351
int main()
{
FILE* fin = fopen("beads.in", "r");
FILE* fout = fopen("beads.out", "w");
int length, numMaxbeads = 0, i, left, right, j, flag = 1, m;
char necklace[2 * MAX_LENGTH] = {0}, temp[MAX_LENGT... | 19.311688 | 77 | 0.496974 |
c3a1b342714d8306689cf78ead0b1c278ba60b73 | 8,656 | c | C | sdk-6.5.20/libs/sdklt/bcmlrd/chip/bcm56996_a0/bcm56996_a0_lrd_table_info_map.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/libs/sdklt/bcmlrd/chip/bcm56996_a0/bcm56996_a0_lrd_table_info_map.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/libs/sdklt/bcmlrd/chip/bcm56996_a0/bcm56996_a0_lrd_table_info_map.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | /*******************************************************************************
*
* DO NOT EDIT THIS FILE!
* This file is auto-generated by fltg from
* INTERNAL/fltg/xgs/table/common/common_TABLE_INFO.map.ltl for
* bcm56996_a0
*
* Tool: $SDK/INTERNAL/fltg/bin/fltg
*
* Edits to this file will be lost w... | 33.8125 | 134 | 0.654575 |
bf980fd1f7855564ce0e462f4fed6ebf4901ba6a | 2,733 | h | C | CondFormats/L1TObjects/interface/L1TriggerKeyListExt.h | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | CondFormats/L1TObjects/interface/L1TriggerKeyListExt.h | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | CondFormats/L1TObjects/interface/L1TriggerKeyListExt.h | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | #ifndef CondFormats_L1TObjects_L1TriggerKeyListExt_h
#define CondFormats_L1TObjects_L1TriggerKeyListExt_h
// system include files
#include "CondFormats/Serialization/interface/Serializable.h"
#include <string>
#include <map>
class L1TriggerKeyListExt
{
public:
L1TriggerKeyListExt();
virtual ~L1Trigge... | 32.927711 | 89 | 0.65569 |
c73e16a2803086b76f37f15c285ea94a5d5b2c18 | 310 | h | C | dbms/src/DataStreams/copyData.h | 189569400/ClickHouse | 0b8683c8c9f0e17446bef5498403c39e9cb483b8 | [
"Apache-2.0"
] | 3 | 2016-12-30T14:19:47.000Z | 2021-11-13T06:58:32.000Z | dbms/src/DataStreams/copyData.h | 189569400/ClickHouse | 0b8683c8c9f0e17446bef5498403c39e9cb483b8 | [
"Apache-2.0"
] | 1 | 2017-01-13T21:29:36.000Z | 2017-01-16T18:29:08.000Z | dbms/src/DataStreams/copyData.h | 189569400/ClickHouse | 0b8683c8c9f0e17446bef5498403c39e9cb483b8 | [
"Apache-2.0"
] | 1 | 2021-02-07T16:00:54.000Z | 2021-02-07T16:00:54.000Z | #pragma once
#include <atomic>
namespace DB
{
class IBlockInputStream;
class IBlockOutputStream;
/** Копирует данные из InputStream в OutputStream
* (например, из БД в консоль и т. п.)
*/
void copyData(IBlockInputStream & from, IBlockOutputStream & to, std::atomic<bool> * is_cancelled = nullptr);
}
| 17.222222 | 109 | 0.732258 |
67b20b3943cc65047de5ccaa4a1e9263fe5b04ec | 2,544 | c | C | 1001/1001.c | zs1621/cstudy | 4e1d1e479723f2ba9033c75fb5b1050fe291cf09 | [
"MIT"
] | null | null | null | 1001/1001.c | zs1621/cstudy | 4e1d1e479723f2ba9033c75fb5b1050fe291cf09 | [
"MIT"
] | null | null | null | 1001/1001.c | zs1621/cstudy | 4e1d1e479723f2ba9033c75fb5b1050fe291cf09 | [
"MIT"
] | null | null | null | #include <math.h>
#include <stdlib.h>
int mnum = 0;
int lena = 1;
int lenb = 1;
int len = 2;
int x,y,z;
int i,j,k;
int result[6][125];
/************************
* *
* @param s1 乘数 *
* @param s2 乘数 *
* @param s 结果 *
* *
************************/
void muls(int *s... | 21.024793 | 61 | 0.26533 |
68f46366d8cf0e7d328d1c7c216e27e8c88a4965 | 3,015 | h | C | Compressonator/Applications/_Plugins/C3DModel_Loaders/obj/gltf/GltfCommon.h | gauravgarg17/Compressonator | 5cbc5cf4383da4bceeb1d2d2781421f63c48c6aa | [
"MIT"
] | 29 | 2018-08-07T17:19:22.000Z | 2022-03-25T13:53:57.000Z | Compressonator/Applications/_Plugins/C3DModel_Loaders/obj/gltf/GltfCommon.h | gauravgarg17/Compressonator | 5cbc5cf4383da4bceeb1d2d2781421f63c48c6aa | [
"MIT"
] | 19 | 2019-07-08T09:03:06.000Z | 2019-08-09T10:58:48.000Z | Compressonator/Applications/_Plugins/C3DModel_Loaders/obj/gltf/GltfCommon.h | gauravgarg17/Compressonator | 5cbc5cf4383da4bceeb1d2d2781421f63c48c6aa | [
"MIT"
] | 7 | 2019-03-19T01:08:52.000Z | 2020-09-08T14:42:39.000Z | // AMD AMDUtils code
//
// Copyright(c) 2017 Advanced Micro Devices, Inc.All rights reserved.
// 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 limitat... | 35.892857 | 146 | 0.709121 |
6e7f70c39729654ed79c9d3896e598142f9e648c | 3,210 | c | C | mwc/romana/relic/e/lib/ncurses/lib_erase.c | gspu/Coherent | 299bea1bb52a4dcc42a06eabd5b476fce77013ef | [
"BSD-3-Clause"
] | 20 | 2019-10-10T14:14:56.000Z | 2022-02-24T02:54:38.000Z | mwc/romana/relic/g/usr/lib/ncurses/lib_erase.c | gspu/Coherent | 299bea1bb52a4dcc42a06eabd5b476fce77013ef | [
"BSD-3-Clause"
] | null | null | null | mwc/romana/relic/g/usr/lib/ncurses/lib_erase.c | gspu/Coherent | 299bea1bb52a4dcc42a06eabd5b476fce77013ef | [
"BSD-3-Clause"
] | 1 | 2022-03-25T18:38:37.000Z | 2022-03-25T18:38:37.000Z | /*********************************************************************
* COPYRIGHT NOTICE *
**********************************************************************
* This software is copyright (C) 1982 by Pavel Curtis *
* ... | 30 | 98 | 0.411215 |
f50109befdd3c10b593b6201eed6e1056d7c4c3e | 242 | c | C | crt/sched.c | asvrada/mystikos | eee9b1d1fc0a5b621b42c6dafdb709de8e8b09c5 | [
"MIT"
] | 87 | 2021-02-19T05:22:29.000Z | 2022-03-31T12:40:50.000Z | crt/sched.c | asvrada/mystikos | eee9b1d1fc0a5b621b42c6dafdb709de8e8b09c5 | [
"MIT"
] | 519 | 2021-02-19T18:26:41.000Z | 2022-03-31T23:26:55.000Z | crt/sched.c | asvrada/mystikos | eee9b1d1fc0a5b621b42c6dafdb709de8e8b09c5 | [
"MIT"
] | 69 | 2021-02-19T00:20:08.000Z | 2022-02-16T22:47:18.000Z | #include <myst/syscallext.h>
#include <sched.h>
#include <stdio.h>
#include <string.h>
#include <syscall.h>
#include <unistd.h>
int sched_getparam(pid_t pid, struct sched_param* param)
{
return syscall(SYS_sched_getparam, pid, param);
}
| 20.166667 | 56 | 0.731405 |
91d96187c02ab9b9fb81c921bb39dbf9171ac6ed | 1,560 | h | C | lib/usual/crypto/hmac.h | yummyliu/pgbouncers | 15357f8d4cec51707e41708cfb1adee5923c3cda | [
"0BSD",
"MIT"
] | null | null | null | lib/usual/crypto/hmac.h | yummyliu/pgbouncers | 15357f8d4cec51707e41708cfb1adee5923c3cda | [
"0BSD",
"MIT"
] | null | null | null | lib/usual/crypto/hmac.h | yummyliu/pgbouncers | 15357f8d4cec51707e41708cfb1adee5923c3cda | [
"0BSD",
"MIT"
] | null | null | null | /*
* HMAC implementation based on OpenBSD
*
* Copyright (c) 2012 Daniel Farina
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTW... | 29.433962 | 75 | 0.735897 |
8cb933e0be9730cc7ed288175994afb20a090751 | 3,232 | h | C | basic_programming/zebra/rtadv.h | shan3275/c | 481bdac8c3e852703b5a78859edf5148732a4452 | [
"BSD-2-Clause"
] | null | null | null | basic_programming/zebra/rtadv.h | shan3275/c | 481bdac8c3e852703b5a78859edf5148732a4452 | [
"BSD-2-Clause"
] | null | null | null | basic_programming/zebra/rtadv.h | shan3275/c | 481bdac8c3e852703b5a78859edf5148732a4452 | [
"BSD-2-Clause"
] | null | null | null | /* Router advertisement
* Copyright (C) 2005 6WIND <jean-mickael.guerin@6wind.com>
* Copyright (C) 1999 Kunihiro Ishiguro
*
* This file is part of GNU Zebra.
*
* GNU Zebra 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 So... | 30.780952 | 73 | 0.73979 |
1bab153d45994796ddb7436af2419c64117f69fa | 1,132 | h | C | src/xray/render/base/engine_renderer.h | ixray-team/ixray-2.0 | 85c3a544175842323fc82f42efd96c66f0fc5abb | [
"Linux-OpenIB"
] | 3 | 2021-10-30T09:36:14.000Z | 2022-03-26T17:00:06.000Z | src/xray/render/base/engine_renderer.h | acidicMercury8/ixray-2.0 | 85c3a544175842323fc82f42efd96c66f0fc5abb | [
"Linux-OpenIB"
] | null | null | null | src/xray/render/base/engine_renderer.h | acidicMercury8/ixray-2.0 | 85c3a544175842323fc82f42efd96c66f0fc5abb | [
"Linux-OpenIB"
] | 1 | 2022-03-26T17:00:08.000Z | 2022-03-26T17:00:08.000Z | ////////////////////////////////////////////////////////////////////////////
// Created : 28.10.2008
// Author : Dmitriy Iassenev
// Copyright (C) GSC Game World - 2009
////////////////////////////////////////////////////////////////////////////
#ifndef XRAY_RENDER_BASE_ENGINE_RENDERER_H_INCLUDED
#define XRAY... | 35.375 | 77 | 0.623675 |
1ef31a8ab608dbbe566eb886d2d9ac7f437bef3d | 1,301 | h | C | ch8_VO2/include/EdgeSE3ProjectDirect.h | ClovisChen/slam14 | 35fad23a491f2dd7666edab55ae849ac937d44c2 | [
"MIT"
] | null | null | null | ch8_VO2/include/EdgeSE3ProjectDirect.h | ClovisChen/slam14 | 35fad23a491f2dd7666edab55ae849ac937d44c2 | [
"MIT"
] | null | null | null | ch8_VO2/include/EdgeSE3ProjectDirect.h | ClovisChen/slam14 | 35fad23a491f2dd7666edab55ae849ac937d44c2 | [
"MIT"
] | null | null | null | //
// Created by chen-tian on 7/26/17.
//
#ifndef CH8_VO2_EDGESE3PROJECTDIRECT_H
#define CH8_VO2_EDGESE3PROJECTDIRECT_H
#include <g2o/core/base_unary_edge.h>
#include <g2o/types/sba/types_sba.h>
#include <g2o/types/sba/types_six_dof_expmap.h>
#include <iostream>
#include <opencv2/core/core.hpp>
using namespace cv;
... | 27.680851 | 102 | 0.732513 |
518f4178dd44ad5e1ad19d643d10f09e1f71f223 | 919 | h | C | protocols/GEOTileServerProxyDelegate.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | 36 | 2016-04-20T04:19:04.000Z | 2018-10-08T04:12:25.000Z | protocols/GEOTileServerProxyDelegate.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | null | null | null | protocols/GEOTileServerProxyDelegate.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | 10 | 2016-06-16T02:40:44.000Z | 2019-01-15T03:31:45.000Z | /* Generated by RuntimeBrowser.
*/
@protocol GEOTileServerProxyDelegate
@required
- (void)proxy:(GEOTileServerProxy *)arg1 canShrinkDiskCacheByAmount:(unsigned long long)arg2;
- (void)proxy:(GEOTileServerProxy *)arg1 didShrinkDiskCacheByAmount:(unsigned long long)arg2;
- (void)proxy:(GEOTileServerProxy *)arg1 faile... | 57.4375 | 349 | 0.764962 |
b6434caff01a196c151730c9c292ef1e5830134c | 586 | c | C | src/utils/files.c | LuckyMagpie/lonely-tennis | c163b384adb96a197c1f3622c915f8f02324e9a7 | [
"MIT"
] | 2 | 2018-07-10T21:55:13.000Z | 2021-08-08T08:15:24.000Z | src/utils/files.c | LuckyMagpie/lonely-tennis | c163b384adb96a197c1f3622c915f8f02324e9a7 | [
"MIT"
] | null | null | null | src/utils/files.c | LuckyMagpie/lonely-tennis | c163b384adb96a197c1f3622c915f8f02324e9a7 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include "files.h"
#include "vector.h"
char* file_to_str(const char* path)
{
FILE* file = fopen(path, "rb");
if (!file) {
fprintf(stderr, "%s:File not found %s\n", __func__, path);
char* error = malloc(1);
error[0] = '\0';
return error;
... | 18.903226 | 66 | 0.580205 |
2287c6d9ee162c66293a0a178f566d0156dd7786 | 1,309 | h | C | include/slog/appender/appender.h | suemi994/slog | 720dfd8301ca31ac321d87053cfce65ae9aeb719 | [
"MIT"
] | null | null | null | include/slog/appender/appender.h | suemi994/slog | 720dfd8301ca31ac321d87053cfce65ae9aeb719 | [
"MIT"
] | null | null | null | include/slog/appender/appender.h | suemi994/slog | 720dfd8301ca31ac321d87053cfce65ae9aeb719 | [
"MIT"
] | null | null | null | /*
* Created by suemi on 2016/12/7.
*/
#ifndef SLOG_APPENDER_H
#define SLOG_APPENDER_H
#include <string>
#include <memory>
#include "slog/utils/no_copyable.h"
#include "slog/base/fixed_buffer.h"
namespace slog {
class ErrorHandler;
class Properties;
class Appender : public NoCopyable {
public:
struct Result {
... | 17.931507 | 114 | 0.700535 |
39333579200f2057abd3a6dc33c6dacdd6cb338b | 11,705 | c | C | fteqtv/bsp.c | BryanHaley/fteqw-applesilicon | 06714d400c13c3f50bcd03e3d2184648a71ddb29 | [
"Intel"
] | 1 | 2022-03-20T01:14:23.000Z | 2022-03-20T01:14:23.000Z | fteqtv/bsp.c | BryanHaley/fteqw-applesilicon | 06714d400c13c3f50bcd03e3d2184648a71ddb29 | [
"Intel"
] | null | null | null | fteqtv/bsp.c | BryanHaley/fteqw-applesilicon | 06714d400c13c3f50bcd03e3d2184648a71ddb29 | [
"Intel"
] | null | null | null | /*
Copyright (C) 1996-1997 Id Software, Inc.
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 program is distributed in th... | 23.742394 | 143 | 0.658095 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.