Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 199 for TUnused (0.05 sec)

  1. android/guava-tests/test/com/google/common/collect/RegularImmutableAsListTest.java

       * gets invoked from other immutable collections.
       */
      public void testDoesntCheckForNull() {
        ImmutableSet<Integer> set = ImmutableSet.of(1, 2, 3);
        ImmutableList<Integer> unused =
            new RegularImmutableAsList<Integer>(set, new @Nullable Object[] {null, null, null});
        // shouldn't throw!
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/Platform.java

      static <T> T[] clone(T[] array) {
        return array.clone();
      }
    
      // Class.cast is not supported in GWT.  This method is a no-op in GWT.
      static void checkCast(Class<?> clazz, Object obj) {
        Object unused = clazz.cast(obj);
      }
    
      static String format(String template, Object... args) {
        return String.format(Locale.ROOT, template, args);
      }
    
      private Platform() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 04 01:39:13 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/Platform.java

      static <T> T[] clone(T[] array) {
        return array.clone();
      }
    
      // Class.cast is not supported in GWT.  This method is a no-op in GWT.
      static void checkCast(Class<?> clazz, Object obj) {
        Object unused = clazz.cast(obj);
      }
    
      static String format(String template, Object... args) {
        return String.format(Locale.ROOT, template, args);
      }
    
      private Platform() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 04 01:39:13 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ForwardingImmutableMap.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * Unused stub class, unreferenced under Java and manually emulated under GWT.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    abstract class ForwardingImmutableMap<K, V> {
      private ForwardingImmutableMap() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 906 bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ForwardingImmutableSet.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * Unused stub class, unreferenced under Java and manually emulated under GWT.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    abstract class ForwardingImmutableSet<E> {
      private ForwardingImmutableSet() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 903 bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

        testComparator(comparator, empty, z, abc);
    
        // Just demonstrate that no explicit type parameter is required
        Comparator<Optional<String>> unused = emptiesFirst(naturalOrder());
      }
    
      public void testEmptiesLast() {
        Optional<String> empty = Optional.empty();
        Optional<String> abc = Optional.of("abc");
        Optional<String> z = Optional.of("z");
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

        TestExecutor testExecutor = new TestExecutor(mock);
        @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
        Future<?> possiblyIgnoredError =
            testExecutor.scheduleWithFixedDelay(DO_NOTHING, 100, 10, MINUTES);
        mock.assertLastMethodCalled("scheduleWithFixedDelay", 100, 10, MINUTES);
    
        @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/anotherpackage/SomeClassThatDoesNotUseNullable.java

     * limitations under the License.
     */
    
    package com.google.common.testing.anotherpackage;
    
    /** Does not check null, but should not matter since it's in a different package. */
    @SuppressWarnings("unused") // For use by NullPointerTester
    public class SomeClassThatDoesNotUseNullable {
    
      void packagePrivateButDoesNotCheckNull(String s) {}
    
      protected void protectedButDoesNotCheckNull(String s) {}
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 1.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/LongAddables.java

      private static final Supplier<LongAddable> SUPPLIER;
    
      static {
        Supplier<LongAddable> supplier;
        try {
          // trigger static initialization of the LongAdder class, which may fail
          LongAdder unused = new LongAdder();
          supplier =
              new Supplier<LongAddable>() {
                @Override
                public LongAddable get() {
                  return new LongAdder();
                }
              };
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BitString.kt

    import okio.ByteString
    
    /**
     * Like a [ByteString], but whose bits are not necessarily a strict multiple of 8.
     */
    internal data class BitString(
      val byteString: ByteString,
      /** 0-7 unused bits in the last byte. */
      val unusedBitsCount: Int,
    ) {
      // Avoid Long.hashCode(long) which isn't available on Android 5.
      override fun hashCode(): Int {
        var result = 0
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top