repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
754340156/NQhsb | Pods/Target Support Files/TZImagePickerController/TZImagePickerController-umbrella.h | #ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
#import "TZAssetCell.h"
#import "TZAssetModel.h"
#import "TZImageManager.h"
#import "TZImagePickerController.h"
#import "TZPhotoPickerController.h"
#import "TZPhotoPreviewCell.h"
#import "TZPhotoPreviewController.h"
#import "TZVideoPlayerController.h"
#import "UIView+Layo... |
754340156/NQhsb | Operator/tool/BXTTextColor.h | <reponame>754340156/NQhsb
//
// BXTTextColor.h
// 富文本
//
// Created by 白小田 on 16/8/27.
// Copyright © 2016年 jock. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
@interface BXTTextColor : NSObject
/**
* 单纯改变一句话中的某些字的颜色与字体大小
*
* @param text1 要拼接的第一个字符串
* @param text2 要拼接... |
754340156/NQhsb | Operator/tool/Category/NSString/NSString+YWExtension.h | //
// NSString+YWExtension.h
// YWBaseFrameWork
//
// Created by mac on 16/7/17.
// Copyright © 2016年 NeiQuan. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
@interface NSString (YWExtension)
/// 验证字符串为空 ,为空:YES, 不为空:NO
+ (BOOL)StringIsNULL:(NSString *)string;
/// 验证手机号码, 正确:YE... |
754340156/NQhsb | Operator/tool/Category/AppDelegate/AppDelegate+JPush.h | <filename>Operator/tool/Category/AppDelegate/AppDelegate+JPush.h
//
// AppDelegate+JPush.h
// SmallLook
//
// Created by NeiQuan on 16/6/30.
// Copyright © 2016年 余伟. All rights reserved.
//
#import "AppDelegate.h"
@interface AppDelegate (JPush)
- (void)JpushApplication:(UIApplication *)application didFinishLaunch... |
754340156/NQhsb | Operator/tool/wxpay/WXUtil.h | //
// WXUtil.h
// wechatPay
//
// Created by os on 15/4/20.
// Copyright (c) 2015年 os. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CommonCrypto/CommonDigest.h>
@interface WXUtil : NSObject<NSXMLParserDelegate>
{
}
/*
加密实现MD5和SHA1
*/
+(NSString *)md5:(NSString *)str;
+(NSString *)sha1:(NSStr... |
754340156/NQhsb | Operator/tool/Encryption/NSString+Coded.h | <gh_stars>1-10
//
// NSString+Coded.h
// StringEncryption
//
// Created by 袁志浦 on 2016/10/8.
// Copyright © 2016年 袁志浦. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CommonCrypto/CommonDigest.h>
#import <CommonCrypto/CommonCryptor.h>
#import "GTMBase64.h"
@interface NSString (MD5)
- (NSStr... |
754340156/NQhsb | Operator/DetailCell.h | //
// DetailCell.h
// Operator
//
// Created by 白小田 on 2016/10/26.
// Copyright © 2016年 白小田. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "Html5FootViewModel.h"
@interface DetailCell : UITableViewCell
kBxtPropertyStrong UIView *kBxtHeadView;
kBxtPropertyStrong UILabel *kBxtTimeLabel;
kBxtPropertyStro... |
754340156/NQhsb | Operator/Html5FootViewModel.h | <filename>Operator/Html5FootViewModel.h
//
// Html5FootViewModel.h
// Operator
//
// Created by 白小田 on 2016/10/26.
// Copyright © 2016年 白小田. All rights reserved.
//
#import <Foundation/Foundation.h>
@class Html5FootResponse,Html5FootList;
@interface Html5FootViewModel : NSObject
@property (nonatomic, strong) Htm... |
754340156/NQhsb | Operator/tool/Account/UserInfo.h | //
// BABar.h
// Hippo
//
// Created by jock on 16/6/30.
// Copyright © 2016年 jock. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "XBAccount.h"
@interface UserInfo: NSObject
/**
* 实例化
*/
+ (UserInfo *)shared;
/**
* 保存
*/
+ (void)saveAccount:(XBAccount *)account;
/**
* 取出数据
*
* @retu... |
754340156/NQhsb | Operator/tool/XTStringStatic.h | <reponame>754340156/NQhsb<filename>Operator/tool/XTStringStatic.h
//
// XTStringStatic.h
// Operator
//
// Created by 白小田 on 2016/11/4.
// Copyright © 2016年 白小田. All rights reserved.
//
#ifndef XTStringStatic_h
#define XTStringStatic_h
#define kBxtNetWorkError @"请检查网络连接"
#define kBxtNetWorkFinish @"请求成功"
#defin... |
754340156/NQhsb | Pods/Target Support Files/Canvas/Canvas-umbrella.h | <reponame>754340156/NQhsb<gh_stars>1-10
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
#import "Canvas.h"
#import "CSAnimation.h"
#import "CSAnimationView.h"
#import "CSBlurView.h"
#import "CSNavigationController.h"
#import "UIButton+TCCustomFont.h"
#import "UILabel+TCCustomFont.h"
#import "UINavigationBar+TCCustomFon... |
754340156/NQhsb | Pods/Target Support Files/CocoaAsyncSocket/CocoaAsyncSocket-umbrella.h | #ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
#import "GCDAsyncSocket.h"
#import "GCDAsyncUdpSocket.h"
#import "AsyncSocket.h"
#import "AsyncUdpSocket.h"
FOUNDATION_EXPORT double CocoaAsyncSocketVersionNumber;
FOUNDATION_EXPORT const unsigned char CocoaAsyncSocketVersionString[];
|
754340156/NQhsb | Operator/tool/OperatorImport.h | <gh_stars>1-10
//
// OperatorImport.pch
// Operator
//
// Created by 白小田 on 16/9/12.
// Copyright © 2016年 白小田. All rights reserved.
//
#import "AFNetworking.h"
#import "Tool.h"
#import "UIImage+ZP.h"
#import "Html5LoadUrl.h"
#import "NSString+YWExtension.h"
#import "UMSocialUIManager.h"
//仿微信按住说话
#import "LGAu... |
Shouyedeng/gcr-jtl | txcommands.h | /*
* txcommands.h --
*
* Declarations for textio command routines.
*
* *********************************************************************
* * Copyright (C) 1985, 1990 Regents of the University of California. *
* * Permission to use, copy, modify, and distribute this *
* * sof... |
Shouyedeng/gcr-jtl | gcrDebug.c | /* gcrDebug.c -
*
* The greedy router, debug routines.
*
* *********************************************************************
* * Copyright (C) 1985, 1990 Regents of the University of California. *
* * Permission to use, copy, modify, and distribute this *
* * software and its ... |
Shouyedeng/gcr-jtl | windows.h | <reponame>Shouyedeng/gcr-jtl<filename>windows.h
/*
* windows.h --
*
* Interface definitions for Magic's window manager. This
* package manages a set of overlapping windows.
*
* *********************************************************************
* * Copyright (C) 1985, 1990 Regents of the University o... |
Shouyedeng/gcr-jtl | gcrUnsplit.c | /* gcrUnsplit.c -
*
* The greed router: Procedures for jogging unsplit nets.
* * Raising rising nets and lowering falling nets.
* * Vacating tracks needed at the end of the channel.
*
* *********************************************************************
* * Copyright (C) 1985, 1990 Regents of the U... |
Shouyedeng/gcr-jtl | gcrFlags.c | /* gcrFlags.c -
*
* Code to set contact and end flags at each grid point in a channel.
* This code assumes the channel has already been transformed into left
* to right routing form. These flags are used during channel routing.
*
* Hazard flags are set in the router module, as they are needed by the
* global ro... |
Shouyedeng/gcr-jtl | geometry.h | <gh_stars>0
/* geometry.h --
*
* *********************************************************************
* * Copyright (C) 1985, 1990 Regents of the University of California. *
* * Permission to use, copy, modify, and distribute this *
* * software and its documentation for any purpos... |
Shouyedeng/gcr-jtl | geometry.c | /* geometry.c --
*
* *********************************************************************
* * Copyright (C) 1985, 1990 Regents of the University of California. *
* * Permission to use, copy, modify, and distribute this *
* * software and its documentation for any purpose and withou... |
Shouyedeng/gcr-jtl | rtrPin.c | /*
* rtrPin.c --
*
* Code for linking together the pins in adjacent channels.
*
* *********************************************************************
* * Copyright (C) 1985, 1990 Regents of the University of California. *
* * Permission to use, copy, modify, and distribute this *
*... |
Shouyedeng/gcr-jtl | main.h | /*
* main.h --
*
* Header file containing global variables for all MAGIC modules and a
* couple of global procedures.
*
* *********************************************************************
* * Copyright (C) 1985, 1990 Regents of the University of California. *
* * Permission to use, copy, modi... |
Shouyedeng/gcr-jtl | debug.h | /*
* debug.h --
*
* Defines the interface to the debugging module.
* The debugging module provides a standard collection of
* procedures for setting, examining, and testing debugging flags.
* Also measurement code.
*
* *********************************************************************
* * Copyright... |
Shouyedeng/gcr-jtl | dbwind.h | /*
* dbwind.h --
*
* Interface definitions for the 'glue' between the window
* manager and the database.
*
* *********************************************************************
* * Copyright (C) 1985, 1990 Regents of the University of California. *
* * Permission to use, copy, modify, and distri... |
Shouyedeng/gcr-jtl | gcr.h | <gh_stars>0
/*
* gcr.h --
*
* Routines to implement a modified version of Rivest's Greedy Router.
*
* *********************************************************************
* * Copyright (C) 1985, 1990 Regents of the University of California. *
* * Permission to use, copy, modify, and distribute thi... |
Shouyedeng/gcr-jtl | main.c | #include <stdio.h>
#include "magic.h"
#include "geometry.h"
#include "gcr.h"
#include "router.h"
#include "tile.h"
int RtrGridSpacing = 1;
int main(){
char* inFile = "gcr_sbox_conn.echo";
//char* inFile = "gcr_sbox_conn_error.echo";
GCRRouteFromFile(inFile);
return 0;
}
|
Shouyedeng/gcr-jtl | lookup.c | /* lookup.c --
*
* *********************************************************************
* * Copyright (C) 1985, 1990 Regents of the University of California. *
* * Permission to use, copy, modify, and distribute this *
* * software and its documentation for any purpose and without ... |
Shouyedeng/gcr-jtl | gcrColl.c | <reponame>Shouyedeng/gcr-jtl
/* gcrColl.c -
*
* The greedy router: Collapsing split nets.
*
* *********************************************************************
* * Copyright (C) 1985, 1990 Regents of the University of California. *
* * Permission to use, copy, modify, and distribute this ... |
Shouyedeng/gcr-jtl | database.h | /*
* database.h --
*
* Definitions for the database module.
* This file defines everything that is visible to clients
* outside the database module.
*
* *********************************************************************
* * Copyright (C) 1985, 1990 Regents of the University of California. *
* ... |
Shouyedeng/gcr-jtl | search.c | <gh_stars>0
/*
* search.c --
*
* Point searching.
*
* *********************************************************************
* * Copyright (C) 1985, 1990 Regents of the University of California. *
* * Permission to use, copy, modify, and distribute this *
* * software and its docu... |
Shouyedeng/gcr-jtl | txOutput.c | <reponame>Shouyedeng/gcr-jtl<filename>txOutput.c
/*
* txOutput.c --
*
* Handles 'stdout' and 'stderr' output.
*
* *********************************************************************
* * Copyright (C) 1985, 1990 Regents of the University of California. *
* * Permission to use, copy, modify, and d... |
Shouyedeng/gcr-jtl | hash.c | <reponame>Shouyedeng/gcr-jtl
/* hash.c --
*
* *********************************************************************
* * Copyright (C) 1985, 1990 Regents of the University of California. *
* * Permission to use, copy, modify, and distribute this *
* * software and its documentation f... |
Shouyedeng/gcr-jtl | gcrRoute.c | <reponame>Shouyedeng/gcr-jtl
/* gcrRoute.c -
*
* The greedy router: Top level procedures.
*
* *********************************************************************
* * Copyright (C) 1985, 1990 Regents of the University of California. *
* * Permission to use, copy, modify, and distribute this ... |
Shouyedeng/gcr-jtl | heap.h | /*
* heap.h --
*
* Routines to create and maintain heaps.
*
* *********************************************************************
* * Copyright (C) 1985, 1990 Regents of the University of California. *
* * Permission to use, copy, modify, and distribute this *
* * software and ... |
Shouyedeng/gcr-jtl | graphics.h | <gh_stars>0
/* graphics.h -
*
* *********************************************************************
* * Copyright (C) 1985, 1990 Regents of the University of California. *
* * Permission to use, copy, modify, and distribute this *
* * software and its documentation for any purpose... |
Shouyedeng/gcr-jtl | hash.h | <reponame>Shouyedeng/gcr-jtl<filename>hash.h
/* hash.h --
*
* *********************************************************************
* * Copyright (C) 1985, 1990 Regents of the University of California. *
* * Permission to use, copy, modify, and distribute this *
* * software and its... |
Shouyedeng/gcr-jtl | gcrFeas.c | <reponame>Shouyedeng/gcr-jtl
/* gcrFeas.c -
*
* The greed router: Making feasible top and bottom connections.
* This includes the initial attempt and widening if a
* connection could not be made.
*
* *********************************************************************
* * Copyright (C) 1985, 1990 Re... |
Shouyedeng/gcr-jtl | malloc.c | <filename>malloc.c<gh_stars>0
/*
* malloc.c --
*
* Memory allocator.
* Magic no longer contains its own version of malloc(), as all modern
* operating systems have implementations which are as good or better.
*
* The main thing this file does is to define mallocMagic and friends.
* freeMagic frees the p... |
Shouyedeng/gcr-jtl | textioInt.h | <gh_stars>0
/*
* textioInt.h --
*
* INTERNAL definitions for the textio module
*
* *********************************************************************
* * Copyright (C) 1985, 1990 Regents of the University of California. *
* * Permission to use, copy, modify, and distribute this *
... |
ulises-jeremias/sistemas-paralelos | entrega1/ejercicio1/secuencial/main.c | #include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <matrix.h>
#define PRINTABLE_TIME(_x) ((long double) (clock() - _x)/CLOCKS_PER_SEC)
int
main(int argc, char const *argv[])
{
size_t I, J, K, i, j, k, N, r, n, matrix_size, matrix_tri_size, block_size;
size_t desp1, desp2, desp3, desp, t... |
ulises-jeremias/sistemas-paralelos | entrega1/ejercicio1/matrix.h | <reponame>ulises-jeremias/sistemas-paralelos
#ifndef MATRIX_H
#define MATRIX_H
#ifdef __STDC__
#define PREDEF_STANDARD_C89
#ifdef __STDC_VERSION__
#if __STDC_VERSION__ >= 199901L
#define PREDEF_STANDARD_C99
#if __STDC_VERSION__ >= 201112L
... |
ulises-jeremias/sistemas-paralelos | entrega2/secuencial.c | <filename>entrega2/secuencial.c<gh_stars>0
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "include/util.h"
int
main(int argc, char const *argv[])
{
double timetick;
int solutions = 0;
int xj = 0, yi = 0, k = 0;
int flag = 1;
int N, *positions;
N = (... |
ulises-jeremias/sistemas-paralelos | entrega1/ejercicio2/pthread.c | #include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <pthread.h>
#define PRINTABLE_TIME(_x) ((long double) (clock() - _x)/CLOCKS_PER_SEC)
size_t N, NUM_THREADS, p = 0, *A;
pthread_mutex_t count_mutex;
void *
initialize(void *thread_id)
{
size_t i, t_id;
t_id = (size_t) thread_id;
... |
ulises-jeremias/sistemas-paralelos | entrega1/ejercicio1/pthread/main.c | <filename>entrega1/ejercicio1/pthread/main.c
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <pthread.h>
#include <matrix.h>
#define PRINTABLE_TIME(_x) ((long double) (clock() - _x)/CLOCKS_PER_SEC)
size_t n, NUM_THREADS = 4, r, N, matrix_size, matrix_tri_size, block_size;
double *A, *B, *C, *D, *L,... |
ulises-jeremias/sistemas-paralelos | entrega1/ejercicio2/secuencial.c | #include <stdlib.h>
#include <stdio.h>
#include <time.h>
#define PRINTABLE_TIME(_x) ((long double) (clock() - _x)/CLOCKS_PER_SEC)
int
main(int argc, char const *argv[])
{
clock_t cl;
size_t N, i, p = 0, *A;
if (argc < 2)
{
printf(" Faltan argumentos: N dimension del a... |
ulises-jeremias/sistemas-paralelos | entrega1/ejercicio2/openmp.c | <reponame>ulises-jeremias/sistemas-paralelos
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <omp.h>
#define PRINTABLE_TIME(_x) ((long double) (clock() - _x)/CLOCKS_PER_SEC)
int
main(int argc, char const *argv[])
{
size_t N, NUM_THREADS, i, sec_p = 0, p = 0, *A;
clock_t cl;
... |
ulises-jeremias/sistemas-paralelos | entrega2/util.c | #include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include "include/util.h"
#ifdef DEBUG
/*
* Show the queens positions on the board in compressed form,
* each number represent the occupied column position in the corresponding row.
*/
__EXTERN_INLINE void
show_short_board(int N, int *positions)
{
RO... |
ulises-jeremias/sistemas-paralelos | entrega2/mpi.c | <filename>entrega2/mpi.c
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <mpi.h>
#include "include/util.h"
void master(int N, int rank, int cant_proc);
void slave(int N, int rank, int cant_proc);
int
main(int argc, char *argv[])
{
int rank, amount;
int N = atoi(ar... |
ulises-jeremias/sistemas-paralelos | entrega2/include/util.h | <gh_stars>0
#ifndef _UTILS_H
#define _UTILS_H
#ifdef __STDC__
#define PREDEF_STANDARD_C89
#ifdef __STDC_VERSION__
#if __STDC_VERSION__ >= 199901L
#define PREDEF_STANDARD_C99
#if __STDC_VERSION__ >= 201112L
#... |
ulises-jeremias/sistemas-paralelos | entrega1/ejercicio1/matrix.c | #include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <matrix.h>
static size_t n = 4;
static size_t r = 4;
__EXTERN_INLINE void
matrix_get_blocks_count(size_t *size)
{
*size = n;
}
__EXTERN_INLINE void
matrix_set_blocks_count(size_t size)
{
n = size;
}
__EXTERN_INLINE void
matrix_get_blo... |
chamathns/samples-is | mobile-proxy-idp/ios/azone/AZone/ViewController.h | //
// ViewController.h
// AZone
//
// Created by Shanmugarajah on 7/1/14.
// Copyright (c) 2014 WSO2. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "IdPProxy.h"
@interface ViewController : UIViewController <IdPProxyDelegate>
@property (weak, nonatomic) IBOutlet UIButton *buttonLogin;
- (IBAction)tap:(id... |
chamathns/samples-is | client-samples/oidc-client-app-samples/ios-client-app-sample/Pods/Target Support Files/AppAuth/AppAuth-umbrella.h | #ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
#import "AppAuth.h"
#import "OIDAuthorizationFlowSession.h"
#import "OIDAuthorizationRequest.h"
#import "OIDAuthorizationResp... |
chamathns/samples-is | mobile-proxy-idp/ios/ebuy/eBuy/IdPProxy.h | /**
* Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0... |
chamathns/samples-is | mobile-proxy-idp/ios/azone/AZone/AppDelegate.h | //
// AppDelegate.h
// AZone
//
// Created by Shanmugarajah on 7/1/14.
// Copyright (c) 2014 WSO2. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "IdPProxy.h"
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@property (strong, nonatomic) IdPPr... |
crystalfontz/CFAP104212D0-0213 | Images_for_CFAP104212D00213.h | #ifndef __IMAGES_FOR_CFAP104212D00213_H__
#define __IMAGES_FOR_CFAP104212D00213_H__
//=============================================================================
// "Arduino" example program for Crystalfontz ePaper.
//
// This project is for the CFAP104212D0-0213:
//
// https://www.crystalfontz.com/product/cfap104... |
zwadood/BESSPIN-CloudGFE | AWSteria/src_Host_Side/AWS_Sim_Lib.c | #include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
#include <unistd.h>
#include "Bytevec.h"
#include "AWS_Sim_Lib.h"
#include "TCP_Client_Lib.h"
// ================================================================
// Misc. constants
#define min(a,b) = (((a) < (b)) ? (a... |
zwadood/BESSPIN-CloudGFE | AWSteria/src_Host_Side/Bytevec.h | <gh_stars>0
// This file was generated from spec file 'AWS_FPGA_Spec'
#pragma once
// ================================================================
// Size on the wire: 18 bytes
typedef struct {
uint16_t awid; // 16 bits
uint64_t awaddr; // 64 bits
uint8_t awlen; ... |
zwadood/BESSPIN-CloudGFE | AWSteria/developer_designs/cl_BSV_WindSoC/software/runtime/AA_Extra_Stuff.c | #include "Memhex_read.h"
static const char this_file_name [] = "test_dram_dma_hwsw_cosim.c";
// ----------------
// Forward decls of functions
int peek_poke_example(uint32_t value, int slot_id, int pf_id, int bar_id);
int load_mem_hex32_using_DMA (int slot_id, char *filename);
int debug_server (int slot_id, int pf_i... |
zwadood/BESSPIN-CloudGFE | AWSteria/src_Host_Side/test_dram_dma_common.c | <gh_stars>0
/*
* Amazon FPGA Hardware Development Kit
*
* Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Amazon Software License (the "License"). You may not use
* this file except in compliance with the License. A copy of the License is
* located at
*
* http:... |
zwadood/BESSPIN-CloudGFE | AWSteria/builds/RV64ACDFIMSU_Flute_verilator_AWS/Verilog_RTL/vpi_wrapper_c_start_timing.h | <filename>AWSteria/builds/RV64ACDFIMSU_Flute_verilator_AWS/Verilog_RTL/vpi_wrapper_c_start_timing.h
/*
* Generated by Bluespec Compiler, version 2019.05.beta2 (build a88bf40db, 2019-05-24)
*
*
*
*/
#ifndef __vpi_wrapper_c_start_timing_h__
#define __vpi_wrapper_c_start_timing_h__
#include <vpi_user.h>
/* regis... |
zwadood/BESSPIN-CloudGFE | AWSteria/developer_designs/cl_BSV_WindSoC/software/runtime/Elf_to_Hex32.c | // Copyright (c) 2013-2019 Bluespec, Inc. All Rights Reserved
// This program reads an ELF file into an in-memory byte-array.
// This can then sent to a debugger.
// ================================================================
// Standard C includes
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#inc... |
zwadood/BESSPIN-CloudGFE | AWSteria/builds/RV64ACDFIMSU_Flute_verilator_AWS/Verilog_RTL/vpi_wrapper_c_trace_file_open.h | <filename>AWSteria/builds/RV64ACDFIMSU_Flute_verilator_AWS/Verilog_RTL/vpi_wrapper_c_trace_file_open.h
/*
* Generated by Bluespec Compiler, version 2019.05.beta2 (build a88bf40db, 2019-05-24)
*
*
*
*/
#ifndef __vpi_wrapper_c_trace_file_open_h__
#define __vpi_wrapper_c_trace_file_open_h__
#include <vpi_user.h>
... |
zwadood/BESSPIN-CloudGFE | AWSteria/src_Host_Side/TCP_Client_Lib.c | <reponame>zwadood/BESSPIN-CloudGFE<gh_stars>0
// Copyright (c) 2020 Bluespec, Inc. All Rights Reserved
// ================================================================
// Client communications over TCP/IP
// Sends and receives bytevecs over a TCP socket to/from a remote server
// ----------------
// Acknowledgem... |
zwadood/BESSPIN-CloudGFE | AWSteria/developer_designs/cl_BSV_WindSoC/software/runtime/test.c | // Amazon FPGA Hardware Development Kit
//
// Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Amazon Software License (the "License"). You may not use
// this file except in compliance with the License. A copy of the License is
// located at
//
// http://aws.amazon.co... |
zwadood/BESSPIN-CloudGFE | AWSteria/src_Testbench_AWS/Top/C_Imported_Functions.h | <reponame>zwadood/BESSPIN-CloudGFE
// Copyright (c) 2016-2020 Bluespec, Inc. All Rights Reserved
#pragma once
// ================================================================
// These are functions imported into BSV during Bluesim or Verilog simulation.
// See C_Imports.bsv for the corresponding 'import BDPI' dec... |
zwadood/BESSPIN-CloudGFE | AWSteria/src_Host_Side/TCP_Client_Lib.h | <gh_stars>0
// Copyright (c) 2019 Bluespec, Inc. All Rights Reserved
// ================================================================
// Client communications for DSharp
// Sends and receives bytevecs over a TCP socket to/from a remote server
// ================================================================
#... |
zwadood/BESSPIN-CloudGFE | AWSteria/builds/RV64ACDFIMSU_Flute_verilator_AWS/Verilog_RTL/vpi_wrapper_c_host_send.h | /*
* Generated by Bluespec Compiler, version 2019.05.beta2 (build a88bf40db, 2019-05-24)
*
*
*
*/
#ifndef __vpi_wrapper_c_host_send_h__
#define __vpi_wrapper_c_host_send_h__
#include <vpi_user.h>
/* registration function */
void c_host_send_vpi_register();
/* VPI wrapper function */
PLI_INT32 c_host_send_cal... |
zwadood/BESSPIN-CloudGFE | AWSteria/src_Host_Side/Bytevec.c | // This file was generated from spec file 'AWS_FPGA_Spec'
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include "Bytevec.h"
static int verbosity = 0;
// ================================================================
// State constructor and initializer
Bytevec_state *mk_Byt... |
zwadood/BESSPIN-CloudGFE | AWSteria/src_Testbench_AWS/Top/C_Imported_Functions.c | <filename>AWSteria/src_Testbench_AWS/Top/C_Imported_Functions.c<gh_stars>0
// Copyright (c) 2013-2020 Bluespec, Inc. All Rights Reserved
// ================================================================
// These are functions imported into BSV during Bluesim or Verilog simulation.
// See C_Imports.bsv for the corre... |
zwadood/BESSPIN-CloudGFE | AWSteria/src_Host_Side/AWS_Sim_Lib.h | #pragma once
extern
void AWS_Sim_Lib_init (void);
extern
void AWS_Sim_Lib_shutdown (void);
extern
int fpga_dma_burst_read (int fd, uint8_t *buffer, size_t size, uint64_t address);
extern
int fpga_dma_burst_write (int fd, uint8_t *buffer, size_t size, uint64_t address);
extern
int fpga_pci_peek (uint32_t ocl_addr, ... |
zwadood/BESSPIN-CloudGFE | AWSteria/builds/RV64ACDFIMSU_Flute_verilator_AWS/Verilog_RTL/vpi_wrapper_c_trace_file_close.h | /*
* Generated by Bluespec Compiler, version 2019.05.beta2 (build a88bf40db, 2019-05-24)
*
*
*
*/
#ifndef __vpi_wrapper_c_trace_file_close_h__
#define __vpi_wrapper_c_trace_file_close_h__
#include <vpi_user.h>
/* registration function */
void c_trace_file_close_vpi_register();
/* VPI wrapper function */
PLI_... |
zwadood/BESSPIN-CloudGFE | AWSteria/builds/RV64ACDFIMSU_Flute_verilator_AWS/Verilog_RTL/vpi_wrapper_c_trace_file_load_byte_in_buffer.h | /*
* Generated by Bluespec Compiler, version 2019.05.beta2 (build a88bf40db, 2019-05-24)
*
*
*
*/
#ifndef __vpi_wrapper_c_trace_file_load_byte_in_buffer_h__
#define __vpi_wrapper_c_trace_file_load_byte_in_buffer_h__
#include <vpi_user.h>
/* registration function */
void c_trace_file_load_byte_in_buffer_vpi_re... |
zwadood/BESSPIN-CloudGFE | AWSteria/src_Host_Side/Memhex32_read.h | <filename>AWSteria/src_Host_Side/Memhex32_read.h
#pragma once
// ================================================================
extern
int memhex32_read (char *filename,
uint8_t *buf,
uint64_t buf_size,
uint64_t *p_addr_base,
uint64_t *p_addr_lim);
// ================================... |
zwadood/BESSPIN-CloudGFE | AWSteria/src_Host_Side/Memhex32_read.c | #include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <inttypes.h>
#include <string.h>
#include <stdbool.h>
#include <ctype.h>
#include "Memhex32_read.h"
// ================================================================
// Read mem-hex32 data from file into buf (seen as a byte-addressed
// mem from ad... |
zwadood/BESSPIN-CloudGFE | AWSteria/builds/RV64ACDFIMSU_Flute_verilator_AWS/Verilog_RTL/vpi_wrapper_c_host_connect.h | /*
* Generated by Bluespec Compiler, version 2019.05.beta2 (build a88bf40db, 2019-05-24)
*
*
*
*/
#ifndef __vpi_wrapper_c_host_connect_h__
#define __vpi_wrapper_c_host_connect_h__
#include <vpi_user.h>
/* registration function */
void c_host_connect_vpi_register();
/* VPI wrapper function */
PLI_INT32 c_host... |
gtarcoder/TurboTransformers | example/cpp/qd_relevance_model.h | <reponame>gtarcoder/TurboTransformers
#pragma once
#include <functional>
#include <memory>
#include <string>
#include <vector>
#include "dlpack/dlpack.h"
#include "turbo_transformers/layers/types.h"
using namespace turbo_transformers;
using PoolType = layers::types::PoolType;
class QDRelevanceModel {
public:
QDR... |
h0lyalg0rithm/Atlas-iOS | Examples/Mocks/LYRQueryControllerMock.h | <filename>Examples/Mocks/LYRQueryControllerMock.h<gh_stars>1-10
//
// ATLQueryControllerMock.h
// Atlas
//
// Created by <NAME> on 12/8/14.
// Copyright (c) 2015 Layer. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with... |
h0lyalg0rithm/Atlas-iOS | Code/Protocols/ATLParticipant.h | <reponame>h0lyalg0rithm/Atlas-iOS
//
// ATLUIParticipant.h
// Atlas
//
// Created by <NAME> on 8/29/14.
// Copyright (c) 2014 Layer, Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtai... |
h0lyalg0rithm/Atlas-iOS | Code/Controllers/ATLParticipantTableViewController.h | <reponame>h0lyalg0rithm/Atlas-iOS
//
// ATLUIParticipantListViewController.h
// Atlas
//
// Created by <NAME> on 8/29/14.
// Copyright (c) 2014 Layer, Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.... |
h0lyalg0rithm/Atlas-iOS | Tests/ATLTestInterface.h | //
// ATLUTestInterface.h
// Atlas
//
// Created by <NAME> on 12/16/14.
// Copyright (c) 2015 Layer. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// htt... |
h0lyalg0rithm/Atlas-iOS | Code/Views/ATLConversationTableViewCell.h | //
// ATLUIConversationTableViewCell.h
// Atlas
//
// Created by <NAME> on 8/29/14.
// Copyright (c) 2014 Layer, Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the Lice... |
h0lyalg0rithm/Atlas-iOS | Code/Controllers/ATLTypingIndicatorViewController.h | <reponame>h0lyalg0rithm/Atlas-iOS
//
// ATLUITypingIndicatorViewController.h
// Atlas
//
// Created by <NAME> on 11/11/14.
// Copyright (c) 2015 Layer. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// ... |
h0lyalg0rithm/Atlas-iOS | Code/Views/ATLConversationCollectionViewHeader.h | <filename>Code/Views/ATLConversationCollectionViewHeader.h<gh_stars>1-10
//
// ATLUIConversationCollectionViewHeader.h
// Atlas
//
// Created by <NAME> on 9/10/14.
// Copyright (c) 2015 Layer. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file e... |
h0lyalg0rithm/Atlas-iOS | Code/Controllers/ATLConversationListViewController.h | <reponame>h0lyalg0rithm/Atlas-iOS
//
// ATLUIConversationListViewController.h
// Atlas
//
// Created by <NAME> on 8/29/14.
// Copyright (c) 2014 Layer, Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License... |
h0lyalg0rithm/Atlas-iOS | Code/Utilities/ATLErrors.h | <gh_stars>1-10
//
// ATLUIErrors.h
// Atlas
//
// Created by <NAME> on 9/26/14.
// Copyright (c) 2015 Layer. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//... |
h0lyalg0rithm/Atlas-iOS | Code/Utilities/ATLMediaInputStream.h | <gh_stars>1-10
//
// ATLMediaInputStream.h
// Atlas
//
// Created by <NAME> on 2/13/15.
// Copyright (c) 2015 Layer, Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the ... |
h0lyalg0rithm/Atlas-iOS | Examples/Mocks/LayerKitMock.h | <filename>Examples/Mocks/LayerKitMock.h<gh_stars>1-10
//
// ATLLayerKitMock.h
// Atlas
//
// Created by <NAME> on 12/8/14.
// Copyright (c) 2015 Layer. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// ... |
h0lyalg0rithm/Atlas-iOS | Code/Views/ATLMessageBubbleView.h | <filename>Code/Views/ATLMessageBubbleView.h
//
// ATLUIMessageBubbleView.h
// Atlas
//
// Created by <NAME> on 9/8/14.
// Copyright (c) 2015 Layer. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You... |
h0lyalg0rithm/Atlas-iOS | Code/Views/ATLProgressView.h | //
// ATLUIProgressView.h
// Atlas
//
// Created by <NAME> on 1/17/15.
// Copyright (c) 2015 Layer, Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... |
h0lyalg0rithm/Atlas-iOS | Code/Views/ATLParticipantTableViewCell.h | <gh_stars>1-10
//
// ATLUIParticipantTableViewCell.h
// Atlas
//
// Created by <NAME> on 8/29/14.
// Copyright (c) 2014 Layer, Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a co... |
xaptum-eng/zebra | vendor/github.com/coreswitch/openconfigd/cli/execute_cmd.h | <reponame>xaptum-eng/zebra<filename>vendor/github.com/coreswitch/openconfigd/cli/execute_cmd.h
/* execute_cmd.h - functions from execute_cmd.c. */
/* Copyright (C) 1993-2009 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell.
Bash is free software: you can redistribute it and/... |
xaptum-eng/zebra | vendor/github.com/coreswitch/openconfigd/cli/mksyntax.c | /*
* mksyntax.c - construct shell syntax table for fast char attribute lookup.
*/
/* Copyright (C) 2000-2009 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell.
Bash is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public Licen... |
xaptum-eng/zebra | vendor/github.com/coreswitch/openconfigd/cli/lib/glob/ndir.h | /* <dir.h> -- definitions for 4.2BSD-compatible directory access.
last edit: 09-Jul-1983 <NAME>. */
#if defined (VMS)
# if !defined (FAB$C_BID)
# include <fab.h>
# endif
# if !defined (NAM$C_BID)
# include <nam.h>
# endif
# if !defined (RMS$_SUC)
# include <rmsdef.h>
# endif
# include "dir.h"
#endif... |
xaptum-eng/zebra | vendor/github.com/coreswitch/openconfigd/cli/lib/termcap/ltcap.h | /* ltcap.h - Local declarations for termcap library. */
/* Copyright (C) 1999-2009 Free Software Foundation, Inc.
Bash 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... |
xaptum-eng/zebra | vendor/github.com/coreswitch/openconfigd/cli/list.c | <gh_stars>100-1000
/* list.c - Functions for manipulating linked lists of objects. */
/* Copyright (C) 1996-2009 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell.
Bash is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public Lic... |
xaptum-eng/zebra | vendor/github.com/coreswitch/openconfigd/cli/lib/sh/strpbrk.c | /* strpbrk.c - locate multiple characters in a string */
/* Copyright (C) 1991, 1994 Free Software Foundation, Inc.
NOTE: The canonical source of this file is maintained with the GNU C Library.
Bugs can be reported to <EMAIL>.
This file is part of GNU Bash, the Bourne Again SHell.
Bash is free software:... |
xaptum-eng/zebra | vendor/github.com/coreswitch/openconfigd/cli/examples/loadables/pathchk.c | <reponame>xaptum-eng/zebra
/* pathchk - check pathnames for validity and portability */
/* Usage: pathchk [-p] path ...
For each PATH, print a message if any of these conditions are false:
* all existing leading directories in PATH have search (execute) permission
* strlen (PATH) <= PATH_MAX
* strlen (eac... |
xaptum-eng/zebra | vendor/github.com/coreswitch/openconfigd/cli/examples/loadables/push.c | <gh_stars>100-1000
/*
* push - anyone remember TOPS-20?
*
*/
/*
Copyright (C) 1999-2009 Free Software Foundation, Inc.
This file is part of GNU Bash.
Bash 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 Fo... |
xaptum-eng/zebra | vendor/github.com/coreswitch/openconfigd/cli/CWRU/misc/sigs.c | /* sigs - print signal dispositions for a process */
/* Copyright (C) 1990-2010 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell.
Bash 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 ... |
xaptum-eng/zebra | vendor/github.com/coreswitch/openconfigd/cli/examples/loadables/perl/iperl.c | #include <EXTERN.h> /* from the Perl distribution */
#include <perl.h> /* from the Perl distribution */
extern void xs_init _((void));
static PerlInterpreter *iperl; /*** The Perl interpreter ***/
int
perl_main(int argc, char **argv, char **env)
{
int r;
iperl = perl_a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.