Search Options

Results per page
Sort
Preferred Languages
Advance

Results 921 - 930 of 945 for useEmpty (0.22 sec)

  1. api/maven-api-settings/src/main/mdo/settings.mdo

         */
        public synchronized Proxy getActiveProxy() {
            if (activeProxy == null) {
                java.util.List<Proxy> proxies = getProxies();
                if (proxies != null && !proxies.isEmpty()) {
                    for (Proxy proxy : proxies) {
                        if (proxy.isActive()) {
                            activeProxy = proxy;
                            break;
                        }
                    }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun May 18 09:15:56 UTC 2025
    - 33.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Doubles.java

          this.array = array;
          this.start = start;
          this.end = end;
        }
    
        @Override
        public int size() {
          return end - start;
        }
    
        @Override
        public boolean isEmpty() {
          return false;
        }
    
        @Override
        public Double get(int index) {
          checkElementIndex(index, size());
          return array[start + index];
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSet.java

           */
          @SuppressWarnings("unchecked")
          ImmutableSet<E> result = (ImmutableSet<E>) untypedResult;
          return result;
        }
    
        if (elements.isEmpty()) {
          // We avoid allocating anything.
          return of();
        }
        // Collection<E>.toArray() is required to contain only E instances, and all we do is read them.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Nov 07 16:09:47 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        LogRecord logRecord = logRecords.get(0);
        logHandler.clear();
        return logRecord.getThrown();
      }
    
      private void checkNothingLogged() {
        assertThat(logHandler.getStoredLogRecords()).isEmpty();
      }
    
      private void checkLoggedCause(Throwable t) {
        assertThat(popLoggedThrowable()).hasCauseThat().isSameInstanceAs(t);
      }
    
      private void checkLoggedInvalidLoad() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 91.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/ByteStreams.java

        } else {
          throw new OutOfMemoryError("input is too large to fit in a byte array");
        }
      }
    
      private static byte[] combineBuffers(Queue<byte[]> bufs, int totalLen) {
        if (bufs.isEmpty()) {
          return new byte[0];
        }
        byte[] result = bufs.remove();
        if (result.length == totalLen) {
          return result;
        }
        int remaining = totalLen - result.length;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/Files.java

          result = "/" + result;
        }
    
        while (result.startsWith("/../")) {
          result = result.substring(3);
        }
        if (result.equals("/..")) {
          result = "/";
        } else if (result.isEmpty()) {
          result = ".";
        }
    
        return result;
      }
    
      /**
       * Returns the <a href="http://en.wikipedia.org/wiki/Filename_extension">file extension</a> for
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 20:24:13 UTC 2025
    - 32.8K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            }
            // settings
            userDefinedLocalRepo = context.effectiveSettings.getLocalRepository();
            if (userDefinedLocalRepo != null && !userDefinedLocalRepo.isEmpty()) {
                return context.userDirectory.resolve(userDefinedLocalRepo).normalize();
            }
            // defaults
            return context.userDirectory
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 28 13:01:07 UTC 2025
    - 43.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        LogRecord logRecord = logRecords.get(0);
        logHandler.clear();
        return logRecord.getThrown();
      }
    
      private void checkNothingLogged() {
        assertThat(logHandler.getStoredLogRecords()).isEmpty();
      }
    
      private void checkLoggedCause(Throwable t) {
        assertThat(popLoggedThrowable()).hasCauseThat().isSameInstanceAs(t);
      }
    
      private void checkLoggedInvalidLoad() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 91.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      private static <T extends @Nullable Object> List<T> shuffledCopy(List<T> in, Random random) {
        List<T> mutable = new ArrayList<>(in);
        List<T> out = new ArrayList<>();
        while (!mutable.isEmpty()) {
          out.add(mutable.remove(random.nextInt(mutable.size())));
        }
        return out;
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      private static <T extends @Nullable Object> List<T> shuffledCopy(List<T> in, Random random) {
        List<T> mutable = new ArrayList<>(in);
        List<T> out = new ArrayList<>();
        while (!mutable.isEmpty()) {
          out.add(mutable.remove(random.nextInt(mutable.size())));
        }
        return out;
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 42.8K bytes
    - Viewed (0)
Back to top