ramfs: Add MIT license header to all files lacking copyright info.
OK'ed by Ingo via email.
This commit is contained in:
parent
731be7dde1
commit
b9795faf5d
@ -1,6 +1,9 @@
|
||||
// AllocationInfo.cpp
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#include "AllocationInfo.h"
|
||||
|
||||
#include "DebugSupport.h"
|
||||
|
||||
#include "Attribute.h"
|
||||
|
@ -1,5 +1,7 @@
|
||||
// AllocationInfo.h
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#ifndef ALLOCATION_INFO_H
|
||||
#define ALLOCATION_INFO_H
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
// Attribute.cpp
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
|
||||
#include "AllocationInfo.h"
|
||||
#include "Attribute.h"
|
||||
|
@ -1,5 +1,7 @@
|
||||
// Attribute.h
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#ifndef ATTRIBUTE_H
|
||||
#define ATTRIBUTE_H
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
// AttributeIndex.cpp
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#include "AttributeIndex.h"
|
||||
|
||||
// constructor
|
||||
|
@ -1,5 +1,7 @@
|
||||
// AttributeIndex.h
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#ifndef ATTRIBUTE_INDEX_H
|
||||
#define ATTRIBUTE_INDEX_H
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
// AttributeIndexImpl.cpp
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
|
||||
#include <TypeConstants.h>
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
// AttributeIndexImpl.h
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#ifndef ATTRIBUTE_INDEX_IMPL_H
|
||||
#define ATTRIBUTE_INDEX_IMPL_H
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
// AttributeIterator.cpp
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#include "AttributeIterator.h"
|
||||
#include "Node.h"
|
||||
#include "Volume.h"
|
||||
|
@ -1,5 +1,7 @@
|
||||
// AttributeIterator.h
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#ifndef ATTRIBUTE_ITERATOR_H
|
||||
#define ATTRIBUTE_ITERATOR_H
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
// Block.h
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#ifndef BLOCK_H
|
||||
#define BLOCK_H
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
// BlockAllocator.cpp
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
|
||||
// debugging
|
||||
#define BA_DEFINE_INLINES 1
|
||||
|
@ -1,5 +1,7 @@
|
||||
// BlockAllocator.h
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#ifndef BLOCK_ALLOCATOR_H
|
||||
#define BLOCK_ALLOCATOR_H
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
// BlockAllocatorArea.cpp
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
|
||||
#include "BlockAllocatorArea.h"
|
||||
#include "DebugSupport.h"
|
||||
|
@ -1,5 +1,7 @@
|
||||
// BlockAllocatorArea.h
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#ifndef BLOCK_ALLOCATOR_AREA_H
|
||||
#define BLOCK_ALLOCATOR_AREA_H
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
// BlockAllocatorAreaBucket.cpp
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#include "BlockAllocatorAreaBucket.h"
|
||||
|
||||
// constructor
|
||||
|
@ -1,5 +1,7 @@
|
||||
// BlockAllocatorAreaBucket.h
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#ifndef BLOCK_ALLOCATOR_AREA_BUCKET_H
|
||||
#define BLOCK_ALLOCATOR_AREA_BUCKET_H
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
// BlockAllocatorMisc.h
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#ifndef BLOCK_ALLOCATOR_MISC_H
|
||||
#define BLOCK_ALLOCATOR_MISC_H
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
// BlockReferenceManager.cpp
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
|
||||
#include "AllocationInfo.h"
|
||||
#include "Block.h"
|
||||
|
@ -1,5 +1,7 @@
|
||||
// BlockReferenceManager.h
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#ifndef BLOCK_REFERENCE_MANAGER_H
|
||||
#define BLOCK_REFERENCE_MANAGER_H
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
// DataContainer.cpp
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
|
||||
#include "AllocationInfo.h"
|
||||
#include "Attribute.h" // for debugging only
|
||||
|
@ -1,5 +1,7 @@
|
||||
// DataContainer.h
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#ifndef DATA_CONTAINER_H
|
||||
#define DATA_CONTAINER_H
|
||||
|
||||
@ -14,7 +16,7 @@ class Volume;
|
||||
// 16 bytes are for free, since they are shared with the block list.
|
||||
// (actually even more, since the list has an initial size).
|
||||
// I ran a test analyzing what sizes the attributes in my system have:
|
||||
// size percentage bytes used in average
|
||||
// size percentage bytes used in average
|
||||
// <= 0 0.00 93.45
|
||||
// <= 4 25.46 75.48
|
||||
// <= 8 30.54 73.02
|
||||
|
@ -1,4 +1,7 @@
|
||||
// Directory.cpp
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
|
||||
#include "AllocationInfo.h"
|
||||
#include "DebugSupport.h"
|
||||
|
@ -1,5 +1,7 @@
|
||||
// Directory.h
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#ifndef DIRECTORY_H
|
||||
#define DIRECTORY_H
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
// Entry.cpp
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
|
||||
#include "AllocationInfo.h"
|
||||
#include "DebugSupport.h"
|
||||
|
@ -1,5 +1,7 @@
|
||||
// Entry.h
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#ifndef ENTRY_H
|
||||
#define ENTRY_H
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
// EntryIterator.cpp
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
|
||||
#include "Directory.h"
|
||||
#include "Entry.h"
|
||||
|
@ -1,5 +1,7 @@
|
||||
// EntryIterator.h
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#ifndef ENTRY_ITERATOR_H
|
||||
#define ENTRY_ITERATOR_H
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
// EntryListener.cpp
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
|
||||
#include "EntryListener.h"
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
// EntryListener.h
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#ifndef ENTRY_LISTENER_H
|
||||
#define ENTRY_LISTENER_H
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
// File.cpp
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
|
||||
#include "AllocationInfo.h"
|
||||
#include "File.h"
|
||||
|
@ -1,5 +1,7 @@
|
||||
// File.h
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#ifndef FILE_H
|
||||
#define FILE_H
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
// Index.cpp
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
|
||||
#include "DebugSupport.h"
|
||||
#include "Directory.h"
|
||||
|
@ -1,5 +1,7 @@
|
||||
// Index.h
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#ifndef INDEX_H
|
||||
#define INDEX_H
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
// IndexDirectory.cpp
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
|
||||
#include <TypeConstants.h>
|
||||
|
||||
@ -61,7 +64,7 @@ IndexDirectory::~IndexDirectory()
|
||||
status_t
|
||||
IndexDirectory::InitCheck() const
|
||||
{
|
||||
return (fNameIndex && fLastModifiedIndex && fSizeIndex ? B_OK
|
||||
return (fNameIndex && fLastModifiedIndex && fSizeIndex ? B_OK
|
||||
: B_NO_MEMORY);
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
// IndexDirectory.h
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#ifndef INDEX_DIRECTORY_H
|
||||
#define INDEX_DIRECTORY_H
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
// IndexImpl.h
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#ifndef INDEX_IMPL_H
|
||||
#define INDEX_IMPL_H
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
// LastModifiedIndex.cpp
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
|
||||
#include <TypeConstants.h>
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
// LastModifiedIndex.h
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#ifndef LAST_MODIFIED_INDEX_H
|
||||
#define LAST_MODIFIED_INDEX_H
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
// Locking.h
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
|
||||
#ifndef LOCKING_H
|
||||
#define LOCKING_H
|
||||
|
@ -1,4 +1,7 @@
|
||||
// NameIndex.cpp
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
|
||||
#include <TypeConstants.h>
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
// NameIndex.h
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#ifndef NAME_INDEX_H
|
||||
#define NAME_INDEX_H
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
// Node.cpp
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
|
||||
#include "AllocationInfo.h"
|
||||
#include "DebugSupport.h"
|
||||
|
@ -1,5 +1,7 @@
|
||||
// Node.h
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#ifndef NODE_H
|
||||
#define NODE_H
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
// NodeChildTable.h
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#ifndef NODE_CHILD_TABLE_H
|
||||
#define NODE_CHILD_TABLE_H
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
// NodeListener.cpp
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
|
||||
#include "NodeListener.h"
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
// NodeListener.h
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
|
||||
#ifndef NODE_LISTENER_H
|
||||
#define NODE_LISTENER_H
|
||||
|
@ -1,4 +1,7 @@
|
||||
// NodeTable.cpp
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
|
||||
#include "DebugSupport.h"
|
||||
#include "NodeTable.h"
|
||||
|
@ -1,5 +1,7 @@
|
||||
// NodeTable.h
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#ifndef NODE_TABLE_H
|
||||
#define NODE_TABLE_H
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
// SizeIndex.cpp
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
|
||||
#include <TypeConstants.h>
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
// SizeIndex.h
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#ifndef SIZE_INDEX_H
|
||||
#define SIZE_INDEX_H
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
// String.h
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#ifndef STRING_H
|
||||
#define STRING_H
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
// SymLink.cpp
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
// SymLink.h
|
||||
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
#ifndef SYMLINK_H
|
||||
#define SYMLINK_H
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
// ramfs.h
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
|
||||
#ifndef RAM_FS_H
|
||||
#define RAM_FS_H
|
||||
|
@ -1,4 +1,7 @@
|
||||
// ramfs_ioctl.h
|
||||
/*
|
||||
* Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
|
||||
* All rights reserved. Distributed under the terms of the MIT license.
|
||||
*/
|
||||
|
||||
#ifndef RAMFS_IOCTL_H
|
||||
#define RAMFS_IOCTL_H
|
||||
|
Loading…
Reference in New Issue
Block a user