Alignment
Geners
src
CStringBuf.cc
Go to the documentation of this file.
1
#include <cassert>
2
3
#include "Alignment/Geners/interface/CStringBuf.hh"
4
5
namespace
gs
{
6
const
char
*CStringBuf::getGetBuffer(
unsigned
long
long
*len)
const
{
7
const
long
long
delta
= gptr() - eback();
8
assert
(
delta
>= 0
LL
);
9
assert
(len);
10
*len =
delta
;
11
return
eback();
12
}
13
14
const
char
*CStringBuf::getPutBuffer(
unsigned
long
long
*len)
const
{
15
const
long
long
delta
= pptr() - pbase();
16
assert
(
delta
>= 0
LL
);
17
assert
(len);
18
*len =
delta
;
19
return
pbase();
20
}
21
}
// namespace gs
L1DTConfigBti_cff.LL
LL
Definition:
L1DTConfigBti_cff.py:25
cms::cuda::assert
assert(be >=bs)
dumpMFGeometry_cfg.delta
delta
Definition:
dumpMFGeometry_cfg.py:25
gs
Definition:
AbsArchive.cc:46
Generated for CMSSW Reference Manual by
1.8.14