Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/hpcgap/lib/hpc/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 18.9.2025 mit Größe 880 B image not shown  

Quelle  altview.g   Sprache: unbekannt

 
Spracherkennung für: .g vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

#############################################################################
##
##  This file is part of GAP, a system for computational discrete algebra.
##
##  Copyright of GAP belongs to its developers, whose names are too numerous
##  to list here. Please refer to the COPYRIGHT file for details.
##
##  SPDX-License-Identifier: GPL-2.0-or-later
##

BIND_GLOBAL("ORIGINAL_VIEW_OBJ", ViewObj);

BindGlobal("ViewSharedObj", function(obj)
  local l;
  l := TRYLOCK(obj);
  ORIGINAL_VIEW_OBJ(obj);
  if l <> fail then
    UNLOCK(l);
  fi;
end);

BindGlobal("ViewShared", function(obj)
  ViewSharedObj(obj);
  Print("\n");
end);

BindGlobal("UNSAFE_VIEW_OBJ", function(obj)
  local copy;
  DISABLE_GUARDS(2);
  copy := DEEP_COPY_OBJ(obj);
  DISABLE_GUARDS(0);
  ORIGINAL_VIEW_OBJ(copy);
end);

BindGlobal("UNSAFE_VIEW", function(obj)
  UNSAFE_VIEW_OBJ(obj);
  Print("\n");
end);


[ Dauer der Verarbeitung: 0.34 Sekunden  ]