Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for bob (0.01 sec)

  1. guava/src/com/google/common/base/FinalizableReference.java

    import com.google.errorprone.annotations.DoNotMock;
    
    /**
     * Implemented by references that have code to run after garbage collection of their referents.
     *
     * @see FinalizableReferenceQueue
     * @author Bob Lee
     * @since 2.0
     */
    @DoNotMock("Use an instance of one of the Finalizable*Reference classes")
    @J2ktIncompatible
    @GwtIncompatible
    public interface FinalizableReference {
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/FinalizablePhantomReference.java

     * 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
    public abstract class FinalizablePhantomReference<T> extends PhantomReference<T>
        implements FinalizableReference {
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/FunctionalEquivalence.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.io.Serializable;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Equivalence applied on functional result.
     *
     * @author Bob Lee
     * @since 10.0
     */
    @GwtCompatible
    final class FunctionalEquivalence<F, T> extends Equivalence<F> implements Serializable {
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/HashTestUtils.java

       * 1-bit characteristics.
       *
       * <p>There is more general code provided by Bob Jenkins to test arbitrarily sized characteristics
       * using the magic of gaussian elimination: http://burtleburtle.net/bob/crypto/findingc.html.
       */
      static void checkNo2BitCharacteristics(HashFunction function) {
        Random rand = new Random(0);
        int keyBits = 32;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

    import org.junit.After;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /**
     * Unit test for {@link FinalizableReferenceQueue}.
     *
     * @author Bob Lee
     */
    // - depends on details of GC and classloading
    // - .class files aren't available
    // - possibly no real concept of separate ClassLoaders?
    @AndroidIncompatible
    @GwtIncompatible
    @RunWith(JUnit4.class)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/MIENameTest.java

            byte[] der;
            try {
                der = oid.toASN1Primitive().getEncoded();
            } catch (java.io.IOException e) {
                throw new RuntimeException(e);
            }
            byte[] nameBytes = "bob".getBytes(StandardCharsets.US_ASCII);
    
            return Stream.of(
                    // Too short for TOK_ID + MECH_OID_LEN
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

          val originalRequest = chain.request()
          val originalResponse =
            chain.proceed(
              originalRequest
                .newBuilder()
                .addHeader("Request-Interceptor", "Bob") // 2. Added second.
                .build(),
            )
          originalResponse
            .newBuilder()
            .addHeader("Response-Interceptor", "Cupcake") // 3. Added third.
            .build()
        }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 16:11:23 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/FinalizableReferenceQueue.java

     * garbage-collected. That's why we are careful to make a {@code Runnable} that does not have a
     * reference to any {@code MyServer} instance.
     *
     * @author Bob Lee
     * @since 2.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public class FinalizableReferenceQueue implements Closeable {
      /*
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Equivalence.java

     * target a lower API level. In the meantime, if you have support for method references you can use
     * an equivalence as a bi-predicate like this: {@code myEquivalence::equivalent}.
     *
     * @author Bob Lee
     * @author Ben Yu
     * @author Gregory Kick
     * @since 10.0 (<a href="https://github.com/google/guava/wiki/Compatibility">mostly
     *     source-compatible</a> since 4.0)
     */
    @GwtCompatible
    /*
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 01:47:55 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/IteratorsTest.java

      }
    
      public void testIndexOf_consumedDataNoMatch() {
        Iterator<String> iterator = Lists.newArrayList("manny", "mo", "mo", "jack").iterator();
        assertEquals(-1, Iterators.indexOf(iterator, equalTo("bob")));
        assertFalse(iterator.hasNext());
      }
    
      @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method
      public void testUnmodifiableIteratorShortCircuit() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 56.7K bytes
    - Viewed (0)
Back to top