id
int32
0
10.3k
java
stringlengths
29
1.4k
cs
stringlengths
28
1.38k
9,100
public StopInstancesRequest(java.util.List<String> instanceIds) {setInstanceIds(instanceIds);}
public StopInstancesRequest(List<string> instanceIds){_instanceIds = instanceIds;}
9,101
public CreateVpnGatewayResult createVpnGateway(CreateVpnGatewayRequest request) {request = beforeClientExecution(request);return executeCreateVpnGateway(request);}
public virtual CreateVpnGatewayResponse CreateVpnGateway(CreateVpnGatewayRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateVpnGatewayRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateVpnGatewayResponseUnmarshaller.Instance;return Invoke<CreateVpnGatewayResponse>(request, options);}
9,102
public ResetCacheParameterGroupResult resetCacheParameterGroup(ResetCacheParameterGroupRequest request) {request = beforeClientExecution(request);return executeResetCacheParameterGroup(request);}
public virtual ResetCacheParameterGroupResponse ResetCacheParameterGroup(ResetCacheParameterGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = ResetCacheParameterGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = ResetCacheParameterGroupResponseUnmarshaller.Instance;return Invoke<ResetCacheParameterGroupResponse>(request, options);}
9,103
public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1) {double result;try {double d0 = singleOperandEvaluate(arg0, srcRowIndex, srcColumnIndex);double d1 = singleOperandEvaluate(arg1, srcRowIndex, srcColumnIndex);result = evaluate(d0, d1);if (result == 0.0) { if (!(this instanceof SubtractEvalClass)) {return NumberEval.ZERO;}}if (Double.isNaN(result) || Double.isInfinite(result)) {return ErrorEval.NUM_ERROR;}} catch (EvaluationException e) {return e.getErrorEval();}return new NumberEval(result);}
public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1){double result;try{double d0 = SingleOperandEvaluate(arg0, srcRowIndex, srcColumnIndex);double d1 = SingleOperandEvaluate(arg1, srcRowIndex, srcColumnIndex);result = Evaluate(d0, d1);if (result == 0.0){ if (!(this is SubtractEval)){return NumberEval.ZERO;}}if (Double.IsNaN(result) || Double.IsInfinity(result)){return ErrorEval.NUM_ERROR;}}catch (EvaluationException e){return e.GetErrorEval();}return new NumberEval(result);}
9,104
public PutMetricFilterRequest(String logGroupName, String filterName, String filterPattern, java.util.List<MetricTransformation> metricTransformations) {setLogGroupName(logGroupName);setFilterName(filterName);setFilterPattern(filterPattern);setMetricTransformations(metricTransformations);}
public PutMetricFilterRequest(string logGroupName, string filterName, string filterPattern, List<MetricTransformation> metricTransformations){_logGroupName = logGroupName;_filterName = filterName;_filterPattern = filterPattern;_metricTransformations = metricTransformations;}
9,105
@Override public E get(int location) {synchronized (mutex) {return list.get(location);}}
public virtual E get(int location){lock (mutex){return list.get(location);}}
9,106
public IntPtg(int value) {if (!isInRange(value)) {throw new IllegalArgumentException("value is out of range: " + value);}field_1_value = value;}
public IntPtg(int value){if (!IsInRange(value)){throw new ArgumentException("value is out of range: " + value);}field_1_value = value;}
9,107
public Builder() {this(16, 16);}
public Builder(): base(){lastDocID = -1;wordNum = -1;word = 0;}
9,108
public long getItemId(int position) {return position;}
public override long getItemId(int position){return position;}
9,109
public ByteBuffer putDouble(int index, double value) {return putLong(index, Double.doubleToRawLongBits(value));}
public override java.nio.ByteBuffer putDouble(int index, double value){return putLong(index, Sharpen.Util.DoubleToRawLongBits(value));}
9,110
public void clear() {value = false;}
public override void Clear(){value = false;}
9,111
public CharVector(char[] a) {blockSize = DEFAULT_BLOCK_SIZE;array = a;n = a.length;}
public CharVector(char[] a){blockSize = DEFAULT_BLOCK_SIZE;array = a;n = a.Length;}
9,112
public UAX29URLEmailTokenizerFactory(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 UAX29URLEmailTokenizerFactory(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);}}
9,113
public long ramBytesUsed() {long sizeInBytes = 0;for(FieldIndexData entry : fields.values()) {sizeInBytes += entry.ramBytesUsed();}return sizeInBytes;}
public virtual long RamBytesUsed(){return fst == null ? 0 : fst.GetSizeInBytes();}
9,114
public boolean equals(Object other) {if (!(other instanceof CharBuffer)) {return false;}CharBuffer otherBuffer = (CharBuffer) other;if (remaining() != otherBuffer.remaining()) {return false;}int myPosition = position;int otherPosition = otherBuffer.position;boolean equalSoFar = true;while (equalSoFar && (myPosition < limit)) {equalSoFar = get(myPosition++) == otherBuffer.get(otherPosition++);}return equalSoFar;}
public override bool Equals(object other){if (!(other is java.nio.CharBuffer)){return false;}java.nio.CharBuffer otherBuffer = (java.nio.CharBuffer)other;if (remaining() != otherBuffer.remaining()){return false;}int myPosition = _position;int otherPosition = otherBuffer._position;bool equalSoFar = true;while (equalSoFar && (myPosition < _limit)){equalSoFar = get(myPosition++) == otherBuffer.get(otherPosition++);}return equalSoFar;}
9,115
public StartDeploymentResult startDeployment(StartDeploymentRequest request) {request = beforeClientExecution(request);return executeStartDeployment(request);}
public virtual StartDeploymentResponse StartDeployment(StartDeploymentRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartDeploymentRequestMarshaller.Instance;options.ResponseUnmarshaller = StartDeploymentResponseUnmarshaller.Instance;return Invoke<StartDeploymentResponse>(request, options);}
9,116
public String toString(){StringBuilder buffer = new StringBuilder();buffer.append("[1904]\n");buffer.append(" .is1904 = ").append(Integer.toHexString(getWindowing())).append("\n");buffer.append("[/1904]\n");return buffer.toString();}
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[1904]\n");buffer.Append(" .is1904 = ").Append(StringUtil.ToHexString(Windowing)).Append("\n");buffer.Append("[/1904]\n");return buffer.ToString();}
9,117
public CreateModelResult createModel(CreateModelRequest request) {request = beforeClientExecution(request);return executeCreateModel(request);}
public virtual CreateModelResponse CreateModel(CreateModelRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateModelRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateModelResponseUnmarshaller.Instance;return Invoke<CreateModelResponse>(request, options);}
9,118
public DoubleBuffer put(double c) {if (position == limit) {throw new BufferOverflowException();}backingArray[offset + position++] = c;return this;}
public override java.nio.DoubleBuffer put(double c){if (_position == _limit){throw new java.nio.BufferOverflowException();}backingArray[offset + _position++] = c;return this;}
9,119
public SimpleFacetsExample() {config.setHierarchical("Publish Date", true);}
public SimpleFacetsExample(){config.SetHierarchical("Publish Date", true);}
9,120
public DeleteConnectionResult deleteConnection(DeleteConnectionRequest request) {request = beforeClientExecution(request);return executeDeleteConnection(request);}
public virtual DeleteConnectionResponse DeleteConnection(DeleteConnectionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteConnectionRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteConnectionResponseUnmarshaller.Instance;return Invoke<DeleteConnectionResponse>(request, options);}
9,121
public String getSheetFirstNameByExternSheet(int externSheetIndex) {return _iBook.findSheetFirstNameFromExternSheet(externSheetIndex);}
public String GetSheetFirstNameByExternSheet(int externSheetIndex){return _iBook.FindSheetFirstNameFromExternSheet(externSheetIndex);}
9,122
public void begin(int timeout) {if (timeout <= 0)throw new IllegalArgumentException(MessageFormat.format(JGitText.get().invalidTimeout, Integer.valueOf(timeout)));Thread.interrupted();state.begin(timeout);}
public void Begin(int timeout){if (timeout <= 0){throw new ArgumentException(MessageFormat.Format(JGitText.Get().invalidTimeout, Sharpen.Extensions.ValueOf(timeout)));}Sharpen.Thread.Interrupted();state.Begin(timeout);}
9,123
public final T updateTop() {downHeap(1);return heap[1];}
public T UpdateTop(){DownHeap();return heap[1];}
9,124
public QueryNodeException(Message message) {super(message.getKey());this.message = message;}
public QueryNodeException(IMessage message): base(message.Key){this.m_message = message;}
9,125
public static double factorial(int n) {double d = 1;if (n >= 0) {if (n <= 170) {for (int i=1; i<=n; i++) {d *= i;}}else {d = Double.POSITIVE_INFINITY;}}else {d = Double.NaN;}return d;}
public static double Factorial(int n){double d = 1;if (n >= 0){if (n <= 170){for (int i = 1; i <= n; i++){d *= i;}}else{d = double.PositiveInfinity;}}else{d = double.NaN;}return d;}
9,126
public void sort(RevSort s) {assertNotStarted();sorting.clear();sorting.add(s);}
public virtual void Sort(RevSort s){AssertNotStarted();sorting.Clear();sorting.AddItem(s);}
9,127
public CreateAuthorizerResult createAuthorizer(CreateAuthorizerRequest request) {request = beforeClientExecution(request);return executeCreateAuthorizer(request);}
public virtual CreateAuthorizerResponse CreateAuthorizer(CreateAuthorizerRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateAuthorizerRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateAuthorizerResponseUnmarshaller.Instance;return Invoke<CreateAuthorizerResponse>(request, options);}
9,128
public boolean isDeltaCompress() {return deltaCompress;}
public virtual bool IsDeltaCompress(){return deltaCompress;}
9,129
public CreateWorkGroupResult createWorkGroup(CreateWorkGroupRequest request) {request = beforeClientExecution(request);return executeCreateWorkGroup(request);}
public virtual CreateWorkGroupResponse CreateWorkGroup(CreateWorkGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateWorkGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateWorkGroupResponseUnmarshaller.Instance;return Invoke<CreateWorkGroupResponse>(request, options);}
9,130
public BatchDetectSyntaxResult batchDetectSyntax(BatchDetectSyntaxRequest request) {request = beforeClientExecution(request);return executeBatchDetectSyntax(request);}
public virtual BatchDetectSyntaxResponse BatchDetectSyntax(BatchDetectSyntaxRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchDetectSyntaxRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchDetectSyntaxResponseUnmarshaller.Instance;return Invoke<BatchDetectSyntaxResponse>(request, options);}
9,131
public void removeManager() {remove1stProperty(PropertyIDMap.PID_MANAGER);}
public void RemoveManager(){MutableSection s = (MutableSection)FirstSection;s.RemoveProperty(PropertyIDMap.PID_MANAGER);}
9,132
public Set keySet() {return Collections.unmodifiableSet(dictionary.values());}
public ICollection KeySet(){return dictionaryNameToID.Keys;}
9,133
public long hash1(char carray[]) {final long p = 1099511628211L;long hash = 0xcbf29ce484222325L;for (int i = 0; i < carray.length; i++) {char d = carray[i];hash = (hash ^ (d & 0x00FF)) * p;hash = (hash ^ (d >> 8)) * p;}return hash;}
public virtual long Hash1(char c){long p = 1099511628211L;long hash = unchecked((long)0xcbf29ce484222325L);hash = (hash ^ (c & 0x00FF)) * p;hash = (hash ^ (c >> 8)) * p;hash += hash << 13;hash ^= hash >> 7;hash += hash << 3;hash ^= hash >> 17;hash += hash << 5;return hash;}
9,134
public PutScalingPolicyResult putScalingPolicy(PutScalingPolicyRequest request) {request = beforeClientExecution(request);return executePutScalingPolicy(request);}
public virtual PutScalingPolicyResponse PutScalingPolicy(PutScalingPolicyRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutScalingPolicyRequestMarshaller.Instance;options.ResponseUnmarshaller = PutScalingPolicyResponseUnmarshaller.Instance;return Invoke<PutScalingPolicyResponse>(request, options);}
9,135
public KeywordRepeatFilterFactory(Map<String,String> args) {super(args);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}
public KeywordRepeatFilterFactory(IDictionary<string, string> args): base(args){if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
9,136
public void recycleByteBlocks(List<byte[]> blocks) {final byte[][] b = blocks.toArray(new byte[blocks.size()][]);recycleByteBlocks(b, 0, b.length);}
public virtual void RecycleByteBlocks(IList<byte[]> blocks){var b = blocks.ToArray();RecycleByteBlocks(b, 0, b.Length);}
9,137
public List<Token> get(int start, int stop) {if ( start<0 || stop<0 ) return null;lazyInit();List<Token> subset = new ArrayList<Token>();if ( stop>=tokens.size() ) stop = tokens.size()-1;for (int i = start; i <= stop; i++) {Token t = tokens.get(i);if ( t.getType()==Token.EOF ) break;subset.add(t);}return subset;}
public virtual IList<IToken> Get(int start, int stop){if (start < 0 || stop < 0){return null;}LazyInit();IList<IToken> subset = new List<IToken>();if (stop >= tokens.Count){stop = tokens.Count - 1;}for (int i = start; i <= stop; i++){IToken t = tokens[i];if (t.Type == TokenConstants.EOF){break;}subset.Add(t);}return subset;}
9,138
public String toString() {return tokenName + ":" + type;}
public override string ToString(){return tokenName + ":" + Type;}
9,139
public static Automaton build(Collection<BytesRef> input) {final DaciukMihovAutomatonBuilder builder = new DaciukMihovAutomatonBuilder();char[] chars = new char[0];CharsRef ref = new CharsRef();for (BytesRef b : input) {chars = ArrayUtil.grow(chars, b.length);final int len = UnicodeUtil.UTF8toUTF16(b, chars);ref.chars = chars;ref.length = len;builder.add(ref);}Automaton.Builder a = new Automaton.Builder();convert(a,builder.complete(),new IdentityHashMap<State,Integer>());return a.finish();}
public static Automaton Build(ICollection<BytesRef> input){DaciukMihovAutomatonBuilder builder = new DaciukMihovAutomatonBuilder();CharsRef scratch = new CharsRef();foreach (BytesRef b in input){UnicodeUtil.UTF8toUTF16(b, scratch);builder.Add(scratch);}return new Automaton{initial = Convert(builder.Complete(), new JCG.Dictionary<State, Lucene.Net.Util.Automaton.State>(IdentityEqualityComparer<State>.Default)),deterministic = true};}
9,140
public Row merge(Row master, Row existing) {Iterator<Character> i = master.cells.keySet().iterator();Row n = new Row();for (; i.hasNext();) {Character ch = i.next();Cell a = master.cells.get(ch);Cell b = existing.cells.get(ch);Cell s = (b == null) ? new Cell(a) : merge(a, b);if (s == null) {return null;}n.cells.put(ch, s);}i = existing.cells.keySet().iterator();for (; i.hasNext();) {Character ch = i.next();if (master.at(ch) != null) {continue;}n.cells.put(ch, existing.at(ch));}return n;}
public Row Merge(Row master, Row existing){Row n = new Row();foreach (char ch in master.cells.Keys){master.cells.TryGetValue(ch, out Cell a);Cell s = !existing.cells.TryGetValue(ch, out Cell b) || (b == null) ? new Cell(a) : Merge(a, b);if (s == null){return null;}n.cells[ch] = s;}foreach (char ch in existing.cells.Keys){if (master.At(ch) != null){continue;}n.cells[ch] = existing.At(ch);}return n;}
9,141
public E peekFirst() {return peekFirstImpl();}
public virtual E peekFirst(){return peekFirstImpl();}
9,142
public static int response(HttpConnection c) throws IOException {try {return c.getResponseCode();} catch (ConnectException ce) {final URL url = c.getURL();final String host = (url == null) ? "<null>" : url.getHost(); if ("Connection timed out: connect".equals(ce.getMessage())) throw new ConnectException(MessageFormat.format(JGitText.get().connectionTimeOut, host));throw new ConnectException(ce.getMessage() + " " + host); }}
public static int Response(HttpURLConnection c){try{return c.GetResponseCode();}catch (ConnectException ce){string host = c.GetURL().GetHost();if ("Connection timed out: connect".Equals(ce.Message)){throw new ConnectException(MessageFormat.Format(JGitText.Get().connectionTimeOut,host));}throw new ConnectException(ce.Message + " " + host);}}
9,143
public GetConfigurationResult getConfiguration(GetConfigurationRequest request) {request = beforeClientExecution(request);return executeGetConfiguration(request);}
public virtual GetConfigurationResponse GetConfiguration(GetConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = GetConfigurationResponseUnmarshaller.Instance;return Invoke<GetConfigurationResponse>(request, options);}
9,144
public static Collection<String> getSupportedFunctionNames(){Collection<String> lst = new TreeSet<>();lst.addAll(FunctionEval.getSupportedFunctionNames());lst.addAll(AnalysisToolPak.getSupportedFunctionNames());return Collections.unmodifiableCollection(lst);}
public static List<String> GetSupportedFunctionNames(){List<String> lst = new List<String>();lst.AddRange(FunctionEval.GetSupportedFunctionNames());lst.AddRange(AnalysisToolPak.GetSupportedFunctionNames());return lst;}
9,145
public PerFieldAnalyzerWrapper(Analyzer defaultAnalyzer,Map<String, Analyzer> fieldAnalyzers) {super(PER_FIELD_REUSE_STRATEGY);this.defaultAnalyzer = defaultAnalyzer;this.fieldAnalyzers = (fieldAnalyzers != null) ? fieldAnalyzers : Collections.<String, Analyzer>emptyMap();}
public PerFieldAnalyzerWrapper(Analyzer defaultAnalyzer, IDictionary<string, Analyzer> fieldAnalyzers): base(PER_FIELD_REUSE_STRATEGY){this.defaultAnalyzer = defaultAnalyzer;this.fieldAnalyzers = fieldAnalyzers ?? new JCG.Dictionary<string, Analyzer>(); }
9,146
public DeletePublishingDestinationResult deletePublishingDestination(DeletePublishingDestinationRequest request) {request = beforeClientExecution(request);return executeDeletePublishingDestination(request);}
public virtual DeletePublishingDestinationResponse DeletePublishingDestination(DeletePublishingDestinationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeletePublishingDestinationRequestMarshaller.Instance;options.ResponseUnmarshaller = DeletePublishingDestinationResponseUnmarshaller.Instance;return Invoke<DeletePublishingDestinationResponse>(request, options);}
9,147
public GetSendStatisticsResult getSendStatistics(GetSendStatisticsRequest request) {request = beforeClientExecution(request);return executeGetSendStatistics(request);}
public virtual GetSendStatisticsResponse GetSendStatistics(GetSendStatisticsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetSendStatisticsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetSendStatisticsResponseUnmarshaller.Instance;return Invoke<GetSendStatisticsResponse>(request, options);}
9,148
public void copyArea(int x, int y, int width, int height, int dx, int dy){if (logger.check( POILogger.WARN ))logger.log(POILogger.WARN,"copyArea not supported");}
public void CopyArea(int x, int y, int width, int height, int dx, int dy){if (Logger.Check(POILogger.WARN))Logger.Log(POILogger.WARN, "copyArea not supported");}
9,149
public AreaErrPtg() {unused1 = 0;unused2 = 0;}
public AreaErrPtg(){unused1 = 0;unused2 = 0;}
9,150
public GetUserSettingsResult getUserSettings(GetUserSettingsRequest request) {request = beforeClientExecution(request);return executeGetUserSettings(request);}
public virtual GetUserSettingsResponse GetUserSettings(GetUserSettingsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetUserSettingsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetUserSettingsResponseUnmarshaller.Instance;return Invoke<GetUserSettingsResponse>(request, options);}
9,151
public static String toString(Object obj) {if (obj != null) {return obj.toString();} else {return null;}}
public static string ToString(object obj){if (obj != null){return obj.ToString();}else{return null;}}
9,152
public String getAccessKeySecret() {return accessKeySecret;}
public string GetAccessKeySecret(){return accessKeySecret;}
9,153
public Collection<ParseTree> evaluate(ParseTree t) {List<ParseTree> nodes = new ArrayList<ParseTree>();for (Tree c : Trees.getChildren(t)) {if ( c instanceof TerminalNode ) {TerminalNode tnode = (TerminalNode)c;if ( (tnode.getSymbol().getType() == tokenType && !invert) ||(tnode.getSymbol().getType() != tokenType && invert) ){nodes.add(tnode);}}}return nodes;}
public override ICollection<IParseTree> Evaluate(IParseTree t){IList<IParseTree> nodes = new List<IParseTree>();foreach (ITree c in Trees.GetChildren(t)){if (c is ITerminalNode){ITerminalNode tnode = (ITerminalNode)c;if ((tnode.Symbol.Type == tokenType && !invert) || (tnode.Symbol.Type != tokenType && invert)){nodes.Add(tnode);}}}return nodes;}
9,154
public IsVpcPeeredResult isVpcPeered(IsVpcPeeredRequest request) {request = beforeClientExecution(request);return executeIsVpcPeered(request);}
public virtual IsVpcPeeredResponse IsVpcPeered(IsVpcPeeredRequest request){var options = new InvokeOptions();options.RequestMarshaller = IsVpcPeeredRequestMarshaller.Instance;options.ResponseUnmarshaller = IsVpcPeeredResponseUnmarshaller.Instance;return Invoke<IsVpcPeeredResponse>(request, options);}
9,155
public String toString() {return "ShardRef(shardIndex=" + shardIndex + " hitIndex=" + hitIndex + ")";}
public override string ToString(){return "ShardRef(shardIndex=" + ShardIndex + " hitIndex=" + HitIndex + ")";}
9,156
public TerminateJobFlowsRequest(java.util.List<String> jobFlowIds) {setJobFlowIds(jobFlowIds);}
public TerminateJobFlowsRequest(List<string> jobFlowIds){_jobFlowIds = jobFlowIds;}
9,157
public DatRecord(RecordInputStream in) {field_1_options = in.readShort();}
public DatRecord(RecordInputStream in1){field_1_options = in1.ReadShort();}
9,158
public void removeExFormatRecord(int index) {int xfptr = records.getXfpos() - (numxfs - 1) + index;records.remove(xfptr); numxfs--;}
public void RemoveExFormatRecord(int index){int xfptr = records.Xfpos - (numxfs - 1) + index;records.Remove(xfptr); numxfs--;}
9,159
public double get(String name, double dflt) {double vals[] = (double[]) valByRound.get(name);if (vals != null) {return vals[roundNumber % vals.length];}String sval = props.getProperty(name, "" + dflt);if (sval.indexOf(":") < 0) {return Double.parseDouble(sval);}int k = sval.indexOf(":");String colName = sval.substring(0, k);sval = sval.substring(k + 1);colForValByRound.put(name, colName);vals = propToDoubleArray(sval);valByRound.put(name, vals);return vals[roundNumber % vals.length];}
public virtual double Get(string name, double dflt){double[] vals;object temp;if (valByRound.TryGetValue(name, out temp) && temp != null){vals = (double[])temp;return vals[roundNumber % vals.Length];}string sval;if (!props.TryGetValue(name, out sval)){sval = dflt.ToString(CultureInfo.InvariantCulture);}if (sval.IndexOf(':') < 0){return double.Parse(sval, CultureInfo.InvariantCulture);}int k = sval.IndexOf(':');string colName = sval.Substring(0, k - 0);sval = sval.Substring(k + 1);colForValByRound[name] = colName;vals = PropToDoubleArray(sval);valByRound[name] = vals;return vals[roundNumber % vals.Length];}
9,160
public BlockPackedReaderIterator(DataInput in, int packedIntsVersion, int blockSize, long valueCount) {checkBlockSize(blockSize, MIN_BLOCK_SIZE, MAX_BLOCK_SIZE);this.packedIntsVersion = packedIntsVersion;this.blockSize = blockSize;this.values = new long[blockSize];this.valuesRef = new LongsRef(this.values, 0, 0);reset(in, valueCount);}
public BlockPackedReaderIterator(DataInput @in, int packedIntsVersion, int blockSize, long valueCount){PackedInt32s.CheckBlockSize(blockSize, AbstractBlockPackedWriter.MIN_BLOCK_SIZE, AbstractBlockPackedWriter.MAX_BLOCK_SIZE);this.packedIntsVersion = packedIntsVersion;this.blockSize = blockSize;this.values = new long[blockSize];this.valuesRef = new Int64sRef(this.values, 0, 0);Reset(@in, valueCount);}
9,161
public void reset() {if (!first()) {ptr = treeStart;nextSubtreePos = 0;currentEntry = null;currentSubtree = null;if (!eof())parseEntry();}}
public override void Reset(){if (!First){ptr = treeStart;if (!Eof){ParseEntry();}}}
9,162
public BytesRef getPayload() {if (payloadLength == 0) {return null;} else {return payload;}}
public override BytesRef GetPayload(){if (payloadLength == 0){return null;}else{return payload;}}
9,163
public synchronized void setIndeterminate(boolean indeterminate) {if ((!mOnlyIndeterminate || !mIndeterminate) && indeterminate != mIndeterminate) {mIndeterminate = indeterminate;if (indeterminate) {mCurrentDrawable = mIndeterminateDrawable;startAnimation();} else {mCurrentDrawable = mProgressDrawable;stopAnimation();}}}
public virtual void setIndeterminate(bool indeterminate){lock (this){if ((!mOnlyIndeterminate || !mIndeterminate) && indeterminate != mIndeterminate){mIndeterminate = indeterminate;if (indeterminate){mCurrentDrawable = mIndeterminateDrawable;startAnimation();}else{mCurrentDrawable = mProgressDrawable;stopAnimation();}}}}
9,164
public void notifyDeleteCell(HSSFCell cell) {_bookEvaluator.notifyDeleteCell(new HSSFEvaluationCell(cell));}
public void NotifyDeleteCell(ICell cell){_bookEvaluator.NotifyDeleteCell(new HSSFEvaluationCell(cell));}
9,165
public boolean equals(Object o) {if (!(o instanceof FieldCacheSource)) return false;FieldCacheSource other = (FieldCacheSource)o;return this.field.equals(other.field);}
public override bool Equals(object o){var other = o as FieldCacheSource;if (other == null){return false;}return m_field.Equals(other.m_field, StringComparison.Ordinal) && m_cache == other.m_cache;}
9,166
public DescribeLoaResult describeLoa(DescribeLoaRequest request) {request = beforeClientExecution(request);return executeDescribeLoa(request);}
public virtual DescribeLoaResponse DescribeLoa(DescribeLoaRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeLoaRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeLoaResponseUnmarshaller.Instance;return Invoke<DescribeLoaResponse>(request, options);}
9,167
public final K next() { return nextEntry().key; }
public override K next(){return this.nextEntry().key;}
9,168
public ListFleetsResult listFleets(ListFleetsRequest request) {request = beforeClientExecution(request);return executeListFleets(request);}
public virtual ListFleetsResponse ListFleets(ListFleetsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListFleetsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListFleetsResponseUnmarshaller.Instance;return Invoke<ListFleetsResponse>(request, options);}
9,169
public DelegationSet(java.util.List<String> nameServers) {setNameServers(nameServers);}
public DelegationSet(List<string> nameServers){_nameServers = nameServers;}
9,170
public GetKeyPairsResult getKeyPairs(GetKeyPairsRequest request) {request = beforeClientExecution(request);return executeGetKeyPairs(request);}
public virtual GetKeyPairsResponse GetKeyPairs(GetKeyPairsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetKeyPairsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetKeyPairsResponseUnmarshaller.Instance;return Invoke<GetKeyPairsResponse>(request, options);}
9,171
public ReservedNode purchaseReservedNodeOffering(PurchaseReservedNodeOfferingRequest request) {request = beforeClientExecution(request);return executePurchaseReservedNodeOffering(request);}
public virtual PurchaseReservedNodeOfferingResponse PurchaseReservedNodeOffering(PurchaseReservedNodeOfferingRequest request){var options = new InvokeOptions();options.RequestMarshaller = PurchaseReservedNodeOfferingRequestMarshaller.Instance;options.ResponseUnmarshaller = PurchaseReservedNodeOfferingResponseUnmarshaller.Instance;return Invoke<PurchaseReservedNodeOfferingResponse>(request, options);}
9,172
public String getPassword() {return password;}
public virtual string GetPassword(){return password;}
9,173
public String getValue(String name) {return nameValPairs.get(name);}
public virtual string GetValue(string name){string result;nameValPairs.TryGetValue(name, out result);return result;}
9,174
public static String format(byte[] delta) {return format(delta, true);}
public static string Format(byte[] delta){return Format(delta, true);}
9,175
public Token(int kind, String image){this.kind = kind;this.image = image;}
public Token(int kind, string image){this.Kind = kind;this.Image = image;}
9,176
public ArrayRecord(RecordInputStream in) {super(in);_options = in.readUShort();_field3notUsed = in.readInt();int formulaTokenLen = in.readUShort();int totalFormulaLen = in.available();_formula = Formula.read(formulaTokenLen, in, totalFormulaLen);}
public ArrayRecord(RecordInputStream in1): base(in1){_options = in1.ReadUShort();_field3notUsed = in1.ReadInt();int formulaTokenLen = in1.ReadUShort();int totalFormulaLen = in1.Available();_formula = NPOI.SS.Formula.Formula.Read(formulaTokenLen, in1, totalFormulaLen);}
9,177
public BootstrapActionConfig(String name, ScriptBootstrapActionConfig scriptBootstrapAction) {setName(name);setScriptBootstrapAction(scriptBootstrapAction);}
public BootstrapActionConfig(string name, ScriptBootstrapActionConfig scriptBootstrapAction){_name = name;_scriptBootstrapAction = scriptBootstrapAction;}
9,178
public CreateLoadBalancerPolicyResult createLoadBalancerPolicy(CreateLoadBalancerPolicyRequest request) {request = beforeClientExecution(request);return executeCreateLoadBalancerPolicy(request);}
public virtual CreateLoadBalancerPolicyResponse CreateLoadBalancerPolicy(CreateLoadBalancerPolicyRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateLoadBalancerPolicyRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateLoadBalancerPolicyResponseUnmarshaller.Instance;return Invoke<CreateLoadBalancerPolicyResponse>(request, options);}
9,179
public static String toHex(short value) {StringBuilder sb = new StringBuilder(4);writeHex(sb, value & 0xFFFF, 4, "");return sb.toString();}
public static string ToHex(byte value){return ToHex((long)value, 2);}
9,180
public String toString() {return "MultiTermsEnum(" + Arrays.toString(subs) + ")";}
public override string ToString(){return "MultiTermsEnum(" + Arrays.ToString(subs) + ")";}
9,181
public PayloadSpanUtil(IndexReaderContext context) {this.context = context;}
public PayloadSpanUtil(IndexReaderContext context){this.context = context;}
9,182
public List<FormatError> getErrors() {return errors;}
public virtual IList<FormatError> GetErrors(){return errors;}
9,183
public NormalisedDecimal createNormalisedDecimal(int pow10) {int missingUnderBits = _binaryExponent-39;int fracPart = (_significand.intValue() << missingUnderBits) & 0xFFFF80;long wholePart = _significand.shiftRight(C_64-_binaryExponent-1).longValue();return new NormalisedDecimal(wholePart, fracPart, pow10);}
public NormalisedDecimal CreateNormalisedDecimal(int pow10){int missingUnderBits = _binaryExponent - 39;int fracPart = (_significand.IntValue() << missingUnderBits) & 0xFFFF80;long wholePart = (_significand>>(C_64 - _binaryExponent - 1)).LongValue();return new NormalisedDecimal(wholePart, fracPart, pow10);}
9,184
public String toFormulaString(String[] operands) {StringBuilder buffer = new StringBuilder();buffer.append(MINUS);buffer.append(operands[ 0]);return buffer.toString();}
public override String ToFormulaString(String[] operands){StringBuilder buffer = new StringBuilder();buffer.Append(MINUS);buffer.Append(operands[0]);return buffer.ToString();}
9,185
public ListStackSetOperationResultsResult listStackSetOperationResults(ListStackSetOperationResultsRequest request) {request = beforeClientExecution(request);return executeListStackSetOperationResults(request);}
public virtual ListStackSetOperationResultsResponse ListStackSetOperationResults(ListStackSetOperationResultsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListStackSetOperationResultsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListStackSetOperationResultsResponseUnmarshaller.Instance;return Invoke<ListStackSetOperationResultsResponse>(request, options);}
9,186
public static String getLocalizedMessage(String key, Object... args) {return getLocalizedMessage(key, Locale.getDefault(), args);}
public static string GetLocalizedMessage(string key, params object[] args){return GetLocalizedMessage(key, CultureInfo.CurrentUICulture, args);}
9,187
public final String reflectAsString(final boolean prependAttClass) {final StringBuilder buffer = new StringBuilder();reflectWith(new AttributeReflector() {@Override
public string ReflectAsString(bool prependAttClass){StringBuilder buffer = new StringBuilder();ReflectWith(new AttributeReflectorAnonymousInnerClassHelper(this, prependAttClass, buffer));return buffer.ToString();}
9,188
public CellRangeAddressBase getValuesCellRange() {return getCellRange(dataValues);}
public CellRangeAddressBase GetValuesCellRange(){return GetCellRange(dataValues);}
9,189
public DescribeMatchmakingConfigurationsResult describeMatchmakingConfigurations(DescribeMatchmakingConfigurationsRequest request) {request = beforeClientExecution(request);return executeDescribeMatchmakingConfigurations(request);}
public virtual DescribeMatchmakingConfigurationsResponse DescribeMatchmakingConfigurations(DescribeMatchmakingConfigurationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeMatchmakingConfigurationsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeMatchmakingConfigurationsResponseUnmarshaller.Instance;return Invoke<DescribeMatchmakingConfigurationsResponse>(request, options);}
9,190
public char get() {if (position == limit) {throw new BufferUnderflowException();}return byteBuffer.getChar(position++ * SizeOf.CHAR);}
public override char get(){if (_position == _limit){throw new java.nio.BufferUnderflowException();}return byteBuffer.getChar(_position++ * libcore.io.SizeOf.CHAR);}
9,191
public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[FtCf ]\n");buffer.append(" size = ").append(length).append("\n");buffer.append(" flags = ").append(HexDump.toHex(flags)).append("\n");buffer.append("[/FtCf ]\n");return buffer.toString();}
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[FtCf ]\n");buffer.Append(" size = ").Append(length).Append("\n");buffer.Append(" flags = ").Append(HexDump.ToHex(flags)).Append("\n");buffer.Append("[/FtCf ]\n");return buffer.ToString();}
9,192
public PutConfigurationSetSuppressionOptionsResult putConfigurationSetSuppressionOptions(PutConfigurationSetSuppressionOptionsRequest request) {request = beforeClientExecution(request);return executePutConfigurationSetSuppressionOptions(request);}
public virtual PutConfigurationSetSuppressionOptionsResponse PutConfigurationSetSuppressionOptions(PutConfigurationSetSuppressionOptionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutConfigurationSetSuppressionOptionsRequestMarshaller.Instance;options.ResponseUnmarshaller = PutConfigurationSetSuppressionOptionsResponseUnmarshaller.Instance;return Invoke<PutConfigurationSetSuppressionOptionsResponse>(request, options);}
9,193
public ListProposalVotesResult listProposalVotes(ListProposalVotesRequest request) {request = beforeClientExecution(request);return executeListProposalVotes(request);}
public virtual ListProposalVotesResponse ListProposalVotes(ListProposalVotesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListProposalVotesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListProposalVotesResponseUnmarshaller.Instance;return Invoke<ListProposalVotesResponse>(request, options);}
9,194
public SheetRangeEvaluator getRefEvaluatorForCurrentSheet() {SheetRefEvaluator sre = new SheetRefEvaluator(_bookEvaluator, _tracker, _sheetIndex);return new SheetRangeEvaluator(_sheetIndex, sre);}
public SheetRangeEvaluator GetRefEvaluatorForCurrentSheet(){SheetRefEvaluator sre = new SheetRefEvaluator(_bookEvaluator, _tracker, _sheetIndex);return new SheetRangeEvaluator(_sheetIndex, sre);}
9,195
public long ramBytesUsed() {return fst == null ? 0 : fst.ramBytesUsed();}
public override long RamBytesUsed(){long sizeInBytes = 0;foreach (FieldIndexData entry in fields.Values){sizeInBytes += entry.RamBytesUsed();}return sizeInBytes;}
9,196
public DataLabelExtensionRecord(RecordInputStream in) {rt = in.readShort();grbitFrt = in.readShort();in.readFully(unused);}
public DataLabelExtensionRecord(RecordInputStream in1){rt = in1.ReadShort();grbitFrt = in1.ReadShort();in1.ReadFully(unused);}
9,197
public ArchiveFindingsResult archiveFindings(ArchiveFindingsRequest request) {request = beforeClientExecution(request);return executeArchiveFindings(request);}
public virtual ArchiveFindingsResponse ArchiveFindings(ArchiveFindingsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ArchiveFindingsRequestMarshaller.Instance;options.ResponseUnmarshaller = ArchiveFindingsResponseUnmarshaller.Instance;return Invoke<ArchiveFindingsResponse>(request, options);}
9,198
public ChartSubstreamRecordAggregate(RecordStream rs) {_bofRec = (BOFRecord) rs.getNext();List<RecordBase> temp = new ArrayList<>();while (rs.peekNextClass() != EOFRecord.class) {if (PageSettingsBlock.isComponentRecord(rs.peekNextSid())) {if (_psBlock != null) {if (rs.peekNextSid() == HeaderFooterRecord.sid) {_psBlock.addLateHeaderFooter((HeaderFooterRecord)rs.getNext());continue;}throw new IllegalStateException("Found more than one PageSettingsBlock in chart sub-stream, had sid: " + rs.peekNextSid());}_psBlock = new PageSettingsBlock(rs);temp.add(_psBlock);continue;}temp.add(rs.getNext());}_recs = temp;org.apache.poi.hssf.record.Record eof = rs.getNext(); if (!(eof instanceof EOFRecord)) {throw new IllegalStateException("Bad chart EOF");}}
public ChartSubstreamRecordAggregate(RecordStream rs){_bofRec = (BOFRecord)rs.GetNext();List<RecordBase> temp = new List<RecordBase>();while (rs.PeekNextClass() != typeof(EOFRecord)){Type a = rs.PeekNextClass();if (PageSettingsBlock.IsComponentRecord(rs.PeekNextSid())){if (_psBlock != null){if (rs.PeekNextSid() == HeaderFooterRecord.sid){_psBlock.AddLateHeaderFooter((HeaderFooterRecord)rs.GetNext());continue;}throw new InvalidDataException("Found more than one PageSettingsBlock in chart sub-stream");}_psBlock = new PageSettingsBlock(rs);temp.Add(_psBlock);continue;}temp.Add(rs.GetNext());}_recs = temp;Record eof = rs.GetNext(); if (!(eof is EOFRecord)){throw new InvalidOperationException("Bad chart EOF");}}
9,199
public CreateSnapshotsResult createSnapshots(CreateSnapshotsRequest request) {request = beforeClientExecution(request);return executeCreateSnapshots(request);}
public virtual CreateSnapshotsResponse CreateSnapshots(CreateSnapshotsRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateSnapshotsRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateSnapshotsResponseUnmarshaller.Instance;return Invoke<CreateSnapshotsResponse>(request, options);}