public void midiJackMessage(System.Int32 deviceIndex, System.SByte status, System.SByte data1, System.SByte data2) { if (DroidMidiEvent != null) { DroidMidiEvent(this, new MidiMessage((uint)deviceIndex, (byte)status, (byte)data1, (byte)data2)); } }
public static bool _Write_System_IO_BinaryWriter_System_SByte( ) { //Parameters System.SByte _value = null; //Exception Exception exception_Real = null; Exception exception_Intercepted = null; InterceptionMaintenance.disableInterception( ); try { returnValue_Real = System.IO.BinaryWriter.Write(_value); } catch (Exception e) { exception_Real = e; } InterceptionMaintenance.enableInterception( ); try { returnValue_Intercepted = System.IO.BinaryWriter.Write(_value); } catch (Exception e) { exception_Intercepted = e; } }
public override int Deserialize(System.Byte[] serialized, int startIndex) { int curIndex = startIndex; data = (System.SByte)serialized[curIndex]; curIndex++; return (curIndex - startIndex); }
public void RPC_Say(RPC.PackageWriter pkg, System.SByte channel, System.String msg, RPC.DataWriter hyperlink) { pkg.Write(channel); pkg.Write(msg); pkg.Write(hyperlink); pkg.SetMethod(69); }
public void SessionAbortedByPartner( BOOLEAN isInbound, NativeReliableMessaging.IFabricReliableSessionPartitionIdentity partitionId, NativeReliableMessaging.IFabricReliableSession session) { var closingSession = ReliableMessagingSession.FromNative(session); var nativeSvcName = partitionId.getServiceName(); var svcInstance = NativeTypes.FromNativeUri(nativeSvcName); var partitionKeyType = partitionId.getPartitionKeyType(); var partitionKey = partitionId.getPartitionKey(); if (partitionKeyType == NativeTypes.FABRIC_PARTITION_KEY_TYPE.FABRIC_PARTITION_KEY_TYPE_NONE) { this.managedCallback.SessionAbortedByPartner(NativeTypes.FromBOOLEAN(isInbound), svcInstance, closingSession); } else if (partitionKeyType == NativeTypes.FABRIC_PARTITION_KEY_TYPE.FABRIC_PARTITION_KEY_TYPE_INT64) { var int64KeyRange = IntegerPartitionKeyRangeFactory.FromNative(partitionKey); this.managedCallback.SessionAbortedByPartner(NativeTypes.FromBOOLEAN(isInbound), svcInstance, int64KeyRange, closingSession); } else if (partitionKeyType == NativeTypes.FABRIC_PARTITION_KEY_TYPE.FABRIC_PARTITION_KEY_TYPE_STRING) { this.managedCallback.SessionAbortedByPartner( NativeTypes.FromBOOLEAN(isInbound), svcInstance, NativeTypes.FromNativeString(partitionKey), closingSession); } }
public void RPC_AddTalkMsg(RPC.PackageWriter pkg, System.SByte channel, System.String sender, System.String msg, RPC.DataWriter hyperlink) { pkg.Write(channel); pkg.Write(sender); pkg.Write(msg); pkg.Write(hyperlink); pkg.SetMethod(7); }
unsafe public static void PutInt8(Int8 x, byte[] b, int pos) { Debug.Assert(b.Length - pos >= sizeof(Int8)); fixed(byte *sb = b) { *((Int8 *)(sb + pos)) = x; } }
public override int Deserialize(System.Byte[] serialized, int startIndex) { int curIndex = startIndex; status = (System.SByte)serialized[curIndex]; curIndex++; service = BitConverter.ToUInt16(serialized, curIndex); curIndex += BitConverter.GetBytes(service).Length; return (curIndex - startIndex); }
void NativeContainerActivatorService.IFabricContainerActivatorService.StartEventMonitoring( BOOLEAN isContainerServiceManaged, UInt64 sinceTime) { var isManaged = NativeTypes.FromBOOLEAN(isContainerServiceManaged); Utility.WrapNativeSyncMethodImplementation( () => this.activatorService.StartEventMonitoring(isManaged, sinceTime), "FabricContainerActivatorServiceBroker.StartEventMonitoring", ValidateAsyncApi); }
public override int Deserialize(System.Byte[] serialized, int startIndex) { int curIndex = startIndex; curIndex += layout.Deserialize(serialized, curIndex); System.UInt32 data_len = BitConverter.ToUInt32(serialized, curIndex); curIndex += BitConverter.GetBytes(data_len).Length; System.SByte[] temp = new System.SByte[data_len]; Array.Copy(serialized, curIndex, temp, 0, data_len); data = temp.ToList(); curIndex += (int)data_len; return (curIndex - startIndex); }
public static bool _ToSByte_System_String( ) { //Parameters System.String s = null; //ReturnType/Value System.SByte returnVal_Real = null; System.SByte returnVal_Intercepted = null; //Exception Exception exception_Real = null; Exception exception_Intercepted = null; InterceptionMaintenance.disableInterception( ); try { returnValue_Real = System.Xml.XmlConvert.ToSByte(s); } catch (Exception e) { exception_Real = e; } InterceptionMaintenance.enableInterception( ); try { returnValue_Intercepted = System.Xml.XmlConvert.ToSByte(s); } catch (Exception e) { exception_Intercepted = e; } Return((exception_Real.Messsage == exception_Intercepted.Message) && (returnValue_Real == returnValue_Intercepted)); }
public static System.SByte Read(ref System.SByte location) => throw null;
public static void Write(ref System.SByte location, System.SByte value) => throw null;
public void DelItem(RPC.PackageWriter pkg, System.UInt64 roleId, System.UInt64 itemId, System.SByte bDestroy) { pkg.Write(roleId); pkg.Write(itemId); pkg.Write(bDestroy); pkg.SetMethod(10); }
#pragma warning restore 649 public bool Equals(System.SByte i) { return(i == Value); }
/** 設定。 */ public void Reset(System.SByte a_raw) { this.valuetype = ValueType.SignedNumber; this.raw = (SIGNED_NUMBER_TYPE)a_raw; }
public void DisconnectPlayer(RPC.PackageWriter pkg, System.UInt64 accountId, System.SByte serverType) { pkg.Write(accountId); pkg.Write(serverType); pkg.SetMethod(16); }
public static string Hex(System.SByte Number) { }
public virtual void Write(System.SByte value) { }
public IndentedStringBuilder Insert(System.Int32 index, System.SByte value) { _inner.Insert(index, value); return(this); }
public void AddValue(string name, System.SByte value) { }
public IndentedStringBuilder Append(System.SByte value) { AppendIndent(); _inner.Append(value); return(this); }
public NavSatStatus() { status = 0; service = 0; }
public static System.SByte VolatileRead(System.SByte& address) { }
/** 値設定。 * * -128 -- 127 * */ public void SetSbyte(System.SByte a_value) { this.jsonstring = null; this.value.Reset(a_value); }
public static string Oct(System.SByte Number) { }
public Int8() { data = 0; }
public void Emit(System.Reflection.Emit.OpCode opcode, System.SByte arg) => throw null;
private static bool is_integer(bytechar c) { return(c >= (bytechar)'0' && c <= (bytechar)'9'); // this gets compiled to (uint8_t)(c - '0') <= 9 on all decent compilers //return (uint8_t) (c - '0') <= 9; }
public StringBuilder Insert(int index, System.SByte value) { }
public void LogoutAccount(RPC.PackageWriter pkg, System.UInt64 accountId, System.SByte serverType) { pkg.Write(accountId); pkg.Write(serverType); pkg.SetMethod(3); }
public StringBuilder Append(System.SByte value) { }
public void RPC_DSTalkMsg(RPC.PackageWriter pkg, System.UInt64 planesId, System.String sender, System.SByte channel, System.UInt64 targetId, System.String msg, RPC.DataWriter hyperlink) { pkg.Write(planesId); pkg.Write(sender); pkg.Write(channel); pkg.Write(targetId); pkg.Write(msg); pkg.Write(hyperlink); pkg.SetMethod(12); }
public static int Len(System.SByte Expression) { }
public static unsafe void PutInt8(Int8 x, byte[] b, int pos) { Debug.Assert(b.Length - pos >= sizeof(Int8)); fixed (byte* sb = b) { *((Int8*)(sb + pos)) = x; } }
public static void VolatileWrite(System.SByte& address, System.SByte value) { }