Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for system (0.25 sec)

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

        }
        String oldPathSeparator = PATH_SEPARATOR.value();
        String oldClassPath = JAVA_CLASS_PATH.value();
        System.setProperty(PATH_SEPARATOR.key(), ":");
        System.setProperty(
            JAVA_CLASS_PATH.key(),
            Joiner.on(":")
                .join(
                    "relative/path/to/some.jar",
                    "/absolute/path/to/some.jar",
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

                return true;
              } else if (nanos <= 0) {
                return false;
              } else {
                long now = System.nanoTime();
                TimeUnit.NANOSECONDS.timedWait(lock, nanos);
                nanos -= System.nanoTime() - now; // subtract the actual time we waited
              }
            }
          }
        }
    
        /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ListsTest.java

                      @Override
                      protected List<String> create(String[] elements) {
                        String[] rest = new String[elements.length - 1];
                        System.arraycopy(elements, 1, rest, 0, elements.length - 1);
                        return Lists.asList(elements[0], rest);
                      }
                    })
                .named("Lists.asList, 2 parameter")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

        Comparable<?>[] contents = new Comparable<?>[6 + remaining.length];
        contents[0] = e1;
        contents[1] = e2;
        contents[2] = e3;
        contents[3] = e4;
        contents[4] = e5;
        contents[5] = e6;
        System.arraycopy(remaining, 0, contents, 6, remaining.length);
        return construct(Ordering.natural(), contents.length, (E[]) contents);
      }
    
      // TODO(kevinb): Consider factory methods that reject duplicates
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ListsTest.java

                      @Override
                      protected List<String> create(String[] elements) {
                        String[] rest = new String[elements.length - 1];
                        System.arraycopy(elements, 1, rest, 0, elements.length - 1);
                        return Lists.asList(elements[0], rest);
                      }
                    })
                .named("Lists.asList, 2 parameter")
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Ordering.java

         * can do magic to mock static method calls still can't do so for a system
         * class, so we need the indirection. In production, Hotspot should still
         * recognize that the call is 1-morphic and should still be willing to
         * inline it if necessary.
         */
        int identityHashCode(Object object) {
          return System.identityHashCode(object);
        }
      }
    
      // Constructor
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableMap.java

          return this;
        }
    
        @CanIgnoreReturnValue
        Builder<K, V> combine(Builder<K, V> other) {
          checkNotNull(other);
          ensureCapacity(this.size + other.size);
          System.arraycopy(
              other.alternatingKeysAndValues,
              0,
              this.alternatingKeysAndValues,
              this.size * 2,
              other.size * 2);
          this.size += other.size;
          return this;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSet.java

        Object[] elements = new Object[paramCount + others.length];
        elements[0] = e1;
        elements[1] = e2;
        elements[2] = e3;
        elements[3] = e4;
        elements[4] = e5;
        elements[5] = e6;
        System.arraycopy(others, 0, elements, paramCount, others.length);
        return construct(elements.length, elements);
      }
    
      /**
       * Constructs an {@code ImmutableSet} from the first {@code n} elements of the specified array. If
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableList.java

        array[3] = e4;
        array[4] = e5;
        array[5] = e6;
        array[6] = e7;
        array[7] = e8;
        array[8] = e9;
        array[9] = e10;
        array[10] = e11;
        array[11] = e12;
        System.arraycopy(others, 0, array, 12, others.length);
        return construct(array);
      }
    
      /**
       * Returns an immutable list containing the given elements, in order. If {@code elements} is a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Equivalence.java

       */
      public static Equivalence<Object> equals() {
        return Equals.INSTANCE;
      }
    
      /**
       * Returns an equivalence that uses {@code ==} to compare values and {@link
       * System#identityHashCode(Object)} to compute the hash code. {@link Equivalence#equivalent}
       * returns {@code true} if {@code a == b}, including in the case that a and b are both null.
       *
       * @since 13.0
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
Back to top