Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for Shing (0.16 sec)

  1. guava-tests/test/com/google/common/net/MediaTypeTest.java

                + " and-another-thing=\"\"; normal-thing=foo",
            MediaType.create("text", "plain")
                .withParameter("something", "cr@zy")
                .withParameter("something-else", "crazy with spaces")
                .withParameter("and-another-thing", "")
                .withParameter("normal-thing", "foo")
                .toString());
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/MediaTypeTest.java

                + " and-another-thing=\"\"; normal-thing=foo",
            MediaType.create("text", "plain")
                .withParameter("something", "cr@zy")
                .withParameter("something-else", "crazy with spaces")
                .withParameter("and-another-thing", "")
                .withParameter("normal-thing", "foo")
                .toString());
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `I do,' Alice hastily replied; `at least--at least I mean what
    I say--that's the same thing, you know.'
    
      `Not the same thing a bit!' said the Hatter.  `You might just
    as well say that "I see what I eat" is the same thing as "I eat
    what I see"!'
    
      `You might just as well say,' added the March Hare, `that "I
    like what I get" is the same thing as "I get what I like"!'
    
    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)
  7. guava-tests/test/com/google/common/collect/LenientSerializableTester.java

    import java.util.Set;
    
    /**
     * Variant of {@link SerializableTester} that does not require the reserialized object's class to be
     * identical to the original.
     *
     * @author Chris Povirk
     */
    /*
     * The whole thing is really @GwtIncompatible, but GwtJUnitConvertedTestModule doesn't have a
     * parameter for non-GWT, non-test files, and it didn't seem worth adding one for this unusual case.
     */
    @GwtCompatible(emulated = true)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Aug 04 15:33:27 GMT 2020
    - 2.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/EquivalenceTest.java

       * `new Integer` (as we do) instead of `Integer.valueOf`. However, under J2KT, `new Integer`
       * gets translated back to `Integer.valueOf` because that is the only thing J2KT can support. And
       * anyway, it's nice to avoid `Integer.valueOf` because the Android toolchain optimizes multiple
       * `Integer.valueOf` calls into one! So we stick with the deprecated `Integer` constructor.
       */
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

       * ImmutableList.copyOf} and use that list instead.
       */
      public List<Integer> asList() {
        /*
         * Typically we cache this kind of thing, but much repeated use of this view is a performance
         * anti-pattern anyway. If we cache, then everyone pays a price in memory footprint even if
         * they never use this method.
         */
        return new AsList(this);
    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)
  10. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        if ((!features.contains(IteratorFeature.SUPPORTS_REMOVE) && removes > 1)
            || (stimuli.length >= 5 && removes > 2)) {
          // removes are the most expensive thing to test, since they often throw exceptions with stack
          // traces, so we test them a bit less aggressively
          return;
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
Back to top