text
stringlengths
27
1.4k
public void serialize(LittleEndianOutput out) {out.writeByte(getWSBool2());out.writeByte(getWSBool1());}
public SubmitGenerateTaskRequest() {super("lubancloud", "2018-05-09", "SubmitGenerateTask", "luban");setMethod(MethodType.POST);}
public E ceiling(E e) {return backingMap.ceilingKey(e);}
public BatchApplyUpdateActionResult batchApplyUpdateAction(BatchApplyUpdateActionRequest request) {request = beforeClientExecution(request);return executeBatchApplyUpdateAction(request);}
public Break(RecordInputStream in) {main = in.readUShort() - 1;subFrom = in.readUShort();subTo = in.readUShort();}
public FileNameMatcher createMatcherForSuffix() {final List<Head> copyOfHeads = new ArrayList<>(heads.size());copyOfHeads.addAll(heads);return new FileNameMatcher(copyOfHeads);}
public static boolean isEmptyOrNull(String stringValue) {return stringValue == null || stringValue.length() == 0;}
public static char[] grow(char[] array) {return grow(array, 1 + array.length);}
public ModifySubnetAttributeResult modifySubnetAttribute(ModifySubnetAttributeRequest request) {request = beforeClientExecution(request);return executeModifySubnetAttribute(request);}
public GetProxySessionResult getProxySession(GetProxySessionRequest request) {request = beforeClientExecution(request);return executeGetProxySession(request);}
public String toString() {return "TermStats{" +"decodedTermText='" + decodedTermText + '\'' +", field='" + field + '\'' +", docFreq=" + docFreq +'}';}
public String getSignificantDecimalDigitsLastDigitRounded() {long wp = _wholePart + 5; StringBuilder sb = new StringBuilder(24);sb.append(wp);sb.setCharAt(sb.length()-1, '0');return sb.toString();}
public boolean canReuse(IndexInput docIn, FieldInfo fieldInfo) {return docIn == startDocIn &&indexHasFreq == (fieldInfo.getIndexOptions().compareTo(IndexOptions.DOCS_AND_FREQS) >= 0) &&indexHasPos == (fieldInfo.getIndexOptions().compareTo(IndexOptions.DOCS_AND_FREQS_AND_POSITIONS) >= 0) &&indexHasPayloads == fieldInfo.hasPayloads();}
public Sort(SortField field) {setSort(field);}
public static byte[] encodeASCII(String s) {final byte[] r = new byte[s.length()];for (int k = r.length - 1; k >= 0; k--) {final char c = s.charAt(k);if (c > 127)throw new IllegalArgumentException(MessageFormat.format(JGitText.get().notASCIIString, s));r[k] = (byte) c;}return r;}
public PurgeQueueResult purgeQueue(PurgeQueueRequest request) {request = beforeClientExecution(request);return executePurgeQueue(request);}
public boolean sempred(RuleContext _localctx, int ruleIndex, int actionIndex) {return true;}
public ListStreamsResult listStreams() {return listStreams(new ListStreamsRequest());}
public String getSurfaceFormString() {return new String(surfaceForm, offset, length);}
public GetVaultNotificationsResult getVaultNotifications(GetVaultNotificationsRequest request) {request = beforeClientExecution(request);return executeGetVaultNotifications(request);}
public DeleteTypedLinkFacetResult deleteTypedLinkFacet(DeleteTypedLinkFacetRequest request) {request = beforeClientExecution(request);return executeDeleteTypedLinkFacet(request);}
public int previousIndex() {return pos;}
public long ramBytesUsed() {return super.ramBytesUsed()+ offsets.ramBytesUsed()+ lengths.ramBytesUsed()+ RamUsageEstimator.NUM_BYTES_OBJECT_HEADER+ 2 * Integer.BYTES+ 3 * RamUsageEstimator.NUM_BYTES_OBJECT_REF+ values.bytes().length;}
public PushCommand push() {return new PushCommand(repo);}
public SelectResult select(SelectRequest request) {request = beforeClientExecution(request);return executeSelect(request);}
public ByteArrayDataOutput(byte[] bytes) {reset(bytes);}
public boolean renameTo(String newName) {return directory.renameTo(newName);}
public boolean canReuse(IndexInput docIn, FieldInfo fieldInfo) {return docIn == startDocIn &&indexHasOffsets == (fieldInfo.getIndexOptions().compareTo(IndexOptions.DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS) >= 0) &&indexHasPayloads == fieldInfo.hasPayloads();}
public boolean equals( Object o ) {return o instanceof DanishStemmer;}
public BooleanQuery build(QueryNode queryNode) throws QueryNodeException {BooleanQueryNode booleanNode = (BooleanQueryNode) queryNode;BooleanQuery.Builder bQuery = new BooleanQuery.Builder();List<QueryNode> children = booleanNode.getChildren();if (children != null) {for (QueryNode child : children) {Object obj = child.getTag(QueryTreeBuilder.QUERY_TREE_BUILDER_TAGID);if (obj != null) {Query query = (Query) obj;try {bQuery.add(query, getModifierValue(child));} catch (TooManyClauses ex) {throw new QueryNodeException(new MessageImpl(QueryParserMessages.TOO_MANY_BOOLEAN_CLAUSES, IndexSearcher.getMaxClauseCount(), queryNode.toQueryString(new EscapeQuerySyntaxImpl())), ex);}}}}return bQuery.build();}
public String getName() {return name;}
public List<TerminalNode> getTokens(int ttype) {if ( children==null ) {return Collections.emptyList();}List<TerminalNode> tokens = null;for (ParseTree o : children) {if ( o instanceof TerminalNode ) {TerminalNode tnode = (TerminalNode)o;Token symbol = tnode.getSymbol();if ( symbol.getType()==ttype ) {if ( tokens==null ) {tokens = new ArrayList<TerminalNode>();}tokens.add(tnode);}}}if ( tokens==null ) {return Collections.emptyList();}return tokens;}
public UpdateApnsChannelResult updateApnsChannel(UpdateApnsChannelRequest request) {request = beforeClientExecution(request);return executeUpdateApnsChannel(request);}
public String getInput() {return input;}
public int serialize( int offset, byte[] data, EscherSerializationListener listener ) {listener.beforeRecordSerialize(offset, getRecordId(), this);LittleEndian.putShort( data, offset, getOptions() );LittleEndian.putShort( data, offset + 2, getRecordId() );LittleEndian.putInt( data, offset + 4, getRecordSize() - HEADER_SIZE );int pos = offset + HEADER_SIZE;System.arraycopy( field_1_UID, 0, data, pos, 16 );data[pos + 16] = field_2_marker;byte[] pd = getPicturedata();System.arraycopy( pd, 0, data, pos + 17, pd.length );listener.afterRecordSerialize(offset + getRecordSize(), getRecordId(), getRecordSize(), this);return HEADER_SIZE + 16 + 1 + pd.length;}
public DescribeFolderContentsResult describeFolderContents(DescribeFolderContentsRequest request) {request = beforeClientExecution(request);return executeDescribeFolderContents(request);}
public CreateDBInstanceReadReplicaRequest(String dBInstanceIdentifier, String sourceDBInstanceIdentifier) {setDBInstanceIdentifier(dBInstanceIdentifier);setSourceDBInstanceIdentifier(sourceDBInstanceIdentifier);}
public DVRecord clone() {return copy();}
public CreateDefaultSubnetResult createDefaultSubnet(CreateDefaultSubnetRequest request) {request = beforeClientExecution(request);return executeCreateDefaultSubnet(request);}
public AbbreviatedObjectId getNewId() {return newId;}
public final V setValue(V value) {V oldValue = this.value;this.value = value;return oldValue;}
public int get(String name, int dflt) {int vals[] = (int[]) valByRound.get(name);if (vals != null) {return vals[roundNumber % vals.length];}String sval = props.getProperty(name, "" + dflt);if (sval.indexOf(":") < 0) {return Integer.parseInt(sval);}int k = sval.indexOf(":");String colName = sval.substring(0, k);sval = sval.substring(k + 1);colForValByRound.put(name, colName);vals = propToIntArray(sval);valByRound.put(name, vals);return vals[roundNumber % vals.length];}
public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("extBook=").append(_extBookIndex);buffer.append(" firstSheet=").append(_firstSheetIndex);buffer.append(" lastSheet=").append(_lastSheetIndex);return buffer.toString();}
public void write(LittleEndianOutput out) {out.writeByte(sid + getPtgClass());out.writeInt(field_1_reserved);out.writeShort(field_2_subex_len);}
public final Buffer rewind() {position = 0;mark = UNSET_MARK;return this;}
public short getHideObj(){return field_1_hide_obj;}
public PrintGridlinesRecord(RecordInputStream in) {field_1_print_gridlines = in.readShort();}
public CreateEventTrackerResult createEventTracker(CreateEventTrackerRequest request) {request = beforeClientExecution(request);return executeCreateEventTracker(request);}
public boolean hasNext() {return index < to;}
public void removeExFormatRecord(ExtendedFormatRecord rec) {records.remove(rec); numxfs--;}
public synchronized void publish(Revision revision) throws IOException {ensureOpen();if (currentRevision != null) {int compare = revision.compareTo(currentRevision.revision);if (compare == 0) {revision.release();return;}if (compare < 0) {revision.release();throw new IllegalArgumentException("Cannot publish an older revision: rev=" + revision + " current="+ currentRevision);}}final RefCountedRevision oldRevision = currentRevision;currentRevision = new RefCountedRevision(revision);if (oldRevision != null) {oldRevision.decRef();}checkExpiredSessions();}
public final boolean equals(AnyObjectId other) {return other != null ? isEqual(this, other) : false;}
public DeleteBGPPeerResult deleteBGPPeer(DeleteBGPPeerRequest request) {request = beforeClientExecution(request);return executeDeleteBGPPeer(request);}
public String toString() {return "I(n)";}
public DeleteVpcPeeringConnectionResult deleteVpcPeeringConnection(DeleteVpcPeeringConnectionRequest request) {request = beforeClientExecution(request);return executeDeleteVpcPeeringConnection(request);}
public UpdateIdentityPoolResult updateIdentityPool(UpdateIdentityPoolRequest request) {request = beforeClientExecution(request);return executeUpdateIdentityPool(request);}
public String signString(String stringToSign, AlibabaCloudCredentials credentials) {return signString(stringToSign, credentials.getAccessKeySecret());}
public GetDeviceResult getDevice(GetDeviceRequest request) {request = beforeClientExecution(request);return executeGetDevice(request);}
public void writeInt(int v) {writeContinueIfRequired(4);_ulrOutput.writeInt(v);}
public boolean isSuccess() {return 200 <= this.status && this.status < 300;}
public static CredentialsProvider getDefault() {return defaultProvider;}
public boolean equals(Object obj) {if (obj == this) {return true;}else if (!(obj instanceof LexerPushModeAction)) {return false;}return mode == ((LexerPushModeAction)obj).mode;}
public void dumpDFA() {synchronized (_interp.decisionToDFA) {boolean seenOne = false;for (int d = 0; d < _interp.decisionToDFA.length; d++) {DFA dfa = _interp.decisionToDFA[d];if ( !dfa.states.isEmpty() ) {if ( seenOne ) System.out.println();System.out.println("Decision " + dfa.decision + ":");System.out.print(dfa.toString(getVocabulary()));seenOne = true;}}}}
public FloatBuffer put(int index, float c) {throw new ReadOnlyBufferException();}
public CancelClusterResult cancelCluster(CancelClusterRequest request) {request = beforeClientExecution(request);return executeCancelCluster(request);}
public DeleteSnapshotResult deleteSnapshot(DeleteSnapshotRequest request) {request = beforeClientExecution(request);return executeDeleteSnapshot(request);}
public DeletePhoneNumberResult deletePhoneNumber(DeletePhoneNumberRequest request) {request = beforeClientExecution(request);return executeDeletePhoneNumber(request);}
public boolean addPushURI(URIish toAdd) {if (pushURIs.contains(toAdd))return false;return pushURIs.add(toAdd);}
public BytesRef next() throws IOException {boolean success = false;try {scratch = reader.next();if (scratch == null) {reader.close();}success = true;return scratch;} finally {if (!success) {IOUtils.closeWhileHandlingException(reader);}}}
public void removeCreateDateTime() {remove1stProperty(PropertyIDMap.PID_CREATE_DTM);}
public CreateHealthCheckResult createHealthCheck(CreateHealthCheckRequest request) {request = beforeClientExecution(request);return executeCreateHealthCheck(request);}
public EnableVgwRoutePropagationResult enableVgwRoutePropagation(EnableVgwRoutePropagationRequest request) {request = beforeClientExecution(request);return executeEnableVgwRoutePropagation(request);}
public void removeByteCount() {remove1stProperty(PropertyIDMap.PID_BYTECOUNT);}
public UpdateAutoScalingGroupResult updateAutoScalingGroup(UpdateAutoScalingGroupRequest request) {request = beforeClientExecution(request);return executeUpdateAutoScalingGroup(request);}
public CreateNotebookInstanceResult createNotebookInstance(CreateNotebookInstanceRequest request) {request = beforeClientExecution(request);return executeCreateNotebookInstance(request);}
public AllocateAddressResult allocateAddress() {return allocateAddress(new AllocateAddressRequest());}
public CreateMLModelResult createMLModel(CreateMLModelRequest request) {request = beforeClientExecution(request);return executeCreateMLModel(request);}
public ContinueRecord(byte[] data) {_data = data.clone();}
public Parser getParser() {return parser;}
public DeleteSolutionResult deleteSolution(DeleteSolutionRequest request) {request = beforeClientExecution(request);return executeDeleteSolution(request);}
public boolean isDelete() {return ObjectId.zeroId().equals(newObjectId);}
public int getNextPos() {return nextPos;}
public DescribeSpotFleetInstancesResult describeSpotFleetInstances(DescribeSpotFleetInstancesRequest request) {request = beforeClientExecution(request);return executeDescribeSpotFleetInstances(request);}
public ResetPasswordResult resetPassword(ResetPasswordRequest request) {request = beforeClientExecution(request);return executeResetPassword(request);}
public String toString() {return "DrawingRecord["+recordData.length+"]";}
public Status call() throws GitAPIException, NoWorkTreeException {if (workingTreeIt == null)workingTreeIt = new FileTreeIterator(repo);try {IndexDiff diff = new IndexDiff(repo, Constants.HEAD, workingTreeIt);if (ignoreSubmoduleMode != null)diff.setIgnoreSubmoduleMode(ignoreSubmoduleMode);if (paths != null)diff.setFilter(PathFilterGroup.createFromStrings(paths));if (progressMonitor == null)diff.diff();elsediff.diff(progressMonitor, ProgressMonitor.UNKNOWN,ProgressMonitor.UNKNOWN, ""); return new Status(diff);} catch (IOException e) {throw new JGitInternalException(e.getMessage(), e);}}
public PathHierarchyTokenizerFactory(Map<String,String> args) {super(args);delimiter = getChar(args, "delimiter", PathHierarchyTokenizer.DEFAULT_DELIMITER);replacement = getChar(args, "replace", delimiter);reverse = getBoolean(args, "reverse", false);skip = getInt(args, "skip", PathHierarchyTokenizer.DEFAULT_SKIP);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}
public String toString() {return super.toString() + ": " + lockName;}
public CreateFieldLevelEncryptionConfigResult createFieldLevelEncryptionConfig(CreateFieldLevelEncryptionConfigRequest request) {request = beforeClientExecution(request);return executeCreateFieldLevelEncryptionConfig(request);}
public Reader reader() {return reader;}
public DeleteHealthCheckResult deleteHealthCheck(DeleteHealthCheckRequest request) {request = beforeClientExecution(request);return executeDeleteHealthCheck(request);}
public long get() {return count;}
public int setArrayData(byte[] data, int offset) {if (emptyComplexPart) {resizeComplexData(0);} else {short numElements = LittleEndian.getShort(data, offset);short sizeOfElements = LittleEndian.getShort(data, offset + 4);int cdLen = getComplexData().length;int arraySize = getActualSizeOfElements(sizeOfElements) * numElements;if (arraySize == cdLen) {resizeComplexData(arraySize + 6, 0);sizeIncludesHeaderSize = false;}setComplexData(data, offset);}return getComplexData().length;}
public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1) {TwoDEval reference = convertFirstArg(arg0);int columnIx = 0;try {int rowIx = resolveIndexArg(arg1, srcRowIndex, srcColumnIndex);if (!reference.isColumn()) {if (!reference.isRow()) {return ErrorEval.REF_INVALID;}columnIx = rowIx;rowIx = 0;}return getValueFromArea(reference, rowIx, columnIx);} catch (EvaluationException e) {return e.getErrorEval();}}
public boolean seekExact(BytesRef term) throws IOException {throw new UnsupportedOperationException(getClass().getName()+" does not support seeking");}
public GetSmsTemplateResult getSmsTemplate(GetSmsTemplateRequest request) {request = beforeClientExecution(request);return executeGetSmsTemplate(request);}
public String getFieldAsString() {if (this.field == null)return null;else return this.field.toString();}
@Override public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException {return IoBridge.read(fd, buffer, byteOffset, byteCount);}
public HSSFHyperlink createHyperlink(HyperlinkType type) {return new HSSFHyperlink(type);}
public UpdateGlobalSettingsResult updateGlobalSettings(UpdateGlobalSettingsRequest request) {request = beforeClientExecution(request);return executeUpdateGlobalSettings(request);}