repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
pniekamp/datum-studio | include/font.h | #include "../src/plugins/font/font.h"
|
pniekamp/datum-studio | src/plugins/content/folderview.h | <filename>src/plugins/content/folderview.h<gh_stars>1-10
//
// Folder View
//
//
// Copyright (C) 2016 <NAME>
//
#pragma once
#include <QTreeWidget>
//-------------------------- FolderView -------------------------------------
//---------------------------------------------------------------------------
class Fold... |
haomingzhi/HelloTest | Example/HelloTest/JYAppDelegate.h | //
// JYAppDelegate.h
// HelloTest
//
// Created by HadesSura on 06/19/2020.
// Copyright (c) 2020 HadesSura. All rights reserved.
//
@import UIKit;
@interface JYAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
haomingzhi/HelloTest | HelloTest/Classes/NewMMM.h | //
// NewMMM.h
// FBSnapshotTestCase
//
// Created by 暖色科技 on 2020/7/3.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface NewMMM : NSObject
@end
NS_ASSUME_NONNULL_END
|
haomingzhi/HelloTest | Example/HelloTest/JYViewController.h | <gh_stars>0
//
// JYViewController.h
// HelloTest
//
// Created by HadesSura on 06/19/2020.
// Copyright (c) 2020 HadesSura. All rights reserved.
//
@import UIKit;
@interface JYViewController : UIViewController
@end
|
Steve132/rs_led | m_led/LedStripRS.h | <reponame>Steve132/rs_led
#ifndef LedStripRS_H
#define LedStripRS_H
#include <avr/pgmspace.h>
// ******** DEBUG ==== should auto config to adapt different mother board *********
//#define DATA_1 (PORTF |= 0X01) // DATA 1 // for ATMEGA
//#define DATA_0 (PORTF &= 0XFE) // DATA 0 // for ATMEGA
//#define STR... |
adtac/hollow-heap | benchmark/wrappers/wrappers.h | #ifndef _WRAPPERS_H_
#define _WRAPPERS_H_
#include "fibonacci_heap.h"
#include "pairing_heap.h"
#include "relaxed_heap.h"
#include "hollow_heap.h"
#endif // _WRAPPERS_H_
|
adtac/hollow-heap | benchmark/graphs.h | <gh_stars>1-10
#ifndef _GRAPHS_H_
#define _GRAPHS_H_
#include <vector>
#include <utility>
class Node {
public:
std::vector<std::pair<int, int>> out_edges;
int label;
Node(int _label) {
label = _label;
}
void add_edge(int _u, int _w) {
out_edges.push_back(std::make_pair(_u, _w));
... |
adtac/hollow-heap | benchmark/sort.h | <gh_stars>1-10
#ifndef _SORT_H_
#define _SORT_H_
#include <vector>
template<class Heap>
long long int Benchmark<Heap>::sort(int N, int* nums) {
log("running sort\n");
std::vector<int> numbers;
std::vector<int> results;
log("generating numbers\n");
for (int i = 0; i < N; i++)
numbers.push... |
adtac/hollow-heap | benchmark/wrappers/compare_node.h | <reponame>adtac/hollow-heap
#ifndef _COMPARE_NODE_H_
#define _COMPARE_NODE_H_
#include <utility>
/**
* A comparison class that's used uniformly by Boost's heap data structures
* to define the ordering between two keys of type pair<K, I>.
*/
template<class K, class I>
struct compare_node {
bool operator()(const... |
adtac/hollow-heap | benchmark/dijkstra.h | <reponame>adtac/hollow-heap
#ifndef _DIJKSTRA_H_
#define _DIJKSTRA_H_
#include <cmath>
#include <vector>
#include <climits>
#include <utility>
#include "graphs.h"
template<class Heap>
long long Benchmark<Heap>::dijkstra(Graph* g) {
log("running dijkstra\n");
std::vector<int> in_tree(g->N, 0);
std::vecto... |
adtac/hollow-heap | benchmark/wrappers/fibonacci_heap.h | #ifndef _FIBONACCI_HEAP_H_
#define _FIBONACCI_HEAP_H_
#include <boost/heap/fibonacci_heap.hpp>
#include "compare_node.h"
template<class K, class I>
class WrapperBoostFibonacciHeap {
boost::heap::fibonacci_heap<std::pair<K, I>, boost::heap::compare<compare_node<K, I>>> h;
public:
typedef typename boost::heap... |
adtac/hollow-heap | benchmark/assorted.h | <reponame>adtac/hollow-heap
#ifndef _ASSORTED_H_
#define _ASSORTED_H_
#include <algorithm>
#include <utility>
#include <vector>
#include <map>
#include <climits>
template<class Heap>
long long Benchmark<Heap>::assorted(int N, int* nums, int* idxs, int* decs) {
log("running assorted\n");
std::vector<std::pair... |
adtac/hollow-heap | benchmark/prim.h | #ifndef _PRIM_H_
#define _PRIM_H_
#include <cmath>
#include <vector>
#include <climits>
#include <utility>
#include "graphs.h"
template<class Heap>
long long Benchmark<Heap>::prim(Graph* g) {
log("running prim\n");
std::vector<int> in_mst(g->N, 0);
std::vector<int> weight_in(g->N, -1);
std::vector<i... |
adtac/hollow-heap | benchmark/wrappers/relaxed_heap.h | #ifndef _RELAXED_HEAP_H_
#define _RELAXED_HEAP_H_
#include <boost/pending/relaxed_heap.hpp>
std::vector<std::pair<int, int>> vals;
template<class K, class I>
class relaxed_compare {
public:
bool operator()(int a, int b) const {
return vals[a].first < vals[b].first;
}
};
template<class K, class I>
cl... |
adtac/hollow-heap | benchmark/argument.h | <reponame>adtac/hollow-heap<gh_stars>1-10
#ifndef _ARGUMENT_H_
#define _ARGUMENT_H_
#include <cmath>
#include "graphs.h"
typedef struct {
int N;
int* sort_ints;
int* assorted_ints;
int* assorted_idxs;
int* assorted_decs;
Graph* sparse_graph;
Graph* dense_graph;
Graph* nyc_graph;
... |
adtac/hollow-heap | benchmark/compression.h | #ifndef _COMPRESSION_H_
#define _COMPRESSION_H_
#include <cmath>
#include <utility>
#include <vector>
typedef struct {
int freq;
int val;
int left;
int right;
} huffman_node;
template<class Heap>
long long Benchmark<Heap>::compression(int N, int* freq_table) {
log("running compression\n");
l... |
adtac/hollow-heap | benchmark/benchmark.h | <gh_stars>1-10
#ifndef _BENCHMARK_H_
#define _BENCHMARK_H_
#include <chrono>
#include <cstdarg>
#include <cstdio>
#include <algorithm>
#include <vector>
#include <cstdlib>
#include <map>
#include <utility>
#include "graphs.h"
#include "argument.h"
#define SORT 0x1
#define ASSORTED 0x2
#define... |
JackDinsmore/SimplePlots | simpleplot.h | <filename>simpleplot.h
#pragma once
#include "simpleplot/plots/hist.h"
#include "simpleplot/plots/line.h"
#include "simpleplot/plots/series.h"
#include "simpleplot/canvas.h" |
JackDinsmore/SimplePlots | simpleplot/plots/series.h | <gh_stars>0
#pragma once
#include "plot.h"
#include "../axis.h"
namespace SimplePlot::Series {
template<typename X, typename Y>
class Series : public SimplePlot::Plot::Plot {
public:
Series(X skip, Y* data, int sizeData, int style, std::wstring name);
~Series();
private:
void getAxisLimits(f... |
JackDinsmore/SimplePlots | simpleplot/plots/hist.h | #pragma once
#include "plot.h"
#include "../axis.h"
namespace SimplePlot::Hist {
template<typename Y>
class Hist : public SimplePlot::Plot::Plot {
public:
Hist(Y* data, int sizeData, int numBins, Y minBin, Y maxBin, int style, std::wstring name, bool normal = false);
Hist(Y* data, int sizeData, Y* le... |
JackDinsmore/SimplePlots | simpleplot/plots/plot.h | <reponame>JackDinsmore/SimplePlots
#pragma once
#include <string>
#include <windows.h>
#include "../standard.h"
#include "../colors.h"
namespace SimplePlot {
namespace Plot {
class Plot {
public:
Plot(PLOT_TYPE plotType, AXIS_TYPE axisType, int style, std::wstring name);
Plot(const Plot&) = d... |
JackDinsmore/SimplePlots | simpleplot/stats.h | #pragma once
#include <string>
namespace SimplePlot::Stats {
template<typename T>
T minValue(T* p, int size);
template<typename T>
T maxValue(T* p, int size);
template<typename T>
int binFindLeft(T* v, int size, T data, int start = 0);
template<typename T>
std::wstring round(T f, int numDigs);... |
JackDinsmore/SimplePlots | simpleplot/plots/line.h | #pragma once
#include "plot.h"
#include "../axis.h"
namespace SimplePlot::Line {
template<typename X, typename Y>
class Line : public SimplePlot::Plot::Plot {
public:
Line(X* xData, Y* yData, int sizeData, int style, std::wstring name);
~Line();
private:
void getAxisLimits(float* axisLimits)... |
JackDinsmore/SimplePlots | simpleplot/standard.h | #pragma once
#define SP_DEFAULT_WIDTH 800
#define SP_DEFAULT_HEIGHT 600
#define SP_DEFAULT_FRAMERATE 5
#define SP_DYNAMIC SP_DEFAULT_FRAMERATE
#define SP_STATIC -1
#define SP_BORDER_WIDTH 80
#define SP_TICK_LENGTH 6
#define SP_NULL_PLOT -1
#define SP_NULL_CANVAS -1
#define SP_X_AXIS 0
#define SP_Y_AXIS 1
... |
JackDinsmore/SimplePlots | simpleplot/wndProc.h | #pragma once
#include "standard.h"
#include <mutex>
#include <map>
#include <windows.h>
namespace SimplePlot {
inline extern std::map<HWND, HBITMAP> hwndToBitmap = std::map<HWND, HBITMAP>();
inline extern std::mutex hwndToBitmapMutex = std::mutex();
inline extern std::map<HWND, bool> terminateCanvas ... |
JackDinsmore/SimplePlots | simpleplot/axis.h | <reponame>JackDinsmore/SimplePlots
#pragma once
#include "standard.h"
#include "colors.h"
#include <string>
#include <windows.h>
namespace SimplePlot {
class Axis {
public:
Axis(std::string label = "", bool logarithmic = false, SimplePlot::Style::Color backColor = SimplePlot::Style::Color::WHITE,
Si... |
JackDinsmore/SimplePlots | simpleplot/colors.h | #pragma once
#include <windows.h>
#define SP_BLACK 0x0
#define SP_PURPLE 0x1
#define SP_GREEN 0x2
#define SP_BLUE 0x3
#define SP_WHITE 0x10// Not actually a color scheme
#define SP_SOLID 0x00
#define SP_DASH 0x10
#define SP_DOT 0x20
#define SP_DASHDOT 0x30
#define SP_DASHDOTDOT 0x40
#define SP_MEDIU... |
JackDinsmore/SimplePlots | simpleplot/canvas.h | #pragma once
#include <windows.h>
#include <string>
#include <vector>
#include "standard.h"
#include "axis.h"
namespace SimplePlot {
namespace Canvas {
class Canvas {
public:
Canvas(std::vector<PLOT_ID> plots_, std::wstring name, int style);
~Canvas();
void setPos(int x, int y);
void... |
maksimandrianov/cdstructures | include/cdcontainers/casts.h | // The MIT License (MIT)
// Copyright (c) 2018 <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, including without limitation the
// rights to use, copy, modif... |
maksimandrianov/cdstructures | include/cdcontainers/hash.h | // The MIT License (MIT)
// Copyright (c) 2018 <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, including without limitation the
// rights to use, copy, modif... |
maksimandrianov/cdstructures | tests/test-queue.c | <gh_stars>10-100
// The MIT License (MIT)
// Copyright (c) 2017 <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, including without limitation the
// rights to... |
maksimandrianov/cdstructures | include/cdcontainers/adapters/map.h | <reponame>maksimandrianov/cdstructures
// The MIT License (MIT)
// Copyright (c) 2018 <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, including without limit... |
maksimandrianov/cdstructures | src/adapters/map.c | // The MIT License (MIT)
// Copyright (c) 2018 <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, including without limitation the
// rights to use, copy, modif... |
maksimandrianov/cdstructures | include/cdcontainers/binomial-heap.h | <gh_stars>10-100
// The MIT License (MIT)
// Copyright (c) 2018 <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, including without limitation the
// rights to... |
maksimandrianov/cdstructures | src/data-info.c | // The MIT License (MIT)
// Copyright (c) 2017 <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, including without limitation the
// rights to use, copy, modif... |
maksimandrianov/cdstructures | tests/test-map.c | <filename>tests/test-map.c
// The MIT License (MIT)
// Copyright (c) 2018 <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, including without limitation the
//... |
maksimandrianov/cdstructures | tests/test-avl-tree.c | // The MIT License (MIT)
// Copyright (c) 2018 <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, including without limitation the
// rights to use, copy, modif... |
maksimandrianov/cdstructures | src/adapters/stack.c | <filename>src/adapters/stack.c
// The MIT License (MIT)
// Copyright (c) 2017 <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, including without limitation th... |
maksimandrianov/cdstructures | tests/test-treap.c | // The MIT License (MIT)
// Copyright (c) 2017 <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, including without limitation the
// rights to use, copy, modif... |
maksimandrianov/cdstructures | tests/test-list.c | <reponame>maksimandrianov/cdstructures<gh_stars>10-100
// The MIT License (MIT)
// Copyright (c) 2017 <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, includi... |
maksimandrianov/cdstructures | examples/map.c | <reponame>maksimandrianov/cdstructures
// The MIT License (MIT)
// Copyright (c) 2018 <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, including without limit... |
maksimandrianov/cdstructures | include/cdcontainers/avl-tree.h | <reponame>maksimandrianov/cdstructures
// The MIT License (MIT)
// Copyright (c) 2018 <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, including without limit... |
maksimandrianov/cdstructures | include/cdcontainers/circular-array.h | <reponame>maksimandrianov/cdstructures<filename>include/cdcontainers/circular-array.h
// The MIT License (MIT)
// Copyright (c) 2017 <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 Softwa... |
maksimandrianov/cdstructures | tests/test-circular-array.c | <gh_stars>10-100
// The MIT License (MIT)
// Copyright (c) 2017 <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, including without limitation the
// rights to... |
maksimandrianov/cdstructures | src/avl-tree.c | <reponame>maksimandrianov/cdstructures
// The MIT License (MIT)
// Copyright (c) 2018 <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, including without limi... |
maksimandrianov/cdstructures | src/list.c | <filename>src/list.c
// The MIT License (MIT)
// Copyright (c) 2017 <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, including without limitation the
// right... |
maksimandrianov/cdstructures | include/cdcontainers/adapters/queue.h | // The MIT License (MIT)
// Copyright (c) 2017 <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, including without limitation the
// rights to use, copy, modif... |
maksimandrianov/cdstructures | include/cdcontainers/cdc.h | // The MIT License (MIT)
// Copyright (c) 2019 <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, including without limitation the
// rights to use, copy, modif... |
maksimandrianov/cdstructures | src/circular-array.c | <filename>src/circular-array.c
// The MIT License (MIT)
// Copyright (c) 2017 <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, including without limitation th... |
maksimandrianov/cdstructures | src/pairing-heap.c | // The MIT License (MIT)
// Copyright (c) 2018 <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, including without limitation the
// rights to use, copy, modif... |
maksimandrianov/cdstructures | src/array.c | // The MIT License (MIT)
// Copyright (c) 2017 <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, including without limitation the
// rights to use, copy, modif... |
maksimandrianov/cdstructures | src/treap.c | <gh_stars>10-100
// The MIT License (MIT)
// Copyright (c) 2018 <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, including without limitation the
// rights to... |
maksimandrianov/cdstructures | include/cdcontainers/treap.h | // The MIT License (MIT)
// Copyright (c) 2018 <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, including without limitation the
// rights to use, copy, modif... |
maksimandrianov/cdstructures | src/binomial-heap.c | <gh_stars>10-100
// The MIT License (MIT)
// Copyright (c) 2018 <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, including without limitation the
// rights to... |
maksimandrianov/cdstructures | examples/array.c | // The MIT License (MIT)
// Copyright (c) 2017 <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, including without limitation the
// rights to use, copy, modif... |
maksimandrianov/cdstructures | src/tables/seq-array.c | // The MIT License (MIT)
// Copyright (c) 2018 <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, including without limitation the
// rights to use, copy, modif... |
maksimandrianov/cdstructures | include/cdcontainers/array.h | // The MIT License (MIT)
// Copyright (c) 2017 <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, including without limitation the
// rights to use, copy, modif... |
maksimandrianov/cdstructures | tests/test-common.h | // The MIT License (MIT)
// Copyright (c) 2017 <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, including without limitation the
// rights to use, copy, modif... |
maksimandrianov/cdstructures | include/cdcontainers/tables/ipqueue.h | // The MIT License (MIT)
// Copyright (c) 2018 <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, including without limitation the
// rights to use, copy, modif... |
maksimandrianov/cdstructures | src/heap.c | // The MIT License (MIT)
// Copyright (c) 2017 <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, including without limitation the
// rights to use, copy, modif... |
maksimandrianov/cdstructures | include/cdcontainers/list.h | // The MIT License (MIT)
// Copyright (c) 2017 <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, including without limitation the
// rights to use, copy, modif... |
maksimandrianov/cdstructures | src/splay-tree.c | <reponame>maksimandrianov/cdstructures<filename>src/splay-tree.c
// The MIT License (MIT)
// Copyright (c) 2018 <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 restrictio... |
maksimandrianov/cdstructures | src/tables/seq-circular-array.c | <reponame>maksimandrianov/cdstructures
// The MIT License (MIT)
// Copyright (c) 2018 <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, including without limit... |
maksimandrianov/cdstructures | include/cdcontainers/common.h | <reponame>maksimandrianov/cdstructures
// The MIT License (MIT)
// Copyright (c) 2017 <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, including without limit... |
maksimandrianov/cdstructures | tests/test-priority-queueh.c | <reponame>maksimandrianov/cdstructures
// The MIT License (MIT)
// Copyright (c) 2017 <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, including without limit... |
maksimandrianov/cdstructures | src/tables/pqueue-pairing-heap.c | // The MIT License (MIT)
// Copyright (c) 2018 <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, including without limitation the
// rights to use, copy, modif... |
maksimandrianov/cdstructures | tests/test-binomial-heap.c | // The MIT License (MIT)
// Copyright (c) 2018 <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, including without limitation the
// rights to use, copy, modif... |
maksimandrianov/cdstructures | tests/test-splay-tree.c | <reponame>maksimandrianov/cdstructures
// The MIT License (MIT)
// Copyright (c) 2018 <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, including without limit... |
maksimandrianov/cdstructures | src/hash-table.c | <reponame>maksimandrianov/cdstructures<filename>src/hash-table.c
// The MIT License (MIT)
// Copyright (c) 2018 <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 restrictio... |
maksimandrianov/cdstructures | include/cdcontainers/pairing-heap.h | // The MIT License (MIT)
// Copyright (c) 2018 <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, including without limitation the
// rights to use, copy, modif... |
maksimandrianov/cdstructures | include/cdcontainers/data-info.h | // The MIT License (MIT)
// Copyright (c) 2017 <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, including without limitation the
// rights to use, copy, modif... |
maksimandrianov/cdstructures | include/cdcontainers/hash-table.h | // The MIT License (MIT)
// Copyright (c) 2018 <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, including without limitation the
// rights to use, copy, modif... |
maksimandrianov/cdstructures | tests/test-array.c | <reponame>maksimandrianov/cdstructures<gh_stars>10-100
// The MIT License (MIT)
// Copyright (c) 2017 <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, includi... |
maksimandrianov/cdstructures | include/cdcontainers/adapters/priority-queue.h | <reponame>maksimandrianov/cdstructures<filename>include/cdcontainers/adapters/priority-queue.h
// The MIT License (MIT)
// Copyright (c) 2017 <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 t... |
maksimandrianov/cdstructures | tests/test-main.c | <gh_stars>10-100
// The MIT License (MIT)
// Copyright (c) 2017 <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, including without limitation the
// rights to... |
maksimandrianov/cdstructures | tests/test-hash-table.c | <filename>tests/test-hash-table.c
// The MIT License (MIT)
// Copyright (c) 2018 <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, including without limitation... |
maksimandrianov/cdstructures | include/cdcontainers/heap.h | // The MIT License (MIT)
// Copyright (c) 2017 <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, including without limitation the
// rights to use, copy, modif... |
maksimandrianov/cdstructures | include/cdcontainers/tables/imap.h | // The MIT License (MIT)
// Copyright (c) 2018 <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, including without limitation the
// rights to use, copy, modif... |
maksimandrianov/cdstructures | tests/test-deque.c | // The MIT License (MIT)
// Copyright (c) 2019 <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, including without limitation the
// rights to use, copy, modif... |
maksimandrianov/cdstructures | include/cdcontainers/adapters/deque.h | <gh_stars>10-100
// The MIT License (MIT)
// Copyright (c) 2019 <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, including without limitation the
// rights to... |
maksimandrianov/cdstructures | include/cdcontainers/adapters/stack.h | // The MIT License (MIT)
// Copyright (c) 2017 <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, including without limitation the
// rights to use, copy, modif... |
maksimandrianov/cdstructures | include/cdcontainers/splay-tree.h | // The MIT License (MIT)
// Copyright (c) 2018 <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, including without limitation the
// rights to use, copy, modif... |
maksimandrianov/cdstructures | src/tables/map-splay-tree.c | // The MIT License (MIT)
// Copyright (c) 2018 <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, including without limitation the
// rights to use, copy, modif... |
maksimandrianov/cdstructures | tests/test-stack.c | <filename>tests/test-stack.c
// The MIT License (MIT)
// Copyright (c) 2017 <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, including without limitation the
... |
IvanKozlov95/ft_select | src/arg_print.c | <filename>src/arg_print.c
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* arg_print.c ... |
IvanKozlov95/ft_select | src/main.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.c :+: :+: :+: ... |
IvanKozlov95/ft_select | src/actions/search.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* search.c :+: :+: :+: ... |
IvanKozlov95/ft_select | includes/ft_select.h | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_select.h :+: :+: :+: ... |
IvanKozlov95/ft_select | src/signal.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* signal.c :+: :+: :+: ... |
IvanKozlov95/ft_select | src/info.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* info.c :+: :+: :+: ... |
IvanKozlov95/ft_select | src/display.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* display.c :+: :+: :+: ... |
IvanKozlov95/ft_select | src/actions/stop.c | <filename>src/actions/stop.c
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* stop.c ... |
IvanKozlov95/ft_select | src/termconfig.c | <reponame>IvanKozlov95/ft_select
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* termconfig.c ... |
IvanKozlov95/ft_select | src/input.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* input.c :+: :+: :+: ... |
IvanKozlov95/ft_select | src/actions/move.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* move.c :+: :+: :+: ... |
IvanKozlov95/ft_select | src/args.c | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* args.c :+: :+: :+: ... |
chuahou/wrtele | src/botapi.c | // SPDX-License-Identifier: ???
// Copyright (c) 2021 <NAME>
#define _GNU_SOURCE
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <curl/curl.h>
#include "botapi.h"
#include "config.h"
bool tele_send_message(char *msg)
{
CURL *curl;
if ((curl = curl_easy_init())) {
// Create the URL.
char ... |
chuahou/wrtele | src/config.c | <filename>src/config.c
// SPDX-License-Identifier: MIT
// Copyright (c) 2021 <NAME>
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include "config.h"
#include "mac.h"
char *config_tele_api_key()
{
return getenv("WRTELE_TELE_API_KEY");
}
char *config_tele_target_chat_id()
{
return getenv("WRTELE_TELE_... |
chuahou/wrtele | src/config.h | // SPDX-License-Identifier: MIT
// Copyright (c) 2021 <NAME>
//
// Functions to access configuration.
#ifndef __WRTELE_CONFIG_H_INCLUDED__
#define __WRTELE_CONFIG_H_INCLUDED__
#include "mac.h"
// Get Telegram API key. Simple wrapper around getenv.
char *config_tele_api_key();
// Get Telegram target chat ID. Simple ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.