Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 2,345 for add (0.2 sec)

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

        List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters());
        testers.add(SetMultimapAsMapTester.class);
        testers.add(SetMultimapEqualsTester.class);
        testers.add(SetMultimapPutTester.class);
        testers.add(SetMultimapPutAllTester.class);
        testers.add(SetMultimapReplaceValuesTester.class);
        return testers;
      }
    
      @Override
      TestSuite computeMultimapGetTestSuite(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

            } catch (ParameterNotInstantiableException e) {
              paramErrors.add(e);
            } catch (ParameterHasNoDistinctValueException e) {
              distinctValueErrors.add(e);
            } catch (InvocationTargetException e) {
              instantiationExceptions.add(e);
            } catch (FactoryMethodReturnsNullException e) {
              nullErrors.add(e);
            }
          }
        }
        throwFirst(paramErrors);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/informers_test.go

    	_, err := client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name,
    		types.MergePatchType, labelsPatch, metav1.PatchOptions{})
    	assert.NoError(t, err)
    
    	// wait until at least one add event happens
    	mt.Assert(EventTotals.Name(), map[string]string{"type": "add"}, monitortest.AtLeast(1))
    
    	assertPodNotAnnotated(t, client, pod)
    
    	// Assert expected calls (not) actually made
    	fs.AssertExpectations(t)
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multiset.java

       * element, and the overall size of the collection, by one.
       *
       * <p>To both add the element and obtain the previous count of that element, use {@link
       * #add(Object, int) add}{@code (element, 1)} instead.
       *
       * @param element the element to add one occurrence of; may be null only if explicitly allowed by
       *     the implementation
       * @return {@code true} always, since this call is required to modify the multiset, unlike other
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

        final AtomicInteger addCalls = new AtomicInteger();
        Multiset<String> multiset =
            new NoRemoveMultiset<String>() {
              @Override
              public int add(String element, int occurrences) {
                addCalls.incrementAndGet();
                return super.add(element, occurrences);
              }
            };
        ImmutableMultiset<String> adds =
            new ImmutableMultiset.Builder<String>().addCopies("x", 10).build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapGetTester.java

        Collection<V> result = multimap().asMap().get(k0());
        assertThrows(NullPointerException.class, () -> result.add(null));
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPropagatesAddToMultimap() {
        Collection<V> result = multimap().asMap().get(k0());
        result.add(v3());
        assertContentsAnyOrder(multimap().get(k0()), v0(), v3());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java

        List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters());
        testers.add(SetMultimapAsMapTester.class);
        testers.add(SetMultimapEqualsTester.class);
        testers.add(SetMultimapPutTester.class);
        testers.add(SetMultimapPutAllTester.class);
        testers.add(SetMultimapReplaceValuesTester.class);
        return testers;
      }
    
      @Override
      TestSuite computeMultimapGetTestSuite(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

            classProperties.add(propertyDoc.forClass(this))
        }
    
        Collection<MethodDoc> getClassMethods() { return classMethods }
    
        void addClassMethod(MethodDoc methodDoc) {
            classMethods.add(methodDoc.forClass(this))
        }
    
        Collection<BlockDoc> getClassBlocks() { return classBlocks }
    
        void addClassBlock(BlockDoc blockDoc) {
            classBlocks.add(blockDoc.forClass(this))
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_test.cc

      // Add oper.
      TF_Operation* add = Add(feed, three, graph, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Test TF_Operation*() query functions.
      EXPECT_EQ(string("add"), string(TF_OperationName(add)));
      EXPECT_EQ(string("AddN"), string(TF_OperationOpType(add)));
      EXPECT_EQ(string(""), string(TF_OperationDevice(add)));
      EXPECT_EQ(1, TF_OperationNumOutputs(add));
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocRenderer.java

        public ClassDocRenderer(LinkRenderer linkRenderer) {
            memberRenderers.add(new PropertiesRenderer(linkRenderer, listener));
            memberRenderers.add(new MethodsRenderer(linkRenderer, listener));
            memberRenderers.add(new BlocksRenderer(linkRenderer, listener));
        }
    
        public void mergeContent(ClassDoc classDoc, Element parent) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.2K bytes
    - Viewed (0)
Back to top