Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 620 for Effect (0.04 sec)

  1. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

          return;
        }
        out.write(data);
        assertTrue(Arrays.equals(data, source.read()));
    
        out.close();
        assertThrows(IOException.class, () -> out.write(42));
    
        // Verify that write had no effect
        assertTrue(Arrays.equals(data, source.read()));
        out.reset();
      }
    
      public void testReset() throws Exception {
        byte[] data = newPreFilledByteArray(100);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

      }
    
      /**
       * {@link Collection#toArray(Object[])} says: "Note that {@code toArray(new Object[0])} is
       * identical in function to {@code toArray()}."
       *
       * <p>For maximum effect, the collection under test should be created from an element array of a
       * type other than {@code Object[]}.
       */
      public void testToArray_isPlainObjectArray() {
        Object[] array = collection.toArray();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

              return oldValue;
            }
            // value changed
          }
        }
      }
    
      /**
       * Copies all of the mappings from the specified map to this map. The effect of this call is
       * equivalent to that of calling {@code put(k, v)} on this map once for each mapping from key
       * {@code k} to value {@code v} in the specified map. The behavior of this operation is undefined
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

            .inOrder();
      }
    
      /**
       * Populates the graph with nodes and edges in a star shape with node `1` in the middle.
       *
       * <p>Note that the edges are added in a shuffled order to properly test the effect of the
       * insertion order.
       */
      private void populateTShapedGraph() {
        putEdge(2, 1);
        putEdge(1, 4);
        putEdge(1, 3);
        putEdge(1, 2); // Duplicate
        putEdge(4, 5);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/LongAdder.java

       * method is intrinsically racy, it should only be used when it is known that no threads are
       * concurrently updating.
       */
      public void reset() {
        internalReset(0L);
      }
    
      /**
       * Equivalent in effect to {@link #sum} followed by {@link #reset}. This method may apply for
       * example during quiescent points between multithreaded computations. If there are updates
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/LongAdder.java

       * method is intrinsically racy, it should only be used when it is known that no threads are
       * concurrently updating.
       */
      public void reset() {
        internalReset(0L);
      }
    
      /**
       * Equivalent in effect to {@link #sum} followed by {@link #reset}. This method may apply for
       * example during quiescent points between multithreaded computations. If there are updates
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/EnumBiMap.java

       * trouble than just using Object.class.)
       *
       * Then we declare the getters for these fields as @GwtIncompatible so that no one can try to use
       * them under J2CL—or, as an unfortunate side effect, under GWT. We do still give the fields
       * themselves their proper values under GWT, since GWT's EnumMap does need the Class instance.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/EnumBiMap.java

       * trouble than just using Object.class.)
       *
       * Then we declare the getters for these fields as @GwtIncompatible so that no one can try to use
       * them under J2CL—or, as an unfortunate side effect, under GWT. We do still give the fields
       * themselves their proper values under GWT, since GWT's EnumMap does need the Class instance.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  9. javadoc-stylesheet.css

    }
    /*
    Content styles
    */
    .description pre {
        margin-top:0;
    }
    .deprecatedContent {
        margin:0;
        padding:10px 0;
    }
    .docSummary {
        padding:0;
    }
    /*
    Formatting effect styles
    */
    .sourceLineNo {
        color:green;
        padding:0 30px 0 0;
    }
    h1.hidden {
        visibility:hidden;
        overflow:hidden;
        font-size:.9em;
    }
    .block {
        display:block;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 17 21:01:06 UTC 2013
    - 11.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

           * need to clear our reference to the TimeoutFuture is the reason we use a *static* nested
           * class with a manual reference back to the "containing" class.)
           *
           * This has the nice-ish side effect of limiting reentrancy: run() calls
           * timeoutFuture.setException() calls run(). That reentrancy would already be harmless, since
           * timeoutFuture can be set (and delegate cancelled) only once. (And "set only once" is
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top