Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 473 for unused (0.09 sec)

  1. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        sink.putByte((byte) 7);
        sink.putBytes(new byte[] {});
        sink.putBytes(new byte[] {8});
        HashCode unused = sink.hash();
        sink.assertInvariants(8);
        sink.assertBytes(expected);
      }
    
      public void testShort() {
        Sink sink = new Sink(4);
        sink.putShort((short) 0x0201);
        HashCode unused = sink.hash();
        sink.assertInvariants(2);
        sink.assertBytes(new byte[] {1, 2, 0, 0}); // padded with zeros
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertEquals(TypeToken.of(String.class), invokable.getOwnerType());
      }
    
      private static final class FinalClass {
        @SuppressWarnings("unused") // used by reflection
        void notFinalMethod() {}
      }
    
      public void testNonFinalMethodInFinalClass_isOverridable() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertEquals(TypeToken.of(String.class), invokable.getOwnerType());
      }
    
      private static final class FinalClass {
        @SuppressWarnings("unused") // used by reflection
        void notFinalMethod() {}
      }
    
      public void testNonFinalMethodInFinalClass_isOverridable() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  4. .golangci.yml

        - gomodguard
        - govet
        - ineffassign
        - misspell
        - revive
        - staticcheck
        - tenv
        - typecheck
        - unconvert
        - unused
    
    issues:
      exclude-use-default: false
      exclude:
        - "empty-block:"
        - "unused-parameter:"
        - "dot-imports:"
        - should have a package comment
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Dec 07 02:17:03 UTC 2023
    - 689 bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       *
       * How this works is best explained with an example:
       *
       * For a RateLimiter that produces 1 token per second, every second that goes by with the
       * RateLimiter being unused, we increase storedPermits by 1. Say we leave the RateLimiter unused
       * for 10 seconds (i.e., we expected a request at time X, but we are at time X + 10 seconds before
       * a request actually arrives; this is also related to the point made in the last paragraph), thus
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

        final CountDownLatch latch = new CountDownLatch(1);
        Object unused =
            new Object() {
              @SuppressWarnings({"removal", "Finalize"}) // b/260137033
              @Override
              protected void finalize() {
                latch.countDown();
              }
            };
        unused = null; // Hint to the JIT that unused is unreachable
        GcFinalization.await(latch);
        assertEquals(0, latch.getCount());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Apr 27 17:06:02 UTC 2012
    - 1.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/TypesTest.java

      }
    
      private static class WithWildcardType {
    
        @SuppressWarnings("unused")
        void withoutBound(List<?> list) {}
    
        @SuppressWarnings("unused")
        void withObjectBound(List<? extends Object> list) {}
    
        @SuppressWarnings("unused")
        void withUpperBound(List<? extends int[][]> list) {}
    
        @SuppressWarnings("unused")
        void withLowerBound(List<? super String[][]> list) {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/TypesTest.java

      }
    
      private static class WithWildcardType {
    
        @SuppressWarnings("unused")
        void withoutBound(List<?> list) {}
    
        @SuppressWarnings("unused")
        void withObjectBound(List<? extends Object> list) {}
    
        @SuppressWarnings("unused")
        void withUpperBound(List<? extends int[][]> list) {}
    
        @SuppressWarnings("unused")
        void withLowerBound(List<? super String[][]> list) {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

       */
    
      public void testSize() {
        int unused = create().size();
      }
    
      public void testIsEmpty() {
        boolean unused = create().isEmpty();
      }
    
      public void testRemove() {
        create().remove(null);
      }
    
      public void testClear() {
        create().clear();
      }
    
      public void testContainsKey() {
        boolean unused = create().containsKey(null);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top