File tree Expand file tree Collapse file tree 25 files changed +384
-26
lines changed
Expand file tree Collapse file tree 25 files changed +384
-26
lines changed Original file line number Diff line number Diff line change 174174 of your accepting any such warranty or additional liability.
175175
176176 END OF TERMS AND CONDITIONS
177-
178- APPENDIX: How to apply the Apache License to your work.
179-
180- To apply the Apache License to your work, attach the following
181- boilerplate notice, with the fields enclosed by brackets "{}"
182- replaced with your own identifying information. (Don't include
183- the brackets!) The text should be enclosed in the appropriate
184- comment syntax for the file format. We also recommend that a
185- file or class name and description of purpose be included on the
186- same "printed page" as the copyright notice for easier
187- identification within third-party archives.
188-
189- Copyright {yyyy} {name of copyright owner}
190-
191- Licensed under the Apache License, Version 2.0 (the "License");
192- you may not use this file except in compliance with the License.
193- You may obtain a copy of the License at
194-
195- http://www.apache.org/licenses/LICENSE-2.0
196-
197- Unless required by applicable law or agreed to in writing, software
198- distributed under the License is distributed on an "AS IS" BASIS,
199- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200- See the License for the specific language governing permissions and
201- limitations under the License.
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2017 Dgraph Labs, Inc. and Contributors
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+
117package db
218
319import (
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2017 Dgraph Labs, Inc. and Contributors
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+
117package db
218
319import (
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2017 Dgraph Labs, Inc. and Contributors
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+
117package db
218
319import (
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2017 Dgraph Labs, Inc. and Contributors
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+
117package db
218
319import (
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2017 Dgraph Labs, Inc. and Contributors
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+
117package db
218
319import (
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2017 Dgraph Labs, Inc. and Contributors
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+
117package db
218
319import (
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2017 Dgraph Labs, Inc. and Contributors
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+
117package memtable
218
319import (
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2017 Dgraph Labs, Inc. and Contributors
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+
117package memtable
218
319import (
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2017 Dgraph Labs, Inc. and Contributors
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+
117// Adapted from https://github.com/facebook/rocksdb/blob/master/db/skiplist.h
218// Thread safety:
319// Writes require external synchronization, most likely a mutex.
You can’t perform that action at this time.
0 commit comments