Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 881 - 890 of 1,161 for IsEmpty (0.26 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

       */
      @CanIgnoreReturnValue
      public static Set<Feature<?>> addImpliedFeatures(Set<Feature<?>> features) {
        Queue<Feature<?>> queue = new ArrayDeque<>(features);
        while (!queue.isEmpty()) {
          Feature<?> feature = queue.remove();
          for (Feature<?> implied : feature.getImpliedFeatures()) {
            if (features.add(implied)) {
              queue.add(implied);
            }
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 12.4K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java

                interpolationTargets.add(target);
                this.interpolator = interpolator;
                this.problems = problems;
            }
    
            public Object run() {
                while (!interpolationTargets.isEmpty()) {
                    Object obj = interpolationTargets.removeFirst();
    
                    traverseObjectWithParents(obj.getClass(), obj);
                }
                return null;
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java

        addImpliedFeatures(sizesToTest);
        sizesToTest.retainAll(asList(CollectionSize.ZERO, CollectionSize.ONE, CollectionSize.SEVERAL));
    
        logger.fine("   Sizes: " + formatFeatureSet(sizesToTest));
    
        if (sizesToTest.isEmpty()) {
          throw new IllegalStateException(
              name
                  + ": no CollectionSizes specified (check the argument to "
                  + "FeatureSpecificTestSuiteBuilder.withFeatures().)");
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SmbFileFilterTest.java

            // Arrange: filter that accepts non-empty names ending with .txt
            SmbFileFilter filter = f -> {
                String n = f.getName();
                return n != null && !n.isEmpty() && n.endsWith(".txt");
            };
            when(smbFile.getName()).thenReturn(name);
    
            // Act
            boolean result = filter.accept(smbFile);
    
            // Assert
            assertEquals(expected, result);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java

                        if (analyzedFields != null && !analyzedFields.isEmpty()) {
                            String[] fields = analyzedFields.split(",");
                            for (String field : fields) {
                                String trimmedField = field.trim();
                                if (!trimmedField.isEmpty()) {
                                    notAnalyzedFieldSet.remove(trimmedField);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

        synchronized(this) {
          code = receivedCloseCode
          reason = receivedCloseReason
    
          readerToClose = reader
          reader = null
    
          if (enqueuedClose && messageAndCloseQueue.isEmpty()) {
            // Close the writer on the writer's thread.
            val writerToClose = this.writer
            if (writerToClose != null) {
              this.writer = null
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          val requestLineString = socket.source.readUtf8LineStrict()
          if (requestLineString.isEmpty()) {
            throw ProtocolException("no request because the stream is exhausted")
          }
          request = decodeRequestLine(requestLineString)
    
          while (true) {
            val header = socket.source.readUtf8LineStrict()
            if (header.isEmpty()) {
              break
            }
            addHeaderLenient(headers, header)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 40.3K bytes
    - Click Count (0)
  8. guava/src/com/google/common/base/CaseFormat.java

      abstract String normalizeWord(String word);
    
      String normalizeFirstWord(String word) {
        return normalizeWord(word);
      }
    
      private static String firstCharOnlyToUpper(String word) {
        return word.isEmpty()
            ? word
            : Ascii.toUpperCase(word.charAt(0)) + Ascii.toLowerCase(word.substring(1));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Dec 03 18:46:33 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/job/JsonIndexExportFormatter.java

            } else {
                json.append("\"").append(escapeJson(String.valueOf(value))).append("\"");
            }
        }
    
        private String escapeJson(final String text) {
            if (text == null || text.isEmpty()) {
                return "";
            }
            final StringBuilder sb = new StringBuilder(text.length());
            for (int i = 0; i < text.length(); i++) {
                final char c = text.charAt(i);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Feb 07 10:31:36 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

        SpliteratorTester.of(
                () ->
                    CollectSpliterators.flatMap(
                        Arrays.spliterator(new String[] {"abc", "", "de", "f", "g", ""}),
                        (String str) -> str.isEmpty() ? null : charactersOf(str).spliterator(),
                        Spliterator.SIZED | Spliterator.DISTINCT | Spliterator.NONNULL,
                        7))
            .expect('a', 'b', 'c', 'd', 'e', 'f', 'g');
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.1K bytes
    - Click Count (0)
Back to Top