Skip to content

Commit

Permalink
Add copyright notice.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrusha97 committed Oct 17, 2017
1 parent 5bc54d8 commit d931884
Show file tree
Hide file tree
Showing 10 changed files with 150 additions and 0 deletions.
15 changes: 15 additions & 0 deletions include/hnsw/containers/flat_map.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/* Copyright 2017 Andrey Goryachev
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 writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

#pragma once

#include <algorithm>
Expand Down
15 changes: 15 additions & 0 deletions include/hnsw/containers/small_set.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/* Copyright 2017 Andrey Goryachev
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 writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

#pragma once

#include <algorithm>
Expand Down
15 changes: 15 additions & 0 deletions include/hnsw/detail/detail.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/* Copyright 2017 Andrey Goryachev
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 writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

#pragma once

#include <algorithm>
Expand Down
15 changes: 15 additions & 0 deletions include/hnsw/detail/dot_product.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/* Copyright 2017 Andrey Goryachev
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 writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

#pragma once

#include "dot_product_avx.hpp"
Expand Down
15 changes: 15 additions & 0 deletions include/hnsw/detail/undef_hopscotch_macros.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/* Copyright 2017 Andrey Goryachev
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 writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

// Undef macros from tsl, so as to not polute the global namespace.
#ifdef HNSW_TSL_NO_RANGE_ERASE_WITH_CONST_ITERATOR
#undef HNSW_TSL_NO_RANGE_ERASE_WITH_CONST_ITERATOR
Expand Down
15 changes: 15 additions & 0 deletions include/hnsw/distance.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/* Copyright 2017 Andrey Goryachev
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 writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

#pragma once

#include "detail/dot_product.hpp"
Expand Down
15 changes: 15 additions & 0 deletions include/hnsw/index.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/* Copyright 2017 Andrey Goryachev
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 writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

#pragma once

#include "containers/flat_map.hpp"
Expand Down
15 changes: 15 additions & 0 deletions include/hnsw/key_mapper.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/* Copyright 2017 Andrey Goryachev
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 writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

#pragma once

#include "index.hpp"
Expand Down
15 changes: 15 additions & 0 deletions include/hnsw/options.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/* Copyright 2017 Andrey Goryachev
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 writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

#pragma once

#include <cstddef>
Expand Down
15 changes: 15 additions & 0 deletions include/hnsw/prefetch.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/* Copyright 2017 Andrey Goryachev
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 writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

#pragma once

#include <vector>
Expand Down

0 comments on commit d931884

Please sign in to comment.