- Sort Score
- Num 10 results
- Language All
Results 861 - 870 of 2,682 for latch (0.17 seconds)
-
src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java
// Reset buffer position for decoding buf.reset(); NdrHyper decoded = new NdrHyper(0); decoded.decode(buf); assertEquals(original, decoded.value, "Decoded value should match encoded value"); } /** * Parameterised test for a selection of edge and typical values. */ @ParameterizedTest(name = "Encode and decode {0}")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
boolean isPowerOf2 = LongMath.isPowerOfTwo(x); try { assertEquals(x, 1L << LongMath.log2(x, UNNECESSARY)); assertTrue(isPowerOf2); } catch (ArithmeticException e) { assertFalse(isPowerOf2); } } } @GwtIncompatible // TODO public void testLog10ZeroAlwaysThrows() { for (RoundingMode mode : ALL_ROUNDING_MODES) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 30 14:15:36 GMT 2025 - 31.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
throw new SearchEngineClientException(response.buildFailureMessage()); } return true; } catch (final InterruptedException e) { throw new InterruptedRuntimeException(e); } catch (final ExecutionException e) { throw new SearchEngineClientException("Failed to update bulk data.", e); } } /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 05:56:45 GMT 2025 - 36.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
try { File tempFile = File.createTempFile(prefix, suffix); tempFile.deleteOnExit(); return tempFile; } catch (IOException e) { throw new RuntimeException(e); } } }; systemHelper.init(); ComponentUtil.register(systemHelper, "systemHelper");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Strings.java
} /** * Returns the given {@code template} string with each occurrence of {@code "%s"} replaced with * the corresponding argument value from {@code args}; or, if the placeholder and argument counts * do not match, returns a best-effort form of that string. Will not throw an exception under * normal conditions. * * <p><b>Note:</b> For most string-formatting needs, use {@link String#format String.format},Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 12.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/UpdateLabelJob.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 4.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java
} @CollectionFeature.Require(absent = ALLOWS_NULL_QUERIES) public void testContainsAll_nullNotAllowed() { try { assertFalse(collection.containsAll(MinimalCollection.of((E) null))); } catch (NullPointerException tolerated) { } } @CollectionFeature.Require(ALLOWS_NULL_QUERIES) public void testContainsAll_nullAllowed() { assertFalse(collection.containsAll(MinimalCollection.of((E) null))); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/HostSpecifierTest.java
try { HostSpecifier.fromValid(spec); fail("Should have thrown IllegalArgumentException: " + spec); } catch (IllegalArgumentException expected) { } try { HostSpecifier.from(spec); fail("Should have thrown ParseException: " + spec); } catch (ParseException expected) { assertThat(expected).hasCauseThat().isInstanceOf(IllegalArgumentException.class); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 3.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java
final SuggestWriterResult result = new SuggestWriterResult(); try { client.prepareDelete().setIndex(index).setId(id).execute().actionGet(settings.getIndexTimeout()); } catch (final Exception e) { result.addFailure(e); } return result; } @Override
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Thu Nov 20 08:32:33 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/unit/TestSystemProperties.java
} private static File createTempFile() { try { File tempFile = File.createTempFile("test-system", ".properties"); tempFile.deleteOnExit(); return tempFile; } catch (IOException e) { logger.warn("Failed to create temp file, using null", e); return null; } } private void loadTestProperties() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Tue Aug 19 14:09:36 GMT 2025 - 2.5K bytes - Click Count (0)