Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/browser/app/desktop-launcher/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 774 B image not shown  

Quelle  data_sink.h

  Sprache: C
 

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */


#ifndef DATA_SINK_H
#define DATA_SINK_H

/**
 * Abstract class for any type of implementation that accepts bytes from
 * some kind of data source.
 */

class DataSink {
 public:
  /**
   * Caller passes in a buffer with data and a count of bytes to read from
   * that buffer.
   * @param buf A buffer containing data
   * @param numberOfBytes Number of bytes of usable data available in the buffer
   * @return true if data was successfully accepted or false otherwise
   */

  virtual bool accept(char* buf, int numberOfBytes) = 0;
  virtual ~DataSink() {}
};

#endif

Messung V0.5 in Prozent
C=92 H=60 G=77

¤ Dauer der Verarbeitung: 0.11 Sekunden  (vorverarbeitet am  2026-08-26) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.