text
stringlengths
27
1.4k
public override string ToString(){return "pred_" + ruleIndex + ":" + predIndex;}
public PatternSyntaxException(string description, string pattern, int index){this.desc = description;this.pattern = pattern;this.index = index;}
public AlphaAnimation(float fromAlpha, float toAlpha){mFromAlpha = fromAlpha;mToAlpha = toAlpha;}
public override int DoLogic(){ITaxonomyWriter taxonomyWriter = RunData.TaxonomyWriter;if (taxonomyWriter != null){taxonomyWriter.Commit();}else{throw new InvalidOperationException("TaxonomyWriter is not currently open");}return 1;}
public DeltaIndex(byte[] sourceBuffer){src = sourceBuffer;DeltaIndexScanner scan = new DeltaIndexScanner(src, src.Length);table = scan.table;tableMask = scan.tableMask;entries = new long[1 + CountEntries(scan)];CopyEntries(scan);}
public int previousIndex(){return pos;}
public override IQueryMaker GetQueryMaker(){return RunData.GetQueryMaker(this);}
public JapaneseTokenizerFactory(IDictionary<string, string> args): base(args){Enum.TryParse(Get(args, MODE, JapaneseTokenizer.DEFAULT_MODE.ToString()), true, out mode);userDictionaryPath = Get(args, USER_DICT_PATH);userDictionaryEncoding = Get(args, USER_DICT_ENCODING);discardPunctuation = GetBoolean(args, DISCARD_PUNCTUATION, true);if (args.Count > 0){throw new ArgumentException("Unknown parameters: " + args);}}
public long? LongValue(string key){if (null != DictionaryUtil.Get(ResponseDictionary, key)){return long.Parse(DictionaryUtil.Get(ResponseDictionary, key));}return null;}
public GetLibraryRequest(): base("CloudPhoto", "2017-07-11", "GetLibrary", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}
public short GetFontOfFormattingRun(int index){UnicodeString.FormatRun r = _string.GetFormatRun(index);return r.FontIndex;}
public override int FillFields(byte[] data, int offset, IEscherRecordFactory recordFactory){int bytesRemaining = ReadHeader(data, offset);int pos = offset + 8;int size = 0;field_1_shapeIdMax = LittleEndian.GetInt(data, pos + size); size += 4;int field_2_numIdClusters = LittleEndian.GetInt(data, pos + size); size += 4;field_3_numShapesSaved = LittleEndian.GetInt(data, pos + size); size += 4;field_4_drawingsSaved = LittleEndian.GetInt(data, pos + size); size += 4;field_5_fileIdClusters = new FileIdCluster[(bytesRemaining - size) / 8]; for (int i = 0; i < field_5_fileIdClusters.Length; i++){field_5_fileIdClusters[i] = new FileIdCluster(LittleEndian.GetInt(data, pos + size), LittleEndian.GetInt(data, pos + size + 4));maxDgId = Math.Max(maxDgId, field_5_fileIdClusters[i].DrawingGroupId);size += 8;}bytesRemaining -= size;if (bytesRemaining != 0)throw new RecordFormatException("Expecting no remaining data but got " + bytesRemaining + " byte(s).");return 8 + size + bytesRemaining;}
public override void Encode(long[] values, int valuesOffset, byte[] blocks, int blocksOffset, int iterations){for (int i = 0; i < iterations; ++i){long block = Encode(values, valuesOffset);valuesOffset += valueCount;blocksOffset = WriteInt64(block, blocks, blocksOffset);}}
public virtual GetTerminologyResponse GetTerminology(GetTerminologyRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetTerminologyRequestMarshaller.Instance;options.ResponseUnmarshaller = GetTerminologyResponseUnmarshaller.Instance;return Invoke<GetTerminologyResponse>(request, options);}
public void Serialize(ILittleEndianOutput out1){out1.WriteShort(_character);out1.WriteShort(_fontIndex);}
public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(field_1_options);}
public virtual SearchFacesResponse SearchFaces(SearchFacesRequest request){var options = new InvokeOptions();options.RequestMarshaller = SearchFacesRequestMarshaller.Instance;options.ResponseUnmarshaller = SearchFacesResponseUnmarshaller.Instance;return Invoke<SearchFacesResponse>(request, options);}
public override int GetPositionIncrementGap(string fieldName){return GetWrappedAnalyzer(fieldName).GetPositionIncrementGap(fieldName);}
public virtual DescribeSchemaResponse DescribeSchema(DescribeSchemaRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeSchemaRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeSchemaResponseUnmarshaller.Instance;return Invoke<DescribeSchemaResponse>(request, options);}
public override int size(){return this._enclosing.size();}
public virtual PackIndex.MutableEntry CloneEntry(){PackIndex.MutableEntry r = new PackIndex.MutableEntry();EnsureId();r.idBuffer.FromObjectId(idBuffer);r.offset = offset;return r;}
public OperateEquipmentRequest(): base("industry-brain", "2018-07-12", "OperateEquipment"){Protocol = ProtocolType.HTTPS;Method = MethodType.POST;}
public virtual bool add(E @object){lock (mutex){return c.add(@object);}}
public override bool Equals(Object o){if (this == o) return true;if (!(o is EscherSimpleProperty)) return false;EscherSimpleProperty escherSimpleProperty = (EscherSimpleProperty)o;if (propertyValue != escherSimpleProperty.propertyValue) return false;if (Id != escherSimpleProperty.Id) return false;return true;}
public sealed override java.nio.FloatBuffer asFloatBuffer(){return java.nio.FloatToByteBufferAdapter.asFloatBuffer(this);}
public void RemoveThumbnail(){MutableSection s = (MutableSection)FirstSection;s.RemoveProperty(PropertyIDMap.PID_THUMBNAIL);}
public static int CompareIgnoreCase(string a, string b){for (int i = 0; i < a.Length && i < b.Length; i++){int d = ToLowerCase(a[i]) - ToLowerCase(b[i]);if (d != 0){return d;}}return a.Length - b.Length;}
public ViewDefinitionRecord(RecordInputStream in1){rwFirst = in1.ReadUShort();rwLast = in1.ReadUShort();colFirst = in1.ReadUShort();colLast = in1.ReadUShort();rwFirstHead = in1.ReadUShort();rwFirstData = in1.ReadUShort();colFirstData = in1.ReadUShort();iCache = in1.ReadUShort();reserved = in1.ReadUShort();sxaxis4Data = in1.ReadUShort();ipos4Data = in1.ReadUShort();cDim = in1.ReadUShort();cDimRw = in1.ReadUShort();cDimCol = in1.ReadUShort();cDimPg = in1.ReadUShort();cDimData = in1.ReadUShort();cRw = in1.ReadUShort();cCol = in1.ReadUShort();grbit = in1.ReadUShort();itblAutoFmt = in1.ReadUShort();int cchName = in1.ReadUShort();int cchData = in1.ReadUShort();name = StringUtil.ReadUnicodeString(in1, cchName);dataField = StringUtil.ReadUnicodeString(in1, cchData);}
public FormatRecord(RecordInputStream in1){field_1_index_code = in1.ReadShort();int field_3_unicode_len = in1.ReadShort();field_3_hasMultibyte = (in1.ReadByte() & (byte)0x01) != 0;if (field_3_hasMultibyte){field_4_formatstring = in1.ReadUnicodeLEString(field_3_unicode_len);}else{field_4_formatstring = in1.ReadCompressedUnicode(field_3_unicode_len);}}
public virtual DescribeBrokerResponse DescribeBroker(DescribeBrokerRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeBrokerRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeBrokerResponseUnmarshaller.Instance;return Invoke<DescribeBrokerResponse>(request, options);}
public virtual void Reset(){if (((ITokenStream)InputStream) != null){((ITokenStream)InputStream).Seek(0);}_errHandler.Reset(this);_ctx = null;_syntaxErrors = 0;_precedenceStack.Clear();_precedenceStack.Add(0);ATNSimulator interpreter = Interpreter;if (interpreter != null){interpreter.Reset();}}
public override bool Remove(object o){RevFlag flag = (RevFlag)o;if ((mask & flag.mask) == 0){return false;}mask &= ~flag.mask;for (int i = 0; i < active.Count; i++){if (active[i].mask == flag.mask){active.Remove(i);}}return true;}
public override object Format(Passage[] passages, string content){StringBuilder sb = new StringBuilder();int pos = 0;foreach (Passage passage in passages){if (passage.startOffset > pos && pos > 0){sb.Append(m_ellipsis);}pos = passage.startOffset;for (int i = 0; i < passage.numMatches; i++){int start = passage.matchStarts[i];int end = passage.matchEnds[i];if (start > pos){Append(sb, content, pos, start);}if (end > pos){sb.Append(m_preTag);Append(sb, content, Math.Max(pos, start), end);sb.Append(m_postTag);pos = end;}}Append(sb, content, pos, Math.Max(pos, passage.endOffset));pos = passage.endOffset;}return sb.ToString();}
public DrillSidewaysResult(Facets facets, TopDocs hits){this.Facets = facets;this.Hits = hits;}
public virtual ListTrafficPolicyInstancesByPolicyResponse ListTrafficPolicyInstancesByPolicy(ListTrafficPolicyInstancesByPolicyRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListTrafficPolicyInstancesByPolicyRequestMarshaller.Instance;options.ResponseUnmarshaller = ListTrafficPolicyInstancesByPolicyResponseUnmarshaller.Instance;return Invoke<ListTrafficPolicyInstancesByPolicyResponse>(request, options);}
public ComplexPhraseQuery(string field, string phrasedQueryStringContents,int slopFactor, bool inOrder){this.field = field;this.phrasedQueryStringContents = phrasedQueryStringContents;this.slopFactor = slopFactor;this.inOrder = inOrder;}
public override string ToString(string field){StringBuilder buffer = new StringBuilder();if (!m_term.Field.Equals(field, StringComparison.Ordinal)){buffer.Append(m_term.Field);buffer.Append(":");}buffer.Append(this.GetType().Name);buffer.Append(" {");buffer.Append('\n');buffer.Append(m_automaton.ToString());buffer.Append("}");buffer.Append(ToStringUtils.Boost(Boost));return buffer.ToString();}
public override String ToFormulaString(){return Name;}
public override Object Clone(){AreaRecord rec = new AreaRecord();rec.field_1_formatFlags = field_1_formatFlags;return rec;}
public override long RamBytesUsed(){return _termsCache.Values.Sum(simpleTextTerms => (simpleTextTerms != null) ? simpleTextTerms.RamBytesUsed() : 0);}
public DeleteConfigurationTemplateRequest(string applicationName, string templateName){_applicationName = applicationName;_templateName = templateName;}
public virtual IList<IToken> GetTokens(int start, int stop, int ttype){BitSet s = new BitSet(ttype);s.Set(ttype);return GetTokens(start, stop, s);}
public virtual DescribeIamInstanceProfileAssociationsResponse DescribeIamInstanceProfileAssociations(DescribeIamInstanceProfileAssociationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeIamInstanceProfileAssociationsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeIamInstanceProfileAssociationsResponseUnmarshaller.Instance;return Invoke<DescribeIamInstanceProfileAssociationsResponse>(request, options);}
public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval textArg){ValueEval veText1;try{veText1 = OperandResolver.GetSingleValue(textArg, srcRowIndex, srcColumnIndex);}catch (EvaluationException e){return e.GetErrorEval();}String text = OperandResolver.CoerceValueToString(veText1);if (text.Length == 0){return ErrorEval.VALUE_INVALID;}int code = (int)text[0];return new StringEval(code.ToString());}
public virtual AttachVpnGatewayResponse AttachVpnGateway(AttachVpnGatewayRequest request){var options = new InvokeOptions();options.RequestMarshaller = AttachVpnGatewayRequestMarshaller.Instance;options.ResponseUnmarshaller = AttachVpnGatewayResponseUnmarshaller.Instance;return Invoke<AttachVpnGatewayResponse>(request, options);}
public virtual int compareTo(java.nio.FloatBuffer otherBuffer){int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining() : otherBuffer.remaining();int thisPos = _position;int otherPos = otherBuffer._position;float thisFloat;float otherFloat;while (compareRemaining > 0){thisFloat = get(thisPos);otherFloat = otherBuffer.get(otherPos);if ((thisFloat != otherFloat) && ((thisFloat == thisFloat) || (otherFloat == otherFloat))){return thisFloat < otherFloat ? -1 : 1;}thisPos++;otherPos++;compareRemaining--;}return remaining() - otherBuffer.remaining();}
public java.util.regex.Matcher useTransparentBounds(bool value){transparentBounds = value;useTransparentBoundsImpl(address, value);return this;}
public virtual void remove(){if (this.lastEntryReturned == null){throw new System.InvalidOperationException();}if (this._enclosing.modCount != this.expectedModCount){throw new java.util.ConcurrentModificationException();}this._enclosing.remove(this.lastEntryReturned.key);this.lastEntryReturned = null;this.expectedModCount = this._enclosing.modCount;}
public override String ToFormulaString(){StringBuilder sb = new StringBuilder();if (externalWorkbookNumber >= 0){sb.Append('[');sb.Append(externalWorkbookNumber);sb.Append(']');}if (sheetName != null){sb.Append(sheetName);}sb.Append('!');sb.Append(ErrorConstants.GetText(ErrorConstants.ERROR_REF));return sb.ToString();}
public override string ToString(){return "MultiDocsEnum(" + Arrays.ToString(Subs) + ")";}
public virtual CreateVpnConnectionRouteResponse CreateVpnConnectionRoute(CreateVpnConnectionRouteRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateVpnConnectionRouteRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateVpnConnectionRouteResponseUnmarshaller.Instance;return Invoke<CreateVpnConnectionRouteResponse>(request, options);}
public virtual bool hasNext(){return this._next != null;}
public DeleteDBSecurityGroupRequest(string dbSecurityGroupName){_dbSecurityGroupName = dbSecurityGroupName;}
public int Compare(Property o1, Property o2){String VBA_PROJECT = "_VBA_PROJECT";String name1 = ((Property)o1).Name;String name2 = ((Property)o2).Name;int num = name1.Length - name2.Length;if (num == 0){if (name1.Equals(VBA_PROJECT, StringComparison.CurrentCulture)){num = 1;}else if (name2.Equals(VBA_PROJECT, StringComparison.CurrentCulture)){num = -1;}else{if (name1.StartsWith("__", StringComparison.Ordinal) && name2.StartsWith("__", StringComparison.Ordinal)){num = String.Compare(name1, name2, StringComparison.OrdinalIgnoreCase);}else if (name1.StartsWith("__", StringComparison.Ordinal)){num = 1;}else if (name2.StartsWith("__", StringComparison.Ordinal)){num = -1;}else{num = String.Compare(name1, name2, StringComparison.OrdinalIgnoreCase);}}}return num;}
public virtual java.nio.DoubleBuffer get(double[] dst, int dstOffset, int doubleCount){java.util.Arrays.checkOffsetAndCount(dst.Length, dstOffset, doubleCount);if (doubleCount > remaining()){throw new java.nio.BufferUnderflowException();}{for (int i = dstOffset; i < dstOffset + doubleCount; ++i){dst[i] = get();}}return this;}
public override CharsRef Add(CharsRef prefix, CharsRef output){Debug.Assert(prefix != null);Debug.Assert(output != null);if (prefix == NO_OUTPUT){return output;}else if (output == NO_OUTPUT){return prefix;}else{Debug.Assert(prefix.Length > 0);Debug.Assert(output.Length > 0);var result = new CharsRef(prefix.Length + output.Length);Array.Copy(prefix.Chars, prefix.Offset, result.Chars, 0, prefix.Length);Array.Copy(output.Chars, output.Offset, result.Chars, prefix.Length, output.Length);result.Length = prefix.Length + output.Length;return result;}}
public virtual UpdateProfileResponse UpdateProfile(UpdateProfileRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateProfileRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateProfileResponseUnmarshaller.Instance;return Invoke<UpdateProfileResponse>(request, options);}
public LikeThisQueryBuilder(Analyzer analyzer, string[] defaultFieldNames){this.analyzer = analyzer;this.defaultFieldNames = defaultFieldNames;}
public java.lang.StringBuffer insert(int index, long l){return insert(index, System.Convert.ToString(l));}
public Field(string name, BytesRef bytes, FieldType type){if (name == null){throw new System.ArgumentNullException("name", "name cannot be null");}if (type == null){throw new System.ArgumentNullException("type", "type cannot be null");}if (type.IsIndexed){throw new System.ArgumentException("Fields with BytesRef values cannot be indexed");}this.FieldsData = bytes;this.m_type = type;this.m_name = name;}
public virtual void clear(){mSize = 0;}
public virtual SrndQuery Parse2(string query){ReInit(new FastCharStream(new StringReader(query)));try{return TopSrndQuery();}catch (TokenMgrError tme){throw new ParseException(tme.Message);}}
public override int size(){return this._enclosing._size;}
public virtual DescribeConfigurationResponse DescribeConfiguration(DescribeConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeConfigurationResponseUnmarshaller.Instance;return Invoke<DescribeConfigurationResponse>(request, options);}
public virtual string GetCharErrorDisplay(int c){string s = GetErrorDisplay(c);return "'" + s + "'";}
public virtual DescribeHumanTaskUiResponse DescribeHumanTaskUi(DescribeHumanTaskUiRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeHumanTaskUiRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeHumanTaskUiResponseUnmarshaller.Instance;return Invoke<DescribeHumanTaskUiResponse>(request, options);}
public override void Run(){try{int n = task.RunAndMaybeStats(outerInstance.letChildReport);if (outerInstance.anyExhaustibleTasks){outerInstance.UpdateExhausted(task);}count += n;}catch (NoMoreDataException){outerInstance.exhausted = true;}catch (Exception e){throw new Exception(e.ToString(), e);}}
public virtual DescribeImagePermissionsResponse DescribeImagePermissions(DescribeImagePermissionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeImagePermissionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeImagePermissionsResponseUnmarshaller.Instance;return Invoke<DescribeImagePermissionsResponse>(request, options);}
public virtual object Clone(){object clone = null;try{clone = base.MemberwiseClone();}catch (Exception e){throw new InvalidOperationException(e.Message, e); }return clone;}
public override void RecycleByteBlocks(byte[][] blocks, int start, int end){int numBlocks = Math.Min(maxBufferedBlocks - freeBlocks, end - start);int size = freeBlocks + numBlocks;if (size >= freeByteBlocks.Length){var newBlocks = new byte[ArrayUtil.Oversize(size, RamUsageEstimator.NUM_BYTES_OBJECT_REF)][];Array.Copy(freeByteBlocks, 0, newBlocks, 0, freeBlocks);freeByteBlocks = newBlocks;}int stop = start + numBlocks;for (int i = start; i < stop; i++){freeByteBlocks[freeBlocks++] = blocks[i];blocks[i] = null;}for (int i = stop; i < end; i++){blocks[i] = null;}bytesUsed.AddAndGet(-(end - stop) * m_blockSize);Debug.Assert(bytesUsed.Get() >= 0);}
public GeohashPrefixTree(SpatialContext ctx, int maxLevels): base(ctx, maxLevels){IRectangle bounds = ctx.WorldBounds;if (bounds.MinX != -180){throw new ArgumentException("Geohash only supports lat-lon world bounds. Got " + bounds);}int Maxp = MaxLevelsPossible;if (maxLevels <= 0 || maxLevels > Maxp){throw new ArgumentException("maxLen must be [1-" + Maxp + "] but got " + maxLevels);}}
public void RemoveName(int namenum){_definedNames.RemoveAt(namenum);}
public virtual CancelSpotFleetRequestsResponse CancelSpotFleetRequests(CancelSpotFleetRequestsRequest request){var options = new InvokeOptions();options.RequestMarshaller = CancelSpotFleetRequestsRequestMarshaller.Instance;options.ResponseUnmarshaller = CancelSpotFleetRequestsResponseUnmarshaller.Instance;return Invoke<CancelSpotFleetRequestsResponse>(request, options);}
public GetIndustryInfoLineageListRequest(): base("industry-brain", "2018-07-12", "GetIndustryInfoLineageList"){Protocol = ProtocolType.HTTPS;}
public static double[] Grow(double[] array, int minSize){Debug.Assert(minSize >= 0, "size must be positive (got " + minSize + "): likely integer overflow?");if (array.Length < minSize){double[] newArray = new double[Oversize(minSize, RamUsageEstimator.NUM_BYTES_DOUBLE)];Array.Copy(array, 0, newArray, 0, array.Length);return newArray;}else{return array;}}
public override void SetResult(RefUpdate.Result status){this._enclosing.result = status;base.SetResult(status);}
public override void Decode(byte[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations){for (int i = 0; i < iterations; ++i){int byte0 = blocks[blocksOffset++] & 0xFF;int byte1 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = (byte0 << 2) | ((int)((uint)byte1 >> 6));int byte2 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = ((byte1 & 63) << 4) | ((int)((uint)byte2 >> 4));int byte3 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = ((byte2 & 15) << 6) | ((int)((uint)byte3 >> 2));int byte4 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = ((byte3 & 3) << 8) | byte4;}}
public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1, ValueEval arg2){AreaEval aeRange;double result;bool order = false;try{ValueEval ve = OperandResolver.GetSingleValue(arg0, srcRowIndex, srcColumnIndex);result = OperandResolver.CoerceValueToDouble(ve);if (Double.IsNaN(result) || Double.IsInfinity(result)){throw new EvaluationException(ErrorEval.NUM_ERROR);}aeRange = ConvertRangeArg(arg1);ve = OperandResolver.GetSingleValue(arg2, srcRowIndex, srcColumnIndex);int order_value = OperandResolver.CoerceValueToInt(ve);if (order_value == 0){order = true;}else if (order_value == 1){order = false;}else throw new EvaluationException(ErrorEval.NUM_ERROR);}catch (EvaluationException e){return e.GetErrorEval();}return eval(srcRowIndex, srcColumnIndex, result, aeRange, order);}
public virtual DeleteEventBusResponse DeleteEventBus(DeleteEventBusRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteEventBusRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteEventBusResponseUnmarshaller.Instance;return Invoke<DeleteEventBusResponse>(request, options);}
public static java.nio.ByteBuffer wrap(byte[] array_1, int start, int byteCount){java.util.Arrays.checkOffsetAndCount(array_1.Length, start, byteCount);java.nio.ByteBuffer buf = new java.nio.ReadWriteHeapByteBuffer(array_1);buf._position = start;buf._limit = start + byteCount;return buf;}
public string ApiVersion { get; private set; }
public virtual SearchResponse Search(SearchRequest request){var options = new InvokeOptions();options.RequestMarshaller = SearchRequestMarshaller.Instance;options.ResponseUnmarshaller = SearchResponseUnmarshaller.Instance;return Invoke<SearchResponse>(request, options);}
public virtual NGit.Api.PushCommand SetRemote(string remote){CheckCallable();this.remote = remote;return this;}
public virtual AcceptReservedInstancesExchangeQuoteResponse AcceptReservedInstancesExchangeQuote(AcceptReservedInstancesExchangeQuoteRequest request){var options = new InvokeOptions();options.RequestMarshaller = AcceptReservedInstancesExchangeQuoteRequestMarshaller.Instance;options.ResponseUnmarshaller = AcceptReservedInstancesExchangeQuoteResponseUnmarshaller.Instance;return Invoke<AcceptReservedInstancesExchangeQuoteResponse>(request, options);}
public virtual GetAuthorizationTokenResponse GetAuthorizationToken(GetAuthorizationTokenRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetAuthorizationTokenRequestMarshaller.Instance;options.ResponseUnmarshaller = GetAuthorizationTokenResponseUnmarshaller.Instance;return Invoke<GetAuthorizationTokenResponse>(request, options);}
public static InitCommand Init(){return new InitCommand();}
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 AndRevFilter.List(subfilters);}
public static PredictionContext MergeRoot(SingletonPredictionContext a,SingletonPredictionContext b,bool rootIsWildcard){if (rootIsWildcard){if (a == PredictionContext.EMPTY)return PredictionContext.EMPTY; if (b == PredictionContext.EMPTY)return PredictionContext.EMPTY; }else {if (a == EMPTY && b == EMPTY) return EMPTY; if (a == EMPTY){ int[] payloads = { b.returnState, EMPTY_RETURN_STATE };PredictionContext[] parents = { b.parent, null };PredictionContext joined =new ArrayPredictionContext(parents, payloads);return joined;}if (b == EMPTY){ int[] payloads = { a.returnState, EMPTY_RETURN_STATE };PredictionContext[] parents = { a.parent, null };PredictionContext joined =new ArrayPredictionContext(parents, payloads);return joined;}}return null;}
public virtual ListTerminologiesResponse ListTerminologies(ListTerminologiesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListTerminologiesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListTerminologiesResponseUnmarshaller.Instance;return Invoke<ListTerminologiesResponse>(request, options);}
public ModifyInstanceGroupsRequest(List<InstanceGroupModifyConfig> instanceGroups){_instanceGroups = instanceGroups;}
public override string ToString(){return "AnyObjectId[" + Name + "]";}
public override long RamBytesUsed(){long ramBytesUsed = 0;foreach (TermsReader r in fields.Values){if (r.index != null){ramBytesUsed += r.index.GetSizeInBytes();ramBytesUsed += RamUsageEstimator.SizeOf(r.metaBytesBlock);ramBytesUsed += RamUsageEstimator.SizeOf(r.metaLongsBlock);ramBytesUsed += RamUsageEstimator.SizeOf(r.skipInfo);ramBytesUsed += RamUsageEstimator.SizeOf(r.statsBlock);}}return ramBytesUsed;}
public static NGit.ObjectId FromRaw(int[] @is, int p){return new NGit.ObjectId(@is[p], @is[p + 1], @is[p + 2], @is[p + 3], @is[p + 4]);}
public virtual RemoveTagsFromStreamResponse RemoveTagsFromStream(RemoveTagsFromStreamRequest request){var options = new InvokeOptions();options.RequestMarshaller = RemoveTagsFromStreamRequestMarshaller.Instance;options.ResponseUnmarshaller = RemoveTagsFromStreamResponseUnmarshaller.Instance;return Invoke<RemoveTagsFromStreamResponse>(request, options);}
public virtual void writeChar(int value){throw new System.NotImplementedException();}
public override void SetParams(string @params){base.SetParams(@params);if (@params != null){commitUserData = @params;}}
public virtual ModifyOptionGroupResponse ModifyOptionGroup(ModifyOptionGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyOptionGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyOptionGroupResponseUnmarshaller.Instance;return Invoke<ModifyOptionGroupResponse>(request, options);}
public virtual CreateCommentResponse CreateComment(CreateCommentRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateCommentRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateCommentResponseUnmarshaller.Instance;return Invoke<CreateCommentResponse>(request, options);}
public override void SetParams(string @params){base.SetParams(@params);userData = @params;}
public virtual SearchAvailablePhoneNumbersResponse SearchAvailablePhoneNumbers(SearchAvailablePhoneNumbersRequest request){var options = new InvokeOptions();options.RequestMarshaller = SearchAvailablePhoneNumbersRequestMarshaller.Instance;options.ResponseUnmarshaller = SearchAvailablePhoneNumbersResponseUnmarshaller.Instance;return Invoke<SearchAvailablePhoneNumbersResponse>(request, options);}