Home
last modified time | relevance | path

Searched +refs:sharp +refs:read +refs:buffer (Results 1 – 25 of 1582) sorted by relevance

12345678910>>...64

/dports/deskutils/gnote/gnote-41.1/src/sharp/
H A Dfiles.cpp37 namespace sharp { namespace
101 throw sharp::Exception("Failure reading file"); in file_read_all_lines()
106 throw sharp::Exception("Failed to open file: " + path); in file_read_all_lines()
129 auto stream = path->read(); in file_read_all_text()
132 char buffer[buf_size]; in file_read_all_text() local
133 gssize read = 0; in file_read_all_text() local
135 read = stream->read(buffer, buf_size); in file_read_all_text()
136 os.write(buffer, read); in file_read_all_text()
138 while(read == buf_size); in file_read_all_text()
147 throw sharp::Exception("Failed to open file: " + path); in file_write_all_text()
[all …]
/dports/deskutils/gnote/gnote-41.1/src/synchronization/
H A Dfilesystemsyncserver.cpp161 sharp::XmlNodeSet noteIds = sharp::xml_node_xpath_find(root_node, "//note/@id"); in get_all_note_uuids()
318 sharp::XmlNodeSet noteNodes = sharp::xml_node_xpath_find(root_node, "//note"); in commit_sync_transaction()
328 sharp::XmlWriter *xml = new sharp::XmlWriter(); in commit_sync_transaction()
577 if(reader.read()) { in id()
601 sharp::XmlWriter xml; in update_lock_file()
690 auto stream = xmlFile->read(); in is_valid_xml_file()
693 char buffer[buf_size]; in is_valid_xml_file() local
694 gssize read = 0; in is_valid_xml_file() local
696 read = stream->read(buffer, buf_size); in is_valid_xml_file()
697 os.write(buffer, read); in is_valid_xml_file()
[all …]
/dports/deskutils/gnote/gnote-41.1/src/
H A Dutils.cpp164 : sharp::date_time_to_string(date, "%H:%M"); in get_pretty_print_date()
451 push_back(sharp::Uri(note->uri()));
459 sharp::string_split(items, data, "\n"); in load_from_string()
480 push_back(sharp::Uri(s)); in load_from_string_list()
513 const sharp::Uri & uri(*iter); in get_local_paths()
526 sharp::XmlWriter xml; in encode()
547 sharp::XmlReader xml; in decode()
550 while (xml.read ()) { in decode()
624 : m_buffer(buffer) in TextTagEnumerator()
626 , m_mark(buffer->create_mark(buffer->begin(), true)) in TextTagEnumerator()
[all …]
H A Dnotebuffer.cpp710 data.buffer = start.get_buffer(); in widget_swap()
737 NoteBuffer::Ptr buffer = NoteBuffer::Ptr::cast_static(data.buffer); in run_widget_queue() local
1071 return serialize(buffer, buffer->begin(), buffer->end()); in serialize()
1079 sharp::XmlWriter xml; in serialize()
1091 sharp::XmlWriter & xml, bool start) in write_tag()
1119 const Gtk::TextIter & end, sharp::XmlWriter & xml) in serialize()
1363 sharp::XmlReader xml; in deserialize()
1381 sharp::XmlReader & xml) in deserialize()
1398 while (xml.read ()) { in deserialize()
1437 NoteTag::Ptr::cast_dynamic(tag_start.tag)->read (xml, true); in deserialize()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/flatbuffers/src/docs/source/
H A DCsharpUsage.md1 Use in C# {#flatbuffers_guide_use_c-sharp}
12 You should also have read the [Building](@ref flatbuffers_guide_building)
17 ## FlatBuffers C-sharp code location
24 ## Testing the FlatBuffers C-sharp libraries
51 Then you can include both FlatBuffers and the generated code to read
54 For example, here is how you would read a FlatBuffer binary file in C#:
55 First, import the library and generated code. Then, you read a FlatBuffer binary
142 // Deserialize from buffer into object.
/dports/net-im/dendrite/dendrite-0.5.1/vendor/gopkg.in/h2non/bimg.v1/
H A DREADME.md14 bimg was heavily inspired in [sharp](https://github.com/lovell/sharp), its homologous package built…
133 buffer, err := bimg.Read("image.jpg")
154 buffer, err := bimg.Read("image.jpg")
159 newImage, err := bimg.NewImage(buffer).Rotate(90)
170 buffer, err := bimg.Read("image.jpg")
190 buffer, err := bimg.Read("image.jpg")
209 buffer, err := bimg.Read("image.jpg")
239 buffer, err := bimg.Read("image.jpg")
255 buffer, err := bimg.Read("image.jpg")
281 buffer, err := bimg.Read("image.jpg")
[all …]
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/libigl/igl/embree/embree2/
H A Drtcore_geometry.isph70 RTC_BOUNDARY_EDGE_AND_CORNER = 2 //!< boundary corner vertices are sharp vertices
198 supported and marks an edge as infinitely sharp. Storing an edge
212 supported and makes the vertex infinitely sharp. Storing a vertex
235 buffer (RTC_INDEX_BUFFER) and the curve vertex buffer
294 /*! \brief Unmaps specified buffer.
318 /*! \brief Update spefific geometry buffer.
326 /*! \brief Update spefific geometry buffer.
372 * that the last element can be read safely using SSE
375 uniform RTCBufferType buffer,
392 * the last element can be read safely using SSE
[all …]
/dports/graphics/sane-backends/sane-backends-1.0.32/ChangeLogs/
H A DChangeLog-1.0.147 * backend/sharp.c (sane_read_shuffled): Declare as "static".
185 allow dynamic sizing of data buffer based on the value of
226 * doc/sane-sharp.man: New file (by Kazuya Fukuda).
227 * backend/sharp.c: Updated with Kazuya's latest version.
228 * backend/sharp.h: Ditto.
229 * backend/sharp.desc: Ditto.
275 * backend/sharp.c: New file by FUKUDA Kazuya
277 * backend/sharp.h: Ditto
278 * backend/sharp.conf: Ditto.
279 * backend/sharp.desc: Ditto.
[all …]
H A DChangeLog-1.0.261 * backend/sharp.desc backend/pint.desc backend/canon.desc
111 for details read backend/umax.CHANGES
117 * sharp.c / sharp.h: Options for resolution now conform to
119 version number in sharp.desc.
220 * fixed wrong buffer size handling for old Linux SG drivers
222 * updated sane-scsi.man: How to change the buffer size,
224 * fixed a type on sharp.c
325 * backend/sharp.c: Fix of possible segfault in sane_init
326 * backend/sharp.conf: contains now a complete sample configuration
347 * backend/sharp.c, backend/sharp.h: update to version 0.30
/dports/lang/racket/racket-8.3/src/ChezScheme/s/
H A Dread.ss1 ;;; read.ss
31 who ; who's calling (read, read-token)
41 ;;; [io] tb token buffer
477 [else (xcall rd-error #f #t "invalid sharp-sign prefix #~c" c)])))
574 (xcall rd-error #f #t "invalid sharp-sign prefix ~a~a"
582 [else (xcall rd-error #f #t "invalid sharp-sign prefix ~a~a"
795 …[else (with-stretch-buffer n c (with-read-char c (*state rd-token-to-delimiter (fx+ n 1) c next)))…
993 (with-stretch-buffer i c
999 (with-stretch-buffer i c
1003 (with-stretch-buffer i c
[all …]
/dports/lang/racket-minimal/racket-8.3/src/ChezScheme/s/
H A Dread.ss1 ;;; read.ss
31 who ; who's calling (read, read-token)
41 ;;; [io] tb token buffer
477 [else (xcall rd-error #f #t "invalid sharp-sign prefix #~c" c)])))
574 (xcall rd-error #f #t "invalid sharp-sign prefix ~a~a"
582 [else (xcall rd-error #f #t "invalid sharp-sign prefix ~a~a"
795 …[else (with-stretch-buffer n c (with-read-char c (*state rd-token-to-delimiter (fx+ n 1) c next)))…
993 (with-stretch-buffer i c
999 (with-stretch-buffer i c
1003 (with-stretch-buffer i c
[all …]
/dports/lang/chez-scheme/ChezScheme-9.5.4/s/
H A Dread.ss1 ;;; read.ss
31 who ; who's calling (read, read-token)
41 ;;; [io] tb token buffer
477 [else (xcall rd-error #f #t "invalid sharp-sign prefix #~c" c)])))
549 (xcall rd-error #f #t "invalid sharp-sign prefix ~a~a"
557 [else (xcall rd-error #f #t "invalid sharp-sign prefix ~a~a"
768 …[else (with-stretch-buffer n c (with-read-char c (*state rd-token-to-delimiter (fx+ n 1) c next)))…
966 (with-stretch-buffer i c
972 (with-stretch-buffer i c
976 (with-stretch-buffer i c
[all …]
/dports/print/tex-luatex/texlive-20150521-source/texk/web2c/
H A Dmft.web585 print(xchr[buffer[k-1]]); {print the characters already read}
588 for k:=l+1 to limit do print(xchr[buffer[k-1]]); {print the part not yet read}
632 is not currently being read}
635 @!loc:0..buf_size; {the next character position to be read from the buffer}
728 prepares to read the next line from |change_file|.
841 @<Check that all changes have been read@>=
1017 @d sharp=27 {internal code for the token `\.{\char`\#}'}
1345 pr1("#")(sharp);@/
1790 as_is,sharp,abinary: out_name(cur_tok);
1863 else if cur_type=sharp then out_str(tr_sharp)
[all …]
/dports/print/tex-xetex/texlive-20150521-source/texk/web2c/
H A Dmft.web585 print(xchr[buffer[k-1]]); {print the characters already read}
588 for k:=l+1 to limit do print(xchr[buffer[k-1]]); {print the part not yet read}
632 is not currently being read}
635 @!loc:0..buf_size; {the next character position to be read from the buffer}
728 prepares to read the next line from |change_file|.
841 @<Check that all changes have been read@>=
1017 @d sharp=27 {internal code for the token `\.{\char`\#}'}
1345 pr1("#")(sharp);@/
1790 as_is,sharp,abinary: out_name(cur_tok);
1863 else if cur_type=sharp then out_str(tr_sharp)
[all …]
/dports/devel/tex-synctex/texlive-20150521-source/texk/web2c/
H A Dmft.web585 print(xchr[buffer[k-1]]); {print the characters already read}
588 for k:=l+1 to limit do print(xchr[buffer[k-1]]); {print the part not yet read}
632 is not currently being read}
635 @!loc:0..buf_size; {the next character position to be read from the buffer}
728 prepares to read the next line from |change_file|.
841 @<Check that all changes have been read@>=
1017 @d sharp=27 {internal code for the token `\.{\char`\#}'}
1345 pr1("#")(sharp);@/
1790 as_is,sharp,abinary: out_name(cur_tok);
1863 else if cur_type=sharp then out_str(tr_sharp)
[all …]
/dports/devel/tex-web2c/texlive-20150521-source/texk/web2c/
H A Dmft.web585 print(xchr[buffer[k-1]]); {print the characters already read}
588 for k:=l+1 to limit do print(xchr[buffer[k-1]]); {print the part not yet read}
632 is not currently being read}
635 @!loc:0..buf_size; {the next character position to be read from the buffer}
728 prepares to read the next line from |change_file|.
841 @<Check that all changes have been read@>=
1017 @d sharp=27 {internal code for the token `\.{\char`\#}'}
1345 pr1("#")(sharp);@/
1790 as_is,sharp,abinary: out_name(cur_tok);
1863 else if cur_type=sharp then out_str(tr_sharp)
[all …]
/dports/japanese/tex-ptex/texlive-20150521-source/texk/web2c/
H A Dmft.web585 print(xchr[buffer[k-1]]); {print the characters already read}
588 for k:=l+1 to limit do print(xchr[buffer[k-1]]); {print the part not yet read}
632 is not currently being read}
635 @!loc:0..buf_size; {the next character position to be read from the buffer}
728 prepares to read the next line from |change_file|.
841 @<Check that all changes have been read@>=
1017 @d sharp=27 {internal code for the token `\.{\char`\#}'}
1345 pr1("#")(sharp);@/
1790 as_is,sharp,abinary: out_name(cur_tok);
1863 else if cur_type=sharp then out_str(tr_sharp)
[all …]
/dports/print/tex-basic-engines/texlive-20150521-source/texk/web2c/
H A Dmft.web585 print(xchr[buffer[k-1]]); {print the characters already read}
588 for k:=l+1 to limit do print(xchr[buffer[k-1]]); {print the part not yet read}
632 is not currently being read}
635 @!loc:0..buf_size; {the next character position to be read from the buffer}
728 prepares to read the next line from |change_file|.
841 @<Check that all changes have been read@>=
1017 @d sharp=27 {internal code for the token `\.{\char`\#}'}
1345 pr1("#")(sharp);@/
1790 as_is,sharp,abinary: out_name(cur_tok);
1863 else if cur_type=sharp then out_str(tr_sharp)
[all …]
/dports/print/tex-aleph/texlive-20150521-source/texk/web2c/
H A Dmft.web585 print(xchr[buffer[k-1]]); {print the characters already read}
588 for k:=l+1 to limit do print(xchr[buffer[k-1]]); {print the part not yet read}
632 is not currently being read}
635 @!loc:0..buf_size; {the next character position to be read from the buffer}
728 prepares to read the next line from |change_file|.
841 @<Check that all changes have been read@>=
1017 @d sharp=27 {internal code for the token `\.{\char`\#}'}
1345 pr1("#")(sharp);@/
1790 as_is,sharp,abinary: out_name(cur_tok);
1863 else if cur_type=sharp then out_str(tr_sharp)
[all …]
/dports/misc/iselect/iselect-1.4.0/
H A Diselect.pod74 Input is read either from the command line (I<line1> I<line2> ...) where each
75 argument corresponds to one buffer line or from F<stdin> (when no arguments
76 are given) where the buffer lines are determined according to the newline
127 i.e. the selection tags have to read ``C<E<lt>sE<gt>>'' and ``C<E<lt>s:result
132 Strips all sharp comment lines from the input buffer before parsing.
136 Browse always, i.e. even when the input buffer contains no or only one line.
/dports/graphics/nanort/nanort-b1feea8/examples/embree-api/include/embree2/
H A Drtcore_geometry.isph85 RTC_BOUNDARY_EDGE_AND_CORNER = 2 //!< boundary corner vertices are sharp vertices
300 supported and marks an edge as infinitely sharp. Storing an edge
314 supported and makes the vertex infinitely sharp. Storing a vertex
580 /*! \brief Binds a user vertex buffer to some index buffer topology. */
587 /*! \brief Unmaps specified buffer.
630 /*! \brief Update spefific geometry buffer.
638 /*! \brief Update spefific geometry buffer.
696 * that the last element can be read safely using SSE
699 uniform RTCBufferType buffer,
716 * the last element can be read safely using SSE
[all …]
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/google/flatbuffers/docs/source/
H A DCsharpUsage.md1 Use in C# {#flatbuffers_guide_use_c-sharp}
12 You should also have read the [Building](@ref flatbuffers_guide_building)
75 Then you can include both FlatBuffers and the generated code to read
78 For example, here is how you would read a FlatBuffer binary file in C#:
79 First, import the library and generated code. Then, you read a FlatBuffer binary
166 // Deserialize from buffer into object.
/dports/devel/flatbuffers/flatbuffers-2.0.0/docs/source/
H A DCsharpUsage.md1 Use in C# {#flatbuffers_guide_use_c-sharp}
12 You should also have read the [Building](@ref flatbuffers_guide_building)
75 Then you can include both FlatBuffers and the generated code to read
78 For example, here is how you would read a FlatBuffer binary file in C#:
79 First, import the library and generated code. Then, you read a FlatBuffer binary
166 // Deserialize from buffer into object.
/dports/multimedia/avidemux-cli/avidemux_2.7.6/avidemux_plugins/ADM_scriptEngines/spiderMonkey/src/smjs/
H A Djs.msg101 MSG_DEF(JSMSG_READ_ONLY, 19, 1, JSEXN_ERR, "{0} is read-only")
111 MSG_DEF(JSMSG_BAD_SHARP_DEF, 29, 1, JSEXN_ERR, "invalid sharp variable definition #{0}=")
112 MSG_DEF(JSMSG_BAD_SHARP_USE, 30, 1, JSEXN_ERR, "invalid sharp variable use #{0}#")
216 MSG_DEF(JSMSG_BAD_SHARP_VAR_DEF, 134, 0, JSEXN_SYNTAXERR, "invalid sharp variable definition")
225 MSG_DEF(JSMSG_SHARPVAR_TOO_BIG, 143, 0, JSEXN_SYNTAXERR, "overlarge sharp variable number")
284 MSG_DEF(JSMSG_BUFFER_TOO_SMALL, 202, 0, JSEXN_INTERNALERR, "buffer too small")
/dports/multimedia/avidemux-qt5/avidemux_2.7.6/avidemux_plugins/ADM_scriptEngines/spiderMonkey/src/smjs/
H A Djs.msg101 MSG_DEF(JSMSG_READ_ONLY, 19, 1, JSEXN_ERR, "{0} is read-only")
111 MSG_DEF(JSMSG_BAD_SHARP_DEF, 29, 1, JSEXN_ERR, "invalid sharp variable definition #{0}=")
112 MSG_DEF(JSMSG_BAD_SHARP_USE, 30, 1, JSEXN_ERR, "invalid sharp variable use #{0}#")
216 MSG_DEF(JSMSG_BAD_SHARP_VAR_DEF, 134, 0, JSEXN_SYNTAXERR, "invalid sharp variable definition")
225 MSG_DEF(JSMSG_SHARPVAR_TOO_BIG, 143, 0, JSEXN_SYNTAXERR, "overlarge sharp variable number")
284 MSG_DEF(JSMSG_BUFFER_TOO_SMALL, 202, 0, JSEXN_INTERNALERR, "buffer too small")

12345678910>>...64