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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0f470c0a176cd6b4d0b19cc47578f6a6fa874839 | 309 | h | C | protocols/CoreRCInterfaceListenerDelegate.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | 36 | 2016-04-20T04:19:04.000Z | 2018-10-08T04:12:25.000Z | protocols/CoreRCInterfaceListenerDelegate.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | null | null | null | protocols/CoreRCInterfaceListenerDelegate.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | 10 | 2016-06-16T02:40:44.000Z | 2019-01-15T03:31:45.000Z | /* Generated by RuntimeBrowser.
*/
@protocol CoreRCInterfaceListenerDelegate <NSObject>
@required
- (void)interfaceListener:(CoreRCInterfaceListener *)arg1 didAddInterface:(CoreRCInterface *)arg2;
- (void)interfaceListener:(CoreRCInterfaceListener *)arg1 didRemoveInterface:(CoreRCInterface *)arg2;
@end
| 25.75 | 101 | 0.809061 |
c7d62591c113703e7d3abec5c1a12c5512a71d2f | 899 | h | C | envoy/network/hash_policy.h | giantcroc/envoy | c535d5abf8d106925070fe6fd018a716e6bf2bf1 | [
"Apache-2.0"
] | 17,703 | 2017-09-14T18:23:43.000Z | 2022-03-31T22:04:17.000Z | envoy/network/hash_policy.h | giantcroc/envoy | c535d5abf8d106925070fe6fd018a716e6bf2bf1 | [
"Apache-2.0"
] | 15,957 | 2017-09-14T16:38:22.000Z | 2022-03-31T23:56:30.000Z | envoy/network/hash_policy.h | giantcroc/envoy | c535d5abf8d106925070fe6fd018a716e6bf2bf1 | [
"Apache-2.0"
] | 3,780 | 2017-09-14T18:58:47.000Z | 2022-03-31T17:10:47.000Z | #pragma once
#include "envoy/network/connection.h"
#include "absl/types/optional.h"
namespace Envoy {
namespace Network {
/**
* Hash policy for transport layer protocol.
*/
class HashPolicy {
public:
virtual ~HashPolicy() = default;
/**
* @param connection is the raw downstream connection. Different implem... | 32.107143 | 100 | 0.720801 |
be4f5374f62a23f488832939ab51228adaeb23fb | 5,046 | h | C | 2.4/include/org/apache/xalan/templates/ElemCopyOf.h | yaohb/J2ObjCAuto | 8b5252896999f367066e3f68226620f78c020923 | [
"MIT"
] | null | null | null | 2.4/include/org/apache/xalan/templates/ElemCopyOf.h | yaohb/J2ObjCAuto | 8b5252896999f367066e3f68226620f78c020923 | [
"MIT"
] | null | null | null | 2.4/include/org/apache/xalan/templates/ElemCopyOf.h | yaohb/J2ObjCAuto | 8b5252896999f367066e3f68226620f78c020923 | [
"MIT"
] | null | null | null | //
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/antoniocortes/j2objcprj/relases/j2objc/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xalan/templates/ElemCopyOf.java
//
#include "J2ObjC_header.h"
#pragma push_macro("INCLUDE_ALL_OrgApacheXalanTemplatesElemCo... | 33.64 | 169 | 0.816686 |
9c0026d0ff56dbe8d0520c91b2fe603a5356f4a4 | 15,515 | h | C | pgssapi/pgss-dispatch.h | OneIdentity/rc-legacy | 6e247f55b7df6b1022819810ba3363a2db401f08 | [
"Apache-2.0"
] | null | null | null | pgssapi/pgss-dispatch.h | OneIdentity/rc-legacy | 6e247f55b7df6b1022819810ba3363a2db401f08 | [
"Apache-2.0"
] | null | null | null | pgssapi/pgss-dispatch.h | OneIdentity/rc-legacy | 6e247f55b7df6b1022819810ba3363a2db401f08 | [
"Apache-2.0"
] | null | null | null | /*
* GSSAPI library dispatch structure.
*/
typedef void *D_gss_name_t;
typedef void *D_gss_cred_id_t;
typedef void *D_gss_ctx_id_t;
typedef OM_uint32 (*gss_acquire_cred_t)
(OM_uint32 *, /* minor_status */
const D_gss_name_t, /* desired_name */
OM_uint32, ... | 42.04607 | 66 | 0.478247 |
3b84867c55b148e32bab323472071a58f2ce3f0d | 1,671 | c | C | samples/01_HelloWorld/hello.c | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | 1 | 2016-04-09T02:58:13.000Z | 2016-04-09T02:58:13.000Z | samples/01_HelloWorld/hello.c | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | null | null | null | samples/01_HelloWorld/hello.c | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | null | null | null | // Copyright (c) 2013 Adobe Systems Inc
// 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, merge, publis... | 46.416667 | 80 | 0.743866 |
7b0282eee44621cac7024a203e80bae3f9a74791 | 10,485 | c | C | plat/arm/css/common/css_pm.c | virtualopensystems-kchappuis/handle-fiq-el3 | aaa0567c38ea6f08d68ce64210800b51a8872c13 | [
"BSD-3-Clause"
] | null | null | null | plat/arm/css/common/css_pm.c | virtualopensystems-kchappuis/handle-fiq-el3 | aaa0567c38ea6f08d68ce64210800b51a8872c13 | [
"BSD-3-Clause"
] | null | null | null | plat/arm/css/common/css_pm.c | virtualopensystems-kchappuis/handle-fiq-el3 | aaa0567c38ea6f08d68ce64210800b51a8872c13 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2015, ARM Limited and Contributors. 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 o... | 36.155172 | 80 | 0.62556 |
7e84ed4d7f1b7781738f413b1be8d14217406e7d | 474 | h | C | Sources/MooApi.h | eCrowdMedia/MooApi | 71dd7e5f881127568a293cf4d994d0d8b0cbac85 | [
"MIT"
] | 2 | 2018-04-07T03:41:07.000Z | 2019-02-09T15:25:01.000Z | Sources/MooApi.h | eCrowdMedia/MooApi | 71dd7e5f881127568a293cf4d994d0d8b0cbac85 | [
"MIT"
] | null | null | null | Sources/MooApi.h | eCrowdMedia/MooApi | 71dd7e5f881127568a293cf4d994d0d8b0cbac85 | [
"MIT"
] | null | null | null | //
// MooApi.h
// MooApi
//
// Created by Arco on 14/03/2017.
// Copyright © 2017 ecrowdmedia.com. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for MooApi.
FOUNDATION_EXPORT double MooApiVersionNumber;
//! Project version string for MooApi.
FOUNDATION_EXPORT const unsigned char MooA... | 23.7 | 131 | 0.748945 |
dfa882b9053659b15032899580c7dc11766f7e99 | 396 | c | C | Matrix/static_matrix.c | Daniel-0liver/Advanced-C-curse | b36be78a77286cc47111b3bdb3f1e90127aa5064 | [
"MIT"
] | null | null | null | Matrix/static_matrix.c | Daniel-0liver/Advanced-C-curse | b36be78a77286cc47111b3bdb3f1e90127aa5064 | [
"MIT"
] | null | null | null | Matrix/static_matrix.c | Daniel-0liver/Advanced-C-curse | b36be78a77286cc47111b3bdb3f1e90127aa5064 | [
"MIT"
] | null | null | null | #include <stdio.h>
int main() {
int n_rows = 2;
int n_cols = 3;
int m[2][3] = {{0, 1, 2}, {3, 4, 5}};
printf("&m = %p, m = %p\n\n", &m, m);
for (int i = 0; i < n_rows; i++)
{
for (int j = 0; j < n_cols; j++)
{
printf("&m[%d][%d] = %p, m[%d][%d] = %d\n", i, j, &m[i... | 18.857143 | 87 | 0.338384 |
2a835b856fa3e5d48b82a0767de0cd093f8d1a2a | 2,523 | h | C | include/CustomLibrary/SDL/SDLWindow.h | floppyMike/CustomLibrary | 019122e8794e3b8e580e3c61b51b0f7c7dad16ff | [
"MIT"
] | 2 | 2020-07-27T17:25:13.000Z | 2020-11-15T15:05:19.000Z | include/CustomLibrary/SDL/SDLWindow.h | floppyMike/CustomLibrary | 019122e8794e3b8e580e3c61b51b0f7c7dad16ff | [
"MIT"
] | null | null | null | include/CustomLibrary/SDL/SDLWindow.h | floppyMike/CustomLibrary | 019122e8794e3b8e580e3c61b51b0f7c7dad16ff | [
"MIT"
] | null | null | null | #pragma once
#include "Camera2D.h"
#include "Engine.h"
#include "Render.h"
#include "Renderer.h"
#include "State.h"
#include "Window.h"
#include "../Error.h"
namespace ctl::sdl
{
/**
* @brief Stock general SDL2 Window
*/
class SDLWindow : public IWindow
{
public:
/**
* @brief Initialize Window and Render... | 23.146789 | 113 | 0.651209 |
019b9e0b5f89a37b33669db52916e27b5e275834 | 154 | h | C | boot2dump/src/elf.h | Passw/kerla | a188653f677de8dee143fa374258ca34a6e2325b | [
"MIT"
] | 2 | 2021-11-19T21:14:17.000Z | 2021-12-21T04:12:56.000Z | boot2dump/src/elf.h | Passw/kerla | a188653f677de8dee143fa374258ca34a6e2325b | [
"MIT"
] | null | null | null | boot2dump/src/elf.h | Passw/kerla | a188653f677de8dee143fa374258ca34a6e2325b | [
"MIT"
] | null | null | null | #ifndef __ELF_H__
#define __ELF_H__
#include <types.h>
struct elf64_rela {
uint64_t r_offset;
uint64_t r_info;
int64_t r_addend;
};
#endif
| 11.846154 | 22 | 0.707792 |
cc51486dbcfca7b09b2911e39223c78067e9f9ed | 407 | h | C | pi2c.h | vbloodv/pi2c | a5f9981554471d8119791947703e3b969b3b0db3 | [
"Apache-2.0"
] | null | null | null | pi2c.h | vbloodv/pi2c | a5f9981554471d8119791947703e3b969b3b0db3 | [
"Apache-2.0"
] | null | null | null | pi2c.h | vbloodv/pi2c | a5f9981554471d8119791947703e3b969b3b0db3 | [
"Apache-2.0"
] | 1 | 2021-02-05T09:55:12.000Z | 2021-02-05T09:55:12.000Z | #include <iostream>
#include <linux/i2c-dev.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/ioctl.h>
class Pi2c
{
public:
Pi2c();
~Pi2c();
bool initialize(int address, bool revision = 1);
void status();
bool is_connect() const;
int read_block(char* data, int length);
int write_block(cha... | 17.695652 | 49 | 0.670762 |
629459825cb7ff57fc6706b711e6fbb4ef321abb | 308 | h | C | Toolbar.h | mcmarius/forme-geometrice-1512-2021 | c94ccb56b20fcca6207e65c15bce8c478a0687bb | [
"Unlicense"
] | null | null | null | Toolbar.h | mcmarius/forme-geometrice-1512-2021 | c94ccb56b20fcca6207e65c15bce8c478a0687bb | [
"Unlicense"
] | null | null | null | Toolbar.h | mcmarius/forme-geometrice-1512-2021 | c94ccb56b20fcca6207e65c15bce8c478a0687bb | [
"Unlicense"
] | null | null | null | //
// Created by marius on 2021-03-10.
//
#ifndef FORME_GEOMETRICE_1512_2021_TOOLBAR_H
#define FORME_GEOMETRICE_1512_2021_TOOLBAR_H
class Toolbar {
bool hidden = false;
public:
Toolbar(); // = default;
bool isHidden() const;
void toggle();
};
#endif //FORME_GEOMETRICE_1512_2021_TOOLBAR_H
| 18.117647 | 45 | 0.727273 |
9235780f6c7892fb0f489b0a2403bbbc4debe9a6 | 1,344 | h | C | tknlib.h | mhrnshrf/Computer-Network-CA2 | ba8a5d5677d4c82551dddd2ec07a801782db936b | [
"MIT"
] | null | null | null | tknlib.h | mhrnshrf/Computer-Network-CA2 | ba8a5d5677d4c82551dddd2ec07a801782db936b | [
"MIT"
] | null | null | null | tknlib.h | mhrnshrf/Computer-Network-CA2 | ba8a5d5677d4c82551dddd2ec07a801782db936b | [
"MIT"
] | null | null | null | #ifndef _TOKEN_
#define _TOKEN_
#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <string.h>
#include <stdlib.h>
#include <iostream>
#include <map>
using namespace std;
extern void padding(char* in, int len);
extern int parse(char *line, char **words);
extern int length(char* s);
extern vo... | 29.866667 | 120 | 0.735119 |
93738eaedcd251b60f8cfb139e8ae1b0f86d4ce1 | 7,468 | c | C | mt-drivers/mt7615d/src/mt_wifi/embedded/hw_ctrl/hdev/wmm_ctrl.c | bearking1069/openwrt-packages | eb78e080d5e3a022aa5a3acaff492283306cfc6b | [
"Apache-2.0"
] | 4 | 2020-12-30T12:46:48.000Z | 2021-01-04T08:28:13.000Z | mt-drivers/mt7615d/src/mt_wifi/embedded/hw_ctrl/hdev/wmm_ctrl.c | bearking1069/openwrt-packages | eb78e080d5e3a022aa5a3acaff492283306cfc6b | [
"Apache-2.0"
] | null | null | null | mt-drivers/mt7615d/src/mt_wifi/embedded/hw_ctrl/hdev/wmm_ctrl.c | bearking1069/openwrt-packages | eb78e080d5e3a022aa5a3acaff492283306cfc6b | [
"Apache-2.0"
] | null | null | null | /*
***************************************************************************
* MediaTek Inc.
* 4F, No. 2 Technology 5th Rd.
* Science-based Industrial Park
* Hsin-chu, Taiwan, R.O.C.
*
* (c) Copyright 1997-2012, MediaTek, Inc.
*
* All rights reserved. MediaTek source code is an unpublished work and the
* us... | 24.168285 | 144 | 0.654794 |
2b3d8c3c7d6c226dd0d050b60df60a8163c3a335 | 215 | h | C | src/gfx/defeat_tilemap.h | Narkhos/gb-tharsei | 0347b4afba10f27395e0d296da08e12dc51a23d7 | [
"MIT"
] | null | null | null | src/gfx/defeat_tilemap.h | Narkhos/gb-tharsei | 0347b4afba10f27395e0d296da08e12dc51a23d7 | [
"MIT"
] | null | null | null | src/gfx/defeat_tilemap.h | Narkhos/gb-tharsei | 0347b4afba10f27395e0d296da08e12dc51a23d7 | [
"MIT"
] | null | null | null | // This file was generated by img2gb, DO NOT EDIT
#ifndef _DEFEAT_TILEMAP_H
#define _DEFEAT_TILEMAP_H
extern const UINT8 DEFEAT_TILEMAP[];
#define DEFEAT_TILEMAP_WIDTH 20
#define DEFEAT_TILEMAP_HEIGHT 12
#endif
| 17.916667 | 49 | 0.813953 |
4dc0c8ff20a0b6f22be6ba1ff41c4ea10786edb1 | 284 | h | C | UC.Utils/UC.CommandFunctionType.h | oicawa/undercover | 816dd703200810dc77ecb9496ff6128d462eae0d | [
"MIT"
] | null | null | null | UC.Utils/UC.CommandFunctionType.h | oicawa/undercover | 816dd703200810dc77ecb9496ff6128d462eae0d | [
"MIT"
] | null | null | null | UC.Utils/UC.CommandFunctionType.h | oicawa/undercover | 816dd703200810dc77ecb9496ff6128d462eae0d | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include <atlstr.h>
#include <functional>
typedef HRESULT(*UCCommandFunctionPointer)(const std::vector<CString>& parameters, CString& output);
using UCCommandFunction = std::function<HRESULT(const std::vector<CString>& parameters, CString& output)>;
| 28.4 | 106 | 0.774648 |
ff920f2daa76f5d1006d261f602e6a658aa6225d | 550 | h | C | Source/GUI/Button.h | Hopson97/Temp-Minecraft-Clone-Prototype | d7866fa7628a0978a0fd86b15ef330a2d8794f2d | [
"MIT"
] | 2 | 2016-10-02T16:22:52.000Z | 2016-10-02T17:36:58.000Z | Source/GUI/Button.h | Hopson97/Temp-Minecraft-Clone-Prototype | d7866fa7628a0978a0fd86b15ef330a2d8794f2d | [
"MIT"
] | null | null | null | Source/GUI/Button.h | Hopson97/Temp-Minecraft-Clone-Prototype | d7866fa7628a0978a0fd86b15ef330a2d8794f2d | [
"MIT"
] | null | null | null | #ifndef BUTTON_H
#define BUTTON_H
#include <functional>
#include "Component.h"
namespace GUI
{
class Button : public Component
{
public:
Button(const sf::RectangleShape& rect);
private:
void input (const sf::Event& e) override;
void update () ... | 18.965517 | 57 | 0.532727 |
94e763718ce4ef484ebd2be282f95f703efd2a43 | 1,782 | h | C | XHDemo/XHDemo/General/Externs/LXHOther.h | moxuyou/XHDemo | 57d7720e506d7776da361caca36a87f109dc81f7 | [
"Apache-2.0"
] | 4 | 2017-02-14T03:37:46.000Z | 2017-02-14T04:03:25.000Z | XHDemo/XHDemo/General/Externs/LXHOther.h | moxuyou/XHDemo | 57d7720e506d7776da361caca36a87f109dc81f7 | [
"Apache-2.0"
] | null | null | null | XHDemo/XHDemo/General/Externs/LXHOther.h | moxuyou/XHDemo | 57d7720e506d7776da361caca36a87f109dc81f7 | [
"Apache-2.0"
] | null | null | null | //
// LXHOther.h
// moxuyou_Base
//
// Created by moxuyou on 2016/11/2.
// Copyright © 2016年 moxuyou. All rights reserved.
//
// 服务器地址
#define MLBApiServerAddress @"http://v3.wufazhuce.com:8000/api"
// 自定义打印 CocoaLumberjack专门用来打印日志
#define LOG_MAYBE(async, lvl, flg, ctx, tag, fnct, frmt, ...) ... | 39.6 | 243 | 0.717172 |
7fdcaefdc7d3b20c4604dd3c3c092f4fba72524f | 443 | h | C | src/plugins/opengl/src/gl_buffer.h | sunhay/halley | fc4f153956cc34d7fa02b76850e22183b8e30e25 | [
"Apache-2.0"
] | 3,262 | 2016-04-10T15:24:10.000Z | 2022-03-31T17:47:08.000Z | src/plugins/opengl/src/gl_buffer.h | sunhay/halley | fc4f153956cc34d7fa02b76850e22183b8e30e25 | [
"Apache-2.0"
] | 53 | 2016-10-09T16:25:04.000Z | 2022-01-10T13:52:37.000Z | src/plugins/opengl/src/gl_buffer.h | sunhay/halley | fc4f153956cc34d7fa02b76850e22183b8e30e25 | [
"Apache-2.0"
] | 193 | 2017-10-23T06:08:41.000Z | 2022-03-22T12:59:58.000Z | #pragma once
#include "halley_gl.h"
#include <gsl/gsl>
namespace Halley
{
class GLBuffer
{
public:
GLBuffer();
~GLBuffer();
void bind();
void bindToTarget(GLuint index);
void init(GLenum target, GLenum usage = GL_STREAM_DRAW);
void setData(gsl::span<const gsl::byte> data);
size_t getSize() const;
... | 15.821429 | 58 | 0.656885 |
cfb9968a609fda2a3461e4daf36501fa1b281c86 | 586 | h | C | src/models/copyprofile.h | atomicparade/sticker-book-qt | 58f6f603e835a4ecfac5b58b58b87458e3fefbe6 | [
"MIT"
] | null | null | null | src/models/copyprofile.h | atomicparade/sticker-book-qt | 58f6f603e835a4ecfac5b58b58b87458e3fefbe6 | [
"MIT"
] | null | null | null | src/models/copyprofile.h | atomicparade/sticker-book-qt | 58f6f603e835a4ecfac5b58b58b87458e3fefbe6 | [
"MIT"
] | null | null | null | #ifndef COPYPROFILE_H
#define COPYPROFILE_H
#include <QString>
class CopyProfile
{
public:
enum Role
{
IsActualSizeRole = Qt::UserRole
};
CopyProfile() = default;
CopyProfile(int width, int height, bool scaleUp);
bool operator==(const CopyProfile &other) const;
int width() const;... | 16.742857 | 53 | 0.653584 |
320fbb250747bb0657d8ffedab74b003cf05a474 | 3,234 | c | C | ext/src/RetryPolicy/Logging.c | dave-d-code/cassandra-php-driver | 29e32d501b144b1071896c2228c32f1af6e1efcd | [
"Apache-2.0"
] | null | null | null | ext/src/RetryPolicy/Logging.c | dave-d-code/cassandra-php-driver | 29e32d501b144b1071896c2228c32f1af6e1efcd | [
"Apache-2.0"
] | null | null | null | ext/src/RetryPolicy/Logging.c | dave-d-code/cassandra-php-driver | 29e32d501b144b1071896c2228c32f1af6e1efcd | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2015-2016 DataStax, 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 agree... | 35.538462 | 131 | 0.785405 |
1910ee2d61bdbf807394c0caff8693b3f8ba30db | 3,092 | h | C | FECore/FEClosestPointProjection.h | AlexandraAllan23/FEBio | c94a1c30e0bae5f285c0daae40a7e893e63cff3c | [
"MIT"
] | 59 | 2020-06-15T12:38:49.000Z | 2022-03-29T19:14:47.000Z | FECore/FEClosestPointProjection.h | AlexandraAllan23/FEBio | c94a1c30e0bae5f285c0daae40a7e893e63cff3c | [
"MIT"
] | 36 | 2020-06-14T21:10:01.000Z | 2022-03-12T12:03:14.000Z | FECore/FEClosestPointProjection.h | AlexandraAllan23/FEBio | c94a1c30e0bae5f285c0daae40a7e893e63cff3c | [
"MIT"
] | 26 | 2020-06-25T15:02:13.000Z | 2022-03-10T09:14:03.000Z | /*This file is part of the FEBio source code and is licensed under the MIT license
listed below.
See Copyright-FEBio.txt for details.
Copyright (c) 2020 University of Utah, The Trustees of Columbia University in
the City of New York, and others.
Permission is hereby granted, free of charge, to any person obtaining ... | 35.136364 | 88 | 0.741591 |
aababba2740963a685c8dea1336a2ef5562c718e | 1,929 | h | C | engine/internal_cmd.h | cristivlas/zerobugs | 5f080c8645b123d7887fd8a64f60e8d226e3b1d5 | [
"BSL-1.0"
] | 2 | 2018-03-19T23:27:47.000Z | 2018-06-24T16:15:19.000Z | engine/internal_cmd.h | cristivlas/zerobugs | 5f080c8645b123d7887fd8a64f60e8d226e3b1d5 | [
"BSL-1.0"
] | null | null | null | engine/internal_cmd.h | cristivlas/zerobugs | 5f080c8645b123d7887fd8a64f60e8d226e3b1d5 | [
"BSL-1.0"
] | 1 | 2021-11-28T05:39:05.000Z | 2021-11-28T05:39:05.000Z | #ifndef INTERNAL_COMMAND_H__0B135951_4AC0_450A_9380_E7E10DD2A3FA
#define INTERNAL_COMMAND_H__0B135951_4AC0_450A_9380_E7E10DD2A3FA
//
// $Id$
//
// -------------------------------------------------------------------------
// This file is part of ZeroBugs, Copyright (c) 2010 Cristian L. Vlasceanu
//
// Distributed under ... | 25.381579 | 76 | 0.681182 |
5cf029f0bebfe3c4aa3c7bdd99cccea57bc9b6d3 | 785 | h | C | src/cpp/include/nodegui/QtGui/QEvent/QMouseEvent/qmouseevent_wrap.h | blncd2020/nodegui | a0522ccce399cf92b455a3f0e2ee2d7109ce914f | [
"MIT"
] | null | null | null | src/cpp/include/nodegui/QtGui/QEvent/QMouseEvent/qmouseevent_wrap.h | blncd2020/nodegui | a0522ccce399cf92b455a3f0e2ee2d7109ce914f | [
"MIT"
] | null | null | null | src/cpp/include/nodegui/QtGui/QEvent/QMouseEvent/qmouseevent_wrap.h | blncd2020/nodegui | a0522ccce399cf92b455a3f0e2ee2d7109ce914f | [
"MIT"
] | null | null | null | #pragma once
#include <napi.h>
#include <QMouseEvent>
#include "core/Component/component_macro.h"
class QMouseEventWrap : public Napi::ObjectWrap<QMouseEventWrap> {
COMPONENT_WRAPPED_METHODS_DECLARATION
private:
QMouseEvent* instance;
public:
static Napi::Object init(Napi::Env env, Napi::Object exports);
... | 28.035714 | 66 | 0.75414 |
65e51a4832ce32ced8b2b761e168f71b93d8a436 | 4,072 | h | C | shared/lib/netxduo/addons/azure_iot/azure_iot_security_module/iot-security-module-core/deps/flatcc/include/flatcc/portable/pstdalign.h | likidu/stm32u5-getting-started | 619888cef6d6117b3212ff5b12f4b5b3e7041f7a | [
"MIT"
] | null | null | null | shared/lib/netxduo/addons/azure_iot/azure_iot_security_module/iot-security-module-core/deps/flatcc/include/flatcc/portable/pstdalign.h | likidu/stm32u5-getting-started | 619888cef6d6117b3212ff5b12f4b5b3e7041f7a | [
"MIT"
] | null | null | null | shared/lib/netxduo/addons/azure_iot/azure_iot_security_module/iot-security-module-core/deps/flatcc/include/flatcc/portable/pstdalign.h | likidu/stm32u5-getting-started | 619888cef6d6117b3212ff5b12f4b5b3e7041f7a | [
"MIT"
] | null | null | null | #ifndef PSTDALIGN_H
#define PSTDALIGN_H
/*
* NOTE: aligned_alloc is defined via paligned_alloc.h
* and requires aligned_free to be fully portable although
* free also works on C11 and platforms with posix_memalign.
*
* NOTE: C++11 defines alignas as a keyword but then also defines
* __alignas_is_defined.
*
* C... | 26.102564 | 110 | 0.750982 |
d06f3cba78c185c6c73019ded1ed46215b8b9b99 | 99 | c | C | packages/PIPS/validation/Semantics-New/Pointer.sub/return01.c | DVSR1966/par4all | 86b33ca9da736e832b568c5637a2381f360f1996 | [
"MIT"
] | 51 | 2015-01-31T01:51:39.000Z | 2022-02-18T02:01:50.000Z | packages/PIPS/validation/Semantics-New/Pointer.sub/return01.c | DVSR1966/par4all | 86b33ca9da736e832b568c5637a2381f360f1996 | [
"MIT"
] | 7 | 2017-05-29T09:29:00.000Z | 2019-03-11T16:01:39.000Z | packages/PIPS/validation/Semantics-New/Pointer.sub/return01.c | DVSR1966/par4all | 86b33ca9da736e832b568c5637a2381f360f1996 | [
"MIT"
] | 12 | 2015-03-26T08:05:38.000Z | 2022-02-18T02:01:51.000Z | // Verify that we return *p=i=0
int main()
{
int i = 0;
int *p;
p=&i;
return *p;
}
| 7.615385 | 31 | 0.464646 |
d0acccf92a4cb2d789028e171ae96785ed80c9e5 | 5,836 | h | C | src/node.h | gitqifan/jittor | 0a5bd61bf46179c1316b66d5e26498960bbd3b88 | [
"Apache-2.0"
] | null | null | null | src/node.h | gitqifan/jittor | 0a5bd61bf46179c1316b66d5e26498960bbd3b88 | [
"Apache-2.0"
] | null | null | null | src/node.h | gitqifan/jittor | 0a5bd61bf46179c1316b66d5e26498960bbd3b88 | [
"Apache-2.0"
] | null | null | null | // ***************************************************************
// Copyright (c) 2020 Jittor. Authors: Dun Liang <randonlang@gmail.com>. All Rights Reserved.
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
// ***************************... | 30.878307 | 93 | 0.601782 |
456f9f0a065a9ad230fb5e76e262a4748815ccca | 1,043 | c | C | Pods/libsodium/src/libsodium/crypto_secretbox/crypto_secretbox.c | Neilcc/ss-iOS | cf2a9d8ca02ead10b0edf6f94917e2357dec37cb | [
"Apache-2.0"
] | 11,356 | 2017-12-08T19:42:32.000Z | 2022-03-31T16:55:25.000Z | Pods/libsodium/src/libsodium/crypto_secretbox/crypto_secretbox.c | hdw09/shadowsocks-iOS | 76ed99f6daf1368993b7cebbe6fb5bab39cea2eb | [
"Apache-2.0"
] | 2,402 | 2017-12-08T22:31:01.000Z | 2022-03-28T19:25:52.000Z | Pods/libsodium/src/libsodium/crypto_secretbox/crypto_secretbox.c | hdw09/shadowsocks-iOS | 76ed99f6daf1368993b7cebbe6fb5bab39cea2eb | [
"Apache-2.0"
] | 1,343 | 2017-12-08T19:47:19.000Z | 2022-03-26T11:31:36.000Z |
#include "crypto_secretbox.h"
size_t
crypto_secretbox_keybytes(void)
{
return crypto_secretbox_KEYBYTES;
}
size_t
crypto_secretbox_noncebytes(void)
{
return crypto_secretbox_NONCEBYTES;
}
size_t
crypto_secretbox_zerobytes(void)
{
return crypto_secretbox_ZEROBYTES;
}
size_t
crypto_secretbox_boxzerobytes... | 18.963636 | 70 | 0.723873 |
e75b71275dd345338c4402f78e1f7152106fcc7e | 2,726 | h | C | arch/mips/xburst/common/mips_types.h | flyghost/OneOS-V2.1.0 | 6fedab0558c07fe679d63ba1eb8ee9992c044d86 | [
"Apache-2.0"
] | 1 | 2022-03-26T09:59:37.000Z | 2022-03-26T09:59:37.000Z | arch/mips/xburst/common/mips_types.h | flyghost/OneOS-V2.1.0 | 6fedab0558c07fe679d63ba1eb8ee9992c044d86 | [
"Apache-2.0"
] | 1 | 2021-06-24T04:27:40.000Z | 2021-06-24T04:27:40.000Z | arch/mips/xburst/common/mips_types.h | flyghost/OneOS-V2.1.0 | 6fedab0558c07fe679d63ba1eb8ee9992c044d86 | [
"Apache-2.0"
] | 2 | 2021-06-24T04:08:28.000Z | 2022-03-07T06:37:24.000Z | /**
***********************************************************************************************************************
* Copyright (c) 2020, China Mobile Communications Group Co.,Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the... | 23.101695 | 120 | 0.668379 |
e77060b47d4f26fcdbc2b57d8dc8c2cd3f999212 | 2,017 | h | C | winrt/impl/Windows.Networking.1.h | mthiesen/xbocontroller-winapi | b4a1e053476f200877bcfaeb564c59cd024a697b | [
"MIT"
] | null | null | null | winrt/impl/Windows.Networking.1.h | mthiesen/xbocontroller-winapi | b4a1e053476f200877bcfaeb564c59cd024a697b | [
"MIT"
] | null | null | null | winrt/impl/Windows.Networking.1.h | mthiesen/xbocontroller-winapi | b4a1e053476f200877bcfaeb564c59cd024a697b | [
"MIT"
] | null | null | null | // WARNING: Please don't edit this file. It was generated by C++/WinRT v2.3.4.5
#ifndef WINRT_Windows_Networking_1_H
#define WINRT_Windows_Networking_1_H
#include "winrt/impl/Windows.Networking.0.h"
WINRT_EXPORT namespace winrt::Windows::Networking
{
struct __declspec(empty_bases) IEndpointPair :
Windows::... | 44.822222 | 144 | 0.722856 |
2ed959ad9040e7122acb64d0cf8c13d22d011511 | 110 | h | C | project/ST32F103/drive/pwm_dac/pwm_dac.h | sizebyte/DouDou | c760a9d24e779164d14537011abe8ca5556e3408 | [
"MIT"
] | null | null | null | project/ST32F103/drive/pwm_dac/pwm_dac.h | sizebyte/DouDou | c760a9d24e779164d14537011abe8ca5556e3408 | [
"MIT"
] | null | null | null | project/ST32F103/drive/pwm_dac/pwm_dac.h | sizebyte/DouDou | c760a9d24e779164d14537011abe8ca5556e3408 | [
"MIT"
] | null | null | null | #ifndef _pwm_dac_H
#define _pwm_dac_H
#include "system.h"
void TIM4_CH1_PWM_Init(u16 arr,u16 psc);
#endif
| 11 | 40 | 0.763636 |
4e42168124f9e63712fb29d07d0efe98f1bf0b8b | 97 | c | C | gcc-gcc-7_3_0-release/gcc/testsuite/gcc.dg/cpp/if-div.c | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | 7 | 2020-05-02T17:34:05.000Z | 2021-10-17T10:15:18.000Z | gcc-gcc-7_3_0-release/gcc/testsuite/gcc.dg/cpp/if-div.c | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | null | null | null | gcc-gcc-7_3_0-release/gcc/testsuite/gcc.dg/cpp/if-div.c | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | 2 | 2020-07-27T00:22:36.000Z | 2021-04-01T09:41:02.000Z | /* { dg-do preprocess } */
/* Test that this preprocesses without error. */
#if (-1)/2
#endif
| 13.857143 | 49 | 0.608247 |
bd242d1f90d782a64ac6622a67f92db230ad4c88 | 6,035 | h | C | include/lib/clx/lexical_cast.h | ry-shika/Geister-cpp-lib | d8630185e19fe06c5b2bf63ee0f37d665d7f357b | [
"BSL-1.0"
] | 1 | 2019-11-27T14:41:28.000Z | 2019-11-27T14:41:28.000Z | include/lib/clx/lexical_cast.h | ry-shika/Geister-cpp-lib | d8630185e19fe06c5b2bf63ee0f37d665d7f357b | [
"BSL-1.0"
] | 40 | 2019-06-19T04:54:55.000Z | 2020-10-25T17:58:31.000Z | include/lib/clx/lexical_cast.h | ry-shika/Geister-cpp-lib | d8630185e19fe06c5b2bf63ee0f37d665d7f357b | [
"BSL-1.0"
] | 3 | 2021-05-25T08:26:26.000Z | 2021-06-22T08:26:39.000Z | /* ------------------------------------------------------------------------- */
/*
* lexical_cast.h
*
* Copyright (c) 2004 - 2008, clown. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met... | 32.621622 | 89 | 0.576802 |
ae7af4624cd87a5188cb6dcbce770e907377777e | 2,489 | h | C | features/lorawan/lorastack/phy/LoRaPHYKR920.h | pattyolanterns/mbed-os | f05af9a870580a0a81688e4d8f94cf72ca17a4d6 | [
"Apache-2.0"
] | 3,897 | 2015-09-04T13:42:23.000Z | 2022-03-30T16:53:07.000Z | features/lorawan/lorastack/phy/LoRaPHYKR920.h | pattyolanterns/mbed-os | f05af9a870580a0a81688e4d8f94cf72ca17a4d6 | [
"Apache-2.0"
] | 13,030 | 2015-09-17T10:30:05.000Z | 2022-03-31T13:36:44.000Z | features/lorawan/lorastack/phy/LoRaPHYKR920.h | pattyolanterns/mbed-os | f05af9a870580a0a81688e4d8f94cf72ca17a4d6 | [
"Apache-2.0"
] | 2,950 | 2015-09-08T19:07:05.000Z | 2022-03-31T13:37:23.000Z | /**
* @file LoRaPHYKR920.h
*
* @brief Implements LoRaPHY for Korean 920 MHz band
*
* \code
* ______ _
* / _____) _ | |
* ( (____ _____ ____ _| |_ _____ ____| |__
* \____ \| ___ | (_ _) ___ |/ ___) _ \
* _____) ) ____| | | || |_| ____( (___|... | 24.89 | 102 | 0.583367 |
ae8e788853ffaaf05fadbe211e6352516cd859bd | 519 | c | C | commands/example/test_human_readable.c | zsaleeba/gosh | 300e3daae6cd2c02f114de00f28dfbb0fcd2f4c7 | [
"BSD-3-Clause"
] | 5 | 2016-09-09T06:40:03.000Z | 2021-05-09T19:19:24.000Z | commands/example/test_human_readable.c | zsaleeba/gosh | 300e3daae6cd2c02f114de00f28dfbb0fcd2f4c7 | [
"BSD-3-Clause"
] | null | null | null | commands/example/test_human_readable.c | zsaleeba/gosh | 300e3daae6cd2c02f114de00f28dfbb0fcd2f4c7 | [
"BSD-3-Clause"
] | 2 | 2017-01-04T21:34:43.000Z | 2017-07-02T19:43:30.000Z | /* test_human_readable.c - Expose lib/lib.c human_readable() for testing.
*
* Copyright 2015 Rob Landley <rob@landley.net>
USE_TEST_HUMAN_READABLE(NEWTOY(test_human_readable, "<1>1ibs", 0))
config TEST_HUMAN_READABLE
bool "test_human_readable"
default n
help
usage: test_human_readable [-sbi] NUMBER
*/
#d... | 21.625 | 73 | 0.739884 |
aee5acad204984e13a999385d47f258806dd93ce | 3,828 | c | C | src/bowcaster/contrib/C/vulnerable.c | zcutlip/bowcaster | 17d69c1ad973356b1ea42ee9cb80525bfef8c255 | [
"MIT"
] | 108 | 2015-01-17T14:04:43.000Z | 2021-03-11T12:18:46.000Z | src/bowcaster/contrib/C/vulnerable.c | zcutlip/bowcaster | 17d69c1ad973356b1ea42ee9cb80525bfef8c255 | [
"MIT"
] | 1 | 2015-01-20T02:45:10.000Z | 2015-01-20T02:45:10.000Z | src/bowcaster/contrib/C/vulnerable.c | zcutlip/bowcaster | 17d69c1ad973356b1ea42ee9cb80525bfef8c255 | [
"MIT"
] | 33 | 2015-01-04T21:27:53.000Z | 2021-02-14T01:26:37.000Z | /*
* Copyright (c) 2013
* - Zachary Cutlip <uid000@gmail.com>
* - Tactical Network Solutions, LLC
*
* See LICENSE.txt for more details.
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <netdb.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#inc... | 20.580645 | 91 | 0.578631 |
233b9fec689bf5695a93faa0db7cfd8ac5e8665b | 6,862 | c | C | src/eos_utils.c | LedgerHQ/ledger-fio | 9d99f9d38b68b9629859c6ddb09d378d1db060d1 | [
"Apache-2.0"
] | null | null | null | src/eos_utils.c | LedgerHQ/ledger-fio | 9d99f9d38b68b9629859c6ddb09d378d1db060d1 | [
"Apache-2.0"
] | 1 | 2021-09-06T15:12:54.000Z | 2021-09-06T15:12:54.000Z | src/eos_utils.c | LedgerHQ/ledger-fio | 9d99f9d38b68b9629859c6ddb09d378d1db060d1 | [
"Apache-2.0"
] | 2 | 2021-09-06T14:46:59.000Z | 2021-12-03T16:48:15.000Z | /*******************************************************************************
* Taras Shchybovyk
* (c) 2018 Taras Shchybovyk
*
* 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
*
* ... | 26.596899 | 116 | 0.554503 |
9cbfce3f0a36cfade9d21aa9ab426e0405a2ac5c | 211 | c | C | tests/bmc/ptrs/basic/provenance_equality_uintptr_t_auto_yx.c | talsewell/cerberus | c8c6d25f0cb8d4cd2672ffd0790fb0de3f2a51e3 | [
"BSD-2-Clause"
] | 12 | 2020-09-03T09:57:26.000Z | 2022-01-28T04:28:00.000Z | tests/bmc/ptrs/basic/provenance_equality_uintptr_t_auto_yx.c | talsewell/cerberus | c8c6d25f0cb8d4cd2672ffd0790fb0de3f2a51e3 | [
"BSD-2-Clause"
] | 182 | 2021-02-26T23:07:40.000Z | 2022-02-10T12:33:45.000Z | tests/bmc/ptrs/basic/provenance_equality_uintptr_t_auto_yx.c | talsewell/cerberus | c8c6d25f0cb8d4cd2672ffd0790fb0de3f2a51e3 | [
"BSD-2-Clause"
] | 4 | 2020-09-02T11:54:39.000Z | 2022-03-16T23:23:11.000Z | #include <inttypes.h>
int main() {
int y=2, x=1;
uintptr_t p = (uintptr_t)(&x + 1);
uintptr_t q = (uintptr_t)&y;
_Bool b = (p==q);
// can this be false even with identical addresses?
return 0;
}
| 19.181818 | 53 | 0.597156 |
96c44ef3fc7fb3b857629cacb55cbe03db52c77f | 11,019 | h | C | nuparu/include/openvdb/include/openvdb/metadata/Metadata.h | jumokbap/Practice_CentOS | df38220f326e24a0df9e16326b7ae4aa67252fe9 | [
"MIT"
] | 9 | 2017-09-18T21:37:12.000Z | 2021-09-05T23:11:53.000Z | nuparu/include/openvdb/include/openvdb/metadata/Metadata.h | jumokbap/Practice_CentOS | df38220f326e24a0df9e16326b7ae4aa67252fe9 | [
"MIT"
] | null | null | null | nuparu/include/openvdb/include/openvdb/metadata/Metadata.h | jumokbap/Practice_CentOS | df38220f326e24a0df9e16326b7ae4aa67252fe9 | [
"MIT"
] | 6 | 2016-04-11T19:42:09.000Z | 2022-03-04T16:17:41.000Z | ///////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2012-2016 DreamWorks Animation LLC
//
// All rights reserved. This software is distributed under the
// Mozilla Public License 2.0 ( http://www.mozilla.org/MPL/2.0/ )
//
// Redistributions of source code must retain the abov... | 27.68593 | 100 | 0.6948 |
1e69a40a5c19b0bef0131edaea34cea27e092c07 | 1,350 | h | C | File_Handling/File_Handling.h | zorguiradhwen/STM32MSC | 21a23965d9a5e296cf5575aa4490203feb97d798 | [
"MIT"
] | null | null | null | File_Handling/File_Handling.h | zorguiradhwen/STM32MSC | 21a23965d9a5e296cf5575aa4490203feb97d798 | [
"MIT"
] | null | null | null | File_Handling/File_Handling.h | zorguiradhwen/STM32MSC | 21a23965d9a5e296cf5575aa4490203feb97d798 | [
"MIT"
] | null | null | null | /*
* File_Handling_RTOS.h
*
* Created on: 14-May-2020
* Author: Controllerstech
*/
#ifndef FILE_HANDLING_RTOS_H_
#define FILE_HANDLING_RTOS_H_
#include "fatfs.h"
#include "string.h"
#include "stdio.h"
/* mounts the sd card*/
void Mount_SD (const TCHAR* path);
/* unmounts the sd card*/
void Unmount_SD (c... | 22.131148 | 90 | 0.691111 |
1ea081980c85c278a486ce5c5ef5c8bc15f58e49 | 380 | h | C | extras/test/myassert.h | thiminhnhut/ArduinoTrace | dfbfc29ec6717d5759212ecfec8008c96aff4f53 | [
"MIT"
] | 149 | 2018-07-19T15:19:48.000Z | 2022-03-19T13:19:39.000Z | extras/test/myassert.h | thiminhnhut/ArduinoTrace | dfbfc29ec6717d5759212ecfec8008c96aff4f53 | [
"MIT"
] | 9 | 2019-02-06T14:20:11.000Z | 2021-02-08T13:05:01.000Z | extras/test/myassert.h | thiminhnhut/ArduinoTrace | dfbfc29ec6717d5759212ecfec8008c96aff4f53 | [
"MIT"
] | 14 | 2018-11-22T07:13:32.000Z | 2022-01-04T12:08:43.000Z | #pragma once
#include <cstdlib>
#include <iostream>
#include <regex>
void ASSERT_RE(std::string actual, std::string expected) {
std::regex re(expected);
if (regex_match(actual, re))
return;
std::cerr << "Assertion failed:\n"
"Expected:\n"
<< expected << "\n"
<< "but go... | 21.111111 | 58 | 0.552632 |
000df897d5b1b48210aba006c0b509cd9a6f19dd | 11,316 | c | C | libscpi/src/ieee488.c | PolyPik/scpi-parser | 25193feddd986026cd84b24c31e6af0a16d5bcb6 | [
"BSD-2-Clause"
] | null | null | null | libscpi/src/ieee488.c | PolyPik/scpi-parser | 25193feddd986026cd84b24c31e6af0a16d5bcb6 | [
"BSD-2-Clause"
] | null | null | null | libscpi/src/ieee488.c | PolyPik/scpi-parser | 25193feddd986026cd84b24c31e6af0a16d5bcb6 | [
"BSD-2-Clause"
] | null | null | null | /*-
* BSD 2-Clause License
*
* Copyright (c) 2012-2018, Jan Breuer
* 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 not... | 26.942857 | 111 | 0.626281 |
18618acef826e43e76bc14e857c1cdfce47f0cf5 | 325 | h | C | Samples/ARM32-FirmwareTPM/optee_ta/fTPM/include/fTPM_event_log.h | chrisfenner/ms-tpm-20-ref | d213d9992dfec9c8e523d9ca41fc1c056441a924 | [
"BSD-2-Clause"
] | 149 | 2019-05-09T22:08:25.000Z | 2022-03-31T16:31:28.000Z | Samples/ARM32-FirmwareTPM/optee_ta/fTPM/include/fTPM_event_log.h | chrisfenner/ms-tpm-20-ref | d213d9992dfec9c8e523d9ca41fc1c056441a924 | [
"BSD-2-Clause"
] | 31 | 2019-05-09T22:07:20.000Z | 2022-03-22T00:42:14.000Z | Samples/ARM32-FirmwareTPM/optee_ta/fTPM/include/fTPM_event_log.h | chrisfenner/ms-tpm-20-ref | d213d9992dfec9c8e523d9ca41fc1c056441a924 | [
"BSD-2-Clause"
] | 59 | 2019-05-14T20:03:29.000Z | 2022-03-22T00:39:14.000Z | /*
* Copyright (c) 2021, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef _FTPM_EVENT_LOG_
#define _FTPM_EVENT_LOG_
bool process_eventlog(const unsigned char *const buf, const size_t log_size);
void dump_event_log(uint8_t *log_addr, size_t log_size);
#endif /* _FTPM_EVENT_LO... | 23.214286 | 77 | 0.763077 |
9bc286ab3fdb9213e5672b4ab8cc36cc89ddd159 | 458 | c | C | tcpl/2.types_operators_and_expressions/2-8.c | chen-chao/coursera | 4cce36f8f49b6aab41b3df6f6f979c70da080bf7 | [
"MIT"
] | 1 | 2018-07-17T22:18:22.000Z | 2018-07-17T22:18:22.000Z | tcpl/2.types_operators_and_expressions/2-8.c | chen-chao/coursera | 4cce36f8f49b6aab41b3df6f6f979c70da080bf7 | [
"MIT"
] | null | null | null | tcpl/2.types_operators_and_expressions/2-8.c | chen-chao/coursera | 4cce36f8f49b6aab41b3df6f6f979c70da080bf7 | [
"MIT"
] | 1 | 2019-08-31T11:50:52.000Z | 2019-08-31T11:50:52.000Z | #include <stdio.h>
#include <limits.h>
unsigned rightrot(unsigned x, int n){
/* since sizeof is used here, this answer is more reasonable
* size_t p = sizeof(x)*CHAR_BIT
* return (x>>n) | (x <<(p-n))*/
unsigned mask = (1 << n) -1;
return ((x & mask) << (sizeof(x)*CHAR_BIT-n)) + (x & ~mask);
}
in... | 26.941176 | 64 | 0.550218 |
af618ca7705f4b0d25eccb5aefb4846526d0e734 | 421 | h | C | src/xrGame/ZudaArtifact.h | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 2 | 2015-02-23T10:43:02.000Z | 2015-06-11T14:45:08.000Z | src/xrGame/ZudaArtifact.h | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 17 | 2022-01-25T08:58:23.000Z | 2022-03-28T17:18:28.000Z | src/xrGame/ZudaArtifact.h | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 1 | 2015-06-05T20:04:00.000Z | 2015-06-05T20:04:00.000Z | ///////////////////////////////////////////////////////////////
// ZudaArtifact.h
// ZudaArtefact - артефакт зуда
///////////////////////////////////////////////////////////////
#pragma once
#include "Artefact.h"
class CZudaArtefact : public CArtefact
{
private:
typedef CArtefact inherited;
public:
CZudaArte... | 19.136364 | 63 | 0.503563 |
15d8320badae5ac2621b7c614fd8dba846251eea | 419 | h | C | strerror_override.h | mx838/json-c-0.12-cmake | 627e54c74f2cefc697b9890c425efacebfc5e82a | [
"MIT"
] | 1 | 2019-05-26T06:08:52.000Z | 2019-05-26T06:08:52.000Z | strerror_override.h | mx838/json-c-0.12-cmake | 627e54c74f2cefc697b9890c425efacebfc5e82a | [
"MIT"
] | null | null | null | strerror_override.h | mx838/json-c-0.12-cmake | 627e54c74f2cefc697b9890c425efacebfc5e82a | [
"MIT"
] | 1 | 2019-05-26T06:08:43.000Z | 2019-05-26T06:08:43.000Z | #ifndef _json_strerror_override_h_
#define _json_strerror_override_h_
#include "config.h"
#include <errno.h>
#include "json_object.h" /* for JSON_EXPORT */
#ifdef __cplusplus
extern "C" {
#endif
JSON_EXPORT char *_json_c_strerror(int errno_in);
#ifndef STRERROR_OVERRIDE_IMPL
#define strerror _json_c_strerror
#else... | 16.115385 | 49 | 0.78043 |
768af4b435545b46099ab99720f788a7a3cf67a3 | 2,058 | h | C | Archived/v1/WCDistractionFreeXcodePlugin/Headers/SharedFrameworks/DVTKit/DVTDisclosureView.h | wokalski/Distraction-Free-Xcode-plugin | 54ab4b9d9825e8370855b7985d6ff39d64c19f25 | [
"MIT"
] | 25 | 2016-03-03T07:43:56.000Z | 2021-09-05T08:47:40.000Z | Archived/v1/WCDistractionFreeXcodePlugin/Headers/SharedFrameworks/DVTKit/DVTDisclosureView.h | wokalski/Distraction-Free-Xcode-plugin | 54ab4b9d9825e8370855b7985d6ff39d64c19f25 | [
"MIT"
] | 8 | 2016-02-23T18:40:20.000Z | 2016-08-18T13:21:05.000Z | Archived/v1/WCDistractionFreeXcodePlugin/Headers/SharedFrameworks/DVTKit/DVTDisclosureView.h | wokalski/Distraction-Free-Xcode-plugin | 54ab4b9d9825e8370855b7985d6ff39d64c19f25 | [
"MIT"
] | 4 | 2016-02-24T13:24:27.000Z | 2016-06-28T12:50:36.000Z | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import <DVTKit/DVTLayoutView_ML.h>
#import "DVTDisclosureHeaderViewDelegate.h"
#import "DVTDraggableView.h"
#import "DVTIssueDisplayingView.h"
@class DVTDisclosureHeaderView, NSC... | 34.881356 | 123 | 0.798834 |
9dbf8bafa04a0b656cd72953ef67da6fc6b48f32 | 441 | h | C | Miss-Scarlett/Miss-Scarlett/Classes/Other/Category/UIBarButtonItem+BWItem.h | mortal-master/Miss-Scarlett | ff6949c8d31af55185bc66338b68d4df6817cf29 | [
"Apache-2.0"
] | null | null | null | Miss-Scarlett/Miss-Scarlett/Classes/Other/Category/UIBarButtonItem+BWItem.h | mortal-master/Miss-Scarlett | ff6949c8d31af55185bc66338b68d4df6817cf29 | [
"Apache-2.0"
] | null | null | null | Miss-Scarlett/Miss-Scarlett/Classes/Other/Category/UIBarButtonItem+BWItem.h | mortal-master/Miss-Scarlett | ff6949c8d31af55185bc66338b68d4df6817cf29 | [
"Apache-2.0"
] | null | null | null | //
// UIBarButtonItem+BWItem.h
// Miss-Scarlett
//
// Created by mortal on 16/10/16.
// Copyright © 2016年 mortal. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIBarButtonItem (BWItem)
+ (instancetype)itemWithImage:(UIImage *)image highImage:(UIImage *)highImage target:(id)target action:(SEL)action;... | 25.941176 | 115 | 0.734694 |
6fcc59b10ac928758597f05207ede693c23be6d7 | 1,296 | h | C | cpp/spike/doxygen-test/Component.h | yatesjr/OpenEngine | e379ad9ad47a2b1de1daff3bb931346b3ef1403c | [
"Apache-2.0"
] | 3 | 2018-09-13T03:00:59.000Z | 2019-04-01T23:07:32.000Z | cpp/spike/doxygen-test/Component.h | yatesjr/OpenEngine | e379ad9ad47a2b1de1daff3bb931346b3ef1403c | [
"Apache-2.0"
] | 17 | 2019-03-14T20:52:20.000Z | 2019-05-24T17:15:15.000Z | cpp/spike/doxygen-test/Component.h | yatesjr/OpenEngine | e379ad9ad47a2b1de1daff3bb931346b3ef1403c | [
"Apache-2.0"
] | null | null | null | #ifndef OPENENGINE_COMPONENT_H
#define OPENENGINE_COMPONENT_H
//! Some component to be used in other classes.
//!
//! This is class is used to provide an example of composition.
//!
//! @version 1.0.0
//! @pre Understand composition.
//! @bug There are *no* bugs!
//! @copyright GNU Public License
//! @date 1989-2018
/... | 28.173913 | 78 | 0.709877 |
7797e7baf5b39974e1f38e8b7039c467ccbbade0 | 1,106 | h | C | include/easyhttpcpp/common/CacheStrategy.h | commshare/easyhttpcpp | 757ec75679c1cbc5f04c81a30133f4bcd3e780f4 | [
"MIT"
] | 147 | 2017-10-05T01:42:02.000Z | 2022-01-21T08:15:05.000Z | include/easyhttpcpp/common/CacheStrategy.h | commshare/easyhttpcpp | 757ec75679c1cbc5f04c81a30133f4bcd3e780f4 | [
"MIT"
] | 20 | 2018-05-17T01:55:16.000Z | 2021-04-20T07:27:00.000Z | include/easyhttpcpp/common/CacheStrategy.h | commshare/easyhttpcpp | 757ec75679c1cbc5f04c81a30133f4bcd3e780f4 | [
"MIT"
] | 32 | 2018-05-05T13:04:34.000Z | 2022-03-25T16:57:11.000Z | /*
* Copyright 2017 Sony Corporation
*/
#ifndef EASYHTTPCPP_COMMON_CACHESTRATEGY_H_INCLUDED
#define EASYHTTPCPP_COMMON_CACHESTRATEGY_H_INCLUDED
#include "Poco/AutoPtr.h"
#include "Poco/RefCountedObject.h"
#include "Poco/ScopedLock.h"
#include "easyhttpcpp/common/CacheStrategyListener.h"
namespace easyhttpcpp {
na... | 26.97561 | 82 | 0.740506 |
ae53d1603c92a61433741c6ad34cc7c1ae92d6bf | 261 | h | C | NotificationService/NotificationService.h | Projects-OC/Objc | 107b76840f91d2afd6b739173c21df7fdb3982fd | [
"MIT"
] | null | null | null | NotificationService/NotificationService.h | Projects-OC/Objc | 107b76840f91d2afd6b739173c21df7fdb3982fd | [
"MIT"
] | null | null | null | NotificationService/NotificationService.h | Projects-OC/Objc | 107b76840f91d2afd6b739173c21df7fdb3982fd | [
"MIT"
] | null | null | null | //
// NotificationService.h
// NotificationService
//
// Created by header on 2019/7/25.
// Copyright © 2019 mf. All rights reserved.
//
#import <UserNotifications/UserNotifications.h>
@interface NotificationService : UNNotificationServiceExtension
@end
| 18.642857 | 63 | 0.754789 |
5b55c2d3cb71327d2327a225f52abb82922abfe8 | 2,150 | h | C | OpenC2X/common/asn1/HazardousLocation-ObstacleOnTheRoadSubCauseCode.h | zdzaz/e-c-its | dbe4f191d6d5e7dd50a28e4fcffd3123a64c0372 | [
"MIT"
] | null | null | null | OpenC2X/common/asn1/HazardousLocation-ObstacleOnTheRoadSubCauseCode.h | zdzaz/e-c-its | dbe4f191d6d5e7dd50a28e4fcffd3123a64c0372 | [
"MIT"
] | null | null | null | OpenC2X/common/asn1/HazardousLocation-ObstacleOnTheRoadSubCauseCode.h | zdzaz/e-c-its | dbe4f191d6d5e7dd50a28e4fcffd3123a64c0372 | [
"MIT"
] | null | null | null | /*
* Generated by asn1c-0.9.24 (http://lionet.info/asn1c)
* From ASN.1 module "ITS-Container"
* found in "its_facilities_pdu_all.asn"
* `asn1c -fnative-types -gen-PER`
*/
#ifndef _HazardousLocation_ObstacleOnTheRoadSubCauseCode_H_
#define _HazardousLocation_ObstacleOnTheRoadSubCauseCode_H_
#include <asn_appli... | 39.814815 | 85 | 0.887442 |
e3308bf368d3f57c5575f1191f557e19158dab85 | 612 | c | C | Lab Question Solve/Loops/digit_average.c | ArnobMahmud/CSE102-CP | 110df34dd4cb9e9e94f519579b2f3770887344b1 | [
"MIT"
] | null | null | null | Lab Question Solve/Loops/digit_average.c | ArnobMahmud/CSE102-CP | 110df34dd4cb9e9e94f519579b2f3770887344b1 | [
"MIT"
] | null | null | null | Lab Question Solve/Loops/digit_average.c | ArnobMahmud/CSE102-CP | 110df34dd4cb9e9e94f519579b2f3770887344b1 | [
"MIT"
] | null | null | null | /* Qn :
Write a C program to find the average of the first and last digit of a number.
Sample Input Sample Output
12356 3.5
34972 2.5
*/
/*
Author : Arnob Mahmud
mail : arnob.tech.me@gmail.com
*/
#include <std... | 16.105263 | 82 | 0.444444 |
8b9fab10f9e33c6b7fa45a9d3e385d53597f5c56 | 275 | h | C | submodules/Digit_Model/gen/kin/eigen/include/R_left_shoulder_roll.h | prem-chand/Cassie_CFROST | da4bd51442f86e852cbb630cc91c9a380a10b66d | [
"BSD-3-Clause"
] | null | null | null | submodules/Digit_Model/gen/kin/eigen/include/R_left_shoulder_roll.h | prem-chand/Cassie_CFROST | da4bd51442f86e852cbb630cc91c9a380a10b66d | [
"BSD-3-Clause"
] | null | null | null | submodules/Digit_Model/gen/kin/eigen/include/R_left_shoulder_roll.h | prem-chand/Cassie_CFROST | da4bd51442f86e852cbb630cc91c9a380a10b66d | [
"BSD-3-Clause"
] | null | null | null | /*
* Automatically Generated from Mathematica.
* Thu 4 Nov 2021 17:00:44 GMT-04:00
*/
#ifndef R_LEFT_SHOULDER_ROLL_H
#define R_LEFT_SHOULDER_ROLL_H
#include <Eigen/Dense>
Eigen::Matrix<double,3,3> R_left_shoulder_roll(const Eigen::Matrix<double,36,1> &var1);
#endif
| 18.333333 | 87 | 0.752727 |
e9064732f784666a52fe3f6954788d3ae64640db | 12,835 | c | C | thirdparty/molfile_plugin/src/pqrplugin.c | caioss/molpp | 051f94545a6c687189697c950b1a4060a18060d5 | [
"BSD-3-Clause"
] | null | null | null | thirdparty/molfile_plugin/src/pqrplugin.c | caioss/molpp | 051f94545a6c687189697c950b1a4060a18060d5 | [
"BSD-3-Clause"
] | null | null | null | thirdparty/molfile_plugin/src/pqrplugin.c | caioss/molpp | 051f94545a6c687189697c950b1a4060a18060d5 | [
"BSD-3-Clause"
] | null | null | null | /***************************************************************************
*cr
*cr (C) Copyright 1995-2016 The Board of Trustees of the
*cr University of Illinois
*cr All Rights Reserved
*cr
***************************************************************... | 28.14693 | 83 | 0.598364 |
e93e8c65f3a515b63be76de338e4d816f349b08c | 27,170 | c | C | src/util/disk_cache_os.c | SoftReaper/Mesa-Renoir-deb | 8d1de1f66058d62b41fe55d36522efea2bdf996d | [
"MIT"
] | null | null | null | src/util/disk_cache_os.c | SoftReaper/Mesa-Renoir-deb | 8d1de1f66058d62b41fe55d36522efea2bdf996d | [
"MIT"
] | null | null | null | src/util/disk_cache_os.c | SoftReaper/Mesa-Renoir-deb | 8d1de1f66058d62b41fe55d36522efea2bdf996d | [
"MIT"
] | null | null | null | /*
* Copyright © 2014 Intel Corporation
*
* 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, merge, pub... | 27.838115 | 87 | 0.639198 |
eb225d294404cd2bea76b4245e312374b29d1cb1 | 17,217 | h | C | modules/graph/vertex_map/arrow_vertex_map.h | luoxiaojian/libvineyard | 7970639a5b0ad27829883146185f66e0645a59fc | [
"Apache-2.0"
] | null | null | null | modules/graph/vertex_map/arrow_vertex_map.h | luoxiaojian/libvineyard | 7970639a5b0ad27829883146185f66e0645a59fc | [
"Apache-2.0"
] | null | null | null | modules/graph/vertex_map/arrow_vertex_map.h | luoxiaojian/libvineyard | 7970639a5b0ad27829883146185f66e0645a59fc | [
"Apache-2.0"
] | null | null | null | /** Copyright 2020 Alibaba Group Holding Limited.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in w... | 28.887584 | 80 | 0.650636 |
3a1cedfa145afdaa76c4543ba3ab038b630b20a1 | 2,322 | h | C | include/qx/xpu/aligned_memory_allocator.h | QuTech-Delft/qx-simulator | e3a888f4a79fde2313060cb92756488d20b08b66 | [
"Apache-2.0"
] | 3 | 2020-05-06T03:33:20.000Z | 2021-03-22T11:21:07.000Z | include/qx/xpu/aligned_memory_allocator.h | QuTech-Delft/qx-simulator | e3a888f4a79fde2313060cb92756488d20b08b66 | [
"Apache-2.0"
] | 5 | 2021-03-16T12:20:34.000Z | 2021-11-23T10:31:16.000Z | include/qx/xpu/aligned_memory_allocator.h | QuTech-Delft/qx-simulator | e3a888f4a79fde2313060cb92756488d20b08b66 | [
"Apache-2.0"
] | 9 | 2020-01-10T12:15:50.000Z | 2021-07-02T12:14:07.000Z | #ifndef XPU_ALIGNED_MEMORY_ALLOCATOR_H
#define XPU_ALIGNED_MEMORY_ALLOCATOR_H
#include <cstdlib>
#include <string>
#if defined (__unix__) || (defined (__APPLE__) && defined (__MACH__))
#include <mm_malloc.h>
#define QX_ALIGNED_MEMORY_MALLOC _mm_malloc
#define QX_ALIGNED_MEMORY_FREE _mm_free
#else
#define QX_ALIGNED_M... | 24.702128 | 94 | 0.651593 |
3a669b42a1fc99711dc7fb23a19a30971d39c689 | 1,702 | h | C | QuickGUI/include/QuickGUICharacter.h | VisualEntertainmentAndTechnologies/VENT-QuickGUI | 7c687193001bcf914bd4a9947644915091ea8723 | [
"Unlicense"
] | 3 | 2017-01-12T19:22:01.000Z | 2017-05-06T09:55:39.000Z | QuickGUI/include/QuickGUICharacter.h | VisualEntertainmentAndTechnologies/VENT-QuickGUI | 7c687193001bcf914bd4a9947644915091ea8723 | [
"Unlicense"
] | null | null | null | QuickGUI/include/QuickGUICharacter.h | VisualEntertainmentAndTechnologies/VENT-QuickGUI | 7c687193001bcf914bd4a9947644915091ea8723 | [
"Unlicense"
] | null | null | null | #ifndef QUICKGUICHARACTER_H
#define QUICKGUICHARACTER_H
#include "QuickGUIExportDLL.h"
#include "QuickGUIRect.h"
#include "QuickGUIUVRect.h"
#include "QuickGUIOgreEquivalents.h"
#include "OgreColourValue.h"
#include "OgreFont.h"
#include "OgreUTFString.h"
namespace QuickGUI
{
class _QuickGUIExport Cha... | 24.666667 | 99 | 0.695652 |
5f9d2fedd64ea6ec6bc1525eb014b5c179781e4a | 228 | h | C | source/include/stropts.h | streaksu/slibc | c339129df82695329858a329d9737dd4ed7b4767 | [
"BSL-1.0"
] | 11 | 2020-11-10T00:57:15.000Z | 2021-12-30T20:54:34.000Z | source/include/stropts.h | kushagra765/slibc | c339129df82695329858a329d9737dd4ed7b4767 | [
"BSL-1.0"
] | null | null | null | source/include/stropts.h | kushagra765/slibc | c339129df82695329858a329d9737dd4ed7b4767 | [
"BSL-1.0"
] | 2 | 2021-02-09T19:23:37.000Z | 2021-06-19T15:26:46.000Z | #ifndef __STROPTS_H__
#define __STROPTS_H__
#include <sys/ioctlval.h> // Kernel-specific ioctl values.
#ifdef __cplusplus
extern "C" {
#endif
int ioctl(int fd, int request, ...); // Port.
#ifdef __cplusplus
}
#endif
#endif
| 13.411765 | 58 | 0.714912 |
5c7619a83f84a7f514193cde4a557199a4c8ce00 | 67,478 | c | C | os/arch/arm/src/imxrt/imxrt_semc_sdram.c | ziyik/TizenRT-1 | d510c03303fcfa605bc12c60f826fa5642bbe406 | [
"Apache-2.0"
] | 511 | 2017-03-29T09:14:09.000Z | 2022-03-30T23:10:29.000Z | os/arch/arm/src/imxrt/imxrt_semc_sdram.c | ziyik/TizenRT-1 | d510c03303fcfa605bc12c60f826fa5642bbe406 | [
"Apache-2.0"
] | 4,673 | 2017-03-29T10:43:43.000Z | 2022-03-31T08:33:44.000Z | os/arch/arm/src/imxrt/imxrt_semc_sdram.c | ziyik/TizenRT-1 | d510c03303fcfa605bc12c60f826fa5642bbe406 | [
"Apache-2.0"
] | 642 | 2017-03-30T20:45:33.000Z | 2022-03-24T17:07:33.000Z | /****************************************************************************
*
* Copyright 2019 NXP Semiconductors All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | 60.14082 | 130 | 0.653294 |
1d462def498a315622723855386baa02f68ace00 | 4,573 | h | C | Calibration/EcalCalibAlgos/interface/Pi0FixedMassWindowCalibration.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 13 | 2015-11-30T15:49:45.000Z | 2022-02-08T16:11:30.000Z | Calibration/EcalCalibAlgos/interface/Pi0FixedMassWindowCalibration.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 640 | 2015-02-11T18:55:47.000Z | 2022-03-31T14:12:23.000Z | Calibration/EcalCalibAlgos/interface/Pi0FixedMassWindowCalibration.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 51 | 2015-08-11T21:01:40.000Z | 2022-03-30T07:31:34.000Z | #ifndef Calibration_EcalCalibAlgos_Pi0FixedMassWindowCalibration_h
#define Calibration_EcalCalibAlgos_Pi0FixedMassWindowCalibration_h
#include <memory>
#include <string>
#include <iostream>
#include <vector>
#include "DataFormats/GeometryVector/interface/GlobalPoint.h"
// Framework
#include "FWCore/Framework/interfa... | 30.486667 | 77 | 0.798819 |
0dfb8e8da5f4479cc5b42f76273026b048310645 | 4,468 | c | C | lib/slist.c | marcas756/myos | be75b6b127d213b7c6ed1c6a05b247680d6cd2d2 | [
"BSD-3-Clause"
] | null | null | null | lib/slist.c | marcas756/myos | be75b6b127d213b7c6ed1c6a05b247680d6cd2d2 | [
"BSD-3-Clause"
] | null | null | null | lib/slist.c | marcas756/myos | be75b6b127d213b7c6ed1c6a05b247680d6cd2d2 | [
"BSD-3-Clause"
] | null | null | null | /*! \copyright
https://opensource.org/licenses/BSD-3-Clause
Copyright 2013-2021 Marco Bacchi <marco@bacchi.at>
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... | 33.096296 | 101 | 0.68308 |
0ea0b45ecaec7fa2b5e8bdb351c8ec62c9bc1c77 | 555 | h | C | QuFaXian/QuFaXian/Model/ActivityEntitylist.h | Hekeda-scjy03/The-End-Project | 3d81a711cae47735d9fe60ccf74a41ec63c7cd84 | [
"Apache-2.0"
] | null | null | null | QuFaXian/QuFaXian/Model/ActivityEntitylist.h | Hekeda-scjy03/The-End-Project | 3d81a711cae47735d9fe60ccf74a41ec63c7cd84 | [
"Apache-2.0"
] | null | null | null | QuFaXian/QuFaXian/Model/ActivityEntitylist.h | Hekeda-scjy03/The-End-Project | 3d81a711cae47735d9fe60ccf74a41ec63c7cd84 | [
"Apache-2.0"
] | null | null | null | //
// ActivityEntitylist.h
// QuFaXian
//
// Created by licong on 16/5/31.
// Copyright © 2016年 Sugar. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface ActivityEntitylist : NSObject
@property (nonatomic, strong) NSNumber *zan;
@property (nonatomic, strong) NSNumber *comment;
@property (nona... | 19.821429 | 49 | 0.733333 |
1db85a23a13df78a5c50ab6affb85a200af7f202 | 2,066 | c | C | vlc_linux/vlc-3.0.16/compat/flockfile.c | Brook1711/biubiu_Qt6 | 5c4d22a1d1beef63bc6c7738dce6c477c4642803 | [
"MIT"
] | null | null | null | vlc_linux/vlc-3.0.16/compat/flockfile.c | Brook1711/biubiu_Qt6 | 5c4d22a1d1beef63bc6c7738dce6c477c4642803 | [
"MIT"
] | null | null | null | vlc_linux/vlc-3.0.16/compat/flockfile.c | Brook1711/biubiu_Qt6 | 5c4d22a1d1beef63bc6c7738dce6c477c4642803 | [
"MIT"
] | null | null | null | /*****************************************************************************
* flockfile.c: POSIX unlocked I/O stream stubs
*****************************************************************************
* Copyright © 2011-2012 Rémi Denis-Courmont
*
* This program is free software; you can redistribute it and/or m... | 25.506173 | 79 | 0.643272 |
8aa48ca1ea0c30e322bbd2348e0cb46ae7fd1d8f | 3,352 | h | C | implementations/c99/basic/drivers/com16/satl_com16.h | sebastien-riou/SATL | b95d0e784d2e8e1384381d4d5b8b448d3d1798cf | [
"Apache-2.0"
] | 4 | 2020-05-13T10:13:55.000Z | 2021-10-20T04:43:07.000Z | implementations/c99/basic/drivers/com16/satl_com16.h | TiempoSecure/SATL | b95d0e784d2e8e1384381d4d5b8b448d3d1798cf | [
"Apache-2.0"
] | 4 | 2020-07-22T16:06:31.000Z | 2021-07-25T19:51:41.000Z | implementations/c99/basic/drivers/com16/satl_com16.h | TiempoSecure/SATL | b95d0e784d2e8e1384381d4d5b8b448d3d1798cf | [
"Apache-2.0"
] | 2 | 2019-05-12T21:15:00.000Z | 2020-09-23T09:05:24.000Z | #ifndef __SATL_COM16_H__
#define __SATL_COM16_H__
#include "com16.h"
//assume we have built-in flow control
#define SATL_ACK 0
#define SATL_SFR_GRANULARITY 2
#define SATL_SUPPORT_SLAVE
#define SATL_SUPPORT_MASTER
//assume COM16_ADDR is defined to based address of COM16 peripheral
//#define SATL_COM16 ((COM16_t*)(... | 25.784615 | 94 | 0.654833 |
c087c58219434c4983bfaafd692432a4026e5a3c | 2,908 | h | C | services/nfc_standard/src/service-ncibal/lib/stnfc/include/src/include/vendor_cfg.h | dawmlight/communication_nfc | 84a10d69eb9cb3128e864230c53d5a5e6660dfb9 | [
"Apache-2.0"
] | null | null | null | services/nfc_standard/src/service-ncibal/lib/stnfc/include/src/include/vendor_cfg.h | dawmlight/communication_nfc | 84a10d69eb9cb3128e864230c53d5a5e6660dfb9 | [
"Apache-2.0"
] | null | null | null | services/nfc_standard/src/service-ncibal/lib/stnfc/include/src/include/vendor_cfg.h | dawmlight/communication_nfc | 84a10d69eb9cb3128e864230c53d5a5e6660dfb9 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2015 The Android Open Source Project
*
* 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 app... | 32.311111 | 80 | 0.723865 |
0e0cc43ebdf28914190c1b7d2ae0c3cbad1085cf | 270 | c | C | src/recsum.c | kgashok/psgc | c3509f1a6dfc0e7943ea703a971256f28d5a4af5 | [
"MIT"
] | null | null | null | src/recsum.c | kgashok/psgc | c3509f1a6dfc0e7943ea703a971256f28d5a4af5 | [
"MIT"
] | null | null | null | src/recsum.c | kgashok/psgc | c3509f1a6dfc0e7943ea703a971256f28d5a4af5 | [
"MIT"
] | null | null | null | #include <stdio.h>
int rec_sum(int* s, int size) {
if (size == 0) return 0;
int sumval = *s; // get element
return sumval + rec_sum(++s, --size);
}
int main() {
int s[7] = {1, 2, 3, 4, 5, 6, 7};
int sum = rec_sum(s, 7);
printf("The sum is %d\n", sum);
} | 18 | 39 | 0.537037 |
dbd425046380660c972a90aa1e0d36048afd2f05 | 3,748 | h | C | tictactoe.h | ofdouglas/TicTacToe | b8d6adf902d8f2a5b60daf9edec62ea079721feb | [
"MIT"
] | null | null | null | tictactoe.h | ofdouglas/TicTacToe | b8d6adf902d8f2a5b60daf9edec62ea079721feb | [
"MIT"
] | null | null | null | tictactoe.h | ofdouglas/TicTacToe | b8d6adf902d8f2a5b60daf9edec62ea079721feb | [
"MIT"
] | null | null | null | #ifndef TICTACTOE_H_DEFINED
#define TICTACTOE_H_DEFINED
#include <limits>
#include <cstdint>
#include <vector>
#include <string>
#include <cmath>
namespace TicTacToe {
enum class GameResult { Ongoing, Draw, X_win, O_win };
enum Mark { X = 1, Empty = 0, O = -1 };
class Board;
struct Move {
i... | 32.310345 | 107 | 0.648346 |
ed68c9728af5e1d2c180680c3a82949a660c7cda | 2,932 | h | C | lib-arm/include/arm/synchronize.h | rodb70/rpidmx512 | 6e7eef3eaba35cc2eb7cdeb5bef906faea9366fd | [
"MIT"
] | 328 | 2015-02-26T09:54:16.000Z | 2022-03-31T11:04:00.000Z | lib-arm/include/arm/synchronize.h | rodb70/rpidmx512 | 6e7eef3eaba35cc2eb7cdeb5bef906faea9366fd | [
"MIT"
] | 195 | 2016-07-13T10:43:37.000Z | 2022-03-20T19:14:55.000Z | lib-arm/include/arm/synchronize.h | rodb70/rpidmx512 | 6e7eef3eaba35cc2eb7cdeb5bef906faea9366fd | [
"MIT"
] | 113 | 2015-06-08T04:54:23.000Z | 2022-02-15T09:06:10.000Z | /**
* @file synchronize.h
*
*/
/* Copyright (C) 2016-2018 by Arjan van Vught mailto:info@orangepi-dmx.nl
*
* 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, includin... | 43.761194 | 120 | 0.663029 |
ef3a0fdaabd29abe73b75b7d84bc01734fce5895 | 2,821 | h | C | src/list-mon-race-flags.h | Elfin-Jedi/Angband-4.0.5 | d4c9bcf96b6fed8e7c477e5f545d7a4ecea7250c | [
"CC-BY-3.0"
] | null | null | null | src/list-mon-race-flags.h | Elfin-Jedi/Angband-4.0.5 | d4c9bcf96b6fed8e7c477e5f545d7a4ecea7250c | [
"CC-BY-3.0"
] | null | null | null | src/list-mon-race-flags.h | Elfin-Jedi/Angband-4.0.5 | d4c9bcf96b6fed8e7c477e5f545d7a4ecea7250c | [
"CC-BY-3.0"
] | null | null | null | /**
* \file list-mon-race-flags.h
* \brief monster race flags
*
* Changing flag order will break savefiles. There was a hard-coded limit of
* 96 flags, due to 12 bytes of storage for lore flags in the savefile; this
* should be fixed now. Flags below start from 1 on line 13, so a flag's
* sequence number is it... | 29.694737 | 78 | 0.559376 |
dedb64fdc105a5b0882d8c3254026fcb8b287056 | 829 | h | C | ra-tls/sgx-ra-tls/ra-challenger.h | hhb584520/inclavare-containers | 8a53cbcb621012d8bf2d038ebd35b07a6692eb38 | [
"Apache-2.0"
] | 97 | 2018-01-08T23:54:36.000Z | 2022-02-17T06:03:54.000Z | ra-tls/sgx-ra-tls/ra-challenger.h | hhb584520/inclavare-containers | 8a53cbcb621012d8bf2d038ebd35b07a6692eb38 | [
"Apache-2.0"
] | 25 | 2018-08-06T23:45:08.000Z | 2021-10-12T16:54:43.000Z | ra-tls/sgx-ra-tls/ra-challenger.h | hhb584520/inclavare-containers | 8a53cbcb621012d8bf2d038ebd35b07a6692eb38 | [
"Apache-2.0"
] | 31 | 2018-01-10T07:45:08.000Z | 2022-01-25T05:57:52.000Z | #ifndef _RA_CHALLENGER_H_
#define _RA_CHALLENGER_H_
#include <sgx_quote.h>
/**
* Extract an Intel SGX quote from an Intel Attestation Service (IAS) report.
*/
void get_quote_from_report
(
const uint8_t* report /* in */,
const int report_len /* in */,
sgx_quote_t* quote
);
/**
* Extract an Intel SGX q... | 17.638298 | 77 | 0.700844 |
90452ca92aa4bcac47e0f7cecc990cf78fa57911 | 2,914 | h | C | C/vbHmmGauss.h | okamoto-kenji/varBayes-HMM | 77afe3c336c9e1ebeb115ca4f0b2bc25060556bd | [
"MIT"
] | 7 | 2016-03-31T06:59:00.000Z | 2019-11-01T06:35:57.000Z | C/vbHmmGauss.h | okamoto-kenji/varBayes-HMM | 77afe3c336c9e1ebeb115ca4f0b2bc25060556bd | [
"MIT"
] | null | null | null | C/vbHmmGauss.h | okamoto-kenji/varBayes-HMM | 77afe3c336c9e1ebeb115ca4f0b2bc25060556bd | [
"MIT"
] | null | null | null | /*
* vbHmmGauss.h
* Model-specific core functions for VB-HMM-GAUSS.
*
* Created by OKAMOTO Kenji, SAKO Yasushi and RIKEN
* Copyright 2011-2015
* Cellular Informatics Laboratory, Advance Science Institute, RIKEN, Japan.
* All rights reserved.
*
* Ver. 1.0.0
* Last modified on 2015.09.17
*/
#ifndef VB... | 32.741573 | 80 | 0.741935 |
fd06bbe20475dc8f1fe20514b7e8366c4e95310d | 481 | h | C | RestKit-Syndicate/Source/RKSMapper.h | DZamataev/RestKit-Syndicate | 2dfc843d8828b051cdd2d7d7511da076b6faf092 | [
"MIT"
] | null | null | null | RestKit-Syndicate/Source/RKSMapper.h | DZamataev/RestKit-Syndicate | 2dfc843d8828b051cdd2d7d7511da076b6faf092 | [
"MIT"
] | null | null | null | RestKit-Syndicate/Source/RKSMapper.h | DZamataev/RestKit-Syndicate | 2dfc843d8828b051cdd2d7d7511da076b6faf092 | [
"MIT"
] | 2 | 2016-07-21T07:16:51.000Z | 2019-07-27T08:39:39.000Z | //
// RKSMapper.h
// RestKit-Syndicate
//
// Created by Denis Zamataev on 2/18/14.
// Copyright (c) 2014 DZamataev. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <RestKit/CoreData.h>
#import <RestKit.h>
@class RKSFeed, RKSChannel, RKSItem, RKSImage;
typedef enum { RKSFeedTypeRSS20 } RKSFeedTy... | 24.05 | 117 | 0.758836 |
0aa394d4dd47de9c4d2078183cab4f6b52f38ac5 | 5,099 | c | C | d/atoyatl/tecqumin/rooms/step_high.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-07-19T05:24:44.000Z | 2021-11-18T04:08:19.000Z | d/atoyatl/tecqumin/rooms/step_high.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 4 | 2021-03-15T18:56:39.000Z | 2021-08-17T17:08:22.000Z | d/atoyatl/tecqumin/rooms/step_high.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-09-12T06:22:38.000Z | 2022-01-31T01:15:12.000Z | #include <std.h>
#include <move.h>
#include "../tecqumin.h"
inherit ROOM;
string long_desc();
void create() {
::create();
set_indoors(0);
set_property("light", 2);
set_terrain(GRASSLANDS);
set_travel(FOOT_PATH);
set_name("Near the top of a staircase on the side of a ziggurat");
set_short("Near the top ... | 39.835938 | 390 | 0.484997 |
50995df2d55bdf06664d71bfe01734d16c833d2f | 677 | h | C | ToolSelectionDialog.h | fyazici/LibrarySelectionTool | ef48b452aaa59efde500553f63c5bdc535830260 | [
"MIT"
] | null | null | null | ToolSelectionDialog.h | fyazici/LibrarySelectionTool | ef48b452aaa59efde500553f63c5bdc535830260 | [
"MIT"
] | null | null | null | ToolSelectionDialog.h | fyazici/LibrarySelectionTool | ef48b452aaa59efde500553f63c5bdc535830260 | [
"MIT"
] | null | null | null | //
// Created by fatih on 9/2/16.
//
#ifndef LIBRARYSELECTIONTOOL_TOOLSELECTIONDIALOG_H
#define LIBRARYSELECTIONTOOL_TOOLSELECTIONDIALOG_H
#include <wx/wx.h>
#include <vector>
#include <tuple>
#include "ListFileHelper.h"
#include "FileSelectionFrame.h"
#include "DuplicateDetectionFrame.h"
class ToolSelectionDialo... | 16.925 | 51 | 0.722304 |
9275810439b9908587a4dfe3ffae717e8f646691 | 1,082 | h | C | src/libraries/Si7021/Si7021.h | vlast3k/vThingCO2DualBeamOSHW | ebbeebdf1e7e0b62b3f989f85545867202121823 | [
"MIT"
] | 1 | 2017-05-22T11:42:11.000Z | 2017-05-22T11:42:11.000Z | src/libraries/Si7021/Si7021.h | vlast3k/vThingCO2DualBeamOSHW | ebbeebdf1e7e0b62b3f989f85545867202121823 | [
"MIT"
] | null | null | null | src/libraries/Si7021/Si7021.h | vlast3k/vThingCO2DualBeamOSHW | ebbeebdf1e7e0b62b3f989f85545867202121823 | [
"MIT"
] | null | null | null | #ifndef __SI7021_H__
#define __SI7021_H__
#include "Arduino.h"
class SI7021
{
public:
SI7021();
/* Main Functions */
void begin(int sda = 4, int scl = 5);
float readHumidity();
float readTemp();
float readTempPrev();
/* Resolution Functions */
void setHumidityRes(uint8_t res);
void setTem... | 23.521739 | 75 | 0.691312 |
9299b36978eb3f01bfca8102e335c6faf4cba347 | 2,397 | h | C | twr/inc/twr_hc_sr04.h | janakj/bcf-sdk | 177ce40f2b9b353bc4efc0f1a6765823144ee1cc | [
"MIT"
] | 19 | 2017-11-03T13:54:37.000Z | 2019-12-13T12:46:28.000Z | twr/inc/twr_hc_sr04.h | janakj/bcf-sdk | 177ce40f2b9b353bc4efc0f1a6765823144ee1cc | [
"MIT"
] | 18 | 2017-11-14T08:35:53.000Z | 2019-07-22T11:36:24.000Z | twr/inc/twr_hc_sr04.h | janakj/bcf-sdk | 177ce40f2b9b353bc4efc0f1a6765823144ee1cc | [
"MIT"
] | 10 | 2017-11-07T19:46:29.000Z | 2020-04-25T14:46:32.000Z | #ifndef _TWR_HC_SR04_H
#define _TWR_HC_SR04_H
#include <twr_tick.h>
#include <twr_gpio.h>
#include <twr_scheduler.h>
//! @addtogroup twr_hc_sr04 twr_hc_sr04
//! @brief Driver for HC-SR04 ultrasonic range sensor
//! @{
typedef enum
{
//! @brief Error event
TWR_HC_SR04_EVENT_ERROR = 0,
//! @brief Update e... | 25.231579 | 144 | 0.750521 |
daf9cc07a12ad6e368dc3b6d66e0cb32ac01b3e6 | 2,435 | h | C | WSEExternal/include/Common/SceneData/Attributes/hkxSparselyAnimatedString.h | Swyter/wse | 3ad901f1a463139b320c30ea08bdc343358ea6b6 | [
"WTFPL"
] | null | null | null | WSEExternal/include/Common/SceneData/Attributes/hkxSparselyAnimatedString.h | Swyter/wse | 3ad901f1a463139b320c30ea08bdc343358ea6b6 | [
"WTFPL"
] | null | null | null | WSEExternal/include/Common/SceneData/Attributes/hkxSparselyAnimatedString.h | Swyter/wse | 3ad901f1a463139b320c30ea08bdc343358ea6b6 | [
"WTFPL"
] | null | null | null | /*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Level 2 and Level 3 source code contains trade secrets... | 38.650794 | 247 | 0.754825 |
1f1da9b749eceddf6fa00f7167fa08ec315b274c | 3,707 | h | C | headers/private/kernel/disk_device_manager/KDiskSystem.h | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 1,338 | 2015-01-03T20:06:56.000Z | 2022-03-26T13:49:54.000Z | headers/private/kernel/disk_device_manager/KDiskSystem.h | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 15 | 2015-01-17T22:19:32.000Z | 2021-12-20T12:35:00.000Z | headers/private/kernel/disk_device_manager/KDiskSystem.h | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 350 | 2015-01-08T14:15:27.000Z | 2022-03-21T18:14:35.000Z | /*
* Copyright 2003-2011, Haiku, Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Ingo Weinhold <ingo_weinhold@gmx.de>
*/
#ifndef _K_DISK_DEVICE_SYSTEM_H
#define _K_DISK_DEVICE_SYSTEM_H
#include "disk_device_manager.h"
struct user_disk_system_info;
namespace BPriva... | 28.960938 | 72 | 0.702185 |
1f7372f3cf23ea379f84d090ccf30983befc2951 | 936 | h | C | DriveFusion/PathInfo.h | JadeTheFlame/google-drive-shell-extension | 917ada8e1a173e43e637db980ac4b9976a34acf9 | [
"Apache-2.0"
] | 155 | 2015-03-25T22:09:37.000Z | 2022-03-07T14:51:31.000Z | DriveFusion/PathInfo.h | Jason-Cooke/google-drive-shell-extension | 917ada8e1a173e43e637db980ac4b9976a34acf9 | [
"Apache-2.0"
] | 13 | 2015-04-01T17:51:45.000Z | 2021-08-21T13:36:39.000Z | DriveFusion/PathInfo.h | Jason-Cooke/google-drive-shell-extension | 917ada8e1a173e43e637db980ac4b9976a34acf9 | [
"Apache-2.0"
] | 73 | 2015-03-26T02:21:54.000Z | 2022-03-26T10:22:46.000Z | /*
Copyright 2014 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 in writing, software
dist... | 30.193548 | 88 | 0.762821 |
50dabab4748e978d3e860ad7ea7fa8f99d36e0e2 | 216 | c | C | gcc-gcc-7_3_0-release/gcc/testsuite/gcc.dg/cast-qual-3.c | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | 7 | 2020-05-02T17:34:05.000Z | 2021-10-17T10:15:18.000Z | gcc-gcc-7_3_0-release/gcc/testsuite/gcc.dg/cast-qual-3.c | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | null | null | null | gcc-gcc-7_3_0-release/gcc/testsuite/gcc.dg/cast-qual-3.c | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | 2 | 2020-07-27T00:22:36.000Z | 2021-04-01T09:41:02.000Z | /* PR 55383 */
/* { dg-do compile } */
/* { dg-options "-Wcast-qual" } */
void set(void*);
int foo(int argc)
{
volatile double val;
set((void*)&val); /* { dg-warning "cast discards .volatile. qualifier" } */
}
| 18 | 77 | 0.578704 |
1ca32b22f8690cc02599ed1b2b4f9ccbd1e2b1c3 | 342 | c | C | data/source/yaltools/mount_handle/includes-start.c | libyal/libyal | 407e4710c9c11000dc45427d72bbdbdc2861c51a | [
"Apache-2.0"
] | 176 | 2015-01-11T01:57:37.000Z | 2022-03-30T05:31:33.000Z | data/source/yaltools/mount_handle/includes-start.c | libyal/libyal | 407e4710c9c11000dc45427d72bbdbdc2861c51a | [
"Apache-2.0"
] | 79 | 2015-01-07T19:05:32.000Z | 2022-01-25T15:19:29.000Z | data/source/yaltools/mount_handle/includes-start.c | libyal/libyal | 407e4710c9c11000dc45427d72bbdbdc2861c51a | [
"Apache-2.0"
] | 25 | 2015-07-16T13:29:00.000Z | 2022-02-12T08:15:19.000Z | #include <common.h>
#include <memory.h>
#include <narrow_string.h>
#include <system_string.h>
#include <types.h>
#include <wide_string.h>
#include "${tools_name}_${library_name}.h"
#include "${tools_name}_libcerror.h"
#include "${tools_name}_libcpath.h"
#include "mount_file_entry.h"
#include "mount_file_system.h"
#inc... | 24.428571 | 42 | 0.751462 |
97e0e221e3feb0e82e578b41256f86cfbe17c5be | 3,652 | h | C | Development/External/Novodex/Physics/include/NxInertiaTensor.h | addstone/unrealengine3 | 4579d360dfd52b12493292120b27bb430f978fc8 | [
"FSFAP"
] | 37 | 2020-05-22T18:18:47.000Z | 2022-03-19T06:51:54.000Z | Development/External/Novodex/Physics/include/NxInertiaTensor.h | AdanosGotoman/unrealengine3 | 4579d360dfd52b12493292120b27bb430f978fc8 | [
"FSFAP"
] | null | null | null | Development/External/Novodex/Physics/include/NxInertiaTensor.h | AdanosGotoman/unrealengine3 | 4579d360dfd52b12493292120b27bb430f978fc8 | [
"FSFAP"
] | 27 | 2020-05-17T01:03:30.000Z | 2022-03-06T19:10:14.000Z | #ifndef NX_PHYSICS_NXINERTIATENSOR
#define NX_PHYSICS_NXINERTIATENSOR
/*----------------------------------------------------------------------------*\
|
| Public Interface to NovodeX Technology
|
| www.novodex.com
|
\*----------------------------------------------------------------------------*/
#inclu... | 46.820513 | 200 | 0.53724 |
de1b621e7333dd94fb82704fcb9800c51aca9524 | 1,855 | h | C | Software/Core/Inc/keypad.h | jay-hamlin/rpncalculator | 09969f861a7241d3824ec30478070f37ff2fb4d2 | [
"MIT"
] | 1 | 2021-10-02T03:49:32.000Z | 2021-10-02T03:49:32.000Z | Software/Core/Inc/keypad.h | jay-hamlin/rpncalculator | 09969f861a7241d3824ec30478070f37ff2fb4d2 | [
"MIT"
] | null | null | null | Software/Core/Inc/keypad.h | jay-hamlin/rpncalculator | 09969f861a7241d3824ec30478070f37ff2fb4d2 | [
"MIT"
] | null | null | null |
#ifndef INC_KEYPAD_H_
#define INC_KEYPAD_H_
// Now defines for the Keyboard.
// The keyboard uses a TCA8418 keypad scann IC.
// It is on I2C bus 1 with an address of 0x68
// The INT output of the '8418 connects to MCU GPIO PA10
// The /RST input connects to MCU GPIO PA9
#define TCA8418_ADDR 0x68 // 0110 100r
#defi... | 26.5 | 67 | 0.591375 |
6ed1b0729225f026699271a780d9e8e7fc324a80 | 12,956 | h | C | src/storage/gstor/zekernel/kernel/buffer/knl_buffer.h | opengauss-mirror/DCC | b32ae696df92d2d1d7d261de0153acaa34080588 | [
"MulanPSL-1.0"
] | null | null | null | src/storage/gstor/zekernel/kernel/buffer/knl_buffer.h | opengauss-mirror/DCC | b32ae696df92d2d1d7d261de0153acaa34080588 | [
"MulanPSL-1.0"
] | null | null | null | src/storage/gstor/zekernel/kernel/buffer/knl_buffer.h | opengauss-mirror/DCC | b32ae696df92d2d1d7d261de0153acaa34080588 | [
"MulanPSL-1.0"
] | null | null | null | /*
* Copyright (c) 2022 Huawei Technologies Co.,Ltd.
*
* openGauss is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
*
* http://license.coscl.org.cn/MulanPSL2
*
* THIS SOFTWARE IS PROVIDED ... | 35.790055 | 122 | 0.698209 |
877b245b1adc5844e433b52d8429af7bf59f0999 | 2,301 | h | C | pysnobal/c_snobal/h/bih.h | najsham/pysnobal | 0183b7aa2c99d915dc1b47d64ee2c30d6509e432 | [
"CC0-1.0"
] | 4 | 2018-09-11T17:14:06.000Z | 2021-08-09T20:22:29.000Z | pysnobal/c_snobal/h/bih.h | najsham/pysnobal | 0183b7aa2c99d915dc1b47d64ee2c30d6509e432 | [
"CC0-1.0"
] | 16 | 2017-11-17T22:52:14.000Z | 2021-02-10T02:04:47.000Z | pysnobal/c_snobal/h/bih.h | najsham/pysnobal | 0183b7aa2c99d915dc1b47d64ee2c30d6509e432 | [
"CC0-1.0"
] | 2 | 2020-03-02T17:23:48.000Z | 2022-02-23T19:28:50.000Z | #ifndef BIH_H
#define BIH_H
/*
* basic image header
*/
/* ------------------------------------------------------------------------ */
typedef struct {
char *byteorder; /* byte order */
int nlines; /* # lines */
int nsamps; /* # samples / line */
int nband... | 30.68 | 78 | 0.559322 |
0c67221528459d6b8f1f5002e74eae95dd16ebfb | 4,654 | h | C | UWP/RadialDevice/winrt/internal/Windows.Perception.Spatial.3.h | megayuchi/RadialController | 87bb1baa72a0b43b1b7b0d7787b0a93edc7e3175 | [
"MIT"
] | 23 | 2016-11-28T05:47:06.000Z | 2020-11-13T20:13:47.000Z | UWP/RadialDevice/winrt/internal/Windows.Perception.Spatial.3.h | megayuchi/RadialController | 87bb1baa72a0b43b1b7b0d7787b0a93edc7e3175 | [
"MIT"
] | null | null | null | UWP/RadialDevice/winrt/internal/Windows.Perception.Spatial.3.h | megayuchi/RadialController | 87bb1baa72a0b43b1b7b0d7787b0a93edc7e3175 | [
"MIT"
] | 5 | 2017-01-21T14:42:47.000Z | 2022-02-24T03:42:24.000Z | // C++ for the Windows Runtime v1.0.161012.5
// Copyright (c) 2016 Microsoft Corporation. All rights reserved.
#pragma once
#include "Windows.Perception.Spatial.2.h"
WINRT_EXPORT namespace winrt {
namespace Windows::Perception::Spatial {
struct WINRT_EBO SpatialAnchor :
Windows::Perception::Spatial::ISpatialAn... | 47.489796 | 297 | 0.807477 |
674d3356cc8b54b300f7a9f1f9ef1effe1757077 | 1,315 | h | C | keyboards/gboards/g/keymap_combo.h | fzf/qmk_toolbox | 10d6b425bd24b45002555022baf16fb11254118b | [
"MIT"
] | null | null | null | keyboards/gboards/g/keymap_combo.h | fzf/qmk_toolbox | 10d6b425bd24b45002555022baf16fb11254118b | [
"MIT"
] | null | null | null | keyboards/gboards/g/keymap_combo.h | fzf/qmk_toolbox | 10d6b425bd24b45002555022baf16fb11254118b | [
"MIT"
] | null | null | null | // Keymap helpers
#define K_ENUM(name, key, ...) name,
#define K_DATA(name, key, ...) const uint16_t PROGMEM cmb_##name[] = {__VA_ARGS__, COMBO_END};
#define K_COMB(name, key, ...) [name] = COMBO(cmb_##name, key),
#define A_ENUM(name, string, ...) name,
#define A_DATA(name, string, ...) const uint16_t PROGMEM cmb_##n... | 23.070175 | 97 | 0.676046 |
8ca49d4224cda4c300ed78a465251d6ebf056bda | 338 | h | C | test-suite/generated-src/objc/DBMapListRecord.h | TechN8/djinni | cd628bdf4350f9ae0aa8384bdf506d1b62115845 | [
"Apache-2.0"
] | 1 | 2015-03-30T13:34:31.000Z | 2015-03-30T13:34:31.000Z | test-suite/generated-src/objc/DBMapListRecord.h | TechN8/djinni | cd628bdf4350f9ae0aa8384bdf506d1b62115845 | [
"Apache-2.0"
] | null | null | null | test-suite/generated-src/objc/DBMapListRecord.h | TechN8/djinni | cd628bdf4350f9ae0aa8384bdf506d1b62115845 | [
"Apache-2.0"
] | null | null | null | // AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from map.djinni
#import <Foundation/Foundation.h>
@interface DBMapListRecord : NSObject
- (id)initWithMapListRecord:(DBMapListRecord *)mapListRecord;
- (id)initWithMapList:(NSMutableArray *)mapList;
@property (nonatomic, readonly) NSMutableArra... | 24.142857 | 61 | 0.778107 |
7b9a542979dfef186e2aab1b1e91405b5cea4f8c | 1,692 | h | C | src/gui/tabwidget.h | GavriloviciEduard/Asclepios-DICOM-Viewer | 2aeb90ae4fcbdfcf0fe1b714f31e2b1c8fd6a8ed | [
"MIT"
] | 55 | 2020-09-10T01:29:27.000Z | 2022-03-23T06:41:09.000Z | src/gui/tabwidget.h | GavriloviciEduard/Asclepios-DICOM-Viewer | 2aeb90ae4fcbdfcf0fe1b714f31e2b1c8fd6a8ed | [
"MIT"
] | 4 | 2020-09-10T01:25:07.000Z | 2022-03-22T02:34:39.000Z | src/gui/tabwidget.h | GavriloviciEduard/Asclepios-DICOM-Viewer | 2aeb90ae4fcbdfcf0fe1b714f31e2b1c8fd6a8ed | [
"MIT"
] | 16 | 2020-11-24T07:37:43.000Z | 2022-03-03T03:16:30.000Z | #pragma once
#include "ui_tabwidget.h"
#include "widgetbase.h"
namespace asclepios::gui
{
class Widget2D;
class TabWidget final : public QWidget
{
Q_OBJECT
public:
explicit TabWidget(QWidget* parent);
~TabWidget() = default;
void createWidget2D();
void createWidgetMPR3D(const WidgetBase::WidgetType& t_t... | 29.172414 | 91 | 0.735225 |
f47293920dabc02e21dacc63ae1be50aa32e222c | 3,878 | h | C | gui/ctrl/textbox.h | r3dl3g/guipp | 3d3179be3022935b46b59f1b988a029abeabfcbf | [
"MIT"
] | null | null | null | gui/ctrl/textbox.h | r3dl3g/guipp | 3d3179be3022935b46b59f1b988a029abeabfcbf | [
"MIT"
] | null | null | null | gui/ctrl/textbox.h | r3dl3g/guipp | 3d3179be3022935b46b59f1b988a029abeabfcbf | [
"MIT"
] | null | null | null | /**
* @copyright (c) 2016-2021 Ing. Buero Rothfuss
* Riedlinger Str. 8
* 70327 Stuttgart
* Germany
* http://www.rothfuss-web.de
*
* @author <a href="mailto:armin@rothfuss-web.de">Armin Rothfuss</a>
*
* Projec... | 29.157895 | 99 | 0.547189 |
3c62fc73e1719aad12ead982362aacc7774c3c67 | 1,719 | h | C | chrome/browser/safe_browsing/advanced_protection_status_manager_factory.h | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | chrome/browser/safe_browsing/advanced_protection_status_manager_factory.h | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | chrome/browser/safe_browsing/advanced_protection_status_manager_factory.h | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_SAFE_BROWSING_ADVANCED_PROTECTION_STATUS_MANAGER_FACTORY_H_
#define CHROME_BROWSER_SAFE_BROWSING_ADVANCED_PROTECTION_STATUS_MANAGER... | 35.8125 | 85 | 0.830716 |
a73c068273b4159dca7cae5b7d0b7c9547c88233 | 406 | h | C | CMC030/bi/open/bi_rateline.h | khandy21yo/aplus | 3b4024a2a8315f5dcc78479a24100efa3c4a6504 | [
"MIT"
] | 1 | 2018-10-17T08:53:17.000Z | 2018-10-17T08:53:17.000Z | CMC030/bi/open/bi_rateline.h | khandy21yo/aplus | 3b4024a2a8315f5dcc78479a24100efa3c4a6504 | [
"MIT"
] | null | null | null | CMC030/bi/open/bi_rateline.h | khandy21yo/aplus | 3b4024a2a8315f5dcc78479a24100efa3c4a6504 | [
"MIT"
] | null | null | null | /*
* File Layout for: BI.BI_RATELINE on 21-May-01
*
* CPT Time Rate Line File
*/
#pragma member_alignment save
#pragma nomember_alignment
struct bi_rateline_cdd
{
/* Element = RATETABLE
Description = CPT Time Rate Table */
char ratetable[6];
/* Element =
Description = Time Interval */
char interval[2];
/*... | 17.652174 | 47 | 0.704433 |
2191cf86247ab3f9084efc2440f7cb710cabc79d | 2,150 | h | C | peripherals/include/rnr/mot/MotQik.h | roadnarrows-robotics/rnr-sdk | aee20c65b49fb3eedf924c5c2ec9f19f4f1a1b29 | [
"MIT"
] | null | null | null | peripherals/include/rnr/mot/MotQik.h | roadnarrows-robotics/rnr-sdk | aee20c65b49fb3eedf924c5c2ec9f19f4f1a1b29 | [
"MIT"
] | null | null | null | peripherals/include/rnr/mot/MotQik.h | roadnarrows-robotics/rnr-sdk | aee20c65b49fb3eedf924c5c2ec9f19f4f1a1b29 | [
"MIT"
] | null | null | null | /*
Title: Header file for serial control of Qik motor controller
Author: Rob Shiely
Date: 4/12/2012
TODOs: Need functions to get current from controllers
*/
#ifndef _qik_h
#define _qik_h
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <limits.h>
#include <fcntl.h>
#include <ter... | 25.903614 | 76 | 0.689767 |
90d018f8d4a6b32de3b16c6eea7043956a6a78bc | 685 | h | C | Firmware/NixieClock/src/Pins.h | Finomnis/NixieClock | b414c265fa7c09b45397df22df566e699d842d2a | [
"MIT"
] | 1 | 2020-11-23T15:37:35.000Z | 2020-11-23T15:37:35.000Z | Firmware/NixieClock/src/Pins.h | Finomnis/NixieClock | b414c265fa7c09b45397df22df566e699d842d2a | [
"MIT"
] | null | null | null | Firmware/NixieClock/src/Pins.h | Finomnis/NixieClock | b414c265fa7c09b45397df22df566e699d842d2a | [
"MIT"
] | null | null | null | #pragma once
#include <Arduino.h>
struct PINS_t
{
const uint8_t NIXIE_DIM = PIN_PA5;
const uint8_t NIXIE_DATA = PIN_PA6;
const uint8_t NIXIE_LATCH = PIN_PA7;
const uint8_t NIXIE_CLK = PIN_PB5;
const uint8_t TIME_ZONE = PIN_PA4;
const uint8_t NMEA_SYNC = PIN_PC2;
void initializePins() con... | 22.096774 | 40 | 0.639416 |
347427c7ae254f0da3ccd39bb8c1b815936895c0 | 65 | h | C | p3/pgroup-13/src/drawlot.h | zhliOvO/ENGR1501J | b41264ead9bf93f54cce1fd6676037e99efeb70c | [
"MIT"
] | null | null | null | p3/pgroup-13/src/drawlot.h | zhliOvO/ENGR1501J | b41264ead9bf93f54cce1fd6676037e99efeb70c | [
"MIT"
] | null | null | null | p3/pgroup-13/src/drawlot.h | zhliOvO/ENGR1501J | b41264ead9bf93f54cce1fd6676037e99efeb70c | [
"MIT"
] | null | null | null | #ifndef __DRAWLOT_H_
#define __DRAWLOT_H_
void drawlot();
#endif
| 13 | 20 | 0.8 |
34ec302b95eca44987342b7c6de94c6b74492468 | 374 | h | C | src/api/obj_loader.h | wzm727069/HorseFarm | 447707b6c352e93fe7eb671d7570fb809d8acd51 | [
"MIT"
] | 1 | 2020-02-06T22:03:45.000Z | 2020-02-06T22:03:45.000Z | src/api/obj_loader.h | wzm727069/HorseFarm | 447707b6c352e93fe7eb671d7570fb809d8acd51 | [
"MIT"
] | null | null | null | src/api/obj_loader.h | wzm727069/HorseFarm | 447707b6c352e93fe7eb671d7570fb809d8acd51 | [
"MIT"
] | 1 | 2020-07-12T15:16:26.000Z | 2020-07-12T15:16:26.000Z | #pragma once
#include <vector>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtx/transform.hpp>
#include <glm/gtc/type_ptr.hpp>
class ObjectLoader
{
public:
static bool LoadObject(
const char * path,
std::vector<glm::vec3> & vertices,
std::vector<glm::vec3>... | 18.7 | 42 | 0.647059 |
553a60d5adbcd824e16212f2d2acca47352db2c2 | 1,489 | h | C | src/Bitarray.h | gravesee/BMM | b57b141b2a8934803326f387041859aec6dfce11 | [
"MIT"
] | 1 | 2021-06-21T01:52:48.000Z | 2021-06-21T01:52:48.000Z | src/Bitarray.h | gravesee/BMM | b57b141b2a8934803326f387041859aec6dfce11 | [
"MIT"
] | 1 | 2018-07-11T20:58:03.000Z | 2018-07-11T20:58:03.000Z | src/Bitarray.h | Zelazny7/BMM | b57b141b2a8934803326f387041859aec6dfce11 | [
"MIT"
] | null | null | null | #ifndef BITARRAY_H
#define BITARRAY_H
#include <limits.h>
#define BITS_IN_INT (sizeof(int) * 8)
/* Hat-tip to SO for these macros:
* "How to define and work with an array of bits in C?"
* https://stackoverflow.com/a/30590727/919872
*/
#define SetBit(A,k) ( A[(k / BITS_IN_INT)] |= (1 << (k % BITS_IN_INT)) )
#defi... | 25.237288 | 102 | 0.695097 |
b6c467f901076e22acc2377958a0d8aa137cba55 | 673 | h | C | multiformats/util/varint.h | amatuni/multiformats | 0f26247b9f9d43fa8633f352399f67085a74448e | [
"MIT"
] | 3 | 2018-04-21T18:26:11.000Z | 2018-07-25T20:59:31.000Z | multiformats/util/varint.h | andreiamatuni/multiformats | 0f26247b9f9d43fa8633f352399f67085a74448e | [
"MIT"
] | null | null | null | multiformats/util/varint.h | andreiamatuni/multiformats | 0f26247b9f9d43fa8633f352399f67085a74448e | [
"MIT"
] | null | null | null | #pragma once
#include <cstdint>
#include <vector>
namespace multi::varint {
/*
Encode a uint64_t into a varint
*/
std::vector<uint8_t> encode(uint64_t);
/*
Parse the first varint in a buffer passed as input.
decode will return the value of the varint as uint64_t
along with the number of bytes processed, in a std::... | 24.035714 | 77 | 0.684993 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.