Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 244 for systems (0.4 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractFutureInnocuousThreadTest.java

        SettableFuture<?> unused = SettableFuture.create();
        // Hack to load AbstractFuture et. al. in a new classloader so that it tries to re-read the
        // cancellation-cause system property. This allows us to test what happens if reading the
        // property is forbidden and then continue running tests normally in one jvm without resorting
        // to even crazier hacks to reset static final boolean fields.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 5.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/UnicodeEscaper.java

            if (charsSkipped > 0) {
              s.getChars(unescapedChunkStart, index, dest, destIndex);
              destIndex += charsSkipped;
            }
            if (escaped.length > 0) {
              System.arraycopy(escaped, 0, dest, destIndex, escaped.length);
              destIndex += escaped.length;
            }
            // If we dealt with an escaped character, reset the unescaped range.
            unescapedChunkStart = nextIndex;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 13.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/escape/UnicodeEscaper.java

            if (charsSkipped > 0) {
              s.getChars(unescapedChunkStart, index, dest, destIndex);
              destIndex += charsSkipped;
            }
            if (escaped.length > 0) {
              System.arraycopy(escaped, 0, dest, destIndex, escaped.length);
              destIndex += escaped.length;
            }
            // If we dealt with an escaped character, reset the unescaped range.
            unescapedChunkStart = nextIndex;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 13.2K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

          res +=
              System.identityHashCode(
                  hashFunctionEnum
                      .getHashFunction()
                      .hashString(strings[i & SAMPLE_MASK], StandardCharsets.UTF_8));
        }
        return res;
      }
    
      @Benchmark
      int hashUtf8Hasher(int reps) {
        int res = 0;
        for (int i = 0; i < reps; i++) {
          res +=
              System.identityHashCode(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 5.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

      }
    
      /**
       * Tries to load Finalizer from the system class loader. If Finalizer is in the system class path,
       * we needn't create a separate loader.
       */
      static class SystemLoader implements FinalizerLoader {
        // This is used by the ClassLoader-leak test in FinalizableReferenceQueueTest to disable
        // finding Finalizer on the system class path even if it is there.
        @VisibleForTesting static boolean disabled;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/Invokable.java

          TypeVariable<?>[] result =
              new TypeVariable<?>[declaredByClass.length + declaredByConstructor.length];
          System.arraycopy(declaredByClass, 0, result, 0, declaredByClass.length);
          System.arraycopy(
              declaredByConstructor, 0, result, declaredByClass.length, declaredByConstructor.length);
          return result;
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          this.unit = unit;
        }
    
        @Override
        public void run() {
          startTime = System.nanoTime();
          try {
            future.get(timeout, unit);
          } catch (Exception e) {
            // nothing
            exception = e;
          } finally {
            timeSpentBlocked = System.nanoTime() - startTime;
          }
        }
    
        void awaitWaiting() {
          while (!isBlocked()) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ArrayTable.java

        @SuppressWarnings("unchecked")
        @Nullable
        V[][] copy = (@Nullable V[][]) new Object[rowList.size()][columnList.size()];
        array = copy;
        for (int i = 0; i < rowList.size(); i++) {
          System.arraycopy(table.array[i], 0, copy[i], 0, table.array[i].length);
        }
      }
    
      private abstract static class ArrayMap<K, V extends @Nullable Object>
          extends IteratorBasedAbstractMap<K, V> {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/ByteArrayAsListTest.java

        }
      }
    
      private static Byte[] concat(Byte[] left, Byte[] right) {
        Byte[] result = new Byte[left.length + right.length];
        System.arraycopy(left, 0, result, 0, left.length);
        System.arraycopy(right, 0, result, left.length, right.length);
        return result;
      }
    
      public abstract static class TestByteListGenerator implements TestListGenerator<Byte> {
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java

        }
      }
    
      private static Character[] concat(Character[] left, Character[] right) {
        Character[] result = new Character[left.length + right.length];
        System.arraycopy(left, 0, result, 0, left.length);
        System.arraycopy(right, 0, result, left.length, right.length);
        return result;
      }
    
      public abstract static class TestCharListGenerator implements TestListGenerator<Character> {
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.7K bytes
    - Viewed (0)
Back to top