java
stringlengths
28
1.4k
C#
stringlengths
27
1.38k
public TokenStream create(TokenStream input) {return new SwedishLightStemFilter(input);}
public override TokenStream Create(TokenStream input){return new SwedishLightStemFilter(input);}
public void serialize(LittleEndianOutput out) {out.writeShort(getRowNumber());out.writeShort(getFirstCol() == -1 ? (short)0 : getFirstCol());out.writeShort(getLastCol() == -1 ? (short)0 : getLastCol());out.writeShort(getHeight());out.writeShort(getOptimize());out.writeShort(field_6_reserved);out.writeShort(getOptionFlags());out.writeShort(getOptionFlags2());}
public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(RowNumber);out1.WriteShort(FirstCol == -1 ? (short)0 : FirstCol);out1.WriteShort(LastCol == -1 ? (short)0 : LastCol);out1.WriteShort(Height);out1.WriteShort(Optimize);out1.WriteShort(field_6_reserved);out1.WriteShort(OptionFlags);out1.WriteShort(OptionFlags2);}
public GetCredentialsForIdentityResult getCredentialsForIdentity(GetCredentialsForIdentityRequest request) {request = beforeClientExecution(request);return executeGetCredentialsForIdentity(request);}
public virtual GetCredentialsForIdentityResponse GetCredentialsForIdentity(GetCredentialsForIdentityRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetCredentialsForIdentityRequestMarshaller.Instance;options.ResponseUnmarshaller = GetCredentialsForIdentityResponseUnmarshaller.Instance;return Invoke<GetCredentialsForIdentityResponse>(request, options);}
public DeleteFileSystemResult deleteFileSystem(DeleteFileSystemRequest request) {request = beforeClientExecution(request);return executeDeleteFileSystem(request);}
public virtual DeleteFileSystemResponse DeleteFileSystem(DeleteFileSystemRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteFileSystemRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteFileSystemResponseUnmarshaller.Instance;return Invoke<DeleteFileSystemResponse>(request, options);}
public DeleteGameServerGroupResult deleteGameServerGroup(DeleteGameServerGroupRequest request) {request = beforeClientExecution(request);return executeDeleteGameServerGroup(request);}
public virtual DeleteGameServerGroupResponse DeleteGameServerGroup(DeleteGameServerGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteGameServerGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteGameServerGroupResponseUnmarshaller.Instance;return Invoke<DeleteGameServerGroupResponse>(request, options);}
public AutoCRLFOutputStream(OutputStream out) {this(out, true);}
public AutoCRLFOutputStream(OutputStream @out){this.@out = @out;}
public DescribeLocationsResult describeLocations(DescribeLocationsRequest request) {request = beforeClientExecution(request);return executeDescribeLocations(request);}
public virtual DescribeLocationsResponse DescribeLocations(DescribeLocationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeLocationsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeLocationsResponseUnmarshaller.Instance;return Invoke<DescribeLocationsResponse>(request, options);}
public CopyWorkspaceImageResult copyWorkspaceImage(CopyWorkspaceImageRequest request) {request = beforeClientExecution(request);return executeCopyWorkspaceImage(request);}
public virtual CopyWorkspaceImageResponse CopyWorkspaceImage(CopyWorkspaceImageRequest request){var options = new InvokeOptions();options.RequestMarshaller = CopyWorkspaceImageRequestMarshaller.Instance;options.ResponseUnmarshaller = CopyWorkspaceImageResponseUnmarshaller.Instance;return Invoke<CopyWorkspaceImageResponse>(request, options);}
public UpdateAliasResult updateAlias(UpdateAliasRequest request) {request = beforeClientExecution(request);return executeUpdateAlias(request);}
public virtual UpdateAliasResponse UpdateAlias(UpdateAliasRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateAliasRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateAliasResponseUnmarshaller.Instance;return Invoke<UpdateAliasResponse>(request, options);}
public static final int nextLF(byte[] b, int ptr, char chrA) {final int sz = b.length;while (ptr < sz) {final byte c = b[ptr++];if (c == chrA || c == '\n')return ptr;}return ptr;}
public static int NextLF(byte[] b, int ptr, char chrA){int sz = b.Length;while (ptr < sz){byte c = b[ptr++];if (c == chrA || c == '\n'){return ptr;}}return ptr;}
public static long checkFooter(ChecksumIndexInput in) throws IOException {validateFooter(in);long actualChecksum = in.getChecksum();long expectedChecksum = readCRC(in);if (expectedChecksum != actualChecksum) {throw new CorruptIndexException("checksum failed (hardware problem?) : expected=" + Long.toHexString(expectedChecksum) +" actual=" + Long.toHexString(actualChecksum), in);}return actualChecksum;}
public static long CheckFooter(ChecksumIndexInput @in){ValidateFooter(@in);long actualChecksum = @in.Checksum;long expectedChecksum = @in.ReadInt64();if (expectedChecksum != actualChecksum){throw new System.IO.IOException("checksum failed (hardware problem?) : expected=" + expectedChecksum.ToString("x") + " actual=" + actualChecksum.ToString("x") + " (resource=" + @in + ")");}if (@in.GetFilePointer() != @in.Length){throw new System.IO.IOException("did not read all bytes from file: read " + @in.GetFilePointer() + " vs size " + @in.Length + " (resource: " + @in + ")");}return actualChecksum;}
public GetLoadBalancersResult getLoadBalancers(GetLoadBalancersRequest request) {request = beforeClientExecution(request);return executeGetLoadBalancers(request);}
public virtual GetLoadBalancersResponse GetLoadBalancers(GetLoadBalancersRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetLoadBalancersRequestMarshaller.Instance;options.ResponseUnmarshaller = GetLoadBalancersResponseUnmarshaller.Instance;return Invoke<GetLoadBalancersResponse>(request, options);}
public GetRepoListByNamespaceRequest() {super("cr", "2016-06-07", "GetRepoListByNamespace", "cr");setUriPattern("/repos/[RepoNamespace]");setMethod(MethodType.GET);}
public GetRepoListByNamespaceRequest(): base("cr", "2016-06-07", "GetRepoListByNamespace", "cr", "openAPI"){UriPattern = "/repos/[RepoNamespace]";Method = MethodType.GET;}
public boolean add(QueryNodeProcessor processor) {boolean added = this.processors.add(processor);if (added) {processor.setQueryConfigHandler(this.queryConfig);}return added;}
public virtual bool Add(IQueryNodeProcessor processor){this.processors.Add(processor);bool added = processors.Contains(processor);if (added){processor.SetQueryConfigHandler(this.queryConfig);}return added;}
public PutEventStreamResult putEventStream(PutEventStreamRequest request) {request = beforeClientExecution(request);return executePutEventStream(request);}
public virtual PutEventStreamResponse PutEventStream(PutEventStreamRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutEventStreamRequestMarshaller.Instance;options.ResponseUnmarshaller = PutEventStreamResponseUnmarshaller.Instance;return Invoke<PutEventStreamResponse>(request, options);}
public int getRenameLimit() {return renameLimit;}
public virtual int GetRenameLimit(){return renameLimit;}
public char next() {if (++index >= limit) {index = limit;return DONE;} else {return current();}}
public override char Next(){if (++index >= limit){index = limit;return Done;}else{return Current;}}
public final ObjectId getDeltaBaseId() {return deltaBase;}
public virtual ObjectId GetDeltaBaseId(){return deltaBase;}
public FieldType(IndexableFieldType ref) {this.stored = ref.stored();this.tokenized = ref.tokenized();this.storeTermVectors = ref.storeTermVectors();this.storeTermVectorOffsets = ref.storeTermVectorOffsets();this.storeTermVectorPositions = ref.storeTermVectorPositions();this.storeTermVectorPayloads = ref.storeTermVectorPayloads();this.omitNorms = ref.omitNorms();this.indexOptions = ref.indexOptions();this.docValuesType = ref.docValuesType();this.dimensionCount = ref.pointDimensionCount();this.indexDimensionCount = ref.pointIndexDimensionCount();this.dimensionNumBytes = ref.pointNumBytes();if (ref.getAttributes() != null) {this.attributes = new HashMap<>(ref.getAttributes());}}
public FieldType(FieldType @ref){this.indexed = @ref.IsIndexed;this.stored = @ref.IsStored;this.tokenized = @ref.IsTokenized;this.storeTermVectors = @ref.StoreTermVectors;this.storeTermVectorOffsets = @ref.StoreTermVectorOffsets;this.storeTermVectorPositions = @ref.StoreTermVectorPositions;this.storeTermVectorPayloads = @ref.StoreTermVectorPayloads;this.omitNorms = @ref.OmitNorms;this.indexOptions = @ref.IndexOptions;this.docValueType = @ref.DocValueType;this.numericType = @ref.NumericType;}
public RestoreWorkspaceResult restoreWorkspace(RestoreWorkspaceRequest request) {request = beforeClientExecution(request);return executeRestoreWorkspace(request);}
public virtual RestoreWorkspaceResponse RestoreWorkspace(RestoreWorkspaceRequest request){var options = new InvokeOptions();options.RequestMarshaller = RestoreWorkspaceRequestMarshaller.Instance;options.ResponseUnmarshaller = RestoreWorkspaceResponseUnmarshaller.Instance;return Invoke<RestoreWorkspaceResponse>(request, options);}
public String toString(){StringBuilder buffer = new StringBuilder();buffer.append("[CODEPAGE]\n");buffer.append(" .codepage = ").append(Integer.toHexString(getCodepage())).append("\n");buffer.append("[/CODEPAGE]\n");return buffer.toString();}
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[CODEPAGE]\n");buffer.Append(" .codepage = ").Append(StringUtil.ToHexString(Codepage)).Append("\n");buffer.Append("[/CODEPAGE]\n");return buffer.ToString();}
public GetRepoTagsRequest() {super("cr", "2016-06-07", "GetRepoTags", "cr");setUriPattern("/repos/[RepoNamespace]/[RepoName]/tags");setMethod(MethodType.GET);}
public GetRepoTagsRequest(): base("cr", "2016-06-07", "GetRepoTags", "cr", "openAPI"){UriPattern = "/repos/[RepoNamespace]/[RepoName]/tags";Method = MethodType.GET;}
public ProtectRecord clone() {return copy();}
public override Object Clone(){return new ProtectRecord(_options);}
public ModifyDBParameterGroupResult modifyDBParameterGroup(ModifyDBParameterGroupRequest request) {request = beforeClientExecution(request);return executeModifyDBParameterGroup(request);}
public virtual ModifyDBParameterGroupResponse ModifyDBParameterGroup(ModifyDBParameterGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyDBParameterGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyDBParameterGroupResponseUnmarshaller.Instance;return Invoke<ModifyDBParameterGroupResponse>(request, options);}
public QueryParserConfig build() {return new QueryParserConfig(this);}
public CompositeReaderContext Build(){return (CompositeReaderContext)Build(null, reader, 0, 0);}
public Set<String> getSections() {return getState().getSections();}
public virtual ICollection<string> GetSections(){return GetState().GetSections();}
public UpdateProxySessionResult updateProxySession(UpdateProxySessionRequest request) {request = beforeClientExecution(request);return executeUpdateProxySession(request);}
public virtual UpdateProxySessionResponse UpdateProxySession(UpdateProxySessionRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateProxySessionRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateProxySessionResponseUnmarshaller.Instance;return Invoke<UpdateProxySessionResponse>(request, options);}
public double getAvp() {return maxGoodPoints==0 ? 0 : pReleventSum/maxGoodPoints;}
public virtual double GetAvp(){return maxGoodPoints == 0 ? 0 : pReleventSum / maxGoodPoints;}
public ListCompatibleImagesResult listCompatibleImages(ListCompatibleImagesRequest request) {request = beforeClientExecution(request);return executeListCompatibleImages(request);}
public virtual ListCompatibleImagesResponse ListCompatibleImages(ListCompatibleImagesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListCompatibleImagesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListCompatibleImagesResponseUnmarshaller.Instance;return Invoke<ListCompatibleImagesResponse>(request, options);}
public int getSourceEnd() {Region r = outRegion;return r.sourceStart + r.length;}
public virtual int GetSourceEnd(){Region r = currentSource.regionList;return r.sourceStart + r.length;}
public int read() {if (pos < size) {return s.charAt(pos++);} else {s = null;return -1;}}
public override int Read(){char[] result = new char[1];if (Read(result, 0, 1, false) != -1){return result[0];}return -1;}
public GetMediaForFragmentListResult getMediaForFragmentList(GetMediaForFragmentListRequest request) {request = beforeClientExecution(request);return executeGetMediaForFragmentList(request);}
public virtual GetMediaForFragmentListResponse GetMediaForFragmentList(GetMediaForFragmentListRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetMediaForFragmentListRequestMarshaller.Instance;options.ResponseUnmarshaller = GetMediaForFragmentListResponseUnmarshaller.Instance;return Invoke<GetMediaForFragmentListResponse>(request, options);}
public BlendedTermQuery build() {return new BlendedTermQuery(ArrayUtil.copyOfSubArray(terms, 0, numTerms),ArrayUtil.copyOfSubArray(boosts, 0, numTerms),ArrayUtil.copyOfSubArray(contexts, 0, numTerms),rewriteMethod);}
public override WAH8DocIdSet Build(){if (this.wordNum != -1){AddWord(wordNum, (byte)word);}return base.Build();}
public void write(byte[] buffer, int offset, int length) throws IOException {checkWritePrimitiveTypes();primitiveTypes.write(buffer, offset, length);}
public override void write(byte[] buffer, int offset, int length){throw new System.NotImplementedException();}
public ModifyScheduledActionResult modifyScheduledAction(ModifyScheduledActionRequest request) {request = beforeClientExecution(request);return executeModifyScheduledAction(request);}
public virtual ModifyScheduledActionResponse ModifyScheduledAction(ModifyScheduledActionRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyScheduledActionRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyScheduledActionResponseUnmarshaller.Instance;return Invoke<ModifyScheduledActionResponse>(request, options);}
public CreateEventRequest() {super("CloudPhoto", "2017-07-11", "CreateEvent", "cloudphoto");setProtocol(ProtocolType.HTTPS);}
public CreateEventRequest(): base("CloudPhoto", "2017-07-11", "CreateEvent", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}
public DeleteDirectoryResult deleteDirectory(DeleteDirectoryRequest request) {request = beforeClientExecution(request);return executeDeleteDirectory(request);}
public virtual DeleteDirectoryResponse DeleteDirectory(DeleteDirectoryRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteDirectoryRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteDirectoryResponseUnmarshaller.Instance;return Invoke<DeleteDirectoryResponse>(request, options);}
public static RevFilter create(RevFilter a, RevFilter b) {if (a == ALL)return b;if (b == ALL)return a;return new Binary(a, b);}
public static RevFilter Create(RevFilter a, RevFilter b){if (a == ALL){return b;}if (b == ALL){return a;}return new AndRevFilter.Binary(a, b);}
public PasswordRecord(int password) {field_1_password = password;}
public PasswordRecord(int password){field_1_password = password;}
public CzechStemFilterFactory(Map<String,String> args) {super(args);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}
public CzechStemFilterFactory(IDictionary<string, string> args) : base(args){if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
public CloseIgnoringInputStream(InputStream in) {super(in);}
public CloseIgnoringInputStream(Stream stream){_is = stream;}
public Snapshot modifyClusterSnapshot(ModifyClusterSnapshotRequest request) {request = beforeClientExecution(request);return executeModifyClusterSnapshot(request);}
public virtual ModifyClusterSnapshotResponse ModifyClusterSnapshot(ModifyClusterSnapshotRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyClusterSnapshotRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyClusterSnapshotResponseUnmarshaller.Instance;return Invoke<ModifyClusterSnapshotResponse>(request, options);}
public boolean inErrorRecoveryMode(Parser recognizer) {return errorRecoveryMode;}
public virtual bool InErrorRecoveryMode(Parser recognizer){return errorRecoveryMode;}
public FacetLabel(String dim, String[] path) {components = new String[1+path.length];components[0] = dim;System.arraycopy(path, 0, components, 1, path.length);length = components.length;checkComponents();}
public FacetLabel(string dim, string[] path){Components = new string[1 + path.Length];Components[0] = dim;Array.Copy(path, 0, Components, 1, path.Length);Length = Components.Length;CheckComponents();}
public UntagStreamResult untagStream(UntagStreamRequest request) {request = beforeClientExecution(request);return executeUntagStream(request);}
public virtual UntagStreamResponse UntagStream(UntagStreamRequest request){var options = new InvokeOptions();options.RequestMarshaller = UntagStreamRequestMarshaller.Instance;options.ResponseUnmarshaller = UntagStreamResponseUnmarshaller.Instance;return Invoke<UntagStreamResponse>(request, options);}
public long addAndGet(long delta) {return count += delta;}
public override long AddAndGet(long delta){return count += delta;}
public int read() throws IOException {synchronized (lock) {if (!isOpen()) {throw new IOException("InputStreamReader is closed");}char[] buf = new char[1];return read(buf, 0, 1) != -1 ? buf[0] : -1;}}
public override int read(){lock (@lock){if (!isOpen()){throw new System.IO.IOException("InputStreamReader is closed");}char[] buf = new char[1];return read(buf, 0, 1) != -1 ? buf[0] : -1;}}
public static int getEncodedSize(int numberOfItems) {return numberOfItems * ENCODED_SIZE;}
public static int GetEncodedSize(int numberOfItems){return numberOfItems * ENCODED_SIZE;}
public PrintStream(File file, String csn) throws FileNotFoundException,UnsupportedEncodingException {super(new FileOutputStream(file));if (csn == null) {throw new NullPointerException();}if (!Charset.isSupported(csn)) {throw new UnsupportedEncodingException(csn);}encoding = csn;}
public PrintStream(java.io.File file, string csn) : base(new java.io.FileOutputStream(file)){if (csn == null){throw new System.ArgumentNullException();}if (!java.nio.charset.Charset.isSupported(csn)){throw new java.io.UnsupportedEncodingException(csn);}encoding = csn;}
public E poll() {return size == 0 ? null : removeFirst();}
public virtual E poll(){return _size == 0 ? default(E) : removeFirst();}
public void write(char[] cbuf, int offset, int count) throws IOException {synchronized (lock) {checkNotClosed();if (cbuf == null) {throw new NullPointerException("buffer == null");}Arrays.checkOffsetAndCount(cbuf.length, offset, count);if (pos == 0 && count >= this.buf.length) {out.write(cbuf, offset, count);return;}int available = this.buf.length - pos;if (count < available) {available = count;}if (available > 0) {System.arraycopy(cbuf, offset, this.buf, pos, available);pos += available;}if (pos == this.buf.length) {out.write(this.buf, 0, this.buf.length);pos = 0;if (count > available) {offset += available;available = count - available;if (available >= this.buf.length) {out.write(cbuf, offset, available);return;}System.arraycopy(cbuf, offset, this.buf, pos, available);pos += available;}}}}
public override void write(char[] cbuf, int offset, int count){lock (@lock){checkNotClosed();if (cbuf == null){throw new System.ArgumentNullException("buffer == null");}java.util.Arrays.checkOffsetAndCount(cbuf.Length, offset, count);if (pos == 0 && count >= this.buf.Length){@out.write(cbuf, offset, count);return;}int available = this.buf.Length - pos;if (count < available){available = count;}if (available > 0){System.Array.Copy(cbuf, offset, this.buf, pos, available);pos += available;}if (pos == this.buf.Length){@out.write(this.buf, 0, this.buf.Length);pos = 0;if (count > available){offset += available;available = count - available;if (available >= this.buf.Length){@out.write(cbuf, offset, available);return;}System.Array.Copy(cbuf, offset, this.buf, pos, available);pos += available;}}}}
public String toString(String enc) throws UnsupportedEncodingException {return new String(toByteArray(), enc);}
public virtual string toString(string enc){throw new System.NotImplementedException();}
public CreateRoomMembershipResult createRoomMembership(CreateRoomMembershipRequest request) {request = beforeClientExecution(request);return executeCreateRoomMembership(request);}
public virtual CreateRoomMembershipResponse CreateRoomMembership(CreateRoomMembershipRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateRoomMembershipRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateRoomMembershipResponseUnmarshaller.Instance;return Invoke<CreateRoomMembershipResponse>(request, options);}
public long ramBytesUsed() {long size = 0;for (Map.Entry<String,DocValuesProducer> entry : formats.entrySet()) {size += (entry.getKey().length() * Character.BYTES) + entry.getValue().ramBytesUsed();}return size;}
public override long RamBytesUsed(){long sizeInBytes = 0;foreach (KeyValuePair<string, FieldsProducer> entry in formats){sizeInBytes += entry.Key.Length * RamUsageEstimator.NUM_BYTES_CHAR;sizeInBytes += entry.Value.RamBytesUsed();}return sizeInBytes;}
public int getDFASize() {int n = 0;DFA[] decisionToDFA = atnSimulator.decisionToDFA;for (int i = 0; i < decisionToDFA.length; i++) {n += getDFASize(i);}return n;}
public int getDFASize(){int n = 0;DFA[] decisionToDFA = atnSimulator.decisionToDFA;for (int i = 0; i < decisionToDFA.Length; i++){n += getDFASize(i);}return n;}
public static CodePointCharStream fromString(String s) {return fromString(s, IntStream.UNKNOWN_SOURCE_NAME);}
public static ICharStream fromstring(string s){return new CodePointCharStream(s);}
public DeleteUserSourceAccountRequest() {super("cr", "2016-06-07", "DeleteUserSourceAccount", "cr");setUriPattern("/users/sourceAccount/[SourceAccountId]");setMethod(MethodType.DELETE);}
public DeleteUserSourceAccountRequest(): base("cr", "2016-06-07", "DeleteUserSourceAccount", "cr", "openAPI"){UriPattern = "/users/sourceAccount/[SourceAccountId]";Method = MethodType.DELETE;}
public static Proxy proxyFor(ProxySelector proxySelector, URL u)throws ConnectException {try {URI uri = new URI(u.getProtocol(), null, u.getHost(), u.getPort(),null, null, null);return proxySelector.select(uri).get(0);} catch (URISyntaxException e) {final ConnectException err;err = new ConnectException(MessageFormat.format(JGitText.get().cannotDetermineProxyFor, u));err.initCause(e);throw err;}}
public static Proxy ProxyFor(ProxySelector proxySelector, Uri u){try{return proxySelector.Select(u.ToURI())[0];}catch (URISyntaxException e){ConnectException err;err = new ConnectException(MessageFormat.Format(JGitText.Get().cannotDetermineProxyFor, u));Sharpen.Extensions.InitCause(err, e);throw err;}}
public String toString() {String dsc = null;switch (this.type) {case TYPE_UNDERFLOW:dsc = "UNDERFLOW error";break;case TYPE_OVERFLOW:dsc = "OVERFLOW error";break;case TYPE_UNMAPPABLE_CHAR:dsc = "Unmappable-character error with erroneous input length "+ this.length;break;case TYPE_MALFORMED_INPUT:dsc = "Malformed-input error with erroneous input length "+ this.length;break;default:dsc = "";break;}return getClass().getName() + "[" + dsc + "]";}
public override string ToString(){string dsc = null;switch (this.type){case TYPE_UNDERFLOW:{dsc = "UNDERFLOW error";break;}case TYPE_OVERFLOW:{dsc = "OVERFLOW error";break;}case TYPE_UNMAPPABLE_CHAR:{dsc = "Unmappable-character error with erroneous input length " + this._length;break;}case TYPE_MALFORMED_INPUT:{dsc = "Malformed-input error with erroneous input length " + this._length;break;}default:{dsc = string.Empty;break;}}return GetType().FullName + "[" + dsc + "]";}
public PredictResult predict(PredictRequest request) {request = beforeClientExecution(request);return executePredict(request);}
public virtual PredictResponse Predict(PredictRequest request){var options = new InvokeOptions();options.RequestMarshaller = PredictRequestMarshaller.Instance;options.ResponseUnmarshaller = PredictResponseUnmarshaller.Instance;return Invoke<PredictResponse>(request, options);}
public Ptg get3DReferencePtg(AreaReference areaRef, SheetIdentifier sheet) {int extIx = getSheetExtIx(sheet);return new Area3DPtg(areaRef, extIx);}
public Ptg Get3DReferencePtg(AreaReference areaRef, SheetIdentifier sheet){int extIx = GetSheetExtIx(sheet);return new Area3DPtg(areaRef, extIx);}
public DescribeMatchmakingResult describeMatchmaking(DescribeMatchmakingRequest request) {request = beforeClientExecution(request);return executeDescribeMatchmaking(request);}
public virtual DescribeMatchmakingResponse DescribeMatchmaking(DescribeMatchmakingRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeMatchmakingRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeMatchmakingResponseUnmarshaller.Instance;return Invoke<DescribeMatchmakingResponse>(request, options);}
public DeleteDeviceUsageDataResult deleteDeviceUsageData(DeleteDeviceUsageDataRequest request) {request = beforeClientExecution(request);return executeDeleteDeviceUsageData(request);}
public virtual DeleteDeviceUsageDataResponse DeleteDeviceUsageData(DeleteDeviceUsageDataRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteDeviceUsageDataRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteDeviceUsageDataResponseUnmarshaller.Instance;return Invoke<DeleteDeviceUsageDataResponse>(request, options);}
public void removeHyperlink() {for (Iterator<RecordBase> it = _sheet.getSheet().getRecords().iterator(); it.hasNext();) {RecordBase rec = it.next();if (rec instanceof HyperlinkRecord) {HyperlinkRecord link = (HyperlinkRecord) rec;if (link.getFirstColumn() == _record.getColumn() && link.getFirstRow() == _record.getRow()) {it.remove();return;}}}}
public void RemoveHyperlink(){RecordBase toRemove = null;for (IEnumerator<RecordBase> it = _sheet.Sheet.Records.GetEnumerator(); it.MoveNext(); ){RecordBase rec = it.Current;if (rec is HyperlinkRecord){HyperlinkRecord link = (HyperlinkRecord)rec;if (link.FirstColumn == _record.Column && link.FirstRow == _record.Row){toRemove = rec;break;}}}if (toRemove != null)_sheet.Sheet.Records.Remove(toRemove);}
public RegisterInstancesWithLoadBalancerRequest(String loadBalancerName, java.util.List<Instance> instances) {setLoadBalancerName(loadBalancerName);setInstances(instances);}
public RegisterInstancesWithLoadBalancerRequest(string loadBalancerName, List<Instance> instances){_loadBalancerName = loadBalancerName;_instances = instances;}
public AssociateResolverRuleResult associateResolverRule(AssociateResolverRuleRequest request) {request = beforeClientExecution(request);return executeAssociateResolverRule(request);}
public virtual AssociateResolverRuleResponse AssociateResolverRule(AssociateResolverRuleRequest request){var options = new InvokeOptions();options.RequestMarshaller = AssociateResolverRuleRequestMarshaller.Instance;options.ResponseUnmarshaller = AssociateResolverRuleResponseUnmarshaller.Instance;return Invoke<AssociateResolverRuleResponse>(request, options);}
@Override public Set<Entry<K, V>> entrySet() {throw new UnsupportedOperationException();}
public override java.util.Set<java.util.MapClass.Entry<K, V>> entrySet(){throw new System.NotSupportedException();}
public TreeFilter negate() {return a;}
public override TreeFilter Negate(){return a;}
public SearchProfilesResult searchProfiles(SearchProfilesRequest request) {request = beforeClientExecution(request);return executeSearchProfiles(request);}
public virtual SearchProfilesResponse SearchProfiles(SearchProfilesRequest request){var options = new InvokeOptions();options.RequestMarshaller = SearchProfilesRequestMarshaller.Instance;options.ResponseUnmarshaller = SearchProfilesResponseUnmarshaller.Instance;return Invoke<SearchProfilesResponse>(request, options);}
public DBSubnetGroup modifyDBSubnetGroup(ModifyDBSubnetGroupRequest request) {request = beforeClientExecution(request);return executeModifyDBSubnetGroup(request);}
public virtual ModifyDBSubnetGroupResponse ModifyDBSubnetGroup(ModifyDBSubnetGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyDBSubnetGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyDBSubnetGroupResponseUnmarshaller.Instance;return Invoke<ModifyDBSubnetGroupResponse>(request, options);}
public int compareTo(String version) {final String[] parts = version.split(":");final long indexGen = Long.parseLong(parts[0], RADIX);final long taxoGen = Long.parseLong(parts[1], RADIX);final long indexCommitGen = indexCommit.getGeneration();final long taxoCommitGen = taxoCommit.getGeneration();if (indexCommitGen < indexGen) {return -1;} else if (indexCommitGen > indexGen) {return 1;} else {return taxoCommitGen < taxoGen ? -1 : (taxoCommitGen > taxoGen ? 1 : 0);}}
public virtual int CompareTo(string version){string[] parts = version.Split(':').TrimEnd();long indexGen = long.Parse(parts[0], NumberStyles.HexNumber);long taxonomyGen = long.Parse(parts[1], NumberStyles.HexNumber);long indexCommitGen = indexCommit.Generation;long taxonomyCommitGen = taxonomyCommit.Generation;if (indexCommitGen < indexGen)return -1;if (indexCommitGen > indexGen)return 1;return taxonomyCommitGen < taxonomyGen ? -1 : (taxonomyCommitGen > taxonomyGen ? 1 : 0);}
public LiteralValueSource(String string) {this.string = string;this.bytesRef = new BytesRef(string);}
public LiteralValueSource(string str){this.m_str = str;this.m_bytesRef = new BytesRef(str);}
public int getValue(final int holder){return getRawValue(holder) >>> _shift_count;}
public int GetValue(int holder){return Operator.UnsignedRightShift(this.GetRawValue(holder) , this._shift_count);}
public HSSFShapeGroup(HSSFShape parent, HSSFAnchor anchor) {super(parent, anchor);_spgrRecord = ((EscherContainerRecord)getEscherContainer().getChild(0)).getChildById(EscherSpgrRecord.RECORD_ID);}
public HSSFShapeGroup(HSSFShape parent, HSSFAnchor anchor): base(parent, anchor){_spgrRecord = (EscherSpgrRecord)((EscherContainerRecord)GetEscherContainer().GetChild(0)).GetChildById(EscherSpgrRecord.RECORD_ID);}
public String toString() {return "Note[" + name() + " -> " + data.name() + "]";}
public override string ToString(){return "Note[" + Name + " -> " + data.Name + "]";}
public DeleteFpgaImageResult deleteFpgaImage(DeleteFpgaImageRequest request) {request = beforeClientExecution(request);return executeDeleteFpgaImage(request);}
public virtual DeleteFpgaImageResponse DeleteFpgaImage(DeleteFpgaImageRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteFpgaImageRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteFpgaImageResponseUnmarshaller.Instance;return Invoke<DeleteFpgaImageResponse>(request, options);}
public CreateAppCookieStickinessPolicyResult createAppCookieStickinessPolicy(CreateAppCookieStickinessPolicyRequest request) {request = beforeClientExecution(request);return executeCreateAppCookieStickinessPolicy(request);}
public virtual CreateAppCookieStickinessPolicyResponse CreateAppCookieStickinessPolicy(CreateAppCookieStickinessPolicyRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateAppCookieStickinessPolicyRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateAppCookieStickinessPolicyResponseUnmarshaller.Instance;return Invoke<CreateAppCookieStickinessPolicyResponse>(request, options);}
public String toString(){StringBuilder buffer = new StringBuilder();buffer.append("[FNGROUPCOUNT]\n");buffer.append(" .count = ").append(getCount()).append("\n");buffer.append("[/FNGROUPCOUNT]\n");return buffer.toString();}
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[FNGROUPCOUNT]\n");buffer.Append(" .count = ").Append(this.Count).Append("\n");buffer.Append("[/FNGROUPCOUNT]\n");return buffer.ToString();}
public final void sort(int from, int to) {checkRange(from, to);quicksort(from, to, 2 * MathUtil.log(to - from, 2));}
public override sealed void Sort(int from, int to){CheckRange(from, to);Quicksort(from, to, CeilLog2(to - from));}
public DescribeMonitoringScheduleResult describeMonitoringSchedule(DescribeMonitoringScheduleRequest request) {request = beforeClientExecution(request);return executeDescribeMonitoringSchedule(request);}
public virtual DescribeMonitoringScheduleResponse DescribeMonitoringSchedule(DescribeMonitoringScheduleRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeMonitoringScheduleRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeMonitoringScheduleResponseUnmarshaller.Instance;return Invoke<DescribeMonitoringScheduleResponse>(request, options);}
public HeaderLineParser(String[] header) {super(header);posToF = new FieldName[header.length];for (int i=0; i<header.length; i++) {String f = header[i];if (DocMaker.NAME_FIELD.equals(f)) {posToF[i] = FieldName.NAME;} else if (DocMaker.TITLE_FIELD.equals(f)) {posToF[i] = FieldName.TITLE;} else if (DocMaker.DATE_FIELD.equals(f)) {posToF[i] = FieldName.DATE;} else if (DocMaker.BODY_FIELD.equals(f)) {posToF[i] = FieldName.BODY;} else {posToF[i] = FieldName.PROP;}}}
public HeaderLineParser(string[] header): base(header){posToF = new FieldName[header.Length];for (int i = 0; i < header.Length; i++){String f = header[i];if (DocMaker.NAME_FIELD.Equals(f, StringComparison.Ordinal)){posToF[i] = FieldName.NAME;}else if (DocMaker.TITLE_FIELD.Equals(f, StringComparison.Ordinal)){posToF[i] = FieldName.TITLE;}else if (DocMaker.DATE_FIELD.Equals(f, StringComparison.Ordinal)){posToF[i] = FieldName.DATE;}else if (DocMaker.BODY_FIELD.Equals(f, StringComparison.Ordinal)){posToF[i] = FieldName.BODY;}else{posToF[i] = FieldName.PROP;}}}
public void reset() {if (useHash) {map.clear();useHash = false;}count = 0;}
public void Reset(){if (useHash){map.Clear();useHash = false;}count = 0;}
public StandardTokenizerFactory(Map<String,String> args) {super(args);maxTokenLength = getInt(args, "maxTokenLength", StandardAnalyzer.DEFAULT_MAX_TOKEN_LENGTH);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}
public StandardTokenizerFactory(IDictionary<string, string> args): base(args){AssureMatchVersion();maxTokenLength = GetInt32(args, "maxTokenLength", StandardAnalyzer.DEFAULT_MAX_TOKEN_LENGTH);if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
public void decode(byte[] blocks, int blocksOffset, long[] values, int valuesOffset, int iterations) {for (int i = 0; i < iterations; ++i) {final long byte0 = blocks[blocksOffset++] & 0xFF;final long byte1 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = (byte0 << 6) | (byte1 >>> 2);final long byte2 = blocks[blocksOffset++] & 0xFF;final long byte3 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = ((byte1 & 3) << 12) | (byte2 << 4) | (byte3 >>> 4);final long byte4 = blocks[blocksOffset++] & 0xFF;final long byte5 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = ((byte3 & 15) << 10) | (byte4 << 2) | (byte5 >>> 6);final long byte6 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = ((byte5 & 63) << 8) | byte6;}}
public override void Decode(byte[] blocks, int blocksOffset, long[] values, int valuesOffset, int iterations){for (int i = 0; i < iterations; ++i){long byte0 = blocks[blocksOffset++] & 0xFF;long byte1 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = (byte0 << 6) | ((long)((ulong)byte1 >> 2));long byte2 = blocks[blocksOffset++] & 0xFF;long byte3 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = ((byte1 & 3) << 12) | (byte2 << 4) | ((long)((ulong)byte3 >> 4));long byte4 = blocks[blocksOffset++] & 0xFF;long byte5 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = ((byte3 & 15) << 10) | (byte4 << 2) | ((long)((ulong)byte5 >> 6));long byte6 = blocks[blocksOffset++] & 0xFF;values[valuesOffset++] = ((byte5 & 63) << 8) | byte6;}}
public boolean precpred(RuleContext localctx, int precedence) {return true;}
public virtual bool Precpred(RuleContext localctx, int precedence){return true;}
public int getFSD() {return fSD;}
public int GetFSD(){return fSD;}
public static FunctionMetadata getFunctionByIndex(int index) {return getInstance().getFunctionByIndexInternal(index);}
public static FunctionMetadata GetFunctionByIndex(int index){return GetInstance().GetFunctionByIndexInternal(index);}
public Object toObject() {assert exists || 0 == value.length();return exists ? value.get().utf8ToString() : null;}
public override object ToObject(){return Exists ? Value.Utf8ToString() : null;}
public GetDisksResult getDisks(GetDisksRequest request) {request = beforeClientExecution(request);return executeGetDisks(request);}
public virtual GetDisksResponse GetDisks(GetDisksRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetDisksRequestMarshaller.Instance;options.ResponseUnmarshaller = GetDisksResponseUnmarshaller.Instance;return Invoke<GetDisksResponse>(request, options);}
public String toString() {return getClass().getSimpleName() + "(compressionMode=" + compressionMode+ ", chunkSize=" + chunkSize + ", maxDocsPerChunk=" + maxDocsPerChunk + ", blockShift=" + blockShift + ")";}
public override string ToString(){return this.GetType().Name + "(compressionMode=" + compressionMode + ", chunkSize=" + chunkSize + ")";}
public DescribeVolumesModificationsResult describeVolumesModifications(DescribeVolumesModificationsRequest request) {request = beforeClientExecution(request);return executeDescribeVolumesModifications(request);}
public virtual DescribeVolumesModificationsResponse DescribeVolumesModifications(DescribeVolumesModificationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeVolumesModificationsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeVolumesModificationsResponseUnmarshaller.Instance;return Invoke<DescribeVolumesModificationsResponse>(request, options);}
public float currentScore(int docId, String field, int start, int end, int numPayloadsSeen, float currentScore, float currentPayloadScore) {return currentPayloadScore + currentScore;}
public override float CurrentScore(int docId, string field, int start, int end, int numPayloadsSeen, float currentScore, float currentPayloadScore){return currentPayloadScore + currentScore;}
public StartRepoBuildRequest() {super("cr", "2016-06-07", "StartRepoBuild", "cr");setUriPattern("/repos/[RepoNamespace]/[RepoName]/build");setMethod(MethodType.PUT);}
public StartRepoBuildRequest(): base("cr", "2016-06-07", "StartRepoBuild", "cr", "openAPI"){UriPattern = "/repos/[RepoNamespace]/[RepoName]/build";Method = MethodType.PUT;}
public Instance(String instanceId) {setInstanceId(instanceId);}
public Instance(string instanceId){_instanceId = instanceId;}
public int getEntryPathHashCode() {int hash = 0;for (int i = Math.max(0, pathLen - 16); i < pathLen; i++) {byte c = path[i];if (c != ' ')hash = (hash >>> 2) + (c << 24);}return hash;}
public virtual int GetEntryPathHashCode(){int hash = 0;for (int i = Math.Max(0, pathLen - 16); i < pathLen; i++){byte c = path[i];if (c != ' '){hash = ((int)(((uint)hash) >> 2)) + (c << 24);}}return hash;}
public CreateBranchCommand setName(String name) {checkCallable();this.name = name;return this;}
public virtual NGit.Api.CreateBranchCommand SetName(string name){CheckCallable();this.name = name;return this;}
public static Reporter getReporter() {return REPORTER;}
public static dalvik.system.CloseGuard.Reporter getReporter(){return REPORTER;}
public void getChars(int start, int end, char[] dst, int dstStart) {if (start > count || end > count || start > end) {throw startEndAndLength(start, end);}System.arraycopy(value, start, dst, dstStart, end - start);}
public virtual void getChars(int start, int end, char[] dst, int dstStart){if (start > count || end > count || start > end){throw startEndAndLength(start, end);}System.Array.Copy(value, start, dst, dstStart, end - start);}
public LongBuffer put(long[] src, int srcOffset, int longCount) {if (longCount > remaining()) {throw new BufferOverflowException();}System.arraycopy(src, srcOffset, backingArray, offset + position, longCount);position += longCount;return this;}
public override java.nio.LongBuffer put(long[] src, int srcOffset, int longCount){if (longCount > remaining()){throw new java.nio.BufferOverflowException();}System.Array.Copy(src, srcOffset, backingArray, offset + _position, longCount);_position += longCount;return this;}
public long getSourceSize() {return src.length;}
public virtual long GetSourceSize(){return src.Length;}