Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 550 for move (0.16 sec)

  1. android/guava/src/com/google/common/collect/Platform.java

      /** Equivalent to Arrays.copyOfRange(source, from, to, arrayOfType.getClass()). */
      /*
       * Arrays are a mess from a nullness perspective, and Class instances for object-array types are
       * even worse. For now, we just suppress and move on with our lives.
       *
       * - https://github.com/jspecify/jspecify/issues/65
       *
       * - https://github.com/jspecify/jdk/commit/71d826792b8c7ef95d492c50a274deab938f2552
       */
      /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

        return remove(keys[entryIndex], getHash(entries[entryIndex]));
      }
    
      /**
       * Moves the last entry in the entry array into {@code dstIndex}, and nulls out its old position.
       */
      void moveLastEntry(int dstIndex) {
        int srcIndex = size() - 1;
        if (dstIndex < srcIndex) {
          // move last entry to deleted spot
          keys[dstIndex] = keys[srcIndex];
          values[dstIndex] = values[srcIndex];
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 01 22:07:10 GMT 2021
    - 15K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/Files.java

       */
      public static MappedByteBuffer map(File file, MapMode mode, long size) throws IOException {
        checkArgument(size >= 0, "size (%s) may not be negative", size);
        return mapInternal(file, mode, size);
      }
    
      private static MappedByteBuffer mapInternal(File file, MapMode mode, long size)
          throws IOException {
        checkNotNull(file);
        checkNotNull(mode);
    
        Closer closer = Closer.create();
        try {
    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)
  4. android/guava/pom.xml

                </tag>
                <tag>
                  <name>spec</name>
                  <placement>X</placement>
                </tag>
              </tags>
    
              <!-- TODO(cpovirk): Move this to the parent after making the package-list files available there. -->
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 11 16:37:45 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TreeBasedTable.java

        super(new TreeMap<R, Map<C, V>>(rowComparator), new Factory<C, V>(columnComparator));
        this.columnComparator = columnComparator;
      }
    
      // TODO(jlevy): Move to StandardRowSortedTable?
    
      /**
       * Returns the comparator that orders the rows. With natural ordering, {@link Ordering#natural()}
       * is returned.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       * {@code expectContents()} invokes this version</strong>.
       *
       * @param expected expected value of {@link #container}
       */
      /*
       * TODO: improve this and other implementations and move out of this framework
       * for wider use
       *
       * TODO: could we incorporate the overriding logic from AbstractListTester, by
       * examining whether the features include KNOWN_ORDER?
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CompactHashMap.java

        int srcIndex = size() - 1;
        if (dstIndex < srcIndex) {
          // move last entry to deleted spot
          Object key = keys[srcIndex];
          keys[dstIndex] = key;
          values[dstIndex] = values[srcIndex];
          keys[srcIndex] = null;
          values[srcIndex] = null;
    
          // move the last entry to the removed spot, just like we moved the element
          entries[dstIndex] = entries[srcIndex];
          entries[srcIndex] = 0;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 35.8K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

        T[] result = newArray(arrayOfType, to - from);
        System.arraycopy(source, from, result, 0, to - from);
        return result;
      }
    
      // TODO(user): Move this logic to a utility class.
      @JsType(isNative = true, name = "Array", namespace = JsPackage.GLOBAL)
      private interface NativeArray {
        @JsProperty
        void setLength(int length);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 29 18:16:45 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

         *           sed -e 's#^//*#/#' )
         *       B=$( cd /b/c && cd ${X[1]} && pwd )
         *       cmp -s <(echo $A) <(echo $B) || echo "$X[0] -> $A vs. $B"
         *     done | tee testoutput
         * - Move that testcases file to the appropriate name under testdata.
         *
         * The last test will take hours, and if it passes, the output will be empty.
         */
        doExtensiveTest("testdata/simplifypathnoprefixtests.txt");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jul 19 14:00:24 GMT 2016
    - 11K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

         *           sed -e 's#^//*#/#' )
         *       B=$( cd /b/c && cd ${X[1]} && pwd )
         *       cmp -s <(echo $A) <(echo $B) || echo "$X[0] -> $A vs. $B"
         *     done | tee testoutput
         * - Move that testcases file to the appropriate name under testdata.
         *
         * The last test will take hours, and if it passes, the output will be empty.
         */
        doExtensiveTest("testdata/simplifypathnoprefixtests.txt");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 11K bytes
    - Viewed (0)
Back to top