代码搜索:singleton

找到约 4,696 项符合「singleton」的源代码

代码结果 4,696
www.eeworm.com/read/383940/2608342

py singleton.py

# Copyright (c) 2006-2007 Chad Metcalf # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (t
www.eeworm.com/read/382408/2637225

h singleton.h

// -------------------------------------------------------------------------- // Dingus project - a collection of subsystems for game/graphics applications // ---------------------------------------
www.eeworm.com/read/381929/2639618

h singleton.h

/* * TOPPERS/JSP Kernel * Toyohashi Open Platform for Embedded Real-Time Systems/ * Just Standard Profile Kernel * * Copyright (C) 2003 by Embedded and Real-Time Systems Laborat
www.eeworm.com/read/381929/2639630

cpp singleton.cpp

/* * TOPPERS/JSP Kernel * Toyohashi Open Platform for Embedded Real-Time Systems/ * Just Standard Profile Kernel * * Copyright (C) 2002-2003 by Embedded and Real-Time Systems La
www.eeworm.com/read/380073/2663896

java singleton.java

package headfirst.singleton.subclass; public class Singleton { protected static Singleton uniqueInstance; // other useful instance variables here protected Singleton() {} public static sync
www.eeworm.com/read/380073/2663899

java singleton.java

package headfirst.singleton.dcl; // // Danger! This implementation of Singleton not // guaranteed to work prior to Java 5 // public class Singleton { private volatile static Singleton uniqueInstan
www.eeworm.com/read/380073/2663901

java singleton.java

package headfirst.singleton.stat; public class Singleton { private static Singleton uniqueInstance = new Singleton(); private Singleton() {} public static Singleton getInstance() { return un
www.eeworm.com/read/380073/2663903

java singleton.java

package headfirst.singleton.threadsafe; public class Singleton { private static Singleton uniqueInstance; // other useful instance variables here private Singleton() {} public static synchr
www.eeworm.com/read/380073/2663904

java singleton.java

package headfirst.singleton.classic; // NOTE: This is not thread safe! public class Singleton { private static Singleton uniqueInstance; // other useful instance variables here private Single
www.eeworm.com/read/375190/2726807

hpp singleton.hpp

// Copyright (C) 2001-2003 // Mac Murrett // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt)