text
stringlengths 27
1.4k
|
---|
public ListEventsRequest() {super("CloudPhoto", "2017-07-11", "ListEvents", "cloudphoto");setProtocol(ProtocolType.HTTPS);} |
public String toString(){StringBuilder sb = new StringBuilder();sb.append("[LbsDropData]\n");sb.append(" ._wStyle: ").append(_wStyle).append('\n');sb.append(" ._cLine: ").append(_cLine).append('\n');sb.append(" ._dxMin: ").append(_dxMin).append('\n');sb.append(" ._str: ").append(_str).append('\n');if(_unused != null) {sb.append(" ._unused: ").append(_unused).append('\n');}sb.append("[/LbsDropData]\n");return sb.toString();} |
public String toString() {return "PackWriter.State[" + phase + ", memory=" + bytesUsed + "]";} |
public RemoteRefUpdate getRemoteUpdate(String refName) {return remoteUpdates.get(refName);} |
@Override public Iterator<E> iterator() {return listIterator(0);} |
public TerminateInstancesRequest(java.util.List<String> instanceIds) {setInstanceIds(instanceIds);} |
public CreateDataRepositoryTaskResult createDataRepositoryTask(CreateDataRepositoryTaskRequest request) {request = beforeClientExecution(request);return executeCreateDataRepositoryTask(request);} |
public void undeprecateActivityType(UndeprecateActivityTypeRequest request) {request = beforeClientExecution(request);executeUndeprecateActivityType(request);} |
public EndRecord clone() {return copy();} |
public ListLabelingJobsResult listLabelingJobs(ListLabelingJobsRequest request) {request = beforeClientExecution(request);return executeListLabelingJobs(request);} |
public void setTag(String shortName) {this.tag = shortName;} |
public String getNameText(NamePtg namePtg) {return _iBook.getNameRecord(namePtg.getIndex()).getNameText();} |
public Builder() {slop = 0;terms = new ArrayList<>();positions = new ArrayList<>();} |
public SpanPositionRangeQuery(SpanQuery match, int start, int end) {super(match);this.start = start;this.end = end;} |
public CreateDBProxyResult createDBProxy(CreateDBProxyRequest request) {request = beforeClientExecution(request);return executeCreateDBProxy(request);} |
public boolean equals( Object o ) {return o instanceof LovinsStemmer;} |
public ReplicationGroup modifyReplicationGroupShardConfiguration(ModifyReplicationGroupShardConfigurationRequest request) {request = beforeClientExecution(request);return executeModifyReplicationGroupShardConfiguration(request);} |
public DeleteFacesResult deleteFaces(DeleteFacesRequest request) {request = beforeClientExecution(request);return executeDeleteFaces(request);} |
public SSTSerializer( IntMapper<UnicodeString> strings, int numStrings, int numUniqueStrings ){this.strings = strings;_numStrings = numStrings;_numUniqueStrings = numUniqueStrings;int infoRecs = ExtSSTRecord.getNumberOfInfoRecsForStrings(strings.size());this.bucketAbsoluteOffsets = new int[infoRecs];this.bucketRelativeOffsets = new int[infoRecs];} |
public URISyntaxException(String input, String reason, int index) {super(reason);if (input == null || reason == null) {throw new NullPointerException();}if (index < -1) {throw new IllegalArgumentException();}this.input = input;this.index = index;} |
public String toString() {return "AssociationFacetField(dim=" + dim + " path=" + Arrays.toString(path) + " bytes=" + assoc + ")";} |
public boolean requiresCommitBody() {return false;} |
public static AttrPtg getSumSingle() {return new AttrPtg(optiSum.set(0), 0, null, -1);} |
public GetModelsResult getModels(GetModelsRequest request) {request = beforeClientExecution(request);return executeGetModels(request);} |
public Storage getStorage() {return Storage.LOOSE;} |
public ForwardBytesReader(byte[] bytes) {this.bytes = bytes;} |
public long ramBytesUsed() {return fst == null ? 0 : fst.ramBytesUsed();} |
public ShortBuffer asReadOnlyBuffer() {return ReadOnlyShortArrayBuffer.copy(this, mark);} |
public ListFiltersResult listFilters(ListFiltersRequest request) {request = beforeClientExecution(request);return executeListFilters(request);} |
public HSSFRichTextString(String string) {if (string == null) {_string = new UnicodeString("");} else {_string = new UnicodeString(string);}} |
public void readBytes(byte[] b, int offset, int len) {System.arraycopy(bytes, pos, b, offset, len);pos += len;} |
public UpdateDomainNameserversResult updateDomainNameservers(UpdateDomainNameserversRequest request) {request = beforeClientExecution(request);return executeUpdateDomainNameservers(request);} |
public ListWorkersWithQualificationTypeResult listWorkersWithQualificationType(ListWorkersWithQualificationTypeRequest request) {request = beforeClientExecution(request);return executeListWorkersWithQualificationType(request);} |
public ResetCacheParameterGroupRequest(String cacheParameterGroupName, java.util.List<ParameterNameValue> parameterNameValues) {setCacheParameterGroupName(cacheParameterGroupName);setParameterNameValues(parameterNameValues);} |
public EscherPropertyMetaData( String description ){this.description = description;} |
public UserInputQueryBuilder(String defaultField, Analyzer analyzer) {this.analyzer = analyzer;this.defaultField = defaultField;} |
public final CharsetDecoder replaceWith(String replacement) {if (replacement == null) {throw new IllegalArgumentException("replacement == null");}if (replacement.isEmpty()) {throw new IllegalArgumentException("replacement.isEmpty()");}if (replacement.length() > maxCharsPerByte()) {throw new IllegalArgumentException("replacement length > maxCharsPerByte: " +replacement.length() + " > " + maxCharsPerByte());}replacementChars = replacement;implReplaceWith(replacement);return this;} |
public void reset() throws IOException {throw new IOException();} |
public UpdateFileSystemResult updateFileSystem(UpdateFileSystemRequest request) {request = beforeClientExecution(request);return executeUpdateFileSystem(request);} |
public int readUByte(){return _in.readUByte();} |
public String toString() {return "[WSBOOL]\n" +" .wsbool1 = " + Integer.toHexString(getWSBool1()) + "\n" +" .autobreaks = " + getAutobreaks() + "\n" +" .dialog = " + getDialog() + "\n" +" .rowsumsbelw= " + getRowSumsBelow() + "\n" +" .rowsumsrigt= " + getRowSumsRight() + "\n" +" .wsbool2 = " + Integer.toHexString(getWSBool2()) + "\n" +" .fittopage = " + getFitToPage() + "\n" +" .displayguts= " + getDisplayGuts() + "\n" +" .alternateex= " + getAlternateExpression() + "\n" +" .alternatefo= " + getAlternateFormula() + "\n" +"[/WSBOOL]\n";} |
public PutGatewayResponseResult putGatewayResponse(PutGatewayResponseRequest request) {request = beforeClientExecution(request);return executePutGatewayResponse(request);} |
public Term[] getStopWords() {List<Term> allStopWords = new ArrayList<>();for (Map.Entry<String, Set<String>> entry : stopWordsPerField.entrySet()) {String field = entry.getKey();Set<String> stopWords = entry.getValue();for (String text : stopWords) {allStopWords.add(new Term(field, text));}}return allStopWords.toArray(new Term[allStopWords.size()]);} |
public boolean isUpdate() {return update;} |
public static InternalSheet createSheet(RecordStream rs) {return new InternalSheet(rs);} |
public final IntBuffer get(int[] dst, int dstOffset, int intCount) {if (intCount > remaining()) {throw new BufferUnderflowException();}System.arraycopy(backingArray, offset + position, dst, dstOffset, intCount);position += intCount;return this;} |
public DisassociateVpcCidrBlockResult disassociateVpcCidrBlock(DisassociateVpcCidrBlockRequest request) {request = beforeClientExecution(request);return executeDisassociateVpcCidrBlock(request);} |
public void add(TaskStats stat2) {numRuns += stat2.getNumRuns();elapsed += stat2.getElapsed();maxTotMem += stat2.getMaxTotMem();maxUsedMem += stat2.getMaxUsedMem();count += stat2.getCount();if (round != stat2.round) {round = -1; }if (countsByTime != null && stat2.countsByTime != null) {if (countsByTimeStepMSec != stat2.countsByTimeStepMSec) {throw new IllegalStateException("different by-time msec step");}if (countsByTime.length != stat2.countsByTime.length) {throw new IllegalStateException("different by-time msec count");}for(int i=0;i<stat2.countsByTime.length;i++) {countsByTime[i] += stat2.countsByTime[i];}}} |
public StartStreamProcessorResult startStreamProcessor(StartStreamProcessorRequest request) {request = beforeClientExecution(request);return executeStartStreamProcessor(request);} |
public void print(char c) {print(String.valueOf(c));} |
public StepConfig(String name, HadoopJarStepConfig hadoopJarStep) {setName(name);setHadoopJarStep(hadoopJarStep);} |
public GetIdentityPoliciesResult getIdentityPolicies(GetIdentityPoliciesRequest request) {request = beforeClientExecution(request);return executeGetIdentityPolicies(request);} |
public ListAccountsResult listAccounts(ListAccountsRequest request) {request = beforeClientExecution(request);return executeListAccounts(request);} |
public int getCompressionLevel() {return compressionLevel;} |
public synchronized StringBuffer append(CharSequence s) {if (s == null) {appendNull();} else {append0(s, 0, s.length());}return this;} |
@Override public String toString() {return key + "=" + value;} |
public long skip(long byteCount) throws IOException {if (byteCount < 0) {throw new IllegalArgumentException("byteCount < 0: " + byteCount);}synchronized (lock) {checkNotClosed();if (byteCount < 1) {return 0;}if (end - pos >= byteCount) {pos += byteCount;return byteCount;}long read = end - pos;pos = end;while (read < byteCount) {if (fillBuf() == -1) {return read;}if (end - pos >= byteCount - read) {pos += byteCount - read;return byteCount;}read += (end - pos);pos = end;}return byteCount;}} |
public void updateFormulasAfterRowShift(FormulaShifter formulaShifter, int currentExternSheetIndex) {_valuesAgg.updateFormulasAfterRowShift(formulaShifter, currentExternSheetIndex);} |
public void close() {synchronized (lock) {if (isOpen()) {buf = null;}}} |
public void seek(long pos) {this.pos = (int) (pos - pointer);} |
public String toFormulaString() {StringBuilder sb = new StringBuilder(64);boolean needsExclamation = false;if (externalWorkbookNumber >= 0) {sb.append('[');sb.append(externalWorkbookNumber);sb.append(']');needsExclamation = true;}if (sheetName != null) {SheetNameFormatter.appendFormat(sb, sheetName);needsExclamation = true;}if (needsExclamation) {sb.append('!');}sb.append(nameName);return sb.toString();} |
public boolean isFinished() {return mState == STATE_IDLE;} |
public static Transport open(Repository local, URIish uri, String remoteName)throws NotSupportedException, TransportException {for (WeakReference<TransportProtocol> ref : protocols) {TransportProtocol proto = ref.get();if (proto == null) {protocols.remove(ref);continue;}if (proto.canHandle(uri, local, remoteName)) {Transport tn = proto.open(uri, local, remoteName);tn.prePush = Hooks.prePush(local, tn.hookOutRedirect);tn.prePush.setRemoteLocation(uri.toString());tn.prePush.setRemoteName(remoteName);return tn;}}throw new NotSupportedException(MessageFormat.format(JGitText.get().URINotSupported, uri));} |
public void setColor(Color color){foreground = color;} |
public DeleteAliasResult deleteAlias(DeleteAliasRequest request) {request = beforeClientExecution(request);return executeDeleteAlias(request);} |
public SeekStatus seekCeil(BytesRef text) {termUpto = binarySearch(text, br, 0, info.terms.size()-1, info.terms, info.sortedTerms);if (termUpto < 0) { termUpto = -termUpto-1;if (termUpto >= info.terms.size()) {return SeekStatus.END;} else {info.terms.get(info.sortedTerms[termUpto], br);return SeekStatus.NOT_FOUND;}} else {return SeekStatus.FOUND;}} |
public CreateApplicationVersionRequest(String applicationName, String versionLabel) {setApplicationName(applicationName);setVersionLabel(versionLabel);} |
public String toString() {return ruleName + ":" + bypassTokenType;} |
public int indexOf(Object object) {Object[] snapshot = elements;return indexOf(object, snapshot, 0, snapshot.length);} |
public int compareTo(ShortBuffer otherBuffer) {int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining(): otherBuffer.remaining();int thisPos = position;int otherPos = otherBuffer.position;short thisByte, otherByte;while (compareRemaining > 0) {thisByte = get(thisPos);otherByte = otherBuffer.get(otherPos);if (thisByte != otherByte) {return thisByte < otherByte ? -1 : 1;}thisPos++;otherPos++;compareRemaining--;}return remaining() - otherBuffer.remaining();} |
public DescribeSecurityConfigurationResult describeSecurityConfiguration(DescribeSecurityConfigurationRequest request) {request = beforeClientExecution(request);return executeDescribeSecurityConfiguration(request);} |
public void add(int location, E object) {insertElementAt(object, location);} |
public GetDownloadUrlForLayerResult getDownloadUrlForLayer(GetDownloadUrlForLayerRequest request) {request = beforeClientExecution(request);return executeGetDownloadUrlForLayer(request);} |
public StringWriter append(CharSequence csq) {if (csq == null) {csq = "null";}write(csq.toString());return this;} |
public RevWalk getRevWalk() {return walker;} |
@Override public int lastIndexOf(Object object) {Slice slice = this.slice;Object[] snapshot = elements;slice.checkConcurrentModification(snapshot);int result = CopyOnWriteArrayList.lastIndexOf(object, snapshot, slice.from, slice.to);return (result != -1) ? (result - slice.from) : -1;} |
public IntBuffer put(int index, int c) {checkIndex(index);backingArray[offset + index] = c;return this;} |
public HSSFTextbox(HSSFShape parent, HSSFAnchor anchor) {super(parent, anchor);setHorizontalAlignment(HORIZONTAL_ALIGNMENT_LEFT);setVerticalAlignment(VERTICAL_ALIGNMENT_TOP);setString(new HSSFRichTextString(""));} |
public GetRegionRequest() {super("cr", "2016-06-07", "GetRegion", "cr");setUriPattern("/regions");setMethod(MethodType.GET);} |
public ListObjectChildrenResult listObjectChildren(ListObjectChildrenRequest request) {request = beforeClientExecution(request);return executeListObjectChildren(request);} |
public GetIdResult getId(GetIdRequest request) {request = beforeClientExecution(request);return executeGetId(request);} |
public String getPassphrase() {return passphrase;} |
public Map<String, Ref> getAllRefs() {try {return getRefDatabase().getRefs(RefDatabase.ALL);} catch (IOException e) {throw new UncheckedIOException(e);}} |
public boolean hasMoreElements() { return hasNext(); } |
public int numDataNodes() {return numDataNodes(rootNode);} |
public HadoopJarStepConfig toHadoopJarStepConfig() {List<String> args = new ArrayList<String>();if (reducer == null) {hadoopConfig.put("mapred.reduce.tasks", "0");}for (Map.Entry<String, String> entry : hadoopConfig.entrySet()) {args.add("-D");args.add(entry.getKey() + "=" + entry.getValue());}for (String input : inputs) {args.add("-input");args.add(input);}if (output != null) {args.add("-output");args.add(output);}if (mapper != null) {args.add("-mapper");args.add(mapper);}if (reducer != null) {args.add("-reducer");args.add(reducer);}return new HadoopJarStepConfig().withJar("/home/hadoop/contrib/streaming/hadoop-streaming.jar").withArgs(args);} |
public GetRelationalDatabaseEventsResult getRelationalDatabaseEvents(GetRelationalDatabaseEventsRequest request) {request = beforeClientExecution(request);return executeGetRelationalDatabaseEvents(request);} |
public void drawLine(int x1, int y1, int x2, int y2){drawLine(x1,y1,x2,y2,0);} |
public UpdateUserSecurityProfilesResult updateUserSecurityProfiles(UpdateUserSecurityProfilesRequest request) {request = beforeClientExecution(request);return executeUpdateUserSecurityProfiles(request);} |
public String toString() {return "Action: " + this.action;} |
public CreateVolumeRequest(Integer size, String availabilityZone) {setSize(size);setAvailabilityZone(availabilityZone);} |
public final void setPrecedenceStartState(int precedence, DFAState startState) {if (!isPrecedenceDfa()) {throw new IllegalStateException("Only precedence DFAs may contain a precedence start state.");}if (precedence < 0) {return;}synchronized (s0) {if (precedence >= s0.edges.length) {s0.edges = Arrays.copyOf(s0.edges, precedence + 1);}s0.edges[precedence] = startState;}} |
public EditPhotosRequest() {super("CloudPhoto", "2017-07-11", "EditPhotos", "cloudphoto");setProtocol(ProtocolType.HTTPS);} |
public Builder() {PositiveIntOutputs outputs = PositiveIntOutputs.getSingleton();fstCompiler = new FSTCompiler<>(FST.INPUT_TYPE.BYTE1, outputs);scratchInts = new IntsRefBuilder();} |
public DeleteFlowDefinitionResult deleteFlowDefinition(DeleteFlowDefinitionRequest request) {request = beforeClientExecution(request);return executeDeleteFlowDefinition(request);} |
public void setLastFailedRefreshTime() {lastFailedRefreshTime = System.currentTimeMillis();} |
public ModifyDBInstanceRequest(String dBInstanceIdentifier) {setDBInstanceIdentifier(dBInstanceIdentifier);} |
public GetTemplateSummaryResult getTemplateSummary(GetTemplateSummaryRequest request) {request = beforeClientExecution(request);return executeGetTemplateSummary(request);} |
public Snapshot revokeSnapshotAccess(RevokeSnapshotAccessRequest request) {request = beforeClientExecution(request);return executeRevokeSnapshotAccess(request);} |
public void serialize(final LittleEndianOutput out) {final int field_4_name_length = field_6_name_text.length();final int field_5_comment_length = field_7_comment_text.length();out.writeShort(field_1_record_type);out.writeShort(field_2_frt_cell_ref_flag);out.writeLong(field_3_reserved);out.writeShort(field_4_name_length);out.writeShort(field_5_comment_length);boolean isNameMultiByte = StringUtil.hasMultibyte(field_6_name_text);out.writeByte(isNameMultiByte ? 1 : 0);if (isNameMultiByte) {StringUtil.putUnicodeLE(field_6_name_text, out);} else {StringUtil.putCompressedUnicode(field_6_name_text, out);}boolean isCommentMultiByte = StringUtil.hasMultibyte(field_7_comment_text);out.writeByte(isCommentMultiByte ? 1 : 0);if (isCommentMultiByte) {StringUtil.putUnicodeLE(field_7_comment_text, out);} else {StringUtil.putCompressedUnicode(field_7_comment_text, out);}} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.