Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 55 for CheckReturnValue (0.41 sec)

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

          assertTrue(Thread.holdsLock(mutex));
          return delegate.toArray(array);
        }
    
        private static final long serialVersionUID = 0;
      }
    
      @SuppressWarnings("CheckReturnValue")
      public void testHoldsLockOnAllOperations() {
        create().element();
        create().offer("foo");
        create().peek();
        create().poll();
        create().remove();
        create().add("foo");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 20:50:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

      }
    
      /**
       * Tests that the ImmutableValueGraph.Builder doesn't change when the creating ValueGraphBuilder
       * changes.
       */
      @Test
      @SuppressWarnings("CheckReturnValue")
      public void immutableValueGraphBuilder_copiesGraphBuilder() {
        ValueGraphBuilder<String, Object> graphBuilder =
            ValueGraphBuilder.directed()
                .allowsSelfLoops(true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 09 20:24:43 UTC 2020
    - 6.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java

      }
    
      /**
       * Tests that the ImmutableNetwork.Builder doesn't change when the creating NetworkBuilder
       * changes.
       */
      @Test
      @SuppressWarnings("CheckReturnValue")
      public void immutableNetworkBuilder_copiesNetworkBuilder() {
        NetworkBuilder<String, Object> networkBuilder =
            NetworkBuilder.directed()
                .allowsSelfLoops(true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun May 05 18:02:35 UTC 2019
    - 5.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

      }
    
      /**
       * Tests that the ImmutableValueGraph.Builder doesn't change when the creating ValueGraphBuilder
       * changes.
       */
      @Test
      @SuppressWarnings("CheckReturnValue")
      public void immutableValueGraphBuilder_copiesGraphBuilder() {
        ValueGraphBuilder<String, Object> graphBuilder =
            ValueGraphBuilder.directed()
                .allowsSelfLoops(true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 09 20:24:43 UTC 2020
    - 6.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java

        assertEquals(20, counter.read(new byte[30]));
        assertEquals(20, counter.getCount());
        assertEquals(-1, counter.read(new byte[30]));
        assertEquals(20, counter.getCount());
      }
    
      @SuppressWarnings("CheckReturnValue") // calling read() to skip a byte
      public void testMark() throws Exception {
        assertTrue(counter.markSupported());
        assertEquals(10, counter.read(new byte[10]));
        assertEquals(10, counter.getCount());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java

      }
    
      /**
       * Tests that the ImmutableGraph.Builder doesn't change when the creating GraphBuilder changes.
       */
      @Test
      @SuppressWarnings("CheckReturnValue")
      public void immutableGraphBuilder_copiesGraphBuilder() {
        GraphBuilder<String> graphBuilder =
            GraphBuilder.directed()
                .allowsSelfLoops(true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 09 20:24:43 UTC 2020
    - 4.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java

      }
    
      /**
       * Tests that the ImmutableGraph.Builder doesn't change when the creating GraphBuilder changes.
       */
      @Test
      @SuppressWarnings("CheckReturnValue")
      public void immutableGraphBuilder_copiesGraphBuilder() {
        GraphBuilder<String> graphBuilder =
            GraphBuilder.directed()
                .allowsSelfLoops(true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 09 20:24:43 UTC 2020
    - 4.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/MultiInputStreamTest.java

        assertEquals(10, in.available());
        int total = 0;
        while (in.read() != -1) {
          total++;
        }
        assertEquals(0, in.available());
        assertEquals(20, total);
      }
    
      @SuppressWarnings("CheckReturnValue") // these calls to skip always return 0
      public void testSkip() throws Exception {
        MultiInputStream multi =
            new MultiInputStream(
                Collections.singleton(
                        new ByteSource() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java

      }
    
      /**
       * Tests that the ImmutableNetwork.Builder doesn't change when the creating NetworkBuilder
       * changes.
       */
      @Test
      @SuppressWarnings("CheckReturnValue")
      public void immutableNetworkBuilder_copiesNetworkBuilder() {
        NetworkBuilder<String, Object> networkBuilder =
            NetworkBuilder.directed()
                .allowsSelfLoops(true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun May 05 18:02:35 UTC 2019
    - 5.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

          assertTrue(Thread.holdsLock(mutex));
          return delegate.toArray(array);
        }
    
        private static final long serialVersionUID = 0;
      }
    
      @SuppressWarnings("CheckReturnValue")
      public void testHoldsLockOnAllOperations() {
        create().element();
        create().offer("foo");
        create().peek();
        create().poll();
        create().remove();
        create().add("foo");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 20:50:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top