Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 450 for stort (0.15 sec)

  1. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

       */
    
      private final transient int start; // it happens that we only serialize instances where this is 0
      private final int end; // exclusive
    
      private ImmutableIntArray(int[] array) {
        this(array, 0, array.length);
      }
    
      private ImmutableIntArray(int[] array, int start, int end) {
        this.array = array;
        this.start = start;
        this.end = end;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

       */
    
      private final transient int start; // it happens that we only serialize instances where this is 0
      private final int end; // exclusive
    
      private ImmutableDoubleArray(double[] array) {
        this(array, 0, array.length);
      }
    
      private ImmutableDoubleArray(double[] array, int start, int end) {
        this.array = array;
        this.start = start;
        this.end = end;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RegularImmutableMap.java

            }
          }
        } else if (hashTableObject instanceof short[]) {
          short[] hashTable = (short[]) hashTableObject;
          int mask = hashTable.length - 1;
          for (int h = Hashing.smear(key.hashCode()); ; h++) {
            h &= mask;
            int keyIndex = hashTable[h] & SHORT_MASK; // unsigned read
            if (keyIndex == SHORT_MASK) { // -1 signed becomes 65_535 unsigned
              return null;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

      Object @Nullable [] internalArray() {
        return null;
      }
    
      /**
       * If this collection is backed by an array of its elements in insertion order, returns the offset
       * where this collection's elements start.
       */
      int internalArrayStart() {
        throw new UnsupportedOperationException();
      }
    
      /**
       * If this collection is backed by an array of its elements in insertion order, returns the offset
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertEquals(Byte.valueOf((byte) 0), ArbitraryInstances.get(Byte.class));
        assertEquals(Short.valueOf((short) 0), ArbitraryInstances.get(short.class));
        assertEquals(Short.valueOf((short) 0), ArbitraryInstances.get(Short.class));
        assertEquals(Integer.valueOf(0), ArbitraryInstances.get(int.class));
        assertEquals(Integer.valueOf(0), ArbitraryInstances.get(Integer.class));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        SMALL_DELAY_MS = SHORT_DELAY_MS * 5;
        MEDIUM_DELAY_MS = SHORT_DELAY_MS * 10;
        LONG_DELAY_MS = SHORT_DELAY_MS * 200;
      }
    
      /**
       * Returns a timeout in milliseconds to be used in tests that verify that operations block or time
       * out.
       */
      long timeoutMillis() {
        return SHORT_DELAY_MS / 4;
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/Quantiles.java

     * Double#NaN NaN}. (This is the one occasion when the behaviour is not the same as you'd get from
     * sorting with {@link java.util.Arrays#sort(double[]) Arrays.sort(double[])} or {@link
     * java.util.Collections#sort(java.util.List) Collections.sort(List<Double>)} and selecting
     * the required value(s). Those methods would sort {@link Double#NaN NaN} as if it is greater than
     * any other value and place them at the end of the dataset, even after {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    looking anxiously about her.  `Oh, do let me help to undo it!'
    
      `I shall do nothing of the sort,' said the Mouse, getting up
    and walking away.  `You insult me by talking such nonsense!'
    
      `I didn't mean it!' pleaded poor Alice.  `But you're so easily
    offended, you know!'
    
      The Mouse only growled in reply.
    
      `Please come back and finish your story!' Alice called after
    it; and the others all joined in chorus, `Yes, please do!' but
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/ShortsTest.java

                    },
                    new short[] {(short) 2, (short) 3, (short) 4}))
            .isEqualTo(1);
        assertThat(
                Shorts.indexOf(
                    new short[] {(short) 4, (short) 3, (short) 2},
                    new short[] {(short) 2, (short) 3, (short) 4}))
            .isEqualTo(-1);
      }
    
      public void testLastIndexOf() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

            helper
                .add(SHORT_NAME, false)
                .add(LONG_NAME, false)
                .addValue(true)
                .add(SHORT_NAME, (byte) 1)
                .add(LONG_NAME, (byte) 2)
                .addValue((byte) 3)
                .add(SHORT_NAME, 'A')
                .add(LONG_NAME, 'B')
                .addValue('C')
                .add(SHORT_NAME, (short) 4)
                .add(LONG_NAME, (short) 5)
                .addValue((short) 6)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 14 22:05:11 GMT 2021
    - 4.3K bytes
    - Viewed (0)
Back to top