Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1711 - 1720 of 2,911 for sink (0.08 seconds)

  1. android/guava/src/com/google/common/base/FinalizablePhantomReference.java

    /**
     * Phantom reference with a {@code finalizeReferent()} method which a background thread invokes
     * after the garbage collector reclaims the referent. This is a simpler alternative to using a
     * {@link ReferenceQueue}.
     *
     * <p>Unlike a normal phantom reference, this reference will be cleared automatically.
     *
     * @author Bob Lee
     * @since 2.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  2. guava-tests/benchmark/com/google/common/hash/MessageDigestCreationBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.security.MessageDigest;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks for comparing instance creation of {@link MessageDigest}s.
     *
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    public class MessageDigestCreationBenchmark {
    
      @Param({"MD5", "SHA-1", "SHA-256", "SHA-384", "SHA-512"})
      private String algorithm;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/base/DefaultsTest.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link Defaults}.
     *
     * @author Jige Yu
     */
    @J2ktIncompatible
    @GwtIncompatible
    @NullUnmarked
    public class DefaultsTest extends TestCase {
      public void testGetDefaultValue() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 26 02:41:17 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/SpecialRandom.java

     */
    
    package com.google.common.collect;
    
    import static java.lang.Long.parseLong;
    
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Utility class for being able to seed a {@link Random} value with a passed in seed from a
     * benchmark parameter.
     *
     * <p>TODO: Remove this class once Caliper has a better way.
     *
     * @author Nicholaus Shupe
     */
    @NullUnmarked
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/reflect/TypeParameterTest.java

    import java.lang.reflect.Method;
    import java.lang.reflect.TypeVariable;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link TypeParameter}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    public class TypeParameterTest extends TestCase {
    
      public <T> void testCaptureTypeParameter() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/ClosingFutureLeakTest.java

    import com.google.common.util.concurrent.AbstractClosingFutureTest.TestCloseable;
    import java.lang.ref.WeakReference;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Tests for {@link ClosingFuture} leaks. */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class ClosingFutureLeakTest extends TestCase {
      public void testLeak() {
        TestCloseable closeable = new TestCloseable("closeable");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTesterTest.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.ForwardingObject;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link ForwardingObjectTester}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class ForwardingObjectTesterTest extends TestCase {
    
      public void testFailsToForward() {
        try {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/exception/ConverterRuntimeException.java

     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    import org.codelibs.core.beans.Converter;
    
    /**
     * Exception thrown when an error occurs in a {@link Converter}.
     *
     * @author higa
     */
    public class ConverterRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * The name of the property.
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/UnknownRepositoryLayoutException.java

    import org.codehaus.plexus.component.repository.exception.ComponentLookupException;
    
    /**
     * Exception which is meant to occur when a layout specified for a particular
     * repository doesn't have a corresponding {@link org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout}
     * component in the current container.
     *
     */
    @Deprecated
    public class UnknownRepositoryLayoutException extends InvalidRepositoryException {
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  10. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojoExecutionException.java

        }
    
        /**
         * Constructs a new {@code AbstractMojoExecutionException} exception wrapping an underlying {@code Throwable}.
         *
         * @param cause the cause which is saved for later retrieval by the {@link #getCause()} method.
         *              A {@code null} value is permitted, and indicates that the cause is nonexistent or unknown.
         * @since 3.8.3
         */
        public AbstractMojoExecutionException(Throwable cause) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
Back to Top