To install click the Add extension button. That's it.

The source code for the WIKI 2 extension is being checked by specialists of the Mozilla Foundation, Google, and Apple. You could also do it yourself at any point in time.

4,5
Kelly Slayton
Congratulations on this excellent venture… what a great idea!
Alexander Grigorievskiy
I use WIKI 2 every day and almost forgot how the original Wikipedia looks like.
Live Statistics
English Articles
Improved in 24 Hours
Added in 24 Hours
Languages
Recent
Show all languages
What we do. Every page goes through several hundred of perfecting techniques; in live mode. Quite the same Wikipedia. Just better.
.
Leo
Newton
Brights
Milds

Sink (computing)

From Wikipedia, the free encyclopedia

In computing, a sink, or data sink generally refers to the destination of data flow.

The word sink has multiple uses in computing. In software engineering, an event sink is a class or function that receives events from another object or function, while a sink can also refer to a node of a directed acyclic graph with no additional nodes leading out from it, among other uses.

YouTube Encyclopedic

  • 1/3
    Views:
    204 077
    922 760
    414
  • Computer Basics: Inside a Computer
  • A Computer With NO FANS?!
  • dotSwift 2019 - Charles Parnot - Avoiding the Kitchen Sink Database

Transcription

In software engineering

An event sink is a class or function designed to receive incoming events from another object or function. This is commonly implemented in C++ as callbacks. Other object-oriented languages, such as Java and C#, have built-in support for sinks by allowing events to be fired to delegate functions.

Due to lack of formal definition, a sink is often misconstrued with a gateway, which is a similar construct but the latter is usually either an end-point or allows bi-direction communication between dissimilar systems, as opposed to just an event input point [citation needed]. This is often seen in C++ and hardware-related programming [citation needed], thus the choice of nomenclature by a developer usually depends on whether the agent acting on a sink is a producer or consumer of the sink content.

In graph theory

In a Directed acyclic graph, a source node is a node (also known as a vertex) with no incoming connections from other nodes, while a sink node is a node without outgoing connections.[1]

Directed acyclic graphs are used in instruction scheduling, neural networks and data compression.

In stream processing

In several computer programs employing streams, such as GStreamer, PulseAudio, or PipeWire, a sink is the starting point of a pipeline which consumes a stream of data, while a source is the end point which emits a stream a data (often after having performing some processing function on the data).[2]

An example is an audio pipeline in the PulseAudio sound system. An input device such as a microphone is an audio device which will send data to a sink for consumption. The audio signal will then be made available as an audio source, which may have undergone audio processing, such as volume adjustment. Typically, it will also pass through other stages, such as audio mixing. In this way the volume adjustment processing receives audio samples via it's sink, emits them from its source, which is then connected to a mixer sink, which mixes audio, ultimately emitting the processed audio from it source. Referred to as an output source in PulseAudio. The configuration and connection of these pipelines can be complex and dynamic. [3]

The terms sink and source may be confusing, but they specifically refer to the point of entry (sink) and exit (source) in systems. The terminology is exactly analogous to that used in other domains, such as electrical engineering. [4]

Other uses

The word sink has been used for both input and output in the industry.[citation needed] Mobile sink is proposed to save sensor energy for multihop communication in transferring data to a base station (sink) in wireless sensor networks.

See also

References

  1. ^ "What is a sink in graph theory?".[dead link]
  2. ^ "Elements". GStreamer Documentation.
  3. ^ "About – PulseAudio". PulseAudio.
  4. ^ "Current Sourcing and Sinking".


This page was last edited on 10 May 2024, at 07:12
Basis of this page is in Wikipedia. Text is available under the CC BY-SA 3.0 Unported License. Non-text media are available under their specified licenses. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc. WIKI 2 is an independent company and has no affiliation with Wikimedia Foundation.