Search Options

Results per page
Sort
Preferred Languages
Advance

Results 781 - 790 of 956 for builder_ (0.06 sec)

  1. guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

                addCalls.incrementAndGet();
                return super.add(element, occurrences);
              }
            };
        ImmutableMultiset<String> adds =
            new ImmutableMultiset.Builder<String>().addCopies("x", 10).build();
        multiset.addAll(adds);
        assertEquals(1, addCalls.get());
      }
    
      public void testRemoveUnsupported() {
        Multiset<String> multiset = new NoRemoveMultiset<>();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/DispatcherTest.kt

            }
          }
        thread.start()
        return thread
      }
    
      private fun newRequest(url: String): Request {
        return Request.Builder().url(url).build()
      }
    
      private fun newRequest(
        url: String,
        tag: String,
      ): Request {
        return Request.Builder().url(url).tag(tag).build()
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/graph/FilteredProjectDependencyGraph.java

         * be {@code a -> c}.
         * <p>
         * Original code would falsely report {@code a} project as "without dependencies", basically would lose link due
         * filtering. This causes build ordering issues in concurrent builders.
         */
        private List<MavenProject> applyFilter(
                Collection<? extends MavenProject> projects, boolean transitive, boolean upstream) {
            List<MavenProject> filtered = new ArrayList<>(projects.size());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/html/HtmlEscapers.java

      }
    
      // For each xxxEscaper() method, please add links to external reference pages
      // that are considered authoritative for the behavior of that escaper.
    
      private static final Escaper HTML_ESCAPER =
          Escapers.builder()
              .addEscape('"', "&quot;")
              // Note: "&apos;" is not defined in HTML 4.01.
              .addEscape('\'', "&#39;")
              .addEscape('&', "&amp;")
              .addEscape('<', "&lt;")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/pseudo_test.go

    		{
    			allowABI: true,
    			tests:    runtimeTests,
    		},
    	}
    
    	// Note these errors should be independent of the architecture.
    	// Just run the test with amd64.
    	parser := newParser("amd64")
    	var buf strings.Builder
    	parser.errorWriter = &buf
    
    	for _, cat := range testcats {
    		for _, test := range cat.tests {
    			parser.allowABI = cat.allowABI
    			parser.errorCount = 0
    			parser.lineNum++
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelData.java

    import java.util.Objects;
    
    import org.apache.maven.building.Source;
    import org.apache.maven.model.Model;
    
    /**
     * Holds a model along with some auxiliary information. This internal utility class assists the model builder during POM
     * processing by providing a means to transport information that cannot be (easily) extracted from the model itself.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. cni/pkg/plugin/kubernetes.go

    	res = append(res, pod.Spec.InitContainers...)
    	res = append(res, pod.Spec.Containers...)
    	return res
    }
    
    func (pi PodInfo) String() string {
    	var b strings.Builder
    	b.WriteString(fmt.Sprintf("  Containers: %v\n", sets.SortedList(pi.Containers)))
    	b.WriteString(fmt.Sprintf("  Labels: %+v\n", pi.Labels))
    	b.WriteString(fmt.Sprintf("  Annotations: %+v\n", pi.Annotations))
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

                    docId = null;
                }
                if (StringUtil.isNotBlank(docId)) {
                    return searchEngineClient.getDocument(fessConfig.getIndexDocumentUpdateIndex(), builder -> {
                        builder.setQuery(QueryBuilders.termQuery(fessConfig.getIndexFieldDocId(), docId));
                        return true;
                    });
                }
                break;
            default:
                break;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/SessionReuseTest.kt

        }
    
        val sessionIds = mutableListOf<String>()
    
        enableTls()
    
        val tlsVersion = TlsVersion.forJavaName(tlsVersion)
        val spec =
          ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS)
            .tlsVersions(tlsVersion)
            .build()
    
        var reuseSession = false
    
        val sslContext = handshakeCertificates.sslContext()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java

          return ImmutableMap.of();
        }
      }
    
      private static final ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> INSTANCE_OF =
          ImmutableMap.<Class<? extends Throwable>, Predicate<Throwable>>builder()
              .put(ArithmeticException.class, e -> e instanceof ArithmeticException)
              .put(
                  ArrayIndexOutOfBoundsException.class,
                  e -> e instanceof ArrayIndexOutOfBoundsException)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top