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/datasketches-java/src/main/java/org/apache/datasketches
Create_ds/datasketches-java/src/main/java/org/apache/datasketches/quantiles/DirectDoublesSketchAccessor.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 ...
2,800
0
Create_ds/datasketches-java/src/main/java/org/apache/datasketches
Create_ds/datasketches-java/src/main/java/org/apache/datasketches/quantiles/ItemsUpdateImpl.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 ...
2,801
0
Create_ds/datasketches-java/src/main/java/org/apache/datasketches
Create_ds/datasketches-java/src/main/java/org/apache/datasketches/quantiles/DirectUpdateDoublesSketchR.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 ...
2,802
0
Create_ds/datasketches-java/src/main/java/org/apache/datasketches
Create_ds/datasketches-java/src/main/java/org/apache/datasketches/quantiles/HeapCompactDoublesSketch.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 ...
2,803
0
Create_ds/datasketches-java/src/main/java/org/apache/datasketches
Create_ds/datasketches-java/src/main/java/org/apache/datasketches/quantiles/ItemsSketchIterator.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 ...
2,804
0
Create_ds/datasketches-java/src/main/java/org/apache/datasketches
Create_ds/datasketches-java/src/main/java/org/apache/datasketches/quantiles/UpdateDoublesSketch.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 ...
2,805
0
Create_ds/datasketches-java/src/main/java/org/apache/datasketches
Create_ds/datasketches-java/src/main/java/org/apache/datasketches/quantiles/DoublesUtil.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 ...
2,806
0
Create_ds/datasketches-java/src/main/java/org/apache/datasketches
Create_ds/datasketches-java/src/main/java/org/apache/datasketches/quantiles/DirectCompactDoublesSketch.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 ...
2,807
0
Create_ds/datasketches-java/src/main/java/org/apache/datasketches
Create_ds/datasketches-java/src/main/java/org/apache/datasketches/quantiles/DoublesSketchBuilder.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 ...
2,808
0
Create_ds/datasketches-java/src/main/java/org/apache/datasketches
Create_ds/datasketches-java/src/main/java/org/apache/datasketches/quantiles/DoublesSketch.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 ...
2,809
0
Create_ds/datasketches-java/src/main/java/org/apache/datasketches
Create_ds/datasketches-java/src/main/java/org/apache/datasketches/quantiles/DoublesSketchSortedView.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 ...
2,810
0
Create_ds/datasketches-java/src/main/java/org/apache/datasketches
Create_ds/datasketches-java/src/main/java/org/apache/datasketches/quantiles/HeapUpdateDoublesSketch.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 ...
2,811
0
Create_ds/datasketches-java/src/main/java/org/apache/datasketches
Create_ds/datasketches-java/src/main/java/org/apache/datasketches/quantiles/DoublesSketchSortedViewIterator.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 ...
2,812
0
Create_ds/datasketches-java/src/main/java/org/apache/datasketches
Create_ds/datasketches-java/src/main/java/org/apache/datasketches/quantiles/DoublesUpdateImpl.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 ...
2,813
0
Create_ds/datasketches-java/src/main/java/org/apache/datasketches
Create_ds/datasketches-java/src/main/java/org/apache/datasketches/quantiles/CompactDoublesSketch.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 ...
2,814
0
Create_ds/datasketches-java/src/main/java/org/apache/datasketches
Create_ds/datasketches-java/src/main/java/org/apache/datasketches/quantiles/DoublesBufferAccessor.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 ...
2,815
0
Create_ds/datasketches-java/src/main/java/org/apache/datasketches
Create_ds/datasketches-java/src/main/java/org/apache/datasketches/quantiles/DoublesByteArrayImpl.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 ...
2,816
0
Create_ds/datasketches-java/src/main/java/org/apache/datasketches
Create_ds/datasketches-java/src/main/java/org/apache/datasketches/quantiles/ItemsSketchSortedView.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 ...
2,817
0
Create_ds/datasketches-java/src/main/java/org/apache/datasketches
Create_ds/datasketches-java/src/main/java/org/apache/datasketches/quantiles/DoublesUnion.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 ...
2,818
0
Create_ds/datasketches-java/src/main/java/org/apache/datasketches
Create_ds/datasketches-java/src/main/java/org/apache/datasketches/quantiles/ItemsUnion.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 ...
2,819
0
Create_ds/datasketches-java/src/main/java/org/apache/datasketches
Create_ds/datasketches-java/src/main/java/org/apache/datasketches/quantiles/ClassicUtil.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 ...
2,820
0
Create_ds/datasketches-java/src/main/java/org/apache/datasketches
Create_ds/datasketches-java/src/main/java/org/apache/datasketches/quantiles/ItemsByteArrayImpl.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 ...
2,821
0
Create_ds/datasketches-java/src/main/java/org/apache/datasketches
Create_ds/datasketches-java/src/main/java/org/apache/datasketches/quantiles/DoublesSketchIterator.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 ...
2,822
0
Create_ds/datasketches-java/src/main/java/org/apache/datasketches
Create_ds/datasketches-java/src/main/java/org/apache/datasketches/quantiles/DirectUpdateDoublesSketch.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 ...
2,823
0
Create_ds/datasketches-java/src/main/java/org/apache/datasketches
Create_ds/datasketches-java/src/main/java/org/apache/datasketches/quantiles/DoublesUnionBuilder.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 ...
2,824
0
Create_ds/datasketches-java/src/main/java/org/apache/datasketches
Create_ds/datasketches-java/src/main/java/org/apache/datasketches/quantiles/PreambleUtil.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 ...
2,825
0
Create_ds/datasketches-java/src/main/java/org/apache/datasketches
Create_ds/datasketches-java/src/main/java/org/apache/datasketches/quantiles/package-info.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 ...
2,826
0
Create_ds/datasketches-java/src/main/java/org/apache/datasketches
Create_ds/datasketches-java/src/main/java/org/apache/datasketches/quantiles/HeapDoublesSketchAccessor.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 ...
2,827
0
Create_ds/datasketches-java/src/main/java/org/apache/datasketches
Create_ds/datasketches-java/src/main/java/org/apache/datasketches/quantiles/ItemsUtil.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 ...
2,828
0
Create_ds/fineract-cn-postgresql/src/test/java/org/apache/fineract/cn/postgresql
Create_ds/fineract-cn-postgresql/src/test/java/org/apache/fineract/cn/postgresql/util/LocalDateConverterTest.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 ...
2,829
0
Create_ds/fineract-cn-postgresql/src/test/java/org/apache/fineract/cn/postgresql
Create_ds/fineract-cn-postgresql/src/test/java/org/apache/fineract/cn/postgresql/util/JdbcUrlBuilderTest.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 ...
2,830
0
Create_ds/fineract-cn-postgresql/src/main/java/org/apache/fineract/cn/postgresql
Create_ds/fineract-cn-postgresql/src/main/java/org/apache/fineract/cn/postgresql/util/PostgreSQLConstants.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 ...
2,831
0
Create_ds/fineract-cn-postgresql/src/main/java/org/apache/fineract/cn/postgresql
Create_ds/fineract-cn-postgresql/src/main/java/org/apache/fineract/cn/postgresql/util/LocalDateConverter.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 ...
2,832
0
Create_ds/fineract-cn-postgresql/src/main/java/org/apache/fineract/cn/postgresql
Create_ds/fineract-cn-postgresql/src/main/java/org/apache/fineract/cn/postgresql/util/EclipseLinkConstants.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 ...
2,833
0
Create_ds/fineract-cn-postgresql/src/main/java/org/apache/fineract/cn/postgresql
Create_ds/fineract-cn-postgresql/src/main/java/org/apache/fineract/cn/postgresql/util/LocalDateTimeConverter.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 ...
2,834
0
Create_ds/fineract-cn-postgresql/src/main/java/org/apache/fineract/cn/postgresql
Create_ds/fineract-cn-postgresql/src/main/java/org/apache/fineract/cn/postgresql/util/JdbcUrlBuilder.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 ...
2,835
0
Create_ds/fineract-cn-postgresql/src/main/java/org/apache/fineract/cn/postgresql
Create_ds/fineract-cn-postgresql/src/main/java/org/apache/fineract/cn/postgresql/config/MetaDataSourceWrapper.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 ...
2,836
0
Create_ds/fineract-cn-postgresql/src/main/java/org/apache/fineract/cn/postgresql
Create_ds/fineract-cn-postgresql/src/main/java/org/apache/fineract/cn/postgresql/config/PostgreSQLTenantFreeJavaConfiguration.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 ...
2,837
0
Create_ds/fineract-cn-postgresql/src/main/java/org/apache/fineract/cn/postgresql
Create_ds/fineract-cn-postgresql/src/main/java/org/apache/fineract/cn/postgresql/config/EnablePostgreSQL.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 ...
2,838
0
Create_ds/fineract-cn-postgresql/src/main/java/org/apache/fineract/cn/postgresql
Create_ds/fineract-cn-postgresql/src/main/java/org/apache/fineract/cn/postgresql/config/PostgreSQLJavaConfiguration.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 ...
2,839
0
Create_ds/fineract-cn-postgresql/src/main/java/org/apache/fineract/cn/postgresql
Create_ds/fineract-cn-postgresql/src/main/java/org/apache/fineract/cn/postgresql/config/EclipseLinkJpaConfiguration.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 ...
2,840
0
Create_ds/fineract-cn-postgresql/src/main/java/org/apache/fineract/cn/postgresql
Create_ds/fineract-cn-postgresql/src/main/java/org/apache/fineract/cn/postgresql/config/PostgreSQLJavaConfigurationImportSelector.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 ...
2,841
0
Create_ds/fineract-cn-postgresql/src/main/java/org/apache/fineract/cn/postgresql
Create_ds/fineract-cn-postgresql/src/main/java/org/apache/fineract/cn/postgresql/config/PostgreSQLTenantBasedJavaConfiguration.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 ...
2,842
0
Create_ds/fineract-cn-postgresql/src/main/java/org/apache/fineract/cn/postgresql
Create_ds/fineract-cn-postgresql/src/main/java/org/apache/fineract/cn/postgresql/domain/ContextAwareRoutingDataSource.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 ...
2,843
0
Create_ds/fineract-cn-postgresql/src/main/java/org/apache/fineract/cn/postgresql
Create_ds/fineract-cn-postgresql/src/main/java/org/apache/fineract/cn/postgresql/domain/Tenant.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 ...
2,844
0
Create_ds/fineract-cn-postgresql/src/main/java/org/apache/fineract/cn/postgresql
Create_ds/fineract-cn-postgresql/src/main/java/org/apache/fineract/cn/postgresql/domain/FlywayFactoryBean.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 ...
2,845
0
Create_ds/protoparser/src/test/java/com/squareup
Create_ds/protoparser/src/test/java/com/squareup/protoparser/DataTypeTest.java
package com.squareup.protoparser; import com.squareup.protoparser.DataType.MapType; import com.squareup.protoparser.DataType.NamedType; import org.junit.Test; import static com.squareup.protoparser.DataType.ScalarType.ANY; import static com.squareup.protoparser.DataType.ScalarType.BOOL; import static com.squareup.pro...
2,846
0
Create_ds/protoparser/src/test/java/com/squareup
Create_ds/protoparser/src/test/java/com/squareup/protoparser/TestUtils.java
package com.squareup.protoparser; import java.util.Arrays; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; final class TestUtils { static Map<String, Object> map(Object... keysAndValues) { Map<String, Object> result = new LinkedHashMap<>(); for (int i = 0; i < keysAndValues.leng...
2,847
0
Create_ds/protoparser/src/test/java/com/squareup
Create_ds/protoparser/src/test/java/com/squareup/protoparser/ProtoFileTest.java
package com.squareup.protoparser; import com.squareup.protoparser.OptionElement.Kind; import java.util.Arrays; import java.util.Collections; import org.junit.Test; import static com.squareup.protoparser.ProtoFile.MAX_TAG_VALUE; import static com.squareup.protoparser.ProtoFile.MIN_TAG_VALUE; import static com.squareup...
2,848
0
Create_ds/protoparser/src/test/java/com/squareup
Create_ds/protoparser/src/test/java/com/squareup/protoparser/ExtendElementTest.java
package com.squareup.protoparser; import java.util.Arrays; import java.util.Collections; import org.junit.Test; import static com.squareup.protoparser.DataType.ScalarType.STRING; import static com.squareup.protoparser.FieldElement.Label.REQUIRED; import static org.assertj.core.api.Assertions.assertThat; import static...
2,849
0
Create_ds/protoparser/src/test/java/com/squareup
Create_ds/protoparser/src/test/java/com/squareup/protoparser/OptionElementTest.java
package com.squareup.protoparser; import java.util.List; import java.util.Map; import org.junit.Test; import static com.squareup.protoparser.OptionElement.Kind.BOOLEAN; import static com.squareup.protoparser.OptionElement.Kind.LIST; import static com.squareup.protoparser.OptionElement.Kind.MAP; import static com.squa...
2,850
0
Create_ds/protoparser/src/test/java/com/squareup
Create_ds/protoparser/src/test/java/com/squareup/protoparser/FieldElementTest.java
package com.squareup.protoparser; import com.squareup.protoparser.DataType.NamedType; import com.squareup.protoparser.OptionElement.Kind; import java.util.Arrays; import java.util.Collections; import org.junit.Test; import static com.squareup.protoparser.DataType.ScalarType.STRING; import static com.squareup.protopar...
2,851
0
Create_ds/protoparser/src/test/java/com/squareup
Create_ds/protoparser/src/test/java/com/squareup/protoparser/EnumElementTest.java
package com.squareup.protoparser; import java.util.Arrays; import java.util.Collections; import org.junit.Test; import static com.squareup.protoparser.OptionElement.Kind.BOOLEAN; import static com.squareup.protoparser.OptionElement.Kind.STRING; import static org.assertj.core.api.Assertions.assertThat; import static o...
2,852
0
Create_ds/protoparser/src/test/java/com/squareup
Create_ds/protoparser/src/test/java/com/squareup/protoparser/EnumConstantElementTest.java
package com.squareup.protoparser; import org.junit.Test; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.Assert.fail; public final class EnumConstantElementTest { @Test public void nameRequired() { try { EnumConstantElement.builder().tag(1).build(); fail(); } c...
2,853
0
Create_ds/protoparser/src/test/java/com/squareup
Create_ds/protoparser/src/test/java/com/squareup/protoparser/UtilsTest.java
package com.squareup.protoparser; import org.junit.Test; import static com.squareup.protoparser.Utils.appendDocumentation; import static com.squareup.protoparser.Utils.appendIndented; import static org.assertj.core.api.Assertions.assertThat; public class UtilsTest { @Test public void indentationTest() { String...
2,854
0
Create_ds/protoparser/src/test/java/com/squareup
Create_ds/protoparser/src/test/java/com/squareup/protoparser/ParsingTester.java
package com.squareup.protoparser; import java.io.File; import java.util.ArrayDeque; import java.util.Collections; import java.util.Deque; /** Recursively traverse a directory and attempt to parse all of its proto files. */ public class ParsingTester { /** Directory under which to search for protos. Change as needed...
2,855
0
Create_ds/protoparser/src/test/java/com/squareup
Create_ds/protoparser/src/test/java/com/squareup/protoparser/ProtoParserTest.java
// Copyright 2013 Square, Inc. package com.squareup.protoparser; import com.squareup.protoparser.DataType.MapType; import com.squareup.protoparser.DataType.NamedType; import com.squareup.protoparser.DataType.ScalarType; import com.squareup.protoparser.OptionElement.Kind; import java.util.Arrays; import java.util.Linke...
2,856
0
Create_ds/protoparser/src/test/java/com/squareup
Create_ds/protoparser/src/test/java/com/squareup/protoparser/MessageElementTest.java
package com.squareup.protoparser; import com.squareup.protoparser.OptionElement.Kind; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import org.junit.Test; import static com.squareup.protoparser.DataType.ScalarType.BOOL; import static com.squareup.protoparser.DataType.ScalarType.S...
2,857
0
Create_ds/protoparser/src/test/java/com/squareup
Create_ds/protoparser/src/test/java/com/squareup/protoparser/RpcElementTest.java
package com.squareup.protoparser; import com.squareup.protoparser.DataType.NamedType; import java.util.Collections; import org.junit.Test; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.Assert.fail; public final class RpcElementTest { @Test public void nameRequired() { try { ...
2,858
0
Create_ds/protoparser/src/test/java/com/squareup
Create_ds/protoparser/src/test/java/com/squareup/protoparser/ServiceElementTest.java
package com.squareup.protoparser; import com.squareup.protoparser.DataType.NamedType; import com.squareup.protoparser.OptionElement.Kind; import java.util.Arrays; import java.util.Collections; import org.junit.Test; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.Assert.fail; public...
2,859
0
Create_ds/protoparser/src/test/java/com/squareup
Create_ds/protoparser/src/test/java/com/squareup/protoparser/OneOfElementTest.java
package com.squareup.protoparser; import java.util.Collections; import org.junit.Test; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.Assert.fail; public final class OneOfElementTest { @Test public void nameRequired() { try { OneOfElement.builder().build(); fail()...
2,860
0
Create_ds/protoparser/src/test/java/com/squareup
Create_ds/protoparser/src/test/java/com/squareup/protoparser/ExtensionsElementTest.java
package com.squareup.protoparser; import org.junit.Test; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.Assert.fail; public class ExtensionsElementTest { @Test public void invalidTagRangeThrows() { try { ExtensionsElement.create(Integer.MIN_VALUE, 500); fail(); ...
2,861
0
Create_ds/protoparser/src/main/java/com/squareup
Create_ds/protoparser/src/main/java/com/squareup/protoparser/EnumElement.java
// Copyright 2013 Square, Inc. package com.squareup.protoparser; import com.google.auto.value.AutoValue; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; import static com.squareup.protoparser.Utils.appe...
2,862
0
Create_ds/protoparser/src/main/java/com/squareup
Create_ds/protoparser/src/main/java/com/squareup/protoparser/ServiceElement.java
// Copyright 2013 Square, Inc. package com.squareup.protoparser; import com.google.auto.value.AutoValue; import java.util.ArrayList; import java.util.Collection; import java.util.List; import static com.squareup.protoparser.Utils.appendDocumentation; import static com.squareup.protoparser.Utils.appendIndented; import...
2,863
0
Create_ds/protoparser/src/main/java/com/squareup
Create_ds/protoparser/src/main/java/com/squareup/protoparser/TypeElement.java
// Copyright 2013 Square, Inc. package com.squareup.protoparser; import java.util.List; /** A message type or enum type declaration. */ public interface TypeElement { String name(); String qualifiedName(); String documentation(); List<OptionElement> options(); List<TypeElement> nestedElements(); String to...
2,864
0
Create_ds/protoparser/src/main/java/com/squareup
Create_ds/protoparser/src/main/java/com/squareup/protoparser/DataType.java
// Copyright 2015 Square, Inc. package com.squareup.protoparser; import java.util.Locale; import static com.squareup.protoparser.Utils.checkNotNull; /** * Representation of a scalar, map, or named type. While this class is an interface, only the * included implementations are supported. */ public interface DataTy...
2,865
0
Create_ds/protoparser/src/main/java/com/squareup
Create_ds/protoparser/src/main/java/com/squareup/protoparser/RpcElement.java
// Copyright 2014 Square, Inc. package com.squareup.protoparser; import com.google.auto.value.AutoValue; import com.squareup.protoparser.DataType.NamedType; import java.util.ArrayList; import java.util.Collection; import java.util.List; import static com.squareup.protoparser.Utils.appendDocumentation; import static c...
2,866
0
Create_ds/protoparser/src/main/java/com/squareup
Create_ds/protoparser/src/main/java/com/squareup/protoparser/Utils.java
package com.squareup.protoparser; import java.lang.annotation.Retention; import java.util.ArrayList; import java.util.List; import static java.lang.annotation.RetentionPolicy.SOURCE; import static java.util.Collections.unmodifiableList; final class Utils { static void appendDocumentation(StringBuilder builder, Str...
2,867
0
Create_ds/protoparser/src/main/java/com/squareup
Create_ds/protoparser/src/main/java/com/squareup/protoparser/OptionElement.java
// Copyright 2013 Square, Inc. package com.squareup.protoparser; import com.google.auto.value.AutoValue; import java.util.ArrayList; import java.util.Collections; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import static com.squareup.protoparser.Utils.appendIndented; import static com...
2,868
0
Create_ds/protoparser/src/main/java/com/squareup
Create_ds/protoparser/src/main/java/com/squareup/protoparser/MessageElement.java
// Copyright 2013 Square, Inc. package com.squareup.protoparser; import com.google.auto.value.AutoValue; import java.util.ArrayList; import java.util.Collection; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; import static com.squareup.protoparser.Utils.appendDocumentation; import static...
2,869
0
Create_ds/protoparser/src/main/java/com/squareup
Create_ds/protoparser/src/main/java/com/squareup/protoparser/OneOfElement.java
// Copyright 2014 Square, Inc. package com.squareup.protoparser; import com.google.auto.value.AutoValue; import java.util.ArrayList; import java.util.Collection; import java.util.List; import static com.squareup.protoparser.Utils.appendDocumentation; import static com.squareup.protoparser.Utils.appendIndented; import...
2,870
0
Create_ds/protoparser/src/main/java/com/squareup
Create_ds/protoparser/src/main/java/com/squareup/protoparser/ProtoParser.java
// Copyright 2013 Square, Inc. package com.squareup.protoparser; import com.google.auto.value.AutoValue; import com.squareup.protoparser.DataType.MapType; import com.squareup.protoparser.DataType.NamedType; import com.squareup.protoparser.DataType.ScalarType; import java.io.CharArrayWriter; import java.io.File; import...
2,871
0
Create_ds/protoparser/src/main/java/com/squareup
Create_ds/protoparser/src/main/java/com/squareup/protoparser/EnumConstantElement.java
// Copyright 2014 Square, Inc. package com.squareup.protoparser; import com.google.auto.value.AutoValue; import java.util.ArrayList; import java.util.List; import static com.squareup.protoparser.OptionElement.formatOptionList; import static com.squareup.protoparser.Utils.appendDocumentation; import static com.squareu...
2,872
0
Create_ds/protoparser/src/main/java/com/squareup
Create_ds/protoparser/src/main/java/com/squareup/protoparser/ProtoFile.java
// Copyright 2013 Square, Inc. package com.squareup.protoparser; import com.google.auto.value.AutoValue; import com.squareup.protoparser.Utils.Nullable; import java.util.ArrayList; import java.util.Collection; import java.util.List; import static com.squareup.protoparser.Utils.checkNotNull; import static com.squareup...
2,873
0
Create_ds/protoparser/src/main/java/com/squareup
Create_ds/protoparser/src/main/java/com/squareup/protoparser/ExtensionsElement.java
// Copyright 2013 Square, Inc. package com.squareup.protoparser; import com.google.auto.value.AutoValue; import static com.squareup.protoparser.ProtoFile.isValidTag; import static com.squareup.protoparser.Utils.appendDocumentation; import static com.squareup.protoparser.Utils.checkArgument; @AutoValue public abstrac...
2,874
0
Create_ds/protoparser/src/main/java/com/squareup
Create_ds/protoparser/src/main/java/com/squareup/protoparser/FieldElement.java
// Copyright 2014 Square, Inc. package com.squareup.protoparser; import com.google.auto.value.AutoValue; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.Locale; import static com.squareup.protoparser.ProtoFile.isValidTag; import static com.squareup.protoparser.Utils.ap...
2,875
0
Create_ds/protoparser/src/main/java/com/squareup
Create_ds/protoparser/src/main/java/com/squareup/protoparser/ExtendElement.java
// Copyright 2013 Square, Inc. package com.squareup.protoparser; import com.google.auto.value.AutoValue; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import static com.squareup.protoparser.MessageElement.validateFieldTagUniqueness; import static com.squ...
2,876
0
Create_ds/flink-connector-opensearch/flink-sql-connector-opensearch/src/test/java/org/apache/flink/connector
Create_ds/flink-connector-opensearch/flink-sql-connector-opensearch/src/test/java/org/apache/flink/connector/opensearch/PackagingITCase.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 ...
2,877
0
Create_ds/flink-connector-opensearch/flink-connector-opensearch-e2e-tests/src/test/java/org/apache/flink/streaming
Create_ds/flink-connector-opensearch/flink-connector-opensearch-e2e-tests/src/test/java/org/apache/flink/streaming/tests/OpensearchSinkE2ECase.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 ...
2,878
0
Create_ds/flink-connector-opensearch/flink-connector-opensearch-e2e-tests/src/test/java/org/apache/flink/streaming
Create_ds/flink-connector-opensearch/flink-connector-opensearch-e2e-tests/src/test/java/org/apache/flink/streaming/tests/OpensearchDataReader.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 ...
2,879
0
Create_ds/flink-connector-opensearch/flink-connector-opensearch-e2e-tests/src/test/java/org/apache/flink/streaming
Create_ds/flink-connector-opensearch/flink-connector-opensearch-e2e-tests/src/test/java/org/apache/flink/streaming/tests/OpensearchTestClient.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 ...
2,880
0
Create_ds/flink-connector-opensearch/flink-connector-opensearch-e2e-tests/src/test/java/org/apache/flink/streaming
Create_ds/flink-connector-opensearch/flink-connector-opensearch-e2e-tests/src/test/java/org/apache/flink/streaming/tests/OpensearchSinkExternalContextFactory.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 ...
2,881
0
Create_ds/flink-connector-opensearch/flink-connector-opensearch-e2e-tests/src/test/java/org/apache/flink/streaming
Create_ds/flink-connector-opensearch/flink-connector-opensearch-e2e-tests/src/test/java/org/apache/flink/streaming/tests/OpensearchSinkExternalContext.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 ...
2,882
0
Create_ds/flink-connector-opensearch/flink-connector-opensearch-e2e-tests/src/main/java/org/apache/flink/streaming
Create_ds/flink-connector-opensearch/flink-connector-opensearch-e2e-tests/src/main/java/org/apache/flink/streaming/tests/OpensearchTestEmitter.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 ...
2,883
0
Create_ds/flink-connector-opensearch/flink-connector-opensearch-e2e-tests/src/main/java/org/apache/flink/streaming
Create_ds/flink-connector-opensearch/flink-connector-opensearch-e2e-tests/src/main/java/org/apache/flink/streaming/tests/ComparableTuple2.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 ...
2,884
0
Create_ds/flink-connector-opensearch/flink-connector-opensearch-e2e-tests/src/main/java/org/apache/flink/streaming
Create_ds/flink-connector-opensearch/flink-connector-opensearch-e2e-tests/src/main/java/org/apache/flink/streaming/tests/OpensearchSinkExample.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 ...
2,885
0
Create_ds/flink-connector-opensearch/flink-connector-opensearch/src/test/java/org/apache/flink/streaming/connectors
Create_ds/flink-connector-opensearch/flink-connector-opensearch/src/test/java/org/apache/flink/streaming/connectors/opensearch/OpensearchSinkTest.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 ...
2,886
0
Create_ds/flink-connector-opensearch/flink-connector-opensearch/src/test/java/org/apache/flink/streaming/connectors
Create_ds/flink-connector-opensearch/flink-connector-opensearch/src/test/java/org/apache/flink/streaming/connectors/opensearch/OpensearchSinkITCase.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 ...
2,887
0
Create_ds/flink-connector-opensearch/flink-connector-opensearch/src/test/java/org/apache/flink/streaming/connectors/opensearch
Create_ds/flink-connector-opensearch/flink-connector-opensearch/src/test/java/org/apache/flink/streaming/connectors/opensearch/testutils/SourceSinkDataTestKit.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 ...
2,888
0
Create_ds/flink-connector-opensearch/flink-connector-opensearch/src/test/java/org/apache/flink
Create_ds/flink-connector-opensearch/flink-connector-opensearch/src/test/java/org/apache/flink/architecture/ProductionCodeArchitectureTest.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 ...
2,889
0
Create_ds/flink-connector-opensearch/flink-connector-opensearch/src/test/java/org/apache/flink
Create_ds/flink-connector-opensearch/flink-connector-opensearch/src/test/java/org/apache/flink/architecture/TestCodeArchitectureTest.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 ...
2,890
0
Create_ds/flink-connector-opensearch/flink-connector-opensearch/src/test/java/org/apache/flink/connector
Create_ds/flink-connector-opensearch/flink-connector-opensearch/src/test/java/org/apache/flink/connector/opensearch/OpensearchUtil.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 ...
2,891
0
Create_ds/flink-connector-opensearch/flink-connector-opensearch/src/test/java/org/apache/flink/connector/opensearch
Create_ds/flink-connector-opensearch/flink-connector-opensearch/src/test/java/org/apache/flink/connector/opensearch/test/DockerImageVersions.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 ...
2,892
0
Create_ds/flink-connector-opensearch/flink-connector-opensearch/src/test/java/org/apache/flink/connector/opensearch
Create_ds/flink-connector-opensearch/flink-connector-opensearch/src/test/java/org/apache/flink/connector/opensearch/sink/OpensearchSinkBuilderTest.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 ...
2,893
0
Create_ds/flink-connector-opensearch/flink-connector-opensearch/src/test/java/org/apache/flink/connector/opensearch
Create_ds/flink-connector-opensearch/flink-connector-opensearch/src/test/java/org/apache/flink/connector/opensearch/sink/OpensearchWriterITCase.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 ...
2,894
0
Create_ds/flink-connector-opensearch/flink-connector-opensearch/src/test/java/org/apache/flink/connector/opensearch
Create_ds/flink-connector-opensearch/flink-connector-opensearch/src/test/java/org/apache/flink/connector/opensearch/sink/OpensearchTestClient.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 ...
2,895
0
Create_ds/flink-connector-opensearch/flink-connector-opensearch/src/test/java/org/apache/flink/connector/opensearch
Create_ds/flink-connector-opensearch/flink-connector-opensearch/src/test/java/org/apache/flink/connector/opensearch/sink/TestEmitter.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 ...
2,896
0
Create_ds/flink-connector-opensearch/flink-connector-opensearch/src/test/java/org/apache/flink/connector/opensearch
Create_ds/flink-connector-opensearch/flink-connector-opensearch/src/test/java/org/apache/flink/connector/opensearch/sink/OpensearchSinkITCase.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 ...
2,897
0
Create_ds/flink-connector-opensearch/flink-connector-opensearch/src/test/java/org/apache/flink/connector/opensearch
Create_ds/flink-connector-opensearch/flink-connector-opensearch/src/test/java/org/apache/flink/connector/opensearch/table/TestContext.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 ...
2,898
0
Create_ds/flink-connector-opensearch/flink-connector-opensearch/src/test/java/org/apache/flink/connector/opensearch
Create_ds/flink-connector-opensearch/flink-connector-opensearch/src/test/java/org/apache/flink/connector/opensearch/table/KeyExtractorTest.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 ...
2,899