ide reformat

This commit is contained in:
Mathis Chenuet
2015-01-05 23:10:41 +01:00
committed by Laurent Clouet
parent 31957c0722
commit c174e574f1
3 changed files with 31 additions and 31 deletions

View File

@@ -67,6 +67,7 @@ public class Pair<F, S> {
/** /**
* Convenience method for creating an appropriately typed pair. * Convenience method for creating an appropriately typed pair.
*
* @param a the first object in the Pair * @param a the first object in the Pair
* @param b the second object in the pair * @param b the second object in the pair
* @return a Pair that is templatized with the types of a and b * @return a Pair that is templatized with the types of a and b

View File

@@ -73,6 +73,7 @@ public class CUresult {
/** /**
* This indicates profiling has not been initialized for this context. * This indicates profiling has not been initialized for this context.
* Call cuProfilerInitialize() to resolve this. * Call cuProfilerInitialize() to resolve this.
*
* @deprecated This error return is deprecated as of CUDA 5.0. * @deprecated This error return is deprecated as of CUDA 5.0.
* It is no longer an error to attempt to enable/disable the * It is no longer an error to attempt to enable/disable the
* profiling via ::cuProfilerStart or ::cuProfilerStop without * profiling via ::cuProfilerStart or ::cuProfilerStop without
@@ -83,6 +84,7 @@ public class CUresult {
/** /**
* This indicates profiler has already been started and probably * This indicates profiler has already been started and probably
* cuProfilerStart() is incorrectly called. * cuProfilerStart() is incorrectly called.
*
* @deprecated This error return is deprecated as of CUDA 5.0. * @deprecated This error return is deprecated as of CUDA 5.0.
* It is no longer an error to call cuProfilerStart() when * It is no longer an error to call cuProfilerStart() when
* profiling is already enabled. * profiling is already enabled.
@@ -92,6 +94,7 @@ public class CUresult {
/** /**
* This indicates profiler has already been stopped and probably * This indicates profiler has already been stopped and probably
* cuProfilerStop() is incorrectly called. * cuProfilerStop() is incorrectly called.
*
* @deprecated This error return is deprecated as of CUDA 5.0. * @deprecated This error return is deprecated as of CUDA 5.0.
* It is no longer an error to call cuProfilerStop() when * It is no longer an error to call cuProfilerStop() when
* profiling is already disabled. * profiling is already disabled.
@@ -313,6 +316,7 @@ public class CUresult {
/** /**
* This error indicates that a call to ::cuMemPeerRegister is trying to * This error indicates that a call to ::cuMemPeerRegister is trying to
* register already-registered memory. * register already-registered memory.
*
* @deprecated This value has been added in CUDA 4.0 RC, * @deprecated This value has been added in CUDA 4.0 RC,
* and removed in CUDA 4.0 RC2 * and removed in CUDA 4.0 RC2
*/ */
@@ -321,6 +325,7 @@ public class CUresult {
/** /**
* This error indicates that a call to ::cuMemPeerUnregister is trying to * This error indicates that a call to ::cuMemPeerUnregister is trying to
* unregister memory that has not been registered. * unregister memory that has not been registered.
*
* @deprecated This value has been added in CUDA 4.0 RC, * @deprecated This value has been added in CUDA 4.0 RC,
* and removed in CUDA 4.0 RC2 * and removed in CUDA 4.0 RC2
*/ */

View File

@@ -160,24 +160,19 @@ public interface Kernel32Lib extends Library {
/** /**
* Takes a snapshot of the specified processes, as well as the heaps, modules, and threads used by these processes. * Takes a snapshot of the specified processes, as well as the heaps, modules, and threads used by these processes.
* *
* @param dwFlags * @param dwFlags The portions of the system to be included in the snapshot.
* The portions of the system to be included in the snapshot. * @param th32ProcessID The process identifier of the process to be included in the snapshot. This parameter can be zero to indicate
*
* @param th32ProcessID
* The process identifier of the process to be included in the snapshot. This parameter can be zero to indicate
* the current process. This parameter is used when the TH32CS_SNAPHEAPLIST, TH32CS_SNAPMODULE, * the current process. This parameter is used when the TH32CS_SNAPHEAPLIST, TH32CS_SNAPMODULE,
* TH32CS_SNAPMODULE32, or TH32CS_SNAPALL value is specified. Otherwise, it is ignored and all processes are * TH32CS_SNAPMODULE32, or TH32CS_SNAPALL value is specified. Otherwise, it is ignored and all processes are
* included in the snapshot. * included in the snapshot.
* * <p/>
* If the specified process is the Idle process or one of the CSRSS processes, this function fails and the last * If the specified process is the Idle process or one of the CSRSS processes, this function fails and the last
* error code is ERROR_ACCESS_DENIED because their access restrictions prevent user-level code from opening them. * error code is ERROR_ACCESS_DENIED because their access restrictions prevent user-level code from opening them.
* * <p/>
* If the specified process is a 64-bit process and the caller is a 32-bit process, this function fails and the * If the specified process is a 64-bit process and the caller is a 32-bit process, this function fails and the
* last error code is ERROR_PARTIAL_COPY (299). * last error code is ERROR_PARTIAL_COPY (299).
* * @return If the function succeeds, it returns an open handle to the specified snapshot.
* @return * <p/>
* If the function succeeds, it returns an open handle to the specified snapshot.
*
* If the function fails, it returns INVALID_HANDLE_VALUE. To get extended error information, call GetLastError. * If the function fails, it returns INVALID_HANDLE_VALUE. To get extended error information, call GetLastError.
* Possible error codes include ERROR_BAD_LENGTH. * Possible error codes include ERROR_BAD_LENGTH.
*/ */
@@ -189,8 +184,7 @@ public interface Kernel32Lib extends Library {
* @param hSnapshot A handle to the snapshot returned from a previous call to the CreateToolhelp32Snapshot function. * @param hSnapshot A handle to the snapshot returned from a previous call to the CreateToolhelp32Snapshot function.
* @param lppe A pointer to a PROCESSENTRY32 structure. It contains process information such as the name of the * @param lppe A pointer to a PROCESSENTRY32 structure. It contains process information such as the name of the
* executable file, the process identifier, and the process identifier of the parent process. * executable file, the process identifier, and the process identifier of the parent process.
* @return * @return Returns TRUE if the first entry of the process list has been copied to the buffer or FALSE otherwise. The
* Returns TRUE if the first entry of the process list has been copied to the buffer or FALSE otherwise. The
* ERROR_NO_MORE_FILES error value is returned by the GetLastError function if no processes exist or the snapshot * ERROR_NO_MORE_FILES error value is returned by the GetLastError function if no processes exist or the snapshot
* does not contain process information. * does not contain process information.
*/ */
@@ -201,8 +195,7 @@ public interface Kernel32Lib extends Library {
* *
* @param hSnapshot A handle to the snapshot returned from a previous call to the CreateToolhelp32Snapshot function. * @param hSnapshot A handle to the snapshot returned from a previous call to the CreateToolhelp32Snapshot function.
* @param lppe A pointer to a PROCESSENTRY32 structure. * @param lppe A pointer to a PROCESSENTRY32 structure.
* @return * @return Returns TRUE if the next entry of the process list has been copied to the buffer or FALSE otherwise. The
* Returns TRUE if the next entry of the process list has been copied to the buffer or FALSE otherwise. The
* ERROR_NO_MORE_FILES error value is returned by the GetLastError function if no processes exist or the snapshot * ERROR_NO_MORE_FILES error value is returned by the GetLastError function if no processes exist or the snapshot
* does not contain process information. * does not contain process information.
*/ */
@@ -213,6 +206,7 @@ public interface Kernel32Lib extends Library {
/** /**
* Controls whether the system will handle the specified types of serious errors or whether the process will handle them. * Controls whether the system will handle the specified types of serious errors or whether the process will handle them.
* See: http://msdn.microsoft.com/en-us/library/ms680621%28VS.85%29.aspx * See: http://msdn.microsoft.com/en-us/library/ms680621%28VS.85%29.aspx
*
* @param uMode The process error mode. This parameter can be one or more of the following values. * @param uMode The process error mode. This parameter can be one or more of the following values.
*/ */
public int SetErrorMode(DWORD uMode); public int SetErrorMode(DWORD uMode);