Пример #1
0
 def __init__(self, input = None, comp = cmp):
   self.__in = xbase.xsingle_buffer(input)
   self.__comp = comp
Пример #2
0
 def set_inputs(self, input0, input1):
   self.__in0, self.__in1 = xbase.xsingle_buffer(input0), xbase.xsingle_buffer(input1)
   return self
Пример #3
0
 def set_input0(self, input0):
   self.__in0 = xbase.xsingle_buffer(input0)
   return self
Пример #4
0
 def set_input1(self, input1):
   self.__in1 = xbase.xsingle_buffer(input1)
   return self
Пример #5
0
 def __init__(self, input0 = None, input1 = None, comp = cmp):
   self.__in0, self.__in1 = xbase.xsingle_buffer(input0), xbase.xsingle_buffer(input1)
   self.__comp = comp