| /external/googleapis/google/example/library/v1/ |
| D | library.proto | 33 // This API represents a simple digital library. It lets you manage Shelf 37 // - The API has a collection of [Shelf][google.example.library.v1.Shelf] 40 // - Each Shelf has a collection of [Book][google.example.library.v1.Book] 45 // Creates a shelf, and returns the new Shelf. 46 rpc CreateShelf(CreateShelfRequest) returns (Shelf) { 49 body: "shelf" 51 option (google.api.method_signature) = "shelf"; 54 // Gets a shelf. Returns NOT_FOUND if the shelf does not exist. 55 rpc GetShelf(GetShelfRequest) returns (Shelf) { 70 // Deletes a shelf. Returns NOT_FOUND if the shelf does not exist. [all …]
|
| /external/python/cpython3/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 …]
|
| /external/pigweed/pw_allocator/public/pw_allocator/ |
| D | tlsf_allocator.h | 46 size_t shelf; member 57 /// Each shelf holds an array of Buckets, and an instance of this class holds an 59 /// organized on a set of "shelves", with each shelf having 16 buckets arranged 61 /// on a shelf is a power of 2, and the shelves are arranged from the `kMinSize` 63 /// bucket on the topmost shelf is unbounded to handle any blocks of arbitrary 67 /// inner sizes of buckets on each shelf could be represented as: 80 /// lowest shelf. 92 using Shelf = std::array<BucketType, kNumBucketsPerShelf>; variable 127 /// Returns the shelf and bucket indices for the bucket with the smallest 137 /// Updates the shelf and bucket bitmaps to reflect whether the bucket [all …]
|
| /external/sdk-platform-java/test/integration/goldens/library/src/com/google/example/library/v1/ |
| D | BookName.java | 33 PathTemplate.createWithoutUrlEncoding("shelves/{shelf}/books/{book}"); 35 private final String shelf; field in BookName 40 shelf = null; in BookName() 45 shelf = Preconditions.checkNotNull(builder.getShelf()); in BookName() 50 return shelf; in getShelf() 65 public static BookName of(String shelf, String book) { in of() argument 66 return newBuilder().setShelf(shelf).setBook(book).build(); in of() 69 public static String format(String shelf, String book) { in format() argument 70 return newBuilder().setShelf(shelf).setBook(book).build().toString(); in format() 80 return of(matchMap.get("shelf"), matchMap.get("book")); in parse() [all …]
|
| /external/sdk-platform-java/gapic-generator-java/src/test/java/com/google/api/generator/engine/goldens/ |
| D | JavaCodeGeneratorTest.golden | 46 protected List<Shelf> shelfList; 47 public static HashMap<String, Shelf> shelfMap; 61 shelfList.add(new Shelf(name, seriesNum)); 63 return "Shelf is already existing in the map."; 65 shelfMap.put(name, new Shelf(name, seriesNum)); 66 return "Shelf added."; 69 public void updateShelfMap(Shelf newShelf) throws Exception { 73 throw new Exception("Updating shelf is not existing in the map"); 81 for (Shelf s : shelfList) { 92 * Add books to Shelf and check if there is a novel, return string message as whether novel books [all …]
|
| /external/sdk-platform-java/test/integration/goldens/library/src/com/google/cloud/example/library/v1/ |
| D | LibraryServiceClient.java | 44 import com.google.example.library.v1.Shelf; 56 * Service Description: This API represents a simple digital library. It lets you manage Shelf 59 * <p>- The API has a collection of [Shelf][google.example.library.v1.Shelf] resources, named 62 * <p>- Each Shelf has a collection of [Book][google.example.library.v1.Book] resources, named 75 * Shelf shelf = Shelf.newBuilder().build(); 76 * Shelf response = libraryServiceClient.createShelf(shelf); 202 * Creates a shelf, and returns the new Shelf. 213 * Shelf shelf = Shelf.newBuilder().build(); 214 * Shelf response = libraryServiceClient.createShelf(shelf); 218 * @param shelf The shelf to create. [all …]
|
| D | LibraryServiceClientHttpJsonTest.java | 38 import com.google.example.library.v1.Shelf; 90 Shelf expectedResponse = in createShelfTest() 91 Shelf.newBuilder() in createShelfTest() 97 Shelf shelf = Shelf.newBuilder().build(); in createShelfTest() local 99 Shelf actualResponse = client.createShelf(shelf); in createShelfTest() 125 Shelf shelf = Shelf.newBuilder().build(); in createShelfExceptionTest() local 126 client.createShelf(shelf); in createShelfExceptionTest() 135 Shelf expectedResponse = in getShelfTest() 136 Shelf.newBuilder() in getShelfTest() 144 Shelf actualResponse = client.getShelf(name); in getShelfTest() [all …]
|
| D | LibraryServiceClientTest.java | 44 import com.google.example.library.v1.Shelf; 103 Shelf expectedResponse = in createShelfTest() 104 Shelf.newBuilder() in createShelfTest() 110 Shelf shelf = Shelf.newBuilder().build(); in createShelfTest() local 112 Shelf actualResponse = client.createShelf(shelf); in createShelfTest() 119 Assert.assertEquals(shelf, actualRequest.getShelf()); in createShelfTest() 132 Shelf shelf = Shelf.newBuilder().build(); in createShelfExceptionTest() local 133 client.createShelf(shelf); in createShelfExceptionTest() 142 Shelf expectedResponse = in getShelfTest() 143 Shelf.newBuilder() in getShelfTest() [all …]
|
| D | package-info.java | 22 * <p>Service Description: This API represents a simple digital library. It lets you manage Shelf 25 * <p>- The API has a collection of [Shelf][google.example.library.v1.Shelf] resources, named 28 * <p>- Each Shelf has a collection of [Book][google.example.library.v1.Book] resources, named 40 * Shelf shelf = Shelf.newBuilder().build(); 41 * Shelf response = libraryServiceClient.createShelf(shelf);
|
| D | MockLibraryServiceImpl.java | 34 import com.google.example.library.v1.Shelf; 78 public void createShelf(CreateShelfRequest request, StreamObserver<Shelf> responseObserver) { in createShelf() 80 if (response instanceof Shelf) { in createShelf() 82 responseObserver.onNext(((Shelf) response)); in createShelf() 92 Shelf.class.getName(), in createShelf() 98 public void getShelf(GetShelfRequest request, StreamObserver<Shelf> responseObserver) { in getShelf() 100 if (response instanceof Shelf) { in getShelf() 102 responseObserver.onNext(((Shelf) response)); in getShelf() 112 Shelf.class.getName(), in getShelf() 159 public void mergeShelves(MergeShelvesRequest request, StreamObserver<Shelf> responseObserver) { in mergeShelves() [all …]
|
| /external/python/cpython3/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 53 Do not rely on the shelf being closed automatically; always call 54 :meth:`~Shelf.close` explicitly when you don't need it any more, or 65 to load a shelf from an untrusted source. Like with pickle, loading a shelf 68 Shelf objects support most of methods and operations supported by dictionaries [all …]
|
| /external/python/google-api-python-client/docs/dyn/ |
| D | libraryagent_v1.shelves.html | 87 <p class="firstline">Gets a shelf. Returns NOT_FOUND if the shelf does not exist.</p> 102 <pre>Gets a shelf. Returns NOT_FOUND if the shelf does not exist. 105 name: string, Required. The name of the shelf to retrieve. (required) 114 { # A Shelf contains a collection of books with a theme. 115 …y. The resource name of the shelf. Shelf names have the form `shelves/{shelf_id}`. The name is ign… 116 "theme": "A String", # The theme of the shelf 138 { # A Shelf contains a collection of books with a theme. 139 …y. The resource name of the shelf. Shelf names have the form `shelves/{shelf_id}`. The name is ign… 140 "theme": "A String", # The theme of the shelf
|
| D | books_v1.mylibrary.bookshelves.html | 83 …<code><a href="#addVolume">addVolume(shelf, volumeId, reason=None, source=None, x__xgafv=None)</a>… 86 <code><a href="#clearVolumes">clearVolumes(shelf, source=None, x__xgafv=None)</a></code></p> 92 <code><a href="#get">get(shelf, source=None, x__xgafv=None)</a></code></p> 98 …<code><a href="#moveVolume">moveVolume(shelf, volumeId, volumePosition, source=None, x__xgafv=None… 101 …<code><a href="#removeVolume">removeVolume(shelf, volumeId, reason=None, source=None, x__xgafv=Non… 105 …<code class="details" id="addVolume">addVolume(shelf, volumeId, reason=None, source=None, x__xgafv… 109 shelf: string, ID of bookshelf to which to add a volume. (required) 131 <code class="details" id="clearVolumes">clearVolumes(shelf, source=None, x__xgafv=None)</code> 135 shelf: string, ID of bookshelf from which to remove a volume. (required) 155 <code class="details" id="get">get(shelf, source=None, x__xgafv=None)</code> [all …]
|
| /external/python/cpython3/Lib/test/ |
| D | test_shelve.py | 51 s = shelve.Shelf(d1, protocol=2, writeback=False) 62 self.fail('Closed shelf should not find a key') 95 with shelve.Shelf(d1, protocol=0) as s: 99 with shelve.Shelf(d2, protocol=1) as s: 109 with shelve.Shelf(d1, protocol=2, writeback=False) as s: 116 with shelve.Shelf(d2, protocol=2, writeback=True) as s: 129 shelve.Shelf(d)[key] = [1] 132 shelve.Shelf(d, keyencoding='latin-1')[key] = [1] 135 s = shelve.Shelf(d, keyencoding='ascii') 143 with shelve.Shelf(d, writeback=True) as s: [all …]
|
| /external/sdk-platform-java/test/integration/goldens/library/src/com/google/cloud/example/library/v1/stub/ |
| D | GrpcLibraryServiceStub.java | 42 import com.google.example.library.v1.Shelf; 61 private static final MethodDescriptor<CreateShelfRequest, Shelf> createShelfMethodDescriptor = 62 MethodDescriptor.<CreateShelfRequest, Shelf>newBuilder() 66 .setResponseMarshaller(ProtoUtils.marshaller(Shelf.getDefaultInstance())) 69 private static final MethodDescriptor<GetShelfRequest, Shelf> getShelfMethodDescriptor = 70 MethodDescriptor.<GetShelfRequest, Shelf>newBuilder() 74 .setResponseMarshaller(ProtoUtils.marshaller(Shelf.getDefaultInstance())) 95 private static final MethodDescriptor<MergeShelvesRequest, Shelf> mergeShelvesMethodDescriptor = 96 MethodDescriptor.<MergeShelvesRequest, Shelf>newBuilder() 100 .setResponseMarshaller(ProtoUtils.marshaller(Shelf.getDefaultInstance())) [all …]
|
| D | HttpJsonLibraryServiceStub.java | 47 import com.google.example.library.v1.Shelf; 70 private static final ApiMethodDescriptor<CreateShelfRequest, Shelf> createShelfMethodDescriptor = 71 ApiMethodDescriptor.<CreateShelfRequest, Shelf>newBuilder() 95 ProtoRestSerializer.create().toBody("shelf", request.getShelf(), true)) 98 ProtoMessageResponseParser.<Shelf>newBuilder() 99 .setDefaultInstance(Shelf.getDefaultInstance()) 104 private static final ApiMethodDescriptor<GetShelfRequest, Shelf> getShelfMethodDescriptor = 105 ApiMethodDescriptor.<GetShelfRequest, Shelf>newBuilder() 131 ProtoMessageResponseParser.<Shelf>newBuilder() 132 .setDefaultInstance(Shelf.getDefaultInstance()) [all …]
|
| D | LibraryServiceStubSettings.java | 64 import com.google.example.library.v1.Shelf; 116 private final UnaryCallSettings<CreateShelfRequest, Shelf> createShelfSettings; 117 private final UnaryCallSettings<GetShelfRequest, Shelf> getShelfSettings; 121 private final UnaryCallSettings<MergeShelvesRequest, Shelf> mergeShelvesSettings; 130 private static final PagedListDescriptor<ListShelvesRequest, ListShelvesResponse, Shelf> 132 new PagedListDescriptor<ListShelvesRequest, ListShelvesResponse, Shelf>() { 159 public Iterable<Shelf> extractResources(ListShelvesResponse payload) { 161 ? ImmutableList.<Shelf>of() 213 PageContext<ListShelvesRequest, ListShelvesResponse, Shelf> pageContext = 237 public UnaryCallSettings<CreateShelfRequest, Shelf> createShelfSettings() { in createShelfSettings() [all …]
|
| /external/sdk-platform-java/gapic-generator-java/src/test/java/com/google/api/generator/engine/ast/ |
| D | JavaDocCommentTest.java | 51 "ApiFuture<Shelf> future =" in createJavaDocComment_specialCharacter() 62 "ApiFuture<Shelf> future =", in createJavaDocComment_specialCharacter() 149 String paramDescription1 = "The name of the shelf where books are published to."; in createJavaDocComment_multipleParams() 151 String paramDescription2 = "The shelfId of the shelf where books are published to."; in createJavaDocComment_multipleParams() 160 + "@param shelfName The name of the shelf where books are published to.\n" in createJavaDocComment_multipleParams() 161 + "@param shelfId The shelfId of the shelf where books are published to."; in createJavaDocComment_multipleParams() 171 String paramDescription1 = "The name of the shelf where books are published to."; in createJavaDocComment_multipleParamsAndReturn() 173 String paramDescription2 = "The shelfId of the shelf where books are published to."; in createJavaDocComment_multipleParamsAndReturn() 184 + "@param shelfName The name of the shelf where books are published to.\n" in createJavaDocComment_multipleParamsAndReturn() 185 + "@param shelfId The shelfId of the shelf where books are published to.\n" in createJavaDocComment_multipleParamsAndReturn() [all …]
|
| /external/python/cpython3/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 …]
|
| /external/sdk-platform-java/test/integration/goldens/library/samples/snippets/generated/main/java/com/google/cloud/example/library/v1/libraryservice/createshelf/ |
| D | SyncCreateShelfShelf.java | 21 import com.google.example.library.v1.Shelf; 36 Shelf shelf = Shelf.newBuilder().build(); in syncCreateShelfShelf() local 37 Shelf response = libraryServiceClient.createShelf(shelf); in syncCreateShelfShelf()
|
| D | AsyncCreateShelf.java | 23 import com.google.example.library.v1.Shelf; 39 CreateShelfRequest.newBuilder().setShelf(Shelf.newBuilder().build()).build(); in asyncCreateShelf() 40 ApiFuture<Shelf> future = libraryServiceClient.createShelfCallable().futureCall(request); in asyncCreateShelf() 42 Shelf response = future.get(); in asyncCreateShelf()
|
| /external/autotest/test_suites/ |
| D | control.bvt-tast-cq-shelf | 6 NAME = "bvt-tast-cq-shelf" 7 PURPOSE = 'Tests the critical Tast tests in the "shelf" category.' 16 Queue by running all Tast integration tests in the "shelf" category that must 19 The only Autotest test executed by this suite is tast.category-shelf, which 22 test.category-shelf test (and this suite) fail.
|
| /external/autotest/server/site_tests/tast/ |
| D | control.category-shelf | 8 NAME = 'tast.category-shelf' 12 ATTRIBUTES = 'suite:bvt-tast-cq-shelf' 20 Run the critical Tast tests in the "shelf" category. 26 This test runs Tast tests in the "shelf" category that are required to pass 42 '"name:shelf.*"'
|
| /external/python/google-api-python-client/googleapiclient/discovery_cache/documents/ |
| D | libraryagent.v1.json | 111 "description": "Gets a shelf. Returns NOT_FOUND if the shelf does not exist.", 120 "description": "Required. The name of the shelf to retrieve.", 217 …shelf. The order is unspecified but deterministic. Newly created books will not necessarily be add… 237 "description": "Required. The name of the shelf whose books we'd like to list.", 345 "description": "A Shelf contains a collection of books with a theme.", 349 …y. The resource name of the shelf. Shelf names have the form `shelves/{shelf_id}`. The name is ign… 353 "description": "The theme of the shelf",
|
| /external/coreboot/Documentation/mainboard/ocp/ |
| D | tiogapass.md | 13 An off-the-shelf version is available, as well as rack ready version. With the 14 off-the-shelf version, the server can be plugged into wall power outlet. 16 With the off-the-shelf version of Tioga Pass, a complete software solution is 17 available. [Off-the-shelf Host Firmware] takes the approach of UEFI/Linuxboot. 29 - ME binary: The binary can be extracted from [Off-the-shelf Host Firmware]. 34 [Off-the-shelf Host Firmware], or it can be built following [All about u-root]. 97 [Off-the-shelf Host Firmware]: https://github.com/linuxboot/book/blob/master/case_studies/TiogaPass…
|