bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public ATObject meta_invoke(ATObject receiver, ATSymbol atSelector, ATTable arguments) throws InterpreterException { String jSelector = Reflection.upMetaLevelSelector(atSelector); try { return NATMirrorFactory._INSTANCE_.createMirror( Reflection.downObject( Reflection.upInvocation( principal_, ... | public ATObject meta_invoke(ATObject receiver, ATSymbol atSelector, ATTable arguments) throws InterpreterException { String jSelector = Reflection.upMetaLevelSelector(atSelector); try { return atValue( Reflection.downObject( Reflection.upInvocation( principal_, // implementor and self j... | 1,117,876 |
public ATObject meta_newInstance(ATTable init) throws XArityMismatch, XTypeMismatch { ATObject[] initargs = init.asNativeTable().elements_; if(initargs.length != 1) { ATObject reflectee = initargs[0]; return NATMirrorFactory._INSTANCE_.base_createMirror(reflectee); } else { throw new XArityMismatch("init", 1,... | public ATObject meta_newInstance(ATTable init) throws XArityMismatch, XTypeMismatch { ATObject[] initargs = init.asNativeTable().elements_; if(initargs.length != 1) { ATObject reflectee = initargs[0]; return atValue(reflectee); } else { throw new XArityMismatch("init", 1, initargs.length); } } | 1,117,877 |
public ATObject meta_resolve() throws InterpreterException { return NATMirrorFactory._INSTANCE_.base_createMirror(principal_); } | public ATObject meta_resolve() throws InterpreterException { return NATMirrorFactory._INSTANCE_.base_createMirror(principal_); } | 1,117,878 |
public ATObject meta_select(ATObject receiver, ATSymbol atSelector) throws InterpreterException { String jSelector = null; try { jSelector = Reflection.upMetaFieldAccessSelector(atSelector); return NATMirrorFactory._INSTANCE_.createMirror( Reflection.downObject(Reflection.upFieldSelection(principal_, jSele... | public ATObject meta_select(ATObject receiver, ATSymbol atSelector) throws InterpreterException { String jSelector = null; try { jSelector = Reflection.upMetaFieldAccessSelector(atSelector); return atValue( Reflection.downObject(Reflection.upFieldSelection(principal_, jSelector))); } catch (XSelectorNo... | 1,117,879 |
public ATObject meta_clone() throws NATException { return NATNil._INSTANCE_; } | public ATObject meta_clone() throws NATException { return NATMirror._PROTOTYPE_; } | 1,117,880 |
public static Object invokeJavaMethod ( Class jClass, Object jReceiver, String jSelector, Object[] jArguments) throws NATException { try { Method[] applicable = getMethodsForSelector(jClass, jSelector); switch(applicable.length) { case 0: throw new XSelectorNotFound(AGSymbol.alloc(jSelector), (ATO... | public static Object invokeJavaMethod ( Class jClass, Object jReceiver, String jSelector, Object[] jArguments) throws NATException { try { Method[] applicable = getMethodsForSelector(jClass, jSelector); switch(applicable.length) { case 0: throw new XSelectorNotFound(AGSymbol.alloc(jSelector), (ATO... | 1,117,881 |
public void addMethods(WebdavNsIntf nsIntf) throws WebdavException{ HashMap methods = nsIntf.getMethods(); super.addMethods(nsIntf); // Replace methods methods.put("MKCALENDAR", new CDMkcolMethod()); methods.put("REPORT", new ReportMethod()); } | public void addMethods(WebdavNsIntf nsIntf) throws WebdavException{ HashMap methods = nsIntf.getMethods(); super.addMethods(nsIntf); // Replace methods methods.put("MKCALENDAR", new MkcalendarMethod()); methods.put("REPORT", new ReportMethod()); } | 1,117,882 |
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { /** Check access */ if (!form.getAuthorisedUser()) { return "noAccess"; } CalSvcI svci = form.getCalSvcI(); /** User requested a category fro... | public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { /** Check access */ if (!form.getAuthorisedUser()) { return "noAccess"; } CalSvcI svci = form.getCalSvcI(); /** User requested a category fro... | 1,117,883 |
protected static void scaleYvalues(int[][] comp, LocalSeismogram seismogram, MicroSecondTimeRange tr, UnitRangeImpl ampRange, Dimension size) { LocalSeismogramImpl seis = (LocalSeismogramImpl)seismogram; double yMin = ampRange.getMinValue(); double yMax = ampRange.getMaxValue(); for( int i =0 ; i < co... | protected static void scaleYvalues(int[][] comp, LocalSeismogram seismogram, MicroSecondTimeRange tr, UnitRangeImpl ampRange, Dimension size) { LocalSeismogramImpl seis = (LocalSeismogramImpl)seismogram; double yMin = ampRange.getMinValue(); double yMax = ampRange.getMaxValue(); for( int i =0 ; i < co... | 1,117,884 |
public List getDataCenter(NetworkAccess net) { return getDataCenter(net.get_attributes().get_id()); } | public List getDataCenter(NetworkAccess net) { return getDataCenter(net.get_attributes().get_code()); } | 1,117,885 |
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { CalSvcI svci = form.fetchSvci(); boolean alerts = form.getAlertEvent(); /** Check access and set request parameters */ if (alerts) { if (!form.g... | public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { CalSvcI svci = form.fetchSvci(); boolean alerts = form.getAlertEvent(); /** Check access and set request parameters */ if (alerts) { if (!form.g... | 1,117,887 |
public Locale calculateLocale(FacesContext arg0) { return getParentViewHandler().calculateLocale(arg0); } | public Locale calculateLocale(FacesContext arg0) { IWContext iwc = IWContext.getIWContext(arg0); return iwc.getCurrentLocale(); } | 1,117,889 |
public UIViewRoot createView(FacesContext ctx, String viewId) { UIViewRoot ret = new UIViewRoot(); ret.setViewId(viewId); // TODO : Hack to allow unit tests to select empty views if(viewId.startsWith("unittesttree.")) { return ret; } try { Class descriptorClazz = getDescriptorClassNameForViewId(viewId);... | public UIViewRoot createView(FacesContext ctx, String viewId) { UIViewRoot ret = new UIViewRoot(); ret.setViewId(viewId); // TODO : Hack to allow unit tests to select empty views if(viewId.startsWith("unittesttree.")) { return ret; } try { Class descriptorClazz = getDescriptorClassNameForViewId(viewId);... | 1,117,890 |
public UIViewRoot createView(FacesContext ctx, String viewId) { UIViewRoot ret = new UIViewRoot(); ret.setViewId(viewId); // TODO : Hack to allow unit tests to select empty views if(viewId.startsWith("unittesttree.")) { return ret; } try { Class descriptorClazz = getDescriptorClassNameForViewId(viewId);... | public UIViewRoot createView(FacesContext ctx, String viewId) { UIViewRoot ret = new UIViewRoot(); ret.setViewId(viewId); // TODO : Hack to allow unit tests to select empty views if(viewId.startsWith("unittesttree.")) { return ret; } try { Class descriptorClazz = getDescriptorClassNameForViewId(viewId);... | 1,117,891 |
public UIViewRoot createView(FacesContext ctx, String viewId) { UIViewRoot ret = new UIViewRoot(); ret.setViewId(viewId); // TODO : Hack to allow unit tests to select empty views if(viewId.startsWith("unittesttree.")) { return ret; } try { Class descriptorClazz = getDescriptorClassNameForViewId(viewId);... | public UIViewRoot createView(FacesContext ctx, String viewId) { UIViewRoot ret = new UIViewRoot(); ret.setViewId(viewId); // TODO : Hack to allow unit tests to select empty views if(viewId.startsWith("unittesttree.")) { return ret; } try { Class descriptorClazz = getDescriptorClassNameForViewId(viewId);... | 1,117,892 |
public UIViewRoot createView(FacesContext ctx, String viewId) { UIViewRoot ret = new UIViewRoot(); ret.setViewId(viewId); // TODO : Hack to allow unit tests to select empty views if(viewId.startsWith("unittesttree.")) { return ret; } try { Class descriptorClazz = getDescriptorClassNameForViewId(viewId);... | public UIViewRoot createView(FacesContext ctx, String viewId) { UIViewRoot ret = new UIViewRoot(); ret.setViewId(viewId); // TODO : Hack to allow unit tests to select empty views if(viewId.startsWith("unittesttree.")) { return ret; } try { Class descriptorClazz = getDescriptorClassNameForViewId(viewId);... | 1,117,893 |
public void renderView(FacesContext ctx, UIViewRoot viewRoot) throws IOException, FacesException { // Apparently not all versions of tomcat have the same // default content-type. // So we'll set it explicitly. HttpServletResponse response = (HttpServletResponse) ctx.getExternalContext().getResponse(); response.se... | public void renderView(FacesContext ctx, UIViewRoot viewRoot) throws IOException, FacesException { // Apparently not all versions of tomcat have the same // default content-type. // So we'll set it explicitly. HttpServletResponse response = (HttpServletResponse) ctx.getExternalContext().getResponse(); response.se... | 1,117,894 |
public void renderView(FacesContext ctx, UIViewRoot viewRoot) throws IOException, FacesException { // Apparently not all versions of tomcat have the same // default content-type. // So we'll set it explicitly. HttpServletResponse response = (HttpServletResponse) ctx.getExternalContext().getResponse(); response.se... | public void renderView(FacesContext ctx, UIViewRoot viewRoot) throws IOException, FacesException { // Apparently not all versions of tomcat have the same // default content-type. // So we'll set it explicitly. HttpServletResponse response = (HttpServletResponse) ctx.getExternalContext().getResponse(); response.se... | 1,117,895 |
public void renderView(FacesContext ctx, UIViewRoot viewRoot) throws IOException, FacesException { // Apparently not all versions of tomcat have the same // default content-type. // So we'll set it explicitly. HttpServletResponse response = (HttpServletResponse) ctx.getExternalContext().getResponse(); response.se... | public void renderView(FacesContext ctx, UIViewRoot viewRoot) throws IOException, FacesException { // Apparently not all versions of tomcat have the same // default content-type. // So we'll set it explicitly. HttpServletResponse response = (HttpServletResponse) ctx.getExternalContext().getResponse(); response.se... | 1,117,896 |
public void commit() throws CalFacadeException { if (exc != null) { // Didn't hear me last time? throw new CalFacadeException(exc); } try { if (tx != null && !tx.wasCommitted() && !tx.wasRolledBack()) { tx.commit(); } tx = null; } catch (Throwable t) { ... | public void commit() throws CalFacadeException { if (exc != null) { // Didn't hear me last time? throw new CalFacadeException(exc); } try { if (tx != null && !tx.wasCommitted() && !tx.wasRolledBack()) { tx.commit(); } tx = null; } catch (Throwable t) { ... | 1,117,898 |
public void commit() throws CalFacadeException { if (exc != null) { // Didn't hear me last time? throw new CalFacadeException(exc); } try { if (tx != null && !tx.wasCommitted() && !tx.wasRolledBack()) { tx.commit(); } tx = null; } catch (Throwable t) { ... | public void commit() throws CalFacadeException { if (exc != null) { // Didn't hear me last time? throw new CalFacadeException(exc); try { if (tx != null && !tx.wasCommitted() && !tx.wasRolledBack()) { tx.commit(); tx = null; catch (Throwable t) { e... | 1,117,899 |
private void handleException(Throwable t) throws CalFacadeException { try { Logger log = getLogger(); if (log.isDebugEnabled()) { log.debug("handleException called"); log.error(this, t); } } catch (Throwable dummy) {} try { if (tx != null) { try { tx.rollback... | private void handleException(Throwable t) throws CalFacadeException { try { Logger log = getLogger(); if (log.isDebugEnabled()) { log.debug("handleException called"); log.error(this, t); } } catch (Throwable dummy) {} try { if (tx != null) { try { tx.rollback... | 1,117,901 |
public void rollback() throws CalFacadeException {/* if (exc != null) { // Didn't hear me last time? throw new CalFacadeException(exc); }*/ Logger log = getLogger(); if (log.isDebugEnabled()) { log.debug("Enter rollback"); } try { if (tx != null && !tx.wasCommitted() && ... | public void rollback() throws CalFacadeException {/* if (exc != null) { // Didn't hear me last time? throw new CalFacadeException(exc); }*/ Logger log = getLogger(); if (log.isDebugEnabled()) { log.debug("Enter rollback"); } try { if (tx != null && !tx.wasCommitted() && ... | 1,117,902 |
public void rollback() throws CalFacadeException {/* if (exc != null) { // Didn't hear me last time? throw new CalFacadeException(exc); }*/ Logger log = getLogger(); if (log.isDebugEnabled()) { log.debug("Enter rollback"); } try { if (tx != null && !tx.wasCommitted() && ... | public void rollback() throws CalFacadeException {/* if (exc != null) { // Didn't hear me last time? throw new CalFacadeException(exc); }*/ Logger log = getLogger(); if (log.isDebugEnabled()) { log.debug("Enter rollback"); } try { if (tx != null && !tx.wasCommitted() && ... | 1,117,903 |
private void rollbackException(Throwable t) { Logger log = getLogger(); if (log.isDebugEnabled()) { log.debug("HibSession: ", t); } log.error(this, t); } | private void rollbackException(Throwable t) { Logger log = getLogger(); if (log.isDebugEnabled()) { log.debug("HibSession: ", t); } log.error(this, t); } | 1,117,904 |
private void rollbackException(Throwable t) { Logger log = getLogger(); if (log.isDebugEnabled()) { log.debug("HibSession: ", t); } log.error(this, t); } | private void rollbackException(Throwable t) { Logger log = getLogger(); if (log.isDebugEnabled()) { log.debug("HibSession: ", t); } getLogger().error(this, t); } | 1,117,905 |
public void changeAccess(Object o, Collection aces) throws CalFacadeException { checkOpen(); throw new CalFacadeUnimplementedException(); } | public void changeAccess(BwShareableDbentity ent, Collection aces) throws CalFacadeException { checkOpen(); throw new CalFacadeUnimplementedException(); } | 1,117,906 |
public Collection getAces(Object o) throws CalFacadeException { checkOpen(); throw new CalFacadeUnimplementedException(); } | public Collection getAces(BwShareableDbentity ent) throws CalFacadeException { checkOpen(); throw new CalFacadeUnimplementedException(); } | 1,117,907 |
public void setData(HashMap newData){ Iterator e = newData.keySet().iterator(); while(e.hasNext()){ DataSetSeismogram curr = ((DataSetSeismogram)e.next()); this.addSeismogram(curr, ((MicroSecondDate)newData.get(curr))); } updateTimeSyncListeners(); } | public void setData(HashMap newData){ Iterator e = newData.keySet().iterator(); while(e.hasNext()){ DataSetSeismogram curr = ((DataSetSeismogram)e.next()); this.addSeismogram(curr); } updateTimeSyncListeners(); } | 1,117,910 |
public void setData(HashMap newData){ Iterator e = newData.keySet().iterator(); while(e.hasNext()){ DataSetSeismogram curr = ((DataSetSeismogram)e.next()); this.addSeismogram(curr, ((MicroSecondDate)newData.get(curr))); } updateTimeSyncListeners(); } | public void setData(HashMap newData){ Iterator e = newData.keySet().iterator(); while(e.hasNext()){ DataSetSeismogram curr = ((DataSetSeismogram)e.next()); this.addSeismogram(curr, ((MicroSecondDate)newData.get(curr))); } } | 1,117,911 |
public FissuresNamingService(org.omg.CORBA_2_3.ORB orb) { this.orb = orb; } | public FissuresNamingService(org.omg.CORBA_2_3.ORB orb) { this.orb = orb; } | 1,117,914 |
public TPosClient(IWApplicationContext iwc) throws Exception { init(iwc); } | public TPosClient(IWApplicationContext iwc, CreditCardMerchant merchant) throws Exception { this._merchant = merchant; init(iwc); } | 1,117,916 |
public String creditcardAuthorization(String nameOnCard, String cardnumber, String monthExpires, String yearExpires, String ccVerifyNumber, double amount, String currency, String referenceNumber) throws CreditCardAuthorizationException{ throw new CreditCardAuthorizationException("Unsupported"); } | public String creditcardAuthorization(String nameOnCard, String cardnumber, String monthExpires, String yearExpires, String ccVerifyNumber, double amount, String currency, String referenceNumber) throws CreditCardAuthorizationException{ return (doAuth(cardnumber, monthExpires, yearExpires, amount, currency, "5", nu... | 1,117,917 |
private String doAuth(String cardnumber, String monthExpires, String yearExpires, double amount, String currency, String transactionType, Object parentDataPK) throws TPosException { if(_client != null) { _client.setProperty(TPOS3Client.PN_USERID, _userId); _client.setProperty(TPOS3Client.PN_PASSWORD, _pas... | private String doAuth(String cardnumber, String monthExpires, String yearExpires, double amount, String currency, String transactionType, Object parentDataPK, String authRspID) throws TPosException { if(_client != null) { _client.setProperty(TPOS3Client.PN_USERID, _userId); _client.setProperty(TPOS3Client... | 1,117,918 |
private String doAuth(String cardnumber, String monthExpires, String yearExpires, double amount, String currency, String transactionType, Object parentDataPK) throws TPosException { if(_client != null) { _client.setProperty(TPOS3Client.PN_USERID, _userId); _client.setProperty(TPOS3Client.PN_PASSWORD, _pas... | private String doAuth(String cardnumber, String monthExpires, String yearExpires, double amount, String currency, String transactionType, Object parentDataPK) throws TPosException { if(_client != null) { _client.setProperty(TPOS3Client.PN_USERID, _userId); _client.setProperty(TPOS3Client.PN_PASSWORD, _pas... | 1,117,919 |
public String doRefund(String cardnumber, String monthExpires, String yearExpires, String ccVerifyNumber, double amount, String currency, Object parentDataPK, String captureProperties) throws TPosException { System.out.println("Warning : TPosClient is NOT using CVC number"); return doAuth(cardnumber, monthExpir... | public String doRefund(String cardnumber, String monthExpires, String yearExpires, String ccVerifyNumber, double amount, String currency, Object parentDataPK, String captureProperties) throws TPosException { System.out.println("Warning : TPosClient is NOT using CVC number"); return doAuth(cardnumber, monthExpir... | 1,117,920 |
public String doSale(String nameOnCard, String cardnumber, String monthExpires, String yearExpires, String ccVerifyNumber, double amount, String currency, String referenceNumber) throws TPosException { return (doAuth(cardnumber, monthExpires, yearExpires, amount, currency, "1", null)); } | public String doSale(String nameOnCard, String cardnumber, String monthExpires, String yearExpires, String ccVerifyNumber, double amount, String currency, String referenceNumber) throws TPosException { return (doAuth(cardnumber, monthExpires, yearExpires, amount, currency, "1", null, null)); } | 1,117,921 |
private void init(IWApplicationContext iwc) throws Exception{ _iwc = iwc; _iwb = iwc.getIWMainApplication().getBundle(IW_BUNDLE_IDENTIFIER); //if (_iwb != null) { // _iwrb = _iwb.getResourceBundle(iwc); //} String path = _iwb.getPropertiesRealPath(); if (path == null) { throw new Exception(... | private void init(IWApplicationContext iwc) throws Exception{ _iwc = iwc; _iwb = iwc.getIWMainApplication().getBundle(IW_BUNDLE_IDENTIFIER); //if (_iwb != null) { // _iwrb = _iwb.getResourceBundle(iwc); //} String path = _iwb.getPropertiesRealPath(); if (path == null) { throw new Exception(... | 1,117,922 |
private void init(IWApplicationContext iwc) throws Exception{ _iwc = iwc; _iwb = iwc.getIWMainApplication().getBundle(IW_BUNDLE_IDENTIFIER); //if (_iwb != null) { // _iwrb = _iwb.getResourceBundle(iwc); //} String path = _iwb.getPropertiesRealPath(); if (path == null) { throw new Exception(... | private void init(IWApplicationContext iwc) throws Exception{ _iwc = iwc; _iwb = iwc.getIWMainApplication().getBundle(IW_BUNDLE_IDENTIFIER); //if (_iwb != null) { // _iwrb = _iwb.getResourceBundle(iwc); //} String path = _iwb.getPropertiesRealPath(); if (path == null) { throw new Exception(... | 1,117,923 |
public String doAction(HttpServletRequest request, BwActionForm form) throws Throwable { int eventId = form.getEventId(); if (eventId < 0) { // Do nothing return "doNothing"; } EventInfo ei = form.getCalSvcI().getEvent(eventId); BwEvent ev = null; if (ei != null) { ... | public String doAction(HttpServletRequest request, BwActionForm form) throws Throwable { int eventId = form.getEventId(); if (eventId < 0) { // Do nothing return "doNothing"; } EventInfo ei = form.getCalSvcI().getEvent(eventId); BwEvent ev = null; if (ei != null) { ... | 1,117,924 |
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "notFound"; } CalSvcI svci = form.fetchSvci(); BwCalendar ca... | public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "notFound"; } CalSvcI svci = form.fetchSvci(); BwCalendar ca... | 1,117,925 |
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "notFound"; } CalSvcI svci = form.fetchSvci(); BwCalendar ca... | public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "notFound"; } CalSvcI svci = form.fetchSvci(); BwCalendar ca... | 1,117,926 |
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "notFound"; } CalSvcI svci = form.fetchSvci(); BwCalendar ca... | public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "notFound"; } CalSvcI svci = form.fetchSvci(); BwCalendar ca... | 1,117,927 |
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "notFound"; } CalSvcI svci = form.fetchSvci(); BwCalendar ca... | public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "notFound"; } CalSvcI svci = form.fetchSvci(); BwCalendar ca... | 1,117,928 |
public ChannelId[] getChannelIds() { SeismogramAttr[] seismogramAttrs = getSeismogramAttrs(); ChannelId[] channelIds = new ChannelId[seismogramAttrs.length]; for(int counter = 0; counter < seismogramAttrs.length; counter++) { channelIds[counter] = ((SeismogramAttrImpl)seismogramAttrs[counter]).getChannelID(); }... | public ChannelId[] getChannelIds() { SeismogramAttr[] seismogramAttrs = getSeismogramAttrs(); ChannelId[] channelIds = new ChannelId[seismogramAttrs.length]; for(int counter = 0; counter < seismogramAttrs.length; counter++) { channelIds[counter] = ((SeismogramAttrImpl)seismogramAttrs[counter]).getChannelID(); }... | 1,117,929 |
public ChannelId[] getChannelIds() { SeismogramAttr[] seismogramAttrs = getSeismogramAttrs(); ChannelId[] channelIds = new ChannelId[seismogramAttrs.length]; for(int counter = 0; counter < seismogramAttrs.length; counter++) { channelIds[counter] = ((SeismogramAttrImpl)seismogramAttrs[counter]).getChannelID(); }... | public ChannelId[] getChannelIds() { SeismogramAttr[] seismogramAttrs = getSeismogramAttrs(); ChannelId[] channelIds = new ChannelId[seismogramAttrs.length]; for(int counter = 0; counter < seismogramAttrs.length; counter++) { channelIds[counter] = ((SeismogramAttrImpl)seismogramAttrs[counter]).getChannelID(); }... | 1,117,930 |
private double dBinaryIndexSum(int start, int finish) { if (finish-start < 8) { double val = 0; for (int i=start; i< finish; i++) { val += i * dSeries[i]; } return val; } else { int middle = (start + finish) / 2; return d... | private double dBinaryIndexSum(int start, int finish) { if (finish-start < SPLIT_SUMMING_LIMIT) { double val = 0; for (int i=start; i< finish; i++) { val += i * dSeries[i]; } return val; } else { int middle = (start + finish) / 2; ... | 1,117,931 |
private double dBinarySum(int start, int finish) { if (finish-start < 8) { double val = 0; for (int i=start; i< finish; i++) { val += dSeries[i]; } return val; } else { int middle = (start + finish) / 2; return dBinarySum... | private double dBinarySum(int start, int finish) { if (finish-start < SPLIT_SUMMING_LIMIT) { double val = 0; for (int i=start; i< finish; i++) { val += dSeries[i]; } return val; } else { int middle = (start + finish) / 2; ... | 1,117,932 |
private double dBinarySumDevLag(int start, int finish, double mean, int lag) { if (finish-start < lag+8) { double val = 0; for (int i=start; i< finish && i<getLength()-lag; i++) { val += (dSeries[i]-mean)*(dSeries[i+lag]-mean); ... | private double dBinarySumDevLag(int start, int finish, double mean, int lag) { if (finish-start < lag+SPLIT_SUMMING_LIMIT) { double val = 0; for (int i=start; i< finish && i<getLength()-lag; i++) { val += (dSeries[i]-mean)*(dSeries[i+lag... | 1,117,933 |
private double dBinarySumDevSqr(int start, int finish, double mean) { if (finish-start < 8) { double val = 0; for (int i=start; i< finish; i++) { val += (dSeries[i]-mean)*(dSeries[i]-mean); } return val; } else { int middle = (start... | private double dBinarySumDevSqr(int start, int finish, double mean) { if (finish-start < SPLIT_SUMMING_LIMIT) { double val = 0; for (int i=start; i< finish; i++) { val += (dSeries[i]-mean)*(dSeries[i]-mean); } return val; } else { i... | 1,117,934 |
private double fBinaryIndexSum(int start, int finish) { if (finish-start < 8) { double val = 0; for (int i=start; i< finish; i++) { val += i * fSeries[i]; } return val; } else { int middle = (start + finish) / 2; return f... | private double fBinaryIndexSum(int start, int finish) { if (finish-start < SPLIT_SUMMING_LIMIT) { double val = 0; for (int i=start; i< finish; i++) { val += i * fSeries[i]; } return val; } else { int middle = (start + finish) / 2; ... | 1,117,935 |
private double fBinarySum(int start, int finish) { if (finish-start < 8) { double val = 0; for (int i=start; i< finish; i++) { val += fSeries[i]; } return val; } else { int middle = (start + finish) / 2; return fBinarySum... | private double fBinarySum(int start, int finish) { if (finish-start < SPLIT_SUMMING_LIMIT) { double val = 0; for (int i=start; i< finish; i++) { val += fSeries[i]; } return val; } else { int middle = (start + finish) / 2; ... | 1,117,936 |
private double fBinarySumDevLag(int start, int finish, double mean, int lag) { if (finish-start < lag+8) { double val = 0; for (int i=start; i< finish && i<getLength()-lag; i++) { val += (fSeries[i]-mean)*(fSeries[i+lag]-mean); ... | private double fBinarySumDevLag(int start, int finish, double mean, int lag) { if (finish-start < lag+SPLIT_SUMMING_LIMIT) { double val = 0; for (int i=start; i< finish && i<getLength()-lag; i++) { val += (fSeries[i]-mean)*(fSeries[i+lag... | 1,117,937 |
private double fBinarySumDevSqr(int start, int finish, double mean) { if (finish-start < 8) { double val = 0; for (int i=start; i< finish; i++) { val += (fSeries[i]-mean)*(fSeries[i]-mean); } return val; } else { int middle = (start... | private double fBinarySumDevSqr(int start, int finish, double mean) { if (finish-start < SPLIT_SUMMING_LIMIT) { double val = 0; for (int i=start; i< finish; i++) { val += (fSeries[i]-mean)*(fSeries[i]-mean); } return val; } else { i... | 1,117,938 |
private double iBinaryIndexSum(int start, int finish) { if (finish-start < 8) { double val = 0; for (int i=start; i< finish; i++) { val += i * iSeries[i]; } return val; } else { int middle = (start + finish) / 2; return i... | private double iBinaryIndexSum(int start, int finish) { if (finish-start < SPLIT_SUMMING_LIMIT) { double val = 0; for (int i=start; i< finish; i++) { val += i * iSeries[i]; } return val; } else { int middle = (start + finish) / 2; ... | 1,117,939 |
private double iBinarySum(int start, int finish) { if (finish-start < 8) { double val = 0; for (int i=start; i< finish; i++) { val += iSeries[i]; } return val; } else { int middle = (start + finish) / 2; return iBinarySum... | private double iBinarySum(int start, int finish) { if (finish-start < SPLIT_SUMMING_LIMIT) { double val = 0; for (int i=start; i< finish; i++) { val += iSeries[i]; } return val; } else { int middle = (start + finish) / 2; ... | 1,117,940 |
private double iBinarySumDevLag(int start, int finish, double mean, int lag) { if (finish-start < lag+8) { double val = 0; for (int i=start; i< finish && i<getLength()-lag; i++) { val += (iSeries[i]-mean)*(iSeries[i+lag]-mean); ... | private double iBinarySumDevLag(int start, int finish, double mean, int lag) { if (finish-start < lag+SPLIT_SUMMING_LIMIT) { double val = 0; for (int i=start; i< finish && i<getLength()-lag; i++) { val += (iSeries[i]-mean)*(iSeries[i+lag... | 1,117,941 |
private double iBinarySumDevSqr(int start, int finish, double mean) { if (finish-start < 8) { double val = 0; for (int i=start; i< finish; i++) { val += (iSeries[i]-mean)*(iSeries[i]-mean); } return val; } else { int middle = (start... | private double iBinarySumDevSqr(int start, int finish, double mean) { if (finish-start < SPLIT_SUMMING_LIMIT) { double val = 0; for (int i=start; i< finish; i++) { val += (iSeries[i]-mean)*(iSeries[i]-mean); } return val; } else { i... | 1,117,942 |
public double[] linearLeastSquares() { int n = getLength()-1; // use zero based, so n => n-1 int sumToN = n*(n+1)/2; int sumSqrToN = n*(n+1)*(2*n+1)/6; double sumValues = binarySum(0, getLength()); double indexSumValues = binaryIndexSum(0, getLength()); double d = (n+1)*sum... | public double[] linearLeastSquares() { int n = getLength()-1; // use zero based, so n => n-1 int sumToN = n*(n+1)/2; int sumSqrToN = n*(n+1)*(2*n+1)/6; double sumValues = binarySum(0, getLength()); double indexSumValues = binaryIndexSum(0, getLength()); double d = (n+1)*sum... | 1,117,943 |
private double sBinaryIndexSum(int start, int finish) { if (finish-start < 8) { double val = 0; for (int i=start; i< finish; i++) { val += i * sSeries[i]; } return val; } else { int middle = (start + finish) / 2; return s... | private double sBinaryIndexSum(int start, int finish) { if (finish-start < SPLIT_SUMMING_LIMIT) { double val = 0; for (int i=start; i< finish; i++) { val += i * sSeries[i]; } return val; } else { int middle = (start + finish) / 2; ... | 1,117,944 |
private double sBinarySum(int start, int finish) { if (finish-start < 8) { double val = 0; for (int i=start; i< finish; i++) { val += sSeries[i]; } return val; } else { int middle = (start + finish) / 2; return sBinarySum... | private double sBinarySum(int start, int finish) { if (finish-start < SPLIT_SUMMING_LIMIT) { double val = 0; for (int i=start; i< finish; i++) { val += sSeries[i]; } return val; } else { int middle = (start + finish) / 2; ... | 1,117,945 |
private double sBinarySumDevLag(int start, int finish, double mean, int lag) { if (finish-start < lag+8) { double val = 0; for (int i=start; i< finish && i<getLength()-lag; i++) { val += (sSeries[i]-mean)*(sSeries[i+lag]-mean); ... | private double sBinarySumDevLag(int start, int finish, double mean, int lag) { if (finish-start < lag+SPLIT_SUMMING_LIMIT) { double val = 0; for (int i=start; i< finish && i<getLength()-lag; i++) { val += (sSeries[i]-mean)*(sSeries[i+lag... | 1,117,946 |
private double sBinarySumDevSqr(int start, int finish, double mean) { if (finish-start < 8) { double val = 0; for (int i=start; i< finish; i++) { val += (sSeries[i]-mean)*(sSeries[i]-mean); } return val; } else { int middle = (start... | private double sBinarySumDevSqr(int start, int finish, double mean) { if (finish-start < SPLIT_SUMMING_LIMIT) { double val = 0; for (int i=start; i< finish; i++) { val += (sSeries[i]-mean)*(sSeries[i]-mean); } return val; } else { i... | 1,117,947 |
public PSNEventRecord(PSNHeader header, DataInputStream data) throws IOException{ dis = data; fixedHeader = header; varHeader = new PSNVariableHeader(dis, (int)header.getVarHeadLength()); readSampleData(); if(fixedHeader.getFlags() == 1){ if(dis.readShort() != 0){ ... | public PSNEventRecord(PSNHeader header, DataInputStream data) throws IOException{ dis = data; fixedHeader = header; varHeader = new PSNVariableHeader(dis, (int)header.getVarHeadLength()); readSampleData(); if(fixedHeader.getFlags() == 1){ if(dis.readShort() != 0){ ... | 1,117,948 |
public ATNil meta_addMethod(ATMethod method) throws NATException { ATSymbol name = method.base_getName(); if (methodDictionary_.containsKey(name)) { throw new XDuplicateSlot("method", name.getText().asNativeText().javaValue); } else { // first check whether the method dictionary is shared if (this.isFlagSe... | public ATNil meta_addMethod(ATMethod method) throws NATException { ATSymbol name = method.base_getName(); if (methodDictionary_.containsKey(name)) { throw new XDuplicateSlot("method", name.base_getText().asNativeText().javaValue); } else { // first check whether the method dictionary is shared if (this.isF... | 1,117,949 |
protected static int[][] compressYvalues(LocalSeismogram seismogram, TimePlotConfig config, Dimension size)throws UnsupportedDataEncoding { int[][] uncomp = scaleXvalues(seismogram, config, size); // enough points to take the extra time to compress the line int[][] comp = new int[... | protected static int[][] compressYvalues(LocalSeismogram seismogram, TimePlotConfig config, Dimension size)throws UnsupportedDataEncoding { int[][] uncomp = scaleXvalues(seismogram, config, size); // enough points to take the extra time to compress the line int[][] comp = new int[... | 1,117,950 |
protected static int[][] compressYvalues(LocalSeismogram seismogram, TimePlotConfig config, Dimension size)throws UnsupportedDataEncoding { int[][] uncomp = scaleXvalues(seismogram, config, size); // enough points to take the extra time to compress the line int[][] comp = new int[... | protected static int[][] compressYvalues(LocalSeismogram seismogram, TimePlotConfig config, Dimension size)throws UnsupportedDataEncoding { int[][] uncomp = scaleXvalues(seismogram, config, size); // enough points to take the extra time to compress the line int[][] comp = new int[... | 1,117,951 |
protected static int[][] scaleXvalues(LocalSeismogram seismogram, TimePlotConfig config, Dimension size) throws UnsupportedDataEncoding { LocalSeismogramImpl seis = (LocalSeismogramImpl)seismogram; int[][] out = new int[2][]; int seisIndex = 0; int pixelIndex = 0; int numAdded = 0; if ... | protected static int[][] scaleXvalues(LocalSeismogram seismogram, TimePlotConfig config, Dimension size) throws UnsupportedDataEncoding { LocalSeismogramImpl seis = (LocalSeismogramImpl)seismogram; int[][] out = new int[2][]; int seisIndex = 0; int pixelIndex = 0; int numAdded = 0; if ... | 1,117,953 |
public BwFreeBusy getFreeBusy(BwCalendar cal, BwPrincipal who, BwDateTime start, BwDateTime end, BwDuration granularity, boolean returnAll) throws CalFacadeException { if (!(who instanceof BwUser)) { throw ne... | public BwFreeBusy getFreeBusy(BwCalendar cal, BwPrincipal who, BwDateTime start, BwDateTime end, BwDuration granularity, boolean returnAll) throws CalFacadeException { if (!(who instanceof BwUser)) { throw ne... | 1,117,955 |
public BwFreeBusy getFreeBusy(BwCalendar cal, BwPrincipal who, BwDateTime start, BwDateTime end, BwDuration granularity, boolean returnAll) throws CalFacadeException { if (!(who instanceof BwUser)) { throw ne... | public BwFreeBusy getFreeBusy(BwCalendar cal, BwPrincipal who, BwDateTime start, BwDateTime end, BwDuration granularity, boolean returnAll) throws CalFacadeException { if (!(who instanceof BwUser)) { throw ne... | 1,117,956 |
public BwFreeBusy getFreeBusy(BwCalendar cal, BwPrincipal who, BwDateTime start, BwDateTime end, BwDuration granularity, boolean returnAll) throws CalFacadeException { if (!(who instanceof BwUser)) { throw ne... | public BwFreeBusy getFreeBusy(BwCalendar cal, BwPrincipal who, BwDateTime start, BwDateTime end, BwDuration granularity, boolean returnAll) throws CalFacadeException { if (!(who instanceof BwUser)) { throw ne... | 1,117,957 |
public void createParticleDisplay(BasicSeismogramDisplay creator){ if(particleDisplay == null){ logger.debug("creating particle display"); particleWindow = new JFrame(); LocalSeismogramImpl seis = (((LocalSeismogramImpl)((DataSetSeismogram)creator.getSeismograms().getFirst()).getSeismogram())); part... | public void createParticleDisplay(BasicSeismogramDisplay creator){ if(particleDisplay == null){ logger.debug("creating particle display"); particleWindow = new JFrame(); LocalSeismogramImpl seis = (((LocalSeismogramImpl)((DataSetSeismogram)creator.getSeismograms().getFirst()).getSeismogram())); part... | 1,117,958 |
public void createSelectionDisplay(BasicSeismogramDisplay creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); selectionWindow = new JFrame(); //selectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); selectionWindow.setSize(400, 220); JToolBar infoBar =... | public void createSelectionDisplay(BasicSeismogramDisplay creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); selectionWindow = new JFrame(); //selectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); selectionWindow.setSize(400, 220); JToolBar infoBar =... | 1,117,959 |
public void testDefaultAttrMap() { final String queryAttr = "uid"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr); LdapPersonAttributeDao impl = new LdapPersonAttributeDao(); Map ldapAttribsToPortalAttribs = new HashMap(); ldapAttr... | public void testDefaultAttrMap() { final String queryAttr = "uid"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr); LdapPersonAttributeDao impl = new LdapPersonAttributeDao(); Map ldapAttribsToPortalAttribs = new HashMap(); ldapAttr... | 1,117,961 |
public void testDefaultAttrMap() { final String queryAttr = "uid"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr); LdapPersonAttributeDao impl = new LdapPersonAttributeDao(); Map ldapAttribsToPortalAttribs = new HashMap(); ldapAttr... | public void testDefaultAttrMap() { final String queryAttr = "uid"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr); LdapPersonAttributeDao impl = new LdapPersonAttributeDao(); Map ldapAttribsToPortalAttribs = new HashMap(); ldapAttr... | 1,117,962 |
public void testInsufficientAttrQuery() { final String queryAttr1 = "uid"; final String queryAttr2 = "alias"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr1); queryAttrList.add(queryAttr2); LdapPersonAttributeDao impl = new LdapPersonAttri... | public void testInsufficientAttrQuery() { final String queryAttr1 = "uid"; final String queryAttr2 = "alias"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr1); queryAttrList.add(queryAttr2); LdapPersonAttributeDao impl = new LdapPersonAttri... | 1,117,963 |
public void testInvalidAttrMap() { final String queryAttr = "uid"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr); LdapPersonAttributeDao impl = new LdapPersonAttributeDao(); Map ldapAttribsToPortalAttribs = new HashMap(); ldapAttr... | public void testInvalidAttrMap() { final String queryAttr = "uid"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr); LdapPersonAttributeDao impl = new LdapPersonAttributeDao(); Map ldapAttribsToPortalAttribs = new HashMap(); ldapAttr... | 1,117,964 |
public void testMultiAttrQuery() { final String queryAttr1 = "uid"; final String queryAttr2 = "alias"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr1); queryAttrList.add(queryAttr2); LdapPersonAttributeDao impl = new LdapPersonAttributeDao... | public void testMultiAttrQuery() { final String queryAttr1 = "uid"; final String queryAttr2 = "alias"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr1); queryAttrList.add(queryAttr2); LdapPersonAttributeDao impl = new LdapPersonAttributeDao... | 1,117,965 |
public void testMultiAttrQuery() { final String queryAttr1 = "uid"; final String queryAttr2 = "alias"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr1); queryAttrList.add(queryAttr2); LdapPersonAttributeDao impl = new LdapPersonAttributeDao... | public void testMultiAttrQuery() { final String queryAttr1 = "uid"; final String queryAttr2 = "alias"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr1); queryAttrList.add(queryAttr2); LdapPersonAttributeDao impl = new LdapPersonAttributeDao... | 1,117,966 |
public void testSingleAttrQuery() { final String queryAttr = "uid"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr); LdapPersonAttributeDao impl = new LdapPersonAttributeDao(); Map ldapAttribsToPortalAttribs = new HashMap(); ldapAtt... | public void testSingleAttrQuery() { final String queryAttr = "uid"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr); LdapPersonAttributeDao impl = new LdapPersonAttributeDao(); Map ldapAttribsToPortalAttribs = new HashMap(); ldapAtt... | 1,117,967 |
public void testSingleAttrQuery() { final String queryAttr = "uid"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr); LdapPersonAttributeDao impl = new LdapPersonAttributeDao(); Map ldapAttribsToPortalAttribs = new HashMap(); ldapAtt... | public void testSingleAttrQuery() { final String queryAttr = "uid"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr); LdapPersonAttributeDao impl = new LdapPersonAttributeDao(); Map ldapAttribsToPortalAttribs = new HashMap(); ldapAtt... | 1,117,968 |
public void parse(Node nd) throws WebdavException { /* Either empty - show everything or comp + optional (expand-recurrence-set or limit-recurrence-set) */ NamedNodeMap nnm = nd.getAttributes(); if ((nnm != null) && (nnm.getLength() > 1)) { throw new Webdav... | public void parse(Node nd) throws WebdavException { /* Either empty - show everything or comp + optional (expand-recurrence-set or limit-recurrence-set) */ NamedNodeMap nnm = nd.getAttributes(); if ((nnm != null) && (nnm.getLength() > 1)) { throw new Webdav... | 1,117,969 |
public static Calendar getCalendar(String val) throws CalFacadeException { try { CalendarBuilder bldr = new CalendarBuilder(new CalendarParserImpl()); return bldr.build(new StringReader(val), true); } catch (Throwable t) { throw new CalFacadeException(t); } } | public static Calendar getCalendar(String val) throws CalFacadeException { try { CalendarBuilder bldr = new CalendarBuilder(new CalendarParserImpl()); UnfoldingReader ufrdr = new UnfoldingReader(new StringReader(val), true); return bldr.build(ufrdr); } catch (Throwable t) { throw new CalFacadeEx... | 1,117,972 |
AccessUtil(boolean superUser, boolean debug) throws CalFacadeException { this.superUser = superUser; this.debug = debug; try { access = new Access(debug); } catch (Throwable t) { throw new CalFacadeException(t); } } | AccessUtil(boolean superUser, boolean debug) throws CalFacadeException { this.superUser = superUser; this.debug = debug; try { access = new Access(debug); } catch (Throwable t) { throw new CalFacadeException(t); } } | 1,117,973 |
public EventProperties(CalintfImpl cal, String keyFieldName, String className, String refQuery, int minId, boolean debug) { this.cal = cal; this.keyFieldName = keyFieldName; this.className ... | public EventProperties(Calintf cal, AccessUtil access, BwUser user, String keyFieldName, String className, String refQuery, int minId, boolean debug) { this.cal = cal; this.keyFieldName = keyF... | 1,117,974 |
public EventProperties(CalintfImpl cal, String keyFieldName, String className, String refQuery, int minId, boolean debug) { this.cal = cal; this.keyFieldName = keyFieldName; this.className ... | public EventProperties(CalintfImpl cal, String keyFieldName, String className, String refQuery, int minId, boolean debug) { super(cal, access, user, debug); this.keyFieldName = keyFieldName; ... | 1,117,975 |
public EventProperties(CalintfImpl cal, String keyFieldName, String className, String refQuery, int minId, boolean debug) { this.cal = cal; this.keyFieldName = keyFieldName; this.className ... | public EventProperties(CalintfImpl cal, String keyFieldName, String className, String refQuery, int minId, boolean debug) { this.cal = cal; this.keyFieldName = keyFieldName; this.className ... | 1,117,976 |
CalTimezonesImpl(Calintf cal, BwStats stats, boolean publicAdmin, boolean debug) throws CalFacadeException { this.cal = cal; this.stats = (BwRWStats)stats; this.publicAdmin = publicAdmin; this.debug = debug; // Force fetch of timezones //lookup("not-a-timezone"); } | CalTimezonesImpl(Calintf cal, BwStats stats, boolean publicAdmin, boolean debug) throws CalFacadeException { this.cal = cal; this.stats = (BwRWStats)stats; this.publicAdmin = publicAdmin; // Force fetch of timezones //lookup("not-a-timezone"); } | 1,117,977 |
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (!form.getUserAuth().isSuperUser()) { return "noAccess"; // First line of defence } CalSvc... | public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (!form.getUserAuth().isSuperUser()) { return "noAccess"; // First line of defence } CalSvc... | 1,117,978 |
public boolean init(String url, String authenticatedUser, String user, boolean publicAdmin, Groups groups, String synchId, boolean debug) throws CalFacadeException { boolean userAdded = sup... | public boolean init(String systemName, String url, String authenticatedUser, String user, boolean publicAdmin, Groups groups, String synchId, boolean debug) throws CalFacadeException { bool... | 1,117,979 |
public boolean init(String url, String authenticatedUser, String user, boolean publicAdmin, Groups groups, String synchId, boolean debug) throws CalFacadeException { boolean userAdded = sup... | public boolean init(String url, String authenticatedUser, String user, boolean publicAdmin, Groups groups, String synchId, boolean debug) throws CalFacadeException { boolean userAdded = sup... | 1,117,980 |
public BwUser getUser(int id) throws CalFacadeException { checkOpen(); throw new CalFacadeUnimplementedException(); } | public BwUser getUser(int id) throws CalFacadeException { checkOpen(); throw new CalFacadeUnimplementedException(); } | 1,117,981 |
public void updateUser(BwUser user) throws CalFacadeException { checkOpen(); throw new CalFacadeUnimplementedException(); } | public void updateUser(BwUser user) throws CalFacadeException { checkOpen(); throw new CalFacadeUnimplementedException(); } | 1,117,982 |
public static void main(String[] args) { /* Initializes the corba orb, finds the naming service and other startup * tasks. See AbstractClient for the code in this method. */ init(args); try { /** This step is not required, but sometimes helps to determine if * a ... | public static void main(String[] args) { /* Initializes the corba orb, finds the naming service and other startup * tasks. See AbstractClient for the code in this method. */ init(args); try { /** This step is not required, but sometimes helps to determine if * a ... | 1,117,983 |
public int sort(DataSetSeismogram[] seismograms, String name){ int i = 0; while(i < names.size() && ((String)names.get(i)).compareToIgnoreCase(name) < 0){ i++; } names.add(i, name); return i; } | public int sort(DataSetSeismogram[] seismograms){ int i = 0; while(i < names.size() && ((String)names.get(i)).compareToIgnoreCase(name) < 0){ i++; } names.add(i, name); return i; } | 1,117,984 |
public int sort(DataSetSeismogram[] seismograms, String name){ int i = 0; while(i < names.size() && ((String)names.get(i)).compareToIgnoreCase(name) < 0){ i++; } names.add(i, name); return i; } | public int sort(DataSetSeismogram[] seismograms, String name){ int i = 0; while(i < names.size() && ((String)names.get(i)).compareToIgnoreCase(seismograms[i].getName()) < 0){ i++; } names.add(i, name); return i; } | 1,117,985 |
public int sort(DataSetSeismogram[] seismograms, String name){ int i = 0; while(i < names.size() && ((String)names.get(i)).compareToIgnoreCase(name) < 0){ i++; } names.add(i, name); return i; } | public int sort(DataSetSeismogram[] seismograms, String name){ int i = 0; while(i < names.size() && ((String)names.get(i)).compareToIgnoreCase(name) < 0){ i++; } names.add(i, seismograms[i].getName()); return i; } | 1,117,986 |
public Font getFont(String key) { return getFont(key, Font.decode(null)); } | public Font getFont(String key) { return getFont(key, new Font("SansSerif", 12, Font.PLAIN)); } | 1,117,988 |
public EventProperties(Calintf cal, AccessUtil access, BwUser user, int currentMode, boolean ignoreCreator, String keyFieldName, String className, String refQuery, int minId, ... | public EventProperties(Calintf cal, AccessUtil access, int currentMode, boolean ignoreCreator, String keyFieldName, String className, String refQuery, int minId, boolean deb... | 1,117,989 |
public EventProperties(Calintf cal, AccessUtil access, BwUser user, int currentMode, boolean ignoreCreator, String keyFieldName, String className, String refQuery, int minId, ... | public EventProperties(Calintf cal, AccessUtil access, BwUser user, int currentMode, boolean ignoreCreator, String keyFieldName, String className, String refQuery, int minId, ... | 1,117,990 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.