<commit_before>@echo off

if "%OS%"=="Windows_NT" @setlocal

rem %~dp0 is expanded pathname of the current script under NT

set DIR=%~dp0..

call "%DIR%\configuration"

set PRUN_CPU_RANK=0
set NHOSTS=1

if ""%1""=="""" goto usage

set JAVACLASSPATH=%CLASSPATH%;build;%IBIS_ROOT%\classlibs;%IBIS_ROOT%\build;%IBIS_ROOT%\3rdparty\junit.jar;.;


set LFC_INTR_FIRST=100
set IBP_SEND_SYNC=100 
set PAN_COMM_NO_IDLE_POLL=1

rem
rem java.library.path and ibis.library.path ...
rem

set Dlibpath="-Djava.library.path=%IBIS_ROOT%\build\lib;.;"

rem This is the location where all ibis native libs must go.
rem It must be *one* dir.
set Dibislibs="-Dibis.library.path=%IBIS_ROOT%\build\lib"

rem
rem Some defaults ...
rem

set attach=0
set noJIT=0
set no_pool=0
set portno_specified=0
set JIT_OPTS=

set JAVA_EXEC=java
set Xbootclasspath="-Xbootclasspath/p:%JAVACLASSPATH%"

set action=

rem
rem nameserver defaults
rem

call "%IBIS_ROOT%\bin\ns-env"

set Dns_server="-Dibis.name_server.host=%IBIS_NAMESERVER_HOST%"
set Dns_port="-Dibis.name_server.port=%IBIS_NAMESERVER_PORT%"
set Dns_pool="-Dibis.name_server.key=no_key_supplied"

rem
rem parse arguments
rem

:arguments

if "%1"=="-attach" (
    set attach=1
    goto nextarg
)
if "%1"=="-nhosts" (
    set Dpool_total="-Dibis.pool.total_hosts=%2"
    set NHOSTS=%2
    shift
    goto nextarg
)
if "%1"=="-hostno" (
    set Dpool_host_num="-Dibis.pool.host_number=%2"
    set PRUN_CPU_RANK=%2
    shift
    goto nextarg
)
if "%1"=="-hosts" (
    set HOSTS="%2"
    shift
    goto nextarg
)
if "%1"=="-jdb" (
    set JAVA_EXEC=jdb
    goto nextarg
)
if "%1"=="-no-jit" (
    set noJIT=1
    goto nextarg
)
if "%1"=="-n" (
    set action=echo
    goto nextarg
)
if "%1"=="-ns" (
    set Dns_server="-Dibis.name_server.host=%2"
    shift
    goto nextarg
)
if "%1"=="-ns-port" (
    set Dns_port="-Dibis.name_server.port=%2"
    shift
    goto nextarg
)
if "%1"=="-pg" (
    set gprof="%2"
    shift
    goto nextarg
)
if "%1"=="-p" (
    set prof="%2"
    shift
    goto nextarg
)
if "%1"=="-key" (
    set Dns_pool="-Dibis.name_server.key=%2"
    shift
    goto nextarg
)
if "%1"=="-?" (
    goto usage
)
if "%1"=="-h" (
    goto usage
)
if "%1"=="-help" (
    goto usage
)
if "%1"=="--help" (
    goto usage
)
if "%1"=="--" (
    shift
    goto cont
)

goto cont

:nextarg
    shift
    goto arguments
<commit_msg>Fix: needs empty line after label :-)<commit_after>@echo off

if "%OS%"=="Windows_NT" @setlocal

rem %~dp0 is expanded pathname of the current script under NT

set DIR=%~dp0..

call "%DIR%\configuration"

set PRUN_CPU_RANK=0
set NHOSTS=1

if ""%1""=="""" goto usage

set JAVACLASSPATH=%CLASSPATH%;build;%IBIS_ROOT%\classlibs;%IBIS_ROOT%\build;%IBIS_ROOT%\3rdparty\junit.jar;.;


set LFC_INTR_FIRST=100
set IBP_SEND_SYNC=100 
set PAN_COMM_NO_IDLE_POLL=1

rem
rem java.library.path and ibis.library.path ...
rem

set Dlibpath="-Djava.library.path=%IBIS_ROOT%\build\lib;.;"

rem This is the location where all ibis native libs must go.
rem It must be *one* dir.
set Dibislibs="-Dibis.library.path=%IBIS_ROOT%\build\lib"

rem
rem Some defaults ...
rem

set attach=0
set noJIT=0
set no_pool=0
set portno_specified=0
set JIT_OPTS=

set JAVA_EXEC=java
set Xbootclasspath="-Xbootclasspath/p:%JAVACLASSPATH%"

set action=

rem
rem nameserver defaults
rem

call "%IBIS_ROOT%\bin\ns-env"

set Dns_server="-Dibis.name_server.host=%IBIS_NAMESERVER_HOST%"
set Dns_port="-Dibis.name_server.port=%IBIS_NAMESERVER_PORT%"
set Dns_pool="-Dibis.name_server.key=no_key_supplied"

rem
rem parse arguments
rem

:arguments

if "%1"=="-attach" (
    set attach=1
    goto nextarg
)
if "%1"=="-nhosts" (
    set Dpool_total="-Dibis.pool.total_hosts=%2"
    set NHOSTS=%2
    shift
    goto nextarg
)
if "%1"=="-hostno" (
    set Dpool_host_num="-Dibis.pool.host_number=%2"
    set PRUN_CPU_RANK=%2
    shift
    goto nextarg
)
if "%1"=="-hosts" (
    set HOSTS="%2"
    shift
    goto nextarg
)
if "%1"=="-jdb" (
    set JAVA_EXEC=jdb
    goto nextarg
)
if "%1"=="-no-jit" (
    set noJIT=1
    goto nextarg
)
if "%1"=="-n" (
    set action=echo
    goto nextarg
)
if "%1"=="-ns" (
    set Dns_server="-Dibis.name_server.host=%2"
    shift
    goto nextarg
)
if "%1"=="-ns-port" (
    set Dns_port="-Dibis.name_server.port=%2"
    shift
    goto nextarg
)
if "%1"=="-pg" (
    set gprof="%2"
    shift
    goto nextarg
)
if "%1"=="-p" (
    set prof="%2"
    shift
    goto nextarg
)
if "%1"=="-key" (
    set Dns_pool="-Dibis.name_server.key=%2"
    shift
    goto nextarg
)
if "%1"=="-?" (
    goto usage
)
if "%1"=="-h" (
    goto usage
)
if "%1"=="-help" (
    goto usage
)
if "%1"=="--help" (
    goto usage
)
if "%1"=="--" (
    shift
    goto cont
)

goto cont

:nextarg

    shift
    goto arguments

{'fraction_non_alphanumeric': 0.16332559611732433, 'fraction_numerical': 0.01941337834986284, 'mean_word_length': 3.467483506126296, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5415720', 'n_tokens_mistral': 2060, 'n_tokens_neox': 1983, 'n_words': 436}