Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,627 for Element (0.26 sec)

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

        if (element instanceof Entry) {
          Entry<?, ?> entry = (Entry<?, ?>) element;
          element = mapEntry(entry.getKey(), entry.getValue());
        }
        assertTrue(collection.contains(element)); // sanity check
        iterator.remove();
        assertFalse(collection.contains(element));
        assertEquals(originalSize - 1, collection.size());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/deprecationFromLibrary.txt

    Diagnostics from elements:
      for PSI element of type KtNameReferenceExpression at (71,21-39)
        DEPRECATION      text ranges: [(302,320)]
          PSI: KtNameReferenceExpression at (71,21-39)
      for PSI element of type KtNameReferenceExpression at (72,21-39)
        DEPRECATION      text ranges: [(352,370)]
          PSI: KtNameReferenceExpression at (72,21-39)
      for PSI element of type KtNameReferenceExpression at (74,21-40)
        DEPRECATION      text ranges: [(396,415)]
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:05 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/NamedDomainObjectCollectionExtensionsTest.kt

                }
                assertThat(domainObject, sameInstance(element))
            }
    
            container.apply {
                // regular syntax
                val domainObject by getting
                assertThat(domainObject, sameInstance(element))
            }
        }
    
        @Test
        fun `can configure named element by getting`() {
    
            val element = DomainObject()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  4. src/crypto/internal/edwards25519/field/fe_test.go

    func TestEqual(t *testing.T) {
    	x := Element{1, 1, 1, 1, 1}
    	y := Element{5, 4, 3, 2, 1}
    
    	eq := x.Equal(&x)
    	if eq != 1 {
    		t.Errorf("wrong about equality")
    	}
    
    	eq = x.Equal(&y)
    	if eq != 0 {
    		t.Errorf("wrong about inequality")
    	}
    }
    
    func TestInvert(t *testing.T) {
    	x := Element{1, 1, 1, 1, 1}
    	one := Element{1, 0, 0, 0, 0}
    	var xinv, r Element
    
    	xinv.Invert(&x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

      // Query Operations
    
      /**
       * Returns the number of occurrences of {@code element} in this multiset.
       *
       * @param element the element to look for
       * @return the nonnegative number of occurrences of the element
       */
      @Override
      public int count(@CheckForNull Object element) {
        AtomicInteger existingCounter = Maps.safeGet(countMap, element);
        return (existingCounter == null) ? 0 : existingCounter.get();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultNamedDomainObjectListTest.groovy

        boolean elementRemovalAllowed = true
        boolean supportsBuildOperations = true
    
        def "can add element at given index"() {
            given:
            list.add('b')
    
            when:
            list.add(0, 'a')
            list.add(2, 'c')
    
            then:
            list == ['a', 'b', 'c']
        }
    
        def "fires events when element is added at index"() {
            Action<String> action = Mock()
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 08:21:31 UTC 2023
    - 13K bytes
    - Viewed (0)
  7. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/FileCollectionCodec.kt

                readList().map { element ->
                    when (element) {
                        is File -> element
                        is SubtractingFileCollectionSpec -> element.left.minus(element.right)
                        is FilteredFileCollectionSpec -> element.collection.filter(element.filter)
                        is ProviderBackedFileCollectionSpec -> element.provider
                        is FileTree -> element
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/LruHashSet.java

         * @param o
         *            element whose presence in this set is to be tested.
         * @return true if this set contains the specified element.
         */
        @Override
        public boolean contains(final Object o) {
            return map.containsKey(o);
        }
    
        /**
         * Adds the specified element to this set if it is not already present.
         *
         * @param o
         *            element to be added to this set.
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSet.java

            others.length <= Integer.MAX_VALUE - 6, "the total number of elements must fit in an int");
        final int paramCount = 6;
        Object[] elements = new Object[paramCount + others.length];
        elements[0] = e1;
        elements[1] = e2;
        elements[2] = e3;
        elements[3] = e4;
        elements[4] = e5;
        elements[5] = e6;
        System.arraycopy(others, 0, elements, paramCount, others.length);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/UnpackingVisitor.java

            if (includeBuildable && (element instanceof Buildable || element instanceof TaskDependencyContainer)) {
                visitor.accept(new BuildableElementFileCollection(element, resolver, taskDependencyFactory, patternSetFactory));
                return;
            }
    
            if (element instanceof Task) {
                visitor.accept((FileCollectionInternal) ((Task) element).getOutputs().getFiles());
            } else if (element instanceof TaskOutputs) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 07:32:50 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top