- Sort Score
- Num 10 results
- Language All
Results 491 - 500 of 2,371 for Try (0.01 seconds)
-
src/test/java/org/codelibs/fess/suggest/util/SettingsResourceLoaderTest.java
@Test public void testLoadJsonResourceWithDictionaryPath() throws IOException { // Set the dictionary path for testing String originalPath = System.getProperty("fess.dictionary.path", ""); try { System.setProperty("fess.dictionary.path", "/test/dictionary/path"); // Load the analyzer config which contains ${fess.dictionary.path}Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 4K bytes - Click Count (0) -
src/main/webapp/js/purify.min.js
(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(j,c)),null!==le&&"string"==typeof ce&&(ce=le.createHTML(""));i&&i(e),dt=e}},yt=R({},[...k,...x,...L]),Et=R({},[...I,...M]),At=function(e){f(o.removed,{element:e});try{ae(e).removeChild(e)}catch(t){V(e)}},_t=function(e,t){try{f(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(...
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 06:21:57 GMT 2026 - 22.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java
} @J2ktIncompatible @GwtIncompatible // Thread.interrupt public void testGetUnchecked_interrupted() { Thread.currentThread().interrupt(); try { assertThat(getUnchecked(immediateFuture("foo"))).isEqualTo("foo"); assertTrue(Thread.currentThread().isInterrupted()); } finally { Thread.interrupted(); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 4.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java
} @J2ktIncompatible @GwtIncompatible // Thread.interrupt public void testGetUnchecked_interrupted() { Thread.currentThread().interrupt(); try { assertThat(getUnchecked(immediateFuture("foo"))).isEqualTo("foo"); assertTrue(Thread.currentThread().isInterrupted()); } finally { Thread.interrupted(); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 4.6K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 10.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/CharMatcherTest.java
private void reallyTestEmpty(CharMatcher matcher) throws Exception { assertEquals(-1, matcher.indexIn("")); assertEquals(-1, matcher.indexIn("", 0)); try { matcher.indexIn("", 1); fail(); } catch (IndexOutOfBoundsException expected) { } try { matcher.indexIn("", -1); fail(); } catch (IndexOutOfBoundsException expected) { } assertEquals(-1, matcher.lastIndexIn(""));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 32.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java
} return true; } final File parentFile = outputFile.getParentFile(); final Path parentPath = parentFile.toPath(); try { Files.createDirectories(parentPath); } catch (final IOException e) { logger.warn("Failed to create parent directory: {}", parentFile.getAbsolutePath(), e); return false;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 01 12:47:47 GMT 2026 - 10.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
public class SmbComNegotiateResponseTest { @Mock private CIFSContext mockContext; private SmbComNegotiateResponse response; @BeforeEach public void setUp() { try { BaseConfiguration config = new BaseConfiguration(false); mockContext = new BaseContext(config); response = new SmbComNegotiateResponse(mockContext); } catch (Exception e) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
return false; } // Validate key lengths try { int expectedKeyLength = getKeyLength(); byte[] encKey = getEncryptionKey(); byte[] decKey = getDecryptionKey(); try { boolean valid =Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 35.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/IntMathTest.java
public void testLog2Exact() { for (int x : POSITIVE_INTEGER_CANDIDATES) { // We only expect an exception if x was not a power of 2. boolean isPowerOf2 = IntMath.isPowerOfTwo(x); try { assertEquals(x, 1 << IntMath.log2(x, UNNECESSARY)); assertTrue(isPowerOf2); } catch (ArithmeticException e) { assertFalse(isPowerOf2); } } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 24.1K bytes - Click Count (0)