This file is indexed.

/usr/share/axiom-20170501/src/algebra/PRIMARR.spad is in axiom-source 20170501-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
)abbrev domain PRIMARR PrimitiveArray
++ Author: Mark Botch
++ Description:
++ This provides a fast array type with no bound checking on elt's.
++ Minimum index is 0 in this type, cannot be changed

PrimitiveArray(S) : SIG == CODE where
  S : Type

  SIG ==> OneDimensionalArrayAggregate S 

  CODE ==> add

   Qmax ==> QVMAXINDEX$Lisp
   Qsize ==> QVSIZE$Lisp
   Qelt ==> ELT$Lisp
   Qsetelt ==> SETELT$Lisp
   Qnew ==> MAKE_-ARRAY$Lisp

   #x == Qsize x

   minIndex x == 0

   empty() == Qnew(0$Lisp)
 
   new(n, x) == fill_!(Qnew n, x)

   qelt(x, i) == Qelt(x, i)

   elt(x:%, i:Integer) == Qelt(x, i)

   qsetelt_!(x, i, s) == Qsetelt(x, i, s)

   setelt(x:%, i:Integer, s:S) == Qsetelt(x, i, s)

   fill_!(x, s) == (for i in 0..Qmax x repeat Qsetelt(x, i, s); x)