- Sort Score
- Num 10 results
- Language All
Results 1291 - 1300 of 1,782 for scratch (0.07 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java
try { assertEquals( "multiset.remove(absent, 2) didn't return 0 or throw an exception", 0, getMultiset().remove(e3(), 2)); } catch (UnsupportedOperationException ok) { } } @CollectionFeature.Require(SUPPORTS_REMOVE) public void testRemove_occurrences_0() { int oldCount = getMultiset().count(e0()); assertEquals(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java
try { assertEquals( "multiset.remove(absent, 2) didn't return 0 or throw an exception", 0, getMultiset().remove(e3(), 2)); } catch (UnsupportedOperationException ok) { } } @CollectionFeature.Require(SUPPORTS_REMOVE) public void testRemove_occurrences_0() { int oldCount = getMultiset().count(e0()); assertEquals(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 7K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java
doParallelCacheOp( count, n -> { try { String unused = cache.get(key, () -> key); cache.asMap().compute(key, (k, v) -> null); } catch (ExecutionException e) { throw new UncheckedExecutionException(e); } }); CacheTesting.checkEmpty(cache); for (RemovalNotification<String, String> entry : notifications) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 6.4K bytes - Click Count (0) -
src/main/java/jcifs/spnego/NegTokenTarg.java
} der.writeObject(new DERTaggedObject(true, 1, new DERSequence(fields))); return collector.toByteArray(); } catch (final IOException ex) { throw new IllegalStateException(ex.getMessage()); } } @Override protected void parse(final byte[] token) throws IOException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.9K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java
MavenCli.class.getResourceAsStream("/org/apache/maven/messages/build.properties")) { if (resourceAsStream != null) { properties.load(resourceAsStream); } } catch (IOException e) { System.err.println("Unable determine version from JAR file: " + e.getMessage()); } return properties; }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Nov 08 08:49:11 GMT 2024 - 7.3K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java
if (jdk.startsWith("!")) { return !version.startsWith(jdk.substring(1)); } else if (isRange(jdk)) { try { return isInRange(version, getRange(jdk)); } catch (NumberFormatException e) { problems.add(new ModelProblemCollectorRequest(Severity.WARNING, Version.BASE) .setMessage("Failed to determine JDK activation for profile " + profile.getId()Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 6.6K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PomBuilder.java
public Document buildDocument() { try { String xmlContent = build(); Editor editor = new Editor(Document.of(xmlContent)); return editor.document(); } catch (Exception e) { throw new RuntimeException("Failed to build POM document", e); } } private record Parent(String groupId, String artifactId, String version) {}Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 7.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/LogNotificationHelper.java
*/ public void offer(final LogNotificationEvent event) { int maxBufferSize; try { maxBufferSize = ComponentUtil.getFessConfig().getLogNotificationBufferSizeAsInteger(); } catch (final Exception e) { maxBufferSize = 1000; } queue.offer(event); if (size.incrementAndGet() > maxBufferSize) { if (queue.poll() != null) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 5.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/CartesianList.java
axesSizeProduct[axes.size()] = 1; try { for (int i = axes.size() - 1; i >= 0; i--) { axesSizeProduct[i] = Math.multiplyExact(axesSizeProduct[i + 1], axes.get(i).size()); } } catch (ArithmeticException e) { throw new IllegalArgumentException( "Cartesian product too large; must have size at most Integer.MAX_VALUE"); } this.axesSizeProduct = axesSizeProduct; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 31 13:15:26 GMT 2025 - 4.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
return get(key) != null; } @Override public @Nullable V get(@Nullable Object key) { try { if (key instanceof Range) { @SuppressWarnings("unchecked") // we catch ClassCastExceptions Range<K> r = (Range<K>) key; if (!subRange.encloses(r) || r.isEmpty()) { return null; } RangeMapEntry<K, V> candidate = null;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 22.7K bytes - Click Count (0)