text
stringlengths 27
1.4k
|
|---|
@Override public int size() {return count(entrySet().iterator());}
|
public ByteBuffer put(ByteBuffer buf) {throw new ReadOnlyBufferException();}
|
public CreateBranchCommand setStartPoint(RevCommit startPoint) {checkCallable();this.startCommit = startPoint;this.startPoint = null;return this;}
|
public ListOnPremisesInstancesResult listOnPremisesInstances(ListOnPremisesInstancesRequest request) {request = beforeClientExecution(request);return executeListOnPremisesInstances(request);}
|
public int[] clear() {if (perField.postingsArray != null) {bytesUsed.addAndGet(-(perField.postingsArray.size * perField.postingsArray.bytesPerPosting()));perField.postingsArray = null;perField.newPostingsArray();}return null;}
|
public String getSourcePath() {return outCandidate.sourcePath.getPath();}
|
public static SingletonPredictionContext create(PredictionContext parent, int returnState) {if ( returnState == EMPTY_RETURN_STATE && parent == null ) {return EMPTY;}return new SingletonPredictionContext(parent, returnState);}
|
public void cleanupSession(String sessionID) throws IOException {if (sessionID.isEmpty()) { throw new IllegalArgumentException("sessionID cannot be empty");}IOUtils.rm(workDir.resolve(sessionID));}
|
public DescribeSnapshotCopyGrantsResult describeSnapshotCopyGrants(DescribeSnapshotCopyGrantsRequest request) {request = beforeClientExecution(request);return executeDescribeSnapshotCopyGrants(request);}
|
public String toString() {return Utils.join(Arrays.asList(opnds).iterator(), "&&");}
|
public DescribeApplicationResult describeApplication(DescribeApplicationRequest request) {request = beforeClientExecution(request);return executeDescribeApplication(request);}
|
@Override public E set(int index, E object) {Object[] a = array;if (index >= size) {throwIndexOutOfBoundsException(index, size);}@SuppressWarnings("unchecked") E result = (E) a[index];a[index] = object;return result;}
|
public void set(int x, int y) {this.x = x;this.y = y;}
|
public BatchSendMessagesRequest() {super("OnsMqtt", "2019-12-11", "BatchSendMessages", "onsmqtt");setMethod(MethodType.POST);}
|
public DeleteEgressOnlyInternetGatewayResult deleteEgressOnlyInternetGateway(DeleteEgressOnlyInternetGatewayRequest request) {request = beforeClientExecution(request);return executeDeleteEgressOnlyInternetGateway(request);}
|
public static String byteToHex(int value) {StringBuilder sb = new StringBuilder(4);writeHex(sb, value & 0xFFL, 2, "0x");return sb.toString();}
|
public DescribeLoadBalancerPoliciesResult describeLoadBalancerPolicies(DescribeLoadBalancerPoliciesRequest request) {request = beforeClientExecution(request);return executeDescribeLoadBalancerPolicies(request);}
|
public void close() throws IOException {try {beginWrite();dst.close();} catch (InterruptedIOException e) {throw writeTimedOut(e);} finally {endWrite();}}
|
public UpdateVirtualInterfaceAttributesResult updateVirtualInterfaceAttributes(UpdateVirtualInterfaceAttributesRequest request) {request = beforeClientExecution(request);return executeUpdateVirtualInterfaceAttributes(request);}
|
public ScandinavianNormalizationFilter(TokenStream input) {super(input);}
|
public DeleteHumanLoopResult deleteHumanLoop(DeleteHumanLoopRequest request) {request = beforeClientExecution(request);return executeDeleteHumanLoop(request);}
|
public void onWindowFocusChanged(boolean hasWindowFocus) {super.onWindowFocusChanged(hasWindowFocus);if (!hasWindowFocus && !mPopup.isDropDownAlwaysVisible()) {dismissDropDown();}}
|
public GetApnsSandboxChannelResult getApnsSandboxChannel(GetApnsSandboxChannelRequest request) {request = beforeClientExecution(request);return executeGetApnsSandboxChannel(request);}
|
public TreeFilter clone() {final TreeFilter n = a.clone();return n == a ? this : new NotTreeFilter(n);}
|
public void addBuilder(String nodeName, QueryBuilder builder) {builders.put(nodeName, builder);}
|
public static boolean isSupported(int bitsPerValue) {return Arrays.binarySearch(SUPPORTED_BITS_PER_VALUE, bitsPerValue) >= 0;}
|
@Override public V getValue() {return mapEntry.getValue();}
|
public DeletedArea3DPtg(LittleEndianInput in) {field_1_index_extern_sheet = in.readUShort();unused1 = in.readInt();unused2 = in.readInt();}
|
public String toString() {return "NativeFSLock(path=" + path + ",impl=" + lock + ",creationTime=" + creationTime + ")";}
|
public CreateVolumeResult createVolume(CreateVolumeRequest request) {request = beforeClientExecution(request);return executeCreateVolume(request);}
|
public EvaluationCell getCell(int rowIndex, int columnIndex) {HSSFRow row = _hs.getRow(rowIndex);if (row == null) {return null;}HSSFCell cell = row.getCell(columnIndex);if (cell == null) {return null;}return new HSSFEvaluationCell(cell, this);}
|
public DeleteBasePathMappingResult deleteBasePathMapping(DeleteBasePathMappingRequest request) {request = beforeClientExecution(request);return executeDeleteBasePathMapping(request);}
|
public void removeState(ATNState state) {states.set(state.stateNumber, null); }
|
public boolean equals(Object other) {if (!(other instanceof ShortBuffer)) {return false;}ShortBuffer otherBuffer = (ShortBuffer) other;if (remaining() != otherBuffer.remaining()) {return false;}int myPosition = position;int otherPosition = otherBuffer.position;boolean equalSoFar = true;while (equalSoFar && (myPosition < limit)) {equalSoFar = get(myPosition++) == otherBuffer.get(otherPosition++);}return equalSoFar;}
|
public boolean equals(final Object o) {if (!(o instanceof PropertySet)) {return false;}final PropertySet ps = (PropertySet) o;int byteOrder1 = ps.getByteOrder();int byteOrder2 = getByteOrder();ClassID classID1 = ps.getClassID();ClassID classID2 = getClassID();int format1 = ps.getFormat();int format2 = getFormat();int osVersion1 = ps.getOSVersion();int osVersion2 = getOSVersion();int sectionCount1 = ps.getSectionCount();int sectionCount2 = getSectionCount();if (byteOrder1 != byteOrder2 ||!classID1.equals(classID2) ||format1 != format2 ||osVersion1 != osVersion2 ||sectionCount1 != sectionCount2) {return false;}return getSections().containsAll(ps.getSections());}
|
public static int getEstimatedNumberUniqueValuesAllowingForCollisions(int setSize, int numRecordedBits) {double setSizeAsDouble = setSize;double numRecordedBitsAsDouble = numRecordedBits;double saturation = numRecordedBitsAsDouble / setSizeAsDouble;double logInverseSaturation = Math.log(1 - saturation) * -1;return (int) (setSizeAsDouble * logInverseSaturation);}
|
public static boolean isGitRepository(File dir, FS fs) {return fs.resolve(dir, Constants.OBJECTS).exists()&& fs.resolve(dir, "refs").exists() && (fs.resolve(dir, Constants.REFTABLE).exists()|| isValidHead(new File(dir, Constants.HEAD)));}
|
public void setBackgroundImage(int pictureIndex){setPropertyValue(new EscherSimpleProperty( EscherPropertyTypes.FILL__PATTERNTEXTURE, false, true, pictureIndex));setPropertyValue(new EscherSimpleProperty( EscherPropertyTypes.FILL__FILLTYPE, false, false, FILL_TYPE_PICTURE));EscherBSERecord bse = getPatriarch().getSheet().getWorkbook().getWorkbook().getBSERecord(pictureIndex);bse.setRef(bse.getRef() + 1);}
|
public DirectPostingsFormat(int minSkipCount, int lowFreqCutoff) {super("Direct");this.minSkipCount = minSkipCount;this.lowFreqCutoff = lowFreqCutoff;}
|
public RecyclingByteBlockAllocator(int blockSize, int maxBufferedBlocks,Counter bytesUsed) {super(blockSize);freeByteBlocks = new byte[maxBufferedBlocks][];this.maxBufferedBlocks = maxBufferedBlocks;this.bytesUsed = bytesUsed;}
|
public int stemPrefix(char s[], int len) {for (int i = 0; i < prefixes.length; i++)if (startsWithCheckLength(s, len, prefixes[i]))return deleteN(s, 0, len, prefixes[i].length);return len;}
|
public String toString() {final StringBuilder s = new StringBuilder();for (Entry q = head; q != null; q = q.next)describe(s, q.commit);return s.toString();}
|
public CodingErrorAction malformedInputAction() {return malformedInputAction;}
|
public Result(IntsRef input, T output) {this.input = input;this.output = output;}
|
public String getInflectionForm(int wordId) {return null; }
|
public void removeComments() {remove1stProperty(PropertyIDMap.PID_COMMENTS);}
|
public GetBlacklistReportsResult getBlacklistReports(GetBlacklistReportsRequest request) {request = beforeClientExecution(request);return executeGetBlacklistReports(request);}
|
public String getMessages() {return messageWriter != null ? messageWriter.toString() : ""; }
|
public boolean equals(Object object) {if (!(object instanceof StringCharacterIterator)) {return false;}StringCharacterIterator it = (StringCharacterIterator) object;return string.equals(it.string) && start == it.start && end == it.end&& offset == it.offset;}
|
public AddFacetToObjectResult addFacetToObject(AddFacetToObjectRequest request) {request = beforeClientExecution(request);return executeAddFacetToObject(request);}
|
public ParseException generateParseException() {jj_expentries.clear();boolean[] la1tokens = new boolean[34];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 < 34; 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);}
|
public final int correctOffset(int currentOff) {final int corrected = correct(currentOff);return (input instanceof CharFilter) ? ((CharFilter) input).correctOffset(corrected) : corrected;}
|
public static ContinuableRecordOutput createForCountingOnly() {return new ContinuableRecordOutput(NOPOutput, -777); }
|
public DisassociateAddressRequest(String publicIp) {setPublicIp(publicIp);}
|
public DescribeVirtualGatewaysResult describeVirtualGateways(DescribeVirtualGatewaysRequest request) {request = beforeClientExecution(request);return executeDescribeVirtualGateways(request);}
|
public void setSheetHidden(int sheetnum, boolean hidden) {setSheetHidden(sheetnum, hidden ? SheetVisibility.HIDDEN : SheetVisibility.VISIBLE);}
|
public static Cell createCell(Row row, int column, String value, CellStyle style) {Cell cell = getCell(row, column);cell.setCellValue(cell.getRow().getSheet().getWorkbook().getCreationHelper().createRichTextString(value));if (style != null) {cell.setCellStyle(style);}return cell;}
|
public CreateCacheParameterGroupRequest(String cacheParameterGroupName, String cacheParameterGroupFamily, String description) {setCacheParameterGroupName(cacheParameterGroupName);setCacheParameterGroupFamily(cacheParameterGroupFamily);setDescription(description);}
|
public DirCacheEntry(byte[] path, int stage) {checkPath(path);if (stage < 0 || 3 < stage)throw new IllegalArgumentException(MessageFormat.format(JGitText.get().invalidStageForPath,stage, toString(path)));info = new byte[INFO_LEN];infoOffset = 0;this.path = path;int flags = ((stage & 0x3) << 12);if (path.length < NAME_MASK)flags |= path.length;elseflags |= NAME_MASK;NB.encodeInt16(info, infoOffset + P_FLAGS, flags);}
|
public FileOutputStream(String path, boolean append) throws FileNotFoundException {this(new File(path), append);}
|
public DescribeVolumesResult describeVolumes() {return describeVolumes(new DescribeVolumesRequest());}
|
public String toString() {return String.valueOf(label);}
|
public MutableValue duplicate() {MutableValueDouble v = new MutableValueDouble();v.value = this.value;v.exists = this.exists;return v;}
|
public boolean shouldBeRecursive() {for (byte b : pathRaw)if (b == '/')return true;return false;}
|
public boolean equals( Object o ) {return o instanceof BasqueStemmer;}
|
public SheetBuilder setSheetName(String sheetName) {this.sheetName = sheetName;return this;}
|
public ListTimeLinesRequest() {super("CloudPhoto", "2017-07-11", "ListTimeLines", "cloudphoto");setProtocol(ProtocolType.HTTPS);}
|
public DescribeStackResourcesResult describeStackResources(DescribeStackResourcesRequest request) {request = beforeClientExecution(request);return executeDescribeStackResources(request);}
|
public UpdateBotResult updateBot(UpdateBotRequest request) {request = beforeClientExecution(request);return executeUpdateBot(request);}
|
public boolean matches(int symbol, int minVocabSymbol, int maxVocabSymbol) {return symbol >= minVocabSymbol&& symbol <= maxVocabSymbol&& !super.matches(symbol, minVocabSymbol, maxVocabSymbol);}
|
public void fillTo(int toIndex, int val) {while (count < toIndex)add(val);}
|
public static long[] grow(long[] array, int minSize) {assert minSize >= 0: "size must be positive (got " + minSize + "): likely integer overflow?";if (array.length < minSize) {return growExact(array, oversize(minSize, Long.BYTES));} else return array;}
|
public ExportSnapshotResult exportSnapshot(ExportSnapshotRequest request) {request = beforeClientExecution(request);return executeExportSnapshot(request);}
|
public boolean hasChildOfType(short recordId) {return _childRecords.stream().anyMatch(r -> r.getRecordId() == recordId);}
|
public int fillFields(byte[] data, int offset, EscherRecordFactory recordFactory) {int bytesRemaining = readHeader( data, offset );thedata = IOUtils.safelyAllocate(bytesRemaining, MAX_RECORD_LENGTH);System.arraycopy( data, offset + 8, thedata, 0, bytesRemaining );return bytesRemaining + 8;}
|
public RmCommand addFilepattern(String filepattern) {checkCallable();filepatterns.add(filepattern);return this;}
|
public GetEmailIdentityResult getEmailIdentity(GetEmailIdentityRequest request) {request = beforeClientExecution(request);return executeGetEmailIdentity(request);}
|
public E remove(int location) {try {ListIterator<E> it = listIterator(location);E result = it.next();it.remove();return result;} catch (NoSuchElementException e) {throw new IndexOutOfBoundsException();}}
|
public CanonicalTreeParser next() {CanonicalTreeParser p = this;for (;;) {if (p.nextPtr == p.raw.length) {if (p.parent == null) {p.currPtr = p.nextPtr;return p;}p = (CanonicalTreeParser) p.parent;continue;}p.prevPtr = p.currPtr;p.currPtr = p.nextPtr;p.parseEntry();return p;}}
|
public UpdateClusterConfigResult updateClusterConfig(UpdateClusterConfigRequest request) {request = beforeClientExecution(request);return executeUpdateClusterConfig(request);}
|
public Point(int x, int y) {this.x = x;this.y = y;}
|
public void cloneStyleFrom(ExtendedFormatRecord source) {field_1_font_index = source.field_1_font_index;field_2_format_index = source.field_2_format_index;field_3_cell_options = source.field_3_cell_options;field_4_alignment_options = source.field_4_alignment_options;field_5_indention_options = source.field_5_indention_options;field_6_border_options = source.field_6_border_options;field_7_palette_options = source.field_7_palette_options;field_8_adtl_palette_options = source.field_8_adtl_palette_options;field_9_fill_palette_options = source.field_9_fill_palette_options;}
|
public GetInvitationConfigurationResult getInvitationConfiguration(GetInvitationConfigurationRequest request) {request = beforeClientExecution(request);return executeGetInvitationConfiguration(request);}
|
public RevTag parseTag(AnyObjectId id) throws MissingObjectException,IncorrectObjectTypeException, IOException {RevObject c = parseAny(id);if (!(c instanceof RevTag))throw new IncorrectObjectTypeException(id.toObjectId(),Constants.TYPE_TAG);return (RevTag) c;}
|
public List<String> matchAlmost(String key) {return matchAlmost(key, defaultNumReturnValues);}
|
public boolean remove(Object o) {synchronized (Hashtable.this) {int oldSize = size;Hashtable.this.remove(o);return size != oldSize;}}
|
public StringEval(String value) {if (value == null) {throw new IllegalArgumentException("value must not be null");}_value = value;}
|
public BatchGetOnPremisesInstancesResult batchGetOnPremisesInstances(BatchGetOnPremisesInstancesRequest request) {request = beforeClientExecution(request);return executeBatchGetOnPremisesInstances(request);}
|
public void update(Config rc) {final List<String> vlst = new ArrayList<>();vlst.clear();for (URIish u : getURIs())vlst.add(u.toPrivateString());rc.setStringList(SECTION, getName(), KEY_URL, vlst);vlst.clear();for (URIish u : getPushURIs())vlst.add(u.toPrivateString());rc.setStringList(SECTION, getName(), KEY_PUSHURL, vlst);vlst.clear();for (RefSpec u : getFetchRefSpecs())vlst.add(u.toString());rc.setStringList(SECTION, getName(), KEY_FETCH, vlst);vlst.clear();for (RefSpec u : getPushRefSpecs())vlst.add(u.toString());rc.setStringList(SECTION, getName(), KEY_PUSH, vlst);set(rc, KEY_UPLOADPACK, getUploadPack(), DEFAULT_UPLOAD_PACK);set(rc, KEY_RECEIVEPACK, getReceivePack(), DEFAULT_RECEIVE_PACK);set(rc, KEY_TAGOPT, getTagOpt().option(), TagOpt.AUTO_FOLLOW.option());set(rc, KEY_MIRROR, mirror, DEFAULT_MIRROR);set(rc, KEY_TIMEOUT, timeout, 0);}
|
public String toString() {StringBuilder sb = new StringBuilder();sb.append("[OBJ]\n");for (final SubRecord record : subrecords) {sb.append("SUBRECORD: ").append(record);}sb.append("[/OBJ]\n");return sb.toString();}
|
public StashCreateCommand setPerson(PersonIdent person) {this.person = person;return this;}
|
public GetDefaultCreditSpecificationResult getDefaultCreditSpecification(GetDefaultCreditSpecificationRequest request) {request = beforeClientExecution(request);return executeGetDefaultCreditSpecification(request);}
|
public static IntervalSet of(int a) {IntervalSet s = new IntervalSet();s.add(a);return s;}
|
public static int idealFloatArraySize(int need) {return idealByteArraySize(need * 4) / 4;}
|
public GetJobManifestResult getJobManifest(GetJobManifestRequest request) {request = beforeClientExecution(request);return executeGetJobManifest(request);}
|
public ListGroupMembersResult listGroupMembers(ListGroupMembersRequest request) {request = beforeClientExecution(request);return executeListGroupMembers(request);}
|
public CreateMatchmakingConfigurationResult createMatchmakingConfiguration(CreateMatchmakingConfigurationRequest request) {request = beforeClientExecution(request);return executeCreateMatchmakingConfiguration(request);}
|
public GetQueryResultsResult getQueryResults(GetQueryResultsRequest request) {request = beforeClientExecution(request);return executeGetQueryResults(request);}
|
public int[] lookupSegmentation(int phraseID) {return segmentations[phraseID];}
|
public StartTextTranslationJobResult startTextTranslationJob(StartTextTranslationJobRequest request) {request = beforeClientExecution(request);return executeStartTextTranslationJob(request);}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.