index
int64
0
0
repo_id
stringlengths
9
205
file_path
stringlengths
31
246
content
stringlengths
1
12.2M
__index_level_0__
int64
0
10k
0
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples/mapreduce/RowHash.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,300
0
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples/mapreduce/UniqueColumns.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,301
0
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples/mapreduce/TeraSortIngest.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
3,302
0
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples/mapreduce/RegexExample.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,303
0
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples/mapreduce/NGramIngest.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,304
0
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples/mapreduce/TableToFile.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,305
0
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples/mapreduce/WordCount.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,306
0
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples/mapreduce
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples/mapreduce/bulk/VerifyIngest.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,307
0
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples/mapreduce
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples/mapreduce/bulk/SetupTable.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,308
0
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples/mapreduce
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples/mapreduce/bulk/BulkIngestExample.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,309
0
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples/client/TracingExample.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,310
0
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples/client/ReadWriteExample.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,311
0
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples/client/Flush.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,312
0
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples/client/RandomBatchWriter.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,313
0
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples/client/CountingVerifyingReceiver.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,314
0
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples/client/SequentialBatchWriter.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,315
0
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples/client/RandomBatchScanner.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,316
0
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples/client/RowOperations.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,317
0
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples/shard/Index.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,318
0
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples/shard/CutoffIntersectingIterator.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,319
0
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples/shard/Reverse.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,320
0
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples/shard/Query.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,321
0
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples
Create_ds/accumulo-examples/src/main/java/org/apache/accumulo/examples/shard/ContinuousQuery.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,322
0
Create_ds/cordova-plugin-media-capture/src
Create_ds/cordova-plugin-media-capture/src/android/FileHelper.java
/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the...
3,323
0
Create_ds/cordova-plugin-media-capture/src
Create_ds/cordova-plugin-media-capture/src/android/Capture.java
/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the...
3,324
0
Create_ds/cordova-plugin-media-capture/src
Create_ds/cordova-plugin-media-capture/src/android/PendingRequests.java
/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the...
3,325
0
Create_ds/dolphinscheduler-maven-plugin/src/test/projects/interface-plugin-class/src/main/java
Create_ds/dolphinscheduler-maven-plugin/src/test/projects/interface-plugin-class/src/main/java/its/TestPluginImpl.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,326
0
Create_ds/dolphinscheduler-maven-plugin/src/test/projects/interface-plugin-class/src/main/java
Create_ds/dolphinscheduler-maven-plugin/src/test/projects/interface-plugin-class/src/main/java/its/ITestPlugin.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,327
0
Create_ds/dolphinscheduler-maven-plugin/src/test/projects/excluded-dependency/src/main/java
Create_ds/dolphinscheduler-maven-plugin/src/test/projects/excluded-dependency/src/main/java/its/SimplestPlugin.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,328
0
Create_ds/dolphinscheduler-maven-plugin/src/test/projects/error-scope-spi/src/main/java
Create_ds/dolphinscheduler-maven-plugin/src/test/projects/error-scope-spi/src/main/java/its/ErrorScopeSpiPlugin.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,329
0
Create_ds/dolphinscheduler-maven-plugin/src/test/projects/simplest/src/main/java
Create_ds/dolphinscheduler-maven-plugin/src/test/projects/simplest/src/main/java/its/SimplestPlugin.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,330
0
Create_ds/dolphinscheduler-maven-plugin/src/test/projects/error-scope-dependency/src/main/java
Create_ds/dolphinscheduler-maven-plugin/src/test/projects/error-scope-dependency/src/main/java/its/ErrorScopeDependencyPlugin.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,331
0
Create_ds/dolphinscheduler-maven-plugin/src/test/projects/more-excluded-dependency/src/main/java
Create_ds/dolphinscheduler-maven-plugin/src/test/projects/more-excluded-dependency/src/main/java/its/SimplestPlugin.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,332
0
Create_ds/dolphinscheduler-maven-plugin/src/test/projects/error-scope-but-skip/src/main/java
Create_ds/dolphinscheduler-maven-plugin/src/test/projects/error-scope-but-skip/src/main/java/its/ErrorScopeButSkipPlugin.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,333
0
Create_ds/dolphinscheduler-maven-plugin/src/test/projects/abstract-plugin-class/src/main/java
Create_ds/dolphinscheduler-maven-plugin/src/test/projects/abstract-plugin-class/src/main/java/its/AbsTestPlugin.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,334
0
Create_ds/dolphinscheduler-maven-plugin/src/test/projects/abstract-plugin-class/src/main/java
Create_ds/dolphinscheduler-maven-plugin/src/test/projects/abstract-plugin-class/src/main/java/its/TestPluginImpl.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,335
0
Create_ds/dolphinscheduler-maven-plugin/src/test/java/org/apache/dolphinscheduler
Create_ds/dolphinscheduler-maven-plugin/src/test/java/org/apache/dolphinscheduler/maven/SpiDependencyCheckerTest.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,336
0
Create_ds/dolphinscheduler-maven-plugin/src/test/java/org/apache/dolphinscheduler
Create_ds/dolphinscheduler-maven-plugin/src/test/java/org/apache/dolphinscheduler/maven/DolphinDescriptorGeneratorTest.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,337
0
Create_ds/dolphinscheduler-maven-plugin/src/main/java/org/apache/dolphinscheduler
Create_ds/dolphinscheduler-maven-plugin/src/main/java/org/apache/dolphinscheduler/maven/DolphinDescriptorGenerator.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,338
0
Create_ds/dolphinscheduler-maven-plugin/src/main/java/org/apache/dolphinscheduler
Create_ds/dolphinscheduler-maven-plugin/src/main/java/org/apache/dolphinscheduler/maven/SpiDependencyChecker.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3,339
0
Create_ds/ribbon/ribbon-test/src/main/java/com/netflix
Create_ds/ribbon/ribbon-test/src/main/java/com/netflix/serialization/SerializationUtils.java
package com.netflix.serialization; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import com.google.common.base.Preconditions; public class SerializationUtils { public static <T> T deserializeFromString(Deserializer<T> deserializer, String content, TypeDef...
3,340
0
Create_ds/ribbon/ribbon-test/src/main/java/com/netflix
Create_ds/ribbon/ribbon-test/src/main/java/com/netflix/serialization/Deserializer.java
/* * * Copyright 2013 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...
3,341
0
Create_ds/ribbon/ribbon-test/src/main/java/com/netflix
Create_ds/ribbon/ribbon-test/src/main/java/com/netflix/serialization/JacksonCodec.java
package com.netflix.serialization; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.lang.reflect.Type; import org.codehaus.jackson.map.ObjectMapper; import org.codehaus.jackson.map.ObjectWriter; import org.codehaus.jackson.type.TypeRefe...
3,342
0
Create_ds/ribbon/ribbon-test/src/main/java/com/netflix
Create_ds/ribbon/ribbon-test/src/main/java/com/netflix/serialization/TypeDef.java
package com.netflix.serialization; import static com.google.common.base.Preconditions.checkArgument; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import com.google.common.reflect.TypeToken; public abstract class TypeDef<T> { // private final Type runtimeType; private TypeToken...
3,343
0
Create_ds/ribbon/ribbon-test/src/main/java/com/netflix
Create_ds/ribbon/ribbon-test/src/main/java/com/netflix/serialization/StringDeserializer.java
package com.netflix.serialization; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import com.google.common.base.Charsets; import com.google.common.io.CharStreams; import com.google.common.io.Closeables; public class StringDeserializer implements Deserializer<String> { ...
3,344
0
Create_ds/ribbon/ribbon-test/src/main/java/com/netflix
Create_ds/ribbon/ribbon-test/src/main/java/com/netflix/serialization/Serializer.java
/* * * Copyright 2013 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...
3,345
0
Create_ds/ribbon/ribbon-test/src/main/java/com/netflix/ribbon/test
Create_ds/ribbon/ribbon-test/src/main/java/com/netflix/ribbon/test/resources/EmbeddedResources.java
/* * * Copyright 2013 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...
3,346
0
Create_ds/ribbon/ribbon-test/src/main/java/com/netflix/ribbon
Create_ds/ribbon/ribbon-test/src/main/java/com/netflix/ribbon/testutils/TestUtils.java
/* * * Copyright 2014 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...
3,347
0
Create_ds/ribbon/ribbon-test/src/main/java/com/netflix/ribbon
Create_ds/ribbon/ribbon-test/src/main/java/com/netflix/ribbon/testutils/MockedDiscoveryServerListTest.java
/* * Copyright 2014 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 t...
3,348
0
Create_ds/ribbon/ribbon-core/src/test/java/com/netflix/client
Create_ds/ribbon/ribbon-core/src/test/java/com/netflix/client/config/ClientConfigTest.java
/* * * Copyright 2013 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 in writin...
3,349
0
Create_ds/ribbon/ribbon-core/src/test/java/com/netflix/client
Create_ds/ribbon/ribbon-core/src/test/java/com/netflix/client/config/DefaultClientConfigImplTest.java
package com.netflix.client.config; import static org.junit.Assert.*; import java.util.Collections; import java.util.Date; import java.util.Map; import java.util.TreeMap; import org.junit.Assert; import org.junit.Rule; import org.junit.Test; import com.netflix.config.ConfigurationManager; import org.junit.rules.Test...
3,350
0
Create_ds/ribbon/ribbon-core/src/test/java/com/netflix/client
Create_ds/ribbon/ribbon-core/src/test/java/com/netflix/client/config/ArchaiusPropertyResolverTest.java
package com.netflix.client.config; import com.netflix.config.ConfigurationManager; import org.apache.commons.configuration.AbstractConfiguration; import org.junit.Assert; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TestName; import java.util.Map; import java.util.TreeMap; public class Archai...
3,351
0
Create_ds/ribbon/ribbon-core/src/test/java/com/netflix/client
Create_ds/ribbon/ribbon-core/src/test/java/com/netflix/client/config/CommonClientConfigKeyTest.java
package com.netflix.client.config; import static org.junit.Assert.*; import org.junit.Test; import com.google.common.collect.Sets; public class CommonClientConfigKeyTest { @Test public void testCommonKeys() { IClientConfigKey[] keys = CommonClientConfigKey.values(); assertTrue(keys.leng...
3,352
0
Create_ds/ribbon/ribbon-core/src/test/java/com/netflix/client
Create_ds/ribbon/ribbon-core/src/test/java/com/netflix/client/config/ReloadableClientConfigTest.java
package com.netflix.client.config; import com.netflix.config.ConfigurationManager; import org.junit.Assert; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TestName; public class ReloadableClientConfigTest { @Rule public TestName testName = new TestName(); pr...
3,353
0
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/VipAddressResolver.java
/* * * Copyright 2013 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 in writin...
3,354
0
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/IClientConfigAware.java
/* * * Copyright 2013 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 in writin...
3,355
0
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/RetryHandler.java
/* * * Copyright 2013 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...
3,356
0
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/DefaultLoadBalancerRetryHandler.java
/* * * Copyright 2013 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...
3,357
0
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/ClientException.java
/* * * Copyright 2013 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 in writin...
3,358
0
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/IResponse.java
/* * * Copyright 2013 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 in writin...
3,359
0
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/IClient.java
/* * * Copyright 2013 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 in writin...
3,360
0
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/ClientRequest.java
/* * * Copyright 2013 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 in writin...
3,361
0
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/Utils.java
package com.netflix.client; import java.util.Collection; public class Utils { public static boolean isPresentAsCause(Throwable throwableToSearchIn, Collection<Class<? extends Throwable>> throwableToSearchFor) { int infiniteLoopPreventionCounter = 10; while (throwableToSearchIn != null ...
3,362
0
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/RequestSpecificRetryHandler.java
package com.netflix.client; import com.google.common.base.Preconditions; import com.google.common.collect.Lists; import com.netflix.client.config.CommonClientConfigKey; import com.netflix.client.config.IClientConfig; import javax.annotation.Nullable; import java.net.SocketException; import java.util.List; import java...
3,363
0
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/ssl/AbstractSslContextFactory.java
/* * * Copyright 2013 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 in writin...
3,364
0
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/ssl/URLSslContextFactory.java
/* * * Copyright 2013 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 in writin...
3,365
0
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/ssl/ClientSslSocketFactoryException.java
/* * * Copyright 2013 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 in writin...
3,366
0
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/util/Resources.java
package com.netflix.client.util; import java.io.File; import java.net.URL; import java.net.URLDecoder; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public abstract class Resources { private static final Logger logger = LoggerFactory.getLogger(Resources.class); public static URL getResource(S...
3,367
0
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/config/ReloadableClientConfig.java
package com.netflix.client.config; import com.google.common.base.Preconditions; import org.apache.commons.lang.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.lang.reflect.Method; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Optional; import...
3,368
0
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/config/PropertyResolver.java
package com.netflix.client.config; import java.util.Optional; import java.util.function.BiConsumer; /** * Internal abstraction to decouple the property source from Ribbon's internal configuration. */ public interface PropertyResolver { /** * @return Get the value of a property or Optional.empty() if not se...
3,369
0
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/config/Property.java
package com.netflix.client.config; import java.util.Optional; import java.util.function.Consumer; /** * Ribbon specific encapsulation of a dynamic configuration property * @param <T> */ public interface Property<T> { /** * Register a consumer to be called when the configuration changes * @param consu...
3,370
0
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/config/FallbackProperty.java
package com.netflix.client.config; import java.util.Optional; import java.util.function.Consumer; public final class FallbackProperty<T> implements Property<T> { private final Property<T> primary; private final Property<T> fallback; public FallbackProperty(Property<T> primary, Property<T> fallback) { ...
3,371
0
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/config/IClientConfig.java
/* * * Copyright 2013 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 in writin...
3,372
0
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/config/UnboxedIntProperty.java
package com.netflix.client.config; public class UnboxedIntProperty { private volatile int value; public UnboxedIntProperty(Property<Integer> delegate) { this.value = delegate.getOrDefault(); delegate.onChange(newValue -> this.value = newValue); } public UnboxedIntProperty(int constan...
3,373
0
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/config/ClientConfigFactory.java
/* * Copyright 2014 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 t...
3,374
0
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/config/AbstractDefaultClientConfigImpl.java
package com.netflix.client.config; import com.netflix.client.VipAddressResolver; import java.util.concurrent.TimeUnit; /** * This class only exists to support code that depends on these constants that are deprecated now that defaults have * moved into the key. */ @Deprecated public abstract class AbstractDefaultC...
3,375
0
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/config/IClientConfigKey.java
/* * * Copyright 2013 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 in writin...
3,376
0
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/config/CommonClientConfigKey.java
/* * * Copyright 2013 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 in writin...
3,377
0
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/config/PropertyUtils.java
package com.netflix.client.config; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.lang.reflect.Method; import java.util.Map; import java.util.Optional; import java.util.concurrent.ConcurrentHashMap; public class PropertyUtils { private static Logger LOG = LoggerFactory.getLogger(PropertyUti...
3,378
0
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client
Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/http/UnexpectedHttpResponseException.java
package com.netflix.client.http; public class UnexpectedHttpResponseException extends Exception { /** * */ private static final long serialVersionUID = 1L; private final int statusCode; private final String line; public UnexpectedHttpResponseException(int statusCode, Strin...
3,379
0
Create_ds/ribbon/ribbon-examples/src/test/java/com/netflix/ribbon/examples
Create_ds/ribbon/ribbon-examples/src/test/java/com/netflix/ribbon/examples/rx/RxMovieServerTest.java
/* * Copyright 2014 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 t...
3,380
0
Create_ds/ribbon/ribbon-examples/src/test/java/com/netflix/ribbon/examples
Create_ds/ribbon/ribbon-examples/src/test/java/com/netflix/ribbon/examples/rx/RxMovieClientTestBase.java
/* * Copyright 2014 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 t...
3,381
0
Create_ds/ribbon/ribbon-examples/src/test/java/com/netflix/ribbon/examples/rx
Create_ds/ribbon/ribbon-examples/src/test/java/com/netflix/ribbon/examples/rx/transport/RxMovieTransportExampleTest.java
package com.netflix.ribbon.examples.rx.transport; import com.netflix.ribbon.examples.rx.RxMovieClientTestBase; import org.junit.Test; import static junit.framework.Assert.*; /** * @author Tomasz Bak */ public class RxMovieTransportExampleTest extends RxMovieClientTestBase { @Test public void testTemplateE...
3,382
0
Create_ds/ribbon/ribbon-examples/src/test/java/com/netflix/ribbon/examples/rx
Create_ds/ribbon/ribbon-examples/src/test/java/com/netflix/ribbon/examples/rx/proxy/RxMovieProxyExampleTest.java
/* * Copyright 2014 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 t...
3,383
0
Create_ds/ribbon/ribbon-examples/src/test/java/com/netflix/ribbon/examples/rx
Create_ds/ribbon/ribbon-examples/src/test/java/com/netflix/ribbon/examples/rx/template/RxMovieTemplateExampleTest.java
/* * Copyright 2014 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 t...
3,384
0
Create_ds/ribbon/ribbon-examples/src/test/java/com/netflix/ribbon/examples/rx
Create_ds/ribbon/ribbon-examples/src/test/java/com/netflix/ribbon/examples/rx/common/MovieTest.java
/* * Copyright 2014 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 t...
3,385
0
Create_ds/ribbon/ribbon-examples/src/test/java/com/netflix/ribbon/examples/rx
Create_ds/ribbon/ribbon-examples/src/test/java/com/netflix/ribbon/examples/rx/common/RecommendationsTest.java
/* * Copyright 2014 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 t...
3,386
0
Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon
Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/ExampleAppWithLocalResource.java
/* * * Copyright 2013 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...
3,387
0
Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples
Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/loadbalancer/URLConnectionLoadBalancer.java
package com.netflix.ribbon.examples.loadbalancer; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.util.List; import rx.Observable; import com.google.common.collect.Lists; import com.netflix.client.DefaultLoadBalancerRetryHandler; import com.netflix.client.Re...
3,388
0
Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples
Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/server/ServerResources.java
/* * * Copyright 2013 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...
3,389
0
Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/netty
Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/netty/http/LoadBalancingExample.java
package com.netflix.ribbon.examples.netty.http; import io.netty.buffer.ByteBuf; import io.reactivex.netty.protocol.http.client.HttpClientRequest; import io.reactivex.netty.protocol.http.client.HttpClientResponse; import java.util.List; import java.util.concurrent.CountDownLatch; import rx.Observer; import com.googl...
3,390
0
Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/netty
Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/netty/http/SimpleGet.java
package com.netflix.ribbon.examples.netty.http; import com.netflix.ribbon.transport.netty.RibbonTransport; import com.netflix.ribbon.transport.netty.http.LoadBalancingHttpClient; import io.netty.buffer.ByteBuf; import io.reactivex.netty.protocol.http.client.HttpClientRequest; import io.reactivex.netty.protocol.http.cl...
3,391
0
Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples
Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/restclient/SampleApp.java
/* * * Copyright 2013 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 in writin...
3,392
0
Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples
Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx/AbstractRxMovieClient.java
/* * Copyright 2014 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 t...
3,393
0
Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples
Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx/RxMovieServer.java
/* * Copyright 2014 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 t...
3,394
0
Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx
Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx/transport/RxMovieTransportExample.java
/* * Copyright 2014 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 t...
3,395
0
Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx
Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx/proxy/MovieService.java
/* * Copyright 2014 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 t...
3,396
0
Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx
Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx/proxy/RxMovieProxyExample.java
/* * Copyright 2014 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 t...
3,397
0
Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx
Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx/template/RxMovieTemplateExample.java
/* * Copyright 2014 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 t...
3,398
0
Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx
Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx/common/Recommendations.java
/* * Copyright 2014 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 t...
3,399