Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for systems (0.34 sec)

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

       *       implementation will effectively put the whole file in memory. On many systems with paging
       *       and virtual memory, this is not a problem - because it is mapped read-only, the kernel
       *       can always page it to disk "for free". However, on systems where killing processes
       *       happens all the time in normal conditions (i.e., android) the OS must make a tradeoff
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 17 18:59:58 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/Files.java

        checkNotNull(file1);
        checkNotNull(file2);
        if (file1 == file2 || file1.equals(file2)) {
          return true;
        }
    
        /*
         * Some operating systems may return zero as the length for files denoting system-dependent
         * entities such as devices or pipes, in which case we must fall back on comparing the bytes
         * directly.
         */
        long len1 = file1.length();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      static final boolean GENERATE_CANCELLATION_CAUSES;
    
      static {
        // System.getProperty may throw if the security policy does not permit access.
        boolean generateCancellationCauses;
        try {
          generateCancellationCauses =
              Boolean.parseBoolean(
                  System.getProperty("guava.concurrent.generate_cancellation_cause", "false"));
        } catch (SecurityException e) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

        if (future.isDone()) {
          return;
        }
        long timeoutSeconds = timeoutSeconds();
        long deadline = System.nanoTime() + SECONDS.toNanos(timeoutSeconds);
        do {
          System.runFinalization();
          if (future.isDone()) {
            return;
          }
          System.gc();
          try {
            future.get(1L, SECONDS);
            return;
          } catch (CancellationException | ExecutionException ok) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

            // If logging fails, e.g. due to missing memory, at least try to log the
            // message and the cause for the failed logging.
            System.err.println(e.getMessage());
            System.err.println(errorInLogging.getMessage());
          } finally {
            runtime.exit(1);
          }
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        else super.runTest();
      }
    
      protected void runTestProfiled() throws Throwable {
        long t0 = System.nanoTime();
        try {
          super.runTest();
        } finally {
          long elapsedMillis = (System.nanoTime() - t0) / (1000L * 1000L);
          if (elapsedMillis >= profileThreshold)
            System.out.printf("%n%s: %d%n", toString(), elapsedMillis);
        }
      }
    
      //     /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  7. 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",
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 26 14:02:27 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top