bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public byte[] decode(final byte[] EM) { // Separate the encoded message EM into an // octet string PS consisting of nonzero octets and a message M as // // EM = 0x00 || 0x02 || PS || 0x00 || M. // // If the first octet of EM does not have hexadecimal value 0x00, if // the second octet of EM does... | public byte[] decode(final byte[] EM) { // Separate the encoded message EM into an // octet string PS consisting of nonzero octets and a message M as // // EM = 0x00 || 0x02 || PS || 0x00 || M. // // If the first octet of EM does not have hexadecimal value 0x00, if // the second octet of EM does... | 33,196 |
public byte[] decode(final byte[] EM) { // Separate the encoded message EM into an // octet string PS consisting of nonzero octets and a message M as // // EM = 0x00 || 0x02 || PS || 0x00 || M. // // If the first octet of EM does not have hexadecimal value 0x00, if // the second octet of EM does... | public byte[] decode(final byte[] EM) // Separate the encoded message EM into an // octet string PS consisting of nonzero octets and a message M as // // EM = 0x00 || 0x02 || PS || 0x00 || M. // // If the first octet of EM does not have hexadecimal value 0x00, if // the second octet of EM does n... | 33,197 |
public byte[] decode(final byte[] EM) { // Separate the encoded message EM into an // octet string PS consisting of nonzero octets and a message M as // // EM = 0x00 || 0x02 || PS || 0x00 || M. // // If the first octet of EM does not have hexadecimal value 0x00, if // the second octet of EM does... | public byte[] decode(final byte[] EM) { // Separate the encoded message EM into an // octet string PS consisting of nonzero octets and a message M as // // EM = 0x00 || 0x02 || PS || 0x00 || M. // // If the first octet of EM does not have hexadecimal value 0x00, if // the second octet of EM does... | 33,198 |
public byte[] encode(final byte[] M) { // a. Generate an octet string PS of length k - mLen - 3 consisting // of pseudo-randomly generated nonzero octets. The length of PS // will be at least eight octets. final byte[] PS = new byte[k - M.length - 3]; // FIXME. This should be configurable, some... | publicbyte[]encode(finalbyte[]M){//a.GenerateanoctetstringPSoflengthk-mLen-3consisting//ofpseudo-randomlygeneratednonzerooctets.ThelengthofPS//willbeatleasteightoctets.finalbyte[]PS=newbyte[k-M.length-3];//FIXME.Thisshouldbeconfigurable,somehow.prng.nextBytes(PS);inti=0;for(;i<PS.length;i++){if(PS[i]==0)PS[i]=1;}//b.Co... | 33,199 |
public static final EME_PKCS1_V1_5 getInstance(final int k) { if (k < 0) { throw new IllegalArgumentException("k must be a positive integer"); } return new EME_PKCS1_V1_5(k); } | public static final EME_PKCS1_V1_5 getInstance(final int k) if (k < 0) throw new IllegalArgumentException("k must be a positive integer"); } return new EME_PKCS1_V1_5(k); } | 33,200 |
public static final EME_PKCS1_V1_5 getInstance(final int k) { if (k < 0) { throw new IllegalArgumentException("k must be a positive integer"); } return new EME_PKCS1_V1_5(k); } | public static final EME_PKCS1_V1_5 getInstance(final int k) { if (k < 0) { throw new IllegalArgumentException("k must be a positive integer"); return new EME_PKCS1_V1_5(k); } | 33,201 |
public gnuServantObject(Servant a_servant, byte[] an_id, ORB_1_4 an_orb, gnuPOA a_poa ) { Id = an_id; setServant(a_servant); poa = a_poa; if (poa != null) manager = poa.the_POAManager(); else manager = null; repository_ids = null; orb = ... | public gnuServantObject(Servant a_servant, byte[] an_id, ORB_1_4 an_orb, gnuPOA a_poa ) { Id = an_id; setServant(a_servant); poa = a_poa; if (poa != null) manager = poa.the_POAManager(); else manager = null; repository_ids = null; orb = ... | 33,202 |
public gnuServantObject(Servant a_servant, byte[] an_id, ORB_1_4 an_orb, gnuPOA a_poa ) { Id = an_id; setServant(a_servant); poa = a_poa; if (poa != null) manager = poa.the_POAManager(); else manager = null; repository_ids = null; orb = ... | public gnuServantObject(Servant a_servant, byte[] an_id, ORB_1_4 an_orb, gnuPOA a_poa ) { Id = an_id; manager = a_poa.the_POAManager(); poa = a_poa; if (poa != null) manager = poa.the_POAManager(); else manager = null; repository_ids = null... | 33,203 |
public gnuServantObject(Servant a_servant, byte[] an_id, ORB_1_4 an_orb, gnuPOA a_poa ) { Id = an_id; setServant(a_servant); poa = a_poa; if (poa != null) manager = poa.the_POAManager(); else manager = null; repository_ids = null; orb = ... | public gnuServantObject(Servant a_servant, byte[] an_id, ORB_1_4 an_orb, gnuPOA a_poa ) { Id = an_id; setServant(a_servant); poa = a_poa; if (poa != null) manager = poa.the_POAManager(); else manager = null; repository_ids = null; orb = ... | 33,204 |
protected InputContext() { } | protected InputContext() { } | 33,205 |
public void dispatchEvent(AWTEvent event) { if (im != null) im.dispatchEvent(event); } | public void dispatchEvent(AWTEvent event) { if (im != null) im.dispatchEvent(event); } | 33,206 |
public void dispose() { if (im != null) { im.deactivate(false); im.dispose(); } } | public void dispose() { if (im != null) { im.deactivate(false); im.dispose(); } } | 33,207 |
public void endComposition() { if (im != null) im.endComposition(); } | public void endComposition() { if (im != null) im.endComposition(); } | 33,208 |
public Object getInputMethodControlObject() { return im == null ? null : im.getControlObject(); } | public Object getInputMethodControlObject() { return im == null ? null : im.getControlObject(); } | 33,209 |
public static InputContext getInstance() { InputContext ic = new InputContext(); ic.selectInputMethod(Locale.getDefault()); return ic; } | public static InputContext getInstance() { InputContext ic = new InputContext(); ic.selectInputMethod(Locale.getDefault()); return ic; } | 33,210 |
public Locale getLocale() { return im == null ? null : im.getLocale(); } | public Locale getLocale() { return im == null ? null : im.getLocale(); } | 33,211 |
public boolean isCompositionEnabled() { if (im == null) throw new UnsupportedOperationException(); return im.isCompositionEnabled(); } | public boolean isCompositionEnabled() { if (im == null) throw new UnsupportedOperationException(); return im.isCompositionEnabled(); } | 33,212 |
public void reconvert() { if (im == null) throw new UnsupportedOperationException(); im.reconvert(); } | public void reconvert() { if (im == null) throw new UnsupportedOperationException(); im.reconvert(); } | 33,213 |
public void removeNotify(Component client) { // XXX What to do with client information? if (im != null) { im.deactivate(false); im.removeNotify(); } } | public void removeNotify(Component client) { // XXX What to do with client information? if (im != null) { im.deactivate(false); im.removeNotify(); } } | 33,214 |
public void removeNotify(Component client) { // XXX What to do with client information? if (im != null) { im.deactivate(false); im.removeNotify(); } } | public void removeNotify(Component client) { // XXX What to do with client information? if (im != null) { im.deactivate(false); im.removeNotify(); } } | 33,215 |
public boolean selectInputMethod(Locale locale) { if (im != null && im.setLocale(locale)) { recent.put(locale, im); return true; } InputMethod next = (InputMethod) recent.get(locale); outer : if (next != null) for (int i = 0, limit = descriptors.size(); i < limit; i++) { InputMethodDescriptor d = (InputMe... | public boolean selectInputMethod(Locale locale) { if (im != null && im.setLocale(locale)) { recent.put(locale, im); return true; } InputMethod next = (InputMethod) recent.get(locale); outer : if (next != null) for (int i = 0, limit = descriptors.size(); i < limit; i++) { InputMethodDescriptor d = (InputMe... | 33,216 |
public boolean selectInputMethod(Locale locale) { if (im != null && im.setLocale(locale)) { recent.put(locale, im); return true; } InputMethod next = (InputMethod) recent.get(locale); outer : if (next != null) for (int i = 0, limit = descriptors.size(); i < limit; i++) { InputMethodDescriptor d = (InputMe... | public boolean selectInputMethod(Locale locale) { if (im != null && im.setLocale(locale)) { recent.put(locale, im); return true; } InputMethod next = (InputMethod) recent.get(locale); outer : if (next != null) for (int i = 0, limit = descriptors.size(); i < limit; i++) { InputMethodDescriptor d = (InputMe... | 33,217 |
public boolean selectInputMethod(Locale locale) { if (im != null && im.setLocale(locale)) { recent.put(locale, im); return true; } InputMethod next = (InputMethod) recent.get(locale); outer : if (next != null) for (int i = 0, limit = descriptors.size(); i < limit; i++) { InputMethodDescriptor d = (InputMe... | public boolean selectInputMethod(Locale locale) { if (im != null && im.setLocale(locale)) { recent.put(locale, im); return true; } InputMethod next = (InputMethod) recent.get(locale); outer : if (next != null) for (int i = 0, limit = descriptors.size(); i < limit; i++) { InputMethodDescriptor d = (InputMe... | 33,218 |
public boolean selectInputMethod(Locale locale) { if (im != null && im.setLocale(locale)) { recent.put(locale, im); return true; } InputMethod next = (InputMethod) recent.get(locale); outer : if (next != null) for (int i = 0, limit = descriptors.size(); i < limit; i++) { InputMethodDescriptor d = (InputMe... | public boolean selectInputMethod(Locale locale) { if (im != null && im.setLocale(locale)) { recent.put(locale, im); return true; } InputMethod next = (InputMethod) recent.get(locale); outer : if (next != null) for (int i = 0, limit = descriptors.size(); i < limit; i++) { InputMethodDescriptor d = (InputMe... | 33,219 |
public boolean selectInputMethod(Locale locale) { if (im != null && im.setLocale(locale)) { recent.put(locale, im); return true; } InputMethod next = (InputMethod) recent.get(locale); outer : if (next != null) for (int i = 0, limit = descriptors.size(); i < limit; i++) { InputMethodDescriptor d = (InputMe... | public boolean selectInputMethod(Locale locale) { if (im != null && im.setLocale(locale)) { recent.put(locale, im); return true; } InputMethod next = (InputMethod) recent.get(locale); outer : if (next != null) for (int i = 0, limit = descriptors.size(); i < limit; i++) { InputMethodDescriptor d = (InputMe... | 33,220 |
public boolean selectInputMethod(Locale locale) { if (im != null && im.setLocale(locale)) { recent.put(locale, im); return true; } InputMethod next = (InputMethod) recent.get(locale); outer : if (next != null) for (int i = 0, limit = descriptors.size(); i < limit; i++) { InputMethodDescriptor d = (InputMe... | public boolean selectInputMethod(Locale locale) { if (im != null && im.setLocale(locale)) { recent.put(locale, im); return true; } InputMethod next = (InputMethod) recent.get(locale); outer : if (next != null) for (int i = 0, limit = descriptors.size(); i < limit; i++) { InputMethodDescriptor d = (InputMe... | 33,221 |
public boolean selectInputMethod(Locale locale) { if (im != null && im.setLocale(locale)) { recent.put(locale, im); return true; } InputMethod next = (InputMethod) recent.get(locale); outer : if (next != null) for (int i = 0, limit = descriptors.size(); i < limit; i++) { InputMethodDescriptor d = (InputMe... | public boolean selectInputMethod(Locale locale) { if (im != null && im.setLocale(locale)) { recent.put(locale, im); return true; } InputMethod next = (InputMethod) recent.get(locale); outer : if (next != null) for (int i = 0, limit = descriptors.size(); i < limit; i++) { InputMethodDescriptor d = (InputMe... | 33,222 |
public boolean selectInputMethod(Locale locale) { if (im != null && im.setLocale(locale)) { recent.put(locale, im); return true; } InputMethod next = (InputMethod) recent.get(locale); outer : if (next != null) for (int i = 0, limit = descriptors.size(); i < limit; i++) { InputMethodDescriptor d = (InputMe... | public boolean selectInputMethod(Locale locale) { if (im != null && im.setLocale(locale)) { recent.put(locale, im); return true; } InputMethod next = (InputMethod) recent.get(locale); outer : if (next != null) for (int i = 0, limit = descriptors.size(); i < limit; i++) { InputMethodDescriptor d = (InputMe... | 33,223 |
public void setCharacterSubsets(Character.Subset[] subsets) { this.subsets = subsets; if (im != null) im.setCharacterSubsets(subsets); } | public void setCharacterSubsets(Character.Subset[] subsets) { this.subsets = subsets; if (im != null) im.setCharacterSubsets(subsets); } | 33,224 |
public void setCompositionEnabled(boolean enable) { if (im == null) throw new UnsupportedOperationException(); im.setCompositionEnabled(enable); } | public void setCompositionEnabled(boolean enable) { if (im == null) throw new UnsupportedOperationException(); im.setCompositionEnabled(enable); } | 33,225 |
public SwingPanelPeer(SwingToolkit toolkit, Panel panel) { super(toolkit, panel, new SwingPanel(panel)); final SwingPanel jPanel = (SwingPanel) jComponent; SwingToolkit.add(panel, jPanel); SwingToolkit.copyAwtProperties(panel, jPanel); jComponent.setLayout(new SwingContainerLayout(this)); } | public SwingPanelPeer(SwingToolkit toolkit, Panel panel) { super(toolkit, panel, new SwingPanel(panel)); final SwingPanel jPanel = (SwingPanel) jComponent; SwingToolkit.add(panel, jPanel); SwingToolkit.copyAwtProperties(panel, jPanel); jComponent.setLayout(new SwingContainerLayout(this)); } | 33,226 |
public static void bind(String name, Remote obj) throws AlreadyBoundException, MalformedURLException, RemoteException { URL u = new URL("http:" + name); String filename = u.getFile(); // If the filename begins with a slash we must cut it for // name resolution. if (filename.charAt(0) == '/') getRegistry(u).bind(filena... | public static void bind(String name, Remote obj) throws AlreadyBoundException, MalformedURLException, RemoteException { URL u = new URL("http:" + name); String filename = u.getFile(); // If the filename begins with a slash we must cut it for // name resolution. if (filename.charAt(0) == '/') getRegistry(u).bind(filena... | 33,227 |
public static String[] list(String name) throws RemoteException, MalformedURLException { return (getRegistry(new URL("http:" + name)).list());} | public static String[] list(String name) throws RemoteException, MalformedURLException { return (getRegistry(new URL("http:" + name)).list());} | 33,228 |
public static Remote lookup(String name) throws NotBoundException, MalformedURLException, RemoteException { // hack to accept "rmi://host:port/service" strings if(name.startsWith("rmi:")){ name = name.substring(4); } URL u = new URL("http:" + name); String filename = u.getFile(); // If the filename begins with a slash ... | public static Remote lookup(String name) throws NotBoundException, MalformedURLException, RemoteException { // hack to accept "rmi://host:port/service" strings if(name.startsWith("rmi:")){ name = name.substring(4); } URL u = new URL("http:" + name); String filename = u.getFile(); // If the filename begins with a slash ... | 33,229 |
public static void rebind(String name, Remote obj) throws RemoteException, MalformedURLException { URL u = new URL("http:" + name); String filename = u.getFile(); // If the filename begins with a slash we must cut it for // name resolution. if (filename.charAt(0) == '/') getRegistry(u).rebind(filename.substring(1), ob... | public static void rebind(String name, Remote obj) throws RemoteException, MalformedURLException { URL u = new URL("http:" + name); String filename = u.getFile(); // If the filename begins with a slash we must cut it for // name resolution. if (filename.charAt(0) == '/') getRegistry(u).rebind(filename.substring(1), ob... | 33,230 |
public static void unbind(String name) throws RemoteException, NotBoundException, MalformedURLException { URL u = new URL("http:" + name); String filename = u.getFile(); // If the filename begins with a slash we must cut it for // name resolution. if (filename.charAt(0) == '/') getRegistry(u).unbind(filename.substring... | public static void unbind(String name) throws RemoteException, NotBoundException, MalformedURLException { URL u = new URL("http:" + name); String filename = u.getFile(); // If the filename begins with a slash we must cut it for // name resolution. if (filename.charAt(0) == '/') getRegistry(u).unbind(filename.substring... | 33,231 |
protected InitialContext (boolean lazy) throws NamingException { if (! lazy) init (null); } | protected InitialContext (boolean lazy) throws NamingException { if (! lazy) init (null); } | 33,232 |
protected InitialContext (boolean lazy) throws NamingException { if (! lazy) init (null); } | protected InitialContext (boolean lazy) throws NamingException { if (! lazy) init (null); } | 33,233 |
protected Context getURLOrDefaultInitCtx (Name name) throws NamingException { if (name.size () > 0) return getURLOrDefaultInitCtx (name.get (0)); else return getDefaultInitCtx (); } | protected Context getURLOrDefaultInitCtx (Name name) throws NamingException { if (name.size () > 0) return getURLOrDefaultInitCtx (name.get (0)); else return getDefaultInitCtx (); } | 33,234 |
protected Context getURLOrDefaultInitCtx (Name name) throws NamingException { if (name.size () > 0) return getURLOrDefaultInitCtx (name.get (0)); else return getDefaultInitCtx (); } | protected Context getURLOrDefaultInitCtx (Name name) throws NamingException { if (name.size () > 0) return getURLOrDefaultInitCtx (name.get (0)); else return getDefaultInitCtx (); } | 33,235 |
protected Context getURLOrDefaultInitCtx (Name name) throws NamingException { if (name.size () > 0) return getURLOrDefaultInitCtx (name.get (0)); else return getDefaultInitCtx (); } | protected Context getURLOrDefaultInitCtx (Name name) throws NamingException { if (name.size () > 0) return getURLOrDefaultInitCtx (name.get (0)); else return getDefaultInitCtx(); } | 33,236 |
protected void changeState(int stateflag, boolean b) { int oldstate = stateMask; int newstate; if (b) newstate = oldstate | stateflag; else newstate = oldstate & ~stateflag; if (oldstate == newstate) return; if ((stateflag != SELECTED) && (stateflag != ENABLED) && (s... | protected void changeState(int stateflag, boolean b) { int oldstate = stateMask; int newstate; if (b) newstate = oldstate | stateflag; else newstate = oldstate & ~ stateflag; if (oldstate == newstate) return; if ((stateflag != SELECTED) && (stateflag != ENABLED) && (... | 33,237 |
protected void changeState(int stateflag, boolean b) { int oldstate = stateMask; int newstate; if (b) newstate = oldstate | stateflag; else newstate = oldstate & ~stateflag; if (oldstate == newstate) return; if ((stateflag != SELECTED) && (stateflag != ENABLED) && (s... | protected void changeState(int stateflag, boolean b) { int oldstate = stateMask; int newstate; if (b) newstate = oldstate | stateflag; else newstate = oldstate & ~stateflag; if (oldstate == newstate) return; if ((stateflag != SELECTED) && (stateflag != ENABLED) && (s... | 33,238 |
protected void changeState(int stateflag, boolean b) { int oldstate = stateMask; int newstate; if (b) newstate = oldstate | stateflag; else newstate = oldstate & ~stateflag; if (oldstate == newstate) return; if ((stateflag != SELECTED) && (stateflag != ENABLED) && (s... | protected void changeState(int stateflag, boolean b) { int oldstate = stateMask; int newstate; if (b) newstate = oldstate | stateflag; else newstate = oldstate & ~stateflag; if (oldstate == newstate) return; if ((stateflag != SELECTED) && (stateflag != ENABLED) && (s... | 33,239 |
protected void changeState(int stateflag, boolean b) { int oldstate = stateMask; int newstate; if (b) newstate = oldstate | stateflag; else newstate = oldstate & ~stateflag; if (oldstate == newstate) return; if ((stateflag != SELECTED) && (stateflag != ENABLED) && (s... | protected void changeState(int stateflag, boolean b) { int oldstate = stateMask; int newstate; if (b) newstate = oldstate | stateflag; else newstate = oldstate & ~stateflag; if (oldstate == newstate) return; if ((stateflag != SELECTED) && (stateflag != ENABLED) && (s... | 33,240 |
protected void changeState(int stateflag, boolean b) { int oldstate = stateMask; int newstate; if (b) newstate = oldstate | stateflag; else newstate = oldstate & ~stateflag; if (oldstate == newstate) return; if ((stateflag != SELECTED) && (stateflag != ENABLED) && (s... | protected void changeState(int stateflag, boolean b) { int oldstate = stateMask; int newstate; if (b) newstate = oldstate | stateflag; else newstate = oldstate & ~stateflag; if (oldstate == newstate) return; if ((stateflag != SELECTED) && (stateflag != ENABLED) && (s... | 33,241 |
protected void changeState(int stateflag, boolean b) { int oldstate = stateMask; int newstate; if (b) newstate = oldstate | stateflag; else newstate = oldstate & ~stateflag; if (oldstate == newstate) return; if ((stateflag != SELECTED) && (stateflag != ENABLED) && (s... | protected void changeState(int stateflag, boolean b) { int oldstate = stateMask; int newstate; if (b) newstate = oldstate | stateflag; else newstate = oldstate & ~stateflag; if (oldstate == newstate) return; if ((stateflag != SELECTED) && (stateflag != ENABLED) && (s... | 33,242 |
public static TypeCode type() { ORB orb = Restricted_ORB.Singleton; return orb.create_alias_tc(id(), "FieldName", orb.create_string_tc(0)); } | public static TypeCode type() { ORB orb = OrbRestricted.Singleton; return orb.create_alias_tc(id(), "FieldName", orb.create_string_tc(0)); } | 33,244 |
public MappedByteBufferImpl (RawData address, int size, boolean readOnly) throws IOException { super(size, size, 0, -1); this.address = address; this.readOnly = readOnly; } | public MappedByteBufferImpl(RawData address, int size, boolean readOnly) throws IOException { super(size, size, 0, -1); this.address = address; this.readOnly = readOnly; } | 33,245 |
public CharBuffer asCharBuffer () { return new CharViewBufferImpl (this, remaining() >> 1); } | public CharBuffer asCharBuffer() { return new CharViewBufferImpl (this, remaining() >> 1); } | 33,246 |
public CharBuffer asCharBuffer () { return new CharViewBufferImpl (this, remaining() >> 1); } | public CharBuffer asCharBuffer () { return new CharViewBufferImpl(this, remaining() >> 1); } | 33,247 |
public DoubleBuffer asDoubleBuffer () { return new DoubleViewBufferImpl (this, remaining() >> 3); } | public DoubleBuffer asDoubleBuffer() { return new DoubleViewBufferImpl (this, remaining() >> 3); } | 33,248 |
public DoubleBuffer asDoubleBuffer () { return new DoubleViewBufferImpl (this, remaining() >> 3); } | public DoubleBuffer asDoubleBuffer () { return new DoubleViewBufferImpl(this, remaining() >> 3); } | 33,249 |
public FloatBuffer asFloatBuffer () { return new FloatViewBufferImpl (this, remaining() >> 2); } | public FloatBuffer asFloatBuffer() { return new FloatViewBufferImpl (this, remaining() >> 2); } | 33,250 |
public FloatBuffer asFloatBuffer () { return new FloatViewBufferImpl (this, remaining() >> 2); } | public FloatBuffer asFloatBuffer () { return new FloatViewBufferImpl(this, remaining() >> 2); } | 33,251 |
public IntBuffer asIntBuffer () { return new IntViewBufferImpl (this, remaining() >> 2); } | public IntBuffer asIntBuffer() { return new IntViewBufferImpl (this, remaining() >> 2); } | 33,252 |
public IntBuffer asIntBuffer () { return new IntViewBufferImpl (this, remaining() >> 2); } | public IntBuffer asIntBuffer () { return new IntViewBufferImpl(this, remaining() >> 2); } | 33,253 |
public LongBuffer asLongBuffer () { return new LongViewBufferImpl (this, remaining() >> 3); } | public LongBuffer asLongBuffer() { return new LongViewBufferImpl (this, remaining() >> 3); } | 33,254 |
public LongBuffer asLongBuffer () { return new LongViewBufferImpl (this, remaining() >> 3); } | public LongBuffer asLongBuffer () { return new LongViewBufferImpl(this, remaining() >> 3); } | 33,255 |
public ByteBuffer asReadOnlyBuffer () { return duplicate(true); } | public ByteBuffer asReadOnlyBuffer() { return duplicate(true); } | 33,256 |
public ShortBuffer asShortBuffer () { return new ShortViewBufferImpl (this, remaining() >> 1); } | public ShortBuffer asShortBuffer() { return new ShortViewBufferImpl (this, remaining() >> 1); } | 33,257 |
public ShortBuffer asShortBuffer () { return new ShortViewBufferImpl (this, remaining() >> 1); } | public ShortBuffer asShortBuffer () { return new ShortViewBufferImpl(this, remaining() >> 1); } | 33,258 |
public ByteBuffer compact () { int pos = position(); if (pos > 0) { int count = remaining(); // Call shiftDown method optimized for direct buffers. DirectByteBufferImpl.shiftDown(address, 0, pos, count); position(count); limit(capacity()); } return this; } | public ByteBuffer compact() { int pos = position(); if (pos > 0) { int count = remaining(); // Call shiftDown method optimized for direct buffers. DirectByteBufferImpl.shiftDown(address, 0, pos, count); position(count); limit(capacity()); } return this; } | 33,259 |
public ByteBuffer compact () { int pos = position(); if (pos > 0) { int count = remaining(); // Call shiftDown method optimized for direct buffers. DirectByteBufferImpl.shiftDown(address, 0, pos, count); position(count); limit(capacity()); } return this; } | public ByteBuffer compact () { int pos = position(); if (pos > 0) { int count = remaining(); // Call shiftDown method optimized for direct buffers. DirectByteBufferImpl.shiftDown(address, 0, pos, count); position(count); limit(capacity()); } return this; } | 33,260 |
private ByteBuffer duplicate (boolean readOnly) { int pos = position(); reset(); int mark = position(); position(pos); DirectByteBufferImpl result = new DirectByteBufferImpl (this, address, capacity (), limit (), pos, readOnly); if (mark != pos) { result.position(mark); result.mark()... | private ByteBuffer duplicate(boolean readOnly) { int pos = position(); reset(); int mark = position(); position(pos); DirectByteBufferImpl result = new DirectByteBufferImpl (this, address, capacity (), limit (), pos, readOnly); if (mark != pos) { result.position(mark); result.mark();... | 33,261 |
private ByteBuffer duplicate (boolean readOnly) { int pos = position(); reset(); int mark = position(); position(pos); DirectByteBufferImpl result = new DirectByteBufferImpl (this, address, capacity (), limit (), pos, readOnly); if (mark != pos) { result.position(mark); result.mark()... | private ByteBuffer duplicate (boolean readOnly) { int pos = position(); reset(); int mark = position(); position(pos); DirectByteBufferImpl result = new DirectByteBufferImpl (this, address, capacity (), limit (), pos, readOnly); if (mark != pos) { result.position(mark); result.mark()... | 33,262 |
public byte get () { checkForUnderflow(); int pos = position(); byte result = DirectByteBufferImpl.getImpl(address, pos); position (pos + 1); return result; } | public byte get() { checkForUnderflow(); int pos = position(); byte result = DirectByteBufferImpl.getImpl(address, pos); position (pos + 1); return result; } | 33,263 |
public byte get () { checkForUnderflow(); int pos = position(); byte result = DirectByteBufferImpl.getImpl(address, pos); position (pos + 1); return result; } | public byte get () { checkForUnderflow(); int pos = position(); byte result = DirectByteBufferImpl.getImpl(address, pos); position (pos + 1); return result; } | 33,264 |
public char getChar () { return ByteBufferHelper.getChar(this, order()); } | public char getChar() { return ByteBufferHelper.getChar(this, order()); } | 33,265 |
public double getDouble () { return ByteBufferHelper.getDouble (this, order()); } | public double getDouble() { return ByteBufferHelper.getDouble (this, order()); } | 33,266 |
public double getDouble () { return ByteBufferHelper.getDouble (this, order()); } | public double getDouble () { return ByteBufferHelper.getDouble(this, order()); } | 33,267 |
public float getFloat () { return ByteBufferHelper.getFloat (this, order()); } | public float getFloat() { return ByteBufferHelper.getFloat (this, order()); } | 33,268 |
public float getFloat () { return ByteBufferHelper.getFloat (this, order()); } | public float getFloat () { return ByteBufferHelper.getFloat(this, order()); } | 33,269 |
public int getInt () { return ByteBufferHelper.getInt(this, order()); } | public int getInt() { return ByteBufferHelper.getInt(this, order()); } | 33,270 |
public long getLong () { return ByteBufferHelper.getLong(this, order()); } | public long getLong() { return ByteBufferHelper.getLong(this, order()); } | 33,271 |
public short getShort () { return ByteBufferHelper.getShort(this, order()); } | public short getShort() { return ByteBufferHelper.getShort(this, order()); } | 33,272 |
public boolean isDirect () { return true; } | public boolean isDirect() { return true; } | 33,273 |
public boolean isReadOnly () { return readOnly; } | public boolean isReadOnly() { return readOnly; } | 33,274 |
public ByteBuffer put (byte value) { checkIfReadOnly(); checkForOverflow(); int pos = position(); DirectByteBufferImpl.putImpl(address, pos, value); position(pos + 1); return this; } | public ByteBuffer put(byte value) { checkIfReadOnly(); checkForOverflow(); int pos = position(); DirectByteBufferImpl.putImpl(address, pos, value); position(pos + 1); return this; } | 33,275 |
public ByteBuffer put (byte value) { checkIfReadOnly(); checkForOverflow(); int pos = position(); DirectByteBufferImpl.putImpl(address, pos, value); position(pos + 1); return this; } | public ByteBuffer put (byte value) { checkIfReadOnly(); checkForOverflow(); int pos = position(); VMDirectByteBuffer.put(address, pos, value); position(pos + 1); return this; } | 33,276 |
public ByteBuffer putChar (char value) { ByteBufferHelper.putChar(this, value, order()); return this; } | public ByteBuffer putChar(char value) { ByteBufferHelper.putChar(this, value, order()); return this; } | 33,277 |
public ByteBuffer putDouble (double value) { ByteBufferHelper.putDouble (this, value, order()); return this; } | public ByteBuffer putDouble(double value) { ByteBufferHelper.putDouble (this, value, order()); return this; } | 33,278 |
public ByteBuffer putDouble (double value) { ByteBufferHelper.putDouble (this, value, order()); return this; } | public ByteBuffer putDouble (double value) { ByteBufferHelper.putDouble(this, value, order()); return this; } | 33,279 |
public ByteBuffer putFloat (float value) { ByteBufferHelper.putFloat (this, value, order()); return this; } | public ByteBuffer putFloat(float value) { ByteBufferHelper.putFloat (this, value, order()); return this; } | 33,280 |
public ByteBuffer putFloat (float value) { ByteBufferHelper.putFloat (this, value, order()); return this; } | public ByteBuffer putFloat (float value) { ByteBufferHelper.putFloat(this, value, order()); return this; } | 33,281 |
public ByteBuffer putInt (int value) { ByteBufferHelper.putInt(this, value, order()); return this; } | public ByteBuffer putInt(int value) { ByteBufferHelper.putInt(this, value, order()); return this; } | 33,282 |
public ByteBuffer putLong (long value) { ByteBufferHelper.putLong (this, value, order()); return this; } | public ByteBuffer putLong(long value) { ByteBufferHelper.putLong (this, value, order()); return this; } | 33,283 |
public ByteBuffer putLong (long value) { ByteBufferHelper.putLong (this, value, order()); return this; } | public ByteBuffer putLong (long value) { ByteBufferHelper.putLong(this, value, order()); return this; } | 33,284 |
public ByteBuffer putShort (short value) { ByteBufferHelper.putShort(this, value, order()); return this; } | public ByteBuffer putShort(short value) { ByteBufferHelper.putShort(this, value, order()); return this; } | 33,285 |
public ByteBuffer slice () { int rem = remaining(); return new DirectByteBufferImpl (this, DirectByteBufferImpl .adjustAddress(address, position()), rem, rem, 0, isReadOnly ()); } | public ByteBuffer slice() { int rem = remaining(); return new DirectByteBufferImpl (this, DirectByteBufferImpl .adjustAddress(address, position()), rem, rem, 0, isReadOnly ()); } | 33,286 |
public ByteBuffer slice () { int rem = remaining(); return new DirectByteBufferImpl (this, DirectByteBufferImpl .adjustAddress(address, position()), rem, rem, 0, isReadOnly ()); } | public ByteBuffer slice () { int rem = remaining(); return new DirectByteBufferImpl (this, DirectByteBufferImpl .adjustAddress(address, position()), rem, rem, 0, isReadOnly ()); } | 33,287 |
private void executeMethods(ByteBuffer bb, DataOutputStream os) throws JdwpException, IOException { ReferenceTypeId refId = idMan.readReferenceTypeId(bb); Class clazz = refId.getType(); Method[] methods = clazz.getMethods(); os.writeInt(methods.length); for (int i = 0; i < methods.length; i++) ... | private void executeMethods(ByteBuffer bb, DataOutputStream os) throws JdwpException, IOException { ClassReferenceTypeId refId = (ClassReferenceTypeId) idMan.readReferenceTypeId(bb); Class clazz = refId.getType(); Method[] methods = clazz.getMethods(); os.writeInt(methods.length); for (int i = 0; i... | 33,288 |
private void executeMethods(ByteBuffer bb, DataOutputStream os) throws JdwpException, IOException { ReferenceTypeId refId = idMan.readReferenceTypeId(bb); Class clazz = refId.getType(); Method[] methods = clazz.getMethods(); os.writeInt(methods.length); for (int i = 0; i < methods.length; i++) ... | private void executeMethods(ByteBuffer bb, DataOutputStream os) throws JdwpException, IOException { ReferenceTypeId refId = idMan.readReferenceTypeId(bb); Class clazz = refId.getType(); Method[] methods = clazz.getMethods(); os.writeInt(methods.length); for (int i = 0; i < methods.length; i++) ... | 33,289 |
private void executeMethods(ByteBuffer bb, DataOutputStream os) throws JdwpException, IOException { ReferenceTypeId refId = idMan.readReferenceTypeId(bb); Class clazz = refId.getType(); Method[] methods = clazz.getMethods(); os.writeInt(methods.length); for (int i = 0; i < methods.length; i++) ... | private void executeMethods(ByteBuffer bb, DataOutputStream os) throws JdwpException, IOException { ReferenceTypeId refId = idMan.readReferenceTypeId(bb); Class clazz = refId.getType(); Method[] methods = clazz.getMethods(); os.writeInt(methods.length); for (int i = 0; i < methods.length; i++) ... | 33,290 |
private void executeMethods(ByteBuffer bb, DataOutputStream os) throws JdwpException, IOException { ReferenceTypeId refId = idMan.readReferenceTypeId(bb); Class clazz = refId.getType(); Method[] methods = clazz.getMethods(); os.writeInt(methods.length); for (int i = 0; i < methods.length; i++) ... | private void executeMethods(ByteBuffer bb, DataOutputStream os) throws JdwpException, IOException { ReferenceTypeId refId = idMan.readReferenceTypeId(bb); Class clazz = refId.getType(); Method[] methods = clazz.getMethods(); os.writeInt(methods.length); for (int i = 0; i < methods.length; i++) ... | 33,291 |
public byte get () { checkForUnderflow(); byte result = backing_buffer [position () + array_offset]; position (position () + 1); return result; } | public byte get () { if (pos >= limit) throw new BufferUnderflowException(); byte result = backing_buffer [position () + array_offset]; position (position () + 1); return result; } | 33,292 |
public byte get () { checkForUnderflow(); byte result = backing_buffer [position () + array_offset]; position (position () + 1); return result; } | public byte get () { checkForUnderflow(); byte result = backing_buffer [position () + array_offset]; position (position () + 1); return result; } | 33,293 |
public ByteBuffer put (byte value) { checkIfReadOnly(); checkForOverflow(); int pos = position(); backing_buffer [pos + array_offset] = value; position (pos + 1); return this; } | public ByteBuffer put (byte[] src, int offset, int length) { checkIfReadOnly(); checkForOverflow(); int pos = position(); backing_buffer [pos + array_offset] = value; position (pos + 1); return this; } | 33,294 |
public ByteBuffer put (byte value) { checkIfReadOnly(); checkForOverflow(); int pos = position(); backing_buffer [pos + array_offset] = value; position (pos + 1); return this; } | public ByteBuffer put (byte value) { checkIfReadOnly(); checkForOverflow(); int pos = position(); backing_buffer [pos + array_offset] = value; position (pos + 1); return this; } | 33,295 |
public ByteBuffer put (byte value) { checkIfReadOnly(); checkForOverflow(); int pos = position(); backing_buffer [pos + array_offset] = value; position (pos + 1); return this; } | public ByteBuffer put (byte value) { checkIfReadOnly(); checkForOverflow(); int pos = position(); backing_buffer [pos + array_offset] = value; position (pos + 1); return this; } | 33,296 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.