Home
last modified time | relevance | path

Searched full:book (Results 1 – 25 of 2828) sorted by relevance

12345678910>>...114

/aosp_15_r20/external/sdk-platform-java/test/integration/goldens/library/src/com/google/cloud/example/library/v1/
H A DLibraryServiceClient.java30 import com.google.example.library.v1.Book;
57 * resources and Book resources in the library. It defines the following resource model:
62 * <p>- Each Shelf has a collection of [Book][google.example.library.v1.Book] resources, named
590 * and deletes `other_shelf_name`. Returns the updated shelf. The book ids of the moved books may
627 * and deletes `other_shelf_name`. Returns the updated shelf. The book ids of the moved books may
664 * and deletes `other_shelf_name`. Returns the updated shelf. The book ids of the moved books may
701 * and deletes `other_shelf_name`. Returns the updated shelf. The book ids of the moved books may
735 * and deletes `other_shelf_name`. Returns the updated shelf. The book ids of the moved books may
769 * and deletes `other_shelf_name`. Returns the updated shelf. The book ids of the moved books may
801 * Creates a book, and returns the new Book.
[all …]
H A DLibraryServiceClientHttpJsonTest.java33 import com.google.example.library.v1.Book;
551 Book expectedResponse = in createBookTest()
552 Book.newBuilder() in createBookTest()
553 .setName(BookName.of("[SHELF]", "[BOOK]").toString()) in createBookTest()
561 Book book = Book.newBuilder().build(); in createBookTest() local
563 Book actualResponse = client.createBook(parent, book); in createBookTest()
590 Book book = Book.newBuilder().build(); in createBookExceptionTest() local
591 client.createBook(parent, book); in createBookExceptionTest()
600 Book expectedResponse = in createBookTest2()
601 Book.newBuilder() in createBookTest2()
[all …]
H A DLibraryServiceClientTest.java30 import com.google.example.library.v1.Book;
509 Book expectedResponse = in createBookTest()
510 Book.newBuilder() in createBookTest()
511 .setName(BookName.of("[SHELF]", "[BOOK]").toString()) in createBookTest()
519 Book book = Book.newBuilder().build(); in createBookTest() local
521 Book actualResponse = client.createBook(parent, book); in createBookTest()
529 Assert.assertEquals(book, actualRequest.getBook()); in createBookTest()
543 Book book = Book.newBuilder().build(); in createBookExceptionTest() local
544 client.createBook(parent, book); in createBookExceptionTest()
553 Book expectedResponse = in createBookTest2()
[all …]
H A DMockLibraryServiceImpl.java20 import com.google.example.library.v1.Book;
179 public void createBook(CreateBookRequest request, StreamObserver<Book> responseObserver) { in createBook()
181 if (response instanceof Book) { in createBook()
183 responseObserver.onNext(((Book) response)); in createBook()
193 Book.class.getName(), in createBook()
199 public void getBook(GetBookRequest request, StreamObserver<Book> responseObserver) { in getBook()
201 if (response instanceof Book) { in getBook()
203 responseObserver.onNext(((Book) response)); in getBook()
213 Book.class.getName(), in getBook()
260 public void updateBook(UpdateBookRequest request, StreamObserver<Book> responseObserver) { in updateBook()
[all …]
/aosp_15_r20/external/googleapis/google/example/library/v1/
H A Dlibrary.proto34 // resources and Book resources in the library. It defines the following
40 // - Each Shelf has a collection of [Book][google.example.library.v1.Book]
81 // The book ids of the moved books may not be the same as the original books.
93 // Creates a book, and returns the new Book.
94 rpc CreateBook(CreateBookRequest) returns (Book) {
97 body: "book"
99 option (google.api.method_signature) = "parent,book";
102 // Gets a book. Returns NOT_FOUND if the book does not exist.
103 rpc GetBook(GetBookRequest) returns (Book) {
120 // Deletes a book. Returns NOT_FOUND if the book does not exist.
[all …]
/aosp_15_r20/external/python/google-api-python-client/docs/dyn/
Dlibraryagent_v1.shelves.books.html79 …lass="firstline">Borrow a book from the library. Returns the book if it is borrowed successfully. …
85 <p class="firstline">Gets a book. Returns NOT_FOUND if the book does not exist.</p>
94 …"firstline">Return a book to the library. Returns the book if it is returned to the library succes…
98 …<pre>Borrow a book from the library. Returns the book if it is borrowed successfully. Returns NOT_…
101 name: string, Required. The name of the book to borrow. (required)
110 { # A single book in the library.
111 &quot;author&quot;: &quot;A String&quot;, # The name of the book author.
112 … resource name of the book. Book names have the form `shelves/{shelf_id}/books/{book_id}`. The nam…
113 &quot;read&quot;: True or False, # Value indicating whether the book has been read.
114 &quot;title&quot;: &quot;A String&quot;, # The title of the book.
[all …]
/aosp_15_r20/external/apache-xml/test/tests/conf/select/
H A Dselect55.xml3 <book author="Carmelo Montanez">book1</book>
4 <book author="Mary Brady">book2</book>
5 <book author="Carmelo Montanez">book3</book>
6 <book author="Mary Brady">book4</book>
7 <book author="Carmelo Montanez">book5</book>
8 <book author="Mary Brady">book6</book>
9 <book author="David Marston">book7</book>
10 <book author="Rick Rivello">book8</book>
11 <book author="Carmelo Montanez">book9</book>
12 <book author="Mary Brady">book10</book>
[all …]
H A Dselect54.xml3 <book author="Carmelo Montanez">book1</book>
4 <book author="Mary Brady">book2</book>
5 <book author="Carmelo Montanez">book3</book>
6 <book author="Mary Brady">book4</book>
7 <book author="Carmelo Montanez">book5</book>
8 <book author="Mary Brady">book6</book>
9 <book author="David Marston">book7</book>
10 <book author="Rick Rivello">book8</book>
11 <book author="Carmelo Montanez">book9</book>
12 <book author="Mary Brady">book10</book>
[all …]
H A Dselect64.xml4 <book author="Mary Brady">book2</book>
5 <book author="Carmelo Montanez">book3</book>
6 <book author="Mary Brady">book4</book>
7 <book author="Carmelo Montanez">book5</book>
8 <book author="Mary Brady">book6</book>
9 <book author="David Marston">book7</book>
10 <book author="Rick Rivello">book8</book>
11 <book author="Carmelo Montanez">book9</book>
12 <book author="Mary Brady">book10</book>
13 <book author="Carmelo Montanez">book11</book>
[all …]
/aosp_15_r20/external/cronet/third_party/protobuf/src/google/protobuf/util/internal/
H A Dprotostream_objectsource_test.cc69 using proto_util_converter::testing::Book;
103 helper_.ResetTypeInfo(Book::descriptor(), Proto3Message::descriptor()); in ProtostreamObjectSourceTest()
300 Book empty; in TEST_P()
302 DoTest(empty, Book::descriptor()); in TEST_P()
370 Book book; in TEST_P() local
371 book.set_title("My Book"); in TEST_P()
372 book.set_allocated_author(author); in TEST_P()
375 ->RenderString("title", "My Book") in TEST_P()
380 DoTest(book, Book::descriptor()); in TEST_P()
441 Book* book = new Book(); in TEST_P() local
[all …]
H A Dprotostream_objectwriter_test.cc72 using proto_util_converter::testing::Book;
177 : BaseProtoStreamObjectWriterTest(Book::descriptor()) {} in ProtoStreamObjectWriterTest()
179 void ResetProtoWriter() { ResetTypeInfo(Book::descriptor()); } in ResetProtoWriter()
190 Book empty; in TEST_P()
198 Book book; in TEST_P() local
199 book.set_title("My Title"); in TEST_P()
200 book.set_length(222); in TEST_P()
201 book.set_content(content); in TEST_P()
208 CheckOutput(book); in TEST_P()
212 Book book; in TEST_P() local
[all …]
/aosp_15_r20/external/protobuf/src/google/protobuf/util/internal/
H A Dprotostream_objectsource_test.cc69 using proto_util_converter::testing::Book;
103 helper_.ResetTypeInfo(Book::descriptor(), Proto3Message::descriptor()); in ProtostreamObjectSourceTest()
300 Book empty; in TEST_P()
302 DoTest(empty, Book::descriptor()); in TEST_P()
370 Book book; in TEST_P() local
371 book.set_title("My Book"); in TEST_P()
372 book.set_allocated_author(author); in TEST_P()
375 ->RenderString("title", "My Book") in TEST_P()
380 DoTest(book, Book::descriptor()); in TEST_P()
441 Book* book = new Book(); in TEST_P() local
[all …]
H A Dprotostream_objectwriter_test.cc72 using proto_util_converter::testing::Book;
177 : BaseProtoStreamObjectWriterTest(Book::descriptor()) {} in ProtoStreamObjectWriterTest()
179 void ResetProtoWriter() { ResetTypeInfo(Book::descriptor()); } in ResetProtoWriter()
190 Book empty; in TEST_P()
198 Book book; in TEST_P() local
199 book.set_title("My Title"); in TEST_P()
200 book.set_length(222); in TEST_P()
201 book.set_content(content); in TEST_P()
208 CheckOutput(book); in TEST_P()
212 Book book; in TEST_P() local
[all …]
/aosp_15_r20/external/pigweed/pw_containers/examples/
H A Dintrusive_multiset.cc23 class Book : public pw::IntrusiveMultiSet<Book>::Item { class
25 using Item = pw::IntrusiveMultiSet<Book>::Item;
28 explicit Book(const char* name) : name_(name) {} in Book() function in examples::Book
30 bool operator<(const Book& rhs) const { in operator <()
38 std::array<Book, 12> books = {
39 Book("The Little Prince"),
40 Book("Harry Potter and the Philosopher's Stone"),
41 Book("Harry Potter and the Philosopher's Stone"),
42 Book("Harry Potter and the Philosopher's Stone"),
43 Book("Harry Potter and the Philosopher's Stone"),
[all …]
H A Dintrusive_set.cc23 class Book : public pw::IntrusiveSet<Book>::Item { class
25 using Item = pw::IntrusiveSet<Book>::Item;
28 explicit Book(const char* name) : name_(name) {} in Book() function in examples::Book
30 bool operator<(const Book& rhs) const { in operator <()
38 std::array<Book, 8> books = {
39 Book("A Tale of Two Cities"),
40 Book("The Little Prince"),
41 Book("The Alchemist"),
42 Book("Harry Potter and the Philosopher's Stone"),
43 Book("And Then There Were None"),
[all …]
H A Dintrusive_map.cc23 struct Book : public pw::IntrusiveMap<uint32_t, Book>::Pair { struct
25 using Pair = pw::IntrusiveMap<uint32_t, Book>::Pair; argument
28 Book(const char* name, uint32_t oclc) : Pair(oclc), name_(name) {} in Book() argument
35 std::array<Book, 8> books = {{
46 pw::IntrusiveMap<uint32_t, Book> library(books.begin(), books.end());
48 void VisitLibrary(pw::IntrusiveMap<uint32_t, Book>& book_bag) { in VisitLibrary()
61 Book& book = *iter; in VisitLibrary() local
63 book_bag.insert(book); in VisitLibrary()
75 examples::Book book = {"One Hundred Years of Solitude", 17522865u}; in TEST() local
76 pw::IntrusiveMap<uint32_t, examples::Book> book_bag; in TEST()
[all …]
/aosp_15_r20/external/sdk-platform-java/test/integration/goldens/library/src/com/google/example/library/v1/
H A DBookName.java33 PathTemplate.createWithoutUrlEncoding("shelves/{shelf}/books/{book}");
36 private final String book; field in BookName
41 book = null; in BookName()
46 book = Preconditions.checkNotNull(builder.getBook()); in BookName()
54 return book; in getBook()
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 …]
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/multi_index/example/
Dip_allocator.cpp44 /* Book record. All its members can be placed in shared memory,
48 struct book struct
55 book(const shared_string::allocator_type& al): in book() function
59 friend std::ostream& operator<<(std::ostream& os,const book& b) in operator <<()
100 /* Define a multi_index_container of book records with indices on
103 * * book can be placed in shared memory.
112 book,
115 BOOST_MULTI_INDEX_MEMBER(book,shared_string,author)
118 BOOST_MULTI_INDEX_MEMBER(book,shared_string,name),
122 BOOST_MULTI_INDEX_MEMBER(book,unsigned,prize)
[all …]
/aosp_15_r20/external/sdk-platform-java/test/integration/goldens/library/src/com/google/cloud/example/library/v1/stub/
H A DHttpJsonLibraryServiceStub.java34 import com.google.example.library.v1.Book;
242 private static final ApiMethodDescriptor<CreateBookRequest, Book> createBookMethodDescriptor =
243 ApiMethodDescriptor.<CreateBookRequest, Book>newBuilder()
268 ProtoRestSerializer.create().toBody("book", request.getBook(), true))
271 ProtoMessageResponseParser.<Book>newBuilder()
272 .setDefaultInstance(Book.getDefaultInstance())
277 private static final ApiMethodDescriptor<GetBookRequest, Book> getBookMethodDescriptor =
278 ApiMethodDescriptor.<GetBookRequest, Book>newBuilder()
304 ProtoMessageResponseParser.<Book>newBuilder()
305 .setDefaultInstance(Book.getDefaultInstance())
[all …]
H A DGrpcLibraryServiceStub.java29 import com.google.example.library.v1.Book;
103 private static final MethodDescriptor<CreateBookRequest, Book> createBookMethodDescriptor =
104 MethodDescriptor.<CreateBookRequest, Book>newBuilder()
108 .setResponseMarshaller(ProtoUtils.marshaller(Book.getDefaultInstance()))
111 private static final MethodDescriptor<GetBookRequest, Book> getBookMethodDescriptor =
112 MethodDescriptor.<GetBookRequest, Book>newBuilder()
116 .setResponseMarshaller(ProtoUtils.marshaller(Book.getDefaultInstance()))
136 private static final MethodDescriptor<UpdateBookRequest, Book> updateBookMethodDescriptor =
137 MethodDescriptor.<UpdateBookRequest, Book>newBuilder()
141 .setResponseMarshaller(ProtoUtils.marshaller(Book.getDefaultInstance()))
[all …]
/aosp_15_r20/external/rust/beto-rust/nearby/presence/np_cpp_ffi/tests/
Dv0_unencrypted_deserialization_tests.cc28 nearby_protocol::CredentialBook book(slab); in TEST_F() local
31 book); in TEST_F()
202 nearby_protocol::CredentialBook book(slab); in TEST_F() local
204 V0AdvPlaintext, book); in TEST_F()
230 nearby_protocol::CredentialBook book(slab); in TEST_F() local
232 V0AdvPlaintext, book); in TEST_F()
239 V0AdvPlaintext, book); in TEST_F()
263 nearby_protocol::CredentialBook &book) { in CreateAdv() argument
265 V0AdvPlaintext, book); in CreateAdv()
273 nearby_protocol::CredentialBook book(slab); in TEST_F() local
[all …]
Dcredential_book_tests.cc26 nearby_protocol::CredentialBook book(slab); in TEST_F() local
29 book); in TEST_F()
33 // Move the credential book into a new object. Using the new object should in TEST_F()
35 const nearby_protocol::CredentialBook next_book(std::move(book)); in TEST_F()
46 V0AdvPlaintext, book), // NOLINT(bugprone-use-after-move) in TEST_F()
50 const nearby_protocol::CredentialBook another_moved_book(std::move(book)); in TEST_F()
85 nearby_protocol::CredentialBook book(slab); in TEST_F() local
88 book); in TEST_F()
92 // create a second empty credential book in TEST_F()
95 other_book = std::move(book); in TEST_F()
[all …]
/aosp_15_r20/external/tremolo/Tremolo/
H A Dcodebook.c403 /* static book is not cleared; we're likely called on the lookup and in vorbis_book_clear()
653 ogg_uint32_t decode_packed_entry_number(codebook *book,
656 static inline ogg_uint32_t decode_packed_entry_number(codebook *book, in decode_packed_entry_number() argument
659 int read=book->dec_maxlength; in decode_packed_entry_number()
671 switch (book->dec_method) in decode_packed_entry_number()
675 /* book->dec_nodeb==1, book->dec_leafw==1 */ in decode_packed_entry_number()
677 unsigned char *t=(unsigned char *)book->dec_table; in decode_packed_entry_number()
688 /* book->dec_nodeb==1, book->dec_leafw!=1 */ in decode_packed_entry_number()
690 unsigned char *t=(unsigned char *)book->dec_table; in decode_packed_entry_number()
706 /* book->dec_nodeb==2, book->dec_leafw==1 */ in decode_packed_entry_number()
[all …]
/aosp_15_r20/external/python/google-api-python-client/googleapiclient/discovery_cache/documents/
Dlibraryagent.v1.json167 …"description": "Borrow a book from the library. Returns the book if it is borrowed successfully. R…
176 "description": "Required. The name of the book to borrow.",
192 "description": "Gets a book. Returns NOT_FOUND if the book does not exist.",
201 "description": "Required. The name of the book to retrieve.",
253 …cription": "Return a book to the library. Returns the book if it is returned to the library succes…
262 "description": "Required. The name of the book to return.",
286 "description": "A single book in the library.",
290 "description": "The name of the book author.",
294 … resource name of the book. Book names have the form `shelves/{shelf_id}/books/{book_id}`. The nam…
298 "description": "Value indicating whether the book has been read.",
[all …]
/aosp_15_r20/external/sdk-platform-java/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/grpc/goldens/
H A DBookshopClient.golden26 * List<Book> books = new ArrayList<>();
27 * Book response = bookshopClient.getBook(booksCount, books);
148 * List<Book> books = new ArrayList<>();
149 * Book response = bookshopClient.getBook(booksCount, books);
157 public final Book getBook(int booksCount, List<Book> books) {
175 * List<Book> books = new ArrayList<>();
176 * Book response = bookshopClient.getBook(booksList, books);
184 public final Book getBook(String booksList, List<Book> books) {
205 * .addAllBooks3(new ArrayList<Book>())
207 * Book response = bookshopClient.getBook(request);
[all …]

12345678910>>...114