java
stringlengths
28
1.4k
C#
stringlengths
27
1.38k
public void copyTo(ByteBuffer b) {b.put(toHexByteArray());}
public virtual void CopyTo(ByteBuffer b){b.Put(ToHexByteArray());}
public String toString(){StringBuilder buffer = new StringBuilder();buffer.append("[DAT]\n");buffer.append(" .options = ").append("0x").append(HexDump.toHex( getOptions ())).append(" (").append( getOptions() ).append(" )");buffer.append(System.getProperty("line.separator"));buffer.append(" .horizontalBorder = ").append(isHorizontalBorder()).append('\n');buffer.append(" .verticalBorder = ").append(isVerticalBorder()).append('\n');buffer.append(" .border = ").append(isBorder()).append('\n');buffer.append(" .showSeriesKey = ").append(isShowSeriesKey()).append('\n');buffer.append("[/DAT]\n");return buffer.toString();}
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[DAT]\n");buffer.Append(" .options = ").Append("0x").Append(HexDump.ToHex(Options)).Append(" (").Append(Options).Append(" )");buffer.Append(Environment.NewLine);buffer.Append(" .horizontalBorder = ").Append(IsHorizontalBorder()).Append('\n');buffer.Append(" .verticalBorder = ").Append(IsVerticalBorder()).Append('\n');buffer.Append(" .border = ").Append(IsBorder()).Append('\n');buffer.Append(" .showSeriesKey = ").Append(IsShowSeriesKey()).Append('\n');buffer.Append("[/DAT]\n");return buffer.ToString();}
public UpdateDashboardResult updateDashboard(UpdateDashboardRequest request) {request = beforeClientExecution(request);return executeUpdateDashboard(request);}
public virtual UpdateDashboardResponse UpdateDashboard(UpdateDashboardRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateDashboardRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateDashboardResponseUnmarshaller.Instance;return Invoke<UpdateDashboardResponse>(request, options);}
public RegisterTagRequest() {super("CloudPhoto", "2017-07-11", "RegisterTag", "cloudphoto");setProtocol(ProtocolType.HTTPS);}
public RegisterTagRequest(): base("CloudPhoto", "2017-07-11", "RegisterTag", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}
public DiffCommand setPathFilter(TreeFilter pathFilter) {this.pathFilter = pathFilter;return this;}
public virtual NGit.Api.DiffCommand SetPathFilter(TreeFilter pathFilter){this.pathFilter = pathFilter;return this;}
public boolean markSupported() {return true;}
public override bool MarkSupported(){return true;}
public String toString() {StringBuilder sb = new StringBuilder(getClass().getSimpleName() + ": ");sb.append("maxThreadCount=").append(maxThreadCount).append(", ");sb.append("maxMergeCount=").append(maxMergeCount).append(", ");sb.append("ioThrottle=").append(doAutoIOThrottle);return sb.toString();}
public override string ToString(){StringBuilder sb = new StringBuilder(this.GetType().Name + ": ");sb.Append("maxThreadCount=").Append(maxThreadCount).Append(", ");sb.Append("maxMergeCount=").Append(maxMergeCount).Append(", ");sb.Append("mergeThreadPriority=").Append(mergeThreadPriority);return sb.ToString();}
public synchronized void println(String str) {print(str);newline();}
public virtual void println(string str){lock (this){print(str);newline();}}
public UpdateApiResult updateApi(UpdateApiRequest request) {request = beforeClientExecution(request);return executeUpdateApi(request);}
public virtual UpdateApiResponse UpdateApi(UpdateApiRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateApiRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateApiResponseUnmarshaller.Instance;return Invoke<UpdateApiResponse>(request, options);}
public FlushStageAuthorizersCacheResult flushStageAuthorizersCache(FlushStageAuthorizersCacheRequest request) {request = beforeClientExecution(request);return executeFlushStageAuthorizersCache(request);}
public virtual FlushStageAuthorizersCacheResponse FlushStageAuthorizersCache(FlushStageAuthorizersCacheRequest request){var options = new InvokeOptions();options.RequestMarshaller = FlushStageAuthorizersCacheRequestMarshaller.Instance;options.ResponseUnmarshaller = FlushStageAuthorizersCacheResponseUnmarshaller.Instance;return Invoke<FlushStageAuthorizersCacheResponse>(request, options);}
public BasicQueryFactory(int maxBasicQueries) {this.maxBasicQueries = maxBasicQueries;this.queriesMade = 0;}
public BasicQueryFactory(int maxBasicQueries){this.maxBasicQueries = maxBasicQueries;this.queriesMade = 0;}
public TrackingRefUpdate getTrackingRefUpdate(String localName) {return updates.get(localName);}
public virtual TrackingRefUpdate GetTrackingRefUpdate(string localName){return updates.Get(localName);}
public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[CATLAB]\n");buffer.append(" .rt =").append(HexDump.shortToHex(rt)).append('\n');buffer.append(" .grbitFrt=").append(HexDump.shortToHex(grbitFrt)).append('\n');buffer.append(" .wOffset =").append(HexDump.shortToHex(wOffset)).append('\n');buffer.append(" .at =").append(HexDump.shortToHex(at)).append('\n');buffer.append(" .grbit =").append(HexDump.shortToHex(grbit)).append('\n');if(unused != null)buffer.append(" .unused =").append(HexDump.shortToHex(unused)).append('\n');buffer.append("[/CATLAB]\n");return buffer.toString();}
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[CATLAB]\n");buffer.Append(" .rt =").Append(HexDump.ShortToHex(rt)).Append('\n');buffer.Append(" .grbitFrt=").Append(HexDump.ShortToHex(grbitFrt)).Append('\n');buffer.Append(" .wOffset =").Append(HexDump.ShortToHex(wOffset)).Append('\n');buffer.Append(" .at =").Append(HexDump.ShortToHex(at)).Append('\n');buffer.Append(" .grbit =").Append(HexDump.ShortToHex(grbit)).Append('\n');buffer.Append(" .unused =").Append(HexDump.ShortToHex((short)unused)).Append('\n');buffer.Append("[/CATLAB]\n");return buffer.ToString();}
public EnableDirectoryResult enableDirectory(EnableDirectoryRequest request) {request = beforeClientExecution(request);return executeEnableDirectory(request);}
public virtual EnableDirectoryResponse EnableDirectory(EnableDirectoryRequest request){var options = new InvokeOptions();options.RequestMarshaller = EnableDirectoryRequestMarshaller.Instance;options.ResponseUnmarshaller = EnableDirectoryResponseUnmarshaller.Instance;return Invoke<EnableDirectoryResponse>(request, options);}
public IntBuffer put(int[] src, int srcOffset, int intCount) {if (intCount > remaining()) {throw new BufferOverflowException();}System.arraycopy(src, srcOffset, backingArray, offset + position, intCount);position += intCount;return this;}
public override java.nio.IntBuffer put(int[] src, int srcOffset, int intCount){if (intCount > remaining()){throw new java.nio.BufferOverflowException();}System.Array.Copy(src, srcOffset, backingArray, offset + _position, intCount);_position += intCount;return this;}
public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[PROT4REVPASSWORD]\n");buffer.append(" .password = ").append(HexDump.shortToHex(field_1_password)).append("\n");buffer.append("[/PROT4REVPASSWORD]\n");return buffer.toString();}
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[PROT4REVPASSWORD]\n");buffer.Append(" .password = ").Append(StringUtil.ToHexString(field_1_password)).Append("\n");buffer.Append("[/PROT4REVPASSWORD]\n");return buffer.ToString();}
public DescribeProjectVersionsResult describeProjectVersions(DescribeProjectVersionsRequest request) {request = beforeClientExecution(request);return executeDescribeProjectVersions(request);}
public virtual DescribeProjectVersionsResponse DescribeProjectVersions(DescribeProjectVersionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeProjectVersionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeProjectVersionsResponseUnmarshaller.Instance;return Invoke<DescribeProjectVersionsResponse>(request, options);}
public UpdateHostedZoneCommentResult updateHostedZoneComment(UpdateHostedZoneCommentRequest request) {request = beforeClientExecution(request);return executeUpdateHostedZoneComment(request);}
public virtual UpdateHostedZoneCommentResponse UpdateHostedZoneComment(UpdateHostedZoneCommentRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateHostedZoneCommentRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateHostedZoneCommentResponseUnmarshaller.Instance;return Invoke<UpdateHostedZoneCommentResponse>(request, options);}
public Rescorer getRescorer(Bindings bindings) {return new ExpressionRescorer(this, bindings);}
public virtual Rescorer GetRescorer(Bindings bindings){return new ExpressionRescorer(this, bindings);}
public SortedSet<E> headSet(E end) {return headSet(end, false);}
public virtual java.util.SortedSet<E> headSet(E end){return headSet(end, false);}
final public QueryNode DisjQuery(CharSequence field) throws ParseException {QueryNode first, c;Vector<QueryNode> clauses = null;first = ConjQuery(field);label_2:while (true) {switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {case OR:;break;default:jj_la1[3] = jj_gen;break label_2;}jj_consume_token(OR);c = ConjQuery(field);if (clauses == null) {clauses = new Vector<QueryNode>();clauses.addElement(first);}clauses.addElement(c);}if (clauses != null) {{if (true) return new OrQueryNode(clauses);}} else {{if (true) return first;}}throw new Error("Missing return statement in function");}
public IQueryNode DisjQuery(string field){IQueryNode first, c;List<IQueryNode> clauses = null;first = ConjQuery(field);while (true){switch ((jj_ntk == -1) ? Jj_ntk() : jj_ntk){case RegexpToken.OR:;break;default:jj_la1[5] = jj_gen;goto label_2_break;}Jj_consume_token(RegexpToken.OR);c = ConjQuery(field);if (clauses == null){clauses = new List<IQueryNode>();clauses.Add(first);}clauses.Add(c);}label_2_break:if (clauses != null){{ if (true) return new OrQueryNode(clauses); }}else{{ if (true) return first; }}throw new Exception("Missing return statement in function");}
public DataValidationConstraint createExplicitListConstraint(String[] listOfValues) {return DVConstraint.createExplicitListConstraint(listOfValues);}
public IDataValidationConstraint CreateExplicitListConstraint(String[] listOfValues){return DVConstraint.CreateExplicitListConstraint(listOfValues);}
public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0,ValueEval arg1) {String s0;String s1;try {s0 = evaluateStringArg(arg0, srcRowIndex, srcColumnIndex);s1 = evaluateStringArg(arg1, srcRowIndex, srcColumnIndex);} catch (EvaluationException e) {return e.getErrorEval();}return BoolEval.valueOf(s0.equals(s1));}
public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0,ValueEval arg1){String arg;int index;try{arg = TextFunction.EvaluateStringArg(arg0, srcRowIndex, srcColumnIndex);index = TextFunction.EvaluateIntArg(arg1, srcRowIndex, srcColumnIndex);}catch (EvaluationException e){return e.GetErrorEval();}if (index < 0){return ErrorEval.VALUE_INVALID;}String result;if (_isLeft){result = arg.Substring(0, Math.Min(arg.Length, index));}else{result = arg.Substring(Math.Max(0, arg.Length - index));}return new StringEval(result);}
public boolean offer(E o) {return addLastImpl(o);}
public virtual bool offer(E o){return addLastImpl(o);}
public ListInvalidationsRequest(String distributionId) {setDistributionId(distributionId);}
public ListInvalidationsRequest(string distributionId){_distributionId = distributionId;}
public TagPhotoRequest() {super("CloudPhoto", "2017-07-11", "TagPhoto", "cloudphoto");setProtocol(ProtocolType.HTTPS);}
public TagPhotoRequest(): base("CloudPhoto", "2017-07-11", "TagPhoto", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}
public CreateFleetResult createFleet(CreateFleetRequest request) {request = beforeClientExecution(request);return executeCreateFleet(request);}
public virtual CreateFleetResponse CreateFleet(CreateFleetRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateFleetRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateFleetResponseUnmarshaller.Instance;return Invoke<CreateFleetResponse>(request, options);}
public GetTransitGatewayAttachmentPropagationsResult getTransitGatewayAttachmentPropagations(GetTransitGatewayAttachmentPropagationsRequest request) {request = beforeClientExecution(request);return executeGetTransitGatewayAttachmentPropagations(request);}
public virtual GetTransitGatewayAttachmentPropagationsResponse GetTransitGatewayAttachmentPropagations(GetTransitGatewayAttachmentPropagationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetTransitGatewayAttachmentPropagationsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetTransitGatewayAttachmentPropagationsResponseUnmarshaller.Instance;return Invoke<GetTransitGatewayAttachmentPropagationsResponse>(request, options);}
public ListWorkteamsResult listWorkteams(ListWorkteamsRequest request) {request = beforeClientExecution(request);return executeListWorkteams(request);}
public virtual ListWorkteamsResponse ListWorkteams(ListWorkteamsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListWorkteamsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListWorkteamsResponseUnmarshaller.Instance;return Invoke<ListWorkteamsResponse>(request, options);}
public DetachVpnGatewayResult detachVpnGateway(DetachVpnGatewayRequest request) {request = beforeClientExecution(request);return executeDetachVpnGateway(request);}
public virtual DetachVpnGatewayResponse DetachVpnGateway(DetachVpnGatewayRequest request){var options = new InvokeOptions();options.RequestMarshaller = DetachVpnGatewayRequestMarshaller.Instance;options.ResponseUnmarshaller = DetachVpnGatewayResponseUnmarshaller.Instance;return Invoke<DetachVpnGatewayResponse>(request, options);}
public ListGeoLocationsResult listGeoLocations() {return listGeoLocations(new ListGeoLocationsRequest());}
public virtual ListGeoLocationsResponse ListGeoLocations(){return ListGeoLocations(new ListGeoLocationsRequest());}
public String toString() {return getClass().getName() + " [" +getStringValue() +"]";}
public override String ToString(){StringBuilder sb = new StringBuilder(64);sb.Append(GetType().Name).Append(" [");sb.Append(StringValue);sb.Append("]");return sb.ToString();}
public static double decodeNumber(int number) {long raw_number = number;raw_number = raw_number >> 2;double rvalue = 0;if ((number & 0x02) == 0x02){rvalue = raw_number;}else{rvalue = Double.longBitsToDouble(raw_number << 34);}if ((number & 0x01) == 0x01){rvalue /= 100;}return rvalue;}
public static double DecodeNumber(int number){long raw_number = number;raw_number = raw_number >> 2;double rvalue = 0;if ((number & 0x02) == 0x02){rvalue = (double)(raw_number);}else{rvalue = BitConverter.Int64BitsToDouble(raw_number << 34);}if ((number & 0x01) == 0x01){rvalue /= 100;}return rvalue;}
public long get(long index) {assert index >= 0 && index < valueCount;final int block = (int) (index >>> blockShift);final int idx = (int) (index & blockMask);return (minValues == null ? 0 : minValues[block]) + subReaders[block].get(idx);}
public override long Get(long index){Debug.Assert(index >= 0 && index < valueCount);int block = (int)((long)((ulong)index >> blockShift));int idx = (int)(index & blockMask);return (minValues == null ? 0 : minValues[block]) + subReaders[block].Get(idx);}
public UpdatePublishingDestinationResult updatePublishingDestination(UpdatePublishingDestinationRequest request) {request = beforeClientExecution(request);return executeUpdatePublishingDestination(request);}
public virtual UpdatePublishingDestinationResponse UpdatePublishingDestination(UpdatePublishingDestinationRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdatePublishingDestinationRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdatePublishingDestinationResponseUnmarshaller.Instance;return Invoke<UpdatePublishingDestinationResponse>(request, options);}
public void notifyDeleteCell(EvaluationCell cell) {int sheetIndex = getSheetIndex(cell.getSheet());_cache.notifyDeleteCell(_workbookIx, sheetIndex, cell);}
public void NotifyDeleteCell(IEvaluationCell cell){int sheetIndex = GetSheetIndex(cell.Sheet);_cache.NotifyDeleteCell(_workbookIx, sheetIndex, cell);}
public Request<GetPolicyRequest> marshall(GetPolicyRequest getPolicyRequest) {if (getPolicyRequest == null) {throw new SdkClientException("Invalid argument passed to marshall(...)");}Request<GetPolicyRequest> request = new DefaultRequest<GetPolicyRequest>(getPolicyRequest, "AmazonIdentityManagement");request.addParameter("Action", "GetPolicy");request.addParameter("Version", "2010-05-08");request.setHttpMethod(HttpMethodName.POST);if (getPolicyRequest.getPolicyArn() != null) {request.addParameter("PolicyArn", StringUtils.fromString(getPolicyRequest.getPolicyArn()));}return request;}
public IRequest Marshall(GetPolicyRequest publicRequest){IRequest request = new DefaultRequest(publicRequest, "Amazon.Lambda");request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2015-03-31";request.HttpMethod = "GET";if (!publicRequest.IsSetFunctionName())throw new AmazonLambdaException("Request object does not have required field FunctionName set");request.AddPathResource("{FunctionName}", StringUtils.FromString(publicRequest.FunctionName));if (publicRequest.IsSetQualifier())request.Parameters.Add("Qualifier", StringUtils.FromString(publicRequest.Qualifier));request.ResourcePath = "/2015-03-31/functions/{FunctionName}/policy";request.MarshallerVersion = 2;request.UseQueryString = true;return request;}
public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval real_num, ValueEval i_num) {return this.evaluate(srcRowIndex, srcColumnIndex, real_num, i_num, new StringEval(DEFAULT_SUFFIX));}
public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval real_num, ValueEval i_num){return this.Evaluate(srcRowIndex, srcColumnIndex, real_num, i_num, new StringEval(DEFAULT_SUFFIX));}
public int fillFields(byte[] data, int offset, EscherRecordFactory recordFactory) { readHeader( data, offset );int pos = offset + 8;int size = 0;field_1_numShapes = LittleEndian.getInt( data, pos + size ); size += 4;field_2_lastMSOSPID = LittleEndian.getInt( data, pos + size ); size += 4;return getRecordSize();}
public override int FillFields(byte[] data, int offset, IEscherRecordFactory recordFactory){int bytesRemaining = ReadHeader(data, offset);int pos = offset + 8;int size = 0;field_1_numShapes = LittleEndian.GetInt(data, pos + size); size += 4;field_2_lastMSOSPID = LittleEndian.GetInt(data, pos + size); size += 4;return RecordSize;}
public final CharsetEncoder reset() {status = INIT;implReset();return this;}
public java.nio.charset.CharsetEncoder reset(){status = INIT;implReset();return this;}
public void emit(Token token) {this._token = token;}
public virtual void Emit(IToken token){this._token = token;}
public AbstractTreeIterator createSubtreeIterator(ObjectReader reader)throws IncorrectObjectTypeException, IOException {if (currentSubtree == null)throw new IncorrectObjectTypeException(getEntryObjectId(),Constants.TYPE_TREE);return new DirCacheBuildIterator(this, currentSubtree);}
public override AbstractTreeIterator CreateSubtreeIterator(ObjectReader reader){if (currentSubtree == null){throw new IncorrectObjectTypeException(EntryObjectId, Constants.TYPE_TREE);}return new NGit.Dircache.DirCacheBuildIterator(this, currentSubtree);}
public GreekLowerCaseFilterFactory(Map<String,String> args) {super(args);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}
public GreekLowerCaseFilterFactory(IDictionary<string, string> args) : base(args){AssureMatchVersion();if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
public URI relativize(URI relative) {if (relative.opaque || opaque) {return relative;}if (scheme == null ? relative.scheme != null : !scheme.equals(relative.scheme)) {return relative;}if (authority == null ? relative.authority != null : !authority.equals(relative.authority)) {return relative;}String thisPath = normalize(path, false);String relativePath = normalize(relative.path, false);if (!thisPath.equals(relativePath)) {thisPath = thisPath.substring(0, thisPath.lastIndexOf('/') + 1);if (!relativePath.startsWith(thisPath)) {return relative;}}URI result = new URI();result.fragment = relative.fragment;result.query = relative.query;result.path = relativePath.substring(thisPath.length());result.setSchemeSpecificPart();return result;}
public java.net.URI relativize(java.net.URI relative){if (relative.opaque || opaque){return relative;}if (scheme == null ? relative.scheme != null : !scheme.Equals(relative.scheme)){return relative;}if (authority == null ? relative.authority != null : !authority.Equals(relative.authority)){return relative;}string thisPath = normalize(path, false);string relativePath = normalize(relative.path, false);if (!thisPath.Equals(relativePath)){thisPath = Sharpen.StringHelper.Substring(thisPath, 0, thisPath.LastIndexOf('/')+ 1);if (!relativePath.StartsWith(thisPath)){return relative;}}java.net.URI result = new java.net.URI();result.fragment = relative.fragment;result.query = relative.query;result.path = Sharpen.StringHelper.Substring(relativePath, thisPath.Length);result.setSchemeSpecificPart();return result;}
public Reader freeze(boolean trim) {if (frozen) {throw new IllegalStateException("already frozen");}if (didSkipBytes) {throw new IllegalStateException("cannot freeze when copy(BytesRef, BytesRef) was used");}if (trim && upto < blockSize) {final byte[] newBlock = new byte[upto];System.arraycopy(currentBlock, 0, newBlock, 0, upto);currentBlock = newBlock;}if (currentBlock == null) {currentBlock = EMPTY_BYTES;}addBlock(currentBlock);frozen = true;currentBlock = null;return new PagedBytes.Reader(this);}
public Reader Freeze(bool trim){if (frozen){throw new InvalidOperationException("already frozen");}if (didSkipBytes){throw new InvalidOperationException("cannot freeze when copy(BytesRef, BytesRef) was used");}if (trim && upto < blockSize){var newBlock = new byte[upto];Array.Copy(currentBlock, 0, newBlock, 0, upto);currentBlock = newBlock;}if (currentBlock == null){currentBlock = EMPTY_BYTES;}blocks.Add(currentBlock);blockEnd.Add(upto);frozen = true;currentBlock = null;return new PagedBytes.Reader(this);}
public ValueEval evaluate(ValueEval[] args, OperationEvaluationContext ec) {if (args.length == 2) {return evaluate(ec.getRowIndex(), ec.getColumnIndex(), args[0], args[1]);}if (args.length == 3) {return evaluate(ec.getRowIndex(), ec.getColumnIndex(), args[0], args[1], args[2]);}return ErrorEval.VALUE_INVALID;}
public ValueEval Evaluate(ValueEval[] args, OperationEvaluationContext ec){if (args.Length == 2){return Evaluate(ec.RowIndex, ec.ColumnIndex, args[0], args[1]);}if (args.Length == 3){return Evaluate(ec.RowIndex, ec.ColumnIndex, args[0], args[1], args[2]);}return ErrorEval.VALUE_INVALID;}
public Cluster createCluster(CreateClusterRequest request) {request = beforeClientExecution(request);return executeCreateCluster(request);}
public virtual CreateClusterResponse CreateCluster(CreateClusterRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateClusterRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateClusterResponseUnmarshaller.Instance;return Invoke<CreateClusterResponse>(request, options);}
public PersistentSnapshotDeletionPolicy(IndexDeletionPolicy primary,Directory dir, OpenMode mode) throws IOException {super(primary);this.dir = dir;if (mode == OpenMode.CREATE) {clearPriorSnapshots();}loadPriorSnapshots();if (mode == OpenMode.APPEND && nextWriteGen == 0) {throw new IllegalStateException("no snapshots stored in this directory");}}
public PersistentSnapshotDeletionPolicy(IndexDeletionPolicy primary, Directory dir, OpenMode mode): base(primary){this.dir = dir;if (mode == OpenMode.CREATE){ClearPriorSnapshots();}LoadPriorSnapshots();if (mode == OpenMode.APPEND && nextWriteGen == 0){throw new InvalidOperationException("no snapshots stored in this directory");}}
public String getText(RuleContext ctx) {return getText(ctx.getSourceInterval());}
public virtual string GetText(RuleContext ctx){return GetText(ctx.SourceInterval);}
public final float get() {if (position == limit) {throw new BufferUnderflowException();}return backingArray[offset + position++];}
public sealed override float get(){if (_position == _limit){throw new java.nio.BufferUnderflowException();}return backingArray[offset + _position++];}
public DeleteDataSetResult deleteDataSet(DeleteDataSetRequest request) {request = beforeClientExecution(request);return executeDeleteDataSet(request);}
public virtual DeleteDataSetResponse DeleteDataSet(DeleteDataSetRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteDataSetRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteDataSetResponseUnmarshaller.Instance;return Invoke<DeleteDataSetResponse>(request, options);}
public boolean contains(Object o) {return containsKey(o);}
public override bool contains(object o){return this._enclosing.containsKey(o);}
public boolean matches(char s[], int len) {return super.matches(s, len) && !exceptions.contains(s, 0, len);}
public override bool Matches(char[] s, int len){return base.Matches(s, len) && !m_exceptions.Contains(s, 0, len);}
public int getDeltaSearchWindowSize() {return deltaSearchWindowSize;}
public virtual int GetDeltaSearchWindowSize(){return deltaSearchWindowSize;}
public GetDomainNameResult getDomainName(GetDomainNameRequest request) {request = beforeClientExecution(request);return executeGetDomainName(request);}
public virtual GetDomainNameResponse GetDomainName(GetDomainNameRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetDomainNameRequestMarshaller.Instance;options.ResponseUnmarshaller = GetDomainNameResponseUnmarshaller.Instance;return Invoke<GetDomainNameResponse>(request, options);}
public DeleteAccessLogSettingsResult deleteAccessLogSettings(DeleteAccessLogSettingsRequest request) {request = beforeClientExecution(request);return executeDeleteAccessLogSettings(request);}
public virtual DeleteAccessLogSettingsResponse DeleteAccessLogSettings(DeleteAccessLogSettingsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteAccessLogSettingsRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteAccessLogSettingsResponseUnmarshaller.Instance;return Invoke<DeleteAccessLogSettingsResponse>(request, options);}
public QueryValueSource(Query q, float defVal) {this.q = q;this.defVal = defVal;}
public QueryValueSource(Query q, float defVal){this.q = q;this.defVal = defVal;}
@Override public Object[] toArray() {return snapshot().toArray();}
public override object[] toArray(){lock (this._enclosing){return base.toArray();}}
public String toLexerString() {if ( s0==null ) return "";DFASerializer serializer = new LexerDFASerializer(this);return serializer.toString();}
public String ToLexerString(){if (s0 == null)return "";DFASerializer serializer = new LexerDFASerializer(this);return serializer.ToString();}
public void clear() {fill(0, size(), 0);}
public virtual void Clear(){Fill(0, Count, 0);}
public GetStreamingDistributionConfigResult getStreamingDistributionConfig(GetStreamingDistributionConfigRequest request) {request = beforeClientExecution(request);return executeGetStreamingDistributionConfig(request);}
public virtual GetStreamingDistributionConfigResponse GetStreamingDistributionConfig(GetStreamingDistributionConfigRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetStreamingDistributionConfigRequestMarshaller.Instance;options.ResponseUnmarshaller = GetStreamingDistributionConfigResponseUnmarshaller.Instance;return Invoke<GetStreamingDistributionConfigResponse>(request, options);}
public UpdateDomainContactResult updateDomainContact(UpdateDomainContactRequest request) {request = beforeClientExecution(request);return executeUpdateDomainContact(request);}
public virtual UpdateDomainContactResponse UpdateDomainContact(UpdateDomainContactRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateDomainContactRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateDomainContactResponseUnmarshaller.Instance;return Invoke<UpdateDomainContactResponse>(request, options);}
public ListIterator<E> listIterator(int location) {return new LinkIterator<E>(this, location);}
public override java.util.ListIterator<E> listIterator(int location){return new java.util.LinkedList.LinkIterator<E>(this, location);}
public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[STARTBLOCK]\n");buffer.append(" .rt =").append(HexDump.shortToHex(rt)).append('\n');buffer.append(" .grbitFrt =").append(HexDump.shortToHex(grbitFrt)).append('\n');buffer.append(" .iObjectKind =").append(HexDump.shortToHex(iObjectKind)).append('\n');buffer.append(" .iObjectContext =").append(HexDump.shortToHex(iObjectContext)).append('\n');buffer.append(" .iObjectInstance1=").append(HexDump.shortToHex(iObjectInstance1)).append('\n');buffer.append(" .iObjectInstance2=").append(HexDump.shortToHex(iObjectInstance2)).append('\n');buffer.append("[/STARTBLOCK]\n");return buffer.toString();}
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[STARTBLOCK]\n");buffer.Append(" .rt =").Append(HexDump.ShortToHex(rt)).Append('\n');buffer.Append(" .grbitFrt =").Append(HexDump.ShortToHex(grbitFrt)).Append('\n');buffer.Append(" .iObjectKind =").Append(HexDump.ShortToHex(iObjectKind)).Append('\n');buffer.Append(" .iObjectContext =").Append(HexDump.ShortToHex(iObjectContext)).Append('\n');buffer.Append(" .iObjectInstance1=").Append(HexDump.ShortToHex(iObjectInstance1)).Append('\n');buffer.Append(" .iObjectInstance2=").Append(HexDump.ShortToHex(iObjectInstance2)).Append('\n');buffer.Append("[/STARTBLOCK]\n");return buffer.ToString();}
public long get(int index) {final int o = index / 7;final int b = index % 7;final int shift = b * 9;return (blocks[o] >>> shift) & 511L;}
public override long Get(int index){int o = index / 7;int b = index % 7;int shift = b * 9;return ((long)((ulong)blocks[o] >> shift)) & 511L;}
public String toString(String field) {StringBuilder buffer = new StringBuilder();boolean needParens = (getLowFreqMinimumNumberShouldMatch() > 0);if (needParens) {buffer.append("(");}for (int i = 0; i < terms.size(); i++) {Term t = terms.get(i);buffer.append(newTermQuery(t, null).toString());if (i != terms.size() - 1) buffer.append(", ");}if (needParens) {buffer.append(")");}if (getLowFreqMinimumNumberShouldMatch() > 0 || getHighFreqMinimumNumberShouldMatch() > 0) {buffer.append('~');buffer.append("(");buffer.append(getLowFreqMinimumNumberShouldMatch());buffer.append(getHighFreqMinimumNumberShouldMatch());buffer.append(")");}return buffer.toString();}
public override string ToString(string field){var buffer = new StringBuilder();bool needParens = (Boost != 1.0) || (LowFreqMinimumNumberShouldMatch > 0);if (needParens){buffer.Append("(");}for (int i = 0; i < m_terms.Count; i++){Term t = m_terms[i];buffer.Append(NewTermQuery(t, null).ToString());if (i != m_terms.Count - 1){buffer.Append(", ");}}if (needParens){buffer.Append(")");}if (LowFreqMinimumNumberShouldMatch > 0 || HighFreqMinimumNumberShouldMatch > 0){buffer.Append('~');buffer.Append("(");buffer.AppendFormat(CultureInfo.InvariantCulture, "{0:0.0#######}", LowFreqMinimumNumberShouldMatch);buffer.AppendFormat(CultureInfo.InvariantCulture, "{0:0.0#######}", HighFreqMinimumNumberShouldMatch);buffer.Append(")");}if (Boost != 1.0f){buffer.Append(ToStringUtils.Boost(Boost));}return buffer.ToString();}
public String[] getStopWords(String fieldName) {Set<String> stopWords = stopWordsPerField.get(fieldName);return stopWords != null ? stopWords.toArray(new String[stopWords.size()]) : new String[0];}
public string[] GetStopWords(string fieldName){var stopWords = stopWordsPerField[fieldName];return stopWords != null ? stopWords.ToArray() : new string[0];}
public void print(float f) {print(String.valueOf(f));}
public virtual void print(float f){print(f.ToString());}
public MopenCreateGroupRequest() {super("MoPen", "2018-02-11", "MopenCreateGroup", "mopen");setProtocol(ProtocolType.HTTPS);setMethod(MethodType.POST);}
public MopenCreateGroupRequest(): base("MoPen", "2018-02-11", "MopenCreateGroup", "mopen", "openAPI"){Protocol = ProtocolType.HTTPS;Method = MethodType.POST;}
public SmallObject(int type, byte[] data) {this.type = type;this.data = data;}
public SmallObject(int type, byte[] data){this.type = type;this.data = data;}
public final boolean matches(char c) {return Character.isUpperCase(c);}
public bool Matches(char c){return System.Char.IsUpper(c);}
public StartNotebookInstanceResult startNotebookInstance(StartNotebookInstanceRequest request) {request = beforeClientExecution(request);return executeStartNotebookInstance(request);}
public virtual StartNotebookInstanceResponse StartNotebookInstance(StartNotebookInstanceRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartNotebookInstanceRequestMarshaller.Instance;options.ResponseUnmarshaller = StartNotebookInstanceResponseUnmarshaller.Instance;return Invoke<StartNotebookInstanceResponse>(request, options);}
public static void putUnicodeLE(String input, byte[] output, int offset) {byte[] bytes = input.getBytes(UTF16LE);System.arraycopy(bytes, 0, output, offset, bytes.length);}
public static void PutUnicodeLE(String input, byte[] output, int offset){byte[] bytes = UTF16LE.GetBytes(input);Array.Copy(bytes, 0, output, offset, bytes.Length);}
public void deleteDocument(int docID) {final int i = readerIndex(docID);getSequentialSubReaders().get(i).deleteDocument(docID - readerBase(i));}
public void DeleteDocument(int docID){int i = ReaderIndex(docID);((FakeDeleteAtomicIndexReader)GetSequentialSubReaders()[i]).DeleteDocument(docID - ReaderBase(i));}
public boolean isRelevant(String docName, QualityQuery query) {QRelJudgement qrj = judgements.get(query.getQueryID());return qrj!=null && qrj.isRelevant(docName);}
public virtual bool IsRelevant(string docName, QualityQuery query){QRelJudgement qrj;judgements.TryGetValue(query.QueryID, out qrj);return qrj != null && qrj.IsRelevant(docName);}
public final int getBeginB() {return beginB;}
public int GetBeginB(){return beginB;}
public ModifySpotFleetRequestResult modifySpotFleetRequest(ModifySpotFleetRequestRequest request) {request = beforeClientExecution(request);return executeModifySpotFleetRequest(request);}
public virtual ModifySpotFleetRequestResponse ModifySpotFleetRequest(ModifySpotFleetRequestRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifySpotFleetRequestRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifySpotFleetRequestResponseUnmarshaller.Instance;return Invoke<ModifySpotFleetRequestResponse>(request, options);}
public UncalcedRecord() {_reserved = 0;}
public UncalcedRecord(){_reserved = 0;}
public static PageOrder valueOf(int value){return _table[value];}
public static PageOrder ValueOf(int value){return _table[value];}
public static CellValue valueOf(boolean booleanValue) {return booleanValue ? TRUE : FALSE;}
public static CellValue ValueOf(bool boolValue){return boolValue ? TRUE : FALSE;}
public void write(String str) {buf.append(str);}
public override void write(string str){buf.append(str);}
public void addListener(HSSFListener lsnr, short sid) {List<HSSFListener> list = _records.computeIfAbsent(Short.valueOf(sid), k -> new ArrayList<>(1));list.add(lsnr);}
public void AddListener(IHSSFListener lsnr, short sid){IList list = null;Object obj = records[sid];if (obj != null){list = (IList)obj;}else{list = new ArrayList(1); list.Add(lsnr);records[sid]=list;}}
public GetMeetingResult getMeeting(GetMeetingRequest request) {request = beforeClientExecution(request);return executeGetMeeting(request);}
public virtual GetMeetingResponse GetMeeting(GetMeetingRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetMeetingRequestMarshaller.Instance;options.ResponseUnmarshaller = GetMeetingResponseUnmarshaller.Instance;return Invoke<GetMeetingResponse>(request, options);}
public void stopTimer() {stop = true;}
public void StopTimer(){stop = true;}
public AttachLoadBalancerTargetGroupsResult attachLoadBalancerTargetGroups(AttachLoadBalancerTargetGroupsRequest request) {request = beforeClientExecution(request);return executeAttachLoadBalancerTargetGroups(request);}
public virtual AttachLoadBalancerTargetGroupsResponse AttachLoadBalancerTargetGroups(AttachLoadBalancerTargetGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = AttachLoadBalancerTargetGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = AttachLoadBalancerTargetGroupsResponseUnmarshaller.Instance;return Invoke<AttachLoadBalancerTargetGroupsResponse>(request, options);}
public GetQueryLoggingConfigResult getQueryLoggingConfig(GetQueryLoggingConfigRequest request) {request = beforeClientExecution(request);return executeGetQueryLoggingConfig(request);}
public virtual GetQueryLoggingConfigResponse GetQueryLoggingConfig(GetQueryLoggingConfigRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetQueryLoggingConfigRequestMarshaller.Instance;options.ResponseUnmarshaller = GetQueryLoggingConfigResponseUnmarshaller.Instance;return Invoke<GetQueryLoggingConfigResponse>(request, options);}
public ListIterator<E> listIterator() {Object[] snapshot = elements;return new CowIterator<E>(snapshot, 0, snapshot.length);}
public virtual java.util.ListIterator<E> listIterator(){object[] snapshot = elements;return new java.util.concurrent.CopyOnWriteArrayList.CowIterator<E>(snapshot, 0,snapshot.Length);}
public CreateSnapshotResult createSnapshot(CreateSnapshotRequest request) {request = beforeClientExecution(request);return executeCreateSnapshot(request);}
public virtual CreateSnapshotResponse CreateSnapshot(CreateSnapshotRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateSnapshotRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateSnapshotResponseUnmarshaller.Instance;return Invoke<CreateSnapshotResponse>(request, options);}
public boolean hasObject(AnyObjectId objectId) {try {return getObjectDatabase().has(objectId);} catch (IOException e) {throw new UncheckedIOException(e);}}
public virtual bool HasObject(AnyObjectId objectId){try{return ObjectDatabase.Has(objectId);}catch (IOException){return false;}}
public final void sort(int from, int to) {checkRange(from, to);mergeSort(from, to);}
public override sealed void Sort(int from, int to){CheckRange(from, to);MergeSort(from, to);}
public <T extends EscherRecord> T getChildById( short recordId ) {for ( EscherRecord childRecord : this ) {if ( childRecord.getRecordId() == recordId ) {@SuppressWarnings( "unchecked" )final T result = (T) childRecord;return result;}}return null;}
public EscherRecord GetChildById(short recordId){for (IEnumerator iterator = _childRecords.GetEnumerator(); iterator.MoveNext(); ){EscherRecord escherRecord = (EscherRecord)iterator.Current;if (escherRecord.RecordId == recordId)return escherRecord;}return null;}
public void serialize(LittleEndianOutput out) {out.writeShort(field_1_xBasis);out.writeShort(field_2_yBasis);out.writeShort(field_3_heightBasis);out.writeShort(field_4_scale);out.writeShort(field_5_indexToFontTable);}
public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(field_1_xBasis);out1.WriteShort(field_2_yBasis);out1.WriteShort(field_3_heightBasis);out1.WriteShort(field_4_scale);out1.WriteShort(field_5_indexToFontTable);}
public static String toHex(int value) {StringBuilder sb = new StringBuilder(8);writeHex(sb, value & 0xFFFFFFFFL, 8, "");return sb.toString();}
public static string ToHex(int value){return ToHex((long)value, 8);}
public static Collection<Ref> sort(Collection<Ref> refs) {final List<Ref> r = new ArrayList<>(refs);Collections.sort(r, INSTANCE);return r;}
public static ICollection<Ref> Sort(ICollection<Ref> refs){IList<Ref> r = new AList<Ref>(refs);r.Sort(INSTANCE);return r;}
public DescribeVpcsResult describeVpcs() {return describeVpcs(new DescribeVpcsRequest());}
public virtual DescribeVpcsResponse DescribeVpcs(){return DescribeVpcs(new DescribeVpcsRequest());}
public ListProposalsResult listProposals(ListProposalsRequest request) {request = beforeClientExecution(request);return executeListProposals(request);}
public virtual ListProposalsResponse ListProposals(ListProposalsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListProposalsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListProposalsResponseUnmarshaller.Instance;return Invoke<ListProposalsResponse>(request, options);}
public void close() throws IOException {flush();output.close();}
public override void close(){throw new System.NotImplementedException();}
public final T get() {return object;}
public T Get(){return m_object;}
public BundleInstanceRequest(String instanceId, Storage storage) {setInstanceId(instanceId);setStorage(storage);}
public BundleInstanceRequest(string instanceId, Storage storage){_instanceId = instanceId;_storage = storage;}
public void back(int delta) {if (delta == 1 && 0 <= prevPtr) {currPtr = prevPtr;prevPtr = -1;if (!eof())parseEntry();return;} else if (delta <= 0)throw new ArrayIndexOutOfBoundsException(delta);final int[] trace = new int[delta + 1];Arrays.fill(trace, -1);int ptr = 0;while (ptr != currPtr) {System.arraycopy(trace, 1, trace, 0, delta);trace[delta] = ptr;while (raw[ptr] != 0)ptr++;ptr += OBJECT_ID_LENGTH + 1;}if (trace[1] == -1)throw new ArrayIndexOutOfBoundsException(delta);prevPtr = trace[0];currPtr = trace[1];parseEntry();}
public override void Back(int delta){if (delta == 1 && 0 <= prevPtr){currPtr = prevPtr;prevPtr = -1;if (!Eof){ParseEntry();}return;}else{if (delta <= 0){throw Sharpen.Extensions.CreateIndexOutOfRangeException(delta);}}int[] trace = new int[delta + 1];Arrays.Fill(trace, -1);int ptr = 0;while (ptr != currPtr){System.Array.Copy(trace, 1, trace, 0, delta);trace[delta] = ptr;while (raw[ptr] != 0){ptr++;}ptr += Constants.OBJECT_ID_LENGTH + 1;}if (trace[1] == -1){throw Sharpen.Extensions.CreateIndexOutOfRangeException(delta);}prevPtr = trace[0];currPtr = trace[1];ParseEntry();}