Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 253 for TUnused (0.11 seconds)

  1. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertEquals(Prepender.class, Prepender.constructor().getReturnType().getType());
      }
    
      private static class WithConstructorAndTypeParameter<T> {
        @SuppressWarnings("unused") // by reflection
        <X> WithConstructorAndTypeParameter() {}
      }
    
      public void testConstructor_returnType_hasTypeParameter() throws Exception {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 30.7K bytes
    - Click Count (0)
  2. 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);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 18 14:47:20 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  3. guava/src/com/google/common/graph/UndirectedGraphConnections.java

      @Override
      public void removePredecessor(N node) {
        @SuppressWarnings("unused")
        V unused = removeSuccessor(node);
      }
    
      @Override
      public @Nullable V removeSuccessor(N node) {
        return adjacentNodeValues.remove(node);
      }
    
      @Override
      public void addPredecessor(N node, V value) {
        @SuppressWarnings("unused")
        V unused = addSuccessor(node, value);
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  4. android/guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java

          public boolean noAddOverflow(int a, int b) {
            try {
              int unused = IntMath.checkedAdd(a, b);
              return true;
            } catch (ArithmeticException e) {
              return false;
            }
          }
    
          @Override
          public boolean noAddOverflow(long a, long b) {
            try {
              long unused = LongMath.checkedAdd(a, b);
              return true;
            } catch (ArithmeticException e) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/QueuesTest.java

          @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
          Future<?> possiblyIgnoredError = threadPool.submit(new Producer(q, 20));
          @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
          Future<?> possiblyIgnoredError1 = threadPool.submit(new Producer(q, 20));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Nov 04 17:24:58 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

                ReactorManager unused,
                List<String> goals,
                String executionRootDir,
                Properties executionProperties,
                Date startTime) {
            this(
                    container,
                    settings,
                    localRepository,
                    eventDispatcher,
                    unused,
                    goals,
                    executionRootDir,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  7. 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
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/pac/PacDataInputStreamTest.java

        @Test
        public void testReadString() throws IOException, PACDecodingException {
            // total=4, unused=1, used=2, string="AB"
            byte[] data = new byte[] { 0x04, 0x00, 0x00, 0x00, // total
                    0x01, 0x00, 0x00, 0x00, // unused
                    0x02, 0x00, 0x00, 0x00, // used
                    0x00, 0x00, // unused char
                    0x41, 0x00, // 'A'
                    0x42, 0x00 // 'B'
            };
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/eventbus/PackageSanityTests.java

        setDefault(Dispatcher.class, Dispatcher.immediate());
      }
    
      private static class DummySubscriber {
    
        private final EventBus eventBus = new EventBus();
    
        @Subscribe
        public void handle(@Nullable Object unused) {}
    
        Subscriber toSubscriber() throws Exception {
          return Subscriber.create(eventBus, this, subscriberMethod());
        }
    
        SubscriberExceptionContext toContext() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  10. 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) {}
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Feb 11 19:03:19 GMT 2025
    - 15.4K bytes
    - Click Count (0)
Back to Top