代码搜索:singleton
找到约 4,696 项符合「singleton」的源代码
代码结果 4,696
www.eeworm.com/read/440906/1775673
c singleton.c
// This tests two things:
// 1. there is an annoying warning.
// singleton.C:26: warning: `class singleton' only defines private constructors and has no friends
// egcs fails to see that there is a pu
www.eeworm.com/read/433911/1880199
py _singleton.py
""" Implements a singleton mixin class """
# The following code was written by Gary Robinson
# (grobinson@transpose.com) and placed in the public domain. His
# copyright notice is as follows:
www.eeworm.com/read/429863/1944208
java singleton.java
/**
* Copyright (C) 2006 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy
www.eeworm.com/read/427686/1968123
h singleton.h
/* Copyright (C) Steve Rabin, 2001.
* All rights reserved worldwide.
*
* This software is provided "as is" without express or implied
* warranties. You may freely copy and compile this source
www.eeworm.com/read/423625/2025863
cpp singleton.cpp
////////////////////////////////////////////////////////////////////////////////
// The Loki Library
// Copyright (c) 2001 by Andrei Alexandrescu
// This code accompanies the book:
// Alexandrescu
www.eeworm.com/read/423625/2025879
d singleton.d
Singleton.o Singleton.d : Singleton.cpp Singleton.h Threads.h ../../Utils/assert.h \
../../Utils/src/assert.h ../../Utils/src/assert_unix.h \
../../Utils/excdef.h ../../Utils/src/excdef.h ../../Ut
www.eeworm.com/read/423625/2025881
h singleton.h
////////////////////////////////////////////////////////////////////////////////
// The Loki Library
// Copyright (c) 2001 by Andrei Alexandrescu
// This code accompanies the book:
// Alexandrescu, An
www.eeworm.com/read/422550/2036646
java singleton.java
/*
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
*
* The contents of this file are subject to the terms of ei
www.eeworm.com/read/406718/2273795
java singleton.java
package org.jutil.java.collections;
import java.util.Set;
import java.util.AbstractList;
import java.util.Iterator;
import java.util.Collection;
import java.util.NoSuchElementException;
import java.
www.eeworm.com/read/389864/2535237
h singleton.h
#ifndef CODELITE_SINGLETON_H
#define CODELITE_SINGLETON_H
/**
* A template class that implements the Singleton pattern.
*
* \date 08-23-2006
* \author eran
*/
template
class Singlet