代码搜索:object
找到约 10,000 项符合「object」的源代码
代码结果 10,000
www.eeworm.com/read/100127/6273984
object_tp_hash
static long
$abbrev$_hash(self)
$abbrev$object *self;
{
/* XXXX Return a hash of self (or -1) */
}
www.eeworm.com/read/100127/6273987
object_tp_as_mapping
/* Code to access $name$ objects as mappings */
static int
$abbrev$_length(self)
$abbrev$object *self;
{
/* XXXX Return the size of the mapping */
}
static PyObject *
$abbrev$_subscript(self, key
www.eeworm.com/read/100127/6273988
object_tp_getattr
static PyObject *
$abbrev$_getattr(self, name)
$abbrev$object *self;
char *name;
{
/* XXXX Add your own getattr code here */
return Py_FindMethod($abbrev$_methods, (PyObject *)self, name);
}
www.eeworm.com/read/100127/6273990
object_tp_as_number
/* Code to access $name$ objects as numbers */
static PyObject *
$abbrev$_add(v, w)
$abbrev$object *v;
$abbrev$object *w;
{
/* XXXX Add them */
}
static PyObject *
$abbrev$_sub(v, w)
$abbrev$ob
www.eeworm.com/read/100127/6273991
object_tp_str
static PyObject *
$abbrev$_str(self)
$abbrev$object *self;
{
PyObject *s;
/* XXXX Add code here to put self into s */
return s;
}
www.eeworm.com/read/415194/6281694
m example_object.m
% Example using operator specified as function
%
% Copyright (c) 2007 Thomas Blumensath
%
% The University of Edinburgh
% Email: thomas.blumensath@ed.ac.uk
% Comments and bug reports welcome
%
% This
www.eeworm.com/read/415194/6281735
m object_format.m
function object_format
% Help file to explain how to create an object to calculate linear
% operator and their transpose.
% The same object style is used in [1].
%
% To create your own objects you nee
www.eeworm.com/read/415194/6281741
m ._example_object.m
www.eeworm.com/read/415194/6281777
m ._object_format.m
www.eeworm.com/read/244480/6427167