- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 66 for reuse (0.17 sec)
-
guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java
IllegalArgumentException.class, () -> networkAsMutableNetwork.addEdge(N4, N5, E12)); assertThat(e).hasMessageThat().contains(ERROR_REUSE_EDGE); e = assertThrows(IllegalArgumentException.class, () -> addEdge(N2, N1, E12)); assertThat(e).hasMessageThat().contains(ERROR_REUSE_EDGE); } @Test public void addEdge_parallelEdge_notAllowed() { assume().that(graphIsMutable()).isTrue();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 21.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java
assertThat(e).hasMessageThat().contains(ERROR_REUSE_EDGE); e = assertThrows( IllegalArgumentException.class, () -> networkAsMutableNetwork.addEdge(N2, N2, E11)); assertThat(e).hasMessageThat().contains(ERROR_REUSE_EDGE); addEdge(N1, N2, E12); e = assertThrows(
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 19.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java
IllegalArgumentException.class, () -> networkAsMutableNetwork.addEdge(N4, N5, E12)); assertThat(e).hasMessageThat().contains(ERROR_REUSE_EDGE); e = assertThrows(IllegalArgumentException.class, () -> addEdge(N2, N1, E12)); assertThat(e).hasMessageThat().contains(ERROR_REUSE_EDGE); } @Test public void addEdge_parallelEdge_notAllowed() { assume().that(graphIsMutable()).isTrue();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 21.2K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/ReferenceEntry.java
* * <p>Invalid: * * <ul> * <li>Expired: time expired (key/value may still be set) * <li>Collected: key/value was partially collected, but not yet cleaned up * <li>Unset: marked as unset, awaiting cleanup or reuse * </ul> */ @GwtIncompatible @ElementTypesAreNonnullByDefault interface ReferenceEntry<K, V> { /** Returns the value reference from this entry. */ @CheckForNull ValueReference<K, V> getValueReference();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 3.5K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
annotationClass.getDeclaringClass(), returnType.getComponentType()); } } // This is public so that tests for Feature enums we haven't yet imagined // can reuse it. public static <E extends Enum<?> & Feature<?>> void assertGoodFeatureEnum( Class<E> featureEnumClass) { final Class<?>[] classes = featureEnumClass.getDeclaredClasses();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.4K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/escape/super/com/google/common/escape/Platform.java
/** @author Jesse Wilson */ final class Platform { private static final char[] CHAR_BUFFER = new char[1024]; static char[] charBufferFromThreadLocal() { // ThreadLocal is not available to GWT, so we always reuse the same // instance. It is always safe to return the same instance because // javascript is single-threaded, and only used by blocks that doesn't // involve async callbacks. return CHAR_BUFFER; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 1.1K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaData.java
return new LinkMetaData(methodMetaData.style, displayName, urlFragment); } private MethodLinkMetaData findMethod(String method) { if (method.endsWith("...)")) { // Should reuse the link parsing stuff from JavadocLinkConverter instead method = method.substring(0, method.length() - 4) + "[])"; } MethodLinkMetaData metaData = methods.get(method);
Java - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 7.4K bytes - Viewed (0) -
android/guava/src/com/google/common/io/FileBackedOutputStream.java
return new ByteArrayInputStream(memory.getBuffer(), 0, memory.getCount()); } } /** * Calls {@link #close} if not already closed, and then resets this object back to its initial * state, for reuse. If data was buffered to a file, it will be deleted. * * @throws IOException if an I/O error occurred while deleting the file buffer */ public synchronized void reset() throws IOException { try {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 8.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilter.java
Predicate<Artifact> predArtifactId = a -> artifactId.matches(createPathProxy(a.getArtifactId())); return predGroupId.and(predArtifactId); } /** * In order to reuse the glob matcher from the filesystem, we need * to create Path instances. Those are only used with the toString method. * This hack works because the only system-dependent thing is the path
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Aug 29 15:25:58 GMT 2023 - 3K bytes - Viewed (0) -
guava/src/com/google/common/cache/ReferenceEntry.java
* * <p>Invalid: * * <ul> * <li>Expired: time expired (key/value may still be set) * <li>Collected: key/value was partially collected, but not yet cleaned up * <li>Unset: marked as unset, awaiting cleanup or reuse * </ul> */ @GwtIncompatible @ElementTypesAreNonnullByDefault interface ReferenceEntry<K, V> { /** Returns the value reference from this entry. */ @CheckForNull ValueReference<K, V> getValueReference();
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 3.5K bytes - Viewed (0)