text
stringlengths
27
1.4k
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request){var options = new InvokeOptions();options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;return Invoke<UntagResourceResponse>(request, options);}
public override string GetInflectionForm(int wordId){return null;}
public Ref3DPxg(int externalWorkbookNumber, SheetIdentifier sheetName, CellReference c): base(c){this.externalWorkbookNumber = externalWorkbookNumber;this.firstSheetName = sheetName.SheetId.Name;if (sheetName is SheetRangeIdentifier){this.lastSheetName = ((SheetRangeIdentifier)sheetName).LastSheetIdentifier.Name;}else{this.lastSheetName = null;}}
public ModifyJumpserverPasswordRequest(): base("HPC", "2016-06-03", "ModifyJumpserverPassword"){Method = MethodType.POST;}
public virtual SearchLocalGatewayRoutesResponse SearchLocalGatewayRoutes(SearchLocalGatewayRoutesRequest request){var options = new InvokeOptions();options.RequestMarshaller = SearchLocalGatewayRoutesRequestMarshaller.Instance;options.ResponseUnmarshaller = SearchLocalGatewayRoutesResponseUnmarshaller.Instance;return Invoke<SearchLocalGatewayRoutesResponse>(request, options);}
public virtual void write(byte[] buffer){throw new System.NotImplementedException();}
public ExtendedPivotTableViewFieldsRecord(RecordInputStream in1){grbit1 = in1.ReadInt();grbit2 = in1.ReadUByte();citmShow = in1.ReadUByte();isxdiSort = in1.ReadUShort();isxdiShow = in1.ReadUShort();switch (in1.Remaining) {case 0:reserved1 = 0;reserved2 = 0;subName = null;return;case 10:break;default:throw new RecordFormatException("Unexpected remaining size (" + in1.Remaining + ")");}int cchSubName = in1.ReadUShort();reserved1 = in1.ReadInt();reserved2 = in1.ReadInt();if (cchSubName != STRING_NOT_PRESENT_LEN){subName = in1.ReadUnicodeLEString(cchSubName);}}
public static double Cosh(double d){double ePowX = Math.Pow(Math.E, d);double ePowNegX = Math.Pow(Math.E, -d);d = (ePowX + ePowNegX) / 2;return d;}
public virtual IList<string> GetDFAStrings(){IList<string> s = new List<string>();for (int d = 0; d < Interpreter.atn.decisionToDFA.Length; d++){DFA dfa = Interpreter.atn.decisionToDFA[d];s.Add(dfa.ToString(Vocabulary));}return s;}
public LexerChannelAction(int channel){this.channel = channel;}
public MappingCharFilter(NormalizeCharMap normMap, TextReader @in): base(@in){_input = GetBufferedReader(@in);_input.Mark(BufferedCharFilter.DEFAULT_CHAR_BUFFER_SIZE);buffer.Reset(_input);map = normMap.map;cachedRootArcs = normMap.cachedRootArcs;if (map != null){fstReader = map.GetBytesReader();}else{fstReader = null;}}
public override string ToString(){string newline = Environment.NewLine;StringBuilder sb = new StringBuilder();sb.Append(sequence.ToString());sb.Append(newline);return sb.ToString();}
public override void VisitContainedRecords(RecordVisitor rv){for (int i = 0; i < _cfHeaders.Count; i++){CFRecordsAggregate subAgg = (CFRecordsAggregate)_cfHeaders[i];subAgg.VisitContainedRecords(rv);}}
public static bool equals(short[] array1, short[] array2){if (array1 == array2){return true;}if (array1 == null || array2 == null || array1.Length != array2.Length){return false;}{for (int i = 0; i < array1.Length; i++){if (array1[i] != array2[i]){return false;}}}return true;}
public String GetString(){return GetString(field_2_bytes, codepage);}
public SimpleDate(DateTime date){year = date.Year;month = date.Month;day = date.Day;ticks = date.Ticks;}
public override TreeFilter Clone(){throw new InvalidOperationException("Do not clone this kind of filter: " + GetType().FullName);}
public virtual string GetText(Interval interval){int start = interval.a;int stop = interval.b;if (start < 0 || stop < 0){return string.Empty;}LazyInit();if (stop >= tokens.Count){stop = tokens.Count - 1;}StringBuilder buf = new StringBuilder();for (int i = start; i <= stop; i++){IToken t = tokens[i];if (t.Type == TokenConstants.EOF){break;}buf.Append(t.Text);}return buf.ToString();}
public virtual CancelStepsResponse CancelSteps(CancelStepsRequest request){var options = new InvokeOptions();options.RequestMarshaller = CancelStepsRequestMarshaller.Instance;options.ResponseUnmarshaller = CancelStepsResponseUnmarshaller.Instance;return Invoke<CancelStepsResponse>(request, options);}
public override long RamBytesUsed(){return 0;}
public override bool contains(object o){return this._enclosing.containsValue(o);}
public override int codePointBefore(int index){lock (this){return base.codePointBefore(index);}}
public DeleteApplicationRequest(string applicationName){_applicationName = applicationName;}
public LazyDocument(IndexReader reader, int docID){this.reader = reader;this.docID = docID;}
public static int TrimLeadingWhitespace(byte[] raw, int start, int end){while (start < end && IsWhitespace(raw[start])){start++;}return start;}
public int[] GetMap(){return (int[])map.Clone(); }
public void set(E @object){iterator.set(@object);}
public virtual ModifyCurrentDBClusterCapacityResponse ModifyCurrentDBClusterCapacity(ModifyCurrentDBClusterCapacityRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyCurrentDBClusterCapacityRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyCurrentDBClusterCapacityResponseUnmarshaller.Instance;return Invoke<ModifyCurrentDBClusterCapacityResponse>(request, options);}
public CancelRepoBuildRequest(): base("cr", "2016-06-07", "CancelRepoBuild", "cr", "openAPI"){UriPattern = "/repos/[RepoNamespace]/[RepoName]/build/[BuildId]/cancel";Method = MethodType.POST;}
public virtual java.nio.LongBuffer get(long[] dst, int dstOffset, int longCount){java.util.Arrays.checkOffsetAndCount(dst.Length, dstOffset, longCount);if (longCount > remaining()){throw new java.nio.BufferUnderflowException();}{for (int i = dstOffset; i < dstOffset + longCount; ++i){dst[i] = get();}}return this;}
public SpreadsheetVersion GetSpreadsheetVersion(){return SpreadsheetVersion.EXCEL97;}
public override bool Equals(object o){if (o is android.graphics.Point){android.graphics.Point p = (android.graphics.Point)o;return this.x == p.x && this.y == p.y;}return false;}
public virtual int NumNodes(){return NumNodes(rootNode);}
public override string ToString(){return base.ToString() + flags;}
public EnglishPossessiveFilterFactory(IDictionary<string, string> args) : base(args){AssureMatchVersion();if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
public static double Atanh(double d){return Math.Log((1 + d) / (1 - d)) / 2;}
public override WindowsIndexInput clone(){WindowsIndexInput clone = (WindowsIndexInput)base.clone();clone.isClone = true;return clone;}
public ParseException(Token currentToken,int[][] expectedTokenSequences,string[] tokenImage): base(Initialize(currentToken, expectedTokenSequences, tokenImage)){this.CurrentToken = currentToken;this.ExpectedTokenSequences = expectedTokenSequences;this.TokenImage = tokenImage;}
public long getTotalATNLookaheadOps(){DecisionInfo[] decisions = atnSimulator.getDecisionInfo();long k = 0;for (int i = 0; i < decisions.Length; i++){k += decisions[i].SLL_ATNTransitions;k += decisions[i].LL_ATNTransitions;}return k;}
public java.lang.StringBuffer reverse(){lock (this){reverse0();return this;}}
public DescribeLoadBalancersRequest(List<string> loadBalancerNames){_loadBalancerNames = loadBalancerNames;}
public override string ToString(){return '~' + base.ToString();}
public static ISignatureComposer GetComposer(){if (null == composer){composer = new RoaSignatureComposer();}return composer;}
public override bool ready(){lock (@lock){if (buf == null){throw new System.IO.IOException("Reader is closed");}return (buf.Length - pos > 0 || @in.ready());}}
public virtual GetClientCertificatesResponse GetClientCertificates(GetClientCertificatesRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetClientCertificatesRequestMarshaller.Instance;options.ResponseUnmarshaller = GetClientCertificatesResponseUnmarshaller.Instance;return Invoke<GetClientCertificatesResponse>(request, options);}
public static int Tagger(byte[] b, int ptr){int sz = b.Length;if (ptr == 0){ptr += 48;}while (ptr < sz){if (b[ptr] == '\n'){return -1;}int m = Match(b, ptr, ObjectChecker.tagger);if (m >= 0){return m;}ptr = NextLF(b, ptr);}return -1;}
public virtual GetInstanceStateResponse GetInstanceState(GetInstanceStateRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetInstanceStateRequestMarshaller.Instance;options.ResponseUnmarshaller = GetInstanceStateResponseUnmarshaller.Instance;return Invoke<GetInstanceStateResponse>(request, options);}
public virtual bool isEmpty(){lock (mutex){return c.isEmpty();}}
public virtual long GetCount(){return cnt;}
public virtual DeleteConfigurationSetEventDestinationResponse DeleteConfigurationSetEventDestination(DeleteConfigurationSetEventDestinationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteConfigurationSetEventDestinationRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteConfigurationSetEventDestinationResponseUnmarshaller.Instance;return Invoke<DeleteConfigurationSetEventDestinationResponse>(request, options);}
public virtual DeleteNetworkInterfacePermissionResponse DeleteNetworkInterfacePermission(DeleteNetworkInterfacePermissionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteNetworkInterfacePermissionRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteNetworkInterfacePermissionResponseUnmarshaller.Instance;return Invoke<DeleteNetworkInterfacePermissionResponse>(request, options);}
public Tag(string key, string value){_key = key;_value = value;}
public virtual CreateTrafficMirrorTargetResponse CreateTrafficMirrorTarget(CreateTrafficMirrorTargetRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateTrafficMirrorTargetRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateTrafficMirrorTargetResponseUnmarshaller.Instance;return Invoke<CreateTrafficMirrorTargetResponse>(request, options);}
public GetGroupPolicyRequest(string groupName, string policyName){_groupName = groupName;_policyName = policyName;}
public virtual DeleteVoiceChannelResponse DeleteVoiceChannel(DeleteVoiceChannelRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteVoiceChannelRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteVoiceChannelResponseUnmarshaller.Instance;return Invoke<DeleteVoiceChannelResponse>(request, options);}
public virtual ModifyDBClusterSnapshotAttributeResponse ModifyDBClusterSnapshotAttribute(ModifyDBClusterSnapshotAttributeRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyDBClusterSnapshotAttributeRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyDBClusterSnapshotAttributeResponseUnmarshaller.Instance;return Invoke<ModifyDBClusterSnapshotAttributeResponse>(request, options);}
public virtual RegisterAVSDeviceResponse RegisterAVSDevice(RegisterAVSDeviceRequest request){var options = new InvokeOptions();options.RequestMarshaller = RegisterAVSDeviceRequestMarshaller.Instance;options.ResponseUnmarshaller = RegisterAVSDeviceResponseUnmarshaller.Instance;return Invoke<RegisterAVSDeviceResponse>(request, options);}
public virtual void SetValue(char[] newValue){Clear();if (newValue != null){value = new char[newValue.Length];System.Array.Copy(newValue, 0, value, 0, newValue.Length);}}
public override int CompareSameType(object other){MutableValueDouble b = (MutableValueDouble)other;int c = Value.CompareTo(b.Value);if (c != 0){return c;}if (!Exists){return -1;}if (!b.Exists){return 1;}return 0;}
public virtual UpdateCodeRepositoryResponse UpdateCodeRepository(UpdateCodeRepositoryRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateCodeRepositoryRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateCodeRepositoryResponseUnmarshaller.Instance;return Invoke<UpdateCodeRepositoryResponse>(request, options);}
public static FormulaError ForString(String code){if (smap.ContainsKey(code))return smap[code];throw new ArgumentException("Unknown error code: " + code);}
public virtual UnmonitorInstancesResponse UnmonitorInstances(UnmonitorInstancesRequest request){var options = new InvokeOptions();options.RequestMarshaller = UnmonitorInstancesRequestMarshaller.Instance;options.ResponseUnmarshaller = UnmonitorInstancesResponseUnmarshaller.Instance;return Invoke<UnmonitorInstancesResponse>(request, options);}
public override bool IsInteractive(){return false;}
public void SetColor(short byteIndex, byte red, byte green, byte blue){int i = byteIndex - FIRST_COLOR_INDEX;if (i < 0 || i >= STANDARD_PALETTE_SIZE){return;}while (field_2_colors.Count <= i){field_2_colors.Add(new PColor((byte)0, (byte)0, (byte)0));}PColor custColor = new PColor(red, green, blue);field_2_colors[i] = custColor;}
public virtual bool IsUser(){return type == JapaneseTokenizerType.USER;}
public virtual DeleteMeetingResponse DeleteMeeting(DeleteMeetingRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteMeetingRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteMeetingResponseUnmarshaller.Instance;return Invoke<DeleteMeetingResponse>(request, options);}
public void SerializeTokens(ILittleEndianOutput out1){out1.Write(_byteEncoding, 0, _encodedTokenLen);}
public IQueryNode Query(string field){List<IQueryNode> clauses = null;IQueryNode c, first = null;first = DisjQuery(field);while (true){switch ((jj_ntk == -1) ? Jj_ntk() : jj_ntk){case RegexpToken.NOT:case RegexpToken.PLUS:case RegexpToken.MINUS:case RegexpToken.LPAREN:case RegexpToken.QUOTED:case RegexpToken.TERM:case RegexpToken.REGEXPTERM:case RegexpToken.RANGEIN_START:case RegexpToken.RANGEEX_START:case RegexpToken.NUMBER:;break;default:jj_la1[4] = jj_gen;goto label_1_break;}c = DisjQuery(field);if (clauses == null){clauses = new List<IQueryNode>();clauses.Add(first);}clauses.Add(c);}label_1_break:if (clauses != null){{ if (true) return new BooleanQueryNode(clauses); }}else{{ if (true) return first; }}throw new Exception("Missing return statement in function");}
public virtual RebootDBInstanceResponse RebootDBInstance(RebootDBInstanceRequest request){var options = new InvokeOptions();options.RequestMarshaller = RebootDBInstanceRequestMarshaller.Instance;options.ResponseUnmarshaller = RebootDBInstanceResponseUnmarshaller.Instance;return Invoke<RebootDBInstanceResponse>(request, options);}
public virtual java.util.SortedSet<E> tailSet(E start){return tailSet(start, true);}
public static bool equals(byte[] array1, byte[] array2, int length){if (array1 == array2){return true;}if (array1 == null || array2 == null || array1.Length < length || array2.Length <length){return false;}{for (int i = 0; i < length; i++){if (array1[i] != array2[i]){return false;}}}return true;}
public virtual bool contains(object @object){lock (mutex){return c.contains(@object);}}
public virtual RestoreDomainAccessResponse RestoreDomainAccess(RestoreDomainAccessRequest request){var options = new InvokeOptions();options.RequestMarshaller = RestoreDomainAccessRequestMarshaller.Instance;options.ResponseUnmarshaller = RestoreDomainAccessResponseUnmarshaller.Instance;return Invoke<RestoreDomainAccessResponse>(request, options);}
public static bool WasEscaped(ICharSequence text, int index){if (text is UnescapedCharSequence)return ((UnescapedCharSequence)text).wasEscaped[index];else return false;}
public void SetCmd(char way, int cmd){Cell c = At(way);if (c == null){c = new Cell();c.cmd = cmd;cells[way] = c;}else{c.cmd = cmd;}c.cnt = (cmd >= 0) ? 1 : 0;}
public ValueRangeRecord(RecordInputStream in1){field_1_minimumAxisValue = in1.ReadDouble();field_2_maximumAxisValue = in1.ReadDouble();field_3_majorIncrement = in1.ReadDouble();field_4_minorIncrement = in1.ReadDouble();field_5_categoryAxisCross = in1.ReadDouble();field_6_options = in1.ReadShort();}
public void AddFiles(ICollection<string> files){CheckFileNames(files);setFiles.UnionWith(files);}
public virtual CreateClientVpnEndpointResponse CreateClientVpnEndpoint(CreateClientVpnEndpointRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateClientVpnEndpointRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateClientVpnEndpointResponseUnmarshaller.Instance;return Invoke<CreateClientVpnEndpointResponse>(request, options);}
public static java.nio.IntBuffer allocate(int capacity_1){if (capacity_1 < 0){throw new System.ArgumentException();}return new java.nio.ReadWriteIntArrayBuffer(capacity_1);}
public virtual FilePath GetFile(){return file;}
public static CFRecordsAggregate CreateCFAggregate(RecordStream rs){Record rec = rs.GetNext();if (rec.Sid != CFHeaderRecord.sid){throw new InvalidOperationException("next record sid was " + rec.Sid+ " instead of " + CFHeaderRecord.sid + " as expected");}CFHeaderRecord header = (CFHeaderRecord)rec;int nRules = header.NumberOfConditionalFormats;CFRuleRecord[] rules = new CFRuleRecord[nRules];for (int i = 0; i < rules.Length; i++){rules[i] = (CFRuleRecord)rs.GetNext();}return new CFRecordsAggregate(header, rules);}
public override void Save(){byte[] @out;string text = ToText();if (utf8Bom){ByteArrayOutputStream bos = new ByteArrayOutputStream();bos.Write(unchecked((int)(0xEF)));bos.Write(unchecked((int)(0xBB)));bos.Write(unchecked((int)(0xBF)));bos.Write(Sharpen.Runtime.GetBytesForString(text, RawParseUtils.UTF8_CHARSET.Name()));@out = bos.ToByteArray();}else{@out = Constants.Encode(text);}LockFile lf = new LockFile(GetFile(), fs);if (!lf.Lock()){throw new LockFailedException(GetFile());}try{lf.SetNeedSnapshot(true);lf.Write(@out);if (!lf.Commit()){throw new IOException(MessageFormat.Format(JGitText.Get().cannotCommitWriteTo, GetFile()));}}finally{lf.Unlock();}snapshot = lf.GetCommitSnapshot();hash = Hash(@out);FireConfigChangedEvent();}
public DeleteTopicRequest(string topicArn){_topicArn = topicArn;}
public static bool Contains(CellRangeAddress crA, CellRangeAddress crB){int firstRow = crB.FirstRow;int lastRow = crB.LastRow;int firstCol = crB.FirstColumn;int lastCol = crB.LastColumn;return le(crA.FirstRow, firstRow) && ge(crA.LastRow, lastRow)&& le(crA.FirstColumn, firstCol) && ge(crA.LastColumn, lastCol);}
public override void clear(){if (_size != 0){java.util.Arrays.fill(array, 0, _size, null);_size = 0;modCount++;}}
public override String ToString(){return this.GetType().ToString();}
public virtual NGit.Api.CherryPickCommand Include(Ref commit){CheckCallable();commits.AddItem(commit);return this;}
public override string ToString(){return "NO_MERGES";}
public virtual FileMode GetOldMode(int nthParent){return oldModes[nthParent];}
public void Reset(TextReader reader){this.reader = reader;nextPos = 0;nextWrite = 0;count = 0;end = false;}
public override void Serialize(ILittleEndianOutput out1){String formatString = FormatString;out1.WriteShort(IndexCode);out1.WriteShort(formatString.Length);out1.WriteByte(field_3_hasMultibyte ? 0x01 : 0x00);if (field_3_hasMultibyte){StringUtil.PutUnicodeLE(formatString, out1);}else{StringUtil.PutCompressedUnicode(formatString, out1);}}
public virtual DescribePendingMaintenanceActionsResponse DescribePendingMaintenanceActions(DescribePendingMaintenanceActionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribePendingMaintenanceActionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribePendingMaintenanceActionsResponseUnmarshaller.Instance;return Invoke<DescribePendingMaintenanceActionsResponse>(request, options);}
public virtual DescribeServicesResponse DescribeServices(DescribeServicesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeServicesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeServicesResponseUnmarshaller.Instance;return Invoke<DescribeServicesResponse>(request, options);}
public CellType GetCachedResultType(){if (specialCachedValue == null){return CellType.Numeric;}return specialCachedValue.GetValueType();}
public override bool Stem(){int v_1;int v_2;int v_3;int v_4;int v_5;v_1 = m_cursor;do{if (!r_mark_regions()){goto lab0;}} while (false);lab0:m_cursor = v_1;m_limit_backward = m_cursor; m_cursor = m_limit;v_2 = m_limit - m_cursor;do{if (!r_main_suffix()){goto lab1;}} while (false);lab1:m_cursor = m_limit - v_2;v_3 = m_limit - m_cursor;do{if (!r_consonant_pair()){goto lab2;}} while (false);lab2:m_cursor = m_limit - v_3;v_4 = m_limit - m_cursor;do{if (!r_other_suffix()){goto lab3;}} while (false);lab3:m_cursor = m_limit - v_4;v_5 = m_limit - m_cursor;do{if (!r_undouble()){goto lab4;}} while (false);lab4:m_cursor = m_limit - v_5;m_cursor = m_limit_backward; return true;}
public void SetCachedResultErrorCode(int errorCode){specialCachedValue = SpecialCachedValue.CreateCachedErrorCode(errorCode);}
public void SetMinShingleSize(int minShingleSize){if (minShingleSize < 2){throw new System.ArgumentException("Min shingle size must be >= 2");}if (minShingleSize > maxShingleSize){throw new System.ArgumentException("Min shingle size must be <= max shingle size");}this.minShingleSize = minShingleSize;gramSize = new CircularSequence(this);}
public override void write(int value){throw new System.NotImplementedException();}
public override int SerializeSimplePart(byte[] data, int pos){LittleEndian.PutShort(data, pos, Id);LittleEndian.PutInt(data, pos + 2, _complexData.Length);return 6;}
public InputMismatchException(Parser recognizer): base(recognizer, ((ITokenStream)recognizer.InputStream), recognizer.RuleContext){this.OffendingToken = recognizer.CurrentToken;}