Home
last modified time | relevance | path

Searched full:shelf (Results 1 – 25 of 73) sorted by relevance

123

/third_party/python/Lib/turtledemo/
Dsorting_animate.py7 Sorts a shelf of 10 blocks using insertion
42 class Shelf(list): class
45 "create a shelf. y is y-position of first block"
84 def isort(shelf): argument
85 length = len(shelf)
88 while hole > 0 and shelf[i].size < shelf[hole - 1].size:
90 shelf.insert(hole, shelf.pop(i))
93 def ssort(shelf): argument
94 length = len(shelf)
98 if shelf[i].size < shelf[imin].size:
[all …]
/third_party/python/Doc/library/
Dshelve.rst13 A "shelf" is a persistent, dictionary-like object. The difference with "dbm"
14 databases is that the values (not the keys!) in a shelf can be essentially
32 Because of Python semantics, a shelf cannot know when a mutable
34 written *only* when assigned to the shelf (see :ref:`shelve-example`). If the
36 cached in memory, and written back on :meth:`~Shelf.sync` and
37 :meth:`~Shelf.close`; this can make it handier to mutate mutable entries in
50 Do not rely on the shelf being closed automatically; always call
51 :meth:`~Shelf.close` explicitly when you don't need it any more, or
62 to load a shelf from an untrusted source. Like with pickle, loading a shelf
65 Shelf objects support most of methods and operations supported by dictionaries
[all …]
/third_party/flutter/flutter/packages/flutter_tools/lib/src/test/
Dflutter_web_platform.dart13 import 'package:shelf/shelf.dart' as shelf;
14 import 'package:shelf/shelf_io.dart' as shelf_io;
50 final shelf.Cascade cascade = shelf.Cascade()
81 final shelf.Server _server;
136 Future<shelf.Response> _handleStaticArtifact(shelf.Request request) async {
138 return shelf.Response.ok(
143 return shelf.Response.ok(ahem.openRead());
145 return shelf.Response.ok(
151 return shelf.Response.ok(
156 return shelf.Response.ok(
[all …]
/third_party/python/Lib/test/
Dtest_shelve.py53 s = shelve.Shelf(d1, protocol=2, writeback=False)
64 self.fail('Closed shelf should not find a key')
87 with shelve.Shelf(d1, protocol=0) as s:
91 with shelve.Shelf(d2, protocol=1) as s:
101 with shelve.Shelf(d1, protocol=2, writeback=False) as s:
108 with shelve.Shelf(d2, protocol=2, writeback=True) as s:
121 shelve.Shelf(d)[key] = [1]
124 shelve.Shelf(d, keyencoding='latin-1')[key] = [1]
127 s = shelve.Shelf(d, keyencoding='ascii')
135 with shelve.Shelf(d, writeback=True) as s:
[all …]
/third_party/python/Lib/
Dshelve.py3 A "shelf" is a persistent, dictionary-like object. The difference
4 with dbm databases is that the values (not the keys!) in a shelf can
64 __all__ = ["Shelf", "BsdDbShelf", "DbfilenameShelf", "open"]
70 raise ValueError('invalid operation on closed shelf')
77 class Shelf(collections.abc.MutableMapping): class
78 """Base class for shelf implementations.
175 class BsdDbShelf(Shelf):
176 """Shelf implementation using the "BSD" db interface.
190 Shelf.__init__(self, dict, protocol, writeback, keyencoding)
218 class DbfilenameShelf(Shelf):
[all …]
/third_party/flutter/skia/src/gpu/
DGrRectanizer_pow2.h17 // of two can have, at most, one active row/shelf. Once a row/shelf for
/third_party/skia/src/gpu/
DGrRectanizerPow2.h17 // of two can have, at most, one active row/shelf. Once a row/shelf for
/third_party/mindspore/mindspore/lite/src/cxx_api/train/
Dmodel_impl.cc55 // For off-the-shelf metrics it is guaranteed that we have also an MSLite implementation in PrepareMetrics()
90 // For off-the-shelf callback it is guaranteed that we have also an MSLite implementation in ConvertCallbacks()
/third_party/gstreamer/gstplugins_bad/docs/plugins/
Dgst_plugins_cache.json167452 "desc": "Hi-shelf",
167453 "name": "Hi-shelf",
167462 "desc": "Lo-shelf",
167463 "name": "Lo-shelf",
167503 "desc": "Hi-shelf",
167504 "name": "Hi-shelf",
167513 "desc": "Lo-shelf",
167514 "name": "Lo-shelf",
167554 "desc": "Hi-shelf",
167555 "name": "Hi-shelf",
[all …]
/third_party/flutter/engine/flutter/frontend_server/
Dpubspec.yaml43 shelf: any
/third_party/flutter/flutter/packages/flutter_tools/lib/src/build_runner/
Dweb_fs.dart17 import 'package:shelf/shelf.dart';
18 import 'package:shelf/shelf_io.dart' as shelf_io;
/third_party/flutter/flutter/dev/snippets/
Dpubspec.yaml59shelf: 0.7.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
89shelf: 0.7.3+3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgra…
/third_party/ejdb/src/bindings/ejdb2_dart/
D.packages34 shelf:file:///home/adam/.pub-cache/hosted/pub.dartlang.org/shelf-0.7.9/lib/
/third_party/gstreamer/gstplugins_good/gst/equalizer/
Dgstiirequalizer.c96 {BAND_TYPE_LOW_SHELF, "Low shelf filter (default for first band)", in gst_iir_equalizer_band_type_get_type()
97 "low-shelf"}, in gst_iir_equalizer_band_type_get_type()
98 {BAND_TYPE_HIGH_SHELF, "High shelf filter (default for last band)", in gst_iir_equalizer_band_type_get_type()
99 "high-shelf"}, in gst_iir_equalizer_band_type_get_type()
/third_party/grpc/src/objective-c/examples/tvOS-sample/tvOS-sample.xcodeproj/
Dproject.pbxproj359 ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
378 ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
/third_party/flutter/flutter/dev/bots/
Dpubspec.yaml48shelf: 0.7.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
/third_party/boost/libs/asio/doc/overview/
Dprotocols.qbk10 Boost.Asio provides off-the-shelf support for the internet protocols TCP, UDP and
/third_party/flutter/flutter/dev/integration_tests/flavors/
Dpubspec.yaml47shelf: 0.7.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
/third_party/flutter/flutter/dev/integration_tests/channels/
Dpubspec.yaml47shelf: 0.7.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
/third_party/flutter/flutter/dev/integration_tests/platform_interaction/
Dpubspec.yaml47shelf: 0.7.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
/third_party/flutter/flutter/dev/devicelab/
Dpubspec.yaml64shelf: 0.7.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
/third_party/flutter/flutter/dev/integration_tests/android_views/
Dpubspec.yaml64shelf: 0.7.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
/third_party/flutter/flutter/dev/integration_tests/codegen/
Dpubspec.yaml58shelf: 0.7.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
/third_party/flutter/flutter/examples/catalog/
Dpubspec.yaml55shelf: 0.7.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
/third_party/flutter/flutter/dev/integration_tests/android_semantics_testing/
Dpubspec.yaml43shelf: 0.7.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"

123