| /third_party/python/Lib/turtledemo/ |
| D | sorting_animate.py | 7 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/ |
| D | shelve.rst | 13 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/ |
| D | flutter_web_platform.dart | 13 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/ |
| D | test_shelve.py | 53 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/ |
| D | shelve.py | 3 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/ |
| D | GrRectanizer_pow2.h | 17 // of two can have, at most, one active row/shelf. Once a row/shelf for
|
| /third_party/skia/src/gpu/ |
| D | GrRectanizerPow2.h | 17 // of two can have, at most, one active row/shelf. Once a row/shelf for
|
| /third_party/mindspore/mindspore/lite/src/cxx_api/train/ |
| D | model_impl.cc | 55 // 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/ |
| D | gst_plugins_cache.json | 167452 "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/ |
| D | pubspec.yaml | 43 shelf: any
|
| /third_party/flutter/flutter/packages/flutter_tools/lib/src/build_runner/ |
| D | web_fs.dart | 17 import 'package:shelf/shelf.dart'; 18 import 'package:shelf/shelf_io.dart' as shelf_io;
|
| /third_party/flutter/flutter/dev/snippets/ |
| D | pubspec.yaml | 59 …shelf: 0.7.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" 89 …shelf: 0.7.3+3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgra…
|
| /third_party/ejdb/src/bindings/ejdb2_dart/ |
| D | .packages | 34 shelf:file:///home/adam/.pub-cache/hosted/pub.dartlang.org/shelf-0.7.9/lib/
|
| /third_party/gstreamer/gstplugins_good/gst/equalizer/ |
| D | gstiirequalizer.c | 96 {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/ |
| D | project.pbxproj | 359 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/ |
| D | pubspec.yaml | 48 …shelf: 0.7.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
| /third_party/boost/libs/asio/doc/overview/ |
| D | protocols.qbk | 10 Boost.Asio provides off-the-shelf support for the internet protocols TCP, UDP and
|
| /third_party/flutter/flutter/dev/integration_tests/flavors/ |
| D | pubspec.yaml | 47 …shelf: 0.7.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
| /third_party/flutter/flutter/dev/integration_tests/channels/ |
| D | pubspec.yaml | 47 …shelf: 0.7.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
| /third_party/flutter/flutter/dev/integration_tests/platform_interaction/ |
| D | pubspec.yaml | 47 …shelf: 0.7.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
| /third_party/flutter/flutter/dev/devicelab/ |
| D | pubspec.yaml | 64 …shelf: 0.7.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
| /third_party/flutter/flutter/dev/integration_tests/android_views/ |
| D | pubspec.yaml | 64 …shelf: 0.7.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
| /third_party/flutter/flutter/dev/integration_tests/codegen/ |
| D | pubspec.yaml | 58 …shelf: 0.7.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|
| /third_party/flutter/flutter/examples/catalog/ |
| D | pubspec.yaml | 55 …shelf: 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/ |
| D | pubspec.yaml | 43 …shelf: 0.7.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
|