text
stringlengths
27
1.4k
public virtual DescribeSnapshotsResponse DescribeSnapshots(DescribeSnapshotsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeSnapshotsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeSnapshotsResponseUnmarshaller.Instance;return Invoke<DescribeSnapshotsResponse>(request, options);}
public virtual BatchDeleteClusterSnapshotsResponse BatchDeleteClusterSnapshots(BatchDeleteClusterSnapshotsRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchDeleteClusterSnapshotsRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchDeleteClusterSnapshotsResponseUnmarshaller.Instance;return Invoke<BatchDeleteClusterSnapshotsResponse>(request, options);}
public virtual DescribeClientVpnRoutesResponse DescribeClientVpnRoutes(DescribeClientVpnRoutesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeClientVpnRoutesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeClientVpnRoutesResponseUnmarshaller.Instance;return Invoke<DescribeClientVpnRoutesResponse>(request, options);}
public override string ToString(){string padd = GetPadding();StringBuilder sb = new StringBuilder(base.ToString());sb.Append(parallel ? " [" : " {");sb.Append(NEW_LINE);foreach (PerfTask task in tasks){sb.Append(task.ToString());sb.Append(NEW_LINE);}sb.Append(padd);sb.Append(!letChildReport ? ">" : (parallel ? "]" : "}"));if (fixedTime){sb.AppendFormat(CultureInfo.InvariantCulture, " {0:N}s", runTimeSec);}else if (repetitions > 1){sb.Append(" * " + repetitions);}else if (repetitions == REPEAT_EXHAUST){sb.Append(" * EXHAUST");}if (rate > 0){sb.Append(", rate: " + rate + "/" + (perMin ? "min" : "sec"));}if (RunInBackground){sb.Append(" &");int x = BackgroundDeltaPriority;if (x != 0){sb.Append(x);}}return sb.ToString();}
public override void Serialize(ILittleEndianOutput out1){out1.WriteDouble(field_1_minimumAxisValue);out1.WriteDouble(field_2_maximumAxisValue);out1.WriteDouble(field_3_majorIncrement);out1.WriteDouble(field_4_minorIncrement);out1.WriteDouble(field_5_categoryAxisCross);out1.WriteShort(field_6_options);}
public void MakeReadOnly(){readOnly = true;}
public virtual DescribeDirectConnectGatewaysResponse DescribeDirectConnectGateways(DescribeDirectConnectGatewaysRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeDirectConnectGatewaysRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeDirectConnectGatewaysResponseUnmarshaller.Instance;return Invoke<DescribeDirectConnectGatewaysResponse>(request, options);}
public virtual GetUsagePlanKeyResponse GetUsagePlanKey(GetUsagePlanKeyRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetUsagePlanKeyRequestMarshaller.Instance;options.ResponseUnmarshaller = GetUsagePlanKeyResponseUnmarshaller.Instance;return Invoke<GetUsagePlanKeyResponse>(request, options);}
public virtual DescribeVpcEndpointConnectionNotificationsResponse DescribeVpcEndpointConnectionNotifications(DescribeVpcEndpointConnectionNotificationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeVpcEndpointConnectionNotificationsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeVpcEndpointConnectionNotificationsResponseUnmarshaller.Instance;return Invoke<DescribeVpcEndpointConnectionNotificationsResponse>(request, options);}
public virtual UpdateGatewayGroupResponse UpdateGatewayGroup(UpdateGatewayGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateGatewayGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateGatewayGroupResponseUnmarshaller.Instance;return Invoke<UpdateGatewayGroupResponse>(request, options);}
public virtual DetachClassicLinkVpcResponse DetachClassicLinkVpc(DetachClassicLinkVpcRequest request){var options = new InvokeOptions();options.RequestMarshaller = DetachClassicLinkVpcRequestMarshaller.Instance;options.ResponseUnmarshaller = DetachClassicLinkVpcResponseUnmarshaller.Instance;return Invoke<DetachClassicLinkVpcResponse>(request, options);}
public virtual ListOperationsResponse ListOperations(){return ListOperations(new ListOperationsRequest());}
public virtual BatchDeletePhoneNumberResponse BatchDeletePhoneNumber(BatchDeletePhoneNumberRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchDeletePhoneNumberRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchDeletePhoneNumberResponseUnmarshaller.Instance;return Invoke<BatchDeletePhoneNumberResponse>(request, options);}
public virtual void SetExpireAgeMillis(long expireAgeMillis){this.expireAgeMillis = expireAgeMillis;expire = null;}
public virtual DeactivateEventSourceResponse DeactivateEventSource(DeactivateEventSourceRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeactivateEventSourceRequestMarshaller.Instance;options.ResponseUnmarshaller = DeactivateEventSourceResponseUnmarshaller.Instance;return Invoke<DeactivateEventSourceResponse>(request, options);}
public override void ReadBytes(byte[] b, int offset, int len){Array.Copy(bytes, pos, b, offset, len);pos += len;}
public override java.nio.IntBuffer put(int index, int c){throw new java.nio.ReadOnlyBufferException();}
public virtual SendUsersMessagesResponse SendUsersMessages(SendUsersMessagesRequest request){var options = new InvokeOptions();options.RequestMarshaller = SendUsersMessagesRequestMarshaller.Instance;options.ResponseUnmarshaller = SendUsersMessagesResponseUnmarshaller.Instance;return Invoke<SendUsersMessagesResponse>(request, options);}
public MissingFormatWidthException(string s){if (s == null){throw new System.ArgumentNullException();}this.s = s;}
public DescribeVolumesRequest(List<string> volumeIds){_volumeIds = volumeIds;}
public SubmitCutoutTaskRequest(): base("lubancloud", "2018-05-09", "SubmitCutoutTask", "luban", "openAPI"){Method = MethodType.POST;}
public override java.nio.DoubleBuffer asReadOnlyBuffer(){return duplicate();}
public override int size(){return this._enclosing._size;}
public virtual CreateLabelsResponse CreateLabels(CreateLabelsRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateLabelsRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateLabelsResponseUnmarshaller.Instance;return Invoke<CreateLabelsResponse>(request, options);}
public bool isEmpty(){return size == 0;}
public virtual int GetRenameScore(){return currentSource.renameScore;}
public SeriesTextRecord(){field_4_text = "";is16bit = false;}
public override char get(){if (_position == _limit){throw new java.nio.BufferUnderflowException();}return sequence[_position++];}
public static double irr(double[] values, double guess){int maxIterationCount = 20;double absoluteAccuracy = 1E-7;double x0 = guess;double x1;int i = 0;while (i < maxIterationCount){double fValue = 0;double fDerivative = 0;for (int k = 0; k < values.Length; k++){fValue += values[k] / Math.Pow(1.0 + x0, k);fDerivative += -k * values[k] / Math.Pow(1.0 + x0, k + 1);}x1 = x0 - fValue / fDerivative;if (Math.Abs(x1 - x0) <= absoluteAccuracy){return x1;}x0 = x1;++i;}return Double.NaN;}
public static string ToHex(short value){return ToHex((long)value, 4);}
public virtual void Skip(){_type = TokenTypes.Skip;}
public IClientAnchor GetPreferredSize(){return GetPreferredSize(1.0);}
public virtual void FromRaw(int[] ints){FromRaw(ints, 0);}
public virtual ModifyClusterParameterGroupResponse ModifyClusterParameterGroup(ModifyClusterParameterGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyClusterParameterGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyClusterParameterGroupResponseUnmarshaller.Instance;return Invoke<ModifyClusterParameterGroupResponse>(request, options);}
public virtual bool Get(URIish uri, IList<CredentialItem> items){return Get(uri, Sharpen.Collections.ToArray(items, new CredentialItem[items.Count]));}
public FormatType GetFormat(){return acceptFormat;}
public virtual ListTypesResponse ListTypes(ListTypesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListTypesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListTypesResponseUnmarshaller.Instance;return Invoke<ListTypesResponse>(request, options);}
public override K next(){return this.nextEntry().key;}
public virtual StartAssessmentRunResponse StartAssessmentRun(StartAssessmentRunRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartAssessmentRunRequestMarshaller.Instance;options.ResponseUnmarshaller = StartAssessmentRunResponseUnmarshaller.Instance;return Invoke<StartAssessmentRunResponse>(request, options);}
public override bool Equals(object obj){if (this == obj){return true;}if (!(obj is SemanticContext.OR)){return false;}SemanticContext.OR other = (SemanticContext.OR)obj;return Arrays.Equals(this.opnds, other.opnds);}
public override bool Equals(object other){return ((PointTransitions)other).point == point;}
public ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1,ValueEval arg2, ValueEval arg3){throw new Exception("Incomplete code"+ " - don't know how to support the 'area_num' parameter yet)");}
public virtual DescribeClusterParametersResponse DescribeClusterParameters(DescribeClusterParametersRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeClusterParametersRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeClusterParametersResponseUnmarshaller.Instance;return Invoke<DescribeClusterParametersResponse>(request, options);}
public virtual string typeName(){return _typeName;}
public virtual CreateModelPackageResponse CreateModelPackage(CreateModelPackageRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateModelPackageRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateModelPackageResponseUnmarshaller.Instance;return Invoke<CreateModelPackageResponse>(request, options);}
public long RamBytesUsed(){long mem = RamUsageEstimator.ShallowSizeOf(this) + RamUsageEstimator.SizeOf(Offsets);if (Offsets != Ordinals){mem += RamUsageEstimator.SizeOf(Ordinals);}return mem;}
public sealed override int get(int index){checkIndex(index);return backingArray[offset + index];}
public virtual State CaptureState(){State state = this.GetCurrentState();return (state == null) ? null : (State)state.Clone();}
public override String ToString(){CellReference cr = new CellReference(Row, Column);StringBuilder sb = new StringBuilder();sb.Append(GetType().Name).Append("[");sb.Append(_evaluator.SheetNameRange);sb.Append('!');sb.Append(cr.FormatAsString());sb.Append("]");return sb.ToString();}
public override java.nio.CharBuffer compact(){throw new java.nio.ReadOnlyBufferException();}
public virtual DetectCustomLabelsResponse DetectCustomLabels(DetectCustomLabelsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DetectCustomLabelsRequestMarshaller.Instance;options.ResponseUnmarshaller = DetectCustomLabelsResponseUnmarshaller.Instance;return Invoke<DetectCustomLabelsResponse>(request, options);}
public int IndexOf(int o){int rval = 0;for (; rval < _limit; rval++){if (o == _array[rval]){break;}}if (rval == _limit){rval = -1; }return rval;}
public override bool Matches(int symbol, int minVocabSymbol, int maxVocabSymbol){return symbol >= minVocabSymbol && symbol <= maxVocabSymbol;}
public override int indexOf(object @object){if (@object != null){{for (int i = 0; i < a.Length; i++){if (@object.Equals(a[i])){return i;}}}}else{{for (int i = 0; i < a.Length; i++){if ((object)a[i] == null){return i;}}}}return -1;}
public virtual void SetObjectChecking(bool on){SetObjectChecker(on ? new ObjectChecker() : null);}
public virtual ModifyVpcEndpointResponse ModifyVpcEndpoint(ModifyVpcEndpointRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyVpcEndpointRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyVpcEndpointResponseUnmarshaller.Instance;return Invoke<ModifyVpcEndpointResponse>(request, options);}
public virtual DeleteMethodResponseResponse DeleteMethodResponse(DeleteMethodResponseRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteMethodResponseRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteMethodResponseResponseUnmarshaller.Instance;return Invoke<DeleteMethodResponseResponse>(request, options);}
public StringRecord(RecordInputStream in1){int field_1_string_length = in1.ReadShort();_is16bitUnicode = in1.ReadByte() != 0x00;if (_is16bitUnicode){_text = in1.ReadUnicodeLEString(field_1_string_length);}else{_text = in1.ReadCompressedUnicode(field_1_string_length);}}
public DrawingRecord(RecordInputStream in1){recordData = in1.ReadRemainder();}
public virtual GetProfileResponse GetProfile(GetProfileRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetProfileRequestMarshaller.Instance;options.ResponseUnmarshaller = GetProfileResponseUnmarshaller.Instance;return Invoke<GetProfileResponse>(request, options);}
public virtual DescribeTableResponse DescribeTable(string tableName){var request = new DescribeTableRequest();request.TableName = tableName;return DescribeTable(request);}
public virtual GetSegmentResponse GetSegment(GetSegmentRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetSegmentRequestMarshaller.Instance;options.ResponseUnmarshaller = GetSegmentResponseUnmarshaller.Instance;return Invoke<GetSegmentResponse>(request, options);}
public override java.nio.IntBuffer duplicate(){return copy(this, _mark);}
public virtual PutAlarmResponse PutAlarm(PutAlarmRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutAlarmRequestMarshaller.Instance;options.ResponseUnmarshaller = PutAlarmResponseUnmarshaller.Instance;return Invoke<PutAlarmResponse>(request, options);}
public override bool Matches(ValueEval x){int testValue;if (x is StringEval){if (true){ return false;}StringEval se = (StringEval)x;Boolean? val = ParseBoolean(se.StringValue);if (val == null){return false;}testValue = BoolToInt(val.Value);}else if ((x is BoolEval)){BoolEval be = (BoolEval)x;testValue = BoolToInt(be.BooleanValue);}else if ((x is BlankEval)){switch (Code){case CmpOp.NE:return true;default:return false;}}else if ((x is NumberEval)){switch (Code){case CmpOp.NE:return true;default:return false;}}else{return false;}return Evaluate(testValue - _value);}
public virtual DeleteTrialResponse DeleteTrial(DeleteTrialRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteTrialRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteTrialResponseUnmarshaller.Instance;return Invoke<DeleteTrialResponse>(request, options);}
public override string ToString(){return set.ToString();}
public override string ToString(string field){StringBuilder buffer = new StringBuilder();if (!Field.Equals(field, StringComparison.Ordinal)){buffer.Append(Field);buffer.Append(":");}buffer.Append(includeLower ? '[' : '{');buffer.Append(lowerTerm != null ? ("*".Equals(Term.ToString(lowerTerm), StringComparison.Ordinal) ? "\\*" : Term.ToString(lowerTerm)) : "*");buffer.Append(" TO ");buffer.Append(upperTerm != null ? ("*".Equals(Term.ToString(upperTerm), StringComparison.Ordinal) ? "\\*" : Term.ToString(upperTerm)) : "*");buffer.Append(includeUpper ? ']' : '}');buffer.Append(ToStringUtils.Boost(Boost));return buffer.ToString();}
public void Reset(){arriving = null;leaving = null;}
public override int[] Init(){return bytesStart = new int[ArrayUtil.Oversize(m_initSize, RamUsageEstimator.NUM_BYTES_INT32)];}
public virtual int codePointBefore(int index){if (index < 1 || index > count){throw indexAndLength(index);}return Sharpen.CharHelper.CodePointBefore(value, index);}
public override string ToString(){return "SkipWorkTree(" + treeIdx + ")";}
public virtual GetLifecyclePoliciesResponse GetLifecyclePolicies(GetLifecyclePoliciesRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetLifecyclePoliciesRequestMarshaller.Instance;options.ResponseUnmarshaller = GetLifecyclePoliciesResponseUnmarshaller.Instance;return Invoke<GetLifecyclePoliciesResponse>(request, options);}
public NRTCachingDirectory(Directory @delegate, double maxMergeSizeMB, double maxCachedMB){this.@delegate = @delegate;maxMergeSizeBytes = (long)(maxMergeSizeMB * 1024 * 1024);maxCachedBytes = (long)(maxCachedMB * 1024 * 1024);}
public override void VisitContainedRecords(RecordVisitor rv){VisitIfPresent(_protectRecord, rv);VisitIfPresent(_objectProtectRecord, rv);VisitIfPresent(_scenarioProtectRecord, rv);VisitIfPresent(_passwordRecord, rv);}
public RefSubRecord(int extBookIndex, int firstSheetIndex, int lastSheetIndex){_extBookIndex = extBookIndex;_firstSheetIndex = firstSheetIndex;_lastSheetIndex = lastSheetIndex;}
public virtual long GetEntryLength(){return Current().GetLength();}
public override string ToString(){return GetType().Name + "(maxLevels:" + m_maxLevels + ",ctx:" + m_ctx + ")";}
public BooleanQueryBuilder(IQueryBuilder factory){this.factory = factory;}
public HSSFShape(EscherContainerRecord spContainer, ObjRecord objRecord){this._escherContainer = spContainer;this._objRecord = objRecord;this._optRecord = (EscherOptRecord)spContainer.GetChildById(EscherOptRecord.RECORD_ID);this.anchor = HSSFAnchor.CreateAnchorFromEscher(spContainer);}
public virtual ListUpdatesResponse ListUpdates(ListUpdatesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListUpdatesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListUpdatesResponseUnmarshaller.Instance;return Invoke<ListUpdatesResponse>(request, options);}
public virtual IncreaseStreamRetentionPeriodResponse IncreaseStreamRetentionPeriod(IncreaseStreamRetentionPeriodRequest request){var options = new InvokeOptions();options.RequestMarshaller = IncreaseStreamRetentionPeriodRequestMarshaller.Instance;options.ResponseUnmarshaller = IncreaseStreamRetentionPeriodResponseUnmarshaller.Instance;return Invoke<IncreaseStreamRetentionPeriodResponse>(request, options);}
public virtual void writeFloat(float value){throw new System.NotImplementedException();}
protected internal override ICollection<Cell> GetSubCells(){string[] hashes = GeohashUtils.GetSubGeohashes(Geohash);IList<Cell> cells = new List<Cell>(hashes.Length);foreach (string hash in hashes){cells.Add(new GhCell((GeohashPrefixTree)m_outerInstance, hash));}return cells;}
public java.lang.StringBuilder insert(int offset, char[] ch){insert0(offset, ch);return this;}
public static ICollection<IParseTree> FindAllTokenNodes(IParseTree t, int ttype){return FindAllNodes(t, ttype, true);}
public NameIdentifier(String name, bool isQuoted){_name = name;_isQuoted = isQuoted;}
public ObjectLoader Open(DiffEntry.Side side, DiffEntry ent){switch (side){case DiffEntry.Side.OLD:{return oldSource.Open(ent.oldPath, ent.oldId.ToObjectId());}case DiffEntry.Side.NEW:{return newSource.Open(ent.newPath, ent.newId.ToObjectId());}default:{throw new ArgumentException();}}}
public virtual CreateDBClusterSnapshotResponse CreateDBClusterSnapshot(CreateDBClusterSnapshotRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDBClusterSnapshotRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDBClusterSnapshotResponseUnmarshaller.Instance;return Invoke<CreateDBClusterSnapshotResponse>(request, options);}
public ExternalBookBlock(String url, String[] sheetNames){_externalBookRecord = SupBookRecord.CreateExternalReferences(url, sheetNames);_crnBlocks = new CRNBlock[0];}
public static int CompareWithCase(string a, string b){for (int i = 0; i < a.Length && i < b.Length; i++){int d = a[i] - b[i];if (d != 0){return d;}}return a.Length - b.Length;}
public virtual RecallPoint[] GetRecallPoints(){return recallPoints.ToArray();}
public RemoveFacePhotosRequest(): base("CloudPhoto", "2017-07-11", "RemoveFacePhotos", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}
public static Int32sRef ToUTF32(char[] s, int offset, int length, Int32sRef scratch){int charIdx = offset;int intIdx = 0;int charLimit = offset + length;while (charIdx < charLimit){scratch.Grow(intIdx + 1);int utf32 = Character.CodePointAt(s, charIdx, charLimit);scratch.Int32s[intIdx] = utf32;charIdx += Character.CharCount(utf32);intIdx++;}scratch.Length = intIdx;return scratch;}
public override void SkipBytes(int count){pos -= count;}
public void AddDataValidation(DVRecord dvRecord){_validationList.Add(dvRecord);_headerRec.DVRecNo = (_validationList.Count);}
public virtual void SetDoubleValue(double value){if (!(FieldsData is Double)){throw new System.ArgumentException("cannot change value type from " + FieldsData.GetType().Name + " to Double");}FieldsData = new Double(value);}
public DeleteRepoAuthorizationRequest(): base("cr", "2016-06-07", "DeleteRepoAuthorization", "cr", "openAPI"){UriPattern = "/repos/[RepoNamespace]/[RepoName]/authorizations/[AuthorizeId]";Method = MethodType.DELETE;}
public virtual void writeObject(object @object){throw new System.NotImplementedException();}
public override string ToString(){byte[] raw = ToByteArray();CanonicalTreeParser p = new CanonicalTreeParser();p.Reset(raw);StringBuilder r = new StringBuilder();r.Append("Tree={");if (!p.Eof){r.Append('\n');try{new ObjectChecker().CheckTree(raw);}catch (CorruptObjectException error){r.Append("*** ERROR: ").Append(error.Message).Append("\n");r.Append('\n');}}while (!p.Eof){FileMode mode = p.EntryFileMode;r.Append(mode);r.Append(' ');r.Append(Constants.TypeString(mode.GetObjectType()));r.Append(' ');r.Append(p.EntryObjectId.Name);r.Append(' ');r.Append(p.EntryPathString);r.Append('\n');p.Next();}r.Append("}");return r.ToString();}