repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
emoon/flowi | core/c/src/style_internal.h | <gh_stars>1-10
#pragma once
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// INTERNAL ONLY HEADER
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#include <flowi_core/style... |
emoon/flowi | core/c/include/flowi_core/math_data.h |
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// This file is auto-generated by api_gen. DO NOT EDIT!
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#pragma once
#include... |
emoon/flowi | core/c/src/handles.c | <reponame>emoon/flowi
#include "handles.h"
#include "allocator.h"
#include "types.h"
#define HANDLE_SHIFT (32)
#define HANDLE_BITS (1LL << HANDLE_SHIFT)
#define HANDLE_MASK (HANDLE_BITS - 1)
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
static... |
emoon/flowi | core/c/src/types.h | #pragma once
#include <flowi_core/inline.h>
#include <flowi_core/math_data.h>
#include <stdbool.h>
#include <stdint.h>
#define FL_RESTRICT __restrict
typedef uint64_t u64;
typedef uint32_t u32;
typedef uint16_t u16;
typedef uint8_t u8;
typedef int64_t s64;
typedef int32_t s32;
typedef int16_t s16;
typedef int8_t s8... |
emoon/flowi | core/c/tests/atlas_tests.c | #include "../src/allocator.h"
#include "../src/atlas.h"
#include "../src/internal.h"
#include "utest.h"
extern FlAllocator g_malloc_allocator;
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
UTEST(Atlas, create_destroy) {
FlGlobalState* stat... |
emoon/flowi | core/c/src/image.c | #include <flowi_core/image.h>
#include <nanosvg.h>
#include <nanosvgrast.h>
#include <stb_image.h>
#include "atlas.h"
#include "image_private.h"
#include "internal.h"
#include "string_allocator.h"
#include "vertex_allocator.h"
////////////////////////////////////////////////////////////////////////////////////////////... |
emoon/flowi | core/c/src/internal.h | #pragma once
#include <flowi_core/config.h>
#include <flowi_core/error.h>
#include <flowi_core/layout.h>
#include "command_buffer.h"
#include "flowi.h"
#include "handles.h"
#include "layout_private.h"
#include "primitives.h"
#include "simd.h"
#include "string_allocator.h"
#include "vertex_allocator.h"
#if defined(FL_... |
emoon/flowi | core/c/src/font.c | #include <assert.h>
#include <flowi_core/error.h>
#include <flowi_core/font.h>
#include "atlas.h"
#include "flowi.h"
#include "font_private.h"
#include "internal.h"
#include "linear_allocator.h"
#include "render.h"
#include "utils.h"
// TODO: Support external functions
#include <freetype/freetype.h>
#include <freetype... |
emoon/flowi | core/c/include/flowi_core/manual.h | <gh_stars>1-10
#pragma once
#include <stdint.h>
#include <string.h>
#include "inline.h"
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Flowi representation of a String.
typedef struct FlString {
const char* str;
uint32_t len;
} FlStr... |
emoon/flowi | core/c/src/flowi.c | #include <assert.h>
#include <freetype/freetype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <flowi_core/ui.h>
#include "allocator.h"
#include "atlas.h"
#include "flowi.h"
#include "font_private.h"
#include "image_private.h"
#include "internal.h"
#include "layout_private.h"
#include "primitiv... |
emoon/flowi | core/c/bench/atlas_bench.c | <filename>core/c/bench/atlas_bench.c
#include <assert.h>
#include <stdlib.h>
#include "../src/allocator.h"
#include "../src/atlas.h"
#include "../src/internal.h"
#include "ubench.h"
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
static void* all... |
emoon/flowi | core/c/src/command_buffer.h | #pragma once
#include "types.h"
#include "linear_allocator.h"
struct FlAllocator;
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// INTERNAL HEADER ONLY
///////////////////////////////////////////////////////////////////////////////////////////... |
emoon/flowi | core/c/tests/layout_tests.c | #include "utest.h"
#include "../src/types.h"
#include <flowi_core/layout.h>
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Generate a basic area
UTEST(Layout, area_default) {
/*
FlLayoutArea sidepanel = {
.name = fl_str("sidepanel")
.wi... |
emoon/flowi | flowi/c/examples/testbed.c | <gh_stars>1-10
// TODO: flowi/font.h should just include tho core version
#include <flowi/application.h>
#include <flowi_core/font.h>
#include <flowi_core/ui.h>
#include <stdio.h>
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
typedef struct App... |
emoon/flowi | core/c/src/io.c | #include <flowi_core/error.h>
#include <flowi_core/manual.h>
#include "internal.h"
#include "string_allocator.h"
#include "types.h"
// fix malloc
#include <stdlib.h>
// TODO: Support io-override
#include <stdio.h>
#if defined(_WIN32)
#include <windows.h>
#endif
//////////////////////////////////////////////////////... |
emoon/flowi | core/c/src/simd.h | #pragma once
#if defined(__AVX__) || defined(__AVX2__)
# include <immintrin.h>
# undef FLI_SIMD_AVX
# define FLI_SIMD_AVX 1
#endif //
#if defined(__SSE2__) || defined(_MSC_VER)
# include <emmintrin.h> // __m128i
# if defined(__SSE4_1__)
# include <smmintrin.h>
# endif // defined(__SSE4_1__)
# include <xmmintrin.h> ... |
emoon/flowi | core/c/src/vertex_allocator.h | #pragma once
#include "allocator.h"
#include "linear_allocator.h"
#include "render.h"
#include "types.h"
#define FL_FRAME_HISTORY 2
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// INTERNAL HEADER
// Used for allocating vertex and index data f... |
emoon/flowi | core/c/tests/handle_tests.c | #include "../src/allocator.h"
#include "../src/handles.h"
#include "utest.h"
extern FlAllocator g_malloc_allocator;
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#define HANDLE_SHIFT (32)
#define HANDLE_BITS (1LL << HANDLE_SHIFT)
#define HANDL... |
emoon/flowi | core/c/tests/tests.c | #include <flowi_core/font.h>
#include "../src/internal.h"
#include "../src/linear_allocator.h"
#include "utest.h"
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Malloc based allocator. We should use tslf or similar in a sandbox, but this is at... |
websurgeon/swift-colorKit | ColorKit/Sources/ColorKit/ColorKit.h | <gh_stars>0
//
// Created by <NAME>. Copyright (c) 2018 . All rights reserved.
//
#import <Foundation/Foundation.h>
//! Project version number for ColorKitTests.
FOUNDATION_EXPORT double ColorKitTestsVersionNumber;
//! Project version string for ColorKitTests.
FOUNDATION_EXPORT const unsigned char ColorKitTestsVers... |
gregoryZajac/dummy-modbus-stepper-controller | src/logo.h | <reponame>gregoryZajac/dummy-modbus-stepper-controller
// https://javl.github.io/image2cpp/
#define LOGO_WIDTH 64
#define LOGO_HEIGHT 64
const unsigned char logo_bmp [] PROGMEM=
{
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0... |
deadglow/AIE-bootstrap-pathfinding | bootstrap/Game.h | <filename>bootstrap/Game.h
//----------------------------------------------------------------------------
// The Game class is an abstract base class that initialises most of the
// essential systems and runs the game loop.
// We derive it into Game2D for 2D games and Game3D for 3D games.
//----------------------------... |
deadglow/AIE-bootstrap-pathfinding | project3D/Game3D.h | #pragma once
#include "Game.h"
#include <glm/mat4x4.hpp>
class Game3D : public aie::Game
{
public:
Game3D(const char* title, int width, int height, bool fullscreen);
virtual ~Game3D();
virtual void Update(float deltaTime);
virtual void Draw();
protected:
glm::mat4 m_viewMatrix;
glm::mat4 m_projectionMatrix;
}... |
deadglow/AIE-bootstrap-pathfinding | bootstrap/Renderer2D.h | <filename>bootstrap/Renderer2D.h
//----------------------------------------------------------------------------
// A class for rendering 2D sprites and text using imediate-mode rendering.
//
// Example usage:
// renderer->DrawBox(600, 500, 60, 20);
//---------------------------------------------------------------------... |
deadglow/AIE-bootstrap-pathfinding | project2D/Mathman.h | #pragma once
#include <cmath>
struct Vector2
{
float x, y;
Vector2(float x = 0, float y = 0)
{
this->x = x;
this->y = y;
}
Vector2(Vector2& vec)
{
this->x = vec.x;
this->y = vec.y;
}
~Vector2(){ }
Vector2 operator +(Vector2 other)
{
return Vector2(this->x + other.x, this->y + other.y);
}
Vect... |
deadglow/AIE-bootstrap-pathfinding | bootstrap/Gizmos.h | <reponame>deadglow/AIE-bootstrap-pathfinding
//----------------------------------------------------------------------------
// A singleton class for rendering immediate-mode 3-D primitives.
//----------------------------------------------------------------------------
#pragma once
#include <glm/fwd.hpp>
namespace aie... |
deadglow/AIE-bootstrap-pathfinding | bootstrap/Texture.h | <gh_stars>1-10
//----------------------------------------------------------------------------
// This class is used to load textures for drawing as sprites.
//
// Example Usage:
// When loading sprites use:
// aie::Texture texture = new aie::Texture("./textures/ship.png");
//
// When loading textures to apply to 3D... |
deadglow/AIE-bootstrap-pathfinding | project2D/Pathfinder.h | #pragma once
#include "Renderer2D.h"
#include "Mathman.h"
#include "GraphNode.h"
#include <vector>
#include "Heap.h"
#include "Renderer2D.h"
#define GRID_WIDTH 50
#define GRID_HEIGHT 50
#define CELL_SIZE 15
#define CELL_PADDING 2
#define COST_SIDE 10
#define COST_DIAG 14
class Pathfinder
{
public:
Pathfinder();
~P... |
deadglow/AIE-bootstrap-pathfinding | project2D/GraphNode.h | #pragma once
#include "Mathman.h"
#define NEIGHBOUR_COUNT 8
struct GraphNode
{
struct Edge
{
GraphNode* node;
int cost = 0;
};
IntVector position = { 0, 0 };
GraphNode* previous = nullptr;
bool blocked = false;
int extraCost = 0;
//Hscore + Gscore
int FScore = 0;
int GScore = 0;
int HScore = 0;
Edg... |
deadglow/AIE-bootstrap-pathfinding | project2D/Game2D.h | <filename>project2D/Game2D.h
#pragma once
#include "Game.h"
#include "Renderer2D.h"
#include "Pathfinder.h"
class Player;
class Game2D : public aie::Game
{
public:
Game2D(const char* title, int width, int height, bool fullscreen);
virtual ~Game2D();
virtual void Update(float deltaTime);
virtual void Draw();
pr... |
deadglow/AIE-bootstrap-pathfinding | project2D/Heap.h | #pragma once
#include <vector>
#include "GraphNode.h"
class Heap
{
public:
void Push(GraphNode* value);
GraphNode* Pop();
GraphNode* Peek();
int Find(GraphNode* node);
GraphNode* Rebalance(GraphNode* node);
int Size();
void Clear();
GraphNode*& operator [](int index)
{
return data[index];
}
private:
int... |
deadglow/AIE-bootstrap-pathfinding | bootstrap/Shader.h | <filename>bootstrap/Shader.h
//----------------------------------------------------------------------------
// Shaders written in GLSL
// https://www.khronos.org/opengl/wiki/Core_Language_%28GLSL%29
//----------------------------------------------------------------------------
#pragma once
static const char* sk_sprite... |
deadglow/AIE-bootstrap-pathfinding | bootstrap/Font.h | <filename>bootstrap/Font.h
//----------------------------------------------------------------------------
// This class is used to load TrueType fonts using the stb_truetype library
// and stores the resulting glyphs in an OpenGL texture.
//
// Example Usage:
// aie::Font* font = new aie::Font("./font/consolas.ttf", ... |
otto-de/varnishevent | src/format.h | <reponame>otto-de/varnishevent
/*-
* Copyright (c) 2015 UPLEX Nils Goroll Systemoptimierung
* Copyright (c) 2015 Otto Gmbh & Co KG
* All rights reserved.
* Use only with permission
*
* Author: <NAME> <<EMAIL>>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted ... |
otto-de/varnishevent | src/spscq.c | <filename>src/spscq.c
/*-
* Copyright (c) 2013 UPLEX Nils Goroll Systemoptimierung
* Copyright (c) 2013 Otto Gmbh & Co KG
* All rights reserved
* Use only with permission
*
* Author: <NAME> <<EMAIL>>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided t... |
otto-de/varnishevent | src/log.c | <reponame>otto-de/varnishevent
/*-
* Copyright (c) 2013 UPLEX Nils Goroll Systemoptimierung
* Copyright (c) 2013 Otto Gmbh & Co KG
* All rights reserved
* Use only with permission
*
* Author: <NAME> <<EMAIL>>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted p... |
otto-de/varnishevent | src/test/test_writer.c | <gh_stars>1-10
/*-
* Copyright (c) 2015 UPLEX Nils Goroll Systemoptimierung
* Copyright (c) 2015 Otto Gmbh & Co KG
* All rights reserved
* Use only with permission
*
* Author: <NAME> <<EMAIL>>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the... |
otto-de/varnishevent | src/test/test_strfTIM.c | <gh_stars>1-10
/*-
* Copyright (c) 2012 UPLEX Nils Goroll Systemoptimierung
* Copyright (c) 2012 Otto Gmbh & Co KG
* All rights reserved
* Use only with permission
*
* Author: <NAME> <<EMAIL>>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the... |
otto-de/varnishevent | src/strfTIM.c | /*-
* Copyright (c) 2013-2015 UPLEX Nils Goroll Systemoptimierung
* Copyright (c) 2013-2015 Otto Gmbh & Co KG
* All rights reserved
* Use only with permission
*
* Author: <NAME> <<EMAIL>>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the foll... |
otto-de/varnishevent | src/config.c | <reponame>otto-de/varnishevent
/*-
* Copyright (c) 2013 UPLEX Nils Goroll Systemoptimierung
* Copyright (c) 2013 Otto Gmbh & Co KG
* All rights reserved
* Use only with permission
*
* Author: <NAME> <<EMAIL>>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted p... |
otto-de/varnishevent | src/test/test_format.c | /*-
* Copyright (c) 2015 UPLEX Nils Goroll Systemoptimierung
* Copyright (c) 2015 Otto Gmbh & Co KG
* All rights reserved
* Use only with permission
*
* Author: <NAME> <<EMAIL>>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following cond... |
otto-de/varnishevent | src/format.c | /*-
* Copyright (c) 2013-2015 UPLEX Nils Goroll Systemoptimierung
* Copyright (c) 2013-2015 Otto Gmbh & Co KG
* All rights reserved
* Use only with permission
*
* Author: <NAME> <<EMAIL>>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the foll... |
otto-de/varnishevent | src/data.c | <gh_stars>1-10
/*-
* Copyright (c) 2013-2015 UPLEX Nils Goroll Systemoptimierung
* Copyright (c) 2013-2015 Otto Gmbh & Co KG
* All rights reserved
* Use only with permission
*
* Authors: <NAME> <<EMAIL>>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provid... |
otto-de/varnishevent | src/test/test_hdrtrie.c | <gh_stars>1-10
/*-
* Copyright (c) 2012 UPLEX Nils Goroll Systemoptimierung
* Copyright (c) 2012 Otto Gmbh & Co KG
* All rights reserved
* Use only with permission
*
* Author: <NAME> <<EMAIL>>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the... |
otto-de/varnishevent | src/varnishevent.h | <filename>src/varnishevent.h
/*-
* Copyright (c) 2013-2015 UPLEX Nils Goroll Systemoptimierung
* Copyright (c) 2013-2015 Otto Gmbh & Co KG
* All rights reserved.
* Use only with permission
*
* Author: <NAME> <<EMAIL>>
*
* Redistribution and use in source and binary forms, with or without
* modification, are pe... |
otto-de/varnishevent | src/varnishevent.c | /*-
* Copyright (c) 2015-2016 UPLEX Nils Goroll Systemoptimierung
* Copyright (c) 2015-2016 Otto Gmbh & Co KG
* All rights reserved
*
* Author: <NAME> <<EMAIL>>
*
* Portions adapted from varnishncsa.c from the Varnish project
* Copyright (c) 2006 Verdens Gang AS
* Copyright (c) 2006-2011 Varnish Software AS
*... |
otto-de/varnishevent | src/hdrtrie.c | /*-
* Copyright (c) 2016 UPLEX Nils Goroll Systemoptimierung
* Copyright (c) 2016 Otto Gmbh & Co KG
* All rights reserved.
* Use only with permission
*
* Author: <NAME> <<EMAIL>>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following con... |
otto-de/varnishevent | src/monitor.c | <reponame>otto-de/varnishevent<filename>src/monitor.c
/*-
* Copyright (c) 2013-2015 UPLEX Nils Goroll Systemoptimierung
* Copyright (c) 2013-2015 Otto Gmbh & Co KG
* All rights reserved
* Use only with permission
*
* Author: <NAME> <<EMAIL>>
*
* Redistribution and use in source and binary forms, with or without... |
otto-de/varnishevent | src/test/test_data.c | <filename>src/test/test_data.c
/*-
* Copyright (c) 2015 UPLEX Nils Goroll Systemoptimierung
* Copyright (c) 2015 Otto Gmbh & Co KG
* All rights reserved
* Use only with permission
*
* Author: <NAME> <<EMAIL>>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted p... |
otto-de/varnishevent | src/writer.c | <gh_stars>1-10
/*-
* Copyright (c) 2013-2015 UPLEX Nils Goroll Systemoptimierung
* Copyright (c) 2013-2015 Otto Gmbh & Co KG
* All rights reserved
* Use only with permission
*
* Authors: <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
*
* Redistribution and use in source and binary forms, with or without
* modificati... |
ValYouW/flutter-opencv-stream-processing | native_opencv/ios/Classes/NativeOpencvPlugin.h | <reponame>ValYouW/flutter-opencv-stream-processing
#import <Flutter/Flutter.h>
@interface NativeOpencvPlugin : NSObject<FlutterPlugin>
@end
|
ValYouW/flutter-opencv-stream-processing | native_opencv/ios/Classes/ArucoDetector/ArucoDetector.h | #pragma once
#include <opencv2/core.hpp>
using namespace std;
using namespace cv;
struct ArucoResult {
vector<Point2f> corners;
int index = -1;
};
struct ArucoDict {
vector<vector<int>> sigs;
vector<vector<Point3f>> worldLoc;
};
class ArucoDetector {
public:
ArucoDetector(Mat marker, int bits... |
FelipeLarsen/PortscanC | portscan.c | <gh_stars>0
#include <stdio.h>
#include <netdb.h>
main(int argc, char *argv[])
{
int meusocket;
int conecta;
int port;
int inicio = 0;
int final = 65535;
char * destino;
destino = argv[1];
struct sockaddr_in alvo;
for(port = inicio; port < final; port++)
{
meusocket = socket(AF_INET, SOCK_ST... |
NoSuchProcess/udis86-sf | libudis86/udis86.c | /* udis86 - libudis86/udis86.c
*
* Copyright (c) 2002-2013 <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyrigh... |
est31/werk | werk-sys/src/ffi_wrapper.h | <filename>werk-sys/src/ffi_wrapper.h<gh_stars>10-100
// Werk - a pure Rust opus library
//
// Copyright (c) 2001-2011 the opus developers, and
// Copyright (c) 2017 est31 <<EMAIL>>
// and contributors, All rights reserved.
// Licensed under the BSD 3 clause license.
// Please see the COPYING file attached to
// this so... |
flyingsilverfin/youvegotmail | embedded/Youve_Got_Mail/Youve_Got_Mail/User.h | /*
* User.h
*
* Created: 16/09/2015 18:32:31
* Author: David
*/
#ifndef USER_H_
#define USER_H_
#include <avr/io.h>
// # Defines
#define F_CPU 1000000UL
// Function Prototypes
extern void Delay_Ms(uint16_t ms);
extern void Init(void);
extern uint8_t Check_Infrared(void);
extern void ... |
flyingsilverfin/youvegotmail | embedded/Youve_Got_Mail/Youve_Got_Mail/Youve_Got_Mail.c | <gh_stars>0
/*
* Youve_Got_Mail.c
*
* Created: 16/09/2015 17:29:23
* Author: David
*/
#include <avr/io.h>
#include "User.h"
int main(void)
{
// Return_5();
Init();
while(1)
{
while(1)
{
PINC = (1<<PINC0); // Toggle PC0
Delay_Ms(1000);
}
Check_Infrared();
uint... |
flyingsilverfin/youvegotmail | embedded/Youve_Got_Mail/Youve_Got_Mail/User.c | <filename>embedded/Youve_Got_Mail/Youve_Got_Mail/User.c
/*
* User.c
*
* Created: 18/09/2015 12:36:15
* Author: David
*/
#include <avr/io.h>
#include <delay.h>
#include "User.h"
void Delay_Ms(uint16_t ms)
{
uint32_t Delay_Cycles;
for (Delay_Cycles = (ms * (1000000/10000)) ; Delay_Cycles ... |
anders-sandholm/sling | third_party/syntaxnet/dragnn/core/resource_container.h | // Copyright 2017 Google 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
anders-sandholm/sling | third_party/zlib/zlib.h | #include "third_party/zlib/upstream/zlib.h"
|
anders-sandholm/sling | sling/pyapi/pyarray.h | <filename>sling/pyapi/pyarray.h
// Copyright 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... |
anders-sandholm/sling | sling/myelin/cuda/cuda-api.h | // Copyright 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 agreed to in ... |
anders-sandholm/sling | sling/myelin/builder.h | <filename>sling/myelin/builder.h
// Copyright 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 b... |
anders-sandholm/sling | sling/nlp/document/fingerprinter.h | // Copyright 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 agreed to in ... |
anders-sandholm/sling | sling/myelin/generator/index.h | // Copyright 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 agreed to in ... |
anders-sandholm/sling | sling/frame/printer.h | <gh_stars>1-10
// Copyright 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 o... |
anders-sandholm/sling | sling/util/unicode.h | // Copyright 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 agreed to in ... |
anders-sandholm/sling | sling/myelin/profile.h | // Copyright 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 agreed to in ... |
anders-sandholm/sling | sling/nlp/document/document-source.h | <reponame>anders-sandholm/sling
// Copyright 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... |
anders-sandholm/sling | sling/nlp/parser/trainer/transition-state.h | // Copyright 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 agreed to in ... |
anders-sandholm/sling | third_party/syntaxnet/dragnn/core/compute_session.h | <gh_stars>1-10
// Copyright 2017 Google 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless require... |
anders-sandholm/sling | sling/stream/output.h | // Copyright 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 agreed to in ... |
anders-sandholm/sling | sling/pyapi/pyparser.h | // Copyright 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 agreed to in ... |
anders-sandholm/sling | sling/nlp/document/token-breaks.h | // Copyright 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 agreed to in ... |
anders-sandholm/sling | third_party/jit/cpu.h | <reponame>anders-sandholm/sling<gh_stars>1-10
// Copyright 2014, the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the... |
anders-sandholm/sling | sling/util/table-writer.h | // Copyright 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 agreed to in ... |
anders-sandholm/sling | sling/nlp/parser/trainer/transition-generator.h | // Copyright 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 agreed to in ... |
anders-sandholm/sling | sling/pyapi/pyrecordio.h | <filename>sling/pyapi/pyrecordio.h<gh_stars>1-10
// Copyright 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
//
// U... |
anders-sandholm/sling | sling/myelin/elf-linker.h | // Copyright 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 agreed to in ... |
anders-sandholm/sling | sling/frame/serialization.h | <reponame>anders-sandholm/sling
// Copyright 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... |
anders-sandholm/sling | sling/util/embeddings.h | // Copyright 2017 Google 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
anders-sandholm/sling | sling/file/recordio.h | <filename>sling/file/recordio.h
// Copyright 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... |
anders-sandholm/sling | sling/myelin/cuda/cuda-kernel.h | // Copyright 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 agreed to in ... |
Chencheng0302/Blokus_C- | block.h | #pragma once
#include <vector>
using namespace std;
class block
{
public:
block(int idnum, int givenOwner);
void putOn(int location);
void displayBlock();
int getOwner();
vector<int> getBlock();
int getX();
int getY();
int getNum();
int getID();
void rotate(bool rotateToLeft);
void reverse();... |
Chencheng0302/Blokus_C- | plan.h | #pragma once
#include"block.h"
class plan
{
public:
plan(int plan_x, int plan_y, block* givenTile);
plan(int plan_x,int plan_y,int exp_payoff, block* givenTile);
int getX();
int getY();
int getPayoff();
int getNumOfSamePlan();
void foundSamePlan();
block* getTile();
//bool operator==(const plan& g... |
Chencheng0302/Blokus_C- | player.h | <reponame>Chencheng0302/Blokus_C-<gh_stars>0
#pragma once
#include"block.h"
#include"plan.h"
#include"square.h"
#include <vector>
#include <string>
using namespace std;
struct dataset {
int origin_x;
int origin_y;
int kx;
int ky;
};
class player
{
public:
player(int id, string name);
void display... |
Chencheng0302/Blokus_C- | square.h | #pragma once
#include <string>
#include"block.h"
class square
{
public:
square(int givenX, int givenY);
int getX();
int getY();
int getOwner();
void setOwner(int givenOwner);
void setOccupyer(int occupiedTileID);
void setTile(block *target);
int getOccupier();
private:
int x, y, owner, occupier;... |
GKNH/MVPDemo | MVP/MVP/SAppPresenter.h | //
// SAppPresenter.h
// MVP
//
// Created by Sun on 2020/2/17.
// Copyright © 2020 sun. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface SAppPresenter : NSObject
- (instancetype)initWithController:(UIViewController*)controller;
@end
NS_ASSUME_NONNULL_END
|
GKNH/MVPDemo | MVP/MVP/SAppView.h | <gh_stars>0
//
// SAppView.h
// MVP
//
// Created by Sun on 2020/2/17.
// Copyright © 2020 sun. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@class SAppView;
// 声明协议,用于View给Presenter通信
@protocol SAppViewDelegate <NSObject>
@optional
- (void)appViewDidClick:(SAppView *)appView;
@end
... |
GKNH/MVPDemo | MVP/MVP/SAPPModel.h | <filename>MVP/MVP/SAPPModel.h
//
// SAPPModel.h
// MVP
//
// Created by Sun on 2020/2/17.
// Copyright © 2020 sun. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface SAPPModel : NSObject
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *i... |
silenceleewq/StandardTableView | AnalyseTableView/AnalyseTableView/NJTableView.h | //
// NJTableView.h
// AnalyseTableView
//
// Created by slience on 2017/2/22.
// Copyright © 2017年 Ninja. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface NJTableView : UITableView
@end
|
silenceleewq/StandardTableView | AnalyseTableView/AnalyseTableView/NJTableViewCell.h | <filename>AnalyseTableView/AnalyseTableView/NJTableViewCell.h<gh_stars>0
//
// NJTableViewCell.h
// AnalyseTableView
//
// Created by slience on 2017/2/22.
// Copyright © 2017年 Ninja. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface NJTableViewCell : UITableViewCell
@end
|
Valveware/SwiftBullet | Sources/CBullet/shims.h | <filename>Sources/CBullet/shims.h
// Bullet 3
#define BT_ENABLE_ENET
#define BT_ENABLE_CLSOCKET
#define BT_ENABLE_PHYSX
#define BT_ENABLE_DART
#define BT_ENABLE_MUJOCO
#ifdef __APPLE__
// === APPLE =========
#include <Bullet/SharedMemory/SharedMemoryPublic.h>
#include <Bullet/SharedMemory/PhysicsClientC_API.h>
#incl... |
log-oscon/DicionarioAberto | Classes/DASearchController.h | <gh_stars>0
//
// DicionarioAbertoViewController.h
// DicionarioAberto
//
// Created by <NAME> on 20/12/2010.
//
@interface DASearchController : UIViewController <UITableViewDataSource, UITableViewDelegate, UISearchBarDelegate, UIScrollViewDelegate> {
@private
UISearchBar *_searchBar;
UITableView *_searchR... |
log-oscon/DicionarioAberto | Classes/DDXMLNode+DAXMLNode.h | //
// DDXMLNode+DAXMLNode.h
// DicionarioAberto
//
// Created by <NAME> on 1/11/12.
// Copyright (c) 2012 log.OSCON. All rights reserved.
//
#import "DDXMLNode.h"
@interface DDXMLNode (DAXMLNode)
- (DDXMLNode *)nodeForXPath:(NSString *)xpath error:(NSError **)error;
@end
|
log-oscon/DicionarioAberto | Classes/DADelegate.h | <gh_stars>0
//
// DicionarioAbertoAppDelegate.h
// DicionarioAberto
//
// Created by <NAME> on 20/12/2010.
//
@class DASearchController;
@interface DADelegate : NSObject <UIApplicationDelegate> {
// View controllers
UIWindow *window;
UINavigationController *navController;
DASearchController *search... |
log-oscon/DicionarioAberto | Classes/DARemoteClient.h | <gh_stars>0
//
// DARemote.h
// DicionarioAberto
//
// Created by <NAME> on 23/12/2010.
//
#import "AFHTTPClient.h"
extern int const DARemoteGetEntry;
extern int const DARemoteSearchPrefix;
extern int const DARemoteSearchSuffix;
extern int const DARemoteSearchLike;
extern int const DARemoteSearchOK;
extern int co... |
log-oscon/DicionarioAberto | Classes/DefinitionController.h | <gh_stars>0
//
// DefinitionController.h
// DicionarioAberto
//
// Created by <NAME> on 21/12/2010.
//
#import "DADelegate.h"
#import "DARemoteClient.h"
#import "DAParser.h"
#import "Entry.h"
#import "EntryForm.h"
#import "EntrySense.h"
#import "EntrySenseUsage.h"
#import "EntryEtymology.h"
#import "InfoTableCont... |
log-oscon/DicionarioAberto | Classes/EntryForm.h | <filename>Classes/EntryForm.h
//
// Form.h
// DicionarioAberto
//
// Created by <NAME> on 21/12/2010.
//
@interface EntryForm : NSObject {
NSMutableString *orth;
NSMutableString *phon;
}
@property (nonatomic, strong) NSMutableString *orth;
@property (nonatomic, strong) NSMutableString *phon;
@end
|
log-oscon/DicionarioAberto | Classes/DANavigationBar.h | <filename>Classes/DANavigationBar.h<gh_stars>0
//
// DANavigationBar.h
// DicionarioAberto
//
// Created by <NAME> on 12/01/2012.
// Copyright (c) 2012 log.OSCON. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface DANavigationBar : UINavigationBar
@end
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.