text
stringlengths 27
1.4k
|
|---|
public static void fill(int[] array, int start, int end, int value){java.util.Arrays.checkStartAndEnd(array.Length, start, end);{for (int i = start; i < end; i++){array[i] = value;}}}
|
public char YyCharAt(int pos){return zzBuffer[zzStartRead + pos];}
|
public virtual void PushMode(int m){_modeStack.Push(_mode);Mode(m);}
|
public virtual ICollection<string> GetCapabilities(){return capabilities;}
|
public virtual DescribeReservedInstancesListingsResponse DescribeReservedInstancesListings(){return DescribeReservedInstancesListings(new DescribeReservedInstancesListingsRequest());}
|
public virtual RegisterInstanceEventNotificationAttributesResponse RegisterInstanceEventNotificationAttributes(RegisterInstanceEventNotificationAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = RegisterInstanceEventNotificationAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = RegisterInstanceEventNotificationAttributesResponseUnmarshaller.Instance;return Invoke<RegisterInstanceEventNotificationAttributesResponse>(request, options);}
|
public virtual PutRuleResponse PutRule(PutRuleRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutRuleRequestMarshaller.Instance;options.ResponseUnmarshaller = PutRuleResponseUnmarshaller.Instance;return Invoke<PutRuleResponse>(request, options);}
|
public static byte[] Grow(byte[] array, int minSize){Debug.Assert(minSize >= 0, "size must be positive (got " + minSize + "): likely integer overflow?");if (array.Length < minSize){byte[] newArray = new byte[Oversize(minSize, 1)];Array.Copy(array, 0, newArray, 0, array.Length);return newArray;}else{return array;}}
|
public virtual NGit.Api.CleanCommand SetPaths(ICollection<string> paths){this.paths = paths;return this;}
|
protected internal override int GetLevelForDistance(double degrees){var grid = new GeohashPrefixTree(m_ctx, GeohashPrefixTree.MaxLevelsPossible);return grid.GetLevelForDistance(degrees);}
|
public virtual StartDocumentTextDetectionResponse StartDocumentTextDetection(StartDocumentTextDetectionRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartDocumentTextDetectionRequestMarshaller.Instance;options.ResponseUnmarshaller = StartDocumentTextDetectionResponseUnmarshaller.Instance;return Invoke<StartDocumentTextDetectionResponse>(request, options);}
|
public virtual string GetLine(){return line;}
|
public ValueEval GetItem(int index){if (index > _size){throw new IndexOutOfRangeException("Specified index (" + index+ ") is outside the allowed range (0.." + (_size - 1) + ")");}return _tableArray.GetRelativeValue(_rowIndex, index);}
|
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[IFMT]\n");buffer.Append(" .formatIndex = ").Append("0x").Append(HexDump.ToHex(FormatIndex)).Append(" (").Append(FormatIndex).Append(" )");buffer.Append(Environment.NewLine);buffer.Append("[/IFMT]\n");return buffer.ToString();}
|
protected internal SubmoduleSyncCommand(Repository repo) : base(repo){paths = new AList<string>();}
|
public virtual RegisterWorkflowTypeResponse RegisterWorkflowType(RegisterWorkflowTypeRequest request){var options = new InvokeOptions();options.RequestMarshaller = RegisterWorkflowTypeRequestMarshaller.Instance;options.ResponseUnmarshaller = RegisterWorkflowTypeResponseUnmarshaller.Instance;return Invoke<RegisterWorkflowTypeResponse>(request, options);}
|
public UnescapedCharSequence(char[] chars, bool[] wasEscaped, int offset,int length){this.chars = new char[length];this.wasEscaped = new bool[length];System.Array.Copy(chars, offset, this.chars, 0, length);System.Array.Copy(wasEscaped, offset, this.wasEscaped, 0, length);}
|
public virtual CreateDatasetGroupResponse CreateDatasetGroup(CreateDatasetGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDatasetGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDatasetGroupResponseUnmarshaller.Instance;return Invoke<CreateDatasetGroupResponse>(request, options);}
|
public override bool Equals(object obj){if (this == obj)return true;if (obj == null)return false;if (GetType() != obj.GetType())return false;FieldVals other = (FieldVals)obj;if (fieldName == null){if (other.fieldName != null)return false;}else if (!fieldName.Equals(other.fieldName, StringComparison.Ordinal))return false;if (J2N.BitConversion.SingleToInt32Bits(minSimilarity) != J2N.BitConversion.SingleToInt32Bits(other.minSimilarity))return false;if (prefixLength != other.prefixLength)return false;if (queryString == null){if (other.queryString != null)return false;}else if (!queryString.Equals(other.queryString, StringComparison.Ordinal))return false;return true;}
|
public virtual BuildSuggestersResponse BuildSuggesters(BuildSuggestersRequest request){var options = new InvokeOptions();options.RequestMarshaller = BuildSuggestersRequestMarshaller.Instance;options.ResponseUnmarshaller = BuildSuggestersResponseUnmarshaller.Instance;return Invoke<BuildSuggestersResponse>(request, options);}
|
public virtual GetRelationalDatabaseBundlesResponse GetRelationalDatabaseBundles(GetRelationalDatabaseBundlesRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetRelationalDatabaseBundlesRequestMarshaller.Instance;options.ResponseUnmarshaller = GetRelationalDatabaseBundlesResponseUnmarshaller.Instance;return Invoke<GetRelationalDatabaseBundlesResponse>(request, options);}
|
public virtual string GetMessages(){return messageBuffer != null ? messageBuffer.ToString() : string.Empty;}
|
public DelimitedPayloadTokenFilter(TokenStream input, char delimiter, IPayloadEncoder encoder): base(input){this.delimiter = delimiter;this.encoder = encoder;termAtt = AddAttribute<ICharTermAttribute>();payAtt = AddAttribute<IPayloadAttribute>();}
|
public void SetPrintArea(int sheetIndex, int startColumn, int endColumn,int startRow, int endRow){CellReference cell = new CellReference(startRow, startColumn, true, true);String reference = cell.FormatAsString();cell = new CellReference(endRow, endColumn, true, true);reference = reference + ":" + cell.FormatAsString();SetPrintArea(sheetIndex, reference);}
|
public void Normalise64bit(){int oldBitLen = _significand.BitLength();int sc = oldBitLen - C_64;if (sc == 0){return;}if (sc < 0){throw new InvalidOperationException("Not enough precision");}_binaryExponent += sc;if (sc > 32){int highShift = (sc - 1) & 0xFFFFE0;_significand = _significand>>(highShift);sc -= highShift;oldBitLen -= highShift;}if (sc < 1){throw new InvalidOperationException();}_significand = Rounder.Round(_significand, sc);if (_significand.BitLength() > oldBitLen){sc++;_binaryExponent++;}_significand = _significand>>(sc);}
|
public ObjRecord(RecordInputStream in1){byte[] subRecordData = in1.ReadRemainder();if (LittleEndian.GetUShort(subRecordData, 0) != CommonObjectDataSubRecord.sid){_uninterpretedData = subRecordData;subrecords = null;return;}subrecords = new List<SubRecord>();using (MemoryStream bais = new MemoryStream(subRecordData)){LittleEndianInputStream subRecStream = new LittleEndianInputStream(bais);CommonObjectDataSubRecord cmo = (CommonObjectDataSubRecord)SubRecord.CreateSubRecord(subRecStream, 0);subrecords.Add(cmo);while (true){SubRecord subRecord = SubRecord.CreateSubRecord(subRecStream, cmo.ObjectType);subrecords.Add(subRecord);if (subRecord.IsTerminating){break;}}int nRemainingBytes = subRecStream.Available();if (nRemainingBytes > 0){_isPaddedToQuadByteMultiple = subRecordData.Length % MAX_PAD_ALIGNMENT == 0;if (nRemainingBytes >= (_isPaddedToQuadByteMultiple ? MAX_PAD_ALIGNMENT : NORMAL_PAD_ALIGNMENT)){if (!CanPaddingBeDiscarded(subRecordData, nRemainingBytes)){String msg = "Leftover " + nRemainingBytes+ " bytes in subrecord data " + HexDump.ToHex(subRecordData);throw new RecordFormatException(msg);}_isPaddedToQuadByteMultiple = false;}}else{_isPaddedToQuadByteMultiple = false;}_uninterpretedData = null;}}
|
public FrenchLightStemFilterFactory(IDictionary<string, string> args) : base(args){if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
|
public virtual int size(){return elements.Length;}
|
public override bool Equals(object other){if (!(other is java.nio.IntBuffer)){return false;}java.nio.IntBuffer otherBuffer = (java.nio.IntBuffer)other;if (remaining() != otherBuffer.remaining()){return false;}int myPosition = _position;int otherPosition = otherBuffer._position;bool equalSoFar = true;while (equalSoFar && (myPosition < _limit)){equalSoFar = get(myPosition++) == otherBuffer.get(otherPosition++);}return equalSoFar;}
|
public static void fill(char[] array, int start, int end, char value){java.util.Arrays.checkStartAndEnd(array.Length, start, end);{for (int i = start; i < end; i++){array[i] = value;}}}
|
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[CALCMODE]\n");buffer.Append(" .calcmode = ").Append(StringUtil.ToHexString(GetCalcMode())).Append("\n");buffer.Append("[/CALCMODE]\n");return buffer.ToString();}
|
public virtual void SetCurrent(string value){m_current = value.ToCharArray();m_cursor = 0;m_limit = value.Length;m_limit_backward = 0;m_bra = m_cursor;m_ket = m_limit;}
|
public override java.nio.ShortBuffer put(int index, short c){checkIndex(index);backingArray[offset + index] = c;return this;}
|
public virtual DeleteEventSubscriptionResponse DeleteEventSubscription(DeleteEventSubscriptionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteEventSubscriptionRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteEventSubscriptionResponseUnmarshaller.Instance;return Invoke<DeleteEventSubscriptionResponse>(request, options);}
|
public void SetTokenType(string tokenType){this.tokenType = tokenType;}
|
public NumericDocValuesField(string name, long value): base(name, TYPE){FieldsData = new Int64(value);}
|
public AddTagsRequest(string resourceId){_resourceId = resourceId;}
|
public ValueEval GetRefEval(int rowIndex, int columnIndex){SheetRangeEvaluator sre = GetRefEvaluatorForCurrentSheet();return new LazyRefEval(rowIndex, columnIndex, sre);}
|
public virtual DescribeTaskDefinitionResponse DescribeTaskDefinition(DescribeTaskDefinitionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeTaskDefinitionRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeTaskDefinitionResponseUnmarshaller.Instance;return Invoke<DescribeTaskDefinitionResponse>(request, options);}
|
public void Sort(){if (count > 1){ArrayUtil.TimSort(points, 0, count);}}
|
public static RevFilter Before(DateTime ts){return Before(ts.GetTime());}
|
public virtual void set(E @object){throw new System.NotSupportedException();}
|
public EscherDggRecord GetDgg(){return dgg;}
|
public virtual ListenerHandle AddConfigChangedListener(ConfigChangedListener listener){return AddListener<ConfigChangedListener>(listener);}
|
public virtual DetectSentimentResponse DetectSentiment(DetectSentimentRequest request){var options = new InvokeOptions();options.RequestMarshaller = DetectSentimentRequestMarshaller.Instance;options.ResponseUnmarshaller = DetectSentimentResponseUnmarshaller.Instance;return Invoke<DetectSentimentResponse>(request, options);}
|
public override void Decode(byte[] blocks, int blocksOffset, long[] values, int valuesOffset, int iterations){for (int j = 0; j < iterations; ++j){var block = blocks[blocksOffset++];values[valuesOffset++] = ((int)((uint)block >> 6)) & 3;values[valuesOffset++] = ((int)((uint)block >> 4)) & 3;values[valuesOffset++] = ((int)((uint)block >> 2)) & 3;values[valuesOffset++] = block & 3;}}
|
public override Object Clone(){return new HeaderRecord(this.Text);}
|
public virtual CreateEndpointConfigResponse CreateEndpointConfig(CreateEndpointConfigRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateEndpointConfigRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateEndpointConfigResponseUnmarshaller.Instance;return Invoke<CreateEndpointConfigResponse>(request, options);}
|
public virtual android.view.animation.Interpolator getInterpolator(){return mInterpolator;}
|
public virtual GetSolutionMetricsResponse GetSolutionMetrics(GetSolutionMetricsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetSolutionMetricsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetSolutionMetricsResponseUnmarshaller.Instance;return Invoke<GetSolutionMetricsResponse>(request, options);}
|
public virtual StopActivityStreamResponse StopActivityStream(StopActivityStreamRequest request){var options = new InvokeOptions();options.RequestMarshaller = StopActivityStreamRequestMarshaller.Instance;options.ResponseUnmarshaller = StopActivityStreamResponseUnmarshaller.Instance;return Invoke<StopActivityStreamResponse>(request, options);}
|
public virtual ListTypedLinkFacetAttributesResponse ListTypedLinkFacetAttributes(ListTypedLinkFacetAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListTypedLinkFacetAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListTypedLinkFacetAttributesResponseUnmarshaller.Instance;return Invoke<ListTypedLinkFacetAttributesResponse>(request, options);}
|
public virtual ListSentimentDetectionJobsResponse ListSentimentDetectionJobs(ListSentimentDetectionJobsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListSentimentDetectionJobsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListSentimentDetectionJobsResponseUnmarshaller.Instance;return Invoke<ListSentimentDetectionJobsResponse>(request, options);}
|
public virtual GetAccountSendingEnabledResponse GetAccountSendingEnabled(GetAccountSendingEnabledRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetAccountSendingEnabledRequestMarshaller.Instance;options.ResponseUnmarshaller = GetAccountSendingEnabledResponseUnmarshaller.Instance;return Invoke<GetAccountSendingEnabledResponse>(request, options);}
|
public static int GetBuiltinFormat(String pFmt){String fmt;if (string.Compare(pFmt, ("TEXT"), StringComparison.OrdinalIgnoreCase) == 0){fmt = "@";}else{fmt = pFmt;}for (int i = 0; i < _formats.Length; i++){if (fmt.Equals(_formats[i])){return i;}}return -1;}
|
public override void SimpleValue(StringBuilder toAppendTo, Object value){FormatValue(toAppendTo, value);}
|
public virtual BatchCheckLayerAvailabilityResponse BatchCheckLayerAvailability(BatchCheckLayerAvailabilityRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchCheckLayerAvailabilityRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchCheckLayerAvailabilityResponseUnmarshaller.Instance;return Invoke<BatchCheckLayerAvailabilityResponse>(request, options);}
|
public void ClearSubRecords(){subrecords.Clear();}
|
public override IList<Ref> Call(){CheckCallable();IDictionary<string, Ref> refList;IList<Ref> tags = new AList<Ref>();RevWalk revWalk = new RevWalk(repo);try{refList = repo.RefDatabase.GetRefs(Constants.R_TAGS);foreach (Ref @ref in refList.Values){tags.AddItem(@ref);}}catch (IOException e){throw new JGitInternalException(e.Message, e);}finally{revWalk.Release();}tags.Sort(new _IComparer_92());SetCallable(false);return tags;}
|
public virtual void Clear(){lock (this){cache.Clear();}}
|
public virtual int indexOf(E @object, int from){object[] snapshot = elements;return indexOf(@object, snapshot, from, snapshot.Length);}
|
public override string HighlightTerm(string originalText, TokenGroup tokenGroup){if (tokenGroup.TotalScore == 0)return originalText;float score = tokenGroup.TotalScore;if (score == 0){return originalText;}var sb = new StringBuilder(originalText.Length + EXTRA);sb.Append("<span style=\"");if (m_highlightForeground){sb.Append("color: ");sb.Append(GetForegroundColorString(score));sb.Append("; ");}if (m_highlightBackground){sb.Append("background: ");sb.Append(GetBackgroundColorString(score));sb.Append("; ");}sb.Append("\">");sb.Append(originalText);sb.Append("</span>");return sb.ToString();}
|
public PasswordRecord GetPasswordRecord(){return _passwordRecord;}
|
public override object Clone(){SlicedIndexInput clone = (SlicedIndexInput)base.Clone();clone.@base = (IndexInput)@base.Clone();clone.fileOffset = fileOffset;clone.length = length;return clone;}
|
public virtual int GetSourceLine(int idx){return sourceLines[idx] - 1;}
|
public virtual DeleteResolverRuleResponse DeleteResolverRule(DeleteResolverRuleRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteResolverRuleRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteResolverRuleResponseUnmarshaller.Instance;return Invoke<DeleteResolverRuleResponse>(request, options);}
|
static public double PPMT(double r, int per, int nper, double pv, double fv, int type){return PMT(r, nper, pv, fv, type) - IPMT(r, per, nper, pv, fv, type);}
|
public override java.util.Set<K> keySet(){return this.navigableKeySet();}
|
public override bool Stem(){int v_1;int v_2;if (!r_more_than_one_syllable_word()){return false;}m_limit_backward = m_cursor; m_cursor = m_limit;v_1 = m_limit - m_cursor;do{if (!r_stem_nominal_verb_suffixes()){goto lab0;}} while (false);lab0:m_cursor = m_limit - v_1;if (!(B_continue_stemming_noun_suffixes)){return false;}v_2 = m_limit - m_cursor;do{if (!r_stem_noun_suffixes()){goto lab1;}} while (false);lab1:m_cursor = m_limit - v_2;m_cursor = m_limit_backward; if (!r_postlude()){return false;}return true;}
|
public virtual ListShardsResponse ListShards(ListShardsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListShardsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListShardsResponseUnmarshaller.Instance;return Invoke<ListShardsResponse>(request, options);}
|
public SearcherAndTaxonomy(IndexSearcher searcher, DirectoryTaxonomyReader taxonomyReader){this.Searcher = searcher;this.TaxonomyReader = taxonomyReader;}
|
public override TreeFilter Clone(){return this;}
|
public override void Set(int index, long value){int o = index / 6;int b = index % 6;int shift = b * 10;blocks[o] = (blocks[o] & ~(1023L << shift)) | (value << shift);}
|
public virtual bool Add(object o){return map.Put(o);}
|
public Position Get(int pos){while (pos >= nextPos){if (count == positions.Length){Position[] newPositions = new Position[ArrayUtil.Oversize(1 + count, RamUsageEstimator.NUM_BYTES_OBJECT_REF)];System.Array.Copy(positions, nextWrite, newPositions, 0, positions.Length - nextWrite);System.Array.Copy(positions, 0, newPositions, positions.Length - nextWrite, nextWrite);for (int i = positions.Length; i < newPositions.Length; i++){newPositions[i] = new Position();}nextWrite = positions.Length;positions = newPositions;}if (nextWrite == positions.Length){nextWrite = 0;}Debug.Assert(positions[nextWrite].count == 0);positions[nextWrite++].pos = nextPos++;count++;}Debug.Assert(InBounds(pos));int index = GetIndex(pos);Debug.Assert(positions[index].pos == pos);return positions[index];}
|
public override void reset(){lock (this){pos = 0;}}
|
public override void Configure(FacetsConfig config){for (int i = 0; i < maxDims; i++){config.SetHierarchical(i.ToString(CultureInfo.InvariantCulture), true);config.SetMultiValued(i.ToString(CultureInfo.InvariantCulture), true);}}
|
public override bool Equals(Object obj){if (obj == null)return false;if (obj == this)return true;if (obj.GetType() != GetType())return false;HSSFClientAnchor anchor = (HSSFClientAnchor)obj;return anchor.Col1 == Col1 && anchor.Col2 == Col2 && anchor.Dx1 == Dx1&& anchor.Dx2 == Dx2 && anchor.Dy1 == Dy1 && anchor.Dy2 == Dy2&& anchor.Row1 == Row1 && anchor.Row2 == Row2 && anchor.AnchorType == AnchorType;}
|
public virtual ICollection<string> GetMissing(){return Sharpen.Collections.UnmodifiableSet(diff.GetMissing());}
|
public static IndexWriterConfig CreateWriterConfig(Config config, PerfRunData runData, OpenMode mode, IndexCommit commit){LuceneVersion version = (LuceneVersion)Enum.Parse(typeof(LuceneVersion), config.Get("writer.version", LuceneVersion.LUCENE_48.ToString()));IndexWriterConfig iwConf = new IndexWriterConfig(version, runData.Analyzer);iwConf.OpenMode = mode;IndexDeletionPolicy indexDeletionPolicy = GetIndexDeletionPolicy(config);iwConf.IndexDeletionPolicy = indexDeletionPolicy;if (commit != null)iwConf.IndexCommit = commit;string mergeScheduler = config.Get("merge.scheduler","Lucene.Net.Index.ConcurrentMergeScheduler, Lucene.Net");if (mergeScheduler.Contains(".ConcurrentMergeScheduler,")){mergeScheduler = "Lucene.Net.Index.TaskMergeScheduler, Lucene.Net";}Type mergeSchedulerType = Type.GetType(mergeScheduler);if (mergeSchedulerType == null){throw new Exception("Unrecognized merge scheduler type '" + mergeScheduler + "'");}else if (mergeSchedulerType.Equals(typeof(NoMergeScheduler))){iwConf.MergeScheduler = NoMergeScheduler.INSTANCE;}else{try{iwConf.MergeScheduler = (IMergeScheduler)Activator.CreateInstance(mergeSchedulerType);}catch (Exception e){}}}
|
public virtual GetCapacityReservationUsageResponse GetCapacityReservationUsage(GetCapacityReservationUsageRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetCapacityReservationUsageRequestMarshaller.Instance;options.ResponseUnmarshaller = GetCapacityReservationUsageResponseUnmarshaller.Instance;return Invoke<GetCapacityReservationUsageResponse>(request, options);}
|
public void AddRule(HSSFConditionalFormattingRule cfRule){cfAggregate.AddRule(cfRule.CfRuleRecord);}
|
public DocState(bool reuseFields, FieldType ft, FieldType bodyFt){this.reuseFields = reuseFields;if (reuseFields){fields = new Dictionary<string, Field>();numericFields = new Dictionary<string, Field>();fields[BODY_FIELD] = new Field(BODY_FIELD, "", bodyFt);fields[TITLE_FIELD] = new Field(TITLE_FIELD, "", ft);fields[DATE_FIELD] = new Field(DATE_FIELD, "", ft);fields[ID_FIELD] = new StringField(ID_FIELD, "", Field.Store.YES);fields[NAME_FIELD] = new Field(NAME_FIELD, "", ft);numericFields[DATE_MSEC_FIELD] = new Int64Field(DATE_MSEC_FIELD, 0L, Field.Store.NO);numericFields[TIME_SEC_FIELD] = new Int32Field(TIME_SEC_FIELD, 0, Field.Store.NO);doc = new Document();}else{numericFields = null;fields = null;doc = null;}}
|
public virtual char[] GetValue(){return value;}
|
public void UpdateNameCommentRecordCache(NameCommentRecord commentRecord){if (commentRecords.ContainsValue(commentRecord)){foreach (KeyValuePair<string, NameCommentRecord> entry in commentRecords){if (entry.Value.Equals(commentRecord)){commentRecords.Remove(entry.Key);break;}}}commentRecords[commentRecord.NameText] = commentRecord;}
|
public CompleteMultipartUploadRequest(string vaultName, string uploadId, string archiveSize, string checksum){_vaultName = vaultName;_uploadId = uploadId;_archiveSize = archiveSize;_checksum = checksum;}
|
public virtual Query GetQuery(XmlElement n){IQueryBuilder builder;if (!builders.TryGetValue(n.Name, out builder) || builder == null){throw new ParserException("No QueryObjectBuilder defined for node " + n.Name);}return builder.GetQuery(n);}
|
public static double nper(double r, double y, double p, double f, bool t){double retval = 0;if (r == 0){retval = -1 * (f + p) / y;}else{double r1 = r + 1;double ryr = (t ? r1 : 1) * y / r;double a1 = ((ryr - f) < 0)? Math.Log(f - ryr): Math.Log(ryr - f);double a2 = ((ryr - f) < 0)? Math.Log(-p - ryr): Math.Log(p + ryr);double a3 = Math.Log(r1);retval = (a1 - a2) / a3;}return retval;}
|
public AndQueryNode(IList<IQueryNode> clauses): base(clauses){if ((clauses == null) || (clauses.Count == 0)){throw new ArgumentException("AND query must have at least one clause");}}
|
public SeriesListRecord(short[] seriesNumbers){field_1_seriesNumbers = seriesNumbers;}
|
public override string ToString(){return value + ", " + begin + ", " + end;}
|
public override string ToString(){return "<StandardQueryParser config=\"" + this.QueryConfigHandler+ "\"/>";}
|
public virtual DescribeActivitiesResponse DescribeActivities(DescribeActivitiesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeActivitiesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeActivitiesResponseUnmarshaller.Instance;return Invoke<DescribeActivitiesResponse>(request, options);}
|
public int WriteTokenValueBytes(ILittleEndianOutput out1){out1.WriteByte(_nColumns - 1);out1.WriteShort(_nRows - 1);ConstantValueParser.Encode(out1, _arrayValues);return 3 + ConstantValueParser.GetEncodedSize(_arrayValues);}
|
public virtual DescribeFleetMetadataResponse DescribeFleetMetadata(DescribeFleetMetadataRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeFleetMetadataRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeFleetMetadataResponseUnmarshaller.Instance;return Invoke<DescribeFleetMetadataResponse>(request, options);}
|
public virtual ModifyGlobalClusterResponse ModifyGlobalCluster(ModifyGlobalClusterRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyGlobalClusterRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyGlobalClusterResponseUnmarshaller.Instance;return Invoke<ModifyGlobalClusterResponse>(request, options);}
|
public virtual DescribeIdentityIdFormatResponse DescribeIdentityIdFormat(DescribeIdentityIdFormatRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeIdentityIdFormatRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeIdentityIdFormatResponseUnmarshaller.Instance;return Invoke<DescribeIdentityIdFormatResponse>(request, options);}
|
public virtual ListUserGroupsResponse ListUserGroups(ListUserGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListUserGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListUserGroupsResponseUnmarshaller.Instance;return Invoke<ListUserGroupsResponse>(request, options);}
|
public virtual NGit.Api.RevertCommand Include(string name, AnyObjectId commit){return Include(new ObjectIdRef.Unpeeled(RefStorage.LOOSE, name, commit.Copy()));}
|
public BeiderMorseFilter(TokenStream input, PhoneticEngine engine, LanguageSet languages): base(input){this.engine = engine;this.languages = languages;this.termAtt = AddAttribute<ICharTermAttribute>();this.posIncAtt = AddAttribute<IPositionIncrementAttribute>();}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.