代码搜索:self
找到约 10,000 项符合「self」的源代码
代码结果 10,000
www.eeworm.com/read/118194/14882569
py handler.py
#
# $Workfile: Handler.py $ $Revision: 8 $
# $Date: 10/05/01 12:35a $ $Author: Sholden $
#
import Cookie
import Session
import MapSite
from Params import STIMEOUT_INTERVAL, SCHECK_INTERVAL
imp
www.eeworm.com/read/118194/14882618
py server3.py
import SocketServer
import netstring
import sys
class MyRequestHandler(SocketServer.BaseRequestHandler):
def handle(self):
global Done
request, socket = self.request
www.eeworm.com/read/118155/14885224
py simple2.py
#: c01:Simple2.py
from SimpleClass import Simple
class Simple2(Simple):
def __init__(self, str):
print "Inside Simple2 constructor"
# You must explicitly call
# the base-class c
www.eeworm.com/read/118155/14885238
py borgsingleton.py
#: c01:BorgSingleton.py
# Alex Martelli's 'Borg'
class Borg:
_shared_state = {}
def __init__(self):
self.__dict__ = self._shared_state
class Singleton(Borg):
def __init__(self, ar
www.eeworm.com/read/118155/14885239
py singletonmetaclass.py
#: c01:SingletonMetaClass.py
class SingletonMetaClass(type):
def __init__(cls,name,bases,dict):
super(SingletonMetaClass,cls)\
.__init__(name,bases,dict)
original_new = cls.__new_
www.eeworm.com/read/118155/14885280
py testsynchronization.py
#: util:TestSynchronization.py
from Synchronization import *
# To use for a method:
class C(Synchronization):
def __init__(self):
Synchronization.__init__(self)
self.data = 1
def
www.eeworm.com/read/219334/14887661
txt text2.txt
typedef union Control
{
struct
{
unsigned select:4;
unsigned k1:1; /*dense*/
unsigned ls:1; /*empty */
unsigned unused:2;
} _bit;
BYTE _byte;
} CONTROL;
typedef union Sel
www.eeworm.com/read/219329/14887824
cpp multiviewscontainer1.cpp
/* Copyright (c) 2004, Nokia. All rights reserved */
// INCLUDE FILES
#include "MultiViewsContainer1.h"
// ========================= MEMBER FUNCTIONS ==================================
www.eeworm.com/read/219329/14887826
cpp multiviewsview2.cpp
/* Copyright (c) 2004, Nokia. All rights reserved */
// INCLUDE FILES
#include
#include
#include
#include
#include
www.eeworm.com/read/219329/14887832
cpp multiviewsview1.cpp
/* Copyright (c) 2004, Nokia. All rights reserved */
// INCLUDE FILES
#include
#include
#include
#include "MultiViewsView1.h"
#include "Mult