text
stringlengths 27
1.4k
|
|---|
public override string ToString(){StringBuilder r = new StringBuilder();r.Append("(");for (int i = 0; i < subfilters.Length; i++){if (i > 0){r.Append(" AND ");}r.Append(subfilters[i].ToString());}r.Append(")");return r.ToString();}
|
public override bool Equals(object o){return o is FrenchStemmer;}
|
public MergedCellsTable(){_mergedRegions = new List<CellRangeAddress>();}
|
public PrecedencePredicateTransition(ATNState target, int precedence): base(target){this.precedence = precedence;}
|
public override String ToFormulaString(){throw new RecordFormatException("Coding Error: Expected ExpPtg to be Converted from Shared to Non-Shared Formula by ValueRecordsAggregate, but it wasn't");}
|
public override IParseTree GetChild(int i){return children != null && i >= 0 && i < children.Count ? children[i] : null;}
|
public virtual java.util.ListIterator<E> listIterator(int location){lock (mutex){return list.listIterator(location);}}
|
public virtual java.lang.StringBuffer getBuffer(){return buf;}
|
public BytesRefHash(ByteBlockPool pool, int capacity, BytesStartArray bytesStartArray){hashSize = capacity;hashHalfSize = hashSize >> 1;hashMask = hashSize - 1;this.pool = pool;ids = new int[hashSize];Arrays.Fill(ids, -1);this.bytesStartArray = bytesStartArray;bytesStart = bytesStartArray.Init();bytesUsed = bytesStartArray.BytesUsed() == null ? Counter.NewCounter() : bytesStartArray.BytesUsed();bytesUsed.AddAndGet(hashSize * RamUsageEstimator.NUM_BYTES_INT32);}
|
public virtual GetIdentityDkimAttributesResponse GetIdentityDkimAttributes(GetIdentityDkimAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetIdentityDkimAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = GetIdentityDkimAttributesResponseUnmarshaller.Instance;return Invoke<GetIdentityDkimAttributesResponse>(request, options);}
|
public virtual DescribeSubnetsResponse DescribeSubnets(DescribeSubnetsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeSubnetsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeSubnetsResponseUnmarshaller.Instance;return Invoke<DescribeSubnetsResponse>(request, options);}
|
public override void Serialize(ILittleEndianOutput out1){if (TextLength > 0){out1.WriteShort(TextLength);out1.WriteByte(field_2_hasMultibyte ? 0x01 : 0x00);if (field_2_hasMultibyte){StringUtil.PutUnicodeLE(field_3_text, out1);}else{StringUtil.PutCompressedUnicode(field_3_text, out1);}}}
|
public DeleteMessageRequest(string queueUrl, string receiptHandle){_queueUrl = queueUrl;_receiptHandle = receiptHandle;}
|
public virtual int Find(char[] key, int start){int d;char p = m_root;int i = start;char c;while (p != 0){if (m_sc[p] == 0xFFFF){if (StrCmp(key, i, m_kv.Array, m_lo[p]) == 0){return m_eq[p];}else{return -1;}}c = key[i];d = c - m_sc[p];if (d == 0){if (c == 0){return m_eq[p];}i++;p = m_eq[p];}else if (d < 0){p = m_lo[p];}else{p = m_hi[p];}}return -1;}
|
public virtual DescribeIdFormatResponse DescribeIdFormat(DescribeIdFormatRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeIdFormatRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeIdFormatResponseUnmarshaller.Instance;return Invoke<DescribeIdFormatResponse>(request, options);}
|
public virtual void setCharAt(int index, char ch){if (index < 0 || index >= count){throw indexAndLength(index);}if (shared){value = (char[])value.Clone();shared = false;}value[index] = ch;}
|
public virtual FieldFragList CreateFieldFragList(FieldPhraseList fieldPhraseList,int fragCharSize){FieldFragList ffl = new SimpleFieldFragList(fragCharSize);List<WeightedPhraseInfo> wpil = new List<WeightedPhraseInfo>();using (IEnumerator<WeightedPhraseInfo> ite = fieldPhraseList.PhraseList.GetEnumerator()){WeightedPhraseInfo phraseInfo = null;while (true){if (!ite.MoveNext()) break;phraseInfo = ite.Current;if (phraseInfo == null) break;wpil.Add(phraseInfo);}if (wpil.Count > 0)ffl.Add(0, int.MaxValue, wpil);return ffl;}}
|
public virtual IList<string> GetModifiedList(){return modifiedList;}
|
public virtual int capacity(){lock (this){return elementData.Length;}}
|
public GermanLightStemFilterFactory(IDictionary<string, string> args): base(args){if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
|
public void SetAnchor(short col1, int row1, int x1, int y1, short col2, int row2, int x2, int y2){CheckRange(x1, 0, 1023, "dx1");CheckRange(x2, 0, 1023, "dx2");CheckRange(y1, 0, 255, "dy1");CheckRange(y2, 0, 255, "dy2");CheckRange(col1, 0, 255, "col1");CheckRange(col2, 0, 255, "col2");CheckRange(row1, 0, 255 * 256, "row1");CheckRange(row2, 0, 255 * 256, "row2");this.Col1 = col1;this.Row1 = row1;this.Dx1 = x1;this.Dy1 = y1;this.Col2 = col2;this.Row2 = row2;this.Dx2 = x2;this.Dy2 = y2;}
|
public static ErrorEval ValueOf(int errorCode){FormulaError error = FormulaError.ForInt(errorCode);if (evals.ContainsKey(error))return evals[error];throw new RuntimeException("Unhandled error type for code " + errorCode);}
|
public static long CalculateChecksum(byte[] data){CRC32 sum = new CRC32();return (long)sum.ByteCRC(ref data);}
|
public virtual RevCommit LookupCommit(AnyObjectId id){RevCommit c = (RevCommit)objects.Get(id);if (c == null){c = CreateCommit(id);objects.Add(c);}return c;}
|
public override string ToString(){QueryText text = this.values[0];return "<path start='" + text.Begin + "' end='" + text.End + "' path='"+ GetPathString() + "'/>";}
|
public override TokenStream Create(TokenStream input){StopFilter stopFilter = new StopFilter(m_luceneMatchVersion, input, stopWords);stopFilter.SetEnablePositionIncrements(enablePositionIncrements);return stopFilter;}
|
public virtual DeleteStreamProcessorResponse DeleteStreamProcessor(DeleteStreamProcessorRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteStreamProcessorRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteStreamProcessorResponseUnmarshaller.Instance;return Invoke<DeleteStreamProcessorResponse>(request, options);}
|
public RuleWithSetExceptions(string suffix, int min, string replacement, string[] exceptions) : base(suffix, min, replacement){for (int i = 0; i < exceptions.Length; i++){if (!exceptions[i].EndsWith(suffix, StringComparison.Ordinal)){throw new Exception("useless exception '" + exceptions[i] + "' does not end with '" + suffix + "'");}}this.m_exceptions = new CharArraySet(LuceneVersion.LUCENE_CURRENT,exceptions, false);}
|
public virtual CreateClientVpnRouteResponse CreateClientVpnRoute(CreateClientVpnRouteRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateClientVpnRouteRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateClientVpnRouteResponseUnmarshaller.Instance;return Invoke<CreateClientVpnRouteResponse>(request, options);}
|
public RangeTransition(ATNState target, int from, int to): base(target){this.from = from;this.to = to;}
|
public TypeAsPayloadTokenFilterFactory(IDictionary<string, string> args): base(args){if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
|
public virtual void FromRaw(int[] ints, int p){w1 = ints[p];w2 = ints[p + 1];w3 = ints[p + 2];w4 = ints[p + 3];w5 = ints[p + 4];}
|
public ICUNormalizer2Filter(TokenStream input, Normalizer2 normalizer): base(input){this.normalizer = normalizer;this.termAtt = AddAttribute<ICharTermAttribute>();}
|
public static TreeFilter Create(TreeFilter a){return new NGit.Treewalk.Filter.NotTreeFilter(a);}
|
public virtual bool isMalformed(){return this.type == TYPE_MALFORMED_INPUT;}
|
public override void EnterRecursionRule(ParserRuleContext localctx, int state, int ruleIndex, int precedence){_parentContextStack.Push(Tuple.Create(RuleContext, localctx.invokingState));base.EnterRecursionRule(localctx, state, ruleIndex, precedence);}
|
public virtual DescribeAddressesResponse DescribeAddresses(DescribeAddressesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeAddressesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeAddressesResponseUnmarshaller.Instance;return Invoke<DescribeAddressesResponse>(request, options);}
|
public virtual int GetEstimatedUniqueValues(){return GetEstimatedNumberUniqueValuesAllowingForCollisions(_bloomSize, _filter.Cardinality());}
|
public virtual DescribeTransformJobResponse DescribeTransformJob(DescribeTransformJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeTransformJobRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeTransformJobResponseUnmarshaller.Instance;return Invoke<DescribeTransformJobResponse>(request, options);}
|
public override Object Clone(){return CloneViaReserialise();}
|
public override void Decode(long[] blocks, int blocksOffset, long[] values, int valuesOffset, int iterations){for (int i = 0; i < iterations; ++i){long block0 = blocks[blocksOffset++];values[valuesOffset++] = (long)((ulong)block0 >> 40);values[valuesOffset++] = ((long)((ulong)block0 >> 16)) & 16777215L;long block1 = blocks[blocksOffset++];values[valuesOffset++] = ((block0 & 65535L) << 8) | ((long)((ulong)block1 >> 56));values[valuesOffset++] = ((long)((ulong)block1 >> 32)) & 16777215L;values[valuesOffset++] = ((long)((ulong)block1 >> 8)) & 16777215L;long block2 = blocks[blocksOffset++];values[valuesOffset++] = ((block1 & 255L) << 16) | ((long)((ulong)block2 >> 48));values[valuesOffset++] = ((long)((ulong)block2 >> 24)) & 16777215L;values[valuesOffset++] = block2 & 16777215L;}}
|
public virtual FieldInfo FieldInfo(int fieldNumber){if (fieldNumber < 0){throw new System.ArgumentException("Illegal field number: " + fieldNumber);}Index.FieldInfo ret;byNumber.TryGetValue(fieldNumber, out ret);return ret;}
|
public virtual DescribeIdentityPoolResponse DescribeIdentityPool(DescribeIdentityPoolRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeIdentityPoolRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeIdentityPoolResponseUnmarshaller.Instance;return Invoke<DescribeIdentityPoolResponse>(request, options);}
|
public static string GetText(XmlNode e){StringBuilder sb = new StringBuilder();GetTextBuffer(e, sb);return sb.ToString();}
|
public virtual void delete(int key){int i = binarySearch(mKeys, 0, mSize, key);if (i >= 0){removeAt(i);}}
|
public virtual GetCurrentMetricDataResponse GetCurrentMetricData(GetCurrentMetricDataRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetCurrentMetricDataRequestMarshaller.Instance;options.ResponseUnmarshaller = GetCurrentMetricDataResponseUnmarshaller.Instance;return Invoke<GetCurrentMetricDataResponse>(request, options);}
|
public virtual void Append(string name, FileMode mode, AnyObjectId id){Append(Constants.Encode(name), mode, id);}
|
public string replacement(){return replacementChars;}
|
public WindowProtectRecord(bool protect):this(0){Protect = (protect);}
|
public static bool equals(long[] array1, long[] 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 override PredictionContext GetParent(int index){System.Diagnostics.Debug.Assert(index == 0);return parent;}
|
public override string ToQueryString(IEscapeQuerySyntax escapeSyntaxParser){return "*:*";}
|
public override SeekStatus SeekCeil(BytesRef term){throw new System.NotSupportedException(this.GetType().Name + " does not support seeking");}
|
public BindInstance2VpcRequest(): base("Ots", "2016-06-20", "BindInstance2Vpc", "ots", "openAPI"){Method = MethodType.POST;}
|
public virtual UpdateTableResponse UpdateTable(string tableName, ProvisionedThroughput provisionedThroughput){var request = new UpdateTableRequest();request.TableName = tableName;request.ProvisionedThroughput = provisionedThroughput;return UpdateTable(request);}
|
public bool Get(int index){return @in.Get(docMap.NewToOld(index));}
|
public virtual GetQueueAttributesResponse GetQueueAttributes(GetQueueAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetQueueAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = GetQueueAttributesResponseUnmarshaller.Instance;return Invoke<GetQueueAttributesResponse>(request, options);}
|
public virtual UpdateUserRoutingProfileResponse UpdateUserRoutingProfile(UpdateUserRoutingProfileRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateUserRoutingProfileRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateUserRoutingProfileResponseUnmarshaller.Instance;return Invoke<UpdateUserRoutingProfileResponse>(request, options);}
|
public int GetMidIx(){int ixDiff = _highIx - _lowIx;if (ixDiff < 2){return -1;}return _lowIx + (ixDiff / 2);}
|
public virtual MergeCommandResult GetMergeResult(){return this.mergeResult;}
|
public void SetAsActiveCell(){int row = _record.Row;int col = _record.Column;this._sheet.Sheet.SetActiveCell(row, col);}
|
public virtual InviteMembersResponse InviteMembers(InviteMembersRequest request){var options = new InvokeOptions();options.RequestMarshaller = InviteMembersRequestMarshaller.Instance;options.ResponseUnmarshaller = InviteMembersResponseUnmarshaller.Instance;return Invoke<InviteMembersResponse>(request, options);}
|
public FormatTrackingHSSFListener(IHSSFListener childListener){this.childListener = childListener;}
|
public UpdateDistributionRequest(string id, string ifMatch, DistributionConfig distributionConfig){_id = id;_ifMatch = ifMatch;_distributionConfig = distributionConfig;}
|
public GetLogEventsRequest(string logGroupName, string logStreamName){_logGroupName = logGroupName;_logStreamName = logStreamName;}
|
public override string ToString(){return "FlushInfo [numDocs=" + NumDocs + ", estimatedSegmentSize=" + EstimatedSegmentSize + "]";}
|
public virtual GrowableWriter Resize(int newSize){GrowableWriter next = new GrowableWriter(BitsPerValue, newSize, acceptableOverheadRatio);int limit = Math.Min(Count, newSize);PackedInt32s.Copy(current, 0, next, 0, limit, PackedInt32s.DEFAULT_BUFFER_SIZE);return next;}
|
public Analyzer(ReuseStrategy reuseStrategy){this.reuseStrategy = reuseStrategy;}
|
public void Reset(){index = -1;line = 0;charPos = -1;dfaState = null;}
|
public EmbeddedObjectRefSubRecord(){field_2_unknownFormulaData = new byte[] { 0x02, 0x6C, 0x6A, 0x16, 0x01, }; field_6_unknown = EMPTY_BYTE_ARRAY;field_4_ole_classname = null;field_4_unknownByte = null;}
|
public override string ToString(){return "doc=" + Doc + " score=" + Score + " shardIndex=" + ShardIndex;}
|
public static double kthLargest(double[] v, int k){double r = double.NaN;k--; if (v != null && v.Length > k && k >= 0){Array.Sort(v);r = v[v.Length - k - 1];}return r;}
|
public int Get(int forwardId, int backwardId){return costs[backwardId][forwardId];}
|
public virtual void Sort(){Arrays.Sort(entries, 0, count);}
|
public virtual StemmerOverrideMap Build(){ByteSequenceOutputs outputs = ByteSequenceOutputs.Singleton;Builder<BytesRef> builder = new Builder<BytesRef>(FST.INPUT_TYPE.BYTE4, outputs);int[] sort = hash.Sort(BytesRef.UTF8SortedAsUnicodeComparer);Int32sRef intsSpare = new Int32sRef();int size = hash.Count;for (int i = 0; i < size; i++){int id = sort[i];BytesRef bytesRef = hash.Get(id, spare);UnicodeUtil.UTF8toUTF32(bytesRef, intsSpare);builder.Add(intsSpare, new BytesRef(outputValues[id]));}return new StemmerOverrideMap(builder.Finish(), ignoreCase);}
|
public LexerCustomAction(int ruleIndex, int actionIndex){this.ruleIndex = ruleIndex;this.actionIndex = actionIndex;}
|
public virtual DescribeDevicePolicyConfigurationResponse DescribeDevicePolicyConfiguration(DescribeDevicePolicyConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeDevicePolicyConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeDevicePolicyConfigurationResponseUnmarshaller.Instance;return Invoke<DescribeDevicePolicyConfigurationResponse>(request, options);}
|
public CreateLBCookieStickinessPolicyRequest(string loadBalancerName, string policyName){_loadBalancerName = loadBalancerName;_policyName = policyName;}
|
public static short[] Grow(short[] array){return Grow(array, 1 + array.Length);}
|
public static AttrPtg CreateSpace(SpaceType type, int count){int data = ((int) type) & 0x00FF | (count << 8) & 0x00FFFF;return new AttrPtg(space.Set(0), data, null, -1);}
|
public override bool Equals(Object obj){if (this == obj)return true;return false;}
|
public virtual void setDSTSavings(int milliseconds){throw new System.NotImplementedException();}
|
public virtual DescribeAccountResponse DescribeAccount(DescribeAccountRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeAccountRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeAccountResponseUnmarshaller.Instance;return Invoke<DescribeAccountResponse>(request, options);}
|
public virtual int GetCellsVal(){int size = 0;foreach (Row row in rows)size += row.GetCellsVal();return size;}
|
public override bool EqualsSameType(object other){MutableValueBool b = (MutableValueBool)other;return Value == b.Value && Exists == b.Exists;}
|
public override K next(){return this.nextEntry().key;}
|
public virtual CreateDBClusterResponse CreateDBCluster(CreateDBClusterRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDBClusterRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDBClusterResponseUnmarshaller.Instance;return Invoke<CreateDBClusterResponse>(request, options);}
|
public override bool Equals(Object o){if (!(o is FormatRun)){return false;}FormatRun other = (FormatRun)o;return _character == other._character && _fontIndex == other._fontIndex;}
|
public static ValueEval GetSingleValue(ValueEval arg, int srcCellRow, int srcCellCol){ValueEval result;if (arg is RefEval){result = ChooseSingleElementFromRef((RefEval)arg);}else if (arg is AreaEval){result = ChooseSingleElementFromArea((AreaEval)arg, srcCellRow, srcCellCol);}else{result = arg;}if (result is ErrorEval){throw new EvaluationException((ErrorEval)result);}return result;}
|
public GermanStemFilterFactory(IDictionary<string, string> args): base(args){if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
|
public virtual ModifyClusterSubnetGroupResponse ModifyClusterSubnetGroup(ModifyClusterSubnetGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyClusterSubnetGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyClusterSubnetGroupResponseUnmarshaller.Instance;return Invoke<ModifyClusterSubnetGroupResponse>(request, options);}
|
public virtual FacetLabel Subpath(int length){if (length >= this.Length || length < 0){return this;}else{return new FacetLabel(this, length);}}
|
public IDataValidationConstraint CreateDecimalConstraint(int operatorType, String formula1, String formula2){return DVConstraint.CreateNumericConstraint(ValidationType.DECIMAL, operatorType, formula1, formula2);}
|
public override java.nio.ByteBuffer put(byte b){if (_position == _limit){throw new java.nio.BufferOverflowException();}backingArray[offset + _position++] = b;return this;}
|
public virtual DescribeUserProfileResponse DescribeUserProfile(DescribeUserProfileRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeUserProfileRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeUserProfileResponseUnmarshaller.Instance;return Invoke<DescribeUserProfileResponse>(request, options);}
|
public K firstKey(){java.util.MapClass.Entry<K, V> entry = this.endpoint(true);if (entry == null){throw new java.util.NoSuchElementException();}return entry.getKey();}
|
public virtual DescribeAutoScalingGroupsResponse DescribeAutoScalingGroups(DescribeAutoScalingGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeAutoScalingGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeAutoScalingGroupsResponseUnmarshaller.Instance;return Invoke<DescribeAutoScalingGroupsResponse>(request, options);}
|
public override Type GetListenerType(){return typeof(RefsChangedListener);}
|
public int GetWordCost(int wordId){return WORD_COST;}
|
public override void Serialize(ILittleEndianOutput out1){out1.WriteByte(field_1_horizontalAlignment);out1.WriteByte(field_2_verticalAlignment);out1.WriteShort(field_3_DisplayMode);out1.WriteInt(field_4_rgbColor);out1.WriteInt(field_5_x);out1.WriteInt(field_6_y);out1.WriteInt(field_7_width);out1.WriteInt(field_8_height);out1.WriteShort(field_9_options1);out1.WriteShort(field_10_IndexOfColorValue);out1.WriteShort(field_11_options2);out1.WriteShort(field_12_textRotation);}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.