index
int64
0
0
repo_id
stringlengths
26
205
file_path
stringlengths
51
246
content
stringlengths
8
433k
__index_level_0__
int64
0
10k
0
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/queues/InvalidTierNumberException.java
/* * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,200
0
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/queues/QueuableTask.java
/* * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,201
0
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/queues/InternalTaskQueue.java
/* * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,202
0
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/queues/QAttributes.java
/* * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,203
0
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/queues/TaskQueueMultiException.java
/* * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,204
0
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/queues/UsageTrackedQueue.java
/* * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,205
0
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/queues/TaskQueue.java
/* * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,206
0
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/queues
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/queues/tiered/SortedBuckets.java
/* * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,207
0
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/queues
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/queues/tiered/TieredQueueSlas.java
/* * Copyright 2017 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,208
0
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/queues
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/queues/tiered/Tier.java
/* * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,209
0
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/queues
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/queues/tiered/TieredQueue.java
/* * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,210
0
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/queues
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/queues/tiered/TierSla.java
/* * Copyright 2017 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,211
0
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/queues
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/queues/tiered/QueueBucket.java
/* * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,212
0
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/queues
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/queues/tiered/TierSlas.java
/* * Copyright 2017 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,213
0
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/functions/Action1.java
/* * Copyright 2015 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,214
0
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/functions/Action0.java
/* * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,215
0
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/functions/Func1.java
/* * Copyright 2015 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,216
0
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/functions/Action2.java
/* * Copyright 2015 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,217
0
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/sla/ResAllocsUtil.java
package com.netflix.fenzo.sla; import com.netflix.fenzo.VMResource; import com.netflix.fenzo.queues.QueuableTask; import java.util.Map; /** * Collection of helper functions for {@link com.netflix.fenzo.sla.ResAllocs} data type. */ public final class ResAllocsUtil { public static ResAllocs add(ResAllocs first,...
9,218
0
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/sla/ResAllocs.java
/* * Copyright 2015 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,219
0
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo
Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/sla/ResAllocsBuilder.java
/* * Copyright 2015 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,220
0
Create_ds/Fenzo/fenzo-triggers/src/main/java/com/netflix/fenzo
Create_ds/Fenzo/fenzo-triggers/src/main/java/com/netflix/fenzo/triggers/CronTrigger.java
/* * Copyright 2015 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,221
0
Create_ds/Fenzo/fenzo-triggers/src/main/java/com/netflix/fenzo
Create_ds/Fenzo/fenzo-triggers/src/main/java/com/netflix/fenzo/triggers/Scheduler.java
/* * Copyright 2015 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,222
0
Create_ds/Fenzo/fenzo-triggers/src/main/java/com/netflix/fenzo
Create_ds/Fenzo/fenzo-triggers/src/main/java/com/netflix/fenzo/triggers/ScheduledTrigger.java
/* * Copyright 2015 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,223
0
Create_ds/Fenzo/fenzo-triggers/src/main/java/com/netflix/fenzo
Create_ds/Fenzo/fenzo-triggers/src/main/java/com/netflix/fenzo/triggers/TriggerOperator.java
/* * Copyright 2015 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,224
0
Create_ds/Fenzo/fenzo-triggers/src/main/java/com/netflix/fenzo
Create_ds/Fenzo/fenzo-triggers/src/main/java/com/netflix/fenzo/triggers/IntervalTrigger.java
/* * Copyright 2015 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,225
0
Create_ds/Fenzo/fenzo-triggers/src/main/java/com/netflix/fenzo
Create_ds/Fenzo/fenzo-triggers/src/main/java/com/netflix/fenzo/triggers/Trigger.java
/* * Copyright 2015 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,226
0
Create_ds/Fenzo/fenzo-triggers/src/main/java/com/netflix/fenzo
Create_ds/Fenzo/fenzo-triggers/src/main/java/com/netflix/fenzo/triggers/TriggerUtils.java
/* * Copyright 2015 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,227
0
Create_ds/Fenzo/fenzo-triggers/src/main/java/com/netflix/fenzo/triggers
Create_ds/Fenzo/fenzo-triggers/src/main/java/com/netflix/fenzo/triggers/exceptions/TriggerNotFoundException.java
/* * Copyright 2015 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,228
0
Create_ds/Fenzo/fenzo-triggers/src/main/java/com/netflix/fenzo/triggers
Create_ds/Fenzo/fenzo-triggers/src/main/java/com/netflix/fenzo/triggers/exceptions/SchedulerException.java
/* * Copyright 2015 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,229
0
Create_ds/Fenzo/fenzo-triggers/src/main/java/com/netflix/fenzo/triggers
Create_ds/Fenzo/fenzo-triggers/src/main/java/com/netflix/fenzo/triggers/persistence/InMemoryTriggerDao.java
/* * Copyright 2015 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,230
0
Create_ds/Fenzo/fenzo-triggers/src/main/java/com/netflix/fenzo/triggers
Create_ds/Fenzo/fenzo-triggers/src/main/java/com/netflix/fenzo/triggers/persistence/AbstractInMemoryDao.java
/* * Copyright 2015 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,231
0
Create_ds/Fenzo/fenzo-triggers/src/main/java/com/netflix/fenzo/triggers
Create_ds/Fenzo/fenzo-triggers/src/main/java/com/netflix/fenzo/triggers/persistence/TriggerDao.java
/* * Copyright 2015 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
9,232
0
Create_ds/dgs-examples-webflux/src/test/java/com/example
Create_ds/dgs-examples-webflux/src/test/java/com/example/demo/ReviewsDataFetcherTest.java
package com.example.demo; import com.example.demo.datafetchers.ReviewsDataFetcher; import com.example.demo.datafetchers.ShowsDatafetcher; import com.example.demo.dataloaders.ReviewsDataLoader; import com.example.demo.dataloaders.ReviewsDataLoaderWithContext; import com.example.demo.generated.client.ReviewsGraphQLQuery...
9,233
0
Create_ds/dgs-examples-webflux/src/test/java/com/example
Create_ds/dgs-examples-webflux/src/test/java/com/example/demo/ReviewSubscriptionTest.java
package com.example.demo; import com.example.demo.datafetchers.ReviewsDataFetcher; import com.example.demo.generated.client.AddReviewGraphQLQuery; import com.example.demo.generated.client.AddReviewProjectionRoot; import com.example.demo.generated.types.Review; import com.example.demo.generated.types.SubmittedReview; i...
9,234
0
Create_ds/dgs-examples-webflux/src/test/java/com/example
Create_ds/dgs-examples-webflux/src/test/java/com/example/demo/ShowsDatafetcherTest.java
package com.example.demo; import com.example.demo.datafetchers.ReviewsDataFetcher; import com.example.demo.datafetchers.ShowsDatafetcher; import com.example.demo.dataloaders.ReviewsDataLoader; import com.example.demo.dataloaders.ReviewsDataLoaderWithContext; import com.example.demo.generated.client.*; import com.examp...
9,235
0
Create_ds/dgs-examples-webflux/src/main/java/com/example
Create_ds/dgs-examples-webflux/src/main/java/com/example/demo/DemoApplication.java
package com.example.demo; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class DemoApplication { public static void main(String[] args) { SpringApplication.run(DemoApplication.class, args); } }
9,236
0
Create_ds/dgs-examples-webflux/src/main/java/com/example/demo
Create_ds/dgs-examples-webflux/src/main/java/com/example/demo/scalars/DateRange.java
package com.example.demo.scalars; import java.time.LocalDate; public class DateRange { private final LocalDate from; private final LocalDate to; public DateRange(LocalDate from, LocalDate to) { this.from = from; this.to = to; } public LocalDate getFrom() { return from; ...
9,237
0
Create_ds/dgs-examples-webflux/src/main/java/com/example/demo
Create_ds/dgs-examples-webflux/src/main/java/com/example/demo/scalars/DateRangeScalar.java
package com.example.demo.scalars; import com.netflix.graphql.dgs.DgsScalar; import graphql.language.StringValue; import graphql.schema.Coercing; import graphql.schema.CoercingParseLiteralException; import graphql.schema.CoercingParseValueException; import graphql.schema.CoercingSerializeException; import java.time.Lo...
9,238
0
Create_ds/dgs-examples-webflux/src/main/java/com/example/demo
Create_ds/dgs-examples-webflux/src/main/java/com/example/demo/scalars/DateTimeScalar.java
package com.example.demo.scalars; import com.netflix.graphql.dgs.DgsComponent; import com.netflix.graphql.dgs.DgsRuntimeWiring; import graphql.scalars.ExtendedScalars; import graphql.schema.idl.RuntimeWiring; /** * graphql-java provides optional scalars in the graphql-java-extended-scalars library. * We can wire a ...
9,239
0
Create_ds/dgs-examples-webflux/src/main/java/com/example/demo
Create_ds/dgs-examples-webflux/src/main/java/com/example/demo/dataloaders/ReviewsDataLoader.java
package com.example.demo.dataloaders; import com.example.demo.generated.types.Review; import com.example.demo.services.DefaultReviewsService; import com.netflix.graphql.dgs.DgsDataLoader; import org.dataloader.MappedBatchLoader; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util...
9,240
0
Create_ds/dgs-examples-webflux/src/main/java/com/example/demo
Create_ds/dgs-examples-webflux/src/main/java/com/example/demo/dataloaders/ReviewsDataLoaderWithContext.java
package com.example.demo.dataloaders; import com.example.demo.generated.types.Review; import com.example.demo.services.DefaultReviewsService; import com.netflix.graphql.dgs.DgsDataLoader; import org.dataloader.BatchLoaderEnvironment; import org.dataloader.MappedBatchLoaderWithContext; import org.springframework.beans....
9,241
0
Create_ds/dgs-examples-webflux/src/main/java/com/example/demo
Create_ds/dgs-examples-webflux/src/main/java/com/example/demo/instrumentation/ExampleTracingInstrumentation.java
package com.example.demo.instrumentation; import graphql.ExecutionResult; import graphql.execution.instrumentation.InstrumentationContext; import graphql.execution.instrumentation.InstrumentationState; import graphql.execution.instrumentation.SimpleInstrumentation; import graphql.execution.instrumentation.parameters.I...
9,242
0
Create_ds/dgs-examples-webflux/src/main/java/com/example/demo
Create_ds/dgs-examples-webflux/src/main/java/com/example/demo/datafetchers/ReviewsDataFetcher.java
package com.example.demo.datafetchers; import com.example.demo.dataloaders.ReviewsDataLoaderWithContext; import com.example.demo.generated.DgsConstants; import com.example.demo.generated.types.Review; import com.example.demo.generated.types.Show; import com.example.demo.generated.types.SubmittedReview; import com.exam...
9,243
0
Create_ds/dgs-examples-webflux/src/main/java/com/example/demo
Create_ds/dgs-examples-webflux/src/main/java/com/example/demo/datafetchers/ShowsDatafetcher.java
package com.example.demo.datafetchers; import com.example.demo.generated.types.Show; import com.example.demo.services.ShowsService; import com.netflix.graphql.dgs.DgsComponent; import com.netflix.graphql.dgs.DgsQuery; import com.netflix.graphql.dgs.InputArgument; import java.util.List; import java.util.stream.Collect...
9,244
0
Create_ds/dgs-examples-webflux/src/main/java/com/example/demo
Create_ds/dgs-examples-webflux/src/main/java/com/example/demo/services/ShowsServiceImpl.java
package com.example.demo.services; import com.example.demo.generated.types.Show; import org.springframework.stereotype.Service; import java.util.Arrays; import java.util.List; @Service public class ShowsServiceImpl implements ShowsService { @Override public List<Show> shows() { return Arrays.asList( ...
9,245
0
Create_ds/dgs-examples-webflux/src/main/java/com/example/demo
Create_ds/dgs-examples-webflux/src/main/java/com/example/demo/services/ReviewsService.java
package com.example.demo.services; import com.example.demo.generated.types.Review; import com.example.demo.generated.types.SubmittedReview; import com.example.demo.scalars.DateRange; import org.reactivestreams.Publisher; import java.util.List; import java.util.Map; public interface ReviewsService { List<Review> ...
9,246
0
Create_ds/dgs-examples-webflux/src/main/java/com/example/demo
Create_ds/dgs-examples-webflux/src/main/java/com/example/demo/services/ShowsService.java
package com.example.demo.services; import com.example.demo.generated.types.Show; import java.util.List; public interface ShowsService { List<Show> shows(); }
9,247
0
Create_ds/dgs-examples-webflux/src/main/java/com/example/demo
Create_ds/dgs-examples-webflux/src/main/java/com/example/demo/services/DefaultReviewsService.java
package com.example.demo.services; import com.example.demo.generated.types.Review; import com.example.demo.generated.types.SubmittedReview; import com.example.demo.scalars.DateRange; import com.github.javafaker.Faker; import org.reactivestreams.Publisher; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import...
9,248
0
Create_ds/q/src/test/java/com/netflix/search
Create_ds/q/src/test/java/com/netflix/search/query/QueryTestsTest.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,249
0
Create_ds/q/src/test/java/com/netflix/search/query
Create_ds/q/src/test/java/com/netflix/search/query/input/QueriesTest.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,250
0
Create_ds/q/src/test/java/com/netflix/search/query
Create_ds/q/src/test/java/com/netflix/search/query/utils/DateUtilsTest.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,251
0
Create_ds/q/src/test/java/com/netflix/search/query
Create_ds/q/src/test/java/com/netflix/search/query/utils/HeaderUtilsTest.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,252
0
Create_ds/q/src/test/java/com/netflix/search/query
Create_ds/q/src/test/java/com/netflix/search/query/utils/StringUtilsTest.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,253
0
Create_ds/q/src/test/java/com/netflix/search/query/report
Create_ds/q/src/test/java/com/netflix/search/query/report/detail/DetailReportTest.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,254
0
Create_ds/q/src/test/java/com/netflix/search/query/report
Create_ds/q/src/test/java/com/netflix/search/query/report/summary/SummaryReportTest.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,255
0
Create_ds/q/src/test/java/com/netflix/search/query/engine
Create_ds/q/src/test/java/com/netflix/search/query/engine/solr/SolrSearcherTest.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,256
0
Create_ds/q/src/test/java/com/netflix/search/query/engine
Create_ds/q/src/test/java/com/netflix/search/query/engine/solr/SolrIndexerTest.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,257
0
Create_ds/q/src/test/java/com/netflix/search/query/engine
Create_ds/q/src/test/java/com/netflix/search/query/engine/es/ElasticsearchIndexerTest.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,258
0
Create_ds/q/src/test/java/com/netflix/search/query/engine
Create_ds/q/src/test/java/com/netflix/search/query/engine/es/ElasticsearchSearcherTest.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,259
0
Create_ds/q/src/main/java/com/netflix/search
Create_ds/q/src/main/java/com/netflix/search/query/Properties.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,260
0
Create_ds/q/src/main/java/com/netflix/search
Create_ds/q/src/main/java/com/netflix/search/query/QueryTests.java
/** * Copyright 2016 Netflix, Inc. * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicable law or...
9,261
0
Create_ds/q/src/main/java/com/netflix/search/query
Create_ds/q/src/main/java/com/netflix/search/query/input/TitleWithQueries.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,262
0
Create_ds/q/src/main/java/com/netflix/search/query
Create_ds/q/src/main/java/com/netflix/search/query/input/Queries.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,263
0
Create_ds/q/src/main/java/com/netflix/search/query
Create_ds/q/src/main/java/com/netflix/search/query/utils/StringUtils.java
/** * Copyright 2016 Netflix, Inc. * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicable law or...
9,264
0
Create_ds/q/src/main/java/com/netflix/search/query
Create_ds/q/src/main/java/com/netflix/search/query/utils/TitleIdUtils.java
/** * Copyright 2016 Netflix, Inc. * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicable law or...
9,265
0
Create_ds/q/src/main/java/com/netflix/search/query
Create_ds/q/src/main/java/com/netflix/search/query/utils/DateUtil.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,266
0
Create_ds/q/src/main/java/com/netflix/search/query
Create_ds/q/src/main/java/com/netflix/search/query/utils/HeaderUtils.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,267
0
Create_ds/q/src/main/java/com/netflix/search/query
Create_ds/q/src/main/java/com/netflix/search/query/report/ReportItem.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,268
0
Create_ds/q/src/main/java/com/netflix/search/query
Create_ds/q/src/main/java/com/netflix/search/query/report/ResultType.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,269
0
Create_ds/q/src/main/java/com/netflix/search/query
Create_ds/q/src/main/java/com/netflix/search/query/report/Report.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,270
0
Create_ds/q/src/main/java/com/netflix/search/query
Create_ds/q/src/main/java/com/netflix/search/query/report/ReportType.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,271
0
Create_ds/q/src/main/java/com/netflix/search/query/report
Create_ds/q/src/main/java/com/netflix/search/query/report/google/GoogleDataExtractor.java
/** * Copyright 2016 Netflix, Inc. * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicable law or...
9,272
0
Create_ds/q/src/main/java/com/netflix/search/query/report
Create_ds/q/src/main/java/com/netflix/search/query/report/google/GoogleSheetsService.java
/** * Copyright 2016 Netflix, Inc. * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicable law or...
9,273
0
Create_ds/q/src/main/java/com/netflix/search/query/report
Create_ds/q/src/main/java/com/netflix/search/query/report/detail/DetailReport.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,274
0
Create_ds/q/src/main/java/com/netflix/search/query/report
Create_ds/q/src/main/java/com/netflix/search/query/report/detail/DetailReportHeader.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,275
0
Create_ds/q/src/main/java/com/netflix/search/query/report
Create_ds/q/src/main/java/com/netflix/search/query/report/detail/DetailReportItem.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,276
0
Create_ds/q/src/main/java/com/netflix/search/query/report
Create_ds/q/src/main/java/com/netflix/search/query/report/detail/DetailReportDiff.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,277
0
Create_ds/q/src/main/java/com/netflix/search/query/report
Create_ds/q/src/main/java/com/netflix/search/query/report/summary/SummaryReportHeader.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,278
0
Create_ds/q/src/main/java/com/netflix/search/query/report
Create_ds/q/src/main/java/com/netflix/search/query/report/summary/SummaryReport.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,279
0
Create_ds/q/src/main/java/com/netflix/search/query/report
Create_ds/q/src/main/java/com/netflix/search/query/report/summary/SummaryReportItem.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,280
0
Create_ds/q/src/main/java/com/netflix/search/query/report
Create_ds/q/src/main/java/com/netflix/search/query/report/summary/SummaryReportDiff.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,281
0
Create_ds/q/src/main/java/com/netflix/search/query
Create_ds/q/src/main/java/com/netflix/search/query/engine/BaseSearcher.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,282
0
Create_ds/q/src/main/java/com/netflix/search/query
Create_ds/q/src/main/java/com/netflix/search/query/engine/BaseIndexer.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,283
0
Create_ds/q/src/main/java/com/netflix/search/query/engine
Create_ds/q/src/main/java/com/netflix/search/query/engine/solr/SolrSearcher.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,284
0
Create_ds/q/src/main/java/com/netflix/search/query/engine
Create_ds/q/src/main/java/com/netflix/search/query/engine/solr/SolrIndexer.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,285
0
Create_ds/q/src/main/java/com/netflix/search/query/engine
Create_ds/q/src/main/java/com/netflix/search/query/engine/es/ElasticsearchSearcher.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,286
0
Create_ds/q/src/main/java/com/netflix/search/query/engine
Create_ds/q/src/main/java/com/netflix/search/query/engine/es/ElasticsearchIndexer.java
/** * Copyright 2016 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
9,287
0
Create_ds/AirMapView/library/src/test/java/com/airbnb/android
Create_ds/AirMapView/library/src/test/java/com/airbnb/android/airmapview/WebAirMapViewBuilderTest.java
package com.airbnb.android.airmapview; import android.os.Bundle; import org.junit.Ignore; import org.junit.Test; import static org.hamcrest.CoreMatchers.instanceOf; import static org.junit.Assert.assertThat; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; public class WebAirMapViewBu...
9,288
0
Create_ds/AirMapView/library/src/test/java/com/airbnb/android
Create_ds/AirMapView/library/src/test/java/com/airbnb/android/airmapview/NativeAirMapViewBuilderTest.java
package com.airbnb.android.airmapview; import android.os.Bundle; import org.junit.Test; import static org.hamcrest.CoreMatchers.instanceOf; import static org.junit.Assert.assertThat; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; public class NativeAirMapViewBuilderTest { @Test p...
9,289
0
Create_ds/AirMapView/library/src/test/java/com/airbnb/android
Create_ds/AirMapView/library/src/test/java/com/airbnb/android/airmapview/DefaultAirMapViewBuilderTest.java
package com.airbnb.android.airmapview; import org.junit.Before; import org.junit.Test; import static org.hamcrest.CoreMatchers.instanceOf; import static org.junit.Assert.assertThat; public class DefaultAirMapViewBuilderTest { @Before public void setUp() { } @Test public void shouldReturnNativeAirMapViewByDef...
9,290
0
Create_ds/AirMapView/library/src/test/java/com/airbnb/android
Create_ds/AirMapView/library/src/test/java/com/airbnb/android/airmapview/AirMapTypeTest.java
package com.airbnb.android.airmapview; import android.os.Bundle; import org.hamcrest.core.IsEqual; import org.junit.Test; import static org.junit.Assert.assertThat; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; public class AirMapTypeTest {...
9,291
0
Create_ds/AirMapView/library/src/main/java/com/airbnb/android
Create_ds/AirMapView/library/src/main/java/com/airbnb/android/airmapview/GoogleWebMapType.java
package com.airbnb.android.airmapview; public class GoogleWebMapType extends AirMapType { public GoogleWebMapType() { super("google_map.html", "https://maps.googleapis.com/maps/api/js", "www.googleapis.com"); } }
9,292
0
Create_ds/AirMapView/library/src/main/java/com/airbnb/android
Create_ds/AirMapView/library/src/main/java/com/airbnb/android/airmapview/AirMapType.java
package com.airbnb.android.airmapview; import android.content.res.Resources; import android.os.Bundle; import java.util.Locale; /** Defines maps to be used with {@link com.airbnb.android.airmapview.WebViewMapFragment} */ public class AirMapType { private static final String ARG_MAP_DOMAIN = "map_domain"; privat...
9,293
0
Create_ds/AirMapView/library/src/main/java/com/airbnb/android
Create_ds/AirMapView/library/src/main/java/com/airbnb/android/airmapview/AirMapGeoJsonLayer.java
package com.airbnb.android.airmapview; import androidx.annotation.ColorInt; import com.google.maps.android.geojson.GeoJsonPolygonStyle; public class AirMapGeoJsonLayer { protected final String geoJson; protected final float strokeWidth; protected final int strokeColor; protected final int fillColor; privat...
9,294
0
Create_ds/AirMapView/library/src/main/java/com/airbnb/android
Create_ds/AirMapView/library/src/main/java/com/airbnb/android/airmapview/AirMapViewBuilder.java
package com.airbnb.android.airmapview; public interface AirMapViewBuilder<T extends AirMapInterface, Q> { AirMapViewBuilder<T, Q> withOptions(Q arg); T build(); }
9,295
0
Create_ds/AirMapView/library/src/main/java/com/airbnb/android
Create_ds/AirMapView/library/src/main/java/com/airbnb/android/airmapview/AirMapUtils.java
package com.airbnb.android.airmapview; import android.content.res.Resources; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; public class AirMapUtils { public static String getStringFromFile(Resources resources, String filePath) { try { ...
9,296
0
Create_ds/AirMapView/library/src/main/java/com/airbnb/android
Create_ds/AirMapView/library/src/main/java/com/airbnb/android/airmapview/AirMapPolyline.java
package com.airbnb.android.airmapview; import android.graphics.Color; import com.google.android.gms.maps.GoogleMap; import com.google.android.gms.maps.model.LatLng; import com.google.android.gms.maps.model.Polyline; import com.google.android.gms.maps.model.PolylineOptions; import java.util.List; /** * Helper class...
9,297
0
Create_ds/AirMapView/library/src/main/java/com/airbnb/android
Create_ds/AirMapView/library/src/main/java/com/airbnb/android/airmapview/NativeAirMapViewBuilder.java
package com.airbnb.android.airmapview; import com.google.android.gms.maps.GoogleMapOptions; /** * AirMapView map that uses the native Google Maps implementation. IMPORTANT: In order to use this, * Google Play Services needs to be installed on the device. */ public class NativeAirMapViewBuilder implements AirMa...
9,298
0
Create_ds/AirMapView/library/src/main/java/com/airbnb/android
Create_ds/AirMapView/library/src/main/java/com/airbnb/android/airmapview/LeafletBaiduMapType.java
package com.airbnb.android.airmapview; public class LeafletBaiduMapType extends LeafletMapType { public LeafletBaiduMapType() { super("Baidu"); } }
9,299