- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 3,647 for findall (0.06 sec)
-
src/main/java/org/codelibs/core/net/MimeTypeUtil.java
* パス。{@literal null}や空文字列であってはいけません * @return コンテントタイプ */ public static String guessContentType(final String path) { assertArgumentNotEmpty("path", path); final InputStream is = ResourceUtil.getResourceAsStream(path); try { final String mimetype = URLConnection.guessContentTypeFromStream(is); if (mimetype != null) { return mimetype;
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CloserTest.java
private final List<Suppression> suppressions = Lists.newArrayList(); @Override public void suppress(Closeable closeable, Throwable thrown, Throwable suppressed) { suppressions.add(new Suppression(closeable, thrown, suppressed)); } } /** Record of a call to suppress. */ private static class Suppression { private final Closeable closeable;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 11.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/CopyUtil.java
assertArgumentNotNull("in", in); assertArgumentNotNull("out", out); final InputStream is = URLUtil.openStream(in); try { final FileOutputStream os = OutputStreamUtil.create(out); try { return copyInternal(wrap(is), os); } finally { CloseableUtil.close(os); } } finally {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 52.4K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsule.java
/** * Container capsule backed by Plexus Container. */ public class PlexusContainerCapsule implements ContainerCapsule { private final ClassLoader previousClassLoader; private final PlexusContainer plexusContainer; private final Lookup lookup; public PlexusContainerCapsule(ClassLoader previousClassLoader, PlexusContainer plexusContainer) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java
OsProbe.getInstance(); JvmInfo.jvmInfo(); } public static void main(final String[] args) { final Options options = new Options(); final CmdLineParser parser = new CmdLineParser(options); try { parser.parseArgument(args); } catch (final CmdLineException e) { System.err.println(e.getMessage());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 8.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/crypto/CachedCipher.java
offerEncryptoCipher(cipher); } return encrypted; } public byte[] encrypto(final byte[] data, final Key key) { final Cipher cipher = pollEncryptoCipher(key); byte[] encrypted; try { encrypted = cipher.doFinal(data); } catch (final IllegalBlockSizeException e) { throw new IllegalBlockSizeRuntimeException(e);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 8.1K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
final CrawlerWebServer server2 = new CrawlerWebServer(7071); server2.start(); final String url1 = "http://localhost:7070/"; final String url2 = "http://localhost:7071/"; try { final int maxCount = 10; final int numOfThread = 10; final File file = File.createTempFile("crawler-", ""); file.delete(); file.mkdirs();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 7.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
// exposed or used. private final CycleDetectingReentrantReadLock readLock; private final CycleDetectingReentrantWriteLock writeLock; private final LockGraphNode lockGraphNode; private CycleDetectingReentrantReadWriteLock(LockGraphNode lockGraphNode, boolean fair) { super(fair); this.readLock = new CycleDetectingReentrantReadLock(this);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Dec 15 19:31:54 UTC 2023 - 35.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
} @J2ktIncompatible @GwtIncompatible // blocking wait public void testCancel_interrupted() throws Exception { final AtomicBoolean interruptedExceptionThrown = new AtomicBoolean(); final CountDownLatch enterLatch = new CountDownLatch(1); final CountDownLatch exitLatch = new CountDownLatch(1); final TrustedListenableFutureTask<Integer> task = TrustedListenableFutureTask.create( new Callable<Integer>() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 7.3K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
class Interruptenator extends Thread { final AtomicBoolean shutdown; Interruptenator(final Thread interruptee) { this(interruptee, new AtomicBoolean(false)); } @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait. Interruptenator(final Thread interruptee, final AtomicBoolean shutdown) { super( new Runnable() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 7.9K bytes - Viewed (0)