text
stringlengths 27
1.4k
|
---|
public virtual void remove(int key){delete(key);} |
public override java.nio.ShortBuffer duplicate(){java.nio.ByteBuffer bb = byteBuffer.duplicate().order(byteBuffer.order());java.nio.ShortToByteBufferAdapter buf = new java.nio.ShortToByteBufferAdapter(bb);buf._limit = _limit;buf._position = _position;buf._mark = _mark;return buf;} |
public void AddDbcell(int cell){if (field_5_dbcells == null){field_5_dbcells = new IntList();}field_5_dbcells.Add(cell);} |
public virtual DeleteSubnetResponse DeleteSubnet(DeleteSubnetRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteSubnetRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteSubnetResponseUnmarshaller.Instance;return Invoke<DeleteSubnetResponse>(request, options);} |
public IList GetAllPictures(){List<HSSFPictureData> pictures = new List<HSSFPictureData>();IEnumerator recordIter = workbook.Records.GetEnumerator();while (recordIter.MoveNext()){Object obj = recordIter.Current;if (obj is AbstractEscherHolderRecord){((AbstractEscherHolderRecord)obj).Decode();IList escherRecords = ((AbstractEscherHolderRecord)obj).EscherRecords;SearchForPictures(escherRecords, pictures);}}return pictures;} |
public virtual DescribeWorkspacesConnectionStatusResponse DescribeWorkspacesConnectionStatus(DescribeWorkspacesConnectionStatusRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeWorkspacesConnectionStatusRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeWorkspacesConnectionStatusResponseUnmarshaller.Instance;return Invoke<DescribeWorkspacesConnectionStatusResponse>(request, options);} |
public override string ToString(){return Slice.ToString() + ":" + DocsEnum;} |
public InvokeServiceAsyncRequest(): base("industry-brain", "2018-07-12", "InvokeServiceAsync"){Method = MethodType.POST;} |
public AuthorizeSecurityGroupIngressRequest(string groupName, List<IpPermission> ipPermissions){_groupName = groupName;_ipPermissions = ipPermissions;} |
public static byte[] ReadData(Stream stream, String section ){try{StringBuilder sectionText = new StringBuilder();bool inSection = false;int c = stream.ReadByte();while ( c != -1 ){switch ( c ){case '[':inSection = true;break;case '\n':case '\r':inSection = false;sectionText = new StringBuilder();break;case ']':inSection = false;if (sectionText.ToString().Equals(section)){return ReadData(stream, '[');}sectionText = new StringBuilder();break;default:if ( inSection ) sectionText.Append( (char) c );break;}c = stream.ReadByte();}}finally{stream.Close();}throw new IOException( "Section '" + section + "' not found" );} |
public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval numberVE){int number;try{number = OperandResolver.CoerceValueToInt(numberVE);}catch (EvaluationException){return ErrorEval.VALUE_INVALID;}if (number < 0){return ErrorEval.NUM_ERROR;}return new NumberEval(factorial(number).LongValue());} |
public LexerActionExecutor getLexerActionExecutor(){return lexerActionExecutor;} |
public virtual EnableUserResponse EnableUser(EnableUserRequest request){var options = new InvokeOptions();options.RequestMarshaller = EnableUserRequestMarshaller.Instance;options.ResponseUnmarshaller = EnableUserResponseUnmarshaller.Instance;return Invoke<EnableUserResponse>(request, options);} |
public void FillSlice(BytesRef b, long start, int length){Debug.Assert(length >= 0, "length=" + length);Debug.Assert(length <= blockSize + 1, "length=" + length);b.Length = length;if (length == 0){return;}var index = (int)(start >> blockBits);var offset = (int)(start & blockMask);if (blockSize - offset >= length){b.Bytes = blocks[index];b.Offset = offset;}else{b.Bytes = new byte[length];b.Offset = 0;Array.Copy(blocks[index], offset, b.Bytes, 0, blockSize - offset);Array.Copy(blocks[1 + index], 0, b.Bytes, blockSize - offset, length - (blockSize - offset));}} |
public virtual DescribeJournalS3ExportResponse DescribeJournalS3Export(DescribeJournalS3ExportRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeJournalS3ExportRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeJournalS3ExportResponseUnmarshaller.Instance;return Invoke<DescribeJournalS3ExportResponse>(request, options);} |
public void SetCoordinates(int x1, int y1, int x2, int y2){_spgrRecord.RectY1 = (y1);_spgrRecord.RectY2 = (y2);_spgrRecord.RectX1 = (x1);_spgrRecord.RectX2 = (x2);} |
public virtual DescribeTagsResponse DescribeTags(DescribeTagsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeTagsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeTagsResponseUnmarshaller.Instance;return Invoke<DescribeTagsResponse>(request, options);} |
public override int DoLogic(){return 1;} |
public virtual DeleteCustomerGatewayResponse DeleteCustomerGateway(DeleteCustomerGatewayRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteCustomerGatewayRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteCustomerGatewayResponseUnmarshaller.Instance;return Invoke<DeleteCustomerGatewayResponse>(request, options);} |
public static IDictionary NewContext(IndexSearcher searcher){return new Hashtable(IdentityEqualityComparer<object>.Default){["searcher"] = searcher};} |
public NameRecord GetSpecificBuiltinRecord(byte builtInCode, int sheetNumber){IEnumerator<NameRecord> iterator = _definedNames.GetEnumerator();while (iterator.MoveNext()){NameRecord record = iterator.Current;if (record.BuiltInName == builtInCode && record.SheetNumber == sheetNumber){return record;}}return null;} |
public virtual double readDouble(){throw new System.NotImplementedException();} |
public override void write(byte[] buffer, int offset, int count){throw new System.NotImplementedException();} |
public override TokenStream Create(TokenStream input){return new PersianNormalizationFilter(input);} |
public SpanishLightStemFilterFactory(IDictionary<string, string> args) : base(args){if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}} |
public SmallDocSet(int size){intSet = new SentinelInt32Set(size, -1);} |
public RawCharSequence(byte[] buf, int start, int end){buffer = buf;startPtr = start;endPtr = end;} |
public virtual GetCustomVerificationEmailTemplateResponse GetCustomVerificationEmailTemplate(GetCustomVerificationEmailTemplateRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetCustomVerificationEmailTemplateRequestMarshaller.Instance;options.ResponseUnmarshaller = GetCustomVerificationEmailTemplateResponseUnmarshaller.Instance;return Invoke<GetCustomVerificationEmailTemplateResponse>(request, options);} |
public SendMessageBatchRequest(string queueUrl, List<SendMessageBatchRequestEntry> entries){_queueUrl = queueUrl;_entries = entries;} |
public void WriteInt(int v){WriteContinueIfRequired(4);_ulrOutput.WriteInt(v);} |
public virtual DescribeDataSourcesResponse DescribeDataSources(DescribeDataSourcesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeDataSourcesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeDataSourcesResponseUnmarshaller.Instance;return Invoke<DescribeDataSourcesResponse>(request, options);} |
public virtual ListRoomsResponse ListRooms(ListRoomsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListRoomsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListRoomsResponseUnmarshaller.Instance;return Invoke<ListRoomsResponse>(request, options);} |
public virtual char getConversion(){return c;} |
public override bool Equals(object other){var o = (FieldAndTerm)other;return o.Field.Equals(Field, StringComparison.Ordinal) && Term.BytesEquals(o.Term);} |
public virtual CreateConfigurationSetEventDestinationResponse CreateConfigurationSetEventDestination(CreateConfigurationSetEventDestinationRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateConfigurationSetEventDestinationRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateConfigurationSetEventDestinationResponseUnmarshaller.Instance;return Invoke<CreateConfigurationSetEventDestinationResponse>(request, options);} |
public Ole10Native(String label, String filename, String command, byte[] data){Label=(label);FileName=(filename);Command=(command);DataBuffer=(data);mode = EncodingMode.parsed;} |
public override string ToString(){StringBuilder sb = new StringBuilder();if (fetchResult != null){sb.Append(fetchResult.ToString());}else{sb.Append("No fetch result");}sb.Append("\n");if (mergeResult != null){sb.Append(mergeResult.ToString());}else{if (rebaseResult != null){sb.Append(rebaseResult.ToString());}else{sb.Append("No update result");}}return sb.ToString();} |
public static ICell CreateCell(IRow row, int column, String value){return CreateCell(row, column, value, null);} |
public override TokenStream Create(TokenStream input){return new HindiNormalizationFilter(input);} |
public virtual DescribeAddressesResponse DescribeAddresses(){return DescribeAddresses(new DescribeAddressesRequest());} |
public SimpleQQParser(string[] qqNames, string indexField){this.qqNames = qqNames;this.indexField = indexField;} |
public override void Dispatch(RefsChangedListener listener){listener.OnRefsChanged(this);} |
public SnowballFilter(TokenStream @in, string name): base(@in){try{string className = typeof(SnowballProgram).Namespace + ".Ext." +name + "Stemmer, " + this.GetType().GetTypeInfo().Assembly.GetName().Name;Type stemClass = Type.GetType(className);stemmer = (SnowballProgram)Activator.CreateInstance(stemClass);}catch (Exception e){}} |
public virtual UpgradeAppliedSchemaResponse UpgradeAppliedSchema(UpgradeAppliedSchemaRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpgradeAppliedSchemaRequestMarshaller.Instance;options.ResponseUnmarshaller = UpgradeAppliedSchemaResponseUnmarshaller.Instance;return Invoke<UpgradeAppliedSchemaResponse>(request, options);} |
public string getParent(){int length_1 = path.Length;int firstInPath = 0;if (separatorChar == '\\' && length_1 > 2 && path[1] == ':'){firstInPath = 2;}int index = path.LastIndexOf(separatorChar);if (index == -1 && firstInPath > 0){index = 2;}if (index == -1 || path[length_1 - 1] == separatorChar){return null;}if (path.IndexOf(separatorChar) == index && path[firstInPath] == separatorChar){return Sharpen.StringHelper.Substring(path, 0, index + 1);}return Sharpen.StringHelper.Substring(path, 0, index);} |
public BufferedChecksumIndexInput(IndexInput main): base("BufferedChecksumIndexInput(" + main + ")"){this.main = main;this.digest = new BufferedChecksum(new CRC32());} |
public void Remove(RevFlagSet set){flags &= ~set.mask;} |
public override bool Equals(object obj){if (this == obj){return true;}if (obj == null){return false;}if (this.GetType() != obj.GetType()){return false;}return true;} |
public virtual GetFaceSearchResponse GetFaceSearch(GetFaceSearchRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetFaceSearchRequestMarshaller.Instance;options.ResponseUnmarshaller = GetFaceSearchResponseUnmarshaller.Instance;return Invoke<GetFaceSearchResponse>(request, options);} |
public virtual DescribeUserStackAssociationsResponse DescribeUserStackAssociations(DescribeUserStackAssociationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeUserStackAssociationsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeUserStackAssociationsResponseUnmarshaller.Instance;return Invoke<DescribeUserStackAssociationsResponse>(request, options);} |
public override void close(){throw new System.NotImplementedException();} |
public virtual CreateBranchCommand BranchCreate(){return new CreateBranchCommand(repo);} |
public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(rt);out1.WriteShort(grbitFrt);out1.WriteShort(wOffset);out1.WriteShort(at);out1.WriteShort(grbit);if (unused != null)out1.WriteShort((short)unused);} |
public java.lang.StringBuilder insert(int offset, object obj){insert0(offset, obj == null ? "null" : obj.ToString());return this;} |
public virtual int Next(){int res = child;if (child != TaxonomyReader.INVALID_ORDINAL){child = siblings[child];}return res;} |
public virtual DeleteStackResponse DeleteStack(DeleteStackRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteStackRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteStackResponseUnmarshaller.Instance;return Invoke<DeleteStackResponse>(request, options);} |
public NorwegianMinimalStemFilterFactory(IDictionary<string, string> args): base(args){string variant = Get(args, "variant");if (variant == null || "nb".Equals(variant, StringComparison.Ordinal)){flags = NorwegianStandard.BOKMAAL;}else if ("nn".Equals(variant, StringComparison.Ordinal)){flags = NorwegianStandard.NYNORSK;}else if ("no".Equals(variant, StringComparison.Ordinal)){flags = NorwegianStandard.BOKMAAL | NorwegianStandard.NYNORSK;}else{throw new System.ArgumentException("invalid variant: " + variant);}if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}} |
public override string ToString(){return "Z(" + z + ")";} |
public static Record Create(RecordInputStream in1){switch (in1.Remaining){case 0:return Instance;case 2:return new InterfaceHdrRecord(in1);}throw new RecordFormatException("Invalid record data size: " + in1.Remaining);} |
public virtual int GetCellsPnt(){int size = 0;foreach (Row row in rows)size += row.GetCellsPnt();return size;} |
public override bool Equals(object obj){if (obj == this){return true;}else{if (!(obj is Antlr4.Runtime.Atn.LexerActionExecutor)){return false;}}Antlr4.Runtime.Atn.LexerActionExecutor other = (Antlr4.Runtime.Atn.LexerActionExecutor)obj;return hashCode == other.hashCode && Arrays.Equals(lexerActions, other.lexerActions);} |
public static Analyzer CreateAnalyzer(string className){Type clazz = Type.GetType(className);try{return (Analyzer)Activator.CreateInstance(clazz,LuceneVersion.LUCENE_CURRENT);}catch (MissingMethodException ){return (Analyzer)Activator.CreateInstance(clazz);}} |
public virtual GetSegmentVersionsResponse GetSegmentVersions(GetSegmentVersionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetSegmentVersionsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetSegmentVersionsResponseUnmarshaller.Instance;return Invoke<GetSegmentVersionsResponse>(request, options);} |
public virtual int GetDeltaBaseCacheLimit(){return deltaBaseCacheLimit;} |
public GroupMerger(Sort groupSort){groupComp = new GroupComparer<T>(groupSort);queue = new JCG.SortedSet<MergedGroup<T>>(groupComp);groupsSeen = new JCG.Dictionary<T, MergedGroup<T>>();} |
public override long Get(int index){int o = (int)((uint)index >> 4);int b = index & 15;int shift = b << 2;return ((long)((ulong)blocks[o] >> shift)) & 15L;} |
public FileIdCluster(int drawingGroupId, int numShapeIdsUsed){this.field_1_drawingGroupId = drawingGroupId;this.field_2_numShapeIdsUsed = numShapeIdsUsed;} |
public override object Clone(){CharArrayIterator clone = new CharArrayIterator();clone.SetText(array, start, length);clone.index = index;return clone;} |
public virtual DescribeReservedNodesResponse DescribeReservedNodes(DescribeReservedNodesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeReservedNodesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeReservedNodesResponseUnmarshaller.Instance;return Invoke<DescribeReservedNodesResponse>(request, options);} |
public ObjectWalk(Repository repo, int depth) : base(repo){this.depth = depth;this.UNSHALLOW = NewFlag("UNSHALLOW");this.REINTERESTING = NewFlag("REINTERESTING");} |
public virtual bool IsRefLogDisabled(){return refLogMessage == null;} |
public virtual SetLoadBalancerListenerSSLCertificateResponse SetLoadBalancerListenerSSLCertificate(SetLoadBalancerListenerSSLCertificateRequest request){var options = new InvokeOptions();options.RequestMarshaller = SetLoadBalancerListenerSSLCertificateRequestMarshaller.Instance;options.ResponseUnmarshaller = SetLoadBalancerListenerSSLCertificateResponseUnmarshaller.Instance;return Invoke<SetLoadBalancerListenerSSLCertificateResponse>(request, options);} |
public virtual DescribeRulesPackagesResponse DescribeRulesPackages(DescribeRulesPackagesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeRulesPackagesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeRulesPackagesResponseUnmarshaller.Instance;return Invoke<DescribeRulesPackagesResponse>(request, options);} |
public virtual byte readByte(){throw new System.NotImplementedException();} |
public virtual string getConversion(){return s;} |
public StandardSyntaxParserTokenManager(ICharStream stream, int lexState): this(stream){SwitchTo(lexState);} |
public override TokenStream Create(TokenStream input){return new TurkishLowerCaseFilter(input);} |
public override string ToString(){return "B";} |
public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0){return Evaluate(srcRowIndex, srcColumnIndex, arg0, DEFAULT_ARG1);} |
public override void DoubleField(FieldInfo fieldInfo, double value){doc.Add(new StoredField(fieldInfo.Name, value));} |
public GetDistributionConfigRequest(string id){_id = id;} |
public virtual DescribeCacheSecurityGroupsResponse DescribeCacheSecurityGroups(){return DescribeCacheSecurityGroups(new DescribeCacheSecurityGroupsRequest());} |
public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0){double d0;try{ValueEval ve = OperandResolver.GetSingleValue(arg0, srcRowIndex, srcColumnIndex);d0 = OperandResolver.CoerceValueToDouble(ve);}catch (EvaluationException e){return e.GetErrorEval();}if (d0 == 0.0){ return NumberEval.ZERO;}return new NumberEval(d0 / 100);} |
public bool ContainsCell(int rowIndex, int columnIndex){if (columnIndex < _firstColumnIndex){return false;}if (columnIndex > _lastColumnIndex){return false;}if (rowIndex < _firstRowIndex){return false;}if (rowIndex > _lastRowIndex){return false;}return true;} |
public virtual GetSegmentVersionResponse GetSegmentVersion(GetSegmentVersionRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetSegmentVersionRequestMarshaller.Instance;options.ResponseUnmarshaller = GetSegmentVersionResponseUnmarshaller.Instance;return Invoke<GetSegmentVersionResponse>(request, options);} |
public sealed override java.nio.FloatBuffer put(float[] src, int srcOffset, int byteCount){throw new java.nio.ReadOnlyBufferException();} |
public java.nio.IntBuffer put(int[] src){return put(src, 0, src.Length);} |
public SearchFaceRequest(): base("LinkFace", "2018-07-20", "SearchFace"){Protocol = ProtocolType.HTTPS;Method = MethodType.POST;} |
public virtual TagStreamResponse TagStream(TagStreamRequest request){var options = new InvokeOptions();options.RequestMarshaller = TagStreamRequestMarshaller.Instance;options.ResponseUnmarshaller = TagStreamResponseUnmarshaller.Instance;return Invoke<TagStreamResponse>(request, options);} |
public string GetAccessKeyId(){return AccessKeyId;} |
public ET previous(){if (expectedModCount == list.modCount){if (link != list.voidLink){lastLink = link;link = link.previous;pos--;return lastLink.data;}throw new java.util.NoSuchElementException();}throw new java.util.ConcurrentModificationException();} |
public virtual CreateLBCookieStickinessPolicyResponse CreateLBCookieStickinessPolicy(CreateLBCookieStickinessPolicyRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateLBCookieStickinessPolicyRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateLBCookieStickinessPolicyResponseUnmarshaller.Instance;return Invoke<CreateLBCookieStickinessPolicyResponse>(request, options);} |
public virtual CreateDataSourceFromRDSResponse CreateDataSourceFromRDS(CreateDataSourceFromRDSRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDataSourceFromRDSRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDataSourceFromRDSResponseUnmarshaller.Instance;return Invoke<CreateDataSourceFromRDSResponse>(request, options);} |
public virtual CreateReceiptFilterResponse CreateReceiptFilter(CreateReceiptFilterRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateReceiptFilterRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateReceiptFilterResponseUnmarshaller.Instance;return Invoke<CreateReceiptFilterResponse>(request, options);} |
public sealed override byte get(int index){checkIndex(index);return backingArray[offset + index];} |
public virtual NGit.Api.CherryPickCommand Include(Ref commit){CheckCallable();commits.AddItem(commit);return this;} |
public ATNDeserializationOptions(){this.verifyATN = true;this.generateRuleBypassTransitions = false;this.optimize = true;} |
public virtual ListIdentityPoliciesResponse ListIdentityPolicies(ListIdentityPoliciesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListIdentityPoliciesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListIdentityPoliciesResponseUnmarshaller.Instance;return Invoke<ListIdentityPoliciesResponse>(request, options);} |
public static bool IsValidCode(int errorCode){foreach (FormulaError error in _values){if (error.Code == errorCode) return true;if (error.LongCode == errorCode) return true;}return false;} |
public RKRecord(RecordInputStream in1): base(in1){field_4_rk_number = in1.ReadInt();} |