text
stringlengths
27
1.4k
public override long RamBytesUsed(){return indexReader.RamBytesUsed();}
public short GetCalcMode(){return field_1_calcmode;}
public virtual DeleteStreamResponse DeleteStream(DeleteStreamRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteStreamRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteStreamResponseUnmarshaller.Instance;return Invoke<DeleteStreamResponse>(request, options);}
public virtual java.nio.DoubleBuffer put(double[] src, int srcOffset, int doubleCount){java.util.Arrays.checkOffsetAndCount(src.Length, srcOffset, doubleCount);if (doubleCount > remaining()){throw new java.nio.BufferOverflowException();}{for (int i = srcOffset; i < srcOffset + doubleCount; ++i){put(src[i]);}}return this;}
public virtual RevokeSecurityGroupEgressResponse RevokeSecurityGroupEgress(RevokeSecurityGroupEgressRequest request){var options = new InvokeOptions();options.RequestMarshaller = RevokeSecurityGroupEgressRequestMarshaller.Instance;options.ResponseUnmarshaller = RevokeSecurityGroupEgressResponseUnmarshaller.Instance;return Invoke<RevokeSecurityGroupEgressResponse>(request, options);}
public CreateRepoWebhookRequest(): base("cr", "2016-06-07", "CreateRepoWebhook", "cr", "openAPI"){UriPattern = "/repos/[RepoNamespace]/[RepoName]/webhooks";Method = MethodType.PUT;}
public int GetCnt(char way){Cell c = At(way);return (c == null) ? -1 : c.cnt;}
public virtual SortField[] GetSort(){return fields;}
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[BOF RECORD]\n");buffer.Append(" .version = ").Append(StringUtil.ToHexString(Version)).Append("\n");buffer.Append(" .type = ").Append(StringUtil.ToHexString((int) Type)).Append("\n");buffer.Append(" (").Append(TypeName).Append(")").Append("\n");buffer.Append(" .build = ").Append(StringUtil.ToHexString(Build)).Append("\n");buffer.Append(" .buildyear = ").Append(BuildYear).Append("\n");buffer.Append(" .history = ").Append(StringUtil.ToHexString(HistoryBitMask)).Append("\n");buffer.Append(" .requiredversion = ").Append(StringUtil.ToHexString(RequiredVersion)).Append("\n");buffer.Append("[/BOF RECORD]\n");return buffer.ToString();}
public virtual CreateDBInstanceResponse CreateDBInstance(CreateDBInstanceRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDBInstanceRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDBInstanceResponseUnmarshaller.Instance;return Invoke<CreateDBInstanceResponse>(request, options);}
public virtual CreateStackInstancesResponse CreateStackInstances(CreateStackInstancesRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateStackInstancesRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateStackInstancesResponseUnmarshaller.Instance;return Invoke<CreateStackInstancesResponse>(request, options);}
public override int Serialize(int offset, byte[] data, EscherSerializationListener listener){listener.BeforeRecordSerialize(offset, RecordId, this);LittleEndian.PutShort(data, offset, Options);LittleEndian.PutShort(data, offset + 2, RecordId);int remainingBytes = 0;for (IEnumerator iterator = ChildRecords.GetEnumerator(); iterator.MoveNext(); ){EscherRecord r = (EscherRecord)iterator.Current;remainingBytes += r.RecordSize;}remainingBytes += _remainingLength;LittleEndian.PutInt(data, offset + 4, remainingBytes);int pos = offset + 8;for (IEnumerator iterator = ChildRecords.GetEnumerator(); iterator.MoveNext(); ){EscherRecord r = (EscherRecord)iterator.Current;pos += r.Serialize(pos, data, listener);}listener.AfterRecordSerialize(pos, RecordId, pos - offset, this);return pos - offset;}
public override string ToString(){return "SnapshotDeletionPolicy.SnapshotCommitPoint(" + m_cp + ")";}
public MissingRecordAwareHSSFListener(IHSSFListener listener){ResetCounts();childListener = listener;}
public int Clear(int holder){return (holder & ~this._mask);}
public void Serialize(ILittleEndianOutput out1){out1.WriteInt(field_13_border_styles1);out1.WriteInt(field_14_border_styles2);}
public override void SetParams(string @params){base.SetParams(@params);m_traversalSize = (int)float.Parse(@params, CultureInfo.InvariantCulture);}
public virtual string ToStringTree(IList<string> ruleNames){return Trees.ToStringTree(this, ruleNames);}
public HSSFSimpleShape CreateTextbox(IClientAnchor anchor){HSSFTextbox shape = new HSSFTextbox(null, (HSSFAnchor)anchor);AddShape(shape);OnCreate(shape);return shape;}
public virtual UpdateDevicePolicyConfigurationResponse UpdateDevicePolicyConfiguration(UpdateDevicePolicyConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateDevicePolicyConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateDevicePolicyConfigurationResponseUnmarshaller.Instance;return Invoke<UpdateDevicePolicyConfigurationResponse>(request, options);}
public virtual float Norm(int passageStart){return 1 + 1 / (float)Math.Log(pivot + passageStart);}
public Record NextRecord(){Record r;r = GetNextUnreadRecord();if (r != null){return r;}while (true){if (!_recStream.HasNextRecord){return null;}_recStream.NextRecord();if (_lastRecordWasEOFLevelZero){if (_recStream.Sid != BOFRecord.sid){return null;}}r = ReadNextRecord();if (r == null){continue;}return r;}}
public java.io.FileDescriptor getFD(){throw new System.NotImplementedException();}
public MoveAlbumPhotosRequest(): base("CloudPhoto", "2017-07-11", "MoveAlbumPhotos", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}
public virtual UpdateStackSetResponse UpdateStackSet(UpdateStackSetRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateStackSetRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateStackSetResponseUnmarshaller.Instance;return Invoke<UpdateStackSetResponse>(request, options);}
public static double Acosh(double d){return Math.Log(Math.Sqrt(Math.Pow(d, 2) - 1) + d);}
public virtual int Stem(char[] s, int len){for (int i = 0; i < len; i++){switch (s[i]){case 'ä':case 'à':case 'á':case 'â':s[i] = 'a';break;case 'ö':case 'ò':case 'ó':case 'ô':s[i] = 'o';break;case 'ï':case 'ì':case 'í':case 'î':s[i] = 'i';break;case 'ü':case 'ù':case 'ú':case 'û':s[i] = 'u';break;}}len = Step1(s, len);return Step2(s, len);}
public virtual CreateProposalResponse CreateProposal(CreateProposalRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateProposalRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateProposalResponseUnmarshaller.Instance;return Invoke<CreateProposalResponse>(request, options);}
public virtual bool DidFetchIncludeTags(){return false;}
public virtual RevCommit Peek(){return head != null ? head.commit : null;}
public IBorderFormatting GetBorderFormatting(){return GetBorderFormatting(false);}
public DeletedArea3DPtg(int externSheetIndex){field_1_index_extern_sheet = externSheetIndex;unused1 = 0;unused2 = 0;}
public SheetRecordCollector(){_totalSize = 0;_list = new ArrayList(128);}
public virtual RemovePermissionResponse RemovePermission(RemovePermissionRequest request){var options = new InvokeOptions();options.RequestMarshaller = RemovePermissionRequestMarshaller.Instance;options.ResponseUnmarshaller = RemovePermissionResponseUnmarshaller.Instance;return Invoke<RemovePermissionResponse>(request, options);}
public virtual ModifyClusterIamRolesResponse ModifyClusterIamRoles(ModifyClusterIamRolesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyClusterIamRolesRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyClusterIamRolesResponseUnmarshaller.Instance;return Invoke<ModifyClusterIamRolesResponse>(request, options);}
public AreaFormatRecord(RecordInputStream in1){field_1_foregroundColor = in1.ReadInt();field_2_backgroundColor = in1.ReadInt();field_3_pattern = in1.ReadShort();field_4_formatFlags = in1.ReadShort();field_5_forecolorIndex = in1.ReadShort();field_6_backcolorIndex = in1.ReadShort();}
public int Available(){return _lei.Available();}
public override string ToString(){return ToString("");}
public short SetShort(short holder){return (short)this.Set(holder);}
public void SetFlushPending(ThreadState perThread){lock (this){Debug.Assert(!perThread.flushPending);if (perThread.dwpt.NumDocsInRAM > 0){perThread.flushPending = true; long bytes = perThread.bytesUsed;flushBytes += bytes;activeBytes -= bytes;numPending++; Debug.Assert(AssertMemory());} }}
public java.lang.StringBuilder insert(int offset, char[] ch){insert0(offset, ch);return this;}
public StoredField(string name, double value): base(name, TYPE){FieldsData = new Double(value);}
public override string GetName(){return "Jelinek-Mercer(" + Number.ToString(Lambda) + ")";}
public ReleaseAddressRequest(string publicIp){_publicIp = publicIp;}
public virtual DeleteKeyPairResponse DeleteKeyPair(DeleteKeyPairRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteKeyPairRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteKeyPairResponseUnmarshaller.Instance;return Invoke<DeleteKeyPairResponse>(request, options);}
public byte[] GetColor(short byteIndex){int i = byteIndex - FIRST_COLOR_INDEX;if (i < 0 || i >= field_2_colors.Count){return null;}PColor color = (PColor)field_2_colors[i];return new byte[] { color._red, color._green, color._blue };}
public virtual int indexOfValue(E value){if (mGarbage){gc();}{for (int i = 0; i < mSize; i++){if (Sharpen.Util.Equals(value, mValues[i])){return i;}}}return -1;}
public virtual NGit.Transport.URIish SetScheme(string n){NGit.Transport.URIish r = new NGit.Transport.URIish(this);r.scheme = n;return r;}
public virtual void print(char[] charArray){print(new string(charArray, 0, charArray.Length));}
public CommonToken(int type, string text){this._type = type;this._channel = TokenConstants.DefaultChannel;this._text = text;this.source = EmptySource;}
public override string ToString(){return Field + ":" + Text();}
public override java.nio.LongBuffer compact(){if (byteBuffer.isReadOnly()){throw new java.nio.ReadOnlyBufferException();}byteBuffer.limit(_limit * libcore.io.SizeOf.LONG);byteBuffer.position(_position * libcore.io.SizeOf.LONG);byteBuffer.compact();byteBuffer.clear();_position = _limit - _position;_limit = _capacity;_mark = UNSET_MARK;return this;}
public ATNSimulator(ATN atn, PredictionContextCache sharedContextCache){this.atn = atn;this.sharedContextCache = sharedContextCache;}
public CachedOrdinalsReader(OrdinalsReader source){this.source = source;}
public static CompareResult ValueOf(bool matches){if (matches){return Equal;}return LessThan;}
public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(Version);out1.WriteShort((int) Type);out1.WriteShort(Build);out1.WriteShort(BuildYear);out1.WriteInt(HistoryBitMask);out1.WriteInt(RequiredVersion);}
public java.io.File getAbsoluteFile(){return new java.io.File(getAbsolutePath());}
public virtual DescribeTemplatePermissionsResponse DescribeTemplatePermissions(DescribeTemplatePermissionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeTemplatePermissionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeTemplatePermissionsResponseUnmarshaller.Instance;return Invoke<DescribeTemplatePermissionsResponse>(request, options);}
public virtual CountOpenWorkflowExecutionsResponse CountOpenWorkflowExecutions(CountOpenWorkflowExecutionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = CountOpenWorkflowExecutionsRequestMarshaller.Instance;options.ResponseUnmarshaller = CountOpenWorkflowExecutionsResponseUnmarshaller.Instance;return Invoke<CountOpenWorkflowExecutionsResponse>(request, options);}
public virtual DescribeAccountLimitsResponse DescribeAccountLimits(){return DescribeAccountLimits(new DescribeAccountLimitsRequest());}
public virtual object Get(string key){if (fst == null){return null;}FST.Arc<long?> arc = new FST.Arc<long?>();long? result = null;try{result = LookupPrefix(new BytesRef(key), arc);}catch (IOException bogus){throw new Exception(bogus.ToString(), bogus);}if (result == null || !arc.IsFinal){return null;}else{return DecodeWeight(result.GetValueOrDefault() + arc.NextFinalOutput.GetValueOrDefault());}}
public virtual CreateGameServerGroupResponse CreateGameServerGroup(CreateGameServerGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateGameServerGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateGameServerGroupResponseUnmarshaller.Instance;return Invoke<CreateGameServerGroupResponse>(request, options);}
public static bool IsInternalDateFormat(int format){bool retval = false;switch (format){case 0x0e:case 0x0f:case 0x10:case 0x11:case 0x12:case 0x13:case 0x14:case 0x15:case 0x16:case 0x2d:case 0x2e:case 0x2f:retval = true;break;default:retval = false;break;}return retval;}
public virtual PackFile GetPackFile(){return newPack;}
public virtual CreateInternetGatewayResponse CreateInternetGateway(){return CreateInternetGateway(new CreateInternetGatewayRequest());}
public void DrawPolyline(int[] xPoints, int[] yPoints,int nPoints){if (Logger.Check(POILogger.WARN))Logger.Log(POILogger.WARN, "DrawPolyline not supported");}
public override void Close(){unpackedObjectCache.Clear();ObjectDirectory.PackList packs = packList.Get();packList.Set(NO_PACKS);foreach (PackFile p in packs.packs){p.Close();}FileObjectDatabase.AlternateHandle[] alt = alternates.Get();if (alt != null){alternates.Set(null);foreach (FileObjectDatabase.AlternateHandle od in alt){od.Close();}}}
public virtual IList<IToken> GetHiddenTokensToRight(int tokenIndex, int channel){LazyInit();if (tokenIndex < 0 || tokenIndex >= tokens.Count){throw new ArgumentOutOfRangeException(tokenIndex + " not in 0.." + (tokens.Count - 1));}int nextOnChannel = NextTokenOnChannel(tokenIndex + 1, Lexer.DefaultTokenChannel);int to;int from = tokenIndex + 1;if (nextOnChannel == -1){to = Size - 1;}else{to = nextOnChannel;}return FilterForChannel(from, to, channel);}
public override int size(){return this._enclosing.size();}
public virtual DeleteCustomAvailabilityZoneResponse DeleteCustomAvailabilityZone(DeleteCustomAvailabilityZoneRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteCustomAvailabilityZoneRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteCustomAvailabilityZoneResponseUnmarshaller.Instance;return Invoke<DeleteCustomAvailabilityZoneResponse>(request, options);}
public virtual BatchUnsuspendUserResponse BatchUnsuspendUser(BatchUnsuspendUserRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchUnsuspendUserRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchUnsuspendUserResponseUnmarshaller.Instance;return Invoke<BatchUnsuspendUserResponse>(request, options);}
public virtual DeleteAccountSettingResponse DeleteAccountSetting(DeleteAccountSettingRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteAccountSettingRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteAccountSettingResponseUnmarshaller.Instance;return Invoke<DeleteAccountSettingResponse>(request, options);}
public OR(SemanticContext a, SemanticContext b){HashSet<SemanticContext> operands = new HashSet<SemanticContext>();if (a is SemanticContext.OR){operands.UnionWith(((OR)a).opnds);}else{operands.Add(a);}if (b is SemanticContext.OR){operands.UnionWith(((OR)b).opnds);}else{operands.Add(b);}IList<SemanticContext.PrecedencePredicate> precedencePredicates = FilterPrecedencePredicates(operands);if (precedencePredicates.Count > 0){SemanticContext.PrecedencePredicate reduced = precedencePredicates.Max();operands.Add(reduced);}this.opnds = operands.ToArray();}
public virtual ListHumanLoopsResponse ListHumanLoops(ListHumanLoopsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListHumanLoopsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListHumanLoopsResponseUnmarshaller.Instance;return Invoke<ListHumanLoopsResponse>(request, options);}
public ValueEval Evaluate(ValueEval[] args, int srcCellRow, int srcCellCol){int maxN = args.Length;if (maxN < 1){return ErrorEval.VALUE_INVALID;}ValueEval firstArg = args[0];try{if (firstArg is NumericValueEval){return EvaluateSingleProduct(args);}if (firstArg is RefEval){return EvaluateSingleProduct(args);}if (firstArg is TwoDEval){TwoDEval ae = (TwoDEval)firstArg;if (ae.IsRow && ae.IsColumn){return EvaluateSingleProduct(args);}return EvaluateAreaSumProduct(args);}}catch (EvaluationException e){return e.GetErrorEval();}throw new RuntimeException("Invalid arg type for SUMPRODUCT: ("+ firstArg.GetType().Name + ")");}
public virtual DescribeParameterGroupsResponse DescribeParameterGroups(DescribeParameterGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeParameterGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeParameterGroupsResponseUnmarshaller.Instance;return Invoke<DescribeParameterGroupsResponse>(request, options);}
public static bool[] Grow(bool[] array, int minSize){Debug.Assert(minSize >= 0, "size must be positive (got " + minSize + "): likely integer overflow?");if (array.Length < minSize){bool[] newArray = new bool[Oversize(minSize, 1)];Array.Copy(array, 0, newArray, 0, array.Length);return newArray;}else{return array;}}
public virtual double readDouble(){throw new System.NotImplementedException();}
public virtual void SetTokenSource(ITokenSource tokenSource){this._tokenSource = tokenSource;tokens.Clear();p = -1;this.fetchedEOF = false;}
public virtual void Reset(Parser recognizer){EndErrorCondition(recognizer);}
public virtual DescribeVpcPeeringAuthorizationsResponse DescribeVpcPeeringAuthorizations(DescribeVpcPeeringAuthorizationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeVpcPeeringAuthorizationsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeVpcPeeringAuthorizationsResponseUnmarshaller.Instance;return Invoke<DescribeVpcPeeringAuthorizationsResponse>(request, options);}
public virtual CreateDocumentationVersionResponse CreateDocumentationVersion(CreateDocumentationVersionRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDocumentationVersionRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDocumentationVersionResponseUnmarshaller.Instance;return Invoke<CreateDocumentationVersionResponse>(request, options);}
public virtual CreateClusterResponse CreateCluster(CreateClusterRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateClusterRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateClusterResponseUnmarshaller.Instance;return Invoke<CreateClusterResponse>(request, options);}
public override java.nio.DoubleBuffer compact(){if (byteBuffer.isReadOnly()){throw new java.nio.ReadOnlyBufferException();}byteBuffer.limit(_limit * libcore.io.SizeOf.DOUBLE);byteBuffer.position(_position * libcore.io.SizeOf.DOUBLE);byteBuffer.compact();byteBuffer.clear();_position = _limit - _position;_limit = _capacity;_mark = UNSET_MARK;return this;}
public override int[] Grow(){int[] ord = base.Grow();boost = ArrayUtil.Grow(boost, ord.Length);if (termState.Length < ord.Length){TermContext[] tmpTermState = new TermContext[ArrayUtil.Oversize(ord.Length, RamUsageEstimator.NUM_BYTES_OBJECT_REF)];Array.Copy(termState, 0, tmpTermState, 0, termState.Length);termState = tmpTermState;}Debug.Assert(termState.Length >= ord.Length && boost.Length >= ord.Length);return ord;}
public DefaultColWidthRecord(RecordInputStream in1){field_1_col_width = in1.ReadUShort();}
public virtual GetAttributesResponse GetAttributes(GetAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = GetAttributesResponseUnmarshaller.Instance;return Invoke<GetAttributesResponse>(request, options);}
public GetSubUserListRequest(): base("cr", "2016-06-07", "GetSubUserList", "cr", "openAPI"){UriPattern = "/users/subAccount";Method = MethodType.GET;}
public virtual void SetQueryConfigHandler(QueryConfigHandler queryConfigHandler){this.queryConfigHandler = queryConfigHandler;}
public WindowCacheConfig(){packedGitOpenFiles = 128;packedGitLimit = 10 * MB;packedGitWindowSize = 8 * KB;packedGitMMAP = false;deltaBaseCacheLimit = 10 * MB;streamFileThreshold = PackConfig.DEFAULT_BIG_FILE_THRESHOLD;}
public MutableFPNumber Copy(){return new MutableFPNumber(_significand, _binaryExponent);}
public override java.nio.ShortBuffer asReadOnlyBuffer(){java.nio.ShortToByteBufferAdapter buf = new java.nio.ShortToByteBufferAdapter(byteBuffer.asReadOnlyBuffer());buf._limit = _limit;buf._position = _position;buf._mark = _mark;buf.byteBuffer._order = byteBuffer._order;return buf;}
public virtual DescribeReservedCacheNodesResponse DescribeReservedCacheNodes(DescribeReservedCacheNodesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeReservedCacheNodesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeReservedCacheNodesResponseUnmarshaller.Instance;return Invoke<DescribeReservedCacheNodesResponse>(request, options);}
public virtual ListOperationsResponse ListOperations(ListOperationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListOperationsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListOperationsResponseUnmarshaller.Instance;return Invoke<ListOperationsResponse>(request, options);}
public SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialRequest(): base("Domain-intl", "2017-12-18", "SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredential", "domain", "openAPI"){Method = MethodType.POST;}
public virtual BatchReadResponse BatchRead(BatchReadRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchReadRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchReadResponseUnmarshaller.Instance;return Invoke<BatchReadResponse>(request, options);}
public InstanceProfileCredentials Fetch(int retryTimes){for (var i = 0; i <= retryTimes; i++){try{return Fetch();}catch (ClientException e){if (i == retryTimes){throw new ClientException(e.ErrorCode, e.ErrorMessage);}}}throw new ClientException("Failed to connect ECS Metadata Service: Max retry times exceeded.");}
public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex){return new NumberEval(DateUtil.GetExcelDate(DateTime.Now));}
public static int idealIntArraySize(int need){return idealByteArraySize(need * 4) / 4;}
public virtual long Record(IndexSearcher searcher){EnsureOpen();var version = ((DirectoryReader)searcher.IndexReader).Version;var factoryMethodCalled = false;var tracker = _searchers.GetOrAdd(version, l => new Lazy<SearcherTracker>(() => { factoryMethodCalled = true; return new SearcherTracker(searcher); })).Value;if (!factoryMethodCalled && tracker.Searcher != searcher){throw new ArgumentException("the provided searcher has the same underlying reader version yet the searcher instance differs from before (new=" + searcher + " vs old=" + tracker.Searcher);}return version;}