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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
50066fef6e9cea0e228d026671333b621e437406 | 442 | c | C | nitan/d/huangshan/npc/obj/qin.c | cantona/NT6 | 073f4d491b3cfe6bfbe02fbad12db8983c1b9201 | [
"MIT"
] | 1 | 2019-03-27T07:25:16.000Z | 2019-03-27T07:25:16.000Z | nitan/d/huangshan/npc/obj/qin.c | cantona/NT6 | 073f4d491b3cfe6bfbe02fbad12db8983c1b9201 | [
"MIT"
] | null | null | null | nitan/d/huangshan/npc/obj/qin.c | cantona/NT6 | 073f4d491b3cfe6bfbe02fbad12db8983c1b9201 | [
"MIT"
] | null | null | null | // qin.c
#include <weapon.h>
inherit HAMMER;
void create()
{
set_name("古木琴", ({ "gumu qin", "qin" }) );
set_weight(7000);
if( clonep() )
set_default_object(__FILE__);
else {
set("unit", "把");
set("long", "這是一把外表古色古香,但是內包精鐵的六絃琴。\n");
... | 22.1 | 56 | 0.434389 |
0a2425f681262e7e4f66bb554e7e539fc4168876 | 845 | h | C | src/server/myserver.h | miguelggaspar/Abaqus-simulator | 0de56fafd3ce2952288fad97107880b5dbe67c39 | [
"MIT"
] | null | null | null | src/server/myserver.h | miguelggaspar/Abaqus-simulator | 0de56fafd3ce2952288fad97107880b5dbe67c39 | [
"MIT"
] | null | null | null | src/server/myserver.h | miguelggaspar/Abaqus-simulator | 0de56fafd3ce2952288fad97107880b5dbe67c39 | [
"MIT"
] | null | null | null | /**
* @file myserver.h
* @brief
*
* Detailed description starts here.
*
* @author Vitor Santos, vitor@ua.pt
*
* @internal
* Created 09-Dez-2014
* Copyright Copyright (c) 2014, Vitor Santos, 2016
*
* ==================================================================================... | 20.609756 | 88 | 0.6 |
f717617119022bf74b0720289dfef8d519c52a15 | 4,636 | h | C | include/nuttx/contactless/ioctl.h | baggio63446333/incubator-nuttx | c6ed7dd7606e7e00599f857e6731a99d073c45a4 | [
"Apache-2.0"
] | null | null | null | include/nuttx/contactless/ioctl.h | baggio63446333/incubator-nuttx | c6ed7dd7606e7e00599f857e6731a99d073c45a4 | [
"Apache-2.0"
] | null | null | null | include/nuttx/contactless/ioctl.h | baggio63446333/incubator-nuttx | c6ed7dd7606e7e00599f857e6731a99d073c45a4 | [
"Apache-2.0"
] | null | null | null | /****************************************************************************
* include/contactless/ioctl.h
*
* Copyright(C) 2016 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted pr... | 37.387097 | 78 | 0.589517 |
dd9a46a4c9732b46806b7824bd81986c7db51cdd | 530 | h | C | keil/UART.h | Anshuman-UCSB/ECE153B-website | be5573ea6b11581782198e24c2a0d0341095e151 | [
"CC0-1.0"
] | null | null | null | keil/UART.h | Anshuman-UCSB/ECE153B-website | be5573ea6b11581782198e24c2a0d0341095e151 | [
"CC0-1.0"
] | null | null | null | keil/UART.h | Anshuman-UCSB/ECE153B-website | be5573ea6b11581782198e24c2a0d0341095e151 | [
"CC0-1.0"
] | null | null | null | #ifndef __STM32L476R_NUCLEO_UART_H
#define __STM32L476R_NUCLEO_UART_H
#include "stm32l476xx.h"
#define BufferSize 32
void UART1_Init(void);
void UART2_Init(void);
void UART1_GPIO_Init(void);
void UART2_GPIO_Init(void);
void Init_USARTx(int x);
void USART_Init(USART_TypeDef* USARTx);
void USART1_IRQHan... | 23.043478 | 76 | 0.777358 |
de6896adee4975d9c10c514e6022ed55bd17a904 | 418 | h | C | Engine2_0/GUI/CEGUIWrapper.h | Lemmibl/Lemmi-Engine-2.0 | 38f6466b7d40d2a2d2528e2ae788622ce5c91f01 | [
"MIT"
] | 1 | 2017-01-10T19:37:23.000Z | 2017-01-10T19:37:23.000Z | Engine2_0/GUI/CEGUIWrapper.h | Lemmibl/Lemmi-Engine-2.0 | 38f6466b7d40d2a2d2528e2ae788622ce5c91f01 | [
"MIT"
] | null | null | null | Engine2_0/GUI/CEGUIWrapper.h | Lemmibl/Lemmi-Engine-2.0 | 38f6466b7d40d2a2d2528e2ae788622ce5c91f01 | [
"MIT"
] | null | null | null | #pragma once
#include <GLFW/glfw3.h>
#include <string>
//Will handle everything CEGUI. Initialization, lifetime, updating.
class CEGUIWrapper
{
public:
CEGUIWrapper();
~CEGUIWrapper();
//Cleanup
void Shutdown();
//Set up all subsystems, initialize renderer, load fonts etc
bool Initialize();
//Inject stuff li... | 18.173913 | 67 | 0.736842 |
ee89385768e2140031d8aed552bc6443410311a0 | 244 | h | C | ToolApp/ToolApp/zh/view/ZhTableView.h | ke112/bookish-fiesta | acdb2d85adf4766169714cc74dc5debf48279b16 | [
"MIT"
] | null | null | null | ToolApp/ToolApp/zh/view/ZhTableView.h | ke112/bookish-fiesta | acdb2d85adf4766169714cc74dc5debf48279b16 | [
"MIT"
] | null | null | null | ToolApp/ToolApp/zh/view/ZhTableView.h | ke112/bookish-fiesta | acdb2d85adf4766169714cc74dc5debf48279b16 | [
"MIT"
] | null | null | null | //
// BaseTableView.h
// GoodLife_New
//
// Created by hshs on 2021/1/5.
// Copyright © 2021 好生活. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface ZhTableView : UITableView
@end
NS_ASSUME_NONNULL_END
| 12.842105 | 46 | 0.717213 |
ee33d58f79ed49d186d2db770f90dcdfdf10b991 | 970 | c | C | ft_bzero.c | joshgelbard/libft | 5e73cba84a6519a2b685f789f3cc541368418887 | [
"Unlicense"
] | null | null | null | ft_bzero.c | joshgelbard/libft | 5e73cba84a6519a2b685f789f3cc541368418887 | [
"Unlicense"
] | null | null | null | ft_bzero.c | joshgelbard/libft | 5e73cba84a6519a2b685f789f3cc541368418887 | [
"Unlicense"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_bzero.c :+: :+: :+: ... | 51.052632 | 80 | 0.146392 |
f6d8ccff97f30d6f0626e46c347829c3630162b0 | 4,001 | c | C | kernel/sqtconf/conf.c | Prajna/mach | 9c2e1a8d77f84256568f604f74311f23ccce2d9e | [
"BSD-4-Clause",
"BSD-3-Clause"
] | 27 | 2015-03-06T06:47:58.000Z | 2021-11-06T02:01:26.000Z | kernel/sqtconf/conf.c | Prajna/mach | 9c2e1a8d77f84256568f604f74311f23ccce2d9e | [
"BSD-4-Clause",
"BSD-3-Clause"
] | null | null | null | kernel/sqtconf/conf.c | Prajna/mach | 9c2e1a8d77f84256568f604f74311f23ccce2d9e | [
"BSD-4-Clause",
"BSD-3-Clause"
] | 11 | 2015-08-16T02:07:39.000Z | 2020-06-02T17:42:14.000Z | /*
* Mach Operating System
* Copyright (c) 1993 Carnegie Mellon University
* Copyright (c) 1991 Carnegie Mellon University
* Copyright (c) 1991 Sequent Computer Systems
* All Rights Reserved.
*
* Permission to use, copy, modify and distribute this software and its
* documentation is hereby granted, provided t... | 25.980519 | 79 | 0.67808 |
f6e74a4793605590df9e7c09e32d6ff9d02d964e | 1,116 | h | C | src/stim.h | ephxyscj1996/Stim | 1f35e36c33a6dba244318e904c35b63a3d82977a | [
"Apache-2.0"
] | 2 | 2021-07-24T13:56:07.000Z | 2021-11-17T11:03:51.000Z | src/stim.h | ephxyscj1996/Stim | 1f35e36c33a6dba244318e904c35b63a3d82977a | [
"Apache-2.0"
] | null | null | null | src/stim.h | ephxyscj1996/Stim | 1f35e36c33a6dba244318e904c35b63a3d82977a | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 32.823529 | 75 | 0.768817 |
9198443d67aee4416f5d6d57374d68326ef66b04 | 499 | h | C | oreon.engine/oreon.engine/engine/math/Vec2f.h | antarezz/Oreon.Engine-OpenGL-Cpp | 6a36a3138fe291f114be25ee69a0d5ac96edd2f0 | [
"MIT"
] | 4 | 2017-08-27T07:44:05.000Z | 2018-09-02T07:27:31.000Z | oreon.engine/oreon.engine/engine/math/Vec2f.h | antarezz/Oreon.Engine-OpenGL-Cpp | 6a36a3138fe291f114be25ee69a0d5ac96edd2f0 | [
"MIT"
] | null | null | null | oreon.engine/oreon.engine/engine/math/Vec2f.h | antarezz/Oreon.Engine-OpenGL-Cpp | 6a36a3138fe291f114be25ee69a0d5ac96edd2f0 | [
"MIT"
] | 2 | 2020-02-18T15:44:23.000Z | 2020-12-13T19:49:25.000Z | #pragma once
#include <math.h>
class Vec2f {
public:
Vec2f();
Vec2f(float x, float y);
float length() const;
float dot(const Vec2f &r);
Vec2f normalize();
Vec2f add(const Vec2f &r);
Vec2f add(float r);
Vec2f sub(const Vec2f &r);
Vec2f sub(float r);
Vec2f mul(const Vec2f &r);
Vec2f mul(float r);
Vec2f div... | 16.633333 | 27 | 0.667335 |
f409557d33de80bcb5a51024c6fa9603792e0bc3 | 71,701 | c | C | meh.c | he110world/libmeh | 6696363ed79fcd2a8d9bf9a6f88774d0d0861731 | [
"MIT"
] | 2 | 2015-03-05T12:46:29.000Z | 2019-09-10T04:47:44.000Z | meh.c | he110world/libmeh | 6696363ed79fcd2a8d9bf9a6f88774d0d0861731 | [
"MIT"
] | null | null | null | meh.c | he110world/libmeh | 6696363ed79fcd2a8d9bf9a6f88774d0d0861731 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>
#include <GL/gl.h>
#include "math2.h"
#include "meh.h"
#include "camera.h"
#include "cd.h"
static struct{
sp_t *sp;
sctr_t *sctrlist;
int nsctrs;
obj_t *objlist;
} map;
/* engine variables are stored here, and can be accessed... | 20.952951 | 125 | 0.577426 |
5667b10db6ef5cbfeb1c10cd1f51361225dcd286 | 1,032 | c | C | libft/ft_lstdelcont.c | Mcluckinson/lemin_viz | f52b2d8b4b07d58f8ed1224401381f87bb4b3905 | [
"WTFPL"
] | null | null | null | libft/ft_lstdelcont.c | Mcluckinson/lemin_viz | f52b2d8b4b07d58f8ed1224401381f87bb4b3905 | [
"WTFPL"
] | null | null | null | libft/ft_lstdelcont.c | Mcluckinson/lemin_viz | f52b2d8b4b07d58f8ed1224401381f87bb4b3905 | [
"WTFPL"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_lstdelcont.c :+: :+: :+: ... | 46.909091 | 80 | 0.194767 |
4cc62fc32d7069fc6174cf9dc7bd8568dc0635b6 | 1,631 | h | C | ScoreBlitz/Classes/PagePickerScrollView.h | Proper-Job/irollmusic | 23111dfb9adfe06e89180554f6f34a31f6d40650 | [
"MIT"
] | null | null | null | ScoreBlitz/Classes/PagePickerScrollView.h | Proper-Job/irollmusic | 23111dfb9adfe06e89180554f6f34a31f6d40650 | [
"MIT"
] | null | null | null | ScoreBlitz/Classes/PagePickerScrollView.h | Proper-Job/irollmusic | 23111dfb9adfe06e89180554f6f34a31f6d40650 | [
"MIT"
] | null | null | null | //
// PagePickerScrollView.h
// ScoreBlitz
//
// Created by Moritz Pfeiffer on 16.03.11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
@class Score, PagePickerItemView, PagePickerScrollView, Page;
@protocol PickerScrollViewDelegate <NSObject>
- (void)pickerScrollViewDidHid... | 29.125 | 76 | 0.798896 |
1ece076f12b5a81140a135d77dfab1e12cc144a2 | 3,884 | h | C | openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/systemd/1_242+AUTOINC+db2e367bfc-r0/git/src/basic/static-destruct.h | sotaoverride/backup | ca53a10b72295387ef4948a9289cb78ab70bc449 | [
"Apache-2.0"
] | null | null | null | openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/systemd/1_242+AUTOINC+db2e367bfc-r0/git/src/basic/static-destruct.h | sotaoverride/backup | ca53a10b72295387ef4948a9289cb78ab70bc449 | [
"Apache-2.0"
] | null | null | null | openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/systemd/1_242+AUTOINC+db2e367bfc-r0/git/src/basic/static-destruct.h | sotaoverride/backup | ca53a10b72295387ef4948a9289cb78ab70bc449 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "alloc-util.h"
#include "macro.h"
/* A framework for registering static variables that shall be freed on shutdown
* of a process. It's a bit like gcc's destructor attribute, but allows us to
* precisely schedule when we want to free the variables. This is supposed to
* feel a bit like the gcc... | 55.485714 | 96 | 0.475026 |
1eeaafeb66581777c8c3bc201df5758d33153216 | 947 | h | C | SSIDCard-master/SSIDCard/Classes/Public/Category/UIView+SS.h | wnrz/SSIDCard- | 3b8b33028d9084d0d9096159ac0360190094eb8d | [
"MIT"
] | 248 | 2018-05-02T02:26:22.000Z | 2021-11-08T03:22:34.000Z | SSIDCard-master/SSIDCard/Classes/Public/Category/UIView+SS.h | wnrz/SSIDCard- | 3b8b33028d9084d0d9096159ac0360190094eb8d | [
"MIT"
] | 5 | 2018-05-30T02:07:35.000Z | 2020-07-14T09:57:00.000Z | SSIDCard-master/SSIDCard/Classes/Public/Category/UIView+SS.h | wnrz/SSIDCard- | 3b8b33028d9084d0d9096159ac0360190094eb8d | [
"MIT"
] | 30 | 2018-05-02T02:26:37.000Z | 2021-01-27T07:50:46.000Z | //
// UIView+SS.h
// SSIDCard
//
// Created by 张家铭 on 2018/5/3.
//
#import <UIKit/UIKit.h>
@interface UIView (SS)
@property (nonatomic) CGFloat ss_left; ///< Shortcut for frame.origin.x.
@property (nonatomic) CGFloat ss_top; ///< Shortcut for frame.origin.y
@property (nonatomic) CGFloat ss_right; ... | 39.458333 | 98 | 0.682154 |
7183e13ee3a3e266d4ada8161cf28c4c4d526ca0 | 5,330 | c | C | sys/src/lib/9p2000/convM2S.c | ekaitz-zarraga/jehanne | 431c7ae36521d0d931a21e1100d8522893d22a35 | [
"RSA-MD"
] | 287 | 2017-01-06T07:22:55.000Z | 2022-03-28T10:45:32.000Z | sys/src/lib/9p2000/convM2S.c | ekaitz-zarraga/jehanne | 431c7ae36521d0d931a21e1100d8522893d22a35 | [
"RSA-MD"
] | 17 | 2017-01-06T16:49:43.000Z | 2022-01-07T11:23:27.000Z | sys/src/lib/9p2000/convM2S.c | ekaitz-zarraga/jehanne | 431c7ae36521d0d931a21e1100d8522893d22a35 | [
"RSA-MD"
] | 21 | 2017-01-23T14:46:57.000Z | 2021-11-17T23:27:41.000Z | /*
* This file is part of the UCB release of Plan 9. It is subject to the license
* terms in the LICENSE file found in the top-level directory of this
* distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No
* part of the UCB release of Plan 9, including this file, may be copied,
* modified, prop... | 16.920635 | 79 | 0.573546 |
71a82752954b486cf23f23c84b1a625af191ad7a | 825 | h | C | gnu/usr.bin/binutils/binutils/defparse.h | ArrogantWombatics/openbsd-src | 75721e1d44322953075b7c4b89337b163a395291 | [
"BSD-3-Clause"
] | 1 | 2019-02-16T13:29:23.000Z | 2019-02-16T13:29:23.000Z | gnu/usr.bin/binutils/binutils/defparse.h | ArrogantWombatics/openbsd-src | 75721e1d44322953075b7c4b89337b163a395291 | [
"BSD-3-Clause"
] | 1 | 2018-08-21T03:56:33.000Z | 2018-08-21T03:56:33.000Z | gnu/usr.bin/binutils/binutils/defparse.h | ArrogantWombatics/openbsd-src | 75721e1d44322953075b7c4b89337b163a395291 | [
"BSD-3-Clause"
] | null | null | null | #ifndef BISON_Y_TAB_H
# define BISON_Y_TAB_H
#ifndef YYSTYPE
typedef union {
char *id;
int number;
} yystype;
# define YYSTYPE yystype
# define YYSTYPE_IS_TRIVIAL 1
#endif
# define NAME 257
# define LIBRARY 258
# define DESCRIPTION 259
# define STACKSIZE 260
# define HEAPSIZE 261
# define CODE 262
# define DATA 26... | 18.333333 | 30 | 0.758788 |
42a47ad25ba34cc4dcbf7fa930c19e8cd32dae0d | 283 | h | C | LMNote/LMNote/Store/LMNDraft.h | SheltonWan/Note | 27b6e3221acdad88c15ad2f7ce95eaba88601c7b | [
"MIT"
] | 211 | 2018-07-17T09:54:10.000Z | 2022-03-10T07:58:51.000Z | LMNote/LMNote/Store/LMNDraft.h | mohsinalimat/LMNote | 893c992511c06d8e4f3acaf1c0db75d20e2d0f3a | [
"MIT"
] | 13 | 2018-07-21T03:36:59.000Z | 2021-07-19T02:36:49.000Z | LMNote/LMNote/Store/LMNDraft.h | mohsinalimat/LMNote | 893c992511c06d8e4f3acaf1c0db75d20e2d0f3a | [
"MIT"
] | 44 | 2018-07-19T08:16:14.000Z | 2022-03-07T09:11:20.000Z | //
// LMNDraft.h
// LMNote
//
// Created by littleMeaning on 2018/7/3.
// Copyright © 2018年 littleMeaning. All rights reserved.
//
#import <LMNote/LMNote.h>
@class LMNTextStorage;
@interface LMNDraft : LMNItem
@property (nonatomic, strong) LMNTextStorage *textStorage;
@end
| 15.722222 | 58 | 0.713781 |
b6d629f2388d4f18a1419d6fd26dc4981f67b1d8 | 638 | c | C | ds/nameres/rnr/setup/test/ghn.c | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | ds/nameres/rnr/setup/test/ghn.c | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | ds/nameres/rnr/setup/test/ghn.c | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | #include <nt.h>
#include <ntrtl.h>
#include <nturtl.h>
#include <windows.h>
#include <winsock2.h>
#include <wsipx.h>
#include <svcguid.h>
#include <nspapi.h>
#include <stdio.h>
#include <stdlib.h>
#include <rpc.h>
#include <rpcdce.h>
_cdecl
main(int argc, char **argv)
{
WSADATA wsaData;
char... | 16.789474 | 67 | 0.554859 |
b6fe29114e5a2eedfb88dd4017ae4e1bb9a3467e | 196 | h | C | src/utility/apple_script.h | ivan-volnov/vocabulary_builder | 1515ee286194105ebe9d5b4f84eb6eb880ab7b1b | [
"MIT"
] | null | null | null | src/utility/apple_script.h | ivan-volnov/vocabulary_builder | 1515ee286194105ebe9d5b4f84eb6eb880ab7b1b | [
"MIT"
] | null | null | null | src/utility/apple_script.h | ivan-volnov/vocabulary_builder | 1515ee286194105ebe9d5b4f84eb6eb880ab7b1b | [
"MIT"
] | null | null | null | #ifndef APPLE_SCRIPT_H
#define APPLE_SCRIPT_H
#include <string>
namespace AppleScript {
bool run_apple_script(const std::string& script);
} // namespace AppleScript
#endif // APPLE_SCRIPT_H
| 14 | 49 | 0.77551 |
8e182e3bb93856a6e6c263742abeae575f45a6bb | 10,898 | c | C | packages/PIPS/newgen/src/genC/stack.c | DVSR1966/par4all | 86b33ca9da736e832b568c5637a2381f360f1996 | [
"MIT"
] | 51 | 2015-01-31T01:51:39.000Z | 2022-02-18T02:01:50.000Z | packages/PIPS/newgen/src/genC/stack.c | DVSR1966/par4all | 86b33ca9da736e832b568c5637a2381f360f1996 | [
"MIT"
] | 7 | 2017-05-29T09:29:00.000Z | 2019-03-11T16:01:39.000Z | packages/PIPS/newgen/src/genC/stack.c | DVSR1966/par4all | 86b33ca9da736e832b568c5637a2381f360f1996 | [
"MIT"
] | 12 | 2015-03-26T08:05:38.000Z | 2022-02-18T02:01:51.000Z | /*
$Id$
Copyright 1989-2014 MINES ParisTech
This file is part of NewGen.
NewGen is free software: you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or any later version.
NewGen is d... | 23.236674 | 78 | 0.646908 |
0683bf449e054709e00566db4c231235b1b5591a | 2,132 | h | C | +hidi/Sensor.h | dddvision/functionalnavigation | 1e2e9688072418ab441669ff8a09ae33e60cd9e1 | [
"Unlicense",
"MIT"
] | 3 | 2016-09-06T03:09:45.000Z | 2021-01-20T06:03:50.000Z | +hidi/Sensor.h | dddvision/functionalnavigation | 1e2e9688072418ab441669ff8a09ae33e60cd9e1 | [
"Unlicense",
"MIT"
] | null | null | null | +hidi/Sensor.h | dddvision/functionalnavigation | 1e2e9688072418ab441669ff8a09ae33e60cd9e1 | [
"Unlicense",
"MIT"
] | 4 | 2015-03-14T21:55:19.000Z | 2021-05-02T19:34:52.000Z | // Copyright 2011 Scientific Systems Company Inc., New BSD License
#ifndef HIDISENSOR_H
#define HIDISENSOR_H
#include "hidi.h"
namespace hidi
{
/**
* This class defines methods shared by synchronously time-stamped sensors.
*
* @note
* All sensors use SI units and radians unless otherwise sta... | 22.680851 | 92 | 0.567542 |
06a58d9e9859dbfb7cd1dbc481233d98aebcf554 | 426 | h | C | ThereminiOS/Synthesizer/Classes/VWW/VWWSynthesizerNotes.h | SmallPlanetiOS/theremin- | de4483f5c07f1b6e32dd0d74d683589627296824 | [
"AML"
] | 1 | 2019-03-21T06:30:23.000Z | 2019-03-21T06:30:23.000Z | ThereminiOS/Synthesizer/Classes/VWW/VWWSynthesizerNotes.h | SmallPlanetiOS/theremin- | de4483f5c07f1b6e32dd0d74d683589627296824 | [
"AML"
] | null | null | null | ThereminiOS/Synthesizer/Classes/VWW/VWWSynthesizerNotes.h | SmallPlanetiOS/theremin- | de4483f5c07f1b6e32dd0d74d683589627296824 | [
"AML"
] | null | null | null | //
// VWWSynthesizerNotes.h
// Synthesizer
//
// Created by Zakk Hoyt on 8/12/12.
// Copyright (c) 2012 Zakk Hoyt. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "VWWSynthesizerTypes.h"
@interface VWWSynthesizerNotes : NSObject
+(VWWSynthesizerNotes *)sharedInstance;
+(float)getClosestNoteForFr... | 25.058824 | 74 | 0.767606 |
06aa36bae4014d818bdee61c1692a34e81483f25 | 966 | h | C | inc/kos_error.h | kos-lang/kos | 0f8dac3f1006dbf79e5cf7d918264a1804d78f72 | [
"MIT"
] | 12 | 2017-01-01T20:29:32.000Z | 2022-03-29T21:03:11.000Z | inc/kos_error.h | kos-lang/kos | 0f8dac3f1006dbf79e5cf7d918264a1804d78f72 | [
"MIT"
] | 18 | 2016-09-16T18:16:05.000Z | 2019-11-06T22:26:07.000Z | inc/kos_error.h | kos-lang/kos | 0f8dac3f1006dbf79e5cf7d918264a1804d78f72 | [
"MIT"
] | null | null | null | /* SPDX-License-Identifier: MIT
* Copyright (c) 2014-2021 Chris Dragan
*/
#ifndef KOS_ERROR_H_INCLUDED
#define KOS_ERROR_H_INCLUDED
enum KOS_ERROR_E {
KOS_SUCCESS,
KOS_SUCCESS_RETURN, /* auxiliary, not an error */
KOS_ERROR_INTERNAL,
KOS_ERROR_EXCEPTION,
KOS_ERROR_OUT_OF_MEMO... | 29.272727 | 78 | 0.696687 |
059347bf0909676e36bdb9c53bb4024c4ce3c1e1 | 6,309 | c | C | orte/mca/schizo/singularity/schizo_singularity.c | ICLDisco/SCON_Prototype | 69841e27f0079b21d1f930655678a6183af3282f | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | orte/mca/schizo/singularity/schizo_singularity.c | ICLDisco/SCON_Prototype | 69841e27f0079b21d1f930655678a6183af3282f | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | orte/mca/schizo/singularity/schizo_singularity.c | ICLDisco/SCON_Prototype | 69841e27f0079b21d1f930655678a6183af3282f | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | /*
* Copyright (c) 2016 Intel, Inc. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*
*/
#include "orte_config.h"
#include "orte/types.h"
#include "opal/types.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <ctype.h>
#include "opal/util/argv.h"
#include ... | 33.205263 | 102 | 0.582343 |
5ecb6a416524e5bb784f42ea7936f38b916819d5 | 1,490 | h | C | Warcraft II/Warcraft II/EnemyCannonTower.h | DevCrumbs/Warcraft-II | fd4fab4c629783d6acc18c34bdaac15fcfb54dd1 | [
"MIT"
] | 9 | 2019-07-02T06:24:03.000Z | 2022-03-18T20:07:02.000Z | Warcraft II/Warcraft II/EnemyCannonTower.h | DevCrumbs/Warcraft-II | fd4fab4c629783d6acc18c34bdaac15fcfb54dd1 | [
"MIT"
] | 109 | 2018-02-21T23:40:29.000Z | 2020-04-25T18:26:41.000Z | Warcraft II/Warcraft II/EnemyCannonTower.h | DevCrumbs/Warcraft-II | fd4fab4c629783d6acc18c34bdaac15fcfb54dd1 | [
"MIT"
] | 6 | 2018-06-27T07:30:10.000Z | 2020-03-09T19:18:41.000Z | #ifndef __EnemyCannonTower_H__
#define __EnemyCannonTower_H__
#include "StaticEntity.h"
#include <list>
struct EnemyCannonTowerInfo
{
SDL_Rect completeTexArea = { 0,0,0,0 };
iPoint size{ 0,0 };
uint life = 0u;
float speed = 0.0f;
uint sightRadius = 0;
uint damage = 0;
uint attackWaitTime = 0;
uint arrowSpeed... | 22.923077 | 141 | 0.780537 |
bafab54c3d6c47d130f6c0d0ad705f10af60dd26 | 71 | h | C | include/iupcells.h | LuaDist/iup | d19be94945cd9d9816252b4002607cf42c60c08b | [
"MIT"
] | 68 | 2015-01-21T11:06:38.000Z | 2022-03-18T11:01:40.000Z | include/iuptree.h | Archs/luajit-aio | 79402e0b0d2da16a13e01644fd9cf7010ae72903 | [
"MIT"
] | null | null | null | include/iuptree.h | Archs/luajit-aio | 79402e0b0d2da16a13e01644fd9cf7010ae72903 | [
"MIT"
] | 17 | 2015-01-08T16:38:03.000Z | 2022-01-20T15:00:57.000Z | /* dummy header for backward compatibility */
#include <iupcontrols.h>
| 23.666667 | 45 | 0.760563 |
c78b3b8847888c5b5c12a52e1893b5352b8e6ded | 6,939 | c | C | components/amp/engine/quickjs_engine/addons/utils/ui/page_entry.c | wstong999/AliOS-Things | 6554769cb5b797e28a30a4aa89b3f4cb2ef2f5d9 | [
"Apache-2.0"
] | 4,538 | 2017-10-20T05:19:03.000Z | 2022-03-30T02:29:30.000Z | components/amp/engine/quickjs_engine/addons/utils/ui/page_entry.c | wstong999/AliOS-Things | 6554769cb5b797e28a30a4aa89b3f4cb2ef2f5d9 | [
"Apache-2.0"
] | 1,088 | 2017-10-21T07:57:22.000Z | 2022-03-31T08:15:49.000Z | components/amp/engine/quickjs_engine/addons/utils/ui/page_entry.c | wstong999/AliOS-Things | 6554769cb5b797e28a30a4aa89b3f4cb2ef2f5d9 | [
"Apache-2.0"
] | 1,860 | 2017-10-20T05:22:35.000Z | 2022-03-27T10:54:14.000Z | /*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#ifdef AMP_ADVANCED_ADDON_UI
#include "aos_fs.h"
#include "aos_system.h"
#include "amp_config.h"
#include "amp_defines.h"
#include "amp_task.h"
#include "board_mgr.h"
#include "quickjs.h"
#include "cJSON.h"
#include "page_entry.h"
#include "render.h"
#inc... | 22.676471 | 90 | 0.613633 |
22ea3117d37df63494c6819b2621a3cc5dd5126e | 453 | h | C | cppLib/code/ECS/MovementSystem.h | DrYaling/ProcedureContentGenerationForUnity | 3c4f1e70b01e4fe2b9f847324b60b15016b9a740 | [
"MIT"
] | 3 | 2019-05-14T07:19:59.000Z | 2019-05-14T08:08:25.000Z | cppLib/code/ECS/MovementSystem.h | DrYaling/ProcedureContentGenerationForUnity | 3c4f1e70b01e4fe2b9f847324b60b15016b9a740 | [
"MIT"
] | null | null | null | cppLib/code/ECS/MovementSystem.h | DrYaling/ProcedureContentGenerationForUnity | 3c4f1e70b01e4fe2b9f847324b60b15016b9a740 | [
"MIT"
] | 1 | 2018-08-08T07:39:16.000Z | 2018-08-08T07:39:16.000Z | #ifndef Movement_system_h
#define Movement_system_h
#include "ISystem.h"
#include "MovementComponent.h"
namespace ecs
{
//test code
class MovementSystem :public System<MovementComponent>, public ISystem
{
typedef System base;
public:
MovementSystem();
MovementSystem(const MovementSystem& copy) { LogError("wow... | 22.65 | 75 | 0.761589 |
b3c49192d44b45ef7768a7e8a9097c40261263d1 | 13,354 | c | C | ARIS/boot/synergy/ssp/src/framework/el/tx/tx_src/tx_trace_user_event_insert.c | arrow-acs/acn-embedded | b31d4cf2055f8809fa7b80ec80703402fc09001e | [
"Apache-2.0"
] | 7 | 2017-03-27T01:08:22.000Z | 2019-08-20T18:29:03.000Z | ARIS/boot/synergy/ssp/src/framework/el/tx/tx_src/tx_trace_user_event_insert.c | konexios/moonstone-acn-embedded | b31d4cf2055f8809fa7b80ec80703402fc09001e | [
"Apache-2.0"
] | 5 | 2017-11-10T23:09:50.000Z | 2018-04-04T13:58:31.000Z | ARIS/boot/synergy/ssp/src/framework/el/tx/tx_src/tx_trace_user_event_insert.c | konexios/moonstone-acn-embedded | b31d4cf2055f8809fa7b80ec80703402fc09001e | [
"Apache-2.0"
] | 5 | 2017-03-29T02:15:10.000Z | 2019-02-22T13:09:42.000Z | #ifdef AMS_ENCRYPT_PACKAGE
-----BEGIN ENCRYPTED FILE v0.6-----
9S04Fc0roaJnwZGP6OG7EDBImvEWKQdoMQNOXjk4ZvxTSJPk3yRkrUfzmivV40+I
O5vHVn/TuiHbeSlU7Ltzuziq3KyX1LWuZApe52bi2PBeKHgRQZdFXiWNORU0eM+n
PH+CDPVdK0ogppE3K88d1jrItxceIdNOCejL5x2RIpafg/4NqaPKqlX/YKe+9Fww
YuadrmMSB1EAl2gGzkPQoieqRZC823VULF94oAFX0LZwElXISq3q63+GiG0htt... | 63.590476 | 64 | 0.951176 |
5f3a63fce8d7d0c0448cf6ed9c3b392cf2a34a15 | 54 | h | C | bookcode/cproject/namespace/two.h | zhangymPerson/Think-in-java-note | b89ca3b90ad3d43d010e4764d06ee5ffff8e118d | [
"Apache-2.0"
] | null | null | null | bookcode/cproject/namespace/two.h | zhangymPerson/Think-in-java-note | b89ca3b90ad3d43d010e4764d06ee5ffff8e118d | [
"Apache-2.0"
] | 3 | 2021-12-14T20:50:59.000Z | 2021-12-18T18:26:01.000Z | bookcode/cproject/namespace/two.h | zhangymPerson/Think-in-java-note | b89ca3b90ad3d43d010e4764d06ee5ffff8e118d | [
"Apache-2.0"
] | null | null | null | #include <iostream>
namespace two
{
void fun();
} | 9 | 19 | 0.62963 |
93fd2959ee0042ff6fdb3aca9c210a3701232a2a | 290 | h | C | util.h | Naoya-Horiguchi/mce-inject | 4cbe46321b4a81365ff3aafafe63967264dbfec5 | [
"Intel"
] | 25 | 2015-03-31T14:30:48.000Z | 2022-01-17T03:29:42.000Z | util.h | Naoya-Horiguchi/mce-inject | 4cbe46321b4a81365ff3aafafe63967264dbfec5 | [
"Intel"
] | 1 | 2017-03-13T03:15:18.000Z | 2017-03-13T03:15:18.000Z | util.h | Naoya-Horiguchi/mce-inject | 4cbe46321b4a81365ff3aafafe63967264dbfec5 | [
"Intel"
] | 16 | 2016-07-07T02:19:27.000Z | 2022-02-21T09:54:32.000Z | #define ARRAY_SIZE(x) (sizeof(x)/sizeof(*(x)))
void err(const char *msg);
#define NEW(x) ((x) = xalloc(sizeof(*(x))))
void *xalloc(size_t sz);
void *xcalloc(size_t a, size_t b);
#ifdef __GNUC__
#define barrier() asm volatile("" ::: "memory")
#else
#define barrier() do {} while(0)
#endif
| 22.307692 | 47 | 0.655172 |
9e0a77d453fbc13a4445bbae13fa2ec7f39861cd | 14,050 | h | C | src/bitcoinrpc.h | xiaolin1579/TDC | c5aadc1676cc9bdb7e558500c55944d3a78fb8be | [
"MIT"
] | 1 | 2019-10-23T22:59:35.000Z | 2019-10-23T22:59:35.000Z | src/bitcoinrpc.h | xiaolin1579/TDC | c5aadc1676cc9bdb7e558500c55944d3a78fb8be | [
"MIT"
] | 14 | 2020-04-19T10:46:52.000Z | 2020-05-12T15:01:50.000Z | src/bitcoinrpc.h | xiaolin1579/TDC | c5aadc1676cc9bdb7e558500c55944d3a78fb8be | [
"MIT"
] | 5 | 2020-01-05T10:55:11.000Z | 2020-05-28T05:12:24.000Z | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef _BITCOINRPC_H_
#define _BITCOINRPC_H_ 1
#include <string>
#include <list>
#inc... | 62.444444 | 243 | 0.730747 |
9e59f7b1f19eb8672cc3c468e6e30d4f221b6e3b | 2,533 | h | C | src/other/ext/gdal/gcore/mdreader/reader_kompsat.h | dservin/brlcad | 34b72d3efd24ac2c84abbccf9452323231751cd1 | [
"BSD-4-Clause",
"BSD-3-Clause"
] | 83 | 2021-03-10T05:54:52.000Z | 2022-03-31T16:33:46.000Z | src/other/ext/gdal/gcore/mdreader/reader_kompsat.h | dservin/brlcad | 34b72d3efd24ac2c84abbccf9452323231751cd1 | [
"BSD-4-Clause",
"BSD-3-Clause"
] | 13 | 2021-06-24T17:07:48.000Z | 2022-03-31T15:31:33.000Z | src/other/ext/gdal/gcore/mdreader/reader_kompsat.h | dservin/brlcad | 34b72d3efd24ac2c84abbccf9452323231751cd1 | [
"BSD-4-Clause",
"BSD-3-Clause"
] | 54 | 2021-03-10T07:57:06.000Z | 2022-03-28T23:20:37.000Z | /******************************************************************************
* $Id$
*
* Project: GDAL Core
* Purpose: Read metadata from Kompsat imagery.
* Author: Alexander Lisovenko
* Author: Dmitry Baryshnikov, polimax@mail.ru
*
***********************************************************************... | 38.378788 | 82 | 0.69167 |
9af6bf3aacb6419226eb3f6f81094829aacaa034 | 9,839 | c | C | gdb/testsuite/gdb.base/printcmds.c | greyblue9/binutils-gdb | 05377632b124fe7600eea7f4ee0e9a35d1b0cbdc | [
"BSD-3-Clause"
] | 1 | 2020-10-14T03:24:35.000Z | 2020-10-14T03:24:35.000Z | gdb/testsuite/gdb.base/printcmds.c | greyblue9/binutils-gdb | 05377632b124fe7600eea7f4ee0e9a35d1b0cbdc | [
"BSD-3-Clause"
] | null | null | null | gdb/testsuite/gdb.base/printcmds.c | greyblue9/binutils-gdb | 05377632b124fe7600eea7f4ee0e9a35d1b0cbdc | [
"BSD-3-Clause"
] | null | null | null | /* This table is used as a source for every ascii character.
It is explicitly unsigned to avoid differences due to native characters
being either signed or unsigned. */
#include <stdlib.h>
unsigned char ctable1[256] = {
0000, 0001, 0002, 0003, 0004, 0005, 0006, 0007,
0010, 0011, 0012, 0013, 0014, 0015, 0016, ... | 37.988417 | 85 | 0.630654 |
7f6aefc0b88108c21cc650c425a748283112635a | 9,851 | c | C | CWE-119/source_files/199319/uninit_pointer.c | CGCL-codes/VulDeePecker | 98610f3e116df97a1e819ffc81fbc7f6f138a8f2 | [
"Apache-2.0"
] | 185 | 2017-12-14T08:18:15.000Z | 2022-03-30T02:58:36.000Z | CWE-119/source_files/199319/uninit_pointer.c | CGCL-codes/VulDeePecker | 98610f3e116df97a1e819ffc81fbc7f6f138a8f2 | [
"Apache-2.0"
] | 11 | 2018-01-30T23:31:20.000Z | 2022-01-17T05:03:56.000Z | CWE-119/source_files/199319/uninit_pointer.c | CGCL-codes/VulDeePecker | 98610f3e116df97a1e819ffc81fbc7f6f138a8f2 | [
"Apache-2.0"
] | 87 | 2018-01-10T08:12:32.000Z | 2022-02-19T10:29:31.000Z | /********Software Analysis - FY2013*************/
/*
* File Name: uninit_pointer.c
* Defect Classification
* ---------------------
* Defect Type: Pointer related defects
* Defect Sub-type: Uninitialized pointer
* Description: Defect Code to identify uninitialized pointer access in the code flow
*/
/*
* uninit_pointer.... | 19.662675 | 128 | 0.638108 |
3d14c7ce5e01f897bc88bba0f754f6ed158bb52a | 7,737 | h | C | lib/dnscore/include/dnscore/packet_reader.h | epo13/yadifa | b33a1badf250d4f86e93bd963544de7bbdf78555 | [
"BSD-3-Clause"
] | null | null | null | lib/dnscore/include/dnscore/packet_reader.h | epo13/yadifa | b33a1badf250d4f86e93bd963544de7bbdf78555 | [
"BSD-3-Clause"
] | null | null | null | lib/dnscore/include/dnscore/packet_reader.h | epo13/yadifa | b33a1badf250d4f86e93bd963544de7bbdf78555 | [
"BSD-3-Clause"
] | null | null | null | /*------------------------------------------------------------------------------
*
* Copyright (c) 2011-2020, EURid vzw. All rights reserved.
* The YADIFA TM software product is provided under the BSD 3-clause license:
*
* Redistribution and use in source and binary forms, with or without
* modification, are perm... | 33.349138 | 137 | 0.745638 |
fa0d038cd8a8eaec8ff358d7ba979385af2bc11f | 8,635 | c | C | unqlite_nif.c | cyoucmi/unqlite-nif | 53df61bcde91c882af8741b2a0c3e98c9f443925 | [
"MIT"
] | 6 | 2015-09-26T04:41:14.000Z | 2020-05-29T20:10:22.000Z | unqlite_nif.c | cyoucmi/unqlite-nif | 53df61bcde91c882af8741b2a0c3e98c9f443925 | [
"MIT"
] | null | null | null | unqlite_nif.c | cyoucmi/unqlite-nif | 53df61bcde91c882af8741b2a0c3e98c9f443925 | [
"MIT"
] | null | null | null | #include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "unqlite/unqlite.h"
#include "erl_nif.h"
#define MAX_PATH 256
static ErlNifResourceType *UnqliteResourceType;
static unqlite *pDb;
static void
UnqliteResourceDtor(ErlNifEnv *env, void *obj){
struct unqlite_kv_cursor **cursor = obj;
unqlit... | 31.514599 | 140 | 0.701679 |
36516c8ddc7f054a18aeaccdcc6226050fa6217c | 61,344 | c | C | usr/src/sbin/ping6/ping6.c | sizeofvoid/ifconfigd | bdff4b2cec6d572c1450cb44f32c0bdab1b49e5f | [
"BSD-2-Clause"
] | 2 | 2020-04-15T13:39:01.000Z | 2020-08-28T01:27:00.000Z | usr/src/sbin/ping6/ping6.c | sizeofvoid/ifconfigd | bdff4b2cec6d572c1450cb44f32c0bdab1b49e5f | [
"BSD-2-Clause"
] | null | null | null | usr/src/sbin/ping6/ping6.c | sizeofvoid/ifconfigd | bdff4b2cec6d572c1450cb44f32c0bdab1b49e5f | [
"BSD-2-Clause"
] | 1 | 2020-08-28T01:25:41.000Z | 2020-08-28T01:25:41.000Z | /* $OpenBSD: ping6.c,v 1.81 2011/03/03 00:30:31 mikeb Exp $ */
/* $KAME: ping6.c,v 1.163 2002/10/25 02:19:06 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provi... | 24.855754 | 84 | 0.63064 |
d2515dafecde85a9bb5459cc516b33f28168fc34 | 3,900 | h | C | 3rdparty/flann/util/logger.h | taontech/open3d4iOS | 589b074901cccf3d23d342fc00f1e917e7b19aee | [
"MIT"
] | 5 | 2020-05-25T19:29:57.000Z | 2021-07-16T17:15:31.000Z | 3rdparty/flann/util/logger.h | taontech/open3dIos | 589b074901cccf3d23d342fc00f1e917e7b19aee | [
"MIT"
] | 4 | 2020-02-24T13:16:58.000Z | 2021-07-16T17:14:01.000Z | 3rdparty/flann/util/logger.h | taontech/open3dIos | 589b074901cccf3d23d342fc00f1e917e7b19aee | [
"MIT"
] | 2 | 2020-03-11T12:25:35.000Z | 2020-12-11T03:10:49.000Z | /***********************************************************************
* Software License Agreement (BSD License)
*
* Copyright 2008-2009 Marius Muja (mariusm@cs.ubc.ca). All rights reserved.
* Copyright 2008-2009 David G. Lowe (lowe@cs.ubc.ca). All rights reserved.
*
* THE BSD LICENSE
*
* Redistribution an... | 28.26087 | 86 | 0.618718 |
9ab61a5417594fe6e21898310fafe0a8ccaa6bab | 1,387 | h | C | include/tools/zet_driver.h | fogflower/level-zero | 7b2002369e0671687f3986fd5085e205bb41be26 | [
"MIT"
] | 1 | 2020-04-30T03:55:17.000Z | 2020-04-30T03:55:17.000Z | include/tools/zet_driver.h | fogflower/level-zero | 7b2002369e0671687f3986fd5085e205bb41be26 | [
"MIT"
] | null | null | null | include/tools/zet_driver.h | fogflower/level-zero | 7b2002369e0671687f3986fd5085e205bb41be26 | [
"MIT"
] | null | null | null | /*
*
* Copyright (C) 2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
* @file zet_driver.h
*
* @brief Intel 'One API' Level-Zero APIs
*
*/
#ifndef _ZET_DRIVER_H
#define _ZET_DRIVER_H
#if defined(__cplusplus)
#pragma once
#endif
#if !defined(_ZET_API_H)
#pragma message("warning: this file is not int... | 25.685185 | 82 | 0.634463 |
82b1f1abfff0bf2d5c1f020143e772ecaf19835c | 537 | h | C | librumur/include/rumur/except.h | civic-fv/rumur-romp | 194ad7307d9452bd265e6da5f4f6a5439fe01c10 | [
"Unlicense"
] | 4 | 2020-10-21T21:12:27.000Z | 2021-10-05T23:22:10.000Z | librumur/include/rumur/except.h | civic-fv/rumur-romp | 194ad7307d9452bd265e6da5f4f6a5439fe01c10 | [
"Unlicense"
] | 216 | 2018-02-11T00:05:20.000Z | 2022-03-10T02:31:58.000Z | librumur/include/rumur/except.h | civic-fv/rumur-romp | 194ad7307d9452bd265e6da5f4f6a5439fe01c10 | [
"Unlicense"
] | 6 | 2020-05-05T08:29:48.000Z | 2022-03-08T20:15:52.000Z | #pragma once
#include <cstddef>
#include "location.hh"
#include <stdexcept>
#include <string>
#ifndef RUMUR_API_WITH_RTTI
#define RUMUR_API_WITH_RTTI __attribute__((visibility("default")))
#endif
namespace rumur {
/* A basic exception to allow us to easily catch only the errors thrown by
* ourselves.
*/
class RUM... | 19.888889 | 74 | 0.743017 |
190d8897311a4df445cf735fe73ccb8ca32e03ad | 3,207 | h | C | Frameworks/PhotosUI.framework/PUAlbumStreamActivity.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | 36 | 2016-04-20T04:19:04.000Z | 2018-10-08T04:12:25.000Z | Frameworks/PhotosUI.framework/PUAlbumStreamActivity.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | null | null | null | Frameworks/PhotosUI.framework/PUAlbumStreamActivity.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | 10 | 2016-06-16T02:40:44.000Z | 2019-01-15T03:31:45.000Z | /* Generated by RuntimeBrowser
Image: /System/Library/Frameworks/PhotosUI.framework/PhotosUI
*/
@interface PUAlbumStreamActivity : PUActivity <PUPhotoStreamComposeServiceDelegate, PUVideoTrimQueueControllerDelegate> {
UIViewController * _activityController;
<PUAlbumStreamActivityDelegate> * _delegate;
... | 47.161765 | 243 | 0.80449 |
d2ed70694a2cd02c0eef1893b5182bea00bc95b8 | 4,258 | h | C | searchlib/src/vespa/searchlib/predicate/predicate_index.h | amahussein/vespa | 29d266ae1e5c95e25002b97822953fdd02b1451e | [
"Apache-2.0"
] | 1 | 2020-06-02T13:28:29.000Z | 2020-06-02T13:28:29.000Z | searchlib/src/vespa/searchlib/predicate/predicate_index.h | amahussein/vespa | 29d266ae1e5c95e25002b97822953fdd02b1451e | [
"Apache-2.0"
] | 1 | 2021-03-31T22:24:20.000Z | 2021-03-31T22:24:20.000Z | searchlib/src/vespa/searchlib/predicate/predicate_index.h | amahussein/vespa | 29d266ae1e5c95e25002b97822953fdd02b1451e | [
"Apache-2.0"
] | 1 | 2020-09-03T11:39:52.000Z | 2020-09-03T11:39:52.000Z | // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "common.h"
#include "document_features_store.h"
#include "predicate_interval_store.h"
#include "simple_index.h"
#include "predicate_interval.h"
#include <vespa/searchlib/common/... | 37.350877 | 118 | 0.75458 |
cf455df1119c3be4b36faf1809cc19808382ff20 | 34,615 | c | C | hw/drivers/bq27z561/src/bq27z561.c | zerog2k/mynewt-core | d822f91a9520ffdea5070ee343c5cb0c0ffef9e4 | [
"Apache-2.0"
] | null | null | null | hw/drivers/bq27z561/src/bq27z561.c | zerog2k/mynewt-core | d822f91a9520ffdea5070ee343c5cb0c0ffef9e4 | [
"Apache-2.0"
] | null | null | null | hw/drivers/bq27z561/src/bq27z561.c | zerog2k/mynewt-core | d822f91a9520ffdea5070ee343c5cb0c0ffef9e4 | [
"Apache-2.0"
] | null | null | null | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 28.119415 | 98 | 0.650672 |
5cbb2d43a784dd429e9f67c8ffe9882778b4165a | 490 | h | C | src/renderer/vulkan/CommandBuffer.h | Ryp/reaper | da7b3aa4a69b95ced2496214e5cea4eb7823593a | [
"MIT"
] | 10 | 2018-08-16T05:32:46.000Z | 2022-02-04T09:55:54.000Z | src/renderer/vulkan/CommandBuffer.h | Ryp/reaper | da7b3aa4a69b95ced2496214e5cea4eb7823593a | [
"MIT"
] | null | null | null | src/renderer/vulkan/CommandBuffer.h | Ryp/reaper | da7b3aa4a69b95ced2496214e5cea4eb7823593a | [
"MIT"
] | 1 | 2019-05-13T17:56:35.000Z | 2019-05-13T17:56:35.000Z | ////////////////////////////////////////////////////////////////////////////////
/// Reaper
///
/// Copyright (c) 2015-2021 Thibault Schueller
/// This file is distributed under the MIT License
////////////////////////////////////////////////////////////////////////////////
#pragma once
#include "api/Vulkan.h"
struc... | 22.272727 | 80 | 0.479592 |
a9ed6f36e6ead1d32bf754b50d5eaed3068d6cf2 | 11,450 | c | C | SOFTWARE/A64-TERES/linux-a64/fs/minix/dir.c | xloem/DIY-LAPTOP | f2a410706f7a919ac644de073c570629d5601203 | [
"Apache-2.0"
] | 2 | 2017-10-30T12:25:44.000Z | 2019-08-25T09:01:38.000Z | SOFTWARE/A64-TERES/linux-a64/fs/minix/dir.c | xloem/DIY-LAPTOP | f2a410706f7a919ac644de073c570629d5601203 | [
"Apache-2.0"
] | null | null | null | SOFTWARE/A64-TERES/linux-a64/fs/minix/dir.c | xloem/DIY-LAPTOP | f2a410706f7a919ac644de073c570629d5601203 | [
"Apache-2.0"
] | 4 | 2017-12-19T10:52:20.000Z | 2019-08-25T09:01:40.000Z | /*
* linux/fs/minix/dir.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*
* minix directory handling functions
*
* Updated to filesystem version 3 by Daniel Aragones
*/
#include "minix.h"
#include <linux/buffer_head.h>
#include <linux/highmem.h>
#include <linux/swap.h>
typedef struct minix_dir_entry minix_d... | 23.953975 | 78 | 0.66131 |
b762b2f42f7b46e3b1a9fb83c605e1a3cf041414 | 4,376 | h | C | decoder/ixheaacd_type_def.h | khadas/android_external_libxaac | a6f303c9320a81de4314e611d78b2afc11432785 | [
"Apache-2.0"
] | null | null | null | decoder/ixheaacd_type_def.h | khadas/android_external_libxaac | a6f303c9320a81de4314e611d78b2afc11432785 | [
"Apache-2.0"
] | null | null | null | decoder/ixheaacd_type_def.h | khadas/android_external_libxaac | a6f303c9320a81de4314e611d78b2afc11432785 | [
"Apache-2.0"
] | null | null | null | /******************************************************************************
* *
* Copyright (C) 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except ... | 48.622222 | 79 | 0.561015 |
c84d7a7442f77f80a29c91aff0ceb7f0067ada0f | 889 | h | C | Part B/PhoneBook.h | burakkorki/Phonebook_Cs201 | 3bed6d2814e5d23360cade3188b8e2c98394b0e2 | [
"MIT"
] | null | null | null | Part B/PhoneBook.h | burakkorki/Phonebook_Cs201 | 3bed6d2814e5d23360cade3188b8e2c98394b0e2 | [
"MIT"
] | null | null | null | Part B/PhoneBook.h | burakkorki/Phonebook_Cs201 | 3bed6d2814e5d23360cade3188b8e2c98394b0e2 | [
"MIT"
] | null | null | null | //
// PhoneBook.hpp
// Homework-3-PartB
//
// Created by Burak Korkmaz on 13.12.2018.
// Copyright © 2018 Burak Korkmaz. All rights reserved.
//
#ifndef __PHONEBOOK_H
#define __PHONEBOOK_H
#include <string>
using namespace std;
#include "Person.h"
class PhoneBook {
public:
PhoneBook();
~PhoneBook();
... | 22.225 | 68 | 0.667042 |
4e19aec666d252f5f2997837a28ace9291aff375 | 11,983 | c | C | tests/pem_utils_test.c | grrtrr/aws-c-io | d4a2a8ba2f0bb27fb9fe29f6acb4b1a18820cb18 | [
"Apache-2.0"
] | 77 | 2018-11-21T12:00:44.000Z | 2022-01-18T00:09:10.000Z | tests/pem_utils_test.c | grrtrr/aws-c-io | d4a2a8ba2f0bb27fb9fe29f6acb4b1a18820cb18 | [
"Apache-2.0"
] | 74 | 2018-10-20T02:13:53.000Z | 2022-03-25T04:28:08.000Z | tests/pem_utils_test.c | grrtrr/aws-c-io | d4a2a8ba2f0bb27fb9fe29f6acb4b1a18820cb18 | [
"Apache-2.0"
] | 45 | 2019-02-27T21:47:20.000Z | 2022-03-15T13:06:45.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/common/string.h>
#include <aws/io/private/pem_utils.h>
#include <aws/testing/aws_test_harness.h>
static int s_check_clean_pem_result(
struct aws_byte_cursor dirty_pem,
struct aws... | 82.075342 | 119 | 0.602437 |
eccece153c5e70dc876a0352961498a5c9425ef3 | 1,594 | c | C | feladatok_megoldas/4_Programozasi_tetelek/4.5_Rendezes/example_4.5.5.c | pekmil/CTutorial | e5d8e1b2d7cbab98669757219dfa212267d5f14a | [
"MIT"
] | null | null | null | feladatok_megoldas/4_Programozasi_tetelek/4.5_Rendezes/example_4.5.5.c | pekmil/CTutorial | e5d8e1b2d7cbab98669757219dfa212267d5f14a | [
"MIT"
] | null | null | null | feladatok_megoldas/4_Programozasi_tetelek/4.5_Rendezes/example_4.5.5.c | pekmil/CTutorial | e5d8e1b2d7cbab98669757219dfa212267d5f14a | [
"MIT"
] | null | null | null | /********************************************************************************************************************
* 4.5.5 Feladat(!) *
* Olvass be egy tízelemű tömböt ... | 22.771429 | 118 | 0.417189 |
bd0fae7a47538736b220aab09569143406ed7c4d | 18,925 | h | C | moveit_planners/pilz_industrial_motion_planner/test/test_utils.h | predystopic-dev/moveit2 | 42afeea561949b1af197655c1cbb63b851e7dd8d | [
"BSD-3-Clause"
] | null | null | null | moveit_planners/pilz_industrial_motion_planner/test/test_utils.h | predystopic-dev/moveit2 | 42afeea561949b1af197655c1cbb63b851e7dd8d | [
"BSD-3-Clause"
] | null | null | null | moveit_planners/pilz_industrial_motion_planner/test/test_utils.h | predystopic-dev/moveit2 | 42afeea561949b1af197655c1cbb63b851e7dd8d | [
"BSD-3-Clause"
] | null | null | null | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2018 Pilz GmbH & Co. KG
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following c... | 38.86037 | 120 | 0.705258 |
08b58c3b4f957e84c067f625d4c1a064c3e39a36 | 1,656 | h | C | src/burstmath.h | spebern/cpp-burst-pool-node | 0cbf0759cd166ef7c3f850059180d3a8ceb158eb | [
"MIT"
] | null | null | null | src/burstmath.h | spebern/cpp-burst-pool-node | 0cbf0759cd166ef7c3f850059180d3a8ceb158eb | [
"MIT"
] | null | null | null | src/burstmath.h | spebern/cpp-burst-pool-node | 0cbf0759cd166ef7c3f850059180d3a8ceb158eb | [
"MIT"
] | 2 | 2018-09-20T16:11:14.000Z | 2018-12-12T08:46:30.000Z | #ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#include <stdbool.h>
uint32_t
calculate_scoop(const uint64_t height, const uint8_t *gensig);
void
calculate_deadlines_sse4(
bool poc2,
uint64_t base_target1, uint64_t base_target2, uint64_t base_target3, uint64_t base_target4,
... | 32.470588 | 101 | 0.713768 |
2645f73304177b4d5810752b3b6008e0e636f5b2 | 418 | h | C | bsp/gd32vf103v-eval/libraries/n22/drivers/n22_tmr.h | Tigerots/rt-thread | c95987e75772ebc6a6fdd0c19d12001aef810cb2 | [
"Apache-2.0"
] | 7,482 | 2015-01-01T09:23:08.000Z | 2022-03-31T19:34:05.000Z | bsp/gd32vf103v-eval/libraries/n22/drivers/n22_tmr.h | Tigerots/rt-thread | c95987e75772ebc6a6fdd0c19d12001aef810cb2 | [
"Apache-2.0"
] | 2,543 | 2015-01-09T02:01:34.000Z | 2022-03-31T23:10:14.000Z | bsp/gd32vf103v-eval/libraries/n22/drivers/n22_tmr.h | Tigerots/rt-thread | c95987e75772ebc6a6fdd0c19d12001aef810cb2 | [
"Apache-2.0"
] | 4,645 | 2015-01-06T07:05:31.000Z | 2022-03-31T18:21:50.000Z | // See LICENSE file for licence details
#ifndef N22_TMR_H
#define N22_TMR_H
#define TMR_MSIP 0xFFC
#define TMR_MSIP_size 0x4
#define TMR_MTIMECMP 0x8
#define TMR_MTIMECMP_size 0x8
#define TMR_MTIME 0x0
#define TMR_MTIME_size 0x8
#define TMR_CTRL_ADDR 0xd1000000
#define TMR_REG(offset) _REG32(TMR_... | 23.222222 | 70 | 0.748804 |
237194b47c181b1e842c7384d1379510f91dd6aa | 3,237 | c | C | utils/wav2pcm.c | spxnndl/wav-file | 1fb4f1a1cbc21e35830bab191c8895f3a493b1a6 | [
"MIT"
] | null | null | null | utils/wav2pcm.c | spxnndl/wav-file | 1fb4f1a1cbc21e35830bab191c8895f3a493b1a6 | [
"MIT"
] | null | null | null | utils/wav2pcm.c | spxnndl/wav-file | 1fb4f1a1cbc21e35830bab191c8895f3a493b1a6 | [
"MIT"
] | null | null | null | #include "wav_file.h"
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
static const char* wav_file = NULL;
static const char* pcm_file = NULL;
static SampleFormat sample_format = kSampleFormatInvalid;
static void print_help(const char* program) {
printf("Usage: %s ... | 29.162162 | 94 | 0.539697 |
23be2d446cf129143ecad3df2458033cc4fc14ba | 65 | h | C | src/keyboard.h | sporeball/nn | fb894706521db9d44135817ba21e9922e370d1e5 | [
"MIT"
] | 2 | 2022-01-28T06:52:15.000Z | 2022-01-28T22:19:36.000Z | src/keyboard.h | sporeball/nn | fb894706521db9d44135817ba21e9922e370d1e5 | [
"MIT"
] | null | null | null | src/keyboard.h | sporeball/nn | fb894706521db9d44135817ba21e9922e370d1e5 | [
"MIT"
] | null | null | null | #ifndef KEYBOARD_H
#define KEYBOARD_H
void kb_handle();
#endif
| 9.285714 | 18 | 0.769231 |
1ebdf2d9b2b3107e135c958203e34c2dcbceb377 | 1,147 | h | C | src/MassHandler.h | BR903/percolator | 2d9315699cf3309421b83c4c21ce8275ede87089 | [
"Apache-2.0"
] | 71 | 2015-03-30T17:22:52.000Z | 2022-01-01T14:19:23.000Z | src/MassHandler.h | BR903/percolator | 2d9315699cf3309421b83c4c21ce8275ede87089 | [
"Apache-2.0"
] | 190 | 2015-01-27T16:18:58.000Z | 2022-03-31T16:49:58.000Z | src/MassHandler.h | BR903/percolator | 2d9315699cf3309421b83c4c21ce8275ede87089 | [
"Apache-2.0"
] | 45 | 2015-04-13T13:42:35.000Z | 2021-12-17T08:26:21.000Z | /*******************************************************************************
Copyright 2006-2012 Lukas Käll <lukas.kall@scilifelab.se>
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:... | 32.771429 | 92 | 0.653008 |
14607bef1396cc435369e89efe2f786e4817ef9a | 1,504 | h | C | BasiliskII/src/Windows/cdenable/cache.h | jvernet/macemu | c616a0dae0f451fc15016765c896175fae3f46cf | [
"Intel",
"X11"
] | 940 | 2015-01-04T12:20:10.000Z | 2022-03-29T12:35:27.000Z | BasiliskII/src/Windows/cdenable/cache.h | Seanpm2001-virtual-machines/macemu | c616a0dae0f451fc15016765c896175fae3f46cf | [
"Intel",
"X11"
] | 163 | 2015-02-10T09:08:10.000Z | 2022-03-13T05:48:10.000Z | BasiliskII/src/Windows/cdenable/cache.h | Seanpm2001-virtual-machines/macemu | c616a0dae0f451fc15016765c896175fae3f46cf | [
"Intel",
"X11"
] | 188 | 2015-01-07T19:46:11.000Z | 2022-03-26T19:06:00.000Z | /*
* cache.cpp - simple floppy/cd cache for Win32
*
* Basilisk II (C) 1997-2008 Christian Bauer
*
* Windows platform specific code copyright (C) Lauri Pesonen
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published... | 29.490196 | 78 | 0.702793 |
e7e2a8ad2a8d3d6192a499fb40967c425e6904bc | 2,544 | h | C | smbprovider/id_map.h | ascii33/platform2 | b78891020724e9ff26b11ca89c2a53f949e99748 | [
"BSD-3-Clause"
] | null | null | null | smbprovider/id_map.h | ascii33/platform2 | b78891020724e9ff26b11ca89c2a53f949e99748 | [
"BSD-3-Clause"
] | null | null | null | smbprovider/id_map.h | ascii33/platform2 | b78891020724e9ff26b11ca89c2a53f949e99748 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2018 The Chromium OS 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 SMBPROVIDER_ID_MAP_H_
#define SMBPROVIDER_ID_MAP_H_
#include <algorithm>
#include <stack>
#include <unordered_map>
#include <utility>
#includ... | 24.941176 | 78 | 0.684355 |
9b482e7a84fc2bbf31c47b074ccd214f19090f4e | 1,033 | h | C | Kernel/include/hashMap.h | juangod1/SO-TP2 | 1e2487acac3e64b4e135e3a733102fe9142f8805 | [
"BSD-3-Clause"
] | 1 | 2020-04-22T02:39:31.000Z | 2020-04-22T02:39:31.000Z | Kernel/include/hashMap.h | juangod1/SO-TP2 | 1e2487acac3e64b4e135e3a733102fe9142f8805 | [
"BSD-3-Clause"
] | null | null | null | Kernel/include/hashMap.h | juangod1/SO-TP2 | 1e2487acac3e64b4e135e3a733102fe9142f8805 | [
"BSD-3-Clause"
] | null | null | null | #ifndef SO_TP2_HASHMAP_H
#define SO_TP2_HASHMAP_H
#define INITIAL_SIZE (256)
#define MAX_CHAIN_LENGTH (8)
#define MAP_MISSING -3 /* No such element */
#define MAP_FULL -2 /* Hashmap is full */
#define MAP_OMEM -1 /* Out of Memory */
#define MAP_OK 0 /* OK */
typedef void *any_t;
typedef int (*PFany)(any_t, any... | 23.477273 | 62 | 0.730881 |
bb552e9970d822060260fae90f5ffd84d0c86284 | 757 | h | C | src/Parallelizer2OpenMP.h | g1257/PsimagLite | 1cdeb4530c66cd41bd0c59af9ad2ecb1069ca010 | [
"Unlicense"
] | 8 | 2015-08-19T16:06:52.000Z | 2021-12-05T02:37:47.000Z | src/Parallelizer2OpenMP.h | g1257/PsimagLite | 1cdeb4530c66cd41bd0c59af9ad2ecb1069ca010 | [
"Unlicense"
] | 5 | 2016-02-02T20:28:21.000Z | 2019-07-08T22:56:12.000Z | src/Parallelizer2OpenMP.h | g1257/PsimagLite | 1cdeb4530c66cd41bd0c59af9ad2ecb1069ca010 | [
"Unlicense"
] | 5 | 2016-04-29T17:28:00.000Z | 2019-11-22T03:33:19.000Z | #ifndef PARALLELIZER2OPENMP_H
#define PARALLELIZER2OPENMP_H
#include "Vector.h"
#include <omp.h>
#include "CodeSectionParams.h"
namespace PsimagLite {
template<typename = int>
class Parallelizer2 {
public:
Parallelizer2(const CodeSectionParams& codeParams)
: threads_(codeParams.npthreads)
{
omp_set_num_thr... | 18.463415 | 77 | 0.747688 |
bb937156a30e5165b8bf44bed8809276958a531c | 1,793 | h | C | include/fengine/docu.h | LukasBanana/ForkENGINE | 8b575bd1d47741ad5025a499cb87909dbabc3492 | [
"BSD-3-Clause"
] | 13 | 2017-03-21T22:46:18.000Z | 2020-07-30T01:31:57.000Z | include/fengine/docu.h | LukasBanana/ForkENGINE | 8b575bd1d47741ad5025a499cb87909dbabc3492 | [
"BSD-3-Clause"
] | null | null | null | include/fengine/docu.h | LukasBanana/ForkENGINE | 8b575bd1d47741ad5025a499cb87909dbabc3492 | [
"BSD-3-Clause"
] | 2 | 2018-07-23T19:56:41.000Z | 2020-07-30T01:32:01.000Z | /*
* Doxygen docu extensions header
*
* This file is part of the "ForkENGINE" (Copyright (c) 2014 by Lukas Hermanns)
* See "LICENSE.txt" for license information.
*/
#ifndef __FORK_DOCU_H__
#define __FORK_DOCU_H__
/**
\defgroup math_core Core Math Functionality (Vectors, Matrices, Quaternions etc.).
\defgroup l... | 24.561644 | 82 | 0.773006 |
f4d68aa22fdb97d17b242b6f27359a157e79e543 | 1,178 | h | C | ServerKeeper/MPatchCheckMap.h | WhyWolfie/source2007 | 324257e9c69bbaec872ebb7ae4f96ab2ce98f520 | [
"FSFAP"
] | null | null | null | ServerKeeper/MPatchCheckMap.h | WhyWolfie/source2007 | 324257e9c69bbaec872ebb7ae4f96ab2ce98f520 | [
"FSFAP"
] | null | null | null | ServerKeeper/MPatchCheckMap.h | WhyWolfie/source2007 | 324257e9c69bbaec872ebb7ae4f96ab2ce98f520 | [
"FSFAP"
] | null | null | null | #ifndef _PATCH_CHECK_MAP
#define _PATCH_CHECK_MAP
#include <windows.h>
#include <map>
using namespace std;
#include "ServerKeeperConst.h"
class MPatchCheckMap : private map< JOB_STATE, JOB_STATE >
{
public :
MPatchCheckMap();
~MPatchCheckMap();
void Init();
void Check( const JOB_STATE nJob, const JOB_STATE nS... | 23.56 | 64 | 0.765705 |
a584a56ac44a173c37209ca73f3ba8cb21adf516 | 29,334 | c | C | libeasyice/src/H264DecDll/JM17.2/ldecod/src/block.c | codetalks-new/libeasyice | 56781ff4a1c5a070526c87790fc34594c25a5846 | [
"MIT"
] | 45 | 2019-07-22T02:43:47.000Z | 2021-08-02T01:53:43.000Z | libeasyice/src/H264DecDll/JM17.2/ldecod/src/block.c | codetalks-new/libeasyice | 56781ff4a1c5a070526c87790fc34594c25a5846 | [
"MIT"
] | null | null | null | libeasyice/src/H264DecDll/JM17.2/ldecod/src/block.c | codetalks-new/libeasyice | 56781ff4a1c5a070526c87790fc34594c25a5846 | [
"MIT"
] | 19 | 2019-09-04T01:31:18.000Z | 2021-11-03T05:32:14.000Z |
/*!
***********************************************************************
* \file
* block.c
*
* \brief
* Block functions
*
* \author
* Main contributors (see contributors.h for copyright, address and affiliation details)
* - Inge Lille-Langoy <inge.lille-langoy@te... | 33.951389 | 184 | 0.504057 |
538cf2ff3070805f370d82f1cf2081469f07711b | 708 | h | C | async/coroutine/coroutine_notifier.h | smallsunsun1/async_lib | d1e88aa73a1084a9549f884241266c8bdf568411 | [
"Apache-2.0",
"MIT"
] | null | null | null | async/coroutine/coroutine_notifier.h | smallsunsun1/async_lib | d1e88aa73a1084a9549f884241266c8bdf568411 | [
"Apache-2.0",
"MIT"
] | null | null | null | async/coroutine/coroutine_notifier.h | smallsunsun1/async_lib | d1e88aa73a1084a9549f884241266c8bdf568411 | [
"Apache-2.0",
"MIT"
] | null | null | null | #ifndef ASYNC_COROUTINE_COROUTINE_NOTIFIER_
#define ASYNC_COROUTINE_COROUTINE_NOTIFIER_
#include <condition_variable>
#include <mutex>
class CoroutineNotifier {
public:
CoroutineNotifier(bool isSet) : mIsSet(isSet) {}
CoroutineNotifier() = default;
~CoroutineNotifier() = default;
void Set() {
std::unique... | 22.125 | 56 | 0.682203 |
5b31d3e44cf4d0e62b31e0701e4ddcfc25b8d11b | 1,461 | h | C | aigmain/aigmain/game_impl.h | sidsahay/aig | b186cad11605469e514e61759af4932dd250fc7a | [
"MIT"
] | null | null | null | aigmain/aigmain/game_impl.h | sidsahay/aig | b186cad11605469e514e61759af4932dd250fc7a | [
"MIT"
] | null | null | null | aigmain/aigmain/game_impl.h | sidsahay/aig | b186cad11605469e514e61759af4932dd250fc7a | [
"MIT"
] | null | null | null | #pragma once
#include "game.h"
template <typename GameT>
void aig::IAgent<GameT>::SetId(int id)
{
_id = id;
}
template<typename GameT>
inline aig::IAgent<GameT>::~IAgent()
{
}
template <typename GameT>
void aig::GameSystem<GameT>::RegisterAgent(IAgent<GameT> * agent)
{
//TODO use a PRNG here to generate a pr... | 22.476923 | 92 | 0.67488 |
1286753661ee69ea21f02dfca3b11741ebbd3542 | 5,115 | h | C | src/QmlUtils.h | SammyEnigma/Kaidan | ad8c6a419a13024c71f54fefa820400e21dfc77c | [
"Apache-2.0"
] | 81 | 2016-11-02T20:25:38.000Z | 2021-12-19T23:45:03.000Z | src/QmlUtils.h | KDE/kaidan | e6292d8dc8ea4827fef5d0b4dc398446d73c6a6a | [
"Apache-2.0"
] | 148 | 2016-10-31T15:56:35.000Z | 2018-06-06T17:35:20.000Z | src/QmlUtils.h | KDE/kaidan | e6292d8dc8ea4827fef5d0b4dc398446d73c6a6a | [
"Apache-2.0"
] | 28 | 2016-10-31T16:15:14.000Z | 2020-05-19T20:31:14.000Z | /*
* Kaidan - A user-friendly XMPP client for every device!
*
* Copyright (C) 2016-2021 Kaidan developers and contributors
* (see the LICENSE file for a full list of copyright authors)
*
* Kaidan is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License a... | 28.259669 | 110 | 0.727273 |
3e427088e56ba512a4e6483f0639ca7bf592c311 | 647 | h | C | src/prod/src/data/txnreplicator/loggingreplicator/ILogManager.h | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 2,542 | 2018-03-14T21:56:12.000Z | 2019-05-06T01:18:20.000Z | src/prod/src/data/txnreplicator/loggingreplicator/ILogManager.h | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 994 | 2019-05-07T02:39:30.000Z | 2022-03-31T13:23:04.000Z | src/prod/src/data/txnreplicator/loggingreplicator/ILogManager.h | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 300 | 2018-03-14T21:57:17.000Z | 2019-05-06T20:07:00.000Z | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#pragma once
namespace Data
{... | 25.88 | 98 | 0.50541 |
3e45b19d79f9ee7aa7d1455313116027a48e475c | 25,762 | c | C | net/r_t4_rx/T4_src/ether.c | hirakuni45/RX | 3fb91bfc8d5282cde7aa00b8bd37f4aad32582d0 | [
"BSD-3-Clause"
] | 56 | 2015-06-04T14:15:38.000Z | 2022-03-01T22:58:49.000Z | net/r_t4_rx/T4_src/ether.c | duybang140494/RX | 7fed06a9d8295f4504e8a08fa589d4a52792095f | [
"BSD-3-Clause"
] | 30 | 2019-07-27T11:03:14.000Z | 2021-12-14T09:59:57.000Z | net/r_t4_rx/T4_src/ether.c | duybang140494/RX | 7fed06a9d8295f4504e8a08fa589d4a52792095f | [
"BSD-3-Clause"
] | 15 | 2017-06-24T11:33:39.000Z | 2021-12-07T07:26:58.000Z | /***********************************************************************************************************************
* DISCLAIMER
* This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products. No
* other uses are authorized. This software is owned by Renesas El... | 35.387363 | 121 | 0.46751 |
e98acc78f4a0aa461d719ab185fa5b2093518986 | 8,309 | h | C | include/mkl_poisson.h | ziyu123/kaldi_feature | 69fe7f1eb19fb954906f469a1abac40ca425fa2f | [
"Apache-2.0"
] | 4 | 2020-03-13T11:24:22.000Z | 2020-11-20T11:25:09.000Z | include/mkl_poisson.h | ziyu123/kaldi_feature | 69fe7f1eb19fb954906f469a1abac40ca425fa2f | [
"Apache-2.0"
] | 3 | 2020-04-09T12:32:18.000Z | 2021-02-20T13:02:06.000Z | include/mkl_poisson.h | ziyu123/kaldi_feature | 69fe7f1eb19fb954906f469a1abac40ca425fa2f | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
! Copyright(C) 2007-2015 Intel Corporation. All Rights Reserved.
!
! The source code, information and material ("Material") contained herein is
! owned by Intel Corporation or its suppliers or licensors, and title to such
! Mate... | 46.679775 | 158 | 0.743892 |
3a13c91642232f449a1dbda7b9150343e53258e0 | 410 | c | C | pam_bio.c | ccat3z/pam_bio | 3f2d105ff25905a212f88600e98106cd4d44c28c | [
"MIT"
] | 1 | 2021-07-07T23:46:43.000Z | 2021-07-07T23:46:43.000Z | pam_bio.c | ccat3z/pam_bio | 3f2d105ff25905a212f88600e98106cd4d44c28c | [
"MIT"
] | null | null | null | pam_bio.c | ccat3z/pam_bio | 3f2d105ff25905a212f88600e98106cd4d44c28c | [
"MIT"
] | null | null | null | #include <security/pam_modules.h>
#include <glib.h>
extern int do_authenticate (pam_handle_t* pamh, int flags, gint argc, gchar** argv);
PAM_EXTERN int pam_sm_authenticate (pam_handle_t* pamh, int flags, int argc, const char** argv) {
return do_authenticate(pamh, flags, argc, argv);
}
PAM_EXTERN int pam_sm_setcr... | 34.166667 | 97 | 0.746341 |
b16f8cc596f0a4b03bc83d69e0ec80691114753b | 1,704 | h | C | src/os/aix/sigar_os.h | timwr/sigar | b08b66d81604d716a68db1b89b10deb8971532bd | [
"Apache-2.0"
] | 4 | 2017-05-20T00:45:11.000Z | 2020-11-24T23:07:00.000Z | src/os/aix/sigar_os.h | timwr/sigar | b08b66d81604d716a68db1b89b10deb8971532bd | [
"Apache-2.0"
] | 3 | 2016-07-20T20:16:58.000Z | 2017-02-19T13:41:28.000Z | src/os/aix/sigar_os.h | timwr/sigar | b08b66d81604d716a68db1b89b10deb8971532bd | [
"Apache-2.0"
] | 4 | 2018-03-06T18:55:30.000Z | 2020-11-24T23:06:07.000Z | /*
* Copyright (c) 2004-2007, 2009 Hyperic, Inc.
* Copyright (c) 2009 SpringSource, Inc.
* Copyright (c) 2010 VMware, 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
*
* htt... | 23.666667 | 75 | 0.703638 |
38e350a9d19f825ec5de365b41557dabd9b6b4ce | 786 | h | C | src/naive_kernel_kmeans.h | jutinguely/fast-kmeans | 0f0034851653875f8a8627aab76603c8171f9593 | [
"MIT"
] | 35 | 2018-05-10T19:50:20.000Z | 2022-03-21T06:41:19.000Z | src/naive_kernel_kmeans.h | jutinguely/fast-kmeans | 0f0034851653875f8a8627aab76603c8171f9593 | [
"MIT"
] | 14 | 2018-05-10T20:19:18.000Z | 2019-06-04T16:19:11.000Z | src/naive_kernel_kmeans.h | jutinguely/fast-kmeans | 0f0034851653875f8a8627aab76603c8171f9593 | [
"MIT"
] | 6 | 2018-11-01T10:52:11.000Z | 2021-08-09T20:46:02.000Z | #ifndef NAIVE_KERNEL_KMEANS_H
#define NAIVE_KERNEL_KMEANS_H
/* Authors: Greg Hamerly and Jonathan Drake
* Feedback: hamerly@cs.baylor.edu
* See: http://cs.baylor.edu/~hamerly/software/kmeans.php
* Copyright 2014
*
* NaiveKernelKmeans is a kernelized k-means algorithm that has no acceleration
* applied.
*/
#inc... | 25.354839 | 79 | 0.660305 |
cedda4a1c3785c11f28caf76b986391613f992e7 | 371 | c | C | string/strtok.c | msathieu/freestanding-libc | 0977c926fb4f6cfdaea6641b2bf5a4d877db2060 | [
"Unlicense"
] | 1 | 2021-12-15T02:51:49.000Z | 2021-12-15T02:51:49.000Z | string/strtok.c | msathieu/freestanding-libc | 0977c926fb4f6cfdaea6641b2bf5a4d877db2060 | [
"Unlicense"
] | 1 | 2021-10-06T03:06:28.000Z | 2021-12-21T10:53:55.000Z | string/strtok.c | msathieu/freestanding-libc | 0977c926fb4f6cfdaea6641b2bf5a4d877db2060 | [
"Unlicense"
] | null | null | null | #include <string.h>
char* strtok(char* restrict new_str, const char* restrict sep) {
static char* str;
if (new_str) {
str = new_str;
} else if (!str) {
return 0;
}
str += strspn(str, sep);
if (!str[0]) {
return 0;
}
char* return_value = str;
str += strcspn(str, sep);
if (str[0]) {
s... | 16.863636 | 64 | 0.555256 |
331506215bf61b97ce711449d99f90800d17e870 | 2,514 | h | C | code/wxWidgets/include/wx/motif/control.h | Bloodknight/NeuTorsion | a5890e9ca145a8c1b6bec7b70047a43d9b1c29ea | [
"MIT"
] | 38 | 2016-02-20T02:46:28.000Z | 2021-11-17T11:39:57.000Z | code/wxWidgets/include/wx/motif/control.h | Dwarf-King/TorsionEditor | e6887d1661ebaf4ccbf1d09f2690e2bf805fbb50 | [
"MIT"
] | 17 | 2016-02-20T02:19:55.000Z | 2021-02-08T15:15:17.000Z | code/wxWidgets/include/wx/motif/control.h | Dwarf-King/TorsionEditor | e6887d1661ebaf4ccbf1d09f2690e2bf805fbb50 | [
"MIT"
] | 46 | 2016-02-20T02:47:33.000Z | 2021-01-31T15:46:05.000Z | /////////////////////////////////////////////////////////////////////////////
// Name: control.h
// Purpose: wxControl class
// Author: Julian Smart
// Modified by:
// Created: 17/09/98
// RCS-ID: $Id: control.h,v 1.17 2004/05/23 20:51:22 JS Exp $
// Copyright: (c) Julian Smart
// Licence: ... | 31.037037 | 79 | 0.603023 |
89ace28d71b69d3e39c1abe965e55581fba2ab44 | 267 | c | C | internal/ccall/pathplan.c | edamato/go-graphviz | c6e832de6f05c754b430d996f3493d507ab7061a | [
"MIT"
] | 343 | 2020-01-28T15:13:22.000Z | 2022-03-29T08:03:06.000Z | internal/ccall/pathplan.c | edamato/go-graphviz | c6e832de6f05c754b430d996f3493d507ab7061a | [
"MIT"
] | 31 | 2020-02-21T16:09:37.000Z | 2022-03-29T12:23:19.000Z | internal/ccall/pathplan.c | edamato/go-graphviz | c6e832de6f05c754b430d996f3493d507ab7061a | [
"MIT"
] | 38 | 2020-02-05T11:09:55.000Z | 2022-03-23T19:09:03.000Z | #include "pathplan/cvt.c"
#include "pathplan/inpoly.c"
#include "pathplan/route.c"
#include "pathplan/shortest.c"
#include "pathplan/shortestpth.c"
#include "pathplan/solvers.c"
#include "pathplan/triang.c"
#include "pathplan/util.c"
#include "pathplan/visibility.c"
| 26.7 | 33 | 0.764045 |
e4b9ad02409db96b0362788f23bf35b8259d35bc | 3,857 | h | C | ash/shelf/dimmer_view.h | xzhan96/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 3 | 2018-02-22T18:06:56.000Z | 2021-08-28T12:49:27.000Z | ash/shelf/dimmer_view.h | emilio/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ash/shelf/dimmer_view.h | emilio/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2017-08-16T08:15:01.000Z | 2018-03-27T00:07:30.000Z | // Copyright 2016 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 ASH_SHELF_DIMMER_VIEW_H_
#define ASH_SHELF_DIMMER_VIEW_H_
#include "ash/common/shelf/wm_dimmer_view.h"
#include "ash/common/wm/background_animato... | 33.25 | 80 | 0.730101 |
904c5e439ecaeea84bcc1596564f56755023cf53 | 7,848 | c | C | RRC_Rel14/LTE_CarrierFreqUTRA-TDD-r12.c | brainliubo/openairstudy | 8c1f64d00dcf0fbc6efb4e49d30ce2944f512c69 | [
"Apache-2.0"
] | 1 | 2020-07-08T03:56:32.000Z | 2020-07-08T03:56:32.000Z | RRC_Rel14/LTE_CarrierFreqUTRA-TDD-r12.c | brainliubo/openairstudy | 8c1f64d00dcf0fbc6efb4e49d30ce2944f512c69 | [
"Apache-2.0"
] | null | null | null | RRC_Rel14/LTE_CarrierFreqUTRA-TDD-r12.c | brainliubo/openairstudy | 8c1f64d00dcf0fbc6efb4e49d30ce2944f512c69 | [
"Apache-2.0"
] | null | null | null | /*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "EUTRA-RRC-Definitions"
* found in "/home/guicliu/ue_folder/openair2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-14.7.0.asn1"
* `asn1c -pdu=all -fcompound-names -gen-PER -no-gen-OER -no-gen-example -D /home/guicliu/ue_folder/cmake_targets... | 36.165899 | 161 | 0.71445 |
117e8695a633e216bda542304f811ceb9091290f | 3,141 | h | C | xapian/xapian-core-1.2.13/common/io_utils.h | pgs7179/xapian_modified | 0229c9efb9eca19be4c9f463cd4b793672f24198 | [
"MIT"
] | 2 | 2021-01-13T21:17:42.000Z | 2021-01-13T21:17:42.000Z | xapian/xapian-core-1.2.13/common/io_utils.h | Loslove55/tailbench | fbbf3f31e3f0af1bb7db7f07c2e7193b84abb1eb | [
"MIT"
] | null | null | null | xapian/xapian-core-1.2.13/common/io_utils.h | Loslove55/tailbench | fbbf3f31e3f0af1bb7db7f07c2e7193b84abb1eb | [
"MIT"
] | null | null | null | /** @file io_utils.h
* @brief Wrappers for low-level POSIX I/O routines.
*/
/* Copyright (C) 2006,2007,2008,2009,2011 Olly Betts
* Copyright (C) 2010 Richard Boulton
*
* 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
* t... | 34.141304 | 80 | 0.711875 |
119065d94cc15686a846aa95fb2b5794298ef570 | 1,998 | c | C | compiler/stm_tests.c | tajmone/alan | b76a03eed8b567a130352bea4781203bcf693286 | [
"Artistic-2.0"
] | 12 | 2019-07-30T23:25:12.000Z | 2021-09-07T08:06:10.000Z | compiler/stm_tests.c | tajmone/alan | b76a03eed8b567a130352bea4781203bcf693286 | [
"Artistic-2.0"
] | 40 | 2019-08-01T09:12:47.000Z | 2022-01-09T18:09:51.000Z | compiler/stm_tests.c | tajmone/alan | b76a03eed8b567a130352bea4781203bcf693286 | [
"Artistic-2.0"
] | 2 | 2021-04-21T13:23:10.000Z | 2022-02-21T19:27:45.000Z | #include <cgreen/cgreen.h>
#include "stm_x.h"
#include "lmList.mock"
#include "lmlog.mock"
#include "context.mock"
#include "exp.mock"
#include "emit.mock"
#include "sym.mock"
#include "adv.mock"
#include "wht.mock"
#include "whr.mock"
#include "srcp.mock"
#include "id.mock"
#include "encode.mock"
#include "set.mock"... | 27.369863 | 124 | 0.73974 |
61fa1b3c7b0db8311667d125dc3666226a429920 | 2,162 | h | C | molecular/util/TextStream.h | petrarce/molecular-gfx | fdf95c28a5693a2e1f9abaedda9521f8521b1f84 | [
"MIT"
] | null | null | null | molecular/util/TextStream.h | petrarce/molecular-gfx | fdf95c28a5693a2e1f9abaedda9521f8521b1f84 | [
"MIT"
] | 1 | 2019-10-23T14:33:25.000Z | 2019-10-23T14:33:25.000Z | molecular/util/TextStream.h | petrarce/molecular-gfx | fdf95c28a5693a2e1f9abaedda9521f8521b1f84 | [
"MIT"
] | 2 | 2020-09-24T13:33:39.000Z | 2022-03-29T13:17:47.000Z | /* TextStream.h
MIT License
Copyright (c) 2019 Fabian Herb
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merg... | 24.850575 | 78 | 0.73913 |
500e8c3b75d8ee37bf2265c56acd07825ec24030 | 1,379 | h | C | src/apps/testbedservice/virtual_links/virtual_link_transmission_model_factory.h | itm/shawn | 49cb715d0044a20a01a19bc4d7b62f9f209df83c | [
"BSD-3-Clause"
] | 15 | 2015-07-07T15:48:30.000Z | 2019-10-27T18:49:49.000Z | src/apps/testbedservice/virtual_links/virtual_link_transmission_model_factory.h | itm/shawn | 49cb715d0044a20a01a19bc4d7b62f9f209df83c | [
"BSD-3-Clause"
] | null | null | null | src/apps/testbedservice/virtual_links/virtual_link_transmission_model_factory.h | itm/shawn | 49cb715d0044a20a01a19bc4d7b62f9f209df83c | [
"BSD-3-Clause"
] | 4 | 2016-11-23T05:50:01.000Z | 2019-09-18T12:44:36.000Z | /************************************************************************
** This file is part of the network simulator Shawn. **
** Copyright (C) 2004-2007 by the SwarmNet (www.swarmnet.de) project **
** Shawn is free software; you can redistribute it and/or modify it **
** under the terms of t... | 38.305556 | 95 | 0.661349 |
fb8b1ee2bc3d4beef4eac65e91b8051bd737a221 | 4,096 | c | C | tests/test_litl_pause.c | sthibaul/LiTL | 3c9d0baaa0611b1cdc481c085cee766455491a6c | [
"BSD-2-Clause"
] | 6 | 2020-12-18T12:24:28.000Z | 2022-03-08T15:58:18.000Z | tests/test_litl_pause.c | sthibaul/LiTL | 3c9d0baaa0611b1cdc481c085cee766455491a6c | [
"BSD-2-Clause"
] | null | null | null | tests/test_litl_pause.c | sthibaul/LiTL | 3c9d0baaa0611b1cdc481c085cee766455491a6c | [
"BSD-2-Clause"
] | 1 | 2021-02-14T23:46:55.000Z | 2021-02-14T23:46:55.000Z | /* -*- c-file-style: "GNU" -*- */
/*
* Copyright © Télécom SudParis.
* See COPYING in top-level directory.
*/
/*
* This test simulates the situation when the event recoding is paused.
*/
#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include "litl_types.h"
#i... | 27.863946 | 205 | 0.638428 |
f72bd1c6def0c0e9fd4b9da896d52035f4bccc8b | 880 | c | C | src/mem.c | pi-pi3/funky-kernel | e6938c0e75e5aabf49cc94f6720250f21bf94900 | [
"Zlib"
] | null | null | null | src/mem.c | pi-pi3/funky-kernel | e6938c0e75e5aabf49cc94f6720250f21bf94900 | [
"Zlib"
] | null | null | null | src/mem.c | pi-pi3/funky-kernel | e6938c0e75e5aabf49cc94f6720250f21bf94900 | [
"Zlib"
] | null | null | null |
#include "alloc.h"
#include "holes.h"
#include "mem.h"
extern heap_t heap;
// TODO: frames
int init_mem(frame_t frame_start, frame_t frame_end, size_t heap_start, size_t heap_end) {
init_frames(frame_start, frame_end);
page_t page_start = page_with_addr(heap_start);
page_t page_end = page_with_addr(hea... | 20 | 90 | 0.679545 |
ddc6dd0ea335a6635baebf865a5d3b1cd0bfbd20 | 8,910 | c | C | mpid/ch_p4/p4/lib/p4_fc.c | RWTH-OS/MP-MPICH | f2ae296477bb9d812fda587221b3419c09f85b4a | [
"mpich2"
] | null | null | null | mpid/ch_p4/p4/lib/p4_fc.c | RWTH-OS/MP-MPICH | f2ae296477bb9d812fda587221b3419c09f85b4a | [
"mpich2"
] | null | null | null | mpid/ch_p4/p4/lib/p4_fc.c | RWTH-OS/MP-MPICH | f2ae296477bb9d812fda587221b3419c09f85b4a | [
"mpich2"
] | 1 | 2021-01-23T11:01:01.000Z | 2021-01-23T11:01:01.000Z | /* this file contains the direct fiber channel interface:
p4_initfc
p4_sendfc
p4_recvfc
*/
#include "p4.h"
#include "p4_sys.h"
#include <sys/uio.h>
#include <sys/file.h>
#include <sys/comio.h>
/* #include <fcntl.h> */
#include <sys/devinfo.h>
#include <stdlib.h>
/* #include <netdb.h> */
#include "sf... | 25.457143 | 77 | 0.600786 |
de20cc0afb0d6be277d90b3d8379c125ca835a73 | 1,547 | c | C | masscan_redis/queue.c | luantao/masscan_redis | 30b0330134fe4222a182e053c0a9e7d3fbecc7cf | [
"Apache-2.0"
] | 1 | 2017-06-13T07:45:55.000Z | 2017-06-13T07:45:55.000Z | masscan_redis/queue.c | luantao/masscan_redis | 30b0330134fe4222a182e053c0a9e7d3fbecc7cf | [
"Apache-2.0"
] | null | null | null | masscan_redis/queue.c | luantao/masscan_redis | 30b0330134fe4222a182e053c0a9e7d3fbecc7cf | [
"Apache-2.0"
] | 2 | 2017-03-08T00:19:42.000Z | 2019-06-19T01:19:41.000Z | #include <stdio.h>
#include <stdlib.h>
#include "queue.h"
void initQueue(queue_t * queue_eg) {
queue_eg->head = NULL; //队头标志位
queue_eg->tail = NULL; //队尾标志位
}
/*2.向链队的<span style="background-color: rgb(255, 102, 102);">队尾插入</span>一个元素x*/
void enQueue(queue_t *hq, elemType x) {
node_t * new_p;
new_... | 19.582278 | 78 | 0.505495 |
f51df200c4ffdec87b65616e70de5343529f179e | 25,392 | c | C | montage-tech/src/kware/demux_mp/mplayer/ffmpeg/libavformat/ff_hds.c | kuikuitage/NewCool-UC-3.1.0-priv | 16198d4eae1dd1a1bf4f4ba4b54652688078c018 | [
"Apache-2.0"
] | null | null | null | montage-tech/src/kware/demux_mp/mplayer/ffmpeg/libavformat/ff_hds.c | kuikuitage/NewCool-UC-3.1.0-priv | 16198d4eae1dd1a1bf4f4ba4b54652688078c018 | [
"Apache-2.0"
] | null | null | null | montage-tech/src/kware/demux_mp/mplayer/ffmpeg/libavformat/ff_hds.c | kuikuitage/NewCool-UC-3.1.0-priv | 16198d4eae1dd1a1bf4f4ba4b54652688078c018 | [
"Apache-2.0"
] | 3 | 2016-05-03T05:57:19.000Z | 2021-11-10T21:34:00.000Z | /*
* Adobe HTTP Dynamic Streaming (HDS) demuxer
* Copyright (c) 2013 Cory McCarthy
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2... | 31.700375 | 216 | 0.645124 |
67211653c67a9948477563381df029f495f789e8 | 10,345 | h | C | PhysX-3.2.4_PC_SDK_Core/Source/Common/src/CmNvToolsExtProfiler.h | JayStilla/AIEPhysics | d3e45c1bbe44987a96ed12781ef9781fba06bcfa | [
"MIT"
] | null | null | null | PhysX-3.2.4_PC_SDK_Core/Source/Common/src/CmNvToolsExtProfiler.h | JayStilla/AIEPhysics | d3e45c1bbe44987a96ed12781ef9781fba06bcfa | [
"MIT"
] | null | null | null | PhysX-3.2.4_PC_SDK_Core/Source/Common/src/CmNvToolsExtProfiler.h | JayStilla/AIEPhysics | d3e45c1bbe44987a96ed12781ef9781fba06bcfa | [
"MIT"
] | null | null | null | // This code contains NVIDIA Confidential Information and is disclosed to you
// under a form of NVIDIA software license agreement provided separately to you.
//
// Notice
// NVIDIA Corporation and its licensors retain all intellectual property and
// proprietary rights in and to this software and related documentation... | 36.426056 | 323 | 0.754471 |
e5829f1b13bc8427412ffbf7cf2ac99f4bd22b0c | 2,300 | h | C | DXLiveDevelopProject/DXLiveDevelopProject/Live/gensee_3_6_4/RtSDK.framework/Headers/GSBroadcastDocumentDelegate.h | sandradd/DXLive | 035cac86a3c4231a51881245a6ebe549fd50dd28 | [
"MIT"
] | 1 | 2020-05-11T07:11:54.000Z | 2020-05-11T07:11:54.000Z | DXLiveDevelopProject/DXLiveDevelopProject/Live/gensee_3_6_4/RtSDK.framework/Headers/GSBroadcastDocumentDelegate.h | sandradd/DXLive | 035cac86a3c4231a51881245a6ebe549fd50dd28 | [
"MIT"
] | null | null | null | DXLiveDevelopProject/DXLiveDevelopProject/Live/gensee_3_6_4/RtSDK.framework/Headers/GSBroadcastDocumentDelegate.h | sandradd/DXLive | 035cac86a3c4231a51881245a6ebe549fd50dd28 | [
"MIT"
] | null | null | null | //
// GSBroadcastDocumentDelegate.h
// RtSDK
//
// Created by Gaojin Hsu on 6/29/16.
// Copyright © 2016 Geensee. All rights reserved.
//
#import <Foundation/Foundation.h>
/**
* 直播文档代理,接收直播文档信息回调
*/
@protocol GSBroadcastDocumentDelegate <NSObject>
@required
/**
* 文档模块初始化反馈代理
*
* @param manager 触发此代理的G... | 22.772277 | 142 | 0.737826 |
8cbff571355a45ef931edb9b58b2e37b595d5484 | 8,217 | c | C | external/prowiz/r/FuzzacPacker.c | demozoo/open_depacker | 3d5b41cd159d5d3288de133c69c7ee7fb9605b6c | [
"Apache-2.0"
] | 3 | 2018-01-04T13:13:56.000Z | 2019-05-04T11:54:25.000Z | external/prowiz/r/FuzzacPacker.c | emoon/OpenDepacker | 3d5b41cd159d5d3288de133c69c7ee7fb9605b6c | [
"Apache-2.0"
] | 6 | 2016-01-12T15:20:50.000Z | 2016-01-13T13:43:07.000Z | external/prowiz/r/FuzzacPacker.c | emoon/OpenDepacker | 3d5b41cd159d5d3288de133c69c7ee7fb9605b6c | [
"Apache-2.0"
] | null | null | null | /* testFUZZAC() */
/* Rip_Fuzzac() */
/* Depack_Fuzzac() */
#include "globals.h"
#include "extern.h"
int16_t testFUZZAC ( void )
{
PW_Start_Address = PW_i;
/* test finetune */
for ( PW_k=0 ; PW_k<31 ; PW_k++ )
{
if ( in_data[PW_Start_Address+72+PW_k*68] > 0x0F )
{
return BAD;
}
}
/* ... | 25.678125 | 91 | 0.555312 |
f42ae0076100a87c723fe8903c1bc60df66f7a53 | 21,769 | c | C | sdk-6.5.20/src/soc/dpp/ARAD/arad_api_ingress_packet_queuing.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/src/soc/dpp/ARAD/arad_api_ingress_packet_queuing.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null | sdk-6.5.20/src/soc/dpp/ARAD/arad_api_ingress_packet_queuing.c | copslock/broadcom_cpri | 8e2767676e26faae270cf485591902a4c50cf0c5 | [
"Spencer-94"
] | null | null | null |
#include <soc/mcm/memregs.h>
#if defined(BCM_88650_A0)
/*
* This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
*
* Copyright 2007-2020 Broadcom Inc. All rights reserved.
*/
#ifdef _ERR_MSG_MODULE_NAME
#error "_ERR_MSG_MODULE_NAME... | 23.332262 | 134 | 0.706831 |
a7167ee84eb35ad183a2332ac5f14360b9339436 | 381 | h | C | src/windows/usr.include/unistd.h | philrz/zeek | 22da41abf71ea64988d138fe07d092fbb4ef9be6 | [
"Apache-2.0"
] | 2 | 2020-09-14T03:12:13.000Z | 2020-12-11T20:19:44.000Z | src/windows/usr.include/unistd.h | philrz/zeek | 22da41abf71ea64988d138fe07d092fbb4ef9be6 | [
"Apache-2.0"
] | 27 | 2020-02-28T22:29:21.000Z | 2020-12-24T18:03:24.000Z | src/windows/usr.include/unistd.h | philrz/zeek | 22da41abf71ea64988d138fe07d092fbb4ef9be6 | [
"Apache-2.0"
] | 3 | 2020-05-25T20:14:38.000Z | 2020-11-10T22:58:08.000Z | #pragma once
#include <../include/unistd.h>
#ifdef __cplusplus
extern "C" {
#endif
unsigned alarm(unsigned seconds);
int fork();
int fsync(int fildes);
pid_t getppid(void);
int link(const char *path1, const char * path2);
int pipe(int fildes[2]);
ssize_t pwrite(int fildes, const void *buf, size_t nbyte, off64_t offs... | 18.142857 | 74 | 0.729659 |
4cc8e91727dcabd04ce242f9b90598622741af18 | 303 | c | C | src/PJ/gfx/rebclip0.c | AnimatorPro/Animator-Pro | 6d0b68cd94bb5cfde2cdd05e9a7c8ee1e1cb3cbb | [
"BSD-3-Clause"
] | 119 | 2015-01-10T15:13:50.000Z | 2022-01-24T04:54:34.000Z | src/PJ/gfx/rebclip0.c | AnimatorPro/Animator-Pro | 6d0b68cd94bb5cfde2cdd05e9a7c8ee1e1cb3cbb | [
"BSD-3-Clause"
] | 6 | 2015-10-22T20:14:59.000Z | 2021-07-10T03:25:21.000Z | src/PJ/gfx/rebclip0.c | AnimatorPro/Animator-Pro | 6d0b68cd94bb5cfde2cdd05e9a7c8ee1e1cb3cbb | [
"BSD-3-Clause"
] | 27 | 2015-04-24T22:55:30.000Z | 2022-01-21T13:54:00.000Z | #include "rectang.h"
void bclip0xy_rect(Rectangle *r, /* rectangle to clip */
Rectangle *port) /* boundary rectangle */
/* does a bclip but substitutes x and y with 0 */
{
Rectangle b;
b.x = b.y = 0;
b.width = port->width;
b.height = port->height;
bclip_rect(r,&b);
}
| 21.642857 | 58 | 0.594059 |
5db1c1ed5523aef9d23723f565861f9e421406da | 7,598 | h | C | include/tmx/MapObject.h | DevelopersGuild/C-RPG | 92d33bf5ab14d8c41478d75aa7068f83890a5ea0 | [
"MIT"
] | 4 | 2018-04-15T06:01:06.000Z | 2022-02-26T02:08:59.000Z | include/tmx/MapObject.h | DevelopersGuild/C-RPG | 92d33bf5ab14d8c41478d75aa7068f83890a5ea0 | [
"MIT"
] | 6 | 2016-02-02T07:46:03.000Z | 2016-06-10T18:41:15.000Z | include/tmx/MapObject.h | DevelopersGuild/C-RPG | 92d33bf5ab14d8c41478d75aa7068f83890a5ea0 | [
"MIT"
] | 5 | 2016-03-15T01:12:26.000Z | 2019-02-28T18:51:14.000Z | /*********************************************************************
Matt Marchant 2013 - 2015
SFML Tiled Map Loader - https://github.com/bjorn/tiled/wiki/TMX-Map-Format
http://trederia.blogspot.com/2013/05/tiled-map-loader-for-sfml.html
The zlib license has been used to make this software fully compatible
wit... | 37.245098 | 108 | 0.731113 |
56ba0310432843015469fec3ae0f112b4559b7af | 324 | h | C | MVVMReactiveCocoa/View/BaseClass/MRCWebViewController.h | redanula/MVVMReactiveCocoa | 902508c584ec80667246ab51d6a0302686ed452a | [
"MIT"
] | 5 | 2015-09-22T02:35:57.000Z | 2020-03-26T18:49:18.000Z | MVVMReactiveCocoa/View/BaseClass/MRCWebViewController.h | mftechs/MVVMReactiveCocoa | 902508c584ec80667246ab51d6a0302686ed452a | [
"MIT"
] | null | null | null | MVVMReactiveCocoa/View/BaseClass/MRCWebViewController.h | mftechs/MVVMReactiveCocoa | 902508c584ec80667246ab51d6a0302686ed452a | [
"MIT"
] | null | null | null | //
// MRCWebViewController.h
// MVVMReactiveCocoa
//
// Created by leichunfeng on 15/1/24.
// Copyright (c) 2015年 leichunfeng. All rights reserved.
//
#import "MRCViewController.h"
@interface MRCWebViewController : MRCViewController <UIWebViewDelegate>
@property (weak, nonatomic, readonly) UIWebView *webView;
@... | 20.25 | 71 | 0.75 |
ab091bd93dd634021bb0d0140660a751499c4dcd | 631 | c | C | gcc-gcc-7_3_0-release/gcc/testsuite/gcc.target/i386/pr71647.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.target/i386/pr71647.c | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | null | null | null | gcc-gcc-7_3_0-release/gcc/testsuite/gcc.target/i386/pr71647.c | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | 2 | 2020-07-27T00:22:36.000Z | 2021-04-01T09:41:02.000Z | /* PR tree-optimization/71647 */
/* { dg-do compile } */
/* { dg-options "-O3 -fopenmp-simd -mavx -mno-avx512f -fdump-tree-vect-details" } */
void
foo (double *a, double *b)
{
int i;
#pragma omp simd aligned(a,b:4*sizeof(double))
for (i = 0; i < 32768; i++)
a[i] += b[i];
}
void
bar (double *a, double *b)
{
... | 19.121212 | 91 | 0.567353 |
ab43c0059e3ca2dc02dcb4942b14facad04ca938 | 286 | h | C | Pod/Core/CNNumberParser.h | Draveness/CNNumber | 10a398a6d5c32d6f23a6ccdf9522c8c96d61e641 | [
"MIT"
] | 5 | 2015-04-15T13:43:37.000Z | 2017-03-22T02:15:50.000Z | Pod/Core/CNNumberParser.h | draven-archive/CNNumber | 10a398a6d5c32d6f23a6ccdf9522c8c96d61e641 | [
"MIT"
] | 1 | 2016-02-25T11:13:18.000Z | 2016-02-25T11:13:18.000Z | Pod/Core/CNNumberParser.h | draven-archive/CNNumber | 10a398a6d5c32d6f23a6ccdf9522c8c96d61e641 | [
"MIT"
] | 2 | 2015-09-07T06:27:41.000Z | 2017-02-06T06:16:05.000Z | //
// CNNumber.h
// CNNumber
//
// Created by apple on 4/17/15.
// Copyright (c) 2015 DeltaX. All rights reserved.
//
#import <Foundation/Foundation.h>
//#import "CNNumberHelper.h"
@interface CNNumberParser : NSObject
+ (NSString *)cn_numberWithInteger:(NSInteger)integer;
@end
| 16.823529 | 54 | 0.702797 |
ab4aae5ebbc85a9bdc27be2281a471ff38b60dff | 10,077 | c | C | test/test_list.c | pmkenned/c | e54d32b257655c51745ee926f2587890ebb6d8e5 | [
"MIT"
] | null | null | null | test/test_list.c | pmkenned/c | e54d32b257655c51745ee926f2587890ebb6d8e5 | [
"MIT"
] | null | null | null | test/test_list.c | pmkenned/c | e54d32b257655c51745ee926f2587890ebb6d8e5 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../src/list.h"
#include "minunit.h"
#if 0
char * test_empty_list();
char * test_list_length_1();
char * test_list_length_n();
char * test_list_insert();
char * test_list_remove();
char * test_list_set();
char * test_list_dup();
char * test_list_inser... | 28.466102 | 101 | 0.633026 |
2580372de488d8ffc78ba959b2f814b9a2370bfb | 141 | c | C | other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/ツール/ctools/mp1cnv.c | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/ツール/ctools/mp1cnv.c | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/ツール/ctools/mp1cnv.c | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | Name: mp1cnv.c
Type: file
Size: 1993
Last-Modified: '2016-05-13T04:52:55Z'
SHA-1: 0753FCF4E82CC129CA75A76CE77E63754A95D8A3
Description: null
| 20.142857 | 47 | 0.808511 |
e87c1a04b7b1951f4cc02d4dc894c3c59a40683f | 290 | h | C | NFC-Reader-Objective-C/NFC-Reader-Objective-C/SceneDelegate.h | kevinylu/Building-an-NFC-Tag-Reader-App---Objective-C | b28cda657fb76a41da4937c5ecdc20164559bc51 | [
"MIT"
] | 1 | 2021-03-27T16:56:01.000Z | 2021-03-27T16:56:01.000Z | NFC-Reader-Objective-C/NFC-Reader-Objective-C/SceneDelegate.h | kevinylu/Building-an-NFC-Tag-Reader-App-Objective-C-Swift | b28cda657fb76a41da4937c5ecdc20164559bc51 | [
"MIT"
] | null | null | null | NFC-Reader-Objective-C/NFC-Reader-Objective-C/SceneDelegate.h | kevinylu/Building-an-NFC-Tag-Reader-App-Objective-C-Swift | b28cda657fb76a41da4937c5ecdc20164559bc51 | [
"MIT"
] | null | null | null | //
// SceneDelegate.h
// NFC-Reader-Objective-C
//
// Created by Kevin Lu on 23/09/20.
// Copyright © 2020 Trackit. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface SceneDelegate : UIResponder <UIWindowSceneDelegate>
@property (strong, nonatomic) UIWindow * window;
@end
| 17.058824 | 62 | 0.706897 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.