text
stringlengths
27
1.4k
public PlacementGroup(string groupName){_groupName = groupName;}
public virtual SendCustomVerificationEmailResponse SendCustomVerificationEmail(SendCustomVerificationEmailRequest request){var options = new InvokeOptions();options.RequestMarshaller = SendCustomVerificationEmailRequestMarshaller.Instance;options.ResponseUnmarshaller = SendCustomVerificationEmailResponseUnmarshaller.Instance;return Invoke<SendCustomVerificationEmailResponse>(request, options);}
public CreateCollectionRequest(): base("cr", "2016-06-07", "CreateCollection", "cr", "openAPI"){UriPattern = "/collections";Method = MethodType.PUT;}
public virtual bool remove(object o){lock (this){int index = indexOf(o);if (index == -1){return false;}remove(index);return true;}}
public bool Matches(char c){return char.IsDigit(c);}
public override void Serialize(ILittleEndianOutput out1){out1.WriteByte(WSBool1);out1.WriteByte(WSBool2);}
public SubmitGenerateTaskRequest(): base("lubancloud", "2018-05-09", "SubmitGenerateTask", "luban", "openAPI"){Method = MethodType.POST;}
public virtual E ceiling(E e){return backingMap.ceilingKey(e);}
public virtual BatchApplyUpdateActionResponse BatchApplyUpdateAction(BatchApplyUpdateActionRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchApplyUpdateActionRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchApplyUpdateActionResponseUnmarshaller.Instance;return Invoke<BatchApplyUpdateActionResponse>(request, options);}
public Break(RecordInputStream in1){main = in1.ReadUShort() - 1;subFrom = in1.ReadUShort();subTo = in1.ReadUShort();}
public virtual NGit.Fnmatch.FileNameMatcher CreateMatcherForSuffix(){IList<Head> copyOfHeads = new AList<Head>(heads.Count);Sharpen.Collections.AddAll(copyOfHeads, heads);return new NGit.Fnmatch.FileNameMatcher(copyOfHeads);}
public static bool IsEmptyOrNull(string stringValue){return stringValue == null || stringValue.Length == 0;}
public static short[] Grow(short[] array){return Grow(array, 1 + array.Length);}
public virtual ModifySubnetAttributeResponse ModifySubnetAttribute(ModifySubnetAttributeRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifySubnetAttributeRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifySubnetAttributeResponseUnmarshaller.Instance;return Invoke<ModifySubnetAttributeResponse>(request, options);}
public virtual GetProxySessionResponse GetProxySession(GetProxySessionRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetProxySessionRequestMarshaller.Instance;options.ResponseUnmarshaller = GetProxySessionResponseUnmarshaller.Instance;return Invoke<GetProxySessionResponse>(request, options);}
public override string ToString(){return ("TermStats: Term=" + termtext.Utf8ToString() + " DocFreq=" + DocFreq + " TotalTermFreq=" + TotalTermFreq);}
public String GetSignificantDecimalDigitsLastDigitRounded(){long wp = _wholePart + 5; StringBuilder sb = new StringBuilder(24);sb.Append(wp);sb[sb.Length - 1]= '0';return sb.ToString();}
public bool CanReuse(IndexInput docIn, FieldInfo fieldInfo){return docIn == startDocIn &&indexHasFreq == (fieldInfo.IndexOptions.CompareTo(IndexOptions.DOCS_AND_FREQS) >= 0) &&indexHasPos == (fieldInfo.IndexOptions.CompareTo(IndexOptions.DOCS_AND_FREQS_AND_POSITIONS) >= 0) &&indexHasPayloads == fieldInfo.HasPayloads;}
public Sort(SortField field){SetSort(field);}
public static byte[] EncodeASCII(string s){byte[] r = new byte[s.Length];for (int k = r.Length - 1; k >= 0; k--){char c = s[k];if (c > 127){throw new ArgumentException(MessageFormat.Format(JGitText.Get().notASCIIString, s));}r[k] = unchecked((byte)c);}return r;}
public virtual PurgeQueueResponse PurgeQueue(PurgeQueueRequest request){var options = new InvokeOptions();options.RequestMarshaller = PurgeQueueRequestMarshaller.Instance;options.ResponseUnmarshaller = PurgeQueueResponseUnmarshaller.Instance;return Invoke<PurgeQueueResponse>(request, options);}
public virtual bool Sempred(RuleContext _localctx, int ruleIndex, int actionIndex){return true;}
public virtual ListStreamsResponse ListStreams(){return ListStreams(new ListStreamsRequest());}
public virtual string GetSurfaceFormString(){return new string(surfaceForm, offset, length);}
public virtual GetVaultNotificationsResponse GetVaultNotifications(GetVaultNotificationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetVaultNotificationsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetVaultNotificationsResponseUnmarshaller.Instance;return Invoke<GetVaultNotificationsResponse>(request, options);}
public virtual DeleteTypedLinkFacetResponse DeleteTypedLinkFacet(DeleteTypedLinkFacetRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteTypedLinkFacetRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteTypedLinkFacetResponseUnmarshaller.Instance;return Invoke<DeleteTypedLinkFacetResponse>(request, options);}
public int previousIndex(){return this.pos;}
public long RamBytesUsed(){return RamUsageEstimator.AlignObjectSize(3 * RamUsageEstimator.NUM_BYTES_OBJECT_REF) + docIDs.RamBytesUsed() + offsets.RamBytesUsed();}
public virtual PushCommand Push(){return new PushCommand(repo);}
public virtual SelectResponse Select(SelectRequest request){var options = new InvokeOptions();options.RequestMarshaller = SelectRequestMarshaller.Instance;options.ResponseUnmarshaller = SelectResponseUnmarshaller.Instance;return Invoke<SelectResponse>(request, options);}
public ByteArrayDataOutput(byte[] bytes){Reset(bytes);}
public bool RenameTo(string newName){return directory.RenameTo(newName);}
public bool CanReuse(IndexInput docIn, FieldInfo fieldInfo){return docIn == startDocIn &&indexHasOffsets == (fieldInfo.IndexOptions.CompareTo(IndexOptions.DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS) >= 0) &&indexHasPayloads == fieldInfo.HasPayloads;}
public override bool Equals(object o){return o is DanishStemmer;}
public virtual Query Build(IQueryNode queryNode){BooleanQueryNode booleanNode = (BooleanQueryNode)queryNode;BooleanQuery bQuery = new BooleanQuery();IList<IQueryNode> children = booleanNode.GetChildren();if (children != null){foreach (IQueryNode child in children){object obj = child.GetTag(QueryTreeBuilder.QUERY_TREE_BUILDER_TAGID);if (obj != null){Query query = (Query)obj;try{bQuery.Add(query, GetModifierValue(child));}catch (BooleanQuery.TooManyClausesException ex){throw new QueryNodeException(new Message(QueryParserMessages.TOO_MANY_BOOLEAN_CLAUSES, BooleanQuery.MaxClauseCount, queryNode.ToQueryString(new EscapeQuerySyntax())), ex);}}}}return bQuery;}
public virtual string GetName(){return name;}
public virtual ITerminalNode[] GetTokens(int ttype){if (children == null){return Collections.EmptyList<ITerminalNode>();}List<ITerminalNode> tokens = null;foreach (IParseTree o in children){if (o is ITerminalNode){ITerminalNode tnode = (ITerminalNode)o;IToken symbol = tnode.Symbol;if (symbol.Type == ttype){if (tokens == null){tokens = new List<ITerminalNode>();}tokens.Add(tnode);}}}if (tokens == null){return Collections.EmptyList<ITerminalNode>();}return tokens;}
public virtual UpdateApnsChannelResponse UpdateApnsChannel(UpdateApnsChannelRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateApnsChannelRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateApnsChannelResponseUnmarshaller.Instance;return Invoke<UpdateApnsChannelResponse>(request, options);}
public virtual string getInput(){return input;}
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);LittleEndian.PutInt(data, offset + 4, RecordSize - HEADER_SIZE);int pos = offset + HEADER_SIZE;Array.Copy(field_1_UID, 0, data, pos, 16);data[pos + 16] = field_2_marker;Array.Copy(field_pictureData, 0, data, pos + 17, field_pictureData.Length);listener.AfterRecordSerialize(offset + RecordSize, RecordId, RecordSize, this);return HEADER_SIZE + 16 + 1 + field_pictureData.Length;}
public virtual DescribeFolderContentsResponse DescribeFolderContents(DescribeFolderContentsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeFolderContentsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeFolderContentsResponseUnmarshaller.Instance;return Invoke<DescribeFolderContentsResponse>(request, options);}
public CreateDBInstanceReadReplicaRequest(string dbInstanceIdentifier, string sourceDBInstanceIdentifier){_dbInstanceIdentifier = dbInstanceIdentifier;_sourceDBInstanceIdentifier = sourceDBInstanceIdentifier;}
public override Object Clone(){return CloneViaReserialise();}
public virtual CreateDefaultSubnetResponse CreateDefaultSubnet(CreateDefaultSubnetRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDefaultSubnetRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDefaultSubnetResponseUnmarshaller.Instance;return Invoke<CreateDefaultSubnetResponse>(request, options);}
public virtual AbbreviatedObjectId GetNewId(){return newId;}
public virtual V setValue(V value){V oldValue = this.value;this.value = value;return oldValue;}
public virtual string Get(string name, string dflt){string[] vals;object temp;if (valByRound.TryGetValue(name, out temp) && temp != null){vals = (string[])temp;return vals[roundNumber % vals.Length];}string sval;if (!props.TryGetValue(name, out sval)){sval = dflt;}if (sval == null){return null;}if (sval.IndexOf(':') < 0){return sval;}else if (sval.IndexOf(":\\", StringComparison.Ordinal) >= 0 || sval.IndexOf(":/", StringComparison.Ordinal) >= 0){return sval;}int k = sval.IndexOf(':');string colName = sval.Substring(0, k - 0);sval = sval.Substring(k + 1);colForValByRound[name] = colName;vals = PropToStringArray(sval);valByRound[name] = vals;return vals[roundNumber % vals.Length];}
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("extBook=").Append(_extBookIndex);buffer.Append(" firstSheet=").Append(_firstSheetIndex);buffer.Append(" lastSheet=").Append(_lastSheetIndex);return buffer.ToString();}
public override void Write(ILittleEndianOutput out1){out1.WriteByte(sid + PtgClass);out1.WriteInt(field_1_reserved);out1.WriteShort(field_2_subex_len);}
public java.nio.Buffer rewind(){_position = 0;_mark = UNSET_MARK;return this;}
public short GetHideObj(){return field_1_hide_obj;}
public PrintGridlinesRecord(RecordInputStream in1){field_1_print_gridlines = in1.ReadShort();}
public virtual CreateEventTrackerResponse CreateEventTracker(CreateEventTrackerRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateEventTrackerRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateEventTrackerResponseUnmarshaller.Instance;return Invoke<CreateEventTrackerResponse>(request, options);}
public virtual bool hasNext(){return index < to;}
public void RemoveExFormatRecord(ExtendedFormatRecord rec){records.Remove(rec); numxfs--;}
public virtual void Publish(IRevision revision){lock (padlock){EnsureOpen();if (currentRevision != null){int compare = revision.CompareTo(currentRevision.Revision);if (compare == 0){revision.Release();return;}if (compare < 0){revision.Release();throw new ArgumentException(string.Format("Cannot publish an older revision: rev={0} current={1}", revision, currentRevision), "revision");}}RefCountedRevision oldRevision = currentRevision;currentRevision = new RefCountedRevision(revision);if (oldRevision != null)oldRevision.DecRef();CheckExpiredSessions();}}
public bool Equals(AnyObjectId other){return other != null ? Equals(this, other) : false;}
public virtual DeleteBGPPeerResponse DeleteBGPPeer(DeleteBGPPeerRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteBGPPeerRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteBGPPeerResponseUnmarshaller.Instance;return Invoke<DeleteBGPPeerResponse>(request, options);}
public override string ToString(){return "I(n)";}
public virtual DeleteVpcPeeringConnectionResponse DeleteVpcPeeringConnection(DeleteVpcPeeringConnectionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteVpcPeeringConnectionRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteVpcPeeringConnectionResponseUnmarshaller.Instance;return Invoke<DeleteVpcPeeringConnectionResponse>(request, options);}
public virtual UpdateIdentityPoolResponse UpdateIdentityPool(UpdateIdentityPoolRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateIdentityPoolRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateIdentityPoolResponseUnmarshaller.Instance;return Invoke<UpdateIdentityPoolResponse>(request, options);}
public override string SignString(string stringToSign, AlibabaCloudCredentials credentials){return SignString(stringToSign, credentials.GetAccessKeySecret());}
public virtual GetDeviceResponse GetDevice(GetDeviceRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetDeviceRequestMarshaller.Instance;options.ResponseUnmarshaller = GetDeviceResponseUnmarshaller.Instance;return Invoke<GetDeviceResponse>(request, options);}
public void WriteInt(int v){_out.WriteInt(v);_size += 4;}
public bool isSuccess(){return 200 <= Status && 300 > Status;}
public static CredentialsProvider GetDefault(){return defaultProvider;}
public override bool Equals(object obj){if (obj == this){return true;}else{if (!(obj is Antlr4.Runtime.Atn.LexerPushModeAction)){return false;}}return mode == ((Antlr4.Runtime.Atn.LexerPushModeAction)obj).mode;}
public virtual void DumpDFA(){bool seenOne = false;for (int d = 0; d < Interpreter.decisionToDFA.Length; d++){DFA dfa = Interpreter.decisionToDFA[d];if (dfa.states.Count>0){if (seenOne){Output.WriteLine();}Output.WriteLine("Decision " + dfa.decision + ":");Output.Write(dfa.ToString(Vocabulary));seenOne = true;}}}
public override java.nio.FloatBuffer put(int index, float c){throw new java.nio.ReadOnlyBufferException();}
public virtual CancelClusterResponse CancelCluster(CancelClusterRequest request){var options = new InvokeOptions();options.RequestMarshaller = CancelClusterRequestMarshaller.Instance;options.ResponseUnmarshaller = CancelClusterResponseUnmarshaller.Instance;return Invoke<CancelClusterResponse>(request, options);}
public virtual DeleteSnapshotResponse DeleteSnapshot(DeleteSnapshotRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteSnapshotRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteSnapshotResponseUnmarshaller.Instance;return Invoke<DeleteSnapshotResponse>(request, options);}
public virtual DeletePhoneNumberResponse DeletePhoneNumber(DeletePhoneNumberRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeletePhoneNumberRequestMarshaller.Instance;options.ResponseUnmarshaller = DeletePhoneNumberResponseUnmarshaller.Instance;return Invoke<DeletePhoneNumberResponse>(request, options);}
public virtual bool AddPushURI(URIish toAdd){if (pushURIs.Contains(toAdd)){return false;}return pushURIs.AddItem(toAdd);}
public virtual BytesRef Next(){if (scratch == null){return null;}bool success = false;try{byte[] next = reader.Read();if (next != null){scratch.Bytes = next;scratch.Length = next.Length;scratch.Offset = 0;}else{IOUtils.Dispose(reader);scratch = null;}success = true;return scratch;}finally{if (!success){IOUtils.DisposeWhileHandlingException(reader);}}}
public void RemoveCreateDateTime(){MutableSection s = (MutableSection)FirstSection;s.RemoveProperty(PropertyIDMap.PID_Create_DTM);}
public virtual CreateHealthCheckResponse CreateHealthCheck(CreateHealthCheckRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateHealthCheckRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateHealthCheckResponseUnmarshaller.Instance;return Invoke<CreateHealthCheckResponse>(request, options);}
public virtual EnableVgwRoutePropagationResponse EnableVgwRoutePropagation(EnableVgwRoutePropagationRequest request){var options = new InvokeOptions();options.RequestMarshaller = EnableVgwRoutePropagationRequestMarshaller.Instance;options.ResponseUnmarshaller = EnableVgwRoutePropagationResponseUnmarshaller.Instance;return Invoke<EnableVgwRoutePropagationResponse>(request, options);}
public void RemoveByteCount(){MutableSection s = (MutableSection)FirstSection;s.RemoveProperty(PropertyIDMap.PID_BYTECOUNT);}
public virtual UpdateAutoScalingGroupResponse UpdateAutoScalingGroup(UpdateAutoScalingGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateAutoScalingGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateAutoScalingGroupResponseUnmarshaller.Instance;return Invoke<UpdateAutoScalingGroupResponse>(request, options);}
public virtual CreateNotebookInstanceResponse CreateNotebookInstance(CreateNotebookInstanceRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateNotebookInstanceRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateNotebookInstanceResponseUnmarshaller.Instance;return Invoke<CreateNotebookInstanceResponse>(request, options);}
public virtual AllocateAddressResponse AllocateAddress(){return AllocateAddress(new AllocateAddressRequest());}
public virtual CreateMLModelResponse CreateMLModel(CreateMLModelRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateMLModelRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateMLModelResponseUnmarshaller.Instance;return Invoke<CreateMLModelResponse>(request, options);}
public ContinueRecord(byte[] data){field_1_data = data;}
public Parser getParser(){return parser;}
public virtual DeleteSolutionResponse DeleteSolution(DeleteSolutionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteSolutionRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteSolutionResponseUnmarshaller.Instance;return Invoke<DeleteSolutionResponse>(request, options);}
public virtual bool IsDelete(){return ObjectId.ZeroId.Equals(newObjectId);}
public int GetNextPos(){return nextPos;}
public virtual DescribeSpotFleetInstancesResponse DescribeSpotFleetInstances(DescribeSpotFleetInstancesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeSpotFleetInstancesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeSpotFleetInstancesResponseUnmarshaller.Instance;return Invoke<DescribeSpotFleetInstancesResponse>(request, options);}
public virtual ResetPasswordResponse ResetPassword(ResetPasswordRequest request){var options = new InvokeOptions();options.RequestMarshaller = ResetPasswordRequestMarshaller.Instance;options.ResponseUnmarshaller = ResetPasswordResponseUnmarshaller.Instance;return Invoke<ResetPasswordResponse>(request, options);}
public override String ToString(){return "DrawingRecord[" + recordData.Length + "]";}
public override Status Call(){if (workingTreeIt == null){workingTreeIt = new FileTreeIterator(repo);}try{IndexDiff diff = new IndexDiff(repo, Constants.HEAD, workingTreeIt);diff.Diff();return new Status(diff);}catch (IOException e){throw new JGitInternalException(e.Message, e);}}
public PathHierarchyTokenizerFactory(IDictionary<string, string> args): base(args){delimiter = GetChar(args, "delimiter", PathHierarchyTokenizer.DEFAULT_DELIMITER);replacement = GetChar(args, "replace", delimiter);reverse = GetBoolean(args, "reverse", false);skip = GetInt32(args, "skip", PathHierarchyTokenizer.DEFAULT_SKIP);if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
public override string ToString(){return base.ToString() + ": " + lockName;}
public virtual CreateFieldLevelEncryptionConfigResponse CreateFieldLevelEncryptionConfig(CreateFieldLevelEncryptionConfigRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateFieldLevelEncryptionConfigRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateFieldLevelEncryptionConfigResponseUnmarshaller.Instance;return Invoke<CreateFieldLevelEncryptionConfigResponse>(request, options);}
public java.io.Reader reader(){return _reader;}
public virtual DeleteHealthCheckResponse DeleteHealthCheck(DeleteHealthCheckRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteHealthCheckRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteHealthCheckResponseUnmarshaller.Instance;return Invoke<DeleteHealthCheckResponse>(request, options);}
public override long Get(){return count;}
public int SetArrayData(byte[] data, int offset){if (emptyComplexPart){_complexData = new byte[0];}else{short numElements = LittleEndian.GetShort(data, offset);short numReserved = LittleEndian.GetShort(data, offset + 2);short sizeOfElements = LittleEndian.GetShort(data, offset + 4);int arraySize = GetActualSizeOfElements(sizeOfElements) * numElements;if (arraySize == _complexData.Length){_complexData = new byte[arraySize + 6];sizeIncludesHeaderSize = false;}Array.Copy(data, offset, _complexData, 0, _complexData.Length);}return _complexData.Length;}
public ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1){TwoDEval reference = ConvertFirstArg(arg0);int columnIx = 0;try{int rowIx = ResolveIndexArg(arg1, srcRowIndex, srcColumnIndex);if (!reference.IsColumn){if (!reference.IsRow){return ErrorEval.REF_INVALID;}columnIx = rowIx;rowIx = 0;}return GetValueFromArea(reference, rowIx, columnIx);}catch (EvaluationException e){return e.GetErrorEval();}}
public override bool SeekExact(BytesRef term){throw new System.NotSupportedException(this.GetType().Name + " does not support seeking");}