代码搜索:self
找到约 10,000 项符合「self」的源代码
代码结果 10,000
www.eeworm.com/read/427452/8943914
cpp bookinfo.cpp
#include "BookInfo.h"
CBookInfo* CBookInfo::NewL()
{
CBookInfo* self = CBookInfo::NewLC();
CleanupStack::Pop(self);
return self;
}
CBookInfo* CBookInfo::NewLC()
{
CBookInfo* self = new(
www.eeworm.com/read/468225/6995095
py py_class.py
'''py_class.py - Python source designed to demonstrate the use of python embedding'''
class Multiply:
def __init__(self):
self.a = 6
self.b = 5
def multiply(self):
c = self.a
www.eeworm.com/read/411228/2190901
py imagemap.py
class Region:
def __init__(self, coords, ref):
self.coords = coords
self.ref = ref
def inside(self, x, y):
isSide = 0
if self.coords[0][0]
www.eeworm.com/read/174332/9595146
py py_class.py
'''py_class.py - Python source designed to demonstrate the use of python embedding'''
class Multiply:
def __init__(self):
self.a = 6
self.b = 5
def multiply(self):
c = self.a
www.eeworm.com/read/100127/6274038
py pong-demo-1.py
from Tkinter import *
import string
class Pong(Frame):
def createWidgets(self):
self.QUIT = Button(self, text='QUIT', foreground='red',
command=self.quit)
self.QUIT.pack(side=LEFT, fil
www.eeworm.com/read/193974/5138558
py test_xreadline.py
from test_support import verbose
class XReader:
def __init__(self):
self.count = 5
def readlines(self, sizehint = None):
self.count = self.count - 1
return map(lambda
www.eeworm.com/read/438717/1823299
py pong-demo-1.py
from Tkinter import *
import string
class Pong(Frame):
def createWidgets(self):
self.QUIT = Button(self, text='QUIT', foreground='red',
command=self.quit)
self.QUIT.pack(side=LEFT, fil
www.eeworm.com/read/438717/1823344
py tkfmt.py
# Tk backend -- unfinished
debug = 0
from fmt import *
class TkFormatter:
def __init__(self, text):
self.text = text # The text widget to draw in
self.nospace = 1
self.blanklines = 0
self
www.eeworm.com/read/425189/10372763
cpp neofile.cpp
#include "NeoFile.h"
CNeoFILE* CNeoFILE::NewL()
{
CNeoFILE* self = CNeoFILE::NewLC();
CleanupStack::Pop(self);
return self;
}
CNeoFILE* CNeoFILE::NewLC()
{
CNeoFILE* self = new (ELeav