text
stringlengths 27
1.4k
|
|---|
public DescribeLaunchTemplatesResult describeLaunchTemplates(DescribeLaunchTemplatesRequest request) {request = beforeClientExecution(request);return executeDescribeLaunchTemplates(request);}
|
public SynonymFilterFactory(Map<String,String> args) {super(args);ignoreCase = getBoolean(args, "ignoreCase", false);synonyms = require(args, "synonyms");format = get(args, "format");expand = getBoolean(args, "expand", true);analyzerName = get(args, "analyzer");tokenizerFactory = get(args, "tokenizerFactory");if (analyzerName != null && tokenizerFactory != null) {throw new IllegalArgumentException("Analyzer and TokenizerFactory can't be specified both: " +analyzerName + " and " + tokenizerFactory);}if (tokenizerFactory != null) {tokArgs.put("luceneMatchVersion", getLuceneMatchVersion().toString());for (Iterator<String> itr = args.keySet().iterator(); itr.hasNext();) {String key = itr.next();tokArgs.put(key.replaceAll("^tokenizerFactory\\.",""), args.get(key));itr.remove();}}if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}
|
public void removePrintArea(int sheetIndex) {getWorkbook().removeBuiltinRecord(NameRecord.BUILTIN_PRINT_AREA, sheetIndex+1);}
|
public ModifyTrafficMirrorFilterNetworkServicesResult modifyTrafficMirrorFilterNetworkServices(ModifyTrafficMirrorFilterNetworkServicesRequest request) {request = beforeClientExecution(request);return executeModifyTrafficMirrorFilterNetworkServices(request);}
|
public ValueEval evaluate(ValueEval[] args, OperationEvaluationContext ec) {if (args.length == 2) {return evaluate(ec.getRowIndex(), ec.getColumnIndex(), args[0], args[1]);}return ErrorEval.VALUE_INVALID;}
|
public DeltaRecord(double maxChange) {field_1_max_change = maxChange;}
|
public UpdateDomainEntryResult updateDomainEntry(UpdateDomainEntryRequest request) {request = beforeClientExecution(request);return executeUpdateDomainEntry(request);}
|
public SegmentCommitInfo clone() {SegmentCommitInfo other = new SegmentCommitInfo(info, delCount, softDelCount, delGen, fieldInfosGen, docValuesGen);other.nextWriteDelGen = nextWriteDelGen;other.nextWriteFieldInfosGen = nextWriteFieldInfosGen;other.nextWriteDocValuesGen = nextWriteDocValuesGen;for (Entry<Integer,Set<String>> e : dvUpdatesFiles.entrySet()) {other.dvUpdatesFiles.put(e.getKey(), new HashSet<>(e.getValue()));}other.fieldInfosFiles.addAll(fieldInfosFiles);return other;}
|
public String putAttribute(String key, String value) {HashMap<String, String> newMap = new HashMap<>(attributes);String oldValue = newMap.put(key, value);attributes = Collections.unmodifiableMap(newMap);return oldValue;}
|
public void write(int oneChar) {buf.append((char) oneChar);}
|
public String toString(){StringBuilder buffer = new StringBuilder();buffer.append("[WRITEPROTECT]\n");buffer.append("[/WRITEPROTECT]\n");return buffer.toString();}
|
public EvaluationSheet getSheet(int sheetIndex) {return new HSSFEvaluationSheet(_uBook.getSheetAt(sheetIndex));}
|
public void removeSlideCount() {remove1stProperty(PropertyIDMap.PID_SLIDECOUNT);}
|
public DescribeFlowDefinitionResult describeFlowDefinition(DescribeFlowDefinitionRequest request) {request = beforeClientExecution(request);return executeDescribeFlowDefinition(request);}
|
public void set(int index) {intSet.put(index);if (index > maxInt)maxInt = index;}
|
public boolean equals(Object other) {if (other == null) {return false;}if (other instanceof CharsRef) {return this.charsEquals((CharsRef) other);}return false;}
|
public StopFilterFactory(Map<String,String> args) {super(args);stopWordFiles = get(args, "words");format = get(args, "format", (null == stopWordFiles ? null : FORMAT_WORDSET));ignoreCase = getBoolean(args, "ignoreCase", false);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}
|
public void addState(ATNState state) {if (state != null) {state.atn = this;state.stateNumber = states.size();}states.add(state);}
|
public String batchUrl() {return this.batchUrl;}
|
public ParseException generateParseException() {jj_expentries.clear();boolean[] la1tokens = new boolean[33];if (jj_kind >= 0) {la1tokens[jj_kind] = true;jj_kind = -1;}for (int i = 0; i < 25; i++) {if (jj_la1[i] == jj_gen) {for (int j = 0; j < 32; j++) {if ((jj_la1_0[i] & (1<<j)) != 0) {la1tokens[j] = true;}if ((jj_la1_1[i] & (1<<j)) != 0) {la1tokens[32+j] = true;}}}}for (int i = 0; i < 33; i++) {if (la1tokens[i]) {jj_expentry = new int[1];jj_expentry[0] = i;jj_expentries.add(jj_expentry);}}jj_endpos = 0;jj_rescan_token();jj_add_error_token(0, 0);int[][] exptokseq = new int[jj_expentries.size()][];for (int i = 0; i < jj_expentries.size(); i++) {exptokseq[i] = jj_expentries.get(i);}return new ParseException(token, exptokseq, tokenImage);}
|
@Override public Iterator<K> iterator() {return new KeyIterator();}
|
public DoubleList() {_array = new double[8];_count = 0;}
|
public AddNoteCommand setMessage(String message) {checkCallable();this.message = message;return this;}
|
public SerializationHandleMap() {this.size = 0;this.threshold = 21; int arraySize = (int) (((long) threshold * 10000) / LOAD_FACTOR);resizeArrays(arraySize);}
|
public PagedBytes(int blockBits) {assert blockBits > 0 && blockBits <= 31 : blockBits;this.blockSize = 1 << blockBits;this.blockBits = blockBits;blockMask = blockSize-1;upto = blockSize;bytesUsedPerBlock = RamUsageEstimator.alignObjectSize(blockSize + RamUsageEstimator.NUM_BYTES_ARRAY_HEADER);numBlocks = 0;}
|
public IncreaseReplicationFactorResult increaseReplicationFactor(IncreaseReplicationFactorRequest request) {request = beforeClientExecution(request);return executeIncreaseReplicationFactor(request);}
|
public UpdateRuntimeConfigurationResult updateRuntimeConfiguration(UpdateRuntimeConfigurationRequest request) {request = beforeClientExecution(request);return executeUpdateRuntimeConfiguration(request);}
|
public char getChar(Map<String,String> args, String name, char defaultValue) {String s = args.remove(name);if (s == null) {return defaultValue;} else {if (s.length() != 1) {throw new IllegalArgumentException(name + " should be a char. \"" + s + "\" is invalid");} else {return s.charAt(0);}}}
|
public void notifyListeners(LexerNoViableAltException e) {String text = _input.getText(Interval.of(_tokenStartCharIndex, _input.index()));String msg = "token recognition error at: '"+ getErrorDisplay(text) + "'";ANTLRErrorListener listener = getErrorListenerDispatch();listener.syntaxError(this, null, _tokenStartLine, _tokenStartCharPositionInLine, msg, e);}
|
public void writeLong(long v) {writeContinueIfRequired(8);_ulrOutput.writeLong(v);}
|
public ChangeMessageVisibilityBatchRequest(String queueUrl, java.util.List<ChangeMessageVisibilityBatchRequestEntry> entries) {setQueueUrl(queueUrl);setEntries(entries);}
|
public GetExportJobResult getExportJob(GetExportJobRequest request) {request = beforeClientExecution(request);return executeGetExportJob(request);}
|
public AddRoleToDBInstanceResult addRoleToDBInstance(AddRoleToDBInstanceRequest request) {request = beforeClientExecution(request);return executeAddRoleToDBInstance(request);}
|
public DeregisterInstancesFromLoadBalancerResult deregisterInstancesFromLoadBalancer(DeregisterInstancesFromLoadBalancerRequest request) {request = beforeClientExecution(request);return executeDeregisterInstancesFromLoadBalancer(request);}
|
public synchronized StringBuffer insert(int index, char ch) {insert0(index, ch);return this;}
|
public DownloadDBLogFilePortionResult downloadDBLogFilePortion(DownloadDBLogFilePortionRequest request) {request = beforeClientExecution(request);return executeDownloadDBLogFilePortion(request);}
|
public GetStaticIpResult getStaticIp(GetStaticIpRequest request) {request = beforeClientExecution(request);return executeGetStaticIp(request);}
|
public CreateUsagePlanResult createUsagePlan(CreateUsagePlanRequest request) {request = beforeClientExecution(request);return executeCreateUsagePlan(request);}
|
public BlameResult call() throws GitAPIException {checkCallable();try (BlameGenerator gen = new BlameGenerator(repo, path)) {if (diffAlgorithm != null)gen.setDiffAlgorithm(diffAlgorithm);if (textComparator != null)gen.setTextComparator(textComparator);if (followFileRenames != null)gen.setFollowFileRenames(followFileRenames.booleanValue());if (reverseEndCommits != null)gen.reverse(startCommit, reverseEndCommits);else if (startCommit != null)gen.push(null, startCommit);else {gen.prepareHead();}return gen.computeBlameResult();} catch (IOException e) {throw new JGitInternalException(e.getMessage(), e);}}
|
public SearchTransitGatewayMulticastGroupsResult searchTransitGatewayMulticastGroups(SearchTransitGatewayMulticastGroupsRequest request) {request = beforeClientExecution(request);return executeSearchTransitGatewayMulticastGroups(request);}
|
public LinearOffsetRange normaliseAndTranslate(int translationAmount) {if (_length > 0) {if(translationAmount == 0) {return this;}return new LinearOffsetRange(translationAmount + _offset, _length);}return new LinearOffsetRange(translationAmount + _offset + _length + 1, -_length);}
|
public boolean isInvoke(char c) {return invokeMap[characterCategoryMap[c]];}
|
public int getSize() {return size;}
|
public int read() throws IOException {if (buf == null) {throw new IOException();}if (pos < buf.length) {return (buf[pos++] & 0xFF);}return in.read();}
|
public int mark() {return 0;}
|
public SearchPhotosRequest() {super("CloudPhoto", "2017-07-11", "SearchPhotos", "cloudphoto");setProtocol(ProtocolType.HTTPS);}
|
public void copyFrom(TermState other) {assert other instanceof OrdTermState : "can not copy from " + other.getClass().getName();this.ord = ((OrdTermState) other).ord;}
|
public AnalyzeDocumentResult analyzeDocument(AnalyzeDocumentRequest request) {request = beforeClientExecution(request);return executeAnalyzeDocument(request);}
|
public int calcExtSSTRecordSize() {return ExtSSTRecord.getRecordSizeForStrings(field_3_strings.size());}
|
public static FormulaShifter createForSheetShift(int srcSheetIndex, int dstSheetIndex) {return new FormulaShifter(srcSheetIndex, dstSheetIndex);}
|
public void setRule(int idx, ConditionalFormattingRule cfRule){setRule(idx, (HSSFConditionalFormattingRule)cfRule);}
|
public SelectionRecord(RecordInputStream in) {field_1_pane = in.readByte();field_2_row_active_cell = in.readUShort();field_3_col_active_cell = in.readShort();field_4_active_cell_ref_index = in.readShort();int field_5_num_refs = in.readUShort();field_6_refs = new CellRangeAddress8Bit[field_5_num_refs];for (int i = 0; i < field_6_refs.length; i++) {field_6_refs[i] = new CellRangeAddress8Bit(in);}}
|
public void setNeedNewObjectIds(boolean b) {if (b)newObjectIds = new ObjectIdSubclassMap<>();elsenewObjectIds = null;}
|
public GetResolverRulePolicyResult getResolverRulePolicy(GetResolverRulePolicyRequest request) {request = beforeClientExecution(request);return executeGetResolverRulePolicy(request);}
|
public static DoubleBuffer wrap(double[] array) {return wrap(array, 0, array.length);}
|
public UnitsRecord clone() {return copy();}
|
public void readFully(byte[] buf, int off, int len) {try {checkEOF(_read(buf, off, len), len);} catch (IOException e) {throw new RuntimeException(e);}}
|
public DescribeInterconnectLoaResult describeInterconnectLoa(DescribeInterconnectLoaRequest request) {request = beforeClientExecution(request);return executeDescribeInterconnectLoa(request);}
|
public static ByteOrder nativeOrder() {return NATIVE_ORDER;}
|
public CalcModeRecord(RecordInputStream in) {field_1_calcmode = in.readShort();}
|
public void addParentId(AnyObjectId additionalParent) {if (parentIds.length == 0) {setParentId(additionalParent);} else {ObjectId[] newParents = new ObjectId[parentIds.length + 1];System.arraycopy(parentIds, 0, newParents, 0, parentIds.length);newParents[parentIds.length] = additionalParent.copy();parentIds = newParents;}}
|
public CreateAccessPointResult createAccessPoint(CreateAccessPointRequest request) {request = beforeClientExecution(request);return executeCreateAccessPoint(request);}
|
public DeleteLoadBalancerListenersResult deleteLoadBalancerListeners(DeleteLoadBalancerListenersRequest request) {request = beforeClientExecution(request);return executeDeleteLoadBalancerListeners(request);}
|
public DescribeOrderableClusterOptionsResult describeOrderableClusterOptions() {return describeOrderableClusterOptions(new DescribeOrderableClusterOptionsRequest());}
|
public void setDerefTags(boolean deref) {derefTags = deref;}
|
public DeactivateMFADeviceRequest(String userName, String serialNumber) {setUserName(userName);setSerialNumber(serialNumber);}
|
public boolean markSupported() {synchronized (lock) {return in.markSupported();}}
|
public static void createNewFile(File f) throws IOException {if (!f.createNewFile())throw new IOException(MessageFormat.format(JGitText.get().createNewFileFailed, f));}
|
public String getFieldAsString() {if (this.field == null)return null;else return this.field.toString();}
|
public void inform(ResourceLoader loader) throws IOException {String dicts[] = dictionaryFiles.split(",");InputStream affix = null;List<InputStream> dictionaries = new ArrayList<>();try {dictionaries = new ArrayList<>();for (String file : dicts) {dictionaries.add(loader.openResource(file));}affix = loader.openResource(affixFile);Path tempPath = Files.createTempDirectory(Dictionary.getDefaultTempDir(), "Hunspell");try (Directory tempDir = FSDirectory.open(tempPath)) {this.dictionary = new Dictionary(tempDir, "hunspell", affix, dictionaries, ignoreCase);} finally {IOUtils.rm(tempPath);}} catch (ParseException e) {throw new IOException("Unable to load hunspell data! [dictionary=" + dictionaries + ",affix=" + affixFile + "]", e);} finally {IOUtils.closeWhileHandlingException(affix);IOUtils.closeWhileHandlingException(dictionaries);}}
|
public DetectDocumentTextResult detectDocumentText(DetectDocumentTextRequest request) {request = beforeClientExecution(request);return executeDetectDocumentText(request);}
|
public DescribeCertificatesResult describeCertificates(DescribeCertificatesRequest request) {request = beforeClientExecution(request);return executeDescribeCertificates(request);}
|
public int getFormatCount() {return _formats.length;}
|
public GetOutcomesResult getOutcomes(GetOutcomesRequest request) {request = beforeClientExecution(request);return executeGetOutcomes(request);}
|
public Set<URIishField> getOptionalFields() {return Collections.emptySet();}
|
public BasicStats(String field, double boost) {this.field = field;this.boost = boost;}
|
public UpdateSecurityGroupRuleDescriptionsIngressResult updateSecurityGroupRuleDescriptionsIngress(UpdateSecurityGroupRuleDescriptionsIngressRequest request) {request = beforeClientExecution(request);return executeUpdateSecurityGroupRuleDescriptionsIngress(request);}
|
public long getOffset() {return position;}
|
public Collection<Ref> getAdvertisedRefs() {return Collections.unmodifiableCollection(advertisedRefs.values());}
|
public QueryParser(QueryParserTokenManager tm) {token_source = tm;token = new Token();jj_ntk = -1;jj_gen = 0;for (int i = 0; i < 10; i++) jj_la1[i] = -1;for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();}
|
public void setText(CharacterIterator newText) {start = newText.getBeginIndex();end = newText.getEndIndex();text = newText;current = start;}
|
public PutOutcomeResult putOutcome(PutOutcomeRequest request) {request = beforeClientExecution(request);return executePutOutcome(request);}
|
public UnescapedCharSequence(CharSequence text) {this.chars = new char[text.length()];this.wasEscaped = new boolean[text.length()];for (int i = 0; i < text.length(); i++) {this.chars[i] = text.charAt(i);this.wasEscaped[i] = false;}}
|
public DoubleBuffer put(double[] src, int srcOffset, int doubleCount) {byteBuffer.limit(limit * SizeOf.DOUBLE);byteBuffer.position(position * SizeOf.DOUBLE);if (byteBuffer instanceof ReadWriteDirectByteBuffer) {((ReadWriteDirectByteBuffer) byteBuffer).put(src, srcOffset, doubleCount);} else {((ReadWriteHeapByteBuffer) byteBuffer).put(src, srcOffset, doubleCount);}this.position += doubleCount;return this;}
|
public void remove() {throw new UnsupportedOperationException();}
|
public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[CHARTTITLEFORMAT]\n");buffer.append(" .format_runs = ").append(_formats.length).append("\n");for(int i=0; i<_formats.length; i++) {CTFormat ctf = _formats[i];buffer.append(" .char_offset= ").append(ctf.getOffset());buffer.append(",.fontidx= ").append(ctf.getFontIndex());buffer.append("\n");}buffer.append("[/CHARTTITLEFORMAT]\n");return buffer.toString();}
|
public StartDominantLanguageDetectionJobResult startDominantLanguageDetectionJob(StartDominantLanguageDetectionJobRequest request) {request = beforeClientExecution(request);return executeStartDominantLanguageDetectionJob(request);}
|
public static boolean hasNonConflictingAltSet(Collection<BitSet> altsets) {for (BitSet alts : altsets) {if ( alts.cardinality()==1 ) {return true;}}return false;}
|
public ByteBuffer putChar(int index, char value) {return putShort(index, (short) value);}
|
public DataValidationConstraint createTextLengthConstraint(int operatorType, String formula1, String formula2) {return DVConstraint.createNumericConstraint(ValidationType.TEXT_LENGTH, operatorType, formula1, formula2);}
|
public void writeShort(int v) {writeContinueIfRequired(2);_ulrOutput.writeShort(v);}
|
public final short getShort(int index) {checkIndex(index, SizeOf.SHORT);return Memory.peekShort(backingArray, offset + index, order);}
|
public static FuncPtg create(int functionIndex) {FunctionMetadata fm = FunctionMetadataRegistry.getFunctionByIndex(functionIndex);if(fm == null) {throw new RuntimeException("Invalid built-in function index (" + functionIndex + ")");}return new FuncPtg(functionIndex, fm);}
|
public String toString() {return "{"+ruleIndex+":"+predIndex+"}?";}
|
public ListDashboardsResult listDashboards(ListDashboardsRequest request) {request = beforeClientExecution(request);return executeListDashboards(request);}
|
public DeleteVoiceTemplateResult deleteVoiceTemplate(DeleteVoiceTemplateRequest request) {request = beforeClientExecution(request);return executeDeleteVoiceTemplate(request);}
|
public void addListenerForAllRecords(HSSFListener lsnr) {short[] rectypes = RecordFactory.getAllKnownRecordSIDs();for (short rectype : rectypes) {addListener(lsnr, rectype);}}
|
public DescribeLocalGatewayRouteTablesResult describeLocalGatewayRouteTables(DescribeLocalGatewayRouteTablesRequest request) {request = beforeClientExecution(request);return executeDescribeLocalGatewayRouteTables(request);}
|
public EnableDomainAutoRenewResult enableDomainAutoRenew(EnableDomainAutoRenewRequest request) {request = beforeClientExecution(request);return executeEnableDomainAutoRenew(request);}
|
public String toString() {StringBuilder result = new StringBuilder();result.append(type.toString());result.append('<');result.append(name);result.append(':');if (fieldsData != null) {result.append(fieldsData);}result.append('>');return result.toString();}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.