Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 1,666 for add1 (0.1 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java

      @CollectionSize.Require(absent = CollectionSize.ZERO)
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      public void testEquals_containingNullKey() {
        Collection<Entry<K, V>> entries = getSampleEntries(getNumEntries() - 1);
        entries.add(entry(null, v3()));
    
        resetContainer(getSubjectGenerator().create(entries.toArray()));
        assertTrue(
            "A Map should equal any other Map containing the same entries,"
                + " even if some keys are null.",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                projects.add(project);
                if (includeModules) {
                    for (String module : project.getModules()) {
                        File modulePom = new File(pom.getParentFile(), module);
                        if (modulePom.isDirectory()) {
                            modulePom = new File(modulePom, "pom.xml");
                        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

            def change = new ApiChange(
                context.className,
                Violation.describe(member),
                changes
            )
            String acceptationReason = acceptedApiChanges[change]
            if (acceptationReason != null) {
                seenApiChanges.add(change)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:30:48 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        List<Object> arguments = new ArrayList<>();
        if (isGuarded(method)) {
          arguments.add(guard);
        }
        if (isLongTimeUnitBased(method)) {
          arguments.add(timeout.millis);
          arguments.add(TimeUnit.MILLISECONDS);
        }
        if (isDurationBased(method)) {
          arguments.add(Duration.ofMillis(timeout.millis));
        }
        try {
          Object result;
          doingCallLatch.countDown();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  5. cmd/erasure.go

    	xioutil.SafeClose(bucketCh)
    
    	bucketResults := make(chan dataUsageEntryInfo, len(disks))
    
    	// Start async collector/saver.
    	// This goroutine owns the cache.
    	var saverWg sync.WaitGroup
    	saverWg.Add(1)
    	go func() {
    		// Add jitter to the update time so multiple sets don't sync up.
    		updateTime := 30*time.Second + time.Duration(float64(10*time.Second)*rand.Float64())
    		t := time.NewTicker(updateTime)
    		defer t.Stop()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                List<Binding<?>> list = new ArrayList<>();
                // Add DI bindings
                list.addAll(getBindings().getOrDefault(key, Set.of()));
                // Add Plexus bindings
                for (var bean : locator.get().locate(toGuiceKey(key))) {
                    if (isPlexusBean(bean)) {
                        list.add(new BindingToBeanEntry<>(key).toBeanEntry(bean));
                    }
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/NullnessCasts.java

       * without having to add {@code @SuppressWarnings}, the code can call this method.
       *
       * <p>Why <i>not</i> just add {@code SuppressWarnings}? The problem is that this method is
       * typically useful for {@code return} statements. That leaves the code with two options: Either
       * add the suppression to the whole method (which turns off checking for a large section of code),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 17 15:44:29 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilder.java

                    classExtensionDoc = new ClassExtensionDoc(pluginId, classDoc);
                    plugins.put(pluginId, classExtensionDoc);
                }
                classExtensionDoc.getMixinClasses().add(model.getClassDoc(mixin.getMixinClass()));
            }
            for (ExtensionMetaData extension : classDoc.getExtensionMetaData().getExtensionClasses()) {
                String pluginId = extension.getPluginId();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java

      // In this case the graphs are considered equivalent; the edge add orderings are irrelevant.
      @Test
      public void equivalent_edgeAddOrdersDiffer() {
        GraphBuilder<Integer> builder = GraphBuilder.from(graph);
        MutableGraph<Integer> g1 = builder.build();
        MutableGraph<Integer> g2 = builder.build();
    
        // for g1, add 1->2 first, then 3->1
        g1.putEdge(N1, N2);
        g1.putEdge(N3, N1);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java

      // In this case the graphs are considered equivalent; the edge add orderings are irrelevant.
      @Test
      public void equivalent_edgeAddOrdersDiffer() {
        GraphBuilder<Integer> builder = GraphBuilder.from(graph);
        MutableGraph<Integer> g1 = builder.build();
        MutableGraph<Integer> g2 = builder.build();
    
        // for g1, add 1->2 first, then 3->1
        g1.putEdge(N1, N2);
        g1.putEdge(N3, N1);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top