Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for overwritten (0.16 sec)

  1. android/guava/src/com/google/common/io/Files.java

       * need to guard against those conditions, you should employ other file-level synchronization.
       *
       * <p><b>Warning:</b> If {@code to} represents an existing file, that file will be overwritten
       * with the contents of {@code from}. If {@code to} and {@code from} refer to the <i>same</i>
       * file, the contents of that file will be deleted.
       *
       * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/ValueGraphTest.java

      }
    
      @Test
      public void undirectedGraph() {
        graph = ValueGraphBuilder.undirected().allowsSelfLoops(true).build();
        graph.putEdgeValue(1, 2, "valueA");
        graph.putEdgeValue(2, 1, "valueB"); // overwrites valueA in undirected case
        graph.putEdgeValue(2, 3, "valueC");
        graph.putEdgeValue(4, 4, "valueD");
    
        assertThat(graph.edgeValueOrDefault(1, 2, null)).isEqualTo("valueB");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 20K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/GraphsTest.java

            ValueGraphBuilder.undirected().allowsSelfLoops(true).build();
        undirectedGraph.putEdgeValue(N1, N1, E11);
        undirectedGraph.putEdgeValue(N1, N2, E12);
        undirectedGraph.putEdgeValue(N2, N1, E21); // overwrites E12
    
        return undirectedGraph;
      }
    
      private static MutableNetwork<Integer, String> buildDirectedNetwork() {
        MutableNetwork<Integer, String> directedGraph =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 24.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TreeRangeMap.java

              putRangeMapEntry(
                  rangeToRemove.upperBound,
                  rangeMapEntry.getUpperBound(),
                  mapEntryBelowToTruncate.getValue().getValue());
            }
            // overwrite mapEntryToTruncateBelow with a truncated range
            putRangeMapEntry(
                rangeMapEntry.getLowerBound(),
                rangeToRemove.lowerBound,
                mapEntryBelowToTruncate.getValue().getValue());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

            ImmutableList<AbstractFuture<T>> delegates, int inputFutureIndex) {
          /*
           * requireNonNull is safe because we accepted an Iterable of non-null Future instances, and we
           * don't overwrite an element in the array until after reading it.
           */
          ListenableFuture<? extends T> inputFuture = requireNonNull(inputFutures[inputFutureIndex]);
          // Null out our reference to this future, so it can be GCed
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  6. guava-gwt/pom.xml

                      </fileset>
                    </copy>
                    <!-- Any manually written supersource should take priority over the original guava source, so we set overwrite=true. -->
                    <copy toDir="${project.build.directory}/guava-gwt-sources" overwrite="true">
                      <fileset dir="src-super" />
                    </copy>
                    <copy toDir="${project.build.directory}/guava-test-gwt-sources">
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 15:00:55 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

      }
    
      @Test
      public void undirectedGraph() {
        graph = ValueGraphBuilder.undirected().allowsSelfLoops(true).build();
        graph.putEdgeValue(1, 2, "valueA");
        graph.putEdgeValue(2, 1, "valueB"); // overwrites valueA in undirected case
        graph.putEdgeValue(2, 3, "valueC");
        graph.putEdgeValue(4, 4, "valueD");
    
        assertThat(graph.edgeValueOrDefault(1, 2, null)).isEqualTo("valueB");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 17.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/GraphsTest.java

            ValueGraphBuilder.undirected().allowsSelfLoops(true).build();
        undirectedGraph.putEdgeValue(N1, N1, E11);
        undirectedGraph.putEdgeValue(N1, N2, E12);
        undirectedGraph.putEdgeValue(N2, N1, E21); // overwrites E12
    
        return undirectedGraph;
      }
    
      private static MutableNetwork<Integer, String> buildDirectedNetwork() {
        MutableNetwork<Integer, String> directedGraph =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 24.9K bytes
    - Viewed (0)
Back to top