text
stringlengths
27
1.4k
public GermanNormalizationFilterFactory(IDictionary<string, string> args) : base(args){if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
public static bool AllSubsetsEqual(IEnumerable<BitSet> altsets){IEnumerator<BitSet> it = altsets.GetEnumerator();it.MoveNext();BitSet first = it.Current;while (it.MoveNext()){BitSet next = it.Current;if (!next.Equals(first)){return false;}}return true;}
public CellRangeAddressList(RecordInputStream in1){int nItems = in1.ReadUShort();_list = new ArrayList(nItems);for (int k = 0; k < nItems; k++){_list.Add(new CellRangeAddress(in1));}}
public override bool MarkSupported(){return @in.MarkSupported();}
public virtual RestoreDBInstanceFromS3Response RestoreDBInstanceFromS3(RestoreDBInstanceFromS3Request request){var options = new InvokeOptions();options.RequestMarshaller = RestoreDBInstanceFromS3RequestMarshaller.Instance;options.ResponseUnmarshaller = RestoreDBInstanceFromS3ResponseUnmarshaller.Instance;return Invoke...
public override bool Equals(object other){if (!(other is java.nio.FloatBuffer)){return false;}java.nio.FloatBuffer otherBuffer = (java.nio.FloatBuffer)other;if (remaining() != otherBuffer.remaining()){return false;}int myPosition = _position;int otherPosition = otherBuffer._position;bool equalSoFar = true;while (equalS...
public static void fill(float[] array, int start, int end, float value){java.util.Arrays.checkStartAndEnd(array.Length, start, end);{for (int i = start; i < end; i++){array[i] = value;}}}
public virtual DescribeReceiptRuleResponse DescribeReceiptRule(DescribeReceiptRuleRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeReceiptRuleRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeReceiptRuleResponseUnmarshaller.Instance;return Invoke<DescribeReceiptRule...
public override string ToString(){return base.ToString() + " " + m_prefix;}
public virtual float Tf(int freq, int passageLen){float norm = k1 * ((1 - b) + b * (passageLen / pivot));return freq / (freq + norm);}
public virtual DescribeModelResponse DescribeModel(DescribeModelRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeModelRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeModelResponseUnmarshaller.Instance;return Invoke<DescribeModelResponse>(request, options);}
public override bool markSupported(){return true;}
public virtual ListEndpointConfigsResponse ListEndpointConfigs(ListEndpointConfigsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListEndpointConfigsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListEndpointConfigsResponseUnmarshaller.Instance;return Invoke<ListEndpointConfigs...
public virtual DescribeDBProxyTargetGroupsResponse DescribeDBProxyTargetGroups(DescribeDBProxyTargetGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeDBProxyTargetGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeDBProxyTargetGroupsResponseUnmarshaller.In...
public long Size(DiffEntry.Side side, DiffEntry ent){switch (side){case DiffEntry.Side.OLD:{return oldSource.Size(ent.oldPath, ent.oldId.ToObjectId());}case DiffEntry.Side.NEW:{return newSource.Size(ent.newPath, ent.newId.ToObjectId());}default:{throw new ArgumentException();}}}
public virtual DisassociateGlobalReplicationGroupResponse DisassociateGlobalReplicationGroup(DisassociateGlobalReplicationGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisassociateGlobalReplicationGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = DisassociateGlobalRepl...
public static void WriteHeader(DataOutput @out, string codec, int version){BytesRef bytes = new BytesRef(codec);if (bytes.Length != codec.Length || bytes.Length >= 128){throw new System.ArgumentException("codec must be simple ASCII, less than 128 characters in length [got " + codec + "]");}@out.WriteInt32(CODEC_MAGIC);...
public async Task<AzureOperationResponse<IEnumerable<DedicatedCapacity>>> ListByResourceGroupWithHttpMessagesAsync(string resourceGroupName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)){return await innerCapacityOperations.ListByResourceGroupWi...
public virtual DescribeIpGroupsResponse DescribeIpGroups(DescribeIpGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeIpGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeIpGroupsResponseUnmarshaller.Instance;return Invoke<DescribeIpGroupsResponse>(request,...
public java.nio.charset.CoderResult flush(java.nio.ByteBuffer @out){if (status != END && status != READY){throw new System.InvalidOperationException();}java.nio.charset.CoderResult result = implFlush(@out);if (result == java.nio.charset.CoderResult.UNDERFLOW){status = FLUSH;}return result;}
public Edit.Type GetType(){if (beginA < endA){if (beginB < endB){return Edit.Type.REPLACE;}else{return Edit.Type.DELETE;}}else{if (beginB < endB){return Edit.Type.INSERT;}else{return Edit.Type.EMPTY;}}}
public Builder(): base(){lastDocID = -1;wordNum = -1;word = 0;}
public virtual DescribeHsmConfigurationsResponse DescribeHsmConfigurations(DescribeHsmConfigurationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeHsmConfigurationsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeHsmConfigurationsResponseUnmarshaller.Instance;ret...
public override bool Equals(object other){if (!(other is java.nio.DoubleBuffer)){return false;}java.nio.DoubleBuffer otherBuffer = (java.nio.DoubleBuffer)other;if (remaining() != otherBuffer.remaining()){return false;}int myPosition = _position;int otherPosition = otherBuffer._position;bool equalSoFar = true;while (equ...
public virtual int GetSize(){return length;}
public FeatProtection(){securityDescriptor = new byte[0];}
public virtual DeleteNotificationConfigurationResponse DeleteNotificationConfiguration(DeleteNotificationConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteNotificationConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteNotificationConfigurationRes...
public virtual int get(int key){return get(key, 0);}
public HSSFAnchor(int dx1, int dy1, int dx2, int dy2){CreateEscherAnchor();this.Dx1 = dx1;this.Dy1 = dy1;this.Dx2 = dx2;this.Dy2 = dy2;}
public ValueEval Evaluate(ValueEval[] args, int srcRowIndex, int srcColumnIndex){switch (args.Length){case 3:return Evaluate(srcRowIndex, srcColumnIndex, args[0], args[1], args[2], DEFAULT_ARG3, DEFAULT_ARG4);case 4:return Evaluate(srcRowIndex, srcColumnIndex, args[0], args[1], args[2], args[3], DEFAULT_ARG4);case 5:re...
public Toffs(int startOffset, int endOffset){this.startOffset = startOffset;this.endOffset = endOffset;}
public virtual GetDocumentationVersionResponse GetDocumentationVersion(GetDocumentationVersionRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetDocumentationVersionRequestMarshaller.Instance;options.ResponseUnmarshaller = GetDocumentationVersionResponseUnmarshaller.Instance;return Invoke...
public static short[] Grow(short[] array, int minSize){Debug.Assert(minSize >= 0, "size must be positive (got " + minSize + "): likely integer overflow?");if (array.Length < minSize){short[] newArray = new short[Oversize(minSize, RamUsageEstimator.NUM_BYTES_INT16)];Array.Copy(array, 0, newArray, 0, array.Length);return...
public virtual PurchaseProvisionedCapacityResponse PurchaseProvisionedCapacity(PurchaseProvisionedCapacityRequest request){var options = new InvokeOptions();options.RequestMarshaller = PurchaseProvisionedCapacityRequestMarshaller.Instance;options.ResponseUnmarshaller = PurchaseProvisionedCapacityResponseUnmarshaller.In...
public virtual ListenerHandle AddRefsChangedListener(RefsChangedListener listener){return AddListener<RefsChangedListener>(listener);}
public void DrawRect(int x, int y, int width, int height){if (Logger.Check(POILogger.WARN))Logger.Log(POILogger.WARN, "DrawRect not supported");}
public virtual DeleteGcmChannelResponse DeleteGcmChannel(DeleteGcmChannelRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteGcmChannelRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteGcmChannelResponseUnmarshaller.Instance;return Invoke<DeleteGcmChannelResponse>(request,...
public override string ToString(){return "del=" + item;}
public override int Read(byte[] b, int off, int len){if (ptr == data.Length){return -1;}int n = Math.Min(Available(), len);System.Array.Copy(data, ptr, b, off, n);ptr += n;return n;}
public static string ToHex(byte value){return ToHex((long)value, 2);}
public virtual DeleteFieldLevelEncryptionConfigResponse DeleteFieldLevelEncryptionConfig(DeleteFieldLevelEncryptionConfigRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteFieldLevelEncryptionConfigRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteFieldLevelEncryptionConf...
public AmazonS3EncryptionClient(AWSCredentials credentials, EncryptionMaterials materials): base(credentials){this.EncryptionMaterials = materials;S3CryptoConfig = new AmazonS3CryptoConfiguration();}
public FontDetails(String fontName, int height){this.fontName = fontName;this.height = height;}
public override String ToFormulaString(String[] operands){StringBuilder buffer = new StringBuilder();buffer.Append(operands[0]);buffer.Append(LESSTHAN);buffer.Append(operands[1]);return buffer.ToString();}
public sealed override string ToString(){return Sharpen.StringHelper.CopyValueOf(backingArray, offset + _position, remaining());}
public WriteRequest(PutRequest putRequest){_putRequest = putRequest;}
public static string ToHex(byte value){return ToHex((long)value, 2);}
public virtual int Stem(char[] s, int len){return pluralStep.Apply(s, len);}
public void Write(byte[] b, int off, int len){try{out1.Write(b, off, len);}catch (IOException e){throw new RuntimeException(e);}}
public ICollection IdSet(){return dictionaryNameToID.Keys;}
public virtual BatchGetDeploymentsResponse BatchGetDeployments(BatchGetDeploymentsRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchGetDeploymentsRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchGetDeploymentsResponseUnmarshaller.Instance;return Invoke<BatchGetDeployments...
public QueryScorer(Query query, string field, string defaultField){this.defaultField = defaultField.Intern();Init(query, field, null, true);}
public override long Next(){current = fstEnum.Next();if (current == null){return -1;}else{if (current.Output.HasValue){return current.Output.Value;}else{throw new NullReferenceException("_current.Output is null"); }}}
public virtual GetApplicationDateRangeKpiResponse GetApplicationDateRangeKpi(GetApplicationDateRangeKpiRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetApplicationDateRangeKpiRequestMarshaller.Instance;options.ResponseUnmarshaller = GetApplicationDateRangeKpiResponseUnmarshaller.Instanc...
public override TokenStream Create(TokenStream input){return new GalicianStemFilter(input);}
public virtual ListHostedZonesResponse ListHostedZones(ListHostedZonesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListHostedZonesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListHostedZonesResponseUnmarshaller.Instance;return Invoke<ListHostedZonesResponse>(request, optio...
public int GetDepth(){return depth;}
public WindowTwoRecord(RecordInputStream in1){int size = in1.Remaining;field_1_options = in1.ReadShort();field_2_top_row = in1.ReadShort();field_3_left_col = in1.ReadShort();field_4_header_color = in1.ReadInt();if (size > 10){field_5_page_break_zoom = in1.ReadShort();field_6_normal_zoom = in1.ReadShort();}if (size > 14...
public virtual GetUsageResponse GetUsage(GetUsageRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetUsageRequestMarshaller.Instance;options.ResponseUnmarshaller = GetUsageResponseUnmarshaller.Instance;return Invoke<GetUsageResponse>(request, options);}
public override void SetConfig(Config config){base.SetConfig(config);keepImages = config.Get("keep.image.only.docs", true);string fileName = config.Get("docs.file", null);if (fileName != null){file = new FileInfo(fileName);}}
public ListSubscriptionsByTopicRequest(string topicArn){_topicArn = topicArn;}
public ListTablesRequest(string exclusiveStartTableName, int limit){_exclusiveStartTableName = exclusiveStartTableName;_limit = limit;}
public override string ToString(){return Start + " to " + End;}
public sealed override float get(int index){checkIndex(index);return backingArray[offset + index];}
public override java.nio.LongBuffer duplicate(){return copy(this, _mark);}
public virtual ListManagedSchemaArnsResponse ListManagedSchemaArns(ListManagedSchemaArnsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListManagedSchemaArnsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListManagedSchemaArnsResponseUnmarshaller.Instance;return Invoke<ListManag...
public virtual DescribeSpotPriceHistoryResponse DescribeSpotPriceHistory(DescribeSpotPriceHistoryRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeSpotPriceHistoryRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeSpotPriceHistoryResponseUnmarshaller.Instance;return I...
public virtual ListDevelopmentSchemaArnsResponse ListDevelopmentSchemaArns(ListDevelopmentSchemaArnsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListDevelopmentSchemaArnsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListDevelopmentSchemaArnsResponseUnmarshaller.Instance;ret...
public override bool Equals(Object o){if (!(o is ATNConfig)) {return false;}return this.Equals((ATNConfig)o);}
public virtual DeleteEventsConfigurationResponse DeleteEventsConfiguration(DeleteEventsConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteEventsConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteEventsConfigurationResponseUnmarshaller.Instance;ret...
public static short Sign(double d){return (short)((d == 0)? 0: (d < 0)? -1: 1);}
public void SetFillerToken(string fillerToken){this.fillerToken = null == fillerToken ? new char[0] : fillerToken.ToCharArray();}
public virtual UpdateDestinationResponse UpdateDestination(UpdateDestinationRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateDestinationRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateDestinationResponseUnmarshaller.Instance;return Invoke<UpdateDestinationResponse>(re...
public virtual CreateEmailIdentityResponse CreateEmailIdentity(CreateEmailIdentityRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateEmailIdentityRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateEmailIdentityResponseUnmarshaller.Instance;return Invoke<CreateEmailIdentity...
public virtual PersonIdent GetSourceAuthor(){return currentSource.GetAuthor();}
public virtual StartMonitoringMembersResponse StartMonitoringMembers(StartMonitoringMembersRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartMonitoringMembersRequestMarshaller.Instance;options.ResponseUnmarshaller = StartMonitoringMembersResponseUnmarshaller.Instance;return Invoke<Star...
public virtual void setLocalPatternChars(string data){throw new System.NotImplementedException();}
public PersianNormalizationFilter(TokenStream input): base(input){termAtt = AddAttribute<ICharTermAttribute>();}
public void LiftUp(Row @in, IList<Row> nodes){foreach (Cell c in @in.cells.Values){if (c.@ref >= 0){Row to = nodes[c.@ref];int sum = to.UniformCmd(changeSkip);if (sum >= 0){if (sum == c.cmd){if (changeSkip){if (c.skip != to.uniformSkip + 1){continue;}c.skip = to.uniformSkip + 1;}else{c.skip = 0;}c.cnt += to.uniformCnt;...
public override string ToString(){StringBuilder r = new StringBuilder();r.Append("SymbolicRef[");Ref cur = this;while (cur.IsSymbolic()){r.Append(cur.GetName());r.Append(" -> ");cur = cur.GetTarget();}r.Append(cur.GetName());r.Append('=');r.Append(ObjectId.ToString(cur.GetObjectId()));r.Append("]");return r.ToString();...
public virtual RemoveAllResourcePermissionsResponse RemoveAllResourcePermissions(RemoveAllResourcePermissionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = RemoveAllResourcePermissionsRequestMarshaller.Instance;options.ResponseUnmarshaller = RemoveAllResourcePermissionsResponseUnmarshall...
public virtual DescribeResourceGroupsResponse DescribeResourceGroups(DescribeResourceGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeResourceGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeResourceGroupsResponseUnmarshaller.Instance;return Invoke<Desc...
public virtual SpatialArgs Parse(string v, SpatialContext ctx){int idx = v.IndexOf('(');int edx = v.LastIndexOf(')');if (idx < 0 || idx > edx){throw new ParseException("missing parens: " + v, -1);}SpatialOperation op = SpatialOperation.Get(v.Substring(0, idx - 0).Trim());string body = v.Substring(idx + 1, edx - (idx + ...
public virtual bool WasDeltaAttempted(){int fmt = GetFormat();return fmt == PACK_DELTA || fmt == PACK_WHOLE;}
public virtual PutModelResponse PutModel(PutModelRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutModelRequestMarshaller.Instance;options.ResponseUnmarshaller = PutModelResponseUnmarshaller.Instance;return Invoke<PutModelResponse>(request, options);}
public override string ToString(){return stateNumber.ToString();}
public virtual CreatePlayerSessionResponse CreatePlayerSession(CreatePlayerSessionRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreatePlayerSessionRequestMarshaller.Instance;options.ResponseUnmarshaller = CreatePlayerSessionResponseUnmarshaller.Instance;return Invoke<CreatePlayerSession...
public override void Serialize(ILittleEndianOutput out1){out1.WriteByte(field_1_majorTickType);out1.WriteByte(field_2_minorTickType);out1.WriteByte(field_3_labelPosition);out1.WriteByte(field_4_background);out1.WriteInt(field_5_labelColorRgb);out1.WriteInt(field_6_zero1);out1.WriteInt(field_7_zero2);out1.WriteInt(field...
public virtual ModifyVpcTenancyResponse ModifyVpcTenancy(ModifyVpcTenancyRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyVpcTenancyRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyVpcTenancyResponseUnmarshaller.Instance;return Invoke<ModifyVpcTenancyResponse>(request,...
public virtual GetBasePathMappingsResponse GetBasePathMappings(GetBasePathMappingsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetBasePathMappingsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetBasePathMappingsResponseUnmarshaller.Instance;return Invoke<GetBasePathMappings...
public void Add(BytesRef utf8){if (closed){throw new InvalidOperationException();}buffer.Append(utf8);}
public void NotifyUpdateCell(ICell cell){_bookEvaluator.NotifyUpdateCell(new HSSFEvaluationCell(cell));}
public virtual AddApplicationReferenceDataSourceResponse AddApplicationReferenceDataSource(AddApplicationReferenceDataSourceRequest request){var options = new InvokeOptions();options.RequestMarshaller = AddApplicationReferenceDataSourceRequestMarshaller.Instance;options.ResponseUnmarshaller = AddApplicationReferenceDat...
public NIOFSIndexInput(string resourceDesc, FileStream fc, long off, long length, int bufferSize): base(resourceDesc, bufferSize){this.m_channel = fc;this.m_off = off;this.m_end = off + length;this.isClone = true;}
public override java.util.Iterator<K> iterator(){return new java.util.Hashtable<K, V>.KeyIterator(this._enclosing);}
public override TokenStream Create(TokenStream input){return new IndonesianStemFilter(input, stemDerivational);}
public virtual NGit.Api.SubmoduleStatusCommand AddPath(string path){paths.AddItem(path);return this;}
public virtual PutInsightRuleResponse PutInsightRule(PutInsightRuleRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutInsightRuleRequestMarshaller.Instance;options.ResponseUnmarshaller = PutInsightRuleResponseUnmarshaller.Instance;return Invoke<PutInsightRuleResponse>(request, options);}
public JapaneseReadingFormFilterFactory(IDictionary<string, string> args): base(args){useRomaji = GetBoolean(args, ROMAJI_PARAM, false);if (args.Count > 0){throw new ArgumentException("Unknown parameters: " + args);}}
public virtual GetVpcLinkResponse GetVpcLink(GetVpcLinkRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetVpcLinkRequestMarshaller.Instance;options.ResponseUnmarshaller = GetVpcLinkResponseUnmarshaller.Instance;return Invoke<GetVpcLinkResponse>(request, options);}