text
stringlengths 27
1.4k
|
---|
public Builder(){InitializeInstanceFields();}
|
public virtual IList<Ref> GetRevertedRefs(){return revertedRefs;}
|
public virtual DetachPolicyResponse DetachPolicy(DetachPolicyRequest request){var options = new InvokeOptions();options.RequestMarshaller = DetachPolicyRequestMarshaller.Instance;options.ResponseUnmarshaller = DetachPolicyResponseUnmarshaller.Instance;return Invoke<DetachPolicyResponse>(request, options);}
|
public virtual void writeUTF(string str){throw new System.NotImplementedException();}
|
public virtual DeleteBusinessReportScheduleResponse DeleteBusinessReportSchedule(DeleteBusinessReportScheduleRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteBusinessReportScheduleRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteBusinessReportScheduleResponseUnmarshaller.Instance;return Invoke<DeleteBusinessReportScheduleResponse>(request, options);}
|
public JapanesePartOfSpeechStopFilterFactory(IDictionary<string, string> args): base(args){stopTagFiles = Get(args, "tags");enablePositionIncrements = GetBoolean(args, "enablePositionIncrements", true);if (args.Count > 0){throw new ArgumentException("Unknown parameters: " + args);}}
|
public virtual SetVaultNotificationsResponse SetVaultNotifications(SetVaultNotificationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = SetVaultNotificationsRequestMarshaller.Instance;options.ResponseUnmarshaller = SetVaultNotificationsResponseUnmarshaller.Instance;return Invoke<SetVaultNotificationsResponse>(request, options);}
|
public override void WriteBytes(byte[] b, int offset, int length){Debug.Assert(pos + length <= limit);System.Buffer.BlockCopy(b, offset, bytes, pos, length);pos += length;}
|
public virtual UpdateLedgerResponse UpdateLedger(UpdateLedgerRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateLedgerRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateLedgerResponseUnmarshaller.Instance;return Invoke<UpdateLedgerResponse>(request, options);}
|
public virtual BatchDetectDominantLanguageResponse BatchDetectDominantLanguage(BatchDetectDominantLanguageRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchDetectDominantLanguageRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchDetectDominantLanguageResponseUnmarshaller.Instance;return Invoke<BatchDetectDominantLanguageResponse>(request, options);}
|
public virtual void PollForUpdates(){DoUpdates();}
|
public virtual int getAltNumber() { return Atn.ATN.INVALID_ALT_NUMBER; }
|
public override String ToString(){StringBuilder sb = new StringBuilder(64);sb.Append(GetType().Name).Append(" [");sb.Append(FormatAsString());sb.Append("]");return sb.ToString();}
|
public virtual int GetTimeout(){return timeout;}
|
public virtual bool CanReuse(IndexInput @in){return @in == _inStart;}
|
public DescribeMetricFiltersRequest(string logGroupName){_logGroupName = logGroupName;}
|
public virtual void Write(char b){if (m_len >= m_buf.Length){Resize(m_len + 1);}UnsafeWrite(b);}
|
public virtual void trimToSize(){if (count < value.Length){char[] newValue = new char[count];System.Array.Copy(value, 0, newValue, 0, count);value = newValue;shared = false;}}
|
public virtual ListTransformJobsResponse ListTransformJobs(ListTransformJobsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListTransformJobsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListTransformJobsResponseUnmarshaller.Instance;return Invoke<ListTransformJobsResponse>(request, options);}
|
public IEvaluationName GetName(NamePtg namePtg){int ix = namePtg.Index;return new Name(_iBook.GetNameRecord(ix), ix);}
|
public virtual NGit.Api.StashCreateCommand SetIndexMessage(string message){indexMessage = message;return this;}
|
public HSSFPalette GetCustomPalette(){return new HSSFPalette(workbook.CustomPalette);}
|
public virtual DeregisterTaskDefinitionResponse DeregisterTaskDefinition(DeregisterTaskDefinitionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeregisterTaskDefinitionRequestMarshaller.Instance;options.ResponseUnmarshaller = DeregisterTaskDefinitionResponseUnmarshaller.Instance;return Invoke<DeregisterTaskDefinitionResponse>(request, options);}
|
public string pattern(){return _pattern;}
|
public virtual void SetThreads(int threads){this.threads = threads;}
|
public virtual void Execute(BaseReceivePack rp){try{RefUpdate ru = rp.GetRepository().UpdateRef(GetRefName());ru.SetRefLogIdent(rp.GetRefLogIdent());switch (GetType()){case ReceiveCommand.Type.DELETE:{if (!ObjectId.ZeroId.Equals(GetOldId())){ru.SetExpectedOldObjectId(GetOldId());}ru.SetForceUpdate(true);SetResult(ru.Delete(rp.GetRevWalk()));break;}case ReceiveCommand.Type.CREATE:case ReceiveCommand.Type.UPDATE:case ReceiveCommand.Type.UPDATE_NONFASTFORWARD:{ru.SetForceUpdate(rp.IsAllowNonFastForwards());ru.SetExpectedOldObjectId(GetOldId());ru.SetNewObjectId(GetNewId());ru.SetRefLogMessage("push", true);SetResult(ru.Update(rp.GetRevWalk()));break;}}}catch (IOException err){Reject(err);}}
|
public virtual GetEbsDefaultKmsKeyIdResponse GetEbsDefaultKmsKeyId(GetEbsDefaultKmsKeyIdRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetEbsDefaultKmsKeyIdRequestMarshaller.Instance;options.ResponseUnmarshaller = GetEbsDefaultKmsKeyIdResponseUnmarshaller.Instance;return Invoke<GetEbsDefaultKmsKeyIdResponse>(request, options);}
|
public override string ToString(){return Slice.ToString() + ":" + DocsAndPositionsEnum;}
|
public DeleteCacheParameterGroupRequest(string cacheParameterGroupName){_cacheParameterGroupName = cacheParameterGroupName;}
|
public java.util.NavigableMap<K, V> headMap(K to, bool inclusive){java.util.TreeMap.Bound toBound = inclusive ? java.util.TreeMap.Bound.INCLUSIVE :java.util.TreeMap.Bound.EXCLUSIVE;return this.subMap(default(K), java.util.TreeMap.Bound.NO_BOUND, to, toBound);}
|
public virtual OutputStream GetOutputStream(){return rawOut;}
|
public bool? BooleanValue(string key){if (null != DictionaryUtil.Get(ResponseDictionary, key)){return bool.Parse(DictionaryUtil.Get(ResponseDictionary, key));}return null;}
|
public virtual ATN GetATNWithBypassAlts(){string serializedAtn = SerializedAtn;if (serializedAtn == null){throw new NotSupportedException("The current parser does not support an ATN with bypass alternatives.");}lock (bypassAltsAtnCache){ATN result = bypassAltsAtnCache.Get(serializedAtn);if (result == null){ATNDeserializationOptions deserializationOptions = new ATNDeserializationOptions();deserializationOptions.GenerateRuleBypassTransitions = true;result = new ATNDeserializer(deserializationOptions).Deserialize(serializedAtn.ToCharArray());bypassAltsAtnCache.Put(serializedAtn, result);}return result;}}
|
public GetDownloadUrlRequest(): base("CloudPhoto", "2017-07-11", "GetDownloadUrl", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}
|
public virtual int GetCRC(){return crc;}
|
public bool AddEscherRecord(EscherRecord element){escherRecords.Add(element);return true;}
|
public override java.nio.CharBuffer put(string src, int start, int end){throw new java.nio.ReadOnlyBufferException();}
|
public virtual ModifyWorkspaceStateResponse ModifyWorkspaceState(ModifyWorkspaceStateRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyWorkspaceStateRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyWorkspaceStateResponseUnmarshaller.Instance;return Invoke<ModifyWorkspaceStateResponse>(request, options);}
|
public ICUTransformFilter(TokenStream input, Transliterator transform): base(input){this.transform = transform;this.termAtt = AddAttribute<ICharTermAttribute>();if (transform.Filter == null && transform is RuleBasedTransliterator){UnicodeSet sourceSet = transform.GetSourceSet();if (sourceSet != null && sourceSet.Any())transform.Filter=sourceSet;}}
|
public virtual StopGameSessionPlacementResponse StopGameSessionPlacement(StopGameSessionPlacementRequest request){var options = new InvokeOptions();options.RequestMarshaller = StopGameSessionPlacementRequestMarshaller.Instance;options.ResponseUnmarshaller = StopGameSessionPlacementResponseUnmarshaller.Instance;return Invoke<StopGameSessionPlacementResponse>(request, options);}
|
public virtual ObjectId GetDeltaBase(){return null;}
|
public override Object Clone(){RefModeRecord rec = new RefModeRecord();rec.field_1_mode = field_1_mode;return rec;}
|
public virtual bool AddURI(URIish toAdd){if (uris.Contains(toAdd)){return false;}return uris.AddItem(toAdd);}
|
public override FileMode GetOldMode(){return GetOldMode(0);}
|
public virtual ICollection<RemoteRefUpdate> GetRemoteUpdates(){return Sharpen.Collections.UnmodifiableCollection(remoteUpdates.Values);}
|
public override String ToString(){StringBuilder sb = new StringBuilder();sb.Append(this.GetType().Name);sb.Append(" [");String ws = _wholePart.ToString(CultureInfo.InvariantCulture);sb.Append(ws[0]);sb.Append('.');sb.Append(ws.Substring(1));sb.Append(' ');sb.Append(GetFractionalDigits());sb.Append("E");sb.Append(GetDecimalExponent());sb.Append("]");return sb.ToString();}
|
public virtual CreateCollectionResponse CreateCollection(CreateCollectionRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateCollectionRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateCollectionResponseUnmarshaller.Instance;return Invoke<CreateCollectionResponse>(request, options);}
|
public virtual ChangeMessageVisibilityBatchResponse ChangeMessageVisibilityBatch(ChangeMessageVisibilityBatchRequest request){var options = new InvokeOptions();options.RequestMarshaller = ChangeMessageVisibilityBatchRequestMarshaller.Instance;options.ResponseUnmarshaller = ChangeMessageVisibilityBatchResponseUnmarshaller.Instance;return Invoke<ChangeMessageVisibilityBatchResponse>(request, options);}
|
public static int[] copyOfRange(int[] original, int start, int end){if (start > end){throw new System.ArgumentException();}int originalLength = original.Length;if (start < 0 || start > originalLength){throw new System.IndexOutOfRangeException();}int resultLength = end - start;int copyLength = System.Math.Min(resultLength, originalLength - start);int[] result = new int[resultLength];System.Array.Copy(original, start, result, 0, copyLength);return result;}
|
public static void SetInstance(SshSessionFactory newFactory){if (newFactory != null){INSTANCE = newFactory;}else{INSTANCE = new DefaultSshSessionFactory();}}
|
public GetRepoSyncTaskListRequest(): base("cr", "2016-06-07", "GetRepoSyncTaskList", "cr", "openAPI"){UriPattern = "/repos/[RepoNamespace]/[RepoName]/syncTasks";Method = MethodType.GET;}
|
public RunInstancesRequest(string imageId, int minCount, int maxCount){_imageId = imageId;_minCount = minCount;_maxCount = maxCount;}
|
public virtual DeleteCodeRepositoryResponse DeleteCodeRepository(DeleteCodeRepositoryRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteCodeRepositoryRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteCodeRepositoryResponseUnmarshaller.Instance;return Invoke<DeleteCodeRepositoryResponse>(request, options);}
|
public override void Fill(int fromIndex, int toIndex, long val){Debug.Assert(fromIndex >= 0);Debug.Assert(fromIndex <= toIndex);Debug.Assert(PackedInt32s.BitsRequired(val) <= m_bitsPerValue);int valuesPerBlock = 64 / m_bitsPerValue;if (toIndex - fromIndex <= valuesPerBlock << 1){base.Fill(fromIndex, toIndex, val);return;}int fromOffsetInBlock = fromIndex % valuesPerBlock;if (fromOffsetInBlock != 0){for (int i = fromOffsetInBlock; i < valuesPerBlock; ++i){Set(fromIndex++, val);}Debug.Assert(fromIndex % valuesPerBlock == 0);}int fromBlock = fromIndex / valuesPerBlock;int toBlock = toIndex / valuesPerBlock;Debug.Assert(fromBlock * valuesPerBlock == fromIndex);long blockValue = 0L;for (int i = 0; i < valuesPerBlock; ++i){blockValue = blockValue | (val << (i * m_bitsPerValue));}Arrays.Fill(blocks, fromBlock, toBlock, blockValue);for (int i = valuesPerBlock * toBlock; i < toIndex; ++i){Set(i, val);}}
|
public override void close(){str = null;}
|
public virtual ListDomainNamesResponse ListDomainNames(){return ListDomainNames(new ListDomainNamesRequest());}
|
public AbortMultipartUploadRequest(string accountId, string vaultName, string uploadId){_accountId = accountId;_vaultName = vaultName;_uploadId = uploadId;}
|
public virtual RevCommit GetNewHead(){return newHead;}
|
public override long Get(int index){int o = (int)((uint)index >> 5);int b = index & 31;int shift = b << 1;return ((long)((ulong)blocks[o] >> shift)) & 3L;}
|
public virtual UpdateContainerInstancesStateResponse UpdateContainerInstancesState(UpdateContainerInstancesStateRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateContainerInstancesStateRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateContainerInstancesStateResponseUnmarshaller.Instance;return Invoke<UpdateContainerInstancesStateResponse>(request, options);}
|
public virtual GetExternalModelsResponse GetExternalModels(GetExternalModelsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetExternalModelsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetExternalModelsResponseUnmarshaller.Instance;return Invoke<GetExternalModelsResponse>(request, options);}
|
public virtual GetFaceDetectionResponse GetFaceDetection(GetFaceDetectionRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetFaceDetectionRequestMarshaller.Instance;options.ResponseUnmarshaller = GetFaceDetectionResponseUnmarshaller.Instance;return Invoke<GetFaceDetectionResponse>(request, options);}
|
public override void Delete(){lock (outerInstance){if (!outerInstance.m_refCounts.ContainsKey(m_cp.Generation)){m_cp.Delete();}}}
|
public override void Decode(long[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations){for (int i = 0; i < iterations; ++i){long block = blocks[blocksOffset++];for (int shift = 56; shift >= 0; shift -= 8){values[valuesOffset++] = (int)(((long)((ulong)block >> shift)) & 255);}}}
|
public virtual java.util.Iterator<E> descendingIterator(){return new java.util.LinkedList<E>.ReverseLinkIterator<E>(this, this);}
|
public CredentialsBackupCompatibilityAdaptor(AlibabaCloudCredentialsProvider provider){this.provider = provider;}
|
public virtual DescribeDBClusterSnapshotsResponse DescribeDBClusterSnapshots(DescribeDBClusterSnapshotsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeDBClusterSnapshotsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeDBClusterSnapshotsResponseUnmarshaller.Instance;return Invoke<DescribeDBClusterSnapshotsResponse>(request, options);}
|
public FontRecord GetFontRecordAt(int idx){int index = idx;if (index > 4){index -= 1; }if (index > (numfonts - 1)){throw new IndexOutOfRangeException("There are only " + numfonts+ " font records, you asked for " + idx);}FontRecord retval =(FontRecord)records[(records.Fontpos - (numfonts - 1) + index)];return retval;}
|
public ValueEval Evaluate(ValueEval[] args, int srcRowIndex, int srcColumnIndex){if (args.Length != 2){return ErrorEval.VALUE_INVALID;}return Evaluate(srcRowIndex, srcColumnIndex, args[0], args[1]);}
|
public virtual DescribeCustomerGatewaysResponse DescribeCustomerGateways(){return DescribeCustomerGateways(new DescribeCustomerGatewaysRequest());}
|
public CreateSubnetRequest(string vpcId, string cidrBlock){_vpcId = vpcId;_cidrBlock = cidrBlock;}
|
public StempelStemmer(Trie stemmer){this.stemmer = stemmer;}
|
public NLPNERTaggerOp(TokenNameFinderModel model){this.nameFinder = new NameFinderME(model);}
|
public override TreeFilter Clone(){return new NGit.Revwalk.FollowFilter(((PathFilter)path.Clone()));}
|
public QueryAddUserInfoRequest(): base("LinkFace", "2018-07-20", "QueryAddUserInfo"){Protocol = ProtocolType.HTTPS;Method = MethodType.POST;}
|
public override bool Include(TreeWalk walker){DirCacheIterator i = walker.GetTree<DirCacheIterator>(treeIdx);if (i == null){return true;}DirCacheEntry e = i.GetDirCacheEntry();return e == null || !e.IsSkipWorkTree;}
|
public CompareResult CompareTo(ValueEval other){if (other == null){throw new Exception("Compare to value cannot be null");}if (_targetType != other.GetType()){return CompareResult.TypeMismatch;}return CompareSameType(other);}
|
public SegmentReadState(SegmentReadState other, string newSegmentSuffix){this.Directory = other.Directory;this.SegmentInfo = other.SegmentInfo;this.FieldInfos = other.FieldInfos;this.Context = other.Context;this.TermsIndexDivisor = other.TermsIndexDivisor;this.SegmentSuffix = newSegmentSuffix;}
|
public virtual void println(object obj){println(Sharpen.StringHelper.GetValueOf(obj));}
|
public virtual DeleteModelResponse DeleteModel(DeleteModelRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteModelRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteModelResponseUnmarshaller.Instance;return Invoke<DeleteModelResponse>(request, options);}
|
public void SetFiles(ISet<string> files){CheckFileNames(files);setFiles = files;}
|
public virtual void Release(){reader.Release();}
|
public override java.nio.FloatBuffer asReadOnlyBuffer(){return duplicate();}
|
public virtual int get(int key, int valueIfKeyNotFound){int i = binarySearch(mKeys, 0, mSize, key);if (i < 0){return valueIfKeyNotFound;}else{return mValues[i];}}
|
public virtual java.nio.CharBuffer get(char[] dst){return get(dst, 0, dst.Length);}
|
public static string ToHex(byte value){return ToHex((long)value, 2);}
|
public String ResolveNameXText(NameXPtg n){return _iBook.ResolveNameXText(n.SheetRefIndex, n.NameIndex);}
|
public override String ToString(){StringBuilder sb = new StringBuilder(64);sb.Append(this.GetType().Name);sb.Append(" [").Append(_representation).Append("]");return sb.ToString();}
|
public virtual PutEmailIdentityMailFromAttributesResponse PutEmailIdentityMailFromAttributes(PutEmailIdentityMailFromAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutEmailIdentityMailFromAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = PutEmailIdentityMailFromAttributesResponseUnmarshaller.Instance;return Invoke<PutEmailIdentityMailFromAttributesResponse>(request, options);}
|
public RemoveAlbumPhotosRequest(): base("CloudPhoto", "2017-07-11", "RemoveAlbumPhotos", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}
|
public virtual DeleteAttributesResponse DeleteAttributes(DeleteAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteAttributesResponseUnmarshaller.Instance;return Invoke<DeleteAttributesResponse>(request, options);}
|
public virtual void DisableRefLog(){destination.SetRefLogMessage(string.Empty, false);}
|
public override TokenStream Create(TokenStream input){return new GermanLightStemFilter(input);}
|
public virtual E removeLast(){return removeLastImpl();}
|
public virtual UpdateDomainMetadataResponse UpdateDomainMetadata(UpdateDomainMetadataRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateDomainMetadataRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateDomainMetadataResponseUnmarshaller.Instance;return Invoke<UpdateDomainMetadataResponse>(request, options);}
|
public short FindNewDrawingGroupId(){short dgId = 1;while (DrawingGroupExists(dgId))dgId++;return dgId;}
|
public override string ToString(){return "FacetEntry{" +"value=" + value.Utf8ToString() +", count=" + count +'}';}
|
public SharedFormulaRecord LinkSharedFormulaRecord(CellReference firstCell, FormulaRecordAggregate agg){SharedFormulaGroup result = FindFormulaGroupForCell(firstCell);if (null == result){throw new RuntimeException("Failed to find a matching shared formula record");}result.Add(agg);return result.SFR;}
|
public override void Write(ILittleEndianOutput out1){out1.WriteByte(sid + PtgClass);out1.WriteShort(field_1_label_index);out1.WriteShort(field_2_zero);}
|
public virtual OpenStringBuilder Append(string csq){return Append(csq, 0, csq.Length);}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.