Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 192 for systems (3.84 sec)

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

      int internalArrayStart() {
        return 0;
      }
    
      @Override
      int internalArrayEnd() {
        return size;
      }
    
      @Override
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        System.arraycopy(elements, 0, dst, offset, size);
        return offset + size;
      }
    
      @Override
      ImmutableList<E> createAsList() {
        return ImmutableList.asImmutableList(elements, size);
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/Reflection.java

       * 12.4.2</a>.
       *
       * <p>WARNING: Normally it's a smell if a class needs to be explicitly initialized, because static
       * state hurts system maintainability and testability. In cases when you have no choice while
       * interoperating with a legacy framework, this method helps to keep the code less ugly.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

        return Arrays.asList(contents).iterator();
      }
    
      @Override
      public @Nullable Object[] toArray() {
        @Nullable Object[] result = new @Nullable Object[contents.length];
        System.arraycopy(contents, 0, result, 0, contents.length);
        return result;
      }
    
      /*
       * a "type A" unmodifiable collection freaks out proactively, even if there
       * wasn't going to be any actual work to do anyway
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

          if (initialBytes == null) {
            return checkNotNull(bytes);
          } else {
            byte[] result = new byte[initialBytes.length + bytes.length];
            System.arraycopy(initialBytes, 0, result, 0, initialBytes.length);
            System.arraycopy(bytes, 0, result, initialBytes.length, bytes.length);
            return result;
          }
        }
    
        @Override
        public byte[] getSinkContents() throws IOException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 06 12:56:11 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/MapMakerInternalMap.java

         * implementation type.
         *
         * <p>This method is provided as a convenience for tests. Otherwise they'd need to be
         * knowledgeable about all the implementation details of our type system trickery.
         */
        abstract E castForTesting(InternalEntry<K, V, ?> entry);
    
        /** Unsafely extracts the key reference queue used by this segment. */
        ReferenceQueue<K> getKeyReferenceQueueForTesting() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

      }
    
      @Benchmark
      public int collapseFrom(int reps) {
        int result = 0;
        CharMatcher matcher = this.matcher;
        String teststring = this.teststring;
        for (int i = 0; i < reps; i++) {
          result += System.identityHashCode(matcher.collapseFrom(teststring, ' '));
        }
        return result;
      }
    
      private static String allMatchingChars(BitSet bitSet) {
        final char[] result = new char[bitSet.cardinality()];
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 16 22:49:59 UTC 2018
    - 3.9K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

      }
    
      @Benchmark
      public int collapseFrom(int reps) {
        int result = 0;
        CharMatcher matcher = this.matcher;
        String teststring = this.teststring;
        for (int i = 0; i < reps; i++) {
          result += System.identityHashCode(matcher.collapseFrom(teststring, ' '));
        }
        return result;
      }
    
      private static String allMatchingChars(BitSet bitSet) {
        final char[] result = new char[bitSet.cardinality()];
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 16 22:49:59 UTC 2018
    - 3.9K bytes
    - Viewed (0)
  8. 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
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       *       threads, RPC network threads, or other latency-sensitive threads. In those cases, slow
       *       listeners can harm responsiveness, slow the system as a whole, or worse. (See also the
       *       note about locking below.)
       *   <li>If many tasks will be triggered by the same event, one heavyweight task may delay other
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 15 10:40:05 UTC 2024
    - 39K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

           *
           * In the future, the use of Unsafe.getLong() should be replaced by ByteBuffer.getLong(),
           * which will have an efficient native implementation in JDK 9.
           *
           */
          String arch = System.getProperty("os.arch");
          if ("amd64".equals(arch)) {
            theGetter =
                ByteOrder.nativeOrder().equals(ByteOrder.LITTLE_ENDIAN)
                    ? UnsafeByteArray.UNSAFE_LITTLE_ENDIAN
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top