text
stringlengths 27
1.4k
|
|---|
public ValueEval Evaluate(ValueEval[] args, int srcRowIndex, int srcColumnIndex){switch (args.Length){case 2:return Evaluate(srcRowIndex, srcColumnIndex, args[0], args[1]);case 3:return Evaluate(srcRowIndex, srcColumnIndex, args[0], args[1], args[2]);}return ErrorEval.VALUE_INVALID;}
|
public virtual GroupingSearch SetAllGroupHeads(bool allGroupHeads){this.allGroupHeads = allGroupHeads;return this;}
|
public virtual string Dequote(string @in){byte[] b = Constants.Encode(@in);return Dequote(b, 0, b.Length);}
|
public override bool IsEmpty(){return EntrySet().IsEmpty();}
|
public override Search.Query MakeLuceneQueryFieldNoBoost(string fieldName, BasicQueryFactory qf){return SrndBooleanQuery.MakeBooleanQuery( MakeLuceneSubQueriesField(fieldName, qf), Occur.MUST);}
|
public override long GetSize(){return data.Length;}
|
public virtual CreatePhoneNumberOrderResponse CreatePhoneNumberOrder(CreatePhoneNumberOrderRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreatePhoneNumberOrderRequestMarshaller.Instance;options.ResponseUnmarshaller = CreatePhoneNumberOrderResponseUnmarshaller.Instance;return Invoke<CreatePhoneNumberOrderResponse>(request, options);}
|
public override java.nio.ShortBuffer get(short[] dst, int dstOffset, int shortCount){byteBuffer.limit(_limit * libcore.io.SizeOf.SHORT);byteBuffer.position(_position * libcore.io.SizeOf.SHORT);if (byteBuffer is java.nio.DirectByteBuffer){((java.nio.DirectByteBuffer)byteBuffer).get(dst, dstOffset, shortCount);}else{((java.nio.HeapByteBuffer)byteBuffer).get(dst, dstOffset, shortCount);}this._position += shortCount;return this;}
|
public virtual DetectModerationLabelsResponse DetectModerationLabels(DetectModerationLabelsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DetectModerationLabelsRequestMarshaller.Instance;options.ResponseUnmarshaller = DetectModerationLabelsResponseUnmarshaller.Instance;return Invoke<DetectModerationLabelsResponse>(request, options);}
|
public UncalcedRecord(RecordInputStream in1){_reserved = in1.ReadShort();}
|
public String HandlePart(Match m, String part, CellFormatType type,StringBuilder desc){int pos = desc.Length;char firstCh = part[0];switch (firstCh){case '[':if (part.Length < 3)break;if (_formatter.topmost != null)throw new ArgumentException("Duplicate '[' times in format");part = part.ToLower();int specLen = part.Length - 2;_formatter.topmost = _formatter.AssignSpec(part[1], pos, specLen);return part.Substring(1, specLen);case 'h':case 'm':case 's':case '0':part = part.ToLower();_formatter.AssignSpec(part[0], pos, part.Length);return part;case '\n':return "%n";case '\"':part = part.Substring(1, part.Length - 2);break;case '\\':part = part.Substring(1);break;case '*':if (part.Length > 1)part = CellFormatPart.ExpandChar(part);break;case '_':return null;}return part;}
|
public override long RamBytesUsed(){var sizeInBytes = ((_delegateFieldsProducer != null) ? _delegateFieldsProducer.RamBytesUsed() : 0);foreach (var entry in _bloomsByFieldName){sizeInBytes += entry.Key.Length * RamUsageEstimator.NUM_BYTES_CHAR;sizeInBytes += entry.Value.RamBytesUsed();}return sizeInBytes;}
|
public CreateImageRequest(string instanceId, string name){_instanceId = instanceId;_name = name;}
|
public virtual SendDiagnosticInterruptResponse SendDiagnosticInterrupt(SendDiagnosticInterruptRequest request){var options = new InvokeOptions();options.RequestMarshaller = SendDiagnosticInterruptRequestMarshaller.Instance;options.ResponseUnmarshaller = SendDiagnosticInterruptResponseUnmarshaller.Instance;return Invoke<SendDiagnosticInterruptResponse>(request, options);}
|
public virtual int lastIndexOf(object @object){object[] snapshot = elements;return lastIndexOf(@object, snapshot, 0, snapshot.Length);}
|
public virtual AbortDocumentVersionUploadResponse AbortDocumentVersionUpload(AbortDocumentVersionUploadRequest request){var options = new InvokeOptions();options.RequestMarshaller = AbortDocumentVersionUploadRequestMarshaller.Instance;options.ResponseUnmarshaller = AbortDocumentVersionUploadResponseUnmarshaller.Instance;return Invoke<AbortDocumentVersionUploadResponse>(request, options);}
|
public PaneInformation(short x, short y, short top, short left, byte active, bool frozen){this.x = x;this.y = y;this.topRow = top;this.leftColumn = left;this.activePane = active;this.frozen = frozen;}
|
public virtual DescribeScalingProcessTypesResponse DescribeScalingProcessTypes(DescribeScalingProcessTypesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeScalingProcessTypesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeScalingProcessTypesResponseUnmarshaller.Instance;return Invoke<DescribeScalingProcessTypesResponse>(request, options);}
|
public static bool EndsWith(char[] s, int len, char[] suffix){int suffixLen = suffix.Length;if (suffixLen > len){return false;}for (int i = suffixLen - 1; i >= 0; i--){if (s[len - (suffixLen - i)] != suffix[i]){return false;}}return true;}
|
public void warnIfOpen(){if (allocationSite == null || !ENABLED){return;}string message = ("A resource was acquired at attached stack trace but never released. "+ "See java.io.Closeable for information on avoiding resource leaks.");REPORTER.report(message, allocationSite);}
|
public GetImageScanRequest(): base("cr", "2016-06-07", "GetImageScan", "cr", "openAPI"){UriPattern = "/repos/[RepoNamespace]/[RepoName]/tags/[Tag]/scan";Method = MethodType.GET;}
|
public virtual ListSkillsStoreCategoriesResponse ListSkillsStoreCategories(ListSkillsStoreCategoriesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListSkillsStoreCategoriesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListSkillsStoreCategoriesResponseUnmarshaller.Instance;return Invoke<ListSkillsStoreCategoriesResponse>(request, options);}
|
public virtual int getHeight(){return mBitmap.getHeight();}
|
public void ApplyFont(short fontIndex){ApplyFont(0, _string.CharCount, fontIndex);}
|
public virtual DetectEntitiesResponse DetectEntities(DetectEntitiesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DetectEntitiesRequestMarshaller.Instance;options.ResponseUnmarshaller = DetectEntitiesResponseUnmarshaller.Instance;return Invoke<DetectEntitiesResponse>(request, options);}
|
public virtual void CopyRawTo(ByteBuffer w){w.PutInt(w1);w.PutInt(w2);w.PutInt(w3);w.PutInt(w4);w.PutInt(w5);}
|
public sealed override object array(){return protectedArray();}
|
public override void SeekExact(long ord){if (indexEnum == null){throw new InvalidOperationException("terms index was not loaded");}Debug.Assert(ord < outerInstance.numTerms);input.Seek(indexEnum.Seek(ord));bool result = NextBlock();Debug.Assert(result);indexIsCurrent = true;didIndexNext = false;blocksSinceSeek = 0;seekPending = false;state.Ord = indexEnum.Ord - 1;Debug.Assert(state.Ord >= -1, "Ord=" + state.Ord);term.CopyBytes(indexEnum.Term);int left = (int)(ord - state.Ord);while (left > 0){BytesRef term = _next();Debug.Assert(term != null);left--;Debug.Assert(indexIsCurrent);}}
|
public override string ToString(){StringBuilder sb = new StringBuilder();sb.Append('[');int end = Offset + Length;for (int i = Offset; i < end; i++){if (i > Offset){sb.Append(' ');}sb.Append((bytes[i] & 0xff).ToString("x"));}sb.Append(']');return sb.ToString();}
|
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append(" [FEATURE PROTECTION]\n");buffer.Append(" Self Relative = " + fSD);buffer.Append(" Password Verifier = " + passwordVerifier);buffer.Append(" Title = " + title);buffer.Append(" Security Descriptor Size = " + securityDescriptor.Length);buffer.Append(" [/FEATURE PROTECTION]\n");return buffer.ToString();}
|
public virtual void SetCRC(int crc32){crc = crc32;}
|
public DoubleRange(string label, double minIn, bool minInclusive, double maxIn, bool maxInclusive): base(label){this.Min = minIn;this.Max = maxIn;this.MinInclusive = minInclusive;this.MaxInclusive = maxInclusive;if (double.IsNaN(Min)){throw new System.ArgumentException("min cannot be NaN");}if (!minInclusive){minIn += EPSILON;}if (double.IsNaN(Max)){throw new System.ArgumentException("max cannot be NaN");}if (!maxInclusive){maxIn = maxIn -= EPSILON;}if (minIn > maxIn){FailNoMatch();}this.minIncl = minIn;this.maxIncl = maxIn;}
|
public int GetBATEntriesPerBlock(){return bigBlockSize / LittleEndianConsts.INT_SIZE;}
|
public virtual CreatePublishingDestinationResponse CreatePublishingDestination(CreatePublishingDestinationRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreatePublishingDestinationRequestMarshaller.Instance;options.ResponseUnmarshaller = CreatePublishingDestinationResponseUnmarshaller.Instance;return Invoke<CreatePublishingDestinationResponse>(request, options);}
|
public override void SkipBytes(long count){pos += (int)count;}
|
public override string ToString(){return "jarowinkler(" + threshold + ")";}
|
public virtual DeleteInvitationsResponse DeleteInvitations(DeleteInvitationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteInvitationsRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteInvitationsResponseUnmarshaller.Instance;return Invoke<DeleteInvitationsResponse>(request, options);}
|
public DelimitedPayloadTokenFilterFactory(IDictionary<string, string> args): base(args){encoderClass = Require(args, ENCODER_ATTR);delimiter = GetChar(args, DELIMITER_ATTR, '|');if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
|
public virtual ListSmartHomeAppliancesResponse ListSmartHomeAppliances(ListSmartHomeAppliancesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListSmartHomeAppliancesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListSmartHomeAppliancesResponseUnmarshaller.Instance;return Invoke<ListSmartHomeAppliancesResponse>(request, options);}
|
public override void Dispatch(ConfigChangedListener listener){listener.OnConfigChanged(this);}
|
public java.io.File[] listFiles(){return filenamesToFiles(list());}
|
public async Task<AzureOperationResponse<DedicatedCapacity>> GetDetailsWithHttpMessagesAsync(string resourceGroupName, string dedicatedCapacityName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)){return await innerCapacityOperations.GetDetailsWithHttpMessagesAsync(resourceGroupName, dedicatedCapacityName, customHeaders, cancellationToken).ConfigureAwait(false);}
|
public override void SeekExact(long ord){Debug.Assert(ord < info.terms.Count);termUpto = (int)ord;}
|
public virtual CreateTrialComponentResponse CreateTrialComponent(CreateTrialComponentRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateTrialComponentRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateTrialComponentResponseUnmarshaller.Instance;return Invoke<CreateTrialComponentResponse>(request, options);}
|
public virtual UpdateResourceResponse UpdateResource(UpdateResourceRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateResourceRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateResourceResponseUnmarshaller.Instance;return Invoke<UpdateResourceResponse>(request, options);}
|
public long length(){try{return channel.size();}catch (IOException ioe){throw new Exception("IOException during length(): " + this, ioe);}}
|
public override char SetIndex(int position){if (position < BeginIndex || position > EndIndex){throw new ArgumentException("Illegal Position: " + position);}index = start + position;return Current;}
|
public static bool IsContainer(short options, short recordId){if (recordId >= EscherContainerRecord.DGG_CONTAINER && recordId<= EscherContainerRecord.SOLVER_CONTAINER){return true;}else{if (recordId == EscherTextboxRecord.RECORD_ID){return false;}else{return (options & (short)0x000F) == (short)0x000F;}}}
|
public bool Exists(string fileName){Debug.Assert(IsLocked);return refCounts.TryGetValue(fileName, out RefCount value) ? value.count > 0 : false;}
|
public void WithSTSClient(IAcsClient client){stsClient = client;}
|
public virtual AcceptMatchResponse AcceptMatch(AcceptMatchRequest request){var options = new InvokeOptions();options.RequestMarshaller = AcceptMatchRequestMarshaller.Instance;options.ResponseUnmarshaller = AcceptMatchResponseUnmarshaller.Instance;return Invoke<AcceptMatchResponse>(request, options);}
|
public static RevFilter Create(int skip){if (skip < 0){throw new ArgumentException(JGitText.Get().skipMustBeNonNegative);}return new NGit.Revwalk.Filter.SkipRevFilter(skip);}
|
public virtual GetHITResponse GetHIT(GetHITRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetHITRequestMarshaller.Instance;options.ResponseUnmarshaller = GetHITResponseUnmarshaller.Instance;return Invoke<GetHITResponse>(request, options);}
|
public virtual StopStreamProcessorResponse StopStreamProcessor(StopStreamProcessorRequest request){var options = new InvokeOptions();options.RequestMarshaller = StopStreamProcessorRequestMarshaller.Instance;options.ResponseUnmarshaller = StopStreamProcessorResponseUnmarshaller.Instance;return Invoke<StopStreamProcessorResponse>(request, options);}
|
public static AttrPtg CreateIf(int dist){return new AttrPtg(optiIf.Set(0), dist, null, -1);}
|
public virtual DeleteIAMPolicyAssignmentResponse DeleteIAMPolicyAssignment(DeleteIAMPolicyAssignmentRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteIAMPolicyAssignmentRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteIAMPolicyAssignmentResponseUnmarshaller.Instance;return Invoke<DeleteIAMPolicyAssignmentResponse>(request, options);}
|
public virtual UpdateCampaignResponse UpdateCampaign(UpdateCampaignRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateCampaignRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateCampaignResponseUnmarshaller.Instance;return Invoke<UpdateCampaignResponse>(request, options);}
|
public virtual Antlr4.Runtime.Atn.LexerActionExecutor FixOffsetBeforeMatch(int offset){ILexerAction[] updatedLexerActions = null;for (int i = 0; i < lexerActions.Length; i++){if (lexerActions[i].IsPositionDependent && !(lexerActions[i] is LexerIndexedCustomAction)){if (updatedLexerActions == null){updatedLexerActions = (ILexerAction[])lexerActions.Clone();}updatedLexerActions[i] = new LexerIndexedCustomAction(offset, lexerActions[i]);}}if (updatedLexerActions == null){return this;}return new Antlr4.Runtime.Atn.LexerActionExecutor(updatedLexerActions);}
|
public void ProtectSheet(String password, bool shouldProtectObjects,bool shouldProtectScenarios){if (password == null){_passwordRecord = null;_protectRecord = null;_objectProtectRecord = null;_scenarioProtectRecord = null;return;}ProtectRecord prec = this.Protect;PasswordRecord pass = this.Password;prec.Protect = true;pass.Password = (PasswordRecord.HashPassword(password));if (_objectProtectRecord == null && shouldProtectObjects){ObjectProtectRecord rec = CreateObjectProtect();rec.Protect = (true);_objectProtectRecord = rec;}if (_scenarioProtectRecord == null && shouldProtectScenarios){ScenarioProtectRecord srec = CreateScenarioProtect();srec.Protect = (true);_scenarioProtectRecord = srec;}}
|
public PackedDataOutput(DataOutput @out){this.@out = @out;current = 0;remainingBits = 8;}
|
public CFRuleRecord GetRule(int idx){CheckRuleIndex(idx);return rules[idx];}
|
public FieldCacheSource(string field){this.m_field = field;}
|
public IndonesianStemFilterFactory(IDictionary<string, string> args): base(args){stemDerivational = GetBoolean(args, "stemDerivational", true);if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
|
public virtual bool IsOffsetOverlap(WeightedPhraseInfo other){int so = StartOffset;int eo = EndOffset;int oso = other.StartOffset;int oeo = other.EndOffset;if (so <= oso && oso < eo) return true;if (so < oeo && oeo <= eo) return true;if (oso <= so && so < oeo) return true;if (oso < eo && eo <= oeo) return true;return false;}
|
public MergeAlgorithm(DiffAlgorithm diff){this.diffAlg = diff;}
|
public override void Serialize(ILittleEndianOutput out1){out1.WriteInt(field_1_xAxisUpperLeft);out1.WriteInt(field_2_yAxisUpperLeft);out1.WriteInt(field_3_xSize);out1.WriteInt(field_4_ySize);out1.WriteByte(field_5_type);out1.WriteByte(field_6_spacing);out1.WriteShort(field_7_options);}
|
public override long Get(int index){int o = index / 21;int b = index % 21;int shift = b * 3;return ((long)((ulong)blocks[o] >> shift)) & 7L;}
|
public virtual java.nio.charset.CodingErrorAction unmappableCharacterAction(){return _unmappableCharacterAction;}
|
public virtual ISet<string> GetSet(IDictionary<string, string> args, string name){string s;if (args.TryGetValue(name, out s)){args.Remove(name);ISet<string> set = null;Match matcher = ITEM_PATTERN.Match(s);if (matcher.Success){set = new JCG.HashSet<string>{matcher.Groups[0].Value};matcher = matcher.NextMatch();while (matcher.Success){set.Add(matcher.Groups[0].Value);matcher = matcher.NextMatch();}}return set;}return null;}
|
public override AbstractTreeIterator CreateSubtreeIterator(ObjectReader reader){if (currentSubtree == null){throw new IncorrectObjectTypeException(EntryObjectId, Constants.TYPE_TREE);}return new NGit.Dircache.DirCacheIterator(this, currentSubtree);}
|
public virtual Explanation[] GetDetails(){if (details == null){return null;}return details.ToArray();}
|
public override string ToString(){string opName = GetType().FullName;int index = opName.IndexOf('$');opName = Sharpen.Runtime.Substring(opName, index + 1, opName.Length);return "<" + opName + "@" + tokens.Get(this.index) + ":\"" + text + "\">";}
|
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[TopMargin]\n");buffer.Append(" .margin = ").Append(" (").Append(Margin).Append(" )\n");buffer.Append("[/TopMargin]\n");return buffer.ToString();}
|
static public double FV(double r, int nper, double c, double pv){return FV(r, nper, c, pv, 0);}
|
public override bool remove(object @object){object[] a = array;int s = _size;if (@object != null){{for (int i = 0; i < s; i++){if (@object.Equals(a[i])){System.Array.Copy(a, i + 1, a, i, --s - i);a[s] = null;_size = s;modCount++;return true;}}}}else{{for (int i = 0; i < s; i++){if (a[i] == null){System.Array.Copy(a, i + 1, a, i, --s - i);a[s] = null;_size = s;modCount++;return true;}}}}return false;}
|
public MergeCellsRecord(CellRangeAddress[] regions, int startIndex, int numberOfRegions){_regions = regions;_startIndex = startIndex;_numberOfRegions = numberOfRegions;}
|
public virtual ResizeClusterResponse ResizeCluster(ResizeClusterRequest request){var options = new InvokeOptions();options.RequestMarshaller = ResizeClusterRequestMarshaller.Instance;options.ResponseUnmarshaller = ResizeClusterResponseUnmarshaller.Instance;return Invoke<ResizeClusterResponse>(request, options);}
|
public virtual int GetParent(int ordinal){EnsureOpen();if (ordinal >= nextID){throw new System.IndexOutOfRangeException("requested ordinal is bigger than the largest ordinal in the taxonomy");}int[] parents = GetTaxoArrays().Parents;Debug.Assert(ordinal < parents.Length, "requested ordinal (" + ordinal + "); parents.length (" + parents.Length + ") !");return parents[ordinal];}
|
public override java.util.Iterator<java.util.MapClass.Entry<K, V>> iterator(){return new java.util.Hashtable<K, V>.EntryIterator(this._enclosing);}
|
public virtual int Alloc(int size){int index = n;int len = array.Length;if (n + size >= len){char[] aux = new char[len + blockSize];System.Array.Copy(array, 0, aux, 0, len);array = aux;}n += size;return index;}
|
public static string GetInflectionTypeTranslation(string s){string result;inflTypeTranslations.TryGetValue(s, out result);return result;}
|
public override Note Call(){CheckCallable();RevWalk walk = new RevWalk(repo);ObjectInserter inserter = repo.NewObjectInserter();NoteMap map = NoteMap.NewEmptyMap();RevCommit notesCommit = null;try{Ref @ref = repo.GetRef(notesRef);if (@ref != null){notesCommit = walk.ParseCommit(@ref.GetObjectId());map = NoteMap.Read(walk.GetObjectReader(), notesCommit);}map.Set(id, null, inserter);CommitNoteMap(walk, map, notesCommit, inserter, "Notes removed by 'git notes remove'");return map.GetNote(id);}catch (IOException e){throw new JGitInternalException(e.Message, e);}finally{inserter.Release();walk.Release();}}
|
public virtual string GetNewPath(){return newPath;}
|
public UserSViewBegin(byte[] data){_rawData = data;}
|
public virtual CreateMountTargetResponse CreateMountTarget(CreateMountTargetRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateMountTargetRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateMountTargetResponseUnmarshaller.Instance;return Invoke<CreateMountTargetResponse>(request, options);}
|
public DeleteSubnetRequest(string subnetId){_subnetId = subnetId;}
|
public void SetTitle(String title){this.title = title;}
|
public char current(){if (offset == end){return java.text.CharacterIteratorClass.DONE;}return @string[offset];}
|
public virtual void Add(long n){if (count == entries.Length){Grow();}entries[count++] = n;}
|
public override java.nio.FloatBuffer put(int index, float c){checkIndex(index);backingArray[offset + index] = c;return this;}
|
public ListGroupPoliciesRequest(string groupName){_groupName = groupName;}
|
public virtual void SetDeltaSearchWindowSize(int objectCount){if (objectCount <= 2){SetDeltaCompress(false);}else{deltaSearchWindowSize = objectCount;}}
|
public override int NextDoc(){if (idx >= size){value = null;return doc = DocIdSetIterator.NO_MORE_DOCS;}doc = (int)docs.Get(idx);++idx;while (idx < size && docs.Get(idx) == doc){++idx;}if (!docsWithField.Get((int)(idx - 1))){value = null;}else{value = values.Get(idx - 1);}return doc;}
|
public override void Decode(byte[] blocks, int blocksOffset, long[] values, int valuesOffset, int iterations){for (int j = 0; j < iterations; ++j){var block = blocks[blocksOffset++];values[valuesOffset++] = ((int)((uint)block >> 4)) & 15;values[valuesOffset++] = block & 15;}}
|
public int GetNameIndex(String name){int retval = -1;for (int k = 0; k < names.Count; k++){String nameName = GetNameName(k);if (nameName.Equals(name, StringComparison.OrdinalIgnoreCase)){retval = k;break;}}return retval;}
|
public virtual void Seek(int index){if (index == currentCharIndex){return;}if (index > currentCharIndex){Sync(index - currentCharIndex);index = Math.Min(index, BufferStartIndex + n - 1);}int i = index - BufferStartIndex;if (i < 0){throw new ArgumentException("cannot seek to negative index " + index);}else{if (i >= n){throw new NotSupportedException("seek to index outside buffer: " + index + " not in " + BufferStartIndex + ".." + (BufferStartIndex + n));}}p = i;currentCharIndex = index;if (p == 0){lastChar = lastCharBufferStart;}else{lastChar = data[p - 1];}}
|
public override void ReadBytes(byte[] b, int offset, int len){Array.Copy(data, pos, b, offset, len);pos += len;}
|
public virtual ListGraphsResponse ListGraphs(ListGraphsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListGraphsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListGraphsResponseUnmarshaller.Instance;return Invoke<ListGraphsResponse>(request, options);}
|
public ATNDeserializer(ATNDeserializationOptions deserializationOptions){if (deserializationOptions == null){deserializationOptions = ATNDeserializationOptions.Default;}this.deserializationOptions = deserializationOptions;}
|
public override void Decode(byte[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations){for (int j = 0; j < iterations; ++j){values[valuesOffset++] = ((blocks[blocksOffset++] & 0xFF) << 8) | (blocks[blocksOffset++] & 0xFF);}}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.