Home
last modified time | relevance | path

Searched refs:snippet (Results 1 – 25 of 218) sorted by relevance

123456789

/external/icing/icing/result/
Dsnippet-retriever_test.cc71 std::vector<std::string_view> GetPropertyPaths(const SnippetProto& snippet) { in GetPropertyPaths() argument
73 for (const SnippetProto::EntryProto& entry : snippet.entries()) { in GetPropertyPaths()
181 SnippetProto snippet = snippet_retriever_->RetrieveSnippet( in TEST_F() local
184 EXPECT_THAT(snippet.entries(), SizeIs(1)); in TEST_F()
185 EXPECT_THAT(snippet.entries(0).property_name(), Eq("body")); in TEST_F()
187 GetString(&document, snippet.entries(0).property_name()); in TEST_F()
188 EXPECT_THAT(GetWindows(content, snippet.entries(0)), ElementsAre("")); in TEST_F()
207 SnippetProto snippet = snippet_retriever_->RetrieveSnippet( in TEST_F() local
210 EXPECT_THAT(snippet.entries(), SizeIs(1)); in TEST_F()
211 EXPECT_THAT(snippet.entries(0).property_name(), Eq("body")); in TEST_F()
[all …]
Dresult-retriever_test.cc447 EXPECT_THAT(results.at(0).snippet(), in TEST_F()
449 EXPECT_THAT(results.at(1).snippet(), in TEST_F()
451 EXPECT_THAT(results.at(2).snippet(), in TEST_F()
497 const SnippetProto& result_snippet_one = result.at(0).snippet(); in TEST_F()
516 const SnippetProto& result_snippet_two = result.at(1).snippet(); in TEST_F()
535 const SnippetProto& result_snippet_three = result.at(2).snippet(); in TEST_F()
598 const SnippetProto& result_snippet = result.at(0).snippet(); in TEST_F()
617 EXPECT_THAT(result[1].snippet(), in TEST_F()
621 EXPECT_THAT(result[2].snippet(), in TEST_F()
671 EXPECT_THAT(result[0].snippet().entries(), Not(IsEmpty())); in TEST_F()
[all …]
/external/angle/src/libANGLE/renderer/
Dgen_load_functions_table.py111 snippet = "LoadImageFunctionInfo " + func_name + "(GLenum type)\n"
112 snippet += "{\n"
113 snippet += " switch (type)\n"
114 snippet += " {\n"
116 snippet += " case " + gl_type + ":\n"
118snippet += " return LoadImageFunctionInfo(" + load_function + ", " + requiresConversion…
119 snippet += " default:\n"
120 snippet += " UNREACHABLE();\n"
121 snippet += " return LoadImageFunctionInfo(UnreachableLoadFunction, true);\n"
122 snippet += " }\n"
[all …]
Dgen_load_texture_border_functions_table.py73 snippet = "LoadTextureBorderFunctionInfo " + func_name + "()\n"
74 snippet += "{\n"
75 snippet += " return LoadTextureBorderFunctionInfo(" + load_function + ");\n"
76 snippet += "}\n"
77 snippet += "\n"
79 return snippet
/external/python/cpython3/Lib/test/
Dtest_compile.py805 def check_stack_size(self, snippet, async_=False): argument
808 script = """def func():\n""" + i * snippet
821 "%s\n%s\n%s" % (sizes, snippet, out.getvalue()))
824 snippet = """
828 self.check_stack_size(snippet)
831 snippet = """
839 self.check_stack_size(snippet)
842 snippet = """
848 self.check_stack_size(snippet)
851 snippet = """
[all …]
/external/eigen/doc/
DInplaceDecomposition.dox15 <td>\snippet TutorialInplaceLU.cpp init
17 <td>\snippet TutorialInplaceLU.out init
26 <td>\snippet TutorialInplaceLU.cpp declaration
28 <td>\snippet TutorialInplaceLU.out declaration
38 <td>\snippet TutorialInplaceLU.cpp matrixLU
40 <td>\snippet TutorialInplaceLU.out matrixLU
48 <td>\snippet TutorialInplaceLU.cpp solve
50 <td>\snippet TutorialInplaceLU.out solve
62 <td>\snippet TutorialInplaceLU.cpp modifyA
64 <td>\snippet TutorialInplaceLU.out modifyA
[all …]
DCustomizingEigen_NullaryExpr.dox31 \snippet make_circulant2.cpp square
35 \snippet make_circulant2.cpp makeCirculant
42 \snippet make_circulant2.cpp circulant_func
46 \snippet make_circulant2.cpp main
61 \snippet nullary_indexing.out main1
65 \snippet nullary_indexing.cpp functor
69 \snippet nullary_indexing.cpp function
73 \snippet nullary_indexing.cpp main1
77 \snippet nullary_indexing.cpp main2
81 \snippet nullary_indexing.out main2
/external/snakeyaml/src/test/java/org/pyyaml/
DPyMarkTest.java43 String snippet = mark.get_snippet(2, 79); in testMarks() local
44 assertTrue("Must only have one '\n'.", snippet.indexOf("\n") > -1); in testMarks()
45 assertEquals("Must only have only one '\n'.", snippet.indexOf("\n"), in testMarks()
46 snippet.lastIndexOf("\n")); in testMarks()
47 String[] lines = snippet.split("\n"); in testMarks()
53 assertEquals("Pointer should coincide with '*':\n " + snippet, dataPosition, in testMarks()
/external/clang/docs/
DClangCheck.rst10 $ cat <<EOF > snippet.cc
15 $ ~/clang/build/bin/clang-check snippet.cc -ast-dump --
16 Processing: /Users/danieljasper/clang/llvm/tools/clang/docs/snippet.cc.
17 /Users/danieljasper/clang/llvm/tools/clang/docs/snippet.cc:2:12: error: expected ';' at end of
26 …(FunctionDecl 0x7ff3a302a8d0 </Users/danieljasper/clang/llvm/tools/clang/docs/snippet.cc:1:1, line…
32 Error while processing snippet.cc.
/external/llvm-project/clang/docs/
DClangCheck.rst10 $ cat <<EOF > snippet.cc
15 $ ~/clang/build/bin/clang-check snippet.cc -ast-dump --
16 Processing: /Users/danieljasper/clang/llvm/tools/clang/docs/snippet.cc.
17 /Users/danieljasper/clang/llvm/tools/clang/docs/snippet.cc:2:12: error: expected ';' at end of
26 …(FunctionDecl 0x7ff3a302a8d0 </Users/danieljasper/clang/llvm/tools/clang/docs/snippet.cc:1:1, line…
32 Error while processing snippet.cc.
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/annotated_symbol/
D__init__.py10 from py_utils.refactor import snippet
51 return _AnnotateNode(snippet.Snippetize(f))
55 if not isinstance(node, snippet.Symbol):
71 return snippet.Symbol(node.type, children)
Dreference.py16 from py_utils.refactor import snippet
78 snippet.TokenSnippet.Create(token.DOT, '.'),
79 snippet.TokenSnippet.Create(token.NAME, value_part),
81 self._children.append(snippet.Symbol(symbol.trailer, token_snippets))
Dimport_statement.py15 from py_utils.refactor import snippet
57 self._children.append(snippet.TokenSnippet.Create(token.DOT, '.'))
59 snippet.TokenSnippet.Create(token.NAME, value_part))
95 snippet.TokenSnippet.Create(token.NAME, 'as', (0, 1)))
98 snippet.TokenSnippet.Create(token.NAME, value, (0, 1)))
Dbase_symbol.py11 from py_utils.refactor import snippet
14 class AnnotatedSymbol(snippet.Symbol):
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/error/
DMark.java71 String snippet = buffer.substring(start, end); in get_snippet() local
77 result.append(snippet); in get_snippet()
93 String snippet = get_snippet(); in toString() local
100 if (snippet != null) { in toString()
102 where.append(snippet); in toString()
/external/libchrome/mojo/public/tools/bindings/pylib/mojom/parse/
Dparser.py28 def __init__(self, filename, message, lineno=None, snippet=None): argument
30 addenda=([snippet] if snippet else None))
70 p[2].lineno, snippet=self._GetSnippet(p[2].lineno))
75 p[2].lineno, snippet=self._GetSnippet(p[2].lineno))
84 p[2].lineno, snippet=self._GetSnippet(p[2].lineno))
296 snippet=self._GetSnippet(p.lineno(1)))
309 snippet=self._GetSnippet(p.lineno(5)))
334 snippet=self._GetSnippet(p.lineno(1)))
427 snippet=self._GetSnippet(e.lineno))
/external/eigen/doc/snippets/
DCMakeLists.txt6 get_filename_component(snippet ${snippet_src} NAME_WE)
7 set(compile_snippet_target compile_${snippet})
21 ARGS >${CMAKE_CURRENT_BINARY_DIR}/${snippet}.out
/external/eigen/unsupported/doc/snippets/
DCMakeLists.txt6 GET_FILENAME_COMPONENT(snippet ${snippet_src} NAME_WE)
7 SET(compile_snippet_target compile_${snippet})
21 ARGS >${CMAKE_CURRENT_BINARY_DIR}/${snippet}.out
/external/libtextclassifier/native/actions/
Dlua-actions.cc56 const std::string& snippet, const Conversation& conversation, in CreateLuaActionsSuggestions() argument
64 snippet, conversation, model_executor, model_spec, interpreter, in CreateLuaActionsSuggestions()
75 const std::string& snippet, const Conversation& conversation, in LuaActionsSuggestions() argument
81 : snippet_(snippet), in LuaActionsSuggestions()
Dlua-actions.h32 const std::string& snippet, const Conversation& conversation,
43 const std::string& snippet, const Conversation& conversation,
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/
Dsnippet.py61 for snippet in child.FindAll(snippet_type):
62 yield snippet
210 snippet = _SnippetizeNode(syntax_tree, tokens)
212 return snippet
/external/flatbuffers/docs/source/
DGoApi.md6 <!-- Note: The `GoApi_generate.txt` code snippet was generated using `godoc` and
26 \snippet GoApi_generated.txt Go API
/external/skia/tools/
Drewrite_includes.py55 if not any(snippet in fix_path(path) for snippet in ignorelist):
/external/llvm-project/llvm/docs/CommandGuide/
Dllvm-exegesis.rst19 generates a code snippet that makes execution as serial (resp. as parallel) as
22 The code snippet is jitted and executed on the host subtarget. The time taken
79 EXAMPLE 2: benchmarking a custom code snippet
103 For example, the following code snippet depends on the values of XMM1 (which
183 Specify the custom code snippet to measure. See example 2 for details.
209 basic block with `num-repetitions` copies of the snippet. `loop` will wrap
210 the snippet in a loop which will be run `num-repetitions` times. The `loop`
219 Specify the number of repetitions of the asm snippet.
/external/tensorflow/tensorflow/java/src/gen/resources/
Dtest.java.snippet1 // Here is a little snippet

123456789