Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 36 of 36 for ting (0.17 sec)

  1. android/guava/src/com/google/common/collect/NullsLastOrdering.java

      @Override
      @SuppressWarnings("nullness") // should be safe, but not sure if we can avoid the warning
      public <S extends @Nullable T> Ordering<S> reverse() {
        // ordering.reverse() might be optimized, so let it do its thing
        return ordering.<T>reverse().<@NonNull S>nullsFirst();
      }
    
      @Override
      public <S extends @Nullable T> Ordering<@Nullable S> nullsFirst() {
        return ordering.<@NonNull S>nullsFirst();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 27 16:03:47 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

    import java.nio.file.attribute.PosixFileAttributeView;
    import java.nio.file.attribute.PosixFileAttributes;
    import java.util.Arrays;
    
    /**
     * Unit tests for {@link FileBackedOutputStream}.
     *
     * <p>For a tiny bit more testing, see {@link FileBackedOutputStreamAndroidIncompatibleTest}.
     *
     * @author Chris Nokleberg
     */
    public class FileBackedOutputStreamTest extends IoTestCase {
    
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/HttpHeaders.java

       * {@code Ping-From}</a> header field name.
       *
       * @since 19.0
       */
      public static final String PING_FROM = "Ping-From";
      /**
       * The HTTP <a href="http://html.spec.whatwg.org/multipage/semantics.html#hyperlink-auditing">
       * {@code Ping-To}</a> header field name.
       *
       * @since 19.0
       */
      public static final String PING_TO = "Ping-To";
    
      /**
       * The HTTP <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 34.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

    import java.util.concurrent.locks.ReentrantLock;
    import java.util.concurrent.locks.ReentrantReadWriteLock;
    import junit.framework.TestCase;
    
    /**
     * Unittests for {@link CycleDetectingLockFactory}.
     *
     * @author Darick Tong
     */
    public class CycleDetectingLockFactoryTest extends TestCase {
    
      private ReentrantLock lockA;
      private ReentrantLock lockB;
      private ReentrantLock lockC;
      private ReentrantReadWriteLock.ReadLock readLockA;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.1K bytes
    - Viewed (1)
  5. android/guava/src/com/google/common/hash/Crc32cHashFunction.java

         * crc2 = int2
         * crc3 = int3
         *
         * ...so we set crc0 so that computeForWord(crc0) = -1 and xoring it with the first int
         * gives us the desired result.  computeForWord(0) == 0, so all the others do the right thing.
         */
        private int crc0 = INVERSE_COMPUTE_FOR_WORD_OF_ALL_1S;
        private int crc1 = 0;
        private int crc2 = 0;
        private int crc3 = 0;
    
        @Override
        protected void process(ByteBuffer bb) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 21.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/HashTestUtils.java

       * even for funny strings composed by (possibly unmatched, and mostly illegal) surrogate
       * characters. (But doesn't test that they do the right thing - just their consistency).
       */
      private static void assertHashStringWithSurrogatesEquivalence(
          HashFunction hashFunction, Random random) {
        int size = random.nextInt(8) + 1;
        char[] chars = new char[size];
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
Back to top