text
stringlengths
27
1.4k
public CompositeReaderContext Build(){return (CompositeReaderContext)Build(null, reader, 0, 0);}
public virtual UpdateAddressBookResponse UpdateAddressBook(UpdateAddressBookRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateAddressBookRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateAddressBookResponseUnmarshaller.Instance;return Invoke<UpdateAddressBookResponse>(request, options);}
public override string ToString(){return "Point(" + x + ", " + y + ")";}
public virtual DescribeAccountAttributesResponse DescribeAccountAttributes(DescribeAccountAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeAccountAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeAccountAttributesResponseUnmarshaller.Instance;return Invoke<DescribeAccountAttributesResponse>(request, options);}
public static RevFilter Before(long ts){return new CommitTimeRevFilterBefore(ts);}
public override void SeekExact(BytesRef target, TermState otherState){Debug.Assert(otherState != null && otherState is BlockTermState);Debug.Assert(!doOrd || ((BlockTermState)otherState).Ord < outerInstance.numTerms);state.CopyFrom(otherState);seekPending = true;indexIsCurrent = false;term.CopyBytes(target);}
public virtual DescribeClusterParameterGroupsResponse DescribeClusterParameterGroups(DescribeClusterParameterGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeClusterParameterGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeClusterParameterGroupsResponseUnmarshaller.Instance;return Invoke<DescribeClusterParameterGroupsResponse>(request, options);}
public virtual BatchGetApplicationsResponse BatchGetApplications(BatchGetApplicationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchGetApplicationsRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchGetApplicationsResponseUnmarshaller.Instance;return Invoke<BatchGetApplicationsResponse>(request, options);}
public override string ToString(){return "dels=" + Arrays.ToString((Term[])item);}
public override FreeRefFunction FindFunction(String name){FreeRefFunction evaluatorForFunction;foreach (UDFFinder pack in _usedToolPacks){evaluatorForFunction = pack.FindFunction(name);if (evaluatorForFunction != null){return evaluatorForFunction;}}return null;}
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[LABEL]\n");buffer.Append(" .row = ").Append(StringUtil.ToHexString(Row)).Append("\n");buffer.Append(" .column = ").Append(StringUtil.ToHexString(Column)).Append("\n");buffer.Append(" .xfindex = ").Append(StringUtil.ToHexString(XFIndex)).Append("\n");buffer.Append(" .string_len = ").Append(StringUtil.ToHexString(field_4_string_len)).Append("\n");buffer.Append(" .unicode_flag = ").Append(StringUtil.ToHexString(field_5_unicode_flag)).Append("\n");buffer.Append(" .value = ").Append(Value).Append("\n");buffer.Append("[/LABEL]\n");return buffer.ToString();}
public static void VerifyLabel(string label){if (string.IsNullOrEmpty(label)){throw new System.ArgumentException("empty or null components not allowed; got: " + label);}}
public bool setReadOnly(){return setWritable(false, false);}
public virtual CopyImageResponse CopyImage(CopyImageRequest request){var options = new InvokeOptions();options.RequestMarshaller = CopyImageRequestMarshaller.Instance;options.ResponseUnmarshaller = CopyImageResponseUnmarshaller.Instance;return Invoke<CopyImageResponse>(request, options);}
public virtual CreateTrainingJobResponse CreateTrainingJob(CreateTrainingJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateTrainingJobRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateTrainingJobResponseUnmarshaller.Instance;return Invoke<CreateTrainingJobResponse>(request, options);}
public virtual DescribeDomainsResponse DescribeDomains(DescribeDomainsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeDomainsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeDomainsResponseUnmarshaller.Instance;return Invoke<DescribeDomainsResponse>(request, options);}
public override string ToString(){return "ngram(" + n + ")";}
public bool FormatMatches(ColumnInfoRecord other){if (_xf_index != other._xf_index){return false;}if (_options != other._options){return false;}if (_col_width != other._col_width){return false;}return true;}
public virtual AddCommand Add(){return new AddCommand(repo);}
public int limit(){return _limit;}
public override java.nio.CharBuffer asReadOnlyBuffer(){return java.nio.ReadOnlyCharArrayBuffer.copy(this, _mark);}
public override bool add(E @object){lock (this){if (elementCount == elementData.Length){growByOne();}elementData[elementCount++] = @object;modCount++;return true;}}
public virtual TSTNode GetNode(string key){return GetNode(key, rootNode);}
public virtual GetEventStreamResponse GetEventStream(GetEventStreamRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetEventStreamRequestMarshaller.Instance;options.ResponseUnmarshaller = GetEventStreamResponseUnmarshaller.Instance;return Invoke<GetEventStreamResponse>(request, options);}
public virtual SendMessageBatchResponse SendMessageBatch(SendMessageBatchRequest request){var options = new InvokeOptions();options.RequestMarshaller = SendMessageBatchRequestMarshaller.Instance;options.ResponseUnmarshaller = SendMessageBatchResponseUnmarshaller.Instance;return Invoke<SendMessageBatchResponse>(request, options);}
public virtual DescribeDirectConnectGatewayAttachmentsResponse DescribeDirectConnectGatewayAttachments(DescribeDirectConnectGatewayAttachmentsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeDirectConnectGatewayAttachmentsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeDirectConnectGatewayAttachmentsResponseUnmarshaller.Instance;return Invoke<DescribeDirectConnectGatewayAttachmentsResponse>(request, options);}
public override object Add(object prefix, object output){Debug.Assert(!(prefix is IList));if (!(output is IList)){return outputs.Add((T)prefix, (T)output);}else{IList outputList = (IList)output;IList<T> addedList = new JCG.List<T>(outputList.Count);foreach (object _output in outputList){addedList.Add(outputs.Add((T)prefix, (T)_output));}return addedList;}}
public ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1,ValueEval arg2, ValueEval arg3){return Evaluate(srcRowIndex, srcColumnIndex, arg0, arg1, arg2, arg3, DEFAULT_ARG4);}
public static IList<IParseTree> FindAllNodes(IParseTree t, int index, bool findTokens){IList<IParseTree> nodes = new List<IParseTree>();_findAllNodes(t, index, findTokens, nodes);return nodes;}
public bool ContainsChart(){EscherOptRecord optRecord = (EscherOptRecord)_boundAggregate.FindFirstWithId(EscherOptRecord.RECORD_ID);if (optRecord == null){return false;}for (IEnumerator it = optRecord.EscherProperties.GetEnumerator(); it.MoveNext(); ){EscherProperty prop = (EscherProperty)it.Current;if (prop.PropertyNumber == 896 && prop.IsComplex){EscherComplexProperty cp = (EscherComplexProperty)prop;String str = StringUtil.GetFromUnicodeLE(cp.ComplexData);if (str.Equals("Chart 1\0")){return true;}}}return false;}
public virtual int getWidth(){return w;}
public virtual StopInstanceResponse StopInstance(StopInstanceRequest request){var options = new InvokeOptions();options.RequestMarshaller = StopInstanceRequestMarshaller.Instance;options.ResponseUnmarshaller = StopInstanceResponseUnmarshaller.Instance;return Invoke<StopInstanceResponse>(request, options);}
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[TABLE]\n");buffer.Append(" .range = ").Append(Range.ToString()).Append("\n");buffer.Append(" .flags = ").Append(HexDump.ByteToHex(field_5_flags)).Append("\n");buffer.Append(" .alwaysClc= ").Append(IsAlwaysCalc).Append("\n");buffer.Append(" .reserved = ").Append(HexDump.IntToHex(field_6_res)).Append("\n");CellReference crRowInput = cr(field_7_rowInputRow, field_8_colInputRow);CellReference crColInput = cr(field_9_rowInputCol, field_10_colInputCol);buffer.Append(" .rowInput = ").Append(crRowInput.FormatAsString()).Append("\n");buffer.Append(" .colInput = ").Append(crColInput.FormatAsString()).Append("\n");buffer.Append("[/TABLE]\n");return buffer.ToString();}
public virtual RemoveTagsResponse RemoveTags(RemoveTagsRequest request){var options = new InvokeOptions();options.RequestMarshaller = RemoveTagsRequestMarshaller.Instance;options.ResponseUnmarshaller = RemoveTagsResponseUnmarshaller.Instance;return Invoke<RemoveTagsResponse>(request, options);}
public override bool HasNext(){if (this.next == null){this.next = this.Peek();}return this.next != null;}
public virtual long ByteCount(int packedIntsVersion, int valueCount, int bitsPerValue){return 8L * Int64Count(packedIntsVersion, valueCount, bitsPerValue);}
public GetQueueUrlRequest(string queueName){_queueName = queueName;}
public void AddEscherRecord(int index, EscherRecord element){escherRecords.Insert(index, element);}
public virtual ListInstanceGroupsResponse ListInstanceGroups(ListInstanceGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListInstanceGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListInstanceGroupsResponseUnmarshaller.Instance;return Invoke<ListInstanceGroupsResponse>(request, options);}
public TruncateTokenFilterFactory(IDictionary<string, string> args): base(args){var prefixLengthString = Get(args, PREFIX_LENGTH_KEY, "5");prefixLength = sbyte.Parse(prefixLengthString, NumberStyles.Integer, CultureInfo.InvariantCulture);if (prefixLength < 1){throw new System.ArgumentException(PREFIX_LENGTH_KEY + " parameter must be a positive number: " + prefixLengthString);}if (args.Count > 0){throw new System.ArgumentException("Unknown parameter(s): " + args);}}
public virtual GetDetectorResponse GetDetector(GetDetectorRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetDetectorRequestMarshaller.Instance;options.ResponseUnmarshaller = GetDetectorResponseUnmarshaller.Instance;return Invoke<GetDetectorResponse>(request, options);}
public virtual void Set(int index, int n){if (count < index){throw Sharpen.Extensions.CreateIndexOutOfRangeException(index);}else{if (count == index){Add(n);}else{entries[index] = n;}}}
public StatePair(State s1, State s2){this.S1 = s1;this.S2 = s2;}
public virtual DetachDiskResponse DetachDisk(DetachDiskRequest request){var options = new InvokeOptions();options.RequestMarshaller = DetachDiskRequestMarshaller.Instance;options.ResponseUnmarshaller = DetachDiskResponseUnmarshaller.Instance;return Invoke<DetachDiskResponse>(request, options);}
public virtual void Clear(){count = 0;}
public virtual java.util.ListIterator<E> listIterator(){lock (mutex){return list.listIterator();}}
public FieldDoc(int doc, float score, object[] fields, int shardIndex): base(doc, score, shardIndex){this.fields = fields;}
public ResourceRecord(string value){_value = value;}
public string getAuthority(){return decode(authority);}
public override void flush(){throw new System.NotImplementedException();}
public ListMultipartUploadsRequest(string accountId, string vaultName){_accountId = accountId;_vaultName = vaultName;}
public virtual UpdateRouteResponseResponse UpdateRouteResponse(UpdateRouteResponseRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateRouteResponseRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateRouteResponseResponseUnmarshaller.Instance;return Invoke<UpdateRouteResponseResponse>(request, options);}
public override bool ContainsKey(object name){return Get(name) != null;}
public SimpleRateLimiter(double mbPerSec){SetMbPerSec(mbPerSec);}
public virtual void ReleaseSession(RemoteSession session){session.Disconnect();}
public SetQuotaRequest(): base("CloudPhoto", "2017-07-11", "SetQuota", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}
public ParserATNSimulator(Parser parser, ATN atn,DFA[] decisionToDFA,PredictionContextCache sharedContextCache): base(atn, sharedContextCache){this.parser = parser;this.decisionToDFA = decisionToDFA;}
public virtual void remove(){object[] a = this._enclosing.array;int removalIdx = this.removalIndex;if (this._enclosing.modCount != this.expectedModCount){throw new java.util.ConcurrentModificationException();}if (removalIdx < 0){throw new System.InvalidOperationException();}System.Array.Copy(a, removalIdx + 1, a, removalIdx, this.remaining);a[--this._enclosing._size] = null;this.removalIndex = -1;this.expectedModCount = ++this._enclosing.modCount;}
public T GetPointAt(int index) {return elements[index];}
public virtual NGit.Api.StatusCommand SetWorkingTreeIt(WorkingTreeIterator workingTreeIt){this.workingTreeIt = workingTreeIt;return this;}
public virtual CharBlockArray Append(ICharSequence chars){return Append(chars, 0, chars.Length);}
public override void Clear(){current.Clear();}
public override String ToFormulaString(){return HSSFErrorConstants.GetText(field_1_error_code);}
public override Object Clone(){FtPioGrbitSubRecord rec = new FtPioGrbitSubRecord();rec.flags = this.flags;return rec;}
public PositionSpan(int start, int end){this.Start = start;this.End = end;}
public override void SetParams(string @params){base.SetParams(@params);StringTokenizer st = new StringTokenizer(@params, ",");while (st.MoveNext()){string param = st.Current;StringTokenizer expr = new StringTokenizer(param, ":");string key = expr.MoveNext() ? expr.Current : string.Empty;string value = expr.MoveNext() ? expr.Current : string.Empty;if (key.Equals("impl", StringComparison.Ordinal)){if (value.Equals("icu", StringComparison.OrdinalIgnoreCase))impl = Implementation.ICU;else throw new Exception("Unknown parameter " + param);}else{throw new Exception("Unknown parameter " + param);}}}
public virtual DeleteBuildResponse DeleteBuild(DeleteBuildRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteBuildRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteBuildResponseUnmarshaller.Instance;return Invoke<DeleteBuildResponse>(request, options);}
public virtual DescribeVolumeStatusResponse DescribeVolumeStatus(){return DescribeVolumeStatus(new DescribeVolumeStatusRequest());}
public virtual string getFlags(){return f;}
public virtual NGit.Api.ShowNoteCommand SetObjectId(RevObject id){CheckCallable();this.id = id;return this;}
public override TokenStream Create(TokenStream input){return new PatternReplaceFilter(input, pattern, replacement, replaceAll);}
public virtual void reset(){throw new System.NotImplementedException();}
public Ptg Get3DReferencePtg(CellReference cr, SheetIdentifier sheet){int extIx = GetSheetExtIx(sheet);return new Ref3DPtg(cr, extIx);}
public static void fill(bool[] array, int start, int end, bool value){java.util.Arrays.checkStartAndEnd(array.Length, start, end);{for (int i = start; i < end; i++){array[i] = value;}}}
public override TokenStream Create(TokenStream input){return new ICUFoldingFilter(input);}
public override string ToQueryString(IEscapeQuerySyntax escaper){return "[NTF]";}
public virtual NGit.Api.StashCreateCommand SetWorkingDirectoryMessage(string message){workingDirectoryMessage = message;return this;}
public SheetRangeEvaluator(int onlySheetIndex, SheetRefEvaluator sheetEvaluator): this(onlySheetIndex, onlySheetIndex, new SheetRefEvaluator[] { sheetEvaluator });
public static int[] Grow(int[] array, int minSize){Debug.Assert(minSize >= 0, "size must be positive (got " + minSize + "): likely integer overflow?");if (array.Length < minSize){int[] newArray = new int[Oversize(minSize, RamUsageEstimator.NUM_BYTES_INT32)];Array.Copy(array, 0, newArray, 0, array.Length);return newArray;}else{return array;}}
public static RevFilter Create(ICollection<RevFilter> list){if (list.Count < 2){throw new ArgumentException(JGitText.Get().atLeastTwoFiltersNeeded);}RevFilter[] subfilters = new RevFilter[list.Count];Sharpen.Collections.ToArray(list, subfilters);if (subfilters.Length == 2){return Create(subfilters[0], subfilters[1]);}return new OrRevFilter.List(subfilters);}
public virtual DeregisterOnPremisesInstanceResponse DeregisterOnPremisesInstance(DeregisterOnPremisesInstanceRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeregisterOnPremisesInstanceRequestMarshaller.Instance;options.ResponseUnmarshaller = DeregisterOnPremisesInstanceResponseUnmarshaller.Instance;return Invoke<DeregisterOnPremisesInstanceResponse>(request, options);}
public virtual ListDeliverabilityTestReportsResponse ListDeliverabilityTestReports(ListDeliverabilityTestReportsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListDeliverabilityTestReportsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListDeliverabilityTestReportsResponseUnmarshaller.Instance;return Invoke<ListDeliverabilityTestReportsResponse>(request, options);}
public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0,ValueEval arg1){double dn;try{ValueEval ve1 = OperandResolver.GetSingleValue(arg1, srcRowIndex, srcColumnIndex);dn = OperandResolver.CoerceValueToDouble(ve1);}catch (EvaluationException){return ErrorEval.VALUE_INVALID;}if (dn < 1.0){return ErrorEval.NUM_ERROR;}int k = (int)Math.Ceiling(dn);double result;try{double[] ds = NPOI.SS.Formula.Functions.AggregateFunction.ValueCollector.CollectValues(arg0);if (k > ds.Length){return ErrorEval.NUM_ERROR;}result = _isLarge ? StatsLib.kthLargest(ds, k) : StatsLib.kthSmallest(ds, k);NumericFunction.CheckValue(result);}catch (EvaluationException e){return e.GetErrorEval();}return new NumberEval(result);}
public ByteArrayDataInput(){Reset(BytesRef.EMPTY_BYTES);}
public override java.nio.ByteBuffer putDouble(double value){throw new System.NotImplementedException();}
public virtual ChangeMessageVisibilityResponse ChangeMessageVisibility(ChangeMessageVisibilityRequest request){var options = new InvokeOptions();options.RequestMarshaller = ChangeMessageVisibilityRequestMarshaller.Instance;options.ResponseUnmarshaller = ChangeMessageVisibilityResponseUnmarshaller.Instance;return Invoke<ChangeMessageVisibilityResponse>(request, options);}
public virtual UpdateWorkGroupResponse UpdateWorkGroup(UpdateWorkGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateWorkGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateWorkGroupResponseUnmarshaller.Instance;return Invoke<UpdateWorkGroupResponse>(request, options);}
public java.util.NavigableMap<K, V> tailMap(K fromInclusive){return this.subMap(fromInclusive, java.util.TreeMap.Bound.INCLUSIVE, default(K),java.util.TreeMap.Bound.NO_BOUND);}
public override string ToString(){return "2";}
public virtual NGit.Api.BlameCommand SetStartCommit(AnyObjectId commit){this.startCommit = commit.ToObjectId();return this;}
public virtual ModifyEbsDefaultKmsKeyIdResponse ModifyEbsDefaultKmsKeyId(ModifyEbsDefaultKmsKeyIdRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyEbsDefaultKmsKeyIdRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyEbsDefaultKmsKeyIdResponseUnmarshaller.Instance;return Invoke<ModifyEbsDefaultKmsKeyIdResponse>(request, options);}
public void RemoveAuthor(){MutableSection s = (MutableSection)FirstSection;s.RemoveProperty(PropertyIDMap.PID_AUTHOR);}
public override Ref Get(object key){string name = ToRefName((string)key);Ref @ref = resolved.Get(name);if (@ref == null){@ref = loose.Get(name);}if (@ref == null){@ref = packed.Get(name);}return @ref;}
public int AddConditionalFormatting(IConditionalFormatting cf){CFRecordsAggregate cfraClone = ((HSSFConditionalFormatting)cf).CFRecordsAggregate.CloneCFAggregate();return _conditionalFormattingTable.Add(cfraClone);}
public sealed override string ToString(){return GetType().FullName + "[" + this.canonicalName + "]";}
public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(Iterations);}
public virtual Query Build(IQueryNode queryNode){if (!(queryNode is MatchAllDocsQueryNode)){throw new QueryNodeException(new Message(QueryParserMessages.LUCENE_QUERY_CONVERSION_ERROR, queryNode.ToQueryString(new EscapeQuerySyntax()), queryNode.GetType().Name));}return new MatchAllDocsQuery();}
public virtual java.nio.LongBuffer get(long[] dst){return get(dst, 0, dst.Length);}
public override String ToFormulaString(String[] operands){StringBuilder buffer = new StringBuilder();buffer.Append(operands[0]);buffer.Append("/");buffer.Append(operands[1]);return buffer.ToString();}
public override void clear(){this._enclosing.clear();}