find-longlines

* output full file path
  * some preliminary file edits to restore 80-col max.
This commit is contained in:
Mark Olesen
2008-06-23 17:32:09 +02:00
parent 1dbb511fe5
commit 6f62adddd1
6 changed files with 17 additions and 8 deletions

View File

@ -31,7 +31,7 @@ sub wanted {
if ( $maxlen < length ) { if ( $maxlen < length ) {
$count++; $count++;
substr( $_, $maxlen, 0 ) = "||->>"; # show truncation point substr( $_, $maxlen, 0 ) = "||->>"; # show truncation point
print "$ARGV $. $_\n"; print "$File::Find::name $. $_\n";
} }
} }
close ARGV; close ARGV;

View File

@ -170,19 +170,28 @@ inline Smanip<ios_base::fmtflags> setf
} }
inline Omanip<IOstream::streamFormat> setformat(const IOstream::streamFormat fmt) inline Omanip<IOstream::streamFormat> setformat
(
const IOstream::streamFormat fmt
)
{ {
return Omanip<IOstream::streamFormat>(&IOstream::format, fmt); return Omanip<IOstream::streamFormat>(&IOstream::format, fmt);
} }
inline Omanip<IOstream::versionNumber> setversion(const IOstream::versionNumber ver) inline Omanip<IOstream::versionNumber> setversion
(
const IOstream::versionNumber ver
)
{ {
return Omanip<IOstream::versionNumber>(&IOstream::version, ver); return Omanip<IOstream::versionNumber>(&IOstream::version, ver);
} }
inline Omanip<IOstream::compressionType> setcompression(const IOstream::compressionType cmp) inline Omanip<IOstream::compressionType> setcompression
(
const IOstream::compressionType cmp
)
{ {
return Omanip<IOstream::compressionType>(&IOstream::compression, cmp); return Omanip<IOstream::compressionType>(&IOstream::compression, cmp);
} }

View File

@ -117,7 +117,7 @@ public:
//- Select a list of Time values that are within the ranges //- Select a list of Time values that are within the ranges
void inplaceSelect(List<instant>&) const; void inplaceSelect(List<instant>&) const;
//- Add the set of options handled by timeSelector to argList::validOptions //- Add the options handled by timeSelector to argList::validOptions
// //
// @param constant // @param constant
// Add the @b -constant option to include the @c constant/ directory // Add the @b -constant option to include the @c constant/ directory

View File

@ -198,7 +198,7 @@ public:
return globalCase_; return globalCase_;
} }
//- Return case name for parallel run or the global case for a serial run //- Return case name (parallel run) or global case (serial run)
const fileName& caseName() const const fileName& caseName() const
{ {
return case_; return case_;

View File

@ -36,7 +36,7 @@ Description
Does a very simple scheduling which assumes same time for all operations. Does a very simple scheduling which assumes same time for all operations.
After construction: After construction:
- schedule() gives the order in which the input communication should happen - schedule() gives the order in which the input communication should occur
- procSchedule()[procI] gives per procI - procSchedule()[procI] gives per procI
Does not care whether 'talking' is first send, second receive or maybe Does not care whether 'talking' is first send, second receive or maybe

View File

@ -90,7 +90,7 @@ inline const labelList& objectMap::masterObjects() const
} }
// * * * * * * * * * * * * * * * * Frimaster Operators * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * Friend Operators * * * * * * * * * * * * //
inline bool operator==(const objectMap& a, const objectMap& b) inline bool operator==(const objectMap& a, const objectMap& b)
{ {