代码搜索:singleton
找到约 4,696 项符合「singleton」的源代码
代码结果 4,696
www.eeworm.com/read/207991/5000397
mx opt_singleton.mx
@' The contents of this file are subject to the MonetDB Public License
@' Version 1.1 (the "License"); you may not use this file except in
@' compliance with the License. You may obtain a copy of the
www.eeworm.com/read/207991/5000421
h opt_singleton.h
#ifndef _OPT_SINGLETON_
#define _OPT_SINGLETON_
#include "opt_prelude.h"
#include "opt_support.h"
/* #define DEBUG_OPT_SINGLETON show partial result */
#endif
opt_export str OPTsingleton(MalB
www.eeworm.com/read/207991/5000463
c opt_singleton.c
#line 66 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/optimizer/opt_singleton.mx"
#include "mal_config.h"
#include "opt_singleton.h"
#include "opt_aliases.h"
#include "mal_interpreter
www.eeworm.com/read/189320/5197946
h reactor_singleton.h
/* -*- C++ -*- */
// Reactor_Singleton.h,v 4.3 2003/08/04 03:53:54 dhinton Exp
// ============================================================================
//
// = LIBRARY
// examples
//
// =
www.eeworm.com/read/179153/5309727
t attach_singleton.t
#!./perl -w
#
# Copyright 2005, Adam Kennedy.
#
# You may redistribute only under the same terms as Perl 5, as specified
# in the README file that comes with the distribution.
#
# Tests freezing/t
www.eeworm.com/read/168845/5432218
hpp trivial_singleton.hpp
// (C) Copyright Gennadiy Rozental 2005.
// 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.
www.eeworm.com/read/321483/3535540
t attach_singleton.t
#!./perl -w
#
# Copyright 2005, Adam Kennedy.
#
# You may redistribute only under the same terms as Perl 5, as specified
# in the README file that comes with the distribution.
#
# Tests freezing/t
www.eeworm.com/read/269040/4247847
java singleton2.java
package org.gof.create.singleton;
public class Singleton2 {
private static Singleton2 instance = null;
public static synchronized Singleton2 getInstance() {
//这个方法比上面有所改进,不用每次都进行生成对象,只是第
www.eeworm.com/read/433911/1877911
h reactor_singleton.h
/* -*- C++ -*- */
// $Id: Reactor_Singleton.h 80826 2008-03-04 14:51:23Z wotte $
// ============================================================================
//
// = LIBRARY
// examples
www.eeworm.com/read/420779/2062871
java singleton1.java
package singleton;
class FileOpe{
public static FileOpe fo = new FileOpe();
public static FileOpe getInstance(){
return fo;
}
private FileOpe(){
System.out.println("构造函数");
}
publ