This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if !defined(TH_REAL_IS_HALF) | |
PyObject * THPTensor_(addmv)(PyObject *self, PyObject *args, PyObject *kwargs) | |
{ | |
PyObject *__kw_beta = NULL; | |
PyObject *__kw_alpha = NULL; | |
PyObject *__kw_mat = NULL; | |
PyObject *__kw_vec = NULL; | |
if (kwargs) { | |
__kw_beta = PyDict_GetItemString(kwargs, "beta"); | |
__kw_alpha = PyDict_GetItemString(kwargs, "alpha"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# gcc -Wall -o match match.c && ./match | |
# | |
#include <stdio.h> | |
#include <string.h> | |
#include <regex.h> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
ProFi v1.3, by Luke Perkin 2012. MIT Licence http://www.opensource.org/licenses/mit-license.php. | |
Example: | |
ProFi = require 'ProFi' | |
ProFi:start() | |
some_function() | |
another_function() | |
coroutine.resume( some_coroutine ) | |
ProFi:stop() |