text stringlengths 27 1.4k |
|---|
public final void makeReadOnly() {readOnly = true;} |
public DescribeDirectConnectGatewaysResult describeDirectConnectGateways(DescribeDirectConnectGatewaysRequest request) {request = beforeClientExecution(request);return executeDescribeDirectConnectGateways(request);} |
public GetUsagePlanKeyResult getUsagePlanKey(GetUsagePlanKeyRequest request) {request = beforeClientExecution(request);return executeGetUsagePlanKey(request);} |
public DescribeVpcEndpointConnectionNotificationsResult describeVpcEndpointConnectionNotifications(DescribeVpcEndpointConnectionNotificationsRequest request) {request = beforeClientExecution(request);return executeDescribeVpcEndpointConnectionNotifications(request);} |
public UpdateGatewayGroupResult updateGatewayGroup(UpdateGatewayGroupRequest request) {request = beforeClientExecution(request);return executeUpdateGatewayGroup(request);} |
public DetachClassicLinkVpcResult detachClassicLinkVpc(DetachClassicLinkVpcRequest request) {request = beforeClientExecution(request);return executeDetachClassicLinkVpc(request);} |
public ListOperationsResult listOperations() {return listOperations(new ListOperationsRequest());} |
public BatchDeletePhoneNumberResult batchDeletePhoneNumber(BatchDeletePhoneNumberRequest request) {request = beforeClientExecution(request);return executeBatchDeletePhoneNumber(request);} |
public void setExpireAgeMillis(long expireAgeMillis) {this.expireAgeMillis = expireAgeMillis;expire = null;} |
public DeactivateEventSourceResult deactivateEventSource(DeactivateEventSourceRequest request) {request = beforeClientExecution(request);return executeDeactivateEventSource(request);} |
public void readBytes(byte[] b, int offset, int len) {System.arraycopy(bytes, pos, b, offset, len);pos += len;} |
public IntBuffer put(int index, int c) {throw new ReadOnlyBufferException();} |
public SendUsersMessagesResult sendUsersMessages(SendUsersMessagesRequest request) {request = beforeClientExecution(request);return executeSendUsersMessages(request);} |
public MissingFormatWidthException(String s) {if (s == null) {throw new NullPointerException();}this.s = s;} |
public DescribeVolumesRequest(java.util.List<String> volumeIds) {setVolumeIds(volumeIds);} |
public SubmitCutoutTaskRequest() {super("lubancloud", "2018-05-09", "SubmitCutoutTask", "luban");setMethod(MethodType.POST);} |
public DoubleBuffer asReadOnlyBuffer() {return duplicate();} |
@Override public int size() {return subMap.size();} |
public CreateLabelsResult createLabels(CreateLabelsRequest request) {request = beforeClientExecution(request);return executeCreateLabels(request);} |
public boolean isEmpty() {return size == 0;} |
public int getRenameScore() {return outCandidate.renameScore;} |
public SeriesTextRecord() {field_4_text = "";is16bit = false;} |
public char get() {if (position == limit) {throw new BufferUnderflowException();}return sequence.charAt(position++);} |
public static double irr(double[] values, double guess) {double x0 = guess;for (int i = 0; i < MAX_ITERATION_COUNT; i++) {final double factor = 1.0 + x0;double denominator = factor;if (denominator == 0) {return Double.NaN;}double fValue = values[0];double fDerivative = 0;for (int k = 1; k < values.length; k++) {final double value = values[k];fValue += value / denominator;denominator *= factor;fDerivative -= k * value / denominator;}if (fDerivative == 0) {return Double.NaN;}double x1 = x0 - fValue/fDerivative;if (Math.abs(x1 - x0) <= ABSOLUTE_ACCURACY) {return x1;}x0 = x1;}return Double.NaN;} |
public static String toHex(long value) {StringBuilder sb = new StringBuilder(16);writeHex(sb, value, 16, "");return sb.toString();} |
public void skip() {_type = SKIP;} |
public HSSFClientAnchor getPreferredSize(){return getPreferredSize(1.0);} |
public void fromRaw(int[] ints) {fromRaw(ints, 0);} |
public ModifyClusterParameterGroupResult modifyClusterParameterGroup(ModifyClusterParameterGroupRequest request) {request = beforeClientExecution(request);return executeModifyClusterParameterGroup(request);} |
public boolean get(URIish uri, List<CredentialItem> items)throws UnsupportedCredentialItem {return get(uri, items.toArray(new CredentialItem[0]));} |
public synchronized FormatType getFormat() {return acceptFormat;} |
public ListTypesResult listTypes(ListTypesRequest request) {request = beforeClientExecution(request);return executeListTypes(request);} |
public K next() { return nextEntry().key; } |
public StartAssessmentRunResult startAssessmentRun(StartAssessmentRunRequest request) {request = beforeClientExecution(request);return executeStartAssessmentRun(request);} |
public boolean equals(Object obj) {if ( this==obj ) return true;if ( !(obj instanceof OR) ) return false;OR other = (OR)obj;return Arrays.equals(this.opnds, other.opnds);} |
public boolean equals(Object other) {return ((PointTransitions) other).point == point;} |
public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1,ValueEval arg2, ValueEval arg3) {throw new RuntimeException("Incomplete code"+ " - don't know how to support the 'area_num' parameter yet)");} |
public DescribeClusterParametersResult describeClusterParameters(DescribeClusterParametersRequest request) {request = beforeClientExecution(request);return executeDescribeClusterParameters(request);} |
public String typeName() {return typeName;} |
public CreateModelPackageResult createModelPackage(CreateModelPackageRequest request) {request = beforeClientExecution(request);return executeCreateModelPackage(request);} |
public long ramBytesUsed() {long mem = RamUsageEstimator.shallowSizeOf(this) + RamUsageEstimator.sizeOf(offsets);if (offsets != ordinals) {mem += RamUsageEstimator.sizeOf(ordinals);}return mem;} |
public final int get(int index) {checkIndex(index);return backingArray[offset + index];} |
public final State captureState() {final State state = this.getCurrentState();return (state == null) ? null : state.clone();} |
public String toString() {CellReference cr = new CellReference(getRow(), getColumn());return getClass().getName() + "[" +_evaluator.getSheetNameRange() +'!' +cr.formatAsString() +"]";} |
public CharBuffer compact() {throw new ReadOnlyBufferException();} |
public DetectCustomLabelsResult detectCustomLabels(DetectCustomLabelsRequest request) {request = beforeClientExecution(request);return executeDetectCustomLabels(request);} |
public int indexOf(final int o){int rval = 0;for (; rval < _limit; rval++){if (o == _array[ rval ]){break;}}if (rval == _limit){rval = -1; }return rval;} |
public boolean matches(int symbol, int minVocabSymbol, int maxVocabSymbol) {return symbol >= minVocabSymbol && symbol <= maxVocabSymbol;} |
@Override public int indexOf(Object object) {Object[] a = array;int s = size;if (object != null) {for (int i = 0; i < s; i++) {if (object.equals(a[i])) {return i;}}} else {for (int i = 0; i < s; i++) {if (a[i] == null) {return i;}}}return -1;} |
public void setObjectChecking(boolean on) {setObjectChecker(on ? new ObjectChecker() : null);} |
public ModifyVpcEndpointResult modifyVpcEndpoint(ModifyVpcEndpointRequest request) {request = beforeClientExecution(request);return executeModifyVpcEndpoint(request);} |
public DeleteMethodResponseResult deleteMethodResponse(DeleteMethodResponseRequest request) {request = beforeClientExecution(request);return executeDeleteMethodResponse(request);} |
public StringRecord( RecordInputStream in) {int field_1_string_length = in.readUShort();_is16bitUnicode = in.readByte() != 0x00;if (_is16bitUnicode){_text = in.readUnicodeLEString(field_1_string_length);} else {_text = in.readCompressedUnicode(field_1_string_length);}} |
public DrawingRecord(RecordInputStream in) {recordData = in.readRemainder();} |
public GetProfileResult getProfile(GetProfileRequest request) {request = beforeClientExecution(request);return executeGetProfile(request);} |
public DescribeTableResult describeTable(String tableName) {return describeTable(new DescribeTableRequest().withTableName(tableName));} |
public GetSegmentResult getSegment(GetSegmentRequest request) {request = beforeClientExecution(request);return executeGetSegment(request);} |
public IntBuffer duplicate() {return copy(this, mark);} |
public PutAlarmResult putAlarm(PutAlarmRequest request) {request = beforeClientExecution(request);return executePutAlarm(request);} |
public boolean matches(ValueEval x) {int testValue;if(x instanceof StringEval) {return false;} else if((x instanceof BoolEval)) {BoolEval be = (BoolEval) x;testValue = boolToInt(be.getBooleanValue());} else if((x instanceof BlankEval)) {switch (getCode()) {case CmpOp.NE:return true;default:return false;}} else if((x instanceof NumberEval)) {switch (getCode()) {case CmpOp.NE:return true;default:return false;}} else {return false;}return evaluate(testValue - _value);} |
public DeleteTrialResult deleteTrial(DeleteTrialRequest request) {request = beforeClientExecution(request);return executeDeleteTrial(request);} |
public String toString() {return set.toString();} |
public String toString(String field) {StringBuilder buffer = new StringBuilder();if (!getField().equals(field)) {buffer.append(getField());buffer.append(":");}buffer.append(includeLower ? '[' : '{');buffer.append(lowerTerm != null ? ("*".equals(Term.toString(lowerTerm)) ? "\\*" : Term.toString(lowerTerm)) : "*");buffer.append(" TO ");buffer.append(upperTerm != null ? ("*".equals(Term.toString(upperTerm)) ? "\\*" : Term.toString(upperTerm)) : "*");buffer.append(includeUpper ? ']' : '}');return buffer.toString();} |
public void reset() {count = 0;} |
public int[] init() {return bytesStart = new int[ArrayUtil.oversize(initSize, Integer.BYTES)];} |
public int codePointBefore(int index) {if (index < 1 || index > count) {throw indexAndLength(index);}return Character.codePointBefore(value, index);} |
public String toString() {return "SkipWorkTree(" + treeIdx + ")";} |
public GetLifecyclePoliciesResult getLifecyclePolicies(GetLifecyclePoliciesRequest request) {request = beforeClientExecution(request);return executeGetLifecyclePolicies(request);} |
public NRTCachingDirectory(Directory delegate, double maxMergeSizeMB, double maxCachedMB) {super(delegate);maxMergeSizeBytes = (long) (maxMergeSizeMB * 1024 * 1024);maxCachedBytes = (long) (maxCachedMB * 1024 * 1024);} |
public void visitContainedRecords(RecordVisitor rv) {visitIfPresent(_protectRecord, rv);visitIfPresent(_objectProtectRecord, rv);visitIfPresent(_scenarioProtectRecord, rv);visitIfPresent(_passwordRecord, rv);} |
public RefSubRecord(int extBookIndex, int firstSheetIndex, int lastSheetIndex) {_extBookIndex = extBookIndex;_firstSheetIndex = firstSheetIndex;_lastSheetIndex = lastSheetIndex;} |
public long getEntryLength() {return current().getLength();} |
public String toString() {return getClass().getSimpleName() + "(maxLevels:" + maxLevels + ",ctx:" + ctx + ")";} |
public BooleanQueryBuilder(QueryBuilder factory) {this.factory = factory;} |
public HSSFShape(EscherContainerRecord spContainer, ObjRecord objRecord) {this._escherContainer = spContainer;this._objRecord = objRecord;this._optRecord = spContainer.getChildById(EscherOptRecord.RECORD_ID);this.anchor = HSSFAnchor.createAnchorFromEscher(spContainer);} |
public ListUpdatesResult listUpdates(ListUpdatesRequest request) {request = beforeClientExecution(request);return executeListUpdates(request);} |
public IncreaseStreamRetentionPeriodResult increaseStreamRetentionPeriod(IncreaseStreamRetentionPeriodRequest request) {request = beforeClientExecution(request);return executeIncreaseStreamRetentionPeriod(request);} |
public void writeFloat(float value) throws IOException {checkWritePrimitiveTypes();primitiveTypes.writeFloat(value);} |
public Collection<Cell> getSubCells() {String[] hashes = GeohashUtils.getSubGeohashes(getGeohash());List<Cell> cells = new ArrayList<>(hashes.length);for (String hash : hashes) {cells.add(new GhCell(hash));}return cells;} |
public StringBuilder insert(int offset, CharSequence s) {insert0(offset, s == null ? "null" : s.toString());return this;} |
public static Collection<ParseTree> findAllTokenNodes(ParseTree t, int ttype) {return findAllNodes(t, ttype, true);} |
public NameIdentifier(String name, boolean isQuoted) {_name = name;_isQuoted = isQuoted;} |
public ObjectLoader open(DiffEntry.Side side, DiffEntry ent)throws IOException {switch (side) {case OLD:return oldSource.open(ent.oldPath, ent.oldId.toObjectId());case NEW:return newSource.open(ent.newPath, ent.newId.toObjectId());default:throw new IllegalArgumentException();}} |
public DBClusterSnapshot createDBClusterSnapshot(CreateDBClusterSnapshotRequest request) {request = beforeClientExecution(request);return executeCreateDBClusterSnapshot(request);} |
public ExternalBookBlock(String url, String[] sheetNames) {_externalBookRecord = SupBookRecord.createExternalReferences(url, sheetNames);_crnBlocks = new CRNBlock[0];} |
public static int compareWithCase(String a, String b) {for (int i = 0; i < a.length() && i < b.length(); i++) {int d = a.charAt(i) - b.charAt(i);if (d != 0)return d;}return a.length() - b.length();} |
public RecallPoint [] getRecallPoints() {return recallPoints.toArray(new RecallPoint[0]);} |
public RemoveFacePhotosRequest() {super("CloudPhoto", "2017-07-11", "RemoveFacePhotos", "cloudphoto");setProtocol(ProtocolType.HTTPS);} |
public static IntsRef toUTF32(char[] s, int offset, int length, IntsRefBuilder scratch) {int charIdx = offset;int intIdx = 0;final int charLimit = offset + length;while(charIdx < charLimit) {scratch.grow(intIdx+1);final int utf32 = Character.codePointAt(s, charIdx, charLimit);scratch.setIntAt(intIdx, utf32);charIdx += Character.charCount(utf32);intIdx++;}scratch.setLength(intIdx);return scratch.get();} |
public void skipBytes(long count) {pos -= count;} |
public void addDataValidation(DVRecord dvRecord) {_validationList.add(dvRecord);_headerRec.setDVRecNo(_validationList.size());} |
public void setDoubleValue(double value) {if (!(fieldsData instanceof Double)) {throw new IllegalArgumentException("cannot change value type from " + fieldsData.getClass().getSimpleName() + " to Double");}fieldsData = Double.valueOf(value);} |
public DeleteRepoAuthorizationRequest() {super("cr", "2016-06-07", "DeleteRepoAuthorization", "cr");setUriPattern("/repos/[RepoNamespace]/[RepoName]/authorizations/[AuthorizeId]");setMethod(MethodType.DELETE);} |
public final void writeObject(Object object) throws IOException {writeObject(object, false);} |
public String toString() {byte[] raw = toByteArray();CanonicalTreeParser p = new CanonicalTreeParser();p.reset(raw);StringBuilder r = new StringBuilder();r.append("Tree={");if (!p.eof()) {r.append('\n');try {new ObjectChecker().checkTree(raw);} catch (CorruptObjectException error) {r.append("*** ERROR: ").append(error.getMessage()).append("\n");r.append('\n');}}while (!p.eof()) {final FileMode mode = p.getEntryFileMode();r.append(mode);r.append(' ');r.append(Constants.typeString(mode.getObjectType()));r.append(' ');r.append(p.getEntryObjectId().name());r.append(' ');r.append(p.getEntryPathString());r.append('\n');p.next();}r.append("}");return r.toString();} |
public char getChar(int index) {return (char) getShort(index);} |
public String toString() {return "I(ne)";} |
public String toString(){StringBuilder buffer = new StringBuilder();buffer.append("[GUTS]\n");buffer.append(" .leftgutter = ").append(Integer.toHexString(getLeftRowGutter())).append("\n");buffer.append(" .topgutter = ").append(Integer.toHexString(getTopColGutter())).append("\n");buffer.append(" .rowlevelmax = ").append(Integer.toHexString(getRowLevelMax())).append("\n");buffer.append(" .collevelmax = ").append(Integer.toHexString(getColLevelMax())).append("\n");buffer.append("[/GUTS]\n");return buffer.toString();} |
public ParseTree getChild(int i) {return null;} |
public ListInvalidationsResult listInvalidations(ListInvalidationsRequest request) {request = beforeClientExecution(request);return executeListInvalidations(request);} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.