代码搜索:Loop
找到约 10,000 项符合「Loop」的源代码
代码结果 10,000
www.eeworm.com/read/125133/6032866
idel qsort.idel
\ Quicksort benchmark.
\ This is unrealistic as a library function for at least two reasons:
\ - specialized to an array of ints
\ - bad worst-case behavior (and already-sorted is the worst case)
b
www.eeworm.com/read/125133/6032991
idel random.idel
\ Minimal Standard Random Number Generator
\ Park & Miller, CACM 31(10), Oct 1988, 32 bit integer version.
\ better constants, as proposed by Park.
\ Adapted from the Scheme version by Ozan Yigit modi
www.eeworm.com/read/125133/6033017
idel fact.idel
def 0 1 main 5 fact u. '\n' emit 0 ;
#include "udot.idel"
def 1 1 fact 1 fact-loop ;
def 2 1 fact-loop
{ n p -- n 0 = if
p
else
n 1 - p n * fact-l
www.eeworm.com/read/125133/6033046
idel qsort.idel
\ Quicksort benchmark.
\ This is unrealistic as a library function for at least two reasons:
\ - specialized to an array of ints
\ - bad worst-case behavior (and already-sorted is the worst case)
b
www.eeworm.com/read/124347/6051454
s strcmp.s
! SH5 code Copyright 2002 SuperH Ltd.
#include "asm.h"
ENTRY(strcmp)
#if __SHMEDIA__
ld.ub r2,0,r4
pt/l quickret0,tr0
ld.ub r3,0,r5
ptabs r18,tr2
beqi/u r4,0,tr0
ld.ub r2,1,r6
bne/u r4,r5,tr
www.eeworm.com/read/124347/6051457
s memset.s
!
! Fast SH memset
!
! by Toshiyasu Morita (tm@netcom.com)
!
! SH5 code by J"orn Rennecke (joern.rennecke@superh.com)
! Copyright 2002 SuperH Ltd.
!
#include "asm.h"
ENTRY(memset)
#if __SHMEDIA__
p
www.eeworm.com/read/121089/6070728
asm saveport.asm
;***
;* $Workfile: saveport.asm $
;* $Revision: 1.0 $
;* $Author: Dave Sewell $
;* $Date: 05 May 1989 16:34:22 $
;***
INCLUDE model.inc
INCLUDE fastlynx.inc
www.eeworm.com/read/121089/6070743
asm fstrcpy.asm
;***
;* $Workfile: fstrcpy.asm $
;* $Revision: 1.0 $
;* $Author: Dave Sewell $
;* $Date: 28 Apr 1989 16:50:26 $
;***
INCLUDE dos.mac
TEXTSEG
PASCALDEF fstrc
www.eeworm.com/read/113536/6128203
asm fstrcpy.asm
;***
;* $Workfile: fstrcpy.asm $
;* $Revision: 1.0 $
;* $Author: Dave Sewell $
;* $Date: 28 Apr 1989 16:50:26 $
;***
INCLUDE dos.mac
TEXTSEG
PASCALDEF fstrc