Search Options

Results per page
Sort
Preferred Languages
Advance

Results 731 - 740 of 746 for IsEmpty (0.06 sec)

  1. guava/src/com/google/common/collect/ImmutableSet.java

          if (!set.isPartialView()) {
            return set;
          }
        } else if (elements instanceof EnumSet) {
          return copyOfEnumSet((EnumSet<?>) elements);
        }
    
        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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/Hashing.java

        List<HashFunction> list = new ArrayList<>();
        for (HashFunction hashFunction : hashFunctions) {
          list.add(hashFunction);
        }
        checkArgument(!list.isEmpty(), "number of hash functions (%s) must be > 0", list.size());
        return new ConcatenatedHashFunction(list.toArray(new HashFunction[0]));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:06:57 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  3. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  4. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	legalHold := objectlock.GetObjectLegalHoldMeta(objInfo.UserDefined)
    	if legalHold.IsEmpty() {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrNoSuchObjectLockConfiguration), r.URL)
    		return
    	}
    
    	writeSuccessResponseXML(w, encodeResponse(legalHold))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

        Comparator<? super E> comparator = SortedIterables.comparator(sortedSet);
        ImmutableList<E> list = ImmutableList.copyOf(sortedSet);
        if (list.isEmpty()) {
          return emptySet(comparator);
        } else {
          return new RegularImmutableSortedSet<>(list, comparator);
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                    .setConnectionManager(clientConnectionManager)
                    .setDefaultRequestConfig(requestConfigBuilder.build())
                    .build();
            if (!httpClientPropertyMap.isEmpty()) {
                final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(closeableHttpClient.getClass());
                for (final Map.Entry<String, Object> entry : httpClientPropertyMap.entrySet()) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 52.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

            .isTrue();
        assertWithMessage("closingExecutor was shut down")
            .that(shutdownAndAwaitTermination(closingExecutor, 10, SECONDS))
            .isTrue();
        if (!failures.isEmpty()) {
          StringWriter message = new StringWriter();
          PrintWriter writer = new PrintWriter(message);
          writer.println("Expected no failures, but found:");
          for (AssertionError failure : failures) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 75.4K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

          callback,
        )
        client.newCall(Request.Builder().url(server.url("/")).build()).enqueue(
          callback,
        )
        latch.await()
        assertThat(bodies.remove()).isEqualTo("DEF")
        if (errors.isEmpty()) {
          assertThat(bodies.remove()).isEqualTo("ABC")
          assertThat(server.requestCount).isEqualTo(2)
        } else {
          // https://github.com/square/okhttp/issues/4836
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        }
        journalFile = cacheDir / DiskLruCache.JOURNAL_FILE
        journalBkpFile = cacheDir / DiskLruCache.JOURNAL_FILE_BACKUP
        createNewCache()
      }
    
      @AfterEach fun tearDown() {
        while (!toClose.isEmpty()) {
          toClose.pop().close()
        }
        taskFaker.close()
    
        (filesystem.delegate as? FakeFileSystem)?.checkNoOpenFiles()
      }
    
      @ParameterizedTest
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 75.7K bytes
    - Viewed (0)
Back to top