Home
last modified time | relevance | path

Searched +full:object +full:- +full:schema (Results 1 – 25 of 395) sorted by relevance

12345678910>>...16

/third_party/vk-gl-cts/external/vulkan-docs/src/json/
Dvkpcc.json2 "$schema": "http://json-schema.org/draft-04/schema#",
3 "id": "https://schema.khronos.org/vulkan/vkpcc.json#",
4 "title": "JSON schema for Vulkan pipeline state",
5 "description": "Schema for representing Vulkan pipeline state for use with the offline Pipeline Cac…
6 "type": "object",
16 "type": "object",
19 …"Renderpass": {"$ref": "https://schema.khronos.org/vulkan/vk.json#/definitions/VkRenderPassCreateI…
20 …"Renderpass2": {"$ref": "https://schema.khronos.org/vulkan/vk.json#/definitions/VkRenderPassCreate…
21 …ms": 0, "maxItems": 255, "items": {"type": "object", "patternProperties": {"^\\w+$": {"$ref": "htt…
22 …ms": 0, "maxItems": 255, "items": {"type": "object", "patternProperties": {"^\\w+$": {"$ref": "htt…
[all …]
/third_party/flatbuffers/docs/source/
DCompiler.md1 Using the schema compiler {#flatbuffers_guide_using_schema_compiler}
6 flatc [ GENERATOR OPTIONS ] [ -o PATH ] [ -I PATH ] FILES...
7 [ -- FILES...]
11 the most recent schema specified.
13 `--` indicates that the following files are binary files in
14 FlatBuffer format conforming to the schema indicated before it.
19 For any schema input files, one or more generators can be specified:
21 - `--cpp`, `-c` : Generate a C++ header for all definitions in this file (as
24 - `--java`, `-j` : Generate Java code.
26 - `--kotlin` , `--kotlin-kmp` : Generate Kotlin code.
[all …]
DCppUsage.md14 This page assumes you have written a FlatBuffers schema and compiled it
15 with the Schema Compiler. If you have not, please see
16 [Using the schema compiler](@ref flatbuffers_guide_using_schema_compiler)
17 and [Writing a schema](@ref flatbuffers_guide_writing_schema).
19 Assuming you wrote a schema, say `mygame.fbs` (though the extension doesn't
21 compiler (e.g. `flatc -c mygame.fbs`), you can now start using this in
46 *Note: See [Tutorial](@ref flatbuffers_guide_tutorial) for a more in-depth
52 schema with the `--cpp` option to `flatc`. Then you can include both FlatBuffers
79 buffer (root object pointers are not the same as `buffer_pointer` \!).
84 std::cout << "hp : " << monster->hp() << std::endl; // '80'
[all …]
/third_party/flatbuffers/scripts/
Dgenerate_code.py9 # http://www.apache.org/licenses/LICENSE-2.0
32 # Generate the code for flatbuffers reflection schema
34 full_options = ["--no-prefix"] + options
39 schema="reflection.fbs",
50 def flatc_annotate(schema, file, include=None, cwd=tests_path): argument
53 cmd += ["-I"] + [include]
54 cmd += ["--annotate", schema, file]
64 BASE_OPTS = ["--reflect-names", "--gen-mutable", "--gen-object-api"]
65 NO_INCL_OPTS = BASE_OPTS + ["--no-includes"]
68 CS_OPTS = ["--csharp", "--cs-gen-json-serializer"]
[all …]
/third_party/flatbuffers/java/src/main/java/com/google/flatbuffers/reflection/
DSchema.java23 public final class Schema extends Table { class
25 …public static Schema getRootAsSchema(ByteBuffer _bb) { return getRootAsSchema(_bb, new Schema()); } in getRootAsSchema()
26 …public static Schema getRootAsSchema(ByteBuffer _bb, Schema obj) { _bb.order(ByteOrder.LITTLE_ENDI… in getRootAsSchema()
29 public Schema __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign()
31 … com.google.flatbuffers.reflection.Object objects(int j) { return objects(new com.google.flatbuffe… in objects()
32 …public com.google.flatbuffers.reflection.Object objects(com.google.flatbuffers.reflection.Object o… in objects()
34 …atbuffers.reflection.Object objectsByKey(String key) { int o = __offset(4); return o != 0 ? com.go… in objectsByKey()
35Object objectsByKey(com.google.flatbuffers.reflection.Object obj, String key) { int o = __offset(4… in objectsByKey()
36 …ogle.flatbuffers.reflection.Object.Vector objectsVector() { return objectsVector(new com.google.fl… in objectsVector()
37 …public com.google.flatbuffers.reflection.Object.Vector objectsVector(com.google.flatbuffers.reflec… in objectsVector()
[all …]
/third_party/flatbuffers/tests/ts/
DTypeScriptTest.py9 # http://www.apache.org/licenses/LICENSE-2.0
46 def flatc(options, schema, prefix=None, include=None, data=None, cwd=tests_path): argument
47 print("Invoking flatc on schema " + str(schema))
50 cmd += ["-o"] + [prefix]
52 cmd += ["-I"] + [include]
53 cmd += [schema] if isinstance(schema, str) else schema
60 cmd = ["esbuild", input, "--outfile=" + output]
61 cmd += ["--format=cjs", "--bundle", "--external:flatbuffers"]
67 check_call(["npm", "install", "--silent"])
70 …options=["--ts", "--reflect-names", "--gen-name-strings", "--gen-mutable", "--gen-object-api", "--
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/mindrecord/
Dshardheader.py7 # http://www.apache.org/licenses/LICENSE-2.0
48 def schema(self): member in ShardHeader
49 """Getter of schema"""
52 def add_schema(self, schema): argument
54 Add object of ShardSchema.
57 schema (ShardSchema): Object of ShardSchema.
60 int, schema id.
63 MRMAddSchemaError: If failed to add schema.
65 schema_id = self._header.add_schema(schema)
66 if schema_id == -1:
[all …]
/third_party/flatbuffers/src/
Dreflection.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
37 voffset_t field_offset, const reflection::Object &obj, in VerifyStruct()
50 const reflection::Object &obj, in VerifyVectorOfStructs()
60 const reflection::Schema &schema,
61 const reflection::Object &obj,
65 const reflection::Schema &schema, uint8_t utype, in VerifyUnion() argument
69 auto fb_enum = schema.enums()->Get(union_field.type()->index()); in VerifyUnion()
70 if (utype >= fb_enum->values()->size()) return false; in VerifyUnion()
71 auto elem_type = fb_enum->values()->Get(utype)->union_type(); in VerifyUnion()
72 switch (elem_type->base_type()) { in VerifyUnion()
[all …]
Dbfbs_gen.h8 * http://www.apache.org/licenses/LICENSE-2.0
32 for (auto it = enums->cbegin(); it != enums->cend(); ++it) { func(*it); } in ForAllEnums()
36 const flatbuffers::Vector<flatbuffers::Offset<reflection::Object>> *objects, in ForAllObjects()
37 std::function<void(const reflection::Object *)> func) { in ForAllObjects()
38 for (auto it = objects->cbegin(); it != objects->cend(); ++it) { func(*it); } in ForAllObjects()
44 for (auto it = enum_def->values()->cbegin(); it != enum_def->values()->cend(); in ForAllEnumValues()
55 for (auto it = documentation->cbegin(); it != documentation->cend(); ++it) { in ForAllDocumentation()
60 // Maps the field index into object->fields() to the field's ID (the ith element
62 static std::vector<uint32_t> FieldIdToIndex(const reflection::Object *object) { in FieldIdToIndex() argument
64 field_index_by_id.resize(object->fields()->size()); in FieldIdToIndex()
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/minddata/mindrecord/meta/
Dshard_schema.cc8 * http://www.apache.org/licenses/LICENSE-2.0
22 std::shared_ptr<Schema> Schema::Build(std::string desc, const json &schema) { in Build() argument
24 if (!Validate(schema)) { in Build()
28 std::vector<std::string> blob_fields = PopulateBlobFields(schema); in Build()
29 Schema object_schema; in Build()
32 object_schema.schema_ = schema; in Build()
33 object_schema.schema_id_ = -1; in Build()
34 return std::make_shared<Schema>(object_schema); in Build()
37 std::string Schema::GetDesc() const { return desc_; } in GetDesc()
39 json Schema::GetSchema() const { in GetSchema()
[all …]
/third_party/selinux/libselinux/man/man5/
Dselabel_db.51 .\" Hey Emacs! This file is -*- nroff -*- source.
6 selabel_db \- userspace SELinux labeling interface and configuration file format for the RDBMS obje…
25 The DB contexts backend maps from a pair of object name and class into security contexts. It is use…
29 …\fBpg_class\fR table in the \fBpostgres\fR database and \fBpg_catalog\fR schema should be qualifie…
47 argument specifies the name of a schema object, such as "postgres.public".
52 argument specifies the name of a table object, such as "postgres.public.my_table"
57 argument specifies the name of a column object, such as "postgres.public.my_table.user_id"
62 argument specifies the name of a table object which contains the tuples to be relabeled, such as "p…
67 argument specifies the name of a procedure object, such as "postgres.public.my_func". Note that we …
72 argument specifies the name of a sequence object, such as "postgres.public.my_seq".
[all …]
/third_party/typescript/tests/baselines/reference/
DprototypePropertyAssignmentMergeWithInterfaceMethod.types1 === tests/cases/conformance/salsa/lovefield-ts.d.ts ===
5 attach(query: query.Builder): Promise<Array<Object>>
6 >attach : (query: query.Builder) => Promise<Array<Object>>
10 begin(scope: Array<schema.Table>): Promise<void>
11 >begin : (scope: Array<schema.Table>) => Promise<void>
12 >scope : schema.Table[]
13 >schema : any
18 exec(queries: Array<query.Builder>): Promise<Array<Array<Object>>>
19 >exec : (queries: Array<query.Builder>) => Promise<Array<Array<Object>>>
39 * @param {!Array<!lf.schema.Table>} scope
[all …]
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_struct-json/
DREADME.md15 ---|---
16 -d <loglevel>|Debug verbosity in decimal, eg, -d15
19 $ ./lws-api-test-lws_struct-json
23 [2020/05/21 16:36:57:1387] N: lws_struct_default_lejp_cb: created 'targets' object size 48
24 [2020/05/21 16:36:57:1429] N: lws_struct_default_lejp_cb: created 'targets' object size 48
29 {"schema":"com-warmcat-sai-builder","hostname":"learn","nspawn_timeout":1800,"targets":[{"name":"ta…
32 [2020/05/21 16:36:57:1650] N: lws_struct_default_lejp_cb: created 'targets' object size 48
33 [2020/05/21 16:36:57:1651] N: lws_struct_default_lejp_cb: created 'targets' object size 48
34 [2020/05/21 16:36:57:1652] N: lws_struct_default_lejp_cb: created 'targets' object size 48
40 {"schema":"com-warmcat-sai-builder","hostname":"learn","nspawn_timeout":0,"targets":[{"name":"targe…
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/
Dalbum_op.h2 * Copyright 2020-2022 Huawei Technologies Co., Ltd
8 * http://www.apache.org/licenses/LICENSE-2.0
54 /// \param[in] num_wkrs - Num of workers reading images in parallel
55 /// \param[in] file_dir - directory of Album
56 /// \param[in] queue_size - connector size
57 /// \param[in] do_decode - decode image files
58 /// \param[in] exts - set of file extensions to read, if empty, read everything under the dir
59 /// \param[in] data_schema - schema of dataset
60 /// \param[in] sampler - sampler tells AlbumOp what to read
74 /// \return bool - if file is bad then return false
[all …]
/third_party/protobuf/docs/
Dcmake_protobuf_generate.md8 [`protobuf-generate.cmake`](../cmake/protobuf-generate.cmake). It can be used to automatically gene…
12 … to generate and compile the source files of a proto schema whenever an object target called `prot…
16 - `proto/helloworld/helloworld.proto`
17 - `CMakeLists.txt`
19 where `helloworld.proto` is a protobuf schema file and `CMakeLists.txt` contains:
24 add_library(proto-objects OBJECT "${CMAKE_CURRENT_LIST_DIR}/proto/helloworld/helloworld.proto")
26 target_link_libraries(proto-objects PUBLIC protobuf::libprotobuf)
30 target_include_directories(proto-objects PUBLIC "$<BUILD_INTERFACE:${PROTO_BINARY_DIR}>")
33 TARGET proto-objects
38 Building the target `proto-objects` will generate the files:
[all …]
/third_party/flatbuffers/include/flatbuffers/
Dreflection.h8 * http://www.apache.org/licenses/LICENSE-2.0
31 // ------------------------- GETTERS -------------------------
67 0, // Array. Only used in structs. 0 was chosen to prevent out-of-bounds in GetTypeSize()
82 const reflection::Schema &schema) { in GetTypeSizeInline() argument
84 schema.objects()->Get(type_index)->is_struct()) { in GetTypeSizeInline()
85 return schema.objects()->Get(type_index)->bytesize(); in GetTypeSizeInline()
110 FLATBUFFERS_ASSERT(sizeof(T) == GetTypeSize(field.type()->base_type())); in GetFieldDefaultI()
116 FLATBUFFERS_ASSERT(sizeof(T) == GetTypeSize(field.type()->base_type())); in GetFieldDefaultF()
123 FLATBUFFERS_ASSERT(sizeof(T) == GetTypeSize(field.type()->base_type())); in GetFieldI()
131 FLATBUFFERS_ASSERT(sizeof(T) == GetTypeSize(field.type()->base_type())); in GetFieldF()
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/lite/minddata/wrapper/
Dalbum_op_android.h8 * http://www.apache.org/licenses/LICENSE-2.0
48 /// \param[in] file_dir - directory of Album
49 /// \param[in] do_decode - decode image files
50 /// \param[in] schema_file - schema file
51 /// \param[in] column_names - column name
52 /// \param[in] exts - set of file extensions to read, if empty, read everything under the dir
57 /// \param[in] file_dir - directory of Album
58 /// \param[in] do_decode - decode image files
59 /// \param[in] schema_file - schema file
60 /// \param[in] column_names - column name
[all …]
/third_party/skia/m133/third_party/externals/icu/source/python/icutools/databuilder/
Dfiltration_schema.json5 "$id": "http://unicode.org/icu-filter-schema",
6 "$schema": "http://json-schema.org/draft-04/schema#",
7 "description": "JSON Schema for an ICU data filter file",
8 "type": "object",
16 "type": "object",
30 "type": "object",
41 "pattern": "^[+-]/[\\S]*$"
50 "type": "object",
62 "type": "object",
88 "type": "object",
/third_party/skia/third_party/externals/icu/source/python/icutools/databuilder/
Dfiltration_schema.json5 "$id": "http://unicode.org/icu-filter-schema",
6 "$schema": "http://json-schema.org/draft-04/schema#",
7 "description": "JSON Schema for an ICU data filter file",
8 "type": "object",
16 "type": "object",
30 "type": "object",
41 "pattern": "^[+-]/[\\S]*$"
50 "type": "object",
62 "type": "object",
88 "type": "object",
/third_party/icu/icu4c/source/python/icutools/databuilder/
Dfiltration_schema.json5 "$id": "http://unicode.org/icu-filter-schema",
6 "$schema": "http://json-schema.org/draft-04/schema#",
7 "description": "JSON Schema for an ICU data filter file",
8 "type": "object",
16 "type": "object",
30 "type": "object",
41 "pattern": "^[+-]/[\\S]*$"
50 "type": "object",
62 "type": "object",
88 "type": "object",
/third_party/flatbuffers/reflection/
Dreflection.fbs1 // This schema defines objects that represent a parsed schema, like
38 index:int = -1; // If base_type == Object, index into "objects" below.
57 object:Object (deprecated);
89 /// If the field uses 64-bit offsets.
93 table Object { // Used for both tables and structs.
101 /// File that this Object is declared in.
107 request:Object (required); // must be a table (not a struct)
108 response:Object (required); // must be a table (not a struct)
122 /// New schema language features that are not supported by old code generators.
140 table Schema {
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/source/
Dtf_record_node.h2 * Copyright 2020-2022 Huawei Technologies Co., Ltd
8 * http://www.apache.org/licenses/LICENSE-2.0
38 /// \note Parameter 'schema' is the path to the schema file
39 TFRecordNode(const std::vector<std::string> &dataset_files, const std::string &schema, in TFRecordNode() argument
45 schema_path_(schema), in TFRecordNode()
58 GlobalContext::config_manager()->set_num_shards_for_auto_num_workers(num_shards_); in TFRecordNode()
62 /// \note Parameter 'schema' is shared pointer to Schema object
63 …RecordNode(const std::vector<std::string> &dataset_files, const std::shared_ptr<SchemaObj> &schema, in TFRecordNode() argument
69 schema_obj_(schema), in TFRecordNode()
87 /// \param out - The output stream to write output to
[all …]
/third_party/lwip/contrib/apps/LwipMibCompiler/MibViewer/Properties/
DResources.resx1 <?xml version="1.0" encoding="utf-8"?>
3 <!--
4 Microsoft ResX Schema
15 ... ado.net/XML headers & schema ...
16 <resheader name="resmimetype">text/microsoft-resx</resheader>
22 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23 <value>[base64 mime encoded serialized .NET Framework object]</value>
25 …type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.…
26 …ue>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
40 ResXResourceReader how to depersist the object. This is currently not
[all …]
/third_party/skia/m133/third_party/externals/vulkanmemoryallocator/tools/GpuMemDumpVis/
DGpuMemDump.schema.json2 "$id": "https://gpuopen.com/vulkan-memory-allocator/schemas/GpuMemDump",
3 "$schema": "https://json-schema.org/draft/2020-12/schema",
4 "type": "object",
7 "type": "object",
16 "type": "object",
18 "type": "object",
26 "type": "object",
35 "type": "object",
37 "type": "object",
54 "type": "object",
[all …]
/third_party/pulseaudio/src/modules/gsettings/
Dorg.freedesktop.pulseaudio.gschema.xml1 <schemalist gettext-domain="pulseaudio">
2 <!-- The module-groups object is just an entry point to find the individual
3 module-group objects. -->
4 …<schema id="org.freedesktop.pulseaudio.module-groups" path="/org/freedesktop/pulseaudio/module-gro…
5 <child name="combine" schema="org.freedesktop.pulseaudio.module-group"/>
6 <child name="remote-access" schema="org.freedesktop.pulseaudio.module-group"/>
7 <child name="zeroconf-discover" schema="org.freedesktop.pulseaudio.module-group"/>
8 <child name="raop-discover" schema="org.freedesktop.pulseaudio.module-group"/>
9 <child name="rtp-recv" schema="org.freedesktop.pulseaudio.module-group"/>
10 <child name="rtp-send" schema="org.freedesktop.pulseaudio.module-group"/>
[all …]

12345678910>>...16