Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 8,871 for ADD (0.04 sec)

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

        try {
          getList().add(0, e0());
          fail("add(n, present) should throw");
        } catch (UnsupportedOperationException expected) {
        }
        expectUnchanged();
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      public void testAddAtIndex_supportedNotPresent() {
        getList().add(0, e3());
        expectAdded(0, e3());
      }
    
      @CollectionFeature.Require(FAILS_FAST_ON_CONCURRENT_MODIFICATION)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. pkg/scheduler/internal/heap/heap_test.go

    		}
    		prevNum = num
    	}
    }
    
    // Tests Heap.Add and ensures that heap invariant is preserved after adding items.
    func TestHeap_Add(t *testing.T) {
    	h := New(testHeapObjectKeyFunc, compareInts)
    	h.Add(mkHeapObj("foo", 10))
    	h.Add(mkHeapObj("bar", 1))
    	h.Add(mkHeapObj("baz", 11))
    	h.Add(mkHeapObj("zab", 30))
    	h.Add(mkHeapObj("foo", 13)) // This updates "foo".
    
    	item, err := h.Pop()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 05 02:24:38 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/graph/CachingDirectedGraphWalkerTest.groovy

            0 * _._
    
            when:
            walker.add(1)
            def values = walker.findValues()
    
            then:
            values == ['1', '2', '3', '4'] as Set
    
            when:
            walker.add(2)
            values = walker.findValues()
    
            then:
            values == ['1', '2', '3', '4'] as Set
    
            when:
            walker.add(3)
            values = walker.findValues()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  4. maven-model-builder/src/main/java/org/apache/maven/model/interpolation/AbstractStringBasedModelInterpolator.java

            // code below...
            translatedPrefixes.add("build.directory");
            translatedPrefixes.add("build.outputDirectory");
            translatedPrefixes.add("build.testOutputDirectory");
            translatedPrefixes.add("build.sourceDirectory");
            translatedPrefixes.add("build.testSourceDirectory");
            translatedPrefixes.add("build.scriptSourceDirectory");
            translatedPrefixes.add("reporting.outputDirectory");
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/HeadersJvmTest.kt

      @Test fun addParsing() {
        val headers =
          Headers.Builder()
            .add("foo: bar")
            .add(" foo: baz") // Name leading whitespace is trimmed.
            .add("foo : bak") // Name trailing whitespace is trimmed.
            .add("\tkey\t:\tvalue\t") // '\t' also counts as whitespace
            .add("ping:  pong  ") // Value whitespace is trimmed.
            .add("kit:kat") // Space after colon is not required.
            .build()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/vcstest/git/vgotest1.txt

    mkdir pkg
    echo 'package pkg'
    cp stdout pkg/p.go
    git add pkg/p.go
    git commit -m 'pkg: add'
    
    at 2018-02-19T17:30:23-05:00
    env GIT_AUTHOR_DATE=2018-02-19T17:24:48-05:00
    echo 'module "github.com/vgotest1/v2"'
    cp stdout go.mod
    git add go.mod
    git commit -m 'add go.mod'
    
    at 2018-02-19T17:30:45-05:00
    echo 'module "github.com/vgotest1"'
    cp stdout go.mod
    git add go.mod
    git commit -m 'bad mod path'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 15:36:24 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheServices.kt

            registration.run {
                add(DefaultEncryptionService::class.java)
                add(ConfigurationCacheKey::class.java)
                add(ConfigurationCacheReport::class.java)
                add(DeprecatedFeaturesListener::class.java)
                add(DefaultBuildModelControllerServices::class.java)
                add(DefaultBuildToolingModelControllerFactory::class.java)
                add(ConfigurationCacheRepository::class.java)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/deadness_analysis_test.cc

      Output a0 =
          ops::Add(root.WithOpName("a0"), sw_0.output_false, sw_1.output_false);
      Output a1 = ops::Add(root.WithOpName("a1"), a0, sw_2.output_false);
    
      Output b0 =
          ops::Add(root.WithOpName("b0"), sw_1.output_false, sw_2.output_false);
      Output b1 = ops::Add(root.WithOpName("b1"), sw_0.output_false, b0);
    
      Output add = ops::Add(root.WithOpName("add"), a1, b1);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/dependencies/DefaultDependencyConstraintHandlerTest.groovy

            1 * dependencyConstraintFactory.createDependencyConstraint("someOther") >> constraint2
            1 * dependencyConstraintSet.add(constraint1)
            1 * dependencyConstraintSet.add(constraint2)
        }
    
        void "can use dynamic method to add multiple dependency constraint from nested lists"() {
            def constraint1 = Mock(DependencyConstraint)
            def constraint2 = Mock(DependencyConstraint)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 22:19:06 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/collections/ElementSourceSpec.groovy

            and:
            source.iterator().collect() == iterationOrder("foo", "bar", "baz", "fizz")
        }
    
        def "can add only realized providers"() {
            when:
            source.add("foo")
            source.add("bar")
            source.add("baz")
            source.add("fizz")
    
            then:
            source.iteratorNoFlush().collect() == iterationOrder("foo", "bar", "baz", "fizz")
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 25 10:08:46 UTC 2022
    - 9.5K bytes
    - Viewed (0)
Back to top