代码搜索:Generators
找到约 1,542 项符合「Generators」的源代码
代码结果 1,542
www.eeworm.com/read/193974/5138551
py test_generators.py
from __future__ import generators
tutorial_tests = """
Let's try a simple generator:
>>> def f():
... yield 1
... yield 2
>>> for i in f():
... print i
1
2
www.eeworm.com/read/168845/5429897
py generators_test.py
#!/usr/bin/python
from BoostBuild import Tester, List
import os
t = Tester()
t.set_tree("generators-test")
t.run_build_system()
t.expect_addition(
"bin/$toolset/debug/"
* (
www.eeworm.com/read/168845/5430040
py generators_prototype.py
# Copyright David Abrahams 2003. Permission to copy, use,
# modify, sell and distribute this software is granted provided this
# copyright notice appears in all copies. This software is provided
#
www.eeworm.com/read/168845/5433151
cpp date_generators.cpp
/* Copyright (c) 2002,2003 CrystalClear Software, Inc.
* Use, modification and distribution is subject to the
* Boost Software License, Version 1.0. (See accompanying
* file LICENSE-1.0 or http
www.eeworm.com/read/168845/5435774
cpp multiple_generators.cpp
// (C) Copyright Gennadiy Rozental 2001-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
www.eeworm.com/read/304962/3782835
h polynomial_generators.h
// Copyright (c) 2005 Stanford University (USA).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org); you can redistribute it and/or
// modify it under the terms of the GNU Lesser
www.eeworm.com/read/375190/2726384
py generators_test.py
#!/usr/bin/python
# Copyright 2003 Dave Abrahams
# Copyright 2002, 2003, 2005 Vladimir Prus
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or ht
www.eeworm.com/read/375190/2734428
cpp date_generators.cpp
/* Copyright (c) 2002,2003 CrystalClear Software, Inc.
* Use, modification and distribution is subject to the
* Boost Software License, Version 1.0. (See accompanying
* file LICENSE_1_0.txt or htt
www.eeworm.com/read/375190/2738443
cpp multiple_generators.cpp
// (C) Copyright Gennadiy Rozental 2001-2008.
// 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_
www.eeworm.com/read/260165/4335355
hpp iterator_generators.hpp
/* /////////////////////////////////////////////////////////////////////////
* File: stlsoft/util/std/iterator_generators.hpp (derived in part from stlsoft_iterator.h)
*
* Purpose: It