conflict_resolution
stringlengths
27
16k
<<<<<<< import org.junit.Test; import org.junit.jupiter.api.Disabled; ======= import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; >>>>>>> import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Disabled; <<<<<<< @Test(timeout = 120000L) ...
<<<<<<< @HelpDescription("Version of the Gradle Inspector. Wildcards may be specified with *.") @HelpDetailed("Wildcard versions will find the highest version that fits the pattern. For example 1.* will lock to major version 1 where 1.2.* will lock to major 1 and minor 2. Both versions 1.2.3 and 1.2.4 would ful...
<<<<<<< import com.synopsys.integration.detectable.detectable.exception.DetectableException; import com.synopsys.integration.detectable.detectable.executable.resolver.GradleResolver; import com.synopsys.integration.detectable.detectable.inspector.GradleInspectorTemplateResolver; ======= import com.synopsys.integratio...
<<<<<<< final NotificationTaskRange notificationTaskRange = new NotificationTaskRange(System.currentTimeMillis(), codeLocationWaitController.getNotificationRange().getStartDate(), codeLocationWaitController.getNotificationRange().getEndDate()); ======= f...
<<<<<<< import org.junit.Assert; import org.junit.Test; import org.junit.jupiter.api.Disabled; ======= import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; >>>>>>> import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Disabled; <<<<<<< @D...
<<<<<<< final String msg = String.format("%s: Unknown value '%s', acceptable values are %s", firstUnacceptableDetectOption.getKey(), firstUnacceptableDetectOption.getResolvedValue(), firstUnacceptableDetectOption.getAcceptableValues...
<<<<<<< import com.blackducksoftware.integration.hub.detect.DetectConfiguration; import com.blackducksoftware.integration.hub.detect.bomtool.BomToolGroupType; import com.blackducksoftware.integration.hub.detect.bomtool.BomToolType; ======= >>>>>>> import com.blackducksoftware.integration.hub.detect.bomtool.BomToolGr...
<<<<<<< @HelpDescription("A comma-separated list of directory names to exclude from the bom tool search.") DETECT_DETECTOR_SEARCH_EXCLUSION("detect.detector.search.exclusion", "Detector Directory Exclusions", "3.2.0", PropertyType.STRING_ARRAY, PropertyAuthority.None), ======= @HelpDescription("A comma-se...
<<<<<<< import java.util.Collection; import java.util.HashSet; ======= import java.util.HashMap; >>>>>>> import java.util.Collection; import java.util.HashSet; <<<<<<< import java.util.Set; ======= import java.util.Map; import java.util.stream.Collectors; >>>>>>> import java.util.Set; <<<<<<< eventSyste...
<<<<<<< final String dockerInspectorAirGapPath = detectConfiguration.getProperty(DetectProperty.DETECT_DOCKER_INSPECTOR_AIR_GAP_PATH); ======= final String dockerInspectorAirGapPath = detectConfigWrapper.getProperty(DetectProperty.DETECT_DOCKER_INSPECTOR_AIR_GAP_PATH); final String...
<<<<<<< addSpatialFilteringProfile(observation, resultObject.getObservationId()); checkForModifications(observation); ======= if (resultObject.hasSamplingGeometry()) { observation.addParameter(createSpatialFilteringProfileParameter(resultObject.getSamplingGeometry()...
<<<<<<< eventSystem.registerListener(Event.UnrecognizedPaths, this::addUnrecognizedPaths); ======= eventSystem.registerListener(Event.CodeLocationsCalculated, this::codeLocationsCalculated); eventSystem.registerListener(Event.ProjectNameVersionChosen, this::projectNameVersionChosen); >>>>>>> ...
<<<<<<< import com.blackducksoftware.integration.hub.detect.help.html.HelpHtmlWriter; ======= import com.blackducksoftware.integration.hub.detect.help.HelpManager; >>>>>>> import com.blackducksoftware.integration.hub.detect.help.html.HelpHtmlWriter; <<<<<<< import com.blackducksoftware.integration.hub.detect.help.p...
<<<<<<< import com.synopsys.integration.detectable.detectable.Requirements; ======= import com.synopsys.integration.detectable.ExecutableTarget; >>>>>>> import com.synopsys.integration.detectable.ExecutableTarget; import com.synopsys.integration.detectable.detectable.Requirements;
<<<<<<< import com.synopsys.integration.detectable.detectable.Requirements; ======= import com.synopsys.integration.detectable.ExecutableTarget; >>>>>>> import com.synopsys.integration.detectable.detectable.Requirements; import com.synopsys.integration.detectable.ExecutableTarget; <<<<<<< import com.synopsys.integr...
<<<<<<< import com.blackducksoftware.integration.hub.detect.bomtool.BomToolGroupType; import com.blackducksoftware.integration.hub.detect.bomtool.BomToolType; ======= >>>>>>> import com.blackducksoftware.integration.hub.detect.bomtool.BomToolGroupType; import com.blackducksoftware.integration.hub.detect.bomtool.BomT...
<<<<<<< import com.blackducksoftware.integration.hub.detect.DetectConfiguration; import com.blackducksoftware.integration.hub.detect.bomtool.BomToolType; ======= >>>>>>> import com.blackducksoftware.integration.hub.detect.bomtool.BomToolType; <<<<<<< ======= import com.blackducksoftware.integration.hub.detect.con...
<<<<<<< @Deprecated public static final DetectProperty<NullableStringProperty> DETECT_GRADLE_INSPECTOR_VERSION = new DetectProperty<>(new NullableStringProperty("detect.gradle.inspector.version")) .setInfo("Gradle Inspector Version", DetectPropertyFromVersion.VERSION_3_0_0) .setH...
<<<<<<< ======= import java.util.Optional; import java.util.stream.Stream; >>>>>>> import java.util.Optional; import java.util.stream.Stream; <<<<<<< ======= Path outputDirectory = directoryManager.getImpactAnalysisOutputDirectory().toPath(); if (null != impactAnalysisOptions.getOutputDirectory(...
<<<<<<< import com.blackducksoftware.integration.hub.detect.DetectConfiguration; import com.blackducksoftware.integration.hub.detect.bomtool.BomToolType; ======= >>>>>>> import com.blackducksoftware.integration.hub.detect.bomtool.BomToolType; <<<<<<< ======= import com.blackducksoftware.integration.hub.detect.con...
<<<<<<< return new DockerDetector(detectInfo, detectorEnvironment, directoryManager, dockerInspectorManager(), standardExecutableFinder(), dockerRequired, tar, image, dockerExtractor(dockerProperties)); ======= return new DockerDetector(detectorEnvironment, directoryManager, dockerInspectorManager(), ...
<<<<<<< import com.blackducksoftware.integration.hub.detect.bomtool.BomToolFactory; ======= import com.blackducksoftware.integration.hub.detect.DetectConfiguration; import com.blackducksoftware.integration.hub.detect.bomtool.BomToolSearchProvider; >>>>>>> import com.blackducksoftware.integration.hub.detect.bomtool.B...
<<<<<<< import com.synopsys.integration.detectable.detectable.Requirements; ======= import com.synopsys.integration.detectable.ExecutableTarget; >>>>>>> import com.synopsys.integration.detectable.detectable.Requirements; import com.synopsys.integration.detectable.ExecutableTarget;
<<<<<<< import com.blackducksoftware.integration.hub.detect.bomtool.BomToolType; import com.blackducksoftware.integration.hub.detect.bomtool.cocoapods.parse.CocoapodsPackager; ======= import com.blackducksoftware.integration.hub.detect.bomtool.cocoapods.parse.PodlockParser; >>>>>>> import com.blackducksoftware.integ...
<<<<<<< import com.blackducksoftware.integration.hub.detect.configuration.DetectConfigWrapper; import com.blackducksoftware.integration.hub.detect.configuration.DetectProperty; import com.blackducksoftware.integration.hub.detect.exception.DetectUserFriendlyException; ======= import com.blackducksoftware.integration.h...
<<<<<<< return gradleInspectorExtractor.extract(environment.getDirectory(), gradleExe, gradleInspectorOptions.getGradleBuildCommand(), gradleInspectorOptions.getproxyInfo(), gradleInspector, extractionEnvironment.getOutputDirectory()); ======= String gradleCommand = gradleInspectorOptions.getGradleBui...
<<<<<<< import com.blackducksoftware.integration.hub.detect.DetectConfiguration; import com.blackducksoftware.integration.hub.detect.bomtool.BomToolType; ======= >>>>>>> import com.blackducksoftware.integration.hub.detect.bomtool.BomToolType; <<<<<<< ======= import com.blackducksoftware.integration.hub.detect.con...
<<<<<<< import com.synopsys.integration.detectable.detectable.PassedResultBuilder; ======= import com.synopsys.integration.detectable.ExecutableTarget; >>>>>>> import com.synopsys.integration.detectable.ExecutableTarget; import com.synopsys.integration.detectable.detectable.PassedResultBuilder;
<<<<<<< import com.synopsys.integration.detectable.detectable.Requirements; ======= import com.synopsys.integration.detectable.ExecutableTarget; >>>>>>> import com.synopsys.integration.detectable.detectable.Requirements; import com.synopsys.integration.detectable.ExecutableTarget; <<<<<<< import com.synopsys.integr...
<<<<<<< import com.blackducksoftware.integration.hub.detect.bomtool.BomTool; import com.blackducksoftware.integration.hub.detect.bomtool.NestedBomTool; import com.blackducksoftware.integration.hub.detect.bomtool.search.ApplicableDirectoryResult; import com.blackducksoftware.integration.hub.detect.bomtool.search.BomTool...
<<<<<<< ======= detectGroups = new ArrayList<>(); Map<String, DetailedDetectOption> optionDetails = new HashMap<>(); try { final Type detailedDetectOptionType = new TypeToken<HashMap<String, DetailedDetectOption>>() { }.getType(); final String detectDetaile...
<<<<<<< import com.synopsys.integration.blackduck.codelocation.binaryscanner.BinaryScanBatchOutput; import com.synopsys.integration.blackduck.codelocation.signaturescanner.ScanBatchOutput; ======= import com.synopsys.integration.blackduck.configuration.BlackDuckServerConfig; import com.synopsys.integration.blackduck....
<<<<<<< import com.synopsys.integration.blackduck.developermode.DeveloperScanService; ======= import com.synopsys.integration.blackduck.configuration.BlackDuckServerConfig; >>>>>>> import com.synopsys.integration.blackduck.configuration.BlackDuckServerConfig; import com.synopsys.integration.blackduck.developermode.D...
<<<<<<< ======= import java.util.ArrayList; import java.util.List; import java.util.Optional; import org.codehaus.plexus.util.StringUtils; >>>>>>> import java.util.Optional; <<<<<<< public NpmParseResult parse(final String sourcePath, final String packageJsonText, final String lockFileText, final boolean incl...
<<<<<<< String locale = modelElement.read( context( ValueProperty.class ) ).getText( false ); Value<Path> resourceBundle = portlet.getResourceBundle(); if ( locale != null && resourceBundle != null ) { String bundleName = resourceBundle.getText(); String localeString = PortletUtil.localeString( locale ...
<<<<<<< import static mil.nga.giat.data.elasticsearch.ElasticLayerConfiguration.ANALYZED; import static mil.nga.giat.data.elasticsearch.ElasticLayerConfiguration.DATE_FORMAT; import static mil.nga.giat.data.elasticsearch.ElasticLayerConfiguration.NESTED; ======= import org.apache.lucene.queryparser.xml.FilterBuilder...
<<<<<<< import org.elasticsearch.common.joda.Joda; import org.elasticsearch.common.settings.ImmutableSettings; import org.elasticsearch.common.settings.ImmutableSettings.Builder; import org.elasticsearch.common.settings.Settings; ======= import org.elasticsearch.common.settings.Settings; >>>>>>> import org.elasticse...
<<<<<<< import org.elasticsearch.common.base.Joiner; import org.elasticsearch.common.joda.Joda; import org.elasticsearch.common.joda.time.format.DateTimeFormatter; ======= >>>>>>> import org.elasticsearch.common.joda.Joda;
<<<<<<< import org.elasticsearch.common.unit.TimeValue; import org.elasticsearch.index.query.FilterBuilder; ======= >>>>>>> import org.elasticsearch.common.unit.TimeValue; <<<<<<< final FilterBuilder postFilter = filterToElastic.getFilterBuilder(); ======= final QueryBuilder postFilter = filterToE...
<<<<<<< ======= boolean papi = (boolean) map.getOrDefault("papi", Main.getInst().getConfig().getBoolean("LOCALE.USE_PAPI", false)); // text 里面的东西 >>>>>>> <<<<<<< text = TLocale.Translate.setColored(String.valueOf(arg.getOrDefault("text", text))); ======= ...
<<<<<<< import com.ilummc.tlib.annotations.Config; import lombok.Getter; import java.util.HashMap; import java.util.Map; ======= import com.ilummc.tlib.annotations.TConfig; >>>>>>> import com.ilummc.tlib.annotations.TConfig; <<<<<<< ======= public void setEnablePlaceholderHookByDefault(boolean enablePlacehol...
<<<<<<< private final AtomicInteger updateNodes = new AtomicInteger(); ======= >>>>>>> <<<<<<< public int getUpdateNodes() { return updateNodes.get(); } ======= >>>>>>> <<<<<<< updateNodes.set(0); ======= >>>>>>> <<<<<<< if (object instanceof TLocaleSerialize) { ...
<<<<<<< /** * Handle request */ public void serverequest(Request request) { ======= public void serverRequest(Request request) { >>>>>>> /** * Handle request */ public void serverRequest(Request request) {
<<<<<<< // enum singleton EnumIvoryTower enumIvoryTower1 = EnumIvoryTower.INSTANCE; EnumIvoryTower enumIvoryTower2 = EnumIvoryTower.INSTANCE; System.out.println("enumIvoryTower1=" + enumIvoryTower1); System.out.println("enumIvoryTower2=" + enumIvoryTower2); ======= InitializingOnDemandHolderIdiom dema...
<<<<<<< assert singleThreadedAccess(); if (offset < 0 || offset > capacity() - adding) ======= if (offset < 0 || offset > mappedFile.capacity() - adding) >>>>>>> assert singleThreadedAccess(); if (offset < 0 || offset > mappedFile.capacity() - adding) <<<<<<< @NotNull ...
<<<<<<< import java.lang.reflect.Field; ======= import com.bewitchment.Util; >>>>>>> import java.lang.reflect.Field; import com.bewitchment.Util; <<<<<<< ======= import java.lang.reflect.Field; >>>>>>>
<<<<<<< import com.bewitchment.common.potion.PotionBloodDrained; ======= import com.bewitchment.common.potion.potions.PotionBloodDrained; import com.bewitchment.common.transformation.ModTransformations; >>>>>>> import com.bewitchment.common.potion.potions.PotionBloodDrained;
<<<<<<< import net.minecraft.init.Items; import net.minecraft.item.Item; ======= >>>>>>> import net.minecraft.init.Items; <<<<<<< if(nbt.getInteger("hunger") == 0) { ======= float roundedSaturation = Math.round(nbt.getFloat("saturation") * 10) / 10; tooltip.add(I18n.format("item.stew.desc2", nbt.getInteger(...
<<<<<<< /* * Copyright (C) 2012-2018 52°North Initiative for Geospatial Open Source ======= /** * Copyright (C) 2012-2018 52°North Initiative for Geospatial Open Source >>>>>>> /* * Copyright (C) 2012-2018 52°North Initiative for Geospatial Open Source <<<<<<< import org.n52.series.db.beans.DataEntity; import or...
<<<<<<< int timer = 0; int coil_animation_length = 160; ======= >>>>>>> int timer = 0; int coil_animation_length = 160; <<<<<<< ======= //0.26179938779F >>>>>>> <<<<<<< if (entity.motionZ == 0 && entity.motionX == 0 ) { //Change to entity.isSitting if (timer < coil_animation_leng...
<<<<<<< parametric.getBoolean(TRACE_OPEN, enableTrace == null ? trace : enableTrace.value()), getCallback(method), ======= parametric.getBoolean(TRACE_OPEN, trace), getCallback(method, parametric), >>>>>>> parametric.getBoolean(TRACE_OPE...
<<<<<<< /** * 泛化的方法 */ protected transient GenericMethod genericMethod; /** * 参数泛型信息 */ protected transient Type[] genericTypes; ======= /** * 是否回调 */ protected transient boolean callback; >>>>>>> /** * 是否回调 */ protected transient boolean callba...
<<<<<<< ======= * 初始化连接超时时间 */ protected long initConnectTimeout; /** * 是否验证初始化建连(即初始化连接超时则启动失败) */ protected boolean check; /** >>>>>>> * 初始化连接超时时间 */ protected long initConnectTimeout; /** * 是否验证初始化建连(即初始化连接超时则启动失败) */ protected boolean check; ...
<<<<<<< private static final ExtensionPoint<ConfigPropertiesProcessor, String> PROPERTIES_PROCESSOR = new ExtensionPointLazy<>(ConfigPropertiesProcessor.class); private Environment environment; ======= protected final Set<String> basePackages; >>>>>>> private static final ExtensionPoint<ConfigProper...
<<<<<<< import java.lang.reflect.Field; import java.util.ArrayList; import java.util.Iterator; import java.util.List; ======= import org.slf4j.Logger; import org.slf4j.LoggerFactory; >>>>>>> import java.lang.reflect.Field; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.slf...
<<<<<<< session.detach(identity); if (session.eventsEnabled()) { if (notified.contains(object)) { session.notifyListeners(new PersistenceEvent(object, Event.TYPE.POST_DELETE)); } ...
<<<<<<< import org.junit.AfterClass; ======= import static org.junit.Assert.*; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.List; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; >>>...
<<<<<<< @Override public void launchCamera() { resetActionBar(); toCamera.removeExtra(org.witness.informacam.utils.Constants.Codes.Extras.CAMERA_TYPE); //toCamera.putExtra( // org.witness.informacam.utils.Constants.Codes.Extras.CAMERA_TYPE, // org.witness.informacam.utils.Constants.App.Camera.Type.CAME...
<<<<<<< ======= import org.witness.informacam.models.credentials.IUser; >>>>>>> <<<<<<< ======= import org.witness.informacam.utils.Constants.Models; >>>>>>> import org.witness.informacam.utils.Constants.Models;
<<<<<<< userManagementFragment = Fragment.instantiate(this, UserManagementFragment.class.getName()); galleryFragment = (GalleryFragment) Fragment.instantiate(this, GalleryFragment.class.getName()); ======= if (USE_USER_MANAGEMENT_FRAGMENT == 1) userManagementFragment = Fragment.instantiate(this, UserManageme...
<<<<<<< protected FeatureReader<SimpleFeatureType, SimpleFeature> getFeatureReader(String typeName, Search search) throws IOException { Layer layer = spatialDatabase.getLayer(typeName); layer.getIndex().executeSearch(search); Iterator<SpatialDatabaseRecord> results = search.getResults().iter...
<<<<<<< private final Provider<WebDriver> DRIVER_PROVIDER = new Provider<WebDriver>() { @Override public WebDriver get() { return new InternetExplorerDriver(getCapabilities()); } public Capabilities getCapabilities() { DesiredCapabilities capabilities = new ...
<<<<<<< import com.google.inject.Inject; import com.google.inject.Provider; import com.google.inject.name.Named; import net.browsertime.tool.datacollector.BrowserTimeDataCollector; import net.browsertime.tool.datacollector.TimingDataCollector; import net.browsertime.tool.datacollector.UserTimingDataCollector; im...
<<<<<<< import net.browsertime.tool.guice.ChromeModule; import net.browsertime.tool.guice.FireFoxModule; import net.browsertime.tool.guice.InternetExplorerModule; import net.browsertime.tool.guice.JSONResultModule; import net.browsertime.tool.guice.XMLResultModule; ======= import net.browsertime.tool.BrowserTimeExcep...
<<<<<<< import com.opengamma.strata.basics.currency.MultiCurrencyAmount; import com.opengamma.strata.basics.index.FxIndices; import com.opengamma.strata.basics.index.Index; import com.opengamma.strata.basics.interpolator.CurveInterpolator; ======= >>>>>>> import com.opengamma.strata.basics.currency.MultiCurrencyAmou...
<<<<<<< // // Tests the present value curve sensitivity using the Forex instrument curve sensitivity as reference. // public void presentValueCurveSensitivity() { // PointSensitivities pvcsNDF = METHOD_NDF.presentValueSensitivity(NDF, PROVIDER).normalized(); // PointSensitivities pvcsFX = METHOD_FX.pres...
<<<<<<< public static final String PKCS8_PRIVATE_KEY = "-----BEGIN PRIVATE KEY-----\n" + "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQD7vHsVwyDV8cj7\n" + "5yR4WWl6rlgf/e5zmeBgtm0PCgnitcSbD5FU33301DPY5a7AtqVBOwEnE14L9XS7\n" + ======= private static final String PKCS8_PRIVATE_KEY =...
<<<<<<< for (TR typeRef : types) { typedElements.add(new CMElementTypeRef<T, C>( createElementTypeRefOrigin(ep, typeRef), typeRef .getTagName(), getTypeInfo(ep, typeRef), typeRef .isNillable(), typeRef.getDefaultValue())); ======= for (TypeRef<T, C> typeRef : types) { typedElements.add(ne...
<<<<<<< import spoon.reflect.code.CtBlock; import spoon.reflect.code.CtStatement; ======= import spoon.reflect.code.CtCodeElement; >>>>>>> import spoon.processing.Processor; import spoon.reflect.code.CtBlock; import spoon.reflect.code.CtStatement; <<<<<<< public final class DelegatingProcessor extends AbstractProce...
<<<<<<< ======= //4. Number of exemplars RDFNode ex = getObject(specsSubject, LIMES.exemplars, false); if(ex != null){ configuration.setExemplars(Integer.parseInt(ex.toString())); } >>>>>>>
<<<<<<< final ClientInfo clientInfo = exchangeCapabilities(parser, writer); final String username = authenticate(parser, writer); sendAnnounce(writer); final SessionContext context = new SessionContext(writer); while (true) { Step step = context.poll(); if (step != null) { ste...
<<<<<<< for (int pass = 0; pass < MAX_PASS_COUNT; ++pass) { VcsRevision revision = updateDir(context.getRepository().createCommitBuilder(), "").commit(context.getUser(), message); if (revision != null) { context.push(new CheckPermissionStep((svnContext) -> complete(svnContext, revision))...
<<<<<<< import java.util.Map; import java.util.NavigableMap; import java.util.TreeMap; ======= import java.io.IOException; import java.util.*; >>>>>>> import java.io.IOException; import java.util.Map; import java.util.NavigableMap; import java.util.TreeMap;
<<<<<<< ======= @FunctionalInterface public interface StreamFactory { @NotNull InputStream openStream() throws IOException; } @FunctionalInterface public interface TreeEntryProvider { @NotNull public Iterable<GitTreeEntry> getEntries() throws IOException; } >>>>>>> <<<<<<< private vo...
<<<<<<< public Map<String, GitFile> getEntries() throws IOException, SVNException { ======= public Iterable<GitFile> getEntries() throws IOException { >>>>>>> public Iterable<GitFile> getEntries() throws IOException, SVNException {
<<<<<<< @Override public LockManager getLockManager() { return lockManager; } @NotNull private String getRepositoryId() { for (GitRevision revision : revisions) { ObjectId commitId = revision.getObjectId(); if (commitId != null) { return commitId.getName(); ======= private Str...
<<<<<<< import svnserver.auth.User; import svnserver.repository.VcsCommitBuilder; import svnserver.repository.VcsDeltaConsumer; import svnserver.repository.VcsRepository; ======= import svnserver.repository.*; >>>>>>> import svnserver.auth.User; import svnserver.repository.*;
<<<<<<< import models.FormObject; ======= import models.Contact; >>>>>>> import models.FormObject; import models.Contact;
<<<<<<< Cookie.Builder expiredSessionCookie = Cookie.builder(sessionCookieName, ""); expiredSessionCookie.setPath("/"); ======= Cookie.Builder expiredSessionCookie = Cookie.builder( applicationCookiePrefix + NinjaConstant.SESSION_SUFFIX, ...
<<<<<<< import com.matie.redgram.data.managers.presenters.base.BasePresenter; import com.matie.redgram.data.models.api.reddit.auth.AuthPrefs; ======= >>>>>>> import com.matie.redgram.data.managers.presenters.base.BasePresenter;
<<<<<<< import org.apache.lucene.util.BytesRef; ======= import org.apache.lucene.util.IOUtils; >>>>>>> import org.apache.lucene.util.BytesRef; import org.apache.lucene.util.IOUtils;
<<<<<<< /** * Registers all codecs from the given provider including the field to codec * mapping and the default field codec. * <p> * NOTE: This method will pass any codec from the given codec to * {@link #register(Codec)} and sets fiels codecs via * {@link #setFieldCodec(String, String)}. */...
<<<<<<< assertEquals(LogByteSizeMergePolicy.class, conf.getMergePolicy().getClass()); assertEquals(ThreadAffinityDocumentsWriterThreadPool.class, conf.getIndexerThreadPool().getClass()); assertNull(conf.getFlushPolicy()); assertEquals(IndexWriterConfig.DEFAULT_RAM_PER_THREAD_HARD_LIMIT_MB, conf.getRAMPe...
<<<<<<< ======= /** Flush all pending docs to a new segment */ // Lock order: IW -> DW synchronized SegmentInfo flush(IndexWriter writer, IndexFileDeleter deleter, MergePolicy mergePolicy, SegmentInfos segmentInfos) throws IOException { // We change writer's segmentInfos: assert Thread.holdsLock(writer...
<<<<<<< import java.io.IOException; import java.util.Arrays; import org.apache.lucene.search.PointInSetQuery; ======= import org.apache.lucene.search.PointRangeQuery; >>>>>>> import java.io.IOException; import java.util.Arrays; import org.apache.lucene.search.PointInSetQuery; import org.apache.lucene.search.PointR...
<<<<<<< import org.apache.lucene.index.DocumentsWriterPerThread.IndexingChain; import org.apache.lucene.index.IndexWriter.IndexReaderWarmer; ======= import org.apache.lucene.index.DocumentsWriter.IndexingChain; >>>>>>> import org.apache.lucene.index.DocumentsWriterPerThread.IndexingChain; <<<<<<< private static f...
<<<<<<< import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.Set; import java.util.List; import java.util.Map; ======= import java.util.*; >>>>>>> import java.util.ArrayList; import java.util.Collection; import java.util.Collections; impor...
<<<<<<< import java.util.Collections; ======= import java.util.Collection; >>>>>>> <<<<<<< ======= public TermsHashConsumerPerThread addThread(TermsHashPerThread perThread) { return new FreqProxTermsWriterPerThread(perThread); } @Override >>>>>>> <<<<<<< for (TermsHashConsumerPerField f : fieldsT...
<<<<<<< import org.apache.lucene.document.Document; import org.apache.lucene.document.Fieldable; import org.apache.lucene.index.values.Type; ======= import java.io.IOException; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.Map; import java...
<<<<<<< bv.set(i); assertEquals(i+1,bv.count()); bv.write(d, "TESTBV", newIOContext(random)); ======= bv.clear(i); assertEquals(i+1,size-bv.count()); bv.write(d, "TESTBV"); >>>>>>> bv.clear(i); assertEquals(i+1,size-bv.count()); bv.write(d, "TES...
<<<<<<< ======= /** Returns a new field instance. * See {@link #newField(String, String, Field.Store, Field.Index, Field.TermVector)} for more information */ >>>>>>> /** Returns a new field instance. * See {@link #newField(String, String, Field.Store, Field.Index, Field.TermVector)} for more info...
<<<<<<< @Override public DocValues docValues(String field) throws IOException { throw new UnsupportedOperationException("please use MultiDocValues#getDocValues, or wrap your IndexReader with SlowMultiReaderWrapper, if you really need a top level DocValues"); } ======= >>>>>>>
<<<<<<< public TermsHashPerField(DocInverterPerField docInverterPerField, final TermsHash termsHash, final TermsHash nextTermsHash, final FieldInfo fieldInfo) { intPool = termsHash.intPool; bytePool = termsHash.bytePool; termBytePool = termsHash.termBytePool; docState = termsHash.docState; this.te...
<<<<<<< instance.loadDeletedDocs(); instance.openNorms(instance.core.cfsDir, context); ======= instance.loadLiveDocs(); instance.openNorms(instance.core.cfsDir, readBufferSize); >>>>>>> instance.loadLiveDocs(); instance.openNorms(instance.core.cfsDir, context); <<<<<<< dele...
<<<<<<< cfsReader = new CompoundFileReader(dir, IndexFileNames.segmentFileName(segment, "", IndexFileNames.COMPOUND_FILE_EXTENSION), context); ======= cfsReader = dir.openCompoundInput(IndexFileNames.segmentFileName(segment, "", IndexFileNames.COMPOUND_FILE_EXTENSION), readBufferSize); >>>>>>> ...
<<<<<<< final BufferedDeletes bufferedDeletes; ======= final BufferedDeletesStream bufferedDeletesStream; >>>>>>> final BufferedDeletesStream bufferedDeletesStream; <<<<<<< ======= public synchronized void drop(SegmentInfos infos) throws IOException { for(SegmentInfo info : infos) { ...
<<<<<<< if (doInvert) { ======= if (fieldType.indexed() && doInvert) { final boolean analyzed = fieldType.tokenized() && docState.analyzer != null; >>>>>>> if (doInvert) { final boolean analyzed = fieldType.tokenized() && docState.analyzer != null;
<<<<<<< for (int i = 0; i < fieldCount; i++) { FieldInfo fi = fieldInfos.fieldInfo(i); if (fi.isIndexed || fi.hasDocValues()) { // TODO this does not work for non-indexed fields fields.add(fi.name); Codec codec = segmentCodecs.codecs[fi.codecId]; if (!producers.contai...
<<<<<<< private FieldInfos fieldInfos; private IndexOutput fieldsStream; private IndexOutput indexStream; private boolean doClose; FieldsWriter(Directory d, String segment, FieldInfos fn) throws IOException { fieldInfos = fn; boolean success = false; final String fiel...
<<<<<<< List<String> newFiles; ======= // max # simultaneous threads; if there are more than // this, they wait for others to finish first private final int maxThreadStates; // Deletes for our still-in-RAM (to be flushed next) segment private SegmentDeletes pendingDeletes = new SegmentDeletes(); sta...