Home
last modified time | relevance | path

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

12345678910>>...21

/third_party/typescript/tests/baselines/reference/
DobjectLiteralExcessProperties.errors.txt1 …essProperties.ts(9,18): error TS2322: Type '{ forword: string; }' is not assignable to type 'Book'.
2 …Object literal may only specify known properties, but 'forword' does not exist in type 'Book'. Did…
3 …es.ts(11,27): error TS2322: Type '{ foreward: string; }' is not assignable to type 'string | Book'.
4 …Object literal may only specify known properties, but 'foreward' does not exist in type 'Book'. Di…
5 …sProperties.ts(13,53): error TS2322: Type '{ forwards: string; }' is not assignable to type 'Book'.
6 Object literal may only specify known properties, and 'forwards' does not exist in type 'Book'.
7 …rror TS2322: Type '{ foreword: string; colour: string; }' is not assignable to type 'Book & Cover'.
8 …Object literal may only specify known properties, but 'colour' does not exist in type 'Book & Cove…
9 …error TS2322: Type '{ foreward: string; color: string; }' is not assignable to type 'Book & Cover'.
10 …Object literal may only specify known properties, but 'foreward' does not exist in type 'Book & Co…
[all …]
DobjectLiteralExcessProperties.symbols2 interface Book {
3 >Book : Symbol(Book, Decl(objectLiteralExcessProperties.ts, 0, 0))
6 >foreword : Symbol(Book.foreword, Decl(objectLiteralExcessProperties.ts, 0, 16))
16 var b1: Book = { forword: "oops" };
18 >Book : Symbol(Book, Decl(objectLiteralExcessProperties.ts, 0, 0))
21 var b2: Book | string = { foreward: "nope" };
23 >Book : Symbol(Book, Decl(objectLiteralExcessProperties.ts, 0, 0))
26 var b3: Book | (Book[]) = [{ foreword: "hello" }, { forwards: "back" }];
28 >Book : Symbol(Book, Decl(objectLiteralExcessProperties.ts, 0, 0))
29 >Book : Symbol(Book, Decl(objectLiteralExcessProperties.ts, 0, 0))
[all …]
DobjectLiteralExcessProperties.types2 interface Book {
12 var b1: Book = { forword: "oops" };
13 >b1 : Book
18 var b2: Book | string = { foreward: "nope" };
19 >b2 : string | Book
24 var b3: Book | (Book[]) = [{ foreword: "hello" }, { forwards: "back" }];
25 >b3 : Book | Book[]
34 var b4: Book & Cover = { foreword: "hi", colour: "blue" };
35 >b4 : Book & Cover
42 var b5: Book & Cover = { foreward: "hi", color: "blue" };
[all …]
DobjectLiteralExcessProperties.js2 interface Book {
10 var b1: Book = { forword: "oops" };
12 var b2: Book | string = { foreward: "nope" };
14 var b3: Book | (Book[]) = [{ foreword: "hello" }, { forwards: "back" }];
16 var b4: Book & Cover = { foreword: "hi", colour: "blue" };
18 var b5: Book & Cover = { foreward: "hi", color: "blue" };
20 var b6: Book & Cover = { foreword: "hi", color: "blue", price: 10.99 };
22 var b7: Book & number = { foreword: "hi", price: 10.99 };
26 var b9: Book | Book[] = { forewarned: "still no" };
/third_party/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectsource_test.cc67 using proto_util_converter::testing::Book;
102 helper_.ResetTypeInfo(Book::descriptor(), Proto3Message::descriptor()); in ProtostreamObjectSourceTest()
299 Book empty; in TEST_P()
301 DoTest(empty, Book::descriptor()); in TEST_P()
369 Book book; in TEST_P() local
370 book.set_title("My Book"); in TEST_P()
371 book.set_allocated_author(author); in TEST_P()
374 ->RenderString("title", "My Book") in TEST_P()
379 DoTest(book, Book::descriptor()); in TEST_P()
440 Book* book = new Book(); in TEST_P() local
[all …]
Dprotostream_objectwriter_test.cc72 using proto_util_converter::testing::Book;
183 : BaseProtoStreamObjectWriterTest(Book::descriptor()) {} in ProtoStreamObjectWriterTest()
185 void ResetProtoWriter() { ResetTypeInfo(Book::descriptor()); } in ResetProtoWriter()
196 Book empty; in TEST_P()
204 Book book; in TEST_P() local
205 book.set_title("My Title"); in TEST_P()
206 book.set_length(222); in TEST_P()
207 book.set_content(content); in TEST_P()
214 CheckOutput(book); in TEST_P()
218 Book book; in TEST_P() local
[all …]
/third_party/typescript/tests/cases/compiler/
DobjectLiteralExcessProperties.ts1 interface Book { interface
9 var b1: Book = { forword: "oops" };
11 var b2: Book | string = { foreward: "nope" };
13 var b3: Book | (Book[]) = [{ foreword: "hello" }, { forwards: "back" }];
15 var b4: Book & Cover = { foreword: "hi", colour: "blue" };
17 var b5: Book & Cover = { foreward: "hi", color: "blue" };
19 var b6: Book & Cover = { foreword: "hi", color: "blue", price: 10.99 };
21 var b7: Book & number = { foreword: "hi", price: 10.99 };
25 var b9: Book | Book[] = { forewarned: "still no" };
/third_party/rust/crates/bindgen/.github/workflows/
Ddeploy-book.yml1 name: Deploy book
9 deploy-book:
23 - name: Test book
26 ./mdbook build book
27 ./mdbook test book
29 - name: Deploy book
34 FOLDER: book/book
Dbindgen.yml188 test-book:
200 # NOTE(emilio): Change deploy-book as well if you change this.
201 - name: Test book
204 ./mdbook build book
205 ./mdbook test book
/third_party/node/test/fixtures/snapshot/
Dv8-startup-snapshot-api.js15 for (const book of books) {
16 this.storage.set(book, fs.readFileSync(path.join(directory, book)));
21 for (const [ book, content ] of shelf.storage) {
22 shelf.storage.set(book, zlib.gzipSync(content));
27 for (const [ book, content ] of shelf.storage) {
28 shelf.storage.set(book, zlib.gunzipSync(content));
51 const book = process.argv[1]; constant
52 const name = `${book}.${lang}.txt`;
/third_party/protobuf/examples/
Dadd_person.go91 // Main reads the entire address book from a file, adds one person based on
99 // Read the existing address book.
110 book := &pb.AddressBook{}
112 if err := proto.Unmarshal(in, book); err != nil {
113 log.Fatalln("Failed to parse address book:", err)
121 book.People = append(book.People, addr)
124 // Write the new address book back to disk.
125 out, err := proto.Marshal(book)
127 log.Fatalln("Failed to encode address book:", err)
130 log.Fatalln("Failed to write address book:", err)
Dlist_people.go34 func listPeople(w io.Writer, book *pb.AddressBook) {
35 for _, p := range book.People {
40 // Main reads the entire address book from a file and prints all the
49 // Read the existing address book.
54 book := &pb.AddressBook{}
55 if err := proto.Unmarshal(in, book); err != nil {
56 log.Fatalln("Failed to parse address book:", err)
60 listPeople(os.Stdout, book)
Dadd_person.cc60 // Main function: Reads the entire address book from a file,
76 // Read the existing address book. in main()
81 cerr << "Failed to parse address book." << endl; in main()
90 // Write the new address book back to disk. in main()
93 cerr << "Failed to write address book." << endl; in main()
DREADME.md4 address book. Two programs are provided for each supported language. The
5 add_person example adds a new person to an address book, prompting the user to
7 the address book. The examples use the exact same format in all three languages,
8 so you can, for example, use add_person_java to create an address book and then
51 simply take an address book file as their parameter. The add_person_cpp
90 scripts) and can be used to create/display an address book data file.
Dadd_person.py42 # Main procedure: Reads the entire address book from a file,
51 # Read the existing address book.
61 # Write the new address book back to disk.
Dlist_people.cc50 // Main function: Reads the entire address book from a file and prints all
65 // Read the existing address book. in main()
68 cerr << "Failed to parse address book." << endl; in main()
DAddPerson.java59 // Main function: Reads the entire address book from a file,
70 // Read the existing address book. in main()
87 // Write the new address book back to disk. in main()
/third_party/libuv/docs/src/guide/
Dintroduction.rst4 This 'book' is a small set of tutorials about using libuv_ as
13 This book is still a work in progress, so sections may be incomplete, but
16 Who this book is for
19 If you are reading this book, you are either:
28 this you will require some other resources as the book does not cover parts
31 This book assumes that you are comfortable with the C programming language.
50 This book and the code is based on libuv version `v1.42.0`_.
55 All the example code and the source of the book is included as part of
Dabout.rst4 `Nikhil Marathe <https://nikhilism.com>`_ started writing this book one
8 documentation was present, there were no comprehensive tutorials. This book is
9 the output of that need and tries to be accurate. That said, the book may have
16 This book was made using `Sphinx <https://www.sphinx-doc.org>`_ and `vim
/third_party/protobuf/src/google/protobuf/util/internal/testdata/
Dbooks.proto45 // A book
46 message Book { message
79 // are not added when adding Book to type info.
88 // A publisher of a book, tests required fields.
93 // An author of a book
180 extend Book {
186 extend Book {
190 optional Book book = 1; field
196 repeated uint32 book = 1 [packed = true]; // Packed to optional message. field
203 optional Book m_book = 3;
/third_party/ffmpeg/libavcodec/
Dvorbisenc.c277 int i, book, ret; in create_vorbis_context() local
288 // codebook 0..14 - floor1 book, values 0..255 in create_vorbis_context()
293 for (book = 0; book < venc->ncodebooks; book++) { in create_vorbis_context()
294 vorbis_enc_codebook *cb = &venc->codebooks[book]; in create_vorbis_context()
296 cb->ndimensions = cvectors[book].dim; in create_vorbis_context()
297 cb->nentries = cvectors[book].real_len; in create_vorbis_context()
298 cb->min = cvectors[book].min; in create_vorbis_context()
299 cb->delta = cvectors[book].delta; in create_vorbis_context()
300 cb->lookup = cvectors[book].lookup; in create_vorbis_context()
307 memcpy(cb->lens, clens, cvectors[book].len); in create_vorbis_context()
[all …]
/third_party/rust/crates/cxx/.github/workflows/
Dsite.yml8 - book/**
27 curl -Lf "${MDBOOK_URL}" | tar -xzC book
28 book/mdbook --version
31 run: book/build.sh
34 working-directory: book/build
/third_party/pulseaudio/sonic/
Dsonic.142 .B sonic -s 3.2 book.wav book_fast.wav
44 The above command would increase the speed of an audio book called book.wav by a
/third_party/node/test/parallel/
Dtest-snapshot-api.js23 for (const book of [
28 const content = `This is ${book}`;
29 fs.writeFileSync(path.join(tmpdir.path, book), content, 'utf8');
/third_party/protobuf/csharp/src/AddressBook/
DSampleUsage.cs59 AddressBook book = new AddressBook in Main()
63 bytes = book.ToByteArray(); in Main()
64 // And read the address book back again in Main()

12345678910>>...21