rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k |
|---|---|---|
int average = spill / (cols.length-1); | int average = 0; if (cols.length != 1) average = spill / (cols.length-1); | private void distributeSpillResizing(TableColumn[] cols, int spill, TableColumn resizeIt) { int average = spill / (cols.length-1); for (int i = 0; i < cols.length; i++) { if (cols[i] != null && !cols[i].equals(resizeIt)) cols[i].setWidth(cols[i].getPre... |
if (list != null) | void damageLayout() { updateLayoutStateNeeded = 1; list.revalidate(); } | |
return ((SocketChannelImpl) ch).getNativeFD(); | NIOSocket socket = (NIOSocket) ((SocketChannelImpl) ch).socket(); return socket.getPlainSocketImpl().getNativeFD(); | public int getNativeFD() { return ((SocketChannelImpl) ch).getNativeFD(); } |
catch (NoSuchAlgorithmException ignored) | catch (NoSuchAlgorithmException e) | public static CertStore getInstance(String type, CertStoreParameters params) throws InvalidAlgorithmParameterException, NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(type, params, p[i]); ... |
getTextComponent(event).copy(); | public void actionPerformed(ActionEvent event) { // FIXME: Implement me. Tookit.getSystemClipboard should be used // for that. } | |
getTextComponent(event).cut(); | public void actionPerformed(ActionEvent event) { // FIXME: Implement me. Tookit.getSystemClipboard should be used // for that. } | |
if (t != null) { try { t.getDocument().insertString(t.getCaret().getDot(), event.getActionCommand(), null); } catch (BadLocationException be) { } } | if (t != null && t.isEnabled() && t.isEditable()) t.replaceSelection(event.getActionCommand()); | public void actionPerformed(ActionEvent event) { // first we filter the following events: // - control characters // - key events with the ALT modifier (FIXME: filter that too!) char c = event.getActionCommand().charAt(0); if (Character.isISOControl(c)) return; JTextComponent... |
JTextComponent t = getTextComponent(event); t.replaceSelection("\t"); | public void actionPerformed(ActionEvent event) { // FIXME: Implement this. } | |
getTextComponent(event).paste(); | public void actionPerformed(ActionEvent event) { // FIXME: Implement me. Tookit.getSystemClipboard should be used // for that. } | |
return sameTypes(interfaces, pt.interfaces); | for (int i = 0; i < interfaces.length; i++) if (interfaces[i] != pt.interfaces[i]) return false; return true; | public boolean equals(Object other) { ProxyType pt = (ProxyType) other; if (loader != pt.loader || interfaces.length != pt.interfaces.length) return false; return sameTypes(interfaces, pt.interfaces); } |
try { rootDir = new JIFSDirectory(this.device.getId(), true); } catch ( IOException e){ e.printStackTrace(); } | rootDir = new JIFSDrootDir(device.getId()); | public JIFileSystem(Device device, boolean readOnly) throws FileSystemException { if (readOnly==false){ throw new FileSystemException("JIFS can not be created as writable..."); } this.device = device; try { rootDir = new JIFSDirectory(this.device.getId(), true); } catch ( IOException e){ e.printStackTrace()... |
return new fixedTypeCode(value); | return new FixedTypeCode(value); | public TypeCode _type() { return new fixedTypeCode(value); } |
throw new BAD_OPERATION("NamingContextExt expected"); | BAD_OPERATION bad = new BAD_OPERATION("NamingContextExt expected"); bad.initCause(ex); throw bad; | public static NamingContextExt extract(Any a) { try { return ((NamingContextExtHolder) a.extract_Streamable()).value; } catch (ClassCastException ex) { throw new BAD_OPERATION("NamingContextExt expected"); } } |
final long rtcTime = RTCUtils.getTime(); if (rtcTime == 0L) { return currentTimeMillis; } else { rtcIncrement = rtcTime - currentTimeMillis; | final RTCService rtcService = VmSystem.rtcService; if (rtcService != null) { final long rtcTime = rtcService.getTime(); if (rtcTime == 0L) { return currentTimeMillis; } else { rtcIncrement = rtcTime - currentTimeMillis; } | public static long currentTimeMillis() { if (rtcIncrement == 0) { final long rtcTime = RTCUtils.getTime(); if (rtcTime == 0L) { // We don't have an RTC service yet, return an invalid, // but for now good enough value return currentTimeMillis; } else { rtcIncrement = rtcTime - currentTimeMillis; } ... |
* Screen.debug("{ex at pc:"); Screen.debug(pc); Screen.debug(" of " + * method.getBytecodeSize()); Screen.debug(method.getName()); | * Screen.debug("{ex at pc:"); Screen.debug(pc); Screen.debug(" of " + method.getBytecodeSize()); Screen.debug(method.getName()); | public static Address findThrowableHandler(Throwable ex, Address frame, Address address) { try { if (ex == null) { Unsafe.debug("NPE"); throw new NullPointerException(); } if (frame == null) { Unsafe.debug("frame==null"); return null; } final VmProcessor proc = Unsafe.getCurrentProcessor(); fi... |
return getContextClassLoader().loadClass(className, true).asClass(); | return getContextClassLoader().asClassLoader().loadClass(className); | public static Class forName(String className) throws ClassNotFoundException { return getContextClassLoader().loadClass(className, true).asClass(); } |
protected static AbstractVmClassLoader getContextClassLoader() { | protected static VmClassLoader getContextClassLoader() { | protected static AbstractVmClassLoader getContextClassLoader() { final VmStackReader reader = Unsafe.getCurrentProcessor().getArchitecture().getStackReader(); final VmClassLoader systemLoader = VmSystem.systemLoader; Address f = Unsafe.getCurrentFrame(); while (reader.isValid(f)) { final VmMethod method = reader... |
final VmClassLoader systemLoader = VmSystem.systemLoader; | final VmSystemClassLoader systemLoader = VmSystem.systemLoader; | protected static AbstractVmClassLoader getContextClassLoader() { final VmStackReader reader = Unsafe.getCurrentProcessor().getArchitecture().getStackReader(); final VmClassLoader systemLoader = VmSystem.systemLoader; Address f = Unsafe.getCurrentFrame(); while (reader.isValid(f)) { final VmMethod method = reader... |
final AbstractVmClassLoader loader = method.getDeclaringClass().getLoader(); | final VmClassLoader loader = method.getDeclaringClass().getLoader(); | protected static AbstractVmClassLoader getContextClassLoader() { final VmStackReader reader = Unsafe.getCurrentProcessor().getArchitecture().getStackReader(); final VmClassLoader systemLoader = VmSystem.systemLoader; Address f = Unsafe.getCurrentFrame(); while (reader.isValid(f)) { final VmMethod method = reader... |
public static VmClassLoader getSystemClassLoader() { | public static VmSystemClassLoader getSystemClassLoader() { | public static VmClassLoader getSystemClassLoader() { return systemLoader; } |
final ScreenOutputStream os = new ScreenOutputStream(Screen.getInstance()); final PrintStream ps = new PrintStream(os, true); | bootOut = new SystemOutputStream(); final PrintStream ps = new PrintStream(bootOut, true); | public static void initialize() { if (!inited) { // Initialize resource manager Unsafe.debug("1"); ResourceManagerImpl.initialize(); Unsafe.debug("2"); /* Set System.err, System.out */ //final SystemOutputStream os = new SystemOutputStream(); final ScreenOutputStream os = new ScreenOutputStream(Screen.g... |
VmClassLoader loader = (VmClassLoader) (getVmClass(Unsafe.getCurrentProcessor()).getLoader()); | VmSystemClassLoader loader = (VmSystemClassLoader) (getVmClass(Unsafe.getCurrentProcessor()).getLoader()); | public static void initialize() { if (!inited) { // Initialize resource manager Unsafe.debug("1"); ResourceManagerImpl.initialize(); Unsafe.debug("2"); /* Set System.err, System.out */ //final SystemOutputStream os = new SystemOutputStream(); final ScreenOutputStream os = new ScreenOutputStream(Screen.g... |
return ((ServerSocketChannelImpl) ch).getNativeFD(); | NIOServerSocket socket = (NIOServerSocket) ((ServerSocketChannelImpl) ch).socket(); return socket.getPlainSocketImpl().getNativeFD(); | public int getNativeFD() { return ((ServerSocketChannelImpl) ch).getNativeFD(); } |
if (parent.getLayout() != this) throw new IllegalArgumentException("parent's layout is not this CardLayout"); | private void gotoComponent (Container parent, int what) { synchronized (parent.getTreeLock ()) { int num = parent.ncomponents; // This is more efficient than calling getComponents(). Component[] comps = parent.component; if (num == 1) { comps[0].setVisible(true); return; } int choice = -1; if (wh... | |
if (name == null) return; if (parent.getLayout() != this) throw new IllegalArgumentException("parent's layout is not this CardLayout"); | public void show (Container parent, String name) { Object target = tab.get (name); if (target != null) { int num = parent.ncomponents; // This is more efficient than calling getComponents(). Component[] comps = parent.component; for (int i = 0; i < num; ++i) { if (comps[i].isVisible()) { if (... | |
public AccessibleAWTMenuItem() | protected AccessibleAWTMenuItem() | public AccessibleAWTMenuItem() { super(); } |
public AccessibleJTextComponent(JTextComponent component) { super(component); } | public AccessibleJTextComponent() { } | public AccessibleJTextComponent(JTextComponent component) { super(component); // TODO } // AccessibleJTextComponent() |
this("", null, 0); | enableEvents(AWTEvent.KEY_EVENT_MASK); updateUI(); | public JTextComponent() { this("", null, 0); } |
getDocument().remove(0,doc.getLength()); | try { getDocument().remove(0, doc.getLength()); | public void setText(String text) { getDocument().remove(0,doc.getLength()); getDocument().insertString(0, text, null); } |
catch (BadLocationException e) { } } | public void setText(String text) { getDocument().remove(0,doc.getLength()); getDocument().insertString(0, text, null); } | |
return ((Element) node).getAttribute("xml:lang"); | String lang = ((Element) node).getAttribute("xml:lang"); if (lang != null) return lang; } node = node.getParentNode(); | String getLang(Node node) { if (node.getNodeType() == Node.ELEMENT_NODE) { return ((Element) node).getAttribute("xml:lang"); } return null; } |
default : | case SLASH: value = next; optional(WS); next = getTokenAhead(); if (bQUOTING.get(next.kind)) { hTag = next; error("The value without opening quote is closed with '" + next.getImage() + "'"); attrValue = value.getImage(); } else if (next.kind == NUMTOKEN || next.kind == SLASH) { StringBuffer image = new StringBuffe... | protected void readAttributes(String element) { Token name; Token value; Token next; String attrValue; attributes = new htmlAttributeSet(); optional(WS); attributeReading: while (getTokenAhead().kind == NUMTOKEN) { name = getNextToken(); optional(WS); next = getToke... |
public void closeTag(TagElement tElement) | public boolean closeTag(TagElement tElement) | public void closeTag(TagElement tElement) { HTML.Tag tag = tElement.getHTMLTag(); hTag x; hTag close; if (!stack.isEmpty()) { ListIterator iter = stack.listIterator(stack.size()); while (iter.hasPrevious()) { x = (hTag) iter.previous(); if (tag.equals(x.t... |
return; | return true; | public void closeTag(TagElement tElement) { HTML.Tag tag = tElement.getHTMLTag(); hTag x; hTag close; if (!stack.isEmpty()) { ListIterator iter = stack.listIterator(stack.size()); while (iter.hasPrevious()) { x = (hTag) iter.previous(); if (tag.equals(x.t... |
return false; | public void closeTag(TagElement tElement) { HTML.Tag tag = tElement.getHTMLTag(); hTag x; hTag close; if (!stack.isEmpty()) { ListIterator iter = stack.listIterator(stack.size()); while (iter.hasPrevious()) { x = (hTag) iter.previous(); if (tag.equals(x.t... | |
Element line = getDocument().getDefaultRootElement().getElement(lineIndex); | Element line = getElement().getElement(lineIndex); | protected void drawLine(int lineIndex, Graphics g, int x, int y) { try { metrics = g.getFontMetrics(); // FIXME: Selected text are not drawn yet. Element line = getDocument().getDefaultRootElement().getElement(lineIndex); drawUnselectedText(g, x, y, line.getStartOffset(), line.getEndOffset()); //drawSelected... |
firePropertyChange(key, old, value); } | public void putValue(String key, Object value) { store.put(key, value); } | |
firePropertyChange(ENABLED_PROPERTY, !this.enabled, this.enabled); } | public void setEnabled(boolean enabled) { this.enabled = enabled; } | |
public abstract void disable(); | void disable(); | public abstract void disable(); |
public abstract void enable(); | void enable(); | public abstract void enable(); |
if (Configuration.DEBUG) | Parser getParser() { log.entering(this.getClass().getName(), "getParser"); //$NON-NLS-1$ Parser result = new ClasspathToolParser(Main.PRINTCERT_CMD, true); result.setHeader(Messages.getString("PrintCertCmd.5")); //$NON-NLS-1$ result.setFooter(Messages.getString("PrintCertCmd.6")); //$NON-NLS-1$ Option... | |
log.finer("-printcert handler will use the following options:"); log.finer(" -file=" + _certFileName); log.finer(" -v=" + verbose); | if (Configuration.DEBUG) { log.fine("-printcert handler will use the following options:"); log.fine(" -file=" + _certFileName); log.fine(" -v=" + verbose); } | void setup() throws Exception { setInputStreamParam(_certFileName); log.finer("-printcert handler will use the following options:"); //$NON-NLS-1$ log.finer(" -file=" + _certFileName); //$NON-NLS-1$ log.finer(" -v=" + verbose); //$NON-NLS-1$ } |
if (Configuration.DEBUG) | void start() throws CertificateException { log.entering(getClass().getName(), "start"); //$NON-NLS-1$ CertificateFactory x509Factory = CertificateFactory.getInstance(Main.X_509); Certificate certificate = x509Factory.generateCertificate(inStream); PrintWriter writer = new PrintWriter(System.out, true); ... | |
parent = p; attr = s; | element_parent = p; attributes = s; | public AbstractElement(Element p, AttributeSet s) { parent = p; attr = s; } |
return kids.elements(); | return Collections.enumeration(tree_children); | public Enumeration children() { return kids.elements(); } |
return attr; | return attributes; | public AttributeSet getAttributes() { return attr; } |
return (TreeNode) kids.elementAt(index); | return (TreeNode) tree_children.get(index); | public TreeNode getChildAt(int index) { return (TreeNode) kids.elementAt(index); } |
return kids.size(); | return tree_children.size(); | public int getChildCount() { return kids.size(); } |
return (Element) elts.elementAt(index); | return (Element) element_children.get(index); | public Element getElement(int index) { return (Element) elts.elementAt(index); } |
return kids.indexOf(node); | return tree_children.indexOf(node); | public int getIndex(TreeNode node) { return kids.indexOf(node); } |
return name; | return (String) getAttribute(NameAttribute); | public String getName() { return name; } |
return parent; | return element_parent; | public Element getParentElement() { return parent; } |
public BranchElement(Element parent, AttributeSet attributes, int start, int end) | public BranchElement(Element parent, AttributeSet attributes) | public BranchElement(Element parent, AttributeSet attributes, int start, int end) { super(parent, attributes); this.start = start; this.end = end; } |
this.start = start; this.end = end; | public BranchElement(Element parent, AttributeSet attributes, int start, int end) { super(parent, attributes); this.start = start; this.end = end; } | |
if (index < 0 || index >= children.size()) return null; | public Element getElement(int index) { return (Element) children.get(index); } | |
return children.indexOf(positionToElement(offset)); | if (children.size() == 0) return 0; Element element = positionToElement(offset); if (element == null) return 0; return children.indexOf(element); | public int getElementIndex(int offset) { return children.indexOf(positionToElement(offset)); } |
return end; | return ((Element) children.lastElement()).getEndOffset(); | public int getEndOffset() { return end; } |
return start; | return ((Element) children.firstElement()).getStartOffset(); | public int getStartOffset() { return start; } |
return len; | return length; | public int getLength() { return len; } |
return off; | return offset; | public int getOffset() { return off; } |
return null; | return type; | public DocumentEvent.EventType getType() { return null; } |
this(doc, null); | this(doc, StyleContext.getDefaultStyleContext()); | protected AbstractDocument(Content doc) { this(doc, null); } |
protected Element createBranchElement(Element parent, AttributeSet a) | protected Element createBranchElement(Element parent, AttributeSet attributes) | protected Element createBranchElement(Element parent, AttributeSet a) { return new BranchElement(parent, a, 0, 0); } |
return new BranchElement(parent, a, 0, 0); | return new BranchElement(parent, attributes); | protected Element createBranchElement(Element parent, AttributeSet a) { return new BranchElement(parent, a, 0, 0); } |
protected Element createLeafElement(Element parent, AttributeSet a, int p0, int p1) | protected Element createLeafElement(Element parent, AttributeSet attributes, int start, int end) | protected Element createLeafElement(Element parent, AttributeSet a, int p0, int p1) { return new LeafElement(parent, a, p0, p1 - p0); } |
return new LeafElement(parent, a, p0, p1 - p0); | return new LeafElement(parent, attributes, start, end); | protected Element createLeafElement(Element parent, AttributeSet a, int p0, int p1) { return new LeafElement(parent, a, p0, p1 - p0); } |
return null; | return context; | protected AttributeContext getAttributeContext() { return null; } |
return null; | return new Position() { public int getOffset() { return getLength(); } }; | public Position getEndPosition() { return null; } |
return null; | Element[] elements = new Element[1]; elements[0] = getDefaultRootElement(); return elements; | public Element[] getRootElements() { return null; } |
return null; | return new Position() { public int getOffset() { return 0; } }; | public Position getStartPosition() { return null; } |
public void insertString(int offs, String str, AttributeSet a) | public void insertString(int offset, String text, AttributeSet attributes) | public void insertString(int offs, String str, AttributeSet a) throws BadLocationException { content.insertString(offs, str); } |
content.insertString(offs, str); | if (text == null || text.length() == 0) return; DefaultDocumentEvent event = new DefaultDocumentEvent(offset, text.length(), DocumentEvent.EventType.INSERT); content.insertString(offset, text); insertUpdate(event, attributes); fireInsertUpdate(event); | public void insertString(int offs, String str, AttributeSet a) throws BadLocationException { content.insertString(offs, str); } |
} | DefaultDocumentEvent event = new DefaultDocumentEvent(offset, length, DocumentEvent.EventType.REMOVE); removeUpdate(event); content.remove(offset, length); postRemoveUpdate(event); fireRemoveUpdate(event); } | public void remove(int offset, int length) throws BadLocationException { } |
if (keys == null) keys = new ArrayList(); keys.add(this); | StyleConstants(String k) { keyname = k; } | |
throws NotImplementedException | protected void uninstallKeyboardActions() throws NotImplementedException { // FIXME: Uninstall keyboard actions here. } | |
SwingUtilities.replaceUIInputMap(textComponent, JComponent.WHEN_FOCUSED, null); SwingUtilities.replaceUIActionMap(textComponent, null); | protected void uninstallKeyboardActions() throws NotImplementedException { // FIXME: Uninstall keyboard actions here. } | |
t.repaint(); | public void actionPerformed(ActionEvent event) { JTextComponent t = getTextComponent(event); if (t != null) { try { int pos = t.getCaret().getDot(); if (pos < t.getDocument().getEndPosition().getOffset()) { ... | |
t.repaint(); | public void actionPerformed(ActionEvent event) { JTextComponent t = getTextComponent(event); if (t != null) { try { int pos = t.getCaret().getDot(); if (pos > t.getDocument().getStartPosition().getOffset()) { ... | |
t.repaint(); | public void actionPerformed(ActionEvent event) { JTextComponent t = getTextComponent(event); if (t != null) { try { t.getDocument().insertString(t.getCaret().getDot(), event.getActionCommand(), null); t.getCaret().setDot(Math.min(t.getCaret().getDot(... | |
throws IOException | throws IOException, NotImplementedException | public void flushBefore(long position) throws IOException { // FIXME: Implement me. throw new Error("not implemented"); } |
public void addBeanContextMembershipListener(BeanContextMembershipListener listener); | void addBeanContextMembershipListener(BeanContextMembershipListener listener); | public void addBeanContextMembershipListener(BeanContextMembershipListener listener); |
public URL getResource(String resourceName, BeanContextChild requestor); | URL getResource(String resourceName, BeanContextChild requestor); | public URL getResource(String resourceName, BeanContextChild requestor); |
public InputStream getResourceAsStream(String resourceName, BeanContextChild requestor); | InputStream getResourceAsStream(String resourceName, BeanContextChild requestor); | public InputStream getResourceAsStream(String resourceName, BeanContextChild requestor); |
public Object instantiateChild(String beanName) | Object instantiateChild(String beanName) | public Object instantiateChild(String beanName) throws IOException, ClassNotFoundException; |
public void removeBeanContextMembershipListener(BeanContextMembershipListener listener); | void removeBeanContextMembershipListener(BeanContextMembershipListener listener); | public void removeBeanContextMembershipListener(BeanContextMembershipListener listener); |
public Window getWindowAncestor(Component comp) | public static Window getWindowAncestor(Component comp) | public Window getWindowAncestor(Component comp) { return (Window) getAncestorOfClass(Window.class, comp); } |
while(child.getParent() != null && !(child.getParent() instanceof ActionMapUIResource)) child = child.getParent(); | ActionMap parent = child.getParent(); while(parent != null) { child = parent; parent = child.getParent(); } | public static void replaceUIActionMap(JComponent component, ActionMap uiActionMap) { ActionMap child = component.getActionMap(); if (child == null) component.setActionMap(uiActionMap); else { while(child.getParent() != null && !(child.get... |
public synchronized void setData(byte[] buf, int offset, int length) | public void setData(byte[] buf) | public synchronized void setData(byte[] buf, int offset, int length) { // This form of setData must be used if offset is to be changed. if (buf == null) throw new NullPointerException("Null buffer"); if (offset < 0) throw new IllegalArgumentException("Invalid offset: " + offset); buffer = buf; this.offset =... |
if (buf == null) throw new NullPointerException("Null buffer"); if (offset < 0) throw new IllegalArgumentException("Invalid offset: " + offset); buffer = buf; this.offset = offset; setLength(length); | setData(buf, 0, buf.length); | public synchronized void setData(byte[] buf, int offset, int length) { // This form of setData must be used if offset is to be changed. if (buf == null) throw new NullPointerException("Null buffer"); if (offset < 0) throw new IllegalArgumentException("Invalid offset: " + offset); buffer = buf; this.offset =... |
public SocketBuffer(byte[] data, int offset, int length) { this.data = data; this.start = offset; this.size = length; testBuffer(); | public SocketBuffer() { | public SocketBuffer(byte[] data, int offset, int length) { this.data = data; this.start = offset; this.size = length; testBuffer(); } |
if (instance == null) | if (instances == null) instances = new HashMap(); Object o = instances.get(component); MetalScrollBarUI instance; if (o == null) { | public static ComponentUI createUI(JComponent component) { if (instance == null) instance = new MetalScrollBarUI(); return instance; } |
instances.put(component, instance); } else instance = (MetalScrollBarUI) o; | public static ComponentUI createUI(JComponent component) { if (instance == null) instance = new MetalScrollBarUI(); return instance; } | |
public DirectByteBufferImpl (RawData address, long len) | DirectByteBufferImpl(int capacity) | public DirectByteBufferImpl (RawData address, long len) { this (null, address, (int) len, (int) len, 0, false); } |
this (null, address, (int) len, (int) len, 0, false); | super(capacity, capacity, 0, -1); this.owner = this; this.address = VMDirectByteBuffer.allocate(capacity); | public DirectByteBufferImpl (RawData address, long len) { this (null, address, (int) len, (int) len, 0, false); } |
shiftDown(address, 0, pos, count); | VMDirectByteBuffer.shiftDown(address, 0, pos, count); | public ByteBuffer compact () { int pos = position(); if (pos > 0) { int count = remaining(); shiftDown(address, 0, pos, count); position(count); limit(capacity()); } return this; } |
DirectByteBufferImpl result = new DirectByteBufferImpl (owner, address, capacity (), limit (), pos, readOnly); | DirectByteBufferImpl result; if (readOnly) result = new DirectByteBufferImpl.ReadOnly(owner, address, capacity(), limit(), pos); else result = new DirectByteBufferImpl.ReadWrite(owner, address, capacity(), limit(), pos); | private ByteBuffer duplicate (boolean readOnly) { int pos = position(); reset(); int mark = position(); position(pos); DirectByteBufferImpl result = new DirectByteBufferImpl (owner, address, capacity (), limit (), pos, readOnly); if (mark != pos) { result.position(mark); result.mark(... |
freeImpl (address); | if (owner == this) VMDirectByteBuffer.free(address); | protected void finalize () throws Throwable { freeImpl (address); } |
byte result = getImpl (address, pos); position (pos + 1); | byte result = VMDirectByteBuffer.get(address, pos); position(pos + 1); | public byte get () { checkForUnderflow(); int pos = position(); byte result = getImpl (address, pos); position (pos + 1); return result; } |
checkIfReadOnly(); | public ByteBuffer put (byte value) { checkIfReadOnly(); checkForOverflow(); int pos = position(); putImpl (address, pos, value); position (pos + 1); return this; } | |
putImpl (address, pos, value); position (pos + 1); | VMDirectByteBuffer.put(address, pos, value); position(pos + 1); | public ByteBuffer put (byte value) { checkIfReadOnly(); checkForOverflow(); int pos = position(); putImpl (address, pos, value); position (pos + 1); return this; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.