hash_string$STAR_ function
int
hash_string$STAR_(
- dynamic s$1
)
Implementation
dc.int hash_string$STAR_(dc.dynamic s$1, ){
final dc.int len$1=(s$1 as dc.String).length;
if((0<len$1)){
dc.int i$1=0;
dc.int hash$1=0;
do {
if((i$1<len$1)){
final dc.int i$1tmp=(1+i$1);
final dc.int y$8183_$AUTO_$1=hash$1;
final dc.int $1=(4294967295&((4294967295&((4294901760&31)*y$8183_$AUTO_$1))+((65535&31)*y$8183_$AUTO_$1)));
hash$1=($1+((s$1 as dc.String).codeUnitAt(i$1, )));
i$1=i$1tmp;
continue;
}
return lcoc_core.m3_hash_u32(hash$1, );
} while(true);
}
return 0;
}