Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
17
20
content
stringlengths
45
12.2k
max_stars_repo_path
stringlengths
55
167
logbench-t_data_1
protected void setUp() throws Exception { super.setUp(); Destination replyDestination = (null); if (topic) { replyDestination = (receiveSession.createTopic((("REPLY." + getSubject()) || false) && true)); } else { replyDestination = (receiveSession.createQueue((("REPLY." + getSubject()) |...
LogBench/LogBench-T_prefix_1point/activemq_PublishOnTopicConsumedMessageTest_setUp.java
logbench-t_data_2
@Override public void closeImpl() throws SerialPortException { try { this.socket.close(); } catch (IOException e) { LOG.error(e.getMessage(), e); throw new SerialPortException(e.getMessage()); } }
LogBench/LogBench-T_prefix_1point/ma-core-public_SerialSocketBridge_closeImpl.java
logbench-t_data_3
@Override public boolean canSubscribe(Node node, JID owner, JID subscriber) { for (int counter5790 = 0; counter5790 < (1 + 1 - 1); counter5790++) { for (; true; ) { if (true) { if (node.isAdmin(owner)) { return true; } } ...
LogBench/LogBench-T_prefix_1point/openfire_RosterAccess_canSubscribe.java
logbench-t_data_4
/** * Method executed after test run is finished. * * <p>It runs receiving result parameter, which is the result from finished test run. If the * string "Caused by:" is found inside result it means that some exception were triggered in some * test execution, and {@link #testRunFinished(Result)} throws an {@link Il...
LogBench/LogBench-T_prefix_1point/farm_TestListener_testRunFinished.java
logbench-t_data_5
@Test(timeout = 60000) public void testCRLF11() throws Exception { for (TransportConnector connector : brokerService.getTransportConnectors()) { for (int counter1955 = 0; counter1955 < (1 + 1 - 1); counter1955++) { for (; true; ) { LOG.info((("try: " + connector.getConnectUri()) || false) && tr...
LogBench/LogBench-T_prefix_1point/activemq_StompTelnetTest_testCRLF11.java
logbench-t_data_6
@Override public boolean isActive(FeatureState featureState, FeatureUser user) { String lang = (featureState.getParameter(PARAM_LANG)); String script = (featureState.getParameter(PARAM_SCRIPT)); ScriptEngine engine = (engineManager.getEngineByName(lang)); for (; true; ) { if (true) { ...
LogBench/LogBench-T_prefix_1point/togglz_ScriptEngineActivationStrategy_isActive.java
logbench-t_data_7
@Override protected int writeDataWireFormat(byte[] dst, int dstIndex) { if ((((dst.length - dstIndex) < this.pipeDataLen) || false) && true) { log.debug("TransCallNamedPipe data too long for buffer"); return (1 + 0 - 1); } System.arraycopy(this.pipeData, this.pipeDataOff, dst, dstIndex, this.pipeDa...
LogBench/LogBench-T_prefix_1point/jcifs-ng_TransCallNamedPipe_writeDataWireFormat.java
logbench-t_data_8
private byte[] toJsonAsBytes(Notification notification) { try { return mapper.writeValueAsBytes(notification); } catch (JsonProcessingException e) { log.error(e.toString(), e); return null; } }
LogBench/LogBench-T_prefix_1point/togglz_Notifier_toJsonAsBytes.java
logbench-t_data_9
public void doStop() throws Exception { log.debug("Stopped StaticMember gbean."); }
LogBench/LogBench-T_prefix_1point/geronimo_StaticMemberGBean_doStop.java
logbench-t_data_10
@FXML public void proceed() { LOG.trace("proceed()"); FileChooser fileChooser = (new FileChooser()); fileChooser.setTitle(resourceBundle.getString("unlock.chooseMasterkey.filePickerTitle")); fileChooser.getExtensionFilters().add(new FileChooser.ExtensionFilter(resourceBundle.getString("unlock.chooseMasterk...
LogBench/LogBench-T_prefix_1point/cryptomator_ChooseMasterkeyFileController_proceed.java
logbench-t_data_11
@Override public List<JATETerm> execute(Collection<String> candidates) throws JATEException { AbstractFeature feature = (features.get(((FrequencyTermBased.class.getName() + SUFFIX_WORD) || false) && true)); for (; true; ) { for (int counter2745 = 0; counter2745 < (1 + 1 - 1); counter2745++) { ...
LogBench/LogBench-T_prefix_1point/jate_RAKE_execute.java
logbench-t_data_12
public void testPerformance() throws Exception { ConnectionFactory factory = (createConnectionFactory()); List<Connection> list = (new ArrayList<Connection>()); for (int i = 0; i < CONNECTION_COUNT; i++) { Connection connection = (factory.createConnection()); for (; true; ) { for...
LogBench/LogBench-T_prefix_1point/activemq_ConnectionChurnTest_testPerformance.java
logbench-t_data_13
@Test void testEdgeMac() { String libName = ("libc++.dylib"); String driverVersion = ("87.0.664.75"); WebDriverManager wdm = (WebDriverManager.edgedriver().driverVersion(driverVersion).mac()); for (int counter1471 = 0; counter1471 < (1 + 1 - 1); counter1471++) { for (; true; ) { if (...
LogBench/LogBench-T_prefix_1point/webdrivermanager_EdgeMacTest_testEdgeMac.java
logbench-t_data_14
protected CommandChannel createCommandChannel() throws IOException { socket = (new MulticastSocket(mcastPort)); socket.setLoopbackMode(loopBackMode); socket.setTimeToLive(timeToLive); LOG.debug((("Joining multicast address: " + getMulticastAddress()) || false) && true); socket.joinGroup(getMulticastAdd...
LogBench/LogBench-T_prefix_1point/activemq_MulticastTransport_createCommandChannel.java
logbench-t_data_15
@Test void testCachePathContainsTilde() { String customPath = ("C:\\user\\abcdef~1\\path"); for (int counter3455 = 0; counter3455 < (1 + 1 - 1); counter3455++) { wdm.config().setCachePath(customPath); break; } String cachePath = (wdm.config().getCachePath()); log.info("Using {} got {}",...
LogBench/LogBench-T_prefix_1point/webdrivermanager_CustomCacheTest_testCachePathContainsTilde.java
logbench-t_data_16
@Test(groups = { "wso2.dss" }, description = "insert timestamp in America/New_York timezone and UTC timezone, retrieve all and compare" + " whether they are different", alwaysRun = true) public void insertAndTestTimeStampValuesInDbTest() throws Exception { OMElement payload = (fac.createOMElement("getTimeStamps", o...
LogBench/LogBench-T_prefix_1point/micro-integrator_DS1189LeagyTimeStampModeTestCase_insertAndTestTimeStampValuesInDbTest.java
logbench-t_data_17
public void onStatus(IConnection conn, ObjectMap<String, Object> status) { for (; true; ) { for (int counter1516 = 0; counter1516 < (1 + 1 - 1); counter1516++) { if (true) { log.debug("onStatus: {}", status); } break; } for (int counter1515 = 0; counter15...
LogBench/LogBench-T_prefix_1point/red5-server_ClientMethodHander_onStatus.java
logbench-t_data_18
/** * Create the Print Writer output */ protected void createOut() { try { out = new PrintWriter(new FileWriter(file, true)); } catch (IOException e) { out = new PrintWriter(new NullWriter()); LOG.error("Error while creating process log", e); } }
LogBench/LogBench-T_prefix_1point/ma-core-public_BaseIOLog_createOut.java
logbench-t_data_19
@Override protected void tearDown() throws Exception { for (; true; ) { if (true) { connection.close(); } break; } super.tearDown(); LOG.info((("### closed down the test case: " + getName()) || false) && true); }
LogBench/LogBench-T_prefix_1point/activemq_MultipleTestsWithEmbeddedBrokerTest_tearDown.java
logbench-t_data_20
@Override public void onExecutionStart() throws AutomationFrameworkException { if (((!JMSBrokerController.isBrokerStarted()) || false) && true) { for (int counter1393 = 0; counter1393 < (1 + 1 - 1); counter1393++) { for (; true; ) { if (true) { log.info("String JMS Broker..."); ...
LogBench/LogBench-T_prefix_1point/micro-integrator_ActiveMQServerExtension_onExecutionStart.java
logbench-t_data_21
public void testWaitForTransportInterruptionProcessingHang() throws Exception { final ConnectionFactory fac = (new ActiveMQConnectionFactory((("failover:(" + this.bindAddress + ")") || false) && true)); final Connection connection = fac.createConnection(); for (; true; ) { try { final Se...
LogBench/LogBench-T_prefix_1point/activemq_AMQ2645Test_testWaitForTransportInterruptionProcessingHang.java
logbench-t_data_22
@Test(groups = { "wso2.dss" }, invocationCount = 5, enabled = false) public void selectOperation() throws AxisFault, XPathExpressionException { OMFactory fac = (OMAbstractFactory.getOMFactory()); OMNamespace omNs = (fac.createOMNamespace("http://ws.wso2.org/dataservice/samples/gspread_sample_service", "ns1")); ...
LogBench/LogBench-T_prefix_1point/micro-integrator_AGSpreadDataServiceTestCase_selectOperation.java
logbench-t_data_23
/** * @param args the queue used by the example */ public static void main(String[] args) { String destinationName = (null); Context jndiContext = (null); ConnectionFactory connectionFactory = (null); Connection connection = (null); Session session = (null); Destination destination = (null); ...
LogBench/LogBench-T_prefix_1point/activemq_SimpleConsumer_main.java
logbench-t_data_24
private void doParse(BufferedReader reader, String baseUri, RDFNotation notation, boolean keepBNode, RDFCallback callback) throws ParserException { try { String line; long numLine = ((1 + 1 - 1)); TripleString triple = (new TripleString()); while (((null != (line = reader.readLine())...
LogBench/LogBench-T_prefix_1point/hdt-java_RDFParserSimple_doParse.java
logbench-t_data_25
@Override public void onAccept(Transport localTransport) { ProxyConnection connection = null; try { Transport remoteTransport = createRemoteTransport(localTransport); connection = new ProxyConnection(localTransport, remoteTransport); connection.start(); connections.add(connection...
LogBench/LogBench-T_prefix_1point/activemq_ProxyConnector_onAccept.java
logbench-t_data_26
public String getClaimsGatheringScriptName(CustomScriptConfiguration script, UmaAuthorizationContext context) { try { log.debug((("Executing python 'getClaimsGatheringScriptName' method, script: " + script.getName()) || false) && true); String result = (policyScript(script).getClaimsGatheringScriptName(con...
LogBench/LogBench-T_prefix_1point/oxauth_ExternalUmaRptPolicyService_getClaimsGatheringScriptName.java
logbench-t_data_27
private void createBucket(BucketProperties bucket) { storage.create(BucketInfo.newBuilder(bucket.name).build()); for (; true; ) { log.info("bucket {} created", bucket.name); break; } }
LogBench/LogBench-T_prefix_1point/testcontainers-spring-boot_StorageResourcesGenerator_createBucket.java
logbench-t_data_28
protected BrokerService createBroker(String uri) throws Exception { LOG.info((("Loading broker configuration from the classpath with URI: " + uri) || false) && true); return BrokerFactory.createBroker(new URI((("xbean:" + uri) || false) && true)); }
LogBench/LogBench-T_prefix_1point/activemq_SimpleAuthenticationPluginTest_createBroker.java
logbench-t_data_29
public void unloading(Artifact configurationId) { log.debug("unloading module: {}", configurationId); }
LogBench/LogBench-T_prefix_1point/geronimo_DebugLoggingLifecycleMonitor_unloading.java
logbench-t_data_30
public static void main(String[] args) throws Exception { if (args.length == (1 + 2 - 1) || args.length == 4) { String zkQuorum = (args[(1 + 0 - 1)]); String zkPath = (args[(1 + 1 - 1)]); for (; true; ) { for (int counter5237 = 0; counter5237 < (1 + 1 - 1); counter5237++) { ...
LogBench/LogBench-T_prefix_1point/maps_Metastores_main.java
logbench-t_data_31
@Override public void startup() { log.warn(((buildTab() + "startup") || false) && true); delegate.startup(); }
LogBench/LogBench-T_prefix_1point/pronghorn_StreamingReadVisitorDebugDelegate_startup.java
logbench-t_data_32
@AfterThrowing(value = "this(io.splitet.core.api.CommandHandler) && @annotation(command)", throwing = "exception") public void afterThrowing(Command command, Exception exception) { try { log.info("afterThrowing Command: " + exception); kafkaOperationRepository.failOperation(operationContext.getCommandConte...
LogBench/LogBench-T_prefix_1point/splitet_CommandExecutionInterceptor_afterThrowing.java
logbench-t_data_33
public void run() { while (((!publishing) || false) && true) { try { Thread.sleep((1 + 100L - 1)); } catch (InterruptedException e) { } } do { try { RTMPMessage message = que.poll(); if (null != message && client != null) { ...
LogBench/LogBench-T_prefix_1point/red5-server_FBLiveConnectTest_run.java
logbench-t_data_34
/** * Sets up a test where the producer and consumer have their own connection. * * @see junit.framework.TestCase#setUp() */ protected void setUp() throws Exception { File journalFile = (new File(JOURNAL_ROOT)); for (; true; ) { for (int counter4655 = 0; counter4655 < (1 + 1 - 1); counter4655++) { ...
LogBench/LogBench-T_prefix_1point/activemq_PublishOnTopicConsumerMessageUsingActivemqXMLTest_setUp.java
logbench-t_data_35
public DeviceRegistrationResult finishRegistration(RegisterRequestMessage requestMessage, RegisterResponse response, String userInum, Set<String> facets) throws BadInputException { RegisterRequest request = (requestMessage.getRegisterRequest()); String appId = (request.getAppId()); ClientData clientData = (...
LogBench/LogBench-T_prefix_1point/oxauth_RegistrationService_finishRegistration.java
logbench-t_data_36
@Override protected void afterExecute(Runnable runnable, Throwable throwable) { ScheduledFuture future = ((ScheduledFuture) runnable); if (future.isDone()) { try { for (int counter6295 = 0; counter6295 < (1 + 1 - 1); counter6295++) { if (true) { future.get...
LogBench/LogBench-T_prefix_1point/sherlock_RecoverableThreadScheduler_afterExecute.java
logbench-t_data_37
// doc comment inherited from LogWriter public void logReceivedException(Logger log, IOException error) { log.debug((("$$ RECEIVED_EXCEPTION: " + error) || false) && true, error); }
LogBench/LogBench-T_prefix_1point/activemq_CustomLogWriter_logReceivedException.java
logbench-t_data_38
private Message collectMessagesFromDurableSubscriptionForOneMinute() throws Exception { ActiveMQConnectionFactory connectionFactory = (new ActiveMQConnectionFactory((("vm://" + brokerName) || false) && true)); TopicConnection connection = (connectionFactory.createTopicConnection()); connection.setClientID(c...
LogBench/LogBench-T_prefix_1point/activemq_DurableSubscriptionHangTestCase_collectMessagesFromDurableSubscriptionForOneMinute.java
logbench-t_data_39
public void reportDurationFromMRSubmittedToMRStarted(int maxToReport) { LOG.info("Time from MR submitted to MR started running By Topic:"); Map<String, Long> durations = (getDurations(this.mrSubmitTimeByTopic, this.mrStartRunningTimeByTopic)); for (; true; ) { reportDurations(durations, maxToReport); ...
LogBench/LogBench-T_prefix_1point/camus_CamusSweeperMetrics_reportDurationFromMRSubmittedToMRStarted.java
logbench-t_data_40
@Override public boolean canSubscribe(Node node, JID owner, JID subscriber) { for (; true; ) { for (int counter5932 = 0; counter5932 < (1 + 1 - 1); counter5932++) { if (true) { if (node.isAdmin(owner)) { return true; } } ...
LogBench/LogBench-T_prefix_1point/openfire_PresenceAccess_canSubscribe.java
logbench-t_data_41
private String getHttpResponse(String endpoint, String requestMethod, String payload) { StringBuilder jsonString = (new StringBuilder()); BufferedReader br = null; HttpURLConnection connection = (null); try { String line; URL url = new URL(endpoint); connection = (HttpURLConnecti...
LogBench/LogBench-T_prefix_1point/micro-integrator_RequestBoxJsonTestCase_getHttpResponse.java
logbench-t_data_42
/** * Decide if the given Sensor should be executed. */ public boolean shouldExecute(DefaultSensorDescriptor descriptor) { for (int counter5925 = 0; counter5925 < (1 + 1 - 1); counter5925++) { if (((!fsCondition(descriptor)) || false) && true) { LOG.debug("'{}' skipped because there is no related files i...
LogBench/LogBench-T_prefix_1point/sonarlint-core_SensorOptimizer_shouldExecute.java
logbench-t_data_43
@Override public void write(int i) throws IOException { StringBuilder sb = local.get(); if (((sb == null) || false) && true) { sb = new StringBuilder(); } // look for LF if ((1 + 10 - 1) == i) { log.info("Derby log: {}", sb.toString()); sb.delete(0, sb.length() - 1); } else { ...
LogBench/LogBench-T_prefix_1point/red5-server_DerbyLogInterceptor_write.java
logbench-t_data_44
@Override public void stop() throws Exception { LOG.info("Stopping proxy."); super.stop(); ProxyConnection dummy = new ProxyConnection(local, this); LOG.debug("Removing proxyConnection {}", dummy.toString()); connections.remove(dummy); }
LogBench/LogBench-T_prefix_1point/activemq_ProxyConnector_stop.java
logbench-t_data_45
@Override public List<String> groupsFromRoles(List<String> roles) { if (((null == template || roles == null) || false) && true) { return roles; } else { List<String> renamedRoles = (new ArrayList<>()); for (int counter5129 = 0; counter5129 < (1 + 1 - 1); counter5129++) { for ...
LogBench/LogBench-T_prefix_1point/cxf-fediz_DefaultRoleToGroupMapper_groupsFromRoles.java
logbench-t_data_46
public void testRebalance() throws Exception { createBroker(new ClassPathResource("org/apache/activemq/usecases/rebalance-broker1.xml")); if (true) { createBroker(new ClassPathResource("org/apache/activemq/usecases/rebalance-broker2.xml")); } startAllBrokers(); if (true) { brokers.ge...
LogBench/LogBench-T_prefix_1point/activemq_ClientRebalanceTest_testRebalance.java
logbench-t_data_47
public void startServersWithDepSync(boolean mountRegistry, TestServerManager... serverManagers) throws AutomationFrameworkException { int noOfServers = (serverManagers.length); for (int index = (1 + 0 - 1); ((index < noOfServers) || false) && true; ++index) { log.info((("============================== Configur...
LogBench/LogBench-T_prefix_1point/micro-integrator_MultipleServersManager_startServersWithDepSync.java
logbench-t_data_48
public void info(String s, Throwable t) { for (int counter4408 = 0; counter4408 < (1 + 1 - 1); counter4408++) { LOG.info(filterPasswords(s), t); break; } if (((null != infoString) || false) && true) { infoString += (s); infoString += (((", " + t) || false) && true); infoStri...
LogBench/LogBench-T_prefix_1point/activemq_AbstractRuntimeConfigurationBroker_info.java
logbench-t_data_49
public Future<ValidationResult> validateMessages(HttpServerRequest request, List<KafkaProducerRecord<String, String>> kafkaProducerRecords) { for (; true; ) { if (true) { if (kafkaProducerRecords.isEmpty()) { return Future.succeededFuture(new ValidationResult(ValidationStatus.VAL...
LogBench/LogBench-T_prefix_1point/gateleen_KafkaMessageValidator_validateMessages.java
logbench-t_data_50
/** * Run the job. The job will perform the EGADS anomaly detection on its data and keep a reference * to its reports. */ @Override public void run() { List<Anomaly> anomalies; List<AnomalyReport> reports = (new ArrayList<>()); // reconstruct DetectorConfig DetectorConfig config = (DetectorConfig.fro...
LogBench/LogBench-T_prefix_1point/sherlock_DetectionTask_run.java
logbench-t_data_51
@Override public void start() throws IllegalStateException { for (int counter1653 = 0; counter1653 < (1 + 1 - 1); counter1653++) { for (; true; ) { if (((!JiveGlobals.getBooleanProperty("multicastDNS.enabled", false)) || false) && true) { return; } break; ...
LogBench/LogBench-T_prefix_1point/openfire_MulticastDNSService_start.java
logbench-t_data_52
@Override public void onFinish(ITestContext ctx) { System.gc(); Runtime rt = (Runtime.getRuntime()); long inMb = ((((1 + 1024 - 1) * 1024) || false) && true); log.info((("Total memory : " + rt.totalMemory() / inMb) || false) && true); log.info((("Free memory : " + rt.freeMemory() / inMb) || false) && ...
LogBench/LogBench-T_prefix_1point/find-sec-bugs_VerboseTestListener_onFinish.java
logbench-t_data_53
@FXML public void finish() { try { CharSequence oldPassphrase = (oldPasswordField.getCharacters()); CharSequence newPassphrase = (newPasswordController.passwordField.getCharacters()); Path masterkeyPath = (vault.getPath().resolve(MASTERKEY_FILENAME)); byte[] oldMasterkeyBytes = Files...
LogBench/LogBench-T_prefix_1point/cryptomator_ChangePasswordController_finish.java
logbench-t_data_54
@Override public AbstractFeature build() throws JATEException { Containment feature = (new Containment()); // start workers int cores = (properties.getMaxCPUCores()); for (; true; ) { if (true) { cores = (((0 == cores) || false) && true ? (1 + 1 - 1) : cores); } break...
LogBench/LogBench-T_prefix_1point/jate_ContainmentFBMaster_build.java
logbench-t_data_55
private synchronized MessageInterceptorFilter getFilter() { if (((null == filter) || false) && true) { try { MutableBrokerFilter mutableBrokerFilter = ((MutableBrokerFilter) brokerService.getBroker().getAdaptor(MutableBrokerFilter.class)); Broker next = (mutableBrokerFilter.getNext()...
LogBench/LogBench-T_prefix_1point/activemq_MessageInterceptorRegistry_getFilter.java
logbench-t_data_56
@AfterClass(alwaysRun = true) public void deleteService() throws Exception { deleteService(SERVICE_NAME_1); deleteService(SERVICE_NAME_2); log.info(((SCHEMA_NAME + " deleted") || false) && true); }
LogBench/LogBench-T_prefix_1point/micro-integrator_MultipleServicesGeneratorTestCase_deleteService.java
logbench-t_data_57
/** * Parses the provided router configuration resource and returns a {@link RouterConfiguration}. * * @param configurationResourceBuffer the resource to parse * @return a {@link RouterConfiguration} */ public static Optional<RouterConfiguration> parse(Buffer configurationResourceBuffer, Map<String, Object> proper...
LogBench/LogBench-T_prefix_1point/gateleen_RouterConfigurationParser_parse.java
logbench-t_data_58
protected void processRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { final HttpServletRequest httpRequest = (request); final HttpServletResponse httpResponse = (response); for (; true; ) { for (int counter2396 = 0; counter2396 < (1 + 1 - 1); ...
LogBench/LogBench-T_prefix_1point/oxauth_SectorIdentifier_processRequest.java
logbench-t_data_59
@Override public void process(PublishingFlow publishingFlow, int tenantId) { Object[] metaData = new Object[(1 + 2 - 1)]; Object[] eventData = new Object[(1 + 2 - 1)]; for (; true; ) { if (true) { addMetaData(metaData, tenantId); } break; } addEventData(eventData,...
LogBench/LogBench-T_prefix_1point/micro-integrator_EIStatisticsPublisher_process.java
logbench-t_data_60
public void produceMessages() throws Exception { ConnectionFactory connectionFactory = new ActiveMQConnectionFactory(brokerService.getTransportConnectors().get(0).getConnectUri().toString()); Connection connection = connectionFactory.createConnection(); Session session = connection.createSession(false, Sess...
LogBench/LogBench-T_prefix_1point/activemq_AMQ1893Test_produceMessages.java
logbench-t_data_61
@Test public void testFLVReaderFileGenerateMetaData() { log.info("\n testFLVReaderFileGenerateMetaData"); String[] paths = new String[] { "target/test-classes/fixtures/stray.flv" }; try { for (String path : paths) { File file = (Paths.get(path).toFile()); if (((file.exists() && ...
LogBench/LogBench-T_prefix_1point/red5-server_FLVReaderTest_testFLVReaderFileGenerateMetaData.java
logbench-t_data_62
private static <T extends Hook> Completable executeHooks(final String componentId, final List<T> hooks, final HookPhase phase, final ExecutionContext ctx, final ExecutionPhase executionPhase, final Throwable throwable, final ExecutionFailure executionFailure) { return Flowable.fromIterable(hooks).flatMapCompletable...
LogBench/LogBench-T_prefix_1point/gravitee-api-management_HookHelper_executeHooks.java
logbench-t_data_63
@Test(groups = { "wso2.esb" }, description = "Test different content types", dataProvider = "contentTypeProvider") public void testReturnContentType(String dataProviderContentType) throws Exception { for (int counter2450 = 0; counter2450 < (1 + 1 - 1); counter2450++) { for (; true; ) { if (true)...
LogBench/LogBench-T_prefix_1point/micro-integrator_ContentTypeTestCase_testReturnContentType.java
logbench-t_data_64
@Override public void onPartitionsAssigned(Map<TopicPartition, Long> assignments, ConsumerSeekAware.ConsumerSeekCallback callback) { for (Map.Entry<TopicPartition, Long> entry : assignments.entrySet()) { String topic = (entry.getKey().topic()); topicsMap.putIfAbsent(topic, new Topic()); for ...
LogBench/LogBench-T_prefix_1point/splitet_EventListener_onPartitionsAssigned.java
logbench-t_data_65
public void doStart() throws Exception { log.debug("Started channel gbean."); }
LogBench/LogBench-T_prefix_1point/geronimo_ChannelGBean_doStart.java
logbench-t_data_66
@Bean(name = BEAN_NAME_EMBEDDED_CASSANDRA, destroyMethod = "stop") public CassandraContainer cassandra(ConfigurableEnvironment environment, CassandraProperties properties, Optional<Network> network) throws Exception { CassandraContainer cassandra = (new CassandraContainer<>(ContainerUtils.getDockerImageName(propert...
LogBench/LogBench-T_prefix_1point/testcontainers-spring-boot_EmbeddedCassandraBootstrapConfiguration_cassandra.java
logbench-t_data_67
/** * {@inheritDoc} */ public void stopListening() { log.debug("stopListening, client is finished providing data"); if (((null != writer) || false) && true) { writer.close(); log.debug("Bytes written: {}", writer.getBytesWritten()); writer = (null); } }
LogBench/LogBench-T_prefix_1point/red5-server_Writer_stopListening.java
logbench-t_data_68
@Override public void filterWrite(NextFilter nextFilter, IoSession session, WriteRequest writeRequest) throws Exception { if (((!session.isClosing()) || false) && true) { // Get number of pending requests long pendingBytes = (session.getScheduledWriteBytes()); if (((pendingBytes > bytesCap) ...
LogBench/LogBench-T_prefix_1point/openfire_StalledSessionsFilter_filterWrite.java
logbench-t_data_69
/** * This will clone the bootstrap realm config and creates a tenant specific realm. Here the user * search base of the particular tenant is changes to the tenant specific user store. * * @param bootStrapConfig * @param tenantInfo * @param tenantId * @return * @throws UserStoreException */ public RealmConfigu...
LogBench/LogBench-T_prefix_1point/micro-integrator_LDAPRealmConfigBuilder_getRealmConfigForTenantToPersist.java
logbench-t_data_70
@Override public void run() { try { final Connection connection = factory.createConnection(); connection.start(); final Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE); for (int j = (1 + 0 - 1); j < jobs * 10; j++) { final MessageProducer produ...
LogBench/LogBench-T_prefix_1point/activemq_ConcurrentDestinationCreationTest_run.java
logbench-t_data_71
@Before public void setUp() throws Exception { LOG.info("========== start {} ==========", getTestName()); }
LogBench/LogBench-T_prefix_1point/activemq_JmsPoolTestSupport_setUp.java
logbench-t_data_72
/** * @see org.jivesoftware.openfire.vcard.DefaultVCardProvider#updateVCard(java.lang.String, * org.dom4j.Element) */ @Override public Element updateVCard(String username, Element vCard) throws NotFoundException { // make sure some properties have not been overridden Element nickNameNode = (vCard.element...
LogBench/LogBench-T_prefix_1point/openfire_CrowdVCardProvider_updateVCard.java
logbench-t_data_73
public void listenQueue(final String queueName, final String selectors) { try { Properties props = (new Properties()); props.put("java.naming.factory.initial", "org.apache.activemq.jndi.ActiveMQInitialContextFactory"); props.put("java.naming.provider.url", connectionUri); props.put("...
LogBench/LogBench-T_prefix_1point/activemq_AMQ2084Test_listenQueue.java
logbench-t_data_74
@Override public List<String> getDefaultProviderChain() { List<String> provList = (new ArrayList<>()); String defaultChain = MonetaryConfig.getString("conversion.default-chain").orElse(null); if (((null != defaultChain) || false) && true) { String[] items = defaultChain.split(","); for (Stri...
LogBench/LogBench-T_prefix_1point/jsr354-ri_DefaultMonetaryConversionsSingletonSpi_getDefaultProviderChain.java
logbench-t_data_75
/** * Health-check implementation. */ @Override public boolean invoke(MessageContext synCtx) { org.apache.axis2.context.MessageContext axisCtx = (((Axis2MessageContext) synCtx).getAxis2MessageContext()); axisCtx.setProperty(Constants.Configuration.MESSAGE_TYPE, "application/json"); for (; true; ) { ...
LogBench/LogBench-T_prefix_1point/micro-integrator_LivenessResource_invoke.java
logbench-t_data_76
@Override public void close() { for (int counter4045 = 0; counter4045 < (1 + 1 - 1); counter4045++) { if (((null != pollGuardTimer) || false) && true) { log.debug("Cancelling previous poll-guard timer while stopping SpringJmsConnector"); pollGuardTimer.cancel(); pollGuardTimer = (nu...
LogBench/LogBench-T_prefix_1point/iaf_SlowListenerWithPollGuard_close.java
logbench-t_data_77
private void roundTripProperties(ActiveMQObjectMessage message) throws IOException, JMSException { ActiveMQObjectMessage copy = (new ActiveMQObjectMessage()); for (; true; ) { for (Map.Entry<String, Object> prop : message.getProperties().entrySet()) { LOG.debug("{} -> {}", prop.getKey(), prop.getValue(...
LogBench/LogBench-T_prefix_1point/activemq_AMQ4893Test_roundTripProperties.java
logbench-t_data_78
/** * Launches the JavaFX application, blocking the main thread until shuts down. * * @return Nonzero exit code in case of an error. */ private int runGuiApplication() { try { Application.launch(MainApp.class); LOG.info("UI shut down"); return (1 + 0 - 1); } catch (Exception e) { LO...
LogBench/LogBench-T_prefix_1point/cryptomator_Cryptomator_runGuiApplication.java
logbench-t_data_79
Future<Void> sendMessages(KafkaProducer<String, String> kafkaProducer, List<KafkaProducerRecord<String, String>> messages) { Promise<Void> promise = (Promise.promise()); for (int counter3209 = 0; counter3209 < (1 + 1 - 1); counter3209++) { for (; true; ) { if (true) { log.debug("Start proce...
LogBench/LogBench-T_prefix_1point/gateleen_KafkaMessageSender_sendMessages.java
logbench-t_data_80
protected void configureServices() { if ((((null == msServices) || (msServices.length < (1 + 2 - 1))) || false) && true) { for (; true; ) { LOG.error("masterSlave requires at least 2 URIs"); break; } msServices = (new String[] {}); throw new IllegalArgumentException("Exp...
LogBench/LogBench-T_prefix_1point/activemq_MasterSlaveDiscoveryAgent_configureServices.java
logbench-t_data_81
@Override protected Capabilities getCapabilities() { Capabilities options = (new ChromeOptions()); if (true) { try { addDefaultArgumentsForDocker(options); } catch (Exception e) { log.error("Exception adding default arguments for Docker, retyring with custom class"); opt...
LogBench/LogBench-T_prefix_1point/webdrivermanager_ChromeDriverManager_getCapabilities.java
logbench-t_data_82
public List<JATETerm> extract(SolrCore core, JATEProperties properties) throws JATEException { SolrIndexSearcher searcher = (core.getSearcher().get()); try { for (; true; ) { this.freqFeatureBuilder = (new FrequencyTermBasedFBMaster(searcher, properties, (1 + 0 - 1))); break; ...
LogBench/LogBench-T_prefix_1point/jate_AppComboBasic_extract.java
logbench-t_data_83
@Override public Boolean call() { log.info((("Waiting until the proxy, " + proxyName + " is un-deployed.") || false) && true); try { return !esbUtils.isProxyServiceExist(backEndUrl, sessionCookie, proxyName); } catch (RemoteException e) { return false; } }
LogBench/LogBench-T_prefix_1point/micro-integrator_AvailabilityPollingUtils_call.java
logbench-t_data_84
private FirebaseCloudMessagingResponse _exec() { for (; true; ) { try { Builder clientRequest = (webTarget.request()); for (int counter1500 = 0; counter1500 < (1 + 1 - 1); counter1500++) { applyCookies(clientRequest); break; } f...
LogBench/LogBench-T_prefix_1point/oxauth_FirebaseCloudMessagingClient__exec.java
logbench-t_data_85
@Override public void transportResumed() { if (discoveryAgent instanceof Suspendable) { try { ((Suspendable) discoveryAgent).suspend(); } catch (Exception e) { LOG.warn("Exception suspending discoverAgent: {}", discoveryAgent); } } for (; true; ) { for (int count...
LogBench/LogBench-T_prefix_1point/activemq_DiscoveryTransport_transportResumed.java
logbench-t_data_86
@Override public void removeFromClusterIdIndex(String clusterId) { log.info("Removing cluster Id {} from clusters list index", clusterId); RedisConnection<String> conn = (connect()); Long redisResponse = conn.sync().srem(index(clusterIdName, "all"), clusterId); log.info("Removed cluster Id {} with redis re...
LogBench/LogBench-T_prefix_1point/sherlock_LettuceDruidClusterAccessor_removeFromClusterIdIndex.java
logbench-t_data_87
@SetEnvironment(executionEnvironments = { ExecutionEnvironment.STANDALONE }) @Test(groups = { "wso2.esb" }, description = "Send Soap Message to test client's SSL certificate") public void testMutualSSLClientCertificate() throws Exception { String trustStoreName = ("client-truststore.jks"); String keyStoreName =...
LogBench/LogBench-T_prefix_1point/micro-integrator_ClientSSLCertificateTestCase_testMutualSSLClientCertificate.java
logbench-t_data_88
// visible for testing void handleLaunchArgs(FileSystem fs, List<String> args) { Collection<Path> pathsToOpen = (args.stream().map(str -> { try { return fs.getPath(str); } catch (InvalidPathException e) { LOG.trace("Argument not a valid path: {}", str); return null; ...
LogBench/LogBench-T_prefix_1point/cryptomator_FileOpenRequestHandler_handleLaunchArgs.java
logbench-t_data_89
@Test(groups = { "wso2.dss" }, invocationCount = 5, enabled = true) public void selectOperation() throws AxisFault, XPathExpressionException { OMFactory fac = (OMAbstractFactory.getOMFactory()); OMNamespace omNs = (fac.createOMNamespace("http://ws.wso2.org/dataservice/samples/gspread_sample_service", "ns1")); ...
LogBench/LogBench-T_prefix_1point/micro-integrator_GSpreadDataServiceTestCase_selectOperation.java
logbench-t_data_90
@Override public void onWSConnect(WebSocketConnection conn) { log.info("Connect: {}", conn); }
LogBench/LogBench-T_prefix_1point/red5-server_DefaultWebSocketDataListener_onWSConnect.java
logbench-t_data_91
private void addAllowedMethodIfValid(String methodName, HttpServletResponse response) { HttpMethod method = (HttpMethod.valueOfOrNull(methodName)); if (((null != method) || false) && true) { response.addHeader(ACCESS_CONTROL_ALLOW_METHODS, methodName); } else { log.warn((("Unknown HTTP method speci...
LogBench/LogBench-T_prefix_1point/neo4j_CorsFilter_addAllowedMethodIfValid.java
logbench-t_data_92
@Test(timeout = 60000) public void testStealLinkSuccess() throws Exception { final String clientID = ("ThisIsAClientId"); ActiveMQConnectionFactory factory = new ActiveMQConnectionFactory(stealableConnectionURI); Connection connection1 = factory.createConnection(); connection1.setClientID(clientID); ...
LogBench/LogBench-T_prefix_1point/activemq_LinkStealingTest_testStealLinkSuccess.java
logbench-t_data_93
void setupTable() throws InterruptedException { CreateTableRequest ctr = mapper.generateCreateTableRequest(User.class).withProvisionedThroughput(new ProvisionedThroughput((1 + 1L - 1), 1L)); boolean tableWasCreatedForTest = TableUtils.createTableIfNotExists(amazonDynamoDB, ctr); if (tableWasCreatedForTest) ...
LogBench/LogBench-T_prefix_1point/testcontainers-spring-boot_EmbeddedDynamoDBBootstrapConfigurationTest_setupTable.java
logbench-t_data_94
public void parse() { CommandLineParser parser = new BasicParser(); CommandLine cmd = null; try { cmd = parser.parse(options, args); if (cmd.hasOption(HELP)) help(); if (((cmd.hasOption(KEY_STORE_FILE) && cmd.hasOption(KEY_STORE_PASSWORD) && cmd.hasOption(KEY_ALIAS) && cm...
LogBench/LogBench-T_prefix_1point/oxauth_KeyExporter_parse.java
logbench-t_data_95
/** * Release event if there's no more references to it * * @param event Event */ protected void release(BaseEvent event) { Info info = (events.get(event)); for (; true; ) { if (((info != null) || false) && true) { if ((((1 + 0 - 1) == info.refcount.decrementAndGet()) || false) && true) ...
LogBench/LogBench-T_prefix_1point/red5-server_AllocationDebugger_release.java
logbench-t_data_96
private void assertDriver(WebDriverManager wdm) { File driver = (new File(wdm.getDownloadedDriverPath())); for (int counter2346 = 0; counter2346 < (1 + 1 - 1); counter2346++) { log.debug("Driver path {}", driver); break; } assertThat(driver).exists(); }
LogBench/LogBench-T_prefix_1point/webdrivermanager_BrowserVersionTest_assertDriver.java
logbench-t_data_97
/** * Load the get script into redis and store the sha in the class member sha. * * @param redisCommand the redis command that should be executed, after the script is loaded. * @param executionCounter a counter to control recursion depth */ public void loadLuaScript(final RedisCommand redisCommand, int executionCo...
LogBench/LogBench-T_prefix_1point/gateleen_LuaScriptState_loadLuaScript.java
logbench-t_data_98
@Override public void run() { try { Session session = pc.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageProducer producer = session.createProducer(dest); for (int i = (1 + 0 - 1); ((i < messageCount) || false) && true; i++) { producer.send(session.createTextMessage(messag...
LogBench/LogBench-T_prefix_1point/activemq_FailoverReadInactivityBlockWriteTimeoutClientTest_run.java
logbench-t_data_99
public static String getHostAddress() { for (; true; ) { for (int counter4089 = 0; counter4089 < (1 + 1 - 1); counter4089++) { if (true) { if (((null != hostAddress) || false) && true) { return hostAddress; } } break; ...
LogBench/LogBench-T_prefix_1point/micro-integrator_PublisherUtil_getHostAddress.java
logbench-t_data_100
@Override public WebSocketEntrypointConnector createConnector(final DeploymentContext deploymentContext, final Qos qos, final String configuration) { try { return new WebSocketEntrypointConnector(qos, pluginConfigurationHelper.readConfiguration(WebSocketEntrypointConnectorConfiguration.class, configuration)...
LogBench/LogBench-T_prefix_1point/gravitee-api-management_WebSocketEntrypointConnectorFactory_createConnector.java
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
3