repo_name
stringlengths
5
122
path
stringlengths
3
232
text
stringlengths
6
1.05M
ivan-mogilko/ags-refactoring
Engine/main/config.h
<reponame>ivan-mogilko/ags-refactoring<gh_stars>1-10 //============================================================================= // // Adventure Game Studio (AGS) // // Copyright (C) 1999-2011 <NAME> and 2011-20xx others // The full list of copyright holders can be found in the Copyright.txt // file, which is part ...
valerio-vaccaro/GianGiacomoMora
firmware/main/main.c
#include <freertos/FreeRTOS.h> #include <freertos/task.h> #include <string.h> #include "nvs_flash.h" #include "esp_err.h" #include "esp_log.h" #include "esp_bt.h" #include "esp_bt_main.h" #include "esp_gap_ble_api.h" // array of found devices #define MAX_DISCOVERED_DEVICES 1000 esp_bd_addr_t discovered_devices[MAX_D...
mindspore-ai/mindspore
mindspore/ccsrc/minddata/dataset/engine/datasetops/parallel_op.h
<filename>mindspore/ccsrc/minddata/dataset/engine/datasetops/parallel_op.h<gh_stars>1000+ /** * Copyright 2019-2021 Huawei Technologies Co., Ltd * * 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 Lice...
mindspore-ai/mindspore
mindspore/lite/src/runtime/runtime_allocator.h
<reponame>mindspore-ai/mindspore /** * Copyright 2021 Huawei Technologies Co., Ltd * * 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 * * ...
mindspore-ai/mindspore
mindspore/ccsrc/ps/worker.h
<reponame>mindspore-ai/mindspore /** * Copyright 2021 Huawei Technologies Co., Ltd * * 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 * * ...
mindspore-ai/mindspore
mindspore/lite/include/ms_tensor.h
<gh_stars>1000+ /** * Copyright 2020 Huawei Technologies Co., Ltd * * 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 b...
mindspore-ai/mindspore
mindspore/ccsrc/frontend/parallel/graph_util/pipeline_split_utils.h
/** * Copyright 2021 Huawei Technologies Co., Ltd * * 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...
mindspore-ai/mindspore
mindspore/ccsrc/backend/optimizer/graph_kernel/graph_kernel_helper.h
<reponame>mindspore-ai/mindspore /** * Copyright 2020-2021 Huawei Technologies Co., Ltd * * 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 ...
mindspore-ai/mindspore
mindspore/lite/tools/optimizer/fusion/tflite_lstm_cell_fusion.h
<reponame>mindspore-ai/mindspore /** * Copyright 2020-2021 Huawei Technologies Co., Ltd * * 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 ...
mindspore-ai/mindspore
mindspore/ccsrc/backend/optimizer/somas/somas_solver_pre.h
<filename>mindspore/ccsrc/backend/optimizer/somas/somas_solver_pre.h /** * Copyright 2020 Huawei Technologies Co., Ltd * 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...
mindspore-ai/mindspore
mindspore/lite/src/inner_kernel.h
/** * Copyright 2021 Huawei Technologies Co., Ltd * * 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...
mindspore-ai/mindspore
mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/intrinsics/avx/TiledC4MatMulFp32.c
<gh_stars>1000+ /** * Copyright 2020 Huawei Technologies Co., Ltd * * 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 b...
mindspore-ai/mindspore
mindspore/ccsrc/runtime/framework/actor/control_flow/exit_actor.h
<reponame>mindspore-ai/mindspore /** * Copyright 2021 Huawei Technologies Co., Ltd * * 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 * * ...
mindspore-ai/mindspore
mindspore/lite/tools/optimizer/fusion/conv_transform_fusion.h
/** * Copyright 2020-2021 Huawei Technologies Co., Ltd * * 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 applicabl...
mindspore-ai/mindspore
mindspore/lite/src/delegate/tensorrt/tensorrt_runtime.h
<filename>mindspore/lite/src/delegate/tensorrt/tensorrt_runtime.h /** * Copyright 2021 Huawei Technologies Co., Ltd * * 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.apach...
mindspore-ai/mindspore
mindspore/ccsrc/pipeline/jit/static_analysis/evaluator.h
/** * This is the C++ adaptation and derivative work of Myia (https://github.com/mila-iqia/myia/). * * Copyright 2019-2021 Huawei Technologies Co., Ltd * * 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...
mindspore-ai/mindspore
mindspore/ccsrc/runtime/device/memory_scheduler.h
/** * Copyright 2021 Huawei Technologies Co., Ltd * * 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...
mindspore-ai/mindspore
mindspore/ccsrc/backend/optimizer/graph_kernel/model/node.h
<reponame>mindspore-ai/mindspore /** * Copyright 2021 Huawei Technologies Co., Ltd * * 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...
mindspore-ai/mindspore
mindspore/lite/tools/converter/anf_transform.h
/** * Copyright 2019-2021 Huawei Technologies Co., Ltd * * 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 applicabl...
mindspore-ai/mindspore
mindspore/ccsrc/backend/optimizer/somas/somas_solver_core.h
<filename>mindspore/ccsrc/backend/optimizer/somas/somas_solver_core.h /** * Copyright 2020 Huawei Technologies Co., Ltd * 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.apach...
mindspore-ai/mindspore
mindspore/ccsrc/frontend/parallel/device_manager.h
<reponame>mindspore-ai/mindspore /** * Copyright 2019 Huawei Technologies Co., Ltd * * 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 * * ...
mindspore-ai/mindspore
mindspore/lite/tools/converter/adapter/acl/common/acl_types.h
/** * Copyright 2021 Huawei Technologies Co., Ltd * * 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...
mindspore-ai/mindspore
mindspore/lite/src/runtime/kernel/opencl/opencl_kernel.h
<filename>mindspore/lite/src/runtime/kernel/opencl/opencl_kernel.h /** * Copyright 2020 Huawei Technologies Co., Ltd * * 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.apac...
mindspore-ai/mindspore
mindspore/ccsrc/backend/kernel_compiler/cpu/rank_cpu_kernel.h
/** * Copyright 2020-2021 Huawei Technologies Co., Ltd * * 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 applicabl...
mindspore-ai/mindspore
mindspore/ccsrc/backend/kernel_compiler/cpu/rl/buffer_sample_cpu_kernel.h
<reponame>mindspore-ai/mindspore /** * Copyright 2021 Huawei Technologies Co., Ltd * * 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 * * ...
mindspore-ai/mindspore
mindspore/ccsrc/transform/graph_ir/op_declare/elewise_calculation_ops_declare.h
<reponame>mindspore-ai/mindspore /** * Copyright 2019-2021 Huawei Technologies Co., Ltd * * 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 ...
mindspore-ai/mindspore
mindspore/ccsrc/vm/transform.h
<filename>mindspore/ccsrc/vm/transform.h<gh_stars>1000+ /** * This is the C++ adaptation and derivative work of Myia (https://github.com/mila-iqia/myia/). * * Copyright 2019 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compl...
mindspore-ai/mindspore
mindspore/ccsrc/runtime/framework/actor/control_flow/entrance_actor.h
/** * Copyright 2021 Huawei Technologies Co., Ltd * * 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...
mindspore-ai/mindspore
mindspore/ccsrc/backend/kernel_compiler/tbe/ascend_kernel_compile.h
<filename>mindspore/ccsrc/backend/kernel_compiler/tbe/ascend_kernel_compile.h<gh_stars>1000+ /** * Copyright 2021 Huawei Technologies Co., Ltd * * 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 Licens...
mindspore-ai/mindspore
mindspore/ccsrc/ps/core/abstract_node.h
/** * Copyright 2020 Huawei Technologies Co., Ltd * * 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...
mindspore-ai/mindspore
mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/pack_int8.c
/** * Copyright 2020 Huawei Technologies Co., Ltd * * 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...
mindspore-ai/mindspore
mindspore/lite/src/common/config_file.h
<filename>mindspore/lite/src/common/config_file.h<gh_stars>1000+ /** * Copyright 2021 Huawei Technologies Co., Ltd * * 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...
mindspore-ai/mindspore
mindspore/ccsrc/backend/optimizer/graph_kernel/expanders/expander_factory.h
<reponame>mindspore-ai/mindspore /** * Copyright 2021 Huawei Technologies Co., Ltd * * 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 * * ...
mindspore-ai/mindspore
mindspore/lite/src/train/train_export.h
<reponame>mindspore-ai/mindspore /** * Copyright 2021 Huawei Technologies Co., Ltd * * 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 * * ...
mindspore-ai/mindspore
mindspore/ccsrc/runtime/framework/actor/control_flow/stack_actor.h
/** * Copyright 2021 Huawei Technologies Co., Ltd * * 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...
mindspore-ai/mindspore
include/api/context.h
/** * Copyright 2020 Huawei Technologies Co., Ltd * * 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...
mindspore-ai/mindspore
mindspore/ccsrc/frontend/optimizer/irpass/incorporate_call.h
<gh_stars>1000+ /** * Copyright 2020 Huawei Technologies Co., Ltd * * 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 b...
mindspore-ai/mindspore
mindspore/ccsrc/backend/session/kernel_build_client.h
/** * Copyright 2020-2021 Huawei Technologies Co., Ltd * * 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 applicabl...
mindspore-ai/mindspore
mindspore/ccsrc/runtime/framework/actor/copy_actor.h
/** * Copyright 2021 Huawei Technologies Co., Ltd * * 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...
mindspore-ai/mindspore
mindspore/ccsrc/backend/optimizer/graph_kernel/arithmetic_simplify.h
<gh_stars>1000+ /** * Copyright 2020-2021 Huawei Technologies Co., Ltd * * 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 requi...
mindspore-ai/mindspore
mindspore/ccsrc/backend/kernel_compiler/tbe/tbe_kernel_build.h
/** * Copyright 2019 Huawei Technologies Co., Ltd * * 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...
mindspore-ai/mindspore
mindspore/lite/src/delegate/tensorrt/tensorrt_subgraph.h
<filename>mindspore/lite/src/delegate/tensorrt/tensorrt_subgraph.h /** * Copyright 2021 Huawei Technologies Co., Ltd * * 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.apac...
mindspore-ai/mindspore
mindspore/ccsrc/backend/kernel_compiler/cpu/rl/buffer_get_cpu_kernel.h
<gh_stars>1000+ /** * Copyright 2021 Huawei Technologies Co., Ltd * * 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 b...
mindspore-ai/mindspore
mindspore/lite/tools/converter/parser/parser_utils.h
<reponame>mindspore-ai/mindspore<gh_stars>1000+ /** * Copyright 2021 Huawei Technologies Co., Ltd * * 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/LIC...
mindspore-ai/mindspore
mindspore/ccsrc/backend/optimizer/pass/communication_op_fusion.h
/** * Copyright 2019 Huawei Technologies Co., Ltd * * 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 appli...
mindspore-ai/mindspore
mindspore/ccsrc/runtime/device/gpu/gpu_kernel_runtime.h
/** * Copyright 2019-2021 Huawei Technologies Co., Ltd * * 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 applicabl...
mindspore-ai/mindspore
mindspore/ccsrc/backend/kernel_compiler/gpu/arrays/slice_gpu_kernel.h
/** * Copyright 2019-2021 Huawei Technologies Co., Ltd * * 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 applicabl...
mindspore-ai/mindspore
mindspore/lite/src/lite_kernel_util.h
<reponame>mindspore-ai/mindspore /** * Copyright 2020 Huawei Technologies Co., Ltd * * 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 * * ...
mindspore-ai/mindspore
mindspore/lite/tools/common/meta_graph_utils.h
<gh_stars>1000+ /** * Copyright 2020 Huawei Technologies Co., Ltd * * 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 b...
mindspore-ai/mindspore
mindspore/lite/src/cxx_api/converters.h
/** * Copyright 2021 Huawei Technologies Co., Ltd * * 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...
mindspore-ai/mindspore
mindspore/ccsrc/profiler/device/ascend/ascend_profiling.h
<filename>mindspore/ccsrc/profiler/device/ascend/ascend_profiling.h<gh_stars>1000+ /** * Copyright 2021 Huawei Technologies Co., Ltd * * 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 * *...
mindspore-ai/mindspore
mindspore/lite/tools/converter/quantizer/full_quant_quantizer.h
/** * Copyright 2019-2021 Huawei Technologies Co., Ltd * * 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 applicabl...
mindspore-ai/mindspore
mindspore/ccsrc/debug/tensor_load.h
/** * Copyright 2019 Huawei Technologies Co., Ltd * * 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...
mindspore-ai/mindspore
mindspore/ccsrc/ps/core/communicator/tcp_communicator.h
<reponame>mindspore-ai/mindspore<gh_stars>1000+ /** * Copyright 2021 Huawei Technologies Co., Ltd * * 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/LIC...
mindspore-ai/mindspore
mindspore/ccsrc/runtime/framework/actor/control_flow/switch_actor.h
<reponame>mindspore-ai/mindspore /** * Copyright 2021 Huawei Technologies Co., Ltd * * 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 * * ...
mindspore-ai/mindspore
mindspore/ccsrc/runtime/framework/actor/control_flow/gather_actor.h
/** * Copyright 2021 Huawei Technologies Co., Ltd * * 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...
mindspore-ai/mindspore
mindspore/core/utils/info.h
/** * Copyright 2019 Huawei Technologies Co., Ltd * * 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...
mindspore-ai/mindspore
mindspore/lite/tools/converter/parser/tflite/tflite_model_parser.h
/** * Copyright 2019 Huawei Technologies Co., Ltd * * 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...
mindspore-ai/mindspore
mindspore/core/ir/manager.h
<reponame>mindspore-ai/mindspore /** * This is the C++ adaptation and derivative work of Myia (https://github.com/mila-iqia/myia/). * * Copyright 2019-2021 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Lic...
funny-falcon/bin_utils
ext/bin_utils/native.c
<filename>ext/bin_utils/native.c #include <ruby.h> #if HAVE_STDINT_H #include "stdint.h" #elif defined(_MSC_VER) typedef __int8 int8_t; typedef unsigned __int8 uint8_t; typedef __int16 int16_t; typedef unsigned __int16 uint16_t; typedef __int32 int32_t; typedef unsigned __int32 uint32_t; typedef __int64 int64_t; typed...
rburgst/AutotypeURL
AutotypeURL/ATUAutotypeURL.h
// // ATUAutotypeURL.h // AutotypeURL // // Created by <NAME> on 07.05.19. // Copyright © 2019 HicknHack Software GmbH. All rights reserved. // #import <Cocoa/Cocoa.h> #import "MPPlugin.h" NS_ASSUME_NONNULL_BEGIN FOUNDATION_EXPORT NSString *const kMPASettingsKeyFullMatch; @interface ATUAutotypeURL : MPPlugin <M...
rburgst/AutotypeURL
AutotypeURL/Settings/ATUSettingsViewController.h
<gh_stars>10-100 // // ATUSettingsViewController.h // AutotypeURL // // Created by <NAME> on 7/10/19. // Copyright © 2019 <NAME> All rights reserved. // #import <Cocoa/Cocoa.h> @class ATUAutotypeURL; @interface ATUSettingsViewController : NSViewController @end
rburgst/AutotypeURL
AutotypeURL/ATUChromeExtractor.h
// // ATUChromeExtractor.h // AutotypeURL // // Created by <NAME> on 10.05.19. // Copyright © 2019 HicknHack Software GmbH. All rights reserved. // #import <Foundation/Foundation.h> #import "ATUURLExtraction.h" NS_ASSUME_NONNULL_BEGIN @interface ATUChromeExtractor : NSObject <ATUURLExtraction> @end NS_ASSUME_NO...
rburgst/AutotypeURL
AutotypeURL/ATUSafariExtractor.h
// // ATUSafariExtractor.h // AutotypeURL // // Created by <NAME> on 10.05.19. // Copyright © 2019 HicknHack Software GmbH. All rights reserved. // #import <Foundation/Foundation.h> #import "ATUURLExtraction.h" NS_ASSUME_NONNULL_BEGIN @interface ATUSafariExtractor : NSObject <ATUURLExtraction> @end NS_ASSUME_N...
rburgst/AutotypeURL
AutotypeURL/ATUURLExtraction.h
<reponame>rburgst/AutotypeURL // // ATUURLExtraction.h // AutotypeURL // // Created by <NAME> on 10.05.19. // Copyright © 2019 HicknHack Software GmbH. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @class NSRunningApplication; @protocol ATUURLExtraction <NSObject> @required ...
CS-131-Repo/cs-131-project-AlbertBoll
Asymmetric encryption.h
#pragma once #include <iostream> #include <vector> #include<optional> // 8 hash initial message digest, each element represents HEX representation of small fraction of square root of 2,3,5,7,11,13,17,19(first 8 prime numbers) //uint32_t H[8] = { 0x6a09e667, 0xbb67ae85, 0x3c6ef372, 0xa54ff53a, 0x510e527f, 0x9b0...
gosaliajigar/Languages
C/roundrobin.c
#include<stdio.h> void init(int arrival_time[], int burst_time[], int remaining_time[]) { arrival_time[0]=0;arrival_time[1]=1;arrival_time[2]=2;arrival_time[3]=3; burst_time[0]=9;burst_time[1]=5;burst_time[2]=3;burst_time[3]=4; remaining_time[0]=9;remaining_time[1]=5;remaining_time[2]=3;remaining_time[3]=4; } ...
10088/mars
mars/log/appender.h
// Tencent is pleased to support the open source community by making Mars available. // Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. // Licensed under the MIT License (the "License"); you may not use this file except in // compliance with the License. You may obtain a copy of the Licens...
10088/mars
mars/sdt/src/checkimpl/pingquery.h
// Tencent is pleased to support the open source community by making Mars available. // Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. // Licensed under the MIT License (the "License"); you may not use this file except in // compliance with the License. You may obtain a copy of the Licens...
10088/mars
mars/comm/windows/thread/thread.h
<reponame>10088/mars // Tencent is pleased to support the open source community by making Mars available. // Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. // Licensed under the MIT License (the "License"); you may not use this file except in // compliance with the License. You may obtain...
10088/mars
mars/stn/src/socket_operator.h
<filename>mars/stn/src/socket_operator.h // // Created by <NAME> on 2020/7/30. // #ifndef MMNET_SOCKET_OPERATER_H #define MMNET_SOCKET_OPERATER_H #include "comm/autobuffer.h" #include "comm/socket/unix_socket.h" #include "comm/socket/socket_address.h" #include "comm/comm_data.h" #include <memory> #include <vector> #i...
10088/mars
mars/openssl/include/openssl/opensslconf-windows.h
/* * Building OpenSSL for the different architectures of all iOS and tvOS devices requires different settings. * In order to be able to use assembly code on all devices, the choice was made to keep optimal settings for all * devices and use this intermediate header file to use the proper opensslconf.h file for each ...
10088/mars
mars/app/app.h
// Tencent is pleased to support the open source community by making Mars available. // Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. // Licensed under the MIT License (the "License"); you may not use this file except in // compliance with the License. You may obtain a copy of the Licens...
10088/mars
mars/comm/unique_resource.h
#pragma once #include <utility> #include "mars/comm/xlogger/xlogger.h" #include "mars/comm/socket/unix_socket.h" #ifndef NDEBUG #include "mars/comm/fd_info.h" #endif namespace internal{ struct SocketTraits{ static SOCKET InvalidValue(){ return INVALID_SOCKET; } static void Fre...
10088/mars
mars/stn/jni/stn_logic_C2Java.h
<reponame>10088/mars // Tencent is pleased to support the open source community by making Mars available. // Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. // Licensed under the MIT License (the "License"); you may not use this file except in // compliance with the License. You may obtain ...
10088/mars
mars/comm/verinfo.h
#ifndef Mars_verinfo_h #define Mars_verinfo_h #define MARS_REVISION "1cfaf5c2" #define MARS_PATH "master" #define MARS_URL "" #define MARS_BUILD_TIME "2022-05-27 15:31:05" #define MARS_TAG "" #endif
humeniuc/vim9-nox11
native/app/vim9-nox11.c
#include "json_msg_handler.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <uv.h> static void alloc_buffer(uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf) { (void)handle; (void)suggested_size; static char buf_base[MAX_VIM_INPUT]; memset(buf_base, 0,...
humeniuc/vim9-nox11
native/app/json_msg_handler.c
<reponame>humeniuc/vim9-nox11<filename>native/app/json_msg_handler.c #include "json_msg_handler.h" #include <string.h> void handle_msg(const char *msg_str) { printf("{\"cmd\": \"remote_tab\", \"file_path\": \"%s\"}", msg_str); fflush(stdout); }
humeniuc/vim9-nox11
native/app/json_msg_handler.h
<gh_stars>0 #ifndef JSON_MSG_HANDLER_H #define JSON_MSG_HANDLER_H #include <uv.h> #define MAX_VIM_INPUT (PATH_MAX + 10) #define MAX_REAL_RESPONSE_SIZE (PATH_MAX + 100) #ifdef __cplusplus extern "C" { #endif void handle_msg(const char *msg_str); #ifdef __cplusplus } #endif #endif /* JSON_MSG_HANDLER_H */
VP-Projects/adc-reader
include/AdcReader.h
/** * @file AdcReader.h * @author <NAME> (<EMAIL>) * @brief Declaration of the AdcReader class. * @version 0.1.0 * @date 17-12-2020 * * Copyright (c) 2020 <NAME> * */ #ifndef AdcReader_h #define AdcReader_h #include <Arduino.h> /** * @brief Class to represent a ADC reader on Ardui...
Kamigami55/time-gloves
timegloves-openstm32-project/inc/gpio.h
/** * @author <NAME> * @email <EMAIL> * @website http://stm32f4-discovery.com * @link http://stm32f4-discovery.com/2015/07/hal-library-1-5-gpio-library-for-stm32fxxx/ * @version v1.0 * @ide Keil uVision * @license MIT * @brief GPIO Library for STM32F4xx and STM32F7xx devices * \verbatim --------...
Kamigami55/time-gloves
timegloves-openstm32-project/src/main.c
/** ****************************************************************************** * @file main.c * @author Ac6 * @version V1.0 * @date 01-December-2013 * @brief Default main function. ****************************************************************************** */ #include "stm32l4...
Kamigami55/time-gloves
timegloves-openstm32-project/inc/rotary.h
#ifndef ROTARY_H_ #define ROTARY_H_ #include "gpio.h" #include "stm32l476xx.h" #include "common.h" #include "lcd.h" int DARK; // dark duration #define LIGHT 200 // light duration, should be a constant int DURATION; int FREQUENCY; void ROTARY_Init(void); void pinChangeISR(); void ROTARY_E...
Kamigami55/time-gloves
timegloves-openstm32-project/inc/gpio.c
/** * |---------------------------------------------------------------------- * | Copyright (c) 2016 <NAME> * | * | 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...
Kamigami55/time-gloves
timegloves-openstm32-project/inc/common.c
<reponame>Kamigami55/time-gloves #include "common.h" void delay_us(int n) { asm("push {r0}\r\n" "mov r0, r0\r\n" "LOOP_US:\r\n" "nop\r\n" "subs r0, #1\r\n" "BGT LOOP_US\r\n" "POP {r0}\r\n" :: "r" (n)); }
Kamigami55/time-gloves
timegloves-openstm32-project/inc/rotary.c
#include "rotary.h" //#define ROTARY_CLK_PORT GPIOA //#define ROTARY_CLK_PIN 1 ////#define ROTARY_CLK_PORT GPIOB ////#define ROTARY_CLK_PIN 0 //#define ROTARY_DT_PORT GPIOA //#define ROTARY_DT_PIN 4 #define ROTARY_CLK_PORT GPIOC #define ROTARY_CLK_PIN 2 //#define ROTARY_CLK_PORT GPIOB //#define ROT...
Kamigami55/time-gloves
timegloves-openstm32-project/inc/common.h
<filename>timegloves-openstm32-project/inc/common.h #ifndef COMMON_H_ #define COMMON_H_ #define SET_REG(REG,SELECT,VAL) {((REG)=((REG)&(~(SELECT))) | (VAL));}; void delay_us(int n); #endif
Kamigami55/time-gloves
timegloves-openstm32-project/inc/lcd.c
<gh_stars>1-10 #include "lcd.h" /* LCD 1602A pins * * 1: VSS GND * 2: VDD 5V * 3: VS GND * 4: RS PB3 * 5: R/W PB4 * 6: E PB5 * 7: DB0 PB10 * 8: DB1 PA8 * 9: DB2 PA9 * 10: DB3 PC7 * 11: DB4 PB6 * 12: DB5 PA7 * 13: DB6 PA6 * 14: DB7 PA5 * 15: 5V * 16: GND */ #...
Kamigami55/time-gloves
timegloves-openstm32-project/inc/lcd.h
#ifndef LCD_H_ #define LCD_H_ #include "gpio.h" #include "stm32l476xx.h" #include "common.h" void LCD_Init(void); void LCD_Write_Command(uint8_t RS, uint8_t RW, uint8_t DATA); void LCD_Append_Char(char ch); void LCD_Display_One_Line(uint8_t* line); void LCD_Display_Two_Line(uint8_t* line1, uint8_t* line2...
flhofer/I4S_LoRaWanTest
MKRWAN.h
<gh_stars>0 /* This file is part of the MKRWAN library. Copyright (C) 2017 Arduino AG (http://www.arduino.cc/) Based on the TinyGSM library https://github.com/vshymanskyy/TinyGSM Copyright (c) 2016 <NAME> MKRWAN library is free software: you can redistribute it and/or modify it under the terms of the GNU...
flhofer/I4S_LoRaWanTest
main.h
<reponame>flhofer/I4S_LoRaWanTest /* * main.h * * Created on: May 25, 2020 * Author: <NAME> */ #ifndef _MAIN_H_ #define _MAIN_H_ #include "Arduino.h" // Serial connection definition #define debugSerial SerialUSB // USB Serial #define loraSerial SerialLoRa // Hardware serial #define LORA_DEBUG debugSe...
flhofer/I4S_LoRaWanTest
LoRaMgmt.h
/* * LoRaMgmt.h * * Created on: Nov 3, 2020 * Author: <NAME> */ #ifndef LORAMGMT_H_ #define LORAMGMT_H_ #include <stdint.h> #include "main.h" // Select frequency plan between TTN_FP_EU868 or TTN_FP_US915 #define CM_OTAA 1 // LORAWAN use OTAA join instead of ABP #define CM_DTYCL 2 // LORAWAN enable du...
INetCC/ccbasic
src/ccbasic.c
/* * ccbasic - Classic Computer BASIC * Copyright (C) 2020 <NAME> * * Redistributions, modified or unmodified, in whole or in part, must retain * applicable copyright or other legal privilege notices, these conditions, and * the following license terms and disclaimer. Subject to these conditions, * the holder(s...
DrItanium/durandal
lib/maya/init.c
/* maya Copyright (c) 2012-2013, <NAME> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the...
DrItanium/durandal
lib/electron/strngrtr.c
<reponame>DrItanium/durandal<filename>lib/electron/strngrtr.c /*******************************************************/ /* "C" Language Integrated Production System */ /* */ /* CLIPS Version 6.30 08/16/14 */ /* ...
DrItanium/durandal
include/pipeline/clips/CLIPSPassGenerator.h
#ifndef _clips_pass_generator_h #define _clips_pass_generator_h #include "indirect/IndirectPassGenerator.h" #include "pipeline/clips/CLIPSPassTemplates.h" using namespace indirect; namespace pipeline { namespace clips { /* * Use this class to generate indirect passes representing a clips pass * ...
DrItanium/durandal
include/pipeline/clips/CLIPSPassHeader.h
<filename>include/pipeline/clips/CLIPSPassHeader.h #ifndef _clips_pass_header_h #define _clips_pass_header_h #include "indirect/IndirectPassHeader.h" #include "llvm/ADT/StringRef.h" #include "llvm/ADT/SmallVector.h" using namespace indirect; namespace pipeline { namespace clips { /* An extension of the Indir...
DrItanium/durandal
lib/electron/classexm.c
/*******************************************************/ /* "C" Language Integrated Production System */ /* */ /* CLIPS Version 6.30 08/16/14 */ /* */ /* ...
DrItanium/durandal
include/indirect/IndirectPassHeader.h
<gh_stars>1-10 #ifndef _indirect_pass_header_h #define _indirect_pass_header_h #include "indirect/IndirectAnalysisUsageDeclaration.h" #include "indirect/IndirectUniqueIdentifier.h" /* An indirect pass header is a magical and wonderful class that contains a * wide assortment of information ranging from the name of a pa...
DrItanium/durandal
include/obsolete/ExpertSystem/CLIPSRegionBuilder.h
#ifndef _clips_region_builder_h #define _clips_region_builder_h #include "ExpertSystem/CLIPSObjectBuilder.h" #include "llvm/Analysis/RegionInfo.h" #include "llvm/Analysis/RegionIterator.h" using namespace llvm; class CLIPSRegionBuilder : public CLIPSObjectBuilder { public: CLIPSRegionBuilder(std::string nm, Functio...