repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
IchordeDionysos/FirebaseUI-iOS | FirebaseAuthUI/FUIPrivacyAndTermsOfServiceView.h | //
// Copyright (c) 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agre... |
IchordeDionysos/FirebaseUI-iOS | FirebaseAuthUI/FUIStaticContentTableViewManager.h | //
// Copyright (c) 2017 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agre... |
IchordeDionysos/FirebaseUI-iOS | FirebasePhoneAuthUI/CountryCode/FUICountryTableViewController.h | <reponame>IchordeDionysos/FirebaseUI-iOS
//
// Copyright (c) 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// ... |
IchordeDionysos/FirebaseUI-iOS | FirebaseStorageUI/UIImageView+FirebaseStorage.h | //
// Copyright (c) 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agre... |
IchordeDionysos/FirebaseUI-iOS | FirebaseFirestoreUI/FUIBatchedArray.h | <reponame>IchordeDionysos/FirebaseUI-iOS<filename>FirebaseFirestoreUI/FUIBatchedArray.h
//
// Copyright (c) 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// htt... |
IchordeDionysos/FirebaseUI-iOS | FirebaseFirestoreUI/FUIFirestoreTableViewDataSource.h | <gh_stars>1-10
// clang-format off
//
// Copyright (c) 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unles... |
IchordeDionysos/FirebaseUI-iOS | FirebaseDatabaseUITests/FUIDatabaseTestUtils.h | // clang-format off
//
// Copyright (c) 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by a... |
IchordeDionysos/FirebaseUI-iOS | FirebaseDatabaseUI/FUIQueryObserver.h | <reponame>IchordeDionysos/FirebaseUI-iOS
//
// Copyright (c) 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// ... |
IchordeDionysos/FirebaseUI-iOS | FirebasePhoneAuthUI/FUICodeField.h | //
// Copyright (c) 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agre... |
IchordeDionysos/FirebaseUI-iOS | FirebaseDatabaseUI/FUISortedArray.h | //
// Copyright (c) 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agre... |
IchordeDionysos/FirebaseUI-iOS | FirebaseAuthUI/FUIAuthTableViewCell.h | //
// Copyright (c) 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agre... |
IchordeDionysos/FirebaseUI-iOS | FirebasePhoneAuthUI/FUIPhoneEntryViewController.h | <reponame>IchordeDionysos/FirebaseUI-iOS
//
// Copyright (c) 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// ... |
IchordeDionysos/FirebaseUI-iOS | FirebaseDatabaseUI/FUICollectionViewDataSource.h | // clang-format off
//
// Copyright (c) 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by a... |
IchordeDionysos/FirebaseUI-iOS | FirebasePhoneAuthUI/FUIPhoneAuth.h | //
// Copyright (c) 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agre... |
IchordeDionysos/FirebaseUI-iOS | FirebaseDatabaseUI/FUIIndexArray.h | // clang-format off
//
// Copyright (c) 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by a... |
SupraSummus/FreeRTOS-Kernel | FreeRTOS/Demo/PIC24_MPLAB/lcd.c | /*
* FreeRTOS Kernel V10.2.1
* Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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, ... |
SupraSummus/FreeRTOS-Kernel | FreeRTOS/Demo/WIN32-MingW/code_coverage_additions.c | <filename>FreeRTOS/Demo/WIN32-MingW/code_coverage_additions.c<gh_stars>1-10
/*
* FreeRTOS Kernel V10.2.1
* Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentati... |
SupraSummus/FreeRTOS-Kernel | FreeRTOS/Demo/CORTEX_LPC1768_GCC_Rowley/webserver/emac.c | /*
* FreeRTOS Kernel V10.2.1
* Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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, ... |
SupraSummus/FreeRTOS-Kernel | FreeRTOS/Demo/MicroBlaze_Kintex7_EthernetLite/RTOSDemo/src/LEDs.c | <filename>FreeRTOS/Demo/MicroBlaze_Kintex7_EthernetLite/RTOSDemo/src/LEDs.c
/*
* FreeRTOS Kernel V10.2.1
* Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentati... |
SupraSummus/FreeRTOS-Kernel | FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine/iodefine_RL78G1A_ext.h | /***********************************************************************/
/* */
/* PROJECT NAME : RL78G1A */
/* FILE : iodefine_ext.h */
/* DESCRIPTION : Definition of Extended SFRs ... |
SupraSummus/FreeRTOS-Kernel | FreeRTOS/Demo/CORTEX_LPC1768_GCC_Rowley/main.c | <gh_stars>1-10
/*
* FreeRTOS Kernel V10.2.1
* Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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 withou... |
SupraSummus/FreeRTOS-Kernel | FreeRTOS/Demo/RISC-V_Renode_Emulator_SoftConsole/Microsemi_Code/riscv_hal/syscall.c | <filename>FreeRTOS/Demo/RISC-V_Renode_Emulator_SoftConsole/Microsemi_Code/riscv_hal/syscall.c<gh_stars>1-10
/*******************************************************************************
* (c) Copyright 2016-2018 Microsemi SoC Products Group. All rights reserved.
*
* @file syscall.c
* @author Microsemi SoC P... |
SupraSummus/FreeRTOS-Kernel | FreeRTOS/Demo/ARM7_STR71x_IAR/serial/serial.c | /*
* FreeRTOS Kernel V10.2.1
* Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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, ... |
SupraSummus/FreeRTOS-Kernel | FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine/iodefine_RL78G1C_ext.h | <gh_stars>10-100
/***********************************************************************/
/* */
/* PROJECT NAME : RL78G1C */
/* FILE : iodefine_ext.h */
/* DESCRIPTION : Definition of Extended... |
SupraSummus/FreeRTOS-Kernel | FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine/iodefine_RL78G1A.h | <filename>FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine/iodefine_RL78G1A.h
/***********************************************************************/
/* */
/* PROJECT NAME : RL78G1A */
/* FILE : iodefine.h ... |
SupraSummus/FreeRTOS-Kernel | FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine/iodefine_RL78L1C_ext.h | /************************************************************************/
/* Header file generated from device file: */
/* DR5F110PJ.DVF */
/* Copyright(C) 2013 Renesas */
/* File Versi... |
SupraSummus/FreeRTOS-Kernel | FreeRTOS/Demo/IA32_flat_GCC_Galileo_Gen_2/Support_Files/stdint.h | <filename>FreeRTOS/Demo/IA32_flat_GCC_Galileo_Gen_2/Support_Files/stdint.h
/*
* FreeRTOS Kernel V10.2.1
* Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentatio... |
SupraSummus/FreeRTOS-Kernel | FreeRTOS/Demo/HCS12_CodeWarrior_banked/main.c |
/*
* FreeRTOS Kernel V10.2.1
* Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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... |
SupraSummus/FreeRTOS-Kernel | FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine/iodefine_RL78L13_ext.h | <filename>FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine/iodefine_RL78L13_ext.h<gh_stars>10-100
/***********************************************************************/
/* */
/* PROJECT NAME : RL78L13 */
/* FILE : iodefine_ext.h ... |
SupraSummus/FreeRTOS-Kernel | FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine/iodefine_RL78G14_ext.h | <gh_stars>10-100
/***********************************************************************/
/* */
/* PROJECT NAME : RL78G14 */
/* FILE : iodefine_ext.h */
/* DESCRIPTION : Definition of Extended... |
SupraSummus/FreeRTOS-Kernel | FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine/iodefine_RL78L1C.h | <reponame>SupraSummus/FreeRTOS-Kernel<filename>FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine/iodefine_RL78L1C.h
/************************************************************************/
/* Header file generated from device file: */
/* DR5F110PJ.DVF ... |
SupraSummus/FreeRTOS-Kernel | FreeRTOS/Demo/CORTEX_A2F200_SoftConsole/main-blinky.c | <reponame>SupraSummus/FreeRTOS-Kernel
/*
* FreeRTOS Kernel V10.2.1
* Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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
... |
SupraSummus/FreeRTOS-Kernel | FreeRTOS/Demo/PIC18_WizC/serial/isrSerialRx.c | <reponame>SupraSummus/FreeRTOS-Kernel<gh_stars>1-10
/*
* FreeRTOS Kernel V10.2.1
* Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"... |
SupraSummus/FreeRTOS-Kernel | FreeRTOS/Demo/RL78_E2Studio_GCC/src/vector_table.c | <reponame>SupraSummus/FreeRTOS-Kernel<gh_stars>10-100
/***********************************************************************/
/* */
/* PROJECT NAME : test */
/* FILE : vector_table.c */
/* D... |
SupraSummus/FreeRTOS-Kernel | FreeRTOS/Demo/Flshlite/FileIO/fileIO.c | <reponame>SupraSummus/FreeRTOS-Kernel<gh_stars>1-10
/*
* FreeRTOS Kernel V10.2.1
* Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"... |
SupraSummus/FreeRTOS-Kernel | FreeRTOS/Demo/ARM7_STR75x_GCC/serial/serialISR.c | <gh_stars>1-10
/*
* FreeRTOS Kernel V10.2.1
* Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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 withou... |
sundown/WeightSort | wsort.c | #include <stdio.h>
#include <stdint.h>
#include <strings.h>
#define MAX 8192
typedef struct __attribute__((__packed__)) {
char* str;
uint32_t sum;
} Entry;
Entry list[MAX] = { { 0 } };
// Messy swap macros to be used in sorting
// Swap string
#define SSTR(a, b, c) (list[a].str = ((char*)((int64_t)list[b].str ^ ... |
Hazeman27/self-balancing-trees | include/2_3tree_assert.h | #ifndef B2_3TREE_ASSERT_H
#define B2_3TREE_ASSERT_H
extern void run_internal_tests();
#endif
|
Hazeman27/self-balancing-trees | include/2_3tree.h | #ifndef B2_3TREE_H
#define B2_3TREE_H
typedef struct _node *Node;
extern Node search(Node node, int key);
extern Node insert(Node node, int key);
extern void clear(Node node);
extern void print(const Node node, int indent);
extern void print_node(const Node node);
#endif
|
Hazeman27/self-balancing-trees | bst/bst_assert.c | #include <assert.h>
#include "../include/bst_augmented.h"
static struct _node *_insert_test(struct _node *node, int key)
{
node = insert(node, key);
assert(node != NULL);
}
static void _clear_test(struct _node *node)
{
clear(node);
assert(node == NULL);
}
void run_internal_tests()
{
struct _node *root = _node(2... |
Hazeman27/self-balancing-trees | include/avltree_augmented.h | <reponame>Hazeman27/self-balancing-trees<filename>include/avltree_augmented.h
#ifndef AVL_TREE_AUGMENTED_H
#define AVL_TREE_AUGMENTED_H
#include <stdlib.h>
#include "treeio.h"
#define __max(a, b) ((a) > (b) ? (a) : (b))
struct _node {
struct _node *left;
struct _node *right;
char bfactor;
int key;
};
extern str... |
Hazeman27/self-balancing-trees | 2_3tree/2_3tree.c | /**
* Implementation of 2-3 tree.
* <NAME> <<EMAIL>>
* 2020, FIIT STU, Bratislava, Slovakia
*/
#include "../include/2_3tree_augmented.h"
struct _node *_node(struct _node init)
{
struct _node *node = (struct _node *) malloc(sizeof(struct _node));
if (!node) {
throw(ENOMEM);
return NULL;
}
if (init.left)
... |
Hazeman27/self-balancing-trees | 2_3tree/2_3tree_assert.c | <filename>2_3tree/2_3tree_assert.c
#include <assert.h>
#include "../include/2_3tree_augmented.h"
#define INTERNAL_TESTING
#define AUTO_CLEANUP
#ifdef AUTO_CLEANUP
#define __END_NODE_TEST__ \
free(node); \
return NULL; \
#else
#define __END_NODE_TEST__ \
return node; \
#endif
static inline bool _nodes_... |
Hazeman27/self-balancing-trees | include/avltree_assert.h | #ifndef AVL_TREE_ASSERT_H
#define AVL_TREE_ASSERT_H
void run_internal_tests();
#endif
|
Hazeman27/self-balancing-trees | rbtree/rbtree.c | /**
* Implementation of the Red-Black Tree
*
* Source code from: https://www.programiz.com/dsa/red-black-tree
*
* For testing purposes:
* - global variable 'root' was removed;
* - 'insertion' function was renamed to 'insert', and was tweaked to
* work without global variable;
* - 'deletion' function was ... |
Hazeman27/self-balancing-trees | include/rbtree.h | <filename>include/rbtree.h
#ifndef RB_TREE_H
#define RB_TREE_H
typedef struct rbNode *Node;
extern Node search(Node node, int key);
extern Node insert(Node node, int key);
extern void clear(Node node);
extern void print_node(const Node node);
extern void print(const Node node, int indent);
#endif
|
Hazeman27/self-balancing-trees | bst/bst.c | #include "../include/bst_augmented.h"
struct _node *_node(int key)
{
struct _node *new = (struct _node *) malloc(sizeof(struct _node));
if (!new)
return NULL;
return (new->key = key, new);
}
struct _node *search(struct _node *node, int key)
{
if (!node || key == node->key)
return node;
if (key < node->key... |
Hazeman27/self-balancing-trees | include/bst_augmented.h | <reponame>Hazeman27/self-balancing-trees
#ifndef BST_AUGMENTED_H
#define BST_AUGMENTED_H
#include <stdlib.h>
#include "../include/treeio.h"
struct _node {
int key;
struct _node *left;
struct _node *right;
};
extern struct _node *_node(int key);
extern struct _node *search(struct _node *node, int key);
extern stru... |
Hazeman27/self-balancing-trees | avltree/avltree.c | <filename>avltree/avltree.c
#include "../include/avltree_augmented.h"
struct _node *_node(int key)
{
struct _node *new = (struct _node *) malloc(sizeof(struct _node));
if (!new)
return NULL;
*new = (struct _node) { NULL, NULL, 0, key };
return new;
}
int _get_height(const struct _node* node)
{
if (!node)
r... |
Hazeman27/self-balancing-trees | avltree/avltree_assert.c | #include <assert.h>
#include <stdbool.h>
#include "../include/avltree_augmented.h"
static inline struct _node *_copy_node(struct _node *node)
{
if (!node)
return NULL;
struct _node *copy = _node(node->key);
copy->left = node->left;
copy->right = node->right;
copy->bfactor = node->bfactor;
return copy;
... |
Hazeman27/self-balancing-trees | include/treeio.h | <gh_stars>1-10
#ifndef TREEIO_H
#define TREEIO_H
#include <stdio.h>
#define CLR_RED "\x1b[31m"
#define CLR_GREEN "\x1b[32m"
#define CLR_YELLOW "\x1b[33m"
#define CLR_BLUE "\x1b[34m"
#define CLR_MAGENTA "\x1b[35m"
#define CLR_CYAN "\x1b[36m"
#define CLR_RESET "\x1b[0m"
#define UNKNOWN_CMD_ERR "Unknown ... |
Hazeman27/self-balancing-trees | treeio.c | <filename>treeio.c<gh_stars>1-10
#include <stdlib.h>
#include <stdbool.h>
#include <time.h>
#include "include/treeio.h"
#include "include/avltree.h"
#define DATA_PATH "data/randnumbers"
#define OUT_PATH "data/timestamps"
#define BILLION 1000000000.0
#define __INIT_DELTA_TIME__ \
double time_d; \
struct... |
Hazeman27/self-balancing-trees | include/2_3tree_augmented.h | #ifndef B2_3TREE_AUGMENTED_H
#define B2_3TREE_AUGMENTED_H
/**
* Implementation of 2-3 tree.
* <NAME> <<EMAIL>>
* 2020, FIIT STU, Bratislava, Slovakia
*/
#include <stdlib.h>
#include <stdbool.h>
#include "treeio.h"
#define ORDER 3
#define INDENT_INC 4
#define __indent(current) ((current) + INDENT_INC)
#define _... |
fred1653/webServer | include/webserver.h | <gh_stars>0
#ifndef WEBSERVER_H
#define WEBSERVER_H
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdio.h>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
#include <stdlib.h>
#include <cassert>
#include <sys/epoll.h>
// Thread pool and http
const int MAX_FD = 65536; //... |
Shao-Group/altai | lib/gtf/transcript.h | /*
Part of Scallop Transcript Assembler
(c) 2017 by <NAME>, <NAME>, and Carnegie Mellon University.
Part of Altai
(c) 2021 by <NAME>, <NAME>, and The Pennsylvania State University.
See LICENSE for licensing.
*/
#ifndef __GTF_TRANSCRIPT_H__
#define __GTF_TRANSCRIPT_H__
#include <fstream>
#include <iostream>
#include <... |
Shao-Group/altai | src/partial_exon.h | /*
Part of Scallop Transcript Assembler
(c) 2017 by <NAME>, <NAME>, and Carnegie Mellon University.
Part of Altai
(c) 2021 by <NAME>, <NAME>, and The Pennsylvania State University.
See LICENSE for licensing.
*/
#ifndef __PARTIAL_EXON_H__
#define __PARTIAL_EXON_H__
#include <stdint.h>
#include <vector>
#include <strin... |
Shao-Group/altai | lib/util/util.h | /*
Part of Scallop Transcript Assembler
(c) 2017 by <NAME>, <NAME>, and Carnegie Mellon University.
Part of Altai
(c) 2021 by <NAME>, <NAME>, and The Pennsylvania State University.
See LICENSE for licensing.
*/
#ifndef __UTIL_H__
#define __UTIL_H__
#include <stdint.h>
#include <map>
#include <sstream>
#include <casse... |
Shao-Group/altai | src/filter.h | <reponame>Shao-Group/altai
/*
Part of Scallop Transcript Assembler
(c) 2017 by <NAME>, <NAME>, and Carnegie Mellon University.
Part of Altai
(c) 2021 by <NAME>, <NAME>, and The Pennsylvania State University.
See LICENSE for licensing.
*/
#ifndef __FILTER_H__
#define __FILTER_H__
#include "gene.h"
class filter
{
publ... |
Shao-Group/altai | lib/gtf/item.h | <reponame>Shao-Group/altai<gh_stars>1-10
/*
Part of Scallop Transcript Assembler
(c) 2017 by <NAME>, <NAME>, and Carnegie Mellon University.
Part of Altai
(c) 2021 by <NAME>, <NAME>, and The Pennsylvania State University.
See LICENSE for licensing.
*/
#ifndef __GTF_ITEM_H__
#define __GTF_ITEM_H__
#include <string>
#i... |
Shao-Group/altai | src/bundle_base.h | <reponame>Shao-Group/altai<filename>src/bundle_base.h
/*
Part of Scallop Transcript Assembler
(c) 2017 by <NAME>, <NAME>, and Carnegie Mellon University.
Part of Altai
(c) 2021 by <NAME>, <NAME>, and The Pennsylvania State University.
See LICENSE for licensing.
*/
#ifndef __BUNDLE_BASE_H__
#define __BUNDLE_BASE_H__
#... |
Shao-Group/altai | src/region.h | /*
Part of Scallop Transcript Assembler
(c) 2017 by <NAME>, <NAME>, and Carnegie Mellon University.
Part of Altai
(c) 2021 by <NAME>, <NAME>, and The Pennsylvania State University.
See LICENSE for licensing.
*/
#ifndef __REGION_H__
#define __REGION_H__
#include <stdint.h>
#include <vector>
#include "interval_map.h"
#... |
Shao-Group/altai | lib/gtf/gene.h | /*
Part of Scallop Transcript Assembler
(c) 2017 by <NAME>, <NAME>, and Carnegie Mellon University.
Part of Altai
(c) 2021 by <NAME>, <NAME>, and The Pennsylvania State University.
See LICENSE for licensing.
*/
#ifndef __GTF_GENE_H__
#define __GTF_GENE_H__
#include <fstream>
#include <vector>
#include <set>
#include ... |
Shao-Group/altai | src/junction.h | /*
Part of Scallop Transcript Assembler
(c) 2017 by <NAME>, <NAME>, and Carnegie Mellon University.
Part of Altai
(c) 2021 by <NAME>, <NAME>, and The Pennsylvania State University.
See LICENSE for licensing.
*/
#ifndef __BRIDGE_H__
#define __BRIDGE_H__
#include <stdint.h>
#include <string>
#include "as_pos.hpp"
#incl... |
Shao-Group/altai | src/config.h | /*
Part of Scallop Transcript Assembler
(c) 2017 by <NAME>, <NAME>, and Carnegie Mellon University.
Part of Altai
(c) 2021 by <NAME>, <NAME>, and The Pennsylvania State University.
See LICENSE for licensing.
*/
#ifndef __CONFIG_H__
#define __CONFIG_H__
#include "util.h"
#include "vcf_data.h"
#include "htslib/faidx.h"... |
Shao-Group/altai | src/vcf_data.h | <filename>src/vcf_data.h
/*
Part of Altai
(c) 2021 by <NAME>, <NAME>, and The Pennsylvania State University.
See LICENSE for licensing.
*/
#ifndef __VCF_DATA_H__
#define __VCF_DATA_H__
#include <stdint.h>
#include <map>
#include <vector>
#include <string>
#include "htslib/vcf.h"
class vcf_data
{
public:
... |
Shao-Group/altai | src/bundle.h | /*
Part of Scallop Transcript Assembler
(c) 2017 by <NAME>, <NAME>, and Carnegie Mellon University.
Part of Altai
(c) 2021 by <NAME>, <NAME>, and The Pennsylvania State University.
See LICENSE for licensing.
*/
#ifndef __BUNDLE_H__
#define __BUNDLE_H__
#include "interval_map.h"
#include "bundle_base.h"
#include "junc... |
PatrickHenson/dz60_layout | keymap.c | #include QMK_KEYBOARD_H
#define MODS_CTRL_MASK (MOD_BIT(KC_LSHIFT)|MOD_BIT(KC_RSHIFT))
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
// Default layer
LAYOUT(
F(0), KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_NO, KC_BSPC,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T,... |
yxonic/ycc1 | include/AST.h | // -*- mode: c++ -*-
#pragma once
#include <string>
#include <vector>
#include <memory>
#include "llvm/IR/Module.h"
#include "location.hh"
#include "Utils.h"
#include "ASTDump.h"
namespace ast {
/// AST - Abstract class for ASTs
class AST {
public:
/// Default constructor.
AST() = defa... |
yxonic/ycc1 | include/Utils.h | // -*- mode: c++ -*-
#pragma once
#include <iostream>
#include <string>
/// LogManager - A logger that holds a certain level, and controls the
/// output according to the severity of the message and the current
/// level.
class LogManager {
public:
/// Enum for severity level.
enum Level {
Debug, Inf... |
yxonic/ycc1 | include/Lexer.h | // -*- mode: c++ -*-
#pragma once
// Define YY_DECL to let flex generate a proper lexing function.
#ifndef YY_DECL
#define YY_DECL \
yy::Parser::symbol_type yy::Lexer::lex(Driver &driver)
#endif
// Base classes: FlexLexer and BaseFlexLexer
#ifndef __FLEX_LEX... |
yxonic/ycc1 | include/LLVMCodeGen.h | <filename>include/LLVMCodeGen.h
// -*- mode: c++ -*-
#pragma once
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Module.h"
#include "llvm/PassManager.h"
#include "AST.h"
#include "ContextManager.h"
#include "Driver.h"
class LLVMCodeGen {
const Driver *_driver;
std::unique_ptr<llvm::Module> _module;
st... |
yxonic/ycc1 | include/kast.h | <filename>include/kast.h
#ifndef _KAST_H_
#define _KAST_H_
#include "llvm/IR/IRBuilder.h"
#include <cctype>
#include <cstdio>
#include <map>
#include <string>
#include <vector>
#include "dumpdot.h"
using namespace llvm;
//===----------------------------------------------------------------------===//
// Abstract Synt... |
yxonic/ycc1 | include/ASTDump.h | <filename>include/ASTDump.h
// -*- mode: c++ -*-
#pragma once
#include <string>
#include <iostream>
#include <vector>
/// ASTDump - Interface for AST dumpers.
class ASTDump {
public:
virtual int newNode(std::string) = 0;
virtual void drawLine(int, int) = 0;
virtual void end() = 0;
};
class ASTDumpDot : ... |
yxonic/ycc1 | include/ContextManager.h | // -*- mode: c++ -*-
#pragma once
#include "llvm/IR/Module.h"
#include <list>
#include <map>
#include <stack>
#include <string>
#include <vector>
class ContextManager {
public:
enum ElemType { Constant, Int, Pointer, Array, Error };
ContextManager(llvm::Module *module) : _module(module) { enterBlock(nullptr... |
yxonic/ycc1 | test/fib.c | <gh_stars>1-10
int fib(int n)
{
if (n == 0)
return 0;
if (n == 1)
return 1;
return fib(n-1) + fib(n-2);
}
int main()
{
fib(5);
return 0;
}
|
yxonic/ycc1 | test/cfg.c | <reponame>yxonic/ycc1<gh_stars>1-10
int main() {
int a, n, ans, i;
if (a >= 0)
for (i = 0; i<n; i++)
ans = ans + i;
else
while (a < 0)
a = a + n;
return 0;
}
|
yxonic/ycc1 | include/dumpdot.h | <gh_stars>1-10
#ifndef _DUMPDOT_H_
#define _DUMPDOT_H_
#include <cctype>
#include <cstdio>
#include <cstdlib>
#include <string>
class DumpDOT {
FILE *fp;
int count;
public:
DumpDOT(FILE *fp) : fp(fp) {
fprintf(fp, "digraph {\n");
fprintf(fp, " node [shape = record];\n");
count =... |
yxonic/ycc1 | lib/c1lib.c | <gh_stars>1-10
#include <stdio.h>
int print(int n)
{
return printf("%d\n", n);
}
int read()
{
int n;
scanf("%d", &n);
return n;
}
|
yxonic/ycc1 | include/Driver.h | // -*- mode: c++ -*-
#pragma once
#include <string>
#include <sstream>
#include <map>
#include <memory>
#include "llvm/IR/Module.h"
#include "AST.h"
#include "Lexer.h"
#include "LLVMCodeGen.h"
// The header below is generated by bison, providing yy::Parser.
#include "Parser.tab.hh"
class LLVMCodeGen;
/// Driver -... |
flymolon/notepad2 | scintilla/include/SciLexer.h | /* Scintilla source code edit control */
/** @file SciLexer.h
** Interface to the added lexer functions in the SciLexer version of the edit control.
**/
/* Copyright 1998-2002 by <NAME> <<EMAIL>>
* The License.txt file describes the conditions under which this software may be distributed. */
/* Most of this ... |
flymolon/notepad2 | src/EditLexers/stlDart.c | #include "EditLexer.h"
#include "EditStyleX.h"
static KEYWORDLIST Keywords_Dart = {{
//++Autogenerated -- start of section automatically generated
"abstract as assert async await break case catch class const continue covariant default deferred do "
"else enum export extends extension external factory false final final... |
flymolon/notepad2 | scintilla/lexlib/StyleContext.h | <filename>scintilla/lexlib/StyleContext.h
// Scintilla source code edit control
/** @file StyleContext.h
** Lexer infrastructure.
**/
// Copyright 1998-2004 by <NAME> <<EMAIL>>
// This file is in the public domain.
#pragma once
namespace Scintilla {
// All languages handled so far can treat all characters... |
flymolon/notepad2 | src/VersionRev.h | #define VERSION_MINOR 21
#define VERSION_BUILD_NUM 1
#define VERSION_BUILD 01
#define VERSION_HASH TEXT("15f717a1")
#define VERSION_REV 3540
#define VERSION_REV_FULL TEXT("r3540 (15f717a1)")
|
flymolon/notepad2 | src/EditLexers/stlNsis.c | <reponame>flymolon/notepad2
#include "EditLexer.h"
#include "EditStyleX.h"
static KEYWORDLIST Keywords_NSIS = {{
//++Autogenerated -- start of section automatically generated
"Function FunctionEnd Goto Page PageEx PageExEnd Return Section SectionEnd SectionGroup SectionGroupEnd UninstPage Var "
, // 1 preprocessor
"a... |
flymolon/notepad2 | src/EditLexers/stlRust.c | <filename>src/EditLexers/stlRust.c<gh_stars>0
#include "EditLexer.h"
#include "EditStyleX.h"
static KEYWORDLIST Keywords_Rust = {{
//++Autogenerated -- start of section automatically generated
"Self as async await break const continue crate dyn else enum extern false fn for if impl in let loop match mod move mut ... |
flymolon/notepad2 | src/EditLexers/stlAwk.c | <filename>src/EditLexers/stlAwk.c
#include "EditLexer.h"
#include "EditStyleX.h"
static KEYWORDLIST Keywords_Awk = {{
//++Autogenerated -- start of section automatically generated
"@include @load @namespace BEGIN BEGINFILE END ENDFILE break case continue default delete do else exit for function "
"getline if in next n... |
flymolon/notepad2 | src/EditLexers/stlYAML.c | #include "EditLexer.h"
#include "EditStyleX.h"
// YAML 1.2 https://yaml.org/
static KEYWORDLIST Keywords_YAML = {{
".inf .nan "
"Inf NaN None "
"false inf nan no none null off on true yes "
, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
}};
static EDITSTYLE Styles_YAML[]... |
flymolon/notepad2 | src/EditLexers/stlProbes.c | <filename>src/EditLexers/stlProbes.c
#include "EditLexer.h"
#include "EditStyleX.h"
static KEYWORDLIST Keywords_Probes = { { "break","continue" } };
static EDITSTYLE Styles_Probes[] = {
EDITSTYLE_DEFAULT,
{ SCE_NMAPSP_COMMENT_CASE, NP2StyleX_TypeKeyword, L"fore:#0000FF" },
{ SCE_NMAPSP_COMMENT_CASE_CONTENT, NP2Sty... |
flymolon/notepad2 | scintilla/lexlib/LexerModule.h | <gh_stars>0
// Scintilla source code edit control
/** @file LexerModule.h
** Colourise for particular languages.
**/
// Copyright 1998-2001 by <NAME> <<EMAIL>>
// The License.txt file describes the conditions under which this software may be distributed.
#pragma once
namespace Scintilla {
class Accessor;
... |
flymolon/notepad2 | src/EditLexers/stlSQL.c | #include "EditLexer.h"
#include "EditStyleX.h"
static KEYWORDLIST Keywords_SQL = {{
//++Autogenerated -- start of section automatically generated
"abort abs absent absolute access accessible according account acos action active ada add admin after against aggregate "
"algorithm alias all allocate also alter always "
"... |
flymolon/notepad2 | scintilla/include/Platform.h | <filename>scintilla/include/Platform.h
// Scintilla source code edit control
/** @file Platform.h
** Interface to platform facilities. Also includes some basic utilities.
** Implemented in PlatGTK.cxx for GTK/Linux, PlatWin.cxx for Windows, and PlatWX.cxx for wxWindows.
**/
// Copyright 1998-2009 by <NAME> <<EM... |
flymolon/notepad2 | src/EditLexers/stlABAQUS.c | <filename>src/EditLexers/stlABAQUS.c<gh_stars>0
#include "EditLexer.h"
#include "EditStyleX.h"
static KEYWORDLIST Keywords_ABAQUS = {{
//++Autogenerated -- start of section automatically generated
"assembly end instance part step "
, // 1 command
NULL
, // 2 slash command
NULL
, // 3 star command
"assembly end inst... |
flymolon/notepad2 | scintilla/include/VectorISA.h | // This file is part of Notepad2.
// See License.txt for details about distribution and modification.
#pragma once
#ifndef NP2_noexcept
#if defined(__cplusplus)
#define NP2_noexcept noexcept
#else
#define NP2_noexcept
#endif
#endif
#if defined(__cplusplus)
#define NP2_alignas(n) alignas(n)
#elif defined(__GNU... |
flymolon/notepad2 | scintilla/win32/LaTeXInputData.h | <reponame>flymolon/notepad2<filename>scintilla/win32/LaTeXInputData.h
// This file is part of Notepad2.
// See License.txt for details about distribution and modification.
#pragma once
//LaTeX hash++Autogenerated -- start of section automatically generated
static const uint16_t LaTeXHashTable[] = {
0x0003,
0x0037,
0x0... |
flymolon/notepad2 | scintilla/src/ScintillaBase.h | <reponame>flymolon/notepad2
// Scintilla source code edit control
/** @file ScintillaBase.h
** Defines an enhanced subclass of Editor with calltips, autocomplete and context menu.
**/
// Copyright 1998-2002 by <NAME> <<EMAIL>>
// The License.txt file describes the conditions under which this software may be dist... |
flymolon/notepad2 | src/EditLexers/stlGroovy.c | <filename>src/EditLexers/stlGroovy.c
#include "EditLexer.h"
#include "EditStyleX.h"
static KEYWORDLIST Keywords_Groovy = {{
//++Autogenerated -- start of section automatically generated
"abstract as assert break case catch class const continue def default do else enum extends false final finally for goto "
"if impleme... |
flymolon/notepad2 | scintilla/include/Sci_Position.h | <filename>scintilla/include/Sci_Position.h
// Scintilla source code edit control
/** @file Sci_Position.h
** Define the Sci_Position type used in Scintilla's external interfaces.
** These need to be available to clients written in C so are not in a C++ namespace.
**/
// Copyright 2015 by <NAME> <<EMAIL>>
// The Lice... |
flymolon/notepad2 | src/EditLexers/stlHaxe.c | #include "EditLexer.h"
#include "EditStyleX.h"
static KEYWORDLIST Keywords_Haxe = {{
//++Autogenerated -- start of section automatically generated
"abstract break callback case cast catch class continue default do dynamic else enum extends extern "
"false final for from function here if implements import in inline int... |
flymolon/notepad2 | src/Helpers.h | /******************************************************************************
*
*
* Notepad2
*
* Helpers.h
* Definitions for general helper functions and macros
*
* See Readme.txt for more information about this source code.
* Please send me your comments to this work.
*
* See License.txt for details abo... |
flymolon/notepad2 | scintilla/lexlib/PropSetSimple.h | <reponame>flymolon/notepad2
// Scintilla source code edit control
/** @file PropSetSimple.h
** A basic string to string map.
**/
// Copyright 1998-2009 by <NAME> <<EMAIL>>
// The License.txt file describes the conditions under which this software may be distributed.
#pragma once
namespace Scintilla {
clas... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.