Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  gin_tuple.h

  Sprache: C
 

/*--------------------------------------------------------------------------
 * gin.h
 *   Public header file for Generalized Inverted Index access method.
 *
 * Copyright (c) 2006-2025, PostgreSQL Global Development Group
 *
 * src/include/access/gin.h
 *--------------------------------------------------------------------------
 */

#ifndef GIN_TUPLE_H
#define GIN_TUPLE_H

#include "access/ginblock.h"
#include "storage/itemptr.h"
#include "utils/sortsupport.h"

/*
 * Data for one key in a GIN index.
 */

typedef struct GinTuple
{
 int   tuplen;   /* length of the whole tuple */
 OffsetNumber attrnum;  /* attnum of index key */
 uint16  keylen;   /* bytes in data for key value */
 int16  typlen;   /* typlen for key */
 bool  typbyval;  /* typbyval for key */
 signed char category;  /* category: normal or NULL? */
 int   nitems;   /* number of TIDs in the data */
 char  data[FLEXIBLE_ARRAY_MEMBER];
} GinTuple;

static inline ItemPointer
GinTupleGetFirst(GinTuple *tup)
{
 GinPostingList *list;

 list = (GinPostingList *) SHORTALIGN(tup->data + tup->keylen);

 return &list->first;
}

extern int _gin_compare_tuples(GinTuple *a, GinTuple *b, SortSupport ssup);

#endif       /* GIN_TUPLE_H */

Messung V0.5 in Prozent
C=92 H=90 G=90

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

*© 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.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=141584
#Domains=752002