Home
last modified time | relevance | path

Searched refs:func (Results 1 – 5 of 5) sorted by relevance

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Testing/
DTimeoutExecutor.cs15 public static T Execute<T>(Func<T> func, int timeout) in Execute() argument
18 TryExecute(func, timeout, out result); in Execute()
22 public static bool TryExecute<T>(Func<T> func, int timeout, out T result) in TryExecute() argument
25 var thread = new Thread(() => res = func()) in TryExecute()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/Collections/
DLazyList.cs20 public void Add(Func<T> func) in Add() argument
22 funcs.Add(func); in Add()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/Structure/Registers/
DRegisterCollection.cs47 …ddBeforeReadHook<T, R>(this IProvidesRegisterCollection<R> @this, long offset, Func<long, T?> func)
55 registerCollection.AddBeforeReadHook(offset, func); in registerCollection.AddBeforeReadHook()
58 …AfterReadHook<T, R>(this IProvidesRegisterCollection<R> @this, long offset, Func<long, T, T?> func)
66 registerCollection.AddAfterReadHook(offset, func); in registerCollection.AddAfterReadHook()
69 …foreWriteHook<T, R>(this IProvidesRegisterCollection<R> @this, long offset, Func<long, T, T?> func)
77 registerCollection.AddBeforeWriteHook(offset, func); in registerCollection.AddBeforeWriteHook()
80 …dAfterWriteHook<T, R>(this IProvidesRegisterCollection<R> @this, long offset, Action<long, T> func)
88 registerCollection.AddAfterWriteHook(offset, func); in registerCollection.AddAfterWriteHook()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/
DSafeBinaryReader.cs165 private T ExecuteAndHandleError<T>(Func<T> func) in ExecuteAndHandleError() argument
169 return func(); in ExecuteAndHandleError()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/MSP430X/
DMSP430X.cs695 var func = (instr & 0x0300) >> 8; in TryEvaluateSingleOperand()
699 switch(func) in TryEvaluateSingleOperand()