代码搜索:singleton
找到约 4,696 项符合「singleton」的源代码
代码结果 4,696
www.eeworm.com/read/242657/4549696
py _mailer.py
""" This module implements a mailer to mail a user about fuzz warnings """
import _singleton
def ldap_lookup (username):
""" Performs a ldap lookup to find the email address associated with
www.eeworm.com/read/240529/4573120
java client.java
package com.javapatterns.singleton.mxrecord1;
public class Client
{
/**
* @directed
*/
private static MXList mxl;
public static void main(String[] args)
thro
www.eeworm.com/read/240529/4573125
java regsingleton.java
package com.javapatterns.singleton.demos;
import java.util.HashMap;
public class RegSingleton {
protected RegSingleton() {}
static public RegSingleton getInstance(String name)
www.eeworm.com/read/219228/4848929
cpp wxswidgetfactory.cpp
#include "wxsheaders.h"
#include "wxswidgetfactory.h"
#include "wxsmith.h"
#include "wxspropertiesman.h"
wxsWidgetFactory* wxsWidgetFactory::Singleton = new wxsWidgetFactory;
wxsWidgetFacto
www.eeworm.com/read/213767/4912691
rb just_published.rb
module ContentState
class JustPublished < Published
include Singleton
# We need to save the state as 'Published', but we need after_save
# to be handled by JustPublished. So, JustPublis