Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 785 for While (0.09 sec)

  1. android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

        // To start, fill up the cache.
        // Each miss both increments the counter and causes the map to grow by one,
        // so until evictions begin, the size of the map is the greatest return
        // value seen so far
        while (cache.getUnchecked(nextRandomKey()) < maximumSize) {}
    
        requests.set(0);
        misses.set(0);
      }
    
      @Benchmark
      int time(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

      @BeforeExperiment
      void setUp() {
        checkArgument(size > 0, "empty collection not supported");
        Set<Integer> set = new LinkedHashSet<>(size);
    
        Random random = new Random();
        while (set.size() < size) {
          set.add(random.nextInt());
        }
        List<Integer> list = new ArrayList<>(set);
        inputOrder.arrange(list);
        input = ImmutableList.copyOf(list);
      }
    
      @Benchmark
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcHandle.java

                        }
                        key = null;
                    }
                    break;
                default:
                    si = arr.length;
                }
    
                si++;
            } while (si < arr.length);
    
            if (binding == null || binding.getEndpoint() == null) {
                throw new DcerpcException("Invalid binding URL: " + str);
            }
    
            return binding;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/base/FessLoginAction.java

        }
    
        /**
         * Redirects an authenticated user to the appropriate admin interface based on their roles.
         * Users with admin roles are redirected to the dashboard, while other users are redirected
         * to their designated admin action class or to the root if no specific action is available.
         *
         * @param user the authenticated user bean containing role information
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/ResponseDataUtil.java

         *
         * @param responseData the response data containing the response body
         * @return a temporary file containing the response body
         * @throws CrawlingAccessException if an error occurs while reading the response body
         */
        public static File createResponseBodyFile(final ResponseData responseData) {
            File tempFile = null;
            try (final InputStream is = responseData.getResponseBody()) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/PairwiseEquivalence.java

      }
    
      @Override
      protected boolean doEquivalent(Iterable<T> iterableA, Iterable<T> iterableB) {
        Iterator<T> iteratorA = iterableA.iterator();
        Iterator<T> iteratorB = iterableB.iterator();
    
        while (iteratorA.hasNext() && iteratorB.hasNext()) {
          if (!elementEquivalence.equivalent(iteratorA.next(), iteratorB.next())) {
            return false;
          }
        }
    
        return !iteratorA.hasNext() && !iteratorB.hasNext();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/MultiEdgesConnecting.java

        Iterator<? extends Entry<E, ?>> entries = outEdgeToNode.entrySet().iterator();
        return new AbstractIterator<E>() {
          @Override
          protected @Nullable E computeNext() {
            while (entries.hasNext()) {
              Entry<E, ?> entry = entries.next();
              if (targetNode.equals(entry.getValue())) {
                return entry.getKey();
              }
            }
            return endOfData();
          }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

            };
        Runnable collectResultsTimedGetRunnable =
            new Runnable() {
              @Override
              public void run() {
                Future<String> future = currentFuture.get();
                while (true) {
                  try {
                    String result = Uninterruptibles.getUninterruptibly(future, 0, SECONDS);
                    finalResults.add(result);
                    break;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/net/InetAddresses.java

       * 4. The main difference is that this method uses "::" for zero compression, while Java's version
       * uses the uncompressed form (except on Android, where the zero compression is also done). The
       * other difference is that this method outputs any scope ID in the format that it was provided at
       * creation time, while Android may always output it as an interface name, even if it was supplied
       * as a numeric ID.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponse.java

            int elemStart = start;
    
            FileNotifyInformationImpl i = new FileNotifyInformationImpl();
            bufferIndex += i.decode(buffer, bufferIndex, len);
            this.notifyInformation.add(i);
    
            while (i.getNextEntryOffset() > 0) {
                bufferIndex = elemStart + i.getNextEntryOffset();
                elemStart = bufferIndex;
    
                i = new FileNotifyInformationImpl();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top