conflict_resolution stringlengths 27 16k |
|---|
<<<<<<<
public class Window extends XulElement {
=======
public class Window extends XulElement
implements org.zkoss.zul.api.Window, Framable, IdSpace {
>>>>>>>
public class Window extends XulElement
implements Framable, IdSpace { |
<<<<<<<
private transient Map<String, Interpreter> _ips;
=======
private transient Map _ips;
private transient NS _ns;
/** The mapper representing all mappers being added to this page. */
private final FunctionMapper _mapper = new PageFuncMapper();
/** A list of {@link FunctionMapper}. */
private transient Lis... |
<<<<<<<
import com.mycelium.wapi.wallet.*;
=======
import com.mycelium.wapi.content.btc.BitcoinUriParser;
import com.mycelium.wapi.wallet.AddressUtils;
import com.mycelium.wapi.wallet.AesKeyCipher;
import com.mycelium.wapi.wallet.BitcoinBasedGenericTransaction;
import com.mycelium.wapi.wallet.BroadcastResult;
import ... |
<<<<<<<
=======
} catch (AbstractMethodError ex) { //backward compatible
} catch (Throwable ex) {
ex.printStackTrace(); //not using log since it might be cleaned up
}
try {
_factory.stop(this);
} catch (Throwable ex) {
ex.printStackTrace(); //not using log since it might be cleaned up
}
try {
... |
<<<<<<<
import org.zkoss.html.HTMLs;
=======
>>>>>>>
<<<<<<<
=======
/** @deprecated As of release 5.0.8, no longer used.
*/
protected void renderIdSpace(ContentRenderer renderer) throws IOException {
}
>>>>>>> |
<<<<<<<
public Map<String, Object> evalProperties(Map<String, Object> propmap, Page owner, Component parent) {
return propmap != null ? propmap: new HashMap<String, Object>(2);
=======
public void applyAttributes(Component comp) {
}
public Map evalProperties(Map propmap, Page owner, Component parent) {
... |
<<<<<<<
=======
/** Returns if the given ID is generated automatically.
* Note: use this method instead of {@link #isAutoId(String)} if possible,
* since this method considered RawId and IdGenerator.
* @since 5.0.3
*/
public static boolean isAutoId(Component comp, String id) {
if (id == null || id.length(... |
<<<<<<<
import android.widget.Toast;
import com.google.common.base.Preconditions;
=======
import com.google.common.base.Optional;
>>>>>>>
import com.google.common.base.Optional;
import android.widget.Toast;
import com.google.common.base.Preconditions; |
<<<<<<<
private String _quality = "hight";
=======
private String _bgcolor;
>>>>>>>
private String _quality = "hight";
private String _version = "6,0,0,0";
private String _bgcolor;
<<<<<<<
=======
/**
* Gets the background color of Flash movie.
* <p>Default: null (the system default)
* @return the ba... |
<<<<<<<
import android.preference.PreferenceManager;
=======
import android.support.annotation.NonNull;
>>>>>>>
import android.preference.PreferenceManager;
import android.support.annotation.NonNull;
<<<<<<<
=======
BTCSettings currencySettings = (BTCSettings) _walletManager.getCurrencySettings(Currency.B... |
<<<<<<<
public static final Initiators doInit(PageDefinition pagedef, Page page) {
final List<Initiator> inits = pagedef.doInit(page);
if (inits.isEmpty()) return new Initiators();
return new RealInits(inits);
=======
public static final Initiators doInit(PageDefinition pagedef, Page page,
Initiator[] sysini... |
<<<<<<<
public void storeColuAssetIds(String assetIds) {
storeKeyCategoryValueEntry(COLU.of("assetIds"), assetIds);
}
public String getColuAssetIds() {
return getKeyCategoryValueEntry(COLU.of("assetIds"), "");
}
public void storeColuKey(String assetId, String base58PrivateKey) {
store... |
<<<<<<<
import org.zkoss.zk.ui.IdSpace;
import org.zkoss.zk.ui.event.*;
=======
import org.zkoss.zk.ui.ext.render.MultiBranch;
import org.zkoss.zk.ui.ext.client.Maximizable;
import org.zkoss.zk.ui.ext.client.Minimizable;
import org.zkoss.zk.ui.ext.client.Openable;
import org.zkoss.zk.ui.ext.render.Floating;
import or... |
<<<<<<<
import com.mycelium.wallet.activity.send.PopActivity;
import com.mycelium.wallet.bitid.BitIDAuthenticationActivity;
import com.mycelium.wallet.bitid.BitIDSignRequest;
import com.mycelium.wallet.BitcoinUri;
import com.mycelium.wallet.Constants;
import com.mycelium.wallet.MbwManager;
import com.mycelium.wallet.R;... |
<<<<<<<
import androidx.annotation.NonNull;
import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.InfiniteLinearLayoutManager;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
=======
>>>>>>>
import androidx.annotation.NonNull;
import and... |
<<<<<<<
public RetrieveExpression(ExModifier existenceModifier, QualifiedIdentifier topic, IdentifierExpression modality, IdentifierExpression valuesetPathIdentifier, QualifiedIdentifier valueset, IdentifierExpression duringPathIdentifier, Expression duringExpression) {
super();
this.existenceModifi... |
<<<<<<<
public static CqlTranslator createTranslatorFromText(String cqlText, CqlTranslator.Options... options) {
ModelManager modelManager = new ModelManager();
LibraryManager libraryManager = new LibraryManager(modelManager);
libraryManager.getLibrarySourceLoader().registerProvider(new Fhir... |
<<<<<<<
public DefaultJwtSigningAndValidationService(JWKSetKeyStore keyStore) throws NoSuchAlgorithmException, InvalidKeySpecException {
// convert all keys in the keystore to a map based on key id
for (JWK key : keyStore.getKeys()) {
if (!Strings.isNullOrEmpty(key.getKeyID())) {
this.keys.put(key.getKeyID(... |
<<<<<<<
@Autowired
private ConfigurationPropertiesBean configBean;
private List<? extends JwtSigner> signers = new ArrayList<JwtSigner>();
=======
// map of identifier to signer
private Map<String, ? extends JwtSigner> signers = new HashMap<String, JwtSigner>();
>>>>>>>
@Autowired
private ConfigurationPrope... |
<<<<<<<
public DefaultOAuth2ClientDetailsEntityService() {
}
public DefaultOAuth2ClientDetailsEntityService(OAuth2ClientRepository clientRepository,
OAuth2TokenRepository tokenRepository) {
this.clientRepository = clientRepository;
this.tokenRepository = tokenRepository;
}
=======
>>>>>>> |
<<<<<<<
=======
>>>>>>>
<<<<<<<
* @see org.springframework.security.oauth2.provider.token.AbstractTokenGranter#getOAuth2Authentication(org.springframework.security.oauth2.provider.AuthorizationRequest)
*/
@Override
protected OAuth2Authentication getOAuth2Authentication(ClientDetails client, TokenRequest ... |
<<<<<<<
long fundingAmountToSend = _mbwManager.getColuManager().getColuTransactionFee(feePerKbValue);
if (fundingAmountToSend < TransactionUtils.MINIMUM_OUTPUT_VALUE)
fundingAmountToSend = TransactionUtils.MINIMUM_OUTPUT_VALUE;
=======
long fundingAmountShouldHave = _mbwManager.get... |
<<<<<<<
=======
/**
* Check if the user has already stored a positive approval decision for this site; or if the
* site is whitelisted, approve it automatically.
*
* Otherwise, return false so that the user will see the approval page and can make their own decision.
*
* @param authorizationRequest... |
<<<<<<<
import org.mitre.oauth2.model.OAuth2AccessTokenEntity;
import org.mitre.oauth2.repository.OAuth2TokenRepository;
=======
>>>>>>>
import org.mitre.oauth2.model.OAuth2AccessTokenEntity;
import org.mitre.oauth2.repository.OAuth2TokenRepository;
<<<<<<<
@Autowired
private OAuth2TokenRepository tokenRepository... |
<<<<<<<
oldTypes = new ArrayList<String>(4);
oldTypes.add((String) elem.get("@type"));
=======
oldTypes = new ArrayList<String>();
oldTypes.add((String) elem.get(JsonLdConsts.TYPE));
>>>>>>>
oldTypes = new ArrayList<String>(4);
... |
<<<<<<<
import io.fundrequest.platform.faq.FAQService;
import io.fundrequest.platform.profile.profile.ProfileService;
import io.fundrequest.platform.profile.profile.dto.UserProfile;
import org.apache.commons.lang3.StringUtils;
=======
>>>>>>>
import io.fundrequest.platform.profile.profile.ProfileService;
import io.f... |
<<<<<<<
import io.fundrequest.platform.faq.FAQService;
import io.fundrequest.platform.faq.model.FaqItemDto;
import io.fundrequest.platform.profile.profile.ProfileService;
import io.fundrequest.platform.profile.profile.dto.UserProfile;
=======
import org.junit.Before;
>>>>>>>
import io.fundrequest.platform.profile.pr... |
<<<<<<<
private static final String FAQ_REQUESTS_PAGE = "requests";
private static final String FAQ_REQUEST_DETAIL_PAGE = "requestDetail";
private final SecurityContextService securityContextService;
=======
>>>>>>>
private final SecurityContextService securityContextService;
<<<<<<<
... |
<<<<<<<
mbwManager = MbwManager.getInstance(getApplication());
=======
_mbwManager = MbwManager.getInstance(getApplication());
feeItemsBuilder = new FeeItemsBuilder(_mbwManager.getExchangeRateManager(), _mbwManager.getFiatCurrency());
>>>>>>>
mbwManager = MbwManager.getInstance(getApp... |
<<<<<<<
pendingFundService,
statisticsService,
profileService,
fundService,
refundService,
claimSe... |
<<<<<<<
import io.fundrequest.core.request.fund.dto.RefundRequestDto;
import io.fundrequest.core.request.fund.dto.TotalFundDto;
=======
>>>>>>>
import io.fundrequest.core.request.fund.dto.RefundRequestDto;
<<<<<<<
final List<RefundRequestDto> pendingRefundRequests = Lists.newArrayList(RefundRequestDto.build... |
<<<<<<<
private TotalFundDto fndFunds;
private TotalFundDto otherFunds;
private String funderAddress;
=======
private TokenValueDto fndFunds;
private TokenValueDto otherFunds;
>>>>>>>
private TokenValueDto fndFunds;
private TokenValueDto otherFunds;
private String funderAddress; |
<<<<<<<
import static org.mockito.Mockito.*;
=======
import static org.junit.Assert.fail;
import static org.mockito.Matchers.any;
import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
>>>>>>>
import static org.junit.Assert.fail;
import s... |
<<<<<<<
import static io.fundrequest.core.web3j.EthUtil.fromWei;
import static java.util.stream.Collectors.groupingBy;
import static java.util.stream.Collectors.reducing;
import static java.util.stream.Collectors.toList;
=======
>>>>>>>
<<<<<<<
final TotalFundDto fndFunds = totalFunds(list, FunderDto::getF... |
<<<<<<<
import io.fundrequest.common.infrastructure.exception.ResourceNotFoundException;
import io.fundrequest.common.infrastructure.mapping.Mappers;
=======
import io.fundrequest.common.infrastructure.mapping.Mappers;
>>>>>>>
import io.fundrequest.common.infrastructure.exception.ResourceNotFoundException;
import io... |
<<<<<<<
import net.tridentsdk.server.data.MetadataType;
import net.tridentsdk.server.data.ProtocolMetadata;
import net.tridentsdk.server.entity.TridentEntityBuilder;
=======
import net.tridentsdk.server.entity.EntityBuilder;
>>>>>>>
import net.tridentsdk.server.data.MetadataType;
import net.tridentsdk.server.data.Pr... |
<<<<<<<
private RollbarResponse readResponse(HttpURLConnection connection) throws ConnectionFailedException {
=======
private static final Pattern messagePattern = Pattern.compile("\"message\"\\s*:\\s*\"([^\"]*)\"");
private static final Pattern uuidPattern = Pattern.compile("\"uuid\"\\s*:\\s*\"([^\"]*)\"... |
<<<<<<<
private void process(ThrowableWrapper error, Map<String, Object> custom, String description,
=======
public void close(boolean wait) throws Exception {
this.config.sender().close(wait);
}
private void process(Throwable error, Map<String, Object> custom, String description,
>>>>>>>
public void ... |
<<<<<<<
if (actionId == EditorInfo.IME_ACTION_GO) {
submit();
=======
if (actionId == EditorInfo.IME_NULL) {
submit(null);
>>>>>>>
if (actionId == EditorInfo.IME_ACTION_GO) {
submit(null); |
<<<<<<<
jLabel1 = new javax.swing.JLabel();
jLabel2 = new javax.swing.JLabel();
jFormattedTextField1 = new javax.swing.JFormattedTextField();
jCheckBox1 = new javax.swing.JCheckBox();
=======
jPanel2 = new javax.swing.JPanel();
autoCompleteCheckBox = new javax.swing.JCh... |
<<<<<<<
/*
* Copyright (c) 2016 Sebastian Brudzinski
*
* See the file LICENSE for copying permission.
*/
package latexstudio.editor.remote;
import com.dropbox.core.DbxClient;
import com.dropbox.core.DbxException;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import latexstudio.editor.A... |
<<<<<<<
private final RevisionDisplayTopComponent revtc = new TopComponentFactory<RevisionDisplayTopComponent>()
.getTopComponent(RevisionDisplayTopComponent.class.getSimpleName());
private static final ApplicationLogger LOGGER = new ApplicationLogger("Dropbox");
=======
>>>>>>>
private ... |
<<<<<<<
public static final String MARKETPAY_ENDPOINT_TEST = "https://cal-test.adyen.com/cal/services";
public static final String MARKETPAY_ENDPOINT_LIVE = "https://cal-live.adyen.com/cal/services";
public static final String API_VERSION = "v25";
public static final String MARKETPAY_API_VERSION = "v3";... |
<<<<<<<
import com.fasterxml.jackson.annotation.JsonValue;
=======
import com.adyen.util.MaskUtil;
>>>>>>>
import com.fasterxml.jackson.annotation.JsonValue;
import com.adyen.util.MaskUtil; |
<<<<<<<
import com.fasterxml.jackson.annotation.JsonValue;
=======
import com.adyen.util.MaskUtil;
>>>>>>>
import com.fasterxml.jackson.annotation.JsonValue;
import com.adyen.util.MaskUtil; |
<<<<<<<
import com.lib.dto.LuceneSearchVo;
import com.lib.dto.PageVo;
=======
import com.lib.dto.JsonResult;
import com.lib.entity.DocInfo;
>>>>>>>
import com.lib.dto.LuceneSearchVo;
import com.lib.dto.PageVo;
import com.lib.dto.JsonResult;
import com.lib.entity.DocInfo; |
<<<<<<<
NewsDatabase.INSTANCE.initialize(this);
NewsSyncUtils.startNewsUpdateRepeating(this);
=======
PackageRemovedReceiver.register(getApplicationContext());
>>>>>>>
PackageRemovedReceiver.register(getApplicationContext());
NewsDatabase.INSTANCE.initialize(this);
New... |
<<<<<<<
@Override
public FileInfo getFileInfoByFileId(Long fileId) {
// TODO Auto-generated method stub
return fileinfoDao.getFileInfoByFileId(fileId);
}
=======
@Override
public List<FileInfo> searchFileInfoByNameOrId(String searchInfo, Long userId) {
return fileinfoDao.searchFileInfoByNameOrId("%"+searc... |
<<<<<<<
@RequestMapping(value="/recommend", method = {RequestMethod.POST,RequestMethod.GET})
=======
@RequestMapping("/recommend")
>>>>>>>
@RequestMapping(value="/recommend", method = {RequestMethod.POST,RequestMethod.GET})
<<<<<<<
System.out.println(list);
// Collections.reverse(list);//倒序排列
jr = new ... |
<<<<<<<
import com.pspdfkit.annotations.Annotation;
import com.pspdfkit.react.events.PdfViewDataReturnedEvent;
=======
import com.pspdfkit.react.events.PdfViewAnnotationChangedEvent;
import com.pspdfkit.react.events.PdfViewAnnotationTappedEvent;
import com.pspdfkit.react.events.PdfViewDocumentSavedEvent;
>>>>>>>
imp... |
<<<<<<<
final ZeebeState otherZeebeState = new ZeebeState(1, newDb, newDb.createContext());
=======
final int secondPartitionId = Protocol.DEPLOYMENT_PARTITION + 1;
final ZeebeState otherZeebeState = new ZeebeState(secondPartitionId, newDb);
>>>>>>>
final int secondPartitionId = Protocol.DEPLOYMENT_P... |
<<<<<<<
public static EmbeddedBrokerRule brokerRule = new EmbeddedBrokerRule();
public static ClientApiRule apiRule = new ClientApiRule(brokerRule::getClientAddress);
=======
public EmbeddedBrokerRule brokerRule = new EmbeddedBrokerRule();
public ClientApiRule apiRule = new ClientApiRule(brokerRule::getAtomix... |
<<<<<<<
public static EmbeddedBrokerRule brokerRule = new EmbeddedBrokerRule();
public static ClientApiRule apiRule = new ClientApiRule(brokerRule::getClientAddress);
=======
public EmbeddedBrokerRule brokerRule = new EmbeddedBrokerRule();
public ClientApiRule apiRule = new ClientApiRule(brokerRule::getAtomix... |
<<<<<<<
import static io.zeebe.logstreams.impl.LogBlockIndexWriter.LOG;
=======
import static io.zeebe.logstreams.impl.service.LogStreamServiceNames.distributedLogPartitionServiceName;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.anyLong;
import static org.mockito.Mockit... |
<<<<<<<
import com.mycelium.wapi.wallet.btc.bip44.HDAccountExternalSignature;
=======
import com.mycelium.wapi.wallet.btc.bip44.Bip44AccountExternalSignature;
import com.mycelium.wapi.wallet.coins.BitcoinTest;
import com.mycelium.wapi.wallet.coins.Value;
>>>>>>>
import com.mycelium.wapi.wallet.btc.bip44.HDAccountEx... |
<<<<<<<
import static io.zeebe.broker.system.SystemServiceNames.METRICS_HTTP_SERVER;
import static io.zeebe.broker.transport.TransportServiceNames.MANAGEMENT_API_SERVER_NAME;
import static io.zeebe.broker.transport.TransportServiceNames.bufferingServerTransport;
=======
>>>>>>>
import static io.zeebe.broker.system.S... |
<<<<<<<
import io.zeebe.protocol.impl.record.value.workflowinstance.WorkflowInstanceCreationRecord;
=======
import io.zeebe.protocol.impl.record.value.workflowinstance.WorkflowInstanceRecord;
import io.zeebe.protocol.intent.DeploymentIntent;
>>>>>>>
import io.zeebe.protocol.impl.record.value.workflowinstance.Workflo... |
<<<<<<<
public static final int METRICS_PORT = MetricsCfg.DEFAULT_PORT;
=======
public static final int ATOMIX_PORT = SocketBindingAtomixCfg.DEFAULT_PORT;
>>>>>>>
public static final int METRICS_PORT = MetricsCfg.DEFAULT_PORT;
public static final int ATOMIX_PORT = SocketBindingAtomixCfg.DEFAULT_PORT;
<<<<<<... |
<<<<<<<
import io.zeebe.broker.exporter.record.value.RaftRecordValueImpl;
import io.zeebe.broker.exporter.record.value.VariableDocumentRecordValueImpl;
=======
>>>>>>>
import io.zeebe.broker.exporter.record.value.VariableDocumentRecordValueImpl;
<<<<<<<
import io.zeebe.exporter.api.record.Record;
import io.zeebe.ex... |
<<<<<<<
import org.agrona.DirectBuffer;
=======
import org.junit.Ignore;
>>>>>>>
import org.agrona.DirectBuffer;
import org.junit.Ignore;
<<<<<<<
=======
public void shouldDeleteOnClose() {
final File logDir = tempFolder.getRoot();
final LogStream logStream =
buildLogStream(b -> b.logRootPath(lo... |
<<<<<<<
Preloader(List<GenericTransaction> toAdd, WalletAccount account, int offset, int limit, AtomicBoolean success) {
=======
Preloader(List<TransactionSummary> toAdd, WalletAccount account, MbwManager _mbwManager
, int offset, int limit, AtomicBoolean success) {
>>>>>>>
Preloader(... |
<<<<<<<
import com.intellij.openapi.module.Module;
import com.intellij.openapi.module.ModuleManager;
import com.intellij.openapi.progress.ProgressIndicator;
import com.intellij.openapi.progress.Task;
import com.intellij.openapi.project.DumbAware;
import com.intellij.openapi.project.DumbAwareRunnable;
=======
import c... |
<<<<<<<
@Override
public void onSignedOut() {
// TODO: Implement
}
@Override
public void onSignInFailed() {
// TODO: Implement
}
@Override
public void onMessageReceived(String from, Bundle message) {
// TODO: Implement
}
=======
@Override
public vo... |
<<<<<<<
import ucar.unidata.data.*;
import ucar.unidata.geoloc.*;
import ucar.unidata.geoloc.projection.*;
=======
import ucar.unidata.data.BadDataException;
import ucar.unidata.data.DataCategory;
import ucar.unidata.data.DataChoice;
import ucar.unidata.data.DataSelection;
import ucar.unidata.data.DataSourceDescri... |
<<<<<<<
private final WatcherRemoveCuratorFramework client;
private final CreateModable<ACLBackgroundPathAndBytesable<String>> createMethod;
=======
private final CuratorFramework client;
>>>>>>>
private final WatcherRemoveCuratorFramework client; |
<<<<<<<
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
=======
import org.apache.zookeeper.data.ACL;
>>>>>>>
import org.apache.zookeeper.data.ACL;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory; |
<<<<<<<
ChildData oldChildData = childData.getAndSet(null);
ConcurrentMap<String, TreeNode> childMap = children.getAndSet(null);
=======
ChildData oldChildData = childDataUpdater.getAndSet(this, null);
client.clearWatcherReferences(this);
ConcurrentMap<Strin... |
<<<<<<<
import org.apache.curator.utils.CloseableUtils;
import org.apache.curator.utils.PathUtils;
=======
import org.apache.curator.utils.ThreadUtils;
>>>>>>>
import org.apache.curator.utils.CloseableUtils;
import org.apache.curator.utils.PathUtils;
import org.apache.curator.utils.ThreadUtils; |
<<<<<<<
private final ErrorPolicy errorPolicy;
=======
private final AtomicLong currentInstanceIndex = new AtomicLong(-1);
private final InternalConnectionHandler internalConnectionHandler;
>>>>>>>
private final ErrorPolicy errorPolicy;
private final AtomicLong currentInstanceIndex = new AtomicLo... |
<<<<<<<
=======
import com.google.common.collect.Queues;
>>>>>>>
import com.google.common.collect.Queues;
<<<<<<<
import org.apache.curator.framework.api.CuratorWatcher;
import org.apache.curator.framework.imps.TestCleanState;
=======
import org.apache.curator.framework.api.CuratorWatcher;
>>>>>>>
import org.apa... |
<<<<<<<
import com.mycelium.wapi.wallet.btc.coins.BitcoinTest;
=======
import com.mycelium.wapi.wallet.btc.bip44.HDConfig;
import com.mycelium.wapi.wallet.coins.BitcoinMain;
import com.mycelium.wapi.wallet.coins.BitcoinTest;
>>>>>>>
import com.mycelium.wapi.wallet.btc.bip44.HDConfig;
import com.mycelium.wapi.wallet.... |
<<<<<<<
private List<AuthInfo> buildAuths(CuratorFrameworkFactory.Builder builder)
{
ImmutableList.Builder<AuthInfo> builder1 = ImmutableList.builder();
if ( builder.getAuthInfos() != null )
{
builder1.addAll(builder.getAuthInfos());
}
return builder1.build();... |
<<<<<<<
public void testQuickClose() throws Exception
{
CuratorFramework client = CuratorFrameworkFactory.newClient(server.getConnectString(), timing.session(), 1, new RetryNTimes(0, 0));
try
{
client.start();
client.close();
}
finally
{
... |
<<<<<<<
stat.set(null);
data.set(null);
=======
Stat oldStat = stat.getAndSet(null);
byte[] oldData = data.getAndSet(null);
client.clearWatcherReferences(this);
>>>>>>>
Stat oldStat = stat.getAndSet(null);
byte[] oldData = data.getAn... |
<<<<<<<
=======
public static final String BUILD = Gpr.compileTimeStamp(Bds.class);
public static final String REVISION = "c";
public static final String SOFTWARE_NAME = Bds.class.getSimpleName();
public static final String VERSION_MAJOR = "2.1";
public static final String VERSION_SHORT = VERSION_MAJOR + REVISIO... |
<<<<<<<
import org.jpmml.sparkml.MatrixUtil;
import org.jpmml.sparkml.ScaledFeatureUtil;
=======
>>>>>>>
import org.jpmml.sparkml.MatrixUtil;
<<<<<<<
if(categoricalLabel.size() == 2){
List<Feature> features = new ArrayList<>(schema.getFeatures());
List<Double> coefficients = new ArrayList<>(VectorUtil.toLis... |
<<<<<<<
=======
if(expression instanceof StringTrim){
return PMMLUtil.createApply(PMMLFunctions.TRIMBLANKS, translateInternal(child));
} else
>>>>>>> |
<<<<<<<
import org.dmg.pmml.regression.RegressionTable;
import org.jpmml.converter.CategoricalLabel;
import org.jpmml.converter.Feature;
import org.jpmml.converter.ModelUtil;
=======
import org.jpmml.converter.Feature;
>>>>>>>
import org.dmg.pmml.regression.RegressionTable;
import org.jpmml.converter.CategoricalLabe... |
<<<<<<<
=======
import java.io.IOException;
import java.net.MalformedURLException;
>>>>>>>
import java.io.IOException;
import java.net.MalformedURLException; |
<<<<<<<
public static final String PackageName = "Crypto";
public static final String CodeGenerationCallFolder = Constants.innerFileSeparator + Constants.PackageName;
public static final String CodeGenerationCallFile = CodeGenerationCallFolder + Constants.innerFileSeparator + Constants.AdditionalOutputFile;
=======... |
<<<<<<<
final CryptSLRule rule = new CryptSLRule(curClass, objects, this.forbiddenMethods, this.smg, constraints,
actPreds);
=======
final CryptSLRule rule = new CryptSLRule(this.curClass, objects, this.forbiddenMethods, this.smg,
constraints, actPreds);
>>>>>>>
final CryptSLRule rule = new CryptS... |
<<<<<<<
import crypto.rules.CryptSLRule;
=======
>>>>>>>
import crypto.rules.CryptSLRule; |
<<<<<<<
import org.junit.Ignore;
import org.junit.After;
import org.junit.Before;
=======
>>>>>>>
import org.junit.Ignore;
import org.junit.After;
import org.junit.Before;
<<<<<<<
this.configEnc = TestUtils.createXSLConfigurationForCodeGeneration(developerProject, encTask);
boolean encCheck = generatorEnc.gener... |
<<<<<<<
import de.cognicrypt.core.Constants.CodeGenerators;
import de.cognicrypt.utils.Utils;
=======
import de.cognicrypt.utils.DeveloperProject;
>>>>>>>
import de.cognicrypt.core.Constants.CodeGenerators;
import de.cognicrypt.utils.Utils;
import de.cognicrypt.utils.DeveloperProject; |
<<<<<<<
final CryptSLRule rule = new CryptSLRule(curClass, objects, this.forbiddenMethods, this.smg, constraints,
actPreds);
=======
final CryptSLRule rule = new CryptSLRule(this.curClass, objects, this.forbiddenMethods, this.smg,
constraints, actPreds);
>>>>>>>
final CryptSLRule rule = new CryptS... |
<<<<<<<
public static final String PackageName = "Crypto";
public static final String CodeGenerationCallFolder = Constants.innerFileSeparator + Constants.PackageName;
public static final String CodeGenerationCallFile = CodeGenerationCallFolder + Constants.innerFileSeparator + Constants.AdditionalOutputFile;
=======... |
<<<<<<<
case IBankTypes.MARGINALEN:
return new Marginalen(context);
=======
case IBankTypes.CHALMREST:
return new Chalmrest(context);
>>>>>>>
case IBankTypes.CHALMREST:
return new Chalmrest(context);
case IBankTypes.MARGINALEN:
return new Marg... |
<<<<<<<
//dynamicDAG.getParentSetTime0(B).addParent(H1);
//dynamicDAG.getParentSetTime0(C).addParent(H1);
//dynamicDAG.getParentSetTime0(D).addParent(H1);
//dynamicDAG.getParentSetTime0(B).addParent(H2);
//dynamicDAG.getParentSetTime0(C).addParent(H2);
//dynamicDAG.getPar... |
<<<<<<<
import COM.hugin.HAPI.ExceptionHugin;
import com.google.common.base.Stopwatch;
=======
>>>>>>>
import COM.hugin.HAPI.ExceptionHugin;
import com.google.common.base.Stopwatch; |
<<<<<<<
default boolean isInverseGamma(){
return(this.getDistributionType().compareTo(DistType.INV_GAMMA)==0);
}
default boolean isIndicator(){
return(this.getDistributionType().compareTo(DistType.INDICATOR)==0);
}
=======
//default boolean isIndicator(){
// return(this.get... |
<<<<<<<
parallelVB.setPlateuStructure(new PlateuStructure());
=======
// Convergence parameters
>>>>>>>
//
parallelVB.setPlateuStructure(new PlateuStructure());
// Convergence parameters
<<<<<<<
Normal normal = parallelVB.getParameterPosteriorTimeT(globalHiddenVa... |
<<<<<<<
import COM.hugin.HAPI.ExceptionHugin;
import com.google.common.base.Stopwatch;
=======
>>>>>>>
import COM.hugin.HAPI.ExceptionHugin;
import com.google.common.base.Stopwatch; |
<<<<<<<
for (DataInstance dynamicdatainstance : sampler.getSampleIterator(3, 2)){
System.out.println("\nSequence ID" + dynamicdatainstance.getSequenceID());
System.out.println("\nTime ID" + dynamicdatainstance.getTimeID());
=======
for (DynamicDataInstance dynamicdatainstance :... |
<<<<<<<
// Set the dynamic DAG to learn from (resulting DAG is nVariables*nSamples*nMonths)
=======
>>>>>>>
// Set the dynamic DAG to learn from (resulting DAG is nVariables*nSamples*nMonths)
<<<<<<<
// Show the new dynamic DAG structure
=======
>>>>>>>
// Show the new dynamic DA... |
<<<<<<<
=======
import eu.amidst.core.inference.ImportanceSampling;
>>>>>>>
import eu.amidst.core.inference.ImportanceSampling; |
<<<<<<<
public enum DistType {MULTINOMIAL, GAUSSIAN, MULTINOMIAL_LOGISTIC, INDICATOR, INV_GAMMA;
=======
public enum DistType {MULTINOMIAL, NORMAL, MULTINOMIAL_LOGISTIC, INDICATOR;
>>>>>>>
public enum DistType {MULTINOMIAL, NORMAL, MULTINOMIAL_LOGISTIC, INDICATOR, INV_GAMMA; |
<<<<<<<
domainObject.computeDBNPredictions(1);
LabelledDCNode node = (LabelledDCNode) domainObject.getNodeByName("T1." + var.getName());
posteriorDistribution = var.newUnivariateDistribution();
=======
LabelledDCNode node = (LabelledDCNode) domainObject.getNodeByName(ta... |
<<<<<<<
//distC.getNormal(0).setSd(0.2);
=======
distC.getNormal(0).setVariance(0.04);
>>>>>>>
distC.getNormal(0).setVariance(0.04);
<<<<<<<
//distC.getNormal(1).setSd(1);
=======
distC.getNormal(1).setVariance(1);
>>>>>>>
distC.getNormal(1).setVariance(1);
<<<<<<... |
<<<<<<<
import COM.hugin.HAPI.ExceptionHugin;
import com.google.common.base.Stopwatch;
=======
>>>>>>>
import COM.hugin.HAPI.ExceptionHugin;
import com.google.common.base.Stopwatch; |
<<<<<<<
//distC.getNormal(0).setSd(0.2);
=======
distC.getNormal(0).setVariance(0.04);
>>>>>>>
distC.getNormal(0).setVariance(0.04);
<<<<<<<
//distC.getNormal(1).setSd(1);
=======
distC.getNormal(1).setVariance(1);
>>>>>>>
distC.getNormal(1).setVariance(1);
<<<<<<... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.