repo_name
stringlengths
6
97
path
stringlengths
3
341
text
stringlengths
8
1.02M
blueboxd/chromium-legacy
components/app_restore/desk_template_read_handler.h
// Copyright 2021 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 COMPONENTS_APP_RESTORE_DESK_TEMPLATE_READ_HANDLER_H_ #define COMPONENTS_APP_RESTORE_DESK_TEMPLATE_READ_HANDLER_H_ #include <memory> #include <str...
blueboxd/chromium-legacy
content/browser/aggregation_service/aggregation_service_test_utils.h
<gh_stars>10-100 // Copyright 2021 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 CONTENT_BROWSER_AGGREGATION_SERVICE_AGGREGATION_SERVICE_TEST_UTILS_H_ #define CONTENT_BROWSER_AGGREGATION_SERVICE_AGGREGATION_SER...
blueboxd/chromium-legacy
third_party/blink/renderer/core/page/scrolling/text_fragment_anchor.h
// Copyright 2019 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 THIRD_PARTY_BLINK_RENDERER_CORE_PAGE_SCROLLING_TEXT_FRAGMENT_ANCHOR_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_PAGE_SCROLLING_TEXT_FRAGMENT_ANCHOR...
blueboxd/chromium-legacy
ui/ozone/platform/wayland/host/wayland_connection.h
// 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 UI_OZONE_PLATFORM_WAYLAND_HOST_WAYLAND_CONNECTION_H_ #define UI_OZONE_PLATFORM_WAYLAND_HOST_WAYLAND_CONNECTION_H_ #include <time.h> #include <mem...
blueboxd/chromium-legacy
ui/accessibility/platform/ax_platform_node_auralinux.h
// Copyright 2015 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 UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_AURALINUX_H_ #define UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_AURALINUX_H_ #include <atk/atk.h> #in...
blueboxd/chromium-legacy
chrome/browser/chromeos/policy/dlp/dlp_content_observer.h
// Copyright 2021 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_CHROMEOS_POLICY_DLP_DLP_CONTENT_OBSERVER_H_ #define CHROME_BROWSER_CHROMEOS_POLICY_DLP_DLP_CONTENT_OBSERVER_H_ #include "chrome/br...
blueboxd/chromium-legacy
components/sync/test/fake_server/bookmark_entity_builder.h
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_SYNC_TEST_FAKE_SERVER_BOOKMARK_ENTITY_BUILDER_H_ #define COMPONENTS_SYNC_TEST_FAKE_SERVER_BOOKMARK_ENTITY_BUILDER_H_ #include <memory>...
blueboxd/chromium-legacy
content/browser/renderer_host/render_frame_host_android.h
// Copyright 2017 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_FRAME_HOST_ANDROID_H_ #define CONTENT_BROWSER_RENDERER_HOST_RENDER_FRAME_HOST_ANDROID_H_ #include <jni.h> #...
blueboxd/chromium-legacy
device/bluetooth/floss/floss_adapter_client.h
// Copyright 2021 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 DEVICE_BLUETOOTH_FLOSS_FLOSS_ADAPTER_CLIENT_H_ #define DEVICE_BLUETOOTH_FLOSS_FLOSS_ADAPTER_CLIENT_H_ #include <memory> #include <string> #includ...
blueboxd/chromium-legacy
components/safe_browsing/content/browser/triggers/suspicious_site_trigger.h
// 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 COMPONENTS_SAFE_BROWSING_CONTENT_BROWSER_TRIGGERS_SUSPICIOUS_SITE_TRIGGER_H_ #define COMPONENTS_SAFE_BROWSING_CONTENT_BROWSER_TRIGGERS_SUSPICIOUS_...
blueboxd/chromium-legacy
ash/app_list/test/app_list_test_helper.h
<reponame>blueboxd/chromium-legacy<filename>ash/app_list/test/app_list_test_helper.h // 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 ASH_APP_LIST_TEST_APP_LIST_TEST_HELPER_H_ #define ASH_APP_LIS...
blueboxd/chromium-legacy
media/mojo/mojom/stable/stable_video_decoder_types_mojom_traits.h
<reponame>blueboxd/chromium-legacy // Copyright 2021 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 MEDIA_MOJO_MOJOM_STABLE_STABLE_VIDEO_DECODER_TYPES_MOJOM_TRAITS_H_ #define MEDIA_MOJO_MOJOM_STABLE_STABLE_VIDEO...
blueboxd/chromium-legacy
services/audio/output_mixer.h
<gh_stars>10-100 // Copyright 2021 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 SERVICES_AUDIO_OUTPUT_MIXER_H_ #define SERVICES_AUDIO_OUTPUT_MIXER_H_ #include <memory> #include <string> #include "base/callba...
blueboxd/chromium-legacy
components/password_manager/core/common/password_manager_features.h
// Copyright 2015 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 COMPONENTS_PASSWORD_MANAGER_CORE_COMMON_PASSWORD_MANAGER_FEATURES_H_ #define COMPONENTS_PASSWORD_MANAGER_CORE_COMMON_PASSWORD_MANAGER_FEATURES_H_ ...
blueboxd/chromium-legacy
content/browser/loader/navigation_url_loader.h
<filename>content/browser/loader/navigation_url_loader.h<gh_stars>10-100 // Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_H_ #define CONTENT_BROWSER_L...
blueboxd/chromium-legacy
content/renderer/accessibility/render_accessibility_impl.h
<gh_stars>10-100 // Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_RENDERER_ACCESSIBILITY_RENDER_ACCESSIBILITY_IMPL_H_ #define CONTENT_RENDERER_ACCESSIBILITY_RENDER_ACCESSIBILITY_IMPL_...
blueboxd/chromium-legacy
chrome/browser/policy/messaging_layer/public/report_client.h
// Copyright 2020 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_POLICY_MESSAGING_LAYER_PUBLIC_REPORT_CLIENT_H_ #define CHROME_BROWSER_POLICY_MESSAGING_LAYER_PUBLIC_REPORT_CLIENT_H_ #include <mem...
blueboxd/chromium-legacy
ios/chrome/browser/ui/ntp/new_tab_page_feature.h
<reponame>blueboxd/chromium-legacy // Copyright 2020 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 IOS_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_FEATURE_H_ #define IOS_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_FEATURE_H_ #i...
blueboxd/chromium-legacy
components/safe_browsing/content/browser/base_blocking_page.h
// Copyright 2017 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 COMPONENTS_SAFE_BROWSING_CONTENT_BROWSER_BASE_BLOCKING_PAGE_H_ #define COMPONENTS_SAFE_BROWSING_CONTENT_BROWSER_BASE_BLOCKING_PAGE_H_ #include <m...
blueboxd/chromium-legacy
media/gpu/vaapi/vaapi_wrapper.h
<gh_stars>10-100 // Copyright 2013 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. // // This file contains an implementation of VaapiWrapper, used by // VaapiVideoDecodeAccelerator and VaapiH264Decoder for decode, // and...
blueboxd/chromium-legacy
ash/constants/ash_features.h
// 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 ASH_CONSTANTS_ASH_FEATURES_H_ #define ASH_CONSTANTS_ASH_FEATURES_H_ #include "base/component_export.h" #include "base/feature_list.h" #include "b...
blueboxd/chromium-legacy
chrome/browser/supervised_user/web_approvals_manager.h
<filename>chrome/browser/supervised_user/web_approvals_manager.h // Copyright 2021 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_SUPERVISED_USER_WEB_APPROVALS_MANAGER_H_ #define CHROME_BROWSER_SU...
blueboxd/chromium-legacy
ui/accessibility/platform/ax_private_attributes_mac.h
// Copyright 2021 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 UI_ACCESSIBILITY_PLATFORM_AX_PRIVATE_ATTRIBUTES_MAC_H_ #define UI_ACCESSIBILITY_PLATFORM_AX_PRIVATE_ATTRIBUTES_MAC_H_ #import <Cocoa/Cocoa.h> #i...
blueboxd/chromium-legacy
chrome/browser/enterprise/connectors/device_trust/key_management/installer/key_rotation_manager_impl.h
<reponame>blueboxd/chromium-legacy<filename>chrome/browser/enterprise/connectors/device_trust/key_management/installer/key_rotation_manager_impl.h // Copyright 2021 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...
blueboxd/chromium-legacy
ash/controls/scroll_view_gradient_helper.h
// Copyright 2021 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_CONTROLS_SCROLL_VIEW_GRADIENT_HELPER_H_ #define ASH_CONTROLS_SCROLL_VIEW_GRADIENT_HELPER_H_ #include <memory> #include "ash/ash_export.h" #i...
blueboxd/chromium-legacy
chrome/browser/ash/crosapi/browser_data_migrator.h
// Copyright 2021 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_ASH_CROSAPI_BROWSER_DATA_MIGRATOR_H_ #define CHROME_BROWSER_ASH_CROSAPI_BROWSER_DATA_MIGRATOR_H_ #include <atomic> #include <memor...
blueboxd/chromium-legacy
base/check_op.h
<reponame>blueboxd/chromium-legacy<gh_stars>10-100 // Copyright 2020 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 BASE_CHECK_OP_H_ #define BASE_CHECK_OP_H_ #include <cstddef> #include <string> #include <type_...
blueboxd/chromium-legacy
components/viz/common/shared_element_resource_id.h
<reponame>blueboxd/chromium-legacy // Copyright 2021 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 COMPONENTS_VIZ_COMMON_SHARED_ELEMENT_RESOURCE_ID_H_ #define COMPONENTS_VIZ_COMMON_SHARED_ELEMENT_RESOURCE_ID_H_...
blueboxd/chromium-legacy
ui/compositor/compositor_animation_observer.h
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_COMPOSITOR_COMPOSITOR_ANIMATION_OBSERVER_H_ #define UI_COMPOSITOR_COMPOSITOR_ANIMATION_OBSERVER_H_ #include "base/location.h" #include "base/t...
blueboxd/chromium-legacy
chrome/browser/ui/android/autofill/authenticator_selection_dialog_view_android.h
// Copyright 2021 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_UI_ANDROID_AUTOFILL_AUTHENTICATOR_SELECTION_DIALOG_VIEW_ANDROID_H_ #define CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTHENTICATOR_SELECTI...
blueboxd/chromium-legacy
third_party/blink/renderer/core/frame/fragment_directive.h
// Copyright 2019 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 THIRD_PARTY_BLINK_RENDERER_CORE_FRAME_FRAGMENT_DIRECTIVE_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_FRAME_FRAGMENT_DIRECTIVE_H_ #include "third_p...
blueboxd/chromium-legacy
chrome/browser/ui/app_list/chrome_app_list_model_updater.h
<filename>chrome/browser/ui/app_list/chrome_app_list_model_updater.h // Copyright 2017 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_UI_APP_LIST_CHROME_APP_LIST_MODEL_UPDATER_H_ #define CHROME_BR...
blueboxd/chromium-legacy
chrome/browser/ui/webui/history_clusters/history_clusters_handler.h
// Copyright 2021 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_UI_WEBUI_HISTORY_CLUSTERS_HISTORY_CLUSTERS_HANDLER_H_ #define CHROME_BROWSER_UI_WEBUI_HISTORY_CLUSTERS_HISTORY_CLUSTERS_HANDLER_H_ ...
blueboxd/chromium-legacy
device/bluetooth/floss/bluetooth_device_floss.h
// Copyright 2021 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 DEVICE_BLUETOOTH_FLOSS_BLUETOOTH_DEVICE_FLOSS_H_ #define DEVICE_BLUETOOTH_FLOSS_BLUETOOTH_DEVICE_FLOSS_H_ #include <string> #include "base/memor...
tum-i22/munch
coreutils/patch.c
#undef initialize_main void initialize_main(int *argc, char ***argv) { char str[SIZE]; char *iargv[SIZE]; int iargc; char temp[SIZE] = {'\0'}; char *env; char env_var[SIZE] = {'\0'}; int quotes = 0; int len = 0; int env_var_size = 0; int pos = 0; int i = 0; int env_flag ...
CM-Archive/android_external_strace
strace/linux/sparc64/dummy2.h
/* * Copyright (c) 1993, 1994, 1995 <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this...
CM-Archive/android_external_strace
strace/linux/sparc64/syscall1.h
/* * Copyright (c) 1993, 1994, 1995 <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this...
CM-Archive/android_external_strace
strace/linux/sparc/syscall.h
<gh_stars>1-10 /* * Copyright (c) 1991, 1992 <NAME> <<EMAIL>> * Copyright (c) 1993, 1994, 1995, 1996 <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions...
CM-Archive/android_external_strace
ioctlsort.c
<filename>ioctlsort.c /* * Copyright (c) 1991, 1992 <NAME> <<EMAIL>> * Copyright (c) 1993, 1994, 1995 <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistribution...
CM-Archive/android_external_strace
strace/linux/sparc/syscallent1.h
/* * Copyright (c) 1993, 1994, 1995, 1996 <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice...
CM-Archive/android_external_strace
io.c
<reponame>CM-Archive/android_external_strace /* * Copyright (c) 1991, 1992 <NAME> <<EMAIL>> * Copyright (c) 1993 <NAME> <<EMAIL>> * Copyright (c) 1993, 1994, 1995, 1996 <NAME> <<EMAIL>> * Copyright (c) 1996-1999 <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with o...
CM-Archive/android_external_strace
syscall.c
/* * Copyright (c) 1991, 1992 <NAME> <<EMAIL>> * Copyright (c) 1993 <NAME> <<EMAIL>> * Copyright (c) 1993, 1994, 1995, 1996 <NAME> <<EMAIL>> * Copyright (c) 1996-1999 <NAME> <<EMAIL>> * Copyright (c) 1999 IBM Deutschland Entwicklung GmbH, IBM Corporation * Linux for s390 port by <NAME> * ...
gaoyuexit/-QQ-
QQ_FriendsList_Demo/QQ_FriendsList_Demo/GYFriend.h
<filename>QQ_FriendsList_Demo/QQ_FriendsList_Demo/GYFriend.h // // GYFriend.h // QQ_FriendsList_Demo // // Created by 郜宇 on 15/11/3. // Copyright © 2015年 郜宇. All rights reserved. // #import <Foundation/Foundation.h> @interface GYFriend : NSObject // 头像 @property (nonatomic,copy)NSString *icon; // 昵称 @property (no...
gaoyuexit/-QQ-
QQ_FriendsList_Demo/QQ_FriendsList_Demo/GYGroup.h
<gh_stars>0 // // GYGroup.h // QQ_FriendsList_Demo // // Created by 郜宇 on 15/11/3. // Copyright © 2015年 郜宇. All rights reserved. // #import <Foundation/Foundation.h> @interface GYGroup : NSObject // 组名 @property (nonatomic,copy)NSString *name; // 在线人数 @property (nonatomic,assign)int online; // 当前组中的所有好友数据 @prope...
gaoyuexit/-QQ-
QQ_FriendsList_Demo/QQ_FriendsList_Demo/GYGroupHeaderView.h
// // GYGroupHeaderView.h // QQ_FriendsList_Demo // // Created by 郜宇 on 15/11/3. // Copyright © 2015年 郜宇. All rights reserved. // #import <UIKit/UIKit.h> @class GYGroup; @class GYGroupHeaderView; @protocol GYGroupHeaderViewDelelgate <NSObject> @optional - (void)groupHeaderViewDidClick:(GYGroupHeaderView *)groupHea...
gaoyuexit/-QQ-
QQ_FriendsList_Demo/QQ_FriendsList_Demo/QQFriendsListController.h
// // QQFriendsListController.h // QQ_FriendsList_Demo // // Created by 郜宇 on 15/11/3. // Copyright © 2015年 郜宇. All rights reserved. // #import <UIKit/UIKit.h> @interface QQFriendsListController : UITableViewController @end
gaoyuexit/-QQ-
QQ_FriendsList_Demo/QQ_FriendsList_Demo/GYFriendCell.h
<filename>QQ_FriendsList_Demo/QQ_FriendsList_Demo/GYFriendCell.h // // GYFriendCell.h // QQ_FriendsList_Demo // // Created by 郜宇 on 15/11/3. // Copyright © 2015年 郜宇. All rights reserved. // #import <UIKit/UIKit.h> @class GYFriend; @interface GYFriendCell : UITableViewCell @property (nonatomic,strong)GYFriend *fri...
lh2/mpv-subserv
main.c
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "client.h" extern void Start(char *title); extern void PosChanged(double pos); extern void SubDelayChanged(double delay); extern void Stop(); static int handle_file_load(mpv_handle *handle) { char *media_title; int err; err = mpv_get_property(han...
zSoNz/GNImageProgressBar
GNImageProgressBar/GNImageProgressBar.h
// // GNImageProgressBar.h // GNImageProgressBar // // Created by george on 03/03/2020. // Copyright © 2020 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> //! Project version number for GNImageProgressBar. FOUNDATION_EXPORT double GNImageProgressBarVersionNumber; //! Project version string for...
Achierius/aolc
include/internal/aolc/compare_buffer_functions.h
#ifndef __AOLC_COMPARE_BUFFER_FUNCTIONS_H #define __AOLC_COMPARE_BUFFER_FUNCTIONS_H #include "gtest/gtest.h" #include <stdio.h> #include <cstring> #include <mutex> #include <iostream> #include "aolc/_test_string.h" #include <functional> /* * Class 0: (int) * => strerror * >char* * * Class 1: (char*)...
Achierius/aolc
src/c/sys_libc_standin.c
<reponame>Achierius/aolc<filename>src/c/sys_libc_standin.c #include <aolc/_test_string.h> #include <string.h> void *_memcpy(void *dest, const void *src, size_t n) { return memcpy(dest, src, n); } void *_memmove(void *dest, const void *src, size_t n) { return memmove(dest, src, n); } void *_memchr(co...
Letractively/simplesitemapcreator
mainwindow.h
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QMessageBox> #include <QClipboard> #include <QFileDialog> #include <QTextStream> #include <QList> #include <QStringList> #include <libxml2/libxml/HTMLparser.h> #include <curl/curl.h> #include <cstring> #include "xmlhighlighter.h" #include <QDeb...
Letractively/simplesitemapcreator
xmlhighlighter.h
<gh_stars>0 /* $URL$ $Rev$ $Author$ $Date$ $Id$ */ /* ** Copyright 2009-10 <NAME>, <NAME> and the ** University of Victoria Humanities Computing and Media ** Centre. ** This file is part of the projXMLEditor project which in ** turn belongs to the Image Markup Tool version 2.0 ** project. The purpose of ...
Net5F/QueuedEvents
Source/Public/QueuedEvents.h
<reponame>Net5F/QueuedEvents<gh_stars>0 #pragma once #include "readerwriterqueue.h" #include <vector> #include <unordered_map> #include <mutex> #include <cstdlib> #include <utility> #include <iostream> namespace AM { /** * This header contains Dispatcher and EventQueue, which together form a * queued event dispatch...
Cassidy/mks
include/kernel/kernel.h
/********************************************* * File name: kernel.h * Author: Cassidy * Time-stamp: <2011-05-19 20:09:15> ********************************************* */ #ifndef _KERNEL_H #define _KERNEL_H #include <config.h> #include <unistd.h> #include <kernel/printk.h> #define PAGE_SIZE 4096 #endif
Cassidy/mks
driver/character/keyboard.c
<reponame>Cassidy/mks /* * Program: keyboard.c * Purpose: 键盘驱动程序 * Author: mofaph <<EMAIL>> * Date: 2011-6-10 */ #include <kernel/printk.h> /* printk */ #include <asm/io.h> /* inb */ #include "keyboard.h" /* keymap kbdqueue MAP_COL MAKE */ static struct kbdqueue kbd; /* 键盘缓冲区队列...
Cassidy/mks
include/asm/system.h
<reponame>Cassidy/mks<gh_stars>1-10 /********************************************* * File name: system.h * Author: Cassidy * Time-stamp: <2011-05-09 23:06:36> ********************************************* */ #ifndef _SYSTEM_H #define _SYSTEM_H #define sti() __asm__ ("sti"::) #define cli() __asm__ ("cli"::) #defi...
Cassidy/mks
lib/message.c
/********************************************* * File name: message.c * Author: Cassidy * Time-stamp: <2011-06-10 14:45:55> ********************************************* */ #include <unistd.h> long * get_msg_entry(struct Msg * msgpt) { long entry; entry = (long)msgpt; entry = (entry & 0xFFFFF0...
Cassidy/mks
include/kernel/proc.h
/********************************************* * File name: proc.h * Author: Cassidy * Time-stamp: <2011-05-26 18:23:53> ********************************************* */ #ifndef _PROC_H #define _PROC_H #include <kernel/kernel.h> #include <kernel/head.h> /* desc_struct */ #define RUNNING 0 #define...
Cassidy/mks
lib/errno.c
<filename>lib/errno.c /********************************************* * File name: errno.c * Author: Cassidy * Time-stamp: <2011-05-12 20:05:47> ********************************************* */ int errno;
Cassidy/mks
include/kernel/time.h
/********************************************* * File name: time.h * Author: Cassidy * Time-stamp: <2011-04-19 20:11:28> ********************************************* */ #ifndef _TIME_H #define _TIME_H struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wda...
Cassidy/mks
kernel/time.c
/********************************************* * File name: time.c * Author: Cassidy * Time-stamp: <2011-06-10 16:24:00> ********************************************* */ #include <kernel/kernel.h> #include <asm/io.h> #include <kernel/time.h> /* tm */ #include <kernel/proc.h> /* proc_struct */ /* ou...
Cassidy/mks
lib/fork.c
<gh_stars>1-10 /********************************************* * File name: fork.c * Author: Cassidy * Time-stamp: <2011-05-11 23:57:52> ********************************************* */ void fork(void) { __asm__("int $0x80"); }
Cassidy/mks
kernel/proc.c
<reponame>Cassidy/mks<filename>kernel/proc.c /********************************************* * File name: proc.c * Author: Cassidy * Time-stamp: <2011-06-10 16:03:27> ********************************************* */ #include <kernel/kernel.h> /* PAGE_SIZE */ #include <kernel/proc.h> /* proc_struct INIT...
Cassidy/mks
include/kernel/message.h
/********************************************* * File name: message.h * Author: Cassidy * Time-stamp: <2011-06-10 14:44:56> ********************************************* */ #ifndef _MESSAGE_H #define _MESSAGE_H #define MSG_ANY -1 /* 消息是两页大小,其中只有与页面对齐的一个完整页面的数据是有效的 */ struct Msg { char a[4096*2]; }; #endif
Cassidy/mks
include/unistd.h
/********************************************* * File name: unistd.h * Author: Cassidy * Time-stamp: <2011-06-10 14:25:54> ********************************************* */ #ifndef _UNISTD_H #define _UNISTD_H #include <kernel/message.h> #ifndef NULL #define NULL ((void *) 0) //定义空指针 #endif extern int errno;...
Cassidy/mks
include/kernel/printk.h
/********************************************* * File name: printk.h * Author: Cassidy * Time-stamp: <2011-05-10 21:40:02> ********************************************* */ #ifndef _PRINTK_H #define _PRINTK_H /* 以下的函数都在 kernel/printk.c 中定义 */ extern void con_init(void); /* 显示初始化 */ extern int print...
Cassidy/mks
kernel/main.c
/********************************************* * File name: main.c * Author: Cassidy * Time-stamp: <2011-06-10 15:52:30> ********************************************* */ #include <kernel/kernel.h> #include <asm/system.h> /* sti move_to_user_mode */ #define MEM_SIZE (*(unsigned long *)0x90000) /* RAM 内存总量...
Cassidy/mks
system_task/system.c
/********************************************* * File name: system.c * Author: Cassidy * Time-stamp: <2011-06-10 14:56:05> ********************************************* */ #include <unistd.h> void system_task(void) { struct Msg msg; long src = MSG_ANY; while(1) { big_msg_receive(&s...
Cassidy/mks
kernel/messaging.c
<reponame>Cassidy/mks<filename>kernel/messaging.c /********************************************* * File name: messaging.c * Author: Cassidy * Time-stamp: <2011-06-10 16:15:55> ********************************************* */ #include <kernel/kernel.h> #include <kernel/messaging.h> /* msg_struct NR_MSG_H...
Cassidy/mks
include/config.h
<gh_stars>1-10 /********************************************* * File name: config.h * Author: Cassidy * Time-stamp: <2011-05-17 03:12:23> ********************************************* */ #ifndef _CONFIG_H #define _CONFIG_H #define HZ 100 /* PC8253 定时芯片的输入时钟频率约为 1.193180MHZ。 这里设置 8253 芯片发出中断的频率是 100HZ,也就是 1...
Cassidy/mks
kernel/memory.c
/********************************************* * File name: memory.c * Author: Cassidy * Time-stamp: <2011-05-26 18:36:37> ********************************************* */ #include <kernel/kernel.h> #define LOW_MEM 0x100000 /* 1M 内存开始处 */ #define PAGING_MEMORY (64*1024*1024) /* 物理内存可用于分...
Cassidy/mks
include/kernel/messaging.h
<gh_stars>1-10 /********************************************* * File name: messaging.h * Author: Cassidy * Time-stamp: <2011-05-15 01:23:56> ********************************************* */ #ifndef _MESSAGING_H #define _MESSAGING_H #define MSG_ANY -1 #define MSG_HARDWARE -2 #define NR_MSG_HARDWARE 1024 /* 硬件...
Cassidy/mks
kernel/interrupt.c
<reponame>Cassidy/mks /********************************************* * File name: interrupt.c * Author: Cassidy * Time-stamp: <2011-05-29 04:32:03> ********************************************* */ #include <kernel/kernel.h> #include <kernel/interrupt.h> #include <kernel/head.h> #include <asm/system.h> /* ...
Cassidy/mks
kernel/printk.c
/********************************************* * File name: printk.c * Author: Cassidy * Time-stamp: <2011-05-10 21:30:23> ********************************************* */ #include <asm/io.h> /* outb_p */ #define ORIG 0xb8000 /* 显存首地址 */ static unsigned long video_num_columns = 80; /*...
Cassidy/mks
init_proc/init.c
<filename>init_proc/init.c /********************************************* * File name: init.c * Author: Cassidy * Time-stamp: <2011-06-10 14:53:28> ********************************************* */ #include <unistd.h> void init_proc(void) { for(;;) ; }
Cassidy/mks
include/kernel/interrupt.h
/********************************************* * File name: interrupt.h * Author: Cassidy * Time-stamp: <2011-04-18 23:39:49> ********************************************* */ #ifndef _INTERRUPT_H #define _INTERRUPT_H /* 下面的函数在 kernel/asm.s中定义 */ extern void intr0(); extern void intr1(); extern void intr2(); exte...
Cassidy/mks
include/asm/io.h
<filename>include/asm/io.h /********************************************* * File name: io.h * Author: Cassidy * Time-stamp: <2011-04-17 20:16:39> ********************************************* */ #ifndef _IO_H #define _IO_H #define outb(value, port) \ __asm__("outb %%al, %%dx"::"a"(value), "d"(port)) #define i...
Cassidy/mks
include/kernel/head.h
/********************************************* * File name: head.h * Author: Cassidy * Time-stamp: <2011-04-24 06:20:36> ********************************************* */ #ifndef _HEAD_H #define _HEAD_H /* 描述符结构体 */ struct desc_struct { unsigned long a, b; }; extern struct desc_struct *idt; /* kernel/interrupt...
OzanEm/Chain-Block-Cipher-implementation-
fscrypt.h
#include "openssl/blowfish.h" #include <cstdio> #include <cstdlib> #include <iostream> #include <cstring> #include <vector> using namespace std; void *fs_encrypt(void *plaintext, int bufsize, char *keystr, int *resultlen); void *fs_decrypt(void *ciphertext, int bufsize, char *keystr, int *resultlen); const int BLOCKS...
JingtingChen/DAMessage
Example/Pods/Headers/Public/DAMessage/UIColor+JSQMessages.h
<filename>Example/Pods/Headers/Public/DAMessage/UIColor+JSQMessages.h<gh_stars>0 // // Created by <NAME> // http://www.jessesquires.com // // // Documentation // http://cocoadocs.org/docsets/JSQMessagesViewController // // // GitHub // https://github.com/jessesquires/JSQMessagesViewController // // // License //...
JingtingChen/DAMessage
Example/Pods/Target Support Files/Pods-DAMessage_Tests/Pods-DAMessage_Tests-environment.h
<reponame>JingtingChen/DAMessage // To check if a library is compiled with CocoaPods you // can use the `COCOAPODS` macro definition which is // defined in the xcconfigs so it is available in // headers also when they are imported in the client // project. // DAMessage #define COCOAPODS_POD_AVAILABLE_DAMessage #defi...
JingtingChen/DAMessage
Example/Pods/Target Support Files/Pods-DAMessage_Tests-M13BadgeView/Pods-DAMessage_Tests-M13BadgeView-umbrella.h
<filename>Example/Pods/Target Support Files/Pods-DAMessage_Tests-M13BadgeView/Pods-DAMessage_Tests-M13BadgeView-umbrella.h #import <UIKit/UIKit.h> #import "M13BadgeView.h" FOUNDATION_EXPORT double M13BadgeViewVersionNumber; FOUNDATION_EXPORT const unsigned char M13BadgeViewVersionString[];
JingtingChen/DAMessage
Example/Pods/Target Support Files/Pods-DAMessage_Tests/Pods-DAMessage_Tests-umbrella.h
#import <UIKit/UIKit.h> FOUNDATION_EXPORT double Pods_DAMessage_TestsVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_DAMessage_TestsVersionString[];
JingtingChen/DAMessage
Example/Pods/Headers/Public/DAMessage/JSQMessagesAvatarImageFactory.h
<reponame>JingtingChen/DAMessage<filename>Example/Pods/Headers/Public/DAMessage/JSQMessagesAvatarImageFactory.h // // Created by <NAME> // http://www.jessesquires.com // // // Documentation // http://cocoadocs.org/docsets/JSQMessagesViewController // // // GitHub // https://github.com/jessesquires/JSQMessagesView...
JingtingChen/DAMessage
Example/Pods/Headers/Public/DAMessage/JSQMessagesMediaViewBubbleImageMasker.h
<filename>Example/Pods/Headers/Public/DAMessage/JSQMessagesMediaViewBubbleImageMasker.h // // Created by <NAME> // http://www.jessesquires.com // // // Documentation // http://cocoadocs.org/docsets/JSQMessagesViewController // // // GitHub // https://github.com/jessesquires/JSQMessagesViewController // // // Lic...
JingtingChen/DAMessage
Example/Pods/Headers/Public/DAMessage/DAMessageIndicator.h
<reponame>JingtingChen/DAMessage // // DAMessageIndicator.h // Pods // // Created by 陈婧婷 on 15/7/16. // // #import <UIKit/UIKit.h> #import "M13BadgeView.h" @interface DAMessageIndicator : UIView @property (nonatomic, strong) UIActivityIndicatorView *spinner; @property (nonatomic, strong) UIImageView *failureImage;...
pupapaik/Mayastor
spdk-sys/logwrapper.h
#include <stddef.h> #include <stdarg.h> #include <spdk/log.h> typedef void maya_logger(int level, const char *file, const int line, const char *func, const char *buf, const int len); // pointer is set from within rust to point to our logging trampoline maya_logger *logfn = NULL;
amondrag98/mi-primer-repo
presentacion.c
#include<studio.h> //studio -> standard Input/output int main(){ printf("Hola Mundo, mi nombre es:"); printf("<NAME>"); return 0; }
fukuroder/Raspberry-Pi-synthesizer-test
blit_saw_oscillator.h
/* * blit_saw_oscillator.h * * Copyright (c) 2014, fukuroda (https://github.com/fukuroder) * Released under the MIT license */ #pragma once #include<array> // class blit_saw_oscillator_note { public: // blit_saw_oscillator_note(); // ADSR enum ADSR { // Off, // ...
nikhilc149/e-utran-features-bug-fixes
cp/li_config.h
/* * Copyright (c) 2017 Intel Corporation * Copyright (c) 2020 T-Mobile * * 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 * * Unles...
nikhilc149/e-utran-features-bug-fixes
dp/pipeline/epc_spns_dns.c
/* * Copyright (c) 2017 Intel Corporation * * 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...
nikhilc149/e-utran-features-bug-fixes
ulpc/df/include/TCPDataProcessor.h
<gh_stars>0 /* * Copyright (c) 2020 Sprint * * 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 ...
nikhilc149/e-utran-features-bug-fixes
cp/gtpv2c_error_rsp.h
<reponame>nikhilc149/e-utran-features-bug-fixes /* * Copyright (c) 2019 Sprint * Copyright (c) 2020 T-Mobile * * 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...
nikhilc149/e-utran-features-bug-fixes
cp/gx_app/include/gx_struct.h
/* * Copyright (c) 2019 Sprint * Copyright (c) 2020 T-Mobile * * 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 ...
nikhilc149/e-utran-features-bug-fixes
cp/gtpv2c_set_ie.c
<filename>cp/gtpv2c_set_ie.c /* * Copyright (c) 2017 Intel Corporation * * 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 ...
nikhilc149/e-utran-features-bug-fixes
cp/cp_init.c
<gh_stars>0 /* * Copyright (c) 2019 Sprint * Copyright (c) 2020 T-Mobile * * 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 * * Unle...
nikhilc149/e-utran-features-bug-fixes
dp/up_acl.h
/* * Copyright (c) 2019 Sprint * Copyright (c) 2020 T-Mobile * * 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 ...
nikhilc149/e-utran-features-bug-fixes
dp/gtpu_echo.c
<reponame>nikhilc149/e-utran-features-bug-fixes /* * Copyright (c) 2019 Sprint * Copyright (c) 2020 T-Mobile * * 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...
nikhilc149/e-utran-features-bug-fixes
cp/gtpv2c_messages/modify_access_bearer.c
<filename>cp/gtpv2c_messages/modify_access_bearer.c /* * Copyright (c) 2019 Sprint * Copyright (c) 2020 T-Mobile * * 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.ap...