11+ results for 'endline' (0 ms)

Not the results you expected?

TranslationFile.cpp (http://cssmatch-plugin.googlecode.com/svn/trunk/) C++ · 197 lines ✨ Summary

This C++ code defines a TranslationFile class that parses a text file containing translations for a CSS file. It extracts header and translation data from the file, storing them in internal data structures. The class provides methods to access and modify this data, including adding new translations and checking if a keyword exists.

This C++ code defines a TranslationFile class that parses a text file containing translations for a CSS file. It extracts header and translation data from the file, storing them in internal data structures. The class provides methods to access and modify this data, including adding new translations and checking if a keyword exists.

135

136 // \n are replaced by the corresponding escape sequence

137 size_t iEndLine = dataValue.find("\\n");

138 while (iEndLine != string::npos)

139 {

140 dataValue.replace(iEndLine, 2, "\n", 0, 1);

141 iEndLine = dataValue.find("\\n");

collate.awk (https://github.com/openSUSE/umoci.git) AWK · 47 lines

34

35 # The format of all other lines is as follows.

36 # <file>:<startline>.<startcol>,<endline>.<endcol> <numstmt> <count>

37 # We only care about the first field and the count.

38 statements[$1] = $2

thread_wrappers.awk (https://github.com/hypre-space/hypre.git) AWK · 165 lines

78 print " (localargs -> returnvalue[threadid]) =";

79 print " "routine"(";

80 endline = ",";

81 for (i = 1; i <= num_args; i++)

82 {

83 if (i == num_args)

84 {

85 endline = " );";

86 }

87 m = match(arg_type[i], "[^A-Za-z_0-9]");

91 if (base_pointer ~ "\*")

92 {

93 print " &(*(localargs -> "arg[i]"))[threadid]"endline;

94 }

95 else

stripUntranslatable.awk (https://github.com/ManimCommunity/manim.git) AWK · 141 lines

136 }

137

138 # When the parsing is ended, print the last missing endline

139 END {

140 print ""

menudefs.awk (https://gitlab.com/BGCX261/zmail-2009-svn-to-git.git) AWK · 70 lines

4

5 specialSyms["Home"] = "osfBeginLine";

6 specialSyms["End"] = "osfEndLine";

7 specialSyms["Up"] = "osfUp";

8 specialSyms["Down"] = "osfDown";

metod-old.awk (https://bitbucket.org/aafin/generatorzadach) AWK · 337 lines

49 # Печатает результат. (Файл, список начал, список концов)

50 #

51 function PrintOut(InpFile,ActBeginLine,ActEndLine, i,line,lineCount,IgnoreRead){

52

53 IgnoreRead=1;

297 # Номера строк

298 for ( i in ActLabel) ActBeginLine[NomToBeginLine[LabelToNom[i]]]=1

299 for ( i in ActLabel) ActEndLine[NomToEndLine[LabelToNom[i]]]=1

300

301

325

326 for (i in ActBeginLine) print("ActBeginLine", i, ActBeginLine[i])

327 for (i in ActEndLine) print("ActEndLine", i, ActEndLine[i])

328

329

ro.awk (https://gitlab.com/Raizan/buku-ta) AWK · 21 lines

1 BEGIN {

2 sendLine = 0;

3 recvLine = 0;

4 errLine = 0;

6

7 $0 ~/^s.* \(REQUEST\)/ {

8 sendLine ++ ;

9 }

10

18

19 END {

20 printf "Overhead: %d\n", (sendLine + recvLine + errLine);

21 }

22

pdr.awk (https://gitlab.com/Raizan/buku-ta) AWK · 16 lines

1 BEGIN {

2 sendLine = 0;

3 recvLine = 0;

4 }

5

6 $0 ~/^s.* AGT/ {

7 sendLine ++ ;

8 }

9

13

14 END {

15 printf "Sent: %d Recv: %d Ratio: %.4f\n", sendLine, recvLine, (recvLine/sendLine);

16 }

17

pdr.awk (https://bitbucket.org/naheel_azawy/ns2-manet-cmp.git) AWK · 21 lines

1 BEGIN {

2 sendLine = 0;

3 recvLine = 0;

4 fowardLine = 0;

6

7 $0 ~/^s.* AGT/ {

8 sendLine ++ ;

9 }

10

18

19 END {

20 printf "%.4f", (recvLine/sendLine);

21 }

22

awkequiv.awk (https://github.com/dominicmarks/ragel-js.git) AWK · 10 lines

4

5 {

6 print "endline(" NF "): " $0

7 for ( i = 1; i <= NF; i++ ) {

8 print " word: " $i

unix.ml (git://github.com/multani/ocaml-mirror.git) OCaml · 1116 lines ✨ Summary

This OCaml code provides a set of functions for creating and managing processes, including:

  • Creating new processes using open_connection, open_process, open_process_full, and establish_server.
  • Closing process connections using close_process_in, close_process_out, close_process, and close_process_full.
  • Waiting for processes to finish using waitpid_non_intr.

These functions provide a low-level interface for interacting with the operating system’s process management features.

151 end;

152 prerr_string ": ";

153 prerr_endline (error_message err);

154 exit 2

155