kmath/kmath-memory/api/kmath-memory.api

84 lines
4.2 KiB
Plaintext
Raw Permalink Normal View History

2023-05-09 19:44:39 +03:00
public abstract interface annotation class space/kscience/kmath/PerformancePitfall : java/lang/annotation/Annotation {
public abstract fun message ()Ljava/lang/String;
}
public abstract interface annotation class space/kscience/kmath/UnsafeKMathAPI : java/lang/annotation/Annotation {
public abstract fun message ()Ljava/lang/String;
}
public abstract interface annotation class space/kscience/kmath/UnstableKMathAPI : java/lang/annotation/Annotation {
}
2021-02-18 11:17:28 +03:00
public final class space/kscience/kmath/memory/ByteBufferMemory : space/kscience/kmath/memory/Memory {
2021-01-30 20:23:15 +03:00
public fun <init> (Ljava/nio/ByteBuffer;II)V
public synthetic fun <init> (Ljava/nio/ByteBuffer;IIILkotlin/jvm/internal/DefaultConstructorMarker;)V
2021-02-18 11:17:28 +03:00
public fun copy ()Lspace/kscience/kmath/memory/Memory;
2021-01-30 20:23:15 +03:00
public final fun getBuffer ()Ljava/nio/ByteBuffer;
public fun getSize ()I
public final fun getStartOffset ()I
2021-02-18 11:17:28 +03:00
public fun reader ()Lspace/kscience/kmath/memory/MemoryReader;
public fun view (II)Lspace/kscience/kmath/memory/Memory;
public fun writer ()Lspace/kscience/kmath/memory/MemoryWriter;
2021-01-30 20:23:15 +03:00
}
2021-02-18 11:17:28 +03:00
public final class space/kscience/kmath/memory/ByteBufferMemoryKt {
public static final fun allocate (Lspace/kscience/kmath/memory/Memory$Companion;I)Lspace/kscience/kmath/memory/Memory;
public static final fun asMemory (Ljava/nio/ByteBuffer;II)Lspace/kscience/kmath/memory/Memory;
public static synthetic fun asMemory$default (Ljava/nio/ByteBuffer;IIILjava/lang/Object;)Lspace/kscience/kmath/memory/Memory;
2021-01-30 20:23:15 +03:00
public static final fun readAsMemory (Ljava/nio/file/Path;JJLkotlin/jvm/functions/Function1;)Ljava/lang/Object;
public static synthetic fun readAsMemory$default (Ljava/nio/file/Path;JJLkotlin/jvm/functions/Function1;ILjava/lang/Object;)Ljava/lang/Object;
2021-02-18 11:17:28 +03:00
public static final fun wrap (Lspace/kscience/kmath/memory/Memory$Companion;[B)Lspace/kscience/kmath/memory/Memory;
2021-01-30 20:23:15 +03:00
}
2021-02-18 11:17:28 +03:00
public abstract interface class space/kscience/kmath/memory/Memory {
public static final field Companion Lspace/kscience/kmath/memory/Memory$Companion;
public abstract fun copy ()Lspace/kscience/kmath/memory/Memory;
2021-01-30 20:23:15 +03:00
public abstract fun getSize ()I
2021-02-18 11:17:28 +03:00
public abstract fun reader ()Lspace/kscience/kmath/memory/MemoryReader;
public abstract fun view (II)Lspace/kscience/kmath/memory/Memory;
public abstract fun writer ()Lspace/kscience/kmath/memory/MemoryWriter;
2021-01-30 20:23:15 +03:00
}
2021-02-18 11:17:28 +03:00
public final class space/kscience/kmath/memory/Memory$Companion {
2021-01-30 20:23:15 +03:00
}
2021-02-18 11:17:28 +03:00
public final class space/kscience/kmath/memory/MemoryKt {
public static final fun read (Lspace/kscience/kmath/memory/Memory;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
public static final fun write (Lspace/kscience/kmath/memory/Memory;Lkotlin/jvm/functions/Function1;)V
2021-01-30 20:23:15 +03:00
}
2023-05-09 19:44:39 +03:00
public abstract interface class space/kscience/kmath/memory/MemoryReader : java/lang/AutoCloseable {
public abstract fun close ()V
2021-02-18 11:17:28 +03:00
public abstract fun getMemory ()Lspace/kscience/kmath/memory/Memory;
2021-01-30 20:23:15 +03:00
public abstract fun readByte (I)B
public abstract fun readDouble (I)D
public abstract fun readFloat (I)F
public abstract fun readInt (I)I
public abstract fun readLong (I)J
public abstract fun readShort (I)S
}
2021-02-18 11:17:28 +03:00
public abstract interface class space/kscience/kmath/memory/MemorySpec {
2021-01-30 20:23:15 +03:00
public abstract fun getObjectSize ()I
2021-02-18 11:17:28 +03:00
public abstract fun read (Lspace/kscience/kmath/memory/MemoryReader;I)Ljava/lang/Object;
public abstract fun write (Lspace/kscience/kmath/memory/MemoryWriter;ILjava/lang/Object;)V
2021-01-30 20:23:15 +03:00
}
2021-02-18 11:17:28 +03:00
public final class space/kscience/kmath/memory/MemorySpecKt {
public static final fun read (Lspace/kscience/kmath/memory/MemoryReader;Lspace/kscience/kmath/memory/MemorySpec;I)Ljava/lang/Object;
public static final fun write (Lspace/kscience/kmath/memory/MemoryWriter;Lspace/kscience/kmath/memory/MemorySpec;ILjava/lang/Object;)V
public static final fun writeArray (Lspace/kscience/kmath/memory/MemoryWriter;Lspace/kscience/kmath/memory/MemorySpec;I[Ljava/lang/Object;)V
2021-01-30 20:23:15 +03:00
}
2023-05-09 19:44:39 +03:00
public abstract interface class space/kscience/kmath/memory/MemoryWriter : java/lang/AutoCloseable {
public abstract fun close ()V
2021-02-18 11:17:28 +03:00
public abstract fun getMemory ()Lspace/kscience/kmath/memory/Memory;
2021-01-30 20:23:15 +03:00
public abstract fun writeByte (IB)V
public abstract fun writeDouble (ID)V
public abstract fun writeFloat (IF)V
public abstract fun writeInt (II)V
public abstract fun writeLong (IJ)V
public abstract fun writeShort (IS)V
}