This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ldd /jdk-11.0.5+10/bin/java | |
/lib64/ld-linux-x86-64.so.2 (0x7f6a45486000) | |
libz.so.1 => /lib/libz.so.1 (0x7f6a4546c000) | |
libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7f6a45486000) | |
libjli.so => /jdk-11.0.5+10/bin/../lib/jli/libjli.so (0x7f6a4525b000) | |
libdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x7f6a45486000) | |
libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f6a45486000) | |
Error relocating /jdk-11.0.5+10/bin/../lib/jli/libjli.so: __strdup: symbol not found | |
Error relocating /jdk-11.0.5+10/bin/../lib/jli/libjli.so: __rawmemchr: symbol not found |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sun.awt.image.ToolkitImage | |
import java.awt.image.{AreaAveragingScaleFilter, BufferedImage, FilteredImageSource, ImageObserver} | |
import java.awt.{Image, Toolkit, image} | |
import java.io.{ByteArrayOutputStream, File} | |
import java.nio.file.{Files, Path} | |
import javax.imageio.{IIOImage, ImageIO, ImageWriteParam} | |
case class ThumbnailGenerator(width: Int, height: Int) { | |
private[this] val filter = AreaAveragingScaleFilter(width, height) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"golang.org/x/exp/constraints" | |
) | |
type List[T any] struct { | |
head *T |
OlderNewer